-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path3711.ae84e1f605de5741e93b.js
1 lines (1 loc) · 51.2 KB
/
3711.ae84e1f605de5741e93b.js
1
(self.webpackChunktimeless_frontend=self.webpackChunktimeless_frontend||[]).push([[3711],{78333:H=>{"use strict";var u={single_source_shortest_paths:function(h,l,a){var i={},s={};s[l]=0;var c,d,m,v,b,$,r=u.PriorityQueue.make();for(r.push(l,0);!r.empty();)for(m in v=(c=r.pop()).cost,b=h[d=c.value]||{})b.hasOwnProperty(m)&&($=v+b[m],(void 0===s[m]||s[m]>$)&&(s[m]=$,r.push(m,$),i[m]=d));if(void 0!==a&&void 0===s[a]){var J=["Could not find a path from ",l," to ",a,"."].join("");throw new Error(J)}return i},extract_shortest_path_from_predecessor_list:function(h,l){for(var a=[],i=l;i;)a.push(i),i=h[i];return a.reverse(),a},find_path:function(h,l,a){var i=u.single_source_shortest_paths(h,l,a);return u.extract_shortest_path_from_predecessor_list(i,a)},PriorityQueue:{make:function(h){var i,l=u.PriorityQueue,a={};for(i in h=h||{},l)l.hasOwnProperty(i)&&(a[i]=l[i]);return a.queue=[],a.sorter=h.sorter||l.default_sorter,a},default_sorter:function(h,l){return h.cost-l.cost},push:function(h,l){this.queue.push({value:h,cost:l}),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};H.exports=u},11522:H=>{"use strict";H.exports=function(h){for(var l=[],a=h.length,i=0;i<a;i++){var s=h.charCodeAt(i);if(s>=55296&&s<=56319&&a>i+1){var r=h.charCodeAt(i+1);r>=56320&&r<=57343&&(s=1024*(s-55296)+r-56320+65536,i+=1)}s<128?l.push(s):s<2048?(l.push(s>>6|192),l.push(63&s|128)):s<55296||s>=57344&&s<65536?(l.push(s>>12|224),l.push(s>>6&63|128),l.push(63&s|128)):s>=65536&&s<=1114111?(l.push(s>>18|240),l.push(s>>12&63|128),l.push(s>>6&63|128),l.push(63&s|128)):l.push(239,191,189)}return new Uint8Array(l).buffer}},43623:(H,u,h)=>{"use strict";h.d(u,{j:()=>le});const l={duration:.3,delay:0,endDelay:0,repeat:0,easing:"ease"},a_ms=n=>1e3*n,i=()=>{},s=n=>n;function r(n,g=!0){if(n&&"finished"!==n.playState)try{n.stop?n.stop():(g&&n.commitStyles(),n.cancel())}catch{}}const c=n=>n(),d=(n,g,A=l.duration)=>new Proxy({animations:n.map(c).filter(Boolean),duration:A,options:g},v),v={get:(n,g)=>{const A=(n=>n.animations[0])(n);switch(g){case"duration":return n.duration;case"currentTime":return(n=>n/1e3)((null==A?void 0:A[g])||0);case"playbackRate":case"playState":return null==A?void 0:A[g];case"finished":return n.finished||(n.finished=Promise.all(n.animations.map(b)).catch(i)),n.finished;case"stop":return()=>{n.animations.forEach(I=>r(I))};case"forEachNative":return I=>{n.animations.forEach(G=>I(G,n))};default:return void 0===(null==A?void 0:A[g])?void 0:()=>n.animations.forEach(I=>I[g]())}},set:(n,g,A)=>{switch(g){case"currentTime":A=a_ms(A);case"playbackRate":for(let I=0;I<n.animations.length;I++)n.animations[I][g]=A;return!0}return!1}},b=n=>n.finished,S=n=>"object"==typeof n&&Boolean(n.createAnimation),$=n=>"number"==typeof n,B=n=>Array.isArray(n)&&!$(n[0]),D=(n,g,A)=>-A*n+A*g+n,J=(n,g,A)=>g-n==0?1:(A-n)/(g-n);function Z(n,g){const A=n[n.length-1];for(let I=1;I<=g;I++){const G=J(0,g,I);n.push(D(A,1,G))}}const L=(n,g,A)=>Math.min(Math.max(A,n),g);const y=(n,g,A)=>(((1-3*A+3*g)*n+(3*A-6*g))*n+3*g)*n;function E(n,g,A,I){if(n===g&&A===I)return s;return Q=>0===Q||1===Q?Q:y((Q=>function(n,g,A,I,G){let Q,X,q=0;do{X=g+(A-g)/2,Q=y(X,I,G)-n,Q>0?A=X:g=X}while(Math.abs(Q)>1e-7&&++q<12);return X}(Q,0,1,n,A))(Q),g,I)}const M=n=>"function"==typeof n,U=n=>Array.isArray(n)&&$(n[0]),j={ease:E(.25,.1,.25,1),"ease-in":E(.42,0,1,1),"ease-in-out":E(.42,0,.58,1),"ease-out":E(0,0,.58,1)},V=/\((.*?)\)/;function ot(n){if(M(n))return n;if(U(n))return E(...n);if(j[n])return j[n];if(n.startsWith("steps")){const g=V.exec(n);if(g){const A=g[1].split(",");return((n,g="end")=>A=>{const I=(A="end"===g?Math.min(A,.999):Math.max(A,.001))*n,G="end"===g?Math.floor(I):Math.ceil(I);return L(0,1,G/n)})(parseFloat(A[0]),A[1].trim())}}return s}class ft{constructor(g,A=[0,1],{easing:I,duration:G=l.duration,delay:Q=l.delay,endDelay:X=l.endDelay,repeat:q=l.repeat,offset:lt,direction:ut="normal"}={}){if(this.startTime=null,this.rate=1,this.t=0,this.cancelTimestamp=null,this.easing=s,this.duration=0,this.totalDuration=0,this.repeat=0,this.playState="idle",this.finished=new Promise((dt,rt)=>{this.resolve=dt,this.reject=rt}),S(I=I||l.easing)){const dt=I.createAnimation(A);I=dt.easing,A=dt.keyframes||A,G=dt.duration||G}this.repeat=q,this.easing=B(I)?s:ot(I),this.updateDuration(G);const vt=function(n,g=function(n){const g=[0];return Z(g,n-1),g}(n.length),A=s){const I=n.length,G=I-g.length;return G>0&&Z(g,G),Q=>{let X=0;for(;X<I-2&&!(Q<g[X+1]);X++);let q=L(0,1,J(g[X],g[X+1],Q));return q=function(n,g){return B(n)?n[((n,g,A)=>{const I=g-0;return((A-0)%I+I)%I+0})(0,n.length,g)]:n}(A,X)(q),D(n[X],n[X+1],q)}}(A,lt,B(I)?I.map(ot):s);this.tick=dt=>{var rt;let ht=0;ht=void 0!==this.pauseTime?this.pauseTime:(dt-this.startTime)*this.rate,this.t=ht,ht/=1e3,ht=Math.max(ht-Q,0),"finished"===this.playState&&void 0===this.pauseTime&&(ht=this.totalDuration);const Nt=ht/this.duration;let It=Math.floor(Nt),Ct=Nt%1;!Ct&&Nt>=1&&(Ct=1),1===Ct&&It--;const Dt=It%2;("reverse"===ut||"alternate"===ut&&Dt||"alternate-reverse"===ut&&!Dt)&&(Ct=1-Ct);const Rt=ht>=this.totalDuration?1:Math.min(Ct,1),Mt=vt(this.easing(Rt));g(Mt),void 0===this.pauseTime&&("finished"===this.playState||ht>=this.totalDuration+X)?(this.playState="finished",null===(rt=this.resolve)||void 0===rt||rt.call(this,Mt)):"idle"!==this.playState&&(this.frameRequestId=requestAnimationFrame(this.tick))},this.play()}play(){const g=performance.now();this.playState="running",void 0!==this.pauseTime?this.startTime=g-this.pauseTime:this.startTime||(this.startTime=g),this.cancelTimestamp=this.startTime,this.pauseTime=void 0,this.frameRequestId=requestAnimationFrame(this.tick)}pause(){this.playState="paused",this.pauseTime=this.t}finish(){this.playState="finished",this.tick(0)}stop(){var g;this.playState="idle",void 0!==this.frameRequestId&&cancelAnimationFrame(this.frameRequestId),null===(g=this.reject)||void 0===g||g.call(this,!1)}cancel(){this.stop(),this.tick(this.cancelTimestamp)}reverse(){this.rate*=-1}commitStyles(){}updateDuration(g){this.duration=g,this.totalDuration=g*(this.repeat+1)}get currentTime(){return this.t}set currentTime(g){void 0!==this.pauseTime||0===this.rate?this.pauseTime=g:this.startTime=performance.now()-g/this.rate}get playbackRate(){return this.rate}set playbackRate(g){this.rate=g}}class Tt{setAnimation(g){this.animation=g,null==g||g.finished.then(()=>this.clearAnimation()).catch(()=>{})}clearAnimation(){this.animation=this.generator=void 0}}const _t=new WeakMap;function mt(n){return _t.has(n)||_t.set(n,{transforms:[],values:new Map}),_t.get(n)}const Et=["","X","Y","Z"],z={x:"translateX",y:"translateY",z:"translateZ"},p={syntax:"<angle>",initialValue:"0deg",toDefaultUnit:n=>n+"deg"},C={translate:{syntax:"<length-percentage>",initialValue:"0px",toDefaultUnit:n=>n+"px"},rotate:p,scale:{syntax:"<number>",initialValue:1,toDefaultUnit:s},skew:p},T=new Map,P=n=>`--motion-${n}`,K=["x","y","z"];["translate","scale","rotate","skew"].forEach(n=>{Et.forEach(g=>{K.push(n+g),T.set(P(n+g),C[n])})});const O=(n,g)=>K.indexOf(n)-K.indexOf(g),tt=new Set(K),Y=n=>tt.has(n),nt=(n,g)=>`${n} ${g}(var(${P(g)}))`,it=n=>n.startsWith("--"),ct=new Set,wt=(n,g)=>document.createElement("div").animate(n,g),xt={cssRegisterProperty:()=>"undefined"!=typeof CSS&&Object.hasOwnProperty.call(CSS,"registerProperty"),waapi:()=>Object.hasOwnProperty.call(Element.prototype,"animate"),partialKeyframes:()=>{try{wt({opacity:[1]})}catch{return!1}return!0},finished:()=>Boolean(wt({opacity:[0,1]},{duration:.001}).finished),linearEasing:()=>{try{wt({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0}},zt={},Bt={};for(const n in xt)Bt[n]=()=>(void 0===zt[n]&&(zt[n]=xt[n]()),zt[n]);const jt=(n,g)=>M(n)?Bt.linearEasing()?`linear(${((n,g)=>{let A="";const I=Math.round(g/.015);for(let G=0;G<I;G++)A+=n(J(0,I-1,G))+", ";return A.substring(0,A.length-2)})(n,g)})`:l.easing:U(n)?Wt(n):n,Wt=([n,g,A,I])=>`cubic-bezier(${n}, ${g}, ${A}, ${I})`;function Vt(n){return z[n]&&(n=z[n]),Y(n)?P(n):n}const Lt_set=(n,g,A)=>{g=Vt(g),it(g)?n.style.setProperty(g,A):n.style[g]=A};function te(n,g,A,I={},G){const Q=window.__MOTION_DEV_TOOLS_RECORD,X=!1!==I.record&&Q;let q,{duration:lt=l.duration,delay:ut=l.delay,endDelay:vt=l.endDelay,repeat:dt=l.repeat,easing:rt=l.easing,persist:ht=!1,direction:Nt,offset:It,allowWebkitAcceleration:Ct=!1}=I;const Dt=mt(n),Rt=Y(g);let Mt=Bt.waapi();Rt&&((n,g)=>{z[g]&&(g=z[g]);const{transforms:A}=mt(n);(function(n,g){-1===n.indexOf(g)&&n.push(g)})(A,g),n.style.transform=(n=>n.sort(O).reduce(nt,"").trim())(A)})(n,g);const pt=Vt(g),Ot=function(n,g){return n.has(g)||n.set(g,new Tt),n.get(g)}(Dt.values,pt),$t=T.get(pt);return r(Ot.animation,!(S(rt)&&Ot.generator)&&!1!==I.record),()=>{const kt=()=>{var st,Ut;return null!==(Ut=null!==(st=((n,g)=>{g=Vt(g);let A=it(g)?n.style.getPropertyValue(g):getComputedStyle(n)[g];if(!A&&0!==A){const I=T.get(g);I&&(A=I.initialValue)}return A})(n,pt))&&void 0!==st?st:null==$t?void 0:$t.initialValue)&&void 0!==Ut?Ut:0};let at=function(n,g){for(let A=0;A<n.length;A++)null===n[A]&&(n[A]=A?n[A-1]:g());return n}((n=>Array.isArray(n)?n:[n])(A),kt);const Kt=function(n,g){var A;let I=(null==g?void 0:g.toDefaultUnit)||s;const G=n[n.length-1];if((n=>"string"==typeof n)(G)){const Q=(null===(A=G.match(/(-?[\d.]+)([a-z%]*)/))||void 0===A?void 0:A[2])||"";Q&&(I=X=>X+Q)}return I}(at,$t);if(S(rt)){const st=rt.createAnimation(at,"opacity"!==g,kt,pt,Ot);rt=st.easing,at=st.keyframes||at,lt=st.duration||lt}if(it(pt)&&(Bt.cssRegisterProperty()?function(n){if(!ct.has(n)){ct.add(n);try{const{syntax:g,initialValue:A}=T.has(n)?T.get(n):{};CSS.registerProperty({name:n,inherits:!1,syntax:g,initialValue:A})}catch{}}}(pt):Mt=!1),Rt&&!Bt.linearEasing()&&(M(rt)||B(rt)&&rt.some(M))&&(Mt=!1),Mt){$t&&(at=at.map(St=>$(St)?$t.toDefaultUnit(St):St)),1===at.length&&(!Bt.partialKeyframes()||X)&&at.unshift(kt());const st={delay:a_ms(ut),duration:a_ms(lt),endDelay:a_ms(vt),easing:B(rt)?void 0:jt(rt,lt),direction:Nt,iterations:dt+1,fill:"both"};q=n.animate({[pt]:at,offset:It,easing:B(rt)?rt.map(St=>jt(St,lt)):void 0},st),q.finished||(q.finished=new Promise((St,ce)=>{q.onfinish=St,q.oncancel=ce}));const Ut=at[at.length-1];q.finished.then(()=>{ht||(Lt_set(n,pt,Ut),q.cancel())}).catch(i),Ct||(q.playbackRate=1.000001)}else if(G&&Rt)at=at.map(st=>"string"==typeof st?parseFloat(st):st),1===at.length&&at.unshift(parseFloat(kt())),q=new G(st=>{Lt_set(n,pt,Kt?Kt(st):st)},at,Object.assign(Object.assign({},I),{duration:lt,easing:rt}));else{const st=at[at.length-1];Lt_set(n,pt,$t&&$(st)?$t.toDefaultUnit(st):st)}return X&&Q(n,g,at,{duration:lt,delay:ut,easing:rt,repeat:dt,offset:It},"motion-one"),Ot.setAnimation(q),q}}const ee=(n,g)=>n[g]?Object.assign(Object.assign({},n),n[g]):Object.assign({},n);function se(n,g,A){return M(n)?n(g,A):n}const re=(n=ft,function(A,I,G={}){A=function(n,g){return"string"==typeof n?n=document.querySelectorAll(n):n instanceof Element&&(n=[n]),Array.from(n||[])}(A);const Q=A.length;Boolean(Q),Boolean(I);const X=[];for(let q=0;q<Q;q++){const lt=A[q];for(const ut in I){const vt=ee(G,ut);vt.delay=se(vt.delay,q,Q);const dt=te(lt,ut,I[ut],vt,n);X.push(dt)}}return d(X,G,G.duration)});var n;function ae(n,g={}){return d([()=>{const A=new ft(n,[0,1],g);return A.finished.catch(()=>{}),A}],g,g.duration)}function le(n,g,A){return(M(n)?ae:re)(n,g,A)}},6877:(H,u,h)=>{const l=h(50436),a=h(51191),i=h(32158),s=h(173);function r(c,d,m,v,b){const S=[].slice.call(arguments,1),$=S.length,B="function"==typeof S[$-1];if(!B&&!l())throw new Error("Callback required as last argument");if(!B){if($<1)throw new Error("Too few arguments provided");return 1===$?(m=d,d=v=void 0):2===$&&!d.getContext&&(v=m,m=d,d=void 0),new Promise(function(D,J){try{const Z=a.create(m,v);D(c(Z,d,v))}catch(Z){J(Z)}})}if($<2)throw new Error("Too few arguments provided");2===$?(b=m,m=d,d=v=void 0):3===$&&(d.getContext&&void 0===b?(b=v,v=void 0):(b=v,v=m,m=d,d=void 0));try{const D=a.create(m,v);b(null,c(D,d,v))}catch(D){b(D)}}u.create=a.create,u.toCanvas=r.bind(null,i.render),u.toDataURL=r.bind(null,i.renderToDataURL),u.toString=r.bind(null,function(c,d,m){return s.render(c,m)})},50436:H=>{H.exports=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then}},76448:(H,u,h)=>{const l=h(55402).getSymbolSize;u.getRowColCoords=function(i){if(1===i)return[];const s=Math.floor(i/7)+2,r=l(i),c=145===r?26:2*Math.ceil((r-13)/(2*s-2)),d=[r-7];for(let m=1;m<s-1;m++)d[m]=d[m-1]-c;return d.push(6),d.reverse()},u.getPositions=function(i){const s=[],r=u.getRowColCoords(i),c=r.length;for(let d=0;d<c;d++)for(let m=0;m<c;m++)0===d&&0===m||0===d&&m===c-1||d===c-1&&0===m||s.push([r[d],r[m]]);return s}},42793:(H,u,h)=>{const l=h(93141),a=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function i(s){this.mode=l.ALPHANUMERIC,this.data=s}i.getBitsLength=function(r){return 11*Math.floor(r/2)+r%2*6},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(r){let c;for(c=0;c+2<=this.data.length;c+=2){let d=45*a.indexOf(this.data[c]);d+=a.indexOf(this.data[c+1]),r.put(d,11)}this.data.length%2&&r.put(a.indexOf(this.data[c]),6)},H.exports=i},57258:H=>{function u(){this.buffer=[],this.length=0}u.prototype={get:function(h){const l=Math.floor(h/8);return 1==(this.buffer[l]>>>7-h%8&1)},put:function(h,l){for(let a=0;a<l;a++)this.putBit(1==(h>>>l-a-1&1))},getLengthInBits:function(){return this.length},putBit:function(h){const l=Math.floor(this.length/8);this.buffer.length<=l&&this.buffer.push(0),h&&(this.buffer[l]|=128>>>this.length%8),this.length++}},H.exports=u},8104:H=>{function u(h){if(!h||h<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=h,this.data=new Uint8Array(h*h),this.reservedBit=new Uint8Array(h*h)}u.prototype.set=function(h,l,a,i){const s=h*this.size+l;this.data[s]=a,i&&(this.reservedBit[s]=!0)},u.prototype.get=function(h,l){return this.data[h*this.size+l]},u.prototype.xor=function(h,l,a){this.data[h*this.size+l]^=a},u.prototype.isReserved=function(h,l){return this.reservedBit[h*this.size+l]},H.exports=u},62860:(H,u,h)=>{const l=h(11522),a=h(93141);function i(s){this.mode=a.BYTE,"string"==typeof s&&(s=l(s)),this.data=new Uint8Array(s)}i.getBitsLength=function(r){return 8*r},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(s){for(let r=0,c=this.data.length;r<c;r++)s.put(this.data[r],8)},H.exports=i},67291:(H,u,h)=>{const l=h(3997),a=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],i=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];u.getBlocksCount=function(r,c){switch(c){case l.L:return a[4*(r-1)+0];case l.M:return a[4*(r-1)+1];case l.Q:return a[4*(r-1)+2];case l.H:return a[4*(r-1)+3];default:return}},u.getTotalCodewordsCount=function(r,c){switch(c){case l.L:return i[4*(r-1)+0];case l.M:return i[4*(r-1)+1];case l.Q:return i[4*(r-1)+2];case l.H:return i[4*(r-1)+3];default:return}}},3997:(H,u)=>{u.L={bit:1},u.M={bit:0},u.Q={bit:3},u.H={bit:2},u.isValid=function(a){return a&&void 0!==a.bit&&a.bit>=0&&a.bit<4},u.from=function(a,i){if(u.isValid(a))return a;try{return function(l){if("string"!=typeof l)throw new Error("Param is not a string");switch(l.toLowerCase()){case"l":case"low":return u.L;case"m":case"medium":return u.M;case"q":case"quartile":return u.Q;case"h":case"high":return u.H;default:throw new Error("Unknown EC Level: "+l)}}(a)}catch{return i}}},21224:(H,u,h)=>{const l=h(55402).getSymbolSize;u.getPositions=function(s){const r=l(s);return[[0,0],[r-7,0],[0,r-7]]}},34482:(H,u,h)=>{const l=h(55402),s=l.getBCHDigit(1335);u.getEncodedBits=function(c,d){const m=c.bit<<3|d;let v=m<<10;for(;l.getBCHDigit(v)-s>=0;)v^=1335<<l.getBCHDigit(v)-s;return 21522^(m<<10|v)}},10567:(H,u)=>{const h=new Uint8Array(512),l=new Uint8Array(256);(function(){let i=1;for(let s=0;s<255;s++)h[s]=i,l[i]=s,i<<=1,256&i&&(i^=285);for(let s=255;s<512;s++)h[s]=h[s-255]})(),u.log=function(i){if(i<1)throw new Error("log("+i+")");return l[i]},u.exp=function(i){return h[i]},u.mul=function(i,s){return 0===i||0===s?0:h[l[i]+l[s]]}},51909:(H,u,h)=>{const l=h(93141),a=h(55402);function i(s){this.mode=l.KANJI,this.data=s}i.getBitsLength=function(r){return 13*r},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(s){let r;for(r=0;r<this.data.length;r++){let c=a.toSJIS(this.data[r]);if(c>=33088&&c<=40956)c-=33088;else{if(!(c>=57408&&c<=60351))throw new Error("Invalid SJIS character: "+this.data[r]+"\nMake sure your charset is UTF-8");c-=49472}c=192*(c>>>8&255)+(255&c),s.put(c,13)}},H.exports=i},41976:(H,u)=>{u.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};function l(a,i,s){switch(a){case u.Patterns.PATTERN000:return(i+s)%2==0;case u.Patterns.PATTERN001:return i%2==0;case u.Patterns.PATTERN010:return s%3==0;case u.Patterns.PATTERN011:return(i+s)%3==0;case u.Patterns.PATTERN100:return(Math.floor(i/2)+Math.floor(s/3))%2==0;case u.Patterns.PATTERN101:return i*s%2+i*s%3==0;case u.Patterns.PATTERN110:return(i*s%2+i*s%3)%2==0;case u.Patterns.PATTERN111:return(i*s%3+(i+s)%2)%2==0;default:throw new Error("bad maskPattern:"+a)}}u.isValid=function(i){return null!=i&&""!==i&&!isNaN(i)&&i>=0&&i<=7},u.from=function(i){return u.isValid(i)?parseInt(i,10):void 0},u.getPenaltyN1=function(i){const s=i.size;let r=0,c=0,d=0,m=null,v=null;for(let b=0;b<s;b++){c=d=0,m=v=null;for(let S=0;S<s;S++){let $=i.get(b,S);$===m?c++:(c>=5&&(r+=c-5+3),m=$,c=1),$=i.get(S,b),$===v?d++:(d>=5&&(r+=d-5+3),v=$,d=1)}c>=5&&(r+=c-5+3),d>=5&&(r+=d-5+3)}return r},u.getPenaltyN2=function(i){const s=i.size;let r=0;for(let c=0;c<s-1;c++)for(let d=0;d<s-1;d++){const m=i.get(c,d)+i.get(c,d+1)+i.get(c+1,d)+i.get(c+1,d+1);(4===m||0===m)&&r++}return 3*r},u.getPenaltyN3=function(i){const s=i.size;let r=0,c=0,d=0;for(let m=0;m<s;m++){c=d=0;for(let v=0;v<s;v++)c=c<<1&2047|i.get(m,v),v>=10&&(1488===c||93===c)&&r++,d=d<<1&2047|i.get(v,m),v>=10&&(1488===d||93===d)&&r++}return 40*r},u.getPenaltyN4=function(i){let s=0;const r=i.data.length;for(let d=0;d<r;d++)s+=i.data[d];return 10*Math.abs(Math.ceil(100*s/r/5)-10)},u.applyMask=function(i,s){const r=s.size;for(let c=0;c<r;c++)for(let d=0;d<r;d++)s.isReserved(d,c)||s.xor(d,c,l(i,d,c))},u.getBestMask=function(i,s){const r=Object.keys(u.Patterns).length;let c=0,d=1/0;for(let m=0;m<r;m++){s(m),u.applyMask(m,i);const v=u.getPenaltyN1(i)+u.getPenaltyN2(i)+u.getPenaltyN3(i)+u.getPenaltyN4(i);u.applyMask(m,i),v<d&&(d=v,c=m)}return c}},93141:(H,u,h)=>{const l=h(74200),a=h(22679);u.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},u.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},u.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},u.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},u.MIXED={bit:-1},u.getCharCountIndicator=function(r,c){if(!r.ccBits)throw new Error("Invalid mode: "+r);if(!l.isValid(c))throw new Error("Invalid version: "+c);return c>=1&&c<10?r.ccBits[0]:c<27?r.ccBits[1]:r.ccBits[2]},u.getBestModeForData=function(r){return a.testNumeric(r)?u.NUMERIC:a.testAlphanumeric(r)?u.ALPHANUMERIC:a.testKanji(r)?u.KANJI:u.BYTE},u.toString=function(r){if(r&&r.id)return r.id;throw new Error("Invalid mode")},u.isValid=function(r){return r&&r.bit&&r.ccBits},u.from=function(r,c){if(u.isValid(r))return r;try{return function(s){if("string"!=typeof s)throw new Error("Param is not a string");switch(s.toLowerCase()){case"numeric":return u.NUMERIC;case"alphanumeric":return u.ALPHANUMERIC;case"kanji":return u.KANJI;case"byte":return u.BYTE;default:throw new Error("Unknown mode: "+s)}}(r)}catch{return c}}},50580:(H,u,h)=>{const l=h(93141);function a(i){this.mode=l.NUMERIC,this.data=i.toString()}a.getBitsLength=function(s){return 10*Math.floor(s/3)+(s%3?s%3*3+1:0)},a.prototype.getLength=function(){return this.data.length},a.prototype.getBitsLength=function(){return a.getBitsLength(this.data.length)},a.prototype.write=function(s){let r,c,d;for(r=0;r+3<=this.data.length;r+=3)c=this.data.substr(r,3),d=parseInt(c,10),s.put(d,10);const m=this.data.length-r;m>0&&(c=this.data.substr(r),d=parseInt(c,10),s.put(d,3*m+1))},H.exports=a},70830:(H,u,h)=>{const l=h(10567);u.mul=function(i,s){const r=new Uint8Array(i.length+s.length-1);for(let c=0;c<i.length;c++)for(let d=0;d<s.length;d++)r[c+d]^=l.mul(i[c],s[d]);return r},u.mod=function(i,s){let r=new Uint8Array(i);for(;r.length-s.length>=0;){const c=r[0];for(let m=0;m<s.length;m++)r[m]^=l.mul(s[m],c);let d=0;for(;d<r.length&&0===r[d];)d++;r=r.slice(d)}return r},u.generateECPolynomial=function(i){let s=new Uint8Array([1]);for(let r=0;r<i;r++)s=u.mul(s,new Uint8Array([1,l.exp(r)]));return s}},51191:(H,u,h)=>{const l=h(55402),a=h(3997),i=h(57258),s=h(8104),r=h(76448),c=h(21224),d=h(41976),m=h(67291),v=h(56041),b=h(90160),S=h(34482),$=h(93141),B=h(71769);function k(f,_,w){const E=f.size,R=S.getEncodedBits(_,w);let M,U;for(M=0;M<15;M++)U=1==(R>>M&1),f.set(M<6?M:M<8?M+1:E-15+M,8,U,!0),f.set(8,M<8?E-M-1:M<9?15-M-1+1:15-M-1,U,!0);f.set(E-8,8,1,!0)}function y(f,_,w,E){let R;if(Array.isArray(f))R=B.fromArray(f);else{if("string"!=typeof f)throw new Error("Invalid data");{let ot=_;if(!ot){const ft=B.rawSplit(f);ot=b.getBestVersionForData(ft,w)}R=B.fromString(f,ot||40)}}const M=b.getBestVersionForData(R,w);if(!M)throw new Error("The amount of data is too big to be stored in a QR Code");if(_){if(_<M)throw new Error("\nThe chosen QR Code version cannot contain this amount of data.\nMinimum version required to store current data is: "+M+".\n")}else _=M;const U=function(f,_,w){const E=new i;w.forEach(function(V){E.put(V.mode.bit,4),E.put(V.getLength(),$.getCharCountIndicator(V.mode,f)),V.write(E)});const U=8*(l.getSymbolTotalCodewords(f)-m.getTotalCodewordsCount(f,_));for(E.getLengthInBits()+4<=U&&E.put(0,4);E.getLengthInBits()%8!=0;)E.putBit(0);const j=(U-E.getLengthInBits())/8;for(let V=0;V<j;V++)E.put(V%2?17:236,8);return function(f,_,w){const E=l.getSymbolTotalCodewords(_),M=E-m.getTotalCodewordsCount(_,w),U=m.getBlocksCount(_,w),V=U-E%U,ot=Math.floor(E/U),ft=Math.floor(M/U),yt=ft+1,gt=ot-ft,Tt=new v(gt);let _t=0;const mt=new Array(U),bt=new Array(U);let At=0;const Ft=new Uint8Array(f.buffer);for(let C=0;C<U;C++){const T=C<V?ft:yt;mt[C]=Ft.slice(_t,_t+T),bt[C]=Tt.encode(mt[C]),_t+=T,At=Math.max(At,T)}const Et=new Uint8Array(E);let z,p,Pt=0;for(z=0;z<At;z++)for(p=0;p<U;p++)z<mt[p].length&&(Et[Pt++]=mt[p][z]);for(z=0;z<gt;z++)for(p=0;p<U;p++)Et[Pt++]=bt[p][z];return Et}(E,f,_)}(_,w,R),j=l.getSymbolSize(_),V=new s(j);return function(f,_){const w=f.size,E=c.getPositions(_);for(let R=0;R<E.length;R++){const M=E[R][0],U=E[R][1];for(let j=-1;j<=7;j++)if(!(M+j<=-1||w<=M+j))for(let V=-1;V<=7;V++)U+V<=-1||w<=U+V||f.set(M+j,U+V,j>=0&&j<=6&&(0===V||6===V)||V>=0&&V<=6&&(0===j||6===j)||j>=2&&j<=4&&V>=2&&V<=4,!0)}}(V,_),function(f){const _=f.size;for(let w=8;w<_-8;w++){const E=w%2==0;f.set(w,6,E,!0),f.set(6,w,E,!0)}}(V),function(f,_){const w=r.getPositions(_);for(let E=0;E<w.length;E++){const R=w[E][0],M=w[E][1];for(let U=-2;U<=2;U++)for(let j=-2;j<=2;j++)f.set(R+U,M+j,-2===U||2===U||-2===j||2===j||0===U&&0===j,!0)}}(V,_),k(V,w,0),_>=7&&function(f,_){const w=f.size,E=b.getEncodedBits(_);let R,M,U;for(let j=0;j<18;j++)R=Math.floor(j/3),M=j%3+w-8-3,U=1==(E>>j&1),f.set(R,M,U,!0),f.set(M,R,U,!0)}(V,_),function(f,_){const w=f.size;let E=-1,R=w-1,M=7,U=0;for(let j=w-1;j>0;j-=2)for(6===j&&j--;;){for(let V=0;V<2;V++)if(!f.isReserved(R,j-V)){let ot=!1;U<_.length&&(ot=1==(_[U]>>>M&1)),f.set(R,j-V,ot),M--,-1===M&&(U++,M=7)}if(R+=E,R<0||w<=R){R-=E,E=-E;break}}}(V,U),isNaN(E)&&(E=d.getBestMask(V,k.bind(null,V,w))),d.applyMask(E,V),k(V,w,E),{modules:V,version:_,errorCorrectionLevel:w,maskPattern:E,segments:R}}u.create=function(_,w){if(void 0===_||""===_)throw new Error("No input text");let R,M,E=a.M;return void 0!==w&&(E=a.from(w.errorCorrectionLevel,a.M),R=b.from(w.version),M=d.from(w.maskPattern),w.toSJISFunc&&l.setToSJISFunction(w.toSJISFunc)),y(_,R,E,M)}},56041:(H,u,h)=>{const l=h(70830);function a(i){this.genPoly=void 0,this.degree=i,this.degree&&this.initialize(this.degree)}a.prototype.initialize=function(s){this.degree=s,this.genPoly=l.generateECPolynomial(this.degree)},a.prototype.encode=function(s){if(!this.genPoly)throw new Error("Encoder not initialized");const r=new Uint8Array(s.length+this.degree);r.set(s);const c=l.mod(r,this.genPoly),d=this.degree-c.length;if(d>0){const m=new Uint8Array(this.degree);return m.set(c,d),m}return c},H.exports=a},22679:(H,u)=>{const h="[0-9]+";let a="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";a=a.replace(/u/g,"\\u");const i="(?:(?![A-Z0-9 $%*+\\-./:]|"+a+")(?:.|[\r\n]))+";u.KANJI=new RegExp(a,"g"),u.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),u.BYTE=new RegExp(i,"g"),u.NUMERIC=new RegExp(h,"g"),u.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");const s=new RegExp("^"+a+"$"),r=new RegExp("^"+h+"$"),c=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");u.testKanji=function(m){return s.test(m)},u.testNumeric=function(m){return r.test(m)},u.testAlphanumeric=function(m){return c.test(m)}},71769:(H,u,h)=>{const l=h(93141),a=h(50580),i=h(42793),s=h(62860),r=h(51909),c=h(22679),d=h(55402),m=h(78333);function v(x){return unescape(encodeURIComponent(x)).length}function b(x,k,F){const L=[];let N;for(;null!==(N=x.exec(F));)L.push({data:N[0],index:N.index,mode:k,length:N[0].length});return L}function S(x){const k=b(c.NUMERIC,l.NUMERIC,x),F=b(c.ALPHANUMERIC,l.ALPHANUMERIC,x);let L,N;return d.isKanjiModeEnabled()?(L=b(c.BYTE,l.BYTE,x),N=b(c.KANJI,l.KANJI,x)):(L=b(c.BYTE_KANJI,l.BYTE,x),N=[]),k.concat(F,L,N).sort(function(f,_){return f.index-_.index}).map(function(f){return{data:f.data,mode:f.mode,length:f.length}})}function $(x,k){switch(k){case l.NUMERIC:return a.getBitsLength(x);case l.ALPHANUMERIC:return i.getBitsLength(x);case l.KANJI:return r.getBitsLength(x);case l.BYTE:return s.getBitsLength(x)}}function Z(x,k){let F;const L=l.getBestModeForData(x);if(F=l.from(k,L),F!==l.BYTE&&F.bit<L.bit)throw new Error('"'+x+'" cannot be encoded with mode '+l.toString(F)+".\n Suggested mode is: "+l.toString(L));switch(F===l.KANJI&&!d.isKanjiModeEnabled()&&(F=l.BYTE),F){case l.NUMERIC:return new a(x);case l.ALPHANUMERIC:return new i(x);case l.KANJI:return new r(x);case l.BYTE:return new s(x)}}u.fromArray=function(k){return k.reduce(function(F,L){return"string"==typeof L?F.push(Z(L,null)):L.data&&F.push(Z(L.data,L.mode)),F},[])},u.fromString=function(k,F){const N=function(x){const k=[];for(let F=0;F<x.length;F++){const L=x[F];switch(L.mode){case l.NUMERIC:k.push([L,{data:L.data,mode:l.ALPHANUMERIC,length:L.length},{data:L.data,mode:l.BYTE,length:L.length}]);break;case l.ALPHANUMERIC:k.push([L,{data:L.data,mode:l.BYTE,length:L.length}]);break;case l.KANJI:k.push([L,{data:L.data,mode:l.BYTE,length:v(L.data)}]);break;case l.BYTE:k.push([{data:L.data,mode:l.BYTE,length:v(L.data)}])}}return k}(S(k,d.isKanjiModeEnabled())),y=function(x,k){const F={},L={start:{}};let N=["start"];for(let y=0;y<x.length;y++){const f=x[y],_=[];for(let w=0;w<f.length;w++){const E=f[w],R=""+y+w;_.push(R),F[R]={node:E,lastCount:0},L[R]={};for(let M=0;M<N.length;M++){const U=N[M];F[U]&&F[U].node.mode===E.mode?(L[U][R]=$(F[U].lastCount+E.length,E.mode)-$(F[U].lastCount,E.mode),F[U].lastCount+=E.length):(F[U]&&(F[U].lastCount=E.length),L[U][R]=$(E.length,E.mode)+4+l.getCharCountIndicator(E.mode,k))}}N=_}for(let y=0;y<N.length;y++)L[N[y]].end=0;return{map:L,table:F}}(N,F),f=m.find_path(y.map,"start","end"),_=[];for(let w=1;w<f.length-1;w++)_.push(y.table[f[w]].node);return u.fromArray(_.reduce(function(k,F){const L=k.length-1>=0?k[k.length-1]:null;return L&&L.mode===F.mode?(k[k.length-1].data+=F.data,k):(k.push(F),k)},[]))},u.rawSplit=function(k){return u.fromArray(S(k,d.isKanjiModeEnabled()))}},55402:(H,u)=>{let h;const l=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];u.getSymbolSize=function(i){if(!i)throw new Error('"version" cannot be null or undefined');if(i<1||i>40)throw new Error('"version" should be in range from 1 to 40');return 4*i+17},u.getSymbolTotalCodewords=function(i){return l[i]},u.getBCHDigit=function(a){let i=0;for(;0!==a;)i++,a>>>=1;return i},u.setToSJISFunction=function(i){if("function"!=typeof i)throw new Error('"toSJISFunc" is not a valid function.');h=i},u.isKanjiModeEnabled=function(){return void 0!==h},u.toSJIS=function(i){return h(i)}},74200:(H,u)=>{u.isValid=function(l){return!isNaN(l)&&l>=1&&l<=40}},90160:(H,u,h)=>{const l=h(55402),a=h(67291),i=h(3997),s=h(93141),r=h(74200),d=l.getBCHDigit(7973);function v($,B){return s.getCharCountIndicator($,B)+4}function b($,B){let D=0;return $.forEach(function(J){D+=v(J.mode,B)+J.getBitsLength()}),D}u.from=function(B,D){return r.isValid(B)?parseInt(B,10):D},u.getCapacity=function(B,D,J){if(!r.isValid(B))throw new Error("Invalid QR Code version");void 0===J&&(J=s.BYTE);const k=8*(l.getSymbolTotalCodewords(B)-a.getTotalCodewordsCount(B,D));if(J===s.MIXED)return k;const F=k-v(J,B);switch(J){case s.NUMERIC:return Math.floor(F/10*3);case s.ALPHANUMERIC:return Math.floor(F/11*2);case s.KANJI:return Math.floor(F/13);default:return Math.floor(F/8)}},u.getBestVersionForData=function(B,D){let J;const Z=i.from(D,i.M);if(Array.isArray(B)){if(B.length>1)return function($,B){for(let D=1;D<=40;D++)if(b($,D)<=u.getCapacity(D,B,s.MIXED))return D}(B,Z);if(0===B.length)return 1;J=B[0]}else J=B;return function($,B,D){for(let J=1;J<=40;J++)if(B<=u.getCapacity(J,D,$))return J}(J.mode,J.getLength(),Z)},u.getEncodedBits=function(B){if(!r.isValid(B)||B<7)throw new Error("Invalid QR Code version");let D=B<<12;for(;l.getBCHDigit(D)-d>=0;)D^=7973<<l.getBCHDigit(D)-d;return B<<12|D}},32158:(H,u,h)=>{const l=h(5726);u.render=function(r,c,d){let m=d,v=c;void 0===m&&(!c||!c.getContext)&&(m=c,c=void 0),c||(v=function(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}()),m=l.getOptions(m);const b=l.getImageWidth(r.modules.size,m),S=v.getContext("2d"),$=S.createImageData(b,b);return l.qrToImageData($.data,r,m),function(s,r,c){s.clearRect(0,0,r.width,r.height),r.style||(r.style={}),r.height=c,r.width=c,r.style.height=c+"px",r.style.width=c+"px"}(S,v,b),S.putImageData($,0,0),v},u.renderToDataURL=function(r,c,d){let m=d;return void 0===m&&(!c||!c.getContext)&&(m=c,c=void 0),m||(m={}),u.render(r,c,m).toDataURL(m.type||"image/png",(m.rendererOpts||{}).quality)}},173:(H,u,h)=>{const l=h(5726);function a(r,c){const d=r.a/255,m=c+'="'+r.hex+'"';return d<1?m+" "+c+'-opacity="'+d.toFixed(2).slice(1)+'"':m}function i(r,c,d){let m=r+c;return void 0!==d&&(m+=" "+d),m}u.render=function(c,d,m){const v=l.getOptions(d),b=c.modules.size,S=c.modules.data,$=b+2*v.margin,B=v.color.light.a?"<path "+a(v.color.light,"fill")+' d="M0 0h'+$+"v"+$+'H0z"/>':"",D="<path "+a(v.color.dark,"stroke")+' d="'+function(r,c,d){let m="",v=0,b=!1,S=0;for(let $=0;$<r.length;$++){const B=Math.floor($%c),D=Math.floor($/c);!B&&!b&&(b=!0),r[$]?(S++,$>0&&B>0&&r[$-1]||(m+=b?i("M",B+d,.5+D+d):i("m",v,0),v=0,b=!1),B+1<c&&r[$+1]||(m+=i("h",S),S=0)):v++}return m}(S,b,v.margin)+'"/>',x='<svg xmlns="http://www.w3.org/2000/svg" '+(v.width?'width="'+v.width+'" height="'+v.width+'" ':"")+'viewBox="0 0 '+$+" "+$+'" shape-rendering="crispEdges">'+B+D+"</svg>\n";return"function"==typeof m&&m(null,x),x}},5726:(H,u)=>{function h(l){if("number"==typeof l&&(l=l.toString()),"string"!=typeof l)throw new Error("Color should be defined as hex string");let a=l.slice().replace("#","").split("");if(a.length<3||5===a.length||a.length>8)throw new Error("Invalid hex color: "+l);(3===a.length||4===a.length)&&(a=Array.prototype.concat.apply([],a.map(function(s){return[s,s]}))),6===a.length&&a.push("F","F");const i=parseInt(a.join(""),16);return{r:i>>24&255,g:i>>16&255,b:i>>8&255,a:255&i,hex:"#"+a.slice(0,6).join("")}}u.getOptions=function(a){a||(a={}),a.color||(a.color={});const s=a.width&&a.width>=21?a.width:void 0;return{width:s,scale:s?4:a.scale||4,margin:null==a.margin||a.margin<0?4:a.margin,color:{dark:h(a.color.dark||"#000000ff"),light:h(a.color.light||"#ffffffff")},type:a.type,rendererOpts:a.rendererOpts||{}}},u.getScale=function(a,i){return i.width&&i.width>=a+2*i.margin?i.width/(a+2*i.margin):i.scale},u.getImageWidth=function(a,i){const s=u.getScale(a,i);return Math.floor((a+2*i.margin)*s)},u.qrToImageData=function(a,i,s){const r=i.modules.size,c=i.modules.data,d=u.getScale(r,s),m=Math.floor((r+2*s.margin)*d),v=s.margin*d,b=[s.color.light,s.color.dark];for(let S=0;S<m;S++)for(let $=0;$<m;$++){let B=4*(S*m+$),D=s.color.light;S>=v&&$>=v&&S<m-v&&$<m-v&&(D=b[c[Math.floor((S-v)/d)*r+Math.floor(($-v)/d)]?1:0]),a[B++]=D.r,a[B++]=D.g,a[B++]=D.b,a[B]=D.a}}},67148:(H,u,h)=>{"use strict";h.d(u,{M:()=>l});const l=a=>i=>{return"function"==typeof i?(r=i,customElements.define(a,r),r):((s,r)=>{const{kind:c,elements:d}=r;return{kind:c,elements:d,finisher(m){customElements.define(s,m)}}})(a,i);var r}},92134:(H,u,h)=>{"use strict";h.d(u,{C:()=>i});const l=(s,r)=>"method"===r.kind&&r.descriptor&&!("value"in r.descriptor)?{...r,finisher(c){c.createProperty(r.key,s)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:r.key,initializer(){"function"==typeof r.initializer&&(this[r.key]=r.initializer.call(this))},finisher(c){c.createProperty(r.key,s)}};function i(s){return(r,c)=>void 0!==c?((s,r,c)=>{r.constructor.createProperty(c,s)})(s,r,c):l(s,r)}},25815:(H,u,h)=>{"use strict";window},1203:(H,u,h)=>{"use strict";h(25815)},569:(H,u,h)=>{"use strict";h.d(u,{S:()=>a});var l=h(92134);function a(i){return(0,l.C)({...i,state:!0})}},14441:(H,u,h)=>{"use strict";h.d(u,{fl:()=>L,iv:()=>m});var l=h(34553);const a=window,i=a.ShadowRoot&&(void 0===a.ShadyCSS||a.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s=Symbol(),r=new WeakMap;class c{constructor(y,f,_){if(this._$cssResult$=!0,_!==s)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=y,this.t=f}get styleSheet(){let y=this.o;const f=this.t;if(i&&void 0===y){const _=void 0!==f&&1===f.length;_&&(y=r.get(f)),void 0===y&&((this.o=y=new CSSStyleSheet).replaceSync(this.cssText),_&&r.set(f,y))}return y}toString(){return this.cssText}}const m=(N,...y)=>{const f=1===N.length?N[0]:y.reduce((_,w,E)=>_+(R=>{if(!0===R._$cssResult$)return R.cssText;if("number"==typeof R)return R;throw Error("Value passed to 'css' function must be a 'css' function result: "+R+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(w)+N[E+1],N[0]);return new c(f,N,s)},b=i?N=>N:N=>N instanceof CSSStyleSheet?(y=>{let f="";for(const _ of y.cssRules)f+=_.cssText;return(N=>new c("string"==typeof N?N:N+"",void 0,s))(f)})(N):N;var S;const $=window,B=$.trustedTypes,D=B?B.emptyScript:"",J=$.reactiveElementPolyfillSupport,Z={toAttribute(N,y){switch(y){case Boolean:N=N?D:null;break;case Object:case Array:N=null==N?N:JSON.stringify(N)}return N},fromAttribute(N,y){let f=N;switch(y){case Boolean:f=null!==N;break;case Number:f=null===N?null:Number(N);break;case Object:case Array:try{f=JSON.parse(N)}catch{f=null}}return f}},x=(N,y)=>y!==N&&(y==y||N==N),k={attribute:!0,type:String,converter:Z,reflect:!1,hasChanged:x},F="finalized";class L extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(y){var f;this.finalize(),(null!==(f=this.h)&&void 0!==f?f:this.h=[]).push(y)}static get observedAttributes(){this.finalize();const y=[];return this.elementProperties.forEach((f,_)=>{const w=this._$Ep(_,f);void 0!==w&&(this._$Ev.set(w,_),y.push(w))}),y}static createProperty(y,f=k){if(f.state&&(f.attribute=!1),this.finalize(),this.elementProperties.set(y,f),!f.noAccessor&&!this.prototype.hasOwnProperty(y)){const _="symbol"==typeof y?Symbol():"__"+y,w=this.getPropertyDescriptor(y,_,f);void 0!==w&&Object.defineProperty(this.prototype,y,w)}}static getPropertyDescriptor(y,f,_){return{get(){return this[f]},set(w){const E=this[y];this[f]=w,this.requestUpdate(y,E,_)},configurable:!0,enumerable:!0}}static getPropertyOptions(y){return this.elementProperties.get(y)||k}static finalize(){if(this.hasOwnProperty(F))return!1;this[F]=!0;const y=Object.getPrototypeOf(this);if(y.finalize(),void 0!==y.h&&(this.h=[...y.h]),this.elementProperties=new Map(y.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const f=this.properties,_=[...Object.getOwnPropertyNames(f),...Object.getOwnPropertySymbols(f)];for(const w of _)this.createProperty(w,f[w])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(y){const f=[];if(Array.isArray(y)){const _=new Set(y.flat(1/0).reverse());for(const w of _)f.unshift(b(w))}else void 0!==y&&f.push(b(y));return f}static _$Ep(y,f){const _=f.attribute;return!1===_?void 0:"string"==typeof _?_:"string"==typeof y?y.toLowerCase():void 0}_$Eu(){var y;this._$E_=new Promise(f=>this.enableUpdating=f),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(y=this.constructor.h)||void 0===y||y.forEach(f=>f(this))}addController(y){var f,_;(null!==(f=this._$ES)&&void 0!==f?f:this._$ES=[]).push(y),void 0!==this.renderRoot&&this.isConnected&&(null===(_=y.hostConnected)||void 0===_||_.call(y))}removeController(y){var f;null===(f=this._$ES)||void 0===f||f.splice(this._$ES.indexOf(y)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((y,f)=>{this.hasOwnProperty(f)&&(this._$Ei.set(f,this[f]),delete this[f])})}createRenderRoot(){var y;const f=null!==(y=this.shadowRoot)&&void 0!==y?y:this.attachShadow(this.constructor.shadowRootOptions);return((N,y)=>{i?N.adoptedStyleSheets=y.map(f=>f instanceof CSSStyleSheet?f:f.styleSheet):y.forEach(f=>{const _=document.createElement("style"),w=a.litNonce;void 0!==w&&_.setAttribute("nonce",w),_.textContent=f.cssText,N.appendChild(_)})})(f,this.constructor.elementStyles),f}connectedCallback(){var y;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(y=this._$ES)||void 0===y||y.forEach(f=>{var _;return null===(_=f.hostConnected)||void 0===_?void 0:_.call(f)})}enableUpdating(y){}disconnectedCallback(){var y;null===(y=this._$ES)||void 0===y||y.forEach(f=>{var _;return null===(_=f.hostDisconnected)||void 0===_?void 0:_.call(f)})}attributeChangedCallback(y,f,_){this._$AK(y,_)}_$EO(y,f,_=k){var w;const E=this.constructor._$Ep(y,_);if(void 0!==E&&!0===_.reflect){const R=(void 0!==(null===(w=_.converter)||void 0===w?void 0:w.toAttribute)?_.converter:Z).toAttribute(f,_.type);this._$El=y,null==R?this.removeAttribute(E):this.setAttribute(E,R),this._$El=null}}_$AK(y,f){var _;const w=this.constructor,E=w._$Ev.get(y);if(void 0!==E&&this._$El!==E){const R=w.getPropertyOptions(E),M="function"==typeof R.converter?{fromAttribute:R.converter}:void 0!==(null===(_=R.converter)||void 0===_?void 0:_.fromAttribute)?R.converter:Z;this._$El=E,this[E]=M.fromAttribute(f,R.type),this._$El=null}}requestUpdate(y,f,_){let w=!0;void 0!==y&&(((_=_||this.constructor.getPropertyOptions(y)).hasChanged||x)(this[y],f)?(this._$AL.has(y)||this._$AL.set(y,f),!0===_.reflect&&this._$El!==y&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(y,_))):w=!1),!this.isUpdatePending&&w&&(this._$E_=this._$Ej())}_$Ej(){var y=this;return(0,l.Z)(function*(){y.isUpdatePending=!0;try{yield y._$E_}catch(_){Promise.reject(_)}const f=y.scheduleUpdate();return null!=f&&(yield f),!y.isUpdatePending})()}scheduleUpdate(){return this.performUpdate()}performUpdate(){var y;if(!this.isUpdatePending)return;this._$Ei&&(this._$Ei.forEach((w,E)=>this[E]=w),this._$Ei=void 0);let f=!1;const _=this._$AL;try{f=this.shouldUpdate(_),f?(this.willUpdate(_),null===(y=this._$ES)||void 0===y||y.forEach(w=>{var E;return null===(E=w.hostUpdate)||void 0===E?void 0:E.call(w)}),this.update(_)):this._$Ek()}catch(w){throw f=!1,this._$Ek(),w}f&&this._$AE(_)}willUpdate(y){}_$AE(y){var f;null===(f=this._$ES)||void 0===f||f.forEach(_=>{var w;return null===(w=_.hostUpdated)||void 0===w?void 0:w.call(_)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(y)),this.updated(y)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(y){return!0}update(y){void 0!==this._$EC&&(this._$EC.forEach((f,_)=>this._$EO(_,this[_],f)),this._$EC=void 0),this._$Ek()}updated(y){}firstUpdated(y){}}L[F]=!0,L.elementProperties=new Map,L.elementStyles=[],L.shadowRootOptions={mode:"open"},null==J||J({ReactiveElement:L}),(null!==(S=$.reactiveElementVersions)&&void 0!==S?S:$.reactiveElementVersions=[]).push("1.6.3")},23572:(H,u,h)=>{"use strict";h.d(u,{iv:()=>l.iv,dy:()=>a.dy,YP:()=>a.YP,oi:()=>c});var i,s,l=h(14441),a=h(27458);class c extends l.fl{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var b,S;const $=super.createRenderRoot();return null!==(b=(S=this.renderOptions).renderBefore)&&void 0!==b||(S.renderBefore=$.firstChild),$}update(b){const S=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(b),this._$Do=(0,a.sY)(S,this.renderRoot,this.renderOptions)}connectedCallback(){var b;super.connectedCallback(),null===(b=this._$Do)||void 0===b||b.setConnected(!0)}disconnectedCallback(){var b;super.disconnectedCallback(),null===(b=this._$Do)||void 0===b||b.setConnected(!1)}render(){return a.Jb}}c.finalized=!0,c._$litElement$=!0,null===(i=globalThis.litElementHydrateSupport)||void 0===i||i.call(globalThis,{LitElement:c});const d=globalThis.litElementPolyfillSupport;null==d||d({LitElement:c}),(null!==(s=globalThis.litElementVersions)&&void 0!==s?s:globalThis.litElementVersions=[]).push("3.3.3")},21366:(H,u,h)=>{"use strict";h.d(u,{$:()=>r});var l=h(27458);const r=(c=class extends class{constructor(d){}get _$AU(){return this._$AM._$AU}_$AT(d,m,v){this._$Ct=d,this._$AM=m,this._$Ci=v}_$AS(d,m){return this.update(d,m)}update(d,m){return this.render(...m)}}{constructor(c){var d;if(super(c),1!==c.type||"class"!==c.name||(null===(d=c.strings)||void 0===d?void 0:d.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(c){return" "+Object.keys(c).filter(d=>c[d]).join(" ")+" "}update(c,[d]){var m,v;if(void 0===this.it){this.it=new Set,void 0!==c.strings&&(this.nt=new Set(c.strings.join(" ").split(/\s/).filter(S=>""!==S)));for(const S in d)d[S]&&!(null===(m=this.nt)||void 0===m?void 0:m.has(S))&&this.it.add(S);return this.render(d)}const b=c.element.classList;this.it.forEach(S=>{S in d||(b.remove(S),this.it.delete(S))});for(const S in d){const $=!!d[S];$===this.it.has(S)||(null===(v=this.nt)||void 0===v?void 0:v.has(S))||($?(b.add(S),this.it.add(S)):(b.remove(S),this.it.delete(S)))}return l.Jb}},(...d)=>({_$litDirective$:c,values:d}));var c},71950:(H,u,h)=>{"use strict";h.d(u,{o:()=>a});var l=h(27458);const a=i=>i??l.Ld},27458:(H,u,h)=>{"use strict";var l;h.d(u,{dy:()=>f,Jb:()=>w,Ld:()=>E,sY:()=>Pt,YP:()=>_});const a=window,i=a.trustedTypes,s=i?i.createPolicy("lit-html",{createHTML:z=>z}):void 0,r="$lit$",c=`lit$${(Math.random()+"").slice(9)}$`,d="?"+c,m=`<${d}>`,v=document,b=()=>v.createComment(""),S=z=>null===z||"object"!=typeof z&&"function"!=typeof z,$=Array.isArray,D="[ \t\n\f\r]",J=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Z=/-->/g,x=/>/g,k=RegExp(`>|${D}(?:([^\\s"'>=/]+)(${D}*=${D}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),F=/'/g,L=/"/g,N=/^(?:script|style|textarea|title)$/i,y=z=>(p,...C)=>({_$litType$:z,strings:p,values:C}),f=y(1),_=y(2),w=Symbol.for("lit-noChange"),E=Symbol.for("lit-nothing"),R=new WeakMap,M=v.createTreeWalker(v,129,null,!1);function U(z,p){if(!Array.isArray(z)||!z.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==s?s.createHTML(p):p}class V{constructor({strings:p,_$litType$:C},T){let P;this.parts=[];let K=0,O=0;const tt=p.length-1,Y=this.parts,[W,et]=((z,p)=>{const C=z.length-1,T=[];let P,K=2===p?"<svg>":"",O=J;for(let tt=0;tt<C;tt++){const Y=z[tt];let W,et,nt=-1,it=0;for(;it<Y.length&&(O.lastIndex=it,et=O.exec(Y),null!==et);)it=O.lastIndex,O===J?"!--"===et[1]?O=Z:void 0!==et[1]?O=x:void 0!==et[2]?(N.test(et[2])&&(P=RegExp("</"+et[2],"g")),O=k):void 0!==et[3]&&(O=k):O===k?">"===et[0]?(O=P??J,nt=-1):void 0===et[1]?nt=-2:(nt=O.lastIndex-et[2].length,W=et[1],O=void 0===et[3]?k:'"'===et[3]?L:F):O===L||O===F?O=k:O===Z||O===x?O=J:(O=k,P=void 0);const ct=O===k&&z[tt+1].startsWith("/>")?" ":"";K+=O===J?Y+m:nt>=0?(T.push(W),Y.slice(0,nt)+r+Y.slice(nt)+c+ct):Y+c+(-2===nt?(T.push(void 0),tt):ct)}return[U(z,K+(z[C]||"<?>")+(2===p?"</svg>":"")),T]})(p,C);if(this.el=V.createElement(W,T),M.currentNode=this.el.content,2===C){const nt=this.el.content,it=nt.firstChild;it.remove(),nt.append(...it.childNodes)}for(;null!==(P=M.nextNode())&&Y.length<tt;){if(1===P.nodeType){if(P.hasAttributes()){const nt=[];for(const it of P.getAttributeNames())if(it.endsWith(r)||it.startsWith(c)){const ct=et[O++];if(nt.push(it),void 0!==ct){const Ht=P.getAttribute(ct.toLowerCase()+r).split(c),wt=/([.?@])?(.*)/.exec(ct);Y.push({type:1,index:K,name:wt[2],strings:Ht,ctor:"."===wt[1]?Tt:"?"===wt[1]?mt:"@"===wt[1]?bt:gt})}else Y.push({type:6,index:K})}for(const it of nt)P.removeAttribute(it)}if(N.test(P.tagName)){const nt=P.textContent.split(c),it=nt.length-1;if(it>0){P.textContent=i?i.emptyScript:"";for(let ct=0;ct<it;ct++)P.append(nt[ct],b()),M.nextNode(),Y.push({type:2,index:++K});P.append(nt[it],b())}}}else if(8===P.nodeType)if(P.data===d)Y.push({type:2,index:K});else{let nt=-1;for(;-1!==(nt=P.data.indexOf(c,nt+1));)Y.push({type:7,index:K}),nt+=c.length-1}K++}}static createElement(p,C){const T=v.createElement("template");return T.innerHTML=p,T}}function ot(z,p,C=z,T){var P,K,O,tt;if(p===w)return p;let Y=void 0!==T?null===(P=C._$Co)||void 0===P?void 0:P[T]:C._$Cl;const W=S(p)?void 0:p._$litDirective$;return(null==Y?void 0:Y.constructor)!==W&&(null===(K=null==Y?void 0:Y._$AO)||void 0===K||K.call(Y,!1),void 0===W?Y=void 0:(Y=new W(z),Y._$AT(z,C,T)),void 0!==T?(null!==(O=(tt=C)._$Co)&&void 0!==O?O:tt._$Co=[])[T]=Y:C._$Cl=Y),void 0!==Y&&(p=ot(z,Y._$AS(z,p.values),Y,T)),p}class ft{constructor(p,C){this._$AV=[],this._$AN=void 0,this._$AD=p,this._$AM=C}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(p){var C;const{el:{content:T},parts:P}=this._$AD,K=(null!==(C=null==p?void 0:p.creationScope)&&void 0!==C?C:v).importNode(T,!0);M.currentNode=K;let O=M.nextNode(),tt=0,Y=0,W=P[0];for(;void 0!==W;){if(tt===W.index){let et;2===W.type?et=new yt(O,O.nextSibling,this,p):1===W.type?et=new W.ctor(O,W.name,W.strings,this,p):6===W.type&&(et=new At(O,this,p)),this._$AV.push(et),W=P[++Y]}tt!==(null==W?void 0:W.index)&&(O=M.nextNode(),tt++)}return M.currentNode=v,K}v(p){let C=0;for(const T of this._$AV)void 0!==T&&(void 0!==T.strings?(T._$AI(p,T,C),C+=T.strings.length-2):T._$AI(p[C])),C++}}class yt{constructor(p,C,T,P){var K;this.type=2,this._$AH=E,this._$AN=void 0,this._$AA=p,this._$AB=C,this._$AM=T,this.options=P,this._$Cp=null===(K=null==P?void 0:P.isConnected)||void 0===K||K}get _$AU(){var p,C;return null!==(C=null===(p=this._$AM)||void 0===p?void 0:p._$AU)&&void 0!==C?C:this._$Cp}get parentNode(){let p=this._$AA.parentNode;const C=this._$AM;return void 0!==C&&11===(null==p?void 0:p.nodeType)&&(p=C.parentNode),p}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(p,C=this){var z;p=ot(this,p,C),S(p)?p===E||null==p||""===p?(this._$AH!==E&&this._$AR(),this._$AH=E):p!==this._$AH&&p!==w&&this._(p):void 0!==p._$litType$?this.g(p):void 0!==p.nodeType?this.$(p):$(z=p)||"function"==typeof(null==z?void 0:z[Symbol.iterator])?this.T(p):this._(p)}k(p){return this._$AA.parentNode.insertBefore(p,this._$AB)}$(p){this._$AH!==p&&(this._$AR(),this._$AH=this.k(p))}_(p){this._$AH!==E&&S(this._$AH)?this._$AA.nextSibling.data=p:this.$(v.createTextNode(p)),this._$AH=p}g(p){var C;const{values:T,_$litType$:P}=p,K="number"==typeof P?this._$AC(p):(void 0===P.el&&(P.el=V.createElement(U(P.h,P.h[0]),this.options)),P);if((null===(C=this._$AH)||void 0===C?void 0:C._$AD)===K)this._$AH.v(T);else{const O=new ft(K,this),tt=O.u(this.options);O.v(T),this.$(tt),this._$AH=O}}_$AC(p){let C=R.get(p.strings);return void 0===C&&R.set(p.strings,C=new V(p)),C}T(p){$(this._$AH)||(this._$AH=[],this._$AR());const C=this._$AH;let T,P=0;for(const K of p)P===C.length?C.push(T=new yt(this.k(b()),this.k(b()),this,this.options)):T=C[P],T._$AI(K),P++;P<C.length&&(this._$AR(T&&T._$AB.nextSibling,P),C.length=P)}_$AR(p=this._$AA.nextSibling,C){var T;for(null===(T=this._$AP)||void 0===T||T.call(this,!1,!0,C);p&&p!==this._$AB;){const P=p.nextSibling;p.remove(),p=P}}setConnected(p){var C;void 0===this._$AM&&(this._$Cp=p,null===(C=this._$AP)||void 0===C||C.call(this,p))}}class gt{constructor(p,C,T,P,K){this.type=1,this._$AH=E,this._$AN=void 0,this.element=p,this.name=C,this._$AM=P,this.options=K,T.length>2||""!==T[0]||""!==T[1]?(this._$AH=Array(T.length-1).fill(new String),this.strings=T):this._$AH=E}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(p,C=this,T,P){const K=this.strings;let O=!1;if(void 0===K)p=ot(this,p,C,0),O=!S(p)||p!==this._$AH&&p!==w,O&&(this._$AH=p);else{const tt=p;let Y,W;for(p=K[0],Y=0;Y<K.length-1;Y++)W=ot(this,tt[T+Y],C,Y),W===w&&(W=this._$AH[Y]),O||(O=!S(W)||W!==this._$AH[Y]),W===E?p=E:p!==E&&(p+=(W??"")+K[Y+1]),this._$AH[Y]=W}O&&!P&&this.j(p)}j(p){p===E?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,p??"")}}class Tt extends gt{constructor(){super(...arguments),this.type=3}j(p){this.element[this.name]=p===E?void 0:p}}const _t=i?i.emptyScript:"";class mt extends gt{constructor(){super(...arguments),this.type=4}j(p){p&&p!==E?this.element.setAttribute(this.name,_t):this.element.removeAttribute(this.name)}}class bt extends gt{constructor(p,C,T,P,K){super(p,C,T,P,K),this.type=5}_$AI(p,C=this){var T;if((p=null!==(T=ot(this,p,C,0))&&void 0!==T?T:E)===w)return;const P=this._$AH,K=p===E&&P!==E||p.capture!==P.capture||p.once!==P.once||p.passive!==P.passive,O=p!==E&&(P===E||K);K&&this.element.removeEventListener(this.name,this,P),O&&this.element.addEventListener(this.name,this,p),this._$AH=p}handleEvent(p){var C,T;"function"==typeof this._$AH?this._$AH.call(null!==(T=null===(C=this.options)||void 0===C?void 0:C.host)&&void 0!==T?T:this.element,p):this._$AH.handleEvent(p)}}class At{constructor(p,C,T){this.element=p,this.type=6,this._$AN=void 0,this._$AM=C,this.options=T}get _$AU(){return this._$AM._$AU}_$AI(p){ot(this,p)}}const Et=a.litHtmlPolyfillSupport;null==Et||Et(V,yt),(null!==(l=a.litHtmlVersions)&&void 0!==l?l:a.litHtmlVersions=[]).push("2.8.0");const Pt=(z,p,C)=>{var T,P;const K=null!==(T=null==C?void 0:C.renderBefore)&&void 0!==T?T:p;let O=K._$litPart$;if(void 0===O){const tt=null!==(P=null==C?void 0:C.renderBefore)&&void 0!==P?P:null;K._$litPart$=O=new yt(p.insertBefore(b(),tt),tt,void 0,C??{})}return O._$AI(z),O}}}]);