1import{o as Fe,w as ze,u as lt,r as Q,c as q,d as Se,P as Ce,h as ye,F as je,a as Te,b as pt,e as Ke,p as st,i as Ze,T as za,f as Es,t as ct,g as I,j as Ts,l as Bt,n as Va,R as ln,k as Ne,m as _t,V as Ga,q as Mn,s as qa,v as Wa,O as Ot,x as Ya,y as Je,z as Ja,A as Io,W as Co,B as Do,C as Oo,D as Be,E as W,G as Z,H as E,I as P,J as rt,K as at,L as Gr,M as xn,N as Oe,Q as lr,S as Pe,U as _e,X as Re,Y as Ka,Z as J,_ as ge,$ as Mt,a0 as Fn,a1 as As,a2 as Un,a3 as Ro,a4 as nt,a5 as Za,a6 as Qa,a7 as Xa,a8 as el,a9 as tl,aa as nl,ab as $o,ac as No}from"./app.ab1457a9.js";const jn=typeof window=="undefined"||typeof document=="undefined";function ot(e){if(jn)return null;if(e instanceof Node)return e.ownerDocument;if(e!=null&&e.hasOwnProperty("value")){let t=Fe(e);if(t)return t.ownerDocument}return document}function rl({container:e,accept:t,walk:n,enabled:r}){ze(()=>{let o=e.value;if(!o||r!==void 0&&!r.value)return;let s=ot(e);if(!s)return;let i=Object.assign(l=>t(l),{acceptNode:t}),a=s.createTreeWalker(o,NodeFilter.SHOW_ELEMENT,i,!1);for(;a.nextNode();)n(a.currentNode)})}let xr=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var Ie=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e))(Ie||{}),St=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(St||{}),ol=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(ol||{});function sl(e=document.body){return e==null?[]:Array.from(e.querySelectorAll(xr))}var Is=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(Is||{});function il(e,t=0){var n;return e===((n=ot(e))==null?void 0:n.body)?!1:lt(t,{[0](){return e.matches(xr)},[1](){let r=e;for(;r!==null;){if(r.matches(xr))return!0;r=r.parentElement}return!1}})}function on(e){e==null||e.focus({preventScroll:!0})}let al=["textarea","input"].join(",");function ll(e){var t,n;return(n=(t=e==null?void 0:e.matches)==null?void 0:t.call(e,al))!=null?n:!1}function Cs(e,t=n=>n){return e.slice().sort((n,r)=>{let o=t(n),s=t(r);if(o===null||s===null)return 0;let i=o.compareDocumentPosition(s);return i&Node.DOCUMENT_POSITION_FOLLOWING?-1:i&Node.DOCUMENT_POSITION_PRECEDING?1:0})}function tt(e,t,n=!0,r=null){var o;let s=(o=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e==null?void 0:e.ownerDocument)!=null?o:document,i=Array.isArray(e)?n?Cs(e):e:sl(e);r=r!=null?r:s.activeElement;let a=(()=>{if(t&5)return 1;if(t&10)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),l=(()=>{if(t&1)return 0;if(t&2)return Math.max(0,i.indexOf(r))-1;if(t&4)return Math.max(0,i.indexOf(r))+1;if(t&8)return i.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),c=t&32?{preventScroll:!0}:{},u=0,m=i.length,p;do{if(u>=m||u+m<=0)return 0;let x=l+u;if(t&16)x=(x+m)%m;else{if(x<0)return 3;if(x>=m)return 1}p=i[x],p==null||p.focus(c),u+=a}while(p!==s.activeElement);return t&6&&ll(p)&&p.select(),p.hasAttribute("tabindex")||p.setAttribute("tabindex","0"),2}function cr(e,t,n){jn||ze(r=>{document.addEventListener(e,t,n),r(()=>document.removeEventListener(e,t,n))})}function cl(e,t,n=q(()=>!0)){function r(s,i){if(!n.value||s.defaultPrevented)return;let a=i(s);if(a===null||!a.getRootNode().contains(a))return;let l=function c(u){return typeof u=="function"?c(u()):Array.isArray(u)||u instanceof Set?u:[u]}(e);for(let c of l){if(c===null)continue;let u=c instanceof HTMLElement?c:Fe(c);if(u!=null&&u.contains(a))return}
1return!il(a,Is.Loose)&&a.tabIndex!==-1&&s.preventDefault(),t(s,a)}let o=Q(null);cr("mousedown",s=>{var i,a;n.value&&(o.value=((a=(i=s.composedPath)==null?void 0:i.call(s))==null?void 0:a[0])||s.target)},!0),cr("click",s=>{!o.value||(r(s,()=>o.value),o.value=null)},!0),cr("blur",s=>r(s,()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null),!0)}var Ut=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(Ut||{});let jt=Se({name:"Hidden",props:{as:{type:[Object,String],default:"div"},features:{type:Number,default:1}},setup(e,{slots:t,attrs:n}){return()=>{let{features:r,...o}=e,s={"aria-hidden":(r&2)===2?!0:void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...(r&4)===4&&(r&2)!==2&&{display:"none"}}};return Ce({ourProps:s,theirProps:o,slot:{},attrs:n,slots:t,name:"Hidden"})}}});function Ds(e={},t=null,n=[]){for(let[r,o]of Object.entries(e))Rs(n,Os(t,r),o);return n}function Os(e,t){return e?e+"["+t+"]":t}function Rs(e,t,n){if(Array.isArray(n))for(let[r,o]of n.entries())Rs(e,Os(t,r.toString()),o);else n instanceof Date?e.push([t,n.toISOString()]):typeof n=="boolean"?e.push([t,n?"1":"0"]):typeof n=="string"?e.push([t,n]):typeof n=="number"?e.push([t,`${n}`]):n==null?e.push([t,""]):Ds(n,t,e)}function ul(e){var t;let n=(t=e==null?void 0:e.form)!=null?t:e.closest("form");if(n){for(let r of n.elements)if(r.tagName==="INPUT"&&r.type==="submit"||r.tagName==="BUTTON"&&r.type==="submit"||r.nodeName==="INPUT"&&r.type==="image"){r.click();return}}}function fl(e,t,n){let r=Q(n==null?void 0:n.value),o=q(()=>e.value!==void 0);return[q(()=>o.value?e.value:r.value),function(s){return o.value||(r.value=s),t==null?void 0:t(s)}]}function dl(e,t,n){jn||ze(r=>{window.addEventListener(e,t,n),r(()=>window.removeEventListener(e,t,n))})}var _r=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(_r||{});function hl(){let e=Q(0);return dl("keydown",t=>{t.key==="Tab"&&(e.value=t.shiftKey?1:0)}),e}function $s(e,t,n,r){jn||ze(o=>{e=e!=null?e:window,e.addEventListener(t,n,r),o(()=>e.removeEventListener(t,n,r))})}function Ns(e){typeof queueMicrotask=="function"?queueMicrotask(e):Promise.resolve().then(e).catch(t=>setTimeout(()=>{throw t}))}var Fs=(e=>(e[e.None=1]="None",e[e.InitialFocus=2]="InitialFocus",e[e.TabLock=4]="TabLock",e[e.FocusLock=8]="FocusLock",e[e.RestoreFocus=16]="RestoreFocus",e[e.All=30]="All",e))(Fs||{});let Xt=Object.assign(Se({name:"FocusTrap",props:{as:{type:[Object,String],default:"div"},initialFocus:{type:Object,default:null},features:{type:Number,default:30},containers:{type:Object,default:Q(new Set)}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,expose:r}){let o=Q(null);r({el:o,$el:o});let s=q(()=>ot(o));pl({ownerDocument:s},q(()=>Boolean(e.features&16)));let i=ml({ownerDocument:s,container:o,initialFocus:q(()=>e.initialFocus)},q(()=>Boolean(e.features&2)));gl({ownerDocument:s,container:o,containers:e.containers,previousActiveElement:i},q(()=>Boolean(e.features&8)));let a=hl();function l(){let c=Fe(o);!c||lt(a.value,{[_r.Forwards]:()=>tt(c,Ie.First),[_r.Backwards]:()=>tt(c,Ie.Last)})}return()=>{let c={},u={ref:o},{features:m,initialFocus:p,containers:x,...g}=e;return ye(je,[Boolean(m&4)&&ye(jt,{as:"button",type:"button",onFocus:l,features:Ut.Focusable}),Ce({ourProps:u,theirProps:{...t,...g},slot:c,attrs:t,slots:n,name:"FocusTrap"}),Boolean(m&4)&&ye(jt,{as:"button",type:"button",onFocus:l,features:Ut.Focusable})])}}}),{features:Fs});function pl({ownerDocument:e},t){let n=Q(null);function r(){var s;n.value||(n.value=(s=e.value)==null?void 0:s.activeElement)}function o(){!n.value||(on(n.value),n.value=null)}Te(()=>{pt(t,(s,i)=>{s!==i&&(s?r():o())},{immediate:!0})}),Ke(o)}function ml({ownerDocument:e,container:t,initialFocus:n},r){let o=Q(null),s=Q(!1);return Te(()=>s.value=!0),Ke(()=>s.value=!1),Te(()=>{pt([t,n,r],(i,a)=>{if(i.every((c,u)=>(a==null?void 0:a[u])===c)||!r.value)return;let l=Fe(t);!l||Ns(()=>{var c,u;if(!s.value)return;let m=Fe(n),p=(c=e.value)==null?void 0:c.activeElement;if(m){if(m===p){o.value=p;return}}else if(l.contains(p)){o.value=p;return}m?on(m):tt(l,Ie.First|Ie.NoScroll)===St.Error&&console.warn("There are no focu
1sable elements inside the <FocusTrap />"),o.value=(u=e.value)==null?void 0:u.activeElement})},{immediate:!0,flush:"post"})}),o}function gl({ownerDocument:e,container:t,containers:n,previousActiveElement:r},o){var s;$s((s=e.value)==null?void 0:s.defaultView,"focus",i=>{if(!o.value)return;let a=new Set(n==null?void 0:n.value);a.add(t);let l=r.value;if(!l)return;let c=i.target;c&&c instanceof HTMLElement?vl(a,c)?(r.value=c,on(c)):(i.preventDefault(),i.stopPropagation(),on(l)):on(r.value)},!0)}function vl(e,t){var n;for(let r of e)if((n=r.value)!=null&&n.contains(t))return!0;return!1}let Fo="body > *",kt=new Set,xt=new Map;function Po(e){e.setAttribute("aria-hidden","true"),e.inert=!0}function ko(e){let t=xt.get(e);!t||(t["aria-hidden"]===null?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",t["aria-hidden"]),e.inert=t.inert)}function bl(e,t=Q(!0)){ze(n=>{if(!t.value||!e.value)return;let r=e.value,o=ot(r);if(o){kt.add(r);for(let s of xt.keys())s.contains(r)&&(ko(s),xt.delete(s));o.querySelectorAll(Fo).forEach(s=>{if(s instanceof HTMLElement){for(let i of kt)if(s.contains(i))return;kt.size===1&&(xt.set(s,{"aria-hidden":s.getAttribute("aria-hidden"),inert:s.inert}),Po(s))}}),n(()=>{if(kt.delete(r),kt.size>0)o.querySelectorAll(Fo).forEach(s=>{if(s instanceof HTMLElement&&!xt.has(s)){for(let i of kt)if(s.contains(i))return;xt.set(s,{"aria-hidden":s.getAttribute("aria-hidden"),inert:s.inert}),Po(s)}});else for(let s of xt.keys())ko(s),xt.delete(s)})}})}let Ps=Symbol("ForcePortalRootContext");function wl(){return Ze(Ps,!1)}let Lo=Se({name:"ForcePortalRoot",props:{as:{type:[Object,String],default:"template"},force:{type:Boolean,default:!1}},setup(e,{slots:t,attrs:n}){return st(Ps,e.force),()=>{let{force:r,...o}=e;return Ce({theirProps:o,ourProps:{},slot:{},slots:t,attrs:n,name:"ForcePortalRoot"})}}});function yl(e){let t=ot(e);if(!t){if(e===null)return null;throw new Error(`[Headless UI]: Cannot find ownerDocument for contextElement: ${e}`)}let n=t.getElementById("headlessui-portal-root");if(n)return n;let r=t.createElement("div");return r.setAttribute("id","headlessui-portal-root"),t.body.appendChild(r)}let xl=Se({name:"Portal",props:{as:{type:[Object,String],default:"div"}},setup(e,{slots:t,attrs:n}){let r=Q(null),o=q(()=>ot(r)),s=wl(),i=Ze(ks,null),a=Q(s===!0||i==null?yl(r.value):i.resolveTarget());return ze(()=>{s||i!=null&&(a.value=i.resolveTarget())}),Ke(()=>{var l,c;let u=(l=o.value)==null?void 0:l.getElementById("headlessui-portal-root");!u||a.value===u&&a.value.children.length<=0&&((c=a.value.parentElement)==null||c.removeChild(a.value))}),()=>{if(a.value===null)return null;let l={ref:r,"data-headlessui-portal":""};return ye(za,{to:a.value},Ce({ourProps:l,theirProps:e,slot:{},attrs:n,slots:t,name:"Portal"}))}}}),ks=Symbol("PortalGroupContext"),_l=Se({name:"PortalGroup",props:{as:{type:[Object,String],default:"template"},target:{type:Object,default:null}},setup(e,{attrs:t,slots:n}){let r=Es({resolveTarget(){return e.target}});return st(ks,r),()=>{let{target:o,...s}=e;return Ce({theirProps:s,ourProps:{},slot:{},attrs:t,slots:n,name:"PortalGroup"})}}}),Ls=Symbol("StackContext");var Sr=(e=>(e[e.Add=0]="Add",e[e.Remove=1]="Remove",e))(Sr||{});function Sl(){return Ze(Ls,()=>{})}function El({type:e,enabled:t,element:n,onUpdate:r}){let o=Sl();function s(...i){r==null||r(...i),o(...i)}Te(()=>{pt(t,(i,a)=>{i?s(0,e,n):a===!0&&s(1,e,n)},{immediate:!0,flush:"sync"})}),Ke(()=>{t.value&&s(1,e,n)}),st(Ls,s)}let Bs=Symbol("DescriptionContext");function Tl(){let e=Ze(Bs,null);if(e===null)throw new Error("Missing parent");return e}function qr({slot:e=Q({}),name:t="Description",props:n={}}={}){let r=Q([]);function o(s){return r.value.push(s),()=>{let i=r.value.indexOf(s);i!==-1&&r.value.splice(i,1)}}return st(Bs,{register:o,slot:e,name:t,props:n}),q(()=>r.value.length>0?r.value.join(" "):void 0)}let am=Se({name:"Description",props:{as:{type:[Object,String],default:"p"}},setup(e,{attrs:t,slots:n}){let r=Tl(),o=`headlessui-description-${ct()}`;return Te(()=>Ke(r.register(o))),()=>{let{name:s="Description",slot:i=Q({}),props:a={}}=r,l=e,c={...Object.entries(a).reduce((u,[m,p])=>Object.assign(u,{[m]:I(p)}),{}),id:o};return Ce({ourProps:c,theirProps:l,slot:i.value,attrs:t,slots:n,name:s})}}});function Wr(){let e=[],t=[],n={enqueue(r){t.push(r)},addEventListener(r,o,s,i){return r.addEventListener(o,s,i),n.add(()=>r.removeEventListener(o,s,i))},requestAnimationFrame(...r){let o=requestAnimationFrame(...r);n.add(()=>cancelAnimationFrame(o))},nextFrame(...r){n.requestAnimationFrame(()=>{n.requestAnimationFrame(...r)})},setTimeout(...r){let o=setTimeout(...r);n.add(()=>clearTimeout(o))},add(r){e.push(r)},dispose(){for(let r of e.splice(0))r()},async workQueue(){for(let r of t.splice(0))await r()}};return n}function Al(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}var Il=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(Il||{});let Er=Symbol("DialogContext");function Yr(e){let t=Ze(Er,null);if(t===null){let n=new Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,Yr),n}return t}let _n="DC8F892D-2EBD-447C-A4C8-A03058436FF4",Cl=Se({name:"Dialog",inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0},open:{type:[Boolean,String],default:_n},initialFocus:{type:Object,default:null}},emits:{close:e=>!0},setup(e,{emit:t,attrs:n,slots:r,expose:o}){var s;let i=Q(!1);Te(()=>{i.value=!0});let a=Q(0),l=Ts(),c=q(()=>e.open===_n&&l!==null?lt(l.value,{[Bt.Open]:!0,[Bt.Closed]:!1}):e.open),u=Q(new Set),m=Q(null),p=Q(null),x=q(()=>ot(m));if(o({el:m,$el:m}),!(e.open!==_n||l!==null))throw new Error("You forgot to provide an `open` prop to the `Dialog`.");if(typeof c.value!="boolean")throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${c.value===_n?void 0:e.open}`);let g=q(()=>i.value&&c.value?0:1),v=q(()=>g.value===0),T=q(()=>a.value>1),S=Ze(Er,null)!==null,_=q(()=>T.value?"parent":"leaf");bl(m,q(()=>T.value?v.value:!1)),El({type:"Dialog",enabled:q(()=>g.value===0),element:m,onUpdate:(R,k,M)=>
1{if(k==="Dialog")return lt(R,{[Sr.Add](){u.value.add(M),a.value+=1},[Sr.Remove](){u.value.delete(M),a.value-=1}})}});let f=qr({name:"DialogDescription",slot:q(()=>({open:c.value}))}),d=`headlessui-dialog-${ct()}`,b=Q(null),w={titleId:b,panelRef:Q(null),dialogState:g,setTitleId(R){b.value!==R&&(b.value=R)},close(){t("close",!1)}};return st(Er,w),cl(()=>{var R,k,M;return[...Array.from((k=(R=x.value)==null?void 0:R.querySelectorAll("body > *, [data-headlessui-portal]"))!=null?k:[]).filter(U=>!(!(U instanceof HTMLElement)||U.contains(Fe(p))||w.panelRef.value&&U.contains(w.panelRef.value))),(M=w.panelRef.value)!=null?M:m.value]},(R,k)=>{w.close(),Va(()=>k==null?void 0:k.focus())},q(()=>g.value===0&&!T.value)),$s((s=x.value)==null?void 0:s.defaultView,"keydown",R=>{R.defaultPrevented||R.key===Ne.Escape&&g.value===0&&(T.value||(R.preventDefault(),R.stopPropagation(),w.close()))}),ze(R=>{var k;if(g.value!==0||S)return;let M=x.value;if(!M)return;let U=Wr();function te(j,H,K){let V=j.style.getPropertyValue(H);return Object.assign(j.style,{[H]:K}),U.add(()=>{Object.assign(j.style,{[H]:V})})}let ue=M==null?void 0:M.documentElement,G=((k=M.defaultView)!=null?k:window).innerWidth-ue.clientWidth;if(te(ue,"overflow","hidden"),G>0){let j=ue.clientWidth-ue.offsetWidth,H=G-j;te(ue,"paddingRight",`${H}px`)}if(Al()){let j=window.pageYOffset;te(ue,"position","fixed"),te(ue,"marginTop",`-${j}px`),te(ue,"width","100%"),U.add(()=>window.scrollTo(0,j))}R(U.dispose)}),ze(R=>{if(g.value!==0)return;let k=Fe(m);if(!k)return;let M=new IntersectionObserver(U=>{for(let te of U)te.boundingClientRect.x===0&&te.boundingClientRect.y===0&&te.boundingClientRect.width===0&&te.boundingClientRect.height===0&&w.close()});M.observe(k),R(()=>M.disconnect())}),()=>{let R={...n,ref:m,id:d,role:"dialog","aria-modal":g.value===0?!0:void 0,"aria-labelledby":b.value,"aria-describedby":f.value},{open:k,initialFocus:M,...U}=e,te={open:g.value===0};return ye(Lo,{force:!0},()=>[ye(xl,()=>ye(_l,{target:m.value},()=>ye(Lo,{force:!1},()=>ye(Xt,{initialFocus:M,containers:u,features:v.value?lt(_.value,{parent:Xt.features.RestoreFocus,leaf:Xt.features.All&~Xt.features.FocusLock}):Xt.features.None},()=>Ce({ourProps:R,theirProps:U,slot:te,attrs:n,slots:r,visible:g.value===0,features:ln.RenderStrategy|ln.Static,name:"Dialog"}))))),ye(jt,{features:Ut.Hidden,ref:p})])}}}),Dl=Se({name:"DialogOverlay",props:{as:{type:[Object,String],default:"div"}},setup(e,{attrs:t,slots:n}){let r=Yr("DialogOverlay"),o=`headlessui-dialog-overlay-${ct()}`;function s(i){i.target===i.currentTarget&&(i.preventDefault(),i.stopPropagation(),r.close())}return()=>Ce({ourProps:{id:o,"aria-hidden":!0,onClick:s},theirProps:e,slot:{open:r.dialogState.value===0},attrs:t,slots:n,name:"DialogOverlay"})}}),Ol=Se({name:"DialogTitle",props:{as:{type:[Object,String],default:"h2"}},setup(e,{attrs:t,slots:n}){let r=Yr("DialogTitle"),o=`headlessui-dialog-title-${ct()}`;return Te(()=>{r.setTitleId(o),Ke(()=>r.setTitleId(null))}),()=>Ce({ourProps:{id:o},theirProps:e,slot:{open:r.dialogState.value===0},attrs:t,slots:n,name:"DialogTitle"})}}),Ms=Symbol("LabelContext");function Us(){let e=Ze(Ms,null);if(e===null){let t=new Error("You used a <Label /> component, but it is not inside a parent.");throw Error.captureStackTrace&&Error.captureStackTrace(t,Us),t}return e}function js({slot:e={},name:t="Label",props:n={}}={}){let r=Q([]);function o(s){return r.value.push(s),()=>{let i=r.value.indexOf(s);i!==-1&&r.value.splice(i,1)}}return st(Ms,{register:o,slot:e,name:t,props:n}),q(()=>r.value.length>0?r.value.join(" "):void 0)}let lm=Se({name:"Label",props:{as:{type:[Object,String],default:"label"},passive:{type:[Boolean],default:!1}},setup(e,{slots:t,attrs:n}){let r=Us(),o=`headlessui-label-${ct()}`;return Te(()=>Ke(r.register(o))),()=>{let{name:s="Label",slot:i={},props:a={}}=r,{passive:l,...c}=e,u={...Object.entries(a).reduce((m,[p,x])=>Object.assign(m,{[p]:I(x)}),{}),id:o};return l&&(delete u.onClick,delete c.onClick),Ce({ourProps:u,theirProps:c,slot:i,attrs:n,slots:t,name:s})}}});function Rl(e,t){return e===t}let Hs=Symbol("RadioGroupContext");function zs(e){let t=Ze(Hs,null);if(t===null){let n=new Error(`<${e} /> is missing a parent <RadioGroup /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,zs),n}return t}let $l=Se({name:"RadioGroup",emits:{"update:modelValue":e=>!0},props:{as:{type:[Object,String],default:"div"},disabled:{type:[Boolean],default:!1},by:{type:[String,Function],default:()=>Rl},modelValue:{type:[Object,String,Number,Boolean],default:void 0},defaultValue:{type:[Object,String,Number,Boolean],default:void 0},name:{type:String,optional:!0}},inheritAttrs:!1,setup(e,{emit:t,attrs:n,slots:r,expose:o}){let s=Q(null),i=Q([]),a=js({name:"RadioGroupLabel"}),l=qr({name:"RadioGroupDescription"});o({el:s,$el:s});let[c,u]=fl(q(()=>e.modelValue),g=>t("update:modelValue",g),q(()=>e.defaultValue)),m={options:i,value:c,disabled:q(()=>e.disabled),firstOption:q(()=>i.value.find(g=>!g.propsRef.disabled)),containsCheckedOption:q(()=>i.value.some(g=>m.compare(_t(g.propsRef.value),_t(e.modelValue)))),compare(g,v){if(typeof e.by=="string"){let T=e.by;return(g==null?void 0:g[T])===(v==null?void 0:v[T])}return e.by(g,v)},change(g){var v;if(e.disabled||m.compare(_t(c.value),_t(g)))return!1;let T=(v=i.value.find(S=>m.compare(_t(S.propsRef.value),_t(g))))==null?void 0:v.propsRef;return T!=null&&T.disabled?!1:(u(g),!0)},registerOption(g){i.value.push(g),i.value=Cs(i.value,v=>v.element)},unregisterOption(g){let v=i.value.findIndex(T=>T.id===g);v!==-1&&i.value.splice(v,1)}};st(Hs,m),rl({container:q(()=>Fe(s)),accept(g){return g.getAttribute("role")==="radio"?NodeFilter.FILTER_REJECT:g.hasAttribute("role")?N
1odeFilter.FILTER_SKIP:NodeFilter.FILTER_ACCEPT},walk(g){g.setAttribute("role","none")}});function p(g){if(!s.value||!s.value.contains(g.target))return;let v=i.value.filter(T=>T.propsRef.disabled===!1).map(T=>T.element);switch(g.key){case Ne.Enter:ul(g.currentTarget);break;case Ne.ArrowLeft:case Ne.ArrowUp:if(g.preventDefault(),g.stopPropagation(),tt(v,Ie.Previous|Ie.WrapAround)===St.Success){let T=i.value.find(S=>{var _;return S.element===((_=ot(s))==null?void 0:_.activeElement)});T&&m.change(T.propsRef.value)}break;case Ne.ArrowRight:case Ne.ArrowDown:if(g.preventDefault(),g.stopPropagation(),tt(v,Ie.Next|Ie.WrapAround)===St.Success){let T=i.value.find(S=>{var _;return S.element===((_=ot(S.element))==null?void 0:_.activeElement)});T&&m.change(T.propsRef.value)}break;case Ne.Space:{g.preventDefault(),g.stopPropagation();let T=i.value.find(S=>{var _;return S.element===((_=ot(S.element))==null?void 0:_.activeElement)});T&&m.change(T.propsRef.value)}break}}let x=`headlessui-radiogroup-${ct()}`;return()=>{let{disabled:g,name:v,...T}=e,S={ref:s,id:x,role:"radiogroup","aria-labelledby":a.value,"aria-describedby":l.value,onKeydown:p};return ye(je,[...v!=null&&c.value!=null?Ds({[v]:c.value}).map(([_,f])=>ye(jt,Ga({features:Ut.Hidden,key:_,as:"input",type:"hidden",hidden:!0,readOnly:!0,name:_,value:f}))):[],Ce({ourProps:S,theirProps:{...n,...Mn(T,["modelValue","defaultValue"])},slot:{},attrs:n,slots:r,name:"RadioGroup"})])}}});var Nl=(e=>(e[e.Empty=1]="Empty",e[e.Active=2]="Active",e))(Nl||{});let Bo=Se({name:"RadioGroupOption",props:{as:{type:[Object,String],default:"div"},value:{type:[Object,String,Number,Boolean]},disabled:{type:Boolean,default:!1}},setup(e,{attrs:t,slots:n,expose:r}){let o=zs("RadioGroupOption"),s=`headlessui-radiogroup-option-${ct()}`,i=js({name:"RadioGroupLabel"}),a=qr({name:"RadioGroupDescription"}),l=Q(null),c=q(()=>({value:e.value,disabled:e.disabled})),u=Q(1);r({el:l,$el:l}),Te(()=>o.registerOption({id:s,element:l,propsRef:c})),Ke(()=>o.unregisterOption(s));let m=q(()=>{var _;return((_=o.firstOption.value)==null?void 0:_.id)===s}),p=q(()=>o.disabled.value||e.disabled),x=q(()=>o.compare(_t(o.value.value),_t(e.value))),g=q(()=>p.value?-1:x.value||!o.containsCheckedOption.value&&m.value?0:-1);function v(){var _;!o.change(e.value)||(u.value|=2,(_=l.value)==null||_.focus())}function T(){u.value|=2}function S(){u.value&=-3}return()=>{let _=Mn(e,["value","disabled"]),f={checked:x.value,disabled:p.value,active:Boolean(u.value&2)},d={id:s,ref:l,role:"radio","aria-checked":x.value?"true":"false","aria-labelledby":i.value,"aria-describedby":a.value,"aria-disabled":p.value?!0:void 0,tabIndex:g.value,onClick:p.value?void 0:v,onFocus:p.value?void 0:T,onBlur:p.value?void 0:S};return Ce({ourProps:d,theirProps:_,slot:f,attrs:t,slots:n,name:"RadioGroupOption"})}}}),Fl=Se({props:{onFocus:{type:Function,required:!0}},setup(e){let t=Q(!0);return()=>t.value?ye(jt,{as:"button",type:"button",features:Ut.Focusable,onFocus(n){n.preventDefault();let r,o=50;function s(){var i;if(o--<=0){r&&cancelAnimationFrame(r);return}if((i=e.onFocus)!=null&&i.call(e)){t.value=!1,cancelAnimationFrame(r);return}r=requestAnimationFrame(s)}r=requestAnimationFrame(s)}}):null}}),Vs=Symbol("TabsContext");function pn(e){let t=Ze(Vs,null);if(t===null){let n=new Error(`<${e} /> is missing a parent <TabGroup /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(n,pn),n}return t}let Jr=Se({name:"TabGroup",emits:{change:e=>!0},props:{as:{type:[Object,String],default:"template"},selectedIndex:{type:[Number],default:null},defaultIndex:{type:[Number],default:0},vertical:{type:[Boolean],default:!1},manual:{type:[Boolean],default:!1}},inheritAttrs:!1,setup(e,{slots:t,attrs:n,emit:r}){let o=Q(null),s=Q([]),i=Q([]),a=q(()=>e.selectedIndex!==null),l=q(()=>a.value?e.selectedIndex:o.value),c={selectedIndex:o,orientation:q(()=>e.vertical?"vertical":"horizontal"),activation:q(()=>e.manual?"manual":"auto"),tabs:s,panels:i,setSelectedIndex(u){l.value!==u&&r("change",u),a.value||(o.value=u)},registerTab(u){s.value.includes(u)||s.value.push(u)},unregisterTab(u){let m=s.value.indexOf(u);m!==-1&&s.value.splice(m,1)},registerPanel(u){i.value.includes(u)||i.value.push(u)},unregisterPanel(u){let m=i.value.indexOf(u);m!==-1&&i.value.splice(m,1)}};return st(Vs,c),ze(()=>{var u;if(c.tabs.value.length<=0||e.selectedIndex===null&&o.value!==null)return;let m=c.tabs.value.map(g=>
1Fe(g)).filter(Boolean),p=m.filter(g=>!g.hasAttribute("disabled")),x=(u=e.selectedIndex)!=null?u:e.defaultIndex;if(x<0)o.value=m.indexOf(p[0]);else if(x>c.tabs.value.length)o.value=m.indexOf(p[p.length-1]);else{let g=m.slice(0,x),v=[...m.slice(x),...g].find(T=>p.includes(T));if(!v)return;o.value=m.indexOf(v)}}),()=>{let u={selectedIndex:o.value};return ye(je,[s.value.length<=0&&ye(Fl,{onFocus:()=>{for(let m of s.value){let p=Fe(m);if((p==null?void 0:p.tabIndex)===0)return p.focus(),!0}return!1}}),Ce({theirProps:{...n,...Mn(e,["selectedIndex","defaultIndex","manual","vertical","onChange"])},ourProps:{},slot:u,slots:t,attrs:n,name:"TabGroup"})])}}}),Kr=Se({name:"TabList",props:{as:{type:[Object,String],default:"div"}},setup(e,{attrs:t,slots:n}){let r=pn("TabList");return()=>{let o={selectedIndex:r.selectedIndex.value},s={role:"tablist","aria-orientation":r.orientation.value};return Ce({ourProps:s,theirProps:e,slot:o,attrs:t,slots:n,name:"TabList"})}}}),Zr=Se({name:"Tab",props:{as:{type:[Object,String],default:"button"},disabled:{type:[Boolean],default:!1}},setup(e,{attrs:t,slots:n,expose:r}){let o=pn("Tab"),s=`headlessui-tabs-tab-${ct()}`,i=Q(null);r({el:i,$el:i}),Te(()=>o.registerTab(i)),Ke(()=>o.unregisterTab(i));let a=q(()=>o.tabs.value.indexOf(i)),l=q(()=>a.value===o.selectedIndex.value);function c(v){var T;let S=v();if(S===St.Success&&o.activation.value==="auto"){let _=(T=ot(i))==null?void 0:T.activeElement,f=o.tabs.value.findIndex(d=>Fe(d)===_);f!==-1&&o.setSelectedIndex(f)}return S}function u(v){let T=o.tabs.value.map(S=>Fe(S)).filter(Boolean);if(v.key===Ne.Space||v.key===Ne.Enter){v.preventDefault(),v.stopPropagation(),o.setSelectedIndex(a.value);return}switch(v.key){case Ne.Home:case Ne.PageUp:return v.preventDefault(),v.stopPropagation(),c(()=>tt(T,Ie.First));case Ne.End:case Ne.PageDown:return v.preventDefault(),v.stopPropagation(),c(()=>tt(T,Ie.Last))}if(c(()=>lt(o.orientation.value,{vertical(){return v.key===Ne.ArrowUp?tt(T,Ie.Previous|Ie.WrapAround):v.key===Ne.ArrowDown?tt(T,Ie.Next|Ie.WrapAround):St.Error},horizontal(){return v.key===Ne.ArrowLeft?tt(T,Ie.Previous|Ie.WrapAround):v.key===Ne.ArrowRight?tt(T,Ie.Next|Ie.WrapAround):St.Error}}))===St.Success)return v.preventDefault()}let m=Q(!1);function p(){var v;m.value||(m.value=!0,!e.disabled&&((v=Fe(i))==null||v.focus(),o.setSelectedIndex(a.value),Ns(()=>{m.value=!1})))}function x(v){v.preventDefault()}let g=qa(q(()=>({as:e.as,type:t.type})),i);return()=>{var v;let T={selected:l.value},S={ref:i,onKeydown:u,onMousedown:x,onClick:p,id:s,role:"tab",type:g.value,"aria-controls":(v=Fe(o.panels.value[a.value]))==null?void 0:v.id,"aria-selected":l.value,tabIndex:l.value?0:-1,disabled:e.disabled?!0:void 0};return Ce({ourProps:S,theirProps:e,slot:T,attrs:t,slots:n,name:"Tab"})}}}),Qr=Se({name:"TabPanels",props:{as:{type:[Object,String],default:"div"}},setup(e,{slots:t,attrs:n}){let r=pn("TabPanels");return()=>{let o={selectedIndex:r.selectedIndex.value};return Ce({theirProps:e,ourProps:{},slot:o,attrs:n,slots:t,name:"TabPanels"})}}}),Lt=Se({name:"TabPanel",props:{as:{type:[Object,String],default:"div"},static:{type:Boolean,default:!1},unmount:{type:Boolean,default:!0}},setup(e,{attrs:t,slots:n,expose:r}){let o=pn("TabPanel"),s=`headlessui-tabs-panel-${ct()}`,i=Q(null);r({el:i,$el:i}),Te(()=>o.registerPanel(i)),Ke(()=>o.unregisterPanel(i));let a=q(()=>o.panels.value.indexOf(i)),l=q(()=>a.value===o.selectedIndex.value);return()=>{var c;let u={selected:l.value},m={ref:i,id:s,role:"tabpanel","aria-labelledby":(c=Fe(o.tabs.value[a.value]))==null?void 0:c.id,tabIndex:l.value?0:-1};return!l.value&&e.unmount&&!e.static?ye(jt,{as:"span",...m}):Ce({ourProps:m,theirProps:e,slot:u,attrs:t,slots:n,features:ln.Static|ln.RenderStrategy,visible:l.value,name:"TabPanel"})}}});function Pl(e){let t={called:!1};return(...n)=>{if(!t.called)return t.called=!0,e(...n)}}function ur(e,...t){e&&t.length>0&&e.classList.add(...t)}function Sn(e,...t){e&&t.length>0&&e.classList.remove(...t)}var Tr=(e=>(e.Finished="finished",e.Cancelled="cancelled",e))(Tr||{});function kl(e,t){let n=Wr();if(!e)return n.dispose;let{transitionDuration:r,transitionDelay:o}=getComputedStyle(e),[s,i]=[r,o].map(a=>
1{let[l=0]=a.split(",").filter(Boolean).map(c=>c.includes("ms")?parseFloat(c):parseFloat(c)*1e3).sort((c,u)=>u-c);return l});return s!==0?n.setTimeout(()=>t("finished"),s+i):t("finished"),n.add(()=>t("cancelled")),n.dispose}function Mo(e,t,n,r,o,s){let i=Wr(),a=s!==void 0?Pl(s):()=>{};return Sn(e,...o),ur(e,...t,...n),i.nextFrame(()=>{Sn(e,...n),ur(e,...r),i.add(kl(e,l=>(Sn(e,...r,...t),ur(e,...o),a(l))))}),i.add(()=>Sn(e,...t,...n,...r,...o)),i.add(()=>a("cancelled")),i.dispose}function Dt(e=""){return e.split(" ").filter(t=>t.trim().length>1)}let Xr=Symbol("TransitionContext");var Ll=(e=>(e.Visible="visible",e.Hidden="hidden",e))(Ll||{});function Bl(){return Ze(Xr,null)!==null}function Ml(){let e=Ze(Xr,null);if(e===null)throw new Error("A <TransitionChild /> is used but it is missing a parent <TransitionRoot />.");return e}function Ul(){let e=Ze(eo,null);if(e===null)throw new Error("A <TransitionChild /> is used but it is missing a parent <TransitionRoot />.");return e}let eo=Symbol("NestingContext");function Hn(e){return"children"in e?Hn(e.children):e.value.filter(({state:t})=>t==="visible").length>0}function Gs(e){let t=Q([]),n=Q(!1);Te(()=>n.value=!0),Ke(()=>n.value=!1);function r(s,i=Ot.Hidden){let a=t.value.findIndex(({id:l})=>l===s);a!==-1&&(lt(i,{[Ot.Unmount](){t.value.splice(a,1)},[Ot.Hidden](){t.value[a].state="hidden"}}),!Hn(t)&&n.value&&(e==null||e()))}function o(s){let i=t.value.find(({id:a})=>a===s);return i?i.state!=="visible"&&(i.state="visible"):t.value.push({id:s,state:"visible"}),()=>r(s,Ot.Unmount)}return{children:t,register:o,unregister:r}}let qs=ln.RenderStrategy,Ws=Se({props:{as:{type:[Object,String],default:"div"},show:{type:[Boolean],default:null},unmount:{type:[Boolean],default:!0},appear:{type:[Boolean],default:!1},enter:{type:[String],default:""},enterFrom:{type:[String],default:""},enterTo:{type:[String],default:""},entered:{type:[String],default:""},leave:{type:[String],default:""},leaveFrom:{type:[String],default:""},leaveTo:{type:[String],default:""}},emits:{beforeEnter:()=>!0,afterEnter:()=>!0,beforeLeave:()=>!0,afterLeave:()=>!0},setup(e,{emit:t,attrs:n,slots:r,expose:o}){if(!Bl()&&Wa())return()=>ye(Ys,{...e,onBeforeEnter:()=>t("beforeEnter"),onAfterEnter:()=>t("afterEnter"),onBeforeLeave:()=>t("beforeLeave"),onAfterLeave:()=>t("afterLeave")},r);let s=Q(null),i=Q("visible"),a=q(()=>e.unmount?Ot.Unmount:Ot.Hidden);o({el:s,$el:s});let{show:l,appear:c}=Ml(),{register:u,unregister:m}=Ul(),p={value:!0},x=ct(),g={value:!1},v=Gs(()=>{g.value||(i.value="hidden",m(x),t("afterLeave"))});Te(()=>{let k=u(x);Ke(k)}),ze(()=>{if(a.value===Ot.Hidden&&!!x){if(l&&i.value!=="visible"){i.value="visible";return}lt(i.value,{hidden:()=>m(x),visible:()=>u(x)})}});let T=Dt(e.enter),S=Dt(e.enterFrom),_=Dt(e.enterTo),f=Dt(e.entered),d=Dt(e.leave),b=Dt(e.leaveFrom),w=Dt(e.leaveTo);Te(()=>{ze(()=>{if(i.value==="visible"){let k=Fe(s);if(k instanceof Comment&&k.data==="")throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")}})});function R(k){let M=p.value&&!c.value,U=Fe(s);!U||!(U instanceof HTMLElement)||M||(g.value=!0,l.value&&t("beforeEnter"),l.value||t("beforeLeave"),k(l.value?Mo(U,T,S,_,f,te=>{g.value=!1,te===Tr.Finished&&t("afterEnter")}):Mo(U,d,b,w,f,te=>{g.value=!1,te===Tr.Finished&&(Hn(v)||(i.value="hidden",m(x),t("afterLeave")))})))}return Te(()=>{pt([l],(k,M,U)=>{R(U),p.value=!1},{immediate:!0})}),st(eo,v),Ya(q(()=>lt(i.value,{visible:Bt.Open,hidden:Bt.Closed}))),()=>{let{appear:k,show:M,enter:U,enterFrom:te,enterTo:ue,entered:G,leave:j,leaveFrom:H,leaveTo:K,...V}=e;return Ce({theirProps:V,ourProps:{ref:s},slot:{},slots:r,attrs:n,features:qs,visible:i.value==="visible",name:"TransitionChild"})}}}),jl=Ws,Ys=Se({inheritAttrs:!1,props:{as:{type:[Object,String],default:"div"},show:{type:[Boolean],default:null},unmount:{type:[Boolean],default:!0},appear:{type:[Boolean],default:!1},enter:{type:[String],default:""},enterFrom:{type:[String],default:""},enterTo:{type:[String],default:""},entered:{type:[String],default:""},leave:{type:[String],default:""},leaveFrom:{type:[String],default:""},leaveTo:{type:[String],default:""}},emits:{beforeEnter:()=>
1!0,afterEnter:()=>!0,beforeLeave:()=>!0,afterLeave:()=>!0},setup(e,{emit:t,attrs:n,slots:r}){let o=Ts(),s=q(()=>e.show===null&&o!==null?lt(o.value,{[Bt.Open]:!0,[Bt.Closed]:!1}):e.show);ze(()=>{if(![!0,!1].includes(s.value))throw new Error('A <Transition /> is used but it is missing a `:show="true | false"` prop.')});let i=Q(s.value?"visible":"hidden"),a=Gs(()=>{i.value="hidden"}),l=Q(!0),c={show:s,appear:q(()=>e.appear||!l.value)};return Te(()=>{ze(()=>{l.value=!1,s.value?i.value="visible":Hn(a)||(i.value="hidden")})}),st(eo,a),st(Xr,c),()=>{let u=Mn(e,["show","appear","unmount","onBeforeEnter","onBeforeLeave","onAfterEnter","onAfterLeave"]),m={unmount:e.unmount};return Ce({ourProps:{...m,as:"template"},theirProps:{},slot:{},slots:{...r,default:()=>[ye(jl,{onBeforeEnter:()=>t("beforeEnter"),onAfterEnter:()=>t("afterEnter"),onBeforeLeave:()=>t("beforeLeave"),onAfterLeave:()=>t("afterLeave"),...n,...m,...u},r.default)]},attrs:{},features:qs,visible:i.value==="visible",name:"Transition"})}}});var Ar={exports:{}};(function(e,t){(function(n,r){var o="1.0.32",s="",i="?",a="function",l="undefined",c="object",u="string",m="major",p="model",x="name",g="type",v="vendor",T="version",S="architecture",_="console",f="mobile",d="tablet",b="smarttv",w="wearable",R="embedded",k=350,M="Amazon",U="Apple",te="ASUS",ue="BlackBerry",G="Browser",j="Chrome",H="Edge",K="Firefox",V="Google",ee="Huawei",X="LG",ae="Microsoft",le="Motorola",de="Opera",we="Samsung",Ve="Sharp",Le="Sony",Qe="Xiaomi",Xe="Zebra",et="Facebook",De=function(re,fe){var oe={};for(var ve in re)fe[ve]&&fe[ve].length%2===0?oe[ve]=fe[ve].concat(re[ve]):oe[ve]=re[ve];return oe},Me=function(re){for(var fe={},oe=0;oe<re.length;oe++)fe[re[oe].toUpperCase()]=re[oe];return fe},gt=function(re,fe){return typeof re===u?We(fe).indexOf(We(re))!==-1:!1},We=function(re){return re.toLowerCase()},tr=function(re){return typeof re===u?re.replace(/[^\d\.]/g,s).split(".")[0]:r},Wt=function(re,fe){if(typeof re===u)return re=re.replace(/^\s\s*/,s).replace(/\s\s*$/,s),typeof fe===l?re:re.substring(0,k)},He=function(re,fe){for(var oe=0,ve,ie,Ct,me,vt,Ge;oe<fe.length&&!vt;){var Jt=fe[oe],Kt=fe[oe+1];for(ve=ie=0;ve<Jt.length&&!vt;)if(vt=Jt[ve++].exec(re),vt)for(Ct=0;Ct<Kt.length;Ct++)Ge=vt[++ie],me=Kt[Ct],typeof me===c&&me.length>0?me.length===2?typeof me[1]==a?this[me[0]]=me[1].call(this,Ge):this[me[0]]=me[1]:me.length===3?typeof me[1]===a&&!(me[1].exec&&me[1].test)?this[me[0]]=Ge?me[1].call(this,Ge,me[2]):r:this[me[0]]=Ge?Ge.replace(me[1],me[2]):r:me.length===4&&(this[me[0]]=Ge?me[3].call(this,Ge.replace(me[1],me[2])):r):this[me]=Ge||r;oe+=2}},Yt=function(re,fe){for(var oe in fe)if(typeof fe[oe]===c&&fe[oe].length>0){for(var ve=0;ve<fe[oe].length;ve++)if(gt(fe[oe][ve],re))return oe===i?r:oe}else if(gt(fe[oe],re))return oe===i?r:oe;return re},wn={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},At={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},Ft={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[T,[x,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[T,[x,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[x,T],[/opios[\/ ]+([\w\.]+)/i],[T,[x,de+" Mini"]],[/\bopr\/([\w\.]+)/i],[T,[x,de]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer)[\/ ]?([\w\.]*)/i,/(avant |iemobile|slim)(?:browser)?[\/ ]?([\w\.]*)/i,/(ba?idubrowser)[\/ ]?([\w\.]+)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|quark|qupzilla|falkon|rekonq|puffin|brave|whale|qqbrowserlite|qq|duckduckgo)\/([-\w\.]+)/i,/(weibo)__([\d\.]+)/i],[x,T],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[T,[x,"UC"+G]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i],[T,[x,"WeChat(Win) Desktop"]],[/micromessenger\/([\w\.]+)/i],[T,[x,"WeChat"]],[/konqueror\/([\w\.]+)/i],[T,[x,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[T,[x,"IE"]],[/yabrowser\/([\w\.]+)/i],[T,[x,"Yandex"]],[/(avast|avg)\/([\w\.]+)/i],[[x,/(.+)/,"$1 Secure "+G],T],[/\bfocus\/([\w\.]+)/i],[T,[x,K+" Focus"]],[/\bopt\/([\w\.]+)/i],[T,[x,de+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[T,[x,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[T,[x,"Dolphin"]],[/coast\/([\w\.]+)/i],[T,[x,de+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[T,[x,"MIUI "+G]],[/fxios\/([-\w\.]+)/i],[T,[x,K]],[/\bqihu|(qi?ho?o?|360)browser/i],[[x,"360 "+G]],[/(oculus|samsung|sailfish|huawei)browser\/([\w\.]+)/i],[[x,/(.+)/,"$1 "+G],T],[/(comodo_dragon)\/([\w\.]+)/i],[[x,/_/g," "],T],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|baiduboxapp|2345Explorer)[\/ ]?([\w\.]+)/i],[x,T],[/(metasr)[\/ ]?([\w\.]+)/i,/(lbbrowser)/i,/\[(linkedin)app\]/i],[x],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[x,et],T],[/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(chromium|instagram)[\/ ]([-\w\.]+)/i],[x,T],[/\bgsa\/([\w\.]+) .*safari\//i],[T,[x,"GSA"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[T,[x,j+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[x,j+" WebView"],T],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[T,[x,"Android "+G]],[/(chrome|omniweb|arora|[t
vendor: 9,004 bytes, line 1
1izenoka]{5} ?browser)\/v?([\w\.]+)/i],[x,T],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[T,[x,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[T,x],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[x,[T,Yt,wn]],[/(webkit|khtml)\/([\w\.]+)/i],[x,T],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[x,"Netscape"],T],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[T,[x,K+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror|klar)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|sleipnir|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[x,T]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[S,"amd64"]],[/(ia32(?=;))/i],[[S,We]],[/((?:i[346]|x)86)[;\)]/i],[[S,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[S,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[S,"armhf"]],[/windows (ce|mobile); ppc;/i],[[S,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[S,/ower/,s,We]],[/(sun4\w)[;\)]/i],[[S,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[S,We]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[p,[v,we],[g,d]],[/\b((?:s[cgp]h|gt|sm)-\w+|galaxy nexus)/i,/samsung[- ]([-\w]+)/i,/sec-(sgh\w+)/i],[p,[v,we],[g,f]],[/\((ip(?:hone|od)[\w ]*);/i],[p,[v,U],[g,f]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[p,[v,U],[g,d]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[p,[v,ee],[g,d]],[/(?:huawei|honor)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[p,[v,ee],[g,f]],[/\b(poco[\w ]+)(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite)?)(?: bui|\))/i],[[p,/_/g," "],[v,Qe],[g,f]],[/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[p,/_/g," "],[v,Qe],[g,d]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[p,[v,"OPPO"],[g,f]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[p,[v,"Vivo"],[g,f]],[/\b(rmx[12]\d{3})(?: bui|;|\))/i],[p,[v,"Realme"],[g,f]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[p,[v,le],[g,f]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[p,[v,le],[g,d]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[p,[v,X],[g,d]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[p,[v,X],[g,f]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[p,[v,"Lenovo"],[g,d]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[p,/_/g," "],[v,"Nokia"],[g,f]],[/(pixel c)\b/i],[p,[v,V],[g,d]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[p,[v,V],[g,f]],[/droid.+ (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[p,[v,Le],[g,f]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[p,"Xperia Tablet"],[v,Le],[g,d]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[p,[v,"OnePlus"],[g,f]],[/(alexa)webm/i,/(kf[a-z]{2}wi)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[p,[v,M],[g,d]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[p,/(.+)/g,"Fire Phone $1"],[v,M],[g,f]],[/(playbook);[-\w\),; ]+(rim)/i],[p,v,[g,d]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[p,[v,ue],[g,f]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[p,[v,te],[g,d]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[p,[v,te],[g,f]],[/(nexus 9)/i],[p,[v,"HTC"],[g,d]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic|sony(?!-bra))[-_ ]?([-\w]*)/i],[v,[p,/_/g," "],[g,f]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[p,[v,"Acer"],[g,d]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[p,[v,"Meizu"],[g,f]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[p,[v,Ve],[g,f]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron)[-_ ]?([-\w]*)/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[v,p,[g,f]],[/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[v,p,[g,d]],[/(surface duo)/i],[p,[v,ae],[g,d]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[p,[v,"Fairphone"],[g,f]],[/(u304aa)/i],[p,[v,"AT&T"],[g,f]],[/\bsie-(\w*)/i],[p,[v,"Siemens"],[g,f]],[/\b(rct\w+) b/i],[p,[v,"RCA"],[g,d]],[/\b(venue[\d ]{2,7}) b/i],[p,[v,"Dell"],[g,d]],[/\b(q(?:mv|ta)\w+) b/i],[p,[v,"Verizon"],[g,d]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[p,[v,"Barnes & Noble"],[g,d]],[/\b(tm\d{3}\w+) b/i],[p,[v,"NuVision"],[g,d]],[/\b(k88) b/i],[p,[v,"ZTE"],[g,d]],[/\b(nx\d{3}j) b/i],[p,[v,"ZTE"],[g,f]],[/\b(gen\d{3}) b.+49h/i],[p,[v,"Swiss"],[g,f]],[/\b(zur\d{3}) b/i],[p,[v,"Swiss"],[g,d]],[/\b((zeki)?tb.*\b) b/i],[p,[v,"Zeki"],[g,d]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[v,"Dragon Touch"],p,[g,d]],[/\b(ns-?\w{0,9}) b/i],[p,[v,"Insignia"],[g,d]],[/\b((nxa|next)-?\w{0,9}) b/i],[p,[v,"NextBook"],[g,d]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[v,"Voice"],p,[g,f]],[/\b(lvtel\-)?(v1[12]) b/i],[[v,"LvTel"],p,[g,f]],[/\b(ph-1) /i],[p,[v,"Essential"],[g,f]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[p,[v,"Envizen"],[g,d]],[/\b(trio[-\w\. ]+) b/i],[p,[v,"MachSpeed"],[g,d]],[/\btu_(1491) b/i],[p,[v,"Rotor"],[g,d]],[/(shield[\w ]+) b/i],[p,[v,"Nvidia"],[g,d]],[/(sprint) (\w+)/i],[v,p,[g,f]],[/(kin\.[onetw]{3})/i],[[p,/\./g," "],[v,ae],[g,f]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[p,[v,Xe],[g,d]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[p,[v,Xe],[g,f]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[v,p,[g,_]],[/droid.+; (shield) bui/i],[p,[v,"Nvidia"],[g,_]],[/(playstation [345portablevi]+)/i],[p,[v,Le],[g,_]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[p,[v,ae],[g,_]],[/smart-tv.+(samsung)/i],[v,[g,b]],[/hbbtv.+maple;(\d+)/i],[[p,/^/,"SmartTV"],[v,we],[g,b]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[v,X],[g,b]],[/(apple) ?tv/i],[v,[p,U+" TV"],[g,b]],[/crkey/i],[[p,j+"cast"],[v,V],[g,b]],[/droid.+aft(\w)( bui|\))/i],[p,[v,M],[g,b]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[p,[v,Ve],[g,b]],[/(bravia[\w ]+)( bui|\))/i],[p,[v,Le],[g,b]],[/(mitv-\w{5}) bui/i],[p,[v,Qe],[g,b]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w ]*; *(\w[^;]*);([^;]*)/i],[[v,Wt],[p,Wt],[g,b]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[g,b]],[/((pebble))app/i],[v,p,[g,w]],[/droid.+; (glass) \d/i],[p,[v,V],[g,w]],[/droid.+; (wt63?0{2,3})\)/i],[p,[v,Xe],[g,w]],[/(quest( 2)?)/i],[p,[v,et],[g,w]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[v,[g,R]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+? mobile safari/i],[p,[g,f]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[p,[g,d]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[g,d]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[g,f]],[/(android[-\w\. ]{0,9});.+buil/i],[p,[v,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[T,[x,H+"HTML"]],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[T,[x,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i],[x,T],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[T,x]],os:[[/microsoft (windows) (vista|xp)/i],[x,T],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[x,[T,Yt,At]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[x,"Windows"],[T,Yt,At]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[T,/_/g,"."],[x,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[x,"Mac OS"],[T,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[T,x],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[x,T],[/\(bb(10);/i],[T,[x,ue]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[T,[x,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+);
1 rv:.+ gecko\/([\w\.]+)/i],[T,[x,K+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[T,[x,"webOS"]],[/crkey\/([\d\.]+)/i],[T,[x,j+"cast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[x,"Chromium OS"],T],[/(nintendo|playstation) ([wids345portablevuch]+)/i,/(xbox); +xbox ([^\);]+)/i,/\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i,/(mint)[\/\(\) ]?(\w*)/i,/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[x,T],[/(sunos) ?([\w\.\d]*)/i],[[x,"Solaris"],T],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux)/i,/(unix) ?([\w\.]*)/i],[x,T]]},Ue=function(re,fe){if(typeof re===c&&(fe=re,re=r),!(this instanceof Ue))return new Ue(re,fe).getResult();var oe=re||(typeof n!==l&&n.navigator&&n.navigator.userAgent?n.navigator.userAgent:s),ve=fe?De(Ft,fe):Ft;return this.getBrowser=function(){var ie={};return ie[x]=r,ie[T]=r,He.call(ie,oe,ve.browser),ie.major=tr(ie.version),ie},this.getCPU=function(){var ie={};return ie[S]=r,He.call(ie,oe,ve.cpu),ie},this.getDevice=function(){var ie={};return ie[v]=r,ie[p]=r,ie[g]=r,He.call(ie,oe,ve.device),ie},this.getEngine=function(){var ie={};return ie[x]=r,ie[T]=r,He.call(ie,oe,ve.engine),ie},this.getOS=function(){var ie={};return ie[x]=r,ie[T]=r,He.call(ie,oe,ve.os),ie},this.getResult=function(){return{ua:this.getUA(),browser:this.getBrowser(),engine:this.getEngine(),os:this.getOS(),device:this.getDevice(),cpu:this.getCPU()}},this.getUA=function(){return oe},this.setUA=function(ie){return oe=typeof ie===u&&ie.length>k?Wt(ie,k):ie,this},this.setUA(oe),this};Ue.VERSION=o,Ue.BROWSER=Me([x,T,m]),Ue.CPU=Me([S]),Ue.DEVICE=Me([p,v,g,_,f,b,d,w,R]),Ue.ENGINE=Ue.OS=Me([x,T]),e.exports&&(t=e.exports=Ue),t.UAParser=Ue;var it=typeof n!==l&&(n.jQuery||n.Zepto);if(it&&!it.ua){var It=new Ue;it.ua=It.getResult(),it.ua.get=function(){return It.getUA()},it.ua.set=function(re){It.setUA(re);var fe=It.getResult();for(var oe in fe)it.ua[oe]=fe[oe]}}})(typeof window=="object"?window:Je)})(Ar,Ar.exports);var Hl=Ar.exports;const zn=typeof window!="undefined"?new Hl().getResult():{browser:{},os:{},ua:""};var _s;const Ae=(((_s=zn.browser)==null?void 0:_s.name)||"").toLowerCase();var Ss;const zl=(((Ss=zn.os)==null?void 0:Ss.name)||"").toLowerCase(),Vl=Ae!=="mobile safari"&&zl==="ios"||Ae==="ie"||Ae==="iemobile"||Ae==="qq"||Ae==="wechat"||Ae==="weibo"||Ae==="baidu"||Ae==="baiduboxapp"||Ae==="ucbrowser"||Ae==="qqbrowser"||Ae==="qqbrowserlite"||Ae==="quark"||Ae==="maxthon"||Ae==="line"||Ae==="facebook"||Ae==="instagram"||Ae==="android browser"||Ae==="chrome webview"||Ae==="webkit"||/(weibo|webview)/i.test(zn.ua||""),ne=zn,Gl=Vl;var Js={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Je,function(){var n=1e3,r=6e4,o=36e5,s="millisecond",i="second",a="minute",l="hour",c="day",u="week",m="month",p="quarter",x="year",g="date",v="Invalid Date",T=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,S=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,_={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(G){var j=["th","st","nd","rd"],H=G%100;return"["+G+(j[(H-20)%10]||j[H]||j[0])+"]"}},f=function(G,j,H){var K=String(G);return!K||K.length>=j?G:""+Array(j+1-K.length).join(H)+G},d={s:f,z:function(G){var j=-G.utcOffset(),H=Math.abs(j),K=Math.floor(H/60),V=H%60;return(j<=0?"+":"-")+f(K,2,"0")+":"+f(V,2,"0")},m:function G(j,H){if(j.date()<H.date())return-G(H,j);var K=12*(H.year()-j.year())+(H.month()-j.month()),V=j.clone().add(K,m),ee=H-V<0,X=j.clone().add(K+(ee?-1:1),m);return+(-(K+(H-V)/(ee?V-X:X-V))||0)},a:function(G){return G<0?Math.ceil(G)||0:Math.floor(G)},p:function(G){return{M:m,y:x,w:u,d:c,D:g,h:l,m:a,s:i,ms:s,Q:p}[G]||String(G||"").toLowerCase().replace(/s$/,"")},u:function(G){return G===void 0}},b="en",w={};w[b]=_;var R=function(G){return G instanceof te},k=function G(j,H,K){var V;if(!j)return b;if(typeof j=="string"){var ee=j.toLowerCase();w[ee]&&(V=ee),H&&(w[ee]=H,V=ee);var X=j.split("-");if(!V&&X.length>1)return G(X[0])}else{var ae=j.name;w[ae]=j,V=ae}return!K&&V&&(b=V),V||!K&&b},M=function(G,j){if(R(G))return G.clone();var H=typeof j=="object"?j:{};return H.date=G,H.args=arguments,new te(H)},U=d;U.l=k,U.i=R,U.w=function(G,j){return M(G,{locale:j.$L,utc:j.$u,x:j.$x,$offset:j.$offset})};var te=function(){function G(H){this.$L=k(H.locale,null,!0),this.parse(H)}var j=G.prototype;return j.parse=function(H){this.$d=function(K){var V=K.date,ee=K.utc;if(V===null)return new Date(NaN);if(U.u(V))return new Date;if(V instanceof Date)return new Date(V);if(typeof V=="string"&&!/Z$/i.test(V)){var X=V.match(T);if(X){var ae=X[2]-1||0,le=(X[7]||"0").substring(0,3);return ee?new Date(Date.UTC(X[1],ae,X[3]||1,X[4]||0,X[5]||0,X[6]||0,le)):new Date(X[1],ae,X[3]||1,X[4]||0,X[5]||0,X[6]||0,le)}}return new Date(V)}(H),this.$x=H.x||{},this.init()},j.init=function(){var H=this.$d;this.$y=H.getFullYear(),this.$M=H.getMonth(),this.$D=H.getDate(),this.$W=H.getDay(),this.$H=H.getHours(),this.$m=H.getMinutes(),this.$s=H.getSeconds(),this.$ms=H.getMilliseconds()},j.$utils=function(){return U},j.isValid=function(){return this.$d.toString()!==v},j.isSame=function(H,K){var V=M(H);return this.startOf(K)<=V&&V<=this.endOf(K)}
1,j.isAfter=function(H,K){return M(H)<this.startOf(K)},j.isBefore=function(H,K){return this.endOf(K)<M(H)},j.$g=function(H,K,V){return U.u(H)?this[K]:this.set(V,H)},j.unix=function(){return Math.floor(this.valueOf()/1e3)},j.valueOf=function(){return this.$d.getTime()},j.startOf=function(H,K){var V=this,ee=!!U.u(K)||K,X=U.p(H),ae=function(et,De){var Me=U.w(V.$u?Date.UTC(V.$y,De,et):new Date(V.$y,De,et),V);return ee?Me:Me.endOf(c)},le=function(et,De){return U.w(V.toDate()[et].apply(V.toDate("s"),(ee?[0,0,0,0]:[23,59,59,999]).slice(De)),V)},de=this.$W,we=this.$M,Ve=this.$D,Le="set"+(this.$u?"UTC":"");switch(X){case x:return ee?ae(1,0):ae(31,11);case m:return ee?ae(1,we):ae(0,we+1);case u:var Qe=this.$locale().weekStart||0,Xe=(de<Qe?de+7:de)-Qe;return ae(ee?Ve-Xe:Ve+(6-Xe),we);case c:case g:return le(Le+"Hours",0);case l:return le(Le+"Minutes",1);case a:return le(Le+"Seconds",2);case i:return le(Le+"Milliseconds",3);default:return this.clone()}},j.endOf=function(H){return this.startOf(H,!1)},j.$set=function(H,K){var V,ee=U.p(H),X="set"+(this.$u?"UTC":""),ae=(V={},V[c]=X+"Date",V[g]=X+"Date",V[m]=X+"Month",V[x]=X+"FullYear",V[l]=X+"Hours",V[a]=X+"Minutes",V[i]=X+"Seconds",V[s]=X+"Milliseconds",V)[ee],le=ee===c?this.$D+(K-this.$W):K;if(ee===m||ee===x){var de=this.clone().set(g,1);de.$d[ae](le),de.init(),this.$d=de.set(g,Math.min(this.$D,de.daysInMonth())).$d}else ae&&this.$d[ae](le);return this.init(),this},j.set=function(H,K){return this.clone().$set(H,K)},j.get=function(H){return this[U.p(H)]()},j.add=function(H,K){var V,ee=this;H=Number(H);var X=U.p(K),ae=function(we){var Ve=M(ee);return U.w(Ve.date(Ve.date()+Math.round(we*H)),ee)};if(X===m)return this.set(m,this.$M+H);if(X===x)return this.set(x,this.$y+H);if(X===c)return ae(1);if(X===u)return ae(7);var le=(V={},V[a]=r,V[l]=o,V[i]=n,V)[X]||1,de=this.$d.getTime()+H*le;return U.w(de,this)},j.subtract=function(H,K){return this.add(-1*H,K)},j.format=function(H){var K=this,V=this.$locale();if(!this.isValid())return V.invalidDate||v;var ee=H||"YYYY-MM-DDTHH:mm:ssZ",X=U.z(this),ae=this.$H,le=this.$m,de=this.$M,we=V.weekdays,Ve=V.months,Le=function(De,Me,gt,We){return De&&(De[Me]||De(K,ee))||gt[Me].slice(0,We)},Qe=function(De){return U.s(ae%12||12,De,"0")},Xe=V.meridiem||function(De,Me,gt){var We=De<12?"AM":"PM";return gt?We.toLowerCase():We},et={YY:String(this.$y).slice(-2),YYYY:this.$y,M:de+1,MM:U.s(de+1,2,"0"),MMM:Le(V.monthsShort,de,Ve,3),MMMM:Le(Ve,de),D:this.$D,DD:U.s(this.$D,2,"0"),d:String(this.$W),dd:Le(V.weekdaysMin,this.$W,we,2),ddd:Le(V.weekdaysShort,this.$W,we,3),dddd:we[this.$W],H:String(ae),HH:U.s(ae,2,"0"),h:Qe(1),hh:Qe(2),a:Xe(ae,le,!0),A:Xe(ae,le,!1),m:String(le),mm:U.s(le,2,"0"),s:String(this.$s),ss:U.s(this.$s,2,"0"),SSS:U.s(this.$ms,3,"0"),Z:X};return ee.replace(S,function(De,Me){return Me||et[De]||X.replace(":","")})},j.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},j.diff=function(H,K,V){var ee,X=U.p(K),ae=M(H),le=(ae.utcOffset()-this.utcOffset())*r,de=this-ae,we=U.m(this,ae);return we=(ee={},ee[x]=we/12,ee[m]=we,ee[p]=we/3,ee[u]=(de-le)/6048e5,ee[c]=(de-le)/864e5,ee[l]=de/o,ee[a]=de/r,ee[i]=de/n,ee)[X]||de,V?we:U.a(we)},j.daysInMonth=function(){return this.endOf(m).$D},j.$locale=function(){return w[this.$L]},j.locale=function(H,K){if(!H)return this.$L;var V=this.clone(),ee=k(H,K,!0);return ee&&(V.$L=ee),V},j.clone=function(){return U.w(this.$d,this)},j.toDate=function(){return new Date(this.valueOf())},j.toJSON=function(){return this.isValid()?this.toISOString():null},j.toISOString=function(){return this.$d.toISOString()},j.toString=function(){return this.$d.toUTCString()},G}(),ue=te.prototype;return M.prototype=ue,[["$ms",s],["$s",i],["$m",a],["$H",l],["$W",c],["$M",m],["$y",x],["$D",g]].forEach(function(G){ue[G[1]]=function(j){return this.$g(j,G[0],G[1])}}),M.extend=function(G,j){return G.$i||(G(j,te,M),G.$i=!0),M},M.locale=k,M.isDayjs=R,M.unix=function(G){return M(1e3*G)},M.en=w[b],M.Ls=w,M.p={},M})})(Js);var Ir=Js.exports,Ks={exports:{}};(function(e,t){(function(n,r){e.exports=r()})(Je,function(){var n="minute",r=/[+-]\d\d(?::?\d\d)?/g,o=/([+-]|\d\d)/g;return function(s,i,a){var l=i.prototype;a.utc=function(v){var T={date:v,utc:!0,args:arguments};return new i(T)},l.utc=function(v){var T=a(this.toDate(),{locale:this.$L,utc:!0});return v?T.add(this.utcOffset(),n):T},l.local=function(){return a(this.toDate(),{locale:this.$L,utc:!1})};var c=l.parse;l.parse=function(v){v.utc&&(this.$u=!0),this.$utils().u(v.$offset)||(this.$offset=v.$offset),c.call(this,v)};var u=l.init;l.init=function(){if(this.$u){var v=this.$d;this.$y=v.getUTCFullYear(),this.$M=v.getUTCMonth(),this.$D=v.getUTCDate(),this.$W=v.getUTCDay(),this.$H=v.getUTCHours(),this.$m=v.getUTCMinutes(),this.$s=v.getUTCSeconds(),this.$ms=v.getUTCMilliseconds()}else u.call(this)};var m=l.utcOffset;l.utcOffset=function(v,T){var S=this.$utils().u;if(S(v))return this.$u?0:S(this.$offset)?m.call(this):this.$offset;if(typeof v=="string"&&(v=function(b){b===void 0&&(b="");var w=b.match(r);if(!w)return null;var R=(""+w[0]).match(o)||["-",0,0],k=R[0],M=60*+R[1]+ +R[2];return M===0?0:k==="+"?M:-M}(v),v===null))return this;var _=Math.abs(v)<=16?60*v:v,f=this;if(T)return f.$offset=_,f.$u=v===0,f;if(v!==0){var d=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(f=this.local().add(_+d,n)).$offset=_,f.$x.$localOffset=d}else f=this.utc();return f};var p=l.format;l.format=function(v){var T=v||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return p.call(this,T)},l.valueOf=function(){var v=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*v},l.isUTC=function(){return!!this.$u},l.toISOString=function(){return this.toDate().toISOString()},l.toString=function(){return this.toDate().toUTCString()};var x=l.toDate;l.toDate=function(v){return v==="s"&&this.$offset?a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():x.call(this)};var g=l.diff;l.diff=function(v,T,S){if(v&&this.$u===v.$u)return g.call(this,v,T,S);var _=this.local(),f=a(v).local();return g.call(_,f,T,S)}}})})(Ks);var ql=Ks.exports;Ir.extend(ql);function fr(e){const t="YYYY/MM/DD_HH:mm:ss";return e&&Number.isInteger(e)?Ir.utc(e).format(t):Ir.utc().format(t)}class Wl{constructor(t,n){this.capacity=t,this.tokens=t,setInterval(()=>this.addToken(),1e3/n)}addToken(){this.tokens<this.capacity&&this.tokens++}take(){return this.tokens>0?(this.tokens--,!0):!1}}function Zs(e,t){return function(){return e.apply(t,arguments)}}const{toString:Qs}=Object.prototype,{getPrototypeOf:to}=Object,no=(e=>t=>{const n=Qs.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),mt=e=>(e=e.toLowerCase(),t=>no(t)===e),Vn=e=>t=>typeof t===e,{isArray:qt}=Array,cn=Vn("undefined");function Yl(e){return e!==null&&!cn(e)&&e.constructor!==null&&!cn(e.constructor)&&Rt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Xs=mt("ArrayBuffer");function Jl(e){let t;return typeof ArrayBuffer!="undefined"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&Xs(e.buffer),t}
vendor: 3,733 bytes, line 1
1const Kl=Vn("string"),Rt=Vn("function"),ei=Vn("number"),ro=e=>e!==null&&typeof e=="object",Zl=e=>e===!0||e===!1,In=e=>{if(no(e)!=="object")return!1;const t=to(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},Ql=mt("Date"),Xl=mt("File"),ec=mt("Blob"),tc=mt("FileList"),nc=e=>ro(e)&&Rt(e.pipe),rc=e=>{const t="[object FormData]";return e&&(typeof FormData=="function"&&e instanceof FormData||Qs.call(e)===t||Rt(e.toString)&&e.toString()===t)},oc=mt("URLSearchParams"),sc=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function mn(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e=="undefined")return;let r,o;if(typeof e!="object"&&(e=[e]),qt(e))for(r=0,o=e.length;r<o;r++)t.call(null,e[r],r,e);else{const s=n?Object.getOwnPropertyNames(e):Object.keys(e),i=s.length;let a;for(r=0;r<i;r++)a=s[r],t.call(null,e[a],a,e)}}function ti(e,t){t=t.toLowerCase();const n=Object.keys(e);let r=n.length,o;for(;r-- >0;)if(o=n[r],t===o.toLowerCase())return o;return null}const ni=typeof self=="undefined"?typeof global=="undefined"?globalThis:global:self,ri=e=>!cn(e)&&e!==ni;function Cr(){const{caseless:e}=ri(this)&&this||{},t={},n=(r,o)=>{const s=e&&ti(t,o)||o;In(t[s])&&In(r)?t[s]=Cr(t[s],r):In(r)?t[s]=Cr({},r):qt(r)?t[s]=r.slice():t[s]=r};for(let r=0,o=arguments.length;r<o;r++)arguments[r]&&mn(arguments[r],n);return t}const ic=(e,t,n,{allOwnKeys:r}={})=>(mn(t,(o,s)=>{n&&Rt(o)?e[s]=Zs(o,n):e[s]=o},{allOwnKeys:r}),e),ac=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),lc=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},cc=(e,t,n,r)=>{let o,s,i;const a={};if(t=t||{},e==null)return t;do{for(o=Object.getOwnPropertyNames(e),s=o.length;s-- >0;)i=o[s],(!r||r(i,e,t))&&!a[i]&&(t[i]=e[i],a[i]=!0);e=n!==!1&&to(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},uc=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},fc=e=>{if(!e)return null;if(qt(e))return e;let t=e.length;if(!ei(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},dc=(e=>t=>e&&t instanceof e)(typeof Uint8Array!="undefined"&&to(Uint8Array)),hc=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let o;for(;(o=r.next())&&!o.done;){const s=o.value;t.call(e,s[0],s[1])}},pc=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},mc=mt("HTMLFormElement"),gc=e=>e.toLowerCase().replace(/[_-\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),Uo=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),vc=mt("RegExp"),oi=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};mn(n,(o,s)=>{t(o,s,e)!==!1&&(r[s]=o)}),Object.defineProperties(e,r)},bc=e=>{oi(e,(t,n)=>{if(Rt(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(!!Rt(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},wc=(e,t)=>{const n={},r=o=>{o.forEach(s=>{n[s]=!0})};return qt(e)?r(e):r(String(e).split(t)),n},yc=()=>{},xc=(e,t)=>(e=+e,Number.isFinite(e)?e:t),_c=e=>{const t=new Array(10),n=(r,o)=>{if(ro(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[o]=r;const s=qt(r)?[]:{};return mn(r,(i,a)=>{const l=n(i,o+1);!cn(l)&&(s[a]=l)}),t[o]=void 0,s}}return r};return n(e,0)};var N={isArray:qt,isArrayBuffer:Xs,isBuffer:Yl,isFormData:rc,isArrayBufferView:Jl,isString:Kl,isNumber:ei,isBoolean:Zl,isObject:ro,isPlainObject:In,isUndefined:cn,isDate:Ql,isFile:Xl,isBlob:ec,isRegExp:vc,isFunction:Rt,isStream:nc,isURLSearchParams:oc,isTypedArray:dc,isFileList:tc,forEac
vendor: 4,623 bytes, line 1
1h:mn,merge:Cr,extend:ic,trim:sc,stripBOM:ac,inherits:lc,toFlatObject:cc,kindOf:no,kindOfTest:mt,endsWith:uc,toArray:fc,forEachEntry:hc,matchAll:pc,isHTMLForm:mc,hasOwnProperty:Uo,hasOwnProp:Uo,reduceDescriptors:oi,freezeMethods:bc,toObjectSet:wc,toCamelCase:gc,noop:yc,toFiniteNumber:xc,findKey:ti,global:ni,isContextDefined:ri,toJSONObject:_c};function ce(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}N.inherits(ce,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:N.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const si=ce.prototype,ii={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{ii[e]={value:e}});Object.defineProperties(ce,ii);Object.defineProperty(si,"isAxiosError",{value:!0});ce.from=(e,t,n,r,o,s)=>{const i=Object.create(si);return N.toFlatObject(e,i,function(l){return l!==Error.prototype},a=>a!=="isAxiosError"),ce.call(i,e.message,t,n,r,o),i.cause=e,i.name=e.name,s&&Object.assign(i,s),i};var Sc=typeof self=="object"?self.FormData:window.FormData,Ec=Sc;function Dr(e){return N.isPlainObject(e)||N.isArray(e)}function ai(e){return N.endsWith(e,"[]")?e.slice(0,-2):e}function jo(e,t,n){return e?e.concat(t).map(function(o,s){return o=ai(o),!n&&s?"["+o+"]":o}).join(n?".":""):t}function Tc(e){return N.isArray(e)&&!e.some(Dr)}const Ac=N.toFlatObject(N,{},null,function(t){return/^is[A-Z]/.test(t)});function Ic(e){return e&&N.isFunction(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator]}function Gn(e,t,n){if(!N.isObject(e))throw new TypeError("target must be an object");t=t||new(Ec||FormData),n=N.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(v,T){return!N.isUndefined(T[v])});const r=n.metaTokens,o=n.visitor||u,s=n.dots,i=n.indexes,l=(n.Blob||typeof Blob!="undefined"&&Blob)&&Ic(t);if(!N.isFunction(o))throw new TypeError("visitor must be a function");function c(g){if(g===null)return"";if(N.isDate(g))return g.toISOString();if(!l&&N.isBlob(g))throw new ce("Blob is not supported. Use a Buffer instead.");return N.isArrayBuffer(g)||N.isTypedArray(g)?l&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function u(g,v,T){let S=g;if(g&&!T&&typeof g=="object"){if(N.endsWith(v,"{}"))v=r?v:v.slice(0,-2),g=JSON.stringify(g);else if(N.isArray(g)&&Tc(g)||N.isFileList(g)||N.endsWith(v,"[]")&&(S=N.toArray(g)))return v=ai(v),S.forEach(function(f,d){!(N.isUndefined(f)||f===null)&&t.append(i===!0?jo([v],d,s):i===null?v:v+"[]",c(f))}),!1}return Dr(g)?!0:(t.append(jo(T,v,s),c(g)),!1)}const m=[],p=Object.assign(Ac,{defaultVisitor:u,convertValue:c,isVisitable:Dr});function x(g,v){if(!N.isUndefined(g)){if(m.indexOf(g)!==-1)throw Error("Circular reference detected in "+v.join("."));m.push(g),N.forEach(g,function(S,_){(!(N.isUndefined(S)||S===null)&&o.call(t,S,N.isString(_)?_.trim():_,v,p))===!0&&x(S,v?v.concat(_):[_])}),m.pop()}}if(!N.isObject(e))throw new TypeError("data must be an object");return x(e),t}function Ho(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function oo(e,t){this._pairs=[],e&&Gn(e,this,t)}const li=oo.prototype;li.append=function(t,n){this._pairs.push([t,n])};li.toString=function(t){const n=t?function(r){return t.call(this,r,Ho)}:Ho;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function Cc(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ci(e,t,n){if(!t)return e;const r=n&&n.encode||Cc,o=n&&n.serialize;let s;if(o?s=o(t,n):s=N.isURLSearchParams(t)?t.toString():new oo(t,n).toString(r),s){const i=e.indexOf("#");i!==-1&&(e=e.slice(0,i)),e+=(e.indexOf("?")===-1?"?":"&")+s}return e}class Dc{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}
1forEach(t){N.forEach(this.handlers,function(r){r!==null&&t(r)})}}var zo=Dc,ui={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},Oc=typeof URLSearchParams!="undefined"?URLSearchParams:oo,Rc=FormData;const $c=(()=>{let e;return typeof navigator!="undefined"&&((e=navigator.product)==="ReactNative"||e==="NativeScript"||e==="NS")?!1:typeof window!="undefined"&&typeof document!="undefined"})();var dt={isBrowser:!0,classes:{URLSearchParams:Oc,FormData:Rc,Blob},isStandardBrowserEnv:$c,protocols:["http","https","file","blob","url","data"]};function Nc(e,t){return Gn(e,new dt.classes.URLSearchParams,Object.assign({visitor:function(n,r,o,s){return dt.isNode&&N.isBuffer(n)?(this.append(r,n.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},t))}function Fc(e){return N.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function Pc(e){const t={},n=Object.keys(e);let r;const o=n.length;let s;for(r=0;r<o;r++)s=n[r],t[s]=e[s];return t}function fi(e){function t(n,r,o,s){let i=n[s++];const a=Number.isFinite(+i),l=s>=n.length;return i=!i&&N.isArray(o)?o.length:i,l?(N.hasOwnProp(o,i)?o[i]=[o[i],r]:o[i]=r,!a):((!o[i]||!N.isObject(o[i]))&&(o[i]=[]),t(n,r,o[i],s)&&N.isArray(o[i])&&(o[i]=Pc(o[i])),!a)}if(N.isFormData(e)&&N.isFunction(e.entries)){const n={};return N.forEachEntry(e,(r,o)=>{t(Fc(r),o,n,0)}),n}return null}const kc={"Content-Type":void 0};function Lc(e,t,n){if(N.isString(e))try{return(t||JSON.parse)(e),N.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(e)}const qn={transitional:ui,adapter:["xhr","http"],transformRequest:[function(t,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,s=N.isObject(t);if(s&&N.isHTMLForm(t)&&(t=new FormData(t)),N.isFormData(t))return o&&o?JSON.stringify(fi(t)):t;if(N.isArrayBuffer(t)||N.isBuffer(t)||N.isStream(t)||N.isFile(t)||N.isBlob(t))return t;if(N.isArrayBufferView(t))return t.buffer;if(N.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(s){if(r.indexOf("application/x-www-form-urlencoded")>-1)return Nc(t,this.formSerializer).toString();if((a=N.isFileList(t))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return Gn(a?{"files[]":t}:t,l&&new l,this.formSerializer)}}return s||o?(n.setContentType("application/json",!1),Lc(t)):t}],transformResponse:[function(t){const n=this.transitional||qn.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(t&&N.isString(t)&&(r&&!this.responseType||o)){const i=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(a){if(i)throw a.name==="SyntaxError"?ce.from(a,ce.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:dt.classes.FormData,Blob:dt.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};N.forEach(["delete","get","head"],function(t){qn.headers[t]={}});N.forEach(["post","put","patch"],function(t){qn.headers[t]=N.merge(kc)});var so=qn;const Bc=N.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var Mc=e=>{const t={};let n,r,o;return e&&e.split(` 2`).forEach(function(i){o=i.indexOf(":"),n=i.substring(0,o).trim().toLowerCase(),r=i.substring(o+1).trim(),!(!n||t[n]&&Bc[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t};const Vo=Symbol("internals");function en(e){return e&&String(e).trim().toLowerCase()}function Cn(e){return e===!1||e==null?e:N.isArray(e)?e.map(Cn):String(e)}function Uc(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}function jc(e){return/^[-_a-zA-Z]+$/.test(e.trim())}function Go(e,t,n,r){if(N.isFunction(r))return r.call(this,t,n);if(!!N.isString(t)){if(N.isString(r))return t.indexOf(r)!==-1;if(N.isRegExp(r))return r.test(t)}}function Hc(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function zc(e,t){const n=N.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(o,s,i){return this[r].call(this,t,o,s,i)},configurable:!0})})}
vendor: 10,995 bytes, lines 2-3
2class Wn{constructor(t){t&&this.set(t)}set(t,n,r){const o=this;function s(a,l,c){const u=en(l);if(!u)throw new Error("header name must be a non-empty string");const m=N.findKey(o,u);(!m||o[m]===void 0||c===!0||c===void 0&&o[m]!==!1)&&(o[m||l]=Cn(a))}const i=(a,l)=>N.forEach(a,(c,u)=>s(c,u,l));return N.isPlainObject(t)||t instanceof this.constructor?i(t,n):N.isString(t)&&(t=t.trim())&&!jc(t)?i(Mc(t),n):t!=null&&s(n,t,r),this}get(t,n){if(t=en(t),t){const r=N.findKey(this,t);if(r){const o=this[r];if(!n)return o;if(n===!0)return Uc(o);if(N.isFunction(n))return n.call(this,o,r);if(N.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=en(t),t){const r=N.findKey(this,t);return!!(r&&(!n||Go(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let o=!1;function s(i){if(i=en(i),i){const a=N.findKey(r,i);a&&(!n||Go(r,r[a],a,n))&&(delete r[a],o=!0)}}return N.isArray(t)?t.forEach(s):s(t),o}clear(){return Object.keys(this).forEach(this.delete.bind(this))}normalize(t){const n=this,r={};return N.forEach(this,(o,s)=>{const i=N.findKey(r,s);if(i){n[i]=Cn(o),delete n[s];return}const a=t?Hc(s):String(s).trim();a!==s&&delete n[s],n[a]=Cn(o),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return N.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=t&&N.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` 3`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(o=>r.set(o)),r}static accessor(t){const r=(this[Vo]=this[Vo]={accessors:{}}).accessors,o=this.prototype;function s(i){const a=en(i);r[a]||(zc(o,i),r[a]=!0)}return N.isArray(t)?t.forEach(s):s(t),this}}Wn.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent"]);N.freezeMethods(Wn.prototype);N.freezeMethods(Wn);var ht=Wn;function dr(e,t){const n=this||so,r=t||n,o=ht.from(r.headers);let s=r.data;return N.forEach(e,function(a){s=a.call(n,s,o.normalize(),t?t.status:void 0)}),o.normalize(),s}function di(e){return!!(e&&e.__CANCEL__)}function gn(e,t,n){ce.call(this,e==null?"canceled":e,ce.ERR_CANCELED,t,n),this.name="CanceledError"}N.inherits(gn,ce,{__CANCEL__:!0});var Vc=null;function Gc(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new ce("Request failed with status code "+n.status,[ce.ERR_BAD_REQUEST,ce.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}var qc=dt.isStandardBrowserEnv?function(){return{write:function(n,r,o,s,i,a){const l=[];l.push(n+"="+encodeURIComponent(r)),N.isNumber(o)&&l.push("expires="+new Date(o).toGMTString()),N.isString(s)&&l.push("path="+s),N.isString(i)&&l.push("domain="+i),a===!0&&l.push("secure"),document.cookie=l.join("; ")},read:function(n){const r=document.cookie.match(new RegExp("(^|;\\s*)("+n+")=([^;]*)"));return r?decodeURIComponent(r[3]):null},remove:function(n){this.write(n,"",Date.now()-864e5)}}}():function(){return{write:function(){},read:function(){return null},remove:function(){}}}();function Wc(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function Yc(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}function hi(e,t){return e&&!Wc(t)?Yc(e,t):t}var Jc=dt.isStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");let r;function o(s){let i=s;return t&&(n.setAttribute("href",i),i=n.href),n.setAttribute("href",i),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:n.pathname.charAt(0)==="/"?n.pathname:"/"+n.pathname}}return r=o(window.location.href),function(i){const a=N.isString(i)?o(i):i;return a.protocol===r.protocol&&a.host===r.host}}():function(){return function(){return!0}}();function Kc(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function Zc(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o=0,s=0,i;return t=t!==void 0?t:1e3,function(l){const c=Date.now(),u=r[s];i||(i=c),n[o]=l,r[o]=c;let m=s,p=0;for(;m!==o;)p+=n[m++],m=m%e;if(o=(o+1)%e,o===s&&(s=(s+1)%e),c-i<t)return;const x=u&&c-u;return x?Math.round(p*1e3/x):void 0}}function qo(e,t){let n=0;const r=Zc(50,250);return o=>{const s=o.loaded,i=o.lengthComputable?o.total:void 0,a=s-n,l=r(a),c=s<=i;n=s;const u={loaded:s,total:i,progress:i?s/i:void 0,bytes:a,rate:l||void 0,estimated:l&&i&&c?(i-s)/l:void 0,event:o};u[t?"download":"upload"]=!0,e(u)}}const Qc=typeof XMLHttpRequest!="undefined";var Xc=Qc&&function(e){return new Promise(function(n,r){let o=e.data;const s=ht.from(e.headers).normalize(),i=e.responseType;let a;function l(){e.cancelToken&&e.cancelToken.unsubscribe(a),e.signal&&e.signal.removeEventListener("abort",a)}N.isFormData(o)&&dt.isStandardBrowserEnv&&s.setContentType(!1);let c=new XMLHttpRequest;if(e.auth){const x=e.auth.username||"",g=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";s.set("Authorization","Basic "+btoa(x+":"+g))}const u=hi(e.baseURL,e.url);c.open(e.method.toUpperCase(),ci(u,e.params,e.paramsSerializer),!0),c.timeout=e.timeout;function m(){if(!c)return;const x=ht.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders()),v={data:!i||i==="text"||i==="json"?c.responseText:c.response,status:c.status,statusText:c.statusText,headers:x,config:e,request:c};Gc(function(S){n(S),l()},function(S){r(S),l()},v),c=null}if("onloadend"in c?c.onloadend=m:c.onreadystatechange=function(){!c||c.readyState!==4||c.status===0&&!(c.responseURL&&c.responseURL.indexOf("file:")===0)||setTimeout(m)},c.onabort=function(){!c||(r(new ce("Request aborted",ce.ECONNABORTED,e,c)),c=null)},c.onerror=function(){r(new ce("Network Error",ce.ERR_NETWORK,e,c)),c=null},c.ontimeout=function(){let g=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded";const v=e.transitional||ui;e.timeoutErrorMessage&&(g=e.timeoutErrorMessage),r(new ce(g,v.clarifyTimeoutError?ce.ETIMEDOUT:ce.ECONNABORTED,e,c)),c=null},dt.isStandardBrowserEnv){const x=(e.withCredentials||Jc(u))&&e.xsrfCookieName&&qc.read(e.xsrfCookieName);x&&s.set(e.xsrfHeaderName,x)}o===void 0&&s.setContentType(null),"setRequestHeader"in c&&N.forEach(s.toJSON(),function(g,v){c.setRequestHeader(v,g)}),N.isUndefined(e.withCredentials)||(c.withCredentials=!!e.withCredentials),i&&i!=="json"&&(c.responseType=e.responseType),typeof e.onDownloadProgress=="function"&&c.addEventListener("progress",qo(e.onDownloadProgress,!0)),typeof e.onUploadProgress=="function"&&c.upload&&c.upload.addEventListener("progress",qo(e.onUploadProgress)),(e.cancelToken||e.signal)&&(a=x=>{!c||(r(!x||x.type?new gn(null,e,c):x),c.abort(),c=null)},e.cancelToken&&e.cancelToken.subscribe(a),e.signal&&(e.signal.aborted?a():e.signal.addEventListener("abort",a)));const p=Kc(u);if(p&&dt.protocols.indexOf(p)===-1){r(new ce("Unsupported protocol "+p+":",ce.ERR_BAD_REQUEST,e));return}c.send(o||null)})};const Dn={http:Vc,xhr:Xc};N.forEach(Dn,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});var eu={getAdapter:e=>{e=N.isArray(e)?e:[e];const{length:t}=e;let n,r;for(let o=0;o<t&&(n=e[o],!(r=N.isString(n)?Dn[n.toLowerCase()]:n));o++);if(!r)throw r===!1?new ce(`Adapter ${n} is not supported by the environment`,"ERR_NOT_SUPPORT"):new Error(N.hasOwnProp(Dn,n)?`Adapter '${n}' is not available in the build`:`Unknown adapter '${n}'`);if(!N.isFunction(r))throw new TypeError("adapter is not a function");return r},adapters:Dn};function hr(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new gn}function Wo(e){return hr(e),e.headers=ht.from(e.headers),e.data=dr.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),eu.getAdapter(e.adapter||so.adapter)(e).then(function(r){return hr(e),r.data=dr.call(e,e.transformResponse,r),r.headers=ht.from(r.headers),r},function(r){return di(r)||(hr(e),r&&r.response&&(r.response.data=dr.call(e,e.transformResponse,r.response),r.response.headers=ht.from(r.response.headers))),Promise.reject(r)})}const Yo=e=>e instanceof ht?e.toJSON():e;function un(e,t){t=t||{};const n={};function r(c,u,m){return N.isPlainObject(c)&&N.isPlainObject(u)?N.merge.call({caseless:m},c,u):N.isPlainObject(u)?N.merge({},u):N.isArray(u)?u.slice():u}function o(c,u,m){if(N.isUndefined(u)){if(!N.isUndefined(c))return r(void 0,c,m)}else return r(c,u,m)}function s(c,u){if(!N.isUndefined(u))return r(void 0,u)}function i(c,u){if(N.isUndefined(u)){if(!N.isUndefined(c))return r(void 0,c)}else return r(void 0,u)}function a(c,u,m){if(m in t)return r(c,u);if(m in e)return r(void 0,c)}const l={url:s,method:s,data:s,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:a,headers:(c,u)=>o(Yo(c),Yo(u),!0)};return N.forEach(Object.keys(e).concat(Object.keys(t)),function(u){const m=l[u]||o,p=m(e[u],t[u],u);N.isUndefined(p)&&m!==a||(n[u]=p)}),n}const pi="1.2.0",io={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{io[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Jo={};io.transitional=function(t,n,r){function o(s,i){return"[Axios v"+pi+"] Transitional option '"+s+"'"+i+(r?". "+r:"")}return(s,i,a)=>{if(t===!1)throw new ce(o(i," has been removed"+(n?" in "+n:"")),ce.ERR_DEPRECATED);return n&&!Jo[i]&&(Jo[i]=!0,console.warn(o(i," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(s,i,a):!0}};function tu(e,t,n){if(typeof e!="object")throw new ce("options must be an object",ce.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const s=r[o],i=t[s];if(i){const a=e[s],l=a===void 0||i(a,s,e);if(l!==!0)throw new ce("option "+s+" must be "+l,ce.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new ce("Unknown option "+s,ce.ERR_BAD_OPTION)}}var Or={assertOptions:tu,validators:io};const wt=Or.validators;class Pn{constructor(t){this.defaults=t,this.interceptors={request:new zo,response:new zo}}request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=un(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:s}=n;r!==void 0&&Or.assertOptions(r,{silentJSONParsing:wt.transitional(wt.boolean),forcedJSONParsing:wt.transitional(wt.boolean),clarifyTimeoutError:wt.transitional(wt.boolean)},!1),o!==void 0&&Or.assertOptions(o,{encode:wt.function,serialize:wt.function},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i;
3i=s&&N.merge(s.common,s[n.method]),i&&N.forEach(["delete","get","head","post","put","patch","common"],g=>{delete s[g]}),n.headers=ht.concat(i,s);const a=[];let l=!0;this.interceptors.request.forEach(function(v){typeof v.runWhen=="function"&&v.runWhen(n)===!1||(l=l&&v.synchronous,a.unshift(v.fulfilled,v.rejected))});const c=[];this.interceptors.response.forEach(function(v){c.push(v.fulfilled,v.rejected)});let u,m=0,p;if(!l){const g=[Wo.bind(this),void 0];for(g.unshift.apply(g,a),g.push.apply(g,c),p=g.length,u=Promise.resolve(n);m<p;)u=u.then(g[m++],g[m++]);return u}p=a.length;let x=n;for(m=0;m<p;){const g=a[m++],v=a[m++];try{x=g(x)}catch(T){v.call(this,T);break}}try{u=Wo.call(this,x)}catch(g){return Promise.reject(g)}for(m=0,p=c.length;m<p;)u=u.then(c[m++],c[m++]);return u}getUri(t){t=un(this.defaults,t);const n=hi(t.baseURL,t.url);return ci(n,t.params,t.paramsSerializer)}}N.forEach(["delete","get","head","options"],function(t){Pn.prototype[t]=function(n,r){return this.request(un(r||{},{method:t,url:n,data:(r||{}).data}))}});N.forEach(["post","put","patch"],function(t){function n(r){return function(s,i,a){return this.request(un(a||{},{method:t,headers:r?{"Content-Type":"multipart/form-data"}:{},url:s,data:i}))}}Pn.prototype[t]=n(),Pn.prototype[t+"Form"]=n(!0)});var On=Pn;class ao{constructor(t){if(typeof t!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(s){n=s});const r=this;this.promise.then(o=>{if(!r._listeners)return;let s=r._listeners.length;for(;s-- >0;)r._listeners[s](o);r._listeners=null}),this.promise.then=o=>{let s;const i=new Promise(a=>{r.subscribe(a),s=a}).then(o);return i.cancel=function(){r.unsubscribe(s)},i},t(function(s,i,a){r.reason||(r.reason=new gn(s,i,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}static source(){let t;return{token:new ao(function(o){t=o}),cancel:t}}}var nu=ao;function ru(e){return function(n){return e.apply(null,n)}}function ou(e){return N.isObject(e)&&e.isAxiosError===!0}function mi(e){const t=new On(e),n=Zs(On.prototype.request,t);return N.extend(n,On.prototype,t,{allOwnKeys:!0}),N.extend(n,t,null,{allOwnKeys:!0}),n.create=function(o){return mi(un(e,o))},n}const ke=mi(so);ke.Axios=On;ke.CanceledError=gn;ke.CancelToken=nu;ke.isCancel=di;ke.VERSION=pi;ke.toFormData=Gn;ke.AxiosError=ce;ke.Cancel=ke.CanceledError;ke.all=function(t){return Promise.all(t)};ke.spread=ru;ke.isAxiosError=ou;ke.AxiosHeaders=ht;ke.formToJSON=e=>fi(N.isHTMLForm(e)?new FormData(e):e);ke.default=ke;var Ko=ke;const su=new Set(["ENOTFOUND","ENETUNREACH","UNABLE_TO_GET_ISSUER_CERT","UNABLE_TO_GET_CRL","UNABLE_TO_DECRYPT_CERT_SIGNATURE","UNABLE_TO_DECRYPT_CRL_SIGNATURE","UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY","CERT_SIGNATURE_FAILURE","CRL_SIGNATURE_FAILURE","CERT_NOT_YET_VALID","CERT_HAS_EXPIRED","CRL_NOT_YET_VALID","CRL_HAS_EXPIRED","ERROR_IN_CERT_NOT_BEFORE_FIELD","ERROR_IN_CERT_NOT_AFTER_FIELD","ERROR_IN_CRL_LAST_UPDATE_FIELD","ERROR_IN_CRL_NEXT_UPDATE_FIELD","OUT_OF_MEM","DEPTH_ZERO_SELF_SIGNED_CERT","SELF_SIGNED_CERT_IN_CHAIN","UNABLE_TO_GET_ISSUER_CERT_LOCALLY","UNABLE_TO_VERIFY_LEAF_SIGNATURE","CERT_CHAIN_TOO_LONG","CERT_REVOKED","INVALID_CA","PATH_LENGTH_EXCEEDED","INVALID_PURPOSE","CERT_UNTRUSTED","CERT_REJECTED","HOSTNAME_MISMATCH"]);var iu=e=>!su.has(e&&e.code);function Zo(e,t,n,r,o,s,i){try{var a=e[s](i),l=a.value}catch(c){n(c);return}a.done?t(l):Promise.resolve(l).then(r,o)}function gi(e){return function(){var t=this,n=arguments;return new Promise(function(r,o){var s=e.apply(t,n);function i(l){Zo(s,r,o,i,a,"next",l)}function a(l){Zo(s,r,o,i,a,"throw",l)}i(void 0)})}}function Qo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),n.push.apply(n,r)}return n}function Xo(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};
3t%2?Qo(Object(n),!0).forEach(function(r){au(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qo(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function au(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Rr="axios-retry";function vi(e){return!e.response&&Boolean(e.code)&&e.code!=="ECONNABORTED"&&iu(e)}var bi=["get","head","options"],lu=bi.concat(["put","delete"]);function lo(e){return e.code!=="ECONNABORTED"&&(!e.response||e.response.status>=500&&e.response.status<=599)}function cu(e){return e.config?lo(e)&&bi.indexOf(e.config.method)!==-1:!1}function wi(e){return e.config?lo(e)&&lu.indexOf(e.config.method)!==-1:!1}function yi(e){return vi(e)||wi(e)}function uu(){return 0}function fu(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0,t=Math.pow(2,e)*100,n=t*.2*Math.random();return t+n}function es(e){var t=e[Rr]||{};return t.retryCount=t.retryCount||0,e[Rr]=t,t}function du(e,t){return Xo(Xo({},t),e[Rr])}function hu(e,t){e.defaults.agent===t.agent&&delete t.agent,e.defaults.httpAgent===t.httpAgent&&delete t.httpAgent,e.defaults.httpsAgent===t.httpsAgent&&delete t.httpsAgent}function pu(e,t,n,r){return $r.apply(this,arguments)}function $r(){return $r=gi(function*(e,t,n,r){var o=n.retryCount<e&&t(r);if(typeof o=="object")try{var s=yield o;return s!==!1}catch{return!1}return o}),$r.apply(this,arguments)}function Nt(e,t){e.interceptors.request.use(n=>{var r=es(n);return r.lastRequestTime=Date.now(),n}),e.interceptors.response.use(null,function(){var n=gi(function*(r){var{config:o}=r;if(!o)return Promise.reject(r);var{retries:s=3,retryCondition:i=yi,retryDelay:a=uu,shouldResetTimeout:l=!1,onRetry:c=()=>{}}=du(o,t),u=es(o);if(yield pu(s,i,u,r)){u.retryCount+=1;var m=a(u.retryCount,r);if(hu(e,o),!l&&o.timeout&&u.lastRequestTime){var p=Date.now()-u.lastRequestTime;o.timeout=Math.max(o.timeout-p-m,1)}return o.transformRequest=[x=>x],c(u.retryCount,r,o),new Promise(x=>setTimeout(()=>x(e(o)),m))}return Promise.reject(r)});return function(r){return n.apply(this,arguments)}}())}Nt.isNetworkError=vi;Nt.isSafeRequestError=cu;Nt.isIdempotentRequestError=wi;Nt.isNetworkOrIdempotentRequestError=yi;Nt.exponentialDelay=fu;Nt.isRetryableError=lo;class mu{constructor(){this.client=Ko.create({timeout:60*1e3}),this.CancelToken=Ko.CancelToken,Nt(this.client,{retries:2,shouldResetTimeout:!0,retryDelay:()=>500})}async getInfo(t){return this.client.get(t)}async createInfo(t,n){return this.client.post(t,n)}async getResponseHeader(t){return this.client.head(t)}async download(t,n,r,o="arraybuffer"){return this.client.get(t,{responseType:o,onDownloadProgress:n,cancelToken:r})}async downloadInRange(t,n,r,o,s="arraybuffer"){return this.client.get(t,{responseType:s,onDownloadProgress:r,cancelToken:o,headers:{Range:n}})}genCancelToken(){return this.CancelToken.source()}cancel(t,n){t&&t.cancel(`${n}`)}}var $e=new mu;class gu{constructor(){this.URL=typeof window!="undefined"&&{VITE_GA_URL:"https://www.google-analytics.com/analytics.js",VITE_NEWS_API_PATH:"/api/v1/news",VITE_DEVICE_API_PATH:"/api/v1/device",VITE_ANALYTIC_API_PATH:"https://startpage.freebrowser.org/api/v1",VITE_NEWS_API_ORIGIN:"http://localhost:8080",VITE_DEVICE_API_ORIGIN:"http://localhost:8081",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}?"https://startpage.freebrowser.org/api/v1":""}async createOne(t){try{const n=await $e.createInfo(`${this.URL}/useraction`,t);if(n.data)return n.data}catch(n){throw console.error(n),n}}}var ts=new gu;class vu{constructor(){this.STATUS_SUCCESS="success",this.STATUS_FAILED="failed",this.DOWNLOAD_METHOD_DIRECT="normal_download_button",this.DOWNLOAD_METHOD_FILESAVER="filesaver_download_button",this.DOWNLOAD_METHOD_GITHUB="github_wiki_button",this.DOWNLOAD_METHOD_GOOGLE_PLAY="google_play_button",this.taskList=[],this.bucket=new Wl(20,2),this.uuid=Ja()}unshiftTask(t){this.taskList.unshift(t)}pushTask(t){this.taskList.push(t)}sendEvent(){if(this.bucket.take()&&this.taskList.length>0){let t=this.taskList.shift();if(t instanceof Function)return console.log("[GAEvent] Executing task, remaining tasks:",this.taskList.length),t(),!0}return!1}scheduleEvents(){setInterval(()=>{this.sendEvent()},50)}sendUA(){const t={uuid:this.uuid,non_interaction:!0,browser:ne.browser.name,browser_with_version:`${ne.browser.name}_${ne.browser.version}`,browser_with_major_version:`${ne.browser.name}_${ne.browser.major}`,os:ne.os.name,os_with_version:`${ne.os.name}_${ne.os.version}`};
3ne.device.vendor&&(t.device=ne.device.vendor,ne.device.model&&(t.device_with_model=`${ne.device.vendor}_${ne.device.model}`)),this.pushTask(()=>{gtag("event","ua",t)})}sendDownloadMethod(t){const n={method:t,uuid:this.uuid,ua_browser:ne.browser.name,ua_browser_with_version:`${ne.browser.name}_${ne.browser.version}`,ua_browser_with_major_version:`${ne.browser.name}_${ne.browser.major}`,ua_os:ne.os.name,ua_os_with_version:`${ne.os.name}_${ne.os.version}`,ua_device_with_model:`${ne.device.vendor}_${ne.device.model}`};ne.device.vendor&&(n.ua_device=ne.device.vendor,ne.device.model&&(n.ua_device_with_model=`${ne.device.vendor}_${ne.device.model}`)),this.pushTask(()=>{gtag("event","click",n)}),ts.createOne({actionType:Io.DOWNLOAD,webType:Co.FREE_BROWSER,userId:localStorage.getItem(Do),sessionId:sessionStorage.getItem(Oo),platformType:Number(localStorage.getItem("currentOS"))})}sendDownloadStat(t,n,r,o,s,i,a,l){const c=fr(o),u=s-o,m=this.calcTime(u),p=this.calcSpeed(r,u);switch(i){case i<10:i=`00${i}`;break;case i<100:i=`0${i}`;break}let x={uuid:this.uuid,date_time:c,range_index:i,status:t,url:n,download_time:m,speed:p,browser_with_major_version:`${ne.browser.name}_${ne.browser.major}`,os_with_version:`${ne.os.name}_${ne.os.version}`};t===this.STATUS_FAILED&&a&&(x.error=a,Number.isInteger(l)&&(x.failed_times=l+1)),this.pushTask(()=>{gtag("event","download_status",x)})}sendFinalStatus(t,n){let o={date_time:fr(Date.now()),status:t,uuid:this.uuid,browser_with_major_version:`${ne.browser.name}_${ne.browser.major}`,os_with_version:`${ne.os.name}_${ne.os.version}`};t===this.STATUS_FAILED&&n&&(o.error=n),this.unshiftTask(()=>{gtag("event","final_status",o)})}sendFeedback(t){const n=Date.now();let o={date_time:fr(n),uuid:this.uuid,browser_with_major_version:`${ne.browser.name}_${ne.browser.major}`,os_with_version:`${ne.os.name}_${ne.os.version}`,...t};ts.createOne({actionType:Io.SEND_FEEDBACK,webType:Co.FREE_BROWSER,userId:localStorage.getItem(Do),sessionId:sessionStorage.getItem(Oo),...t}),console.log("[GAEvent] Adding feedback task to queue. Data:",o),this.unshiftTask(()=>{console.log("[GAEvent] Sending to gtag:",o),typeof gtag!="undefined"?(gtag("event","feedback",o),console.log("[GAEvent] \u2713 Sent to gtag")):console.error("[GAEvent] \u2717 gtag is not defined!")})}calcTime(t){return t===0?"0 s":t<1e3?`${t} ms`:`${t/1e3} s`}calcSpeed(t=0,n){if(t===0)return"0 KB/s";const r=n===0?t/1024/1024:t/1024/1024/(n/1e3);return r<1?`${(r*1024).toFixed(2)} KB/s`:`${r.toFixed(2)} MB/s`}}var be=new vu;const bu={id:"heroSection",class:"theBackground flex w-screen"},wu={class:"forBackgroundHeight flex-1 flex flex-col w-full max-w-5xl mx-auto pt-32 sm:pt-44 base:px-6 lg:pt-0 lg:flex-row lg:items-center"},yu={class:"px-4 lg:px-0"},xu={class:"my-4 text-center font-black text-3xl tracking-wider sm:text-5xl lg:text-left lg:text-6xl"},_u={class:"tracking-wider text-center text-lg px-8 sm:text-2xl lg:text-left sm:px-0"},Su={class:"max-w-2xl mx-auto lg:mx-0",style:{"text-wrap":"balance"}},Eu={class:"flex flex-col items-center mt-10 text-gray-500 sm:mt-14 lg:flex-row lg:items-start"},Tu={href:"#stepSection",class:"bg-fb-red rounded-xl px-6 py-4 text-white font-bold tracking-widest shadow-lg shadow-fb-red/40 transition-shadow hover:shadow-none sm:px-8 sm:py-6 sm:text-xl"},Au={__name:"HeroSection",setup(e){const{t}=Be();return(n,r)=>(W(),Z("section",bu,[E("section",wu,[E("section",yu,[E("section",xu,[E("h1",null,P(I(t)("introduction.heroSection.title")),1)]),E("section",_u,[E("p",Su,P(I(t)("introduction.heroSection.description")),1)]),E("section",Eu,[E("a",Tu,P(I(t)("introduction.heroSection.download")),1)])])])]))}},Iu={id:"highlightsSection",class:"w-screen bg-gradient-to-b from-white to-fb-gray"},Cu={class:"flex flex-col items-center pt-10 mx-auto max-w-5xl sm:p-20 base:px-6"},Du={href:"#highlightsSection",class:"flex-1"},Ou={class:"my-4 text-center font-black text-2xl tracking-wider sm:text-4xl"},Ru={class:"flex-1 flex flex-col my-8 px-4 space-y-4 sm:mt-12 sm:space-y-6 ipad:w-full md:mt-16"},$u={class:"flex flex-col space-y-4 text-lg sm:text-xl md:space-y-6"},Nu=["innerHTML"],Fu={class:"flex-1 flex justify-center mt-2 mb-12 text-gray-500 sm:mt-4 sm:mb-20 md:mb-28"},Pu={href:"#downloadSection",class:"bg-fb-orange rounded-xl px-6 py-4 text-white font-bold tracking-widest shadow-lg shadow-fb-orange/40 transition-shadow hover:shadow-none sm:px-8 sm:py-6 sm:text-xl"},ku={__name:"HighlightsSection",setup(e){const{t,tm:n,rt:r}=Be();return(o,s)=>(W(),Z("section",Iu,[E("section",Cu,[E("a",Du,[E("section",Ou,[E("h2",null,P(I(t)("introduction.highlights.title")),1)])]),E("section",Ru,[E("ul",$u,[(W(!0),Z(je,null,rt(I(n)("introduction.highlights.bullets"),(i,a)=>(W(),Z("li",{key:a,class:"flex items-center"},[s[0]||(s[0]=E("span",{class:"flex-shrink-0 w-2 h-2 mr-4 bg-fb-orange rounded-full sm:w-2.5 sm:h-2.5"},null,-1)),E("span",{class:"flex-1",innerHTML:I(r)(i)},null,8,Nu)]))),128))])]),E("section",Fu,[E("a",Pu,P(I(t)("introduction.heroSection.download")),1)])])]))}};var Lu="/fb/assets/inside.5f28286e.svg",Bu="/fb/assets/outside.42d4c8b9.svg";
3const Mu={id:"comparisonSection",class:"w-screen bg-gradient-to-b from-white to-fb-gray"},Uu={class:"flex flex-col p-10 mx-auto px-10 sm:p-20 sm:px-32 md:px-28 lg:px-52"},ju={href:"#comparisonSection",class:"flex-1 flex flex-col items-center"},Hu={class:"my-4 text-center font-black text-2xl tracking-wider sm:text-4xl"},zu={class:"tracking-wider text-center sm:text-2xl sm:px-0"},Vu={class:"flex-1 flex mt-12 tracking-wider sm:mt-20 md:px-0"},Gu={class:"flex-1 flex flex-col space-y-10 nav:space-y-20 lg:space-y-32"},qu={class:"flex-1 flex flex-col nav:flex-row nav:items-center"},Wu={class:"flex flex-col nav:basis-1/2 nav:ml-10 lg:ml-20"},Yu={class:"my-4 text-center font-medium text-xl tracking-wider sm:my-6 sm:text-3xl nav:text-left"},Ju={class:"flex flex-col mb-4 list-disc list-inside text-gray-500 sm:text-xl"},Ku={class:"text-gray-800 text-justify sm:text-xl sm:leading-8"},Zu={class:"flex justify-center my-8 text-gray-500 ipad:my-12 nav:justify-start"},Qu={href:"#stepSection",class:"bg-fb-orange rounded-xl px-6 py-4 text-white font-bold tracking-widest shadow-lg shadow-fb-orange/40 transition-shadow hover:shadow-none sm:px-8 sm:py-6 sm:text-xl"},Xu={class:"flex-1 flex flex-col nav:flex-row-reverse nav:items-center"},ef={class:"flex flex-col nav:basis-1/2"},tf={class:"my-4 text-center font-medium text-xl tracking-wider sm:my-6 sm:text-3xl nav:text-left"},nf={class:"flex flex-col mb-4 list-disc list-inside text-gray-500 sm:text-xl"},rf={class:"text-gray-800 text-justify sm:text-xl sm:leading-8"},of={class:"flex justify-center my-8 text-gray-500 ipad:my-12 nav:justify-start"},sf={href:"#stepSection",class:"bg-fb-orange rounded-xl px-6 py-4 text-white font-bold tracking-widest shadow-lg shadow-fb-orange/40 transition-shadow hover:shadow-none sm:px-8 sm:py-6 sm:text-xl"},af={__name:"ComparisonSection",setup(e){return(t,n)=>(W(),Z("section",Mu,[E("section",Uu,[E("a",ju,[E("section",Hu,[E("h2",null,P(I(at).comparisonSection.title),1)]),E("section",zu,[E("h3",null,P(I(at).comparisonSection.description),1)])]),E("section",Vu,[E("div",Gu,[E("section",qu,[n[0]||(n[0]=E("div",{class:"flex justify-center nav:basis-1/2"},[E("img",{class:"ipad:w-3/4 nav:w-full",src:Lu,alt:"\u5899\u5185\u5BF9\u6BD4"})],-1)),E("div",Wu,[E("section",Yu,[E("h3",null,P(I(at).comparisonSection.inside.title),1)]),E("ul",Ju,[(W(!0),Z(je,null,rt(I(at).comparisonSection.inside.list,r=>(W(),Z("li",{key:r,class:"sm:mb-1"},P(r),1))),128))]),E("p",Ku,P(I(at).comparisonSection.inside.description),1),E("section",Zu,[E("a",Qu,P(I(at).comparisonSection.inside.buttonText),1)])])]),E("section",Xu,[n[1]||(n[1]=E("div",{class:"flex justify-center nav:basis-1/2 nav:ml-10 lg:ml-20"},[E("img",{class:"ipad:w-3/4 nav:w-full",src:Bu,alt:"\u5899\u5916\u5BF9\u6BD4"})],-1)),E("div",ef,[E("section",tf,[E("h3",null,P(I(at).comparisonSection.outside.title),1)]),E("ul",nf,[(W(!0),Z(je,null,rt(I(at).comparisonSection.outside.list,r=>(W(),Z("li",{key:r,class:"sm:mb-1"},P(r),1))),128))]),E("p",rf,P(I(at).comparisonSection.outside.description),1),E("section",of,[E("a",sf,P(I(at).comparisonSection.outside.buttonText),1)])])])])])])]))}};var vn={},lf=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},xi={},qe={};let co;const cf=[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];qe.getSymbolSize=function(t){if(!t)throw new Error('"version" cannot be null or undefined');if(t<1||t>40)throw new Error('"version" should be in range from 1 to 40');return t*4+17};qe.getSymbolTotalCodewords=function(t){return cf[t]};qe.getBCHDigit=function(e){let t=0;for(;e!==0;)t++,e>>>=1;return t};qe.setToSJISFunction=function(t){if(typeof t!="function")throw new Error('"toSJISFunc" is not a valid function.');co=t};qe.isKanjiModeEnabled=function(){return typeof co!="undefined"};qe.toSJIS=function(t){return co(t)};var Yn={};(function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(n){if(typeof n!="string")throw new Error("Param is not a string");switch(n.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+n)}}e.isValid=function(r){return r&&typeof r.bit!="undefined"&&r.bit>=0&&r.bit<4},e.from=function(r,o){if(e.isValid(r))return r;try{return t(r)}catch{return o}}})(Yn);function _i(){this.buffer=[],this.length=0}_i.prototype={get:function(e){const t=Math.floor(e/8);return(this.buffer[t]>>>7-e%8&1)===1},put:function(e,t){for(let n=0;n<t;n++)this.putBit((e>>>t-n-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(e){const t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}};var uf=_i;function bn(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}bn.prototype.set=function(e,t,n,r){const o=e*this.size+t;this.data[o]=n,r&&(this.reservedBit[o]=!0)};bn.prototype.get=function(e,t){return this.data[e*this.size+t]};bn.prototype.xor=function(e,t,n){this.data[e*this.size+t]^=n};bn.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]};var ff=bn,Si={};(function(e){const t=qe.getSymbolSize;e.getRowColCoords=function(r){if(r===1)return[];const o=Math.floor(r/7)+2,s=t(r),i=s===145?26:Math.ceil((s-13)/(2*o-2))*2,a=[s-7];for(let l=1;l<o-1;
vendor: 6,277 bytes, lines 3-4
3l++)a[l]=a[l-1]-i;return a.push(6),a.reverse()},e.getPositions=function(r){const o=[],s=e.getRowColCoords(r),i=s.length;for(let a=0;a<i;a++)for(let l=0;l<i;l++)a===0&&l===0||a===0&&l===i-1||a===i-1&&l===0||o.push([s[a],s[l]]);return o}})(Si);var Ei={};const df=qe.getSymbolSize,ns=7;Ei.getPositions=function(t){const n=df(t);return[[0,0],[n-ns,0],[0,n-ns]]};var Ti={};(function(e){e.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const t={N1:3,N2:3,N3:40,N4:10};e.isValid=function(o){return o!=null&&o!==""&&!isNaN(o)&&o>=0&&o<=7},e.from=function(o){return e.isValid(o)?parseInt(o,10):void 0},e.getPenaltyN1=function(o){const s=o.size;let i=0,a=0,l=0,c=null,u=null;for(let m=0;m<s;m++){a=l=0,c=u=null;for(let p=0;p<s;p++){let x=o.get(m,p);x===c?a++:(a>=5&&(i+=t.N1+(a-5)),c=x,a=1),x=o.get(p,m),x===u?l++:(l>=5&&(i+=t.N1+(l-5)),u=x,l=1)}a>=5&&(i+=t.N1+(a-5)),l>=5&&(i+=t.N1+(l-5))}return i},e.getPenaltyN2=function(o){const s=o.size;let i=0;for(let a=0;a<s-1;a++)for(let l=0;l<s-1;l++){const c=o.get(a,l)+o.get(a,l+1)+o.get(a+1,l)+o.get(a+1,l+1);(c===4||c===0)&&i++}return i*t.N2},e.getPenaltyN3=function(o){const s=o.size;let i=0,a=0,l=0;for(let c=0;c<s;c++){a=l=0;for(let u=0;u<s;u++)a=a<<1&2047|o.get(c,u),u>=10&&(a===1488||a===93)&&i++,l=l<<1&2047|o.get(u,c),u>=10&&(l===1488||l===93)&&i++}return i*t.N3},e.getPenaltyN4=function(o){let s=0;const i=o.data.length;for(let l=0;l<i;l++)s+=o.data[l];return Math.abs(Math.ceil(s*100/i/5)-10)*t.N4};function n(r,o,s){switch(r){case e.Patterns.PATTERN000:return(o+s)%2===0;case e.Patterns.PATTERN001:return o%2===0;case e.Patterns.PATTERN010:return s%3===0;case e.Patterns.PATTERN011:return(o+s)%3===0;case e.Patterns.PATTERN100:return(Math.floor(o/2)+Math.floor(s/3))%2===0;case e.Patterns.PATTERN101:return o*s%2+o*s%3===0;case e.Patterns.PATTERN110:return(o*s%2+o*s%3)%2===0;case e.Patterns.PATTERN111:return(o*s%3+(o+s)%2)%2===0;default:throw new Error("bad maskPattern:"+r)}}e.applyMask=function(o,s){const i=s.size;for(let a=0;a<i;a++)for(let l=0;l<i;l++)s.isReserved(l,a)||s.xor(l,a,n(o,l,a))},e.getBestMask=function(o,s){const i=Object.keys(e.Patterns).length;let a=0,l=1/0;for(let c=0;c<i;c++){s(c),e.applyMask(c,o);const u=e.getPenaltyN1(o)+e.getPenaltyN2(o)+e.getPenaltyN3(o)+e.getPenaltyN4(o);e.applyMask(c,o),u<l&&(l=u,a=c)}return a}})(Ti);var Jn={};const Et=Yn,En=[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],Tn=[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];Jn.getBlocksCount=function(t,n){switch(n){case Et.L:return En[(t-1)*4+0];case Et.M:return En[(t-1)*4+1];case Et.Q:return En[(t-1)*4+2];case Et.H:return En[(t-1)*4+3];default:return}};Jn.getTotalCodewordsCount=function(t,n){switch(n){case Et.L:return Tn[(t-1)*4+0];case Et.M:return Tn[(t-1)*4+1];case Et.Q:return Tn[(t-1)*4+2];case Et.H:return Tn[(t-1)*4+3];default:return}};var Ai={},Kn={};const sn=new Uint8Array(512),kn=new Uint8Array(256);(function(){let t=1;for(let n=0;n<255;n++)sn[n]=t,kn[t]=n,t<<=1,t&256&&(t^=285);for(let n=255;n<512;n++)sn[n]=sn[n-255]})();Kn.log=function(t){if(t<1)throw new Error("log("+t+")");return kn[t]};Kn.exp=function(t){return sn[t]};Kn.mul=function(t,n){return t===0||n===0?0:sn[kn[t]+kn[n]]};(function(e){const t=Kn;e.mul=function(r,o){const s=new Uint8Array(r.length+o.length-1);for(let i=0;i<r.length;i++)for(let a=0;a<o.length;a++)s[i+a]^=t.mul(r[i],o[a]);return s},e.mod=function(r,o){let s=new Uint8Array(r);for(;s.length-o.length>=0;){const i=s[0];for(let l=0;l<o.length;l++)s[l]^=t.mul(o[l],i);let a=0;for(;a<s.length&&s[a]===0;)a++;s=s.slice(a)}return s},e.generateECPolynomial=function(r){let o=new Uint8Array([1]);for(let s=0;s<r;s++)o=e.mul(o,new Uint8Array([1,t.exp(s)]));return o}})(Ai);const Ii=Ai;function uo(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}uo.prototype.initialize=function(t){this.degree=t,this.genPoly=Ii.generateECPolynomial(this.degree)};uo.prototype.encode=function(t){if(!this.genPoly)throw new Error("Encoder not initialized");const n=new Uint8Array(t.length+this.degree);n.set(t);const r=Ii.mod(n,this.genPoly),o=this.degree-r.length;if(o>0){const s=new Uint8Array(this.degree);return s.set(r,o),s}return r};var hf=uo,Ci={},Tt={},fo={};fo.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40};var ut={};const Di="[0-9]+",pf="[A-Z $%*+\\-./:]+";let fn="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";fn=fn.replace(/u/g,"\\u");const mf="(?:(?![A-Z0-9 $%*+\\-./:]|"+fn+`)(?:.|[\r 4]))+`;ut.KANJI=new RegExp(fn,"g");ut.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");ut.BYTE=new RegExp(mf,"g");ut.NUMERIC=new RegExp(Di,"g");ut.ALPHANUMERIC=new RegExp(pf,"g");const gf=new RegExp("^"+fn+"$"),vf=new RegExp("^"+Di+"$"),bf=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");ut.testKanji=function(t){return gf.test(t)};ut.testNumeric=function(t){return vf.test(t)};ut.testAlphanumeric=function(t){return bf.test(t)};(function(e){const t=fo,n=ut;e.NUMERIC={id:"Numeric",bit:1<<0,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:1<<1,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:1<<2,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:1<<3,ccBits:[8,10,12]},e.MIXED={bit:-1}
4,e.getCharCountIndicator=function(s,i){if(!s.ccBits)throw new Error("Invalid mode: "+s);if(!t.isValid(i))throw new Error("Invalid version: "+i);return i>=1&&i<10?s.ccBits[0]:i<27?s.ccBits[1]:s.ccBits[2]},e.getBestModeForData=function(s){return n.testNumeric(s)?e.NUMERIC:n.testAlphanumeric(s)?e.ALPHANUMERIC:n.testKanji(s)?e.KANJI:e.BYTE},e.toString=function(s){if(s&&s.id)return s.id;throw new Error("Invalid mode")},e.isValid=function(s){return s&&s.bit&&s.ccBits};function r(o){if(typeof o!="string")throw new Error("Param is not a string");switch(o.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+o)}}e.from=function(s,i){if(e.isValid(s))return s;try{return r(s)}catch{return i}}})(Tt);(function(e){const t=qe,n=Jn,r=Yn,o=Tt,s=fo,i=1<<12|1<<11|1<<10|1<<9|1<<8|1<<5|1<<2|1<<0,a=t.getBCHDigit(i);function l(p,x,g){for(let v=1;v<=40;v++)if(x<=e.getCapacity(v,g,p))return v}function c(p,x){return o.getCharCountIndicator(p,x)+4}function u(p,x){let g=0;return p.forEach(function(v){g+=c(v.mode,x)+v.getBitsLength()}),g}function m(p,x){for(let g=1;g<=40;g++)if(u(p,g)<=e.getCapacity(g,x,o.MIXED))return g}e.from=function(x,g){return s.isValid(x)?parseInt(x,10):g},e.getCapacity=function(x,g,v){if(!s.isValid(x))throw new Error("Invalid QR Code version");typeof v=="undefined"&&(v=o.BYTE);const T=t.getSymbolTotalCodewords(x),S=n.getTotalCodewordsCount(x,g),_=(T-S)*8;if(v===o.MIXED)return _;const f=_-c(v,x);switch(v){case o.NUMERIC:return Math.floor(f/10*3);case o.ALPHANUMERIC:return Math.floor(f/11*2);case o.KANJI:return Math.floor(f/13);case o.BYTE:default:return Math.floor(f/8)}},e.getBestVersionForData=function(x,g){let v;const T=r.from(g,r.M);if(Array.isArray(x)){if(x.length>1)return m(x,T);if(x.length===0)return 1;v=x[0]}else v=x;return l(v.mode,v.getLength(),T)},e.getEncodedBits=function(x){if(!s.isValid(x)||x<7)throw new Error("Invalid QR Code version");let g=x<<12;for(;t.getBCHDigit(g)-a>=0;)g^=i<<t.getBCHDigit(g)-a;return x<<12|g}})(Ci);var Oi={};const Nr=qe,Ri=1<<10|1<<8|1<<5|1<<4|1<<2|1<<1|1<<0,wf=1<<14|1<<12|1<<10|1<<4|1<<1,rs=Nr.getBCHDigit(Ri);Oi.getEncodedBits=function(t,n){const r=t.bit<<3|n;let o=r<<10;for(;Nr.getBCHDigit(o)-rs>=0;)o^=Ri<<Nr.getBCHDigit(o)-rs;return(r<<10|o)^wf};var $i={};const yf=Tt;function Ht(e){this.mode=yf.NUMERIC,this.data=e.toString()}Ht.getBitsLength=function(t){return 10*Math.floor(t/3)+(t%3?t%3*3+1:0)};Ht.prototype.getLength=function(){return this.data.length};Ht.prototype.getBitsLength=function(){return Ht.getBitsLength(this.data.length)};Ht.prototype.write=function(t){let n,r,o;for(n=0;n+3<=this.data.length;n+=3)r=this.data.substr(n,3),o=parseInt(r,10),t.put(o,10);const s=this.data.length-n;s>0&&(r=this.data.substr(n),o=parseInt(r,10),t.put(o,s*3+1))};var xf=Ht;const _f=Tt,pr=["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 zt(e){this.mode=_f.ALPHANUMERIC,this.data=e}zt.getBitsLength=function(t){return 11*Math.floor(t/2)+6*(t%2)};zt.prototype.getLength=function(){return this.data.length};zt.prototype.getBitsLength=function(){return zt.getBitsLength(this.data.length)};zt.prototype.write=function(t){let n;for(n=0;n+2<=this.data.length;n+=2){let r=pr.indexOf(this.data[n])*45;r+=pr.indexOf(this.data[n+1]),t.put(r,11)}this.data.length%2&&t.put(pr.indexOf(this.data[n]),6)};var Sf=zt,Ef=function(t){for(var n=[],r=t.length,o=0;o<r;o++){var s=t.charCodeAt(o);if(s>=55296&&s<=56319&&r>o+1){var i=t.charCodeAt(o+1);i>=56320&&i<=57343&&(s=(s-55296)*1024+i-56320+65536,o+=1)}if(s<128){n.push(s);continue}if(s<2048){n.push(s>>6|192),n.push(s&63|128);continue}if(s<55296||s>=57344&&s<65536){n.push(s>>12|224),n.push(s>>6&63|128),n.push(s&63|128);continue}if(s>=65536&&s<=1114111){n.push(s>>18|240),n.push(s>>12&63|128),n.push(s>>6&63|128),n.push(s&63|128);continue}n.push(239,191,189)}return new Uint8Array(n).buffer};const Tf=Ef,Af=Tt;function Vt(e){this.mode=Af.BYTE,typeof e=="string"&&(e=Tf(e)),this.data=new Uint8Array(e)}Vt.getBitsLength=function(t){return t*8};Vt.prototype.getLength=function(){return this.data.length};Vt.prototype.getBitsLength=function(){return Vt.getBitsLength(this.data.length)};Vt.prototype.write=function(e){for(let t=0,n=this.data.length;t<n;t++)e.put(this.data[t],8)};var If=Vt;const Cf=Tt,Df=qe;function Gt(e){this.mode=Cf.KANJI,this.data=e}Gt.getBitsLength=function(t){return t*13};Gt.prototype.getLength=function(){return this.data.length};Gt.prototype.getBitsLength=function(){return Gt.getBitsLength(this.data.length)};Gt.prototype.write=function(e){let t;for(t=0;t<this.data.length;t++){let n=Df.toSJIS(this.data[t]);if(n>=33088&&n<=40956)n-=33088;else if(n>=57408&&n<=60351)n-=49472;else throw new Error("Invalid SJIS character: "+this.data[t]+` 5Make sure your charset is UTF-8`);n=(n>>>8&255)*192+(n&255),e.put(n,13)}};var Of=Gt,Ni={exports:{}};(function(e){var t={single_source_shortest_paths:function(n,r,o){var s={},i={};i[r]=0;var a=t.PriorityQueue.make();a.push(r,0);for(var l,c,u,m,p,x,g,v,T;!a.empty();){l=a.pop(),c=l.value,m=l.cost,p=n[c]||{};for(u in p)p.hasOwnProperty(u)&&(x=p[u],g=m+x,v=i[u],T=typeof i[u]=="undefined",(T||v>g)&&(i[u]=g,a.push(u,g),s[u]=c))}if(typeof o!="undefined"&&typeof i[o]=="undefined"){var S=["Could not find a path from ",r," to ",o,"."].join("");throw new Error(S)}return s},extract_shortest_path_from_predecessor_list:function(n,r){for(var o=[],s=r;s;)o.push(s),n[s],s=n[s];return o.reverse(),o},find_path:function(n,r,o){var s=t.single_source_shortest_paths(n,r,o);return t.extract_shortest_path_from_predecessor_list(s,o)},PriorityQueue:{make:function(n){var r=t.PriorityQueue,o={},s;n=n||{};for(s in r)r.hasOwnProperty(s)&&(o[s]=r[s]);return o.queue=[],o.sorter=n.sorter||r.default_sorter,o},default_sorter:function(n,r){return n.cost-r.cost},push:function(n,r){var o={value:n,cost:r};this.queue.push(o),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};e.exports=t})(Ni);(function(e){const t=Tt,n=xf,r=Sf,o=If,s=Of,i=ut,a=qe,l=Ni.exports;function c(S){return unescape(encodeURIComponent(S)).length}function u(S,_,f){const d=[];let b;for(;(b=S.exec(f))!==null;)d.push({data:b[0],index:b.index,mode:_,length:b[0].length});return d}function m(S){const _=u(i.NUMERIC,t.NUMERIC,S),f=u(i.ALPHANUMERIC,t.ALPHANUMERIC,S);let d,b;return a.isKanjiModeEnabled()?(d=u(i.BYTE,t.BYTE,S),b=u(i.KANJI,t.KANJI,S)):(d=u(i.BYTE_KANJI,t.BYTE,S),b=[]),_.concat(f,d,b).sort(function(R,k){return R.index-k.index}).map(function(R){return{data:R.data,mode:R.mode,length:R.length}})}function p(S,_){switch(_){case t.NUMERIC:return n.getBitsLength(S);case t.ALPHANUMERIC:return r.getBitsLength(S);case t.KANJI:return s.getBitsLength(S);case t.BYTE:return o.getBitsLength(S)}}function x(S){return S.reduce(function(_,f){const d=_.length-1>=0?_[_.length-1]:null;return d&&d.mode===f.mode?(_[_.length-1].data+=f.data,_):(_.push(f),_)},[])}function g(S){const _=[];for(let f=0;f<S.length;f++){const d=S[f];switch(d.mode){case t.NUMERIC:_.push([d,{data:d.data,mode:t.ALPHANUMERIC,length:d.length},{data:d.data,mode:t.BYTE,length:d.length}]);break;case t.ALPHANUMERIC:_.push([d,{data:d.data,mode:t.BYTE,length:d.length}]);break;case t.KANJI:_.push([d,{data:d.data,mode:t.BYTE,length:c(d.data)}]);break;case t.BYTE:_.push([{data:d.data,mode:t.BYTE,length:c(d.data)}])}}return _}function v(S,_){const f={},d={start:{}};let b=["start"];for(let w=0;w<S.length;w++){const R=S[w],k=[];for(let M=0;M<R.length;M++){const U=R[M],te=""+w+M;k.push(te),f[te]={node:U,lastCount:0},d[te]={};for(let ue=0;ue<b.length;ue++){const G=b[ue];f[G]&&f[G].node.mode===U.mode?(d[G][te]=p(f[G].lastCount+U.length,U.mode)-p(f[G].lastCount,U.mode),f[G].lastCount+=U.length):(f[G]&&(f[G].lastCount=U.length),d[G][te]=p(U.length,U.mode)+4+t.getCharCountIndicator(U.mode,_))}}b=k}for(let w=0;w<b.length;w++)d[b[w]].end=0;return{map:d,table:f}}function T(S,_){let f;const d=t.getBestModeForData(S);if(f=t.from(_,d),f!==t.BYTE&&f.bit<d.bit)throw new Error('"'+S+'" cannot be encoded with mode '+t.toString(f)+`. 6 Suggested mode is: `+t.toString(d));switch(f===t.KANJI&&!a.isKanjiModeEnabled()&&(f=t.BYTE),f){case t.NUMERIC:return new n(S);case t.ALPHANUMERIC:return new r(S);case t.KANJI:return new s(S);case t.BYTE:return new o(S)}}e.fromArray=function(_){return _.reduce(function(f,d){return typeof d=="str
6ing"?f.push(T(d,null)):d.data&&f.push(T(d.data,d.mode)),f},[])},e.fromString=function(_,f){const d=m(_,a.isKanjiModeEnabled()),b=g(d),w=v(b,f),R=l.find_path(w.map,"start","end"),k=[];for(let M=1;M<R.length-1;M++)k.push(w.table[R[M]].node);return e.fromArray(x(k))},e.rawSplit=function(_){return e.fromArray(m(_,a.isKanjiModeEnabled()))}})($i);const Zn=qe,mr=Yn,Rf=uf,$f=ff,Nf=Si,Ff=Ei,Fr=Ti,Pr=Jn,Pf=hf,Ln=Ci,kf=Oi,Lf=Tt,gr=$i;function Bf(e,t){const n=e.size,r=Ff.getPositions(t);for(let o=0;o<r.length;o++){const s=r[o][0],i=r[o][1];for(let a=-1;a<=7;a++)if(!(s+a<=-1||n<=s+a))for(let l=-1;l<=7;l++)i+l<=-1||n<=i+l||(a>=0&&a<=6&&(l===0||l===6)||l>=0&&l<=6&&(a===0||a===6)||a>=2&&a<=4&&l>=2&&l<=4?e.set(s+a,i+l,!0,!0):e.set(s+a,i+l,!1,!0))}}function Mf(e){const t=e.size;for(let n=8;n<t-8;n++){const r=n%2===0;e.set(n,6,r,!0),e.set(6,n,r,!0)}}function Uf(e,t){const n=Nf.getPositions(t);for(let r=0;r<n.length;r++){const o=n[r][0],s=n[r][1];for(let i=-2;i<=2;i++)for(let a=-2;a<=2;a++)i===-2||i===2||a===-2||a===2||i===0&&a===0?e.set(o+i,s+a,!0,!0):e.set(o+i,s+a,!1,!0)}}function jf(e,t){const n=e.size,r=Ln.getEncodedBits(t);let o,s,i;for(let a=0;a<18;a++)o=Math.floor(a/3),s=a%3+n-8-3,i=(r>>a&1)===1,e.set(o,s,i,!0),e.set(s,o,i,!0)}function vr(e,t,n){const r=e.size,o=kf.getEncodedBits(t,n);let s,i;for(s=0;s<15;s++)i=(o>>s&1)===1,s<6?e.set(s,8,i,!0):s<8?e.set(s+1,8,i,!0):e.set(r-15+s,8,i,!0),s<8?e.set(8,r-s-1,i,!0):s<9?e.set(8,15-s-1+1,i,!0):e.set(8,15-s-1,i,!0);e.set(r-8,8,1,!0)}function Hf(e,t){const n=e.size;let r=-1,o=n-1,s=7,i=0;for(let a=n-1;a>0;a-=2)for(a===6&&a--;;){for(let l=0;l<2;l++)if(!e.isReserved(o,a-l)){let c=!1;i<t.length&&(c=(t[i]>>>s&1)===1),e.set(o,a-l,c),s--,s===-1&&(i++,s=7)}if(o+=r,o<0||n<=o){o-=r,r=-r;break}}}function zf(e,t,n){const r=new Rf;n.forEach(function(l){r.put(l.mode.bit,4),r.put(l.getLength(),Lf.getCharCountIndicator(l.mode,e)),l.write(r)});const o=Zn.getSymbolTotalCodewords(e),s=Pr.getTotalCodewordsCount(e,t),i=(o-s)*8;for(r.getLengthInBits()+4<=i&&r.put(0,4);r.getLengthInBits()%8!==0;)r.putBit(0);const a=(i-r.getLengthInBits())/8;for(let l=0;l<a;l++)r.put(l%2?17:236,8);return Vf(r,e,t)}function Vf(e,t,n){const r=Zn.getSymbolTotalCodewords(t),o=Pr.getTotalCodewordsCount(t,n),s=r-o,i=Pr.getBlocksCount(t,n),a=r%i,l=i-a,c=Math.floor(r/i),u=Math.floor(s/i),m=u+1,p=c-u,x=new Pf(p);let g=0;const v=new Array(i),T=new Array(i);let S=0;const _=new Uint8Array(e.buffer);for(let R=0;R<i;R++){const k=R<l?u:m;v[R]=_.slice(g,g+k),T[R]=x.encode(v[R]),g+=k,S=Math.max(S,k)}const f=new Uint8Array(r);let d=0,b,w;for(b=0;b<S;b++)for(w=0;w<i;w++)b<v[w].length&&(f[d++]=v[w][b]);for(b=0;b<p;b++)for(w=0;w<i;w++)f[d++]=T[w][b];return f}function Gf(e,t,n,r){let o;if(Array.isArray(e))o=gr.fromArray(e);else if(typeof e=="string"){let c=t;if(!c){const u=gr.rawSplit(e);c=Ln.getBestVersionForData(u,n)}o=gr.fromString(e,c||40)}else throw new Error("Invalid data");const s=Ln.getBestVersionForData(o,n);if(!s)throw new Error("The amount of data is too big to be stored in a QR Code");if(!t)t=s;else if(t<s)throw new Error(` 7The chosen QR Code version cannot contain this amount of data. 8Minimum version required to store current data is: `+s+`. 9`);const i=zf(t,n,o),a=Zn.getSymbolSize(t),l=new $f(a);return Bf(l,t),Mf(l),Uf(l,t),vr(l,n,0),t>=7&&jf(l,t),Hf(l,i),isNaN(r)&&(r=Fr.getBestMask(l,vr.bind(null,l,n))),Fr.applyMask(r,l),vr(l,n,r),{modules:l,version:t,errorCorrectionLevel:n,maskPattern:r,segments:o}}xi.create=function(t,n){if(typeof t=="undefined"||t==="")throw new Error("No input text");let r=mr.M,o,s;return typeof n!="undefined"&&(r=mr.from(n.errorCorrectionLevel,mr.M),o=Ln.from(n.version),s=Fr.from(n.maskPattern),n.toSJISFunc&&Zn.setToSJISFunction(n.toSJISFunc)),Gf(t,o,r,s)};var Fi={},ho={};(function(e){function t(n){if(typeof n=="number"&&(n=n.toString()),typeof n!="string")throw new Error("Color should be defined as hex string");let r=n.slice().replace("#","").split("");if(r.length<3||r.length===5||r.length>8)throw new Error("Invalid hex color: "+n);(r.length===3||r.length===4)&&(r=Array.prototype.concat.apply([],r.map(function(s){return[s,s]}))),r.length===6&&r.push("F","F");const o=parseInt(r.join(""),16);return{r:o>>24&255,g:o>>16&255,b:o>>8&255,a:o&255,hex:"#"+r.slice(0,6).join("")}}e.getOptions=function(r){r||(r={}),r.color||(r.color={});const o=typeof r.margin=="undefined"||r.margin===null||r.margin<0?4:r.margin,s=r.width&&r.width>=21?r.width:void 0,i=r.scale||4;
9return{width:s,scale:s?4:i,margin:o,color:{dark:t(r.color.dark||"#000000ff"),light:t(r.color.light||"#ffffffff")},type:r.type,rendererOpts:r.rendererOpts||{}}},e.getScale=function(r,o){return o.width&&o.width>=r+o.margin*2?o.width/(r+o.margin*2):o.scale},e.getImageWidth=function(r,o){const s=e.getScale(r,o);return Math.floor((r+o.margin*2)*s)},e.qrToImageData=function(r,o,s){const i=o.modules.size,a=o.modules.data,l=e.getScale(i,s),c=Math.floor((i+s.margin*2)*l),u=s.margin*l,m=[s.color.light,s.color.dark];for(let p=0;p<c;p++)for(let x=0;x<c;x++){let g=(p*c+x)*4,v=s.color.light;if(p>=u&&x>=u&&p<c-u&&x<c-u){const T=Math.floor((p-u)/l),S=Math.floor((x-u)/l);v=m[a[T*i+S]?1:0]}r[g++]=v.r,r[g++]=v.g,r[g++]=v.b,r[g]=v.a}}})(ho);(function(e){const t=ho;function n(o,s,i){o.clearRect(0,0,s.width,s.height),s.style||(s.style={}),s.height=i,s.width=i,s.style.height=i+"px",s.style.width=i+"px"}function r(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}e.render=function(s,i,a){let l=a,c=i;typeof l=="undefined"&&(!i||!i.getContext)&&(l=i,i=void 0),i||(c=r()),l=t.getOptions(l);const u=t.getImageWidth(s.modules.size,l),m=c.getContext("2d"),p=m.createImageData(u,u);return t.qrToImageData(p.data,s,l),n(m,c,u),m.putImageData(p,0,0),c},e.renderToDataURL=function(s,i,a){let l=a;typeof l=="undefined"&&(!i||!i.getContext)&&(l=i,i=void 0),l||(l={});const c=e.render(s,i,l),u=l.type||"image/png",m=l.rendererOpts||{};return c.toDataURL(u,m.quality)}})(Fi);var Pi={};const qf=ho;function os(e,t){const n=e.a/255,r=t+'="'+e.hex+'"';return n<1?r+" "+t+'-opacity="'+n.toFixed(2).slice(1)+'"':r}function br(e,t,n){let r=e+t;return typeof n!="undefined"&&(r+=" "+n),r}function Wf(e,t,n){let r="",o=0,s=!1,i=0;for(let a=0;a<e.length;a++){const l=Math.floor(a%t),c=Math.floor(a/t);!l&&!s&&(s=!0),e[a]?(i++,a>0&&l>0&&e[a-1]||(r+=s?br("M",l+n,.5+c+n):br("m",o,0),o=0,s=!1),l+1<t&&e[a+1]||(r+=br("h",i),i=0)):o++}return r}Pi.render=function(t,n,r){const o=qf.getOptions(n),s=t.modules.size,i=t.modules.data,a=s+o.margin*2,l=o.color.light.a?"<path "+os(o.color.light,"fill")+' d="M0 0h'+a+"v"+a+'H0z"/>':"",c="<path "+os(o.color.dark,"stroke")+' d="'+Wf(i,s,o.margin)+'"/>',u='viewBox="0 0 '+a+" "+a+'"',m=o.width?'width="'+o.width+'" height="'+o.width+'" ':"",p='<svg xmlns="http://www.w3.org/2000/svg" '+m+u+' shape-rendering="crispEdges">'+l+c+`</svg> 10`;return typeof r=="function"&&r(null,p),p};const Yf=lf,kr=xi,ki=Fi,Jf=Pi;function po(e,t,n,r,o){const s=[].slice.call(arguments,1),i=s.length,a=typeof s[i-1]=="function";if(!a&&!Yf())throw new Error("Callback required as last argument");if(a){if(i<2)throw new Error("Too few arguments provided");i===2?(o=n,n=t,t=r=void 0):i===3&&(t.getContext&&typeof o=="undefined"?(o=r,r=void 0):(o=r,r=n,n=t,t=void 0))}else{if(i<1)throw new Error("Too few arguments provided");return i===1?(n=t,t=r=void 0):i===2&&!t.getContext&&(r=n,n=t,t=void 0),new Promise(function(l,c){try{const u=kr.create(n,r);l(e(u,t,r))}catch(u){c(u)}})}try{const l=kr.create(n,r);o(null,e(l,t,r))}catch(l){o(l)}}vn.create=kr.create;vn.toCanvas=po.bind(null,ki.render);vn.toDataURL=po.bind(null,ki.renderToDataURL);vn.toString=po.bind(null,function(e,t,n){return Jf.render(e,n)});const an=/^[a-z0-9]+(-[a-z0-9]+)*$/,Qn=(e,t,n,r="")=>{const o=e.split(":");if(e.slice(0,1)==="@"){if(o.length<2||o.length>3)return null;r=o.shift().slice(1)}if(o.length>3||!o.length)return null;if(o.length>1){const a=o.pop(),l=o.pop(),c={provider:o.length>0?o[0]:r,prefix:l,name:a};return t&&!Rn(c)?null:c}const s=o[0],i=s.split("-");if(i.length>1){const a={provider:r,prefix:i.shift(),name:i.join("-")};return t&&!Rn(a)?null:a}if(n&&r===""){const a={provider:r,prefix:"",name:s};return t&&!Rn(a,n)?null:a}return null},Rn=(e,t)=>e?!!((e.provider===""||e.provider.match(an))&&(t&&e.prefix===""||e.prefix.match(an))&&e.name.match(an)):!1,Li=Object.freeze({left:0,top:0,width:16,height:16}),Bn=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),Xn=Object.freeze({...Li,...Bn}),Lr=Object.freeze({...Xn,body:"",hidden:!1});function Kf(e,t){const n={};!e.hFlip!=!t.hFlip&&(n.hFlip=!0),!e.vFlip!=!t.vFlip&&(n.vFlip=!0);const r=((e.rotate||0)+(t.rotate||0))%4;return r&&(n.rotate=r),n}function ss(e,t){const n=Kf(e,t);for(const r in Lr)r in Bn?r in e&&!(r in n)&&(n[r]=Bn[r]):r in t?n[r]=t[r]:r in e&&(n[r]=e[r]);return n}function Zf(e,t){const n=e.icons,r=e.aliases||{},o=Object.create(null);function s(i){if(n[i])return o[i]=[];if(!(i in o)){o[i]=null;const a=r[i]&&r[i].parent,l=a&&s(a);l&&(o[i]=[a].concat(l))}return o[i]}
10return(t||Object.keys(n).concat(Object.keys(r))).forEach(s),o}function Qf(e,t,n){const r=e.icons,o=e.aliases||{};let s={};function i(a){s=ss(r[a]||o[a],s)}return i(t),n.forEach(i),ss(e,s)}function Bi(e,t){const n=[];if(typeof e!="object"||typeof e.icons!="object")return n;e.not_found instanceof Array&&e.not_found.forEach(o=>{t(o,null),n.push(o)});const r=Zf(e);for(const o in r){const s=r[o];s&&(t(o,Qf(e,o,s)),n.push(o))}return n}const Xf={provider:"",aliases:{},not_found:{},...Li};function wr(e,t){for(const n in t)if(n in e&&typeof e[n]!=typeof t[n])return!1;return!0}function Mi(e){if(typeof e!="object"||e===null)return null;const t=e;if(typeof t.prefix!="string"||!e.icons||typeof e.icons!="object"||!wr(e,Xf))return null;const n=t.icons;for(const o in n){const s=n[o];if(!o.match(an)||typeof s.body!="string"||!wr(s,Lr))return null}const r=t.aliases||{};for(const o in r){const s=r[o],i=s.parent;if(!o.match(an)||typeof i!="string"||!n[i]&&!r[i]||!wr(s,Lr))return null}return t}const is=Object.create(null);function ed(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}function $t(e,t){const n=is[e]||(is[e]=Object.create(null));return n[t]||(n[t]=ed(e,t))}function mo(e,t){return Mi(t)?Bi(t,(n,r)=>{r?e.icons[n]=r:e.missing.add(n)}):[]}function td(e,t,n){try{if(typeof n.body=="string")return e.icons[t]={...n},!0}catch{}return!1}let dn=!1;function Ui(e){return typeof e=="boolean"&&(dn=e),dn}function nd(e){const t=typeof e=="string"?Qn(e,!0,dn):e;if(t){const n=$t(t.provider,t.prefix),r=t.name;return n.icons[r]||(n.missing.has(r)?null:void 0)}}function rd(e,t){const n=Qn(e,!0,dn);if(!n)return!1;const r=$t(n.provider,n.prefix);return td(r,n.name,t)}function od(e,t){if(typeof e!="object")return!1;if(typeof t!="string"&&(t=e.provider||""),dn&&!t&&!e.prefix){let o=!1;return Mi(e)&&(e.prefix="",Bi(e,(s,i)=>{i&&rd(s,i)&&(o=!0)})),o}const n=e.prefix;if(!Rn({provider:t,prefix:n,name:"a"}))return!1;const r=$t(t,n);return!!mo(r,e)}const ji=Object.freeze({width:null,height:null}),Hi=Object.freeze({...ji,...Bn}),sd=/(-?[0-9.]*[0-9]+[0-9.]*)/g,id=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function as(e,t,n){if(t===1)return e;if(n=n||100,typeof e=="number")return Math.ceil(e*t*n)/n;if(typeof e!="string")return e;const r=e.split(sd);if(r===null||!r.length)return e;const o=[];let s=r.shift(),i=id.test(s);for(;;){if(i){const a=parseFloat(s);isNaN(a)?o.push(s):o.push(Math.ceil(a*t*n)/n)}else o.push(s);if(s=r.shift(),s===void 0)return o.join("");i=!i}}function ad(e,t){const n={...Xn,...e},r={...Hi,...t},o={left:n.left,top:n.top,width:n.width,height:n.height};let s=n.body;[n,r].forEach(x=>{const g=[],v=x.hFlip,T=x.vFlip;let S=x.rotate;v?T?S+=2:(g.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),g.push("scale(-1 1)"),o.top=o.left=0):T&&(g.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),g.push("scale(1 -1)"),o.top=o.left=0);let _;switch(S<0&&(S-=Math.floor(S/4)*4),S=S%4,S){case 1:_=o.height/2+o.top,g.unshift("rotate(90 "+_.toString()+" "+_.toString()+")");break;case 2:g.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:_=o.width/2+o.left,g.unshift("rotate(-90 "+_.toString()+" "+_.toString()+")");break}S%2===1&&(o.left!==o.top&&(_=o.left,o.left=o.top,o.top=_),o.width!==o.height&&(_=o.width,o.width=o.height,o.height=_)),g.length&&(s='<g transform="'+g.join(" ")+'">'+s+"</g>")});const i=r.width,a=r.height,l=o.width,c=o.height;let u,m;return i===null?(m=a===null?"1em":a==="auto"?c:a,u=as(m,l/c)):(u=i==="auto"?l:i,m=a===null?as(u,c/l):a==="auto"?c:a),{attributes:{width:u.toString(),height:m.toString(),viewBox:o.left.toString()+" "+o.top.toString()+" "+l.toString()+" "+c.toString()},body:s}}const ld=/\sid="(\S+)"/g,cd="IconifyId"+Date.now().toString(16)+(Math.random()*16777216|0).toString(16);let ud=0;function fd(e,t=cd){const n=[];let r;for(;r=ld.exec(e);)n.push(r[1]);return n.length&&n.forEach(o=>{const s=typeof t=="function"?t(o):t+(ud++).toString(),i=o.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+i+')([")]|\\.[a-z])',"g"),"$1"+s+"$3")}),e}const Br=Object.create(null);function dd(e,t){Br[e]=t}function Mr(e){return Br[e]||Br[""]}function go(e){let t;if(typeof e.resources=="string")t=[e.resources];else if(t=e.resources,!(t instanceof Array)||!t.length)return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:e.random===!0,index:e.index||0,dataAfterTimeout:e.dataAfterTimeout!==!1}}const vo=Object.create(null),tn=["https://api.simplesvg.com","https://api.unisvg.com"],$n=[];for(;tn.length>0;)tn.length===1||Math.random()>.5?$n.push(tn.shift()):$n.push(tn.pop());vo[""]=go({resources:["https://api.iconify.design"].concat($n)});function hd(e,t){const n=go(t);return n===null?!1:(vo[e]=n,!0)}function bo(e){return vo[e]}const pd=()=>{let e;try{if(e=fetch,typeof e=="function")return e}catch{}};let ls=pd();function md(e,t){const n=bo(e);if(!n)return 0;let r;if(!n.maxURL)r=0;else{let o=0;
10n.resources.forEach(i=>{o=Math.max(o,i.length)});const s=t+".json?icons=";r=n.maxURL-o-n.path.length-s.length}return r}function gd(e){return e===404}const vd=(e,t,n)=>{const r=[],o=md(e,t),s="icons";let i={type:s,provider:e,prefix:t,icons:[]},a=0;return n.forEach((l,c)=>{a+=l.length+1,a>=o&&c>0&&(r.push(i),i={type:s,provider:e,prefix:t,icons:[]},a=l.length),i.icons.push(l)}),r.push(i),r};function bd(e){if(typeof e=="string"){const t=bo(e);if(t)return t.path}return"/"}const wd=(e,t,n)=>{if(!ls){n("abort",424);return}let r=bd(t.provider);switch(t.type){case"icons":{const s=t.prefix,a=t.icons.join(","),l=new URLSearchParams({icons:a});r+=s+".json?"+l.toString();break}case"custom":{const s=t.uri;r+=s.slice(0,1)==="/"?s.slice(1):s;break}default:n("abort",400);return}let o=503;ls(e+r).then(s=>{const i=s.status;if(i!==200){setTimeout(()=>{n(gd(i)?"abort":"next",i)});return}return o=501,s.json()}).then(s=>{if(typeof s!="object"||s===null){setTimeout(()=>{n("next",o)});return}setTimeout(()=>{n("success",s)})}).catch(()=>{n("next",o)})},yd={prepare:vd,send:wd};function xd(e){const t={loaded:[],missing:[],pending:[]},n=Object.create(null);e.sort((o,s)=>o.provider!==s.provider?o.provider.localeCompare(s.provider):o.prefix!==s.prefix?o.prefix.localeCompare(s.prefix):o.name.localeCompare(s.name));let r={provider:"",prefix:"",name:""};return e.forEach(o=>{if(r.name===o.name&&r.prefix===o.prefix&&r.provider===o.provider)return;r=o;const s=o.provider,i=o.prefix,a=o.name,l=n[s]||(n[s]=Object.create(null)),c=l[i]||(l[i]=$t(s,i));let u;a in c.icons?u=t.loaded:i===""||c.missing.has(a)?u=t.missing:u=t.pending;const m={provider:s,prefix:i,name:a};u.push(m)}),t}function zi(e,t){e.forEach(n=>{const r=n.loaderCallbacks;r&&(n.loaderCallbacks=r.filter(o=>o.id!==t))})}function _d(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout(()=>{e.pendingCallbacksFlag=!1;const t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(!t.length)return;let n=!1;const r=e.provider,o=e.prefix;t.forEach(s=>{const i=s.icons,a=i.pending.length;i.pending=i.pending.filter(l=>{if(l.prefix!==o)return!0;const c=l.name;if(e.icons[c])i.loaded.push({provider:r,prefix:o,name:c});else if(e.missing.has(c))i.missing.push({provider:r,prefix:o,name:c});else return n=!0,!0;return!1}),i.pending.length!==a&&(n||zi([e],s.id),s.callback(i.loaded.slice(0),i.missing.slice(0),i.pending.slice(0),s.abort))})}))}let Sd=0;function Ed(e,t,n){const r=Sd++,o=zi.bind(null,n,r);if(!t.pending.length)return o;const s={id:r,icons:t,callback:e,abort:o};return n.forEach(i=>{(i.loaderCallbacks||(i.loaderCallbacks=[])).push(s)}),o}function Td(e,t=!0,n=!1){const r=[];return e.forEach(o=>{const s=typeof o=="string"?Qn(o,t,n):o;s&&r.push(s)}),r}var Ad={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function Id(e,t,n,r){const o=e.resources.length,s=e.random?Math.floor(Math.random()*o):e.index;let i;if(e.random){let w=e.resources.slice(0);for(i=[];w.length>1;){const R=Math.floor(Math.random()*w.length);i.push(w[R]),w=w.slice(0,R).concat(w.slice(R+1))}i=i.concat(w)}else i=e.resources.slice(s).concat(e.resources.slice(0,s));const a=Date.now();let l="pending",c=0,u,m=null,p=[],x=[];typeof r=="function"&&x.push(r);function g(){m&&(clearTimeout(m),m=null)}function v(){l==="pending"&&(l="aborted"),g(),p.forEach(w=>{w.status==="pending"&&(w.status="aborted")}),p=[]}function T(w,R){R&&(x=[]),typeof w=="function"&&x.push(w)}function S(){return{startTime:a,payload:t,status:l,queriesSent:c,queriesPending:p.length,subscribe:T,abort:v}}function _(){l="failed",x.forEach(w=>{w(void 0,u)})}function f(){p.forEach(w=>{w.status==="pending"&&(w.status="aborted")}),p=[]}function d(w,R,k){const M=R!=="success";switch(p=p.filter(U=>U!==w),l){case"pending":break;case"failed":if(M||!e.dataAfterTimeout)return;break;default:return}if(R==="abort"){u=k,_();return}if(M){u=k,p.length||(i.length?b():_());return}if(g(),f(),!e.random){const U=e.resources.indexOf(w.resource);U!==-1&&U!==e.index&&(e.index=U)}l="completed",x.forEach(U=>{U(k)})}function b(){if(l!=="pending")return;g();const w=i.shift();if(w===void 0){if(p.length){m=setTimeout(()=>{g(),l==="pending"&&(f(),_())},e.timeout);return}_();return}const R={status:"pending",resource:w,callback:(k,M)=>{d(R,k,M)}};p.push(R),c++,m=setTimeout(b,e.rotate),n(w,t,R.callback)}return setTimeout(b),S}function Vi(e){const t={...Ad,...e};let n=[];function r(){n=n.filter(a=>a().status==="pending")}function o(a,l,c){const u=Id(t,a,l,(m,p)=>{r(),c&&c(m,p)});return n.push(u),u}function s(a){return n.find(l=>a(l))||null}return{query:o,find:s,setIndex:a=>{t.index=a},getIndex:()=>t.index,cleanup:r}}function cs(){}const yr=Object.create(null);function Cd(e){if(!yr[e]){const t=bo(e);if(!t)return;const n=Vi(t),r={config:t,redundancy:n};yr[e]=r}return yr[e]}
10function Dd(e,t,n){let r,o;if(typeof e=="string"){const s=Mr(e);if(!s)return n(void 0,424),cs;o=s.send;const i=Cd(e);i&&(r=i.redundancy)}else{const s=go(e);if(s){r=Vi(s);const i=e.resources?e.resources[0]:"",a=Mr(i);a&&(o=a.send)}}return!r||!o?(n(void 0,424),cs):r.query(t,o,n)().abort}const us="iconify2",hn="iconify",Gi=hn+"-count",fs=hn+"-version",qi=36e5,Od=168;function Ur(e,t){try{return e.getItem(t)}catch{}}function wo(e,t,n){try{return e.setItem(t,n),!0}catch{}}function ds(e,t){try{e.removeItem(t)}catch{}}function jr(e,t){return wo(e,Gi,t.toString())}function Hr(e){return parseInt(Ur(e,Gi))||0}const er={local:!0,session:!0},Wi={local:new Set,session:new Set};let yo=!1;function Rd(e){yo=e}let An=typeof window=="undefined"?{}:window;function Yi(e){const t=e+"Storage";try{if(An&&An[t]&&typeof An[t].length=="number")return An[t]}catch{}er[e]=!1}function Ji(e,t){const n=Yi(e);if(!n)return;const r=Ur(n,fs);if(r!==us){if(r){const a=Hr(n);for(let l=0;l<a;l++)ds(n,hn+l.toString())}wo(n,fs,us),jr(n,0);return}const o=Math.floor(Date.now()/qi)-Od,s=a=>{const l=hn+a.toString(),c=Ur(n,l);if(typeof c=="string"){try{const u=JSON.parse(c);if(typeof u=="object"&&typeof u.cached=="number"&&u.cached>o&&typeof u.provider=="string"&&typeof u.data=="object"&&typeof u.data.prefix=="string"&&t(u,a))return!0}catch{}ds(n,l)}};let i=Hr(n);for(let a=i-1;a>=0;a--)s(a)||(a===i-1?(i--,jr(n,i)):Wi[e].add(a))}function Ki(){if(!yo){Rd(!0);for(const e in er)Ji(e,t=>{const n=t.data,r=t.provider,o=n.prefix,s=$t(r,o);if(!mo(s,n).length)return!1;const i=n.lastModified||-1;return s.lastModifiedCached=s.lastModifiedCached?Math.min(s.lastModifiedCached,i):i,!0})}}function $d(e,t){const n=e.lastModifiedCached;if(n&&n>=t)return n===t;if(e.lastModifiedCached=t,n)for(const r in er)Ji(r,o=>{const s=o.data;return o.provider!==e.provider||s.prefix!==e.prefix||s.lastModified===t});return!0}function Nd(e,t){yo||Ki();function n(r){let o;if(!er[r]||!(o=Yi(r)))return;const s=Wi[r];let i;if(s.size)s.delete(i=Array.from(s).shift());else if(i=Hr(o),!jr(o,i+1))return;const a={cached:Math.floor(Date.now()/qi),provider:e.provider,data:t};return wo(o,hn+i.toString(),JSON.stringify(a))}t.lastModified&&!$d(e,t.lastModified)||!Object.keys(t.icons).length||(t.not_found&&(t=Object.assign({},t),delete t.not_found),n("local")||n("session"))}function hs(){}function Fd(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout(()=>{e.iconsLoaderFlag=!1,_d(e)}))}function Pd(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout(()=>{e.iconsQueueFlag=!1;const{provider:n,prefix:r}=e,o=e.iconsToLoad;delete e.iconsToLoad;let s;if(!o||!(s=Mr(n)))return;
10s.prepare(n,r,o).forEach(a=>{Dd(n,a,(l,c)=>{if(typeof l!="object"){if(c!==404)return;a.icons.forEach(u=>{e.missing.add(u)})}else try{const u=mo(e,l);if(!u.length)return;const m=e.pendingIcons;m&&u.forEach(p=>{m.delete(p)}),Nd(e,l)}catch(u){console.error(u)}Fd(e)})})}))}const kd=(e,t)=>{const n=Td(e,!0,Ui()),r=xd(n);if(!r.pending.length){let l=!0;return t&&setTimeout(()=>{l&&t(r.loaded,r.missing,r.pending,hs)}),()=>{l=!1}}const o=Object.create(null),s=[];let i,a;return r.pending.forEach(l=>{const{provider:c,prefix:u}=l;if(u===a&&c===i)return;i=c,a=u,s.push($t(c,u));const m=o[c]||(o[c]=Object.create(null));m[u]||(m[u]=[])}),r.pending.forEach(l=>{const{provider:c,prefix:u,name:m}=l,p=$t(c,u),x=p.pendingIcons||(p.pendingIcons=new Set);x.has(m)||(x.add(m),o[c][u].push(m))}),s.forEach(l=>{const{provider:c,prefix:u}=l;o[c][u].length&&Pd(l,o[c][u])}),t?Ed(t,r,s):hs};function Ld(e,t){const n={...e};for(const r in t){const o=t[r],s=typeof o;r in ji?(o===null||o&&(s==="string"||s==="number"))&&(n[r]=o):s===typeof n[r]&&(n[r]=r==="rotate"?o%4:o)}return n}const Bd=/[\s,]+/;function Md(e,t){t.split(Bd).forEach(n=>{switch(n.trim()){case"horizontal":e.hFlip=!0;break;case"vertical":e.vFlip=!0;break}})}function Ud(e,t=0){const n=e.replace(/^-?[0-9.]*/,"");function r(o){for(;o<0;)o+=4;return o%4}if(n===""){const o=parseInt(e);return isNaN(o)?0:r(o)}else if(n!==e){let o=0;switch(n){case"%":o=25;break;case"deg":o=90}if(o){let s=parseFloat(e.slice(0,e.length-n.length));return isNaN(s)?0:(s=s/o,s%1===0?r(s):0)}}return t}function jd(e,t){let n=e.indexOf("xlink:")===-1?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(const r in t)n+=" "+r+'="'+t[r]+'"';return'<svg xmlns="http://www.w3.org/2000/svg"'+n+">"+e+"</svg>"}function Hd(e){return e.replace(/"/g,"'").replace(/%/g,"%25").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/\s+/g," ")}function zd(e){return'url("data:image/svg+xml,'+Hd(e)+'")'}const ps={...Hi,inline:!1},Vd={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink","aria-hidden":!0,role:"img"},Gd={display:"inline-block"},zr={backgroundColor:"currentColor"},Zi={backgroundColor:"transparent"},ms={Image:"var(--svg)",Repeat:"no-repeat",Size:"100% 100%"},gs={webkitMask:zr,mask:zr,background:Zi};for(const e in gs){const t=gs[e];for(const n in ms)t[e+n]=ms[n]}const Nn={};["horizontal","vertical"].forEach(e=>{const t=e.slice(0,1)+"Flip";Nn[e+"-flip"]=t,Nn[e.slice(0,1)+"-flip"]=t,Nn[e+"Flip"]=t});function vs(e){return e+(e.match(/^[-0-9.]+$/)?"px":"")}const bs=(e,t)=>{const n=Ld(ps,t),r={...Vd},o=t.mode||"svg",s={},i=t.style,a=typeof i=="object"&&!(i instanceof Array)?i:{};for(let v in t){const T=t[v];if(T!==void 0)switch(v){case"icon":case"style":case"onLoad":case"mode":break;case"inline":case"hFlip":case"vFlip":n[v]=T===!0||T==="true"||T===1;break;case"flip":typeof T=="string"&&Md(n,T);break;case"color":s.color=T;break;case"rotate":typeof T=="string"?n[v]=Ud(T):typeof T=="number"&&(n[v]=T);break;case"ariaHidden":case"aria-hidden":T!==!0&&T!=="true"&&delete r["aria-hidden"];break;default:{const S=Nn[v];S?(T===!0||T==="true"||T===1)&&(n[S]=!0):ps[v]===void 0&&(r[v]=T)}}}const l=ad(e,n),c=l.attributes;if(n.inline&&(s.verticalAlign="-0.125em"),o==="svg"){r.style={...s,...a},Object.assign(r,c);let v=0,T=t.id;return typeof T=="string"&&(T=T.replace(/-/g,"_")),r.innerHTML=fd(l.body,T?()=>T+"ID"+v++:"iconifyVue"),ye("svg",r)}const{body:u,width:m,height:p}=e,x=o==="mask"||(o==="bg"?!1:u.indexOf("currentColor")!==-1),g=jd(u,{...c,width:m+"",height:p+""});return r.style={...s,"--svg":zd(g),width:vs(c.width),height:vs(c.height),...Gd,...x?zr:Zi,...a},ye("span",r)};Ui(!0);dd("",yd);if(typeof document!="undefined"&&typeof window!="undefined"){Ki();const e=window;if(e.IconifyPreload!==void 0){const t=e.IconifyPreload,n="Invalid IconifyPreload syntax.";typeof t=="object"&&t!==null&&(t instanceof Array?t:[t]).forEach(r=>{try{(typeof r!="object"||r===null||r instanceof Array||typeof r.icons!="object"||typeof r.prefix!="string"||!od(r))&&console.error(n)}catch{console.error(n)}})}if(e.IconifyProviders!==void 0){const t=e.IconifyProviders;if(typeof t=="object"&&t!==null)for(let n in t){const r="IconifyProviders["+n+"] is invali
10d.";try{const o=t[n];if(typeof o!="object"||!o||o.resources===void 0)continue;hd(n,o)||console.error(r)}catch{console.error(r)}}}}const qd={...Xn,body:""},ft=Se({inheritAttrs:!1,data(){return{iconMounted:!1,counter:0}},mounted(){this._name="",this._loadingIcon=null,this.iconMounted=!0},unmounted(){this.abortLoading()},methods:{abortLoading(){this._loadingIcon&&(this._loadingIcon.abort(),this._loadingIcon=null)},getIcon(e,t){if(typeof e=="object"&&e!==null&&typeof e.body=="string")return this._name="",this.abortLoading(),{data:e};let n;if(typeof e!="string"||(n=Qn(e,!1,!0))===null)return this.abortLoading(),null;const r=nd(n);if(!r)return(!this._loadingIcon||this._loadingIcon.name!==e)&&(this.abortLoading(),this._name="",r!==null&&(this._loadingIcon={name:e,abort:kd([n],()=>{this.counter++})})),null;this.abortLoading(),this._name!==e&&(this._name=e,t&&t(e));const o=["iconify"];return n.prefix!==""&&o.push("iconify--"+n.prefix),n.provider!==""&&o.push("iconify--"+n.provider),{data:r,classes:o}}},render(){this.counter;const e=this.$attrs,t=this.iconMounted?this.getIcon(e.icon,e.onLoad):null;if(!t)return bs(qd,e);let n=e;return t.classes&&(n={...e,class:(typeof e.class=="string"?e.class+" ":"")+t.classes.join(" ")}),bs({...Xn,...t.data},n)}}),Qi={width:256,height:145,body:'<path fill="#3DDC84" d="m190.736 43.58l21.305-36.927a4.443 4.443 0 0 0-1.623-6.06a4.436 4.436 0 0 0-6.055 1.625l-21.57 37.395C166.294 32.079 147.768 27.882 128 27.882s-38.297 4.197-54.792 11.731L51.637 2.217A4.437 4.437 0 0 0 45.581.593a4.44 4.44 0 0 0-1.622 6.06L65.264 43.58C28.681 63.494 3.66 100.56 0 144.35h256c-3.663-43.79-28.685-80.856-65.264-100.77m-3.921 42.95c5.828 0 10.568 4.829 10.568 10.764c0 5.937-4.74 10.769-10.568 10.769c-5.826 0-10.566-4.832-10.566-10.769c0-5.935 4.74-10.764 10.566-10.764Zm-117.631 0c5.826 0 10.567 4.829 10.567 10.764c0 5.937-4.741 10.769-10.567 10.769c-5.828 0-10.567-4.832-10.567-10.769c0-5.935 4.74-10.764 10.567-10.764Z"/>'},Xi={width:256,height:257,body:'<path fill="#00ADEF" d="M0 36.357L104.62 22.11l.045 100.914l-104.57.595L0 36.358Zm104.57 98.293l.08 101.002L.081 221.275l-.006-87.302l104.494.677Zm12.682-114.405L255.968 0v121.74l-138.716 1.1V20.246ZM256 135.6l-.033 121.191l-138.716-19.578l-.194-101.84L256 135.6Z"/>'},ea={width:256,height:295,body:'<defs><linearGradient id="svgIDb" x1="48.548%" x2="51.047%" y1="115.276%" y2="41.364%"><stop offset="0%" stop-color="#FFEED7"/><stop offset="100%" stop-color="#BDBFC2"/></linearGradient><linearGradient id="svgIDc" x1="54.407%" x2="46.175%" y1="2.404%" y2="90.542%"><stop offset="0%" stop-color="#FFF" stop-opacity=".8"/><stop offset="100%" stop-color="#FFF" stop-opacity="0"/></linearGradient><linearGradient id="svgIDd" x1="51.86%" x2="47.947%" y1="88.248%" y2="9.748%"><stop offset="0%" stop-color="#FFEED7"/><stop offset="100%" stop-color="#BDBFC2"/></linearGradient><linearGradient id="svgIDe" x1="49.925%" x2="49.924%" y1="85.49%" y2="13.811%"><stop offset="0%" stop-color="#FFEED7"/><stop offset="100%" stop-color="#BDBFC2"/></linearGradient><linearGradient id="svgIDf" x1="53.901%" x2="45.956%" y1="3.102%" y2="93.895%"><stop offset="0%" stop-color="#FFF" stop-opacity=".65"/><stop offset="100%" stop-color="#FFF" stop-opacity="0"/></linearGradient><linearGradient id="svgIDg" x1="45.593%" x2="54.811%" y1="5.475%" y2="93.524%"><stop offset="0%" stop-color="#FFF" stop-opacity=".65"/><stop offset="100%" stop-color="#FFF" stop-opacity="0"/></linearGradient><linearGradient id="svgIDh" x1="49.984%" x2="49.984%" y1="89.845%" y2="40.632%"><stop offset="0%" stop-color="#FFEED7"/><stop offset="100%" stop-color="#BDBFC2"/></linearGradient><linearGradient id="svgIDi" x1="53.505%" x2="42.746%" y1="99.975%" y2="23.545%"><stop offset="0%" stop-color="#FFEED7"/><stop offset="100%" stop-color="#BDBFC2"/></linearGradient><linearGradient id="svgIDj" x1="49.841%" x2="50.241%" y1="13.229%" y2="94.673%"><stop offset="0%" stop-color="#FFF" stop-opacity=".8"/><stop offset="100%" stop-color="#FFF" stop-opacity="0"/></linearGradient><linearGradient id="svgIDk" x1="49.927%" x2="50.727%" y1="37.327%" y2="92.782%"><stop offset="0%" stop-color="#FFF" stop-opacity=".65"/><stop offset="100%" stop-color="#FFF" stop-opacity="0"/></linearGradient><linearGradient id="svgIDl" x1="49.876%" x2="49.876%" y1="2.299%" y2="81.204%"><stop offset="0%" stop-color="#FFF" stop-opacity=".65"/><stop offset="100%" stop-color="#FFF" stop-opacity="0"/></linearGradient><linearGradient id="svgIDm" x1="49.833%" x2="49.824%" y1="2.272%" y2="71.799%"><stop offset="0%" stop-color="#FFF" stop-opacity=".65"/><stop offset="100%" stop-color="#FFF" stop-opacity="0"/></linearGradient><linearGradient id="svgIDn" x1="53.467%" x2="38.949%" y1="48.921%" y2="98.1%"><stop offset="0%" stop-color="#FFA63F"/><stop offset="100%" stop-color="#FF0"/></linearGradient><linearGradient id="svgIDo" x1="52.373%" x2="47.579%" y1="143.009%" y2="-64.622%"><stop offset="0%" stop-color="#FFEED7"/><stop offset="100%" stop-color="#BDBFC2"/></linearGradient><linearGradient id="svgIDp" x1="30.581%" x2="65.887%" y1="34.024%" y2="89.175%"><stop offset="0%" stop-color="#FFA63F"/><stop offset="100%" stop-color="#FF0"/></linearGradient><linearGradient id="svgIDq" x1="59.572%" x2="48.361%" y1="-17.216%" y2="66.118%"><stop offset="0%" stop-color="#FFF" stop-opacity=".65"/><stop offset="100%" stop-color="#FFF" stop-opacity="0"/></linearGradient><linearGradient id="svgIDr" x1="47.769%" x2="51.373%" y1="1.565%" y2="
10104.313%"><stop offset="0%" stop-color="#FFF" stop-opacity=".65"/><stop offset="100%" stop-color="#FFF" stop-opacity="0"/></linearGradient><linearGradient id="svgIDs" x1="43.55%" x2="57.114%" y1="4.533%" y2="92.827%"><stop offset="0%" stop-color="#FFF" stop-opacity=".65"/><stop offset="100%" stop-color="#FFF" stop-opacity="0"/></linearGradient><linearGradient id="svgIDt" x1="49.733%" x2="50.558%" y1="17.609%" y2="99.385%"><stop offset="0%" stop-color="#FFA63F"/><stop offset="100%" stop-color="#FF0"/></linearGradient><linearGradient id="svgIDu" x1="50.17%" x2="49.68%" y1="2.89%" y2="94.17%"><stop offset="0%" stop-color="#FFF" stop-opacity=".65"/><stop offset="100%" stop-color="#FFF" stop-opacity="0"/></linearGradient><filter id="svgIDa" width="200%" height="200%" x="-50%" y="-50%" filterUnits="objectBoundingBox"><feOffset in="SourceAlpha" result="shadowOffsetOuter1"/><feGaussianBlur in="shadowOffsetOuter1" result="shadowBlurOuter1" stdDeviation="6.5"/></filter></defs><g fill="none"><path fill="#000" fill-opacity=".2" d="M235.125 249.359c0 17.355-52.617 31.497-117.54 31.497S.044 266.806.044 249.359c0-17.356 52.618-31.498 117.54-31.498c64.924 0 117.45 14.142 117.541 31.498Z" filter="url(#svgIDa)" transform="translate(10)"/><path fill="#000" d="M63.213 215.474c-11.387-16.346-13.591-69.606 12.947-102.39C89.292 97.383 92.69 86.455 93.7 71.67c.734-16.805-11.846-66.851 35.537-70.616c48.027-3.857 45.364 43.526 45.088 68.596c-.183 21.12 15.52 33.15 26.355 49.68c19.927 30.303 18.274 82.461-3.765 110.745c-27.916 35.354-51.791 20.018-67.678 21.304c-29.752 1.745-30.762 17.54-66.024-35.905Z"/><path fill="url(#svgIDb)" d="M169.1 122.451c8.265 7.622 29.661 41.69-4.224 62.995c-11.937 7.438 10.653 35.721 21.488 22.039c19.193-24.61 6.98-63.913-4.591-77.963c-7.714-9.917-19.651-13.774-12.672-7.07Z" transform="translate(10)"/><path fill="#000" stroke="#000" stroke-width=".977" d="M176.805 117.86c13.59 11.02 38.292 49.587 2.204 74.748c-11.846 7.806 10.468 32.508 23.049 19.927c43.618-43.894-1.102-94.308-16.53-111.664c-13.774-15.151-25.987 3.49-8.723 16.989Z"/><path fill="url(#svgIDc)" d="M147.245 25.02c-.459 12.581-14.325 23.51-30.946 24.52c-16.621 1.01-29.66-8.54-29.202-21.121c.46-12.581 14.326-23.509 30.947-24.519c16.62-.918 29.66 8.54 29.201 21.12Z" transform="translate(10)"/><path fill="url(#svgIDd)" d="M107.483 54.957c.46 8.173-3.397 15.06-8.723 15.335c-5.326.276-10.01-6.06-10.469-14.233c-.459-8.173 3.398-15.06 8.724-15.335c5.326-.276 10.01 6.06 10.468 14.233Z" transform="translate(10)"/><path fill="url(#svgIDe)" d="M117.125 55.6c.184 9.458 6.337 16.988 13.683 16.805c7.346-.184 13.131-7.99 12.948-17.54c-.184-9.458-6.336-16.988-13.683-16.804c-7.346.183-13.223 8.08-12.948 17.539Z" transform="translate(10)"/><path fill="#000" d="M133.186 57.712c-.092 5.234 2.48 9.458 5.877 9.458c3.306 0 6.153-4.224 6.245-9.366c.091-5.234-2.48-9.459-5.878-9.459c-3.397 0-6.152 4.225-6.244 9.367Zm-21.212.092c.459 4.316-1.194 7.989-3.582 8.356c-2.387.276-4.683-2.938-5.142-7.254c-.46-4.316 1.194-7.99 3.581-8.357c2.388-.275 4.684 2.939 5.143 7.255Z"/><path fill="url(#svgIDf)" d="M124.564 54.773c-.276 2.939 1.102 5.326 3.03 5.51c1.928.184 3.765-2.112 4.04-4.959c.276-2.938-1.102-5.326-3.03-5.51c-1.928-.183-3.765 2.113-4.04 4.96Z" transform="translate(10)"/><path fill="url(#svgIDg)" d="M99.953 55.508c.276 2.388-.734 4.5-2.203 4.683c-1.47.184-2.847-1.653-3.123-4.132c-.275-2.388.735-4.5 2.204-4.683c1.47-.184 2.847 1.744 3.122 4.132Z" transform="translate(10)"/><path fill="url(#svgIDh)" d="M71.027 145.684c6.52-14.785 20.386-40.772 20.662-60.883c0-15.978 47.843-19.835 51.7-3.856c3.856 15.978 13.59 39.853 19.834 51.424c6.245 11.478 24.335 48.118 5.051 80.074c-17.356 28.284-69.973 50.69-98.073-3.856c-9.55-18.917-7.806-42.333.826-62.903Z" transform="translate(10)"/><path fill="url(#svgIDi)" d="M65.15 134.664c-5.601 10.56-17.172 38.293 11.112 53.445c30.395 16.162 30.303 49.312-6.245 33.517c-33.425-14.233-18.641-71.902-9.274-85.676c6.06-9.642 15.243-21.488 4.407-1.286Z" transform="translate(10)"/><path fill="#000" stroke="#000" stroke-width="1.25" d="M79.925 122.727c-8.907 14.509-30.211 48.669-1.652 66.484c38.384 23.6 27.548 47.108-7.53 25.895c-49.404-29.568-5.97-89.257 13.774-112.03c22.59-25.529 4.316 4.683-4.592 19.65Z"/><path fill="url(#svgIDj)" d="M156.428 151.285c0 16.162-15.519 37.1-42.15 36.916c-27.456.183-39.118-20.754-39.118-36.916c0-16.161 18.182-29.293 40.588-29.293c22.498.092 40.68 13.132 40.68 29.293Z" transform="translate(10)"/><path fill="url(#svgIDk)" d="M141.92 100.504c-.276 16.713-11.204 20.662-24.978 20.662c-13.775 0-23.784-2.48-24.978-20.662c0-11.387 11.203-17.998 24.978-17.998c13.774-.092 24.977 6.52 24.977 17.998Z" transform="translate(10)"/><path fill="url(#svgIDl)" d="M58.63 126.216c9-13.682 28.008-34.711 3.582 2.939c-19.835 31.038-7.346 50.965-.918 56.474c18.549 16.53 17.814 27.64 3.214 18.917c-31.314-18.641-24.794-50.047-5.878-78.33Z" transform="translate(10)"/><path fill="url(#svgIDm)" d="M188.936 131.818c-7.806-16.07-32.6-56.842 1.193-9.459c30.763 42.884 9.183 72.729 5.326 75.667c-3.856 2.939-16.804 8.908-13.04-1.469c3.858-10.377 22.958-30.028 6.52-64.74Z" transform="translate(10)"/><path fill="url(#svgIDn)" stroke="#E68C3F" stroke-width="6.25" d="M51.835 258.542c-20.57-10.928-50.414 2.112-39.578-27.457c2.204-6.704-3.214-16.805.275-23.325c4.133-7.989 13.04-6.244 18.366-11.57c5.234-5.51 8.54-15.06 18.366-13.59c9.734 1.468 16.254 13.406 23.049 28.099c5.05 10.468 22.865 25.253 21.672 37.
10007c-1.47 17.998-21.948 21.396-42.15 10.836Z" transform="translate(10)"/><path fill="url(#svgIDo)" d="M201.608 189.119c-3.122 5.877-16.162 15.335-24.886 12.856c-8.815-2.388-12.856-15.795-11.111-25.988c1.653-11.386 11.111-12.03 23.05-6.336c12.855 6.336 16.712 11.662 12.947 19.468Z" transform="translate(10)"/><path fill="url(#svgIDp)" stroke="#E68C3F" stroke-width="6.251" d="M194.445 253.49c15.06-18.273 48.578-14.508 25.988-39.577c-4.775-5.418-3.306-16.989-9.183-21.947c-6.887-6.061-14.509-1.102-21.488-4.224c-6.979-3.398-14.325-9.918-22.865-5.327c-8.54 4.684-9.459 16.805-10.285 32.783c-.735 11.479-11.203 30.671-5.602 41.231c8.081 16.346 29.11 14.142 43.435-2.938Z" transform="translate(10)"/><path fill="url(#svgIDq)" d="M187.925 229.064c23.325-34.435 5.97-34.16.092-36.823c-5.877-2.755-12.03-8.173-18.916-4.408c-6.888 3.857-7.255 13.775-7.439 26.814c-.275 9.367-8.08 25.07-3.397 33.793c5.693 10.193 19.467-4.591 29.66-19.376Z" transform="translate(10)"/><path fill="url(#svgIDr)" d="M47.06 234.023c-34.895-22.59-18.55-30.303-13.315-33.885c6.336-4.591 6.428-13.407 14.233-12.58c7.806.826 12.397 10.468 17.631 22.406c3.857 8.54 17.264 19.927 16.254 29.753c-1.285 11.57-19.743 3.948-34.803-5.694Z" transform="translate(10)"/><path fill="#000" d="M209.588 188.843c-2.755 4.776-13.958 12.306-21.396 10.285c-7.622-1.928-11.112-12.672-9.55-20.753c1.377-9.183 9.55-9.642 19.834-5.05c10.928 4.958 14.326 9.182 11.112 15.518Z"/><path fill="url(#svgIDs)" d="M192.058 186.18c-1.745 3.306-9.091 8.54-14.234 7.163c-5.142-1.377-7.713-8.815-6.887-14.417c.735-6.336 6.244-6.704 13.223-3.581c7.53 3.49 9.918 6.428 7.898 10.835Z" transform="translate(10)"/><path fill="url(#svgIDt)" stroke="#E68C3F" stroke-width="3.75" d="M97.107 66.344c3.673-3.398 12.58-13.774 29.477-2.939c3.122 2.02 5.693 2.204 11.662 4.775c12.03 4.96 6.336 16.897-6.52 20.937c-5.51 1.745-10.468 8.449-20.386 7.806c-8.54-.46-10.744-6.06-15.978-9.091c-9.275-5.234-10.652-12.305-5.602-16.07c5.051-3.765 6.98-5.143 7.347-5.418Z" transform="translate(10)"/><path stroke="#E68C3F" stroke-width="2.5" d="M148.43 75.986c-5.05.275-15.979 11.203-27.457 11.203c-11.479 0-18.366-10.652-20.11-10.652"/><path fill="url(#svgIDu)" d="M102.8 65.426c1.837-1.653 7.622-6.153 15.244-1.562c1.653.919 3.306 1.929 5.693 3.306c4.867 2.847 2.48 6.98-3.398 9.55c-2.663 1.102-7.07 3.49-10.376 3.306c-3.673-.367-6.153-2.755-8.54-4.316c-4.5-2.938-4.224-5.418-2.112-7.346c1.56-1.47 3.305-2.847 3.49-2.938Z" transform="translate(10)"/></g>'},ta={width:256,height:315,body:'<path d="M213.803 167.03c.442 47.58 41.74 63.413 42.197 63.615c-.35 1.116-6.599 22.563-21.757 44.716c-13.104 19.153-26.705 38.235-48.13 38.63c-21.05.388-27.82-12.483-51.888-12.483c-24.061 0-31.582 12.088-51.51 12.871c-20.68.783-36.428-20.71-49.64-39.793c-27-39.033-47.633-110.3-19.928-158.406c13.763-23.89 38.36-39.017 65.056-39.405c20.307-.387 39.475 13.662 51.889 13.662c12.406 0 35.699-16.895 60.186-14.414c10.25.427 39.026 4.14 57.503 31.186c-1.49.923-34.335 20.044-33.978 59.822M174.24 50.199c10.98-13.29 18.369-31.79 16.353-50.199c-15.826.636-34.962 10.546-46.314 23.828c-10.173 11.763-19.082 30.589-16.678 48.633c17.64 1.365 35.66-8.964 46.64-22.262"/>'},Wd={width:24,height:24,body:'<g fill="none"><g clip-path="url(#svgIDa)"><path fill="currentColor" fill-rule="evenodd" d="M12 0C5.37 0 0 5.37 0 12c0 5.31 3.435 9.795 8.205 11.385c.6.105.825-.255.825-.57c0-.285-.015-1.23-.015-2.235c-3.015.555-3.795-.735-4.035-1.41c-.135-.345-.72-1.41-1.23-1.695c-.42-.225-1.02-.78-.015-.795c.945-.015 1.62.87 1.845 1.23c1.08 1.815 2.805 1.305 3.495.99c.105-.78.42-1.305.765-1.605c-2.67-.3-5.46-1.335-5.46-5.925c0-1.305.465-2.385 1.23-3.225c-.12-.3-.54-1.53.12-3.18c0 0 1.005-.315 3.3 1.23c.96-.27 1.98-.405 3-.405s2.04.135 3 .405c2.295-1.56 3.3-1.23 3.3-1.23c.66 1.65.24 2.88.12 3.18c.765.84 1.23 1.905 1.23 3.225c0 4.605-2.805 5.625-5.475 5.925c.435.375.81 1.095.81 2.22c0 1.605-.015 2.895-.015 3.3c0 .315.225.69.825.57A12.02 12.02 0 0 0 24 12c0-6.63-5.37-12-12-12Z" clip-rule="evenodd"/></g><defs><clipPath id="svgIDa"><path fill="#fff" d="M0 0h24v24H0z"/></clipPath></defs></g>'},Yd={width:256,height:274,body:'<path fill="#FFD900" d="M188.813 178.875c32.46-17.823 57.067-31.404 59.188-32.46c6.785-3.608 13.792-13.158 0-20.576c-4.453-2.333-28.428-15.491-59.188-32.46l-42.642 43.065l42.642 42.43Z"/><path fill="#F43249" d="M146.171 136.444L10.394 273.287c3.187.422 6.785-.423 11.027-2.755c8.906-4.875 103.318-56.434 167.392-91.647l-42.642-42.441Z"/><path fill="#00EE76" d="m146.171 136.444l42.642-42.853S30.971 7.45 21.421 2.365C17.823.234 13.791-.399 10.183.234l135.988 136.21Z"/><path fill="#00D3FF" d="M146.171 136.444L10.183.234C4.664 1.51 0 6.386 0 16.358v240.805c0 9.127 3.609 15.701 10.394 16.335l135.777-137.054Z"/>'};function Vr(e=0,t,n=!1){var i;let r=(i=Gr[e])==null?void 0:i.file,o;n?o=t&&(t>0?t:r.size)||0:o=t&&(t>0?t:r.size)||r.size;let s;switch(o){case o<1024:return`${o}B`;case 1024<=o<1024*1024:return s=(o/1024).toFixed(2),`${s}KB`;default:return s=(o/1024/1024).toFixed(2),`${s}MB`}}var na={exports:{}};(function(e,t){(function(n,r){r()})(Je,function(){function n(c,u){return typeof u=="undefined"?u={autoBom:!1}:typeof u!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),u={autoBom:!u}),u.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(c.type)?new Blob(["\uFEFF",c],{type:c.type}):c}function r(c,u,m){var p=new XMLHttpRequest;p.open("GET",c),p.responseType="blob",p.onload=function(){l(p.response,u,m)},p.onerror=function(){console.error("could not download file")},p.send()}function o(c){var u=new XMLHttpRequest;u.open("HEAD",c,!1);try{u.send()}catch{}return 200<=u.status&&299>=u.status}function s(c){try{c.dispatchEvent(new MouseEvent("click"))}catch{var u=document.createEvent("MouseEvents");
10u.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),c.dispatchEvent(u)}}var i=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof Je=="object"&&Je.global===Je?Je:void 0,a=i.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),l=i.saveAs||(typeof window!="object"||window!==i?function(){}:"download"in HTMLAnchorElement.prototype&&!a?function(c,u,m){var p=i.URL||i.webkitURL,x=document.createElement("a");u=u||c.name||"download",x.download=u,x.rel="noopener",typeof c=="string"?(x.href=c,x.origin===location.origin?s(x):o(x.href)?r(c,u,m):s(x,x.target="_blank")):(x.href=p.createObjectURL(c),setTimeout(function(){p.revokeObjectURL(x.href)},4e4),setTimeout(function(){s(x)},0))}:"msSaveOrOpenBlob"in navigator?function(c,u,m){if(u=u||c.name||"download",typeof c!="string")navigator.msSaveOrOpenBlob(n(c,m),u);else if(o(c))r(c,u,m);else{var p=document.createElement("a");p.href=c,p.target="_blank",setTimeout(function(){s(p)})}}:function(c,u,m,p){if(p=p||open("","_blank"),p&&(p.document.title=p.document.body.innerText="downloading..."),typeof c=="string")return r(c,u,m);var x=c.type==="application/octet-stream",g=/constructor/i.test(i.HTMLElement)||i.safari,v=/CriOS\/[\d]+/.test(navigator.userAgent);if((v||x&&g||a)&&typeof FileReader!="undefined"){var T=new FileReader;T.onloadend=function(){var f=T.result;f=v?f:f.replace(/^data:[^;]*;/,"data:attachment/file;"),p?p.location.href=f:location=f,p=null},T.readAsDataURL(c)}else{var S=i.URL||i.webkitURL,_=S.createObjectURL(c);p?p.location=_:location.href=_,p=null,setTimeout(function(){S.revokeObjectURL(_)},4e4)}});i.saveAs=l.saveAs=l,e.exports=l})})(na);var Jd=na.exports,ra={exports:{}};(function(e,t){(function(n){e.exports=n()})(function(n){var r=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function o(S,_){var f=S[0],d=S[1],b=S[2],w=S[3];f+=(d&b|~d&w)+_[0]-680876936|0,f=(f<<7|f>>>25)+d|0,w+=(f&d|~f&b)+_[1]-389564586|0,w=(w<<12|w>>>20)+f|0,b+=(w&f|~w&d)+_[2]+606105819|0,b=(b<<17|b>>>15)+w|0,d+=(b&w|~b&f)+_[3]-1044525330|0,d=(d<<22|d>>>10)+b|0,f+=(d&b|~d&w)+_[4]-176418897|0,f=(f<<7|f>>>25)+d|0,w+=(f&d|~f&b)+_[5]+1200080426|0,w=(w<<12|w>>>20)+f|0,b+=(w&f|~w&d)+_[6]-1473231341|0,b=(b<<17|b>>>15)+w|0,d+=(b&w|~b&f)+_[7]-45705983|0,d=(d<<22|d>>>10)+b|0,f+=(d&b|~d&w)+_[8]+1770035416|0,f=(f<<7|f>>>25)+d|0,w+=(f&d|~f&b)+_[9]-1958414417|0,w=(w<<12|w>>>20)+f|0,b+=(w&f|~w&d)+_[10]-42063|0,b=(b<<17|b>>>15)+w|0,d+=(b&w|~b&f)+_[11]-1990404162|0,d=(d<<22|d>>>10)+b|0,f+=(d&b|~d&w)+_[12]+1804603682|0,f=(f<<7|f>>>25)+d|0,w+=(f&d|~f&b)+_[13]-40341101|0,w=(w<<12|w>>>20)+f|0,b+=(w&f|~w&d)+_[14]-1502002290|0,b=(b<<17|b>>>15)+w|0,d+=(b&w|~b&f)+_[15]+1236535329|0,d=(d<<22|d>>>10)+b|0,f+=(d&w|b&~w)+_[1]-165796510|0,f=(f<<5|f>>>27)+d|0,w+=(f&b|d&~b)+_[6]-1069501632|0,w=(w<<9|w>>>23)+f|0,b+=(w&d|f&~d)+_[11]+643717713|0,b=(b<<14|b>>>18)+w|0,d+=(b&f|w&~f)+_[0]-373897302|0,d=(d<<20|d>>>12)+b|0,f+=(d&w|b&~w)+_[5]-701558691|0,f=(f<<5|f>>>27)+d|0,w+=(f&b|d&~b)+_[10]+38016083|0,w=(w<<9|w>>>23)+f|0,b+=(w&d|f&~d)+_[15]-660478335|0,b=(b<<14|b>>>18)+w|0,d+=(b&f|w&~f)+_[4]-405537848|0,d=(d<<20|d>>>12)+b|0,f+=(d&w|b&~w)+_[9]+568446438|0,f=(f<<5|f>>>27)+d|0,w+=(f&b|d&~b)+_[14]-1019803690|0,w=(w<<9|w>>>23)+f|0,b+=(w&d|f&~d)+_[3]-187363961|0,b=(b<<14|b>>>18)+w|0,d+=(b&f|w&~f)+_[8]+1163531501|0,d=(d<<20|d>>>12)+b|0,f+=(d&w|b&~w)+_[13]-1444681467|0,f=(f<<5|f>>>27)+d|0,w+=(f&b|d&~b)+_[2]-51403784|0,w=(w<<9|w>>>23)+f|0,b+=(w&d|f&~d)+_[7]+1735328473|0,b=(b<<14|b>>>18)+w|0,d+=(b&f|w&~f)+_[12]-1926607734|0,d=(d<<20|d>>>12)+b|0,f+=(d^b^w)+_[5]-378558|0,f=(f<<4|f>>>28)+d|0,w+=(f^d^b)+_[8]-2022574463|0,w=(w<<11|w>>>21)+f|0,b+=(w^f^d)+_[11]+1839030562|0,b=(b<<16|b>>>16)+w|0,d+=(b^w^f)+_[14]-35309556|0,d=(d<<23|d>>>9)+b|0,f+=(d^b^w)+_[1]-1530992060|0,f=(f<<4|f>>>28)+d|0,w+=(f^d^b)+_[4]+1272893353|0,w=(w<<11|w>>>21)+f|0,b+=(w^f^d)+_[7]-155497632|0,b=(b<<16|b>>>16)+w|0,d+=(b^w^f)+_[10]-1094730640|0,d=(d<<23|d>>>9)+b|0,f+=(d^b^w)+_[13]+681279174|0,f=(f<<4|f>>>28)+d|0,w+=(f^d^b)+_[0]-358537222|0,w=(w<<11|w>>>21)+f|0,b+=(w^f^d)+_[3]-722521979|0,b=(b<<16|b>>>16)+w|0,d+=(b^w^f)+_[6]+76029189|0,d=(d<<23|d>>>9)+b|0,f+=(d^b^w)+_[9]-640364487|0,f=(f<<4|f>>>28)+d|0,w+=(f^d^b)+_[12]-421815835|0,w=(w<<11|w>>>21)+f|0,b+=(w^f^d)+_[15]+530742520|0,b=(b<<16|b>>>16)+w|0,d+=(b^w^f)+_[2]-995338651|0,d=(d<<23|d>>>
109)+b|0,f+=(b^(d|~w))+_[0]-198630844|0,f=(f<<6|f>>>26)+d|0,w+=(d^(f|~b))+_[7]+1126891415|0,w=(w<<10|w>>>22)+f|0,b+=(f^(w|~d))+_[14]-1416354905|0,b=(b<<15|b>>>17)+w|0,d+=(w^(b|~f))+_[5]-57434055|0,d=(d<<21|d>>>11)+b|0,f+=(b^(d|~w))+_[12]+1700485571|0,f=(f<<6|f>>>26)+d|0,w+=(d^(f|~b))+_[3]-1894986606|0,w=(w<<10|w>>>22)+f|0,b+=(f^(w|~d))+_[10]-1051523|0,b=(b<<15|b>>>17)+w|0,d+=(w^(b|~f))+_[1]-2054922799|0,d=(d<<21|d>>>11)+b|0,f+=(b^(d|~w))+_[8]+1873313359|0,f=(f<<6|f>>>26)+d|0,w+=(d^(f|~b))+_[15]-30611744|0,w=(w<<10|w>>>22)+f|0,b+=(f^(w|~d))+_[6]-1560198380|0,b=(b<<15|b>>>17)+w|0,d+=(w^(b|~f))+_[13]+1309151649|0,d=(d<<21|d>>>11)+b|0,f+=(b^(d|~w))+_[4]-145523070|0,f=(f<<6|f>>>26)+d|0,w+=(d^(f|~b))+_[11]-1120210379|0,w=(w<<10|w>>>22)+f|0,b+=(f^(w|~d))+_[2]+718787259|0,b=(b<<15|b>>>17)+w|0,d+=(w^(b|~f))+_[9]-343485551|0,d=(d<<21|d>>>11)+b|0,S[0]=f+S[0]|0,S[1]=d+S[1]|0,S[2]=b+S[2]|0,S[3]=w+S[3]|0}function s(S){var _=[],f;for(f=0;f<64;f+=4)_[f>>2]=S.charCodeAt(f)+(S.charCodeAt(f+1)<<8)+(S.charCodeAt(f+2)<<16)+(S.charCodeAt(f+3)<<24);return _}function i(S){var _=[],f;for(f=0;f<64;f+=4)_[f>>2]=S[f]+(S[f+1]<<8)+(S[f+2]<<16)+(S[f+3]<<24);return _}function a(S){var _=S.length,f=[1732584193,-271733879,-1732584194,271733878],d,b,w,R,k,M;for(d=64;d<=_;d+=64)o(f,s(S.substring(d-64,d)));for(S=S.substring(d-64),b=S.length,w=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],d=0;d<b;d+=1)w[d>>2]|=S.charCodeAt(d)<<(d%4<<3);if(w[d>>2]|=128<<(d%4<<3),d>55)for(o(f,w),d=0;d<16;d+=1)w[d]=0;return R=_*8,R=R.toString(16).match(/(.*?)(.{0,8})$/),k=parseInt(R[2],16),M=parseInt(R[1],16)||0,w[14]=k,w[15]=M,o(f,w),f}function l(S){var _=S.length,f=[1732584193,-271733879,-1732584194,271733878],d,b,w,R,k,M;for(d=64;d<=_;d+=64)o(f,i(S.subarray(d-64,d)));for(S=d-64<_?S.subarray(d-64):new Uint8Array(0),b=S.length,w=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],d=0;d<b;d+=1)w[d>>2]|=S[d]<<(d%4<<3);if(w[d>>2]|=128<<(d%4<<3),d>55)for(o(f,w),d=0;d<16;d+=1)w[d]=0;return R=_*8,R=R.toString(16).match(/(.*?)(.{0,8})$/),k=parseInt(R[2],16),M=parseInt(R[1],16)||0,w[14]=k,w[15]=M,o(f,w),f}function c(S){var _="",f;for(f=0;f<4;f+=1)_+=r[S>>f*8+4&15]+r[S>>f*8&15];return _}function u(S){var _;for(_=0;_<S.length;_+=1)S[_]=c(S[_]);return S.join("")}u(a("hello")),typeof ArrayBuffer!="undefined"&&!ArrayBuffer.prototype.slice&&function(){function S(_,f){return _=_|0||0,_<0?Math.max(_+f,0):Math.min(_,f)}ArrayBuffer.prototype.slice=function(_,f){var d=this.byteLength,b=S(_,d),w=d,R,k,M,U;return f!==n&&(w=S(f,d)),b>w?new ArrayBuffer(0):(R=w-b,k=new ArrayBuffer(R),M=new Uint8Array(k),U=new Uint8Array(this,b,R),M.set(U),k)}}();function m(S){return/[\u0080-\uFFFF]/.test(S)&&(S=unescape(encodeURIComponent(S))),S}function p(S,_){var f=S.length,d=new ArrayBuffer(f),b=new Uint8Array(d),w;for(w=0;w<f;w+=1)b[w]=S.charCodeAt(w);return _?b:d}function x(S){return String.fromCharCode.apply(null,new Uint8Array(S))}function g(S,_,f){var d=new Uint8Array(S.byteLength+_.byteLength);return d.set(new Uint8Array(S)),d.set(new Uint8Array(_),S.byteLength),f?d:d.buffer}function v(S){var _=[],f=S.length,d;for(d=0;d<f-1;d+=2)_.push(parseInt(S.substr(d,2),16));return String.fromCharCode.apply(String,_)}function T(){this.reset()}return T.prototype.append=function(S){return this.appendBinary(m(S)),this},T.prototype.appendBinary=function(S){this._buff+=S,this._length+=S.length;var _=this._buff.length,f;for(f=64;f<=_;f+=64)o(this._hash,s(this._buff.substring(f-64,f)));return this._buff=this._buff.substring(f-64),this},T.prototype.end=function(S){var _=this._buff,f=_.length,d,b=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],w;for(d=0;d<f;d+=1)b[d>>2]|=_.charCodeAt(d)<<(d%4<<3);return this._finish(b,f),w=u(this._hash),S&&(w=v(w)),this.reset(),w},T.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},T.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},T.prototype.setState=function(S){return this._buff=S.buff,this._length=S.length,this._hash=S.hash,this},T.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},T.prototype._finish=function(S,_){var f=_,d,b,w;if(S[f>>2]|=128<<(f%4<<3),f>55)for(o(this._hash,S),f=0;f<16;f+=1)S[f]=0;d=this._length*8,d=d.toString(16).match(/(.*?)(.{0,8})$/),b=parseInt(d[2],16),w=parseInt(d[1],16)||0,S[14]=b,S[15]=w,o(this._hash,S)},T.hash=function(S,_){return T.hashBinary(m(S),_)},T.hashBinary=function(S,_){var f=a(S),d=u(f);return _?v(d):d},T.ArrayBuffer=function(){this.reset()},T.ArrayBuffer.prototype.append=function(S){var _=g(this._buff.buffer,S,!0),f=_.length,d;for(this._length+=S.byteLength,d=64;d<=f;d+=64)o(this._hash,i(_.subarray(d-64,d)));return this._buff=d-64<f?new Uint8Array(_.buffer.slice(d-64)):new Uint8Array(0),this},T.ArrayBuffer.prototype.end=function(S){var _=this._buff,f=_.length,d=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],b,w;for(b=0;b<f;b+=1)d[b>>2]|=_[b]<<(b%4<<3);return this._finish(d,f),w=u(this._hash),S&&(w=v(w)),this.reset(),w},T.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},T.ArrayBuffer.prototype.getState=function(){var S=T.prototype.getState.call(this);return S.buff=x(S.buff),S},T.ArrayBuffer.prototype.setState=function(S){return S.buff=p(S.buff,!0),T.prototype.setState.call(this,S)},T.ArrayBuffer.prototype.destroy=T.prototype.destroy,T.ArrayBuffer.prototype._finish=T.prototype._finish,T.ArrayBuffer.hash=function(S,_){var f=l(new Uint8Array(S)),d=u(f);return _?v(d):d},T})})(ra);var Kd=ra.exports,oa={exports:{}};/*! 11 localForage -- Offline Storage, Improved 12 Version 1.10.0 13 https://localforage.github.io/localForage 14 (c) 2013-2017 Mozilla, Apache License 2.0 15*/(function(e,t){(function(n){e.exports=n()})(function(){return function n(r,o,s){function i(c,u){if(!o[c]){if
vendor: 26,767 bytes, line 15
15(!r[c]){var m=typeof xn=="function"&&xn;if(!u&&m)return m(c,!0);if(a)return a(c,!0);var p=new Error("Cannot find module '"+c+"'");throw p.code="MODULE_NOT_FOUND",p}var x=o[c]={exports:{}};r[c][0].call(x.exports,function(g){var v=r[c][1][g];return i(v||g)},x,x.exports,n,r,o,s)}return o[c].exports}for(var a=typeof xn=="function"&&xn,l=0;l<s.length;l++)i(s[l]);return i}({1:[function(n,r,o){(function(s){var i=s.MutationObserver||s.WebKitMutationObserver,a;if(i){var l=0,c=new i(g),u=s.document.createTextNode("");c.observe(u,{characterData:!0}),a=function(){u.data=l=++l%2}}else if(!s.setImmediate&&typeof s.MessageChannel!="undefined"){var m=new s.MessageChannel;m.port1.onmessage=g,a=function(){m.port2.postMessage(0)}}else"document"in s&&"onreadystatechange"in s.document.createElement("script")?a=function(){var T=s.document.createElement("script");T.onreadystatechange=function(){g(),T.onreadystatechange=null,T.parentNode.removeChild(T),T=null},s.document.documentElement.appendChild(T)}:a=function(){setTimeout(g,0)};var p,x=[];function g(){p=!0;for(var T,S,_=x.length;_;){for(S=x,x=[],T=-1;++T<_;)S[T]();_=x.length}p=!1}r.exports=v;function v(T){x.push(T)===1&&!p&&a()}}).call(this,typeof Je!="undefined"?Je:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],2:[function(n,r,o){var s=n(1);function i(){}var a={},l=["REJECTED"],c=["FULFILLED"],u=["PENDING"];r.exports=m;function m(b){if(typeof b!="function")throw new TypeError("resolver must be a function");this.state=u,this.queue=[],this.outcome=void 0,b!==i&&v(this,b)}m.prototype.catch=function(b){return this.then(null,b)},m.prototype.then=function(b,w){if(typeof b!="function"&&this.state===c||typeof w!="function"&&this.state===l)return this;var R=new this.constructor(i);if(this.state!==u){var k=this.state===c?b:w;x(R,k,this.outcome)}else this.queue.push(new p(R,b,w));return R};function p(b,w,R){this.promise=b,typeof w=="function"&&(this.onFulfilled=w,this.callFulfilled=this.otherCallFulfilled),typeof R=="function"&&(this.onRejected=R,this.callRejected=this.otherCallRejected)}p.prototype.callFulfilled=function(b){a.resolve(this.promise,b)},p.prototype.otherCallFulfilled=function(b){x(this.promise,this.onFulfilled,b)},p.prototype.callRejected=function(b){a.reject(this.promise,b)},p.prototype.otherCallRejected=function(b){x(this.promise,this.onRejected,b)};function x(b,w,R){s(function(){var k;try{k=w(R)}catch(M){return a.reject(b,M)}k===b?a.reject(b,new TypeError("Cannot resolve promise with itself")):a.resolve(b,k)})}a.resolve=function(b,w){var R=T(g,w);if(R.status==="error")return a.reject(b,R.value);var k=R.value;if(k)v(b,k);else{b.state=c,b.outcome=w;for(var M=-1,U=b.queue.length;++M<U;)b.queue[M].callFulfilled(w)}return b},a.reject=function(b,w){b.state=l,b.outcome=w;for(var R=-1,k=b.queue.length;++R<k;)b.queue[R].callRejected(w);return b};function g(b){var w=b&&b.then;if(b&&(typeof b=="object"||typeof b=="function")&&typeof w=="function")return function(){w.apply(b,arguments)}}function v(b,w){var R=!1;function k(ue){R||(R=!0,a.reject(b,ue))}function M(ue){R||(R=!0,a.resolve(b,ue))}function U(){w(M,k)}var te=T(U);te.status==="error"&&k(te.value)}function T(b,w){var R={};try{R.value=b(w),R.status="success"}catch(k){R.status="error",R.value=k}return R}m.resolve=S;function S(b){return b instanceof this?b:a.resolve(new this(i),b)}m.reject=_;function _(b){var w=new this(i);return a.reject(w,b)}m.all=f;function f(b){var w=this;if(Object.prototype.toString.call(b)!=="[object Array]")return this.reject(new TypeError("must be an array"));var R=b.length,k=!1;if(!R)return this.resolve([]);for(var M=new Array(R),U=0,te=-1,ue=new this(i);++te<R;)G(b[te],te);return ue;function G(j,H){w.resolve(j).then(K,function(V){k||(k=!0,a.reject(ue,V))});function K(V){M[H]=V,++U===R&&!k&&(k=!0,a.resolve(ue,M))}}}m.race=d;function d(b){var w=this;if(Object.prototype.toString.call(b)!=="[object Array]")return this.reject(new TypeError("must be an array"));var R=b.length,k=!1;if(!R)return this.resolve([]);for(var M=-1,U=new this(i);++M<R;)te(b[M]);return U;function te(ue){w.resolve(ue).then(function(G){k||(k=!0,a.resolve(U,G))},function(G){k||(k=!0,a.reject(U,G))})}}},{1:1}],3:[function(n,r,o){(function(s){typeof s.Promise!="function"&&(s.Promise=n(2))}).call(this,typeof Je!="undefined"?Je:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{2:2}],4:[function(n,r,o){var s=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(h){return typeof h}:function(h){return h&&typeof Symbol=="function"&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h};function i(h,A){if(!(h instanceof A))throw new TypeError("Cannot call a class as a function")}function a(){try{if(typeof indexedDB!="undefined")return indexedDB;if(typeof webkitIndexedDB!="undefined")return webkitIndexedDB;if(typeof mozIndexedDB!="undefined")return mozIndexedDB;if(typeof OIndexedDB!="undefined")return OIndexedDB;if(typeof msIndexedDB!="undefined")return msIndexedDB}catch{return}}var l=a();function c(){try{if(!l||!l.open)return!1;var h=typeof openDatabase!="undefined"&&/(Safari|iPhone|iPad|iPod)/.test(navigator.userAgent)&&!/Chrome/.test(navigator.userAgent)&&!/BlackBerry/.test(navigator.platform),A=typeof fetch=="function"&&fetch.toString().indexOf("[native code")!==-1;return(!h||A)&&typeof indexedDB!="undefined"&&typeof IDBKeyRange!="undefined"}catch{return!1}}function u(h,A){h=h||[],A=A||{};try{return new Blob(h,A)}catch(C){if(C.name!=="TypeError")throw C;for(var y=typeof BlobBuilder!="undefined"?BlobBuilder:typeof MSBlobBuilder!="undefined"?MSBlobBuilder:typeof MozBlobBuilder!="undefined"?MozBlobBuilder:WebKitBlobBuilder,D=new y,O=0;O<h.length;O+=1)D.append(h[O]);return D.getBlob(A.type)}}typeof Promise=="undefined"&&n(3);var m=Promise;function p(h,A){A&&h.then(function(y){A(null,y)},function(y){A(y)})}function x(h,A,y){typeof A=="function"&&h.then(A),typeof y=="function"&&h.catch(y)}function g(h){return typeof h!="string"&&(console.warn(h+" used as a key, but it is not a string."),h=String(h)),h}function v(){if(arguments.length&&typeof arguments[arguments.length-1]=="function")return arguments[arguments.length-1]}var T="local-forage-detect-blob-support",S=void 0,_={},f=Object.prototype.toString,d="readonly",b="readwrite";function w(h){for(var A=h.length,y=new ArrayBuffer(A),D=new Uint8Array(y),O=0;O<A;O++)D[O]=h.charCodeAt(O);return y}function R(h){return new m(function(A){var y=h.transaction(T,b),D=u([""]);y.objectStore(T).put(D,"key"),y.onabort=function(O){O.preventDefault(),O.stopPropagation(),A(!1)},y.oncomplete=function(){var O=navigator.userAgent.match(/Chrome\/(\d+)/),C=navigator.userAgent.match(/Edge\//);A(C||!O||parseInt(O[1],10)>=43)}}).catch(function(){return!1})}function k(h){return typeof S=="boolean"?m.resolve(S):R(h).then(function(A){return S=A,S})}function M(h){var A=_[h.name],y={};y.promise=new m(function(D,O){y.resolve=D,y.reject=O}),A.deferredOperations.push(y),A.dbReady?A.dbReady=A.dbReady.then(function(){return y.promise}):A.dbReady=y.promise}function U(h){var A=_[h.name],y=A.deferredOperations.pop();if(y)return y.resolve(),y.promise}function te(h,A){var y=_[h.name],D=y.deferredOperations.pop();if(D)return D.reject(A),D.promise}function ue(h,A){return new m(function(y,D){if(_[h.name]=_[h.name]||de(),h.db)if(A)M(h),h.db.close();else return y(h.db);var O=[h.name];A&&O.push(h.version);var C=l.open.apply(l,O);A&&(C.onupgradeneeded=function($){var F=C.result;try{F.createObjectStore(h.storeName),$.oldVersion<=1&&F.createObjectStore(T)}catch(L){if(L.name==="ConstraintError")console.warn('The database "'+h.name+'" has been upgraded from version '+$.oldVersion+" to version "+$.newVersion+', but the storage "'+h.storeName+'" already exists.');else throw L}}),C.onerror=function($){$.preventDefault(),D(C.error)},C.onsuccess=function(){var $=C.result;$.onversionchange=function(F){F.target.close()},y($),U(h)}})}function G(h){return ue(h,!1)}function j(h){return ue(h,!0)}function H(h,A){if(!h.db)return!0;var y=!h.db.objectStoreNames.contains(h.storeName),D=h.version<h.db.version,O=h.version>h.db.version;if(D&&(h.version!==A&&console.warn('The database "'+h.name+`" can't be downgraded from version `+h.db.version+" to version "+h.version+"."),h.version=h.db.version),O||y){if(y){var C=h.db.version+1;C>h.version&&(h.version=C)}return!0}return!1}function K(h){return new m(function(A,y){var D=new FileReader;D.onerror=y,D.onloadend=function(O){var C=btoa(O.target.result||"");A({__local_forage_encoded_blob:!0,data:C,type:h.type})},D.readAsBinaryString(h)})}function V(h){var A=w(atob(h.data));return u([A],{type:h.type})}function ee(h){return h&&h.__local_forage_encoded_blob}function X(h){var A=this,y=A._initReady().then(function(){var D=_[A._dbInfo.name];if(D&&D.dbReady)return D.dbReady});return x(y,h,h),y}function ae(h){M(h);for(var A=_[h.name],y=A.forages,D=0;D<y.length;D++){var O=y[D];O._dbInfo.db&&(O._dbInfo.db.close(),O._dbInfo.db=null)}return h.db=null,G(h).then(function(C){return h.db=C,H(h)?j(h):C}).then(function(C){h.db=A.db=C;for(var $=0;$<y.length;$++)y[$]._dbInfo.db=C}).catch(function(C){throw te(h,C),C})}function le(h,A,y,D){D===void 0&&(D=1);try{var O=h.db.transaction(h.storeName,A);y(null,O)}catch(C){if(D>0&&(!h.db||C.name==="InvalidStateError"||C.name==="NotFoundError"))return m.resolve().then(function(){if(!h.db||C.name==="NotFoundError"&&!h.db.objectStoreNames.contains(h.storeName)&&h.version<=h.db.version)return h.db&&(h.version=h.db.version+1),j(h)}).then(function(){return ae(h).then(function(){le(h,A,y,D-1)})}).catch(y);y(C)}}function de(){return{forages:[],db:null,dbReady:null,deferredOperations:[]}}function we(h){var A=this,y={db:null};if(h)for(var D in h)y[D]=h[D];var O=_[y.name];O||(O=de(),_[y.name]=O),O.forages.push(A),A._initReady||(A._initReady=A.ready,A.ready=X);var C=[];function $(){return m.resolve()}for(var F=0;F<O.forages.length;F++){var L=O.forages[F];L!==A&&C.push(L._initReady().catch($))}var B=O.forages.slice(0);return m.all(C).then(function(){return y.db=O.db,G(y)}).then(function(z){return y.db=z,H(y,A._defaultConfig.version)?j(y):z}).then(function(z){y.db=O.db=z,A._dbInfo=y;for(var Y=0;Y<B.length;Y++){var se=B[Y];se!==A&&(se._dbInfo.db=y.db,se._dbInfo.version=y.version)}})}function Ve(h,A){var y=this;h=g(h);var D=new m(function(O,C){y.ready().then(function(){le(y._dbInfo,d,function($,F){if($)return C($);try{var L=F.objectStore(y._dbInfo.storeName),B=L.get(h);B.onsuccess=function(){var z=B.result;z===void 0&&(z=null),ee(z)&&(z=V(z)),O(z)},B.onerror=function(){C(B.error)}}catch(z){C(z)}})}).catch(C)});return p(D,A),D}function Le(h,A){var y=this,D=new m(function(O,C){y.ready().then(function(){le(y._dbInfo,d,function($,F){if($)return C($);try{var L=F.objectStore(y._dbInfo.storeName),B=L.openCursor(),z=1;B.onsuccess=function(){var Y=B.result;if(Y){var se=Y.value;ee(se)&&(se=V(se));var he=h(se,Y.key,z++);he!==void 0?O(he):Y.continue()}else O()},B.onerror=function(){C(B.error)}}catch(Y){C(Y)}})}).catch(C)});return p(D,A),D}function Qe(h,A,y){var D=this;h=g(h);var O=new m(function(C,$){var F;D.ready().then(function(){return F=D._dbInfo,f.call(A)==="[object Blob]"?k(F.db).then(function(L){return L?A:K(A)}):A}).then(function(L){le(D._dbInfo,b,function(B,z){if(B)return $(B);try{var Y=z.objectStore(D._dbInfo.storeName);L===null&&(L=void 0);var se=Y.put(L,h);z.oncomplete=function(){L===void 0&&(L=null),C(L)},z.onabort=z.onerror=function(){var he=se.error?se.error:se.transaction.error;$(he)}}catch(he){$(he)}})}).catch($)});return p(O,y),O}function Xe(h,A){var y=this;h=g(h);var D=new m(function(O,C){y.ready().then(function(){le(y._dbInfo,b,function($,F){if($)return C($);try{var L=F.objectStore(y._dbInfo.storeName),B=L.delete(h);F.oncomplete=function(){O()},F.onerror=function(){C(B.error)},F.onabort=function(){var z=B.error?B.error:B.transaction.error;C(z)}}catch(z){C(z)}})}).catch(C)});return p(D,A),D}function et(h){var A=this,y=new m(function(D,O){A.ready().then(function(){le(A._dbInfo,b,function(C,$){if(C)return O(C);try{var F=$.objectStore(A._dbInfo.storeName),L=F.clear();$.oncomplete=function(){D()},$.onabort=$.onerror=function(){var B=L.error?L.error:L.transaction.error;O(B)}}catch(B){O(B)}})}).catch(O)});return p(y,h),y}function De(h){var A=this,y=new m(function(D,O){A.ready().then(function(){le(A._dbInfo,d,function(C,$){if(C)return O(C);try{var F=$.objectStore(A._dbInfo.storeName),L=F.count();L.onsuccess=function(){D(L.result)},L.onerror=function(){O(L.error)}}catch(B){O(B)}})}).catch(O)});return p(y,h),y}function Me(h,A){var y=this,D=new m(function(O,C){if(h<0){O(null);return}y.ready().then(function(){le(y._dbInfo,d,function($,F){if($)return C($);try{var L=F.objectStore(y._dbInfo.storeName),B=!1,z=L.openKeyCursor();z.onsuccess=function(){var Y=z.result;if(!Y){O(null);return}h===0||B?O(Y.key):(B=!0,Y.advance(h))},z.onerror=function(){C(z.error)}}catch(Y){C(Y)}})}).catch(C)});return p(D,A),D}function gt(h){var A=this,y=new m(function(D,O){A.ready().then(function(){le(A._dbInfo,d,function(C,$){if(C)return O(C);try{var F=$.objectStore(A._dbInfo.storeName),L=F.openKeyCursor(),B=[];L.onsuccess=function(){var z=L.result;if(!z){D(B);return}B.push(z.key),z.continue()},L.onerror=function(){O(L.error)}}catch(z){O(z)}})}).catch(O)});return p(y,h),y}function We(h,A){A=v.apply(this,arguments);var y=this.config();h=typeof h!="function"&&h||{},h.name||(h.name=h.name||y.name,h.storeName=h.storeName||y.storeName);var D=this,O;if(!h.name)O=m.reject("Invalid arguments");else{var C=h.name===y.name&&D._dbInfo.db,$=C?m.resolve(D._dbInfo.db):G(h).then(function(F){var L=_[h.name],B=L.forages;L.db=F;for(var z=0;z<B.length;z++)B[z]._dbInfo.db=F;return F});h.storeName?O=$.then(function(F){if(!!F.objectStoreNames.contains(h.storeName)){var L=F.version+1;M(h);var B=_[h.name],z=B.forages;F.close();for(var Y=0;Y<z.length;Y++){var se=z[Y];se._dbInfo.db=null,se._dbInfo.version=L}var he=new m(function(pe,Ee){var xe=l.open(h.name,L);xe.onerror=function(Ye){var Qt=xe.result;Qt.close(),Ee(Ye)},xe.onupgradeneeded=function(){var Ye=xe.result;Ye.deleteObjectStore(h.storeName)},xe.onsuccess=function(){var Ye=xe.result;Ye.close(),pe(Ye)}});return he.then(function(pe){B.db=pe;for(var Ee=0;Ee<z.length;Ee++){var xe=z[Ee];xe._dbInfo.db=pe,U(xe._dbInfo)}}).catch(function(pe){throw(te(h,pe)||m.resolve()).catch(function(){}),pe})}}):O=$.then(function(F){M(h);var L=_[h.name],B=L.forages;F.close();for(var z=0;z<B.length;z++){var Y=B[z];Y._dbInfo.db=null}var se=new m(function(he,pe){var Ee=l.deleteDatabase(h.name);Ee.onerror=function(){var xe=Ee.result;xe&&xe.close(),pe(Ee.error)},Ee.onblocked=function(){console.warn('dropInstance blocked for database "'+h.name+'" until all open connections are closed')},Ee.onsuccess=function(){var xe=Ee.result;xe&&xe.close(),he(xe)}});return se.then(function(he){L.db=he;for(var pe=0;pe<B.length;pe++){var Ee=B[pe];U(Ee._dbInfo)}}).catch(function(he){throw(te(h,he)||m.resolve()).catch(function(){}),he})})}return p(O,A),O}var tr={_driver:"asyncStorage",_initStorage:we,_support:c(),iterate:Le,getItem:Ve,setItem:Qe,removeItem:Xe,clear:et,length:De,key:Me,keys:gt,dropInstance:We};function Wt(){return typeof openDatabase=="function"}var He="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Yt="~~local_forage_type~",wn=/^~~local_forage_type~([^~]+)~/,At="__lfsc__:",Ft=At.length,Ue="arbf",it="blob",It="si08",re="ui08",fe="uic8",oe="si16",ve="si32",ie="ur16",Ct="ui32",me="fl32",vt="fl64",Ge=Ft+Ue.length,Jt=Object.prototype.toString;function Kt(h){var A=h.length*.75,y=h.length,D,O=0,C,$,F,L;h[h.length-1]==="="&&(A--,h[h.length-2]==="="&&A--);var B=new ArrayBuffer(A),z=new Uint8Array(B);for(D=0;D<y;D+=4)C=He.indexOf(h[D]),$=He.indexOf(h[D+1]),F=He.indexOf(h[D+2]),L=He.indexOf(h[D+3]),z[O++]=C<<2|$>>4,z[O++]=($&15)<<4|F>>2,z[O++]=(F&3)<<6|L&63;return B}function nr(h){var A=new Uint8Array(h),y="",D;for(D=0;D<A.length;D+=3)y+=He[A[D]>>2],y+=He[(A[D]&3)<<4|A[D+1]>>4],y+=He[(A[D+1]&15)<<2|A[D+2]>>6],y+=He[A[D+2]&63];return A.length%3===2?y=y.substring(0,y.length-1)+"=":A.length%3===1&&(y=y.substring(0,y.length-2)+"=="),y}function sa(h,A){var y="";if(h&&(y=Jt.call(h)),h&&(y==="[object ArrayBuffer]"||h.buffer&&Jt.call(h.buffer)==="[object ArrayBuffer]")){var D,O=At;h instanceof ArrayBuffer?(D=h,O+=Ue):(D=h.buffer,y==="[object Int8Array]"?O+=It:y==="[object Uint8Array]"?O+=re:y==="[object Uint8ClampedArray]"?O+=fe:y==="[object Int16Array]"?O+=oe:y==="[object Uint16Array]"?O+=ie:y==="[object Int32Array]"?O+=ve:y==="[object Uint32Array]"?O+=Ct:y==="[object Float32Array]"?O+=me:y==="[object Float64Array]"?O+=vt:A(new Error("Failed to get type for BinaryArray"))),A(O+nr(D))}else if(y==="[object Blob]"){var C=new FileReader;C.onload=function(){var $=Yt+h.type+"~"+nr(this.result);A(At+it+$)},C.readAsArrayBuffer(h)}else try{A(JSON.stringify(h))}catch($){console.error("Couldn't convert value into a JSON string: ",h),A(null,$)}}function ia(h){if(h.substring(0,Ft)!==At)return JSON.parse(h);var A=h.substring(Ge),y=h.substring(Ft,Ge),D;if(y===it&&wn.test(A)){var O=A.match(wn);D=O[1],A=A.substring(O[0].length)}var C=Kt(A);switch(y){case Ue:return C;case it:return u([C],{type:D});case It:return new Int8Array(C);case re:return new Uint8Array(C);case fe:return new Uint8ClampedArray(C);case oe:return new Int16Array(C);case ie:return new Uint16Array(C);case ve:return new Int32Array(C);case Ct:return new Uint32Array(C);case me:return new Float32Array(C);case vt:return new Float64Array(C);default:throw new Error("Unkown type: "+y)}}var rr={serialize:sa,deserialize:ia,stringToBuffer:Kt,bufferToString:nr};function xo(h,A,y,D){h.executeSql("CREATE TABLE IF NOT EXISTS "+A.storeName+" (id INTEGER PRIMARY KEY, key unique, value)",[],y,D)}function aa(h){var A=this,y={db:null};if(h)for(var D in h)y[D]=typeof h[D]!="string"?h[D].toString():h[D];var O=new m(function(C,$){try{y.db=openDatabase(y.name,String(y.version),y.description,y.size)}catch(F){return $(F)}y.db.transaction(function(F){xo(F,y,function(){A._dbInfo=y,C()},function(L,B){$(B)})},$)});return y.serializer=rr,O}function bt(h,A,y,D,O,C){h.executeSql(y,D,O,function($,F){F.code===F.SYNTAX_ERR?$.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name = ?",[A.storeName],function(L,B){B.rows.length?C(L,F):xo(L,A,function(){L.executeSql(y,D,O,C)},C)},C):C($,F)},C)}function la(h,A){var y=this;h=g(h);var D=new m(function(O,C){y.ready().then(function(){var $=y._dbInfo;$.db.transaction(function(F){bt(F,$,"SELECT * FROM "+$.storeName+" WHERE key = ? LIMIT 1",[h],function(L,B){var z=B.rows.length?B.rows.item(0).value:null;z&&(z=$.serializer.deserialize(z)),O(z)},function(L,B){C(B)})})}).catch(C)});return p(D,A),D}function ca(h,A){var y=this,D=new m(function(O,C){y.ready().then(function(){var $=y._dbInfo;$.db.transaction(function(F){bt(F,$,"SELECT * FROM "+$.storeName,[],function(L,B){for(var z=B.rows,Y=z.length,se=0;se<Y;se++){var he=z.item(se),pe=he.value;if(pe&&(pe=$.serializer.deserialize(pe)),pe=h(pe,he.key,se+1),pe!==void 0){O(pe);return}}O()},function(L,B){C(B)})})}).catch(C)});return p(D,A),D}function _o(h,A,y,D){var O=this;h=g(h);var C=new m(function($,F){O.ready().then(function(){A===void 0&&(A=null);var L=A,B=O._dbInfo;B.serializer.serialize(A,function(z,Y){Y?F(Y):B.db.transaction(function(se){bt(se,B,"INSERT OR REPLACE INTO "+B.storeName+" (key, value) VALUES (?, ?)",[h,z],function(){$(L)},function(he,pe){F(pe)})},function(se){if(se.code===se.QUOTA_ERR){if(D>0){$(_o.apply(O,[h,L,y,D-1]));return}F(se)}})})}).catch(F)});return p(C,y),C}function ua(h,A,y){return _o.apply(this,[h,A,y,1])}function fa(h,A){var y=this;h=g(h);var D=new m(function(O,C){y.ready().then(function(){var $=y._dbInfo;$.db.transaction(function(F){bt(F,$,"DELETE FROM "+$.storeName+" WHERE key = ?",[h],function(){O()},function(L,B){C(B)})})}).catch(C)});return p(D,A),D}function da(h){var A=this,y=new m(function(D,O){A.ready().then(function(){var C=A._dbInfo;C.db.transaction(function($){bt($,C,"DELETE FROM "+C.storeName,[],function(){D()},function(F,L){O(L)})})}).catch(O)});return p(y,h),y}function ha(h){var A=this,y=new m(function(D,O){A.ready().then(function(){var C=A._dbInfo;C.db.transaction(function($){bt($,C,"SELECT COUNT(key) as c FROM "+C.storeName,[],function(F,L){var B=L.rows.item(0).c;D(B)},function(F,L){O(L)})})}).catch(O)});return p(y,h),y}function pa(h,A){var y=this,D=new m(function(O,C){y.ready().then(function(){var $=y._dbInfo;$.db.transaction(function(F){bt(F,$,"SELECT key FROM "+$.storeName+" WHERE id = ? LIMIT 1",[h+1],function(L,B){var z=B.rows.length?B.rows.item(0).key:null;O(z)},function(L,B){C(B)})})}).catch(C)});return p(D,A),D}function ma(h){var A=this,y=new m(function(D,O){A.ready().then(function(){var C=A._dbInfo;C.db.transaction(function($){bt($,C,"SELECT key FROM "+C.storeName,[],function(F,L){for(var B=[],z=0;z<L.rows.length;z++)B.push(L.rows.item(z).key);D(B)},function(F,L){O(L)})})}).catch(O)});return p(y,h),y}function ga(h){return new m(function(A,y){h.transaction(function(D){D.executeSql("SELECT name FROM sqlite_master WHERE type='table' AND name <> '__WebKitDatabaseInfoTable__'",[],function(O,C){for(var $=[],F=0;F<C.rows.length;F++)$.push(C.rows.item(F).name);A({db:h,storeNames:$})},function(O,C){y(C)})},function(D){y(D)})})}function va(h,A){A=v.apply(this,arguments);var y=this.config();h=typeof h!="function"&&h||{},h.name||(h.name=h.name||y.name,h.storeName=h.storeName||y.storeName);var D=this,O;return h.name?O=new m(function(C){var $;h.name===y.name?$=D._dbInfo.db:$=openDatabase(h.name,"","",0),h.storeName?C({db:$,storeNames:[h.storeName]}):C(ga($))}).then(function(C){return new m(function($,F){C.db.transaction(function(L){function B(he){return new m(function(pe,Ee){L.executeSql("DROP TABLE IF EXISTS "+he,[],function(){pe()},function(xe,Ye){Ee(Ye)})})}for(var z=[],Y=0,se=C.storeNames.length;Y<se;Y++)z.push(B(C.storeNames[Y]));m.all(z).then(function(){$()}).catch(function(he){F(he)})},function(L){F(L)})})}):O=m.reject("Invalid arguments"),p(O,A),O}var ba={_driver:"webSQLStorage",_initStorage:aa,_support:Wt(),iterate:ca,getItem:la,setItem:ua,removeItem:fa,clear:da,length:ha,key:pa,keys:ma,dropInstance:va};function wa(){try{return typeof localStorage!="undefined"&&"setItem"in localStorage&&!!localStorage.setItem}catch{return!1}}function So(h,A){var y=h.name+"/";return h.storeName!==A.storeName&&(y+=h.storeName+"/"),y}function ya(){var h="_localforage_support_test";try{return localStorage.setItem(h,!0),localStorage.removeItem(h),!1}catch{return!0}}function xa(){return!ya()||localStorage.length>0}function _a(h){var A=this,y={};if(h)for(var D in h)y[D]=h[D];return y.keyPrefix=So(h,A._defaultConfig),xa()?(A._dbInfo=y,y.serializer=rr,m.resolve()):m.reject()}function Sa(h){var A=this,y=A.ready().then(function(){for(var D=A._dbInfo.keyPrefix,O=localStorage.length-1;O>=0;O--){var C=localStorage.key(O);C.indexOf(D)===0&&localStorage.removeItem(C)}});return p(y,h),y}function Ea(h,A){var y=this;h=g(h);var D=y.ready().then(function(){var O=y._dbInfo,C=localStorage.getItem(O.keyPrefix+h);return C&&(C=O.serializer.deserialize(C)),C});return p(D,A),D}function Ta(h,A){var y=this,D=y.ready().then(function(){for(var O=y._dbInfo,C=O.keyPrefix,$=C.length,F=localStorage.length,L=1,B=0;B<F;B++){var z=localStorage.key(B);if(z.indexOf(C)===0){var Y=localStorage.getItem(z);if(Y&&(Y=O.serializer.deserialize(Y)),Y=h(Y,z.substring($),L++),Y!==void 0)return Y}}});return p(D,A),D}function Aa(h,A){var y=this,D=y.ready().then(function(){var O=y._dbInfo,C;try{C=localStorage.key(h)}catch{C=null}return C&&(C=C.substring(O.keyPrefix.length)),C});return p(D,A),D}function Ia(h){var A=this,y=A.ready().then(function(){for(var D=A._dbInfo,O=localStorage.length,C=[],$=0;$<O;$++){var F=localStorage.key($);F.indexOf(D.keyPrefix)===0&&C.push(F.substring(D.keyPrefix.length))}return C});return p(y,h),y}function Ca(h){var A=this,y=A.keys().then(function(D){return D.length});return p(y,h),y}function Da(h,A){var y=this;h=g(h);var D=y.ready().then(function(){var O=y._dbInfo;localStorage.removeItem(O.keyPrefix+h)});return p(D,A),D}function Oa(h,A,y){var D=this;h=g(h);var O=D.ready().then(function(){A===void 0&&(A=null);var C=A;return new m(function($,F){var L=D._dbInfo;L.serializer.serialize(A,function(B,z){if(z)F(z);else try{localStorage.setItem(L.keyPrefix+h,B),$(C)}catch(Y){(Y.name==="QuotaExceededError"||Y.name==="NS_ERROR_DOM_QUOTA_REACHED")&&F(Y),F(Y)}})})});return p(O,y),O}function Ra(h,A){if(A=v.apply(this,arguments),h=typeof h!="function"&&h||{},!h.name){var y=this.config();h.name=h.name||y.name,h.storeName=h.storeName||y.storeName}var D=this,O;return h.name?O=new m(function(C){h.storeName?C(So(h,D._defaultConfig)):C(h.name+"/")}).then(function(C){for(var $=localStorage.length-1;$>=0;$--){var F=localStorage.key($);F.indexOf(C)===0&&localStorage.removeItem(F)}}):O=m.reject("Invalid arguments"),p(O,A),O}var $a={_driver:"localStorageWrapper",_initStorage:_a,_support:wa(),iterate:Ta,getItem:Ea,setItem:Oa,removeItem:Da,clear:Sa,length:Ca,key:Aa,keys:Ia,dropInstance:Ra},Na=function(A,y){return A===y||typeof A=="number"&&typeof y=="number"&&isNaN(A)&&isNaN(y)},Fa=function(A,y){for(var D=A.length,O=0;O<D;){if(Na(A[O],y))return!0;O++}return!1},Eo=Array.isArray||function(h){return Object.prototype.toString.call(h)==="[object Array]"},Zt={},To={},Pt={INDEXEDDB:tr,WEBSQL:ba,LOCALSTORAGE:$a},Pa=[Pt.INDEXEDDB._driver,Pt.WEBSQL._driver,Pt.LOCALSTORAGE._driver],yn=["dropInstance"],or=["clear","getItem","iterate","key","keys","length","removeItem","setItem"].concat(yn),ka={description:"",driver:Pa.slice(),name:"localforage",size:4980736,storeName:"keyvaluepairs",version:1};function La(h,A){h[A]=function(){var y=arguments;return h.ready().then(function(){return h[A].apply(h,y)})}}function sr(){for(var h=1;h<arguments.length;h++){var A=arguments[h];if(A)for(var y in A)A.hasOwnProperty(y)&&(Eo(A[y])?arguments[0][y]=A[y].slice():arguments[0][y]=A[y])}return arguments[0]}var Ba=function(){function h(A){i(this,h);for(var y in Pt)if(Pt.hasOwnProperty(y)){var D=Pt[y],O=D._driver;this[y]=O,Zt[O]||this.defineDriver(D)}this._defaultConfig=sr({},ka),this._config=sr({},this._defaultConfig,A),this._driverSet=null,this._initDriver=null,this._ready=!1,this._dbInfo=null,this._wrapLibraryMethodsWithReady(),this.setDriver(this._config.driver).catch(function(){})}return h.prototype.config=function(y){if((typeof y=="undefined"?"undefined":s(y))==="object"){if(this._ready)return new Error("Can't call config() after localforage has been used.");for(var D in y){if(D==="storeName"&&(y[D]=y[D].replace(/\W/g,"_")),D==="version"&&typeof y[D]!="number")return new Error("Database version must be a number.");this._config[D]=y[D]}return"driver"in y&&y.driver?this.setDriver(this._config.driver):!0}else return typeof y=="string"?this._config[y]:this._config}
15,h.prototype.defineDriver=function(y,D,O){var C=new m(function($,F){try{var L=y._driver,B=new Error("Custom driver not compliant; see https://mozilla.github.io/localForage/#definedriver");if(!y._driver){F(B);return}for(var z=or.concat("_initStorage"),Y=0,se=z.length;Y<se;Y++){var he=z[Y],pe=!Fa(yn,he);if((pe||y[he])&&typeof y[he]!="function"){F(B);return}}var Ee=function(){for(var Qt=function(ja){return function(){var Ha=new Error("Method "+ja+" is not implemented by the current driver"),Ao=m.reject(Ha);return p(Ao,arguments[arguments.length-1]),Ao}},ir=0,Ua=yn.length;ir<Ua;ir++){var ar=yn[ir];y[ar]||(y[ar]=Qt(ar))}};Ee();var xe=function(Qt){Zt[L]&&console.info("Redefining LocalForage driver: "+L),Zt[L]=y,To[L]=Qt,$()};"_support"in y?y._support&&typeof y._support=="function"?y._support().then(xe,F):xe(!!y._support):xe(!0)}catch(Ye){F(Ye)}});return x(C,D,O),C},h.prototype.driver=function(){return this._driver||null},h.prototype.getDriver=function(y,D,O){var C=Zt[y]?m.resolve(Zt[y]):m.reject(new Error("Driver not found."));return x(C,D,O),C},h.prototype.getSerializer=function(y){var D=m.resolve(rr);return x(D,y),D},h.prototype.ready=function(y){var D=this,O=D._driverSet.then(function(){return D._ready===null&&(D._ready=D._initDriver()),D._ready});return x(O,y,y),O},h.prototype.setDriver=function(y,D,O){var C=this;Eo(y)||(y=[y]);var $=this._getSupportedDrivers(y);function F(){C._config.driver=C.driver()}function L(Y){return C._extend(Y),F(),C._ready=C._initStorage(C._config),C._ready}function B(Y){return function(){var se=0;function he(){for(;se<Y.length;){var pe=Y[se];return se++,C._dbInfo=null,C._ready=null,C.getDriver(pe).then(L).catch(he)}F();var Ee=new Error("No available storage method found.");return C._driverSet=m.reject(Ee),C._driverSet}return he()}}var z=this._driverSet!==null?this._driverSet.catch(function(){return m.resolve()}):m.resolve();return this._driverSet=z.then(function(){var Y=$[0];return C._dbInfo=null,C._ready=null,C.getDriver(Y).then(function(se){C._driver=se._driver,F(),C._wrapLibraryMethodsWithReady(),C._initDriver=B($)})}).catch(function(){F();var Y=new Error("No available storage method found.");return C._driverSet=m.reject(Y),C._driverSet}),x(this._driverSet,D,O),this._driverSet},h.prototype.supports=function(y){return!!To[y]},h.prototype._extend=function(y){sr(this,y)},h.prototype._getSupportedDrivers=function(y){for(var D=[],O=0,C=y.length;O<C;O++){var $=y[O];this.supports($)&&D.push($)}return D},h.prototype._wrapLibraryMethodsWithReady=function(){for(var y=0,D=or.length;y<D;y++)La(this,or[y])},h.prototype.createInstance=function(y){return new h(y)},h}(),Ma=new Ba;r.exports=Ma},{3:3}]},{},[4])(4)})})(oa);var Zd=oa.exports;class Qd{initStore(t,n){return Zd.createInstance({name:t,storeName:n})}clearStore(t){return t.clear()}setItem(t,n,r){return t.setItem(n,r)}getItem(t,n){return t.getItem(n)}removeItem(t,n){return t.removeItem(n)}}var nn=new Qd;async function ws(e,t,n){const r=[],o=[];for(let s=0;s<t.length;s++){const i=Promise.resolve().then(()=>n(t[s],s,t));if(r.push(i),e<=t.length){const a=i.then(()=>o.splice(o.indexOf(a),1));o.push(a),o.length>=e&&await Promise.race(o)}}return Promise.all(r)}const{saveAs:Xd}=Jd,eh={[Oe.ANDROID]:"android",[Oe.WINDOWS]:"windows",[Oe.LINUX]:"linux",[Oe.MAC]:"mac"};class th{constructor(){this.fileStore=null,this.store=null,this.urls=[]}async download(t,n){try{this.store=t;const r=Gr[n],o=`${r.file.name}-${r.file.version}.${r.file.format}`,s=r.file.size,i=r.file.name,a=eh[n]||"unknown",l=`${r.file.version}-${a}`,c=await this.parseURLs(r);this.fileStore=nn.initStore(i,l),this.store.commit("setTotalSize",s),console.log("totalSize:",s);const u=await this.process(c);if(!Array.isArray(u)||Array.isArray(u)&&u.length===0)throw new Error("not valid array of ArrayBuffer");for(const m of u)if(m.byteLength===0)throw new Error("not valid ArrayBuffer");this.saveFile(o,u),this.store.commit("setIsDone",!0),console.log("final status:",this.store.state.status),be.sendFinalStatus(be.STATUS_SUCCESS)}catch(r){this.store.commit("setIsFailed",!0),console.error(r),be.sendFinalStatus(be.STATUS_FAILED,r)}}async getFileInfo(t){try{return await this.checkNetwork(),(await $e.getInfo(t)).data}catch(n){throw new Error("failed to get file info:",n)}}async checkNetwork(){try{await $e.getResponseHeader(lr.checkNetworkURL),console.log("available network detected, continue")}catch(t){throw new Error("no network available:",t)}}async parseURLs(t){try{const n=t.file.size,r=lr.maxSizePerRangeRequest,o=Math.ceil(n/r);let s=[];for(let a=0;a<o;a++){let l=a*r,c=a+1===o?n-1:(a+1)*r-1,u=`bytes=${l}-${c}`;s.push(u)}const i=await Promise.all(t.urls.map(async a=>{switch(a.isTruncated){case!0:let l=[];for(const c of a.chunks)for(let u=c.start;u<c.start+c.total;u++)l.push(`${a.prefix}${c.name}/${u}.${c.extension}`);return{isTruncated:a.isTruncated,url:l};case!1:default:return{isTruncated:a.isTruncated,url:a.url}}}));return{ranges:s,md5:t.md5,urls:i,total:o}}catch(n){throw n}}async process({ranges:t,md5:n,urls:r,total:o}){const s=$e.genCancelToken(),i=$e.genCancelToken();try{this.store.commit("initTempDownloadedSizeArray",new Array(o)),this.store.commit("setIsStarted",!0);const a=await this.speedTest(t,n,r,s);this.urls=a;const l=this.downloadReq(t,n,i);return await ws(lr.maxConcurrentRequests,new Array(o),l)}catch(a){throw $e.cancel(s,a),$e.cancel(i,a),a}}async speedTest(t,n,r,o){try{const s=r.length;let i=0,a=0,l=[];for(;a<s&&i<t.length;){let x=t[i],g=n[i];const v=await nn.getItem(this.fileStore,x);if(v&&this.isValidChunk(v,g)){i++;continue}a++,l.push(i),i++}if(l.length<2)return r;const c=this.speedTestReq(t,r,o),u=await ws(10,l,c);u.sort((x,g)=>g.speed-x.speed),console.log("speed test results:",u);let m=[],p=[];for(let x of u)m.push(r[x.sourceIndex]),p.push(x.sourceIndex);for(let x=0;x<s;x++)p.includes(x)||m.push(r[x]);return m}catch(s){throw s}}speedTestReq(t,n,r){return async(o,s)=>{let i,a=Date.now(),l=a;try{let c=n[s],u=t[o],m;switch(c.isTruncated){case!0:i=c.url[o],m=await $e.download(c.url[o],this.onProgressFn(o),r.token);break;default:i=c.url,m=await $e.downloadInRange(c.url,u,this.onProgressFn(o),r.token)}l=Date.now();const p=l-a,x=m.data.byteLength;return be.sendDownloadStat(be.STATUS_SUCCESS,i,x,a,l,o),nn.setItem(this.fileStore,u,m.data),setTimeout(()=>{$e.cancel(r,new Error("cancelled speed test request due to timeout"))},5*1e3),{sourceIndex:s,speed:x/(p/1e3)}}catch(c){l=Date.now();const u=l-a,m=this.store.getters.getDownloadedSizeArray[o]||0;return be.sendDownloadStat(be.STATUS_FAILED,i,m,a,l,o,c),{sourceIndex:s,speed:m/(u/1e3)}}}}downloadReq(t,n,r){return async(o,s)=>{const i=JSON.parse(JSON.stringify(this.urls)),a=i.length;let l=t[s],c=n[s];try{const p=await nn.getItem(this.fileStore,l);if(p){if(this.isValidChunk(p,c))return console.log(`chunk ${s}(${l}) uses local store`),this.store.commit("updateProgressValue",{index:s,length:p.byteLength}),p;this.store.commit("updateProgressValue",{index:s,length:0})}}catch(p){console.error(`failed to get chunk ${s}(${l}) from IndexedDB`,p)}let u=0,m=0;console.log(`chunk ${s}(${l}) uses XMLHttpRequest`);for(let p=0;p<a;p++){m>0&&console.warn(`${l} retry: ${m}`);let x=$e.genCancelToken();p+1===a&&(x=r);let g,v,T=i[p],S=Date.now(),_=S;try{g=setTimeout(()=>{if((this.store.getters.getDownloadedSizeArray[s]||0)<=0){let b=JSON.parse(JSON.stringify(i));
15b.splice(p,1),b.push(T),this.urls=b,$e.cancel(x,new Error(`cancelled request ${s}(${l}) due to no data received in 15 seconds`))}},15*1e3);let f;switch(T.isTruncated){case!0:v=T.url[s],f=await $e.download(T.url[s],this.onProgressFn(s),x.token),this.store.commit("updateProgressValue",{index:s,length:f.data.byteLength});break;default:v=T.url,f=await $e.downloadInRange(T.url,l,this.onProgressFn(s),x.token),this.store.commit("updateProgressValue",{index:s,length:f.data.byteLength})}if(!this.isValidChunk(f.data,c))throw console.warn(`invalid chunk ${s}(${l}) from ${v}: md5 checksum mismatched`),new Error("invalid chunk: md5 checksum mismatched");return _=Date.now(),be.sendDownloadStat(be.STATUS_SUCCESS,v,this.store.getters.getDownloadedSizeArray[s]||0,S,_,s),clearTimeout(g),nn.setItem(this.fileStore,l,f.data),f.data}catch(f){if(clearTimeout(g),_=Date.now(),be.sendDownloadStat(be.STATUS_FAILED,v,this.store.getters.getDownloadedSizeArray[s]||0,S,_,s,f,m),u++,u<a){this.store.commit("updateProgressValue",{index:s,length:0}),m++;let d=JSON.parse(JSON.stringify(i));d.splice(p,1),d.push(T),this.urls=d;continue}else throw new Error(`failed to download chunk ${s}(${l}) from ${v}`,f)}}}}isValidChunk(t,n){return n?n===Kd.ArrayBuffer.hash(t,!1):!0}onProgressFn(t){return n=>{this.store.commit("updateProgressValue",{index:t,length:n.loaded})}}saveFile(t,n,r="application/octet-stream"){try{let o=new Blob(n,{type:r});Xd(o,t)}catch(o){throw new Error("failed to save file:",o)}}}var nh=new th;function rh(e){try{e.dispatchEvent(new MouseEvent("click"))}catch{let n=document.createEvent("MouseEvents");
15n.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(n)}}class oh{constructor(){this.urls=[]}async download(t){const n=Gr[t],r=`${n.file.name}-${n.file.version}.${n.file.format}`;try{const o=await this.getAvailableURL(n.urls);let s=document.createElement("a");s.href=o,s.download=r,s.rel="noopener",rh(s)}catch(o){console.error(o)}}async getAvailableURL(t){if(Array.isArray(t))for(const n of t)typeof n=="object"&&n.hasOwnProperty("isTruncated")&&!n.isTruncated&&n.hasOwnProperty("url")&&typeof n.url=="string"&&n.url!==""&&this.urls.push(n.url);if(this.urls.length>0)try{return await this.checkAccessibility()}catch(n){throw n}else throw new Error("no available url for downloading from a tag")}async checkAccessibility(){let t=0;for(const n of this.urls)try{return await $e.getResponseHeader(n),n}catch{if(t++,t<this.urls.length)continue;throw new Error("all urls are inaccessible")}}}var sh=new oh;const ih={class:"pt-3 sm:pt-6 pb-2 sm:pb-4 px-4 sm:px-8 font-bold text-lg sm:text-xl text-fb-red border-b-[1px] border-fb-red"},ah={class:"py-2 sm:py-4 px-4 sm:px-8 font-bold text-sm sm:text-base"},lh={__name:"Oppo",setup(e){const{t}=Be(),n=q(()=>Pe.modalStatus),r=o=>{Pe.modalStatus=o};return(o,s)=>(W(),Z("div",null,[n.value?(W(),Z("div",{key:0,class:"fixed inset-0 bg-[#0003]",onClick:s[0]||(s[0]=i=>r(!1))})):_e("",!0),E("div",{class:Re(`fixed flex flex-col left-1/2 top-1/2 -translate-x-1/2 translate-y-[calc(-50%+24px)] sm:translate-y-[calc(-50%+32px)] w-[320px] sm:w-[480px] max-h-[560px] sm:max-h-[680px] rounded-2xl shadow-lg bg-white overflow-y-scroll z-50 ${n.value?"flex":"hidden"}`)},[E("div",ih,P(I(t)("guide.oppo.step1.title")),1),E("div",ah,P(I(t)("guide.oppo.step1.description")),1)],2)]))}},ch={class:"pt-3 sm:pt-6 pb-2 sm:pb-4 px-4 sm:px-8 font-bold text-lg sm:text-xl text-fb-red border-b-[1px] border-fb-red"},uh={class:"py-2 sm:py-4 px-4 sm:px-8 font-bold text-sm sm:text-base"},fh={__name:"Vivo",setup(e){const{t}=Be(),n=q(()=>Pe.modalStatus),r=o=>{Pe.modalStatus=o};return(o,s)=>(W(),Z("div",null,[n.value?(W(),Z("div",{key:0,class:"fixed inset-0 bg-[#0003]",onClick:s[0]||(s[0]=i=>r(!1))})):_e("",!0),E("div",{class:Re(`fixed flex flex-col left-1/2 top-1/2 -translate-x-1/2 translate-y-[calc(-50%+24px)] sm:translate-y-[calc(-50%+32px)] w-[320px] sm:w-[480px] max-h-[560px] sm:max-h-[680px] rounded-2xl shadow-lg bg-white overflow-y-scroll z-50 ${n.value?"flex":"hidden"}`)},[E("div",ch,P(I(t)("guide.vivo.step1.title")),1),E("div",uh,P(I(t)("guide.vivo.step1.description")),1)],2)]))}},dh={class:"pt-3 sm:pt-6 pb-2 sm:pb-4 px-4 sm:px-8 font-bold text-lg sm:text-xl text-fb-red border-b-[1px] border-fb-red"},hh={class:"py-2 sm:py-4 px-4 sm:px-8 font-bold text-sm sm:text-base"},ph={__name:"Huawei",setup(e){const{t}=Be(),n=q(()=>Pe.modalStatus),r=o=>{Pe.modalStatus=o};return(o,s)=>(W(),Z("div",null,[n.value?(W(),Z("div",{key:0,class:"fixed inset-0 bg-[#0003]",onClick:s[0]||(s[0]=i=>r(!1))})):_e("",!0),E("div",{class:Re(`fixed flex flex-col left-1/2 top-1/2 -translate-x-1/2 translate-y-[calc(-50%+24px)] sm:translate-y-[calc(-50%+32px)] w-[320px] sm:w-[480px] max-h-[560px] sm:max-h-[680px] rounded-2xl shadow-lg bg-white overflow-y-scroll z-50 ${n.value?"flex":"hidden"}`)},[E("div",dh,P(I(t)("guide.huawei.step1.title")),1),E("div",hh,P(I(t)("guide.huawei.step1.description")),1)],2)]))}};var mh=Object.defineProperty,gh=Object.defineProperties,vh=Object.getOwnPropertyDescriptors,ys=Object.getOwnPropertySymbols,bh=Object.prototype.hasOwnProperty,wh=Object.prototype.propertyIsEnumerable,xs=(e,t,n)=>t in e?mh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,yh=(e,t)=>{for(var n in t||(t={}))bh.call(t,n)&&xs(e,n,t[n]);if(ys)for(var n of ys(t))wh.call(t,n)&&xs(e,n,t[n]);return e},xh=(e,t)=>gh(e,vh(t)),yt={props:{src:{type:String,required:!0},srcPlaceholder:{type:String,default:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"},srcset:{type:String},intersectionOptions:{type:Object,default:()=>({})},usePicture:{type:Boolean,default:!1}},inheritAttrs:!1,setup(e,{attrs:t,slots:n,emit:r}){const o=Q(null),s=Es({observer:null,intersected:!1,loaded:!1}),i=q(()=>s.intersected&&e.src?e.src:e.srcPlaceholder),a=q(()=>s.intersected&&e.srcset?e.srcset:!1),l=()=>{o.value&&o.value.getAttribute("src")!==e.srcPlaceholder&&(s.loaded=!0,r("load",o.value))},c=()=>r("error",o.value);return Te(()=>{"IntersectionObserver"in window&&(s.observer=new IntersectionObserver(u=>{u[0].isIntersecting&&(s.intersected=!0,s.observer.disconnect(),r("intersect"))},e.intersectionOptions),s.observer.observe(o.value))}),Ka(()=>{"IntersectionObserver"in window&&s.observer&&s.observer.disconnect()}),()=>{const u=ye("img",xh(yh({ref:o,src:i.value,srcset:a.value||null},t),{class:[t.class,"v-lazy-image",{"v-lazy-image-loaded":s.loaded}],onLoad:l,onError:c}));return e.usePicture?ye("picture",{ref:o,onLoad:l},s.intersected?[n.default,u]:[u]):u}}},_h="/fb/assets/pengpai_1_1.48802a66.png",Sh="/fb/assets/pengpai_2_0.ded942a5.png",Eh="/fb/assets/pengpai_2_1.ff1ca8ac.png",Th="/fb/assets/pengpai_2_2.f6c27150.png",Ah="/fb/assets/pengpai_2_3.2d14aeed.png",Ih="/fb/assets/pengpai_1_1.48802a66.png",Ch="/fb/assets/miui_2_0.ca03bbb1.png",Dh="/fb/assets/miui_2_1.41d53441.png";const Oh={key:0},Rh={class:"pt-3 sm:pt-6 pb-2 sm:pb-4 px-4 sm:px-8 font-bold text-lg sm:text-xl text-fb-red border-b-[1px] border-fb-red"},$h={class:"px-8 sm:px-16 py-4 sm:py-8 flex flex-col gap-4"},Nh={class:"space-y-2"},Fh={class:"absolute right-4 top-1/2 -translate-y-1/2 shrink-0 text-white"},Ph={class:"absolute right-4 top-1/2 -translate-y-1/2 shrink-0 text-white"},kh={class:"relative h-16 sm:h-20 border-t-[1px] border-fb-red"},Lh={key:1},Bh={class:"pt-3 sm:pt-6 pb-2 sm:pb-4 px-4 sm:px-8 font-bold text-lg sm:text-xl text-fb-red border-b-[1px] border-fb-red"},Mh={class:"py-2 sm:py-4 px-4 sm:px-8 font-bold text-sm sm:text-base"},Uh={class:"px-8 sm:px-16 pb-2 sm:pb-4"},jh={class:"py-2 sm:py-4 px-4 sm:px-8 font-bold text-sm sm:text-base"},Hh={class:"relative h-16 sm:h-20 border-t-[1px] border-fb-red"},zh={key:2},Vh={class:"pt-3 sm:pt-6 pb-2 sm:pb-4 px-4 sm:px-8 font-bold text-lg sm:text-xl text-fb-red border-b-[1px] border-fb-red"},Gh={class:"px-8 sm:px-16 py-2 sm:py-4"},qh={class:"py-2 sm:py-4 px-4 sm:px-8 font-bold text-sm sm:text-base"},Wh={class:"px-8 sm:px-16 pb-2 sm:pb-4"},Yh={class:"py-2 sm:py-4 px-4 sm:px-8 font-bold text-sm sm:text-base"},Jh={class:"px-8 sm:px-16 pb-2 sm:pb-4"},Kh={class:"py-2 sm:py-4 px-4 sm:px-8 font-bold text-sm sm:text-base"},Zh={class:"px-8 sm:px-16 pb-2 sm:pb-4"},Qh={class:"py-2 sm:py-4 px-4 sm:px-8 font-bold text-sm sm:text-base"},Xh={class:"py-2 sm:py-4 px-4 sm:px-8 font-bold text-sm sm:text-base"},ep={class:"relative h-16 sm:h-20 border-t-[1px] border-fb-red"},tp={key:3},np={class:"pt-3 sm:pt-6 pb-2 sm:pb-4 px-4 sm:px-8 font-bold text-lg sm:text-xl text-fb-red border-b-[1px] border-fb-red"},rp={class:"py-2 sm:py-4 px-4 sm:px-8 font-bold text-sm sm:text-base"},op={class:"px-8 sm:px-16 pb-2 sm:pb-4"},sp={class:"py-2 sm:py-4 px-4 sm:px-8 font-bold text-sm sm:text-base"},ip={class:"relative h-16 sm:h-20 border-t-[1px] border-fb-red"},ap={key:4},lp={class:"pt-3 sm:pt-6 pb-2 sm:pb-4 px-4 sm:px-8 font-bold text-lg sm:text-xl text-fb-red border-b-[1px] border-fb-red"},cp={class:"px-8 sm:px-16 py-2 sm:py-4"},up={class:"py-2 sm:py-4 px-4 sm:px-8 font-bold text-sm sm:text-base"},fp={class:"px-8 sm:px-16 pb-2 sm:pb-4"},dp={class:"py-2 sm:py-4 px-4 sm:px-8 font-bold text-sm sm:text-base"},hp={class:"py-2 sm:py-4 px-4 sm:px-8 font-bold text-sm sm:text-base"},pp={class:"relative h-16 sm:h-20 border-t-[1px] border-fb-red"},mp={__name:"Xiaomi",setup(e){const{t}=Be(),n=q(()=>Pe.modalStatus),r=Q(0),o=Q(0),s=c=>{Pe.modalStatus=c,c==!1&&(o.value=0)},i=()=>{o.value--},a=()=>{o.value++},l=()=>{s(!1)};return(c,u)=>(W(),Z("div",null,[n.value?(W(),Z("div",{key:0,class:"fixed inset-0 bg-[#0003]",onClick:u[0]||(u[0]=m=>s(!1))})):_e("",!0),E("div",{class:Re(`fixed flex flex-col left-1/2 top-1/2 -translate-x-1/2 translate-y-[calc(-50%+24px)] sm:translate-y-[calc(-50%+32px)] w-[320px] sm:w-[480px] max-h-[560px] sm:max-h-[680px] rounded-2xl shadow-lg bg-white overflow-y-scroll z-50 ${n.value?"flex":"hidden"}`)},[o.value==0?(W(),Z("div",Oh,[E("div",Rh,P(I(t)("guide.xiami_title")),1),E("div",$h,[J(I($l),{modelValue:r.value,"onUpdate:modelValue":u[1]||(u[1]=m=>r.value=m)},{default:ge(()=>[E("div",Nh,[J(I(Bo),{value:"1"},{default:ge(({checked:m})=>
15[E("div",{class:Re(`relative flex text-lg sm:text-xl cursor-pointer rounded-md sm:rounded-lg shadow-md px-4 py-2 ${m?"bg-fb-red text-white":"bg-[#eeeeee]"}`)},[E("span",null,P(I(t)("guide.xiaomi_miui")),1),Mt(E("div",Fh,[...u[2]||(u[2]=[E("svg",{class:"h-6 w-6",viewBox:"0 0 24 24",fill:"none"},[E("circle",{cx:"12",cy:"12",r:"12",fill:"#fff","fill-opacity":"0.2"}),E("path",{d:"M7 13l3 3 7-7",stroke:"#fff","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])],512),[[Fn,m]])],2)]),_:1}),J(I(Bo),{value:"0"},{default:ge(({checked:m})=>[E("div",{class:Re(`relative flex text-lg sm:text-xl cursor-pointer rounded-md sm:rounded-lg shadow-md px-4 py-2 ${m?"bg-fb-red text-white":"bg-[#eeeeee]"}`)},[As(P(I(t)("guide.xiaomi_pengpai"))+" ",1),Mt(E("div",Ph,[...u[3]||(u[3]=[E("svg",{class:"h-6 w-6",viewBox:"0 0 24 24",fill:"none"},[E("circle",{cx:"12",cy:"12",r:"12",fill:"#fff","fill-opacity":"0.2"}),E("path",{d:"M7 13l3 3 7-7",stroke:"#fff","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"})],-1)])],512),[[Fn,m]])],2)]),_:1})])]),_:1},8,["modelValue"])]),E("div",kh,[E("button",{onClick:a,class:"absolute right-4 sm:right-8 top-1/2 -translate-y-1/2 px-6 py-2 shadow-sm font-bold text-sm sm:text-base rounded-md text-white bg-fb-red cursor-pointer"},P(I(t)("guide.next")),1)])])):_e("",!0),o.value==1&&r.value==0?(W(),Z("div",Lh,[E("div",Bh,P(I(t)("guide.pengpai.step1.title")),1),E("div",Mh,P(I(t)("guide.pengpai.step1.description1")),1),E("div",Uh,[J(I(yt),{class:"w-full h-auto",src:I(_h),alt:"pengpai_1_1"},null,8,["src"])]),E("div",jh,P(I(t)("guide.pengpai.step1.description2")),1),E("div",Hh,[E("button",{onClick:a,class:"absolute right-4 sm:right-8 top-1/2 -translate-y-1/2 px-6 py-2 shadow-sm font-bold text-sm sm:text-base rounded-md text-white bg-fb-red cursor-pointer"},P(I(t)("guide.next")),1)])])):_e("",!0),o.value==2&&r.value==0?(W(),Z("div",zh,[E("div",Vh,P(I(t)("guide.pengpai.step2.title")),1),E("div",Gh,[J(I(yt),{class:"w-full h-auto",src:I(Sh),alt:"pengpai_2_0"},null,8,["src"])]),E("div",qh,P(I(t)("guide.pengpai.step2.description1")),1),E("div",Wh,[J(I(yt),{class:"w-full h-auto",src:I(Eh),alt:"pengpai_2_1"},null,8,["src"])]),E("div",Yh,P(I(t)("guide.pengpai.step2.description2")),1),E("div",Jh,[J(I(yt),{class:"w-full h-auto",src:I(Th),alt:"pengpai_2_2"},null,8,["src"])]),E("div",Kh,P(I(t)("guide.pengpai.step2.description3")),1),E("div",Zh,[J(I(yt),{class:"w-full h-auto",src:I(Ah),alt:"pengpai_2_3"},null,8,["src"])]),E("div",Qh,P(I(t)("guide.pengpai.step2.description4")),1),E("div",Xh,P(I(t)("guide.pengpai.step2.description5")),1),E("div",ep,[E("button",{onClick:i,class:"absolute left-4 sm:left-8 top-1/2 -translate-y-1/2 w-24 py-2 shadow-sm font-bold text-sm sm:text-base rounded-md text-white bg-fb-red cursor-pointer"},P(I(t)("guide.prev")),1),E("button",{onClick:l,class:"absolute right-4 sm:right-8 top-1/2 -translate-y-1/2 w-24 py-2 shadow-sm font-bold text-sm sm:text-base rounded-md text-white bg-fb-red cursor-pointer"},P(I(t)("guide.welcome")),1)])])):_e("",!0),o.value==1&&r.value==1?(W(),Z("div",tp,[E("div",np,P(I(t)("guide.miui.step1.title")),1),E("div",rp,P(I(t)("guide.miui.step1.description1")),1),E("div",op,[J(I(yt),{class:"w-full h-auto",src:I(Ih),alt:"miui_1_1"},null,8,["src"])]),E("div",sp,P(I(t)("guide.miui.step1.description2")),1),E("div",ip,[E("button",{onClick:a,class:"absolute right-4 sm:right-8 top-1/2 -translate-y-1/2 px-6 py-2 shadow-sm font-bold text-sm sm:text-base rounded-md text-white bg-fb-red cursor-pointer"},P(I(t)("guide.next")),1)])])):_e("",!0),o.value==2&&r.value==1?(W(),Z("div",ap,[E("div",lp,P(I(t)("guide.miui.step2.title")),1),E("div",cp,[J(I(yt),{class:"w-full h-auto",src:I(Ch),alt:"miui_2_0"},null,8,["src"])]),E("div",up,P(I(t)("guide.miui.step2.description1")),1),E("div",fp,[J(I(yt),{class:"w-full h-auto",src:I(Dh),alt:"miui_2_1"},null,8,["src"])]),E("div",dp,P(I(t)("guide.miui.step2.description2")),1),E("div",hp,P(I(t)("guide.miui.step2.description3")),1),E("div",pp,[E("button",{onClick:i,class:"absolute left-4 sm:left-8 top-1/2 -translate-y-1/2 w-24 py-2 shadow-sm font-bold text-sm sm:text-base rounded-md text-white bg-fb-red cursor-pointer"},P(I(t)("guide.prev")),1),E("button",{onClick:l,class:"absolute right-4 sm:right-8 top-1/2 -translate-y-1/2 w-24 py-2 shadow-sm font-bold text-sm sm:text-base rounded-md text-white bg-fb-red cursor-pointer"},P(I(t)("guide.welcome")),1)])])):_e("",!0)],2)]))}},gp={class:"flex-1 flex"},vp={class:"flex-1 flex flex-col justify-center"},bp={class:"text-xl font-bold mb-1"},wp={class:"text-sm text-gray-50"},yp={class:"flex-1 flex flex-col items-start"},xp={class:"text-left text-xl font-bold mb-1 md:text-lg"},_p={class:"text-sm text-gray-50 md:text-xs"},Sp={class:"fixed inset-0 z-10 overflow-y-auto"},Ep={class:"min-h-screen px-4 text-center"},Tp={class:"inline-block w-full max-w-md p-6 my-8 overflow-hidden text-left align-middle transition-all transform bg-white shadow-xl rounded-2xl"}
15,Ap={class:"mt-4 text-sm text-justify text-gray-500 tracking-wide ipad:text-base lg:mb-4"},Ip={class:"mb-3"},Cp={class:"mb-3"},Dp={class:"mb-3"},Op={class:"mt-6 text-base text-gray-900 ipad:text-lg"},Rp={class:"mt-6 flex justify-between"},rn={__name:"DownloadButton",props:{isRealDownloadTrigger:{type:Boolean,default:!1},platform:{type:Number,default:0}},setup(e){const t=Un(),n=e,{t:r}=Be(),o={[Oe.ANDROID]:{bg:"bg-green-600",shadow:"shadow-green-300",hover:"hover:bg-green-150"},[Oe.WINDOWS]:{bg:"bg-blue-600",border:"shadow-blue-300",hover:"hover:bg-blue-150"},[Oe.LINUX]:{bg:"bg-amber-500",border:"shadow-amber-300",hover:"hover:bg-amber-150"},[Oe.MAC]:{bg:"bg-fb-red",border:"shadow-fb-red/40",hover:"hover:bg-fb-red/20"}};let s=q(()=>Vr(n.platform)),i=Q(!1),a=Q("");function l(){i.value=!1}function c(){i.value=!0}async function u(){l(),be.sendDownloadMethod(be.DOWNLOAD_METHOD_DIRECT),await sh.download(n.platform)}return Te(()=>{n.isRealDownloadTrigger&&document.getElementById("download").addEventListener("click",async m=>{m.preventDefault(),t.commit("resetProgressValue"),Gl?c():(be.sendDownloadMethod(be.DOWNLOAD_METHOD_FILESAVER),await nh.download(t,n.platform),n.platform==Oe.ANDROID&&(Pe.modalStatus=!0))})}),pt(()=>Pe.deviceType,async m=>{a.value=m},{deep:!0}),(m,p)=>(W(),Z("div",gp,[e.isRealDownloadTrigger?(W(),Z(je,{key:1},[E("button",{id:"download",class:Re(`flex-1 flex items-center my-4 ${o[n.platform].bg} rounded-lg px-6 py-4 text-white shadow-lg ${o[n.platform].shadow} transition-shadow hover:shadow-none sm:px-8 sm:py-6 sm:text-xl md:mx-4 md:p-4`)},[E("div",yp,[E("span",xp,P(I(r)("introduction.downloadSection.buttonText")),1),E("p",_p,P(I(r)("introduction.fileSizeText"))+P(I(s)),1)]),J(I(Ro),{class:"flex-initial w-8"})],2),J(I(Ys),{appear:"",show:I(i),as:"template"},{default:ge(()=>[J(I(Cl),{as:"div",onClose:l},{default:ge(()=>[E("div",Sp,[E("div",Ep,[J(I(Dl),{class:"fixed inset-0 bg-black opacity-50"}),p[0]||(p[0]=E("span",{class:"inline-block h-screen align-middle","aria-hidden":"true"},"\u200B",-1)),J(I(Ws),{as:"template",enter:"duration-300 ease-out","enter-from":"opacity-0 scale-95","enter-to":"opacity-100 scale-100",leave:"duration-200 ease-in","leave-from":"opacity-100 scale-100","leave-to":"opacity-0 scale-95"},{default:ge(()=>[E("div",Tp,[J(I(Ol),{as:"h3",class:"text-lg text-center font-medium leading-6 text-gray-900 ipad:text-lg lg:text-xl"},{default:ge(()=>[As(P(I(r)("introduction.stepSection.noticeDialog.title")),1)]),_:1}),E("div",Ap,[E("p",Ip,P(I(r)("introduction.stepSection.noticeDialog.noticeTextToChangeBrowser")),1),E("p",Cp,P(I(r)("introduction.stepSection.noticeDialog.recommendBrowsers")),1),E("p",Dp,P(I(r)("introduction.stepSection.noticeDialog.recommendBrowsersForiOS")),1),E("p",Op,P(I(r)("introduction.stepSection.noticeDialog.judgeText")),1)]),E("div",Rp,[E("button",{type:"button",onClick:l,class:Re(`basis-1/2 justify-center px-4 py-2 text-sm font-medium text-fb-red border border-fb-red bg-fb-red/10 rounded-md ${o[n.platform].shadow} focus:outline-none focus-visible:border-0 focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-fb-red/50`)},P(I(r)("introduction.stepSection.noticeDialog.cancelButtonText")),3),E("button",{type:"button",onClick:u,class:"inline-flex justify-center px-4 py-2 text-sm text-gray-900 border border-gray-500 rounded-md hover:bg-gray-200 focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-gray-500"},P(I(r)("introduction.stepSection.noticeDialog.continueButtonText")),1)])])]),_:1})])])]),_:1})]),_:1},8,["show"])],64)):(W(),Z("a",{key:0,href:"#stepSection",class:Re(`flex-1 flex my-4 ${o[n.platform].bg} rounded-lg px-6 py-4 text-white shadow-lg ${o[n.platform].shadow} transition-shadow hover:shadow-none sm:px-8 sm:py-6 sm:text-xl md:mx-4 md:my-0 md:text-2xl`)},[E("div",vp,[E("span",bp,P(I(r)("introduction.downloadSection.buttonText")),1),E("p",wp,P(I(r)("introduction.fileSizeText"))+P(I(s)),1)]),J(I(Ro),{class:"w-8"})],2)),I(a)=="OPPO"?(W(),nt(lh,{key:2})):_e("",!0),I(a)=="Vivo"?(W(),nt(fh,{key:3})):_e("",!0),I(a)=="Huawei"?(W(),nt(ph,{key:4})):_e("",!0),I(a)=="Xiaomi"?(W(),nt(mp,{key:5})):_e("",!0)]))}};var $p=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n};const Np={id:"downloadSection",class:"w-screen bg-gradient-to-b from-white to-fb-gray"},Fp={class:"flex flex-col pt-10 mx-auto max-w-5xl sm:p-20 base:px-6"},Pp={href:"#downloadSection",class:"flex-1 flex flex-col items-center"},kp={class:"my-4 text-center font-black text-2xl tracking-wider sm:text-4xl"},Lp={class:"tracking-wider text-center px-8 sm:text-2xl sm:px-0"},Bp={class:"flex-1 flex flex-col my-8 px-4 sm:px-32"},Mp={class:"text-lg text-gray-700 tracking-wide"},Up={class:"flex-1 flex flex-col my-4 px-10 sm:my-8 sm:px-0 md:flex-row"},jp={class:"flex-initial flex flex-col text-gray-900 nav:flex-1"},Hp=["href"],zp={class:"flex-initial flex"},Vp={class:"flex-1 inline-block"},Gp=["href"],qp={class:"flex-initial flex"},Wp={class:"flex-1 inline-block"},Yp={class:"flex-initial flex"},Jp={class:"flex-1 inline-block"},Kp={class:"flex-1 flex flex-col items-center text-gray-900"},Zp={class:"flex-1 flex flex-col items-center m-4"},Qp={class:"text-center sm:text-lg md:text-xl"},Xp=["src"],e1={class:"flex-1 flex flex-col my-4 px-10 sm:my-8 sm:px-0 md:flex-row"},t1={class:"flex-1 flex flex-col my-4 px-10 sm:my-8 sm:px-0 md:flex-row"},n1={class:"flex-1 flex flex-col my-4 px-10 sm:my-8 sm:px-0 md:flex-row"},r1={__name:"DownloadSection",setup(e){const{t}=Be(),n=[{icon:Qi,title:"Android",class:"mx-6"},{icon:Xi,title:"Windows",class:"mx-6"},{icon:ea,title:"Linux",class:"mx-middle"},{icon:ta,title:"Mac",class:"mx-6"}],r=Q(!1),o=Q(""),s=Q(""),i=Un(),a=q(()=>i.getters.getCurrentOS);async function l(){if(typeof window=="undefined")return"";const S={errorCorrectionLevel:"H",width:200,margin:2};try{return await vn.toDataURL(window.location.origin,S)}catch{return r.value=!0,""}}async function c(){const S=await l();s.value=S}const u=S=>{i.commit("setCurrentOS",S)};pt(a,S=>{S===0&&c()},{immediate:!0});function m(){be.sendDownloadMethod(be.DOWNLOAD_METHOD_GITHUB)}function p(){be.sendDownloadMethod(be.DOWNLOAD_METHOD_GOOGLE_PLAY)}function x(){Pe.modalStatus=!0}const g=Q(typeof window!="undefined"?window.innerWidth:1024);Te(()=>{typeof window!="undefined"&&window.addEventListener("resize",v)});const v=()=>{g.value=window.innerWidth},T=q(()=>g.value<768?"48":"64");return pt(()=>Pe.deviceType,async S=>{o.value=S},{deep:!0}),(S,_)=>(W(),Z("section",Np,[E("section",Fp,[E("a",Pp,[E("section",kp,[E("h2",null,P(I(t)("introduction.downloadSection.title")),1)]),E("section",Lp,[E("h3",null,P(I(t)("introduction.downloadSection.description")),1)])]),E("section",Bp,[J(I(Jr),{selectedIndex:a.value,onChange:u},{default:ge(()=>[J(I(Kr),{class:"flex justify-center"},{default:ge(()=>[(W(),Z(je,null,rt(n,(f,d)=>J(I(Zr),{class:Re(`flex flex-col items-center ${f.class} my-auto ${d===a.value?"opacity-100":"opacity-30"}`),key:d},{default:ge(()=>[E("div",null,[J(I(ft),{icon:f.icon,width:T.value,height:T.value,class:"mx-auto"}
15,null,8,["icon","width","height"]),E("p",Mp,P(f.title),1)])]),_:2},1032,["class"])),64))]),_:1}),J(I(Qr),null,{default:ge(()=>[J(I(Lt),null,{default:ge(()=>[E("div",Up,[J(rn,{isRealDownloadTrigger:!1,platform:I(Oe).ANDROID},null,8,["platform"]),E("div",jp,[E("a",{href:I(t)("introduction.downloadSection.github.link"),onClick:m,target:"_blank",rel:"noopener noreferrer",class:"flex-1 flex justify-center mt-2 mb-1 p-2 border border-gray-300 rounded-lg transition-colors hover:border-gray-500 sm:px-8 sm:py-4 sm:text-xl md:basis-1/2 md:mt-0 md:p-3 md:items-center md:text-base"},[E("div",zp,[J(I(ft),{icon:I(Wd),width:"24",inline:!0,class:"flex-initial mr-2"},null,8,["icon"]),E("span",Vp,P(I(t)("introduction.downloadSection.github.text")),1)])],8,Hp),E("a",{href:I(t)("introduction.downloadSection.googlePlay.link"),onClick:p,target:"_blank",rel:"noopener noreferrer",class:"flex-1 flex justify-center mt-1 mb-2 p-2 border border-gray-300 rounded-lg transition-colors hover:border-gray-500 sm:px-8 sm:py-4 sm:text-xl md:basis-1/2 md:mb-0 md:p-3 md:items-center md:text-base"},[E("div",qp,[J(I(ft),{icon:I(Yd),width:"22",inline:!0,class:"flex-initial mr-2"},null,8,["icon"]),E("span",Wp,P(I(t)("introduction.downloadSection.googlePlay.text")),1)])],8,Gp),o.value=="OPPO"||o.value=="Vivo"||o.value=="Huawei"||o.value=="Xiaomi"?(W(),Z("a",{key:0,onClick:x,target:"_blank",crossorigin:"",class:"flex-1 flex justify-center mt-1 mb-2 p-2 border border-gray-300 rounded-lg transition-colors hover:border-gray-500 sm:px-8 sm:py-4 sm:text-xl md:basis-1/2 md:mb-0 md:p-3 md:items-center md:text-base cursor-pointer"},[E("div",Yp,[E("span",Jp,P(I(t)("guide.title")),1)])])):_e("",!0)])]),Mt(E("div",Kp,[E("div",Zp,[E("p",Qp,P(I(t)("introduction.downloadSection.qrcode.text")),1),E("img",{src:s.value,alt:"\u672C\u9875\u9762\u57DF\u540D\u7684\u4E8C\u7EF4\u7801",width:"200",class:"flex-auto m-2 border border-gray-300 cursor-pointer transition-all hover:border-gray-500 hover:scale-95 hover:shadow-lg hover:shadow-gray-300 md:m-4"},null,8,Xp)])],512),[[Fn,!r.value&&s.value]])]),_:1}),J(I(Lt),null,{default:ge(()=>[E("div",e1,[J(rn,{isRealDownloadTrigger:!1,platform:I(Oe).WINDOWS},null,8,["platform"])])]),_:1}),J(I(Lt),null,{default:ge(()=>[E("div",t1,[J(rn,{isRealDownloadTrigger:!1,platform:I(Oe).LINUX},null,8,["platform"])])]),_:1}),J(I(Lt),null,{default:ge(()=>[E("div",n1,[J(rn,{isRealDownloadTrigger:!1,platform:I(Oe).MAC},null,8,["platform"])])]),_:1})]),_:1})]),_:1},8,["selectedIndex"])])])]))}};var o1=$p(r1,[["__scopeId","data-v-6c91eaf4"]]),s1="/fb/assets/spaceship.669b8c0b.svg";const i1={width:48,height:48,body:'<path fill="#FFC107" d="M43.611 20.083H42V20H24v8h11.303c-1.649 4.657-6.08 8-11.303 8c-6.627 0-12-5.373-12-12s5.373-12 12-12c3.059 0 5.842 1.154 7.961 3.039l5.657-5.657C34.046 6.053 29.268 4 24 4C12.955 4 4 12.955 4 24s8.955 20 20 20s20-8.955 20-20c0-1.341-.138-2.65-.389-3.917z"/><path fill="#FF3D00" d="m6.306 14.691l6.571 4.819C14.655 15.108 18.961 12 24 12c3.059 0 5.842 1.154 7.961 3.039l5.657-5.657C34.046 6.053 29.268 4 24 4C16.318 4 9.656 8.337 6.306 14.691z"/><path fill="#4CAF50" d="M24 44c5.166 0 9.86-1.977 13.409-5.192l-6.19-5.238A11.91 11.91 0 0 1 24 36c-5.202 0-9.619-3.317-11.283-7.946l-6.522 5.025C9.505 39.556 16.227 44 24 44z"/><path fill="#1976D2" d="M43.611 20.083H42V20H24v8h11.303a12.04 12.04 0 0 1-4.087 5.571l.003-.002l6.19 5.238C36.971 39.205 44 34 44 24c0-1.341-.138-2.65-.389-3.917z"/>'},a1={width:256,height:180,body:'<path fill="red" d="M250.346 28.075A32.18 32.18 0 0 0 227.69 5.418C207.824 0 127.87 0 127.87 0S47.912.164 28.046 5.582A32.18 32.18 0 0 0 5.39 28.24c-6.009 35.298-8.34 89.084.165 122.97a32.18 32.18 0 0 0 22.656 22.657c19.866 5.418 99.822 5.418 99.822 5.418s79.955 0 99.82-5.418a32.18 32.18 0 0 0 22.657-22.657c6.338-35.348 8.291-89.1-.164-123.134Z"/><path fill="#FFF" d="m102.421 128.06l66.328-38.418l-66.328-38.418z"/>'},l1={width:256,height:209,body:'<path fill="#55acee" d="M256 25.45a105.04 105.04 0 0 1-30.166 8.27c10.845-6.5 19.172-16.793 23.093-29.057a105.183 105.183 0 0 1-33.351 12.745C205.995 7.201 192.346.822 177.239.822c-29.006 0-52.523 23.516-52.523 52.52c0 4.117.465 8.125 1.36 11.97c-43.65-2.191-82.35-23.1-108.255-54.876c-4.52 7.757-7.11 16.78-7.11 26.404c0 18.222 9.273 34.297 23.365 43.716a52.312 52.312 0 0 1-23.79-6.57c-.003.22-.003.44-.003.661c0 25.447 18.104 46.675 42.13 51.5a52.592 52.592 0 0 1-23.718.9c6.683 20.866 26.08 36.05 49.062 36.475c-17.975 14.086-40.622 22.483-65.228 22.483c-4.24 0-8.42-.249-12.529-.734c23.243 14.902 50.85 23.597 80.51 23.597c96.607 0 149.434-80.031 149.434-149.435c0-2.278-.05-4.543-.152-6.795A106.748 106.748 0 0 0 256 25.45"/>'},c1={width:256,height:256,body:'<path fill="#1877F2" d="M256 128C256 57.308 198.692 0 128 0C57.308 0 0 57.307 0 128c0 63.888 46.808 116.843 108 126.445V165H75.5v-37H108V99.8c0-32.08 19.11-49.8 48.347-49.8C170.352 50 185 52.5 185 52.5V84h-16.14C152.958 84 148 93.867 148 103.99V128h35.5l-5.675 37H148v89.445c61.192-9.602 108-62.556 108-126.445"/><path fill="#FFF" d="m177.825 165l5.675-37H148v-24.01C148 93.866 152.959 84 168.86 84H185V52.5S170.352 50 156.347 50C127.11 50 108 67.72 108 99.8V128H75.5v37H108v89.445A128.959 128.959 0 0 0 128 256a128.9 128.9 0 0 0 20-1.555V165h29.825"/>'}
15,u1={width:24,height:24,body:'<path fill="currentColor" d="M12.081 12.932c-.78 1.611-1.849 3.792-2.379 4.776c-.513.896-.94.776-1.278.024c-1.172-2.77-3.58-7.625-4.712-10.347c-.209-.502-.367-.823-.516-.95c-.151-.125-.462-.2-.936-.227c-.174-.019-.26-.061-.26-.131v-.379l.043-.038c.771-.004 4.503 0 4.503 0l.042.038v.362c0 .1-.063.147-.188.147l-.47.024c-.403.026-.605.137-.605.365c0 .112.044.275.139.501c.902 2.206 4.017 8.772 4.017 8.772l.114.039l2.01-4.012l-.402-.89L9.82 8.285s-.265-.545-.357-.727c-.607-1.203-.593-1.265-1.206-1.347c-.173-.02-.261-.042-.261-.125v-.39l.05-.037h3.578l.095.03v.376c0 .088-.063.125-.189.125l-.257.039c-.66.051-.551.318-.113 1.186l1.319 2.712l1.465-2.922c.244-.533.194-.668.093-.789c-.058-.07-.255-.185-.677-.2l-.168-.018a.191.191 0 0 1-.121-.043a.125.125 0 0 1-.056-.107v-.357l.051-.037c1.04-.007 3.371 0 3.371 0l.05.037v.364c0 .101-.05.148-.161.148c-.539.024-.652.079-.854.366c-.1.154-.313.49-.538.865l-1.919 3.563l-.054.112l2.328 4.763l.142.041l3.665-8.704c.129-.352.107-.602-.053-.746c-.165-.144-.289-.228-.716-.246l-.35-.014a.211.211 0 0 1-.127-.037a.128.128 0 0 1-.06-.1v-.361l.049-.038h4.137l.034.038v.364c0 .1-.062.15-.174.15c-.541.024-.94.15-1.203.351c-.263.213-.465.514-.614.89c0 0-3.371 7.72-4.524 10.289c-.438.84-.878.765-1.253-.026c-.477-.977-1.478-3.156-2.206-4.761l.045-.03z"/>'},f1={class:"flex-1 flex"},d1={class:"flex-1 flex flex-col py-6 space-y-4 sm:py-10 md:px-4 md:py-2"},h1={class:"flex-1 flex-col space-y-4 ipad:space-y-6 md:space-y-4"},p1={class:"text-fb-red text-center text-5xl sm:text-6xl md:text-5xl lg:text-6xl"},m1={class:"font-black text-center text-xl tracking-wider sm:text-3xl md:text-2xl"},g1={class:"tracking-wider text-gray-500 text-center px-2 sm:text-xl sm:px-0 md:text-lg lg:px-4"},v1={class:"flex-initial inline-flex"},b1={key:0,class:"flex-1 flex"},w1={class:"flex-1 flex flex-col mt-8"},y1={class:"text-sm text-gray-700 tracking-wide"},x1={key:0,class:"flex-initial flex flex-col text-gray-900 nav:flex-1"},_1={class:"flex-initial flex"},S1={class:"flex-1 inline-block"},E1={key:1,class:"flex-1 flex justify-center"},T1={key:2,class:"flex-1 flex justify-center"},A1={key:3,class:"flex-1 flex justify-evenly my-4"},I1={class:"flex-initial basis-1/5 flex justify-center"},C1={href:"https://www.google.com",target:"_blank",rel:"noopener noreferrer",class:"flex-initial flex items-center p-2 rounded-xl shadow-md shadow-gray-300 transition-shadow hover:shadow-lg hover:shadow-gray-400"},D1={class:"flex-initial basis-1/5 flex justify-center"},O1={href:"https://www.youtube.com",target:"_blank",rel:"noopener noreferrer",class:"flex-initial flex items-center p-2 rounded-xl shadow-md shadow-gray-300 transition-shadow hover:shadow-lg hover:shadow-gray-400"},R1={class:"flex-initial basis-1/5 flex justify-center"},$1={href:"https://twitter.com",target:"_blank",rel:"noopener noreferrer",class:"flex-initial flex items-center p-2 rounded-xl shadow-md shadow-gray-300 transition-shadow hover:shadow-lg hover:shadow-gray-400"},N1={class:"flex-initial basis-1/5 flex justify-center"},F1={href:"https://www.facebook.com",target:"_blank",rel:"noopener noreferrer",class:"flex-initial flex items-center p-2 rounded-xl shadow-md shadow-gray-300 transition-shadow hover:shadow-lg hover:shadow-gray-400"},P1={class:"flex-initial basis-1/5 flex justify-center"},k1={href:"https://www.wikipedia.org",target:"_blank",rel:"noopener noreferrer",class:"flex-initial flex items-center p-2 rounded-xl shadow-md shadow-gray-300 transition-shadow hover:shadow-lg hover:shadow-gray-400"},L1={__name:"Step",props:{step:Object,stepNum:Number},setup(e){const{t,rt:n}=Be(),r=Un(),o=Q(""),s=Q(0),i=q(()=>r.getters.getCurrentOS),a=q(()=>[{icon:Qi,title:"Android",class:"mx-2",platform:Oe.ANDROID},{icon:Xi,title:"Windows",class:"mx-2",platform:Oe.WINDOWS},{icon:ea,title:"Linux",class:"mx-2",platform:Oe.LINUX},{icon:ta,title:"Mac",class:"mx-2",platform:Oe.MAC}]),l=u=>{r.commit("setCurrentOS",u)};function c(){Pe.modalStatus=!0}return pt(()=>Pe.deviceType,async u=>{o.value=u},{deep:!0}),pt(()=>Pe.macCpuType,async u=>{s.value=u},{deep:!0}),(u,m)=>(W(),Z("li",f1,[E("section",d1,[E("div",h1,[E("div",p1,P(I(n)(e.step.number)),1),E("h4",m1,P(I(n)(e.step.title)),1),E("h5",g1,P(I(n)(e.step.description)),1)]),E("div",v1,[e.stepNum===1?(W(),Z("section",b1,[E("div",w1,[J(I(Jr),{selectedIndex:i.value,onChange:l},{default:ge(()=>[J(I(Kr),{class:"flex justify-center"},{default:ge(()=>[(W(!0),Z(je,null,rt(a.value,(p,x)=>(W(),nt(I(Zr),{class:Re(`flex flex-col items-center ${p.class} my-auto ${x===i.value?"opacity-100":"opacity-30"}`),key:x},{default:ge(()=>[E("div",null,[J(I(ft),{icon:p.icon,width:"48",height:"48",class:"mx-auto"},null,8,["icon"]),E("p",y1,P(p.title),1)])]),_:2},1032,["class"]))),128))]),_:1}),J(I(Qr),null,{default:ge(()=>[(W(!0),Z(je,null,rt(a.value,(p,x)=>(W(),nt(I(Lt),{key:x},{default:ge(()=>[J(rn,{isRealDownloadTrigger:!0,platform:p.platform},null,8,["platform"]),p.platform==I(Oe).ANDROID&&(o.value=="OPPO"||o.value=="Vivo"||o.value=="Huawei"||o.value=="Xiaomi")?(W(),Z("div",x1,[E("a",{onClick:c,target:"_blank",crossorigin:"",class:"flex-1 flex justify-center mt-1 mb-2 p-2 border border-gray-300 rounded-lg transition-colors hover:border-gray-500 sm:px-8 sm:py-4 sm:text-xl md:basis-1/2 md:mb-0 md:p-3 md:items-center md:text-base cursor-pointer"},[E("div",_1,[E("span",S1,P(I(t)("guide.title")),1)])])])):_e("",!0)]),_:2},1024))),128))]),_:1})]),_:1},8,["selectedIndex"])])])):_e("",!0),e.stepNum===2?(W(),Z("div",E1,[...m[0]||(m[0]=[E("img",{class:"w-16 my-4 text-center",src:Za,alt:"\u81EA\u7531\u6D4F\u89C8 logo"},null,-1)])])):_e("",!0),e.stepNum===3?(W(),Z("div",T1,[...m[1]||(m[1]=[E("img",{class:"w-16 my-4 text-center",src:s1,alt:"\u4E00\u652F\u706B\u7BAD"},null,-1)])])):_e("",!0),e.stepNum===4?(W(),Z("section",A1,[E("span",I1,[E("a",C1,[J(I(ft),{icon:I(i1),width:"30",class:"flex-initial"},null,8,["icon"])])]),E("span",D1,[E("a",O1,[J(I(ft),{icon:I(a1),width:"30",class:"flex-initial"}
15,null,8,["icon"])])]),E("span",R1,[E("a",$1,[J(I(ft),{icon:I(l1),width:"30",class:"flex-initial"},null,8,["icon"])])]),E("span",N1,[E("a",F1,[J(I(ft),{icon:I(c1),width:"30",class:"flex-initial"},null,8,["icon"])])]),E("span",P1,[E("a",k1,[J(I(ft),{icon:I(u1),width:"30",class:"flex-initial"},null,8,["icon"])])])])):_e("",!0)])])]))}},B1={id:"stepSection",class:"w-screen bg-gradient-to-b from-white to-fb-gray"},M1={class:"flex flex-col pt-10 mx-auto px-10 sm:p-20 sm:px-32 md:px-28"},U1={href:"#stepSection",class:"flex-1 flex flex-col items-center"},j1={class:"my-4 text-center font-black text-2xl tracking-wider sm:text-4xl"},H1={class:"tracking-wider text-center px-8 sm:text-2xl sm:px-0"},z1={class:"flex-1 flex my-8 px-4 sm:px-28 md:px-0 md:my-20"},V1={class:"flex-1 flex flex-col divide-y divide-dotted divide-gray-300 lg:flex-row lg:divide-y-0 lg:divide-x"},G1={__name:"StepSection",setup(e){const{t,tm:n,rt:r}=Be();return(o,s)=>(W(),Z("section",B1,[E("section",M1,[E("a",U1,[E("section",j1,[E("h2",null,P(I(t)("introduction.stepSection.title")),1)]),E("section",H1,[E("h3",null,P(I(t)("introduction.stepSection.description")),1)])]),E("section",z1,[E("ol",V1,[(W(!0),Z(je,null,rt(I(n)("introduction.stepSection.steps"),i=>(W(),nt(L1,{step:i,stepNum:Number(I(r)(i.number))},null,8,["step","stepNum"]))),256))])])])]))}},{createElementVNode:q1,openBlock:W1,createElementBlock:Y1}=Qa;var J1=function(t,n){return W1(),Y1("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":"true"},[q1("path",{"fill-rule":"evenodd",d:"M12 3.75a.75.75 0 01.75.75v6.75h6.75a.75.75 0 010 1.5h-6.75v6.75a.75.75 0 01-1.5 0v-6.75H4.5a.75.75 0 010-1.5h6.75V4.5a.75.75 0 01.75-.75z","clip-rule":"evenodd"})])},K1=J1;const Z1={id:"faqSection",class:"w-screen bg-gradient-to-b from-white to-fb-gray"},Q1={class:"flex flex-col pt-10 mx-auto max-w-5xl sm:p-20 base:px-6"},X1={href:"#faqSection",class:"flex-1 flex flex-col items-center"},e0={class:"my-4 text-center font-black text-2xl tracking-wider sm:text-4xl"},t0={class:"flex-1 flex flex-col mt-8 mb-20 px-4"},n0={class:"flex-1 flex flex-col space-y-2"},r0={class:"flex-1"},o0={__name:"FAQSection",setup(e){const{t,rt:n,tm:r,locale:o}=Be(),s=q(()=>o.value.toLowerCase()==="zh");return(i,a)=>(W(),Z("section",Z1,[E("section",Q1,[E("a",X1,[E("section",e0,[E("h2",null,P(I(t)("introduction.faqSection.title")),1)])]),E("section",t0,[J(I(Jr),null,{default:ge(()=>[J(I(Kr),{as:"ul",class:"flex-1 flex overflow-x-auto shadow shadow-gray-300 rounded-xl rounded-b-none border-b border-gray-300 bg-white"},{default:ge(()=>[(W(!0),Z(je,null,rt(I(r)("introduction.faqSection.content"),l=>(W(),nt(I(Zr),{as:"template",key:I(n)(l.title)},{default:ge(({selected:c})=>[E("li",{class:Re(["flex-1 px-2 py-3 leading-5 text-center whitespace-nowrap cursor-pointer md:text-xl",[c?"text-fb-red rounded-xl rounded-b-none border-b-2 border-fb-red":"text-gray-800",c&&s.value?"font-black":""]])},P(I(n)(l.title)),3)]),_:2},1024))),128))]),_:1}),J(I(Qr),{class:"flex-1 flex flex-col p-4 rounded-lg rounded-t-none shadow bg-white"},{default:ge(()=>[(W(!0),Z(je,null,rt(I(r)("introduction.faqSection.content"),l=>(W(),nt(I(Lt),{key:I(n)(l.title),unmount:!1,class:"flex-1 flex flex-col"},{default:ge(()=>[E("ul",n0,[(W(!0),Z(je,null,rt(l.faq,(c,u)=>(W(),nt(I(Xa),{as:"li",key:I(n)(c.title),defaultOpen:u===0,class:"flex-1 flex flex-col"},{default:ge(({open:m})=>[J(I(el),{as:"div",class:Re([m?"rounded-b-none":"","flex-1 flex justify-between items-center p-4 space-x-2 border border-gray-300 text-sm font-medium text-left text-gray-800 bg-fb-gray rounded-lg cursor-pointer md:px-5 md:text-lg"])},{default:ge(()=>[E("span",r0,P(I(n)(c.title)),1),J(I(K1),{class:Re([m?"transform -rotate-45":"","flex-initial w-5 h-5 md:w-7 md:h-7"])},null,8,["class"])]),_:2},1032,["class"]),J(I(tl),{innerHTML:I(n)(c.detail),class:Re([[m?"rounded-t-none border border-t-0 border-gray-300":"",s.value?"text-justify":""],"px-4 py-4 text-sm tracking-wide text-gray-700 bg-white rounded-lg md:px-5 md:text-base"])},null,8,["innerHTML","class"])]),_:2}
15,1032,["defaultOpen"]))),128))])]),_:2},1024))),128))]),_:1})]),_:1})])])]))}},s0={id:"feedbackSection",class:"w-screen bg-gradient-to-b from-white to-fb-gray"},i0={class:"flex flex-col pt-10 mx-auto max-w-5xl sm:p-20 base:px-6"},a0={href:"#feedbackSection",class:"flex-1 flex flex-col items-center"},l0={class:"my-4 text-center font-black text-2xl tracking-wider sm:text-4xl"},c0={class:"tracking-wider text-center px-8 sm:text-2xl sm:px-0"},u0={class:"flex-1 flex flex-col my-8 px-4 sm:px-32"},f0={key:0,class:"mb-4 p-4 rounded-lg bg-green-100 border border-green-300 text-green-800 text-center font-medium"},d0={class:"flex-1 flex flex-col px-4 py-5 space-y-2 sm:p-6"},h0=["placeholder"],p0=["placeholder"],m0={class:"flex-1 flex justify-center px-4 py-3 sm:px-6"},g0={type:"submit",class:"flex-1 px-4 py-2 shadow-sm font-bold rounded-md text-white bg-fb-red md:flex-initial md:basis-1/4"},v0={__name:"FeedbackSection",setup(e){const{t}=Be(),n=new Set;let r=Q(""),o=Q(""),s=Q(!1);function i(){r.value=r.value.trim(),o.value=o.value.trim();const a=JSON.stringify(o.value);let l=t("introduction.feedbackSection.form.confirmText");if(confirm(l)===!0){if(o.value===""){confirm(t("introduction.feedbackSection.form.confirmValidText"));return}if(n.has(a)){confirm(t("introduction.feedbackSection.form.confirmRepeatedText"));return}n.add(a);let c={};r.value&&(c.email=r.value),c.content=o.value,be.sendFeedback(c),o.value="",s.value=!0,setTimeout(()=>{s.value=!1},5e3)}}return(a,l)=>(W(),Z("section",s0,[E("section",i0,[E("a",a0,[E("section",l0,[E("h2",null,P(I(t)("introduction.feedbackSection.title")),1)]),E("section",c0,[E("h3",null,P(I(t)("introduction.feedbackSection.description")),1)])]),E("section",u0,[I(s)?(W(),Z("div",f0,P(I(t)("introduction.feedbackSection.form.successText")),1)):_e("",!0),E("form",{onSubmit:nl(i,["prevent"]),class:"flex-1 flex flex-col"},[E("div",d0,[Mt(E("input",{"onUpdate:modelValue":l[0]||(l[0]=c=>No(r)?r.value=c:r=c),type:"email",autocomplete:"email",placeholder:I(t)("introduction.feedbackSection.form.address"),class:"text-sm shadow-sm caret-fb-red bg-gray-100 border-gray-300 rounded-md focus:ring-fb-red focus:border-fb-red sm:text-base"},null,8,h0),[[$o,I(r),void 0,{trim:!0}]]),Mt(E("textarea",{"onUpdate:modelValue":l[1]||(l[1]=c=>No(o)?o.value=c:o=c),rows:"5",required:"",placeholder:I(t)("introduction.feedbackSection.form.content"),class:"max-w-full text-sm shadow-sm caret-fb-red bg-gray-100 border-gray-300 rounded-md focus:ring-fb-red focus:border-fb-red sm:text-base"},null,8,p0),[[$o,I(o),void 0,{trim:!0}]])]),E("div",m0,[E("button",g0,P(I(t)("introduction.feedbackSection.form.buttonText")),1)])],32)])])]))}};var b0="/fb/assets/scmp-logo.588a622e.svg",w0="/fb/assets/aljazeera-logo.b6c1964b.svg",y0="/fb/assets/theguardian-logo.f86a735f.svg";const x0={id:"newsReportSection",class:"w-screen bg-gradient-to-b from-white to-fb-gray"},_0={class:"flex flex-col p-8 mx-auto sm:p-20 sm:px-32 md:px-28"},S0={href:"#newsReportSection",class:"flex-1 flex flex-col items-center"},E0={class:"my-4 text-center font-black text-2xl tracking-wider sm:text-4xl"},T0={class:"tracking-wider text-center px-8 sm:text-2xl sm:px-0"},A0={class:"flex-1 flex relative my-8 text-center tracking-wider sm:my-14 md:px-0"},I0={class:"flex-1 flex flex-col divide-y divide-dotted divide-gray-300 lg:flex-row lg:divide-y-0 lg:divide-x"},C0={class:"flex-1 flex"},D0=["href"],O0={class:"font-serif italic text-lg sm:text-2xl"},R0={class:"inline-flex flex-col w-32 space-y-2 cursor-pointer transition-all hover:scale-95 hover:italic sm:w-40"},$0=["src","alt"],N0={class:"font-serif text-sm mt-2 transition-all hover:italic sm:text-lg"},F0={__name:"NewsReportSection",setup(e){const{t,tm:n,rt:r}=Be(),o={"scmp-logo.svg":b0,"aljazeera-logo.svg":w0,"theguardian-logo.svg":y0};function s(i){return o[i]||""}return(i,a)=>(W(),Z("section",x0,[E("section",_0,[E("a",S0,[E("section",E0,[E("h2",null,P(I(t)("introduction.newsReportSection.title")),1)]),E("section",T0,[E("h3",null,P(I(t)("introduction.newsReportSection.description")),1)])]),E("section",A0,[E("div",I0,[(W(!0),Z(je,null,rt(I(n)("introduction.newsReportSection.news"),l=>(W(),Z("div",{key:I(r)(l.title),class:"flex-1 flex flex-col justify-center items-center py-8 space-y-8 sm:py-10 md:px-6"},[E("div",C0,[E("a",{href:I(r)(l.link),target:"_blank",rel:"noopener noreferrer",class:"transition-all hover:text-fb-red hover:underline hover:underline-offset-4 hover:
15decoration-fb-orange hover:decoration-1"},[E("h3",O0,P(I(r)(l.title)),1)],8,D0)]),E("div",R0,[E("img",{src:s(I(r)(l.logoName)),alt:I(r)(l.source)},null,8,$0),E("h4",N0,P(I(r)(l.domain)),1)])]))),128))])])])]))}},P0={id:"followSection",class:"w-screen bg-gradient-to-b from-white to-fb-gray"},k0={class:"flex flex-col pt-10 pb-20 mx-auto max-w-5xl sm:p-20"},L0={href:"#followSection",class:"flex-1 flex flex-col items-center"},B0={class:"my-4 text-center font-black text-2xl tracking-wider sm:text-4xl"},M0={class:"tracking-wider text-center px-8 sm:text-2xl sm:px-0"},U0={class:"flex-1 flex my-8 px-4 sm:px-32"},j0=["action"],H0=["placeholder"],z0={type:"submit",class:"flex-initial px-4 py-2 font-bold whitespace-nowrap shadow-sm rounded-md text-white bg-fb-red sm:text-base md:basis-1/4"},V0={__name:"FollowSection",setup(e){const{t,locale:n}=Be(),r=q(()=>n.value.toLowerCase()==="zh");return(o,s)=>(W(),Z("section",P0,[E("section",k0,[E("a",L0,[E("section",B0,[E("h2",null,P(I(t)("introduction.followSection.title")),1)]),E("section",M0,[E("h3",null,P(I(t)("introduction.followSection.description")),1)])]),E("section",U0,[E("form",{action:I(t)("introduction.followSection.postLink"),method:"post",name:"mc-embedded-subscribe-form",target:"_blank",class:"flex-1 flex"},[s[0]||(s[0]=E("div",{class:"hidden absolute -left-[5000px]","aria-hidden":"true"},[E("input",{type:"text",name:"b_854fca58782082e0cbdf204a0_4d5603f87f",tabindex:"-1"})],-1)),E("div",{class:Re([r.value?"flex-row space-x-2":"flex-col space-y-8","flex-1 flex px-4 py-5 sm:p-6"])},[E("input",{required:"",type:"email",name:"EMAIL",autocomplete:"email",placeholder:I(t)("introduction.followSection.placeholder"),class:"flex-1 caret-fb-red bg-gray-100 focus:ring-fb-red focus:border-fb-red shadow-sm border-gray-300 rounded-md sm:text-base sm:basis-3/4"},null,8,H0),E("div",{class:Re([r.value?"flex-initial":"flex-1","flex justify-center"])},[E("button",z0,P(I(t)("introduction.followSection.buttonText")),1)],2)],2)],8,j0)])])]))}},G0={class:"flex flex-col fixed bottom-0 left-0 w-screen max-w-full text-fb-gray bg-fb-dark md:w-96"},q0={class:"flex-1 h-2 bg-black"},W0={class:"flex-1 flex items-center px-4 py-2"},Y0={class:"flex-1 flex flex-col"},J0={key:0,class:"flex-1 mb-px"},K0={key:1,class:"flex-1 mb-px"},Z0={key:2,class:"flex-1 mb-px"},Q0={class:"font-bold font-mono"},X0={class:"flex-1 text-xs text-gray-400 font-mono"},em={href:"#faqSection",class:"flex-initial text-sm"},tm={__name:"ProgressBar",setup(e){const t=Un(),{t:n}=Be(),r=q(()=>t.getters.getCurrentOS);let o=q(()=>t.state.status.isStarted),s=q(()=>t.state.status.isDone),i=q(()=>t.state.status.isFailed);const a=q(()=>t.state.status.downloadedSize),l=q(()=>t.state.status.totalSize);let c=q(()=>Vr(r.value,a.value,!0)),u=q(()=>Vr(r.value,l.value)),m=q(()=>l.value===0?0:(a.value/l.value*100).toFixed(2)),p=q(()=>`${m.value}% `);return ze(()=>{let x=document.getElementById("progress-bar");x&&(x.style.width=p.value)},{flush:"post"}),(x,g)=>Mt((W(),Z("section",G0,[E("div",q0,[E("div",{id:"progress-bar",class:Re(["w-0 h-2",I(i)?"bg-gray-400":"bg-fb-red"])},null,2)]),E("div",W0,[E("div",Y0,[I(i)?(W(),Z("p",J0,P(I(n)("introduction.progressBar.failedText")),1)):I(s)?(W(),Z("p",K0,P(I(n)("introduction.progressBar.successText")),1)):(W(),Z("p",Z0,[E("span",null,P(I(n)("introduction.progressBar.downloadingText")),1),E("span",Q0,P(I(p)),1)])),E("p",X0,P(I(c))+"/"+P(I(u)),1)]),E("a",em,P(I(n)("introduction.progressBar.faqText")),1)])],512)),[[Fn,I(o)]])}};class nm{constructor(){if(typeof window=="undefined"||!{VITE_GA_URL:"https://www.google-analytics.com/analytics.js",VITE_NEWS_API_PATH:"/api/v1/news",VITE_DEVICE_API_PATH:"/api/v1/device",VITE_ANALYTIC_API_PATH:"https://startpage.freebrowser.org/api/v1",VITE_NEWS_API_ORIGIN:"http://localhost:8080",VITE_DEVICE_API_ORIGIN:"http://localhost:8081",BASE_URL:"/",MODE:"production",DEV:!1,PROD:!0}){this.URL="";return}const t=location.origin;this.URL=t+"/api/v1/device"}async fetchDeviceInfo(t){var o;if(typeof window=="undefined")return"";let n=localStorage.getItem("device_info");if(n)return n=JSON.parse(n),n;let r;try{return r=await $e.getInfo(this.URL),(o=r.data)!=null&&o.message&&(r=await $e.getInfo(this.URL)),r.data.brand?(r.data.brand=r.data.brand.replace(/"/g,""),localStorage.setItem("device_info",JSON.stringify({brand:r.data.brand})),r.data):""}catch{return""}}}var rm=new nm;const om={class:"max-w-full overflow-x-hidden"},cm={__name:"Home",setup(e){const{locale:t}=Be(),n=q(()=>t.value.toLowerCase()==="zh"),r=async()=>{try{const o=await rm.fetchDeviceInfo();Pe.deviceType=o==null?void 0:o.brand}catch(o){console.log(o),Pe.deviceType=""}};return Te(()=>{r(),be.scheduleEvents(),be.sendUA()}),(o,s)=>(W(),Z("main",om,[J(Au),J(ku),n.value?(W(),nt(af,{key:0})):_e("",!0),J(o1),J(G1),J(o0),J(v0),J(F0),J(V0),J(tm)]))}};export{cm as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.