1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="babda8ba-9525-4757-94c5-0d8b1e6a63c5",e._sentryDebugIdIdentifier="sentry-dbid-babda8ba-9525-4757-94c5-0d8b1e6a63c5")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[636],{213:(e,t,r)=>{"use strict";r.d(t,{A:()=>w});var n=r(55729),i=r(50212),a=r(40412),o=r(82798),s=r(74004),l=r(1686),c=r(23986),u=r(68064),d=r(49467),p=r(1286),h=r(11859),f=r(25684),m=r(50195),g=r(6029);let y=e=>{let{classes:t,disabled:r,color:n,edge:i,size:o,loading:s}=e,l={root:["root",s&&"loading",r&&"disabled","default"!==n&&"color".concat((0,f.A)(n)),i&&"edge".concat((0,f.A)(i)),"size".concat((0,f.A)(o))],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]};return(0,a.A)(l,m.G,t)},v=(0,l.Ay)(p.A,{name:"MuiIconButton",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.loading&&t.loading,"default"!==r.color&&t["color".concat((0,f.A)(r.color))],r.edge&&t["edge".concat((0,f.A)(r.edge))],t["size".concat((0,f.A)(r.size))]]}})((0,c.A)(e=>{let{theme:t}=e;return{textAlign:"center",flex:"0 0 auto",fontSize:t.typography.pxToRem(24),padding:8,borderRadius:"50%",color:(t.vars||t).palette.action.active,transition:t.transitions.create("background-color",{duration:t.transitions.duration.shortest}),variants:[{props:e=>!e.disableRipple,style:{"--IconButton-hoverBg":t.vars?"rgba(".concat(t.vars.palette.action.activeChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,s.X4)(t.palette.action.active,t.palette.action.hoverOpacity),"&:hover":{backgroundColor:"var(--IconButton-hoverBg)","@media (hover: none)":{backgroundColor:"transparent"}}}},{props:{edge:"start"},style:{marginLeft:-12}},{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:{edge:"end"},style:{marginRight:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}}]}}),(0,c.A)(e=>{let{theme:t}=e;return{variants:[{props:{color:"inherit"},style:{color:"inherit"}},...Object.entries(t.palette).filter((0,u.A)()).map(e=>{let[r]=e;return{props:{color:r},style:{color:(t.vars||t).palette[r].main}}}),...Object.entries(t.palette).filter((0,u.A)()).map(e=>{let[r]=e;return{props:{color:r},style:{"--IconButton-hoverBg":t.vars?"rgba(".concat((t.vars||t).palette[r].mainChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,s.X4)((t.vars||t).palette[r].main,t.palette.action.hoverOpacity)}}}),{props:{size:"small"},style:{padding:5,fontSize:t.typography.pxToRem(18)}},{props:{size:"large"},style:{padding:12,fontSize:t.typography.pxToRem(28)}}],["&.".concat(m.A.disabled)]:{backgroundColor:"transparent",color:(t.vars||t).palette.action.disabled},["&.".concat(m.A.loading)]:{color:"transparent"}}})),b=(0,l.Ay)("span",{name:"MuiIconButton",slot:"LoadingIndicator",overridesResolver:(e,t)=>t.loadingIndicator})(e=>{let{theme:t}=e;return{display:"none",position:"absolute",visibility:"visible",top:"50%",left:"50%",transform:"translate(-50%, -50%)",color:(t.vars||t).palette.action.disabled,variants:[{props:{loading:!0},style:{display:"flex"}}]}}),w=n.forwardRef(function(e,t){let r=(0,d.b)({props:e,name:"MuiIconButton"}),{edge:n=!1,children:a,className:s,color:l="default",disabled:c=!1,disableFocusRipple:u=!1,size:p="medium",id:f,loading:m=null,loadingIndicator:w,...x}=r,k=(0,o.A)(f),A=null!=w?w:(0,g.jsx)(h.A,{"aria-labelledby":k,color:"inherit",size:16}),C={...r,edge:n,color:l,disabled:c,disableFocusRipple:u,loading:m,loadingIndicator:A,size:p},S=y(C);return(0,g.jsxs)(v,{id:m?k:f,className:(0,i.A)(S.root,s),centerRipple:!0,focusRipple:!u,disabled:c||m,ref:t,...x,ownerState:C,children:["boolean"==typeof m&&(0,g.jsx)("span",{className:S.loadingWrapper,style:{display:"contents"},children:(0,g.jsx)(b,{className:S.loadingIndicator,ownerState:C,children:m&&A})}),a]})})},266:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n={black:"#000",white:"#fff"}},578:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(48882);function i(e){return(0,n.A)(e).defaultView||window}},1286:(e,t,r)=>{"use strict";r.d(t,{A:()=>X});
1var n=r(55729),i=r(50212),a=r(40412),o=r(35500),s=r(1686),l=r(49467),c=r(39884),u=r(58342),d=r(81488);class p{static create(){return new p}static use(){let e=(0,d.A)(p.create).current,[t,r]=n.useState(!1);return e.shouldMount=t,e.setShouldMount=r,n.useEffect(e.mountEffect,[t]),e}mount(){return this.mounted||(this.mounted=f(),this.shouldMount=!0,this.setShouldMount(this.shouldMount)),this.mounted}start(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];this.mount().then(()=>{var e;return null==(e=this.ref.current)?void 0:e.start(...t)})}stop(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];this.mount().then(()=>{var e;return null==(e=this.ref.current)?void 0:e.stop(...t)})}pulsate(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];this.mount().then(()=>{var e;return null==(e=this.ref.current)?void 0:e.pulsate(...t)})}constructor(){this.mountEffect=()=>{this.shouldMount&&!this.didMount&&null!==this.ref.current&&(this.didMount=!0,this.mounted.resolve())},this.ref={current:null},this.mounted=null,this.didMount=!1,this.shouldMount=!1,this.setShouldMount=null}}function h(){return p.use()}function f(){let e,t,r=new Promise((r,n)=>{e=r,t=n});return r.resolve=e,r.reject=t,r}var m=r(85966),g=r(1983),y=r(99410);function v(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var b=r(38985),w=r(5440);function x(e,t){var r=function(e){return t&&(0,n.isValidElement)(e)?t(e):e},i=Object.create(null);return e&&n.Children.map(e,function(e){return e}).forEach(function(e){i[e.key]=r(e)}),i}function k(e,t){function r(r){return r in t?t[r]:e[r]}e=e||{},t=t||{};var n,i=Object.create(null),a=[];for(var o in e)o in t?a.length&&(i[o]=a,a=[]):a.push(o);var s={};for(var l in t){if(i[l])for(n=0;n<i[l].length;n++){var c=i[l][n];s[i[l][n]]=r(c)}s[l]=r(l)}for(n=0;n<a.length;n++)s[a[n]]=r(a[n]);return s}function A(e,t,r){return null!=r[t]?r[t]:e.props[t]}function C(e,t){return x(e.children,function(r){return(0,n.cloneElement)(r,{onExited:t.bind(null,r),in:!0,appear:A(r,"appear",e),enter:A(r,"enter",e),exit:A(r,"exit",e)})})}function S(e,t,r){var i=x(e.children),a=k(t,i);return Object.keys(a).forEach(function(o){var s=a[o];if((0,n.isValidElement)(s)){var l=o in t,c=o in i,u=t[o],d=(0,n.isValidElement)(u)&&!u.props.in;c&&(!l||d)?a[o]=(0,n.cloneElement)(s,{onExited:r.bind(null,s),in:!0,exit:A(s,"exit",e),enter:A(s,"enter",e)}):c||!l||d?c&&l&&(0,n.isValidElement)(u)&&(a[o]=(0,n.cloneElement)(s,{onExited:r.bind(null,s),in:u.props.in,exit:A(s,"exit",e),enter:A(s,"enter",e)})):a[o]=(0,n.cloneElement)(s,{in:!1})}}),a}var E=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},_={component:"div",childFactory:function(e){return e}},T=function(e){function t(t,r){var n=e.call(this,t,r)||this,i=n.handleExited.bind(v(n));return n.state={contextValue:{isMounting:!0},handleExited:i,firstRender:!0},n}(0,b.A)(t,e);var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var r=t.children,n=t.handleExited;
1return{children:t.firstRender?C(e,n):S(e,r,n),firstRender:!1}},r.handleExited=function(e,t){var r=x(this.props.children);e.key in r||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState(function(t){var r=(0,y.A)({},t.children);return delete r[e.key],{children:r}}))},r.render=function(){var e=this.props,t=e.component,r=e.childFactory,i=(0,g.A)(e,["component","childFactory"]),a=this.state.contextValue,o=E(this.state.children).map(r);return(delete i.appear,delete i.enter,delete i.exit,null===t)?n.createElement(w.A.Provider,{value:a},o):n.createElement(w.A.Provider,{value:a},n.createElement(t,i,o))},t}(n.Component);T.propTypes={},T.defaultProps=_;let P=T;var O=r(78414),I=r(83004),M=r(6029);let L=function(e){let{className:t,classes:r,pulsate:a=!1,rippleX:o,rippleY:s,rippleSize:l,in:c,onExited:u,timeout:d}=e,[p,h]=n.useState(!1),f=(0,i.A)(t,r.ripple,r.rippleVisible,a&&r.ripplePulsate),m={width:l,height:l,top:-(l/2)+s,left:-(l/2)+o},g=(0,i.A)(r.child,p&&r.childLeaving,a&&r.childPulsate);return c||p||h(!0),n.useEffect(()=>{if(!c&&null!=u){let e=setTimeout(u,d);return()=>{clearTimeout(e)}}},[u,c,d]),(0,M.jsx)("span",{className:f,style:m,children:(0,M.jsx)("span",{className:g})})};var N=r(5623);function R(){let e=(0,m._)(["\n 0% {\n transform: scale(0);\n opacity: 0.1;\n }\n\n 100% {\n transform: scale(1);\n opacity: 0.3;\n }\n"]);return R=function(){return e},e}function j(){let e=(0,m._)(["\n 0% {\n opacity: 1;\n }\n\n 100% {\n opacity: 0;\n }\n"]);return j=function(){return e},e}function D(){let e=(0,m._)(["\n 0% {\n transform: scale(1);\n }\n\n 50% {\n transform: scale(0.92);\n }\n\n 100% {\n transform: scale(1);\n }\n"]);return D=function(){return e},e}function F(){let e=(0,m._)(["\n opacity: 0;\n position: absolute;\n\n &."," {\n opacity: 0.3;\n transform: scale(1);\n animation-name: ",";\n animation-duration: ","ms;\n animation-timing-function: ",";\n }\n\n &."," {\n animation-duration: ","ms;\n }\n\n & ."," {\n opacity: 1;\n display: block;\n width: 100%;\n height: 100%;\n border-radius: 50%;\n background-color: currentColor;\n }\n\n & ."," {\n opacity: 0;\n animation-name: ",";\n animation-duration: ","ms;\n animation-timing-function: ",";\n }\n\n & ."," {\n position: absolute;\n /* @noflip */\n left: 0px;\n top: 0;\n animation-name: ",";\n animation-duration: 2500ms;\n animation-timing-function: ",";\n animation-iteration-count: infinite;\n animation-delay: 200ms;\n }\n"]);return F=function(){return e},e}let V=550,B=80,z=(0,I.i7)(R()),$=(0,I.i7)(j()),U=(0,I.i7)(D()),q=(0,s.Ay)("span",{name:"MuiTouchRipple",slot:"Root"})({overflow:"hidden",pointerEvents:"none",position:"absolute",zIndex:0,top:0,right:0,bottom:0,left:0,borderRadius:"inherit"}),H=(0,s.Ay)(L,{name:"MuiTouchRipple",slot:"Ripple"})(F(),N.A.rippleVisible,z,V,e=>{let{theme:t}=e;return t.transitions.easing.easeInOut},N.A.ripplePulsate,e=>{let{theme:t}=e;return t.transitions.duration.shorter},N.A.child,N.A.childLeaving,$,V,e=>{let{theme:t}=e;return t.transitions.easing.easeInOut},N.A.childPulsate,U,e=>{let{theme:t}=e;return t.transitions.easing.easeInOut}),Y=n.forwardRef(function(e,t){let{center:r=!1,classes:a={},className:o,...s}=(0,l.b)({props:e,name:"MuiTouchRipple"}),[c,u]=n.useState([]),d=n.useRef(0),p=n.useRef(null);n.useEffect(()=>{p.current&&(p.current(),p.current=null)},[c]);let h=n.useRef(!1),f=(0,O.A)(),m=n.useRef(null),g=n.useRef(null),y=n.useCallback(e=>{let{pulsate:t,rippleX:r,rippleY:n,rippleSize:o,cb:s}=e;u(e=>[...e,(0,M.jsx)(H,{classes:{ripple:(0,i.A)(a.ripple,N.A.ripple),rippleVisible:(0,i.A)(a.rippleVisible,N.A.rippleVisible),ripplePulsate:(0,i.A)(a.ripplePulsate,N.A.ripplePulsate),child:(0,i.A)(a.child,N.A.child),childLeaving:(0,i.A)(a.childLeaving,N.A.childLeaving),childPulsate:(0,i.A)(a.childPulsate,N.A.childPulsate)},timeout:V,pulsate:t,rippleX:r,rippleY:n,rippleSize:o},d.current)]),d.current+=1,p.current=s},[a]),v=n.useCallback(function(){let e,t,n,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>{},{pulsate:s=!1,center:l=r||a.pulsate,fakeElement:c=!1}=a;if((null==i?void 0:i.type)==="mousedown"&&h.current){h.current=!1;return}(null==i?void 0:i.type)==="touchstart"&&(h.current=!0);let u=c?null:g.current,d=u?u.getBoundingClientRect():{width:0,height:0,left:0,top:0};if(!l&&void 0!==i&&(0!==i.clientX||0!==i.clientY)&&(i.clientX||i.touches)){let{clientX:r,clientY:n}=i.touches&&i.touches.length>0?i.touches[0]:i;e=Math.round(r-d.left),t=Math.round(n-d.top)}else e=Math.round(d.width/2),t=Math.round(d.height/2);l?(n=Math.sqrt((2*d.width**2+d.height**2)/3))%2==0&&(n+=1):n=Math.sqrt((2*Math.max(Math.abs((u?u.clientWidth:0)-e),e)+2)**2+(2*Math.max(Math.abs((u?u.clientHeight:0)-t),t)+2)**2),(null==i?void 0:i.touches)?null===m.current&&(m.current=()=>{y({pulsate:s,rippleX:e,rippleY:t,rippleSize:n,cb:o})},f.start(B,()=>{m.current&&(m.current(),m.current=null)})):y({pulsate:s,rippleX:e,rippleY:t,rippleSize:n,cb:o})},[r,y,f]),b=n.useCallback(()=>{v({},{pulsate:!0})},[v]),w=n.useCallback((e,t)=>{if(f.clear(),(null==e?void 0:e.type)==="touchend"&&m.current){m.current(),m.current=null,f.start(0,()=>{w(e,t)});return}m.current=null,u(e=>e.length>0?e.slice(1):e),p.current=t},[f]);return n.useImperativeHandle(t,()=>({pulsate:b,start:v,stop:w}),[b,v,w]),(0,M.jsx)(q,{className:(0,i.A)(N.A.root,a.root,o),ref:g,...s,children:(0,M.jsx)(P,{component:null,exit:!0,children:c})})});var W=r(29975);let G=e=>{let{disabled:t,focusVisible:r,focusVisibleClassName:n,classes:i}=e,o={root:["root",t&&"disabled",r&&"focusVisible"]},s=(0,a.A)(o,W.W,i);return r&&n&&(s.root+=" ".concat(n)),s},K=(0,s.Ay)("button",{name:"MuiButtonBase",slot:"Root",overridesResolver:(e,t)=>t.root})({display:"inline-flex",alignItems:"center",justifyContent:"center",position:"relative",boxSizing:"border-box",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none",textDecoration:"none",color:"inherit","&::-moz-focus-inner":{borderStyle:"none"},["&.".concat(W.A.disabled)]:{pointerEvents:"none",cursor:"default"},"@media print":{colorAdjust:"exact"}});function J(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return(0,u.A)(i=>(r&&r(i),n||e[t](i),!0))}let X=n.forwardRef(function(e,t){let r=(0,l.b)({props:e,name:"MuiButtonBase"}),{action:a,centerRipple:s=!1,children:d,className:p,component:f="button",disabled:m=!1,disableRipple:g=!1,disableTouchRipple:y=!1,focusRipple:v=!1,focusVisibleClassName:b,LinkComponent:w="a",onBlur:x,onClick:k,onContextMenu:A,onDragLeave:C,onFocus:S,onFocusVisible:E,onKeyDown:_,onKeyUp:T,onMouseDown:P,onMouseLeave:O,onMouseUp:I,onTouchEnd:L,onTouchMove:N,onTouchStart:R,tabIndex:j=0,TouchRippleProps:D,touchRippleRef:F,type:V,...B}=r,z=n.useRef(null),$=h(),U=(0,c.A)($.ref,F),[q,H]=n.useState(!1);m&&q&&H(!1),n.useImperativeHandle(a,()=>({focusVisible:()=>{H(!0),z.current.focus()}}),[]);let W=$.shouldMount&&!g&&!m;n.useEffect(()=>{q&&v&&!g&&$.pulsate()},[g,v,q,$]);let X=J($,"start",P,y),Q=J($,"stop",A,y),Z=J($,"stop",C,y),ee=J($,"stop",I,y),et=J($,"stop",e=>{q&&e.preventDefault(),O&&O(e)},y),er=J($,"start",R,y),en=J($,"stop",L,y),ei=J($,"stop",N,y),ea=J($,"stop",e=>{(0,o.A)(e.target)||H(!1),x&&x(e)},!1),eo=(0,u.A)(e=>
1{z.current||(z.current=e.currentTarget),(0,o.A)(e.target)&&(H(!0),E&&E(e)),S&&S(e)}),es=()=>{let e=z.current;return f&&"button"!==f&&!("A"===e.tagName&&e.href)},el=(0,u.A)(e=>{v&&!e.repeat&&q&&" "===e.key&&$.stop(e,()=>{$.start(e)}),e.target===e.currentTarget&&es()&&" "===e.key&&e.preventDefault(),_&&_(e),e.target===e.currentTarget&&es()&&"Enter"===e.key&&!m&&(e.preventDefault(),k&&k(e))}),ec=(0,u.A)(e=>{v&&" "===e.key&&q&&!e.defaultPrevented&&$.stop(e,()=>{$.pulsate(e)}),T&&T(e),k&&e.target===e.currentTarget&&es()&&" "===e.key&&!e.defaultPrevented&&k(e)}),eu=f;"button"===eu&&(B.href||B.to)&&(eu=w);let ed={};"button"===eu?(ed.type=void 0===V?"button":V,ed.disabled=m):(B.href||B.to||(ed.role="button"),m&&(ed["aria-disabled"]=m));let ep=(0,c.A)(t,z),eh={...r,centerRipple:s,component:f,disabled:m,disableRipple:g,disableTouchRipple:y,focusRipple:v,tabIndex:j,focusVisible:q},ef=G(eh);return(0,M.jsxs)(K,{as:eu,className:(0,i.A)(ef.root,p),ownerState:eh,onBlur:ea,onClick:k,onContextMenu:Q,onFocus:eo,onKeyDown:el,onKeyUp:ec,onMouseDown:X,onMouseLeave:et,onMouseUp:ee,onDragLeave:Z,onTouchEnd:en,onTouchMove:ei,onTouchStart:er,ref:ep,tabIndex:m?-1:j,type:V,...ed,...B,children:[d,W?(0,M.jsx)(Y,{ref:U,center:s,...D}):null]})})},1353:(e,t,r)=>{"use strict";r.d(t,{A:()=>p});let n=function(){this.__data__=[],this.size=0};var i=r(48695);let a=function(e,t){for(var r=e.length;r--;)if((0,i.A)(e[r][0],t))return r;return -1};var o=Array.prototype.splice;let s=function(e){var t=this.__data__,r=a(t,e);return!(r<0)&&(r==t.length-1?t.pop():o.call(t,r,1),--this.size,!0)},l=function(e){var t=this.__data__,r=a(t,e);return r<0?void 0:t[r][1]},c=function(e){return a(this.__data__,e)>-1},u=function(e,t){var r=this.__data__,n=a(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this};function d(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}d.prototype.clear=n,d.prototype.delete=s,d.prototype.get=l,d.prototype.has=c,d.prototype.set=u;let p=d},1668:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(58309);let i=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]],a=(0,n.A)("pencil",i)},1686:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>s});var n=r(72378),i=r(47759),a=r(13934),o=r(23714);let s=(0,n.Ay)({themeId:a.A,defaultTheme:i.A,rootShouldForwardProp:o.A})},1909:(e,t,r)=>{"use strict";r.d(t,{FH:()=>j,Op:()=>z,mN:()=>eR,xI:()=>F,xW:()=>B});var n=r(55729),i=e=>"checkbox"===e.type,a=e=>e instanceof Date,o=e=>null==e;let s=e=>"object"==typeof e;var l=e=>!o(e)&&!Array.isArray(e)&&s(e)&&!a(e),c=e=>l(e)&&e.target?i(e.target)?e.target.checked:e.target.value:e,u=(e,t)=>t.split(".").some((t,r,n)=>!isNaN(Number(t))&&e.has(n.slice(0,r).join("."))),d=e=>{let t=e.constructor&&e.constructor.prototype;return l(t)&&t.hasOwnProperty("isPrototypeOf")},p="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function h(e){if(e instanceof Date)return new Date(e);let t="undefined"!=typeof FileList&&e instanceof FileList;if(p&&(e instanceof Blob||t))return e;let r=Array.isArray(e);if(!r&&!(l(e)&&d(e)))return e;let n=r?[]:Object.create(Object.getPrototypeOf(e));for(let t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=h(e[t]));return n}var f=e=>/^\w*$/.test(e),m=e=>void 0===e,g=e=>Array.isArray(e)?e.filter(Boolean):[],y=e=>g(e.replace(/["|']|\]/g,"").split(/\.|\[/)),v=(e,t,r)=>{if(!t||!l(e))return r;let n=(f(t)?[t]:y(t)).reduce((e,t)=>o(e)?void 0:e[t],e);return m(n)||n===e?m(e[t])?r:e[t]:n},b=e=>"boolean"==typeof e,w=e=>"function"==typeof e,x=(e,t,r)=>{let n=-1,i=f(t)?[t]:y(t),a=i.length,o=a-1;for(;++n<a;){let t=i[n],a=r;if(n!==o){let r=e[t];
1a=l(r)||Array.isArray(r)?r:isNaN(+i[n+1])?{}:[]}if("__proto__"===t||"constructor"===t||"prototype"===t)return;e[t]=a,e=e[t]}};let k={BLUR:"blur",FOCUS_OUT:"focusout",CHANGE:"change",SUBMIT:"submit",TRIGGER:"trigger",VALID:"valid"},A={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},C={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"},S="form",E="root",_=n.createContext(null);_.displayName="HookFormControlContext";let T=()=>n.useContext(_);var P=(e,t,r,n=!0)=>{let i={};for(let a in e)Object.defineProperty(i,a,{get:()=>{let i=a;return t._proxyFormState[i]!==A.all&&(t._proxyFormState[i]=!n||A.all),r&&(r[i]=!0),e[i]}});return i};let O="undefined"!=typeof window?n.useLayoutEffect:n.useEffect;function I(e){let t=T(),{control:r=t,disabled:i,name:a,exact:o}=e||{},[s,l]=n.useState(()=>({...r._formState,defaultValues:r._defaultValues})),c=n.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1});return O(()=>r._subscribe({name:a,formState:c.current,exact:o,callback:e=>{i||l({...r._formState,...e,defaultValues:r._defaultValues})}}),[a,i,o]),n.useEffect(()=>{c.current.isValid&&r._setValid(!0)},[r]),n.useMemo(()=>P(s,r,c.current,!1),[s,r])}var M=e=>"string"==typeof e,L=(e,t,r,n,i)=>M(e)?(n&&t.watch.add(e),v(r,e,i)):Array.isArray(e)?e.map(e=>(n&&t.watch.add(e),v(r,e))):(n&&(t.watchAll=!0),r),N=e=>o(e)||!s(e);function R(e,t,r=new WeakSet){if(e===t)return!0;if(N(e)||N(t))return Object.is(e,t);if(a(e)&&a(t))return Object.is(e.getTime(),t.getTime());let n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;if(r.has(e)||r.has(t))return!0;for(let i of(r.add(e),r.add(t),n)){let n=e[i];if(!(i in t))return!1;if("ref"!==i){let e=t[i];if(a(n)&&a(e)||(l(n)||Array.isArray(n))&&(l(e)||Array.isArray(e))?!R(n,e,r):!Object.is(n,e))return!1}}return!0}function j(e){let t=T(),{control:r=t,name:i,defaultValue:a,disabled:o,exact:s,compute:l}=e||{},c=n.useRef(a),u=n.useRef(l),d=n.useRef(void 0),p=n.useRef(r),h=n.useRef(i);u.current=l;let[f,m]=n.useState(()=>{let e=r._getWatch(i,c.current);return u.current?u.current(e):e}),g=n.useCallback(e=>{let t=L(i,r._names,e||r._formValues,!1,c.current);return u.current?u.current(t):t},[r._formValues,r._names,i]),y=n.useCallback(e=>{if(!o){let t=L(i,r._names,e||r._formValues,!1,c.current);if(u.current){let e=u.current(t);R(e,d.current)||(m(e),d.current=e)}else m(t)}},[r._formValues,r._names,o,i]);O(()=>(p.current===r&&R(h.current,i)||(p.current=r,h.current=i,y()),r._subscribe({name:i,formState:{values:!0},exact:s,callback:e=>{y(e.values)}})),[r,s,i,y]),n.useEffect(()=>r._removeUnmounted());let v=p.current!==r,b=h.current,w=n.useMemo(()=>{if(o)return null;let e=!v&&!R(b,i);return v||e?g():null},[o,v,i,b,g]);return null!==w?w:f}function D(e){let t=T(),{name:r,disabled:i,control:a=t,shouldUnregister:o,defaultValue:s,exact:l=!0}=e,d=u(a._names.array,r),p=n.useMemo(()=>v(a._formValues,r,v(a._defaultValues,r,s)),[a,r,s]),f=j({control:a,name:r,defaultValue:p,exact:l}),g=I({control:a,name:r,exact:l}),y=n.useRef(e),A=n.useRef(a.register(r,{...e.rules,value:f,...b(e.disabled)?{disabled:e.disabled}:{}}));y.current=e;let C=n.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!v(g.errors,r)},isDirty:{enumerable:!0,get:()=>!!v(g.dirtyFields,r)},isTouched:{enumerable:!0,get:()=>!!v(g.touchedFields,r)},isValidating:{enumerable:!0,get:()=>!!v(g.validatingFields,r)},error:{enumerable:!0,get:()=>v(g.errors,r)}}),[g,r]),S=n.useCallback(e=>A.current.onChange({target:{value:c(e),name:r},type:k.CHANGE}),[r]),E=n.useCallback(()=>A.current.onBlur({target:{value:v(a._formValues,r),name:r},type:k.BLUR}),[r,a._formValues]),_=n.useCallback(e=>{let t=v(a._fields,r);t&&t._f&&e&&(t._f.ref={focus:()=>w(e.focus)&&e.focus(),select:()=>w(e.select)&&e.select(),setCustomValidity:t=>w(e.setCustomValidity)&&e.setCustomValidity(t),reportValidity:()=>w(e.reportValidity)&&e.reportValidity()})},[a._fields,r]),P=n.useMemo(()=>({name:r,value:f,...b(i)||g.disabled?{disabled:g.disabled||i}:{},onChange:S,onBlur:E,ref:_}),[r,i,g.disabled,S,E,_,f]);return n.useEffect(()=>{let e=a._options.shouldUnregister||o;a.register(r,{...y.current.rules,...b(y.current.disabled)?{disabled:y.current.disabled}:{}});let t=(e,t)=>{let r=v(a._fields,e);r&&r._f&&(r._f.mount=t)};if(t(r,!0),e){let e=h(v(a._options.defaultValues,r,y.current.defaultValue));x(a._defaultValues,r,e),m(v(a._formValues,r))&&x(a._formValues,r,e)}return d||a.register(r),()=>{(d?e&&!a._state.action:e)?a.unregister(r):t(r,!1)}},[r,a,d,o]),n.useEffect(()=>{a._setDisabledField({disabled:i,name:r})},[i,r,a]),n.useMemo(()=>({field:P,formState:g,fieldState:C}),[P,g,C])}let F=e=>e.render(D(e)),V=n.createContext(null);V.displayName="HookFormContext";let B=()=>n.useContext(V),z=e=>{let{children:t,watch:r,getValues:i,getFieldState:a,setError:o,clearErrors:s,setValue:l,setValues:c,trigger:u,formState:d,resetField:p,reset:h,handleSubmit:f,unregister:m,control:g,register:y,setFocus:v,subscribe:b}=e,w=n.useMemo(()=>({watch:r,getValues:i,getFieldState:a,setError:o,clearErrors:s,setValue:l,setValues:c,trigger:u,formState:d,resetField:p,reset:h,handleSubmit:f,unregister:m,control:g,register:y,setFocus:v,subscribe:b}),[s,g,d,a,i,f,y,h,p,o,v,l,c,b,u,m,r]);return n.createElement(V.Provider,{value:w},n.createElement(_.Provider,{value:w.control},t))};var $=(e,t,r,n,i)=>t?{...r[e],types:{...r[e]&&r[e].types?r[e].types:{},[n]:i||!0}}:{},U=e=>Array.isArray(e)?e:[e],q=()=>{let e=[];return{get observers(){return e},next:t=>{for(let r of e)r.next&&r.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter(e=>e!==t)}}),unsubscribe:()=>{e=[]}}};function H(e,t){let r={};for(let n in e)if(e.hasOwnProperty(n)){let i=e[n],a=t[n];if(i&&l(i)&&a){let e=H(i,a);l(e)&&(r[n]=e)}else e[n]&&(r[n]=a)}return r}var Y=e=>l(e)&&!Object.keys(e).length,W=e=>"file"===e.type,G=e=>{if(!p)return!1;let t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},K=e=>"select-multiple"===e.type,J=e=>"radio"===e.type,X=e=>J(e)||i(e),Q=e=>G(e)&&e.isConnected;function Z(e,t){let r=t.slice(0,-1).length,n=0;for(;n<r;){if(o(e)){e=void 0;break}e=e[t[n]],n++}return e}function ee(e){for(let t in e)if(e.hasOwnProperty(t)&&!m(e[t]))return!1;return!0}function et(e,t){if(M(t)&&Object.prototype.hasOwnProperty.call(e,t))return delete e[t],e;let r=Array.isArray(t)?t:f(t)?[t]:y(t),n=1===r.length?e:Z(e,r),i=r.length-1,a=r[i];return n&&delete n[a],0!==i&&(l(n)&&Y(n)||Array.isArray(n)&&ee(n))&&et(e,r.slice(0,-1)),e}var er=e=>{for(let t in e)if(w(e[t]))return!0;return!1};function en(e){return Array.isArray(e)||l(e)&&!er(e)}function ei(e,t={}){for(let r in e){let n=e[r];en(n)?(t[r]=Array.isArray(n)?[]:{},ei(n,t[r])):m(n)||(t[r]=!0)}return t}function ea(e){if(!1!==e){if(!0===e)return!0;
1if(Array.isArray(e)){let t=e.map(e=>ea(e));return t.some(e=>void 0!==e)?t:void 0}if(l(e)){let t={};for(let r in e){let n=ea(e[r]);m(n)||(t[r]=n)}return Object.keys(t).length?t:void 0}}}function eo(e,t,r){for(let n in r||(r=ei(t)),e){let i=e[n];if(en(i))m(t)||N(r[n])?r[n]=ei(i,Array.isArray(i)?[]:{}):eo(i,o(t)?{}:t[n],r[n]);else{let e=t[n];r[n]=!R(i,e)}}return ea(r)||{}}let es={value:!1,isValid:!1},el={value:!0,isValid:!0};var ec=e=>{if(Array.isArray(e)){if(e.length>1){let t=e.filter(e=>e&&e.checked&&!e.disabled).map(e=>e.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!m(e[0].attributes.value)?m(e[0].value)||""===e[0].value?el:{value:e[0].value,isValid:!0}:el:es}return es},eu=(e,{valueAsNumber:t,valueAsDate:r,setValueAs:n})=>m(e)?e:t?""===e?NaN:e?+e:e:r&&M(e)?new Date(e):n?n(e):e;let ed={isValid:!1,value:null};var ep=e=>Array.isArray(e)?e.reduce((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e,ed):ed;function eh(e){let t=e.ref;return W(t)?t.files:J(t)?ep(e.refs).value:K(t)?[...t.selectedOptions].map(({value:e})=>e):i(t)?ec(e.refs).value:eu(m(t.value)?e.ref.value:t.value,e)}var ef=(e,t,r,n)=>{let i={};for(let r of e){let e=v(t,r);e&&x(i,r,e._f)}return{criteriaMode:r,names:[...e],fields:i,shouldUseNativeValidation:n}},em=e=>e instanceof RegExp,eg=e=>m(e)?e:em(e)?e.source:l(e)?em(e.value)?e.value.source:e.value:e,ey=e=>({isOnSubmit:!e||e===A.onSubmit,isOnBlur:e===A.onBlur,isOnChange:e===A.onChange,isOnAll:e===A.all,isOnTouch:e===A.onTouched});let ev="AsyncFunction";var eb=e=>!!e&&!!e.validate&&!!(w(e.validate)&&e.validate.constructor.name===ev||l(e.validate)&&Object.values(e.validate).find(e=>e.constructor.name===ev)),ew=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate),ex=(e,t,r)=>!r&&(t.watchAll||t.watch.has(e)||[...t.watch].some(t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length))));let ek=(e,t,r,n)=>{for(let i of r||Object.keys(e)){let r=v(e,i);if(r){let{_f:e,...a}=r;if(e){if(e.refs&&e.refs[0]&&t(e.refs[0],i)&&!n)return!0;else if(e.ref&&t(e.ref,e.name)&&!n)return!0;else if(ek(a,t))break}else if(l(a)&&ek(a,t))break}}};function eA(e,t,r){let n=v(e,r);if(n||f(r))return{error:n,name:r};let i=r.split(".");for(;i.length;){let n=i.join("."),a=v(t,n),o=v(e,n);if(a&&!Array.isArray(a)&&r!==n)break;if(o&&o.type)return{name:n,error:o};if(o&&o.root&&o.root.type)return{name:`${n}.root`,error:o.root};i.pop()}return{name:r}}var eC=(e,t,r,n)=>{r(e);let{name:i,...a}=e;return Y(a)||n&&Object.keys(a).length>=Object.keys(t).length||Object.keys(a).find(e=>t[e]===(!n||A.all))},eS=(e,t,r)=>!e||!t||e===t||U(e).some(e=>e&&(r?e===t:e.startsWith(t)||t.startsWith(e))),eE=(e,t,r,n,i)=>!i.isOnAll&&(!r&&i.isOnTouch?!(t||e):(r?n.isOnBlur:i.isOnBlur)?!e:(r?!n.isOnChange:!i.isOnChange)||e),e_=(e,t)=>!g(v(e,t)).length&&et(e,t),eT=(e,t,r)=>{let n=U(v(e,r));return x(n,E,t[r]),x(e,r,n),e};function eP(e,t,r="validate"){if(M(e)||Array.isArray(e)&&e.every(M)||b(e)&&!e)return{type:r,message:M(e)?e:"",ref:t}}var eO=e=>l(e)&&!em(e)?e:{value:e,message:""},eI=async(e,t,r,n,a,s)=>{let{ref:c,refs:u,required:d,maxLength:p,minLength:h,min:f,max:g,pattern:y,validate:x,name:k,valueAsNumber:A,mount:S}=e._f,E=v(r,k);if(!S||t.has(k))return{};let _=u?u[0]:c,T=e=>{a&&_.reportValidity&&(_.setCustomValidity(b(e)?"":e||""),_.reportValidity())},P={},O=J(c),I=i(c),L=O||I,N=(A||W(c))&&m(c.value)&&m(E)||G(c)&&""===c.value||""===E||Array.isArray(E)&&!E.length||A&&"number"==typeof E&&isNaN(E),R=$.bind(null,k,n,P),j=(e,t,r,n=C.maxLength,i=C.minLength)=>{let a=e?t:r;P[k]={type:e?n:i,message:a,ref:c,...R(e?n:i,a)}};if(s?!Array.isArray(E)||!E.length:d&&(!L&&(N||o(E))||b(E)&&!E||I&&!ec(u).isValid||O&&!ep(u).isValid)){let{value:e,message:t}=M(d)?{value:!!d,message:d}:eO(d);if(e&&(P[k]={type:C.required,message:t,ref:_,...R(C.required,t)},!n))return T(t),P}if(!N&&(!o(f)||!o(g))){let e,t,r=eO(g),i=eO(f);if(o(E)||isNaN(E)){let n=c.valueAsDate||new Date(E),a=e=>new Date(new Date().toDateString()+" "+e),o="time"==c.type,s="week"==c.type;M(r.value)&&E&&(e=o?a(E)>a(r.value):s?E>r.value:n>new Date(r.value)),M(i.value)&&E&&(t=o?a(E)<a(i.value):s?E<i.value:n<new Date(i.value))}else{let n=c.valueAsNumber||(E?+E:E);o(r.value)||(e=n>r.value),o(i.value)||(t=n<i.value)}if((e||t)&&(j(!!e,r.message,i.message,C.max,C.min),!n))return T(P[k].message),P}if((p||h)&&!N&&(M(E)||s&&Array.isArray(E))){let e=eO(p),t=eO(h),r=!o(e.value)&&E.length>+e.value,i=!o(t.value)&&E.length<+t.value;if((r||i)&&(j(r,e.message,t.message),!n))return T(P[k].message),P}if(y&&!N&&M(E)){let{value:e,message:t}=eO(y);if(em(e)&&!E.match(e)&&(P[k]={type:C.pattern,message:t,ref:c,...R(C.pattern,t)},!n))return T(t),P}if(x){if(w(x)){let e=eP(await x(E,r),_);if(e&&(P[k]={...e,...R(C.validate,e.message)},!n))return T(e.message),P}else if(l(x)){let e={};for(let t in x){if(!Y(e)&&!n)break;let i=eP(await x[t](E,r),_,t);i&&(e={...i,...R(t,i.message)},T(i.message),n&&(P[k]=e))}if(!Y(e)&&(P[k]={ref:_,...e},!n))return P}}return T(!0),P};let eM={mode:A.onSubmit,reValidateMode:A.onChange,shouldFocusError:!0},eL={submitCount:0,isDirty:!1,isReady:!1,isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{}};function eN(e={}){let t,r={...eM,...e},n={...h(eL),isLoading:w(r.defaultValues),errors:r.errors||{},disabled:r.disabled||!1},s={},d=(l(r.defaultValues)||l(r.values))&&h(r.defaultValues||r.values)||{},f=r.shouldUnregister?{}:h(d),y={action:!1,mount:!1,watch:!1,keepIsValid:!1},_={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set,registerName:new Set},T=0,P={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},O={...P},I={...O},N={array:q(),state:q()},j=r.criteriaMode===A.all,D=e=>t=>{clearTimeout(T),T=setTimeout(e,t)},F=async e=>{if(!y.keepIsValid&&!r.disabled&&(O.isValid||I.isValid||e)){let e;
1r.resolver?(e=Y((await er()).errors),V()):e=await ea({fields:s,onlyCheckValid:!0,eventType:k.VALID}),e!==n.isValid&&N.state.next({isValid:e})}},V=(e,t)=>{!r.disabled&&(O.isValidating||O.validatingFields||I.isValidating||I.validatingFields)&&((e||Array.from(_.mount)).forEach(e=>{e&&(t?x(n.validatingFields,e,t):et(n.validatingFields,e))}),N.state.next({validatingFields:n.validatingFields,isValidating:!Y(n.validatingFields)}))},B=()=>{n.dirtyFields=eo(d,f)},z=(e,t=[],i,a,o=!0,l=!0)=>{if(a&&i&&!r.disabled){if(y.action=!0,l&&Array.isArray(v(s,e))){let t=i(v(s,e),a.argA,a.argB);o&&x(s,e,t)}if(l&&Array.isArray(v(n.errors,e))){let t=i(v(n.errors,e),a.argA,a.argB);o&&x(n.errors,e,t),e_(n.errors,e)}if((O.touchedFields||I.touchedFields)&&l&&Array.isArray(v(n.touchedFields,e))){let t=i(v(n.touchedFields,e),a.argA,a.argB);o&&x(n.touchedFields,e,t)}(O.dirtyFields||I.dirtyFields)&&B(),N.state.next({name:e,isDirty:el(e,t),dirtyFields:n.dirtyFields,errors:n.errors,isValid:n.isValid})}else x(f,e,t)},$=(e,t)=>{x(n.errors,e,t),N.state.next({errors:n.errors})},J=(e,t,r,i)=>{let a=v(s,e);if(a){let o=m(v(f,e)),s=v(f,e,m(r)?v(d,e):r);m(s)||i&&i.defaultChecked||t?x(f,e,t?s:eh(a._f)):ed(e,s),y.mount&&!y.action&&(F(),o&&n.isDirty&&(O.isDirty||I.isDirty)&&(el()||(n.isDirty=!1,N.state.next({...n}))))}},Z=(e,t,i,a,o)=>{let s=!1,l=!1,c={name:e};if(!r.disabled){if(!i||a){(O.isDirty||I.isDirty)&&(l=n.isDirty,n.isDirty=c.isDirty=el(),s=l!==c.isDirty);let r=R(v(d,e),t);l=!!v(n.dirtyFields,e),r?et(n.dirtyFields,e):x(n.dirtyFields,e,!0),c.dirtyFields=n.dirtyFields,s=s||(O.dirtyFields||I.dirtyFields)&&!r!==l}if(i){let t=v(n.touchedFields,e);t||(x(n.touchedFields,e,i),c.touchedFields=n.touchedFields,s=s||(O.touchedFields||I.touchedFields)&&t!==i)}s&&o&&N.state.next(c)}return s?c:{}},ee=(e,i,a,o)=>{let s=v(n.errors,e),l=(O.isValid||I.isValid)&&b(i)&&n.isValid!==i;if(r.delayError&&a?(t=D(()=>$(e,a)))(r.delayError):(clearTimeout(T),t=null,a?x(n.errors,e,a):et(n.errors,e)),(a?!R(s,a):s)||!Y(o)||l){let t={...o,...l&&b(i)?{isValid:i}:{},errors:n.errors,name:e};n={...n,...t},N.state.next(t)}},er=async e=>(V(e,!0),await r.resolver(f,r.context,ef(e||_.mount,s,r.criteriaMode,r.shouldUseNativeValidation))),en=async e=>{let{errors:t}=await er(e);if(V(e),e)for(let r of e){let e=v(t,r);e?x(n.errors,r,e):et(n.errors,r)}else n.errors=t;return t},ei=async({name:t,eventType:r})=>{if(e.validate){let i=await e.validate({formValues:f,formState:n,name:t,eventType:r});if(l(i))for(let e in i)i[e]&&eV(`${S}.${e}`,{message:M(i.message)?i.message:"",type:C.validate});else M(i)||!i?eV(S,{message:i||"",type:C.validate}):eF(S);return i}return!0},ea=async({fields:t,onlyCheckValid:i,name:a,eventType:o,context:s={valid:!0,runRootValidation:!1}})=>{if(e.validate&&(s.runRootValidation=!0,!await ei({name:a,eventType:o}))&&(s.valid=!1,i))return s.valid;for(let a in t){let l=t[a];if(l){let{_f:t,...c}=l;if(t){let a=_.array.has(t.name),o=l._f&&eb(l._f);o&&O.validatingFields&&V([t.name],!0);let c=await eI(l,_.disabled,f,j,r.shouldUseNativeValidation&&!i,a);if(o&&O.validatingFields&&V([t.name]),c[t.name]&&(s.valid=!1,i)||(i||(v(c,t.name)?a?eT(n.errors,c,t.name):x(n.errors,t.name,c[t.name]):et(n.errors,t.name)),e.shouldUseNativeValidation&&c[t.name]))break}Y(c)||await ea({context:s,onlyCheckValid:i,fields:c,name:a,eventType:o})}}return s.valid},es=()=>{for(let e of _.unMount){let t=v(s,e);t&&(t._f.refs?t._f.refs.every(e=>!Q(e)):!Q(t._f.ref))&&eU(e)}_.unMount=new Set},el=(e,t)=>
1!r.disabled&&(e&&t&&x(f,e,t),!R(ej(),d)),ec=(e,t,r)=>L(e,_,{...y.mount?f:m(t)?d:M(e)?{[e]:t}:t},r,t),ed=(e,t,r={})=>{let n=v(s,e),a=t;if(n){let r=n._f;r&&(r.disabled||x(f,e,eu(t,r)),a=G(r.ref)&&o(t)?"":t,K(r.ref)?[...r.ref.options].forEach(e=>e.selected=a.includes(e.value)):r.refs?i(r.ref)?r.refs.forEach(e=>{e.defaultChecked&&e.disabled||(Array.isArray(a)?e.checked=!!a.find(t=>t===e.value):e.checked=a===e.value||!!a)}):r.refs.forEach(e=>e.checked=e.value===a):W(r.ref)?r.ref.value="":(r.ref.value=a,r.ref.type||N.state.next({name:e,values:h(f)})))}(r.shouldDirty||r.shouldTouch)&&Z(e,a,r.shouldTouch,r.shouldDirty,!0),r.shouldValidate&&eR(e)},ep=(e,t,r)=>{for(let n in t){if(!t.hasOwnProperty(n))return;let i=t[n],o=e+"."+n,c=v(s,o);(_.array.has(e)||l(i)||c&&!c._f)&&!a(i)?ep(o,i,r):ed(o,i,r)}},em=(e,t,r={})=>{let i=v(s,e),a=_.array.has(e),l=h(t),c=R(v(f,e),l);if(x(f,e,l),a)N.array.next({name:e,values:h(f)}),(O.isDirty||O.dirtyFields||I.isDirty||I.dirtyFields)&&r.shouldDirty&&(B(),N.state.next({name:e,dirtyFields:n.dirtyFields,isDirty:el(e,l)}));else{let t=Array.isArray(l)&&!l.length||Y(l);!i||i._f||o(l)||t?ed(e,l,r):ep(e,l,r)}if(!c){let t=ex(e,_);N.state.next({...t&&n,name:y.mount||t?e:void 0,values:h(f)})}},ev=e=>{let t=w(e)?e(f):e;R(f,t)||(f={...f,...t},N.state.next({...n,values:f}))},eP=async i=>{y.mount=!0;let o=i.target,l=o.name,u=!0,d=v(s,l),p=e=>{u=Number.isNaN(e)||a(e)&&isNaN(e.getTime())||R(e,v(f,l,e))},m=ey(r.mode),g=ey(r.reValidateMode);if(d){let a,y,b=o.type?eh(d._f):c(i),w=i.type===k.BLUR||i.type===k.FOCUS_OUT,A=!ew(d._f)&&!e.validate&&!r.resolver&&!v(n.errors,l)&&!d._f.deps||eE(w,v(n.touchedFields,l),n.isSubmitted,g,m),C=ex(l,_,w);x(f,l,b),w?o&&o.readOnly||(d._f.onBlur&&d._f.onBlur(i),t&&t(0)):d._f.onChange&&d._f.onChange(i);let S=Z(l,b,w),E=!Y(S)||C;if(w||N.state.next({name:l,type:i.type,values:h(f)}),A)return(O.isValid||I.isValid)&&("onBlur"===r.mode?w&&F():w||F()),E&&N.state.next({name:l,...C?{}:S});if(!r.resolver&&e.validate&&await ei({name:l,eventType:i.type}),!w&&C&&N.state.next({...n}),r.resolver){let{errors:e}=await er([l]);if(V([l]),p(b),u){let t=eA(n.errors,s,l),r=eA(e,s,t.name||l);a=r.error,l=r.name,y=Y(e)}}else V([l],!0),a=(await eI(d,_.disabled,f,j,r.shouldUseNativeValidation))[l],V([l]),p(b),u&&(a?y=!1:(O.isValid||I.isValid)&&(y=await ea({fields:s,onlyCheckValid:!0,name:l,eventType:i.type})));u&&(d._f.deps&&(!Array.isArray(d._f.deps)||d._f.deps.length>0)&&eR(d._f.deps),ee(l,y,a,S))}},eO=(e,t)=>{if(v(n.errors,t)&&e.focus)return e.focus(),1},eR=async(e,t={})=>{let i,a,o=U(e);if(r.resolver){let t=await en(m(e)?e:o);i=Y(t),a=e?!o.some(e=>v(t,e)):i}else e?((a=(await Promise.all(o.map(async e=>{let t=v(s,e);return await ea({fields:t&&t._f?{[e]:t}:t,eventType:k.TRIGGER})}))).every(Boolean))||n.isValid)&&F():a=i=await ea({fields:s,name:e,eventType:k.TRIGGER});return N.state.next({...!M(e)||(O.isValid||I.isValid)&&i!==n.isValid?{}:{name:e},...r.resolver||!e?{isValid:i}:{},errors:n.errors}),t.shouldFocus&&!a&&ek(s,eO,e?o:_.mount),a},ej=(e,t)=>{let r={...y.mount?f:d};return t&&(r=H(t.dirtyFields?n.dirtyFields:n.touchedFields,r)),m(e)?r:M(e)?v(r,e):e.map(e=>v(r,e))},eD=(e,t)=>({invalid:!!v((t||n).errors,e),isDirty:!!v((t||n).dirtyFields,e),error:v((t||n).errors,e),isValidating:!!v(n.validatingFields,e),isTouched:!!v((t||n).touchedFields,e)}),eF=e=>{let t=e?U(e):void 0;null==t||t.forEach(e=>et(n.errors,e)),t?t.forEach(e=>{N.state.next({name:e,errors:n.errors})}):N.state.next({errors:{}})},eV=(e,t,r)=>{let i=(v(s,e,{_f:{}})._f||{}).ref,{ref:a,message:o,type:l,...c}=v(n.errors,e)||{};x(n.errors,e,{...c,...t,ref:i}),N.state.next({name:e,errors:n.errors,isValid:!1}),r&&r.shouldFocus&&i&&i.focus&&i.focus()},eB=(e,t)=>w(e)?N.state.subscribe({next:r=>"values"in r&&e(r.values||ec(void 0,t),r)}):ec(e,t,!0),ez=e=>N.state.subscribe({next:t=>{if(eS(e.name,t.name,e.exact)&&eC(t,e.formState||O,eQ,e.reRenderRoot)){let r={...f};e.callback({values:r,...n,...t,defaultValues:d})}}}).unsubscribe,e$=e=>(y.mount=!0,I={...I,...e.formState},ez({...e,formState:{...P,...e.formState}})),eU=(e,t={})=>{for(let i of e?U(e):_.mount)_.mount.delete(i),_.array.delete(i),t.keepValue||(et(s,i),et(f,i)),t.keepError||et(n.errors,i),t.keepDirty||et(n.dirtyFields,i),t.keepTouched||et(n.touchedFields,i),t.keepIsValidating||et(n.validatingFields,i),r.shouldUnregister||t.keepDefaultValue||et(d,i);N.state.next({values:h(f)}),N.state.next({...n,...!t.keepDirty?{}:{isDirty:el()}}),t.keepIsValid||F()},eq=({disabled:e,name:t})=>{if(b(e)&&y.mount||e||_.disabled.has(t)){let r=!!e!==_.disabled.has(t);
1e?_.disabled.add(t):_.disabled.delete(t),r&&y.mount&&!y.action&&F()}},eH=(e,t={})=>{let n=v(s,e),i=b(t.disabled)||b(r.disabled),a=!_.registerName.has(e)&&n&&n._f&&!n._f.mount;return x(s,e,{...n||{},_f:{...n&&n._f?n._f:{ref:{name:e}},name:e,mount:!0,...t}}),_.mount.add(e),n&&!a?eq({disabled:b(t.disabled)?t.disabled:r.disabled,name:e}):J(e,!0,t.value),{...i?{disabled:t.disabled||r.disabled}:{},...r.progressive?{required:!!t.required,min:eg(t.min),max:eg(t.max),minLength:eg(t.minLength),maxLength:eg(t.maxLength),pattern:eg(t.pattern)}:{},name:e,onChange:eP,onBlur:eP,ref:i=>{if(i){_.registerName.add(e),eH(e,t),_.registerName.delete(e),n=v(s,e);let r=m(i.value)&&i.querySelectorAll&&i.querySelectorAll("input,select,textarea")[0]||i,a=X(r),o=n._f.refs||[];(a?o.find(e=>e===r):r===n._f.ref)||(x(s,e,{_f:{...n._f,...a?{refs:[...o.filter(Q),r,...Array.isArray(v(d,e))?[{}]:[]],ref:{type:r.type,name:e}}:{ref:r}}}),J(e,!1,void 0,r))}else(n=v(s,e,{}))._f&&(n._f.mount=!1),(r.shouldUnregister||t.shouldUnregister)&&!(u(_.array,e)&&y.action)&&_.unMount.add(e)}}},eY=()=>r.shouldFocusError&&ek(s,eO,_.mount),eW=(e,t)=>async i=>{let a;i&&(i.preventDefault&&i.preventDefault(),i.persist&&i.persist());let o=h(f);if(N.state.next({isSubmitting:!0}),r.resolver){let{errors:e,values:t}=await er();V(),n.errors=e,o=h(t)}else await ea({fields:s,eventType:k.SUBMIT});if(_.disabled.size)for(let e of _.disabled)et(o,e);if(et(n.errors,E),Y(n.errors)){N.state.next({errors:{}});try{await e(o,i)}catch(e){a=e}}else t&&await t({...n.errors},i),eY(),setTimeout(eY);if(N.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:Y(n.errors)&&!a,submitCount:n.submitCount+1,errors:n.errors}),a)throw a},eG=(e,t={})=>{v(s,e)&&(m(t.defaultValue)?em(e,h(v(d,e))):(em(e,t.defaultValue),x(d,e,h(t.defaultValue))),t.keepTouched||et(n.touchedFields,e),t.keepDirty||(et(n.dirtyFields,e),n.isDirty=t.defaultValue?el(e,h(v(d,e))):el()),!t.keepError&&(et(n.errors,e),O.isValid&&F()),N.state.next({...n}))},eK=(e,t={})=>{let i=e?h(e):d,a=h(i),o=Y(e),l=o?d:a;if(t.keepDefaultValues||(d=i),!t.keepValues){if(t.keepDirtyValues)for(let e of Array.from(new Set([..._.mount,...Object.keys(eo(d,f))]))){let t=v(n.dirtyFields,e),r=v(f,e),i=v(l,e);t&&!m(r)?x(l,e,r):t||m(i)||em(e,i)}else{if(p&&m(e))for(let e of _.mount){let t=v(s,e);if(t&&t._f){let e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(G(e)){let t=e.closest("form");if(t){t.reset();break}}}}if(t.keepFieldsRef)for(let e of _.mount)em(e,v(l,e));else s={}}f=r.shouldUnregister?t.keepDefaultValues?h(d):{}:h(l),N.array.next({values:{...l}}),N.state.next({values:{...l}})}_={mount:t.keepDirtyValues?_.mount:new Set,unMount:new Set,array:new Set,registerName:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},y.mount=!O.isValid||!!t.keepIsValid||!!t.keepDirtyValues||!r.shouldUnregister&&!Y(l),y.watch=!!r.shouldUnregister,y.keepIsValid=!!t.keepIsValid,y.action=!1,t.keepErrors||(n.errors={}),N.state.next({submitCount:t.keepSubmitCount?n.submitCount:0,isDirty:!o&&(t.keepDirty?n.isDirty:!!(t.keepDefaultValues&&!R(e,d))),isSubmitted:!!t.keepIsSubmitted&&n.isSubmitted,dirtyFields:o?{}:t.keepDirtyValues?t.keepDefaultValues&&f?eo(d,f):n.dirtyFields:t.keepDefaultValues&&e?eo(d,e):t.keepDirty?n.dirtyFields:{},touchedFields:t.keepTouched?n.touchedFields:{},errors:t.keepErrors?n.errors:{},isSubmitSuccessful:!!t.keepIsSubmitSuccessful&&n.isSubmitSuccessful,isSubmitting:!1,defaultValues:d})},eJ=(e,t)=>eK(w(e)?e(f):e,{...r.resetOptions,...t}),eX=(e,t={})=>{let r=v(s,e),n=r&&r._f;if(n){let e=n.refs?n.refs[0]:n.ref;e.focus&&setTimeout(()=>{e.focus(),t.shouldSelect&&w(e.select)&&e.select()})}},eQ=e=>{n={...n,...e}},eZ={control:{register:eH,unregister:eU,getFieldState:eD,handleSubmit:eW,setError:eV,_subscribe:ez,_runSchema:er,_updateIsValidating:V,_focusError:eY,_getWatch:ec,_getDirty:el,_setValid:F,_setFieldArray:z,_setDisabledField:eq,_setErrors:e=>{n.errors=e,N.state.next({errors:n.errors,isValid:!1})},_getFieldArray:e=>g(v(y.mount?f:d,e,r.shouldUnregister?v(d,e,[]):[])),_reset:eK,_resetDefaultValues:()=>w(r.defaultValues)&&r.defaultValues().then(e=>{eJ(e,r.resetOptions),N.state.next({isLoading:!1})}),_removeUnmounted:es,_disableForm:e=>{b(e)&&(N.state.next({disabled:e}),ek(s,(t,r)=>{let n=v(s,r);n&&(t.disabled=n._f.disabled||e,Array.isArray(n._f.refs)&&n._f.refs.forEac
1h(t=>{t.disabled=n._f.disabled||e}))},0,!1))},_subjects:N,_proxyFormState:O,get _fields(){return s},get _formValues(){return f},get _state(){return y},set _state(value){y=value},get _defaultValues(){return d},get _names(){return _},set _names(value){_=value},get _formState(){return n},get _options(){return r},set _options(value){r={...r,...value}}},subscribe:e$,trigger:eR,register:eH,handleSubmit:eW,watch:eB,setValue:em,setValues:ev,getValues:ej,reset:eJ,resetField:eG,clearErrors:eF,unregister:eU,setError:eV,setFocus:eX,getFieldState:eD};return{...eZ,formControl:eZ}}function eR(e={}){let t=n.useRef(void 0),r=n.useRef(void 0),[i,a]=n.useState(()=>({...h(eL),isLoading:w(e.defaultValues),errors:e.errors||{},disabled:e.disabled||!1,defaultValues:w(e.defaultValues)?void 0:e.defaultValues}));if(!t.current)if(e.formControl)t.current={...e.formControl,formState:i},e.defaultValues&&!w(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions);else{let{formControl:r,...n}=eN(e);t.current={...n,formState:i}}let o=t.current.control;return o._options=e,O(()=>{let e=o._subscribe({formState:o._proxyFormState,callback:()=>a({...o._formState}),reRenderRoot:!0});return a(e=>({...e,isReady:!0})),o._formState.isReady=!0,e},[o]),n.useEffect(()=>o._disableForm(e.disabled),[o,e.disabled]),n.useEffect(()=>{e.mode&&(o._options.mode=e.mode),e.reValidateMode&&(o._options.reValidateMode=e.reValidateMode)},[o,e.mode,e.reValidateMode]),n.useEffect(()=>{e.errors&&(o._setErrors(e.errors),o._focusError())},[o,e.errors]),n.useEffect(()=>{e.shouldUnregister&&o._subjects.state.next({values:o._getWatch()})},[o,e.shouldUnregister]),n.useEffect(()=>{if(o._proxyFormState.isDirty){let e=o._getDirty();e!==i.isDirty&&o._subjects.state.next({isDirty:e})}},[o,i.isDirty]),n.useEffect(()=>{var t;e.values&&!R(e.values,r.current)?(o._reset(e.values,{keepFieldsRef:!0,...o._options.resetOptions}),(null==(t=o._options.resetOptions)?void 0:t.keepIsValid)||o._setValid(),r.current=e.values,a(e=>({...e}))):o._resetDefaultValues()},[o,e.values]),n.useEffect(()=>{o._state.mount||(o._setValid(),o._state.mount=!0),o._state.watch&&(o._state.watch=!1,o._subjects.state.next({...o._formState})),o._removeUnmounted()}),t.current.formState=n.useMemo(()=>P(i,o),[o,i]),t.current}},1917:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=r(73762).A},1983:(e,t,r)=>{"use strict";function n(e,t){if(null==e)return{};var r={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}r.d(t,{A:()=>n})},2023:(e,t,r)=>{"use strict";r.d(t,{J:()=>n,o:()=>i});let n=730,i={USER_ID:"userId",USER_NAME:"userName",CREDENTIAL:"credential",USER_INFO:"userInfo",MOBILE_HINT_STATUS:"_mobile_hint_status",SYNC_TUTORIAL_STATUS:"_sync_tutorial_status",PLATFORM:"platform"}},2160:(e,t,r)=>{"use strict";r.d(t,{A:()=>O});var n=r(70921),i=r(67549),a=r(98986),o=r(55729),s=r(33537),l=r(86528),c=r(37674),u=r(97043),d=r(5415);let p=()=>{let e=window;try{e.webkit&&e.webkit.messageHandlers&&e.webkit.messageHandlers.notifySignIn&&e.webkit.messageHandlers.notifySignIn.postMessage(d.tt.get())}catch(e){(0,u.me)({err:e,context:{key:"wu app sign in error"}})}};var h=r(42011),f=r(23261),m=r(68106),g=r(49511),y=r(26766),v=r(96848),b=r(2406);let w=()=>{"function"==typeof gtag&>ag("set","user_data",{is_app:(0,y.pp)(),user_id:v.Wp.getUserId(),email:v.Wp.getUserEmail(),wu_anon_id:(0,b.lA)()})};var x=r(83855);let k=()=>(0,x.A)({url:"/v1/auth/sign_out",method:"DELETE"});var A=r(40993);let C=(0,n.eU)(!1),S=(0,n.eU)({isOpen:!1,hideCloseButton:!1}),E=(0,n.eU)("sign-in"),_=(0,n.eU)(null),T={email:"",name:"",userId:""},P=(0,n.eU)(T),O=()=>{let{t:e}=(0,a.Bd)(),{startLoading:t,stopLoading:n}=(0,f.A)(),[d,y]=(0,i.fp)(C),[v,b]=(0,i.fp)(E),[x,O]=(0,i.fp)(_),[I,M]=(0,i.fp)(P),[L,N]=(0,i.fp)(S),{rebootIntercom:R}=(0,m.RR)();(0,m.F5)({shouldHideIntercom:L.isOpen});let j=(0,o.useCallback)(()=>{A.A.clearCookies()},[]),D=(0,o.useCallback)(async()=>{let e=(0,h.lA)();try{await k()}finally{var t;y(!1),M(T),j(),R({userId:null!=(t=(0,s.A)(String(e)))?t:""}),w()}},[y,M,j,R]),F=(0,o.useCallback)(()=>{n()},[n]),V=(0,o.useCallback)(()=>{t()},[t]),B=(0,o.useCallback)(t=>{let{type:r,res:n,status:i,errCode:a,msg:o}=t;if("email"===r){c.A.fire({icon:"warning",title:e("auth.auth_failed.title"),text:o||e("auth.auth_failed.desc"),confirmButtonText:e("common.ok")});let t=["invalid_login_credentials","email_already_exists"];a&&!t.includes(a)&&(0,u.me)({err:Error("Email sign-in backend error"),context:{key:"Email sign-in or sign-up failed.",type:r,status:i,body:JSON.stringify(n),msg:o}})}else if("fb"===r)c.A.fire({title:e("auth.fb.err.title"),icon:"warning",text:e("auth.fb.err.msg"),confirmButtonText:e("common.ok")});else if("google"===r){if("idpiframe_initialization_failed"===a)return;c.A.fire({icon:"warning",title:e("auth.google.err.title"),text:e("auth.google.err.msg"),confirmButtonText:e("common.ok")}),(0,u.me)({err:Error("social login google error"),context:{msg:o,type:r,errCode:a}})}else if("apple"===r&&"popup_closed_by_user"===a)return;F()},[e,F]),z=(0,o.useCallback)(e=>{l.oR.success({message:e})},[]),$=(0,o.useCallback)(t=>{var r,n,i;let{res:a}=t;l.oR.error({message:null!=(i=null==a||null==(n=a.errors)||null==(r=n[0])?void 0:r.detail)?i:e("err.something_went_wrong")})},[e]),U=(0,o.useCallback)(()=>{N(e=>({isOpen:!1,hideCloseButton:!1}))}
1,[N]),q=(0,o.useCallback)(async e=>{Promise.resolve().then(r.bind(r,99761)).then(t=>{let{default:r}=t;r.linkUser(e).catch(e=>{(0,u.me)({err:e,context:{key:"Auth link user failed"}})})})},[]),H=(0,o.useCallback)(e=>{let{layout:t,onSuccess:r,hideCloseButton:n}=e;b(t),N({isOpen:!0,hideCloseButton:!!n}),"function"==typeof r&&O(()=>r)},[b,N,O]),Y=(0,o.useCallback)(e=>{let{data:t,type:n}=e,{id:i,email:a,name:o}=t.data.attributes;A.A.saveUserName(o),A.A.saveUserId(i),y(!0),M({email:a,name:o,userId:i}),(0,u.gV)({id:i,name:o,email:a}),U(),q(i),(0,g.Al)()&&p(),w(),Promise.resolve().then(r.bind(r,32678)).then(e=>{e.default.internal.sendEvent({name:"sign-up"===n?"sign_up":"sign_in",params:{user_id:i}})}),"sign-up"===n&&(Promise.resolve().then(r.bind(r,74395)).then(e=>{e.default.internal.trackSingle("CompleteRegistration",{status:!0,currency:"TWD"})}),Promise.resolve().then(r.bind(r,42874)).then(e=>{let{sendDcardAdsCompleteRegistrationEvent:t}=e;t({payload:{contentName:window.document.title,status:!0}})})),R({userId:(0,s.A)(String(t.data.id)),name:t.data.name}),"function"==typeof x&&x(),F()},[x,U,q,F,y,M]),W=(0,o.useCallback)(e=>{if(d){var t;return null==e||null==(t=e.onSuccess)?void 0:t.call(e)}H({layout:"sign-in",...e})},[d,H]);return(0,o.useEffect)(()=>{var e;let t=A.A.getCredential(),n=null==t?void 0:t.uid,i=!!n;y(i);let a=A.A.getUserId(),o=null!=(e=A.A.getUserName())?e:void 0;i&&M(e=>({...e,userId:a,name:null!=o?o:"",email:n})),Promise.resolve().then(r.bind(r,32678)).then(e=>{e.default.setUser(a)}),(0,u.gV)({id:a,name:o,email:n})},[y,M]),{userInfo:I,isLoggedIn:d,logout:D,authModalIsOpen:L.isOpen,openAuthModal:H,closeAuthModal:U,authLayout:v,onError:B,setAuthLayout:b,onRequest:V,onSuccess:Y,onForgetPasswordSuccess:z,onForgetPasswordError:$,getUserId:A.A.getUserId,withAuthCheck:W,hideCloseButton:L.hideCloseButton}}},2406:(e,t,r)=>{"use strict";r.d(t,{$d:()=>n.A,lA:()=>i.lA});var n=r(57431),i=r(11266)},2422:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=r(55729).useLayoutEffect},2450:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(58309);let i=[["circle",{cx:"8",cy:"21",r:"1",key:"jimo8o"}],["circle",{cx:"19",cy:"21",r:"1",key:"13723u"}],["path",{d:"M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12",key:"9zh506"}]],a=(0,n.A)("shopping-cart",i)},2514:(e,t,r)=>{"use strict";r.d(t,{Q:()=>n});let n=(0,r(55729).createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"})},2601:(e,t,r)=>{"use strict";r.d(t,{A:()=>o,R:()=>a});var n=r(11722),i=r(91206);function a(e){return(0,i.Ay)("MuiBackdrop",e)}let o=(0,n.A)("MuiBackdrop",["root","invisible"])},2644:(e,t,r)=>{"use strict";r.d(t,{M:()=>s,P:()=>f});var n=r(48882),i=r(578),a=r(53442);function o(e){let t=(0,n.A)(e);return t.body===e?(0,i.A)(e).innerWidth>t.documentElement.clientWidth:e.scrollHeight>e.clientHeight}function s(e,t){t?e.setAttribute("aria-hidden","true"):e.removeAttribute("aria-hidden")}function l(e){return parseInt((0,i.A)(e).getComputedStyle(e).paddingRight,10)||0}function c(e){let t=["TEMPLATE","SCRIPT","STYLE","LINK","MAP","META","NOSCRIPT","PICTURE","COL","COLGROUP","PARAM","SLOT","SOURCE","TRACK"].includes(e.tagName),r="INPUT"===e.tagName&&"hidden"===e.getAttribute("type");return t||r}function u(e,t,r,n,i){let a=[t,r,...n];[].forEach.call(e.children,e=>{let t=!a.includes(e),r=!c(e);t&&r&&s(e,i)})}function d(e,t){let r=-1;return e.some((e,n)=>!!t(e)&&(r=n,!0)),r}function p(e,t){let r=[],s=e.container;if(!t.disableScrollLock){let e;if(o(s)){let e=(0,a.A)((0,i.A)(s));r.push({value:s.style.paddingRight,property:"padding-right",el:s}),s.style.paddingRight="".concat(l(s)+e,"px");let t=(0,n.A)(s).querySelectorAll(".mui-fixed");[].forEach.call(t,t=>{r.push({value:t.style.paddingRight,property:"padding-right",el:t}),t.style.paddingRight="".concat(l(t)+e,"px")})}if(s.parentNode instanceof DocumentFragment)e=(0,n.A)(s).body;else{let t=s.parentElement,r=(0,i.A)(s);e=(null==t?void 0:t.nodeName)==="HTML"&&"scroll"===r.getComputedStyle(t).overflowY?t:s}r.push({value:e.style.overflow,property:"overflow",el:e},{value:e.style.overflowX,property:"overflow-x",el:e},{value:e.style.overflowY,property:"overflow-y",el:e}),e.style.overflow="hidden"}return()=>
1{r.forEach(e=>{let{value:t,el:r,property:n}=e;t?r.style.setProperty(n,t):r.style.removeProperty(n)})}}function h(e){let t=[];return[].forEach.call(e.children,e=>{"true"===e.getAttribute("aria-hidden")&&t.push(e)}),t}class f{add(e,t){let r=this.modals.indexOf(e);if(-1!==r)return r;r=this.modals.length,this.modals.push(e),e.modalRef&&s(e.modalRef,!1);let n=h(t);u(t,e.mount,e.modalRef,n,!0);let i=d(this.containers,e=>e.container===t);return -1!==i?this.containers[i].modals.push(e):this.containers.push({modals:[e],container:t,restore:null,hiddenSiblings:n}),r}mount(e,t){let r=d(this.containers,t=>t.modals.includes(e)),n=this.containers[r];n.restore||(n.restore=p(n,t))}remove(e){let t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],r=this.modals.indexOf(e);if(-1===r)return r;let n=d(this.containers,t=>t.modals.includes(e)),i=this.containers[n];if(i.modals.splice(i.modals.indexOf(e),1),this.modals.splice(r,1),0===i.modals.length)i.restore&&i.restore(),e.modalRef&&s(e.modalRef,t),u(i.container,e.mount,e.modalRef,i.hiddenSiblings,!1),this.containers.splice(n,1);else{let e=i.modals[i.modals.length-1];e.modalRef&&s(e.modalRef,!1)}return r}isTopModal(e){return this.modals.length>0&&this.modals[this.modals.length-1]===e}constructor(){this.modals=[],this.containers=[]}}},2657:(e,t,r)=>{"use strict";r.d(t,{A:()=>m});var n=r(55729),i=r(50212),a=r(40412),o=r(25684),s=r(1686),l=r(23986),c=r(49467),u=r(25047),d=r(6029);let p=e=>{let{color:t,fontSize:r,classes:n}=e,i={root:["root","inherit"!==t&&"color".concat((0,o.A)(t)),"fontSize".concat((0,o.A)(r))]};return(0,a.A)(i,u.E,n)},h=(0,s.Ay)("svg",{name:"MuiSvgIcon",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,"inherit"!==r.color&&t["color".concat((0,o.A)(r.color))],t["fontSize".concat((0,o.A)(r.fontSize))]]}})((0,l.A)(e=>{var t,r,n,i,a,o,s,l,c,u,d,p,h,f,m,g,y,v;let{theme:b}=e;return{userSelect:"none",width:"1em",height:"1em",display:"inline-block",flexShrink:0,transition:null==(i=b.transitions)||null==(n=i.create)?void 0:n.call(i,"fill",{duration:null==(r=(null!=(m=b.vars)?m:b).transitions)||null==(t=r.duration)?void 0:t.shorter}),variants:[{props:e=>!e.hasSvgAsChild,style:{fill:"currentColor"}},{props:{fontSize:"inherit"},style:{fontSize:"inherit"}},{props:{fontSize:"small"},style:{fontSize:(null==(o=b.typography)||null==(a=o.pxToRem)?void 0:a.call(o,20))||"1.25rem"}},{props:{fontSize:"medium"},style:{fontSize:(null==(l=b.typography)||null==(s=l.pxToRem)?void 0:s.call(l,24))||"1.5rem"}},{props:{fontSize:"large"},style:{fontSize:(null==(u=b.typography)||null==(c=u.pxToRem)?void 0:c.call(u,35))||"2.1875rem"}},...Object.entries((null!=(g=b.vars)?g:b).palette).filter(e=>{let[,t]=e;return t&&t.main}).map(e=>{var t,r,n;let[i]=e;return{props:{color:i},style:{color:null==(r=(null!=(n=b.vars)?n:b).palette)||null==(t=r[i])?void 0:t.main}}}),{props:{color:"action"},style:{color:null==(p=(null!=(y=b.vars)?y:b).palette)||null==(d=p.action)?void 0:d.active}},{props:{color:"disabled"},style:{color:null==(f=(null!=(v=b.vars)?v:b).palette)||null==(h=f.action)?void 0:h.disabled}},{props:{color:"inherit"},style:{color:void 0}}]}})),f=n.forwardRef(function(e,t){let r=(0,c.b)({props:e,name:"MuiSvgIcon"}),{children:a,className:o,color:s="inherit",component:l="svg",fontSize:u="medium",htmlColor:f,inheritViewBox:m=!1,titleAccess:g,viewBox:y="0 0 24 24",...v}=r,b=n.isValidElement(a)&&"svg"===a.type,w={...r,color:s,component:l,fontSize:u,instanceFontSize:e.fontSize,inheritViewBox:m,viewBox:y,hasSvgAsChild:b},x={};m||(x.viewBox=y);let k=p(w);return(0,d.jsxs)(h,{as:l,className:(0,i.A)(k.root,o),focusable:"false",color:f,"aria-hidden":!g||void 0,role:g?"img":void 0,ref:t,...x,...v,...b&&a.props,ownerState:w,children:[b?a.props.children:a,g?(0,d.jsx)("title",{children:g}):null]})});f.muiName="SvgIcon";let m=f},2860:(e,t,r)=>{"use strict";r.d(t,{FD:()=>s,FK:()=>a,Y:()=>o});var n=r(6029),i=r(87905);r(55729),r(81245),r(31179),r(38260),r(44930);var a=n.Fragment,o=function(e,t,r){return i.h.call(t,"css")?n.jsx(i.E,(0,i.c)(e,t),r):n.jsx(e,t,r)},s=function(e,t,r){return i.h.call(t,"css")?n.jsxs(i.E,(0,i.c)(e,t),r):n.jsxs(e,t,r)}},3065:(e,t,r)=>{"use strict";r.d(t,{b:()=>a});var n=r(11722),i=r(91206);function a(e){return(0,i.Ay)("MuiPopper",e)}(0,n.A)("MuiPopper",["root"])},3269:(e,t,r)=>{var n=r(57406).Global;function i(){return n.sessionStorage}function a(e){return i().getItem(e)}function o(e){for(var t=i().length-1;t>=0;t--){var r=i().key(t);e(a(r),r)}}
1e.exports={name:"sessionStorage",read:a,write:function e(e,t){return i().setItem(e,t)},each:o,remove:function e(e){return i().removeItem(e)},clearAll:function e(){return i().clear()}}},4114:(e,t,r)=>{var n=r(57406).Global;e.exports={name:"oldIE-userDataStorage",write:l,read:c,each:u,remove:d,clearAll:p};var i="storejs",a=n.document,o=m(),s=(n.navigator?n.navigator.userAgent:"").match(/ (MSIE 8|MSIE 9|MSIE 10)\./);function l(e,t){if(!s){var r=f(e);o(function(e){e.setAttribute(r,t),e.save(i)})}}function c(e){if(!s){var t=f(e),r=null;return o(function(e){r=e.getAttribute(t)}),r}}function u(e){o(function(t){for(var r=t.XMLDocument.documentElement.attributes,n=r.length-1;n>=0;n--){var i=r[n];e(t.getAttribute(i.name),i.name)}})}function d(e){var t=f(e);o(function(e){e.removeAttribute(t),e.save(i)})}function p(){o(function(e){var t=e.XMLDocument.documentElement.attributes;e.load(i);for(var r=t.length-1;r>=0;r--)e.removeAttribute(t[r].name);e.save(i)})}var h=RegExp("[!\"#$%&'()*+,/\\\\:;<=>?@[\\]^`{|}~]","g");function f(e){return e.replace(/^\d/,"___$&").replace(h,"___")}function m(){if(!a||!a.documentElement||!a.documentElement.addBehavior)return null;var e,t,r,n="script";try{(t=new ActiveXObject("htmlfile")).open(),t.write("<"+n+">document.w=window</"+n+'><iframe src="/favicon.ico"></iframe>'),t.close(),r=(e=t.w.frames[0].document).createElement("div")}catch(t){r=a.createElement("div"),e=a.body}return function(t){var n=[].slice.call(arguments,0);n.unshift(r),e.appendChild(r),r.addBehavior("#default#userData"),r.load(i),t.apply(this,n),e.removeChild(r)}}},4140:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},4993:(e,t,r)=>{"use strict";r.d(t,{a:()=>s,b:()=>l,c:()=>u,d:()=>c,e:()=>a,i:()=>i,n:()=>o,p:()=>n,u:()=>p,w:()=>d});let n=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopedSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideNextClass","slidePrevClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function i(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)&&!e.__swiper__}function a(e,t){let r=["__proto__","constructor","prototype"];Object.keys(t).filter(e=>0>r.indexOf(e)).forEach(r=>{void 0===e[r]?e[r]=t[r]:i(t[r])&&i(e[r])&&Object.keys(t[r]).length>0?t[r].__swiper__?e[r]=t[r]:a(e[r],t[r]):e[r]=t[r]})}function o(e){return void 0===e&&(e={}),e.navigation&&void 0===e.navigation.nextEl&&void 0===e.navigation.prevEl}function s(e){return void 0===e&&(e={}),e.pagination&&void 0===e.pagination.el}function l(e){return void 0===e&&(e={}),e.scrollbar&&void 0===e.scrollbar.el}function c(e){void 0===e&&(e="");let t=e.split(" ").map(e=>e.trim()).filter(e=>!!e),r=[];
1return t.forEach(e=>{0>r.indexOf(e)&&r.push(e)}),r.join(" ")}function u(e){return void 0===e&&(e=""),e.replace(/-[a-z]/g,e=>e.toUpperCase().replace("-",""))}function d(e){return(void 0===e&&(e=""),e)?e.includes("swiper-wrapper")?e:`swiper-wrapper ${e}`:"swiper-wrapper"}function p(e){let t,r,n,o,s,l,c,u,{swiper:d,slides:p,passedParams:h,changedParams:f,nextEl:m,prevEl:g,scrollbarEl:y,paginationEl:v}=e,b=f.filter(e=>"children"!==e&&"direction"!==e&&"wrapperClass"!==e),{params:w,pagination:x,navigation:k,scrollbar:A,virtual:C,thumbs:S}=d;f.includes("thumbs")&&h.thumbs&&h.thumbs.swiper&&w.thumbs&&!w.thumbs.swiper&&(t=!0),f.includes("controller")&&h.controller&&h.controller.control&&w.controller&&!w.controller.control&&(r=!0),f.includes("pagination")&&h.pagination&&(h.pagination.el||v)&&(w.pagination||!1===w.pagination)&&x&&!x.el&&(n=!0),f.includes("scrollbar")&&h.scrollbar&&(h.scrollbar.el||y)&&(w.scrollbar||!1===w.scrollbar)&&A&&!A.el&&(o=!0),f.includes("navigation")&&h.navigation&&(h.navigation.prevEl||g)&&(h.navigation.nextEl||m)&&(w.navigation||!1===w.navigation)&&k&&!k.prevEl&&!k.nextEl&&(s=!0);let E=e=>{d[e]&&(d[e].destroy(),"navigation"===e?(d.isElement&&(d[e].prevEl.remove(),d[e].nextEl.remove()),w[e].prevEl=void 0,w[e].nextEl=void 0,d[e].prevEl=void 0,d[e].nextEl=void 0):(d.isElement&&d[e].el.remove(),w[e].el=void 0,d[e].el=void 0))};f.includes("loop")&&d.isElement&&(w.loop&&!h.loop?l=!0:!w.loop&&h.loop?c=!0:u=!0),b.forEach(e=>{if(i(w[e])&&i(h[e]))a(w[e],h[e]),("navigation"===e||"pagination"===e||"scrollbar"===e)&&"enabled"in h[e]&&!h[e].enabled&&E(e);else{let t=h[e];(!0===t||!1===t)&&("navigation"===e||"pagination"===e||"scrollbar"===e)?!1===t&&E(e):w[e]=h[e]}}),b.includes("controller")&&!r&&d.controller&&d.controller.control&&w.controller&&w.controller.control&&(d.controller.control=w.controller.control),f.includes("children")&&p&&C&&w.virtual.enabled&&(C.slides=p,C.update(!0)),f.includes("children")&&p&&w.loop&&(u=!0),t&&S.init()&&S.update(!0),r&&(d.controller.control=w.controller.control),n&&(d.isElement&&(!v||"string"==typeof v)&&((v=document.createElement("div")).classList.add("swiper-pagination"),v.part.add("pagination"),d.el.appendChild(v)),v&&(w.pagination.el=v),x.init(),x.render(),x.update()),o&&(d.isElement&&(!y||"string"==typeof y)&&((y=document.createElement("div")).classList.add("swiper-scrollbar"),y.part.add("scrollbar"),d.el.appendChild(y)),y&&(w.scrollbar.el=y),A.init(),A.updateSize(),A.setTranslate()),s&&(d.isElement&&(m&&"string"!=typeof m||((m=document.createElement("div")).classList.add("swiper-button-next"),m.innerHTML=d.hostEl.constructor.nextButtonSvg,m.part.add("button-next"),d.el.appendChild(m)),g&&"string"!=typeof g||((g=document.createElement("div")).classList.add("swiper-button-prev"),g.innerHTML=d.hostEl.constructor.prevButtonSvg,g.part.add("button-prev"),d.el.appendChild(g))),m&&(w.navigation.nextEl=m),g&&(w.navigation.prevEl=g),k.init(),k.update()),f.includes("allowSlideNext")&&(d.allowSlideNext=h.allowSlideNext),f.includes("allowSlidePrev")&&(d.allowSlidePrev=h.allowSlidePrev),f.includes("direction")&&d.changeDirection(h.direction,!1),(l||u)&&d.loopDestroy(),(c||u)&&d.loopCreate(),d.update()}},5325:(e,t,r)=>{"use strict";r.d(t,{$:()=>s});var n=r(2860),i=r(84660);let a=["border-none","outline-hidden","bg-transparent"],o=["focus","focus-visible","active"].flatMap(e=>a.map(t=>e+":"+t)),s=e=>{let{className:t,children:r,...s}=e;return(0,n.Y)("button",{type:"button",className:(0,i.Q)(a,o,"text-grayscale-800 cursor-pointer appearance-none p-0",t),...s,children:r})}},5415:(e,t,r)=>{"use strict";r.d(t,{_V:()=>_,GO:()=>l,Q8:()=>s,tt:()=>n,Gy:()=>f,hD:()=>I,b:()=>p,ii:()=>m,Ll:()=>d,zh:()=>C,BR:()=>S,Ol:()=>E,fn:()=>b});let n=(0,r(74961).R)("production",".wordup.com.tw");var i=r(77475),a=r(6329);let o=(0,i.j_)(a.Ld),s=(0,i.YJ)(a.Ld),l=730,c="mode-init",u="brand-info",d=()=>{o.set(c,"true")},p=()=>"true"===o.get(c),h=()=>o.get(u,{isJSON:!0}),f=e=>{let t=h();return t?t[e]:null},m=e=>{o.set(u,JSON.stringify(e))};var g=r(81278),y=r(55729);let v="/brand/[pageKey]",b=function(){var e,t,r,n,i,a,o,s,l,c,u,h,f;let{pageComponentResponse:b}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},w=(0,g.useRouter)();(0,y.useLayoutEffect)(()=>{p()||(w.pathname===v&&b&&b.meta.org&&b.meta.org.whiteLabelEnabled&&m({whiteLabelEnabled:b.meta.org.whiteLabelEnabled,orgId:b.meta.org.id,logoUrl:b.meta.org.logoUrl,name:b.meta.org.name,taxIdNumber:b.meta.org.taxIdNumber,pageKey:b.meta.page.attributes.key}),d())},[w,null==b||null==(t=b.meta)||null==(e=t.org)?void 0:e.whiteLabelEnabled,null==b||null==(n=b.meta)||null==(r=n.org)?void 0:r.id,null==b||null==(a=b.meta)||null==(i=a.org)?void 0:i.logoUrl,null==b||null==(s=b.meta)||null==(o=s.org)?void 0:o.name,null==b||null==(c=b.meta)||null==(l=c.org)?void 0:l.taxIdNumber,null==b||null==(f=b.meta)||null==(h=f.page)||null==(u=h.attributes)?void 0:u.ke
1y])};var w=r(70921),x=r(67549),k=r(50945);let A=(0,w.eU)({whiteLabelEnabled:!1,orgId:"",name:"è°æå¸ç¿è¡ä»½æéå
¬å¸",taxIdNumber:"82816072",logoUrl:k.i,pageKey:""});A.onMount=e=>{let t=h();t&&e(t)};let C=()=>(0,x.md)(A),S=(e,t)=>{let[r,n]=(0,y.useState)(!0),i=C();return((0,y.useEffect)(()=>{n(!1)},[]),void 0!==t&&r)?t:i[e]},E=e=>S("whiteLabelEnabled",e),_=e=>{let{children:t}=e;return E()?null:t};var T=r(46887);let P="wb_gb_",O=new RegExp("^".concat(P,".+\\|\\|.+")),I=()=>{let e=T.A.get(),t={};for(let[r,n]of Object.entries(e))O.test(r)&&(t[r]=n);return 0===Object.keys(t).length?null:JSON.stringify(t)}},5440:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=r(55729).createContext(null)},5538:(e,t,r)=>{"use strict";r.r(t),r.d(t,{TestimonyModal:()=>d});var n=r(2860),i=r(24150);r(55729);var a=r(9428),o=r(83224),s=r(34817);let l={en:{prev:"Previous",next:"Next"},"zh-TW":{prev:"ä¸ä¸ç¯",next:"ä¸ä¸ç¯"}},{LocaleProvider:c,useLocaleContext:u}=(0,o.A)({locales:l}),d=e=>{let{recommenderName:t,recommenderTitles:r,longTestimonial:i,largeImageUrl:a,showPrevButton:o,showNextButton:l,prevButtonOnClick:u,nextButtonOnClick:d,lang:b,...w}=e;return(0,n.Y)(c,{defaultLang:b,children:(0,n.Y)(s.WuModal,{...w,maxWidth:"500px",padding:"0",bottomComp:(0,n.Y)(p,{showNextButton:l,showPrevButton:o,prevButtonOnClick:u,nextButtonOnClick:d}),children:(0,n.FD)(h,{children:[(0,n.Y)(v,{src:a,alt:"".concat(t)}),(0,n.FD)(f,{children:[(0,n.Y)(m,{children:t}),r&&r.length>0&&(0,n.Y)(g,{children:r.map((e,t)=>(0,n.Y)("div",{children:e},"".concat(t,"_").concat(e)))}),(0,n.Y)(y,{dangerouslySetInnerHTML:{__html:i}})]})]})})})},p=e=>{let{showPrevButton:t,showNextButton:r,prevButtonOnClick:i,nextButtonOnClick:a}=e,{next:o,prev:s}=u();return(0,n.FD)(b,{children:[(0,n.Y)("div",{children:t&&(0,n.FD)(w,{onClick:i,children:["â ",s]})}),(0,n.Y)("div",{children:r&&(0,n.FD)(w,{onClick:a,children:[o," â"]})})]})},h=(0,i.A)("div",{target:"eqbdwaw0"})("display:flex;flex-direction:column;max-height:calc(100vh - 200px);overflow:auto;"),f=(0,i.A)("div",{target:"eqbdwaw1"})("display:flex;flex-direction:column;padding:1rem 1.25rem;"),m=(0,i.A)("div",{target:"eqbdwaw2"})("display:flex;font-size:",a.A.fontSize.l,";font-weight:bold;color:",a.A.color.palette["grayscale-1100"],";"),g=(0,i.A)("div",{target:"eqbdwaw3"})("display:flex;flex-direction:column;font-size:",a.A.fontSize.s,";font-weight:500;color:",a.A.color.palette["grayscale-800"],";border-left:solid 2px ",a.A.color.palette["grayscale-800"],";margin-top:",a.A.distance.xs,";padding-left:",a.A.distance.s,";line-height:1.8;"),y=(0,i.A)("div",{target:"eqbdwaw4"})("margin-top:",a.A.distance.m,";color:",a.A.color.palette["grayscale-500"],";font-size:",a.A.fontSize.sm,";font-weight:normal;line-height:1.64;letter-spacing:1.17px;white-space:pre-line;"),v=(0,i.A)("img",{target:"eqbdwaw5"})("width:100%;height:auto;aspect-ratio:500/253;object-fit:cover;"),b=(0,i.A)("div",{target:"eqbdwaw6"})("display:flex;width:100%;justify-content:space-between;line-height:1.44;letter-spacing:1.33px;font-weight:500;font-size:",a.A.fontSize.m,";margin-top:",a.A.distance.xs,";"),w=(0,i.A)("button",{target:"eqbdwaw7"})("border:none;background-color:transparent;outline:none;color:white;margin:0 ",a.A.distance.sm,";cursor:pointer;&:focus{outline:none;}")},5552:(e,t,r)=>{"use strict";r.d(t,{A:()=>eQ});var n=r(64593),i=r(55729),a=r(49452),o=r(2422),s=r(48882);function l(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function c(e){var t=l(e).Element;return e instanceof t||e instanceof Element}function u(e){var t=l(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function d(e){if("undefined"==typeof ShadowRoot)return!1;var t=l(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}var p=Math.max,h=Math.min,f=Math.round;function m(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(e){return e.brand+"/"+e.version}).join(" "):navigator.userAgent}function g(){return!/^((?!chrome|android).)*safari/i.test(m())}function y(e,t,r){void 0===t&&(t=!1),void 0===r&&(r=!1);var n=e.getBoundingClientRect(),i=1,a=1;t&&u(e)&&(i=e.offsetWidth>0&&f(n.width)/e.offsetWidth||1,a=e.offsetHeight>0&&f(n.height)/e.offsetHeight||1);
1var o=(c(e)?l(e):window).visualViewport,s=!g()&&r,d=(n.left+(s&&o?o.offsetLeft:0))/i,p=(n.top+(s&&o?o.offsetTop:0))/a,h=n.width/i,m=n.height/a;return{width:h,height:m,top:p,right:d+h,bottom:p+m,left:d,x:d,y:p}}function v(e){var t=l(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function b(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function w(e){return e!==l(e)&&u(e)?b(e):v(e)}function x(e){return e?(e.nodeName||"").toLowerCase():null}function k(e){return((c(e)?e.ownerDocument:e.document)||window.document).documentElement}function A(e){return y(k(e)).left+v(e).scrollLeft}function C(e){return l(e).getComputedStyle(e)}function S(e){var t=C(e),r=t.overflow,n=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+n)}function E(e){var t=e.getBoundingClientRect(),r=f(t.width)/e.offsetWidth||1,n=f(t.height)/e.offsetHeight||1;return 1!==r||1!==n}function _(e,t,r){void 0===r&&(r=!1);var n=u(t),i=u(t)&&E(t),a=k(t),o=y(e,i,r),s={scrollLeft:0,scrollTop:0},l={x:0,y:0};return(n||!n&&!r)&&(("body"!==x(t)||S(a))&&(s=w(t)),u(t)?(l=y(t,!0),l.x+=t.clientLeft,l.y+=t.clientTop):a&&(l.x=A(a))),{x:o.left+s.scrollLeft-l.x,y:o.top+s.scrollTop-l.y,width:o.width,height:o.height}}function T(e){var t=y(e),r=e.offsetWidth,n=e.offsetHeight;return 1>=Math.abs(t.width-r)&&(r=t.width),1>=Math.abs(t.height-n)&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function P(e){return"html"===x(e)?e:e.assignedSlot||e.parentNode||(d(e)?e.host:null)||k(e)}function O(e){return["html","body","#document"].indexOf(x(e))>=0?e.ownerDocument.body:u(e)&&S(e)?e:O(P(e))}function I(e,t){void 0===t&&(t=[]);var r,n=O(e),i=n===(null==(r=e.ownerDocument)?void 0:r.body),a=l(n),o=i?[a].concat(a.visualViewport||[],S(n)?n:[]):n,s=t.concat(o);return i?s:s.concat(I(P(o)))}function M(e){return["table","td","th"].indexOf(x(e))>=0}function L(e){return u(e)&&"fixed"!==C(e).position?e.offsetParent:null}function N(e){var t=/firefox/i.test(m());if(/Trident/i.test(m())&&u(e)&&"fixed"===C(e).position)return null;var r=P(e);for(d(r)&&(r=r.host);u(r)&&0>["html","body"].indexOf(x(r));){var n=C(r);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||t&&"filter"===n.willChange||t&&n.filter&&"none"!==n.filter)return r;r=r.parentNode}return null}function R(e){for(var t=l(e),r=L(e);r&&M(r)&&"static"===C(r).position;)r=L(r);return r&&("html"===x(r)||"body"===x(r)&&"static"===C(r).position)?t:r||N(e)||t}var j="top",D="bottom",F="right",V="left",B="auto",z=[j,D,F,V],$="start",U="end",q="clippingParents",H="viewport",Y="popper",W="reference",G=z.reduce(function(e,t){return e.concat([t+"-"+$,t+"-"+U])},[]),K=[].concat(z,[B]).reduce(function(e,t){return e.concat([t,t+"-"+$,t+"-"+U])},[]),J=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function X(e){var t=new Map,r=new Set,n=[];function i(e){r.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach(function(e){if(!r.has(e)){var n=t.get(e);n&&i(n)}}),n.push(e)}return e.forEach(function(e){t.set(e.name,e)}),e.forEach(function(e){r.has(e.name)||i(e)}),n}function Q(e){var t=X(e);return J.reduce(function(e,r){return e.concat(t.filter(function(e){return e.phase===r}))},[])}function Z(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function ee(e){var t=e.reduce(function(e,t){var r=e[t.name];return e[t.name]=r?Object.assign({},r,t,{options:Object.assign({},r.options,t.options),data:Object.assign({},r.data,t.data)}):t,e},{});return Object.keys(t).map(function(e){return t[e]})}var et={placement:"bottom",modifiers:[],strategy:"absolute"};function er(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}var en={passive:!0};function ei(e){return e.split("-")[0]}function ea(e){return e.split("-")[1]}function eo(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function es(e){var t,r=e.reference,n=e.element,i=e.placement,a=i?ei(i):null,o=i?ea(i):null,s=r.x+r.width/2-n.width/2,l=r.y+r.height/2-n.height/2;switch(a){case j:t={x:s,y:r.y-n.height};break;case D:t={x:s,y:r.y+r.height};break;case F:t={x:r.x+r.width,y:l};break;case V:t={x:r.x-n.width,y:l};break;default:t={x:r.x,y:r.y}}var c=a?eo(a):null;if(null!=c){var u="y"===c?"height":"width";switch(o){case $:t[c]=t[c]-(r[u]/2-n[u]/2);break;case U:t[c]=t[c]+(r[u]/2-n[u]/2)}}return t}var el={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ec(e,t){var r=e.x,n=e.y,i=t.devicePixelRatio||1;return{x:f(r*i)/i||0,y:f(n*i)/i||0}}function eu(e){var t,r,n=e.popper,i=e.popperRect,a=e.placement,o=e.variation,s=e.offsets,c=e.position,u=e.gpuAcceleration,d=e.adaptive,p=e.roundOffsets,h=e.isFixed,f=s.x,m=void 0===f?0:f,g=s.y,y=void 0===g?0:g,v="function"==typeof p?p({x:m,y:y}):{x:m,y:y};m=v.x,y=v.y;var b=s.hasOwnProperty("x"),w=s.hasOwnProperty("y"),x=V,A=j,S=window;if(d){var E=R(n),_="clientHeight",T="clientWidth";E===l(n)&&"static"!==C(E=k(n)).position&&"absolute"===c&&(_="scrollHeight",T="scrollWidth"),(a===j||(a===V||a===F)&&o===U)&&(A=D,y-=(h&&E===S&&S.visualVie
1wport?S.visualViewport.height:E[_])-i.height,y*=u?1:-1),(a===V||(a===j||a===D)&&o===U)&&(x=F,m-=(h&&E===S&&S.visualViewport?S.visualViewport.width:E[T])-i.width,m*=u?1:-1)}var P=Object.assign({position:c},d&&el),O=!0===p?ec({x:m,y:y},l(n)):{x:m,y:y};return(m=O.x,y=O.y,u)?Object.assign({},P,((r={})[A]=w?"0":"",r[x]=b?"0":"",r.transform=1>=(S.devicePixelRatio||1)?"translate("+m+"px, "+y+"px)":"translate3d("+m+"px, "+y+"px, 0)",r)):Object.assign({},P,((t={})[A]=w?y+"px":"",t[x]=b?m+"px":"",t.transform="",t))}function ed(e,t,r){var n=ei(e),i=[V,j].indexOf(n)>=0?-1:1,a="function"==typeof r?r(Object.assign({},t,{placement:e})):r,o=a[0],s=a[1];return o=o||0,s=(s||0)*i,[V,F].indexOf(n)>=0?{x:s,y:o}:{x:o,y:s}}var ep={left:"right",right:"left",bottom:"top",top:"bottom"};function eh(e){return e.replace(/left|right|bottom|top/g,function(e){return ep[e]})}var ef={start:"end",end:"start"};function em(e){return e.replace(/start|end/g,function(e){return ef[e]})}function eg(e,t){var r=l(e),n=k(e),i=r.visualViewport,a=n.clientWidth,o=n.clientHeight,s=0,c=0;if(i){a=i.width,o=i.height;var u=g();(u||!u&&"fixed"===t)&&(s=i.offsetLeft,c=i.offsetTop)}return{width:a,height:o,x:s+A(e),y:c}}function ey(e){var t,r=k(e),n=v(e),i=null==(t=e.ownerDocument)?void 0:t.body,a=p(r.scrollWidth,r.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),o=p(r.scrollHeight,r.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-n.scrollLeft+A(e),l=-n.scrollTop;return"rtl"===C(i||r).direction&&(s+=p(r.clientWidth,i?i.clientWidth:0)-a),{width:a,height:o,x:s,y:l}}function ev(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&d(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function eb(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function ew(e,t){var r=y(e,!1,"fixed"===t);return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function ex(e,t,r){return t===H?eb(eg(e,r)):c(t)?ew(t,r):eb(ey(k(e)))}function ek(e){var t=I(P(e)),r=["absolute","fixed"].indexOf(C(e).position)>=0&&u(e)?R(e):e;return c(r)?t.filter(function(e){return c(e)&&ev(e,r)&&"body"!==x(e)}):[]}function eA(e,t,r,n){var i=[].concat("clippingParents"===t?ek(e):[].concat(t),[r]),a=i[0],o=i.reduce(function(t,r){var i=ex(e,r,n);return t.top=p(i.top,t.top),t.right=h(i.right,t.right),t.bottom=h(i.bottom,t.bottom),t.left=p(i.left,t.left),t},ex(e,a,n));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}function eC(){return{top:0,right:0,bottom:0,left:0}}function eS(e){return Object.assign({},eC(),e)}function eE(e,t){return t.reduce(function(t,r){return t[r]=e,t},{})}function e_(e,t){void 0===t&&(t={});var r=t,n=r.placement,i=void 0===n?e.placement:n,a=r.strategy,o=void 0===a?e.strategy:a,s=r.boundary,l=void 0===s?q:s,u=r.rootBoundary,d=void 0===u?H:u,p=r.elementContext,h=void 0===p?Y:p,f=r.altBoundary,m=void 0!==f&&f,g=r.padding,v=void 0===g?0:g,b=eS("number"!=typeof v?v:eE(v,z)),w=h===Y?W:Y,x=e.rects.popper,A=e.elements[m?w:h],C=eA(c(A)?A:A.contextElement||k(e.elements.popper),l,d,o),S=y(e.elements.reference),E=es({reference:S,element:x,strategy:"absolute",placement:i}),_=eb(Object.assign({},x,E)),T=h===Y?_:S,P={top:C.top-T.top+b.top,bottom:T.bottom-C.bottom+b.bottom,left:C.left-T.left+b.left,right:T.right-C.right+b.right},O=e.modifiersData.offset;if(h===Y&&O){var I=O[i];Object.keys(P).forEach(function(e){var t=[F,D].indexOf(e)>=0?1:-1,r=[j,D].indexOf(e)>=0?"y":"x";P[e]+=I[r]*t})}return P}function eT(e,t){void 0===t&&(t={});var r=t,n=r.placement,i=r.boundary,a=r.rootBoundary,o=r.padding,s=r.flipVariations,l=r.allowedAutoPlacements,c=void 0===l?K:l,u=ea(n),d=u?s?G:G.filter(function(e){return ea(e)===u}):z,p=d.filter(function(e){return c.indexOf(e)>=0});0===p.length&&(p=d);var h=p.reduce(function(t,r){return t[r]=e_(e,{placement:r,boundary:i,rootBoundary:a,padding:o})[ei(r)],t},{});return Object.keys(h).sort(function(e,t){return h[e]-h[t]})}function eP(e){if(ei(e)===B)return[];var t=eh(e);return[em(e),t,em(t)]}function eO(e){return"x"===e?"y":"x"}function eI(e,t,r){return p(e,h(t,r))}function eM(e,t,r){var n=eI(e,t,r);return n>r?r:n}var eL=function(e,t){return eS("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:eE(e,z))};function eN(e,t,r){return void 0===r&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function eR(e){return[j,F,D,V].some(function(t){return e[t]>=0})}var ej=function(e){void 0===e&&(e={});
1var t=e,r=t.defaultModifiers,n=void 0===r?[]:r,i=t.defaultOptions,a=void 0===i?et:i;return function(e,t,r){void 0===r&&(r=a);var i={placement:"bottom",orderedModifiers:[],options:Object.assign({},et,a),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},o=[],s=!1,l={state:i,setOptions:function(r){var o="function"==typeof r?r(i.options):r;d(),i.options=Object.assign({},a,i.options,o),i.scrollParents={reference:c(e)?I(e):e.contextElement?I(e.contextElement):[],popper:I(t)};var s=Q(ee([].concat(n,i.options.modifiers)));return i.orderedModifiers=s.filter(function(e){return e.enabled}),u(),l.update()},forceUpdate:function(){if(!s){var e=i.elements,t=e.reference,r=e.popper;if(er(t,r)){i.rects={reference:_(t,R(r),"fixed"===i.options.strategy),popper:T(r)},i.reset=!1,i.placement=i.options.placement,i.orderedModifiers.forEach(function(e){return i.modifiersData[e.name]=Object.assign({},e.data)});for(var n=0;n<i.orderedModifiers.length;n++){if(!0===i.reset){i.reset=!1,n=-1;continue}var a=i.orderedModifiers[n],o=a.fn,c=a.options,u=void 0===c?{}:c,d=a.name;"function"==typeof o&&(i=o({state:i,options:u,name:d,instance:l})||i)}}}},update:Z(function(){return new Promise(function(e){l.forceUpdate(),e(i)})}),destroy:function(){d(),s=!0}};if(!er(e,t))return l;function u(){i.orderedModifiers.forEach(function(e){var t=e.name,r=e.options,n=void 0===r?{}:r,a=e.effect;if("function"==typeof a){var s=a({state:i,name:t,instance:l,options:n}),c=function(){};o.push(s||c)}})}function d(){o.forEach(function(e){return e()}),o=[]}return l.setOptions(r).then(function(e){!s&&r.onFirstUpdate&&r.onFirstUpdate(e)}),l}}({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,r=e.instance,n=e.options,i=n.scroll,a=void 0===i||i,o=n.resize,s=void 0===o||o,c=l(t.elements.popper),u=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&u.forEach(function(e){e.addEventListener("scroll",r.update,en)}),s&&c.addEventListener("resize",r.update,en),function(){a&&u.forEach(function(e){e.removeEventListener("scroll",r.update,en)}),s&&c.removeEventListener("resize",r.update,en)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,r=e.name;t.modifiersData[r]=es({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,r=e.options,n=r.gpuAcceleration,i=void 0===n||n,a=r.adaptive,o=void 0===a||a,s=r.roundOffsets,l=void 0===s||s,c={placement:ei(t.placement),variation:ea(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,eu(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,eu(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var r=t.styles[e]||{},n=t.attributes[e]||{},i=t.elements[e];u(i)&&x(i)&&(Object.assign(i.style,r),Object.keys(n).forEach(function(e){var t=n[e];!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(e){var n=t.elements[e],i=t.attributes[e]||{},a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:r[e]).reduce(function(e,t){return e[t]="",e},{});
1u(n)&&x(n)&&(Object.assign(n.style,a),Object.keys(i).forEach(function(e){n.removeAttribute(e)}))})}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,r=e.options,n=e.name,i=r.offset,a=void 0===i?[0,0]:i,o=K.reduce(function(e,r){return e[r]=ed(r,t.rects,a),e},{}),s=o[t.placement],l=s.x,c=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=l,t.modifiersData.popperOffsets.y+=c),t.modifiersData[n]=o}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var i=r.mainAxis,a=void 0===i||i,o=r.altAxis,s=void 0===o||o,l=r.fallbackPlacements,c=r.padding,u=r.boundary,d=r.rootBoundary,p=r.altBoundary,h=r.flipVariations,f=void 0===h||h,m=r.allowedAutoPlacements,g=t.options.placement,y=ei(g),v=y===g,b=l||(v||!f?[eh(g)]:eP(g)),w=[g].concat(b).reduce(function(e,r){return e.concat(ei(r)===B?eT(t,{placement:r,boundary:u,rootBoundary:d,padding:c,flipVariations:f,allowedAutoPlacements:m}):r)},[]),x=t.rects.reference,k=t.rects.popper,A=new Map,C=!0,S=w[0],E=0;E<w.length;E++){var _=w[E],T=ei(_),P=ea(_)===$,O=[j,D].indexOf(T)>=0,I=O?"width":"height",M=e_(t,{placement:_,boundary:u,rootBoundary:d,altBoundary:p,padding:c}),L=O?P?F:V:P?D:j;x[I]>k[I]&&(L=eh(L));var N=eh(L),R=[];if(a&&R.push(M[T]<=0),s&&R.push(M[L]<=0,M[N]<=0),R.every(function(e){return e})){S=_,C=!1;break}A.set(_,R)}if(C)for(var z=f?3:1,U=function(e){var t=w.find(function(t){var r=A.get(t);if(r)return r.slice(0,e).every(function(e){return e})});if(t)return S=t,"break"},q=z;q>0&&"break"!==U(q);q--);t.placement!==S&&(t.modifiersData[n]._skip=!0,t.placement=S,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,r=e.options,n=e.name,i=r.mainAxis,a=void 0===i||i,o=r.altAxis,s=void 0!==o&&o,l=r.boundary,c=r.rootBoundary,u=r.altBoundary,d=r.padding,f=r.tether,m=void 0===f||f,g=r.tetherOffset,y=void 0===g?0:g,v=e_(t,{boundary:l,rootBoundary:c,padding:d,altBoundary:u}),b=ei(t.placement),w=ea(t.placement),x=!w,k=eo(b),A=eO(k),C=t.modifiersData.popperOffsets,S=t.rects.reference,E=t.rects.popper,_="function"==typeof y?y(Object.assign({},t.rects,{placement:t.placement})):y,P="number"==typeof _?{mainAxis:_,altAxis:_}:Object.assign({mainAxis:0,altAxis:0},_),O=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,I={x:0,y:0};if(C){if(a){var M,L="y"===k?j:V,N="y"===k?D:F,B="y"===k?"height":"width",z=C[k],U=z+v[L],q=z-v[N],H=m?-E[B]/2:0,Y=w===$?S[B]:E[B],W=w===$?-E[B]:-S[B],G=t.elements.arrow,K=m&&G?T(G):{width:0,height:0},J=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:eC(),X=J[L],Q=J[N],Z=eI(0,S[B],K[B]),ee=x?S[B]/2-H-Z-X-P.mainAxis:Y-Z-X-P.mainAxis,et=x?-S[B]/2+H+Z+Q+P.mainAxis:W+Z+Q+P.mainAxis,er=t.elements.arrow&&R(t.elements.arrow),en=er?"y"===k?er.clientTop||0:er.clientLeft||0:0,es=null!=(M=null==O?void 0:O[k])?M:0,el=z+ee-es-en,ec=z+et-es,eu=eI(m?h(U,el):U,z,m?p(q,ec):q);C[k]=eu,I[k]=eu-z}if(s){var ed,ep="x"===k?j:V,eh="x"===k?D:F,ef=C[A],em="y"===A?"height":"width",eg=ef+v[ep],ey=ef-v[eh],ev=-1!==[j,V].indexOf(b),eb=null!=(ed=null==O?void 0:O[A])?ed:0,ew=ev?eg:ef-S[em]-E[em]-eb+P.altAxis,ex=ev?ef+S[em]+E[em]-eb-P.altAxis:ey,ek=m&&ev?eM(ew,ef,ex):eI(m?ew:eg,ef,m?ex:ey);C[A]=ek,I[A]=ek-ef}t.modifiersData[n]=I}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,r=e.state,n=e.name,i=e.options,a=r.elements.arrow,o=r.modifiersData.popperOffsets,s=ei(r.placement),l=eo(s),c=[V,F].indexOf(s)>=0?"height":"width";if(a&&o){var u=eL(i.padding,r),d=T(a),p="y"===l?j:V,h="y"===l?D:F,f=r.rects.reference[c]+r.rects.reference[l]-o[l]-r.rects.popper[c],m=o[l]-r.rects.reference[l],g=R(a),y=g?"y"===l?g.clientHeight||0:g.clientWidth||0:0,v=f/2-m/2,b=u[p],w=y-d[c]-u[h],x=y/2-d[c]/2+v,k=eI(b,x,w),A=l;r.modifiersData[n]=(t={},t[A]=k,t.centerOffset=k-x,t)}},effect:function(e){var t=e.state,r=e.options.element,n=void 0===r?"[data-popper-arrow]":r;if(null!=n)("string"!=typeof n||(n=t.elements.popper.querySelector(n)))&&ev(t.elements.popper,n)&&(t.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,r=e.name,n=t.rects.reference,i=t.rects.popper,a=t.modifiersData.preventOverflow,o=e_(t,{elementContext:"reference"}),s=e_(t,{altBoundary:!0}),l=eN(o,n),c=eN(s,i,a),u=eR(l),d=eR(c);t.modifiersData[r]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]}),eD=r(40412),eF=r(25478),eV=r(23131),eB=r(3065),ez=r(6029);function e$(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}function eU(e){return"function"==typeof e?e():e}function eq(e){return void 0!==e.nodeType}let eH=e=>{let{classes:t}=e,r={root:["root"]};return(0,eD.A)(r,eB.b,t)},eY={},eW=i.forwardRef(function(e,t){var r;let{anchorEl:n,children:s,direction:l,disablePortal:c,modifiers:u,open:d,placement:p,popperOptions:h,popperRef:f,slotProps:m={},slots:g={},TransitionProps:y,ownerState:v,...b}=e,w=i.useRef(null),x=(0,a.A)(w,t),k=i.useRef(null),A=(0,a.A)(k,f),C=i.useRef(A);(0,o.A)(()=>{C.current=A},[A]),i.useImperativeHandle(f,()=>k.current,[]);let S=e$(p,l),[E,_]=i.useState(S),[T,P]=i.useState(eU(n));i.useEffect(()=>{k.current&&k.current.forceUpdate()}),i.useEffect(()=>{n&&P(eU(n))},[n]),(0,o.A)(()=>
1{if(!T||!d)return;let e=e=>{_(e.placement)},t=[{name:"preventOverflow",options:{altBoundary:c}},{name:"flip",options:{altBoundary:c}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:t=>{let{state:r}=t;e(r)}}];null!=u&&(t=t.concat(u)),h&&null!=h.modifiers&&(t=t.concat(h.modifiers));let r=ej(T,w.current,{placement:S,...h,modifiers:t});return C.current(r),()=>{r.destroy(),C.current(null)}},[T,c,u,d,h,S]);let O={placement:E};null!==y&&(O.TransitionProps=y);let I=eH(e),M=null!=(r=g.root)?r:"div",L=(0,eF.A)({elementType:M,externalSlotProps:m.root,externalForwardedProps:b,additionalProps:{role:"tooltip",ref:x},ownerState:e,className:I.root});return(0,ez.jsx)(M,{...L,children:"function"==typeof s?s(O):s})}),eG=i.forwardRef(function(e,t){let r,{anchorEl:n,children:a,container:o,direction:l="ltr",disablePortal:c=!1,keepMounted:u=!1,modifiers:d,open:p,placement:h="bottom",popperOptions:f=eY,popperRef:m,style:g,transition:y=!1,slotProps:v={},slots:b={},...w}=e,[x,k]=i.useState(!0),A=()=>{k(!1)},C=()=>{k(!0)};if(!u&&!p&&(!y||x))return null;if(o)r=o;else if(n){let e=eU(n);r=e&&eq(e)?(0,s.A)(e).body:(0,s.A)(null).body}
1let S=!p&&u&&(!y||x)?"none":void 0,E=y?{in:p,onEnter:A,onExited:C}:void 0;return(0,ez.jsx)(eV.A,{disablePortal:c,container:r,children:(0,ez.jsx)(eW,{anchorEl:n,direction:l,disablePortal:c,modifiers:d,ref:t,open:y?!x:p,placement:h,popperOptions:f,popperRef:m,slotProps:v,slots:b,...w,style:{position:"fixed",top:0,left:0,display:S,...g},TransitionProps:E,children:a})})});var eK=r(1686),eJ=r(49467);let eX=(0,eK.Ay)(eG,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({}),eQ=i.forwardRef(function(e,t){var r;let i=(0,n.I)(),{anchorEl:a,component:o,components:s,componentsProps:l,container:c,disablePortal:u,keepMounted:d,modifiers:p,open:h,placement:f,popperOptions:m,popperRef:g,transition:y,slots:v,slotProps:b,...w}=(0,eJ.b)({props:e,name:"MuiPopper"}),x=null!=(r=null==v?void 0:v.root)?r:null==s?void 0:s.Root,k={anchorEl:a,container:c,disablePortal:u,keepMounted:d,modifiers:p,open:h,placement:f,popperOptions:m,popperRef:g,transition:y,...w};return(0,ez.jsx)(eX,{as:o,direction:i?"rtl":"ltr",slots:{root:x},slotProps:null!=b?b:l,...k,ref:t})})},5623:(e,t,r)=>{"use strict";r.d(t,{A:()=>o,O:()=>a});var n=r(11722),i=r(91206);function a(e){return(0,i.Ay)("MuiTouchRipple",e)}let o=(0,n.A)("MuiTouchRipple",["root","ripple","rippleVisible","ripplePulsate","child","childLeaving","childPulsate"])},5712:(e,t,r)=>{"use strict";r.d(t,{m:()=>u});var n=r(2860),i=r(24150),a=r(53887),o=r(9428),s=r(68106),l=r(47126),c=r(59006);let u=e=>{let{hideCloseButton:t,padding:r="1.875rem",maxWidth:i,bottomComp:a,closeIconStyles:u,maxHeight:g="100%",minHeight:y,mainBlockStyles:v,mainBlockClassName:b,disableAutoFocus:w,outerDivStyles:x,...k}=e;return(0,s.F5)({shouldHideIntercom:e.open}),(0,n.Y)(d,{"aria-label":"modal",...k,disableAutoFocus:null==w||w,children:(0,n.Y)(p,{style:{maxWidth:i,...x},children:(0,n.FD)(h,{children:[!t&&(0,n.Y)(m,{children:(0,n.Y)(c.$n,{style:{color:o.A.color.palette["grayscale-000"]},onClick:e=>{k.onClose&&k.onClose(e,"backdropClick")},children:(0,n.Y)(l.I,{type:"close",style:u,size:24})})}),(0,n.Y)(f,{className:b,maxHeight:g,minHeight:y,style:{...v,padding:r},children:k.children}),a]})})})},d=(0,i.A)(a.A,{target:"ebz3q6d0"})(".MuiBackdrop-root{background-color:rgba(56,59,61,0.9);opacity:0.9;}"),p=(0,i.A)("div",{target:"ebz3q6d1"})("transform:translate(-50%,-50%);position:absolute;top:50%;left:50%;padding:1rem;width:100%;&::-webkit-scrollbar{display:none;}"),h=(0,i.A)("div",{target:"ebz3q6d2"})("position:relative;width:100%;height:100%;"),f=(0,i.A)("div",{target:"ebz3q6d3"})("box-shadow:0 1px 3px 0 rgb(0 0 0 / 0.1),0 1px 2px -1px rgb(0 0 0 / 0.1);border-radius:0.5rem;background-color:",o.A.color.palette["grayscale-000"],";transform:translateZ(0);width:100%;height:100%;max-height:",e=>{let{maxHeight:t}=e;return"calc(".concat(t," - 1.5rem - 0.25rem)")},";",e=>{let{minHeight:t}=e;return t?"min-height: ".concat(t,";"):""}," overflow:scroll;&::-webkit-scrollbar{display:none;}-ms-overflow-style:none;scrollbar-width:none;"),m=(0,i.A)("div",{target:"ebz3q6d4"})("display:flex;width:100%;justify-content:flex-end;margin-bottom:",o.A.distance.xs,";")},5764:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(35026);function i(e){return Math.round(1e5*e)/1e5}let a={textTransform:"uppercase"},o='"Roboto", "Helvetica", "Arial", sans-serif';function s(e,t){let{fontFamily:r=o,fontSize:s=14,fontWeightLight:l=300,fontWeightRegular:c=400,fontWeightMedium:u=500,fontWeightBold:d=700,htmlFontSize:p=16,allVariants:h,pxToRem:f,...m}="function"==typeof t?t(e):t,g=s/14,y=f||(e=>"".concat(e/p*g,"rem")),v=(e,t,n,a,s)=>({fontFamily:r,fontWeight:e,fontSize:y(t),lineHeight:n,...r===o?{letterSpacing:"".concat(i(a/t),"em")}:{},...s,...h}),b={h1:v(l,96,1.167,-1.5),h2:v(l,60,1.2,-.5),h3:v(c,48,1.167,0),h4:v(c,34,1.235,.25),h5:v(c,24,1.334,0),h6:v(u,20,1.6,.15),subtitle1:v(c,16,1.75,.15),subtitle2:v(u,14,1.57,.1),body1:v(c,16,1.5,.15),body2:v(c,14,1.43,.15),button:v(u,14,1.75,.4,a),caption:v(c,12,1.66,.4),overline:v(c,12,2.66,1,a),inherit:{fontFamily:"inherit",fontWeight:"inherit",fontSize:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}};return(0,n.A)({htmlFontSize:p,pxToRem:y,fontFamily:r,fontSize:s,fontWeightLight:l,fontWeightRegular:c,fontWeightMedium:u,fontWeightBold:d,...b},m,{clone:!1})}},6329:(e,t,r)=>{"use strict";r.d(t,{Ld:()=>i,Cu:()=>s,O_:()=>a,YG:()=>o});var n=function(e){return e.PROD="production",e.STAGING="staging",e.DEV="development",e}({});let i="production",a=i===n.PROD,o=i===n.STAGING,s=i===n.DEV},6522:(e,t,r)=>{"use strict";function n(e,t){"function"==typeof e?e(t):e&&(e.current=t)}r.d(t,{A:()=>n})},6587:(e,t,r)=>{"use strict";function n(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function i(e,t){void 0===e&&(e={}),void 0===t&&(t={}),Object.keys(t).forEach(r=>{void 0===e[r]?e[r]=t[r]:n(t[r])&&n(e[r])&&Object.keys(t[r]).length>0&&i(e[r],t[r])})}r.d(t,{a:()=>l,g:()=>o});let a={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function o(){let e="undefined"!=typeof document?document:{};return i(e,a),e}let s={document:a,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){}
1,clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function l(){let e="undefined"!=typeof window?window:{};return i(e,s),e}},6772:(e,t,r)=>{e.exports=r(87172)},7203:(e,t,r)=>{"use strict";e.exports=r(65675)},7310:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=0x1fffffffffffff,i=/^(?:0|[1-9]\d*)$/;let a=function(e,t){var r=typeof e;return!!(t=null==t?n:t)&&("number"==r||"symbol"!=r&&i.test(e))&&e>-1&&e%1==0&&e<t}},7921:(e,t,r)=>{"use strict";r.d(t,{$b:()=>E,Ay:()=>T,iB:()=>_});var n=r(55729),i=r(50212),a=r(40412),o=r(64593),s=r(53887),l=r(22133),c=r(15861),u=r(25684),d=r(23714),p=r(1686),h=r(88273),f=r(23986),m=r(49467),g=r(62471),y=r(24055),v=r(54434),b=r(6029);let w=(e,t)=>{let{ownerState:r}=e;return[t.root,("permanent"===r.variant||"persistent"===r.variant)&&t.docked,t.modal]},x=e=>{let{classes:t,anchor:r,variant:n}=e,i={root:["root","anchor".concat((0,u.A)(r))],docked:[("permanent"===n||"persistent"===n)&&"docked"],modal:["modal"],paper:["paper","paperAnchor".concat((0,u.A)(r)),"temporary"!==n&&"paperAnchorDocked".concat((0,u.A)(r))]};return(0,a.A)(i,g.S,t)},k=(0,p.Ay)(s.A,{name:"MuiDrawer",slot:"Root",overridesResolver:w})((0,f.A)(e=>{let{theme:t}=e;return{zIndex:(t.vars||t).zIndex.drawer}})),A=(0,p.Ay)("div",{shouldForwardProp:d.A,name:"MuiDrawer",slot:"Docked",skipVariantsResolver:!1,overridesResolver:w})({flex:"0 0 auto"}),C=(0,p.Ay)(c.A,{name:"MuiDrawer",slot:"Paper",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.paper,t["paperAnchor".concat((0,u.A)(r.anchor))],"temporary"!==r.variant&&t["paperAnchorDocked".concat((0,u.A)(r.anchor))]]}})((0,f.A)(e=>{let{theme:t}=e;return{overflowY:"auto",display:"flex",flexDirection:"column",height:"100%",flex:"1 0 auto",zIndex:(t.vars||t).zIndex.drawer,WebkitOverflowScrolling:"touch",position:"fixed",top:0,outline:0,variants:[{props:{anchor:"left"},style:{left:0}},{props:{anchor:"top"},style:{top:0,left:0,right:0,height:"auto",maxHeight:"100%"}},{props:{anchor:"right"},style:{right:0}},{props:{anchor:"bottom"},style:{top:"auto",left:0,bottom:0,right:0,height:"auto",maxHeight:"100%"}},{props:e=>{let{ownerState:t}=e;return"left"===t.anchor&&"temporary"!==t.variant},style:{borderRight:"1px solid ".concat((t.vars||t).palette.divider)}},{props:e=>{let{ownerState:t}=e;return"top"===t.anchor&&"temporary"!==t.variant},style:{borderBottom:"1px solid ".concat((t.vars||t).palette.divider)}},{props:e=>{let{ownerState:t}=e;return"right"===t.anchor&&"temporary"!==t.variant},style:{borderLeft:"1px solid ".concat((t.vars||t).palette.divider)}},{props:e=>{let{ownerState:t}=e;return"bottom"===t.anchor&&"temporary"!==t.variant},style:{borderTop:"1px solid ".concat((t.vars||t).palette.divider)}}]}})),S={left:"right",right:"left",top:"down",bottom:"up"};function E(e){return["left","right"].includes(e)}function _(e,t){let{direction:r}=e;return"rtl"===r&&E(t)?S[t]:t}let T=n.forwardRef(function(e,t){let r=(0,m.b)({props:e,name:"MuiDrawer"}),a=(0,h.A)(),s=(0,o.I)(),c={enter:a.transitions.duration.enteringScreen,exit:a.transitions.duration.leavingScreen},{anchor:u="left",BackdropProps:d,children:p,className:f,elevation:g=16,hideBackdrop:w=!1,ModalProps:{BackdropProps:E,...T}={},onClose:P,open:O=!1,PaperProps:I={},SlideProps:M,TransitionComponent:L,transitionDuration:N=c,variant:R="temporary",slots:j={},slotProps:D={},...F}=r,V=n.useRef(!1);n.useEffect(()=>{V.current=!0},[]);let B=_({direction:s?"rtl":"ltr"},u),z=u,$={...r,anchor:z,elevation:g,open:O,variant:R,...F},U=x($),q={slots:{transition:L,...j},slotProps:{paper:I,transition:M,...D,backdrop:(0,v.A)(D.backdrop||{...d,...E},{transitionDuration:N})}},[H,Y]=(0,y.A)("root",{ref:t,elementType:k,className:(0,i.A)(U.root,U.modal,f),shouldForwardComponentProp:!0,ownerState:$,externalForwardedProps:{...q,...F,...T},additionalProps:{open:O,onClose:P,hideBackdrop:w,slots:{backdrop:q.slots.backdrop},slotProps:{backdrop:q.slotProps.backdrop}}}),[W,G]=(0,y.A)("paper",{elementType:C,shouldForwardComponentProp:!0,className:(0,i.A)(U.paper,I.className),ownerState:$,externalForwardedProps:q,additionalProps:{elevation:"temporary"===R?g:0,square:!0}}),[K,J]=(0,y.A)("docked",{elementType:A,ref:t,className:(0,i.A)(U.root,U.docked,f),ownerState:$,externalForwardedProps:q,additionalProps:F}),[X,Q]=(0,y.A)("transition",{elementType:l.A,ownerState:$,externalForwardedProps:q,additionalProps:{in:O,direction:S[B],timeout:N,appear:V.current}}),Z=(0,b.jsx)(W,{...G,children:p});if("permanent"===R)return(0,b.jsx)(K,{...J,children:Z});let ee=(0,b.jsx)(X,{...Q,children:Z});return"persistent"===R?(0,b.jsx)(K,{...J,children:ee}):(0,b.jsx)(H,{...Y,children:ee})})}
1,8132:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=function(e,t){return function(r){return e(t(r))}}},8588:(e,t,r)=>{e.exports=r(69194)},8801:function(e,t,r){!function(t,n){e.exports=n(r(55729),r(89315))}(0,function(e,t){"use strict";let r=[{key:"title",getter:e=>e.getTitle()},{key:"html",getter:e=>e.getHtmlContainer()},{key:"confirmButtonText",getter:e=>e.getConfirmButton()},{key:"denyButtonText",getter:e=>e.getDenyButton()},{key:"cancelButtonText",getter:e=>e.getCancelButton()},{key:"footer",getter:e=>e.getFooter()},{key:"closeButtonHtml",getter:e=>e.getCloseButton()},{key:"iconHtml",getter:e=>e.getIconContent()},{key:"loaderHtml",getter:e=>e.getLoader()}],n=()=>{};return function(i){function a(t){let n={},i={},a=r.map(e=>e.key);return Object.entries(t).forEach(t=>{let[r,o]=t;a.includes(r)&&e.isValidElement(o)?(n[r]=o,i[r]=" "):i[r]=o}),[n,i]}function o(e,n){Object.entries(n).forEach(n=>{let[a,o]=n,s=r.find(e=>e.key===a).getter(i),l=t.createRoot(s);l.render(o),e.__roots.push(l)})}function s(e){e.__roots.forEach(e=>{e.unmount()}),e.__roots=[]}return class extends i{static argsToParams(t){if(!(e.isValidElement(t[0])||e.isValidElement(t[1])))return i.argsToParams(t);{let e={};return["title","html","icon"].forEach((r,n)=>{void 0!==t[n]&&(e[r]=t[n])}),e}}_main(e,t){this.__roots=[],this.__params=Object.assign({},t,e);let[r,i]=a(this.__params),l=i.willOpen||n,c=i.didOpen||n,u=i.didDestroy||n;return super._main(Object.assign({},i,{willOpen:e=>{o(this,r),l(e)},didOpen:e=>{setTimeout(()=>{c(e)})},didDestroy:e=>{u(e),s(this)}}))}update(e){Object.assign(this.__params,e),s(this);let[t,r]=a(this.__params);super.update(r),o(this,t)}}}})},9027:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n="object"==typeof global&&global&&global.Object===Object&&global},9321:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return f}});let n=r(30758)._(r(55729)),i=r(57827);function a(e){return e&&e.default?e.default:e}let o=[],s=[],l=!1;function c(e){let t=e(),r={loading:!0,loaded:null,error:null};return r.promise=t.then(e=>(r.loading=!1,r.loaded=e,e)).catch(e=>{throw r.loading=!1,r.error=e,e}),r}function u(e,t){let r=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),o=null;function c(){if(!o){let t=new d(e,r);o={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return o.promise()}if(!l){let e=r.webpack&&1?r.webpack():r.modules;e&&s.push(t=>{for(let r of e)if(t.includes(r))return c()})}function u(){c();let e=n.default.useContext(i.LoadableContext);e&&Array.isArray(r.modules)&&r.modules.forEach(t=>{e(t)})}function p(e,t){u();let i=n.default.useSyncExternalStore(o.subscribe,o.getCurrentValue,o.getCurrentValue);return n.default.useImperativeHandle(t,()=>({retry:o.retry}),[]),n.default.useMemo(()=>i.loading||i.error?n.default.createElement(r.loading,{isLoading:i.loading,pastDelay:i.pastDelay,timedOut:i.timedOut,error:i.error,retry:o.retry}):i.loaded?n.default.createElement(a(i.loaded),e):null,[e,i])}return p.preload=()=>c(),p.displayName="LoadableComponent",n.default.forwardRef(p)}class d{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function p(e){return u(c,e)}function h(e,t){let r=[];for(;e.length;){let n=e.pop();r.push(n(t))}return Promise.all(r).then(()=>
1{if(e.length)return h(e,t)})}p.preloadAll=()=>new Promise((e,t)=>{h(o).then(e,t)}),p.preloadReady=e=>(void 0===e&&(e=[]),new Promise(t=>{let r=()=>(l=!0,t());h(s,e).then(r,r)})),window.__NEXT_PRELOADREADY=p.preloadReady;let f=p},9428:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n={rwd:{phone:"600px",overPhone:"601px",mobileUp:"768px",tablet:"900px",desktop:"1150px"},fontSize:{xxl:"28px",xl:"24px",l:"20px",ml:"18px",m:"16px",sm:"14px",s:"12px",xs:"10px",xxs:"8px"},color:{black:"#000",white:"#fff",tag:{red:"#f06449",green:"#16c172"},blue:{master:"#42badb",lightMaster:"rgba(66,186,219,0.1)",daylight:"#bbd8ff",lightish:"#4272ff",progress:"#72AFFF",modalBg:"#383b3d"},brand:{fb:"#4867aa"},bg:{lightGrey:"#f2f2f2"},gray:{dark:"#999",light:"#eee",purple:"#878393",lighter:"#f2f2f2",charcoal:"#383b3d",charcoalAlphaNine:"rgba(56, 59, 61, 0.9)",scale30:"#c6c6c6",scale50:"#e5e5e5",divider:"#dedfdf"},purple:{dark:"#878393"},fluorescentPink:"#F29DFC",goldenYellow:"#ffc914",hardRed:"#ed4747",palette:{...r(39162).GU,"singletone-white":"#ffffff","kiao-blue-500":"#0033BB"}},rounded:{s:"4px",m:"8px",l:"12px",xl:"16px",full:"9999px"},distance:{xs:"4px",s:"8px",sm:"12px",m:"16px",ml:"20px",l:"24px",xl:"32px",xxl:"40px"},device:{s:"(min-width: 600px)",m:"(min-width: 900px)",l:"(min-width: 1200px)",mobileOnly:"(max-width: 599px)"},spacing:{xs:"5px",s:"15px",m:"30px",l:"45px",xl:"60px"},shadow:{card:"0 0 10px 0 rgba(0, 0, 0, 0.1)",card_m:"0 0 10px 0 rgba(0, 0, 0, 0.2)",toggle_btn:"0 0 10px 0 rgba(0, 0, 0, 0.35)"}}},9479:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(58309);let i=[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]],a=(0,n.A)("share-2",i)},9641:()=>{},10193:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(58309);let i=[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]],a=(0,n.A)("star",i)},10223:(e,t,r)=>{"use strict";let n;r.d(t,{A:()=>h});var i=r(55729),a=r(87905),o=r(81245),s=r(41282),l=r(6029);let c=new Map,u={insert:void 0},d=(e,t)=>{let r=(0,o.A)(e);return r.sheet=new t({key:r.key,nonce:r.sheet.nonce,container:r.sheet.container,speedy:r.sheet.isSpeedy,prepend:r.sheet.prepend,insertionPoint:r.sheet.insertionPoint}),r};if("object"==typeof document&&!(n=document.querySelector('[name="emotion-insertion-point"]'))){(n=document.createElement("meta")).setAttribute("name","emotion-insertion-point"),n.setAttribute("content","");let e=document.querySelector("head");e&&e.prepend(n)}function p(e,t){if(e||t){class r extends s.v{insert(e,t){return u.insert?u.insert(e,t):(this.key&&this.key.endsWith("global")&&(this.before=n),super.insert(e,t))}}let i=d({key:"css",insertionPoint:e?n:void 0},r);if(t){let e=i.insert;i.insert=(...t)=>(t[1].styles.match(/^@layer\s+[^{]*$/)||(t[1].styles=`@layer mui {${t[1].styles}}`),e(...t))}return i}}function h(e){let{injectFirst:t,enableCssLayer:r,children:n}=e,o=i.useMemo(()=>{let e=`${t}-${r}`;if("object"==typeof document&&c.has(e))return c.get(e);let n=p(t,r);return c.set(e,n),n},[t,r]);return o?(0,l.jsx)(a.C,{value:o,children:n}):n}},10312:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(87971),i=r(41658);let a=(0,n.A)(i.A,"Map")},11083:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(58309);let i=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],a=(0,n.A)("chevron-down",i)},11266:(e,t,r)=>{"use strict";r.d(t,{Qs:()=>K,zW:()=>M,Bw:()=>O,W6:()=>x,Ty:()=>L,bV:()=>R,lt:()=>P,pu:()=>q,jY:()=>S,nA:()=>C,k7:()=>N,lT:()=>Y,PL:()=>G,JJ:()=>I,lA:()=>g,ap:()=>A});var n=r(2860),i=r(6772),a=r.n(i),o=r(81278),s=r(55729),l=r(96727),c=r(26766),u=r(77475),d=r(6329);let p=(0,u.YJ)(d.Ld),h="_wuAnonId",f=()=>{let e="1",t=((window.location.hostname||"").match(/[.]/)||[]).length,r=1e8*Math.random(),n=Date.now()/1e3;return"WU".concat(e,"-").concat(t,"-").concat(r,"-").concat(n)},m=()=>{let e=p.get(h);if(e)return e;let t=f();return p.set({key:h,value:t,expires:730,domain:".wordup.com.tw"}),t},g=()=>{let e=p.get(h);return e||(e=m()),e},y=(0,l.k)(),v=()=>{"function"==typeof gtag&>ag("set","user_data",{is_app:(0,c.pp)(),user_id:y.getUserId(),email:y.getUserEmail(),wu_anon_
1id:g()})},{getUserId:b}=(0,l.k)(),w=!1,x=e=>{let{onRouterReady:t}=e,r=(0,o.useRouter)();return(0,s.useEffect)(()=>{w||(window.gtag("config","G-4FC327NCFH",{send_page_view:!1,user_id:b(),allow_enhanced_conversions:!0,debug_mode:!0}),v())},[]),(0,s.useEffect)(()=>{if("function"==typeof t&&r.isReady)return t(r)},[r.isReady]),(0,n.FD)(n.FK,{children:[(0,n.Y)(a(),{id:"download-gtag",strategy:"afterInteractive",src:"https://www.googletagmanager.com/gtag/js?id=".concat("G-4FC327NCFH")}),(0,n.Y)(a(),{id:"init-gtag",strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:"\n window.dataLayer = window.dataLayer || [];\n function gtag(){dataLayer.push(arguments);}\n gtag('js', new Date());\n "}})]})};var k=r(12647);let A=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=(0,o.useRouter)();return e||(0,k.$i)("https://shop.wordup.com.tw"+t.asPath)},C="è°æå¸ç¿ - åç¨ç§æå¹«ä½ ææå¸ç¿ï¼ç·ä¸èª²ç¨ï½äºåé»åæ¸ | WORD UP",S="WORD UP è°æå¸ç¿ï¼è®ä½ ç¨ç§æè¼å©å¸ç¿ï¼ååèªè¨å¸ç¿ç·ä¸èª²ç¨èåé¡è±æª¢è試ç app äºåå¼é»åæ¸ææä¸æä¿±å
¨ï¼ææåä¾èªå大åºç社ï¼å質æä¿éï¼æ¿åºææ©é¦¬ä¸èå®åãç·´é¡ç®ï¼æé
AI æ¼ç®æ³å¹«ä½ è¤ç¿ä¸çå®åï¼æç¦TOEFLãGREãé
æIELTSãå¤çTOEICãæèã叿¸¬ so easyï¼",E="__SEO_CANONICAL_TEMPLATE__";var _=r(51652),T=r(42332);let P=()=>{let e=A();return(0,n.Y)(_.Ws,{type:"Corporation",url:e,name:C,logo:T.bi,legalName:"è°æå¸ç¿è¡ä»½æéå
¬å¸",description:S,address:{streetAddress:"æ¾å¾·è·¯ 65 è 4 æ¨ä¹ 1",addressLocality:"信義å",addressRegion:"å°åå¸",postalCode:"110",addressCountry:"å°ç£"},contactPoint:[{contactType:"customer service",email:"[email protected]",areaServed:"å°ç£",availableLanguage:["䏿","è±æ"]}]})},O=e=>{let{itemListElements:t=[],...r}=e,i=A();return(0,n.Y)(_.gk,{...r,itemListElements:[{position:1,name:C,item:"https://shop.wordup.com.tw"},...t.filter(e=>"https://shop.wordup.com.tw"!==e.item&&e.name!==C).map((e,t)=>e.item===E?{...e,item:i,position:t+2}:{...e,position:t+2})]})},I=e=>{let{id:t,...r}=e,i=A(t);return(0,n.Y)(_.aE,{lastReviewed:new Date().toISOString(),reviewedBy:{type:"Organization",name:"è°æå¸ç¿è¡ä»½æéå
¬å¸"},...r,id:i})},M=e=>{let{id:t,...r}=e,i=A(t);return(0,n.Y)(_.W4,{slogan:S,logo:T.bi,...r,id:i})},L=e=>{let{logo:t=T.bi,url:r,...i}=e,a=A(r);return(0,n.Y)(_.AB,{...i,logo:t,url:a})},N=e=>{let{type:t="Organization",name:r=C,url:i,sameAs:a=[],...o}=e,s=A(i);return(0,n.Y)(_.Ne,{...o,type:t,name:r,url:s,sameAs:[...new Set([...a,"https://www.facebook.com/worduphelper/"])]})},R=e=>{let{noindex:t=!d.O_,nofollow:r=!d.O_,canonical:i,...a}=e,o=A(i);return(0,n.Y)(_.bV,{...a,noindex:t,nofollow:r,canonical:o})};var j=r(98986),D=r(99670),F=r(77903),V=r(15553),B=r(47126),z=r(82203),$=r.n(z),U=r(41642);let q=e=>{let{durationDay:t,reward:r,showSkeleton:i}=e,{t:a}=(0,j.Bd)(),o=(0,F.A)(a("crowdin:product-detail-page.tabs.moneyback.reward-rules.rules"),[]);return(0,n.FD)("div",{className:"flex flex-col gap-300",children:[(0,n.Y)("h5",{className:"text-heading-s tracking-[var(--typo-letter-spacing-heading)] text-content-primary",children:a("crowdin:product-detail-page.tabs.moneyback.reward-rules.title")}),(0,n.Y)("ul",{className:"m-0 list-disc space-y-1 pl-4",children:o.map(e=>(0,n.Y)(V.q,{component:"li",variant:"body_s_400",className:"whitespace-pre-wrap break-words",transProps:{values:{day:Number.isFinite(t)?t:null,price:Number.isFinite(r)?(0,D.u)(r):null},components:(e,t)=>{let{day:r,price:a}=e,{Skeleton:o,HighlightWithUnderline:s}=t;return{HighlightDay:r?(0,n.Y)(s,{}):i&&(0,n.Y)(o,{className:"inline-block h-5 w-10 align-text-bottom text-[0px]"}),HighlightPrice:a?(0,n.Y)(s,{}):i&&(0,n.Y)(o,{className:"inline-block h-5 w-10 align-text-bottom text-[0px]"})}}},children:e},e))}),(0,n.FD)($(),{href:U.H.MONEY_BACK_INTERCOM_ARTICLE,className:"flex w-fit items-center gap-150 rounded-full border border-solid border-border-subtle px-400 py-250 text-label-m tracking-[var(--typo-letter-spacing-label)] text-content-primary no-underline",children:[a("crowdin:product-detail-page.tabs.moneyback.learn"),(0,n.Y)(B.I,{type:"keyboard_arrow_right",size:16})]})]})};var H=r(39977);let Y=e=>{let{descriptionHtml:t,showSkeleton:r}=e,{t:i}=(0,j.Bd)();return(0,n.FD)("div",{className:"flex flex-col gap-300",children:[(0,n.Y)("h5",{className:"text-heading-s tracking-[var(--typo-letter-spacing-heading)] text-content-primary",children:i("crowdin:product-detail-page.tabs.moneyback.study-suggestions.title")}),t?(0,n.Y)("div",{dangerouslySetInnerHTML:{__html:t},className:"whitespace-pre-wrap break-words text-body-s tracking-[var(--typo-letter-spacing-body)] text-content-primary"}):r&&(0,n.Y)(H.E,{className:"h-24 w-full"})]})};var W=r(41795);let G=e=>{let{showSkeleton:t,criteriaItemValuesMap:r,activeIndex:i=0,onChange:a}=e,{t:o,i18n:l}
1=(0,j.Bd)(),[c,u]=(0,s.useState)(i),d=r?(0,F.A)(o("crowdin:product-detail-page.tabs.moneyback.success-criteria.items"),[]).filter(e=>{var t;let{missionKind:n,description:i}=e;return n&&l.exists("crowdin:moneyback.mission.learnable-kinds.".concat(n))&&r[n]&&Array.isArray(i[null!=(t=r[n].type)?t:"default"])}).map(e=>{let t={missionKind:e.missionKind,iconType:e.iconType,values:{},descriptions:[]};if(e.missionKind){var n;let i=r[e.missionKind];t.values=i,t.descriptions=e.description[null!=(n=t.values.type)?n:"default"],i.limit||(t.descriptions=t.descriptions.slice(0,1))}return t}):[],p=e=>t=>{u(e.index),a&&a(e)};return(0,n.FD)("div",{className:"flex flex-col gap-300",children:[(0,n.Y)("h5",{className:"text-heading-s tracking-[var(--typo-letter-spacing-heading)] text-content-primary",children:o("crowdin:product-detail-page.tabs.moneyback.success-criteria.title")}),(0,n.Y)("ul",{className:"m-0 flex list-none flex-wrap items-center gap-200 p-0",children:d.map((e,t)=>{let{missionKind:r,iconType:i}=e;return(0,n.Y)("li",{children:(0,n.Y)(W.vu,{variant:"filter",size:"sm",applied:c===t,leadingIcon:(0,n.Y)(B.I,{type:i,size:12}),onClick:p({missionKind:r,index:t}),children:o("crowdin:moneyback.mission.learnable-kinds.".concat(r))})},r)})}),d.length>0&&(0,n.Y)("ul",{className:"m-0 list-disc space-y-1 pl-4",children:d[c].descriptions.map(e=>(0,n.Y)(V.q,{component:"li",variant:"body_s_400",className:"whitespace-pre-wrap break-words",transProps:{values:d[c].values,components:(e,r)=>{let{count:i,limit:a}=e,{Skeleton:o,Highlight:s}=r;return{HighlightKey:Number.isInteger(i)?(0,n.Y)(s,{}):t&&(0,n.Y)(o,{className:"inline-block h-5 w-10 align-text-bottom text-[0px]"}),HighlightLimit:Number.isInteger(a)?(0,n.Y)(s,{}):t&&(0,n.Y)(o,{className:"inline-block h-5 w-10 align-text-bottom text-[0px]"})}}},children:e},e))})]})},K=e=>{let{chapters:t}=e,{t:r}=(0,j.Bd)();if(!t||0===t.length)return null;let i=t.filter(e=>e.moneybackMissionRelevant),a=i.length===t.length;return(0,n.FD)("div",{className:"flex flex-col gap-300",children:[(0,n.Y)("h5",{className:"text-heading-s tracking-[var(--typo-letter-spacing-heading)] text-content-primary",children:r("crowdin:product-detail-page.tabs.moneyback.applicable-chapters.title")}),(0,n.Y)("ul",{className:"m-0 list-disc space-y-1 pl-4",children:a?(0,n.Y)("li",{className:"whitespace-pre-wrap break-words text-body-s tracking-[var(--typo-letter-spacing-body)] text-content-primary",children:r("crowdin:product-detail-page.tabs.moneyback.applicable-chapters.all-chapters")}):i.map(e=>(0,n.Y)("li",{className:"whitespace-pre-wrap break-words text-body-s tracking-[var(--typo-letter-spacing-body)] text-content-primary",children:e.name},e.id))})]})}},11321:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>f,qy:()=>l,rf:()=>c});var n=r(55729),i=r(28267),a=r(49467),o=r(6029);let s="function"==typeof(0,i.Dp)({}),l=(e,t)=>({WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",boxSizing:"border-box",WebkitTextSizeAdjust:"100%",...t&&!e.vars&&{colorScheme:e.palette.mode}}),c=e=>({color:(e.vars||e).palette.text.primary,...e.typography.body1,backgroundColor:(e.vars||e).palette.background.default,"@media print":{backgroundColor:(e.vars||e).palette.common.white}}),u=function(e){var t,r;let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i={};n&&e.colorSchemes&&"function"==typeof e.getColorSchemeSelector&&Object.entries(e.colorSchemes).forEach(t=>{var r,n;let[a,o]=t,s=e.getColorSchemeSelector(a);s.startsWith("@")?i[s]={":root":{colorScheme:null==(r=o.palette)?void 0:r.mode}}:i[s.replace(/\s*&/,"")]={colorScheme:null==(n=o.palette)?void 0:n.mode}});let a={html:l(e,n),"*, *::before, *::after":{boxSizing:"inherit"},"strong, b":{fontWeight:e.typography.fontWeightBold},body:{margin:0,...c(e),"&::backdrop":{backgroundColor:(e.vars||e).palette.background.default}},...i},o=null==(r=e.components)||null==(t=r.MuiCssBaseline)?void 0:t.styleOverrides;return o&&(a=[a,o]),a},d="mui-ecs",p=e=>{let t=u(e,!1),r=Array.isArray(t)?t[0]:t;return!e.vars&&r&&(r.html[":root:has(".concat(d,")")]={colorScheme:e.palette.mode}
1),e.colorSchemes&&Object.entries(e.colorSchemes).forEach(t=>{var n,i;let[a,o]=t,s=e.getColorSchemeSelector(a);s.startsWith("@")?r[s]={[":root:not(:has(.".concat(d,"))")]:{colorScheme:null==(n=o.palette)?void 0:n.mode}}:r[s.replace(/\s*&/,"")]={["&:not(:has(.".concat(d,"))")]:{colorScheme:null==(i=o.palette)?void 0:i.mode}}}),t},h=(0,i.Dp)(s?e=>{let{theme:t,enableColorScheme:r}=e;return u(t,r)}:e=>{let{theme:t}=e;return p(t)}),f=function(e){let{children:t,enableColorScheme:r=!1}=(0,a.b)({props:e,name:"MuiCssBaseline"});return(0,o.jsxs)(n.Fragment,{children:[s&&(0,o.jsx)(h,{enableColorScheme:r}),!s&&!r&&(0,o.jsx)("span",{className:d,style:{display:"none"}}),t]})}},11407:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(23070);function i(e){let{variants:t,...r}=e,i={variants:t,style:(0,n.tT)(r),isProcessed:!0};return i.style===r||t&&t.forEach(e=>{"function"!=typeof e.style&&(e.style=(0,n.tT)(e.style))}),i}},11693:(e,t,r)=>{"use strict";r.d(t,{w:()=>_});var n=r(2860),i=r(98986),a=r(71024),o=r.n(a),s=r(55729),l=r(99517),c=r(52106),u=r(85076),d=r(54328);let p=e=>{let{section:t}=e,{t:r}=(0,i.Bd)(),{titleI18Key:a,links:o}=t;return(0,n.FD)("div",{className:"flex flex-col gap-200",children:[(0,n.Y)("p",{className:"text-heading-2xs text-content-on-color tracking-[var(--typo-letter-spacing-heading)]",children:r(a)}),(0,n.Y)("div",{className:"flex flex-col gap-300",children:o.map((e,t)=>{let i=r(e.i18Key),a="".concat(t,"-").concat(i);return"onClick"in e?(0,n.Y)("button",{className:"flex w-fit cursor-pointer justify-start border-none bg-transparent p-0",onClick:e.onClick,children:(0,n.Y)("span",{className:"text-label-s text-content-secondary text-left",children:i})},a):(0,n.Y)(d.N,{className:"w-fit","aria-label":i,href:e.href,target:"_self",children:(0,n.Y)("span",{className:"text-label-s text-content-secondary",children:i})},a)})})]})},h=e=>{let{faqClick:t,contactUsClick:r}=e;return{titleI18Key:"footer.about_us.title",links:[{i18Key:"footer.about_us.shop",href:"/"},{i18Key:"footer.about_us.faq",onClick:t},{i18Key:"footer.about_us.contact_us",onClick:r},{i18Key:"footer.about_us.join_us",href:"https://www.yourator.co/companies/wordup"}]}};var f=r(6329);let m="https://dictionary.wordup.com.tw",g="https://dictionary-staging.wordup.com.tw",y="https://dictionary-dev.wordup.com.tw",v=["zh-TW","en"],b="zh-TW",w=()=>f.O_?m:f.YG?g:y,x=function(){var e;let{locale:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=null!=(e=v.find(e=>e===t))?e:b;return"".concat(w(),"/").concat(r,"/dictionary")},k=e=>{let{locale:t}=e;return{titleI18Key:"footer.product_and_services.title",links:[{i18Key:"footer.product_and_services.online_courses",href:"/search?tag_or=%E7%B7%9A%E4%B8%8A%E8%AA%B2%E7%A8%8B"},{i18Key:"footer.product_and_services.e_books",href:"/search?tag_or=%E9%9B%BB%E5%AD%90%E6%9B%B8"},{i18Key:"footer.product_and_services.subscription_plan",href:"/search?tag_or=%E8%A8%82%E9%96%B1%E5%88%B6"},{i18Key:"footer.product_and_services.dictionary",href:x({locale:t})},{i18Key:"footer.product_and_services.blog_articles",href:"https://blog.wordup.com.tw/"},{i18Key:"footer.product_and_services.cashback_program",href:"/search?event=%E8%BF%94%E7%8F%BE%E8%A8%88%E7%95%AB"}]}},A=()=>({titleI18Key:"footer.language_learning.title",links:[{i18Key:"footer.language_learning.english",href:"/topic/english"},{i18Key:"footer.language_learning.korean",href:"/search?subject=korean"},{i18Key:"footer.language_learning.japanese",href:"/search?subject=japanese"},{i18Key:"footer.language_learning.french",href:"/search?subject=french"},{i18Key:"footer.language_learning.german",href:"/search?subject=german"},{i18Key:"footer.language_learning.italian",href:"/search?subject=italian"}]}),C=()=>({titleI18Key:"footer.exam_preparation.title",links:[{i18Key:"footer.exam_preparation.toeic",href:"/search?exam=%E5%A4%9A%E7%9B%8A"},{i18Key:"footer.exam_preparation.toefl",href:"/search?exam=%E6%89%98%E7%A6%8F"},{i18Key:"footer.exam_preparation.ielts",href:"/search?exam=%E9%9B%85%E6%80%9D"},{i18Key:"footer.exam_preparation.gsat",href:"/search?exam=%E5%AD%B8%E6%B8%AC"},{i18Key:"footer.exam_preparation.jcee",href:"/search?exam=%E7%B5%B1%E6%B8%AC"},{i18Key:"footer.exam_preparation.gept",href:"/search?exam=%E5%85%A8%E6%B0%91%E8%8B%B1%E6%AA%A2"}]}),S=()=>({titleI18Key:"footer.partners.title",links:[{i18Key:"footer.partners.teacher_course_sales",href:"/teaching"},{i18Key:"footer.partners.digital_publication_sales",href:"mailto:[email protected]"}]}),E=o()(()=>r.e(6734).then(r.bind(r,56734)),{loadableGenerated:{webpack:()=>[56734]},ssr:!1}),_=e=>{let{orgName:t,taxIdNumber:r,isWhiteLabelMode:a,openIntercomMessenger
1:o=l.A}=e,{t:d,i18n:f}=(0,i.Bd)("common"),[m,g]=(0,s.useState)(!1),y=(0,s.useCallback)(()=>{g(!0)},[g]),v=(0,s.useCallback)(()=>{g(!1)},[g]),b=(0,s.useMemo)(()=>[h({faqClick:y,contactUsClick:o}),k({locale:f.resolvedLanguage}),A(),C(),S()],[d,f.resolvedLanguage,y,o]);return(0,n.FD)("footer",{children:[!a&&(0,n.FD)("div",{className:"mobileUp:flex-row mobileUp:justify-between mobileUp:px-600 flex flex-col gap-500 bg-black px-400 py-1000",children:[(0,n.FD)("div",{className:"mobileUp:w-[400px] flex flex-col gap-300",children:[(0,n.Y)(u.g,{markColor:"#FFFFFF",wordmarkColor:"#FFFFFF",className:"h-auto w-[158px] max-w-full",role:"img","aria-label":"WORD UP"}),(0,n.Y)("p",{className:"text-caption-m text-content-secondary",children:d("footer.company_description")}),(0,n.FD)("div",{className:"mobileUp:flex hidden gap-400 pt-200",children:[(0,n.Y)(c.A,{platform:"ios"}),(0,n.Y)(c.A,{platform:"android"})]})]}),(0,n.Y)("div",{className:"mobileUp:hidden border-content-secondary/50 border-t"}),(0,n.Y)("div",{className:"mobileUp:flex mobileUp:w-[570px] mobileUp:gap-500 grid grid-cols-2 gap-500",children:b.map((e,t)=>(0,n.Y)("div",{children:(0,n.Y)(p,{section:e})},"".concat(t,"_").concat(e.titleI18Key)))})]}),(0,n.FD)("div",{className:"mobileUp:py-400 flex flex-col items-center gap-300 bg-background-inverse-primary py-1000",children:[(0,n.FD)("div",{className:"mobileUp:hidden flex gap-400",children:[(0,n.Y)(c.A,{platform:"ios"}),(0,n.Y)(c.A,{platform:"android"})]}),(0,n.FD)("p",{className:"text-caption-m text-content-on-color",children:["\xa9 ",new Date().getFullYear()," ",t,"ã»",d("footer.tax_number")," ",r]}),a&&(0,n.Y)("p",{className:"text-caption-m text-content-secondary",children:"Made with by è°æå¸ç¿ WORD UP"})]}),m&&(0,n.Y)(E,{open:!0,onClose:v})]})}},11722:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(91206);function i(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Mui",i={};return t.forEach(t=>{i[t]=(0,n.Ay)(e,t,r)}),i}},11859:(e,t,r)=>{"use strict";r.d(t,{A:()=>T});var n=r(85966),i=r(55729),a=r(50212),o=r(40412),s=r(83004),l=r(1686),c=r(23986),u=r(49467),d=r(25684),p=r(68064),h=r(13317),f=r(6029);function m(){let e=(0,n._)(["\n 0% {\n transform: rotate(0deg);\n }\n\n 100% {\n transform: rotate(360deg);\n }\n"]);return m=function(){return e},e}function g(){let e=(0,n._)(["\n 0% {\n stroke-dasharray: 1px, 200px;\n stroke-dashoffset: 0;\n }\n\n 50% {\n stroke-dasharray: 100px, 200px;\n stroke-dashoffset: -15px;\n }\n\n 100% {\n stroke-dasharray: 1px, 200px;\n stroke-dashoffset: -126px;\n }\n"]);return g=function(){return e},e}function y(){let e=(0,n._)(["\n animation: "," 1.4s linear infinite;\n "]);return y=function(){return e},e}function v(){let e=(0,n._)(["\n animation: "," 1.4s ease-in-out infinite;\n "]);return v=function(){return e},e}let b=44,w=(0,s.i7)(m()),x=(0,s.i7)(g()),k="string"!=typeof w?(0,s.AH)(y(),w):null,A="string"!=typeof x?(0,s.AH)(v(),x):null,C=e=>{let{classes:t,variant:r,color:n,disableShrink:i}=e,a={root:["root",r,"color".concat((0,d.A)(n))],svg:["svg"],circle:["circle","circle".concat((0,d.A)(r)),i&&"circleDisableShrink"]};return(0,o.A)(a,h.b,t)},S=(0,l.Ay)("span",{name:"MuiCircularProgress",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[r.variant],t["color".concat((0,d.A)(r.color))]]}})((0,c.A)(e=>{let{theme:t}=e;return{display:"inline-block",variants:[{props:{variant:"determinate"},style:{transition:t.transitions.create("transform")}},{props:{variant:"indeterminate"},style:k||{animation:"".concat(w," 1.4s linear infinite")}},...Object.entries(t.palette).filter((0,p.A)()).map(e=>{let[r]=e;return{props:{color:r},style:{color:(t.vars||t).palette[r].main}}})]}})),E=(0,l.Ay)("svg",{name:"MuiCircularProgress",slot:"Svg",overridesResolver:(e,t)=>t.svg})({display:"block"}),_=(0,l.Ay)("circle",{name:"MuiCircularProgress",slot:"Circle",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.circle,t["circle".concat((0,d.A)(r.variant))],r.disableShrink&&t.circleDisableShrink]}})((0,c.A)(e=>{let{theme:t}=e;return{stroke:"currentColor",variants:[{props:{variant:"determinate"},style:{transition:t.transitions.create("stroke-dashoffset")}},{props:{variant:"indeterminate"},style:{strokeDasharray:"80px, 200px",strokeDashoffset:0}},{props:e=>{let{ownerState:t}=e;return"indeterminate"===t.variant&&!t.disableShrink},style:A||{animation:"".concat(x," 1.4s ease-in-out infinite")}}]}})),T=i.forwardRef(function(e,t){let r=(0,u.b)({props:e,name:"MuiCircularProgress"}),{className:n,color:i="primary",disableShrink:o=!1,size:s=40,style:l,thickness:c=3.6,value:d=0,variant:p="indeterminate",...h}=r,m={...r,color:i,disableShrink:o,size:s,thickness:c,value:d,variant:p},g=C(m),y={},v={},w={};if("determinate"===p){let e=2*Math.PI*((b-c)/2);y.strokeDasharray=e.toFixed(3),w["aria-valuenow"]=Math.round(d),y.strokeDashoffset="".concat(((100-d)/100*e).toFixed(3),"px"),v.transform="rotate(-90deg)"}return(0,f.jsx)(S,{className:(0,a.A)(g.root,n),style:{width:s,height:s,...v,...l},ownerState:m,ref:t,role:"progressbar",...w,...h,children:(0,f.jsx)(E,{className:g.svg,ownerState:m,viewBox:"".concat(b/2," ").concat(b/2," ").concat(b," ").concat(b),children:(0,f.jsx)(_,{className:g.circle,style:y,ownerState:m,cx:b,cy:b,r:(b-c)/2,fill:"none",strokeWidth:c})})})})},12201:(e,t,r)=>{"use strict";r.d(t,{A:()=>N});
1var n=r(55729),i=r(50212),a=r(78414),o=r(40412),s=r(74004),l=r(64593),c=r(35500),u=r(96304),d=r(1686),p=r(88273),h=r(23986),f=r(49467),m=r(25684),g=r(40657),y=r(5552),v=r(58342),b=r(39884),w=r(82798),x=r(1917),k=r(24055),A=r(88607),C=r(6029);function S(e){return Math.round(1e5*e)/1e5}let E=e=>{let{classes:t,disableInteractive:r,arrow:n,touch:i,placement:a}=e,s={popper:["popper",!r&&"popperInteractive",n&&"popperArrow"],tooltip:["tooltip",n&&"tooltipArrow",i&&"touch","tooltipPlacement".concat((0,m.A)(a.split("-")[0]))],arrow:["arrow"]};return(0,o.A)(s,A.E,t)},_=(0,d.Ay)(y.A,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.popper,!r.disableInteractive&&t.popperInteractive,r.arrow&&t.popperArrow,!r.open&&t.popperClose]}})((0,h.A)(e=>{let{theme:t}=e;return{zIndex:(t.vars||t).zIndex.tooltip,pointerEvents:"none",variants:[{props:e=>{let{ownerState:t}=e;return!t.disableInteractive},style:{pointerEvents:"auto"}},{props:e=>{let{open:t}=e;return!t},style:{pointerEvents:"none"}},{props:e=>{let{ownerState:t}=e;return t.arrow},style:{['&[data-popper-placement*="bottom"] .'.concat(A.A.arrow)]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},['&[data-popper-placement*="top"] .'.concat(A.A.arrow)]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},['&[data-popper-placement*="right"] .'.concat(A.A.arrow)]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}},['&[data-popper-placement*="left"] .'.concat(A.A.arrow)]:{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}}}},{props:e=>{let{ownerState:t}=e;return t.arrow&&!t.isRtl},style:{['&[data-popper-placement*="right"] .'.concat(A.A.arrow)]:{left:0,marginLeft:"-0.71em"}}},{props:e=>{let{ownerState:t}=e;return t.arrow&&!!t.isRtl},style:{['&[data-popper-placement*="right"] .'.concat(A.A.arrow)]:{right:0,marginRight:"-0.71em"}}},{props:e=>{let{ownerState:t}=e;return t.arrow&&!t.isRtl},style:{['&[data-popper-placement*="left"] .'.concat(A.A.arrow)]:{right:0,marginRight:"-0.71em"}}},{props:e=>{let{ownerState:t}=e;return t.arrow&&!!t.isRtl},style:{['&[data-popper-placement*="left"] .'.concat(A.A.arrow)]:{left:0,marginLeft:"-0.71em"}}}]}})),T=(0,d.Ay)("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.tooltip,r.touch&&t.touch,r.arrow&&t.tooltipArrow,t["tooltipPlacement".concat((0,m.A)(r.placement.split("-")[0]))]]}})((0,h.A)(e=>{let{theme:t}=e;return{backgroundColor:t.vars?t.vars.palette.Tooltip.bg:(0,s.X4)(t.palette.grey[700],.92),borderRadius:(t.vars||t).shape.borderRadius,color:(t.vars||t).palette.common.white,fontFamily:t.typography.fontFamily,padding:"4px 8px",fontSize:t.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:t.typography.fontWeightMedium,[".".concat(A.A.popper,'[data-popper-placement*="left"] &')]:{transformOrigin:"right center"},[".".concat(A.A.popper,'[data-popper-placement*="right"] &')]:{transformOrigin:"left center"},[".".concat(A.A.popper,'[data-popper-placement*="top"] &')]:{transformOrigin:"center bottom",marginBottom:"14px"},[".".concat(A.A.popper,'[data-popper-placement*="bottom"] &')]:{transformOrigin:"center top",marginTop:"14px"},variants:[{props:e=>{let{ownerState:t}=e;return t.arrow},style:{position:"relative",margin:0}},{props:e=>{let{ownerState:t}=e;return t.touch},style:{padding:"8px 16px",fontSize:t.typography.pxToRem(14),lineHeight:"".concat(S(16/14),"em"),fontWeight:t.typography.fontWeightRegular}},{props:e=>{let{ownerState:t}=e;return!t.isRtl},style:{[".".concat(A.A.popper,'[data-popper-placement*="left"] &')]:{marginRight:"14px"},[".".concat(A.A.popper,'[data-popper-placement*="right"] &')]:{marginLeft:"14px"}}},{props:e=>{let{ownerState:t}=e;return!t.isRtl&&t.touch},style:{[".".concat(A.A.popper,'[data-popper-placement*="left"] &')]:{marginRight:"24px"},[".".concat(A.A.popper,'[data-popper-placement*="right"] &')]:{marginLeft:"24px"}}},{props:e=>{let{ownerState:t}=e;return!!t.isRtl},style:{[".".concat(A.A.popper,'[data-popper-placement*="left"] &')]:{marginLeft:"14px"},[".".concat(A.A.popper,'[data-popper-placement*="right"] &')]:{marginRight:"14px"}}},{props:e=>{let{ownerState:t}=e;return!!t.isRtl&&t.touch},style:{[".".concat(A.A.popper,'[data-popper-placement*="left"] &')]:{marginLeft:"24px"},[".".concat(A.A.popper,'[data-popper-placement*="right"] &')]:{marginRight:"24px"}}},{props:e=>{let{ownerState:t}=e;return t.touch},style:{[".".concat(A.A.popper,'[data-popper-placement*="top"] &')]:{marginBottom:"24px"}}},{props:e=>{let{ownerState:t}=e;return t.touch},style:{[".".concat(A.A.popper,'[data-popper-placement*="bottom"] &')]:{marginTop:"24px"}}}]}})),P=(0,d.Ay)("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})((0,h.A)(e=>{let{theme:t}=e;return{overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:t.vars?t.vars.palette.Tooltip.bg:(0,s.X4)(t.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}})),O=!1,I=new a.E,M={x:0,y:0};function L(e,t){return function(r){for(var n=arguments.length,i=Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];t&&t(r,...i),e(r,...i)}}let N=n.forwardRef(function(e,t){var r,o,s;let d=(0,f.b)({props:e,name:"MuiTooltip"}),{arrow:h=!1,children:m,classes:A,components:S={},componentsProps:N={},describeChild:R=!1,disableFocusListener:j=!1,disableHoverListener:D=!1,disableInteractive:F=!1,disableTouchListener:V=!1,enterDelay:B=100,enterNextDelay:z=0,enterTouchDelay:$=700,followCursor:U=!1,id:q,leaveDelay:H=0,leaveTouchDelay:Y=1500,onClose:W,onOpen:G,open:K,placement:J="bottom",PopperComponent:X,PopperProps:Q={},slotProps:Z={},slots:ee={},title:et,TransitionComponent:er,TransitionProps:en,...ei}=d,ea=n.isValidElement(m)?m:(0,C.jsx)("span",{children:m}),eo=(0,p.A)(),es=(0,l.I)(),[el,ec]=n.useState(),[eu,ed]=n.useState(null),ep=n.useRef(!1),eh=F||U,ef=(0,a.A)(),em=(0,a.A)(),eg=(0,a.A)(),ey=(0,a.A)(),[ev,eb]=(0,x.A)({controlled:K,default:!1,name:"Tooltip",state:"open"}),ew=ev,ex=(0,w.A)(q),ek=n.useRef(),eA=(0,v.A)(()=>{void 0!==ek.current&&(document.body.style.WebkitUserSelect=ek.current,ek.current=void 0),ey.clear()});n.useEffect(()=>eA,[eA]);let eC=e=>{I.clear(),O=!0,eb(!0),G&&!ew&&G(e)},eS=(0,v.A)(e=>{I.start(800+H,()=>{O=!1}),eb(!1),W&&ew&&W(e),ef.start(eo.transitions.duration.shortest,()=>{ep.current=!1})}),eE=e=>{ep.current&&"touchstart"!==e.type||(el&&el.removeAttribute("title"),em.clear(),eg.clear(),B||O&&z?em.start(O?z:B,()=>{eC(e)}):eC(e))},e_=e=>{em.clear(),eg.start(H,()=>{eS(e)})},[,eT]=n.useState(!1),eP=e=>{(0,c.A)(e.target)||(eT(!1),e_(e))},eO=e=>
1{el||ec(e.currentTarget),(0,c.A)(e.target)&&(eT(!0),eE(e))},eI=e=>{ep.current=!0;let t=ea.props;t.onTouchStart&&t.onTouchStart(e)},eM=e=>{eI(e),eg.clear(),ef.clear(),eA(),ek.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",ey.start($,()=>{document.body.style.WebkitUserSelect=ek.current,eE(e)})},eL=e=>{ea.props.onTouchEnd&&ea.props.onTouchEnd(e),eA(),eg.start(Y,()=>{eS(e)})};n.useEffect(()=>{if(ew)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){"Escape"===e.key&&eS(e)}},[eS,ew]);let eN=(0,b.A)((0,u.A)(ea),ec,t);et||0===et||(ew=!1);let eR=n.useRef(),ej=e=>{let t=ea.props;t.onMouseMove&&t.onMouseMove(e),M={x:e.clientX,y:e.clientY},eR.current&&eR.current.update()},eD={},eF="string"==typeof et;R?(eD.title=ew||!eF||D?null:et,eD["aria-describedby"]=ew?ex:null):(eD["aria-label"]=eF?et:null,eD["aria-labelledby"]=ew&&!eF?ex:null);let eV={...eD,...ei,...ea.props,className:(0,i.A)(ei.className,ea.props.className),onTouchStart:eI,ref:eN,...U?{onMouseMove:ej}:{}},eB={};V||(eV.onTouchStart=eM,eV.onTouchEnd=eL),!D&&(eV.onMouseOver=L(eE,eV.onMouseOver),eV.onMouseLeave=L(e_,eV.onMouseLeave),eh||(eB.onMouseOver=eE,eB.onMouseLeave=e_)),!j&&(eV.onFocus=L(eO,eV.onFocus),eV.onBlur=L(eP,eV.onBlur),eh||(eB.onFocus=eO,eB.onBlur=eP));let ez={...d,isRtl:es,arrow:h,disableInteractive:eh,placement:J,PopperComponentProp:X,touch:ep.current},e$="function"==typeof Z.popper?Z.popper(ez):Z.popper,eU=n.useMemo(()=>{var e,t;let r=[{name:"arrow",enabled:!!eu,options:{element:eu,padding:4}}];return(null==(e=Q.popperOptions)?void 0:e.modifiers)&&(r=r.concat(Q.popperOptions.modifiers)),(null==e$||null==(t=e$.popperOptions)?void 0:t.modifiers)&&(r=r.concat(e$.popperOptions.modifiers)),{...Q.popperOptions,...null==e$?void 0:e$.popperOptions,modifiers:r}},[eu,Q.popperOptions,null==e$?void 0:e$.popperOptions]),eq=E(ez),eH="function"==typeof Z.transition?Z.transition(ez):Z.transition,eY={slots:{popper:S.Popper,transition:null!=(r=S.Transition)?r:er,tooltip:S.Tooltip,arrow:S.Arrow,...ee},slotProps:{arrow:null!=(o=Z.arrow)?o:N.arrow,popper:{...Q,...null!=e$?e$:N.popper},tooltip:null!=(s=Z.tooltip)?s:N.tooltip,transition:{...en,...null!=eH?eH:N.transition}}},[eW,eG]=(0,k.A)("popper",{elementType:_,externalForwardedProps:eY,ownerState:ez,className:(0,i.A)(eq.popper,null==Q?void 0:Q.className)}),[eK,eJ]=(0,k.A)("transition",{elementType:g.A,externalForwardedProps:eY,ownerState:ez}),[eX,eQ]=(0,k.A)("tooltip",{elementType:T,className:eq.tooltip,externalForwardedProps:eY,ownerState:ez}),[eZ,e0]=(0,k.A)("arrow",{elementType:P,className:eq.arrow,externalForwardedProps:eY,ownerState:ez,ref:ed});return(0,C.jsxs)(n.Fragment,{children:[n.cloneElement(ea,eV),(0,C.jsx)(eW,{as:null!=X?X:y.A,placement:J,anchorEl:U?{getBoundingClientRect:()=>({top:M.y,left:M.x,right:M.x,bottom:M.y,width:0,height:0})}:el,popperRef:eR,open:!!el&&ew,id:ex,transition:!0,...eB,...eG,popperOptions:eU,children:e=>{let{TransitionProps:t}=e;return(0,C.jsx)(eK,{timeout:eo.transitions.duration.shorter,...t,...eJ,children:(0,C.jsxs)(eX,{...eQ,children:[et,h?(0,C.jsx)(eZ,{...e0}):null]})})}})]})})},12583:()=>{},12647:(e,t,r)=>{"use strict";r.d(t,{$i:()=>d,F0:()=>f,eA:()=>u});var n=r(98986),i=r(70026),a=r(47580),o=r(97043),s=r(15570),l=r(79516);let c=e=>Object.entries(e).filter(e=>{let[t,r]=e;return t&&!(0,l.A)(r)}),u=e=>{let{obj:t={}}=e,r=c(t).map(e=>{let[t,r]=e;return"".concat(t,"=").concat(Array.isArray(r)?r.join(","):r)}).join("&");return(null==r?void 0:r.length)?"?".concat(r):""},d=e=>{let t=new URL(e);return t.origin+t.pathname},p=async e=>{let{title:t,url:r}=e,n=!1;if(navigator.share)try{await navigator.share({title:t,url:r}),n=!0}catch(e){}return n},h=(e,t)=>(0,s.F)({text:e,onSuccess:()=>{a.o.success({message:null===n.Ru||void 0===n.Ru?void 0:n.Ru.t("common.link_copied")}),(null==t?void 0:t.onCopyUrlSuccess)&&t.onCopyUrlSuccess()},onFail:e=>{a.o.success({message:null===n.Ru||void 0===n.Ru?void 0:n.Ru.t("common.copy_link_failed")}),(null==t?void 0:t.onCopyUrlFailure)&&t.onCopyUrlFailure(e)}}),f=async e=>{let{title:t,url:r}=e;try{if(i.xl)return h(r);p({title:t,url:r})}catch(e){(0,o.me)({err:e,level:"info",context:{key:"shareOrCopyUrl",message:"Failed to share or copy URL"},toast:{type:"error",props:{message:"Unable to complete the action. Please try again."}}})}}},12652:(e,t,r)=>{"use strict";function n(e,t){let r={...t};for(let i in e)if(Object.prototype.hasOwnProperty.call(e,i)){let a=i;if("components"===a||"slots"===a)r[a]={...e[a],...r[a]};else if("componentsProps"===a||"slotProps"===a){let i=e[a],o=t[a];if(o)if(i){for(let e in r[a]={...o},i)if(Object.prototype.hasOwnProperty.call(i,e)){let t=e;r[a][t]=n(i[t],o[t])}}else r[a]=o;else r[a]=i||{}}else void 0===r[a]&&(r[a]=e[a])}return r}r.d(t,{A:()=>n})},12781:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});
1var n=r(60259),i=r(30172),a=r(24975),o=r(81214);let s=function(e,t){if(null==e)return{};var r=(0,n.A)((0,o.A)(e),function(e){return[e]});return t=(0,i.A)(t),(0,a.A)(e,r,function(e,r){return t(e,r[0])})}},12860:()=>{},12932:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(50212),i=r(84784);let a=function(e){if(void 0===e)return{};let t={};return Object.keys(e).filter(t=>!(t.match(/^on[A-Z]/)&&"function"==typeof e[t])).forEach(r=>{t[r]=e[r]}),t},o=function(e){let{getSlotProps:t,additionalProps:r,externalSlotProps:o,externalForwardedProps:s,className:l}=e;if(!t){let e=(0,n.A)(null==r?void 0:r.className,l,null==s?void 0:s.className,null==o?void 0:o.className),t={...null==r?void 0:r.style,...null==s?void 0:s.style,...null==o?void 0:o.style},i={...r,...s,...o};return e.length>0&&(i.className=e),Object.keys(t).length>0&&(i.style=t),{props:i,internalRef:void 0}}let c=(0,i.A)({...s,...o}),u=a(o),d=a(s),p=t(c),h=(0,n.A)(null==p?void 0:p.className,null==r?void 0:r.className,l,null==s?void 0:s.className,null==o?void 0:o.className),f={...null==p?void 0:p.style,...null==r?void 0:r.style,...null==s?void 0:s.style,...null==o?void 0:o.style},m={...p,...r,...d,...u};return h.length>0&&(m.className=h),Object.keys(f).length>0&&(m.style=f),{props:m,internalRef:p.ref}}},13317:(e,t,r)=>{"use strict";r.d(t,{A:()=>o,b:()=>a});var n=r(11722),i=r(91206);function a(e){return(0,i.Ay)("MuiCircularProgress",e)}let o=(0,n.A)("MuiCircularProgress",["root","determinate","indeterminate","colorPrimary","colorSecondary","svg","circle","circleDeterminate","circleIndeterminate","circleDisableShrink"])},13365:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var n=r(63599),i=r(63322),a="[object AsyncFunction]",o="[object Function]",s="[object GeneratorFunction]",l="[object Proxy]";let c=function(e){if(!(0,i.A)(e))return!1;var t=(0,n.A)(e);return t==o||t==s||t==a||t==l}},13410:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=/((['"])(?:(?!\2|\\).|\\(?:\r\n|[\s\S]))*(\2)?|`(?:[^`\\$]|\\[\s\S]|\$(?!\{)|\$\{(?:[^{}]|\{[^}]*\}?)*\}?)*(`)?)|(\/\/.*)|(\/\*(?:[^*]|\*(?!\/))*(\*\/)?)|(\/(?!\*)(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\]\\]).|\\.)+\/(?:(?!\s*(?:\b|[\u0080-\uFFFF$\\'"~({]|[+\-!](?!=)|\.?\d))|[gmiyus]{1,6}\b(?![\u0080-\uFFFF$\\]|\s*(?:[+\-*%&|^<>!=?({]|\/(?![\/*])))))|(0[xX][\da-fA-F]+|0[oO][0-7]+|0[bB][01]+|(?:\d*\.\d+|\d+\.?)(?:[eE][+-]?\d+)?)|((?!\d)(?:(?!\s)[$\w\u0080-\uFFFF]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+)|(--|\+\+|&&|\|\||=>|\.{3}|(?:[+\-\/%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2})=?|[?~.,:;[\](){}])|(\s+)|(^$|[\s\S])/g,t.matchToToken=function(e){var t={type:"invalid",value:e[0],closed:void 0};return e[1]?(t.type="string",t.closed=!!(e[3]||e[4])):e[5]?t.type="comment":e[6]?(t.type="comment",t.closed=!!e[7]):e[8]?t.type="regex":e[9]?t.type="number":e[10]?t.type="name":e[11]?t.type="punctuator":e[12]&&(t.type="whitespace"),t}},13486:(e,t,r)=>{"use strict";r.d(t,{v:()=>i});var n=r(46193);let i=()=>(0,n.A)("(min-width: 992px)")},13934:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n="$$material"},14318:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(58309);let i=[["path",{d:"m17 2 4 4-4 4",key:"nntrym"}],["path",{d:"M3 11v-1a4 4 0 0 1 4-4h14",key:"84bu3i"}],["path",{d:"m7 22-4-4 4-4",key:"1wqhfi"}],["path",{d:"M21 13v1a4 4 0 0 1-4 4H3",key:"1rx37r"}]],a=(0,n.A)("repeat",i)},14737:(e,t,r)=>{"use strict";r.d(t,{yMB:()=>u,b5g:()=>g,tFx:()=>f,NzX:()=>h,YGM:()=>m});var n=r(75647),i=r(40545),a=r(24785);let o=["en-US","en-GB","zh-TW","ja-JP","ko-KR","th-TH","vi-VN","id-ID"],s=e=>!!n.A.isCancel(e)||"object"==typeof e&&null!==e&&"ERR_CANCELED"===e.code,l=6e4,c=e=>(e.headers||(e.headers={}),Reflect.set(e.headers,"Content-Type","application/json"),void 0===e.timeout&&(e.timeout=l),e),u=e=>{let{initialConfig:t,getAuthCredentials:r,onResponseSuccess:l,onResponseError:u}=e,d=n.A.create(c(t));return d.interceptors.request.use(e=>{let t;return r&&(t=r())&&(e.headers["access-token"]=t["access-token"],e.headers.uid=t.uid,e.headers.client=t.client),e},e=>Promise.reject(e)),d.interceptors.response.use(e=>{let t=!e.config.responseType||"json"===e.config.responseType;if(e.data&&t&&(e.data=(0,a.A)(e.data,{exclude:o,deep:!0})),l){let t=l(e);if(t)return t}return e},async e=>{var t,r;if(s(e))return Promise.reject(e);let n=!(null==e||null==(t=e.config)?void 0:t.ignoreThrowError)||!(null==e||null==(r=e.config)?void 0:r.isIgnoreError);if(u){let t=u(e);if(n&&t)return t}return n?Promise.reject(e):void 0}),async e=>{if(!i.O_k&&e.mockData){console.warn("\n --------------------------------------\n Please notice this warning. \n\n The mock data found in the staging, the mock data returned.\n Create the mock data will be useful for frontend blocked by backend or testing.\n --------------------------------------\n ");let t={...e.mockData,status:e.mockData.status||200,headers:{"Content-Type":"application/json",...e.headers||{}},config:e,statusText:"Mock data will return from caller"};
1return t.status<400?Promise.resolve(t):Promise.reject(t)}return d.request(e)}};var d=r(15599),p=r.n(d);let h=e=>{let{mode:t,filePath:r}=e;return{method:"POST",url:"/v1/asset_urls",data:{mode:t,file_path:r}}},f=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return{url:"/v1/facebooks",method:"POST",data:{access_token:e,device_identifier:t}}};r(38822);let m=e=>{let{materialId:t,sort:r}=e;return{url:"/v1/materials/".concat(t,"/answer_sheet_rows"),method:"GET",params:{material_id:t,sort:r}}},g=(e,t)=>{let r={};if("cvs"===t.deliveryType){let{deliveryType:e,merchantID:n,cvsStoreID:i,fullName:a,mobile:o,...s}=t;r={cvs_shipping_address:{full_name:a,mobile:o,ecpay_response_body:{...p()(s,{deep:!0}),merchant_id:n,cvs_store_id:i}}}}else{let{deliveryType:e,line1:n,...i}=t;r={address:{...p()(i,{deep:!0}),line_1:n}}}return{url:"v1/shop/orders/".concat(e),method:"PATCH",data:{data:{attributes:r}}}}},14783:()=>{},14841:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(58309);let i=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],a=(0,n.A)("info",i)},15003:(e,t,r)=>{"use strict";r.d(t,{T:()=>L});var n=r(2860),i=r(24150),a=r(16491),o=r(74961),s=r(80272),l=r(96727),c=r(95005),u=r(15553),d=r(1909),p=r(9428);let h=(0,i.A)("button",{target:"e1x6q0cl0"})("cursor:pointer;border:none;outline:none;padding:0.5rem;width:100%;height:2.5rem;border-radius:0.5rem;color:",p.A.color.palette["grayscale-000"],";background-color:",p.A.color.palette["kiao-blue-500"],";&:disabled{cursor:not-allowed;pointer-events:none;color:",p.A.color.palette["grayscale-300"],";background-color:",p.A.color.palette["grayscale-100"],";}"),f=(0,i.A)("p",{target:"e1tq057l0"})("margin-top:0;margin-bottom:10px;color:#f06449;font-size:12px;"),m=(0,i.A)("label",{target:"e1rt3e8o0"})("position:relative;display:block;margin-bottom:",e=>{let{mb:t}=e;return t||"1rem"},";span{display:inline-block;margin-bottom:0.25rem;font-size:0.75rem;font-weight:500;}"),g=(0,i.A)("input",{target:"e191i56r0"})("box-sizing:border-box;border:1px solid #e5e5e5;border-radius:8px;padding:0.625rem;width:100%;::placeholder,::-webkit-input-placeholder{color:rgba(56,59,61,0.6);font-size:0.875rem;}:-ms-input-placeholder{color:rgba(56,59,61,0.6);font-size:0.875rem;}"),y=e=>{let{register:t}=e,{error:r,email:i}=(0,s.Ym)();return(0,n.Y)(g,{type:"email",placeholder:null==i?void 0:i.plhr,...t("email",{required:null==r?void 0:r.required,pattern:{value:/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i,message:(null==r?void 0:r.email)||""}})})};var v=r(55729),b=r(47126),w=r(59006);let x=e=>{let{layout:t,setLayout:r,onClose:i}=e,{signin:a,signup:o,forgetPassword:l,resetPwd:c}=(0,s.Ym)(),d=(0,v.useMemo)(()=>{switch(t){case"sign-in":default:return a.title;case"sign-up":return o.title;case"forget-password":return l.title;case"reset-password":return c.title}},[t,a.title,o.title,l.title,c.title]),h=(0,v.useMemo)(()=>{let e={display:"flex",flexDirection:"column"};return"reset-password"===t?{...e,textAlign:"center",marginBottom:"1.25rem"}:e},[t]);return(0,n.FD)("div",{style:h,className:"flex flex-col gap-0.5",children:[(0,n.FD)("div",{className:"flex flex-row justify-between",children:[(0,n.Y)(u.E,{component:"h5",variant:"heading_m_500",children:d}),i&&(0,n.Y)(w.$n,{style:{color:p.A.color.palette["grayscale-000"]},onClick:i,children:(0,n.Y)(b.I,{type:"close",color:"grayscale-800",size:24})})]}),r&&(0,n.FD)("div",{children:[(0,n.Y)(u.E,{variant:"body_s_400",style:{marginRight:"0.25rem"},children:"sign-in"===t?null==a?void 0:a.hintTxt:null==o?void 0:o.hintTxt}),(0,n.Y)("button",{type:"button",style:{border:"none",outline:"none",cursor:"pointer",background:"none",color:p.A.color.palette["primary-500"],textDecoration:"underline"},onClick:()=>r("sign-in"===t?"sign-up":"sign-in"),children:"sign-in"===t?null==a?void 0:a.hintBtn:null==o?void 0:o.hintBtn})]})]})},k={email:"",password:""},A=e=>{let{setLayout:t,onSubmit:r}=e,{forgetPassword:i}=(0,s.Ym)(),{register:a,formState:{errors:o,isSubmitting:l},handleSubmit:c,watch:g}=(0,d.mN)({defaultValues:k}),v=g("email");return(0,n.FD)("form",{onSubmit:c(r),style:{display:"flex",flexDirection:"column",rowGap:"1.25rem"},children:[(0,n.FD)("div",{children:[(0,n.Y)(x,{layout:"forget-password"}),(0,n.Y)(u.E,{component:"div",variant:"body_s_400",className:"mt-2",children:i.pageDesc})]}),(0,n.Y)(m,{isInvalid:!!o.email,mb:"0px",children:(0,n.Y)(y,{register:a})}),o.email&&(0,n.Y)(f,{children:o.email.message}),(0,n.Y)(h,{type:"submit",disabled:l||!v,children:i.sendEmail}),(0,n.Y)("button",{type:"button",onClick:()=>t("sign-in"),style:{border:"none",outline:"none",background:"none",padding:0,margin:"auto",color:p.A.color.palette["primary-500"],cursor:"pointer"},children:i.toSignIn})]})},C=e=>{let{text:t}=e;return(0,n.FD)("div",{className:"flex gap-1.5 rounded-lg bg-[#0032bb]/5 px-2.5 py-1.5 ",children:[(0,n.Y)(b.I,{type:"featured_seasonal_and_gifts",color:"primary-700",size:20,style:{marginTop:"2px",flex:"none"}}),(0,n.Y)(u.E,{variant:"body_s_400",color:"primary-700",children:t})]})},S={password:"",confirmPassword:""},E=e=>{let{onSubmit:t}=e,{resetPwd:r}=(0,s.Ym)(),{register:i,formState:{errors:a,isSubmitting:o},setError:l,handleSubmit:c}=(0,d.mN)({defaultValues:S}),p=async e=>{let{password:n,confirmPassword:i}=e;if(n!==i)return l("confirmPassword",{message:r.err.pwdNotMatch});await t(e)};return(0,n.FD)("form",{onSubmit:c(p),children:[(0,n.Y)(x,{layout:"reset-password"}),(0,n.FD)(m,{isInvalid:!!a.password,children:[(0,n.Y)(u.E,{variant:"body_m_400",style:{marginBottom:"0.25rem"},children:r.newPwd.title}),(0,n.Y)(g,{type:"password",placeholder:r.newPwd.plhdr,...i("password",{required:r.err.noPwd,minLength:{value:6,message:r.err.pwdTooShort||""}})})]}),a.password&&(0,n.Y)(f,{children:a.password.message}),(0,n.FD)(m,{isInvalid:!!a.confirmPassword,children:[(0,n.Y)(u.E,{variant:"body_m_400",style:{marginBottom:"0.25rem"},children:r.confirmNewPwd.title}),(0,n.Y)(g,{type:"password",placeholder:r.confirmNewPwd.plhdr,...i("confirmPassword",{required:r.err.noPwd,minLength:{value:6,message:r.err.pwdTooShort||""}})})]}),a.confirmPassword&&(0,n.Y)(f,{children:a.confirmPassword.message}),(0,n.Y)(h,{type:"submit",disabled:o,style:{fontSize:"0.75rem"},children:o?r.loading:r.savePwd})]})},_={email:"",password:"",showPassword:!1},T=e=>{let{handleAuth:t,setLayout:r}=e,{signin:i,error:a,loading:o,password:l,email:c,forgetPassword:p}=(0,s.Ym)(),{register:y,handleSubmit:v,watch:w,setValue:x,formState:{errors:k,isSubmitting:A}}=(0,d.mN)({defaultValues:_}),C=w("showPassword");return(0,n.FD)("form",{onSubmit:v(t),children:[(0,n.Y)(m,{isInvalid:!!k.email,children:(0,n.Y)(g,{type:"email",placeholder:c.plhr,...y("email",{required:a.required,pattern:{value:/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i,message:a.email||""}})})}),k.email&&(0,n.Y)(f,{children:k.email.message}),(0,n.FD)(m,{isInvalid:!!k.password,mb:"0.5rem",children:[(0,n.Y)(g,{type:C?"text":"password",placeholder:l.plhr,...y("password",{required:a.required,minLength:{value:6,message:a.password||""}})}),(0,n.Y)(b.I,{type:C?"visibility":"visibility_off",color:"grayscale-500",className:"absolute right-3 top-1/2 z-10 -translate-y-1/2 cursor-pointer",onClick:e=>{e.preventDefault(),x("showPassword",!C)}})]}),k.password&&(0,n.Y)(f,{children:k.password.message}),(0,n.Y)("button",{type:"button",onClick:()=>r("forget-password"),style:{padding:0,border:"none",outline:"none",background:"none",cursor:"pointer",marginBottom:"1rem"},children:(0,n.Y)(u.E,{variant:"body_s_400",color:"grayscale-400",children:p.title})}),(0,n.Y)(h,{type:"submit",disabled:A,children:A?o:i.submit})]})},P={name:"",email:"",password:"",showPassword:!1},O=e=>{let{termUrl:t,handleAuth:r}=e,{name:i,password:a,signup:o,error:l,loading:c,privacy:v}=(0,s.Ym)(),{register:w,handleSubmit:x,watch:k,setValue:A,formState:{errors:C,isSubmitting:S}}=(0,d.mN)({defaultValues:P}),E=k("showPassword");return(0,n.FD)("form",{onSubmit:x(r),className:"flex flex-col gap-4",children:[(0,n.FD)(m,{isInvalid:!!C.name,mb:"0",children:[(0,n.Y)(g,{placeholder:i.plhr,...w("name",{required:l.required})}),C.name&&(0,n.Y)(f,{children:C.name.message})]}),(0,n.FD)(m,{isInvalid:!!C.email,mb:"0",children:[(0,n.Y)(y,{register:w}),C.email&&(0,n.Y)(f,{children:C.email.message})]}),(0,n.FD)(m,{isInvalid:!!C.password,mb:"0",children:[(0,n.Y)(g,{type:E?"text":"password",placeholder:a.plhr,...w("password",{required:l.required,minLength:{value:6,message:l.password||""}})}),(0,n.Y)(b.I,{type:E?"visibility":"visibility_off",color:"grayscale-500",className:"absolute right-3 top-1/2 z-10 -translate-y-1/2 cursor-pointer",onClick:e=>{e.preventDefault(),A("showPassword",!E)}}),C.password&&(0,n.Y)(f,{children:C.password.message})]}),(0,n.FD)("div",{className:"flex flex-col gap-2",children:[(0,n.Y)(h,{type:"submit",disabled:S,children:S?c:o.submit}),t&&(0,n.FD)(u.E,{component:"p",variant:"label_s_400",style:{textAlign:"center"},children:[v.message," ",(0,n.Y)("a",{href:t,target:"_blank",rel:"noopener noreferrer",style:{color:p.A.color.palette["primary-500"]},children:null==v?void 0:v.linkText})]})]})]})};var I=r(51965);r(9641);var M=r(84660);let L=e=>{let{logo:t,stage:r,domain:i,className:d,apiDomain:p,layout:h="sign-in",termUrl:f,setLayout:m,lang:g="zh-TW",fbAppId:y,fbState:v,fbRedirectUri:b,googleClientId:w,appleClientId:k,appleRedirectUri:S,onError:_,onSuccess:P,onRequest:L,deviceIdentifier:R,clientInfo:j,endUserClientInfo:D,forgetPasswordLink:F,onforgetPasswordSuccess:V,onforgetPasswordError:B,onresetPasswordSuccess:z,onresetPasswordError:$,onClose:U}=e;(0,o.R)(r,i);let{requestHeaders:q}=(0,l.k)(i),H=(0,c.e)({apiDomain:p,stage:r,domain:i,lang:g,clientInfo:j,endUserClientInfo:D,deviceIdentifier:R}),Y=async e=>{let t,r;try{t=await fetch("".concat(p,"/v1/auth/password"),{method:"POST",headers:q({lang:g,clientInfo:j,endUserClientInfo:D}),body:JSON.stringify({email:e.email,redirect_url:F})}),r=await t.json().catch(()=>({}))}catch(e){console.error("Forget password request failed:",e),B({status:0});return}t.ok&&r.success?V(r.message):B({res:r,status:t.status})},W=async e=>{let t,r,{uid:n,client:i,token:a}=Object.fromEntries(new URLSearchParams(window.location.search).entries());if(!(n&&i&&a)){$&&$({msg:"missing_credential"});return}let o={uid:n,client:i,"access-token":a};try{t=await fetch("".concat(p,"/v1/auth/password"),{method:"PATCH",headers:q({lang:g,clientInfo:j,endUserClientInfo:D,credentials:o}),body:JSON.stringify({password:e.password,password_confirmation:e.confirmPassword})}),r=await t.json().catch(()=>({}))}catch(e){console.error("Reset password request failed:",e),$&&$({status:0});return}t.ok&&r.success&&z?z(r.message):$&&$({res:r,status:t.status})},G=e=>async t=>{"function"==typeof L&&L();let r="sign-up"===e?await H.signUp(t):await H.signIn(t);if(r.ok){"function"==typeof P&&P({type:e,data:r.data});return}"function"==typeof _&&_({res:r.res,status:r.status,type:"email",errCode:r.errCode,msg:r.msg})},K=async(e,t)=>{"function"==typeof L&&L();let r=await H.signInWithSocial(e,t);if(r.ok){"function"==typeof P&&P({type:e,data:r.data});return}"function"==typeof _&&_({res:r.res,status:r.status,type:"email",errCode:r.errCode,msg:r.msg})};if("forget-password"===h)return(0,n.Y)(A,{setLayout:m,onSubmit:Y});let J=g||"zh-TW";if("reset-password"===h)return(0,n.Y)(s.YO,{defaultLang:J,children:(0,n.Y)(E,{onSubmit:W})});let X="sign-in"===h?"signin":"signup";return(0,n.Y)(s.YO,{defaultLang:J,children:(0,n.FD)("div",{className:(0,M.Q)("flex flex-col gap-3",d),children:[t,(0,n.Y)(x,{layout:h,setLayout:m,onClose:U}
1),"sign-up"===h&&(0,n.Y)(C,{text:s.IB[J].signup.offer}),(0,n.FD)(N,{children:[(0,n.Y)("div",{className:"divider"}),(0,n.Y)(u.E,{variant:"body_s_400",children:s.IB[J][X].oneClick}),(0,n.Y)("div",{className:"divider"})]}),(0,n.Y)(a.G_,{clientId:null!=w?w:"",children:(0,n.Y)("div",{className:"flex justify-center gap-7",children:(0,n.Y)(I.A,{onSuccess:K,onError:_,fbAppId:y,fbRedirectUri:b,fbState:v,googleClientId:w,appleClientId:k,appleRedirectUri:S})})}),(0,n.FD)(N,{children:[(0,n.Y)("div",{className:"divider"}),(0,n.Y)(u.E,{variant:"body_s_400",children:s.IB[J][X].useEmail}),(0,n.Y)("div",{className:"divider"})]}),"sign-in"===h&&(0,n.Y)(T,{handleAuth:G("sign-in"),setLayout:m}),"sign-up"===h&&(0,n.Y)(O,{handleAuth:G("sign-up"),termUrl:f})]})})},N=(0,i.A)("div",{target:"e1twu1it0"})("display:flex;align-items:center;justify-content:'center';column-gap:0.75rem;.divider{flex-grow:1;height:1px;border-top:1px solid #e5e5e5;}")},15553:(e,t,r)=>{"use strict";r.d(t,{q:()=>u,E:()=>s});var n=r(2860),i=r(55729),a=r(9428);r(12860);let o=e=>{switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":case"p":case"li":case"div":case"article":return e;default:return"span"}},s=(0,i.forwardRef)((e,t)=>{let{variant:r,style:i,children:s,className:l="",color:c="grayscale-800",component:u="span",...d}=e,p="".concat(r," ").concat(l," ").concat("span"!==u?"m-0 p-0":"").trim(),h="unset"===c?i:{...i,color:"inherit"===c?c:a.A.color.palette[c]},f=o(u);return(0,n.Y)(f,{...d,ref:t,style:h,className:p,children:s})});var l=r(98986);let c={Skeleton:r(39977).E,HighlightBold:e=>{let{children:t,hihglightColor:r="peach-500"}=e;return(0,n.Y)(s,{variant:"body_m_500",color:r,children:t})},Highlight:e=>{let{children:t,hihglightColor:r="peach-500"}=e;return(0,n.Y)(s,{variant:"body_m_400",color:r,children:t})},HighlightWithUnderline:e=>{let{children:t,hihglightColor:r="peach-500"}=e;return(0,n.Y)(s,{variant:"body_m_400",color:r,className:"underline underline-offset-2",children:t})}},u=e=>{let{children:t,hihglightColor:r="peach-500",transProps:a,...o}=e,u={Highlight:(0,n.Y)(c.Highlight,{hihglightColor:r}),HighlightBold:(0,n.Y)(c.HighlightBold,{hihglightColor:r}),HighlightWithUnderline:(0,n.Y)(c.HighlightWithUnderline,{hihglightColor:r})},d="function"==typeof(null==a?void 0:a.components)?Object.entries(a.components((null==a?void 0:a.values)||{},c)).reduce((e,t)=>{let[r,n]=t;return(0,i.isValidElement)(n)&&(e[r]=n),e},{}):null==a?void 0:a.components;return(0,n.Y)(s,{...o,children:(0,n.Y)(l.x6,{...a,components:{...u,...d},children:t})})}},15570:(e,t,r)=>{"use strict";r.d(t,{F:()=>n});let n=async e=>{let{text:t,onSuccess:r,onFail:n}=e;try{await navigator.clipboard.writeText(t),r&&r()}catch(e){try{let e=document.createElement("textarea");e.value=t,document.body.appendChild(e),e.select(),document.execCommand("copy"),document.body.removeChild(e),r&&r()}catch(e){n&&n(e)}}}},15599:(e,t,r)=>{"use strict";let n=r(73461),{snakeCase:i}=r(38676),a={}.constructor;function o(e,t){return e.some(function(e){return"string"==typeof e?e===t:e.test(t)})}function s(e,t,r){return r.shouldRecurse?{shouldRecurse:r.shouldRecurse(e,t)}:void 0}e.exports=function(e,t){if(Array.isArray(e)){if(e.some(e=>e.constructor!==a))throw Error("obj must be array of plain objects")}else if(e.constructor!==a)throw Error("obj must be an plain object");let r=(t=Object.assign({deep:!0,exclude:[],parsingOptions:{}},t)).snakeCase||(e=>i(e,t.parsingOptions));return n(e,function(e,n){return[o(t.exclude,e)?e:r(e),n,s(e,n,t)]},t)}},15675:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>s,cz:()=>n,p0:()=>i});let n={easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.4, 0, 1, 1)",sharp:"cubic-bezier(0.4, 0, 0.6, 1)"},i={shortest:150,shorter:200,short:250,standard:300,complex:375,enteringScreen:225,leavingScreen:195};function a(e){return"".concat(Math.round(e),"ms")}function o(e){if(!e)return 0;let t=e/36;return Math.min(Math.round((4+15*t**.25+t/5)*10),3e3)}function s(e){let t={...n,...e.easing},r={...i,...e.duration};return{getAutoHeightDuration:o,create:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["all"],n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{duration:i=r.standard,easing:o=t.easeInOut,delay:s=0,...l}=n;return(Array.isArray(e)?e:[e]).map(e=>"".concat(e," ").concat("string"==typeof i?i:a(i)," ").concat(o," ").concat("string"==typeof s?s:a(s))).join(",")},...e,easing:t,duration:r}}},15800:(e,t,r)=>{"use strict";function n(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}}r.d(t,{A:()=>n})},15861:(e,t,r)=>{"use strict";r.d(t,{A:()=>g});
1var n=r(55729),i=r(50212),a=r(40412),o=r(74004),s=r(1686),l=r(88273),c=r(23986),u=r(49467),d=r(76891),p=r(70707),h=r(6029);let f=e=>{let{square:t,elevation:r,variant:n,classes:i}=e,o={root:["root",n,!t&&"rounded","elevation"===n&&"elevation".concat(r)]};return(0,a.A)(o,p.j,i)},m=(0,s.Ay)("div",{name:"MuiPaper",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[r.variant],!r.square&&t.rounded,"elevation"===r.variant&&t["elevation".concat(r.elevation)]]}})((0,c.A)(e=>{let{theme:t}=e;return{backgroundColor:(t.vars||t).palette.background.paper,color:(t.vars||t).palette.text.primary,transition:t.transitions.create("box-shadow"),variants:[{props:e=>{let{ownerState:t}=e;return!t.square},style:{borderRadius:t.shape.borderRadius}},{props:{variant:"outlined"},style:{border:"1px solid ".concat((t.vars||t).palette.divider)}},{props:{variant:"elevation"},style:{boxShadow:"var(--Paper-shadow)",backgroundImage:"var(--Paper-overlay)"}}]}})),g=n.forwardRef(function(e,t){var r;let n=(0,u.b)({props:e,name:"MuiPaper"}),a=(0,l.A)(),{className:s,component:c="div",elevation:p=1,square:g=!1,variant:y="elevation",...v}=n,b={...n,component:c,elevation:p,square:g,variant:y},w=f(b);return(0,h.jsx)(m,{as:c,ownerState:b,className:(0,i.A)(w.root,s),ref:t,...v,style:{..."elevation"===y&&{"--Paper-shadow":(a.vars||a).shadows[p],...a.vars&&{"--Paper-overlay":null==(r=a.vars.overlays)?void 0:r[p]},...!a.vars&&"dark"===a.palette.mode&&{"--Paper-overlay":"linear-gradient(".concat((0,o.X4)("#fff",(0,d.A)(p)),", ").concat((0,o.X4)("#fff",(0,d.A)(p)),")")}},...v.style}})})},16242:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=function(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}},16285:(e,t,r)=>{"use strict";r.d(t,{R:()=>o,x:()=>s});var n=r(55729);let i={},a=n.createContext(i);function o(e){let t=n.useContext(a);return n.useMemo(function(){return"function"==typeof e?e(t):{...t,...e}},[t,e])}function s(e){let t;return t=e.disableParentContext?"function"==typeof e.components?e.components(i):e.components||i:o(e.components),n.createElement(a.Provider,{value:t},e.children)}},16491:(e,t,r)=>{"use strict";r.d(t,{G_:()=>o,mg:()=>l});var n=r(55729);function i(e={}){let{nonce:t,onScriptLoadSuccess:r,onScriptLoadError:a}=e,[o,s]=(0,n.useState)(!1),l=(0,n.useRef)(r);l.current=r;let c=(0,n.useRef)(a);return c.current=a,(0,n.useEffect)(()=>{let e=document.createElement("script");return e.src="https://accounts.google.com/gsi/client",e.async=!0,e.defer=!0,e.nonce=t,e.onload=()=>{var e;s(!0),null==(e=l.current)||e.call(l)},e.onerror=()=>{var e;s(!1),null==(e=c.current)||e.call(c)},document.body.appendChild(e),()=>{document.body.removeChild(e)}},[t]),o}let a=(0,n.createContext)(null);function o({clientId:e,nonce:t,onScriptLoadSuccess:r,onScriptLoadError:o,children:s}){let l=i({nonce:t,onScriptLoadSuccess:r,onScriptLoadError:o}),c=(0,n.useMemo)(()=>({clientId:e,scriptLoadedSuccessfully:l}),[e,l]);return n.createElement(a.Provider,{value:c},s)}function s(){let e=(0,n.useContext)(a);if(!e)throw Error("Google OAuth components must be used within GoogleOAuthProvider");return e}function l({flow:e="implicit",scope:t="",onSuccess:r,onError:i,onNonOAuthError:a,overrideScope:o,state:l,...c}){let{clientId:u,scriptLoadedSuccessfully:d}=s(),p=(0,n.useRef)(),h=(0,n.useRef)(r);h.current=r;let f=(0,n.useRef)(i);f.current=i;let m=(0,n.useRef)(a);m.current=a,(0,n.useEffect)(()=>{var r;if(!d)return;let n="implicit"===e?"initTokenClient":"initCodeClient";p.current=null==(r=null==window?void 0:window.google)?void 0:r.accounts.oauth2[n]({client_id:u,scope:o?t:`openid profile email ${t}`,callback:e=>{var t,r;if(e.error)return null==(t=f.current)?void 0:t.call(f,e);null==(r=h.current)||r.call(h,e)},error_callback:e=>{var t;null==(t=m.current)||t.call(m,e)},state:l,...c})},[u,d,e,t,l]);let g=(0,n.useCallback)(e=>{var t;return null==(t=p.current)?void 0:t.requestAccessToken(e)},[]),y=(0,n.useCallback)(()=>{var e;return null==(e=p.current)?void 0:e.requestCode()},[]);return"implicit"===e?g:y}},16588:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(30423),i=r(96228),a=r(50825),o=r(68998);let s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)(0,n.A)(t,(0,a.A)(e)),e=(0,i.A)(e);return t}:o.A},16919:(e,t,r)=>{"use strict";r.d(t,{i:()=>o,n:()=>f,r:()=>l,s:()=>a,t:()=>y});var n=r(72579),i=r(55729);let a=function(e){return{method:"throttle",timeMs:e}}(function(){if("undefined"==typeof window||!window.GestureEvent)return 50;try{let e=navigator.userAgent?.match(/version\/([\d\.]+) safari/i);return parseFloat(e[1])>=17?120:320}catch{return 320}}());function o(e){return null===e||Array.isArray(e)&&0===e.length}function s(e,t,r){if("string"==typeof e)r.set(t,e);else{for(let n of(r.delete(t),e))r.append(t,n);r.has(t)||r.set(t,"")}return r}function l(){let e=new Map;return{on(t,r){let n=e.get(t)||[];return n.push(r),e.set(t,n),()=>this.off(t,r)},off(t,r){let n=e.get(t);n&&e.set(t,n.filter(e=>e!==r))}
1,emit(t,r){e.get(t)?.forEach(e=>e(r))}}}function c(e,t,r){let n=setTimeout(function(){e(),r.removeEventListener("abort",i)},t);function i(){clearTimeout(n),r.removeEventListener("abort",i)}r.addEventListener("abort",i)}function u(){let e=Promise;if(Promise.hasOwnProperty("withResolvers"))return Promise.withResolvers();let t=()=>{},r=()=>{};return{promise:new e((e,n)=>{t=e,r=n}),resolve:t,reject:r}}function d(e,t){let r=t;for(let t=e.length-1;t>=0;t--){let n=e[t];if(!n)continue;let i=r;r=()=>n(i)}r()}function p(){return new URLSearchParams(location.search)}var h=class{updateMap=new Map;options={history:"replace",scroll:!1,shallow:!0};timeMs=a.timeMs;transitions=new Set;resolvers=null;controller=null;lastFlushedAt=0;resetQueueOnNextPush=!1;push({key:e,query:t,options:r},i=a.timeMs){this.resetQueueOnNextPush&&(this.reset(),this.resetQueueOnNextPush=!1),(0,n.c)("[nuqs gtq] Enqueueing %s=%s %O",e,t,r),this.updateMap.set(e,t),"push"===r.history&&(this.options.history="push"),r.scroll&&(this.options.scroll=!0),!1===r.shallow&&(this.options.shallow=!1),r.startTransition&&this.transitions.add(r.startTransition),(!Number.isFinite(this.timeMs)||i>this.timeMs)&&(this.timeMs=i)}getQueuedQuery(e){return this.updateMap.get(e)}getPendingPromise({getSearchParamsSnapshot:e=p}){return this.resolvers?.promise??Promise.resolve(e())}flush({getSearchParamsSnapshot:e=p,rateLimitFactor:t=1,...r},i){if(this.controller??=new AbortController,!Number.isFinite(this.timeMs))return(0,n.c)("[nuqs gtq] Skipping flush due to throttleMs=Infinity"),Promise.resolve(e());if(this.resolvers)return this.resolvers.promise;this.resolvers=u();let a=()=>{this.lastFlushedAt=performance.now();let[t,n]=this.applyPendingUpdates({...r,autoResetQueueOnUpdate:r.autoResetQueueOnUpdate??!0,getSearchParamsSnapshot:e},i);null===n?(this.resolvers.resolve(t),this.resetQueueOnNextPush=!0):this.resolvers.reject(t),this.resolvers=null},o=()=>{let e=performance.now()-this.lastFlushedAt,r=this.timeMs,i=t*Math.max(0,r-e);(0,n.c)("[nuqs gtq] Scheduling flush in %f ms. Throttled at %f ms (x%f)",i,r,t),0===i?a():c(a,i,this.controller.signal)};return c(o,0,this.controller.signal),this.resolvers.promise}abort(){return this.controller?.abort(),this.controller=new AbortController,this.resolvers?.resolve(new URLSearchParams),this.resolvers=null,this.reset()}reset(){let e=Array.from(this.updateMap.keys());return(0,n.c)("[nuqs gtq] Resetting queue %s",JSON.stringify(Object.fromEntries(this.updateMap))),this.updateMap.clear(),this.transitions.clear(),this.options={history:"replace",scroll:!1,shallow:!0},this.timeMs=a.timeMs,e}applyPendingUpdates(e,t){let{updateUrl:r,getSearchParamsSnapshot:i}=e,a=i();if((0,n.c)("[nuqs gtq] Applying %d pending update(s) on top of %s",this.updateMap.size,a.toString()),0===this.updateMap.size)return[a,null];let o=Array.from(this.updateMap.entries()),l={...this.options},c=Array.from(this.transitions);for(let[t,r]of(e.autoResetQueueOnUpdate&&this.reset(),(0,n.c)("[nuqs gtq] Flushing queue %O with options %O",o,l),o))null===r?a.delete(t):a=s(r,t,a);t&&(a=t(a));try{return d(c,()=>{r(a,l)}),[a,null]}catch(e){return console.error((0,n.s)(429),o.map(([e])=>e).join(),e),[a,e]}}};let f=new h;function m(e,t,r){let n=(0,i.useCallback)(()=>{let t=Object.fromEntries(e.map(e=>[e,r(e)]));return[JSON.stringify(t),t]},[e.join(","),r]),a=(0,i.useRef)(null);return null===a.current&&(a.current=n()),(0,i.useSyncExternalStore)((0,i.useCallback)(r=>{let n=e.map(e=>t(e,r));return()=>n.forEach(e=>e())},[e.join(","),t]),()=>{let[e,t]=n();return a.current[0]===e?a.current[1]:(a.current=[e,t],t)},()=>a.current[1])}var g=class{callback;resolvers=u();controller=new AbortController;queuedValue=void 0;constructor(e){this.callback=e}abort(){this.controller.abort(),this.queuedValue=void 0}push(e,t){return this.queuedValue=e,this.controller.abort(),this.controller=new AbortController,c(()=>{let t=this.resolvers;try{(0,n.c)("[nuqs dq] Flushing debounce queue",e);let r=this.callback(e);(0,n.c)("[nuqs dq] Reset debounce queue %O",this.queuedValue),this.queuedValue=void 0,this.resolvers=u(),r.then(e=>t.resolve(e)).catch(e=>t.reject(e))}catch(e){this.queuedValue=void 0,t.reject(e)}},t,this.controller.signal),this.resolvers.promise}};let y=new class{throttleQueue;queues=new Map;queuedQuerySync=l();constructor(e=new h){this.throttleQueue=e}useQueuedQueries(e){return m(e,(e,t)=>this.queuedQuerySync.on(e,t),e=>this.getQueuedQuery(e))}push(e,t,r,i){if(!Number.isFinite(t))return Promise.resolve((r.getSearchParamsSnapsh
1ot??p)());let a=e.key;if(!this.queues.has(a)){(0,n.c)("[nuqs dqc] Creating debounce queue for `%s`",a);let e=new g(e=>(this.throttleQueue.push(e),this.throttleQueue.flush(r,i).finally(()=>{this.queues.get(e.key)?.queuedValue===void 0&&((0,n.c)("[nuqs dqc] Cleaning up empty queue for `%s`",e.key),this.queues.delete(e.key)),this.queuedQuerySync.emit(e.key)})));this.queues.set(a,e)}(0,n.c)("[nuqs dqc] Enqueueing debounce update %O",e);let o=this.queues.get(a).push(e,t);return this.queuedQuerySync.emit(a),o}abort(e){let t=this.queues.get(e);return t?((0,n.c)("[nuqs dqc] Aborting debounce queue %s=%s",e,t.queuedValue?.query),this.queues.delete(e),t.abort(),this.queuedQuerySync.emit(e),e=>(e.then(t.resolvers.resolve,t.resolvers.reject),e)):e=>e}abortAll(){for(let[e,t]of this.queues.entries())(0,n.c)("[nuqs dqc] Aborting debounce queue %s=%s",e,t.queuedValue?.query),t.abort(),t.resolvers.resolve(new URLSearchParams),this.queuedQuerySync.emit(e);this.queues.clear()}getQueuedQuery(e){let t=this.queues.get(e)?.queuedValue?.query;return void 0!==t?t:this.throttleQueue.getQueuedQuery(e)}}(f)},17259:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(58309);let i=[["path",{d:"m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551",key:"1miecu"}]],a=(0,n.A)("paperclip",i)},17292:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(58309);let i=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}],["path",{d:"M7 11h10",key:"1twpyw"}],["path",{d:"M7 15h6",key:"d9of3u"}],["path",{d:"M7 7h8",key:"af5zfr"}]],a=(0,n.A)("message-square-text",i)},18119:(e,t,r)=>{"use strict";r.d(t,{A:()=>T});var n=r(55729),i=r(50212),a=r(12652),o=r(40412),s=r(74004),l=r(82798),c=r(23714),u=r(1686),d=r(23986),p=r(49467),h=r(1286),f=r(11859),m=r(25684),g=r(68064),y=r(98785),v=r(37784),b=r(88112),w=r(6029);let x=e=>{let{color:t,disableElevation:r,fullWidth:n,size:i,variant:a,loading:s,loadingPosition:l,classes:c}=e,u={root:["root",s&&"loading",a,"".concat(a).concat((0,m.A)(t)),"size".concat((0,m.A)(i)),"".concat(a,"Size").concat((0,m.A)(i)),"color".concat((0,m.A)(t)),r&&"disableElevation",n&&"fullWidth",s&&"loadingPosition".concat((0,m.A)(l))],startIcon:["icon","startIcon","iconSize".concat((0,m.A)(i))],endIcon:["icon","endIcon","iconSize".concat((0,m.A)(i))],loadingIndicator:["loadingIndicator"],loadingWrapper:["loadingWrapper"]},d=(0,o.A)(u,y.B,c);return{...c,...d}},k=[{props:{size:"small"},style:{"& > *:nth-of-type(1)":{fontSize:18}}},{props:{size:"medium"},style:{"& > *:nth-of-type(1)":{fontSize:20}}},{props:{size:"large"},style:{"& > *:nth-of-type(1)":{fontSize:22}}}],A=(0,u.Ay)(h.A,{shouldForwardProp:e=>(0,c.A)(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[r.variant],t["".concat(r.variant).concat((0,m.A)(r.color))],t["size".concat((0,m.A)(r.size))],t["".concat(r.variant,"Size").concat((0,m.A)(r.size))],"inherit"===r.color&&t.colorInherit,r.disableElevation&&t.disableElevation,r.fullWidth&&t.fullWidth,r.loading&&t.loading]}})((0,d.A)(e=>{let{theme:t}=e,r="light"===t.palette.mode?t.palette.grey[300]:t.palette.grey[800],n="light"===t.palette.mode?t.palette.grey.A100:t.palette.grey[700];return{...t.typography.button,minWidth:64,padding:"6px 16px",border:0,borderRadius:(t.vars||t).shape.borderRadius,transition:t.transitions.create(["background-color","box-shadow","border-color","color"],{duration:t.transitions.duration.short}),"&:hover":{textDecoration:"none"},["&.".concat(y.A.disabled)]:{color:(t.vars||t).palette.action.disabled},variants:[{props:{variant:"contained"},style:{color:"var(--variant-containedColor)",backgroundColor:"var(--variant-containedBg)",boxShadow:(t.vars||t).shadows[2],"&:hover":{boxShadow:(t.vars||t).shadows[4],"@media (hover: none)":{boxShadow:(t.vars||t).shadows[2]}},"&:active":{boxShadow:(t.vars||t).shadows[8]},["&.".concat(y.A.focusVisible)]:{boxShadow:(t.vars||t).shadows[6]},["&.".concat(y.A.disabled)]:{color:(t.vars||t).palette.action.disabled,boxShadow:(t.vars||t).shadows[0],backgroundColor:(t.vars||t).palette.action.disabledBackgroun
1d}}},{props:{variant:"outlined"},style:{padding:"5px 15px",border:"1px solid currentColor",borderColor:"var(--variant-outlinedBorder, currentColor)",backgroundColor:"var(--variant-outlinedBg)",color:"var(--variant-outlinedColor)",["&.".concat(y.A.disabled)]:{border:"1px solid ".concat((t.vars||t).palette.action.disabledBackground)}}},{props:{variant:"text"},style:{padding:"6px 8px",color:"var(--variant-textColor)",backgroundColor:"var(--variant-textBg)"}},...Object.entries(t.palette).filter((0,g.A)()).map(e=>{let[r]=e;return{props:{color:r},style:{"--variant-textColor":(t.vars||t).palette[r].main,"--variant-outlinedColor":(t.vars||t).palette[r].main,"--variant-outlinedBorder":t.vars?"rgba(".concat(t.vars.palette[r].mainChannel," / 0.5)"):(0,s.X4)(t.palette[r].main,.5),"--variant-containedColor":(t.vars||t).palette[r].contrastText,"--variant-containedBg":(t.vars||t).palette[r].main,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":(t.vars||t).palette[r].dark,"--variant-textBg":t.vars?"rgba(".concat(t.vars.palette[r].mainChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,s.X4)(t.palette[r].main,t.palette.action.hoverOpacity),"--variant-outlinedBorder":(t.vars||t).palette[r].main,"--variant-outlinedBg":t.vars?"rgba(".concat(t.vars.palette[r].mainChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,s.X4)(t.palette[r].main,t.palette.action.hoverOpacity)}}}}}),{props:{color:"inherit"},style:{color:"inherit",borderColor:"currentColor","--variant-containedBg":t.vars?t.vars.palette.Button.inheritContainedBg:r,"@media (hover: hover)":{"&:hover":{"--variant-containedBg":t.vars?t.vars.palette.Button.inheritContainedHoverBg:n,"--variant-textBg":t.vars?"rgba(".concat(t.vars.palette.text.primaryChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,s.X4)(t.palette.text.primary,t.palette.action.hoverOpacity),"--variant-outlinedBg":t.vars?"rgba(".concat(t.vars.palette.text.primaryChannel," / ").concat(t.vars.palette.action.hoverOpacity,")"):(0,s.X4)(t.palette.text.primary,t.palette.action.hoverOpacity)}}}},{props:{size:"small",variant:"text"},style:{padding:"4px 5px",fontSize:t.typography.pxToRem(13)}},{props:{size:"large",variant:"text"},style:{padding:"8px 11px",fontSize:t.typography.pxToRem(15)}},{props:{size:"small",variant:"outlined"},style:{padding:"3px 9px",fontSize:t.typography.pxToRem(13)}},{props:{size:"large",variant:"outlined"},style:{padding:"7px 21px",fontSize:t.typography.pxToRem(15)}},{props:{size:"small",variant:"contained"},style:{padding:"4px 10px",fontSize:t.typography.pxToRem(13)}},{props:{size:"large",variant:"contained"},style:{padding:"8px 22px",fontSize:t.typography.pxToRem(15)}},{props:{disableElevation:!0},style:{boxShadow:"none","&:hover":{boxShadow:"none"},["&.".concat(y.A.focusVisible)]:{boxShadow:"none"},"&:active":{boxShadow:"none"},["&.".concat(y.A.disabled)]:{boxShadow:"none"}}},{props:{fullWidth:!0},style:{width:"100%"}},{props:{loadingPosition:"center"},style:{transition:t.transitions.create(["background-color","box-shadow","border-color"],{duration:t.transitions.duration.short}),["&.".concat(y.A.loading)]:{color:"transparent"}}}]}})),C=(0,u.Ay)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.startIcon,r.loading&&t.startIconLoadingStart,t["iconSize".concat((0,m.A)(r.size))]]}})(e=>{let{theme:t}=e;return{display:"inherit",marginRight:8,marginLeft:-4,variants:[{props:{size:"small"},style:{marginLeft:-2}},{props:{loadingPosition:"start",loading:!0},style:{transition:t.transitions.create(["opacity"],{duration:t.transitions.duration.short}),opacity:0}},{props:{loadingPosition:"start",loading:!0,fullWidth:!0},style:{marginRight:-8}},...k]}}),S=(0,u.Ay)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.endIcon,r.loading&&t.endIconLoadingEnd,t["iconSize".concat((0,m.A)(r.size))]]}})(e=>{let{theme:t}=e;return{display:"inherit",marginRight:-4,marginLeft:8,variants:[{props:{size:"small"},style:{marginRight:-2}},{props:{loadingPosition:"end",loading:!0},style:{transition:t.transitions.create(["opacity"],{duration:t.transitions.duration.short}),opacity:0}
1},{props:{loadingPosition:"end",loading:!0,fullWidth:!0},style:{marginLeft:-8}},...k]}}),E=(0,u.Ay)("span",{name:"MuiButton",slot:"LoadingIndicator",overridesResolver:(e,t)=>t.loadingIndicator})(e=>{let{theme:t}=e;return{display:"none",position:"absolute",visibility:"visible",variants:[{props:{loading:!0},style:{display:"flex"}},{props:{loadingPosition:"start"},style:{left:14}},{props:{loadingPosition:"start",size:"small"},style:{left:10}},{props:{variant:"text",loadingPosition:"start"},style:{left:6}},{props:{loadingPosition:"center"},style:{left:"50%",transform:"translate(-50%)",color:(t.vars||t).palette.action.disabled}},{props:{loadingPosition:"end"},style:{right:14}},{props:{loadingPosition:"end",size:"small"},style:{right:10}},{props:{variant:"text",loadingPosition:"end"},style:{right:6}},{props:{loadingPosition:"start",fullWidth:!0},style:{position:"relative",left:-10}},{props:{loadingPosition:"end",fullWidth:!0},style:{position:"relative",right:-10}}]}}),_=(0,u.Ay)("span",{name:"MuiButton",slot:"LoadingIconPlaceholder",overridesResolver:(e,t)=>t.loadingIconPlaceholder})({display:"inline-block",width:"1em",height:"1em"}),T=n.forwardRef(function(e,t){let r=n.useContext(v.A),o=n.useContext(b.A),s=(0,a.A)(r,e),c=(0,p.b)({props:s,name:"MuiButton"}),{children:u,color:d="primary",component:h="button",className:m,disabled:g=!1,disableElevation:y=!1,disableFocusRipple:k=!1,endIcon:T,focusVisibleClassName:P,fullWidth:O=!1,id:I,loading:M=null,loadingIndicator:L,loadingPosition:N="center",size:R="medium",startIcon:j,type:D,variant:F="text",...V}=c,B=(0,l.A)(I),z=null!=L?L:(0,w.jsx)(f.A,{"aria-labelledby":B,color:"inherit",size:16}),$={...c,color:d,component:h,disabled:g,disableElevation:y,disableFocusRipple:k,fullWidth:O,loading:M,loadingIndicator:z,loadingPosition:N,size:R,type:D,variant:F},U=x($),q=(j||M&&"start"===N)&&(0,w.jsx)(C,{className:U.startIcon,ownerState:$,children:j||(0,w.jsx)(_,{className:U.loadingIconPlaceholder,ownerState:$})}),H=(T||M&&"end"===N)&&(0,w.jsx)(S,{className:U.endIcon,ownerState:$,children:T||(0,w.jsx)(_,{className:U.loadingIconPlaceholder,ownerState:$})}),Y=o||"",W="boolean"==typeof M?(0,w.jsx)("span",{className:U.loadingWrapper,style:{display:"contents"},children:M&&(0,w.jsx)(E,{className:U.loadingIndicator,ownerState:$,children:z})}):null;return(0,w.jsxs)(A,{ownerState:$,className:(0,i.A)(r.className,U.root,m,Y),component:h,disabled:g||M,focusRipple:!k,focusVisibleClassName:(0,i.A)(U.focusVisible,P),ref:t,type:D,id:M?B:I,...V,classes:U,children:[q,"end"!==N&&W,u,"end"===N&&W,H]})})},18532:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(87971);let i=function(){try{var e=(0,n.A)(Object,"defineProperty");return e({},"",{}),e}catch(e){}}()},18975:(e,t,r)=>{"use strict";r.d(t,{A:()=>o,y:()=>a});var n=r(11722),i=r(91206);function a(e){return(0,i.Ay)("MuiTypography",e)}let o=(0,n.A)("MuiTypography",["root","h1","h2","h3","h4","h5","h6","subtitle1","subtitle2","body1","body2","inherit","button","caption","overline","alignLeft","alignRight","alignCenter","alignJustify","noWrap","gutterBottom","paragraph"])},19191:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var n=r(63686),i=r(60259),a=r(80090),o=r(27709),s=1/0,l=n.A?n.A.prototype:void 0,c=l?l.toString:void 0;function u(e){if("string"==typeof e)return e;if((0,a.A)(e))return(0,i.A)(e,u)+"";if((0,o.A)(e))return c?c.call(e):"";var t=e+"";return"0"==t&&1/e==-s?"-0":t}let d=u},19565:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(58309);let i=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],a=(0,n.A)("search",i)},19770:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});let n=function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)};var i=Math.max;let a=function(e,t,r){return t=i(void 0===t?e.length-1:t,0),function(){for(var a=arguments,o=-1,s=i(a.length-t,0),l=Array(s);++o<s;)l[o]=a[t+o];o=-1;for(var c=Array(t+1);++o<t;)c[o]=a[o];return c[t]=r(l),n(e,this,c)}}},19951:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=r(41658).A.Uint8Array},20248:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(58309);let i=[["path",{d:"M13 13.74a2 2 0 0 1-2 0L2.5 8.87a1 1 0 0 1 0-1.74L11 2.26a2 2 0 0 1 2 0l8.5 4.87a1 1 0 0 1 0 1.74z",key:"15q6uc"}],["path",{d:"m20 14.285 1.5.845a1 1 0 0 1 0 1.74L13 21.74a2 2 0 0 1-2 0l-8.5-4.87a1 1 0 0 1 0-1.74l1.5-.845",key:"byia6g"}]],a=(0,n.A)("layers-2",i)},20444:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esMo
1dule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;let i=n(r(47492));function a(e,t){let r=null;if(!e||"string"!=typeof e)return r;let n=(0,i.default)(e),a="function"==typeof t;return n.forEach(e=>{if("declaration"!==e.type)return;let{property:n,value:i}=e;a?t(n,i,e):i&&((r=r||{})[n]=i)}),r}},20777:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n={50:"#e1f5fe",100:"#b3e5fc",200:"#81d4fa",300:"#4fc3f7",400:"#29b6f6",500:"#03a9f4",600:"#039be5",700:"#0288d1",800:"#0277bd",900:"#01579b",A100:"#80d8ff",A200:"#40c4ff",A400:"#00b0ff",A700:"#0091ea"}},20788:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>tO});var n=r(2860),i=r(71711),a=r.n(i),o=r(81245),s=r(87905),l=r(11321),c=r(10223),u=r(32464),d=r(67549),p=r(55729),h=e=>e.debugLabel||e.toString(),f=([e,t])=>Object.fromEntries(t.flatMap(t=>{let r=e.dev_get_mounted?.(t);if(!r)return[];let n=r.t,i=e.dev_get_atom_state?.(t)||{};return[[h(t),{..."e"in i&&{error:i.e},..."v"in i&&{value:i.v},dependents:Array.from(n).map(h)}]]})),m=e=>{let t=e?.enabled??!0,r=(0,d.Pj)(e),[n,i]=(0,p.useState)([]);(0,p.useEffect)(()=>{if(!t)return;let e=()=>{i(Array.from(r.dev_get_mounted_atoms?.()||[]))},n=r.dev_subscribe_state?.(e);return e(),n},[t,r]),(0,p.useDebugValue)([r,n],f)},g=r(98986),y=r(95669),v=r.n(y),b=r(6772),w=r.n(b),x=r(31936),k=r(76369),A=r(31430),C=r(44883);let S=async e=>{let t=(0,C.EH)(e);if(!t)return null;try{var r,n,i;return(null==(i=(await (0,A.c)({method:"get",url:t})).data)||null==(n=i.data)||null==(r=n.attributes)?void 0:r.url)||e}catch(t){return e}};var E=r(72579),_=r(16919);function T(){(0,E.c)("[nuqs] Aborting queues"),_.t.abortAll(),_.n.abort().forEach(e=>_.t.queuedQuerySync.emit(e))}var P=r(48535);let O=!1;function I(){O||T()}function M(){let e=(0,P.useRouter)();return(0,p.useEffect)(()=>(e?.events.on("routeChangeStart",I),e?.events.on("beforeHistoryChange",I),()=>{e?.events.off("routeChangeStart",I),e?.events.off("beforeHistoryChange",I)}),[]),{searchParams:(0,p.useMemo)(()=>{let t=new URLSearchParams;if(null===e)return t;for(let[r,n]of Object.entries(e.query))if("string"==typeof n)t.set(r,n);else if(Array.isArray(n))for(let e of n)t.append(r,e);return t},[JSON.stringify(e?.query)]),updateUrl:(0,p.useCallback)((e,t)=>{let r=window.next?.router,n=R(r.pathname,r.query),i=L(r.asPath)+(0,E.o)(e)+location.hash;
1(0,E.c)("[nuqs next/pages] Updating url: %s",i);let a="push"===t.history?r.push:r.replace;O=!0,a.call(r,{pathname:r.pathname,query:{...N(e),...n}},i,{scroll:t.scroll,shallow:t.shallow}).finally(()=>{O=!1})},[]),autoResetQueueOnUpdate:!1}}function L(e){return e.replace(/#.*$/,"").replace(/\?.*$/,"")}function N(e){let t={};for(let r of e.keys()){let n=e.getAll(r);1===n.length?t[r]=n[0]:n.length>1&&(t[r]=n)}return t}function R(e,t){let r,n=new Set,i=/\[([^\]]+)\]/g,a=/\[\.{3}([^\]]+)\]$/,o=/\[\[\.{3}([^\]]+)\]\]$/;for(;null!==(r=i.exec(e));){let e=r[1];e&&n.add(e)}let s=Object.fromEntries(Object.entries(t).filter(([e])=>n.has(e))),l=a.exec(e);if(l&&l[1]){let e=l[1];s[e]=t[e]??[]}let c=o.exec(e);if(c&&c[1]){let e=c[1];s[e]=t[e]??[]}return s}let j=(0,E.n)(M);var D=r(83855),F=r(6329),V=r(94687),B=r(47126);r(54828);let z=()=>(0,n.Y)(V.N9,{className:"wu-toast-container",position:"bottom-right",pauseOnHover:!0,closeOnClick:!0,draggable:!1,autoClose:5e3,pauseOnFocusLoss:!0,closeButton:$}),$=()=>(0,n.Y)(B.I,{type:"close",size:20,className:"my-auto",color:"grayscale-800"});var U=r(73650),q=r(80639),H=r(39162);let Y=(0,U.A)({typography:{fontFamily:"inherit"},palette:{...q.w.palette,primary:{light:H.GU["primary-300"],main:H.GU["primary-500"],dark:H.GU["primary-700"],contrastText:H.GU["grayscale-000"]},secondary:{light:H.GU["peach-300"],main:H.GU["peach-500"],dark:H.GU["peach-700"],contrastText:H.GU["grayscale-000"]},error:{light:H.GU["peach-300"],main:H.GU["peach-500"],dark:H.GU["peach-700"],contrastText:H.GU["grayscale-000"]},warning:{light:H.GU["yellow-300"],main:H.GU["yellow-500"],dark:H.GU["yellow-700"],contrastText:H.GU["grayscale-800"]},info:{light:H.GU["grayscale-700"],main:H.GU["grayscale-800"],dark:H.GU["grayscale-900"],contrastText:H.GU["grayscale-000"]},success:{light:H.GU["green-300"],main:H.GU["green-500"],dark:H.GU["green-700"],contrastText:H.GU["grayscale-000"]},cancel:{light:H.GU["grayscale-100"],main:H.GU["grayscale-200"],dark:H.GU["grayscale-300"],contrastText:H.GU["grayscale-900"]}},components:{MuiMenuItem:{styleOverrides:{root:{fontSize:"0.875rem"}}},MuiTextField:{styleOverrides:{root:{fontSize:"0.875rem"}}},MuiBackdrop:{styleOverrides:{root:{'&[style*="opacity: 0"]':{pointerEvents:"none"}}}}}});var W=r(84671),G=r.n(W),K=r(62186),J=r.n(K),X=r(21008),Q=r.n(X),Z=r(71024),ee=r.n(Z),et=r(99517),er=r(68106),en=r(39891),ei=r(22133),ea=r(41642),eo=r(15003),es=r(68552),el=r(63537),ec=r(5415),eu=r(50945),ed=r(53031);let ep={width:0,height:20,sizes:"100vw",style:{width:"auto",height:"20px"}},eh=e=>{let{onClick:t}=e,r=(0,ec.Ol)(),i=(0,ec.BR)("logoUrl");return r?(0,n.FD)("div",{className:"bg-grayscale-50 mx-auto flex w-fit cursor-pointer items-center justify-center gap-x-1.5 rounded-full px-3 py-1.5",onClick:t,children:[(0,n.Y)(ed._,{...ep,src:i,alt:"brand logo"}),(0,n.Y)(B.I,{type:"close",color:"grayscale-500"}),(0,n.Y)(ed._,{...ep,src:eu.i,alt:"wordup logo"})]}):null};var ef=r(2160);let{rE:em}=en,eg=e=>{let{showWhiteLabelModeSlide:t,setShowWhiteLabelModeSlide:r,onClose:i}=e,{t:a,i18n:o}=(0,g.Bd)(),{authLayout:s,setAuthLayout:l,onError:c,onRequest:u,onSuccess:d,onForgetPasswordSuccess:p,onForgetPasswordError:h}=(0,ef.A)(),f=()=>r(!1);return(0,n.FD)(n.FK,{children:[(0,n.Y)(ei.A,{direction:"left",in:t,timeout:500,mountOnEnter:!0,unmountOnExit:!0,children:(0,n.Y)("div",{children:(0,n.Y)(es.wQ,{fqaKey:"faq-kiao-inside-benefits",headerProps:{headerContainerClassName:"sticky z-[49] bg-white top-0",breadcrumbItems:[{text:a("back_to_signin_signup_page"),onClick:f}],prevButtonProps:{onClick:f}}})})}),(0,n.Y)(eo.T,{className:t?"hidden":void 0,logo:(0,n.Y)(eh,{onClick:()=>r(!0)}),lang:o.resolvedLanguage,stage:"production",apiDomain:"https://api.wordup.com.tw/api",clientInfo:"shop/".concat(em),layout:s,setLayout:l,domain:".wordup.com.tw",googleClientId:"184428973344-r06g0jaefo8a86uovvbe0t83vr42gi66.apps.googleusercontent.com",fbAppId:"407289366313573",onRequest:u,onSuccess:d,onError:c,appleRedirectUri:"https://shop.wordup.com.tw",termUrl:(0,el.iF)(ea.H.TERMS_OF_SERVICE),forgetPasswordLink:"".concat("https://app.wordup.com.tw","/auth/reset-password"),onforgetPasswordSuccess:p,onforgetPasswordError:h,onClose:i})]})};var ey=r(15553),ev=r(84660);let eb=e=>{let{className:t}=e,{t:r}=(0,g.Bd)();return(0,n.FD)("div",{className:(0,ev.Q)("mb-5 flex h-[170px] flex-col items-center justify-center bg-kiao-blue-500 py-5",t),children:[(0,n.Y)("img",{src:"https://public.wordup.com.tw/signup-banner.png",alt:"signup banner",width:186,height:86,className:"mb-5"}),(0,n.Y)(ey.E,{variant:"body_s_400",color:"grayscale-000",children:r("auth.one_account_all_products")})]})},ew=ee()(()=>Promise.resolve().then(r.bind(r,34817)).then(e=>e.WuModal),{loadableGenerated:{webpack:()=>[34817]},ssr:!1}),ex=ee()(()=>Promise.all([r.e(4549),r.e(187),r.e(3331),r.e(9313),r.e(1097),r.e(5084),r.e(9275),r.e(1291),r.e(2487)]).then(r.bind(r,62487)).then(e=>e.SwipeableDrawer),{loadableGenerated:{webpack:()=>[62487]},ssr:!1}),ek=()=>{let e=(0,er.v2)(),[t,r]=(0,p.useState)(!1),{authModalIsOpen:i,closeAuthModal:a,hideCloseButton:o}=(0,ef.A)();(0,er.F5)({shouldHideIntercom:i});let s=()=>{a(),r(!1)};return e?(0,n.FD)(ew,{open:i,onClose:s,maxWidth:"432px",maxHeight:"90vh",mainBlockClassName:"rounded-xl",padding:"0px",children:[(0,n.Y)(eb,{}),(0,n.Y)("div",{className:"px-5 pb-5",children:(0,n.Y)(eg,{showWhiteLabelModeSlide:t,setShowWhiteLabelModeSlide:r})})]}):(0,n.FD)(ex,{open:i,onOpen:et.A,onClose:s,anchor:"right",disableBackdropTransition:!0,ModalProps:{BackdropProps:{invisible:!0}},PaperProps:{className:"w-full h-[calc(100%-var(--browser-main-nav-height))] top-[var(--browser-main-nav-height)] shadow-none border-t border-0 border-solid border-grayscale-100"},children:[(0,n.Y)(eb,{}),(0,n.Y)("div",{className:"px-5 pb-5",children:(0,n.Y)(eg,{showWhiteLabelModeSlide:t,setShowWhiteLabelModeSlide:r,onClose:o?void 0:s})})]})};var eA=r(58429),eC=r(77475),eS=r(49511),eE=r(77903),e_=r(76277),eT=r(5325);let eP=eC.eu.IS_GDPR_MODAL_CONFIRMED+"_shop",eO=()=>{let{t:e}=(0,g.Bd)(),[t,r]=(0,p.useState)(!1),i=e=>{e.preventDefault(),e.stopPropagation(),e_.A.set({key:eP,value:"true",domain:".wordup.com.tw"}),r(!1)};return((0,p.useEffect)(()=>{r(!!(0,eE.A)(e("crowdin:common.gdpr-modal.toggle-show"),{shop:!1}).shop&&!e_.A.get(eP))},[e]),!t||(0,eS.Al)())?null:(0,n.Y)(eA.P.div,{className:"z-modal mobileUp:bottom-10 mobileUp:left-10 mobileUp:max-w-[20rem] fixed bottom-4 left-4 right-4",initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},transition:{duration:1},children:(0,n.FD)("div",{className:"bg-grayscale-000 rounded-lg p-5 shadow",children:[(0,n.Y)(ey.E,{component:"p",variant:"body_s_400",className:"mb-4",dangerouslySetInnerHTML:{__html:e("crowdin:common.gdpr-message")}}),(0,n.Y)(eT.$,{className:"bg-primary-500 h-9 w-full rounded-full",onClick:i,children:(0,n.Y)(ey.E,{variant:"body_m_400",color:"grayscale-000",children:e("crowdin:common.got-it")})})]})})};var eI=r(81278);let eM=ee()(()=>Promise.all([r.e(8004),r.e(4549),r.e(187),r.e(3331),r.e(7198),r.e(9313),r.e(6203),r.e(7465),r.e(9951),r.e(6210),r.e(9192)]).then(r.bind(r,2057)).then(e=>e.ShopNavBar),{loadableGenerated:{webpack:()=>[2057]},ssr:!1,loading:()=>(0,n.Y)("div",{className:"h-[60px]"})}),eL=ee()(()=>Promise.all([r.e(8004),r.e(4549),r.e(187),r.e(3331),r.e(7198),r.e(7465),r.e(9951),r.e(6210),r.e(1385)]).then(r.bind(r,97998)).then(e=>e.AppNavBar),{loadableGenerated:{webpack:()=>[97998]},ssr:!1,loading:()=>(0,n.Y)("div",{className:"h-[44px]"})}),eN=e=>{let{hideNavbar:t}=e,r=(0,eI.useRouter)(),i=r.pathname.includes(ea.H.CAMPAIGN)&&r.isFallback;return r.pathname.includes(ea.H.OUTCOME)||i||t?(0,n.Y)("div",{}):(0,eS.Al)()?(0,n.Y)(eL,{}):(0,n.Y)(eM,{})},eR=()=>{(0,ec.fn)(),(0,p.useLayoutEffect)(()=>{"true"===localStorage.getItem("isDarkMode")&&r.e(8011).then(r.bind(r,43373)).then(e=>{e.enable({brightness:90,contrast:100,sepia:0})})},[])},ej=e=>{let{hideNavbar:t,children:r}=e;return eR(),(0,n.FD)("div",{className:"relative min-h-screen bg-white",children:[(0,n.Y)(eN,{hideNavbar:t}),r]})};var eD=r(11266);let eF=()=>(0,n.FD)(n.FK,{children:[(0,n.Y)(eD.bV,{title:eD.nA,description:eD.jY,openGraph:{url:"https://shop.wordup.com.tw",title:eD.nA,siteName:eD.nA,description:eD.jY,images:[{url:"https://s3-ap-northeast-1.amazonaws.com/wordup-production-about/og_img_new.jpg",alt:"WORD UP Image"}]},facebook:{appId:"407289366313573"}}),(0,n.Y)(eD.Ty,{}),(0,n.Y)(eD.k7,{}),(0,n.Y)(eD.JJ,{}),(0,n.Y)(eD.zW,{}),(0,n.Y)(eD.lt,{})]});var eV=r(69195);let eB=()=>eV.YG?(0,n.Y)("div",{onClick:e=>{e.stopPropagation(),e.preventDefault(),e.currentTarget.setAttribute("hidden","true")},className:"z-announcement bg-peach-500 text-grayscale-000 fixed left-0 right-0 top-[60px] cursor-pointer py-1 text-center",children:"鿝 WORD UP çæ¸¬è©¦ç°å¢ï¼è«å°ç¶²åæ¹æ https://shop.wordup.com.tw ææ¯æ£å¼ç¶²ç«"}):null;var ez=r(96848),e$=r(42011),eU=r(33537);let eq=()=>{let{shutdown:e,boot:t}=(0,x.B)(),{getUserId:r,userInfo:n}=(0,ez.As)();return(0,p.useEffect)(()=>{var e;if((0,eS.Al)()||!t)return;let i=String(null!=(e=r())?e:(0,e$.lA)());t({userId:(0,eU.A)(i),name:null==n?void 0:n.name,email:null==n?void 0:n.email})},[t,r,n]),(0,p.useEffect)(()=>()=>{e&&e()},[e]),null};var eH=r(23261),eY=r(78959),eW=r(11859);let eG=()=>{let{isLoading:e}=(0,eH.A)();return(0,n.Y)(eY.A,{className:"text-grayscale-000 z-[99999999999]",open:e,children:(0,n.Y)(eW.A,{color:"primary"})})},eK=e=>{try{return new URLSearchParams(decodeURIComponent(encodeURIComponent(e||window.location.search)))}catch(e){return}};var eJ=r(26766),eX=r(2406),eQ=r(32678),eZ=r(42874);let e0=e=>{"true"===e("crowdin:shop-enable-gtag-page-view-event".concat(eV.O_?"":"-staging"))&&(0,eQ.sendGtagEvent)({name:"page_view",params:{page_location:window.location.href}}),window.fbq("trackSingle","1159997191020945","PageView",{wu_anon_id:(0,eX.lA)(),external_id:ez.Wp.getUserId(),is_app:(0,eJ.pp)()}),(0,eZ.sendDcardAdsPageViewEvent)({payload:{url:window.location.href}})};var e1=r(74395),e2=r(43904),e5=r(70642),e3=r(79516),e4=r(50970);let e6=()=>(0,n.Y)(eD.W6,{onRouterReady:e=>{let t=(0,e2.A)((0,e5.A)(e.query,eQ.GOOGLE_CONVERSION_API.VALUES),e3.A);if((0,e4.A)(t))return;let r=new Date().getTime(),n=7776e6;e_.A.set({key:eQ.GOOGLE_CONVERSION_API.KEY,value:JSON.stringify(t),expires:new Date(r+n),domain:".wordup.com.tw"})}}),e9=()=>(0,n.FD)(n.FK,{children:[(0,n.Y)(w(),{id:"init-gtm",strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:"\n ;(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\n new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\n j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=\n 'https://www.googletagmanager.com/gtm.js?id='
1+i+dl;f.parentNode.insertBefore(j,f);})(window,document,'script','dataLayer', '".concat("GTM-M575MWM","');\n ")}}),(0,n.Y)("noscript",{children:(0,n.Y)("iframe",{src:"https://www.googletagmanager.com/ns.html?id=".concat("GTM-M575MWM"),height:"0",width:"0",style:{display:"none",visibility:"hidden"}})})]}),e8=!1,e7=()=>{let{t:e}=(0,g.Bd)();return(0,p.useEffect)(()=>{e8||(window.fbq("init","1159997191020945"),e8=!0,e0(e))},[e]),(0,n.Y)(w(),{id:"init-pixel",strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:'\n !(function (f, b, e, v, n, t, s) {\n if (f.fbq) return;\n n = f.fbq = function () {\n n.callMethod ? n.callMethod.apply(n, arguments) : n.queue.push(arguments);\n };\n if (!f._fbq) f._fbq = n;\n n.push = n;\n n.loaded = !0;\n n.version = "2.0";\n n.queue = [];\n t = b.createElement(e);\n t.async = !0;\n t.src = v;\n s = b.getElementsByTagName(e)[0];\n s.parentNode.insertBefore(t, s);\n })(\n window,\n document,\n "script",\n "https://connect.facebook.net/en_US/fbevents.js"\n );\n '}})},te=()=>(0,n.Y)(n.FK,{children:(0,n.Y)(w(),{id:"load-james-line-tag-script",strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:"\n (function(g,d,o){\n g._ltq=g._ltq||[];g._lt=g._lt||function(){g._ltq.push(arguments)};\n var h=location.protocol==='https:'?'https://d.line-scdn.net':'http://d.line-cdn.net';\n var s=d.createElement('script');s.async=1;\n s.src=o||h+'/n/line_tag/public/release/v1/lt.js';\n var t=d.getElementsByTagName('script')[0];t.parentNode.insertBefore(s,t);\n })(window, document);\n _lt('init', {\n customerType: 'account',\n tagId: '".concat("a59d9ecc-1c26-4d22-99a4-9c9d61a2a776","'\n });\n _lt('send', 'pv', ['").concat("a59d9ecc-1c26-4d22-99a4-9c9d61a2a776","']);\n ")}})}),tt=()=>(0,n.FD)(n.FK,{children:[(0,n.Y)(w(),{id:"load-line-tag-script",strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:"\n (function(g,d,o){\n g._ltq=g._ltq||[];g._lt=g._lt||function(){g._ltq.push(arguments)};\n var h=location.protocol==='https:'?'https://d.line-scdn.net':'http://d.line-cdn.net';\n var s=d.createElement('script');s.async=1;\n s.src=o||h+'/n/line_tag/public/release/v1/lt.js';\n var t=d.getElementsByTagName('script')[0];t.parentNode.insertBefore(s,t);\n })(window, document);\n _lt('init', {\n customerType: 'account',\n tagId: '".concat("bf5e656b-93b5-45ca-9512-0c9c5b7cde74","'\n });\n _lt('send', 'pv', ['").concat("bf5e656b-93b5-45ca-9512-0c9c5b7cde74","']);\n ")}}),(0,n.Y)("noscript",{children:(0,n.Y)("img",{alt:"",className:"hidden h-[1px] w-[1px]",src:"https://tr.line.me/tag.gif?c_t=lap&t_id=".concat("bf5e656b-93b5-45ca-9512-0c9c5b7cde74","&e=pv&noscript=1")})})]}),tr=()=>(0,n.Y)(w(),{id:"load-dcard-ads-script",strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:'\n !function(){\n var d=function d(a) {\n for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)\n n[i-1]=arguments[i];\n d.queue.push([a].concat(n))\n };\n d.queue=[],window.dadk=window.dadk||d;\n var a=document.createElement("script");\n a.src="undefined"!=typeof URLSearchParams?"https://unpkg.com/@dcard/web-ad-tracking-sdk/build/dadk.iife.js":"https://unpkg.com/@dcard/web-ad-tracking-sdk/build/outdated-dadk.iife.js",\n document.head.appendChild(a),\n window.dadk("init", "'.concat("jutWeGwX82najDVQHNDxD",'"), window.dadk("track", "PageView")}();\n ')}}),tn=()=>((0,p.useEffect)(()=>{let e=document.createElement("script");return e.async=!0,document.head.appendChild(e),e.onload=()=>{try{var e;let t=(null==(e=window)?void 0:e.adsbygoogle)||[];t&&!t.loaded&&t.push({})}catch(e){console.error("Adsense error:",e)}},()=>{document.head.removeChild(e)}},[]),(0,n.Y)(w(),{id:"init-adsense",strategy:"afterInteractive",src:"https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-7698839233909988",crossOrigin:"anonymous"})),ti=()=>{let e=(0,eI.useRouter)(),{t}=(0,g.Bd)();return(0,p.useEffect)(()=>{e$.$d.saveToCookie(),(()=>{let e=eK();
1if(!(null==e?void 0:e.has(e1.PIXEL_CONVERSION_API_PARAMS)))return;let t=new Date().getTime(),r=t+7776e6;e_.A.set({key:e1.PIXEL_CONVERSION_API_PARAMS,value:"fb.1.".concat(t,".").concat(e.get(e1.PIXEL_CONVERSION_API_PARAMS)),expires:new Date(r),domain:".wordup.com.tw"})})()},[]),(0,p.useEffect)(()=>{let r=()=>e0(t);return e.events.on("routeChangeComplete",r),()=>{e.events.off("routeChangeComplete",r)}},[e.events,t]),(0,n.FD)(n.FK,{children:[(0,n.Y)(e6,{}),(0,n.Y)(e9,{}),(0,n.Y)(e7,{}),(0,n.Y)(te,{}),(0,n.Y)(tt,{}),(0,n.Y)(tr,{}),(0,n.Y)(tn,{})]})};function ta(e){return{browser:e.match(/Edg/)?"edge":e.match(/Chrome/)?"chrome":e.match(/Firefox/)?"firefox":e.match(/Safari/)?"safari":"unknown",deviceType:e.match(/Mobi/)?"mobile":"desktop"}}function to(e){return e?{url:e.href,path:e.pathname,host:e.host,query:e.search}:{}}function ts(e={}){if("undefined"==typeof window)throw Error("autoAttributesPlugin only works in the browser");let t=e.uuidCookieName||"gbuuid",r=e.uuidKey||"id",n=e.uuid||"";function i(){tl(t,n)}function a(){return n||(n=tc(t))?n:n=tu(window.crypto)}function o(e){let t=navigator.userAgent,n=a();(e.uuidAutoPersist??!e.uuid)&&i();let o=location;return{...tp(),[r]:n,...to(o),pageTitle:document.title,...ta(t),...td(o)}}return document.addEventListener("growthbookpersist",()=>{i()}),t=>{if("createScopedInstance"in t)return;let r=o(e);r.url&&t.setURL(r.url),t.updateAttributes(r);let n=r.url,i=setInterval(()=>{location.href!==n&&(n=location.href,t.setURL(n),t.updateAttributes(o(e)))},500),a=()=>{location.href!==n&&(n=location.href,t.setURL(n)),t.updateAttributes(o(e))};document.addEventListener("growthbookrefresh",a),"onDestroy"in t&&t.onDestroy(()=>{clearInterval(i),document.removeEventListener("growthbookrefresh",a)})}}function tl(e,t){let r=new Date,n=400;r.setTime(r.getTime()+864e5*n),document.cookie=e+"="+t+";path=/;expires="+r.toUTCString()}function tc(e){let t=("; "+document.cookie).split(`; ${e}=`);return 2===t.length?t[1].split(";")[0]:""}function tu(e){return e&&e.randomUUID?e.randomUUID():"10000000-1000-4000-8000-100000000000".replace(/[018]/g,t=>(t^(e&&e.getRandomValues?e.getRandomValues(new Uint8Array(1))[0]:Math.floor(256*Math.random()))&15>>t/4).toString(16))}function td(e){let t={};try{let e=sessionStorage.getItem("utm_params");e&&(t=JSON.parse(e))}catch(e){}if(e&&e.search){let r=new URLSearchParams(e.search),n=!1;if(["source","medium","campaign","term","content"].forEach(e=>{let i=`utm_${e}`,a="utm"+e[0].toUpperCase()+e.slice(1);r.has(i)&&(t[a]=r.get(i)||"",n=!0)}),n)try{sessionStorage.setItem("utm_params",JSON.stringify(t))}catch(e){}}return t}function tp(){if("undefined"==typeof window||!window.dataLayer||!window.dataLayer.forEach)return{};let e={};return window.dataLayer.forEach(t=>{t&&"object"==typeof t&&!("length"in t)&&("event"in t||Object.keys(t).forEach(r=>{if("string"!=typeof r||r.match(/^(gtm)/))return;let n=t[r];["string","number","boolean"].includes(typeof n)&&(e[r]=n)}))}),e}function th({additionalCallback:e,trackers:t=["gtag","gtm","segment"]}={}){if("undefined"==typeof window)throw Error("thirdPartyTrackingPlugin only works in the browser");return r=>{r.setTrackingCallback(async(r,n)=>{let i=[],a={experiment_id:r.key,variation_id:n.key};if(e&&i.push(Promise.resolve(e(r,n))),t.includes("gtag")&&window.gtag){let e,t=new Promise(t=>{e=t});i.push(t),window.gtag("event","experiment_viewed",{...a,event_callback:e})}if(t.includes("gtm")&&window.dataLayer){let e,t=new Promise(t=>{e=t});i.push(t),window.dataLayer.push({event:"experiment_viewed",...a,eventCallback:e})}if(t.includes("segment")&&window.analytics&&window.analytics.track){window.analytics.track("Experiment Viewed",a);let e=new Promise(e=>window.setTimeout(e,300));i.push(e)}await Promise.all(i)})}}var tf=r(78547),tm=r(46887),tg=r(29143);let ty=new tf.NN({apiHost:tg.env.NEXT_PUBLIC_GROWTHBOOK_API_HOST,clientKey:"sdk-RpVX4T2zquYIHrki",decryptionKey:tg.env.NEXT_PUBLIC_GROWTHBOOK_DECRYPTION_KEY,enableDevMode:!F.O_,plugins:[ts(),th({trackers:["gtag","gtm"]})],stickyBucketService:new tf.TE({prefix:F.O_?"wb_gb_":"wb_gb_".concat(F.Ld,"_"),jsCookie:tm.A})}),tv=e=>{let{children:t,router:r}=e,{userInfo:i}=(0,ez.As)(),a=(0,p.useRef)(!1);return(0,p.useEffect)(()=>{(async()=>{await ty.init({streaming:!0}),a.current=!0})()},[]),(0,p.useEffect)(()=>{(async()=>{ty.setURL(window.location.href);let e=i.email||(0,e$.lA)();await ty.setAttributes({...ty.getAttributes(),userId:i.email||void 0,anonymousId:i.email?void 0:e,isLoggedIn:!!i.email,path:window.location.pathname,query:window.location.search})})()},[r.pathname,r.query,i]),(0,n.Y)(tf.iX,{growthbook:ty,children:t})};var tb=r(53186),tw=r(35457);let tx=async()=>(await (0,A.c)({method:"GET",url:"/v1/shop/products/segmented_prices"})).data,tk="shop_price-",tA=e=>{let{children:t}=e,r=(0,tb.Xr)(tw.my),i=(0,tb.Xr)(tw.iC),a=(0,tf.mf)();return(0,p.useEffect)(()=>
1{if(!(null==a?void 0:a.ready))return;let e=()=>{for(let e of Object.keys(a.getFeatures()))e.startsWith(tk)&&a.evalFeature(e)};(async()=>{try{e();let t=await tx();r(t)}catch(e){i(e instanceof Error?e:Error("Failed to fetch segmented prices"))}})()},[a,null==a?void 0:a.ready,r,i]),(0,n.Y)(n.FK,{children:t})};var tC=r(26687);r(12583),r(42108),r(86302),r(75598);var tS=r(58650);let tE=()=>(m(),null);function t_(){let e="undefined"!=typeof document?document.querySelector("style[data-emotion-insertion-point]"):null,t=e?(0,o.A)({key:"css",insertionPoint:e}):(0,o.A)({key:"css",prepend:!0}),r=t.insert;return t.insert=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return t[1].styles.match(/^@layer\s+[^{]*$/)||(t[1].styles="@layer mui {".concat(t[1].styles,"}")),r(...t)},t}let tT=e=>{let{children:t}=e,r=(0,tC.YG)(),i=(0,tC.wS)();return(0,n.Y)(k.q,{apiCaller:D.A,segmentedPrices:r,isSegmentedPricesLoading:i,resolvePlaybackUrl:S,children:t})};function tP(e){let{Component:t,pageProps:r,router:i}=e,o=t_();return(0,n.FD)(n.FK,{children:[(0,n.Y)(a(),{id:"7e35ebf07bacb4b0",dynamic:[G().style.fontFamily,J().style.fontFamily,Q().style.fontFamily],children:":root{--font--figtree:".concat(G().style.fontFamily,";--font--noto-sans-tc:").concat(J().style.fontFamily,";--font--noto-sans:").concat(Q().style.fontFamily,";--default-font-family:'GreekMath', var(--font--figtree), var(--font--noto-sans-tc), var(--font--noto-sans),\n sans-serif}")}),(0,n.FD)(v(),{children:[(0,n.Y)("meta",{charSet:"utf-8",className:a().dynamic([["7e35ebf07bacb4b0",[G().style.fontFamily,J().style.fontFamily,Q().style.fontFamily]]])}),(0,n.Y)("meta",{name:"viewport",content:"width=device-width, initial-scale=1, maximum-scale=1, user-scalable=0",className:a().dynamic([["7e35ebf07bacb4b0",[G().style.fontFamily,J().style.fontFamily,Q().style.fontFamily]]])}),(0,n.Y)("meta",{httpEquiv:"X-UA-Compatible",content:"IE=edge,chrome=1",className:a().dynamic([["7e35ebf07bacb4b0",[G().style.fontFamily,J().style.fontFamily,Q().style.fontFamily]]])}),(0,n.Y)("meta",{name:"apple-mobile-web-app-capable",content:"yes",className:a().dynamic([["7e35ebf07bacb4b0",[G().style.fontFamily,J().style.fontFamily,Q().style.fontFamily]]])}),(0,n.Y)("meta",{name:"mobile-web-app-capable",content:"yes",className:a().dynamic([["7e35ebf07bacb4b0",[G().style.fontFamily,J().style.fontFamily,Q().style.fontFamily]]])}),(0,n.Y)("meta",{name:"format-detection",content:"telephone=no",className:a().dynamic([["7e35ebf07bacb4b0",[G().style.fontFamily,J().style.fontFamily,Q().style.fontFamily]]])}),(0,n.Y)("meta",{name:"google-site-verification",content:"hzwyMaoSMpI-w07ToMQJvQCiQkVMcQHwr05_aKTNQWQ",className:a().dynamic([["7e35ebf07bacb4b0",[G().style.fontFamily,J().style.fontFamily,Q().style.fontFamily]]])}),(0,n.Y)("meta",{name:"keywords",content:"ç·ä¸èª²ç¨, äºåé»åæ¸, å¤ç, è¿ç¾è¨å, å®åå¡, èªè¨å¸ç¿, è½åç·´ç¿, æ¸ä½å¸ç¿å¹³å°, ç·ä¸å¸ç¿, 課ç¨åè³",className:a().dynamic([["7e35ebf07bacb4b0",[G().style.fontFamily,J().style.fontFamily,Q().style.fontFamily]]])}),(0,n.Y)("link",{rel:"apple-touch-icon",sizes:"180x180",href:"/apple-touch-icon.png",className:a().dynamic([["7e35ebf07bacb4b0",[G().style.fontFamily,J().style.fontFamily,Q().style.fontFamily]]])}),(0,n.Y)("link",{rel:"icon",type:"image/png",sizes:"32x32",href:"/favicon-32x32.png",className:a().dynamic([["7e35ebf07bacb4b0",[G().style.fontFamily,J().style.fontFamily,Q().style.fontFamily]]])}),(0,n.Y)("link",{rel:"icon",type:"image/png",sizes:"16x16",href:"/favicon-16x16.png",className:a().dynamic([["7e35ebf07bacb4b0",[G().style.fontFamily,J().style.fontFamily,Q().style.fontFamily]]])}),(0,n.Y)("link",{rel:"manifest",href:"/site.webmanifest",className:a().dynamic([["7e35ebf07bacb4b0",[G().style.fontFamily,J().style.fontFamily,Q().style.fontFamily]]])}),(0,n.Y)("link",{rel:"mask-icon",href:"/safari-pinned-tab.svg",color:"#5bbad5",className:a().dynamic([["7e35ebf07bacb4b0",[G().style.fontFamily,J().style.fontFamily,Q().style.fontFamily]]])}),(0,n.Y)("meta",{name:"msapplication-TileColor",content:"#da532c",className:a().dynamic([["7e35ebf07bacb4b0",[G().style.fontFamily,J().style.fontFamily,Q().style.fontFamily]]])}),(0,n.Y)("meta",{name:"theme-color",content:"#ffffff",className:a().dynamic([["7e35ebf07bacb4b0",[G().style.fontFamily,J().style.fontFamily,Q().style.fontFamily]]])})]}),(0,n.Y)(ti,{}),!F.Cu&&(0,n.Y)(w(),{id:"load-clarity-script",strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:'\n (function(c,l,a,r,i,t,y){\n c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};\n t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;\n y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);\n })(window, document, "clarity", "script", \''.concat("7v4axr5wzy","');\n ")}}),(0,n.Y)(eF,{}),(0,n.Y)(eO,{}
1),(0,n.Y)(s.C,{value:o,children:(0,n.Y)(x.F,{appId:"lzdgcxjd",initializeDelay:5e3,children:(0,n.FD)(d.Kq,{children:[(0,n.Y)(tE,{}),(0,n.Y)(c.A,{children:(0,n.Y)(u.A,{theme:Y,children:(0,n.Y)(tv,{router:i,children:(0,n.FD)(tA,{children:[(0,n.Y)(l.Ay,{}),(0,n.Y)(z,{}),(0,n.Y)(eB,{}),(0,n.Y)(tT,{children:(0,n.Y)(j,{children:(0,n.Y)(tS.A,{children:(0,n.FD)(ej,{hideNavbar:r.hideNavbar,children:[(0,n.Y)(t,{...r,className:a().dynamic([["7e35ebf07bacb4b0",[G().style.fontFamily,J().style.fontFamily,Q().style.fontFamily]]])+" "+(r&&null!=r.className&&r.className||"")}),(0,n.Y)(eq,{}),(0,n.Y)(ek,{}),(0,n.Y)(eG,{})]})})})})]})})})})]})})})]})}let tO=(0,g.Zh)(tP)},20920:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(30423),i=r(80090);let a=function(e,t,r){var a=t(e);return(0,i.A)(e)?a:(0,n.A)(a,r(e))}},21008:e=>{e.exports={style:{fontFamily:"'Noto Sans', 'Noto Sans Fallback'",fontStyle:"normal"},className:"__className_ae864c",variable:"__variable_ae864c"}},21041:(e,t,r)=>{"use strict";r.d(t,{Ky:()=>o});let n={"zh-TW":"䏿ï¼ç¹é«ï¼","zh-Hant":"䏿ï¼ç¹é«ï¼","zh-CN":"䏿ï¼ç®ä½ï¼","zh-Hans":"䏿ï¼ç®ä½ï¼",en:"è±æ","en-US":"è±æ","en-GB":"è±æ",ja:"æ¥æ","ja-JP":"æ¥æ",ko:"éæ","ko-KR":"éæ",it:"æå¤§å©æ",fr:"æ³æ",de:"å¾·æ",id:"å°å°¼æ"},i=e=>n[e]||e,a=e=>!1!==e.active&&!!e.vttUrl,o=e=>e.filter(a).map((e,t)=>({kind:"subtitles",src:e.vttUrl,srcLang:e.language,label:i(e.language),default:0===t}))},21755:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=function(e){return e}},21834:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(93441),i=r(28098);let a=e=>{let t={systemProps:{},otherProps:{}},r=e?.theme?.unstable_sxConfig??i.A;return Object.keys(e).forEach(n=>{r[n]?t.systemProps[n]=e[n]:t.otherProps[n]=e[n]}),t};function o(e){let t,{sx:r,...i}=e,{systemProps:o,otherProps:s}=a(i);return t=Array.isArray(r)?[o,...r]:"function"==typeof r?(...e)=>{let t=r(...e);return(0,n.Q)(t)?{...o,...t}:o}:{...o,...r},{...s,sx:t}}},22133:(e,t,r)=>{"use strict";r.d(t,{A:()=>m});var n=r(55729),i=r(41166),a=r(96304),o=r(25027),s=r(39884),l=r(88273),c=r(33528),u=r(91371),d=r(6029);function p(e,t,r){let n,i=t.getBoundingClientRect(),a=r&&r.getBoundingClientRect(),o=(0,u.A)(t);if(t.fakeTransform)n=t.fakeTransform;else{let e=o.getComputedStyle(t);n=e.getPropertyValue("-webkit-transform")||e.getPropertyValue("transform")}let s=0,l=0;if(n&&"none"!==n&&"string"==typeof n){let e=n.split("(")[1].split(")")[0].split(",");s=parseInt(e[4],10),l=parseInt(e[5],10)}return"left"===e?a?"translateX(".concat(a.right+s-i.left,"px)"):"translateX(".concat(o.innerWidth+s-i.left,"px)"):"right"===e?a?"translateX(-".concat(i.right-a.left-s,"px)"):"translateX(-".concat(i.left+i.width-s,"px)"):"up"===e?a?"translateY(".concat(a.bottom+l-i.top,"px)"):"translateY(".concat(o.innerHeight+l-i.top,"px)"):a?"translateY(-".concat(i.top-a.top+i.height-l,"px)"):"translateY(-".concat(i.top+i.height-l,"px)")}function h(e){return"function"==typeof e?e():e}function f(e,t,r){let n=p(e,t,h(r));n&&(t.style.webkitTransform=n,t.style.transform=n)}let m=n.forwardRef(function(e,t){let r=(0,l.A)(),p={enter:r.transitions.easing.easeOut,exit:r.transitions.easing.sharp},h={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:m,appear:g=!0,children:y,container:v,direction:b="down",easing:w=p,in:x,onEnter:k,onEntered:A,onEntering:C,onExit:S,onExited:E,onExiting:_,style:T,timeout:P=h,TransitionComponent:O=i.Ay,...I}=e,M=n.useRef(null),L=(0,s.A)((0,a.A)(y),M,t),N=e=>t=>{e&&(void 0===t?e(M.current):e(M.current,t))},R=N((e,t)=>{f(b,e,v),(0,c.q)(e),k&&k(e,t)}),j=N((e,t)=>{let n=(0,c.c)({timeout:P,style:T,easing:w},{mode:"enter"});e.style.webkitTransition=r.transitions.create("-webkit-transform",{...n}),e.style.transition=r.transitions.create("transform",{...n}),e.style.webkitTransform="none",e.style.transform="none",C&&C(e,t)}),D=N(A),F=N(_),V=N(e=>{let t=(0,c.c)({timeout:P,style:T,easing:w},{mode:"exit"});e.style.webkitTransition=r.transitions.create("-webkit-transform",t),e.style.transition=r.transitions.create("transform",t),f(b,e,v),S&&S(e)}),B=N(e=>{e.style.webkitTransition="",e.style.transition="",E&&E(e)}),z=e=>{m&&m(M.current,e)},$=n.useCallback(()=>{M.current&&f(b,M.current,v)},[b,v]);return n.useEffect(()=>{if(x||"down"===b||"right"===b)return;let e=(0,o.A)(()=>{M.current&&f(b,M.current,v)}),t=(0,u.A)(M.current);return t.addEventListener("resize",e),()=>{e.clear(),t.removeEventListener("resize",e)}},[b,x,v]),n.useEffect(()=>{x||$()},[x,$]),(0,d.jsx)(O,{nodeRef:M,onEnter:R,onEntered:D,onEntering:j,onExit:V,onExited:B,onExiting:F,addEndListener:z,appear:g,in:x,timeout:P,...I,children:(e,t)=>{let{ownerState:r,...i}=t;return n.cloneElement(y,{ref:L,style:{visibility:"exited"!==e||x?void 0:"hidden",...T,...y.props.style},...i})}})})},22838:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=Function.prototype.toString;let i=function(e){if(null!=e){try{return n.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},22847:(e,t,r)=>{"use strict";function n(e){return"object"==typeof e&&null!==e}r.d(t,{G:()=>n})},23070:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>a,HX:()=>o,tT:()=>l});var n=r(24150),i=r(38260);function a(e,t){return(0,n.A)(e,t)}function o(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}let s=[];function l(e){return s[0]=e,(0,i.J)(s)}},23131:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});
1var n=r(55729),i=r(56760),a=r(49452),o=r(96304),s=r(2422),l=r(6522);function c(e){return"function"==typeof e?e():e}let u=n.forwardRef(function(e,t){let{children:r,container:u,disablePortal:d=!1}=e,[p,h]=n.useState(null),f=(0,a.A)(n.isValidElement(r)?(0,o.A)(r):null,t);if((0,s.A)(()=>{d||h(c(u)||document.body)},[u,d]),(0,s.A)(()=>{if(p&&!d)return(0,l.A)(t,p),()=>{(0,l.A)(t,null)}},[t,p,d]),d){if(n.isValidElement(r)){let e={ref:f};return n.cloneElement(r,e)}return r}return p?i.createPortal(r,p):p})},23261:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(70921),i=r(67549),a=r(55729);let o=(0,n.eU)(!1),s=()=>{let[e,t]=(0,i.fp)(o);return{isLoading:e,startLoading:(0,a.useCallback)(()=>{t(!0)},[]),stopLoading:(0,a.useCallback)(()=>{t(!1)},[])}}},23330:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImgProps",{enumerable:!0,get:function(){return p}}),r(89687);let n=r(74495),i=r(89227),a=["-moz-initial","fill","none","scale-down",void 0];function o(e){return void 0!==e.default}function s(e){return void 0!==e.src}function l(e){return!!e&&"object"==typeof e&&(o(e)||s(e))}function c(e){return void 0===e?e:"number"==typeof e?Number.isFinite(e)?e:NaN:"string"==typeof e&&/^[0-9]+$/.test(e)?parseInt(e,10):NaN}function u(e,t,r){let{deviceSizes:n,allSizes:i}=e;if(r){let e=/(^|\s)(1?\d?\d)vw/g,t=[];for(let n;n=e.exec(r);)t.push(parseInt(n[2]));if(t.length){let e=.01*Math.min(...t);return{widths:i.filter(t=>t>=n[0]*e),kind:"w"}}return{widths:i,kind:"w"}}return"number"!=typeof t?{widths:n,kind:"w"}:{widths:[...new Set([t,2*t].map(e=>i.find(t=>t>=e)||i[i.length-1]))],kind:"x"}}function d(e){let{config:t,src:r,unoptimized:n,width:i,quality:a,sizes:o,loader:s}=e;if(n)return{src:r,srcSet:void 0,sizes:void 0};let{widths:l,kind:c}=u(t,i,o),d=l.length-1;return{sizes:o||"w"!==c?o:"100vw",srcSet:l.map((e,n)=>s({config:t,src:r,quality:a,width:e})+" "+("w"===c?e:n+1)+c).join(", "),src:s({config:t,src:r,quality:a,width:l[d]})}}function p(e,t){let r,s,u,{src:p,sizes:h,unoptimized:f=!1,priority:m=!1,loading:g,className:y,quality:v,width:b,height:w,fill:x=!1,style:k,overrideSrc:A,onLoad:C,onLoadingComplete:S,placeholder:E="empty",blurDataURL:_,fetchPriority:T,decoding:P="async",layout:O,objectFit:I,objectPosition:M,lazyBoundary:L,lazyRoot:N,...R}=e,{imgConf:j,showAltText:D,blurComplete:F,defaultLoader:V}=t,B=j||i.imageConfigDefault;if("allSizes"in B)r=B;else{var z;let e=[...B.deviceSizes,...B.imageSizes].sort((e,t)=>e-t),t=B.deviceSizes.sort((e,t)=>e-t),n=null==(z=B.qualities)?void 0:z.sort((e,t)=>e-t);r={...B,allSizes:e,deviceSizes:t,qualities:n}}if(void 0===V)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let $=R.loader||V;delete R.loader,delete R.srcSet;let U="__next_img_default"in $;if(U){if("custom"===r.loader)throw Object.defineProperty(Error('Image with src "'+p+'" is missing "loader" prop.\nRead more: https://nextjs.org/docs/messages/next-image-missing-loader'),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let e=$;$=t=>{let{config:r,...n}=t;return e(n)}}if(O){"fill"===O&&(x=!0);let e={responsive:"100vw",fill:"100vw"},t={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[O];t&&(k={...k,...t});let r=e[O];r&&!h&&(h=r)}let q="",H=c(b),Y=c(w);if(l(p)){let e=o(p)?p.default:p;if(!e.src)throw Object.defineProperty(Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received "+JSON.stringify(e)),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!e.height||!e.width)throw Object.defineProperty(Error("An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received "+JSON.stringify(e)),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(s=e.blurWidth,u=e.blurHeight,_=_||e.blurDataURL,q=e.src,!x)if(H||Y){if(H&&
1!Y){let t=H/e.width;Y=Math.round(e.height*t)}else if(!H&&Y){let t=Y/e.height;H=Math.round(e.width*t)}}else H=e.width,Y=e.height}let W=!m&&("lazy"===g||void 0===g);(!(p="string"==typeof p?p:q)||p.startsWith("data:")||p.startsWith("blob:"))&&(f=!0,W=!1),r.unoptimized&&(f=!0),U&&!r.dangerouslyAllowSVG&&p.split("?",1)[0].endsWith(".svg")&&(f=!0);let G=c(v),K=Object.assign(x?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:I,objectPosition:M}:{},D?{}:{color:"transparent"},k),J=F||"empty"===E?null:"blur"===E?'url("data:image/svg+xml;charset=utf-8,'+(0,n.getImageBlurSvg)({widthInt:H,heightInt:Y,blurWidth:s,blurHeight:u,blurDataURL:_||"",objectFit:K.objectFit})+'")':'url("'+E+'")',X=a.includes(K.objectFit)?"fill"===K.objectFit?"100% 100%":"cover":K.objectFit,Q=J?{backgroundSize:X,backgroundPosition:K.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:J}:{},Z=d({config:r,src:p,unoptimized:f,width:H,quality:G,sizes:h,loader:$});return{props:{...R,loading:W?"lazy":g,fetchPriority:T,width:H,height:Y,decoding:P,className:y,style:{...K,...Q},sizes:Z.sizes,srcSet:Z.srcSet,src:A||Z.src},meta:{unoptimized:f,priority:m,placeholder:E,fill:x}}}},23714:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(16242);let i=e=>(0,n.A)(e)&&"classes"!==e},23986:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(11407);let i={theme:void 0},a=function(e){let t,r;return function(a){let o=t;return(void 0===o||a.theme!==r)&&(i.theme=a.theme,t=o=(0,n.A)(e(i)),r=a.theme),o}}},24055:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(49452),i=r(30991),a=r(56202),o=r(12932);function s(e,t){let{className:r,elementType:s,ownerState:l,externalForwardedProps:c,internalForwardedProps:u,shouldForwardComponentProp:d=!1,...p}=t,{component:h,slots:f={[e]:void 0},slotProps:m={[e]:void 0},...g}=c,y=f[e]||s,v=(0,a.A)(m[e],l),{props:{component:b,...w},internalRef:x}=(0,o.A)({className:r,...p,externalForwardedProps:"root"===e?g:void 0,externalSlotProps:v}),k=(0,n.A)(x,null==v?void 0:v.ref,t.ref),A="root"===e?b||h:b,C=(0,i.A)(y,{..."root"===e&&!h&&!f[e]&&u,..."root"!==e&&!f[e]&&u,...w,...A&&!d&&{as:A},...A&&d&&{component:A},ref:k},l);return[y,C]}},24069:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=0x1fffffffffffff;let i=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=n}},24134:(e,t,r)=>{"use strict";function n(e){var t;return!!e[0].match(/(cssVarPrefix|colorSchemeSelector|modularCssLayers|rootSelector|typography|mixins|breakpoints|direction|transitions)/)||!!e[0].match(/sxConfig$/)||"palette"===e[0]&&!!(null==(t=e[1])?void 0:t.match(/(mode|contrastThreshold|tonalOffset)/))}r.d(t,{A:()=>n})},24150:(e,t,r)=>{"use strict";r.d(t,{A:()=>k});var n=r(99410),i=r(87905),a=r(38260),o=r(44930),s=!0;function l(e,t,r){var n="";return r.split(" ").forEach(function(r){void 0!==e[r]?t.push(e[r]+";"):r&&(n+=r+" ")}),n}var c=function(e,t,r){var n=e.key+"-"+t.name;(!1===r||!1===s)&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},u=function(e,t,r){c(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do e.insert(t===i?"."+n:"",i,e.sheet,!0),i=i.next;while(void 0!==i)}},d=r(55729),p=r(15800),h=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInl
1ine|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,f=(0,p.A)(function(e){return h.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&91>e.charCodeAt(2)}),m=!1,g=f,y=function(e){return"theme"!==e},v=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?g:y},b=function(e,t,r){var n;if(t){var i=t.shouldForwardProp;n=e.__emotion_forwardProp&&i?function(t){return e.__emotion_forwardProp(t)&&i(t)}:i}return"function"!=typeof n&&r&&(n=e.__emotion_forwardProp),n},w=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return c(t,r,n),(0,o.s)(function(){return u(t,r,n)}),null},x=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],k=(function e(t,r){var o,s,c=t.__emotion_real===t,u=c&&t.__emotion_base||t;void 0!==r&&(o=r.label,s=r.target);var p=b(t,r,c),h=p||v(u),f=!h("as");return function(){var g=arguments,y=c&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==o&&y.push("label:"+o+";"),null==g[0]||void 0===g[0].raw)y.push.apply(y,g);else{var x=g[0];y.push(x[0]);for(var k=g.length,A=1;A<k;A++)y.push(g[A],x[A])}var C=(0,i.w)(function(e,t,r){var n=f&&e.as||u,o="",c=[],m=e;if(null==e.theme){for(var g in m={},e)m[g]=e[g];m.theme=d.useContext(i.T)}"string"==typeof e.className?o=l(t.registered,c,e.className):null!=e.className&&(o=e.className+" ");var b=(0,a.J)(y.concat(c),t.registered,m);o+=t.key+"-"+b.name,void 0!==s&&(o+=" "+s);var x=f&&void 0===p?v(n):h,k={};for(var A in e)(!f||"as"!==A)&&x(A)&&(k[A]=e[A]);return k.className=o,r&&(k.ref=r),d.createElement(d.Fragment,null,d.createElement(w,{cache:t,serialized:b,isStringTag:"string"==typeof n}),d.createElement(n,k))});return C.displayName=void 0!==o?o:"Styled("+("string"==typeof u?u:u.displayName||u.name||"Component")+")",C.defaultProps=t.defaultProps,C.__emotion_real=C,C.__emotion_base=u,C.__emotion_styles=y,C.__emotion_forwardProp=p,Object.defineProperty(C,"toString",{value:function(){return void 0===s&&m?"NO_COMPONENT_SELECTOR":"."+s}}),C.withComponent=function(t,i){return e(t,(0,n.A)({},r,i,{shouldForwardProp:b(C,i,!0)})).apply(void 0,y)},C}}).bind(null);x.forEach(function(e){k[e]=k(e)})},24409:(e,t,r)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"normalizeLocalePath",{enumerable:!0,get:function(){return n}});let n=(e,t)=>r(67342).normalizeLocalePath(e,t);("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},24706:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(58309);let i=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],a=(0,n.A)("circle-alert",i)},24764:(e,t,r)=>{"use strict";var n;n={value:!0},e.exports.jsxRuntime=r(6029)},24785:(e,t,r)=>{"use strict";r.d(t,{A:()=>S});let n=e=>"object"==typeof e&&null!==e,i=e=>n(e)&&!(e instanceof RegExp)&&!(e instanceof Error)&&!(e instanceof Date),a=Symbol("mapObjectSkip"),o=(e,t,r,n=new WeakMap)=>{if(r={deep:!1,target:{},...r},n.has(e))return n.get(e);n.set(e,r.target);let{target:s}=r;delete r.target;let l=e=>e.map(e=>i(e)?o(e,t,r,n):e);if(Array.isArray(e))return l(e);for(let[c,u]of Object.entries(e)){let d=t(c,u,e);if(d===a)continue;let[p,h,{shouldRecurse:f=!0}={}]=d;"__proto__"!==p&&(r.deep&&f&&i(h)&&(h=Array.isArray(h)?l(h):o(h,t,r,n)),s[p]=h)}return s};function s(e,t,r){if(!n(e))throw TypeError(`Expected an object, got \`${e}\` (${typeof e})`);return o(e,t,r)}let l=/[\p{Lu}]/u,c=/[\p{Ll}]/u,u=/^[\p{Lu}](?![\p{Lu}])/gu,d=/([\p{Alpha}\p{N}_]|$)/u,p=/[_.\- ]+/,h=RegExp("^"+p.source),f=RegExp(p.source+d.source,"gu"),m=RegExp("\\d+"+d.source,"gu"),g=(e,t,r,n)=>{let i=!1,a=!1,o=!1,s=!1;for(let u=0;u<e.length;u++){let d=e[u];s=!(u>2)||"-"===e[u-3],i&&l.test(d)?(e=e.slice(0,u)+"-"+e.slice(u),i=!1,o=a,a=!0,u++):a&&o&&c.test(d)&&(!s||n)?(e=e.slice(0,u-1)+"-"+e.slice(u-1),o=a,a=!1,i=!0):(i=t(d)===d&&r(d)!==d,o=a,a=r(d)===d&&t(d)!==d)}return e},y=(e,t)=>(u.lastIndex=0,e.replaceAll(u,e=>t(e))),v=(e,t)=>(f.lastIndex=0,m.lastIndex=0,e.replaceAll(m,(r,n,i)=>["_","-"].includes(e.charAt(i+r.length))?r:t(r)).replaceAll(f,(e,r)=>t(r)));function b(e,t){if(!("string"==typeof e||Array.isArray(e)))throw TypeError("Expected the input to be `string | string[]`");if(t={pascalCase:!1,preserveConsecutiveUppercase:!1,...t},0===(e=Array.isArray(e)?e.map(e=>e.trim()).filter(e=>e.length).join("-"):e.trim()).length)return"";let r=!1===t.locale?e=>e.toLowerCase():e=>e.toLocaleLowerCase(t.locale),n=!1===t.locale?e=>e.toUpperCase():e=>e.toLocaleUpperCase(t.locale);return 1===e.length?p.test(e)?"":t.pascalCase?n(e):r(e):(e!==r(e)&&(e=g(e,r,n,t.preserveConsecutiveUppercase)),e=e.replace(h,""),e=t.preserveConsecutiveUppercase?y(e,r):r(e),t.pascalCase&&(e=n(e.charAt(0))+e.slice(1)),v(e,n))}class w extends Map{constructor(e={}){if(super(),!(e.maxSize&&e.maxSize>0))throw TypeError("`maxSize` must be a number greater than 0");if("number"==typeof e.maxAge&&0===e.maxAge)throw TypeError("`maxAge` must be a number greater than 0");this.maxSize=e.maxSize,this.maxAge=e.maxAge||1/0,this.onEviction=e.onEviction,this.cache=new Map,this.oldCache=new Map,this._size=0}_emitEvictions(e){if("function"==typeof this.onEviction)for(let[t,r]of e)this.onEviction(t,r.value)}_deleteIfExpired(e,t){return!!("number"==typeof t.expiry&&t.expiry<=Date.now())&&("function"==typeof this.onEviction&&this.onEviction(e,t.value),this.delete(e))}_getOrDeleteIfExpired(e,t){if(!1===this._deleteIfExpired(e,t))return t.value}_getItemValue(e,t){return t.expiry?this._getOrDeleteIfExpired(e,t):t.value}_peek(e,t){let r=t.get(e);return this._getItemValue(e,r)}_set(e,t){this.cache.set(e,t),this._size++,this._size>=this.maxSize&&(this._size=0,this._emitEvictions(this.oldCache),this.oldCache=this.cache,this.cache=new Map)}_moveToRecent(e,t){this.oldCache.delete(e),this._set(e,t)}*_entriesAscending(){for(let e of this.oldCache){let[t,r]=e;this.cache.has(t)||!1===this._deleteIfExpired(t,r)&&(yield e)}for(let e of this.cache){let[t,r]=e;!1===this._deleteIfExpired(t,r)&&(yield e)}}get(e){if(this.cache.has(e)){let t=this.cache.get(e);return this._getItemValue(e,t)}if(this.oldCache.has(e)){let t=this.oldCache.get(e);if(!1===this._deleteIfExpired(e,t))return this._moveToRecent(e,t),t.value}}set(e,t,{maxAge:r=this.maxAge}={}){let n="number"==typeof r&&r!==1/0?Date.now()+r:void 0;return this.cache.has(e)?this.cache.set(e,{value:t,expiry:n}):this._set(e,{value:t,expiry:n}),this}has(e){return this.cache.has(e)?!this._deleteIfExpired(e,this.cache.get(e)):!!this.oldCache.has(e)&&!this._deleteIfExpired(e,this.oldCache.get(e))}peek(e){return this.cache.has(e)?this._peek(e,this.cache):this.oldCache.has(e)?this._peek(e,this.oldCache):void 0}delete(e){let t=this.cache.delete(e);return t&&this._size--,this.oldCache.delete(e)||t}clear(){this.cache.clear(),this.oldCache.clear(),this._size=0}resize(e){if(!(e&&e>0))throw TypeError("`maxSize` must be a number greater than 0");let t=[...this._entriesAscending()],r=t.length-e;r<0?(this.cache=new Map(t),this.oldCache=new Map,this._size=t.length):(r>0&&this._emitEvictions(t.slice(0,r)),this.oldCache=new Map(t.slice(r)),this.cache=new Map,this._size=0),this.maxSize=e}*keys(){for(let[e]of this)yield e}*values(){for(let[,e]of this)yield e}*[Symbol.iterator](){for(let e of this.cache){let[t,r]=e;!1===this._deleteIfExpired(t,r)&&(yield[t,r.value])}for(let e of this.oldCache){let[t,r]=e;this.cache.has(t)||!1===this._deleteIfExpired(t,r)&&(yield[t,r.value])}}*entriesDescending(){let e=[...this.cache];for(let t=e.length-1;t>=0;--t){let[r,n]=e[t];!1===this._deleteIfExpired(r,n)&&(yield[r,n.value])}e=[...this.oldCache];for(let t=e.length-1;t>=0;--t){let[r,n]=e[t];this.cache.has(r)||!1===this._deleteIfExpired(r,n)&&(yield[r,n.value])}}*entriesAscending(){for(let[e,t]of this._entriesAscending())yield[e,t.value]}get size(){if(!this._size)return this.oldCache.size;let e=0;for(let t of this.oldCache.keys())!this.cache.has(t)&&e++;return Math.min(this._size+e,this.maxSize)}entries(){return this.entriesAscending()}forEach(e,t=this){for(let[r,n]of this.entriesAscending())e.call(t,n,r,this)}get[Symbol.toStringTag](){return JSON.stringify([...this.entriesAscending()])}}let x=(e,t)=>e.some(e=>"string"==typeof e?e===t:(e.lastIndex=0,e.test(t))),k=new w({maxSize:1e5}),A=e=>"object"==typeof e&&null!==e&&!(e instanceof RegExp)&&!(e instanceof Error)&&!(e instanceof Date),C=(e,t={})=>
1{if(!A(e))return e;let{exclude:r,pascalCase:n=!1,stopPaths:i,deep:a=!1,preserveConsecutiveUppercase:o=!1}=t,l=new Set(i),c=e=>(t,i)=>{if(a&&A(i)){let r=void 0===e?t:`${e}.${t}`;l.has(r)||(i=s(i,c(r)))}if(!(r&&x(r,t))){let e=n?`${t}_`:t;if(k.has(e))t=k.get(e);else{let r=b(t,{pascalCase:n,locale:!1,preserveConsecutiveUppercase:o});t.length<100&&k.set(e,r),t=r}}return[t,i]};return s(e,c(void 0))};function S(e,t){return Array.isArray(e)?Object.keys(e).map(r=>C(e[r],t)):C(e,t)}},24975:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(41729),i=r(82821),a=r(80465);let o=function(e,t,r){for(var o=-1,s=t.length,l={};++o<s;){var c=t[o],u=(0,n.A)(e,c);r(u,c)&&(0,i.A)(l,(0,a.A)(c,e),u)}return l}},25027:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=r(41606).A},25047:(e,t,r)=>{"use strict";r.d(t,{A:()=>o,E:()=>a});var n=r(11722),i=r(91206);function a(e){return(0,i.Ay)("MuiSvgIcon",e)}let o=(0,n.A)("MuiSvgIcon",["root","colorPrimary","colorSecondary","colorAction","colorError","colorDisabled","fontSizeInherit","fontSizeSmall","fontSizeMedium","fontSizeLarge"])},25158:(e,t,r)=>{"use strict";function n(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.reduce((e,t)=>null==t?e:function(){for(var r=arguments.length,n=Array(r),i=0;i<r;i++)n[i]=arguments[i];e.apply(this,n),t.apply(this,n)},()=>{})}r.d(t,{A:()=>n})},25478:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(49452),i=r(30991),a=r(12932),o=r(56202);let s=function(e){var t;let{elementType:r,externalSlotProps:s,ownerState:l,skipResolvingSlotProps:c=!1,...u}=e,d=c?{}:(0,o.A)(s,l),{props:p,internalRef:h}=(0,a.A)({...u,externalSlotProps:d}),f=(0,n.A)(h,null==d?void 0:d.ref,null==(t=e.additionalProps)?void 0:t.ref);return(0,i.A)(r,{...p,ref:f},l)}},25628:(e,t,r)=>{"use strict";function n(e){return function(t){let r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},o=n.width,s=o&&e.matchPatterns[o]||e.matchPatterns[e.defaultMatchWidth],l=t.match(s);if(!l)return null;let c=l[0],u=o&&e.parsePatterns[o]||e.parsePatterns[e.defaultParseWidth],d=Array.isArray(u)?a(u,e=>e.test(c)):i(u,e=>e.test(c));return r=e.valueCallback?e.valueCallback(d):d,{value:r=n.valueCallback?n.valueCallback(r):r,rest:t.slice(c.length)}}}function i(e,t){for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t(e[r]))return r}function a(e,t){for(let r=0;r<e.length;r++)if(t(e[r]))return r}r.d(t,{A:()=>n})},25682:(e,t,r)=>{"use strict";function n(e){return function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.width?String(t.width):e.defaultWidth;return e.formats[r]||e.formats[e.defaultWidth]}}r.d(t,{k:()=>n})},25684:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(86922);let i=function(e){if("string"!=typeof e)throw Error((0,n.A)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},25739:(e,t,r)=>{"use strict";r.d(t,{q:()=>i});let n={};function i(){return n}},25903:(e,t,r)=>{"use strict";r.d(t,{s:()=>i});var n=r(22847);function i(e){return(0,n.G)(e)&&"offsetHeight"in e&&!("ownerSVGElement"in e)}},26151:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(58309);let i=[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]],a=(0,n.A)("house",i)},26272:(e,t,r)=>{"use strict";r.d(t,{A:()=>f});var n=r(55729),i=r(49452),a=r(96304),o=r(48882),s=r(6029);let l='input,select,textarea,a[href],button,[tabindex],audio[controls],video[controls],[contenteditable]:not([contenteditable="false"])';function c(e){let t=parseInt(e.getAttribute("tabindex")||"",10);return Number.isNaN(t)?"true"===e.contentEditable||("AUDIO"===e.nodeName||"VIDEO"===e.nodeName||"DETAILS"===e.nodeName)&&null===e.getAttribute("tabindex")?0:e.tabIndex:t}function u(e){if("INPUT"!==e.tagName||"radio"!==e.type||!e.name)return!1;let t=t=>e.ownerDocument.querySelector('input[type="radio"]'.concat(t)),r=t('[name="'.concat(e.name,'"]:checked'));return r||(r=t('[name="'.concat(e.name,'"]'))),r!==e}function d(e){return!(e.disabled||"INPUT"===e.tagName&&"hidden"===e.type||u(e))}function p(e){let t=[],r=[];
1return Array.from(e.querySelectorAll(l)).forEach((e,n)=>{let i=c(e);-1!==i&&d(e)&&(0===i?t.push(e):r.push({documentOrder:n,tabIndex:i,node:e}))}),r.sort((e,t)=>e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex).map(e=>e.node).concat(t)}function h(){return!0}let f=function e(e){let{children:t,disableAutoFocus:r=!1,disableEnforceFocus:l=!1,disableRestoreFocus:c=!1,getTabbable:u=p,isEnabled:d=h,open:f}=e,m=n.useRef(!1),g=n.useRef(null),y=n.useRef(null),v=n.useRef(null),b=n.useRef(null),w=n.useRef(!1),x=n.useRef(null),k=(0,i.A)((0,a.A)(t),x),A=n.useRef(null);n.useEffect(()=>{f&&x.current&&(w.current=!r)},[r,f]),n.useEffect(()=>{if(!f||!x.current)return;let e=(0,o.A)(x.current);return!x.current.contains(e.activeElement)&&(x.current.hasAttribute("tabIndex")||x.current.setAttribute("tabIndex","-1"),w.current&&x.current.focus()),()=>{c||(v.current&&v.current.focus&&(m.current=!0,v.current.focus()),v.current=null)}},[f]),n.useEffect(()=>{if(!f||!x.current)return;let e=(0,o.A)(x.current),t=t=>{A.current=t,!l&&d()&&"Tab"===t.key&&e.activeElement===x.current&&t.shiftKey&&(m.current=!0,y.current&&y.current.focus())},r=()=>{let t=x.current;if(null===t)return;if(!e.hasFocus()||!d()||m.current){m.current=!1;return}if(t.contains(e.activeElement)||l&&e.activeElement!==g.current&&e.activeElement!==y.current)return;if(e.activeElement!==b.current)b.current=null;else if(null!==b.current)return;if(!w.current)return;let r=[];if((e.activeElement===g.current||e.activeElement===y.current)&&(r=u(x.current)),r.length>0){var n,i;let e=!!((null==(n=A.current)?void 0:n.shiftKey)&&(null==(i=A.current)?void 0:i.key)==="Tab"),t=r[0],a=r[r.length-1];"string"!=typeof t&&"string"!=typeof a&&(e?a.focus():t.focus())}else t.focus()};e.addEventListener("focusin",r),e.addEventListener("keydown",t,!0);let n=setInterval(()=>{e.activeElement&&"BODY"===e.activeElement.tagName&&r()},50);return()=>{clearInterval(n),e.removeEventListener("focusin",r),e.removeEventListener("keydown",t,!0)}},[r,l,c,d,f,u]);let C=e=>{null===v.current&&(v.current=e.relatedTarget),w.current=!0,b.current=e.target;let r=t.props.onFocus;r&&r(e)},S=e=>{null===v.current&&(v.current=e.relatedTarget),w.current=!0};return(0,s.jsxs)(n.Fragment,{children:[(0,s.jsx)("div",{tabIndex:f?0:-1,onFocus:S,ref:g,"data-testid":"sentinelStart"}),n.cloneElement(t,{ref:k,onFocus:C}),(0,s.jsx)("div",{tabIndex:f?0:-1,onFocus:S,ref:y,"data-testid":"sentinelEnd"})]})}},26401:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var n=r(93441),i=r(42370),a=r(67118);let o={borderRadius:4};var s=r(63390),l=r(32790),c=r(28098);function u(e,t){let r=this;if(r.vars){if(!r.colorSchemes?.[e]||"function"!=typeof r.getColorSchemeSelector)return{};let n=r.getColorSchemeSelector(e);return"&"===n?t:((n.includes("data-")||n.includes("."))&&(n=`*:where(${n.replace(/\s*&$/,"")}) &`),{[n]:t})}return r.palette.mode===e?t:{}}let d=function(e={},...t){let{breakpoints:r={},palette:d={},spacing:p,shape:h={},...f}=e,m=(0,i.A)(r),g=(0,s.A)(p),y=(0,n.A)({breakpoints:m,direction:"ltr",components:{},palette:{mode:"light",...d},spacing:g,shape:{...o,...h}},f);return(y=(0,a.Ay)(y)).applyStyles=u,(y=t.reduce((e,t)=>(0,n.A)(e,t),y)).unstable_sxConfig={...c.A,...f?.unstable_sxConfig},y.unstable_sx=function(e){return(0,l.A)({sx:e,theme:this})},y}},26687:(e,t,r)=>{"use strict";r.d(t,{YG:()=>o,m_:()=>a,wS:()=>s});var n=r(53186),i=r(35457);let a=e=>(0,n.md)(i.GA)[e],o=()=>(0,n.md)(i.u0),s=()=>(0,n.md)(i.e3)},26732:(e,t,r)=>{"use strict";r.d(t,{Y:()=>x});var n=r(2860),i=r(83004),a=r(213),o=r(71987),s=r(52138),l=r(12201),c=r(55729),u=r(47126),d=r(24150),p=r(18119),h=r(9428);let f=(0,d.A)("div",{target:"edrkw3s0"})("display:flex;justify-content:space-between;width:100%;align-items:center;"),m=(0,d.A)("div",{target:"edrkw3s1"})("display:flex;align-items:center;gap:0.5rem;line-height:1.25rem;font-size:0.875rem;.MuiBreadcrumbs-li{&:last-child{color:",h.A.color.palette["primary-500"],";}&:only-child{color:",h.A.color.palette["grayscale-800"],";}color:",h.A.color.palette["grayscale-800"],";}.MuiBreadcrumbs-separator{color:",h.A.color.palette["grayscale-800"],";}"),g=(0,d.A)("div",{target:"edrkw3s2"})("display:flex;align-items:center;gap:0.5rem;line-height:1.25rem;font-size:0.875rem;.MuiBreadcrumbs-li{color:",h.A.color.palette["grayscale-800"],";}"),y=(0,d.A)("div",{target:"edrkw3s3"})("width:1px;height:1.25rem;background-color:",h.A.color.palette["grayscale-100"],";"),v=(0,d.A)("div",{target:"edrkw3s4"})("font-size:0.875rem;line-height:1.25rem;padding:0.375rem 0.5rem;color:",h.A.color.palette["grayscale-800"],";"),b=(0,d.A)(p.A,{target:"edrkw3s5"})("font-size:0.875rem;line-height:1.25rem;color:",h.A.color.palette["grayscale-800"],";"),w=e=>{let{breadcrumbItems:t,defaultBreadcrumbItemProps:r,showPrevButton:c=!0,prevButtonProps:d,CustomTooltipComponent:p,defaultTooltipProps:w,RightComponents:x,BreadcrumbItemComp:k,breadcrumbItemCompProps:A}=e;return(0,n.FD)(f,{children:[(0,n.FD)(m,{children:[c?(0,n.Y)(a.A,{size:"large",sx:{height:"1.25rem",width:"1.25rem",padding:0,color:h.A.color.palette["grayscale-800"]},...d,children:(0,n.Y)(u.I,{type:"arrow_back",size:16})}):null,(0,n.Y)(o.A,{"aria-label":"breadcrumbs",children:t.map((e,t)=>k?(0,i.n)(k,{onClick:e.onClick,...A,href:e.href,key:"bc_".concat(e.text,"_").concat(t),className:e.className},e.text):e.href?(0,i.n)(s.A,{onClick:e.onClick,color:"inherit",href:e.href,className:e.className,sx:{fontSize:"0.875rem"},...r,key:"bc_".concat(e.text,"_").concat(t),underline:"hover"},e.text):(0,n.Y)("div",{onClick:e.onClick,className:e.className,style:{fontSize:"0.875rem",cursor:e.onClick?"pointer":"initial",dis
1play:"inline-block"},children:e.text},"bc_".concat(e.text,"_").concat(t)))}),null!=p?p:w?(0,n.Y)(l.A,{...w,children:(0,n.Y)(a.A,{size:"small",children:(0,n.Y)(u.I,{type:"info",style:{color:h.A.color.palette["grayscale-300"]},size:16})})}):null]}),x?(0,n.Y)(g,{children:(0,n.Y)(o.A,{"aria-label":"right components",separator:(0,n.Y)(y,{}),children:x.map((e,t)=>{switch(e.type){case"text":return(0,i.n)(v,{...e.containerProps,key:"".concat(e.text,"_").concat(t)},e.text);case"button":return(0,i.n)(b,{color:"inherit",sx:{textTransform:"none"},...e.containerProps,key:"".concat(e.text,"_").concat(t)},e.text);case"custom":return(0,n.Y)(v,{children:e.renderComponent(e.text,t)},"".concat(e.text,"_").concat(t));default:return null}})})}):null]})},x=c.memo(w)},26766:(e,t,r)=>{"use strict";r.d(t,{jo:()=>p,pp:()=>d,Al:()=>c,Ve:()=>h});var n=r(96296),i=r(58196),a=r.n(i),o=r(31005),s=r.n(o);let l={wordup:{value:"3.0.5",operator:">="},toeic:{value:"1.0.0",operator:">="},kiao:{value:"0.0.2",operator:"<"}};function c(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=u();if(t){let{platform:r,appName:i,version:a}=t;if(e.platform&&r!==e.platform)return!1;if(e.appName){let t=e.version||l[e.appName],r=(0,n.U)(a,t.value,t.operator);return i?r&&i===e.appName:r}return!0}return!1}function u(){return a().get("platform")}let d=()=>{let e=new(s())().getUA().toLowerCase(),t=/safari/.test(e);return/iphone/.test(e)?!t:e.includes("wv")},p=()=>a().get("shopHomePath"),h=()=>!0},27133:(e,t,r)=>{"use strict";e.exports=r(85596)},27420:function(e,t,r){"use strict";var n=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(r(20444)),i=r(72756);function a(e,t){var r={};return e&&"string"==typeof e&&(0,n.default)(e,function(e,n){e&&n&&(r[(0,i.camel
1Case)(e,t)]=n)}),r}a.default=a,e.exports=a},27709:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(63599),i=r(92741),a="[object Symbol]";let o=function(e){return"symbol"==typeof e||(0,i.A)(e)&&(0,n.A)(e)==a}},28098:(e,t,r)=>{"use strict";r.d(t,{A:()=>$});var n=r(83458),i=r(87190),a=r(62494);let o=function(...e){let t=e.reduce((e,t)=>(t.filterProps.forEach(r=>{e[r]=t}),e),{}),r=e=>Object.keys(e).reduce((r,n)=>t[n]?(0,a.A)(r,t[n](e)):r,{});return r.propTypes={},r.filterProps=e.reduce((e,t)=>e.concat(t.filterProps),[]),r};var s=r(62942);function l(e){return"number"!=typeof e?e:`${e}px solid`}function c(e,t){return(0,i.Ay)({prop:e,themeKey:"borders",transform:t})}let u=c("border",l),d=c("borderTop",l),p=c("borderRight",l),h=c("borderBottom",l),f=c("borderLeft",l),m=c("borderColor"),g=c("borderTopColor"),y=c("borderRightColor"),v=c("borderBottomColor"),b=c("borderLeftColor"),w=c("outline",l),x=c("outlineColor"),k=e=>{if(void 0!==e.borderRadius&&null!==e.borderRadius){let t=(0,n.MA)(e.theme,"shape.borderRadius",4,"borderRadius"),r=e=>({borderRadius:(0,n._W)(t,e)});return(0,s.NI)(e,e.borderRadius,r)}return null};k.propTypes={},k.filterProps=["borderRadius"],o(u,d,p,h,f,m,g,y,v,b,k,w,x);let A=e=>{if(void 0!==e.gap&&null!==e.gap){let t=(0,n.MA)(e.theme,"spacing",8,"gap"),r=e=>({gap:(0,n._W)(t,e)});return(0,s.NI)(e,e.gap,r)}return null};A.propTypes={},A.filterProps=["gap"];let C=e=>{if(void 0!==e.columnGap&&null!==e.columnGap){let t=(0,n.MA)(e.theme,"spacing",8,"columnGap"),r=e=>({columnGap:(0,n._W)(t,e)});return(0,s.NI)(e,e.columnGap,r)}return null};C.propTypes={},C.filterProps=["columnGap"];let S=e=>{if(void 0!==e.rowGap&&null!==e.rowGap){let t=(0,n.MA)(e.theme,"spacing",8,"rowGap"),r=e=>({rowGap:(0,n._W)(t,e)});return(0,s.NI)(e,e.rowGap,r)}return null};S.propTypes={},S.filterProps=["rowGap"];let E=(0,i.Ay)({prop:"gridColumn"}),_=(0,i.Ay)({prop:"gridRow"}),T=(0,i.Ay)({prop:"gridAutoFlow"}),P=(0,i.Ay)({prop:"gridAutoColumns"}),O=(0,i.Ay)({prop:"gridAutoRows"}),I=(0,i.Ay)({prop:"gridTemplateColumns"}),M=(0,i.Ay)({prop:"gridTemplateRows"});function L(e,t){return"grey"===t?t:e}o(A,C,S,E,_,T,P,O,I,M,(0,i.Ay)({prop:"gridTemplateAreas"}),(0,i.Ay)({prop:"gridArea"}));let N=(0,i.Ay)({prop:"color",themeKey:"palette",transform:L});function R(e){return e<=1&&0!==e?`${100*e}%`:e}o(N,(0,i.Ay)({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:L}),(0,i.Ay)({prop:"backgroundColor",themeKey:"palette",transform:L}));let j=(0,i.Ay)({prop:"width",transform:R}),D=e=>{if(void 0!==e.maxWidth&&null!==e.maxWidth){let t=t=>{let r=e.theme?.breakpoints?.values?.[t]||s.zu[t];return r?e.theme?.breakpoints?.unit!=="px"?{maxWidth:`${r}${e.theme.breakpoints.unit}`}:{maxWidth:r}:{maxWidth:R(t)}};return(0,s.NI)(e,e.maxWidth,t)}return null};D.filterProps=["maxWidth"];let F=(0,i.Ay)({prop:"minWidth",transform:R}),V=(0,i.Ay)({prop:"height",transform:R}),B=(0,i.Ay)({prop:"maxHeight",transform:R}),z=(0,i.Ay)({prop:"minHeight",transform:R});(0,i.Ay)({prop:"size",cssProperty:"width",transform:R}),(0,i.Ay)({prop:"size",cssProperty:"height",transform:R}),o(j,D,F,V,B,z,(0,i.Ay)({prop:"boxSizing"}));let $={border:{themeKey:"borders",transform:l},borderTop:{themeKey:"borders",transform:l},borderRight:{themeKey:"borders",transform:l},borderBottom:{themeKey:"borders",transform:l},borderLeft:{themeKey:"borders",transform:l},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:l},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:k},color:{themeKey:"palette",transform:L},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:L},backgroundColor:{themeKey:"palette",transform:L},p:{style:n.Ms},pt:{style:n.Ms},pr:{style:n.Ms},pb:{style:n.Ms},pl:{style:n.Ms},px:{style:n.Ms},py:{style:n.Ms},padding:{style:n.Ms},paddingTop:{style:n.Ms},paddingRight:{style:n.Ms},paddingBottom:{style:n.Ms},paddingLeft:{style:n.Ms},paddingX:{style:n.Ms},paddingY:{style:n.Ms},paddingInline:{style:n.Ms},paddingInlineStart:{style:n.Ms},paddingInlineEnd:{style:n.Ms},paddingBlock:{style:n.Ms},paddingBlockStart:{style:n.Ms},paddingBlockEnd:{style:n.Ms},m:{style:n.Lc},mt:{style:n.Lc},mr:{style:n.Lc},mb:{style:n.Lc},ml:{style:n.Lc},mx:{style:n.Lc},my:{style:n.Lc},margin:{style:n.Lc},marginTop:{style:n.Lc},marginRight:{style:n.Lc},marginBottom:{style:n.Lc},marginLeft:{style:n.Lc},marginX:{style:n.Lc},marginY:{style:n.Lc},marginInline:{style:n.Lc},marginInlineStart:{style:n.Lc},marginInlineEnd:{style:n.Lc},marginBlock:{style:n.Lc},marginBlockStart:{style:n.Lc},marginBlockEnd:{style:n.Lc},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:A},rowGap:{style:S},columnGap:{style:C},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:R},maxWidth:{style:D},minWidth:{transform:R},height:{transform:R},maxHeight:{transform:R},minHeight:{transform:R},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}}},28267:(e,t,r)=>{"use strict";r.d(t,{Dg:()=>s,Dp:()=>o}),r(55729);var n=r(21834),i=r(56801),a=r(6029);function o(e){return function(t){return(0,a.jsx)(i.A,{styles:"function"==typeof e?r=>e({theme:r,...t}):e})}}function s(){return n.A}},28321:(e,t,r)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getDomainLocale",{enumerable:!0,get:function(){return a}});let n=r(85765),i="";function a(e,t,a,o){{let s=r(24409).normalizeLocalePath,l=r(65280).detectDomainLocale,c=t||s(e,a).detectedLocale,u=l(o,void 0,c);if(u){let t="http"+(u.http?"":"s")+"://",r=c===u.defaultLocale?"":"/"+c;return""+t+u.domain+(0,n.normalizePathTrailingSlash)(""+i+r+e)}return!1}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},28392:e=>{"use strict";var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===r.call(e)},o=function(e){if(!e||"[object Object]"!==r.call(e))return!1;var n,i=t.call(e,"constructor"),a=e.constructor&&e.constructor.prototype&&t.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!i&&!a)return!1;for(n in e);return void 0===n||t.call(e,n)},s=function(e,t){n&&"__proto__"===t.name?n(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},l=function(e,r){if("__proto__"===r){if(!t.call(e,r))return;else if(i)return i(e,r).value}return e[r]};e.exports=function e(){var t,r,n,i,c,u,d=arguments[0],p=1,h=arguments.length,f=!1;for("boolean"==typeof d&&(f=d,d=arguments[1]||{},p=2),(null==d||"object"!=typeof d&&"function"!=typeof d)&&(d={});p<h;++p)if(t=arguments[p],null!=t)for(r in t)n=l(d,r),d!==(i=l(t,r))&&(f&&i&&(o(i)||(c=a(i)))?(c?(c=!1,u=n&&a(n)?n:[]):u=n&&o(n)?n:{},s(d,{name:r,newValue:e(f,u,i)})):void 0!==i&&s(d,{name:r,newValue:i}));return d}},28556:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=function(e,t){return e.has(t)}},28647:(e,t,r)=>{"use strict";r.d(t,{A:()=>L});var n=r(86922),i=r(35026);function a(e=""){function t(...r){if(!r.length)return"";let n=r[0];return"string"!=typeof n||n.match(/(#|\(|\)|(-?(\d*\.)?\d+)(px|em|%|ex|ch|rem|vw|vh|vmin|vmax|cm|mm|in|pt|pc))|^(-?(\d*\.)?\d+)$|(\d+ \d+ \d+)/)?`, ${n}`:`, var(--${e?`${e}-`:""}${n}${t(...r.slice(1))})`}return(r,...n)=>`var(--${e?`${e}-`:""}${r}${t(...n)})`}var o=r(63390),s=r(83458);function l(e){let t={};return Object.entries(e).forEach(e=>{let[r,n]=e;"object"==typeof n&&(t[r]=`${n.fontStyle?`${n.fontStyle} `:""}${n.fontVariant?`${n.fontVariant} `:""}${n.fontWeight?`${n.fontWeight} `:""}${n.fontStretch?`${n.fontStretch} `:""}${n.fontSize||""}${n.lineHeight?`/${n.lineHeight} `:""}${n.fontFamily||""}`)}),t}var c=r(93441);let u=(e,t,r,n=[])=>{let i=e;t.forEach((e,a)=>{a===t.length-1?Array.isArray(i)?i[Number(e)]=r:i&&"object"==typeof i&&(i[e]=r):i&&"object"==typeof i&&(i[e]||(i[e]=n.includes(e)?[]:{}),i=i[e])})},d=(e,t,r)=>{function n(e,i=[],a=[]){Object.entries(e).forEach(([e,o])=>{r&&(!r||r([...i,e]))||null==o||("object"==typeof o&&Object.keys(o).length>0?n(o,[...i,e],Array.isArray(o)?[...a,e]:a):t([...i,e],o,a))})}n(e)},p=(e,t)=>"number"==typeof t?["lineHeight","fontWeight","opacity","zIndex"].some(t=>e.includes(t))||e[e.length-1].toLowerCase().includes("opacity")?t:`${t}px`:t;function h(e,t){let{prefix:r,shouldSkipGeneratingVar:n}=t||{},i={},a={},o={};return d(e,(e,t,s)=>{if(("string"==typeof t||"number"==typeof t)&&(!n||!n(e,t))){let n=`--${r?`${r}-`:""}${e.join("-")}`,l=p(e,t);Object.assign(i,{[n]:l}),u(a,e,`var(${n})`,s),u(o,e,`var(${n}, ${l})`,s)}},e=>"vars"===e[0]),{css:i,vars:a,varsWithDefaults:o}}let f=function(e,t={}){let{getSelector:r=v,disableCssColorScheme:n,colorSchemeSelector:i}=t,{colorSchemes:a={},components:o,defaultColorScheme:s="light",...l}=e,{vars:u,css:d,varsWithDefaults:p}=h(l,t),f=p,m={},{[s]:g,...y}=a;if(Object.entries(y||{}).forEach(([e,r])=>{let{vars:n,css:i,varsWithDefaults:a}=h(r,t);f=(0,c.A)(f,a),m[e]={css:i,vars:n}}),g){let{css:e,vars:r,varsWithDefaults:n}=h(g,t);f=(0,c.A)(f,n),m[s]={css:e,vars:r}}function v(t,r){let n=i;if("class"===i&&(n=".%s"),"data"===i&&(n="[data-%s]"),i?.startsWith("data-")&&!i.includes("%s")&&(n=`[${i}="%s"]`),t){if("media"===n){if(e.defaultColorScheme===t)return":root";let n=a[t]?.palette?.mode||t;return{[`@media (prefers-color-scheme: ${n})`]:{":root":r}}}if(n)return e.defaultColorScheme===t?`:root, ${n.replace("%s",String(t))}`:n.replace("%s",String(t))}return":root"}
1return{vars:f,generateThemeVars:()=>{let e={...u};return Object.entries(m).forEach(([,{vars:t}])=>{e=(0,c.A)(e,t)}),e},generateStyleSheets:()=>{let t=[],i=e.defaultColorScheme||"light";function o(e,r){Object.keys(r).length&&t.push("string"==typeof e?{[e]:{...r}}:e)}o(r(void 0,{...d}),d);let{[i]:s,...l}=m;if(s){let{css:e}=s,t=a[i]?.palette?.mode,l=!n&&t?{colorScheme:t,...e}:{...e};o(r(i,{...l}),l)}return Object.entries(l).forEach(([e,{css:t}])=>{let i=a[e]?.palette?.mode,s=!n&&i?{colorScheme:i,...t}:{...t};o(r(e,{...s}),s)}),t}}};function m(e){return function(t){return"media"===e?`@media (prefers-color-scheme: ${t})`:e?e.startsWith("data-")&&!e.includes("%s")?`[${e}="${t}"] &`:"class"===e?`.${t} &`:"data"===e?`[data-${t}] &`:`${e.replace("%s",t)} &`:"&"}}var g=r(28098),y=r(32790),v=r(74004),b=r(93303),w=r(88207),x=r(24134),k=r(32902);let A=e=>(t,r)=>{let n=e.rootSelector||":root",i=e.colorSchemeSelector,a=i;if("class"===i&&(a=".%s"),"data"===i&&(a="[data-%s]"),(null==i?void 0:i.startsWith("data-"))&&!i.includes("%s")&&(a="[".concat(i,'="%s"]')),e.defaultColorScheme===t){if("dark"===t){let i={};return((0,k.A)(e.cssVarPrefix).forEach(e=>{i[e]=r[e],delete r[e]}),"media"===a)?{[n]:r,"@media (prefers-color-scheme: dark)":{[n]:i}}:a?{[a.replace("%s",t)]:i,["".concat(n,", ").concat(a.replace("%s",t))]:r}:{[n]:{...r,...i}}}if(a&&"media"!==a)return"".concat(n,", ").concat(a.replace("%s",String(t)))}else if(t){if("media"===a)return{["@media (prefers-color-scheme: ".concat(String(t),")")]:{[n]:r}};if(a)return a.replace("%s",String(t))}return n};var C=r(30971);function S(e,t){t.forEach(t=>{e[t]||(e[t]={})})}function E(e,t,r){!e[t]&&r&&(e[t]=r)}function _(e){return"string"==typeof e&&e.startsWith("hsl")?(0,v.YL)(e):e}function T(e,t){"".concat(t,"Channel")in e||(e["".concat(t,"Channel")]=(0,v.Me)(_(e[t]),"MUI: Can't create `palette.".concat(t,"Channel` because `palette.").concat(t,"` is not one of these formats: #nnn, #nnnnnn, rgb(), rgba(), hsl(), hsla(), color().")+"\n"+"To suppress this warning, you need to explicitly provide the `palette.".concat(t,'Channel` as a string (in rgb format, for example "12 12 12") or undefined if you want to remove the channel token.')))}function P(e){return"number"==typeof e?"".concat(e,"px"):"string"==typeof e||"function"==typeof e||Array.isArray(e)?e:"8px"}let O=e=>{try{return e()}catch(e){}},I=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"mui";return a(e)};function M(e,t,r,n){if(!t)return;t=!0===t?{}:t;let i="dark"===n?"dark":"light";if(!r){e[n]=(0,w.Ay)({...t,palette:{mode:i,...null==t?void 0:t.palette}});return}let{palette:a,...o}=(0,b.A)({...r,palette:{mode:i,...null==t?void 0:t.palette}});return e[n]={...t,palette:a,opacity:{...(0,w.UL)(i),...null==t?void 0:t.opacity},overlays:(null==t?void 0:t.overlays)||(0,w.Qw)(i)},o}function L(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};for(var t=arguments.length,r=Array(t>1?t-1:0),a=1;a<t;a++)r[a-1]=arguments[a];let{colorSchemes:c={light:!0},defaultColorScheme:u,disableCssColorScheme:d=!1,cssVarPrefix:p="mui",shouldSkipGeneratingVar:h=x.A,colorSchemeSelector:b=c.light&&c.dark?"media":void 0,rootSelector:w=":root",...k}=e,L=Object.keys(c)[0],N=u||(c.light&&"light"!==L?"light":L),R=I(p),{[N]:j,light:D,dark:F,...V}=c,B={...V},z=j;if(("dark"!==N||"dark"in c)&&("light"!==N||"light"in c)||(z=!0),!z)throw Error((0,n.A)(21,N));let $=M(B,z,k,N);D&&!B.light&&M(B,D,void 0,"light"),F&&!B.dark&&M(B,F,void 0,"dark");let U={defaultColorScheme:N,...$,cssVarPrefix:p,colorSchemeSelector:b,rootSelector:w,getCssVar:R,colorSchemes:B,font:{...l($.typography),...$.font},spacing:P(k.spacing)};Object.keys(U.colorSchemes).forEach(e=>{let t=U.colorSchemes[e].palette,r=e=>{let r=e.split("-"),n=r[1],i=r[2];return R(e,t[n][i])};if("light"===t.mode&&(E(t.common,"background","#fff"),E(t.common,"onBackground","#000")),"dark"===t.mode&&(E(t.common,"background","#000"),E(t.common,"onBackground","#fff")),S(t,["Alert","AppBar","Avatar","Button","Chip","FilledInput","LinearProgress","Skeleton","Slider","SnackbarContent","SpeedDialAction","StepConnector","StepContent","Switch","TableCell","Tooltip"]),"light"===t.mode){E(t.Alert,"errorColor",(0,v.Nd)(t.error.light,.6)),E(t.Alert,"infoColor",(0,v.Nd)(t.info.light,.6)),E(t.Alert,"successColor",(0,v.Nd)(t.success.light,.6)),E(t.Alert,"warningColor",(0,v.Nd)(t.warning.light,.6)),E(t.Alert,"errorFilledBg",r("palette-error-main")),E(t.Alert,"infoFilledBg",r("palette-info-main")),E(t.Alert,"successFilledBg",r("palette-success-main")),E(t.Alert,"warningFilledBg",r("palette-warning-main")),E(t.Alert,"errorFilledColor",O(()=>t.getContrastText(t.error.main))),E(t.Alert,"infoFilledColor",O(()=>t.getContrastText(t.info.main))),E(t.Alert,"successFilledColor",O(()=>t.getContrastText(t.success.main))),E(t.Alert,"warningFilledColor",O(()=>t.getContrastText(t.warning.main))),E(t.Alert,"errorStandardBg",(0,v.j4)(t.error.light,.9)),E(t.Alert,"infoStandardBg",(0,v.j4)(t.info.light,.9)),E(t.Alert,"successStandardBg",(0,v.j4)(t.success.light,.9)),E(t.Alert,"warningStandardBg",(0,v.j4)(t.warning.light,.9)),E(t.Alert,"errorIconColor",r("palette-error-main")),E(t.Alert,"infoIconColor",r("palette-info-main")),E(t.Alert,"successIconColor",r("palette-success-main")),E(t.Alert,"warningIconColor",r("palette-warning-main")),E(t.AppBar,"defaultBg",r("palette-grey-100")),E(t.Avatar,"defaultBg",r("palette-grey-400")),E(t.Button,"inheritContainedBg",r("palette-grey-300")),E(t.Button,"inheritContainedHoverBg",r("palette-grey-A100")),E(t.Chip,"defaultBorder",r("palette-grey-400")),E(t.Chip,"defaultAvatarColor",r("palette-grey-700")),E(t.Chip,"defaultIconColor",r("palette-grey-700")),E(t.FilledInput,"bg","rgba(0, 0, 0, 0.06)"),E(t.FilledInput,"hoverBg","rgba(0, 0, 0, 0.09)"),E(t.FilledInput,"disabledBg","rgba(0, 0, 0, 0.12)"),E(t.LinearProgress,"primaryBg",(0,v.j4)(t.primary.main,.62)),E(t.LinearProgress,"secondaryBg",(0,v.j4)(t.secondary.main,.62)),E(t.LinearProgress,"errorBg",(0,v.j4)(t.error.main,.62)),E(t.LinearProgress,"infoBg",(0,v.j4)(t.info.main,.62)),E(t.LinearProgress,"successBg",(0,v.j4)(t.success.main,.62)),E(t.LinearProgress,"warningBg",(0,v.j4)(t.warning.main,.62)),E(t.Skeleton,"bg","rgba(".concat(r("palette-text-primaryChannel")," / 0.11)")),E(t.Slider,"primaryTrack",(0,v.j4)(t.primary.main,.62)),E(t.Slider,"secondaryTrack",(0,v.j4)(t.secondary.main,.62)),E(t.Slider,"errorTrack",(0,v.j4)(t.error.main,.62)),E(t.Slider,"infoTrack",(0,v.j4)(t.info.main,.62)),E(t.Slider,"successTrack",(0,v.j4)(t.success.main,.62)),E(t.Slider,"warningTrack",(0,v.j4)(t.warning.main,.62));let e=(0,v.Y9)(t.background.default,.8);
1E(t.SnackbarContent,"bg",e),E(t.SnackbarContent,"color",O(()=>t.getContrastText(e))),E(t.SpeedDialAction,"fabHoverBg",(0,v.Y9)(t.background.paper,.15)),E(t.StepConnector,"border",r("palette-grey-400")),E(t.StepContent,"border",r("palette-grey-400")),E(t.Switch,"defaultColor",r("palette-common-white")),E(t.Switch,"defaultDisabledColor",r("palette-grey-100")),E(t.Switch,"primaryDisabledColor",(0,v.j4)(t.primary.main,.62)),E(t.Switch,"secondaryDisabledColor",(0,v.j4)(t.secondary.main,.62)),E(t.Switch,"errorDisabledColor",(0,v.j4)(t.error.main,.62)),E(t.Switch,"infoDisabledColor",(0,v.j4)(t.info.main,.62)),E(t.Switch,"successDisabledColor",(0,v.j4)(t.success.main,.62)),E(t.Switch,"warningDisabledColor",(0,v.j4)(t.warning.main,.62)),E(t.TableCell,"border",(0,v.j4)((0,v.Cg)(t.divider,1),.88)),E(t.Tooltip,"bg",(0,v.Cg)(t.grey[700],.92))}if("dark"===t.mode){E(t.Alert,"errorColor",(0,v.j4)(t.error.light,.6)),E(t.Alert,"infoColor",(0,v.j4)(t.info.light,.6)),E(t.Alert,"successColor",(0,v.j4)(t.success.light,.6)),E(t.Alert,"warningColor",(0,v.j4)(t.warning.light,.6)),E(t.Alert,"errorFilledBg",r("palette-error-dark")),E(t.Alert,"infoFilledBg",r("palette-info-dark")),E(t.Alert,"successFilledBg",r("palette-success-dark")),E(t.Alert,"warningFilledBg",r("palette-warning-dark")),E(t.Alert,"errorFilledColor",O(()=>t.getContrastText(t.error.dark))),E(t.Alert,"infoFilledColor",O(()=>t.getContrastText(t.info.dark))),E(t.Alert,"successFilledColor",O(()=>t.getContrastText(t.success.dark))),E(t.Alert,"warningFilledColor",O(()=>t.getContrastText(t.warning.dark))),E(t.Alert,"errorStandardBg",(0,v.Nd)(t.error.light,.9)),E(t.Alert,"infoStandardBg",(0,v.Nd)(t.info.light,.9)),E(t.Alert,"successStandardBg",(0,v.Nd)(t.success.light,.9)),E(t.Alert,"warningStandardBg",(0,v.Nd)(t.warning.light,.9)),E(t.Alert,"errorIconColor",r("palette-error-main")),E(t.Alert,"infoIconColor",r("palette-info-main")),E(t.Alert,"successIconColor",r("palette-success-main")),E(t.Alert,"warningIconColor",r("palette-warning-main")),E(t.AppBar,"defaultBg",r("palette-grey-900")),E(t.AppBar,"darkBg",r("palette-background-paper")),E(t.AppBar,"darkColor",r("palette-text-primary")),E(t.Avatar,"defaultBg",r("palette-grey-600")),E(t.Button,"inheritContainedBg",r("palette-grey-800")),E(t.Button,"inheritContainedHoverBg",r("palette-grey-700")),E(t.Chip,"defaultBorder",r("palette-grey-700")),E(t.Chip,"defaultAvatarColor",r("palette-grey-300")),E(t.Chip,"defaultIconColor",r("palette-grey-300")),E(t.FilledInput,"bg","rgba(255, 255, 255, 0.09)"),E(t.FilledInput,"hoverBg","rgba(255, 255, 255, 0.13)"),E(t.FilledInput,"disabledBg","rgba(255, 255, 255, 0.12)"),E(t.LinearProgress,"primaryBg",(0,v.Nd)(t.primary.main,.5)),E(t.LinearProgress,"secondaryBg",(0,v.Nd)(t.secondary.main,.5)),E(t.LinearProgress,"errorBg",(0,v.Nd)(t.error.main,.5)),E(t.LinearProgress,"infoBg",(0,v.Nd)(t.info.main,.5)),E(t.LinearProgress,"successBg",(0,v.Nd)(t.success.main,.5)),E(t.LinearProgress,"warningBg",(0,v.Nd)(t.warning.main,.5)),E(t.Skeleton,"bg","rgba(".concat(r("palette-text-primaryChannel")," / 0.13)")),E(t.Slider,"primaryTrack",(0,v.Nd)(t.primary.main,.5)),E(t.Slider,"secondaryTrack",(0,v.Nd)(t.secondary.main,.5)),E(t.Slider,"errorTrack",(0,v.Nd)(t.error.main,.5)),E(t.Slider,"infoTrack",(0,v.Nd)(t.info.main,.5)),E(t.Slider,"successTrack",(0,v.Nd)(t.success.main,.5)),E(t.Slider,"warningTrack",(0,v.Nd)(t.warning.main,.5));let e=(0,v.Y9)(t.background.default,.98);E(t.SnackbarContent,"bg",e),E(t.SnackbarContent,"color",O(()=>t.getContrastText(e))),E(t.SpeedDialAction,"fabHoverBg",(0,v.Y9)(t.background.paper,.15)),E(t.StepConnector,"border",r("palette-grey-600")),E(t.StepContent,"border",r("palette-grey-600")),E(t.Switch,"defaultColor",r("palette-grey-300")),E(t.Switch,"defaultDisabledColor",r("palette-grey-600")),E(t.Switch,"primaryDisabledColor",(0,v.Nd)(t.primary.main,.55)),E(t.Switch,"secondaryDisabledColor",(0,v.Nd)(t.secondary.main,.55)),E(t.Switch,"errorDisabledColor",(0,v.Nd)(t.error.main,.55)),E(t.Switch,"infoDisabledColor",(0,v.Nd)(t.info.main,.55)),E(t.Switch,"successDisabledColor",(0,v.Nd)(t.success.main,.55)),E(t.Switch,"warningDisabledColor",(0,v.Nd)(t.warning.main,.55)),E(t.TableCell,"border",(0,v.Nd)((0,v.Cg)(t.divider,1),.68)),E(t.Tooltip,"bg",(0,v.Cg)(t.grey[700],.92))}T(t.background,"default"),T(t.background,"paper"),T(t.common,"background"),T(t.common,"onBackgroun
1d"),T(t,"divider"),Object.keys(t).forEach(e=>{let r=t[e];"tonalOffset"!==e&&r&&"object"==typeof r&&(r.main&&E(t[e],"mainChannel",(0,v.Me)(_(r.main))),r.light&&E(t[e],"lightChannel",(0,v.Me)(_(r.light))),r.dark&&E(t[e],"darkChannel",(0,v.Me)(_(r.dark))),r.contrastText&&E(t[e],"contrastTextChannel",(0,v.Me)(_(r.contrastText))),"text"===e&&(T(t[e],"primary"),T(t[e],"secondary")),"action"===e&&(r.active&&T(t[e],"active"),r.selected&&T(t[e],"selected")))})});let q={prefix:p,disableCssColorScheme:d,shouldSkipGeneratingVar:h,getSelector:A(U=r.reduce((e,t)=>(0,i.A)(e,t),U))},{vars:H,generateThemeVars:Y,generateStyleSheets:W}=f(U,q);return U.vars=H,Object.entries(U.colorSchemes[U.defaultColorScheme]).forEach(e=>{let[t,r]=e;U[t]=r}),U.generateThemeVars=Y,U.generateStyleSheets=W,U.generateSpacing=function(){return(0,o.A)(k.spacing,(0,s.LX)(this))},U.getColorSchemeSelector=m(b),U.spacing=U.generateSpacing(),U.shouldSkipGeneratingVar=h,U.unstable_sxConfig={...g.A,...null==k?void 0:k.unstable_sxConfig},U.unstable_sx=function(e){return(0,y.A)({sx:e,theme:this})},U.toRuntimeSource=C.F,U}},28717:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(58309);let i=[["path",{d:"M6 16c5 0 7-8 12-8a4 4 0 0 1 0 8c-5 0-7-8-12-8a4 4 0 1 0 0 8",key:"18ogeb"}]],a=(0,n.A)("infinity",i)},29032:(e,t,r)=>{"use strict";r.d(t,{xQ:()=>a});var n=r(55729),i=r(32639);function a(e=!0){let t=(0,n.useContext)(i.t);if(null===t)return[!0,null];let{isPresent:r,onExitComplete:o,register:s}=t,l=(0,n.useId)();(0,n.useEffect)(()=>{if(e)return s(l)},[e]);let c=(0,n.useCallback)(()=>e&&o&&o(l),[l,o,e]);return!r&&o?[!1,c]:[!0]}},29194:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(27709),i=1/0;let a=function(e){if("string"==typeof e||(0,n.A)(e))return e;var t=e+"";return"0"==t&&1/e==-i?"-0":t}},29234:(e,t,r)=>{"use strict";function n(e){return"init"in e}function i(e){return"function"==typeof e.write}function a(e){return!!e.onMount}function o(e){return"v"in e||"e"in e}function s(e){if("e"in e)throw e.e;if(!("v"in e))throw Error("[Bug] atom state is not initialized");return e.v}function l(e){return"function"==typeof(null==e?void 0:e.then)}function c(e,t,r){if(!r.p.has(e)){r.p.add(e);let n=()=>r.p.delete(e);t.then(n,n)}}function u(e,t,r){let n=r.get(e),i=null==n?void 0:n.t,a=t.p;if(!(null==i?void 0:i.size))return a;if(!a.size)return i;let o=new Set(i);for(let e of a)o.add(e);return o}function d(e){return!!e.INTERNAL_onInit}r.d(t,{_b:()=>N,h7:()=>L});let p=(e,t,r,...n)=>r.read(...n),h=(e,t,r,...n)=>r.write(...n),f=(e,t,r)=>r.INTERNAL_onInit(t),m=(e,t,r,n)=>{var i;return null==(i=r.onMount)?void 0:i.call(r,n)},g=(e,t,r)=>{var n;let i=e[0],a=i.get(r);if(!a){let o=e[6],s=e[9];a={d:new Map,p:new Set,n:0},i.set(r,a),null==(n=o.i)||n.call(o,r),d(r)&&s(e,t,r)}return a},y=(e,t)=>{var r;let n=e[1],i=e[3],a=e[4],o=e[5],s=e[6],l=e[13];if(!s.f&&!i.size&&!a.size&&!o.size)return;let c=[],u=e=>{try{e()}catch(e){c.push(e)}};do{s.f&&u(s.f);let c=new Set;for(let e of i){let t=null==(r=n.get(e))?void 0:r.l;if(t)for(let e of t)c.add(e)}for(let e of(i.clear(),o))c.add(e);for(let e of(o.clear(),a))c.add(e);for(let e of(a.clear(),c))u(e);i.size&&l(e,t)}while(i.size||o.size||a.size);if(c.length)throw AggregateError(c)},v=(e,t)=>{let r=e[1],n=e[2],i=e[3],a=e[11],o=e[14],s=e[17];if(!i.size)return;let l=[],c=[],d=new WeakSet,p=new WeakSet,h=[],f=[];for(let r of i)h.push(r),f.push(a(e,t,r));for(;h.length;){let i=h.length-1,o=h[i],s=f[i];if(p.has(o)){h.pop(),f.pop();continue}if(d.has(o)){if(n.get(o)===s.n)l.push(o),c.push(s);else if(n.has(o))throw Error("[Bug] invalidated atom exists");p.add(o),h.pop(),f.pop();continue}for(let n of(d.add(o),u(o,s,r)))d.has(n)||(h.push(n),f.push(a(e,t,n)))}for(let r=l.length-1;r>=0;--r){let a=l[r],u=c[r],d=!1;for(let e of u.d.keys())if(e!==a&&i.has(e)){d=!0;break}d&&(n.set(a,u.n),o(e,t,a),s(e,t,a)),n.delete(a)}},b=new WeakSet,w=(e,t,r)=>{var a,u;let d,p,h=e[1],f=e[2],m=e[3],g=e[6],y=e[7],v=e[11],w=e[12],x=e[13],k=e[14],A=e[16],C=e[17],S=e[20],E=e[26],_=e[28],T=v(e,t,r),P=_[0];if(o(T)){if(h.has(r)&&f.get(r)!==T.n||T.m===P)return T.m=P,T;let n=!1;for(let[r,i]of T.d)if(k(e,t,r).n!==i){n=!0;break}if(!n)return T.m=P,T}let O=!0,I=new Set(T.d.keys()),M=()=>{for(let e of I)T.d.delete(e)},L=()=>
1{if(h.has(r)){let n=!m.size;C(e,t,r),n&&(x(e,t),w(e,t))}},N=i=>{var a;if(i===r){let r=v(e,t,i);if(!o(r))if(n(i))S(e,t,i,i.init);else throw Error("no atom init");return s(r)}let u=k(e,t,i);try{return s(u)}finally{I.delete(i),T.d.set(i,u.n),l(T.v)&&c(r,T.v,u),h.has(r)&&(null==(a=h.get(i))||a.t.add(r)),O||L()}},R={get signal(){return d||(d=new AbortController),d.signal},get setSelf(){return console.warn("[DEPRECATED] setSelf is deprecated and will be removed in v3."),i(r)||console.warn("setSelf function cannot be used with read-only atom"),!p&&i(r)&&(p=(...n)=>{if(O&&console.warn("setSelf function cannot be called in sync"),!O)try{return A(e,t,r,n)}finally{x(e,t),w(e,t)}}),p}},j=T.n,D=f.get(r)===j;try{b.delete(t);let n=y(e,t,r,N,R);if(b.has(t)&&console.warn("Detected store mutation during atom read. This is not supported."),S(e,t,r,n),l(n)){E(e,t,n,()=>null==d?void 0:d.abort());let r=()=>{M(),L()};n.then(r,r)}else M();return null==(a=g.r)||a.call(g,r),T.m=P,T}catch(e){return delete T.v,T.e=e,++T.n,T.m=P,T}finally{O=!1,T.n!==j&&D&&(f.set(r,T.n),m.add(r),null==(u=g.c)||u.call(g,r))}},x=(e,t,r)=>{let n=e[1],i=e[2],a=e[11],o=[r];for(;o.length;){let r=o.pop(),s=a(e,t,r);for(let l of u(r,s,n)){let r=a(e,t,l);i.get(l)!==r.n&&(i.set(l,r.n),o.push(l))}}},k=(e,t,r,i)=>{let a=e[3],o=e[6],l=e[8],c=e[11],u=e[12],d=e[13],p=e[14],h=e[15],f=e[16],m=e[17],g=e[20],y=e[28],v=!0,w=r=>s(p(e,t,r)),x=(i,...s)=>{var l;let p=c(e,t,i);try{if(i!==r)return f(e,t,i,s);{if(!n(i))throw Error("atom not writable");b.add(t);let r=p.n,c=s[0];g(e,t,i,c),m(e,t,i),r!==p.n&&(++y[0],a.add(i),h(e,t,i),null==(l=o.c)||l.call(o,i));return}}finally{v||(d(e,t),u(e,t))}};try{return l(e,t,r,w,x,...i)}finally{v=!1}},A=(e,t,r)=>{var n;let i=e[1],a=e[3],o=e[6],s=e[11],l=e[15],c=e[18],u=e[19],d=s(e,t,r),p=i.get(r);if(p&&d.d.size>0){for(let[i,u]of d.d)if(!p.d.has(i)){let d=s(e,t,i);c(e,t,i).t.add(r),p.d.add(i),u!==d.n&&(a.add(i),l(e,t,i),null==(n=o.c)||n.call(o,i))}for(let n of p.d)if(!d.d.has(n)){p.d.delete(n);let i=u(e,t,n);null==i||i.t.delete(r)}}},C=(e,t,r)=>{var n;let o=e[1],s=e[4],l=e[6],c=e[10],u=e[11],d=e[12],p=e[13],h=e[14],f=e[16],m=e[18],g=u(e,t,r),y=o.get(r);if(!y){for(let n of(h(e,t,r),g.d.keys()))m(e,t,n).t.add(r);if(y={l:new Set,d:new Set(g.d.keys()),t:new Set},o.set(r,y),i(r)&&a(r)){let n=()=>{let n=!0,i=(...i)=>{try{return f(e,t,r,i)}finally{n||(p(e,t),d(e,t))}};try{let a=c(e,t,r,i);a&&(y.u=()=>{n=!0;try{a()}finally{n=!1}})}finally{n=!1}};s.add(n)}null==(n=l.m)||n.call(l,r)}return y},S=(e,t,r)=>{var n,i;let a=e[1],o=e[5],s=e[6],l=e[11],c=e[19],u=l(e,t,r),d=a.get(r);if(!d||d.l.size)return d;let p=!1;for(let e of d.t)if(null==(n=a.get(e))?void 0:n.d.has(r)){p=!0;break}if(!p){for(let n of(d.u&&o.add(d.u),d=void 0,a.delete(r),u.d.keys())){let i=c(e,t,n);null==i||i.t.delete(r)}null==(i=s.u)||i.call(s,r);return}return d},E=(e,t,r,n)=>{let i=e[11],a=e[27],o=i(e,t,r),s="v"in o,u=o.v;if(l(n))for(let a of o.d.keys())c(r,n,i(e,t,a));o.v=n,delete o.e,s&&Object.is(u,o.v)||(++o.n,l(u)&&a(e,t,u))},_=(e,t,r)=>s((0,e[14])(e,t,r)),T=(e,t,r,...n)=>{let i=e[3],a=e[12],o=e[13],s=e[16],l=i.size;try{return s(e,t,r,n)}finally{i.size!==l&&(o(e,t),a(e,t))}},P=(e,t,r,n)=>{let i=e[12],a=e[18],o=e[19],s=a(e,t,r).l;return s.add(n),i(e,t),()=>{s.delete(n),o(e,t,r),i(e,t)}},O=(e,t,r,n)=>{let i=e[25],a=i.get(r);if(!a){a=new Set,i.set(r,a);let e=()=>i.delete(r);r.then(e,e)}a.add(n)},I=(e,t,r)=>{let n=e[25].get(r);null==n||n.forEach(e=>e())},M=new WeakMap;function L(e){let t=M.get(e);if(!t)throw Error("Store must be created by buildStore to read its building blocks");let r=t[24];return r?r(t,e):t}function N(...e){let t={get:e=>n(r,t,e),set:(e,...n)=>i(r,t,e,...n),sub:(e,n)=>a(r,t,e,n)},r=[new WeakMap,new WeakMap,new WeakMap,new Set,new Set,new Set,{},p,h,f,m,g,y,v,w,x,k,A,C,S,E,_,T,P,void 0,new WeakMap,O,I,[0]].map((t,r)=>e[r]||t);M.set(t,Object.freeze(r));let n=r[21],i=r[22],a=r[23];return t}},29347:(e,t,r)=>{"use strict";r.d(t,{V:()=>o,u:()=>a});let n="TWD",i={TWD:"NT"},a=function(e){let{currency:t=n,digit:r=0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return i[t]+new Intl.NumberFormat("zh-TW",{style:"currency",currency:t,maximumFractionDigits:r,minimumFractionDigits:r}).format(e)},o=e=>"NT$"+s(Number(e.toFixed(0))),s=e=>e.toString().replace(/\B(?=(\d{3})+(?!\d))/g,",")},29733:(e,t,r)=>{"use strict";let n;r.d(t,{xC:()=>q,x6:()=>V,Bd:()=>U});
1var i=r(55729),a=r(67574),o=r.n(a),s=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function l(e){var t={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},r=e.match(/<\/?([^\s]+?)[/\s>]/);if(r&&(t.name=r[1],(o()[r[1]]||"/"===e.charAt(e.length-2))&&(t.voidElement=!0),t.name.startsWith("!--"))){var n=e.indexOf("--\x3e");return{type:"comment",comment:-1!==n?e.slice(4,n):""}}for(var i=new RegExp(s),a=null;null!==(a=i.exec(e));)if(a[0].trim())if(a[1]){var l=a[1].trim(),c=[l,""];l.indexOf("=")>-1&&(c=l.split("=")),t.attrs[c[0]]=c[1],i.lastIndex--}else a[2]&&(t.attrs[a[2]]=a[3].trim().substring(1,a[3].length-1));return t}var c=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,u=/^\s*$/,d=Object.create(null);let p={parse:function(e,t){t||(t={}),t.components||(t.components=d);var r,n=[],i=[],a=-1,o=!1;if(0!==e.indexOf("<")){var s=e.indexOf("<");n.push({type:"text",content:-1===s?e:e.substring(0,s)})}return e.replace(c,function(s,c){if(o){if(s!=="</"+r.name+">")return;o=!1}var d,p="/"!==s.charAt(1),h=s.startsWith("\x3c!--"),f=c+s.length,m=e.charAt(f);if(h){var g=l(s);return a<0?n.push(g):(d=i[a]).children.push(g),n}if(p&&(a++,"tag"===(r=l(s)).type&&t.components[r.name]&&(r.type="component",o=!0),r.voidElement||o||!m||"<"===m||r.children.push({type:"text",content:e.slice(f,e.indexOf("<",f))}),0===a&&n.push(r),(d=i[a-1])&&d.children.push(r),i[a]=r),(!p||r.voidElement)&&(a>-1&&(r.voidElement||r.name===s.slice(2,-1))&&(r=-1==--a?n:i[a]),!o&&"<"!==m&&m)){d=-1===a?n:i[a].children;var y=e.indexOf("<",f),v=e.slice(f,-1===y?void 0:y);u.test(v)&&(v=" "),(y>-1&&a+d.length>=0||" "!==v)&&d.push({type:"text",content:v})}}),n}};function h(){if(console&&console.warn){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];x(t[0])&&(t[0]=`react-i18next:: ${t[0]}`),console.warn(...t)}}let f={};function m(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];x(t[0])&&f[t[0]]||(x(t[0])&&(f[t[0]]=new Date),h(...t))}let g=(e,t)=>()=>{if(e.isInitialized)t();else{let r=()=>{setTimeout(()=>{e.off("initialized",r)},0),t()};e.on("initialized",r)}},y=(e,t,r)=>{e.loadNamespaces(t,g(e,r))},v=(e,t,r,n)=>{x(r)&&(r=[r]),r.forEach(t=>{0>e.options.ns.indexOf(t)&&e.options.ns.push(t)}),e.loadLanguages(t,g(e,n))},b=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=t.languages[0],i=!!t.options&&t.options.fallbackLng,a=t.languages[t.languages.length-1];if("cimode"===n.toLowerCase())return!0;let o=(e,r)=>{let n=t.services.backendConnector.state[`${e}|${r}`];return -1===n||2===n};return(!(r.bindI18n&&r.bindI18n.indexOf("languageChanging")>-1)||!t.services.backendConnector.backend||!t.isLanguageChangingTo||!!o(t.isLanguageChangingTo,e))&&!!(t.hasResourceBundle(n,e)||!t.services.backendConnector.backend||t.options.resources&&!t.options.partialBundledLanguages||o(n,e)&&(!i||o(a,e)))},w=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return t.languages&&t.languages.length?void 0===t.options.ignoreJSONStructure?b(e,t,r):t.hasLoadedNamespace(e,{lng:r.lng,precheck:(t,n)=>{if(r.bindI18n&&r.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!n(t.
1isLanguageChangingTo,e))return!1}}):(m("i18n.languages were undefined or empty",t.languages),!0)},x=e=>"string"==typeof e,k=e=>"object"==typeof e&&null!==e,A=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,C={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"\xa9","©":"\xa9","®":"\xae","®":"\xae","…":"â¦","…":"â¦","/":"/","/":"/"},S=e=>C[e],E={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:e=>e.replace(A,S)},_=()=>E,T=()=>n,P=(e,t)=>{if(!e)return!1;let r=e.props?e.props.children:e.children;return t?r.length>0:!!r},O=e=>{if(!e)return[];let t=e.props?e.props.children:e.children;return e.props&&e.props.i18nIsDynamicList?M(t):t},I=e=>Array.isArray(e)&&e.every(i.isValidElement),M=e=>Array.isArray(e)?e:[e],L=(e,t)=>{let r={...t};return r.props=Object.assign(e.props,t.props),r},N=(e,t)=>{if(!e)return"";let r="",n=M(e),a=t.transSupportBasicHtmlNodes&&t.transKeepBasicHtmlNodesFor?t.transKeepBasicHtmlNodesFor:[];return n.forEach((e,n)=>{if(x(e))r+=`${e}`;else if((0,i.isValidElement)(e)){let{props:i,type:o}=e,s=Object.keys(i).length,l=a.indexOf(o)>-1,c=i.children;if(c||!l||s)if(!c&&(!l||s)||i.i18nIsDynamicList)r+=`<${n}></${n}>`;else if(l&&1===s&&x(c))r+=`<${o}>${c}</${o}>`;else{let e=N(c,t);r+=`<${n}>${e}</${n}>`}else r+=`<${o}/>`}else if(null===e)h("Trans: the passed in value is invalid - seems you passed in a null child.");else if(k(e)){let{format:t,...n}=e,i=Object.keys(n);if(1===i.length){let e=t?`${i[0]}, ${t}`:i[0];r+=`{{${e}}}`}else h("react-i18next: the passed in object contained more than one variable - the object should look like {{ value, format }} where format is optional.",e)}else h("Trans: the passed in value is invalid - seems you passed in a variable like {number} - please pass in variables for interpolation as full objects like {{number}}.",e)}),r},R=(e,t,r,n,a,o)=>{if(""===t)return[];let s=n.transKeepBasicHtmlNodesFor||[],l=t&&new RegExp(s.map(e=>`<${e}`).join("|")).test(t);if(!e&&!l&&!o)return[t];let c={},u=e=>{M(e).forEach(e=>{x(e)||(P(e)?u(O(e)):k(e)&&!(0,i.isValidElement)(e)&&Object.assign(c,e))})};u(e);let d=p.parse(`<0>${t}</0>`),h={...c,...a},f=(e,t,r)=>{let n=O(e),i=g(n,t.children,r);return I(n)&&0===i.length||e.props&&e.props.i18nIsDynamicList?n:i},m=(e,t,r,n,a)=>{e.dummy?(e.children=t,r.push((0,i.cloneElement)(e,{key:n},a?void 0:t))):r.push(...i.Children.map([e],e=>{let r={...e.props};return delete r.i18nIsDynamicList,(0,i.createElement)(e.type,{...r,key:n,ref:e.ref},a?null:t)}))},g=(t,a,c)=>{let u=M(t);return M(a).reduce((t,a,d)=>{let p=a.children&&a.children[0]&&a.children[0].content&&r.services.interpolator.interpolate(a.children[0].content,h,r.language);if("tag"===a.type){let o=u[parseInt(a.name,10)];1!==c.length||o||(o=c[0][a.name]),o||(o={});let y=0!==Object.keys(a.attrs).length?L({props:a.attrs},o):o,v=(0,i.isValidElement)(y),b=v&&P(a,!0)&&!a.voidElement,w=l&&k(y)&&y.dummy&&!v,A=k(e)&&Object.hasOwnProperty.call(e,a.name);if(x(y)){let e=r.services.interpolator.interpolate(y,h,r.language);t.push(e)}else if(P(y)||b){let e=f(y,a,c);m(y,e,t,d)}else if(w)m(y,g(u,a.children,c),t,d);else if(Number.isNaN(parseFloat(a.name)))if(A){let e=f(y,a,c);m(y,e,t,d,a.voidElement)}else if(n.transSupportBasicHtmlNodes&&s.indexOf(a.name)>-1)if(a.voidElement)t.push((0,i.createElement)(a.name,{key:`${a.name}-${d}`}));else{let e=g(u,a.children,c);t.push((0,i.createElement)(a.name,{key:`${a.name}-${d}`},e))}else if(a.voidElement)t.push(`<${a.name} />`);else{let e=g(u,a.children,c);t.push(`<${a.name}>${e}</${a.name}>`)}else if(k(y)&&!v){let e=a.children[0]?p:null;e&&t.push(e)}else m(y,p,t,d,1!==a.children.length||!p)}else if("text"===a.type){let e=n.transWrapTextNodes,s=o?n.unescape(r.services.interpolator.interpolate(a.content,h,r.language)):r.services.interpolator.interpolate(a.content,h,r.language);e?t.push((0,i.createElement)(e,{key:`${a.name}-${d}`},s)):t.push(s)}return t},[])};return O(g([{dummy:!0,children:e||[]}],d,M(e||[]))[0])};function j(e){let{children:t,count:r,parent:n,i18nKey:a,context:o,tOptions:s={}
1,values:l,defaults:c,components:u,ns:d,i18n:p,t:h,shouldUnescape:f,...g}=e,y=p||T();if(!y)return m("You will need to pass in an i18next instance by using i18nextReactModule"),t;let v=h||y.t.bind(y)||(e=>e),b={..._(),...y.options&&y.options.react},w=d||v.ns||y.options&&y.options.defaultNS;w=x(w)?[w]:w||["translation"];let k=N(t,b),A=c||k||b.transEmptyNodeValue||a,{hashTransKey:C}=b,S=a||(C?C(k||A):k||A);y.options&&y.options.interpolation&&y.options.interpolation.defaultVariables&&(l=l&&Object.keys(l).length>0?{...l,...y.options.interpolation.defaultVariables}:{...y.options.interpolation.defaultVariables});let E=l||void 0!==r||!t?s.interpolation:{interpolation:{...s.interpolation,prefix:"#$?",suffix:"?$#"}},P={...s,context:o||s.context,count:r,...l,...E,defaultValue:A,ns:w},O=S?v(S,P):A;u&&Object.keys(u).forEach(e=>{let t=u[e];function r(){return(0,i.createElement)(i.Fragment,null,t)}"function"==typeof t.type||!t.props||!t.props.children||0>O.indexOf(`${e}/>`)&&0>O.indexOf(`${e} />`)||(u[e]=(0,i.createElement)(r))});let I=R(u||t,O,y,b,P,f),M=void 0!==n?n:b.defaultTransParent;return M?(0,i.createElement)(M,g,I):I}let D=(0,i.createContext)();class F{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach(e=>{this.usedNamespaces[e]||(this.usedNamespaces[e]=!0)})}getUsedNamespaces=()=>Object.keys(this.usedNamespaces)}function V(e){let{children:t,count:r,parent:n,i18nKey:a,context:o,tOptions:s={},values:l,defaults:c,components:u,ns:d,i18n:p,t:h,shouldUnescape:f,...m}=e,{i18n:g,defaultNS:y}=(0,i.useContext)(D)||{},v=p||g||T(),b=h||v&&v.t.bind(v);return j({children:t,count:r,parent:n,i18nKey:a,context:o,tOptions:s,values:l,defaults:c,components:u,ns:d||b&&b.ns||y||v&&v.options&&v.options.defaultNS,i18n:v,t:h,shouldUnescape:f,...m})}let B=(e,t)=>{let r=(0,i.useRef)();return(0,i.useEffect)(()=>{r.current=t?r.current:e},[e,t]),r.current},z=(e,t,r,n)=>e.getFixedT(t,r,n),$=(e,t,r,n)=>(0,i.useCallback)(z(e,t,r,n),[e,t,r,n]),U=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{i18n:r}=t,{i18n:n,defaultNS:a}=(0,i.useContext)(D)||{},o=r||n||T();if(o&&!o.reportNamespaces&&(o.reportNamespaces=new F),!o){m("You will need to pass in an i18next instance by using initReactI18next");let e=(e,t)=>x(t)?t:k(t)&&x(t.defaultValue)?t.defaultValue:Array.isArray(e)?e[e.length-1]:e,t=[e,{},!1];return t.t=e,t.i18n={},t.ready=!1,t}o.options.react&&void 0!==o.options.react.wait&&m("It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");let s={..._(),...o.options.react,...t},{useSuspense:l,keyPrefix:c}=s,u=e||a||o.options&&o.options.defaultNS;u=x(u)?[u]:u||["translation"],o.reportNamespaces.addUsedNamespaces&&o.reportNamespaces.addUsedNamespaces(u);let d=(o.isInitialized||o.initializedStoreOnce)&&u.every(e=>w(e,o,s)),p=$(o,t.lng||null,"fallback"===s.nsMode?u:u[0],c),h=()=>p,f=()=>z(o,t.lng||null,"fallback"===s.nsMode?u:u[0],c),[g,b]=(0,i.useState)(h),A=u.join();t.lng&&(A=`${t.lng}${A}`);let C=B(A),S=(0,i.useRef)(!0);(0,i.useEffect)(()=>{let{bindI18n:e,bindI18nStore:r}=s;S.current=!0,d||l||(t.lng?v(o,t.lng,u,()=>{S.current&&b(f)}):y(o,u,()=>{S.current&&b(f)})),d&&C&&C!==A&&S.current&&b(f);let n=()=>{S.current&&b(f)};return e&&o&&o.on(e,n),r&&o&&o.store.on(r,n),()=>{S.current=!1,e&&o&&e.split(" ").forEach(e=>o.off(e,n)),r&&o&&r.split(" ").forEach(e=>o.store.off(e,n))}},[o,A]),(0,i.useEffect)(()=>{S.current&&d&&b(h)},[o,c,d]);let E=[g,o,d];if(E.t=g,E.i18n=o,E.ready=d,d||!d&&!l)return E;throw new Promise(e=>{t.lng?v(o,t.lng,u,()=>e()):y(o,u,()=>e())})};function q(e){let{i18n:t,defaultNS:r,children:n}=e,a=(0,i.useMemo)(()=>({i18n:t,defaultNS:r}),[t,r]);return(0,i.createElement)(D.Provider,{value:a},n)}},29975:(e,t,r)=>{"use strict";r.d(t,{A:()=>o,W:()=>a});var n=r(11722),i=r(91206);function a(e){return(0,i.Ay)("MuiButtonBase",e)}let o=(0,n.A)("MuiButtonBase",["root","disabled","focusVisible"])},30108:(e,t,r)=>{"use strict";r.d(t,{A:()=>c,b:()=>l});var n=r(55729),i=r(85103),a=r(6029);let o=n.createContext(void 0);function s(e){let{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;let a=t.components[r];return a.defaultProps?(0,i.A)(a.defaultProps,n):a.styleOverrides||a.variants?n:(0,i.A)(a,n)}function l({props:e,name:t}){return s({props:e,name:t,theme:{components:n.useContext(o)}})}let c=function({value:e,children:t}){return(0,a.jsx)(o.Provider,{value:e,children:t})}},30172:(e,t,r)=>{"use strict";r.d(t,{A:()=>_});var n=r(50216),i=r(68402),a=1,o=2;let s=function(e,t,r,s){var l=r.length,c=l,u=!s;if(null==e)return!c;for(e=Object(e);l--;){var d=r[l];if(u&&d[2]?d[1]!==e[d[0]]:!(d[0]in e))return!1}for(;++l<c;){var p=(d=r[l])[0],h=e[p],f=d[1];if(u&&d[2]){if(void 0===h&&!(p in e))return!1}else{var m=new n.A;if(s)var g=s(h,f,p,e,t,m);if(!(void 0===g?(0,i.A)(f,h,a|o,s,m):g))return!1}}return!0};var l=r(63322);let c=function(e){return e==e&&!(0,l.A)(e)};var u=r(84153);let d=function(e){for(var t=(0,u.A)(e),r=t.length;r--;){var n=t[r],i=e[n];t[r]=[n,i,c(i)]}return t},p=function(e,t){return function(r){return null!=r&&r[e]===t&&(void 0!==t||e in Object(r))}},h=function(e){var t=d(e);return 1==t.length&&t[0][2]?p(t[0][0],t[0][1]):function(r){return r===e||s(r,e,t)}};var f=r(65035),m=r(91796),g=r(82457),y=r(29194),v=1,b=2;let w=function(e,t){return(0,g.A)(e)&&c(t)?p((0,y.A)(e),t):function(r){var n=(0,f.A)(r,e);return void 0===n&&n===t?(0,m.A)(r,e):(0,i.A)(t,n,v|b)}};var x=r(21755),k=r(80090),A=r(34690),C=r(41729);let S=function(e){return function(t){return(0,C.A)(t,e)}},E=function(e){return(0,g.A)(e)?(0,A.A)((0,y.A)(e)):S(e)},_=function(e){return"function"==typeof e?e:null==e?x.A:"object"==typeof e?(0,k.A)(e)?w(e[0],e[1]):h(e):E(e)}},30423:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=function(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;
1)e[i+r]=t[r];return e}},30479:(e,t,r)=>{"use strict";r.r(t),r.d(t,{CollectionOfferSavedDesc:()=>a});var n=r(2860);r(55729);var i=r(47126);let a=e=>{let{productCountText:t,savedPriceText:r,totalPriceText:a="",addToCartText:o,handleAddToCart:s}=e,l=a&&r;return(0,n.FD)("div",{style:{backgroundColor:"#E8EDF7",padding:"8px 12px",textAlign:"center",borderRadius:16},children:[(0,n.Y)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",flexDirection:l?"column":"row",gap:l?4.5:4,fontSize:14,fontWeight:400,lineHeight:"24.5px",color:"#0033BB",marginBottom:12*!!s},children:l?(0,n.FD)(n.FK,{children:[(0,n.FD)("div",{style:{fontSize:12,lineHeight:"21px",letterSpacing:"0.06px",color:"#383B3D"},children:[(0,n.Y)("span",{dangerouslySetInnerHTML:{__html:t}}),(0,n.Y)("span",{children:"ï¼"}),(0,n.Y)("span",{dangerouslySetInnerHTML:{__html:a}})]}),(0,n.FD)("div",{style:{display:"flex",alignItems:"center"},children:[(0,n.Y)(i.I,{type:"volunteer_activism",size:16}),(0,n.Y)("span",{dangerouslySetInnerHTML:{__html:r}})]})]}):r?(0,n.FD)(n.FK,{children:[(0,n.Y)(i.I,{type:"volunteer_activism",size:16}),(0,n.Y)("span",{style:{display:"flex",alignItems:"center",justifyContent:"center"},dangerouslySetInnerHTML:{__html:r}})]}):null}),s&&(0,n.FD)("button",{type:"button",onClick:s,style:{display:"flex",alignItems:"center",justifyContent:"center",gap:4,backgroundColor:"#0033BB",padding:"5.5px 18px",borderRadius:18,width:"100%",margin:"0 auto",appearance:"none",border:0,outline:0,cursor:"pointer",color:"#ffffff",fontSize:14,lineHeight:"24.5px",letterSpacing:"0.035px"},children:[(0,n.Y)(i.I,{type:"shopping_cart"}),(0,n.Y)("span",{children:o})]})]})}},30535:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useRouter",{enumerable:!0,get:function(){return a}});let n=r(55729),i=r(11828);function a(){return(0,n.useContext)(i.RouterContext)}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},30642:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(58309);let i=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],a=(0,n.A)("globe",i)},30682:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Image",{enumerable:!0,get:function(){return w}});let n=r(30758),i=r(78963),a=r(6029),o=i._(r(55729)),s=n._(r(56760)),l=n._(r(44807)),c=r(23330),u=r(89227),d=r(5533);r(89687);let p=r(11828),h=n._(r(85837)),f=r(91609),m={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image/",loader:"custom",dangerouslyAllowSVG:!1,unoptimized:!1};function g(e,t,r,n,i,a,o){let s=null==e?void 0:e.src;e&&e["data-loaded-src"]!==s&&(e["data-loaded-src"]=s,("decode"in e?e.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(e.parentElement&&e.isConnected){if("empty"!==t&&i(!0),null==r?void 0:r.current){let t=new Event("load");Object.defineProperty(t,"target",{writable:!1,value:e});let n=!1,i=!1;r.current({...t,nativeEvent:t,currentTarget:e,target:e,isDefaultPrevented:()=>n,isPropagationStopped:()=>i,persist:()=>{},preventDefault:()=>{n=!0,t.preventDefault()},stopPropagation:()=>{i=!0,t.stopPropagation()}})}(null==n?void 0:n.current)&&n.current(e)}}))}function y(e){return o.use?{fetchPriority:e}:{fetchpriority:e}}let v=(0,o.forwardRef)((e,t)=>{let{src:r,srcSet:n,sizes:i,height:s,width:l,decoding:c,className:u,style:d,fetchPriority:p,placeholder:h,loading:m,unoptimized:v,fill:b,onLoadRef:w,onLoadingCompleteRef:x,setBlurComplete:k,setShowAltText:A,sizesInput:C,onLoad:S,onError:E,..._}=e,T=(0,o.useCallback)(e=>{e&&(E&&(e.src=e.src),e.complete&&g(e,h,w,x,k,v,C))},[r,h,w,x,k,E,v,C]),P=(0,f.useMergedRef)(t,T);return(0,a.jsx)("img",{..._,...y(p),loading:m,width:l,height:s,decoding:c,"data-nimg":b?"fill":"1",className:u,style:d,sizes:i,srcSet:n,src:r,ref:P,onLoad:e=>{g(e.currentTarget,h,w,x,k,v,C)},onError:e=>{A(!0),"empty"!==h&&k(!0),E&&E(e)}})});function b(e){let{isAppRouter:t,imgAttributes:r}=e,n={as:"image",imageSrcSet:r.srcSet,imageSizes:r.sizes,crossOrigin:r.crossOrigin,referrerPolicy:r.referrerPolicy,...y(r.fetchPriority)};return t&&s.default.preload?(s.default.preload(r.src,n),null):(0,a.jsx)(l.default,{children:(0,a.jsx)("link",{rel:"preload",href:r.srcSet?void 0:r.src,...n},"__nimg-"+r.src+r.srcSet+r.sizes)})}let w=(0,o.forwardRef)((e,t)=>{let r=!(0,o.useContext)(p.RouterContext),n=(0,o.useContext)(d.ImageConfigContext),i=(0,o.useMemo)(()=>{var e;let t=m||n||u.imageConfigDefault,r=[...t.deviceSizes,...t.imageSizes].sort((e,t)=>
1e-t),i=t.deviceSizes.sort((e,t)=>e-t),a=null==(e=t.qualities)?void 0:e.sort((e,t)=>e-t);return{...t,allSizes:r,deviceSizes:i,qualities:a}},[n]),{onLoad:s,onLoadingComplete:l}=e,f=(0,o.useRef)(s);(0,o.useEffect)(()=>{f.current=s},[s]);let g=(0,o.useRef)(l);(0,o.useEffect)(()=>{g.current=l},[l]);let[y,w]=(0,o.useState)(!1),[x,k]=(0,o.useState)(!1),{props:A,meta:C}=(0,c.getImgProps)(e,{defaultLoader:h.default,imgConf:i,blurComplete:y,showAltText:x});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(v,{...A,unoptimized:C.unoptimized,placeholder:C.placeholder,fill:C.fill,onLoadRef:f,onLoadingCompleteRef:g,setBlurComplete:w,setShowAltText:k,sizesInput:e.sizes,ref:t}),C.priority?(0,a.jsx)(b,{isAppRouter:r,imgAttributes:A}):null]})});("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},30968:(e,t,r)=>{var n=r(57406),i=n.slice,a=n.pluck,o=n.each,s=n.bind,l=n.create,c=n.isList,u=n.isFunction,d=n.isObject;e.exports={createStore:f};var p={version:"2.0.12",enabled:!1,get:function(e,t){var r=this.storage.read(this._namespacePrefix+e);return this._deserialize(r,t)},set:function(e,t){return void 0===t?this.remove(e):(this.storage.write(this._namespacePrefix+e,this._serialize(t)),t)},remove:function(e){this.storage.remove(this._namespacePrefix+e)},each:function(e){var t=this;this.storage.each(function(r,n){e.call(t,t._deserialize(r),(n||"").replace(t._namespaceRegexp,""))})},clearAll:function(){this.storage.clearAll()},hasNamespace:function(e){return this._namespacePrefix=="__storejs_"+e+"_"},createStore:function(){return f.apply(this,arguments)},addPlugin:function(e){this._addPlugin(e)},namespace:function(e){return f(this.storage,this.plugins,e)}};function h(){var e="undefined"==typeof console?null:console;if(e){var t=e.warn?e.warn:e.log;t.apply(e,arguments)}}function f(e,t,r){r||(r=""),e&&!c(e)&&(e=[e]),t&&!c(t)&&(t=[t]);var n=r?"__storejs_"+r+"_":"",f=r?RegExp("^"+n):null;if(!/^[a-zA-Z0-9_\-]*$/.test(r))throw Error("store.js namespaces can only have alphanumerics + underscores and dashes");var m=l({_namespacePrefix:n,_namespaceRegexp:f,_testStorage:function(e){try{var t="__storejs__test__";e.write(t,t);var r=e.read(t)===t;return e.remove(t),r}catch(e){return!1}},_assignPluginFnProp:function(e,t){var r=this[t];this[t]=function(){var t=i(arguments,0),n=this,a=[function(){if(r)return o(arguments,function(e,r){t[r]=e}),r.apply(n,t)}].concat(t);return e.apply(n,a)}},_serialize:function(e){return JSON.stringify(e)},_deserialize:function(e,t){if(!e)return t;var r="";try{r=JSON.parse(e)}catch(t){r=e}return void 0!==r?r:t},_addStorage:function(e){!this.enabled&&this._testStorage(e)&&(this.storage=e,this.enabled=!0)},_addPlugin:function(e){var t=this;if(c(e))return void o(e,function(e){t._addPlugin(e)});if(!a(this.plugins,function(t){return e===t})){if(this.plugins.push(e),!u(e))throw Error("Plugins must be function values that return objects");var r=e.call(this);if(!d(r))throw Error("Plugins must return an object of function properties");o(r,function(r,n){if(!u(r))throw Error("Bad plugin property: "+n+" from plugin "+e.name+". Plugins should only return functions.");t._assignPluginFnProp(r,n)})}},addStorage:function(e){h("store.addStorage(storage) is deprecated. Use createStore([storages])"),this._addStorage(e)}},p,{plugins:[]});return m.raw={},o(m,function(e,t){u(e)&&(m.raw[t]=s(m,e))}),o(e,function(e){m._addStorage(e)}),o(t,function(e){m._addPlugin(e)}),m}},30971:(e,t,r)=>{"use strict";r.d(t,{F:()=>a});var n=r(35026);function i(e){return(0,n.Q)(e)||void 0===e||"string"==typeof e||"boolean"==typeof e||"number"==typeof e||Array.isArray(e)}function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={...e};function r(e){let t=Object.entries(e);for(let a=0;a<t.length;a++){let[o,s]=t[a];!i(s)||o.startsWith("unstable_")?delete e[o]:(0,n.Q)(s)&&(e[o]={...s},r(e[o]))}}return r(t),"import { unstable_createBreakpoints as createBreakpoints, createTransitions } from '@mui/material/styles';\n\nconst theme = ".concat(JSON.stringify(t,null,2),";\n\ntheme.breakpoints = createBreakpoints(theme.breakpoints || {});\ntheme.transitions = createTransitions(theme.transitions || {});\n\nexport default theme;")}},30991:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});let n=function(e){return"string"==typeof e},i=function(e,t,r){return void 0===e||n(e)?t:{...t,ownerState:{...t.ownerState,...r}}}},31005:function(e,t,r){var n;!function(i,a){"use strict";
1var o="",s="?",l="function",c="undefined",u="object",d="string",p="major",h="model",f="name",m="type",g="vendor",y="version",v="architecture",b="console",w="mobile",x="tablet",k="smarttv",A="wearable",C="embedded",S=500,E="Amazon",_="Apple",T="ASUS",P="BlackBerry",O="Browser",I="Chrome",M="Firefox",L="Google",N="Honor",R="Huawei",j="LG",D="Microsoft",F="Motorola",V="Nvidia",B="OnePlus",z="Opera",$="OPPO",U="Samsung",q="Sharp",H="Sony",Y="Xiaomi",W="Zebra",G="Facebook",K="Chromium OS",J="Mac OS",X=" Browser",Q=function(e,t){var r={};for(var n in e)t[n]&&t[n].length%2==0?r[n]=t[n].concat(e[n]):r[n]=e[n];return r},Z=function(e){for(var t={},r=0;r<e.length;r++)t[e[r].toUpperCase()]=e[r];return t},ee=function(e,t){return typeof e===d&&-1!==et(t).indexOf(et(e))},et=function(e){return e.toLowerCase()},er=function(e){return typeof e===d?e.replace(/[^\d\.]/g,o).split(".")[0]:void 0},en=function(e,t){if(typeof e===d)return e=e.replace(/^\s\s*/,o),typeof t===c?e:e.substring(0,S)},ei=function(e,t){for(var r,n,i,o,s,c,d=0;d<t.length&&!s;){var p=t[d],h=t[d+1];for(r=n=0;r<p.length&&!s&&p[r];)if(s=p[r++].exec(e))for(i=0;i<h.length;i++)c=s[++n],typeof(o=h[i])===u&&o.length>0?2===o.length?typeof o[1]==l?this[o[0]]=o[1].call(this,c):this[o[0]]=o[1]:3===o.length?typeof o[1]!==l||o[1].exec&&o[1].test?this[o[0]]=c?c.replace(o[1],o[2]):void 0:this[o[0]]=c?o[1].call(this,c,o[2]):a:4===o.length&&(this[o[0]]=c?o[3].call(this,c.replace(o[1],o[2])):a):this[o]=c||a;d+=2}},ea=function(e,t){for(var r in t)if(typeof t[r]===u&&t[r].length>0){for(var n=0;n<t[r].length;n++)if(ee(t[r][n],e))return r===s?a:r}else if(ee(t[r],e))return r===s?a:r;return t.hasOwnProperty("*")?t["*"]:e},eo={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"},es={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[y,[f,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[y,[f,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[f,y],[/opios[\/ ]+([\w\.]+)/i],[y,[f,z+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[y,[f,z+" GX"]],[/\bopr\/([\w\.]+)/i],[y,[f,z]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[y,[f,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[y,[f,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i,/(heytap|ovi|115)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[f,y],[/quark(?:pc)?\/([-\w\.]+)/i],[y,[f,"Quark"]],[/\bddg\/([\w\.]+)/i],[y,[f,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[y,[f,"UC"+O]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[y,[f,"WeChat"]],[/konqueror\/([\w\.]+)/i],[y,[f,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[y,[f,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[y,[f,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[y,[f,"Smart Lenovo "+O]],[/(avast|avg)\/([\w\.]+)/i],[[f,/(.+)/,"$1 Secure "+O],y],[/\bfocus\/([\w\.]+)/i],[y,[f,M+" Focus"]],[/\bopt\/([\w\.]+)/i],[y,[f,z+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[y,[f,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[y,[f,"Dolphin"]],[/coast\/([\w\.]+)/i],[y,[f,z+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[y,[f,"MIUI"+X]],[/fxios\/([\w\.-]+)/i],[y,[f,M]],[/\bqihoobrowser\/?([\w\.]*)/i],[y,[f,"360"]],[/\b(qq)\/([\w\.]+)/i],[[f,/(.+)/,"$1Browser"],y],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[f,/(.+)/,"$1"+X],y],[/samsungbrowser\/([\w\.]+)/i],[y,[f,U+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[y,[f,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[f,"Sogou Mobile"],y],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[f,y],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[f],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[y,f],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[f,G],y],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\w\.]+)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[f,y],[/\bgsa\/([\w\.]+) .*safari\//i],[y,[f,"GSA"]],[/musical_ly(?:.
1+app_?version\/|_)([\w\.]+)/i],[y,[f,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[y,[f,I+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[f,I+" WebView"],y],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[y,[f,"Android "+O]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[f,y],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[y,[f,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[y,f],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[f,[y,ea,{"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[f,y],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[f,"Netscape"],y],[/(wolvic|librewolf)\/([\w\.]+)/i],[f,y],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[y,[f,M+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[f,[y,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[f,[y,/master.|lts./,""]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[v,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[v,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[v,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[v,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[v,"arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[[v,/ower/,o,et]],[/ sun4\w[;\)]/i],[[v,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[[v,et]]],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],[h,[g,U],[m,x]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[h,[g,U],[m,w]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[h,[g,_],[m,w]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[h,[g,_],[m,x]],[/(macintosh);/i],[h,[g,_]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[h,[g,q],[m,w]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[h,[g,N],[m,x]],[/honor([-\w ]+)[;\)]/i],[h,[g,N],[m,w]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[h,[g,R],[m,x]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[h,[g,R],[m,w]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[h,/_/g," "],[g,Y],[m,x]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i,/ ([\w ]+) miui\/v?\d/i],[[h,/_/g," "],[g,Y],[m,
vendor: 4,128 bytes, line 1
1w]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[h,[g,$],[m,w]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[h,[g,ea,{OnePlus:["304","403","203"],"*":$}],[m,x]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[h,[g,"Vivo"],[m,w]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[h,[g,"Realme"],[m,w]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[h,[g,F],[m,w]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[h,[g,F],[m,x]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[h,[g,j],[m,x]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i,/\blg-?([\d\w]+) bui/i],[h,[g,j],[m,w]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[h,[g,"Lenovo"],[m,x]],[/(nokia) (t[12][01])/i],[g,h,[m,x]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[h,/_/g," "],[m,w],[g,"Nokia"]],[/(pixel (c|tablet))\b/i],[h,[g,L],[m,x]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[h,[g,L],[m,w]],[/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],[h,[g,H],[m,w]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[h,"Xperia Tablet"],[g,H],[m,x]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[h,[g,B],[m,w]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[h,[g,E],[m,x]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[h,/(.+)/g,"Fire Phone $1"],[g,E],[m,w]],[/(playbook);[-\w\),; ]+(rim)/i],[h,g,[m,x]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[h,[g,P],[m,w]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[h,[g,T],[m,x]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[h,[g,T],[m,w]],[/(nexus 9)/i],[h,[g,"HTC"],[m,x]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[g,[h,/_/g," "],[m,w]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[h,[g,"TCL"],[m,x]],[/(itel) ((\w+))/i],[[g,et],h,[m,ea,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[h,[g,"Acer"],[m,x]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[h,[g,"Meizu"],[m,w]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[h,[g,"Ulefone"],[m,w]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[h,[g,"Energizer"],[m,w]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[h,[g,"Cat"],[m,w]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[h,[g,"Smartfren"],[m,w]],[/droid.+; (a(?:015|06[35]|142p?))/i],[h,[g,"Nothing"],[m,w]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[h,[g,"Archos"],[m,x]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[h,[g,"Archos"],[m,w]],[/(imo) (tab \w+)/i,/(infinix) (x1101b?)/i],[g,h,[m,x]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (hmd|imo) ([\w ]+?)(?: bui|\))/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i,/(oppo) ?([\w ]+) bui/i],[g,h,[m,w]],[/(kobo)\s(ereader|touch)/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],[g,h,[m,x]],[/(surface duo)/i],[h,[g,D],[m,x]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[h,[g,"Fairphone"],[m,w]],[/(u304aa)/i],[h,[g,"AT&T"],[m,w]],[/\bsie-(\w*)/i],[h,[g,"Siemens"],[m,w]],[/\b(rct\w+) b/i],[h,[g,"RCA"],[m,x
vendor: 7,619 bytes, line 1
1]],[/\b(venue[\d ]{2,7}) b/i],[h,[g,"Dell"],[m,x]],[/\b(q(?:mv|ta)\w+) b/i],[h,[g,"Verizon"],[m,x]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[h,[g,"Barnes & Noble"],[m,x]],[/\b(tm\d{3}\w+) b/i],[h,[g,"NuVision"],[m,x]],[/\b(k88) b/i],[h,[g,"ZTE"],[m,x]],[/\b(nx\d{3}j) b/i],[h,[g,"ZTE"],[m,w]],[/\b(gen\d{3}) b.+49h/i],[h,[g,"Swiss"],[m,w]],[/\b(zur\d{3}) b/i],[h,[g,"Swiss"],[m,x]],[/\b((zeki)?tb.*\b) b/i],[h,[g,"Zeki"],[m,x]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[g,"Dragon Touch"],h,[m,x]],[/\b(ns-?\w{0,9}) b/i],[h,[g,"Insignia"],[m,x]],[/\b((nxa|next)-?\w{0,9}) b/i],[h,[g,"NextBook"],[m,x]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[g,"Voice"],h,[m,w]],[/\b(lvtel\-)?(v1[12]) b/i],[[g,"LvTel"],h,[m,w]],[/\b(ph-1) /i],[h,[g,"Essential"],[m,w]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[h,[g,"Envizen"],[m,x]],[/\b(trio[-\w\. ]+) b/i],[h,[g,"MachSpeed"],[m,x]],[/\btu_(1491) b/i],[h,[g,"Rotor"],[m,x]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[h,[g,V],[m,x]],[/(sprint) (\w+)/i],[g,h,[m,w]],[/(kin\.[onetw]{3})/i],[[h,/\./g," "],[g,D],[m,w]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[h,[g,W],[m,x]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[h,[g,W],[m,w]],[/smart-tv.+(samsung)/i],[g,[m,k]],[/hbbtv.+maple;(\d+)/i],[[h,/^/,"SmartTV"],[g,U],[m,k]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[g,j],[m,k]],[/(apple) ?tv/i],[g,[h,_+" TV"],[m,k]],[/crkey/i],[[h,I+"cast"],[g,L],[m,k]],[/droid.+aft(\w+)( bui|\))/i],[h,[g,E],[m,k]],[/(shield \w+ tv)/i],[h,[g,V],[m,k]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[h,[g,q],[m,k]],[/(bravia[\w ]+)( bui|\))/i],[h,[g,H],[m,k]],[/(mi(tv|box)-?\w+) bui/i],[h,[g,Y],[m,k]],[/Hbbtv.*(technisat) (.*);/i],[g,h,[m,k]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[g,en],[h,en],[m,k]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[h,[m,k]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[m,k]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[g,h,[m,b]],[/droid.+; (shield)( bui|\))/i],[h,[g,V],[m,b]],[/(playstation \w+)/i],[h,[g,H],[m,b]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[h,[g,D],[m,b]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[h,[g,U],[m,A]],[/((pebble))app/i,/(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[g,h,[m,A]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[h,[g,$],[m,A]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[h,[g,_],[m,A]],[/(opwwe\d{3})/i],[h,[g,B],[m,A]],[/(moto 360)/i],[h,[g,F],[m,A]],[/(smartwatch 3)/i],[h,[g,H],[m,A]],[/(g watch r)/i],[h,[g,j],[m,A]],[/droid.+; (wt63?0{2,3})\)/i],[h,[g,W],[m,A]],[/droid.+; (glass) \d/i],[h,[g,L],[m,A]],[/(pico) (4|neo3(?: link|pro)?)/i],[g,h,[m,A]],[/; (quest( \d| pro)?)/i],[h,[g,G],[m,A]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[g,[m,C]],[/(aeobc)\b/i],[h,[g,E],[m,C]],[/(homepod).+mac os/i],[h,[g,_],[m,C]],[/windows iot/i],[[m,C]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[h,[m,w]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[h,[m,x]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[m,x]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[m,w]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[h,[g,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[y,[f,"EdgeHTML"]],[/(arkweb)\/([\w\.]+)/i],[f,y],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[y,[f,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[f,y],[/ladybird\//i],[[f,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[y,f]],os:[[/microsoft (windows) (vista|xp)/i],[f,y],[/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i],[f,[y,ea,eo]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[y,ea,eo],[f,"Windows"]],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[y,/_/g,"."],[f,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[f,J],[y,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[y,f],[/(ubuntu) ([\w\.]+) like android/i],[[f,/(.+)/,"$1 Touch"],y],[/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i],[f,y],[/\(bb(10);/i],[y,[f,P]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[y,[f,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[y,[f,M+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[y,[f,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[y,[f,"watchOS"]],[/crkey\/([\d\.]+)/i],[y,[f,I+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[f,K],y],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(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)(?: arm\w*| x86\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[f,y],[/(sunos) ?([\w\.\d]*)/i],[[f,"Solaris"],y],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[f,y]]},el=function(e,t){if(typeof e===u&&(t=e,e=a),!(this instanceof el))return new el(e,t).getResult();var r=typeof i!==c&&i.navigator?i.navigator:a,n=e||(r&&r.userAgent?r.userAgent:o),s=r&&r.userAgentData?r.userAgentData:a,b=t?Q(es,t):es,k=r&&r.userAgent==n;return this.getBrowser=function(){var e={};return e[f]=a,e[y]=a,ei.call(e,n,b.browser),e[p]=er(e[y]),k&&r&&r.brave&&typeof r.brave.isBrave==l&&(e[f]="Brave"),e},this.getCPU=function(){var e={};return e[v]=a,ei.call(e,n,b.cpu),e},this.getDevice=function(){var e={};return e[g]=a,e[h]=a,e[m]=a,ei.call(e,n,b.device),k&&!e[m]&&s&&s.mobile&&(e[m]=w),k&&"Macintosh"==e[h]&&r&&typeof r.standalone!==c&&r.maxTouchPoints&&r.maxTouchPoints>2&&(e[h]="iPad",e[m]=x),e},this.getEngine=function(){var e={};return e[f]=a,e[y]=a,ei.call(e,n,b.engine),e},this.getOS=function(){var e={};return e[f]=a,e[y]=a,ei.call(e,n,b.os),k&&!e[f]&&s&&s.platform&&"Unknown"!=s.platform&&(e[f]=s.platform.replace(/chrome os/i,K).replace(/macos/i,J)),e},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 n},this.setUA=function(e){return n=typeof e===d&&e.length>S?en(e,S):e,this},this.setUA(n),this};el.VERSION="1.0.41",el.BROWSER=Z([f,y,p]),el.CPU=Z([v]),el.DEVICE=Z([h,g,m,b,w,k,x,A,C]),el.ENGINE=el.OS=Z([f,y]),typeof t!==c?("object"!==c&&e.exports&&(t=e.exports=el),t.UAParser=el):"function"===l&&r.amdO?a===(n=(function(){return el}).call(t,r,t,e))||(e.exports=n):typeof i!==c&&(i.UAParser=el);var ec=typeof i!==c&&(i.jQuery||i.Zepto);if(ec&&!ec.ua){var eu=new el;ec.ua=eu.getResult(),ec.ua.get=function(){return eu.getUA()},ec.ua.set=function(e){eu.setUA(e);var t=eu.getResult();for(var r in t)ec.ua[r]=t[r]}}}("object"==typeof window?window:this)}
1,31179:(e,t,r)=>{"use strict";var n=r(74353),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},l={};function c(e){return n.isMemo(e)?s:l[e.$$typeof]||i}l[n.ForwardRef]=o,l[n.Memo]=s;var u=Object.defineProperty,d=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,h=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,m=Object.prototype;function g(e,t,r){if("string"!=typeof t){if(m){var n=f(t);n&&n!==m&&g(e,n,r)}var i=d(t);p&&(i=i.concat(p(t)));for(var o=c(e),s=c(t),l=0;l<i.length;++l){var y=i[l];if(!a[y]&&!(r&&r[y])&&!(s&&s[y])&&!(o&&o[y])){var v=h(t,y);try{u(e,y,v)}catch(e){}}}}return e}e.exports=g},31430:(e,t,r)=>{"use strict";r.d(t,{c:()=>v});var n=r(39891),i=r(50970),a=r(98986),o=r(14737),s=r(37674),l=r(49511),c=r(5415);let u=e=>{var t,r,n,i,a,o,s,l,c;let u={isExpected:!0,responseErrorCode:null==e||null==(i=e.response)||null==(n=i.data)||null==(r=n.errors)||null==(t=r[0])?void 0:t.code,responseErrorDetail:null==e||null==(l=e.response)||null==(s=l.data)||null==(o=s.errors)||null==(a=o[0])?void 0:a.detail};return(null==e||null==(c=e.response)?void 0:c.status)===404||u.responseErrorCode&&p.includes(u.responseErrorCode)||u.responseErrorDetail&&d.includes(u.responseErrorDetail)||(u.isExpected=!1),u},d=["Couldn't find BuyingGroup","You need to sign in or sign up before continuing.","è«è¨»åæçºæå¡å¾åé²è¡è³¼è²·ã"],p=["already_claimed","already_trial","course_already_redeemed","payment_gateway_failed","coupon_no_left","subscription_already_renewing","buying_group_closed","duplicated_join_group_buying","ECONNABORTED"];var h=r(97043);let f=e=>{var t;let r=+(null==e||null==(t=e.response)?void 0:t.status);return r>=400&&r<500?"warning":"error"},m=(e,t)=>
1{var r;let n=null==e||null==(r=e.config)?void 0:r.errorContext,i="object"==typeof n&&!Array.isArray(n);(0,h.me)({err:e,context:{key:"apiCaller",level:f(e),...i?n:{},...t}})},g=async e=>{let{isExpected:t,responseErrorDetail:r,responseErrorCode:n}=u(e);if(t){var i,a;return(null==e||null==(i=e.config)?void 0:i.ignoreThrowError)&&(null==e||null==(a=e.config)?void 0:a.isIgnoreError)?void 0:Promise.reject(e)}return m(e,{responseErrorDetail:r,responseErrorCode:n}),Promise.reject(e)},y=(0,o.yMB)({initialConfig:{baseURL:"https://api.wordup.com.tw/api",headers:{"Client-Info":"shop/".concat(n.rE),"Client-Lang":"zh-TW","End-User-Client-Info":"N/A"}},getAuthCredentials:c.tt.get,onResponseError:g}),v=e=>{var t;let r=c.tt.get();if((e.requiresLogin||e.isWithAuth)&&(0,i.A)(r))return a.Ru&&s.A.fire({icon:"info",title:a.Ru.t("common.login_and_retry"),confirmButtonText:a.Ru.t("common.confirm")}),Promise.reject(Error("user_not_logged_in"));if((t=e).headers||(t.headers={}),a.Ru&&a.Ru.resolvedLanguage&&(e.headers["Client-Lang"]=a.Ru.resolvedLanguage),(0,l.Al)()){let{platform:t,version:r}=(0,l.FY)();e.headers["End-User-Client-Info"]="".concat(t,"/").concat(r)}let n=(0,c.hD)();return n&&(e.headers["X-Growthbook-Sticky-Bucketing"]=n),y(e)}},31877:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>et});let n=e=>"string"==typeof e,i=()=>{let e,t,r=new Promise((r,n)=>{e=r,t=n});return r.resolve=e,r.reject=t,r},a=e=>null==e?"":""+e,o=(e,t,r)=>{e.forEach(e=>{t[e]&&(r[e]=t[e])})},s=/###/g,l=e=>e&&e.indexOf("###")>-1?e.replace(s,"."):e,c=e=>!e||n(e),u=(e,t,r)=>{let i=n(t)?t.split("."):t,a=0;for(;a<i.length-1;){if(c(e))return{};let t=l(i[a]);!e[t]&&r&&(e[t]=new r),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++a}return c(e)?{}:{obj:e,k:l(i[a])}},d=(e,t,r)=>{let{obj:n,k:i}=u(e,t,Object);if(void 0!==n||1===t.length){n[i]=r;return}let a=t[t.length-1],o=t.slice(0,t.length-1),s=u(e,o,Object);for(;void 0===s.obj&&o.length;)a=`${o[o.length-1]}.${a}`,(s=u(e,o=o.slice(0,o.length-1),Object))&&s.obj&&void 0!==s.obj[`${s.k}.${a}`]&&(s.obj=void 0);s.obj[`${s.k}.${a}`]=r},p=(e,t,r,n)=>{let{obj:i,k:a}=u(e,t,Object);i[a]=i[a]||[],i[a].push(r)},h=(e,t)=>{let{obj:r,k:n}=u(e,t);if(r)return r[n]},f=(e,t,r)=>{let n=h(e,r);return void 0!==n?n:h(t,r)},m=(e,t,r)=>{for(let i in t)"__proto__"!==i&&"constructor"!==i&&(i in e?n(e[i])||e[i]instanceof String||n(t[i])||t[i]instanceof String?r&&(e[i]=t[i]):m(e[i],t[i],r):e[i]=t[i]);return e},g=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var y={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};let v=e=>n(e)?e.replace(/[&<>"'\/]/g,e=>y[e]):e;class b{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){let t=this.regExpMap.get(e);if(void 0!==t)return t;let r=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,r),this.regExpQueue.push(e),r}}let w=[" ",",","?","!",";"],x=new b(20),k=(e,t,r)=>{t=t||"",r=r||"";let n=w.filter(e=>0>t.indexOf(e)&&0>r.indexOf(e));if(0===n.length)return!0;let i=x.getRegExp(`(${n.map(e=>"?"===e?"\\?":e).join("|")})`),a=!i.test(e);if(!a){let t=e.indexOf(r);t>0&&!i.test(e.substring(0,t))&&(a=!0)}return a},A=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".";if(!e)return;if(e[t])return e[t];let n=t.split(r),i=e;for(let e=0;e<n.length;){let t;if(!i||"object"!=typeof i)return;let a="";for(let o=e;o<n.length;++o)if(o!==e&&(a+=r),a+=n[o],void 0!==(t=i[a])){if(["string","number","boolean"].indexOf(typeof t)>-1&&o<n.length-1)continue;e+=o-e+1;break}i=t}return i},C=e=>e&&e.replace("_","-"),S={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console&&console[e]&&console[e].apply(console,t)}};class E{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.init(e,t)}init(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||S,this.options=t,this.debug=t.debug}log(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.forward(t,"log","",!0)}warn(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.forward(t,"warn","",!0)}error(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.forward(t,"error","")}deprecate(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return this.forward(t,"warn","WARNING DEPRECATED: ",!0)}forward(e,t,r,i){return i&&!this.debug?null:(n(e[0])&&(e[0]=`${r}${this.prefix} ${e[0]}`),this.logger[t](e))}create(e){return new E(this.logger,{...{prefix:`${this.prefix}:${e}:`},...this.options})}clone(e){return(e=e||this.options).prefix=e.prefix||this.prefix,new E(this.logger,e)}}var _=new E;class T{constructor(){this.observers={}}
1on(e,t){return e.split(" ").forEach(e=>{this.observers[e]||(this.observers[e]=new Map);let r=this.observers[e].get(t)||0;this.observers[e].set(t,r+1)}),this}off(e,t){if(this.observers[e]){if(!t)return void delete this.observers[e];this.observers[e].delete(t)}}emit(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];this.observers[e]&&Array.from(this.observers[e].entries()).forEach(e=>{let[t,n]=e;for(let e=0;e<n;e++)t(...r)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(t=>{let[n,i]=t;for(let t=0;t<i;t++)n.apply(n,[e,...r])})}}class P extends T{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=e||{},this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){0>this.options.ns.indexOf(e)&&this.options.ns.push(e)}removeNamespaces(e){let t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,r){let i,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=void 0!==a.keySeparator?a.keySeparator:this.options.keySeparator,s=void 0!==a.ignoreJSONStructure?a.ignoreJSONStructure:this.options.ignoreJSONStructure;e.indexOf(".")>-1?i=e.split("."):(i=[e,t],r&&(Array.isArray(r)?i.push(...r):n(r)&&o?i.push(...r.split(o)):i.push(r)));let l=h(this.data,i);return(!l&&!t&&!r&&e.indexOf(".")>-1&&(e=i[0],t=i[1],r=i.slice(2).join(".")),!l&&s&&n(r))?A(this.data&&this.data[e]&&this.data[e][t],r,o):l}addResource(e,t,r,n){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{silent:!1},a=void 0!==i.keySeparator?i.keySeparator:this.options.keySeparator,o=[e,t];r&&(o=o.concat(a?r.split(a):r)),e.indexOf(".")>-1&&(o=e.split("."),n=t,t=o[1]),this.addNamespaces(t),d(this.data,o,n),i.silent||this.emit("added",e,t,r,n)}addResources(e,t,r){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{silent:!1};for(let i in r)(n(r[i])||Array.isArray(r[i]))&&this.addResource(e,t,i,r[i],{silent:!0});i.silent||this.emit("added",e,t,r)}addResourceBundle(e,t,r,n,i){let a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{silent:!1,skipCopy:!1},o=[e,t];e.indexOf(".")>-1&&(o=e.split("."),n=r,r=t,t=o[1]),this.addNamespaces(t);let s=h(this.data,o)||{};a.skipCopy||(r=JSON.parse(JSON.stringify(r))),n?m(s,r,i):s={...s,...r},d(this.data,o,s),a.silent||this.emit("added",e,t,r)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return void 0!==this.getResource(e,t)}getResourceBundle(e,t){return(t||(t=this.options.defaultNS),"v1"===this.options.compatibilityAPI)?{...this.getResource(e,t)}:this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){let t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(e=>t[e]&&Object.keys(t[e]).length>0)}toJSON(){return this.data}}var O={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,r,n,i){return e.forEach(e=>{this.processors[e]&&(t=this.processors[e].process(t,r,n,i))}),t}};let I={};class M extends T{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};super(),o(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","
1i18nFormat","utils"],e,this),this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=_.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};if(null==e)return!1;let r=this.resolve(e,t);return r&&void 0!==r.res}extractFromKey(e,t){let r=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===r&&(r=":");let i=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,a=t.ns||this.options.defaultNS||[],o=r&&e.indexOf(r)>-1,s=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!k(e,r,i);if(o&&!s){let t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:n(a)?[a]:a};let o=e.split(r);(r!==i||r===i&&this.options.ns.indexOf(o[0])>-1)&&(a=o.shift()),e=o.join(i)}return{key:e,namespaces:n(a)?[a]:a}}translate(e,t,r){if("object"!=typeof t&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof t&&(t={...t}),t||(t={}),null==e)return"";Array.isArray(e)||(e=[String(e)]);let i=void 0!==t.returnDetails?t.returnDetails:this.options.returnDetails,a=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator,{key:o,namespaces:s}=this.extractFromKey(e[e.length-1],t),l=s[s.length-1],c=t.lng||this.language,u=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(c&&"cimode"===c.toLowerCase()){if(u){let e=t.nsSeparator||this.options.nsSeparator;return i?{res:`${l}${e}${o}`,usedKey:o,exactUsedKey:o,usedLng:c,usedNS:l,usedParams:this.getUsedParamsDetails(t)}:`${l}${e}${o}`}return i?{res:o,usedKey:o,exactUsedKey:o,usedLng:c,usedNS:l,usedParams:this.getUsedParamsDetails(t)}:o}let d=this.resolve(e,t),p=d&&d.res,h=d&&d.usedKey||o,f=d&&d.exactUsedKey||o,m=Object.prototype.toString.apply(p),g=["[object Number]","[object Function]","[object RegExp]"],y=void 0!==t.joinArrays?t.joinArrays:this.options.joinArrays,v=!this.i18nFormat||this.i18nFormat.handleAsObject,b=!n(p)&&"boolean"!=typeof p&&"number"!=typeof p;if(v&&p&&b&&0>g.indexOf(m)&&!(n(y)&&Array.isArray(p))){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");let e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(h,p,{...t,ns:s}):`key '${o} (${this.language})' returned an object instead of string.`;return i?(d.res=e,d.usedParams=this.getUsedParamsDetails(t),d):e}if(a){let e=Array.isArray(p),r=e?[]:{},n=e?f:h;for(let e in p)if(Object.prototype.hasOwnProperty.call(p,e)){let i=`${n}${a}${e}`;r[e]=this.translate(i,{...t,joinArrays:!1,ns:s}),r[e]===i&&(r[e]=p[e])}p=r}}else if(v&&n(y)&&Array.isArray(p))(p=p.join(y))&&(p=this.extendTranslation(p,e,t,r));else{let i=!1,s=!1,u=void 0!==t.count&&!n(t.count),h=M.hasDefaultValue(t),f=u?this.pluralResolver.getSuffix(c,t.count,t):"",m=t.ordinal&&u?this.pluralResolver.getSuffix(c,t.count,{ordinal:!1}):"",g=u&&!t.ordinal&&0===t.count&&this.pluralResolver.shouldUseIntlApi(),y=g&&t[`defaultValue${this.options.pluralSeparator}zero`]||t[`defaultValue${f}`]||t[`defaultValue${m}`]||t.defaultValue;!this.isValidLookup(p)&&h&&(i=!0,p=y),this.isValidLookup(p)||(s=!0,p=o);let v=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&s?void 0:p,b=h&&y!==p&&this.options.updateMissing;if(s||i||b){if(this.logger.log(b?"updateKey":"missingKey",c,l,o,b?y:p),a){let e=this.resolve(o,{...t,keySeparator:!1});e&&e.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let e=[],r=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if("fallback"===this.options.saveMissingTo&&r&&r[0])for(let t=0;t<r.length;t++)e.push(r[t]);else"all"===this.options.saveMissingTo?e=this.languageUtils.toResolveHierarchy(t.lng||this.language):e.push(t.lng||this.language);let n=(e,r,n)=>{let i=h&&n!==p?n:v;this.options.missingKeyHandler?this.options.missingKeyHandler(e,l,r,i,b,t):this.backendConnector&&this.backendConnector.saveMissing&&this.backendConnector.saveMissing(e,l,r,i,b,t),this.emit
1("missingKey",e,l,r,p)};this.options.saveMissing&&(this.options.saveMissingPlurals&&u?e.forEach(e=>{let r=this.pluralResolver.getSuffixes(e,t);g&&t[`defaultValue${this.options.pluralSeparator}zero`]&&0>r.indexOf(`${this.options.pluralSeparator}zero`)&&r.push(`${this.options.pluralSeparator}zero`),r.forEach(r=>{n([e],o+r,t[`defaultValue${r}`]||y)})}):n(e,o,y))}p=this.extendTranslation(p,e,t,d,r),s&&p===o&&this.options.appendNamespaceToMissingKey&&(p=`${l}:${o}`),(s||i)&&this.options.parseMissingKeyHandler&&(p="v1"!==this.options.compatibilityAPI?this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}:${o}`:o,i?p:void 0):this.options.parseMissingKeyHandler(p))}return i?(d.res=p,d.usedParams=this.getUsedParamsDetails(t),d):p}extendTranslation(e,t,r,i,a){var o=this;if(this.i18nFormat&&this.i18nFormat.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...r},r.lng||this.language||i.usedLng,i.usedNS,i.usedKey,{resolved:i});else if(!r.skipInterpolation){let s;r.interpolation&&this.interpolator.init({...r,...{interpolation:{...this.options.interpolation,...r.interpolation}}});let l=n(e)&&(r&&r.interpolation&&void 0!==r.interpolation.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);if(l){let t=e.match(this.interpolator.nestingRegexp);s=t&&t.length}let c=r.replace&&!n(r.replace)?r.replace:r;if(this.options.interpolation.defaultVariables&&(c={...this.options.interpolation.defaultVariables,...c}),e=this.interpolator.interpolate(e,c,r.lng||this.language||i.usedLng,r),l){let t=e.match(this.interpolator.nestingRegexp);s<(t&&t.length)&&(r.nest=!1)}!r.lng&&"v1"!==this.options.compatibilityAPI&&i&&i.res&&(r.lng=this.language||i.usedLng),!1!==r.nest&&(e=this.interpolator.nest(e,function(){for(var e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i];return a&&a[0]===n[0]&&!r.context?(o.logger.warn(`It seems you are nesting recursively key: ${n[0]} in key: ${t[0]}`),null):o.translate(...n,t)},r)),r.interpolation&&this.interpolator.reset()}let s=r.postProcess||this.options.postProcess,l=n(s)?[s]:s;return null!=e&&l&&l.length&&!1!==r.applyPostProcessor&&(e=O.handle(l,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...i,usedParams:this.getUsedParamsDetails(r)},...r}:r,this)),e}resolve(e){let t,r,i,a,o,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return n(e)&&(e=[e]),e.forEach(e=>{if(this.isValidLookup(t))return;let l=this.extractFromKey(e,s),c=l.key;r=c;let u=l.namespaces;this.options.fallbackNS&&(u=u.concat(this.options.fallbackNS));let d=void 0!==s.count&&!n(s.count),p=d&&!s.ordinal&&0===s.count&&this.pluralResolver.shouldUseIntlApi(),h=void 0!==s.context&&(n(s.context)||"number"==typeof s.context)&&""!==s.context,f=s.lngs?s.lngs:this.languageUtils.toResolveHierarchy(s.lng||this.language,s.fallbackLng);u.forEach(e=>{this.isValidLookup(t)||(o=e,!I[`${f[0]}-${e}`]&&this.utils&&this.utils.hasLoadedNamespace&&!this.utils.hasLoadedNamespace(o)&&(I[`${f[0]}-${e}`]=!0,this.logger.warn(`key "${r}" for languages "${f.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),f.forEach(r=>{let n;if(this.isValidLookup(t))return;a=r;let o=[c];if(this.i18nFormat&&this.i18nFormat.addLookupKeys)this.i18nFormat.addLookupKeys(o,c,r,e,s);else{let e;d&&(e=this.pluralResolver.getSuffix(r,s.count,s));let t=`${this.options.pluralSeparator}zero`,n=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(d&&(o.push(c+e),s.ordinal&&0===e.indexOf(n)&&o.push(c+e.replace(n,this.options.pluralSeparator)),p&&o.push(c+t)),h){let r=`${c}${this.options.contextSeparator}
1${s.context}`;o.push(r),d&&(o.push(r+e),s.ordinal&&0===e.indexOf(n)&&o.push(r+e.replace(n,this.options.pluralSeparator)),p&&o.push(r+t))}}for(;n=o.pop();)this.isValidLookup(t)||(i=n,t=this.getResource(r,e,n,s))}))})}),{res:t,usedKey:r,exactUsedKey:i,usedLng:a,usedNS:o}}isValidLookup(e){return void 0!==e&&!(!this.options.returnNull&&null===e)&&!(!this.options.returnEmptyString&&""===e)}getResource(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};return this.i18nFormat&&this.i18nFormat.getResource?this.i18nFormat.getResource(e,t,r,n):this.resourceStore.getResource(e,t,r,n)}getUsedParamsDetails(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],r=e.replace&&!n(e.replace),i=r?e.replace:e;if(r&&void 0!==e.count&&(i.count=e.count),this.options.interpolation.defaultVariables&&(i={...this.options.interpolation.defaultVariables,...i}),!r)for(let e of(i={...i},t))delete i[e];return i}static hasDefaultValue(e){let t="defaultValue";for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&t===r.substring(0,t.length)&&void 0!==e[r])return!0;return!1}}let L=e=>e.charAt(0).toUpperCase()+e.slice(1);class N{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=_.create("languageUtils")}getScriptPartFromCode(e){if(!(e=C(e))||0>e.indexOf("-"))return null;let t=e.split("-");return 2===t.length||(t.pop(),"x"===t[t.length-1].toLowerCase())?null:this.formatLanguageCode(t.join("-"))}getLanguagePartFromCode(e){if(!(e=C(e))||0>e.indexOf("-"))return e;let t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(n(e)&&e.indexOf("-")>-1){if("undefined"!=typeof Intl&&void 0!==Intl.getCanonicalLocales)try{let t=Intl.getCanonicalLocales(e)[0];if(t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t)return t}catch(e){}let t=["hans","hant","latn","cyrl","cans","mong","arab"],r=e.split("-");return this.options.lowerCaseLng?r=r.map(e=>e.toLowerCase()):2===r.length?(r[0]=r[0].toLowerCase(),r[1]=r[1].toUpperCase(),t.indexOf(r[1].toLowerCase())>-1&&(r[1]=L(r[1].toLowerCase()))):3===r.length&&(r[0]=r[0].toLowerCase(),2===r[1].length&&(r[1]=r[1].toUpperCase()),"sgn"!==r[0]&&2===r[2].length&&(r[2]=r[2].toUpperCase()),t.indexOf(r[1].toLowerCase())>-1&&(r[1]=L(r[1].toLowerCase())),t.indexOf(r[2].toLowerCase())>-1&&(r[2]=L(r[2].toLowerCase()))),r.join("-")}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){let t;return e?(e.forEach(e=>{if(t)return;let r=this.formatLanguageCode(e);(!this.options.supportedLngs||this.isSupportedCode(r))&&(t=r)}),!t&&this.options.supportedLngs&&e.forEach(e=>{if(t)return;let r=this.getLanguagePartFromCode(e);if(this.isSupportedCode(r))return t=r;t=this.options.supportedLngs.find(e=>{if(e===r||!(0>e.indexOf("-")&&0>r.indexOf("-"))&&(e.indexOf("-")>0&&0>r.indexOf("-")&&e.substring(0,e.indexOf("-"))===r||0===e.indexOf(r)&&r.length>1))return e})}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t):null}getFallbackCodes(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),n(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let r=e[t];return r||(r=e[this.getScriptPartFromCode(t)]),r||(r=e[this.formatLanguageCode(t)]),r||(r=e[this.getLanguagePartFromCode(t)]),r||(r=e.default),r||[]}toResolveHierarchy(e,t){let r=this.getFallbackCodes(t||this.options.fallbackLng||[],e),i=[],a=e=>{e&&(this.isSupportedCode(e)?i.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return n(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?("languageOnly"!==this.options.load&&a(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&a(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&a(this.getLanguagePartFromCode(e))):n(e)&&a(this.formatLanguageCode(e)),r.forEach(e
1=>{0>i.indexOf(e)&&a(this.formatLanguageCode(e))}),i}}let R=[{lngs:["ach","ak","am","arn","br","fil","gun","ln","mfe","mg","mi","oc","pt","pt-BR","tg","tl","ti","tr","uz","wa"],nr:[1,2],fc:1},{lngs:["af","an","ast","az","bg","bn","ca","da","de","dev","el","en","eo","es","et","eu","fi","fo","fur","fy","gl","gu","ha","hi","hu","hy","ia","it","kk","kn","ku","lb","mai","ml","mn","mr","nah","nap","nb","ne","nl","nn","no","nso","pa","pap","pms","ps","pt-PT","rm","sco","se","si","so","son","sq","sv","sw","ta","te","tk","ur","yo"],nr:[1,2],fc:2},{lngs:["ay","bo","cgg","fa","ht","id","ja","jbo","ka","km","ko","ky","lo","ms","sah","su","th","tt","ug","vi","wo","zh"],nr:[1],fc:3},{lngs:["be","bs","cnr","dz","hr","ru","sr","uk"],nr:[1,2,5],fc:4},{lngs:["ar"],nr:[0,1,2,3,11,100],fc:5},{lngs:["cs","sk"],nr:[1,2,5],fc:6},{lngs:["csb","pl"],nr:[1,2,5],fc:7},{lngs:["cy"],nr:[1,2,3,8],fc:8},{lngs:["fr"],nr:[1,2],fc:9},{lngs:["ga"],nr:[1,2,3,7,11],fc:10},{lngs:["gd"],nr:[1,2,3,20],fc:11},{lngs:["is"],nr:[1,2],fc:12},{lngs:["jv"],nr:[0,1],fc:13},{lngs:["kw"],nr:[1,2,3,4],fc:14},{lngs:["lt"],nr:[1,2,10],fc:15},{lngs:["lv"],nr:[1,2,0],fc:16},{lngs:["mk"],nr:[1,2],fc:17},{lngs:["mnk"],nr:[0,1,2],fc:18},{lngs:["mt"],nr:[1,2,11,20],fc:19},{lngs:["or"],nr:[2,1],fc:2},{lngs:["ro"],nr:[1,2,20],fc:20},{lngs:["sl"],nr:[5,1,2,3],fc:21},{lngs:["he","iw"],nr:[1,2,20,21],fc:22}],j={1:e=>Number(e>1),2:e=>Number(1!=e),3:e=>0,4:e=>Number(e%10==1&&e%100!=11?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2),5:e=>Number(0==e?0:1==e?1:2==e?2:e%100>=3&&e%100<=10?3:e%100>=11?4:5),6:e=>Number(1==e?0:e>=2&&e<=4?1:2),7:e=>Number(1==e?0:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?1:2),8:e=>Number(1==e?0:2==e?1:8!=e&&11!=e?2:3),9:e=>Number(e>=2),10:e=>Number(1==e?0:2==e?1:e<7?2:e<11?3:4),11:e=>Number(1==e||11==e?0:2==e||12==e?1:e>2&&e<20?2:3),12:e=>Number(e%10!=1||e%100==11),13:e=>Number(0!==e),14:e=>Number(1==e?0:2==e?1:3==e?2:3),15:e=>Number(e%10==1&&e%100!=11?0:e%10>=2&&(e%100<10||e%100>=20)?1:2),16:e=>Number(e%10==1&&e%100!=11?0:0!==e?1:2),17:e=>Number(+(1!=e&&(e%10!=1||e%100==11))),18:e=>Number(0==e?0:1==e?1:2),19:e=>Number(1==e?0:0==e||e%100>1&&e%100<11?1:e%100>10&&e%100<20?2:3),20:e=>Number(1==e?0:0==e||e%100>0&&e%100<20?1:2),21:e=>Number(e%100==1?1:e%100==2?2:3*(e%100==3||e%100==4)),22:e=>Number(1==e?0:2==e?1:(e<0||e>10)&&e%10==0?2:3)},D=["v1","v2","v3"],F=["v4"],V={zero:0,one:1,two:2,few:3,many:4,other:5},B=()=>{let e={};return R.forEach(t=>{t.lngs.forEach(r=>{e[r]={numbers:t.nr,plurals:j[t.fc]}})}),e};class z{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.languageUtils=e,this.options=t,this.logger=_.create("pluralResolver"),(!this.options.compatibilityJSON||F.includes(this.options.compatibilityJSON))&&("undefined"==typeof Intl||!Intl.PluralRules)&&(this.options.compatibilityJSON="v3",this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")),this.rules=B(),this.pluralRulesCache={}}addRule(e,t){this.rules[e]=t}clearCache(){this.pluralRulesCache={}}getRule(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.shouldUseIntlApi()){let r,n=C("dev"===e?"en":e),i=t.ordinal?"ordinal":"cardinal",a=JSON.stringify({cleanedCode:n,type:i});if(a in this.pluralRulesCache)return this.pluralRulesCache[a];try{r=new Intl.PluralRules(n,{type:i})}catch(i){if(!e.match(/-|_/))return;let n=this.languageUtils.getLanguagePartFromCode(e);r=this.getRule(n,t)}return this.pluralRulesCache[a]=r,r}return this.rules[e]||this.rules[this.languageUtils.getLanguagePartFromCode(e)]}needsPlural(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.getRule(e,t);return this.shouldUseIntlApi()?r&&r.resolvedOptions().pluralCategories.length>1:r&&r.numbers.length>1}getPluralFormsOfKey(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return this.getSuffixes(e,r).map(e=>`${t}${e}`)}getSuffixes(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=this.getRule(e,t);return r?this.shouldUseIntlApi()?r.resolvedOptions().pluralCategories.sort((e,t)=>
1V[e]-V[t]).map(e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${e}`):r.numbers.map(r=>this.getSuffix(e,r,t)):[]}getSuffix(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=this.getRule(e,r);return n?this.shouldUseIntlApi()?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${n.select(t)}`:this.getSuffixRetroCompatible(n,t):(this.logger.warn(`no plural rule found for: ${e}`),"")}getSuffixRetroCompatible(e,t){let r=e.noAbs?e.plurals(t):e.plurals(Math.abs(t)),n=e.numbers[r];this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]&&(2===n?n="plural":1===n&&(n=""));let i=()=>this.options.prepend&&n.toString()?this.options.prepend+n.toString():n.toString();return"v1"===this.options.compatibilityJSON?1===n?"":"number"==typeof n?`_plural_${n.toString()}`:i():"v2"===this.options.compatibilityJSON||this.options.simplifyPluralSuffix&&2===e.numbers.length&&1===e.numbers[0]?i():this.options.prepend&&r.toString()?this.options.prepend+r.toString():r.toString()}
1shouldUseIntlApi(){return!D.includes(this.options.compatibilityJSON)}}let $=function(e,t,r){let i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:".",a=!(arguments.length>4)||void 0===arguments[4]||arguments[4],o=f(e,t,r);return!o&&a&&n(r)&&void 0===(o=A(e,r,i))&&(o=A(t,r,i)),o},U=e=>e.replace(/\$/g,"$$$$");class q{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=_.create("interpolator"),this.options=e,this.format=e.interpolation&&e.interpolation.format||(e=>e),this.init(e)}init(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});let{escape:t,escapeValue:r,useRawValueToEscape:n,prefix:i,prefixEscaped:a,suffix:o,suffixEscaped:s,formatSeparator:l,unescapeSuffix:c,unescapePrefix:u,nestingPrefix:d,nestingPrefixEscaped:p,nestingSuffix:h,nestingSuffixEscaped:f,nestingOptionsSeparator:m,maxReplaces:y,alwaysFormat:b}=e.interpolation;this.escape=void 0!==t?t:v,this.escapeValue=void 0===r||r,this.useRawValueToEscape=void 0!==n&&n,this.prefix=i?g(i):a||"{{",this.suffix=o?g(o):s||"}}",this.formatSeparator=l||",",this.unescapePrefix=c?"":u||"-",this.unescapeSuffix=this.unescapePrefix?"":c||"",this.nestingPrefix=d?g(d):p||g("$t("),this.nestingSuffix=h?g(h):f||g(")"),this.nestingOptionsSeparator=m||",",this.maxReplaces=y||1e3,this.alwaysFormat=void 0!==b&&b,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){let e=(e,t)=>e&&e.source===t?(e.lastIndex=0,e):RegExp(t,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(e,t,r,i){let o,s,l,c=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},u=e=>{if(0>e.indexOf(this.formatSeparator)){let n=$(t,c,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(n,void 0,r,{...i,...t,interpolationkey:e}):n}let n=e.split(this.formatSeparator),a=n.shift().trim(),o=n.join(this.formatSeparator).trim();return this.format($(t,c,a,this.options.keySeparator,this.options.ignoreJSONStructure),o,r,{...i,...t,interpolationkey:a})};this.resetRegExp();let d=i&&i.missingInterpolationHandler||this.options.missingInterpolationHandler,p=i&&i.interpolation&&void 0!==i.interpolation.skipOnVariables?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>U(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?U(this.escape(e)):U(e)}].forEach(t=>{for(l=0;o=t.regex.exec(e);){let r=o[1].trim();if(void 0===(s=u(r)))if("function"==typeof d){let t=d(e,o,i);s=n(t)?t:""}else if(i&&Object.prototype.hasOwnProperty.call(i,r))s="";else if(p){s=o[0];continue}else this.logger.warn(`missed to pass in variable ${r} for interpolating ${e}`),s="";else n(s)||this.useRawValueToEscape||(s=a(s));let c=t.safeValue(s);if(e=e.replace(o[0],c),p?(t.regex.lastIndex+=s.length,t.regex.lastIndex-=o[0].length):t.regex.lastIndex=0,++l>=this.maxReplaces)break}}),e}nest(e,t){let r,i,o,s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},l=(e,t)=>{let r=this.nestingOptionsSeparator;if(0>e.indexOf(r))return e;let n=e.split(RegExp(`${r}[ ]*{`)),i=`{${n[1]}`;e=n[0];let a=(i=this.interpolate(i,o)).match(/'/g),s=i.match(/"/g);(a&&a.length%2==0&&!s||s.length%2!=0)&&(i=i.replace(/'/g,'"'));try{o=JSON.parse(i),t&&(o={...t,...o})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${r}${i}`}return o.defaultValue&&o.defaultValue.indexOf(this.prefix)>-1&&delete o.defaultValue,e};for(;r=this.nestingRegexp.exec(e);){let c=[];(o=(o={...s}).replace&&!n(o.replace)?o.replace:o).applyPostProcessor=!1,delete o.defaultValue;let u=!1;if(-1!==r[0].indexOf(this.formatSeparator)&&!/{.*}/.test(r[1])){let e=r[1].split(this.formatSeparator).map(e=>e.trim());r[1]=e.shift(),c=e,u=!0}if((i=t(l.call(this,r[1].trim(),o),o))&&r[0]===e&&!n(i))return i;n(i)||(i=a(i)),i||(this.logger.warn(`missed to resolve ${r[1]} for nesting ${e}`),i=""),u&&(i=c.reduce((e,t)=>
1this.format(e,t,s.lng,{...s,interpolationkey:r[1].trim()}),i.trim())),e=e.replace(r[0],i),this.regexp.lastIndex=0}return e}}let H=e=>{let t=e.toLowerCase().trim(),r={};if(e.indexOf("(")>-1){let n=e.split("(");t=n[0].toLowerCase().trim();let i=n[1].substring(0,n[1].length-1);"currency"===t&&0>i.indexOf(":")?r.currency||(r.currency=i.trim()):"relativetime"===t&&0>i.indexOf(":")?r.range||(r.range=i.trim()):i.split(";").forEach(e=>{if(e){let[t,...n]=e.split(":"),i=n.join(":").trim().replace(/^'+|'+$/g,""),a=t.trim();r[a]||(r[a]=i),"false"===i&&(r[a]=!1),"true"===i&&(r[a]=!0),isNaN(i)||(r[a]=parseInt(i,10))}})}return{formatName:t,formatOptions:r}},Y=e=>{let t={};return(r,n,i)=>{let a=i;i&&i.interpolationkey&&i.formatParams&&i.formatParams[i.interpolationkey]&&i[i.interpolationkey]&&(a={...a,[i.interpolationkey]:void 0});let o=n+JSON.stringify(a),s=t[o];return s||(s=e(C(n),i),t[o]=s),s(r)}};class W{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.logger=_.create("formatter"),this.options=e,this.formats={number:Y((e,t)=>{let r=new Intl.NumberFormat(e,{...t});return e=>r.format(e)}),currency:Y((e,t)=>{let r=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>r.format(e)}),datetime:Y((e,t)=>{let r=new Intl.DateTimeFormat(e,{...t});return e=>r.format(e)}),relativetime:Y((e,t)=>{let r=new Intl.RelativeTimeFormat(e,{...t});return e=>r.format(e,t.range||"day")}),list:Y((e,t)=>{let r=new Intl.ListFormat(e,{...t});return e=>r.format(e)})},this.init(e)}init(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{interpolation:{}};this.formatSeparator=t.interpolation.formatSeparator||","}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=Y(t)}format(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},i=t.split(this.formatSeparator);if(i.length>1&&i[0].indexOf("(")>1&&0>i[0].indexOf(")")&&i.find(e=>e.indexOf(")")>-1)){let e=i.findIndex(e=>e.indexOf(")")>-1);i[0]=[i[0],...i.splice(1,e)].join(this.formatSeparator)}return i.reduce((e,t)=>{let{formatName:i,formatOptions:a}=H(t);if(this.formats[i]){let t=e;try{let o=n&&n.formatParams&&n.formatParams[n.interpolationkey]||{},s=o.locale||o.lng||n.locale||n.lng||r;t=this.formats[i](e,s,{...a,...n,...o})}catch(e){this.logger.warn(e)}return t}return this.logger.warn(`there was no format function for ${i}`),e},e)}}let G=(e,t)=>{void 0!==e.pending[t]&&(delete e.pending[t],e.pendingCount--)};class K extends T{constructor(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};super(),this.backend=e,this.store=t,this.services=r,this.languageUtils=r.languageUtils,this.options=n,this.logger=_.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=n.maxParallelReads||10,this.readingCalls=0,this.maxRetries=n.maxRetries>=0?n.maxRetries:5,this.retryTimeout=n.retryTimeout>=1?n.retryTimeout:350,this.state={},this.queue=[],this.backend&&this.backend.init&&this.backend.init(r,n.backend,n)}queueLoad(e,t,r,n){let i={},a={},o={},s={};return e.forEach(e=>{let n=!0;t.forEach(t=>{let o=`${e}|${t}`;!r.reload&&this.store.hasResourceBundle(e,t)?this.state[o]=2:this.state[o]<0||(1===this.state[o]?void 0===a[o]&&(a[o]=!0):(this.state[o]=1,n=!1,void 0===a[o]&&(a[o]=!0),void 0===i[o]&&(i[o]=!0),void 0===s[t]&&(s[t]=!0)))}),n||(o[e]=!0)}),(Object.keys(i).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:n}),{toLoad:Object.keys(i),pending:Object.keys(a),toLoadLanguages:Object.keys(o),toLoadNamespaces:Object.keys(s)}}loaded(e,t,r){let n=e.split("|"),i=n[0],a=n[1];t&&this.emit("failedLoading",i,a,t),!t&&r&&this.store.addResourceBundle(i,a,r,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&r&&(this.state[e]=0);let o={};this.queue.forEach(r=>{p(r.loaded,[i],a),G(r,e),t&&r.errors.push(t),0!==r.pendingCount||r.done||(Object.keys(r.loaded).forEach(e=>{o[e]||(o[e]={});let t=r.loaded[e];t.length&&t.forEach(t=>{void 0===o[e][t]&&(o[e][t]=!0)})}),r.done=!0,r.errors.length?r.callback(r.errors):r.callback())}
1),this.emit("loaded",o),this.queue=this.queue.filter(e=>!e.done)}read(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:this.retryTimeout,a=arguments.length>5?arguments[5]:void 0;if(!e.length)return a(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:e,ns:t,fcName:r,tried:n,wait:i,callback:a});this.readingCalls++;let o=(o,s)=>{if(this.readingCalls--,this.waitingReads.length>0){let e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}if(o&&s&&n<this.maxRetries)return void setTimeout(()=>{this.read.call(this,e,t,r,n+1,2*i,a)},i);a(o,s)},s=this.backend[r].bind(this.backend);if(2===s.length){try{let r=s(e,t);r&&"function"==typeof r.then?r.then(e=>o(null,e)).catch(o):o(null,r)}catch(e){o(e)}return}return s(e,t,o)}prepareLoading(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),i&&i();n(e)&&(e=this.languageUtils.toResolveHierarchy(e)),n(t)&&(t=[t]);let a=this.queueLoad(e,t,r,i);if(!a.toLoad.length)return a.pending.length||i(),null;a.toLoad.forEach(e=>{this.loadOne(e)})}load(e,t,r){this.prepareLoading(e,t,{},r)}reload(e,t,r){this.prepareLoading(e,t,{reload:!0},r)}loadOne(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e.split("|"),n=r[0],i=r[1];this.read(n,i,"read",void 0,void 0,(r,a)=>{r&&this.logger.warn(`${t}loading namespace ${i} for language ${n} failed`,r),!r&&a&&this.logger.log(`${t}loaded namespace ${i} for language ${n}`,a),this.loaded(e,r,a)})}saveMissing(e,t,r,n,i){let a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},o=arguments.length>6&&void 0!==arguments[6]?arguments[6]:()=>{};if(this.services.utils&&this.services.utils.hasLoadedNamespace&&!this.services.utils.hasLoadedNamespace(t))return void this.logger.warn(`did not save key "${r}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");if(null!=r&&""!==r){if(this.backend&&this.backend.create){let s={...a,isUpdate:i},l=this.backend.create.bind(this.backend);if(l.length<6)try{let i;(i=5===l.length?l(e,t,r,n,s):l(e,t,r,n))&&"function"==typeof i.then?i.then(e=>o(null,e)).catch(o):o(null,i)}catch(e){o(e)}else l(e,t,r,n,o,s)}e&&e[0]&&this.store.addResource(e[0],t,r,n)}}}let J=()=>({debug:!1,initImmediate:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if("object"==typeof e[1]&&(t=e[1]),n(e[1])&&(t.defaultValue=e[1]),n(e[2])&&(t.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){let r=e[3]||e[2];Object.keys(r).forEach(e=>{t[e]=r[e]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),X=e=>(n(e.ns)&&(e.ns=[e.ns]),n(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),n(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs&&0>e.supportedLngs.indexOf("cimode")&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),e),Q=()=>{},Z=e=>{Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach(t=>{"function"==typeof e[t]&&(e[t]=e[t].bind(e))})};class ee extends T{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if(super(),this.options=X(e),this.services={},this.logger=_,this.modules={external:[]},Z(this),t&&!this.isInitialized&&!e.isClone){if(!this.options.initImmediate)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(){var e=this;let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,"function"==typeof t&&(r=t,t={}),!t.defaultNS&&!1!==t.defaultNS&&t.ns&&(n(t.ns)?t.defaultNS=t.ns:0>t.ns.indexOf("translation")&&(t.defaultNS=t.ns[0]));let a=J();this.options={...a,...this.options,...X(t)},"v1"!==this.options.compatibilityAPI&&(this.options.interpolation={...a.interpolation,...this.options.interpolation}),void 0!==t.keySeparator&&(this.options.userDefinedKeySeparator=t.keySeparator),void 0!==t.nsSeparator&&(this.options.userDefinedNsSeparator=t.nsSeparator);let o=e=>e?"function"==typeof e?new e:e:null;if(!this.options.isClone){let t;this.modules.logger?_.init(o(this.modules.logger),this.options):_.init(null,this.options),this.modules.formatter?t=this.modules.formatter:"undefined"!=typeof Intl&&(t=W);let r=new N(this.options);this.store=new P(this.options.resources,this.options);let n=this.services;n.logger=_,n.resourceStore=this.store,n.languageUtils=r,n.pluralResolver=new z(r,{prepend:this.options.pluralSeparator,compatibilityJSON:this.options.compatibilityJSON,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),t&&(!this.options.interpolation.format||this.options.interpolation.format===a.interpolation.format)&&(n.formatter=o(t),n.formatter.init(n,this.options),this.options.interpolation.format=n.formatter.format.bind(n.formatter)),n.interpolator=new q(this.options),n.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},n.backendConnector=new K(o(this.modules.backend),n.resourceStore,n,this.options),n.backendConnector.on("*",function(t){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];e.emit(t,...n)}),this.modules.languageDetector&&(n.languageDetector=o(this.modules.languageDetector),n.languageDetector.init&&n.languageDetector.init(n,this.options.detection,this.options)),this.modules.i18nFormat&&(n.i18nFormat=o(this.modules.i18nFormat),n.i18nFormat.init&&n.i18nFormat.init(this)),this.translator=new M(this.services,this.options),this.translator.on("*",function(t){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];e.emit(t,...n)}
1),this.modules.external.forEach(e=>{e.init&&e.init(this)})}if(this.format=this.options.interpolation.format,r||(r=Q),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){let e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&"dev"!==e[0]&&(this.options.lng=e[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(t=>{this[t]=function(){return e.store[t](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(t=>{this[t]=function(){return e.store[t](...arguments),e}});let s=i(),l=()=>{let e=(e,t)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),s.resolve(t),r(e,t)};if(this.languages&&"v1"!==this.options.compatibilityAPI&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initImmediate?l():setTimeout(l,0),s}loadResources(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Q,r=t,i=n(e)?e:this.language;if("function"==typeof e&&(r=e),!this.options.resources||this.options.partialBundledLanguages){if(i&&"cimode"===i.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return r();let e=[],t=t=>{t&&"cimode"!==t&&this.services.languageUtils.toResolveHierarchy(t).forEach(t=>{"cimode"!==t&&0>e.indexOf(t)&&e.push(t)})};i?t(i):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(e=>t(e)),this.options.preload&&this.options.preload.forEach(e=>t(e)),this.services.backendConnector.load(e,this.options.ns,e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),r(e)})}else r(null)}reloadResources(e,t,r){let n=i();return"function"==typeof e&&(r=e,e=void 0),"function"==typeof t&&(r=t,t=void 0),e||(e=this.languages),t||(t=this.options.ns),r||(r=Q),this.services.backendConnector.reload(e,t,e=>{n.resolve(),r(e)}),n}use(e){if(!e)throw Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&O.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1))for(let e=0;e<this.languages.length;e++){let t=this.languages[e];if(!(["cimode","dev"].indexOf(t)>-1)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}}changeLanguage(e,t){var r=this;this.isLanguageChangingTo=e;let a=i();this.emit("languageChanging",e);let o=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},s=(e,n)=>{n?(o(n),this.translator.changeLanguage(n),this.isLanguageChangingTo=void 0,this.emit("languageChanged",n),this.logger.log("languageChanged",n)):this.isLanguageChangingTo=void 0,a.resolve(function(){return r.t(...arguments)}),t&&t(e,function(){return r.t(...arguments)})},l=t=>{e||t||!this.services.languageDetector||(t=[]);let r=n(t)?t:this.services.languageUtils.getBestMatchFromCodes(t);r&&(this.language||o(r),this.translator.language||this.translator.changeLanguage(r),this.services.languageDetector&&this.services.languageDetector.cacheUserLanguage&&this.services.languageDetector.cacheUserLanguage(r)),this.loadResources(r,e=>{s(e,r)})};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(l):this.services.languageDetector.detect(l):l(e):l(this.services.languageDetector.detect()),a}getFixedT(e,t,r){var i=this;let a=function(e,t){let n,o;
1if("object"!=typeof t){for(var s=arguments.length,l=Array(s>2?s-2:0),c=2;c<s;c++)l[c-2]=arguments[c];n=i.options.overloadTranslationOptionHandler([e,t].concat(l))}else n={...t};n.lng=n.lng||a.lng,n.lngs=n.lngs||a.lngs,n.ns=n.ns||a.ns,""!==n.keyPrefix&&(n.keyPrefix=n.keyPrefix||r||a.keyPrefix);let u=i.options.keySeparator||".";return o=n.keyPrefix&&Array.isArray(e)?e.map(e=>`${n.keyPrefix}${u}${e}`):n.keyPrefix?`${n.keyPrefix}${u}${e}`:e,i.t(o,n)};return n(e)?a.lng=e:a.lngs=e,a.ns=t,a.keyPrefix=r,a}t(){return this.translator&&this.translator.translate(...arguments)}exists(){return this.translator&&this.translator.exists(...arguments)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;let r=t.lng||this.resolvedLanguage||this.languages[0],n=!!this.options&&this.options.fallbackLng,i=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;let a=(e,t)=>{let r=this.services.backendConnector.state[`${e}|${t}`];return -1===r||0===r||2===r};if(t.precheck){let e=t.precheck(this,a);if(void 0!==e)return e}return!!(this.hasResourceBundle(r,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||a(r,e)&&(!n||a(i,e)))}loadNamespaces(e,t){let r=i();return this.options.ns?(n(e)&&(e=[e]),e.forEach(e=>{0>this.options.ns.indexOf(e)&&this.options.ns.push(e)}),this.loadResources(e=>{r.resolve(),t&&t(e)}),r):(t&&t(),Promise.resolve())}loadLanguages(e,t){let r=i();n(e)&&(e=[e]);let a=this.options.preload||[],o=e.filter(e=>0>a.indexOf(e)&&this.services.languageUtils.isSupportedCode(e));return o.length?(this.options.preload=a.concat(o),this.loadResources(e=>{r.resolve(),t&&t(e)}),r):(t&&t(),Promise.resolve())}dir(e){return(e||(e=this.resolvedLanguage||(this.languages&&this.languages.length>0?this.languages[0]:this.language)),e)?["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf((this.services&&this.services.languageUtils||new N(J())).getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr":"rtl"}static createInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new ee(e,t)}cloneInstance(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Q,r=e.forkResourceStore;r&&delete e.forkResourceStore;let n={...this.options,...e,isClone:!0},i=new ee(n);return(void 0!==e.debug||void 0!==e.prefix)&&(i.logger=i.logger.clone(e)),["store","services","language"].forEach(e=>{i[e]=this[e]}),i.services={...this.services},i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},r&&(i.store=new P(this.store.data,n),i.services.resourceStore=i.store),i.translator=new M(i.services,n),i.translator.on("*",function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];i.emit(e,...r)}),i.init(n,t),i.translator.options=n,i.translator.backendConnector.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},i}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}let et=ee.createInstance();et.createInstance=ee.createInstance,et.createInstance,et.dir,et.init,et.loadResources,et.reloadResources,et.use,et.changeLanguage,et.getFixedT,et.t,et.exists,et.setDefaultNamespace,et.hasLoadedNamespace,et.loadNamespaces,et.loadLanguages},31936:(e,t,r)=>{"use strict";r.d(t,{B:()=>C,F:()=>k});var n=r(55729),i=Object.defineProperty,a=Object.getOwnPropertySymbols,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,l=(e,t,r)=>t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,c=(e,t)=>{for(var r in t||(t={}))o.call(t,r)&&l(e,r,t[r]);if(a)for(var r of a(t))s.call(t,r)&&l(e,r,t[r]);return e},u=(e,t)=>
1{var r={};for(var n in e)o.call(e,n)&&0>t.indexOf(n)&&(r[n]=e[n]);if(null!=e&&a)for(var n of a(e))0>t.indexOf(n)&&s.call(e,n)&&(r[n]=e[n]);return r},d=(e,t)=>{let r="[react-use-intercom]";switch(e){case"info":default:console.log(`${r} ${t}`);break;case"warn":console.warn(`${r} ${t}`);break;case"error":console.error(`${r} ${t}`)}},p="undefined"==typeof window,h=e=>(Object.keys(e).forEach(t=>{e[t]&&"object"==typeof e[t]?h(e[t]):void 0===e[t]&&delete e[t]}),e),f=(e,...t)=>{if(!p&&window.Intercom)return window.Intercom.apply(null,[e,...t]);d("error",`${e} Intercom instance is not initalized yet`)},m=n.createContext(void 0),g=(e,t=0,r)=>{var n=window,i=n.Intercom;if("function"==typeof i)i("reattach_activator"),i("update",n.intercomSettings);else{var a=document,o=function(){o.c(arguments)};o.q=[],o.c=function(e){o.q.push(e)},n.Intercom=o;var s=function(){setTimeout(function(){var t=a.createElement("script");t.type="text/javascript",t.async=!0,r&&(t.nonce=r),t.src="https://widget.intercom.io/widget/"+e;var n=a.getElementsByTagName("script")[0];n.parentNode.insertBefore(t,n)},t)};"complete"===document.readyState?s():n.attachEvent?n.attachEvent("onload",s):n.addEventListener("load",s,!1)}},y=e=>({custom_launcher_selector:e.customLauncherSelector,alignment:e.alignment,vertical_padding:e.verticalPadding,horizontal_padding:e.horizontalPadding,z_index:e.zIndex,hide_default_launcher:e.hideDefaultLauncher,session_duration:e.sessionDuration,action_color:e.actionColor,background_color:e.backgroundColor}),v=e=>c({company_id:e.companyId,name:e.name,created_at:e.createdAt,plan:e.plan,monthly_spend:e.monthlySpend,user_count:e.userCount,size:e.size,website:e.website,industry:e.industry},e.customAttributes),b=e=>({type:e.type,image_url:e.imageUrl}),w=e=>{var t;return c({email:e.email,user_id:e.userId,created_at:e.createdAt,name:e.name,phone:e.phone,last_request_at:e.lastRequestAt,unsubscribed_from_emails:e.unsubscribedFromEmails,language_override:e.languageOverride,utm_campaign:e.utmCampaign,utm_content:e.utmContent,utm_medium:e.utmMedium,utm_source:e.utmSource,utm_term:e.utmTerm,avatar:e.avatar&&b(e.avatar),user_hash:e.userHash,company:e.company&&v(e.company),companies:null==(t=e.companies)?void 0:t.map(v)},e.customAttributes)},x=e=>h(c(c({},y(e)),w(e))),k=e=>{var t=e,{appId:r,autoBoot:i=!1,autoBootProps:a,children:o,onHide:s,onShow:l,onUnreadCountChange:h,onUserEmailSupplied:y,shouldInitialize:v=!p,apiBase:b,initializeDelay:w,cspNonce:k}=t,A=u(t,["appId","autoBoot","autoBootProps","children","onHide","onShow","onUnreadCountChange","onUserEmailSupplied","shouldInitialize","apiBase","initializeDelay","cspNonce"]);let C=n.useRef(!1),S=n.useRef(!1),[E,_]=n.useState(!1),T=Object.keys(A).filter(e=>!e.startsWith("data-"));T.length>0&&d("warn",`some invalid props were passed to IntercomProvider. Please check following props: ${T.join(", ")}.`);let P=n.useCallback(e=>{if(!window.Intercom&&!v)return void d("warn","Intercom instance is not initialized because `shouldInitialize` is set to `false` in `IntercomProvider`");if(C.current)return;f("onHide",()=>{_(!1),null==s||s()}),f("onShow",()=>{_(!0),null==l||l()}),f("onUserEmailSupplied",y),h&&f("onUnreadCountChange",h);let t=c(c({app_id:r},b&&{api_base:b}),e&&x(e));window.intercomSettings=t,f("boot",t),C.current=!0},[b,r,s,l,h,y,v]);p||!v||S.current||(g(r,w,k),i&&P(a),S.current=!0);let O=n.useCallback((e,t)=>window.Intercom||v?C.current?t():void d("warn",`"${e}" was called but Intercom has not booted yet. Please call 'boot' before calling '${e}' or set 'autoBoot' to true in the IntercomProvider.`):void d("warn","Intercom instance is not initialized because `shouldInitialize` is set to `false` in `IntercomProvider`"),[v]),I=n.useCallback(()=>{C.current&&(f("shutdown"),delete window.intercomSettings,C.current=!1)},[]),M=n.useCallback(()=>{C.current&&(f("shutdown"),delete window.Intercom,delete window.intercomSettings,C.current=!1)},[]),L=n.useCallback(()=>{O("update",()=>{f("update",{last_request_at:Math.floor(new Date().getTime()/1e3)})})},[O]),N=n.useCallback(e=>{O("update",()=>{if(!e)return void L();let t=x(e);window.intercomSettings=c(c({},window.intercomSettings),t),f("update",t)})},[O,L]),R=n.useCallback(()=>{O("hide",()=>{f("hide")})},[O]),j=n.useCallback(()=>{O("show",()=>f("show"))},[O]),D=n.useCallback(()=>{O("showMessages",()=>{f("showMessages")})},[O]),F=n.useCallback(e=>{O("showNewMessage",()=>{e?f("showNewMessage",e):f("showNewMessage")})},[O]),V=n.useCallback(()=>O("getVisitorId",()=>f("getVisitorId")),[O]),B=n.useCallback(e=>{O("startTour",()=>{f("startTour",e)})},[O]),z=n.useCallback(e=>{O("startChecklist",()=>{f("startChecklist",e)})},[O]),$=n.useCallback((e,t)=>{O("trackEvent",()=>{t?f("trackEvent",e,t):f("trackEvent",e)})},[O]),U=n.useCallback(e=>O("showArticle",()=>{f("showArticle",e)}),[O]),q=n.useCallback(e=>O("showSpace",()=>{f("showSpace",e)}),[O]),H=n.useCallback(e=>{O("startSurvey",()=>{f("startSurvey",e)})},[O]),Y=n.useCallback(e=>O("showNews",()=>{f("showNews",e)}),[O]),W=n.useCallback(e=>O("showTicket",()=>{f("showTicket",e)}),[O]),G=n.useCallback(e=>O("showConversation",()=>{f("showConversation",e)}),[O]),K=n.useMemo(()=>({boot:P,shutdown:I,hardShutdown:M,update:N,hide:R,show:j,isOpen:E,showMessages:D,showNewMessage:F,getVisitorId:V,startTour:B,startChecklist:z,trackEvent:$,showArticle:U,startSurvey:H,showSpace:q,showNews:Y,showTicket:W,showConversation:G}),[P,I,M,N,R,j,E,D,F,V,B,z,$,U,H,q,Y,W,G]);return n.createElement(m.Provider,{value:K},o)},A=()=>{let e=n.useContext(m);if(void 0===e)throw Error('"useIntercom" must be used within `IntercomProvider`.');return e},C=()=>A()},32351:(e,t)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"errorOnce",{enumerable:!0,get:function(){return r}});let r=e=>{}},32370:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(9027),i="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=i&&"object"==typeof module&&module&&!module.nodeType&&module,o=a&&a.exports===i&&n.A.process;let s=function(){try{var e=a&&a.require&&a.require("util").types;if(e)return e;return o&&o.binding&&o.binding("util")}catch(e){}}()},32464:(e,t,r)=>{"use strict";r.d(t,{A:()=>c});var n=r(55729),i=r(53065),a=r(13934),o=r(6029);function s(e){let{theme:t,...r}=e,n=a.A in t?t[a.A]:void 0;return(0,o.jsx)(i.A,{...r,themeId:n?a.A:void 0,theme:n||t})}var l=r(44044);function c(e){let{theme:t,...r}=e,i=n.useMemo(()=>{if("function"==typeof t)return t;let e=a.A in t?t[a.A]:t;return"colorSchemes"in e?null:"vars"in e?t:{...t,vars:null}},[t]);return i?(0,o.jsx)(s,{theme:i,...r}):(0,o.jsx)(l.Zr,{theme:t,...r})}},32639:(e,t,r)=>{"use strict";r.d(t,{t:()=>n});let n=(0,r(55729).createContext)(null)},32678:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GOOGLE_CONVERSION_API:()=>b,adsConversionTracking:()=>p,default:()=>x,sendGtagEvent:()=>w});var n=r(2406),i=r(76970),a=r(56792);let o="G-4FC327NCFH",s=e=>{let t={purchase:"AW-731954237/pS5tCMmvl6UBEL34gt0C",add_to_cart:"AW-731954237/QL-xCPe1pNUDEL34gt0C",request_trial:"AW-731954237/4SW3CJCU9coBEL34gt0C",receive_trial:"AW-731954237/DC6UCMbw_q0BEL34gt0C",free_download:"AW-731954237/mB_QCPK2gssBEL34gt0C"};if(!t[e])throw Error("No conversion target for ".concat(e));return t[e]},l={sendEvent:e=>{let{name:t,params:r={},onSuccess:n,onFailure:a}=e;try{window.gtag("event",t,{...(0,i.A)(),...r}),"function"==typeof n&&n()}catch(e){"function"==typeof a&&a(e)}}},c={pageView:e=>{window.gtag("event","page_view",{send_to:e})},sendEvent:e=>{let{name:t,params:r,gtagID:n}=e;window.gtag("event",t,{...r,send_to:n})}};function u(e){window.gtag("config",o,{user_id:e||(0,n.lA)()})}function d(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"visit",{productId:r,name:n,publisherName:i,examName:a,salePrice:o,currency:s,copiesSoldTier:c}=e,u="click"===t?"select_item":"view_item";l.sendEvent({name:u,params:{currency:s,copies_sold_tier:c,items:[{google_business_vertical:"custom",item_id:r,item_name:n,item_brand:i,item_category:a,price:o,quantity:1}]}})}function p(e){let{value:t=0,transactionId:r="",currency:n="TWD",monetary:i=!0,items:a,contentId:o,trackingId:s,isThirdParty:u,isCollectionOffer:d}=e;if(!window)return;let p={value:t,currency:i?n:null,transaction_id:r,items:a,contentId:o};"boolean"==typeof d&&(p.is_collection_offer=d),u?c.sendEvent({name:"conversion",params:p,gtagID:s}):l.sendEvent({name:"conversion",params:{...p,send_to:s}})}async function h(e){let{orderId:t,totalPrice:r,currency:n="TWD",lineItems:i,coupon:o,extras:u,thirdPartyTrackingId:d}=e,h={send_to:null!=d?d:void 0,transaction_id:t,value:r,currency:n,shipping:0,items:i.map((e,t)=>({index:t,item_id:e.productId,item_variant:e.variantId,quantity:e.qty,item_name:e.name,price:e.subtotal})),coupon:o,...(0,a.J0)(u)};d?c.sendEvent({name:"purchase",params:h,gtagID:d}):(p({trackingId:s("purchase"),value:r,transactionId:t,items:i,isThirdParty:!1}),l.sendEvent({name:"purchase",params:h}))}function f(){l.sendEvent({name:"begin_checkout"})}function m(e){let{productId:t}=e;p({trackingId:s("receive_trial"),isThirdParty:!1,monetary:!1,transactionId:t,contentId:t}),l.sendEvent({name:"receive_trial",params:{productId:t}})}function g(e){let{productId:t}=e;p({trackingId:s("request_trial"),isThirdParty:!1,monetary:!1,contentId:t}),l.sendEvent({name:"request_trial",params:{productId:t}})}function y(e){let{materialId:t,orderId:r}=e;p({trackingId:s("free_download"),isThirdParty:!1,monetary:!1,transactionId:r,contentId:t}),l.sendEvent({name:"free_download",params:{materialId:t}})}function v(e){let{productId:t}=e;l.sendEvent({name:"shop_detail_page_main_info_show_more",params:{productId:t}})}let b={KEY:"GOOGLE_CONVERSION",VALUES:["gclid","gbraid","wbraid"]},w=l.sendEvent,x={setUser:u,internal:l,external:c,ec:{viewItem:d,purchase:h,requestTrial:g,receiveTrial:m,freeDownload:y,beginCheckout:f,expandShowMore:v}}},32769:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(58309);let i=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],a=(0,n.A)("file-text",i)},32790:(e,t,r)=>{"use strict";r.d(t,{A:()=>p});var n=r(65671),i=r(62494),a=r(87190),o=r(62942),s=r(67118),l=r(28098);function c(...e){let t=new Set(e.reduce((e,t)=>
1e.concat(Object.keys(t)),[]));return e.every(e=>t.size===Object.keys(e).length)}function u(e,t){return"function"==typeof e?e(t):e}let d=function(){function e(e,t,r,i){let s={[e]:t,theme:r},l=i[e];if(!l)return{[e]:t};let{cssProperty:c=e,themeKey:u,transform:d,style:p}=l;if(null==t)return null;if("typography"===u&&"inherit"===t)return{[e]:t};let h=(0,a.Yn)(r,u)||{};if(p)return p(s);let f=t=>{let r=(0,a.BO)(h,d,t);return(t===r&&"string"==typeof t&&(r=(0,a.BO)(h,d,`${e}${"default"===t?"":(0,n.A)(t)}`,t)),!1===c)?r:{[c]:r}};return(0,o.NI)(s,t,f)}function t(r){let{sx:n,theme:a={},nested:d}=r||{};if(!n)return null;let p=a.unstable_sxConfig??l.A;function h(r){let n=r;if("function"==typeof r)n=r(a);else if("object"!=typeof r)return r;if(!n)return null;let l=(0,o.EU)(a.breakpoints),h=Object.keys(l),f=l;return(Object.keys(n).forEach(r=>{let s=u(n[r],a);if(null!=s)if("object"==typeof s)if(p[r])f=(0,i.A)(f,e(r,s,a,p));else{let e=(0,o.NI)({theme:a},s,e=>({[r]:e}));c(e,s)?f[r]=t({sx:s,theme:a,nested:!0}):f=(0,i.A)(f,e)}else f=(0,i.A)(f,e(r,s,a,p))}),!d&&a.modularCssLayers)?{"@layer sx":(0,s._S)(a,(0,o.vf)(h,f))}:(0,s._S)(a,(0,o.vf)(h,f))}return Array.isArray(n)?n.map(h):h(n)}return t}();d.filterProps=["sx"];let p=d},32902:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=e=>[...[...Array(25)].map((t,r)=>"--".concat(e?"".concat(e,"-"):"","overlays-").concat(r)),"--".concat(e?"".concat(e,"-"):"","palette-AppBar-darkBg"),"--".concat(e?"".concat(e,"-"):"","palette-AppBar-darkColor")]},33528:(e,t,r)=>{"use strict";r.d(t,{c:()=>i,q:()=>n});let n=e=>e.scrollTop;function i(e,t){var r,n;let{timeout:i,easing:a,style:o={}}=e;return{duration:null!=(r=o.transitionDuration)?r:"number"==typeof i?i:i[t.mode]||0,easing:null!=(n=o.transitionTimingFunction)?n:"object"==typeof a?a[t.mode]:a,delay:o.transitionDelay}}},33537:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=e=>"".concat("production","-").concat(e)},34093:(e,t,r)=>{"use strict";r.d(t,{_v:()=>o,t:()=>s});var n=r(98986),i=r(31877);let a="true"===r(29143).env.STORYBOOK,o=e=>[e,"crowdin:"+e],s=a?function(){for(var e,t=arguments.length,r=Array(t),a=0;a<t;a++)r[a]=arguments[a];return null===i.Ay||void 0===i.Ay||null==(e=i.Ay.t)?void 0:e.apply(n.Ru,r)}:function(){for(var e,t=arguments.length,r=Array(t),i=0;i<t;i++)r[i]=arguments[i];return null===n.Ru||void 0===n.Ru||null==(e=n.Ru.t)?void 0:e.apply(n.Ru,r)}},34168:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});let n=e=>e,i=(()=>{let e=n;return{configure(t){e=t},generate:t=>e(t),reset(){e=n}}})()},34215:(e,t,r)=>{"use strict";r.d(t,{Rk:()=>i,SF:()=>a,sk:()=>o});var n=!0;function i(e,t,r){var n="";return r.split(" ").forEach(function(r){void 0!==e[r]?t.push(e[r]+";"):r&&(n+=r+" ")}),n}var a=function(e,t,r){var i=e.key+"-"+t.name;(!1===r||!1===n)&&void 0===e.registered[i]&&(e.registered[i]=t.styles)},o=function(e,t,r){a(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do e.insert(t===i?"."+n:"",i,e.sheet,!0),i=i.next;while(void 0!==i)}}},34286:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(58309);let i=[["path",{d:"M18 21a8 8 0 0 0-16 0",key:"3ypg7q"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}],["path",{d:"M22 20c0-3.37-2-6.5-4-8a5 5 0 0 0-.45-8.3",key:"10s06x"}]],a=(0,n.A)("users-round",i)},34416:(e,t,r)=>{"use strict";r.d(t,{n:()=>c});var n=r(2860),i=r(55729),a=r(47126),o=r(15553),s=r(84660);r(14783);var l=r(40545);let c=e=>{let{title:t,style:r,children:c,content:u,defaultOpen:d=!1,className:p,bodyClassName:h,summaryClassName:f,onChange:m,headerRight:g,onSummaryClick:y}=e,[v,b]=(0,i.useState)(d),w=i.useRef(null),x=(0,l.FTe)(m);return(0,i.useEffect)(()=>{var e;d&&w.current&&(w.current.open=!0);let t=new AbortController;return null==(e=w.current)||e.addEventListener("toggle",()=>{var e,t,r;b((null==(e=w.current)?void 0:e.open)||!1),null==(r=x.current)||r.call(x,(null==(t=w.current)?void 0:t.open)||!1)},{signal:t.signal}),()=>{t.abort()}},[]),(0,n.FD)("details",{className:(0,s.Q)("w-full list-none",p),style:r,ref:w,children:[(0,n.FD)("summary",{className:(0,s.Q)("custom-summary flex w-full cursor-pointer items-center justify-between",f),onClick:()=>{var e;null==y||y((null==(e=w.current)?void 0:e.open)||!1)},children:[(0,n.Y)(o.E,{variant:"body_s_500",children:t}),(0,n.FD)("div",{className:"flex items-center gap-2",children:[g,(0,n.Y)(a.I,{type:"keyboard_arrow_up",size:18,style:{transform:v?"none":"rotate(180deg)",transition:"0.15s"}})]})]}),(0,n.Y)("div",{className:(0,s.Q)("max-h-auto mt-2 overflow-visible",h),children:(0,n.FD)("div",{className:"text-grayscale-800 text-sm leading-[175%]",children:[u&&(0,n.Y)("div",{dangerouslySetInnerHTML:{__html:u}}),c]})})]})}},34690:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=function(e){return function(t){return null==t?void 0:t[e]}}},34817:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ErrorModal:()=>d,InfoModal:()=>c,WarningModal:()=>u,WuModal:()=>n.m});var n=r(5712),i=r(2860);r(55729);var a=r(29733),o=r(9428),s=r(47126),l=r(59006);let c=e=>{let{text:t,onCancel:r,onConfirm:c,...u}=e,{t:d}=(0,a.Bd)();return(0,i.Y)(n.m,{hideCloseButton:!0,padding:"1.25rem 1.5rem",mainBlockStyles:{textAlign:"center"},...u,children:(0,i.FD)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"column",gap:"0.75rem"},children:[(0,i.Y)("header",{style:{width:"100%"},children:(0,i.Y)(s.I,{type:"info",size:60,style:{color:o.A.color.palette["grayscale-300"],margin:"0 auto"}})}),(0,i.Y)("p",{style:{margin:0,padding:0,fontSize:"1.25rem",fontWeight:"bold",letterSpacing:"0.125rem",color:"#383b3d"},children:t}),(0,i.FD)("footer",{style:{width:"100%"},children:[r&&(0,i.Y)(l.ZD,{onClick:r,children:d("crowdin:common.cancel")}),c&&(0,i.Y)(l.pT,{onClick:c,children:d("crowdin:common.confirm")})]})]})})},u=e=>{let{text:t,onCancel:r,onConfirm:c,...u}=e,{t:d}=(0,a.Bd)();return(0,i.Y)(n.m,{hideCloseButton:!0,padding:"1.25rem 1.5rem",mainBlockStyles:{textAlign:"center"},...u,children:(0,i.FD)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"column",gap:"0.75rem"},children:[(0,i.Y)("header",{style:{width:"100%"},children:(0,i.Y)(s.I,{type:"warning",size:60,style:{color:o.A.color.palette["yellow-500"],margin:"0 auto"}})}),(0,i.Y)("p",{style:{margin:0,padding:0,fontSize:"1.25rem",fontWeight:"bold",letterSpacing:"0.125rem",color:"#383b3d"},children:t}),(0,i.FD)("footer",{style:{width:"100%"},children:[r&&(0,i.Y)(l.ZD,{onClick:r,children:d("crowdin:common.cancel")}),c&&(0,i.Y)(l.pT,{onClick:c,children:d("crowdin:common.confirm")})]})]})})},d=e=>{let{text:t,onCancel:r,onConfirm:c,...u}=e,{t:d}=(0,a.Bd)();return(0,i.Y)(n.m,{hideCloseButton:!0,padding:"1.25rem 1.5rem",mainBlockStyles:{textAlign:"center"},...u,children:(0,i.FD)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"column",gap:"0.75rem"},children:[(0,i.Y)("header",{style:{width:"100%"},children:(0,i.Y)(s.I,{type:"dangerous",size:60,style:{color:o.A.color.palette["peach-500"],margin:"0 auto"}})}),(0,i.Y)("p",{style:{margin:0,padding:0,fontSize:"1.25rem",fontWeight:"bold",letterSpacing:"0.125rem",color:"#383b3d"},children:t}),(0,i.FD)("footer",{style:{width:"100%"},children:[r&&(0,i.Y)(l.ZD,{onClick:r,children:d("crowdin:common.cancel")}),c&&(0,i.Y)(l.pT,{onClick:c,children:d("crowdin:common.confirm")})]})]})})}},35015:(e,t,r)=>{"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=i(r(55328));function i(e){return e&&e.__esModule?e:{default:e}}t.default={APPLE_SCRIPT_SRC:"https://appleid.cdn-apple.com/appleauth/static/jsapi/appleid/1/en_US/appleid.auth.js",signIn:function(e){var t=e.authOptions,r=e.onSuccess,i=e.onError;return(0,n.default)("AppleID").then(function(){return window.AppleID||console.error(Error("Error loading apple script")),window.AppleID.auth.init(t),window.AppleID.auth.signIn().then(function(e){return r&&r(e),e}).catch(function(e){return i?i(e):console.error(e),null})}).catch(function(e){return i?i(e):console.error(e),null})}}},35026:(e,t,r)=>{"use strict";r.d(t,{A:()=>s,Q:()=>a});var n=r(55729),i=r(55572);function a(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function o(e){if(n.isValidElement(e)||(0,i.Hy)(e)||!a(e))return e;let t={};return Object.keys(e).forEach(r=>{t[r]=o(e[r])}),t}function s(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{clone:!0},l=r.clone?{...e}:e;return a(e)&&a(t)&&Object.keys(t).forEach(c=>{n.isValidElement(t[c])||(0,i.Hy)(t[c])?l[c]=t[c]:a(t[c])&&Object.prototype.hasOwnProperty.call(e,c)&&a(e[c])?l[c]=s(e[c],t[c],r):r.clone?l[c]=a(t[c])?o(t[c]):t[c]:l[c]=t[c]}),l}},35457:(e,t,r)=>{"use strict";r.d(t,{GA:()=>s,e3:()=>o,iC:()=>a,my:()=>i,u0:()=>l});var n=r(53186);let i=(0,n.eU)(null),a=(0,n.eU)(null),o=(0,n.eU)(e=>{let t=e(i),r=e(a);return null===t&&null===r}),s=(0,n.eU)(e=>{let t=e(i);return t?Object.entries(t).reduce((e,t)=>{let[r,n]=t;return e[r]=Object.fromEntries(Object.entries(n).map(e=>{let[t,r]=e;return[t,Number(r)]})),e},{}):{}}),l=(0,n.eU)(e=>Object.entries(e(s)).reduce((e,t)=>{let[r,n]=t,i=Object.values(n);return i.length>0&&(e[r]=Math.min(...i)),e},{}))},35500:(e,t,r)=>{"use strict";function n(e){try{return e.matches(":focus-visible")}catch(e){}return!1}r.d(t,{A:()=>n})},36027:(e,t,r)=>{"use strict";r.d(t,{L:()=>n});let n=(0,r(55729).createContext)({})},36690:(e,t,r)=>{"use strict";r.d(t,{A:()=>l}),r(55729);var n=r(23070),i=r(95785),a=r(68076),o=r(6029);function s(e){let t=(0,n.tT)(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}let l=function({styles:e,themeId:t,defaultTheme:r={}}){let n=(0,a.A)(r),l=t&&n[t]||n,c="function"==typeof e?e(l):e;return l.modularCssLayers&&(c=Array.isArray(c)?c.map(e=>"function"==typeof e?s(e(l)):s(e)):s(c)),(0,o.jsx)(i.A,{styles:c})}},37674:(e,t,r)=>{"use strict";r.d(t,{A:()=>p});var n=r(2860),i=r(8801),a=r.n(i),o=r(59928),s=r.n(o),l=r(39162),c=r(47126);let u=a()(s()),d=e=>{switch(e){case"success":return(0,n.Y)(c.I,{type:"check_circle",style:{color:l.GU["green-500"]},size:60});case"warning":return(0,n.Y)(c.I,{type:"emergency_home",style:{color:l.GU["yellow-500"]},size:60});case"error":return(0,n.Y)(c.I,{type:"dangerous",style:{color:l.GU["peach-500"]},size:60});case"info":return(0,n.Y)(c.I,{type:"info",style:{color:l.GU["primary-500"]},size:60});default:return}},p={...u,close:u.close,fire:async e=>u.fire({...e,cancelButtonColor:e.cancelButtonColor?l.GU[e.cancelButtonColor]:l.GU["grayscale-300"],confirmButtonColor:e.confirmButtonColor?l.GU[e.confirmButtonColor]:l.GU["primary-500"],iconHtml:e.icon?d(e.icon):void 0,customClass:"string"==typeof e.customClass?e.customClass:Object.entries(e.customClass||{}).reduce((e,t)=>{let[r,n]=t;return e[r]&&n&&(e[r]=[...e[r],..."string"==typeof n?(null==n?void 0:n.split(" "))||[]:n]),e},{...e.customClass,icon:["popup_confirmation_icon"],popup:["popup_confirmation_popup"],container:["popup_confirmation_container"],htmlContainer:["popup_confirmation_html_container"],title:["popup_confirmation_title"],actions:["popup_confirmation_actions"],confirmButton:["popup_confirmation_confirm_button"],cancelButton:["popup_confirmation_cancel_button"]})})}},37784:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=r(55729).createContext({})},37934:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(58309);let i=[["path",{d:"M7 10v12",key:"1qc93n"}],["path",{d:"M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88Z",key:"emmmcr"}]],a=(0,n.A)("thumbs-up",i)},38260:(e,t,r)=>{"use strict";function n(e){for(var t,r=0,n=0,i=e.length;i>=4;++n,i-=4)t=(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))*0x5bd1e995+((t>>>16)*59797<<16),t^=t>>>24,r=(65535&t)*0x5bd1e995+((t>>>16)*59797<<16)^(65535&r)*0x5bd1e995+((r>>>16)*59797<<16);switch(i){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r^=255&e.charCodeAt(n),r=(65535&r)*0x5bd1e995+((r>>>16)*59797<<16)}return r^=r>>>13,(((r=(65535&r)*0x5bd1e995+((r>>>16)*59797<<16))^r>>>15)>>>0).toString(36)}r.d(t,{J:()=>v});var i,a={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGr
1idRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},o=r(15800),s=!1,l=/[A-Z]|^ms/g,c=/_EMO_([^_]+?)_([^]*?)_EMO_/g,u=function(e){return 45===e.charCodeAt(1)},d=function(e){return null!=e&&"boolean"!=typeof e},p=(0,o.A)(function(e){return u(e)?e:e.replace(l,"-$&").toLowerCase()}),h=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(c,function(e,t,r){return i={name:t,styles:r,next:i},t})}return 1===a[e]||u(e)||"number"!=typeof t||0===t?t:t+"px"},f="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function m(e,t,r){if(null==r)return"";var n=r;if(void 0!==n.__emotion_styles)return n;switch(typeof r){case"boolean":return"";case"object":var a=r;if(1===a.anim)return i={name:a.name,styles:a.styles,next:i},a.name;var o=r;if(void 0!==o.styles){var s=o.next;if(void 0!==s)for(;void 0!==s;)i={name:s.name,styles:s.styles,next:i},s=s.next;return o.styles+";"}return g(e,t,r);case"function":if(void 0!==e){var l=i,c=r(e);return i=l,m(e,t,c)}}var u=r;if(null==t)return u;var d=t[u];return void 0!==d?d:u}function g(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=m(e,t,r[i])+";";else for(var a in r){var o=r[a];if("object"!=typeof o){var l=o;null!=t&&void 0!==t[l]?n+=a+"{"+t[l]+"}":d(l)&&(n+=p(a)+":"+h(a,l)+";")}else{if("NO_COMPONENT_SELECTOR"===a&&s)throw Error(f);if(Array.isArray(o)&&"string"==typeof o[0]&&(null==t||void 0===t[o[0]]))for(var c=0;c<o.length;c++)d(o[c])&&(n+=p(a)+":"+h(a,o[c])+";");else{var u=m(e,t,o);switch(a){case"animation":case"animationName":n+=p(a)+":"+u+";";break;default:n+=a+"{"+u+"}"}}}}return n}var y=/label:\s*([^\s;{]+)\s*(;|$)/g;function v(e,t,r){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var a,o=!0,s="";i=void 0;var l=e[0];null==l||void 0===l.raw?(o=!1,s+=m(r,t,l)):s+=l[0];for(var c=1;c<e.length;c++)s+=m(r,t,e[c]),o&&(s+=l[c]);y.lastIndex=0;for(var u="";null!==(a=y.exec(s));)u+="-"+a[1];return{name:n(s)+u,styles:s,next:i}}},38287:(e,t,r)=>{"use strict";let n=r(52178),i=/^[\da-fA-F]+$/,a=/^\d+$/,o=new WeakMap;function s(e){e=e.Parser.acorn||e;let t=o.get(e);if(!t){let r=e.tokTypes,n=e.TokContext,i=e.TokenType,a=new n("<tag",!1),s=new n("</tag",!1),l=new n("<tag>...</tag>",!0,!0),c={tc_oTag:a,tc_cTag:s,tc_expr:l},u={jsxName:new i("jsxName"),jsxText:new i("jsxText",{beforeExpr:!0}),jsxTagStart:new i("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new i("jsxTagEnd")};u.jsxTagStart.updateContext=function(){this.context.push(l),this.context.push(a),this.exprAllowed=!1},u.jsxTagEnd.updateContext=function(e){let t=this.context.pop();t===a&&e===r.slash||t===s?(this.context.pop(),this.exprAllowed=this.curContext()===l):this.exprAllowed=!0},t={tokContexts:c,tokTypes:u},o.set(e,t)}return t}function l(e){return e?"JSXIdentifier"===e.type?e.name:"JSXNamespacedName"===e.type?e.namespace.name+":"+e.name.name:"JSXMemberExpression"===e.type?l(e.object)+"."+l(e.property):void 0:e}function c(e,t){let o=t.acorn||r(97231),c=s(o),u=o.tokTypes,d=c.tokTypes,p=o.tokContexts,h=c.tokContexts.tc_oTag,f=c.tokContexts.tc_cTag,m=c.tokContexts.tc_expr,g=o.isNewLine,y=o.isIdentifierStart,v=o.isIdentifierChar;return class extends t{static get acornJsx(){return c}jsx_readToken(){let e="",t=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");let r=this.input.charCodeAt(this.pos);switch(r){case 60:case 123:if(this.pos===this.start){if(60===r&&this.exprAllowed)return++this.pos,this.finishToken(d.jsxTagStart);return this.getTokenFromCode(r)}return e+=this.input.slice(t,this.pos),this.finishToken(d.jsxText,e);case 38:e+=this.input.slice(t,this.pos),e+=this.jsx_readEntity(),t=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(62===r?">":"}")+'` or `{"'+this.input[this.pos]+'"}`?');default:g(r)?(e+=this.input.slice(t,this.pos),e+=this.jsx_readNewLine(!0),t=this.pos):++this.pos}}}jsx_readNewLine(e){let t,r=this.input.charCodeAt(this.pos);return++this.pos,13===r&&10===this.input.charCodeAt(this.pos)?(++this.pos,t=e?"\n":"\r\n"):t=String.fromCharCode(r),this.options.locations&&(++this.curLine,this.lineStart=this.pos),t}jsx_readString(e){let t="",r=++this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");let n=this.input.charCodeAt(this.pos);if(n===e)break;38===n?(t+=this.input.slice(r,this.pos),t+=this.jsx_readEntity(),r=this.pos):g(n)?(t+=this.input.slice(r,this.pos),t+=this.jsx_readNewLine(!1),r=this.pos):++this.pos}return t+=this.input.slice(r,this.pos++),this.finishToken(u.string,t)}jsx_readEntity(){let e="",t=0,r,o=this.input[this.pos];"&"!==o&&this.raise(this.pos,"Entity must start with an ampersand");let s=++this.pos;for(;this.pos<this.input.length&&t++<10;){if(";"===(o=this.input[this.pos++])){"#"===e[0]?"x"===e[1]?(e=e.substr(2),i.test(e)&&(r=String.fromCharCode(parseInt(e,16)))):(e=e.substr(1),a.test(e)&&(r=String.fromCharCode(parseInt(e,10)))):r=n[e];break}e+=o}return r||(this.pos=s,"&")}jsx_readWord(){let e,t=this.pos;do e=this.input.charCodeAt(++this.pos);while(v(e)||45===e);return this.finishToken(d.jsxName,this.input.slice(t,this.pos))}jsx_parseIdentifier(){let e=this.startNode();return this.type===d.jsxName?e.name=this.value:this.type.keyword?e.name=this.type.keyword:this.unexpected(),this.next(),this.finishNode(e,"JSXIdentifier")}jsx_parseNamespacedName(){let t=this.start,r=this.startLoc,n=this.jsx_parseIdentifier();if(!e.allowNamespaces||!this.eat(u.colon))return n;var i=this.startNodeAt(t,r);return i.namespace=n,i.name=this.jsx_parseIdentifier(),this.finishNode(i,"JSXNamespacedName")}
1jsx_parseElementName(){if(this.type===d.jsxTagEnd)return"";let t=this.start,r=this.startLoc,n=this.jsx_parseNamespacedName();for(this.type!==u.dot||"JSXNamespacedName"!==n.type||e.allowNamespacedObjects||this.unexpected();this.eat(u.dot);){let e=this.startNodeAt(t,r);e.object=n,e.property=this.jsx_parseIdentifier(),n=this.finishNode(e,"JSXMemberExpression")}return n}jsx_parseAttributeValue(){switch(this.type){case u.braceL:let e=this.jsx_parseExpressionContainer();return"JSXEmptyExpression"===e.expression.type&&this.raise(e.start,"JSX attributes must only be assigned a non-empty expression"),e;case d.jsxTagStart:case u.string:return this.parseExprAtom();default:this.raise(this.start,"JSX value should be either an expression or a quoted JSX text")}}jsx_parseEmptyExpression(){let e=this.startNodeAt(this.lastTokEnd,this.lastTokEndLoc);return this.finishNodeAt(e,"JSXEmptyExpression",this.start,this.startLoc)}jsx_parseExpressionContainer(){let e=this.startNode();return this.next(),e.expression=this.type===u.braceR?this.jsx_parseEmptyExpression():this.parseExpression(),this.expect(u.braceR),this.finishNode(e,"JSXExpressionContainer")}jsx_parseAttribute(){let e=this.startNode();return this.eat(u.braceL)?(this.expect(u.ellipsis),e.argument=this.parseMaybeAssign(),this.expect(u.braceR),this.finishNode(e,"JSXSpreadAttribute")):(e.name=this.jsx_parseNamespacedName(),e.value=this.eat(u.eq)?this.jsx_parseAttributeValue():null,this.finishNode(e,"JSXAttribute"))}jsx_parseOpeningElementAt(e,t){let r=this.startNodeAt(e,t);r.attributes=[];let n=this.jsx_parseElementName();for(n&&(r.name=n);this.type!==u.slash&&this.type!==d.jsxTagEnd;)r.attributes.push(this.jsx_parseAttribute());return r.selfClosing=this.eat(u.slash),this.expect(d.jsxTagEnd),this.finishNode(r,n?"JSXOpeningElement":"JSXOpeningFragment")}jsx_parseClosingElementAt(e,t){let r=this.startNodeAt(e,t),n=this.jsx_parseElementName();return n&&(r.name=n),this.expect(d.jsxTagEnd),this.finishNode(r,n?"JSXClosingElement":"JSXClosingFragment")}jsx_parseElementAt(e,t){let r=this.startNodeAt(e,t),n=[],i=this.jsx_parseOpeningElementAt(e,t),a=null;if(!i.selfClosing){e:for(;;)switch(this.type){case d.jsxTagStart:if(e=this.start,t=this.startLoc,this.next(),this.eat(u.slash)){a=this.jsx_parseClosingElementAt(e,t);break e}n.push(this.jsx_parseElementAt(e,t));break;case d.jsxText:n.push(this.parseExprAtom());break;case u.braceL:n.push(this.jsx_parseExpressionContainer());break;default:this.unexpected()}l(a.name)!==l(i.name)&&this.raise(a.start,"Expected corresponding JSX closing tag for <"+l(i.name)+">")}let o=i.name?"Element":"Fragment";return r["opening"+o]=i,r["closing"+o]=a,r.children=n,this.type===u.relational&&"<"===this.value&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(r,"JSX"+o)}jsx_parseText(){let e=this.parseLiteral(this.value);return e.type="JSXText",e}jsx_parseElement(){let e=this.start,t=this.startLoc;return this.next(),this.jsx_parseElementAt(e,t)}parseExprAtom(e){return this.type===d.jsxText?this.jsx_parseText():this.type===d.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(e)}readToken(e){let t=this.curContext();if(t===m)return this.jsx_readToken();if(t===h||t===f){if(y(e))return this.jsx_readWord();if(62==e)return++this.pos,this.finishToken(d.jsxTagEnd);if((34===e||39===e)&&t==h)return this.jsx_readString(e)}return 60===e&&this.exprAllowed&&33!==this.input.charCodeAt(this.pos+1)?(++this.pos,this.finishToken(d.jsxTagStart)):super.readToken(e)}updateContext(e){if(this.type==u.braceL){var t=this.curContext();t==h?this.context.push(p.b_expr):t==m?this.context.push(p.b_tmpl):super.updateContext(e),this.exprAllowed=!0}else{if(this.type!==u.slash||e!==d.jsxTagStart)return super.updateContext(e);this.context.length-=2,this.context.push(f),this.exprAllowed=!1}}}}e.exports=function(e){return e=e||{},function(t){return c({allowNamespaces:!1!==e.allowNamespaces,allowNamespacedObjects:!!e.allowNamespacedObjects},t)}},Object.defineProperty(e.exports,"tokTypes",{get:function(){return s(r(97231)).tokTypes},configurable:!0,enumerable:!0})},38510:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(58309);let i=[["path",{d:"M15 21v-5a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v5",key:"slp6dd"}],["path",{d:"M17.774 10.31a1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.451 0 1.12 1.12 0 0 0-1.548 0 2.5 2.5 0 0 1-3.452 0 1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.77-3.248l2.889-4.184A2 2 0 0 1 7 2h10a2 2 0 0 1 1.653.873l2.895 4.192a2.5 2.5 0 0 1-3.774 3.244",key:"o0xfot"}],["path",{d:"M4 10.95V19a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8.05",key:"wn3emo"}]],a=(0,n.A)("store",i)},38676:(e,t,r)=>{"use strict";r.r(t),r.d(t,{snakeCase:()=>u});var n=function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};Object.create;function i(e){return e.toLowerCase()}Object.create,"function"==typeof SuppressedError&&SuppressedError;var a=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],o=/[^A-Z0-9]+/gi;function s(e,t){void 0===t&&(t={});for(var r=t.splitRegexp,n=void 0===r?a:r,s=t.stripRegexp,c=void 0===s?o:s,u=t.transform,d=void 0===u?i:u,p=t.delimiter,h=void 0===p?" ":p,f=l(l(e,n,"$1\0$2"),c,"\0"),m=0,g=f.length;"\0"===f.charAt(m);)m++;for(;"\0"===f.charAt(g-1);)g--;return f.slice(m,g).split("\0").map(d).join(h)}function l(e,t,r){return t instanceof RegExp?e.replace(t,r):t.reduce(function(e,t){return e.replace(t,r)},e)}function c(e,t){return void 0===t&&(t={}),s(e,n({delimiter:"."},t))}function u(e,t){return void 0===t&&(t={}),c(e,n({delimiter:"_"},t))}},38822:e=>{e.exports=function(e){return null==e}},38985:(e,t,r)=>{"use strict";
1function n(e,t){return(n=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e})(e,t)}function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,n(e,t)}r.d(t,{A:()=>i})},39162:(e,t,r)=>{"use strict";r.d(t,{GU:()=>a});let n={grey:{white:{hex:"#FFFFFF",rgb:[255,255,255],alpha:1},50:{hex:"#EFF0F0",rgb:[239,240,240],alpha:1},100:{hex:"#E0E0E0",rgb:[224,224,224],alpha:1},200:{hex:"#B7B9BB",rgb:[183,185,187],alpha:1},300:{hex:"#96989C",rgb:[150,152,156],alpha:1},400:{hex:"#828589",rgb:[130,133,137],alpha:1},500:{hex:"#63666B",rgb:[99,102,107],alpha:1},600:{hex:"#5A5D61",rgb:[90,93,97],alpha:1},700:{hex:"#46484C",rgb:[70,72,76],alpha:1},800:{hex:"#36383B",rgb:[54,56,59],alpha:1},900:{hex:"#0E131B",rgb:[14,19,27],alpha:1},black:{hex:"#000000",rgb:[0,0,0],alpha:1},alpha5:{hex:"#000000",rgb:[0,0,0],alpha:.05},alpha15:{hex:"#000000",rgb:[0,0,0],alpha:.15},alpha55:{hex:"#000000",rgb:[0,0,0],alpha:.55}},blue:{50:{hex:"#E6EBF8",rgb:[230,235,248],alpha:1},100:{hex:"#B0C0EA",rgb:[176,192,234],alpha:1},200:{hex:"#8AA1E0",rgb:[138,161,224],alpha:1},300:{hex:"#5476D1",rgb:[84,118,209],alpha:1},400:{hex:"#335CC9",rgb:[51,92,201],alpha:1},500:{hex:"#0033BB",rgb:[0,51,187],alpha:1},600:{hex:"#002EAA",rgb:[0,46,170],alpha:1},700:{hex:"#002485",rgb:[0,36,133],alpha:1},800:{hex:"#001C67",rgb:[0,28,103],alpha:1},900:{hex:"#00154F",rgb:[0,21,79],alpha:1},alpha10:{hex:"#0033BB",rgb:[0,51,187],alpha:.1},alpha20:{hex:"#0033BB",rgb:[0,51,187],alpha:.2}},orange:{50:{hex:"#FDECE6",rgb:[253,236,230],alpha:1},100:{hex:"#FAC5B2",rgb:[250,197,178],alpha:1},200:{hex:"#F8A98C",rgb:[248,169,140],alpha:1},300:{hex:"#F48258",rgb:[244,130,88],alpha:1},400:{hex:"#F26938",rgb:[242,105,56],alpha:1},500:{hex:"#EF4406",rgb:[239,68,6],alpha:1},600:{hex:"#D93E05",rgb:[217,62,5],alpha:1},700:{hex:"#AA3004",rgb:[170,48,4],alpha:1},800:{hex:"#832503",rgb:[131,37,3],alpha:1},900:{hex:"#641D03",rgb:[100,29,3],alpha:1},alpha10:{hex:"#F26938",rgb:[242,105,56],alpha:.1},alpha20:{hex:"#F26938",rgb:[242,105,56],alpha:.2}},yellow:{50:{hex:"#FEF8E7",rgb:[254,248,231],alpha:1},100:{hex:"#FDE9B5",rgb:[253,233,181],alpha:1},200:{hex:"#FCDE92",rgb:[252,222,146],alpha:1},300:{hex:"#FBCF60",rgb:[251,207,96],alpha:1},400:{hex:"#FAC541",rgb:[250,197,65],alpha:1},500:{hex:"#F9B711",rgb:[249,183,17],alpha:1}
1,600:{hex:"#E3A70F",rgb:[227,167,15],alpha:1},700:{hex:"#B1820C",rgb:[177,130,12],alpha:1},800:{hex:"#896509",rgb:[137,101,9],alpha:1},900:{hex:"#694D07",rgb:[105,77,7],alpha:1}},green:{50:{hex:"#E8F9F1",rgb:[232,249,241],alpha:1},100:{hex:"#B7ECD3",rgb:[183,236,211],alpha:1},200:{hex:"#94E2BE",rgb:[148,226,190],alpha:1},300:{hex:"#63D5A1",rgb:[99,213,161],alpha:1},400:{hex:"#45CD8E",rgb:[69,205,142],alpha:1},500:{hex:"#16C172",rgb:[22,193,114],alpha:1},600:{hex:"#14B068",rgb:[20,176,104],alpha:1},700:{hex:"#108951",rgb:[16,137,81],alpha:1},800:{hex:"#0C6A3F",rgb:[12,106,63],alpha:1},900:{hex:"#095130",rgb:[9,81,48],alpha:1},alpha10:{hex:"#16C172",rgb:[22,193,114],alpha:.1},alpha20:{hex:"#16C172",rgb:[22,193,114],alpha:.2}}},i={"kiao-blue-50":n.blue[50].hex,"kiao-blue-100":n.blue[100].hex,"kiao-blue-200":n.blue[200].hex,"kiao-blue-300":n.blue[300].hex,"kiao-blue-400":n.blue[400].hex,"kiao-blue-500":n.blue[500].hex,"kiao-blue-600":n.blue[600].hex,"kiao-blue-700":n.blue[700].hex,"kiao-blue-800":n.blue[800].hex,"kiao-blue-900":n.blue[900].hex,"kiao-blue-950":"#00081C","kiao-blue-dark-50":n.blue[900].hex,"kiao-blue-dark-100":n.blue[800].hex,"kiao-blue-dark-200":n.blue[700].hex,"kiao-blue-dark-300":n.blue[600].hex,"kiao-blue-dark-400":n.blue[500].hex,"kiao-blue-dark-500":n.blue[400].hex,"kiao-blue-dark-600":n.blue[300].hex,"kiao-blue-dark-700":n.blue[200].hex,"kiao-blue-dark-800":n.blue[100].hex,"kiao-blue-dark-900":n.blue[50].hex,"kiao-blue-dark-950":"#E0E8FF","kiao-yellow-50":n.yellow[50].hex,"kiao-yellow-100":n.yellow[100].hex,"kiao-yellow-200":n.yellow[200].hex,"kiao-yellow-300":n.yellow[300].hex,"kiao-yellow-400":n.yellow[400].hex,"kiao-yellow-500":n.yellow[500].hex,"kiao-yellow-600":n.yellow[600].hex,"kiao-yellow-700":n.yellow[700].hex,"kiao-yellow-800":n.yellow[800].hex,"kiao-yellow-900":n.yellow[900].hex,"kiao-yellow-950":"#262200","grayscale-white":n.grey.white.hex,"grayscale-50":n.grey[50].hex,"grayscale-100":n.grey[100].hex,"grayscale-200":n.grey[200].hex,"grayscale-300":n.grey[300].hex,"grayscale-400":n.grey[400].hex,"grayscale-500":n.grey[500].hex,"grayscale-600":n.grey[600].hex,"grayscale-700":n.grey[700].hex,"grayscale-800":n.grey[800].hex,"grayscale-900":n.grey[900].hex,"grayscale-950":"#131414","grayscale-black":n.grey.black.hex,"green-50":n.green[50].hex,"green-100":n.green[100].hex,"green-200":n.green[200].hex,"green-300":n.green[300].hex,"green-400":n.green[400].hex,"green-500":n.green[500].hex,"green-600":n.green[600].hex,"green-700":n.green[700].hex,"green-800":n.green[800].hex,"green-900":n.green[900].hex,"green-950":"#021109","peach-50":n.orange[50].hex,"peach-100":n.orange[100].hex,"peach-200":n.orange[200].hex,"peach-300":n.orange[300].hex,"peach-400":n.orange[400].hex,"peach-500":n.orange[500].hex,"peach-600":n.orange[600].hex,"peach-700":n.orange[700].hex,"peach-800":n.orange[800].hex,"peach-900":n.orange[900].hex,"peach-950":"#260E09","aqua-50":"#E1F6FC","aqua-100":"#BEEBF8","aqua-200":"#9CE1F4","aqua-300":"#7AD7F0","aqua-400":"#57CCEC","aqua-500":"#35C2E8","aqua-600":"#2CA1C1","aqua-700":"#238099","aqua-800":"#1A5F72","aqua-900":"#113E4A","aqua-950":"#081D23","purple-50":"#F7EEFF","purple-100":"#EDDBFF","purple-200":"#E4C9FF","purple-300":"#DBB6FF","purple-400":"#D1A3FF","purple-500":"#C890FF","purple-600":"#A678D4","purple-700":"#845FA8","purple-800":"#62477D","purple-900":"#402E52","purple-950":"#1E1626","coral-50":"#FEEAE9","coral-100":"#FDD2D1","coral-200":"#FCBAB8","coral-300":"#FAA39F","coral-400":"#F98B87","coral-500":"#F8736E","coral-600":"#CE5F5B","coral-700":"#A44C49","coral-800":"#7A3836","coral-900":"#4F2523","coral-950":"#251111","canvas-light":"#FAFBFE","canvas-dark":"#151717","wu-blue-100":"#E2F2FF","wu-blue-200":"#C6E6FF","wu-blue-300":"#ABD6FF","wu-blue-400":"#94C7FE","wu-blue-500":"#72AFFF","wu-blue-600":"#5488DB","wu-blue-700":"#3A64B8","wu-blue-800":"#244594","wu-blue-900":"#152F79"},a={...i,"grayscale-000":i["grayscale-white"],"grayscale-1000":i["canvas-dark"],"grayscale-1100":i["canvas-dark"],"background-light":i["canvas-light"],"background-dark":i["canvas-dark"],white:i["grayscale-white"],black:i["grayscale-black"],"focused-primary":"#d9e0f5cc","primary-100":i["kiao-blue-50"],"primary-200":i["kiao-blue-200"],"primary-300":i["kiao-blue-300"],"primary-400":i["kiao-blue-400"],"primary-500":i["kiao-blue-500"],"primary-600":i["kiao-blue-600"],"primary-700":i["kiao-blue-700"],"primary-800":i["kiao-blue-800"],"primary-900":i["kiao-blue-900"],"yellow-100":i["kiao-yellow-50"],"yellow-300":i["kiao-yellow-300"],"yellow-500":i["kiao-yellow-500"],"yellow-700":i["kiao-yellow-700"],"yellow-900":i["kiao-yellow-900"],"bottom-sheet-backdrop":"#151717","content-primary":"var(--color-content-primary)","content-secondary":"var(--color-content-secondary)","content-on-color":"var(--color-content-on-color)","content-on-yellow":"var(--color-content-on-yellow)","content-placeholder":"var(--color-content-placeholder)","content-brand":"var(--color-content-brand)","content-accent":"var(--color-content-accent)","content-accent-strong":"var(--color-content-accent-strong)","content-positive":"var(--color-content-positive)","content-negative":"var(--color-content-negative)","content-warning":"var(--color-content-warning)","content-disabled":"var(--color-content-disabled)","background-primary":"var(--color-background-primary)","background-secondary":"var(--color-background-secondary)","background-inverse-primary":"var(--color-background-inverse-primary)","background-inverse-secondary":"var(--color-background-inverse-secondary)","background-brand":"var(--color-background-brand)","background-brand-light":"var(--color-background-brand-light)","background-accent":"var(--color-background-accent)","background-accent-strong":"var(--color-background-accent-strong)","background-accent-light":"var(--color-background-accent-light)","background-positive":"var(--color-background-positive)","background-positive-light":"var(--color-background-positive-light)","background-negative":"var(--color-background-negative)","background-negative-light":"var(--color-background-negative-light)","background-warning":"var(--color-background-warning)","background-warning-light":"var(--color-background-warning-light)","background-disabled":"var(--color-background-disabled)","diver-subtle":"var(--color-diver-subtle)","border-primary":"var(--color-border-primary)","border-secondary":"var(--color-border-secondary)","border-subtle":"var(--color-border-subtle)","border-on-color":"var(--color-border-on-color)","border-brand":"var(--color-border-brand)","border-accent":"var(--color-border-accent)","border-accent-strong":"var(--color-border-accent-strong)","border-positive":"var(--color-border-positive)","border-negative":"var(--color-border-negative)","border-warning":"var(--color-border-warning)","border-disabled":"var(--color-border-disabled)","border-hover":"var(--color-border-hover)","overlay-screen":"var(--color-overlay-screen)","overlay-neutral-hover":"var(--color-overlay-neutral-hover)","overlay-neutral-pressed":"var(--color-overlay-neutral-pressed)","overlay-brand-hover":"var(--color-overlay-brand-hover)","overlay-brand-pressed":"var(--color-overlay-brand-pressed)","overlay-accent-hover":"var(--color-overlay-accent-hover)","overlay-accent-pressed":"var(--color-overlay-accent-pressed)","overlay-negative-hover":"var(--color-overlay-negative-hover)","overlay-negative-pressed":"var(--color-overlay-negative-pressed)","overlay-positive-hover":"var(--color-overlay-positive-hover)","overlay-positive-pressed":"var(--color-overlay-positive-pressed)","fixed-content-primary":"var(--color-fixed-content-primary)","fixed-content-secondary":"var(--color-fixed-content-secondary)","fixed-content-inverse":"var(--color-fixed-content-inverse)","fixed-content-brand":"var(--color-fixed-content-brand)","fixed-content-accent":"var(--color-fixed-content-accent)","fixed-background-primary":"var(--color-fixed-background-primary)","fixed-background-secondary":"var(--color-fixed-background-secondary)","fixed-background-secondary-alpha50":"var(--color-fixed-background-secondary-alpha50)","fixed-background-secondary-alpha80":"var(--color-fixed-background-secondary-alpha80)","fixed-background-inverse":"var(--color-fixed-background-inverse)","fixed-background-brand":"var(--color-fixed-background-brand)","fixed-background-accent":"var(--color-fixed-background-accent)","fixed-border-default":"var(--color-fixed-border-default)","fixed-border-brand":"var(--color-fixed-border-brand)","progress-bar-background":"var(--color-progress-bar-background)"},o={"kiao-blue-50":n.blue[900].hex,"kiao-blue-100":n.blue[800].hex,"kiao-blue-200":n.blue[700].hex,"kiao-blue-300":n.blue[600].hex,"kiao-blue-400":n.blue[500].hex,"kiao-blue-500":n.blue[400].hex,"kiao-blue-600":n.blue[300].hex,"kiao-blue-700":n.blue[200].hex,"kiao-blue-800":n.blue[100].hex,"kiao-blue-900":n.blue[50].hex,"kiao-blue-950":"#E0E8FF","kiao-yellow-50":n.yellow[900].hex,"kiao-yellow-100":n.yellow[800].hex,"kiao-yellow-200":n.yellow[700].hex,"kiao-yellow-300":n.yellow[600].hex,"kiao-yellow-400":n.yellow[500].hex,"kiao-yellow-500":n.yellow[400].hex,"kiao-yellow-600":n.yellow[300].hex,"kiao-yellow-700":n.yellow[200].hex,"kiao-yellow-800":n.yellow[100].hex,"kiao-yellow-900":n.yellow[50].hex,"kiao-yellow-950":"#FFFBD9","grayscale-white":n.grey.black.hex,"grayscale-50":n.grey[900].hex,"grayscale-100":n.grey[800].hex,"grayscale-200":n.grey[700].hex,"grayscale-300":n.grey[600].hex,"grayscale-400":n.grey[500].hex,"grayscale-500":n.grey[400].hex,"grayscale-600":n.grey[300].hex,"grayscale-700":n.grey[200].hex,"grayscale-800":n.grey[100].hex,"grayscale-900":n.grey[50].hex,"grayscale-950":"#F4F5F5","grayscale-black":n.grey.white.hex,"green-50":n.green[900].hex,"green-100":n.green[800].hex,"green-200":n.green[700].hex,"green-300":n.green[600].hex,"green-400":n.green[500].hex,"green-500":n.green[400].hex,"green-600":n.green[300].hex,"green-700":n.green[200].hex,"green-800":n.green[100].hex,"green-900":n.green[50].hex,"green-950":"#E7F6EF","peach-50":n.orange[900].hex,"peach-100":n.orange[800].hex,"peach-200":n.orange[700].hex,"peach-300":n.orange[600].hex,"peach-400":n.orange[500].hex,"peach-500":n.orange[400].hex,"peach-600":n.orange[300].hex,"peach-700":n.orange[200].hex,"peach-800":n.orange[100].hex,"peach-900":n.orange[50].hex,"peach-950":"#FFEEE9","aqua-50":"#081D23","aqua-100":"#113E4A","aqua-200":"#1A5F72","aqua-300":"#238099","aqua-400":"#2CA1C1","aqua-500":"#35C2E8","aqua-600":"#57CCEC","aqua-700":"#7AD7F0","aqua-800":"#9CE1F4","aqua-900":"#BEEBF8","aqua-950":"#E1F6FC","purple-50":"#1E1626","purple-100":"#402E52","purple-200":"#62477D","purple-300":"#845FA8","purple-400":"#A678D4","purple-500":"#C890FF","purple-600":"#D1A3FF","purple-700":"#DBB6FF","purple-800":"#E4C9FF","purple-900":"#EDDBFF","purple-950":"#F7EEFF","coral-50":"#251111","coral-100":"#4F2523","coral-200":"#7A3836","coral-300":"#A44C49","coral-400":"#CE5F5B","coral-500":"#F8736E","coral-600":"#F98B87","coral-700":"#FAA39F","coral-800":"#FCBAB8","coral-900":"#FDD2D1","coral-950":"#FEEAE9","canvas-light":"#151717","canvas-dark":"#FAFBFE","wu-blue-100":"#152F79","wu-blue-200":"#244594","wu-blue-300":"#3A64B8","wu-blue-400":"#5488DB","wu-blue-500":"#72AFFF","wu-blue-600":"#94C7FE","wu-blue-700":"#ABD6FF","wu-blue-800":"#C6E6FF","wu-blue-900":"#E2F2FF"};({...o,"grayscale-000":o["grayscale-white"],"grayscale-1000":o["canvas-dark"],"grayscale-1100":o["canvas-dark"],"background-light":o["canvas-light"],"background-dark":o["canvas-dark"],white:o["grayscale-white"],black:o["grayscale-black"],"focused-primary":"#071026cc","primary-100":o["kiao-blue-50"],"primary-200":o["kiao-blue-200"],"primary-300":o["kiao-blue-300"],"primary-400":o["kiao-blue-400"],"primary-500":o["kiao-blue-500"],"primary-600":o["kiao-blue-600"],"primary-700":o["kiao-blue-700"],"primary-800":o["kiao-blue-800"],"primary-900":o["kiao-blue-900"],"yellow-100":o["kiao-yellow-50"],"yellow-300":o["kiao-yellow-300"],"yellow-500":o["kiao-yellow-500"],"yellow-700":o["kiao-yellow-700"],"yellow-900":o["kiao-yellow-900"],"bottom-sheet-backdrop":"#151717"})},39218:(e,t,r)=>{"use strict";var n,i=r(29143);r(65127);var a=r(55729),o=function(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}(a);function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function l(e,t,r){return t&&s(e.prototype,t),r&&s(e,r),e}var c=void 0!==i&&i.env&&!0,u=function(e){return"[object String]"===Object.prototype.toString.call(e)},d=function(){function e(e){var t=void 0===e?{}:e,r=t.name,n=void 0===r?"stylesheet":r,i=t.optimizeForSpeed,a=void 0===i?c:i;p(u(n),"`name` must be a string"),this._name=n,this._deletedRulePlaceholder="#"+n+"-deleted-rule____{}",p("boolean"==typeof a,"`optimizeForSpeed` must be a boolean"),this._optimizeForSpeed=a,this._serverSheet=void 0,this._tags=[],this._injected=!1,this._rulesCount=0;var o=document.querySelector('meta[property="csp-nonce"]');this._nonce=o?o.getAttribute("content"):null}var t=e.prototype;return t.setOptimizeForSpeed=function(e){p("boolean"==typeof e,"`setOptimizeForSpeed` accepts a boolean"),p(0===this._rulesCount,"optimizeForSpeed cannot be when rules have already been inserted"),this.flush(),this._optimizeForSpeed=e,this.inject()},t.isOptimizeForSpeed=function(){return this._optimizeForSpeed},t.inject=function(){var e=this;if(p(!this._injected,"sheet already injected"),this._injected=!0,this._optimizeForSpeed){this._tags[0]=this.makeStyleTag(this._name),this._optimizeForSpeed="insertRule"in this.get
1Sheet(),this._optimizeForSpeed||(c||console.warn("StyleSheet: optimizeForSpeed mode not supported falling back to standard mode."),this.flush(),this._injected=!0);return}this._serverSheet={cssRules:[],insertRule:function(t,r){return"number"==typeof r?e._serverSheet.cssRules[r]={cssText:t}:e._serverSheet.cssRules.push({cssText:t}),r},deleteRule:function(t){e._serverSheet.cssRules[t]=null}}},t.getSheetForTag=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]},t.getSheet=function(){return this.getSheetForTag(this._tags[this._tags.length-1])},t.insertRule=function(e,t){if(p(u(e),"`insertRule` accepts only strings"),this._optimizeForSpeed){var r=this.getSheet();"number"!=typeof t&&(t=r.cssRules.length);try{r.insertRule(e,t)}catch(t){return c||console.warn("StyleSheet: illegal rule: \n\n"+e+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),-1}}else{var n=this._tags[t];this._tags.push(this.makeStyleTag(this._name,e,n))}return this._rulesCount++},t.replaceRule=function(e,t){if(this._optimizeForSpeed){var r=this.getSheet();if(t.trim()||(t=this._deletedRulePlaceholder),!r.cssRules[e])return e;r.deleteRule(e);try{r.insertRule(t,e)}catch(n){c||console.warn("StyleSheet: illegal rule: \n\n"+t+"\n\nSee https://stackoverflow.com/q/20007992 for more info"),r.insertRule(this._deletedRulePlaceholder,e)}}else{var n=this._tags[e];p(n,"old rule at index `"+e+"` not found"),n.textContent=t}return e},t.deleteRule=function(e){if(this._optimizeForSpeed)this.replaceRule(e,"");else{var t=this._tags[e];p(t,"rule at index `"+e+"` not found"),t.parentNode.removeChild(t),this._tags[e]=null}},t.flush=function(){this._injected=!1,this._rulesCount=0,this._tags.forEac
1h(function(e){return e&&e.parentNode.removeChild(e)}),this._tags=[]},t.cssRules=function(){var e=this;return this._tags.reduce(function(t,r){return r?t=t.concat(Array.prototype.map.call(e.getSheetForTag(r).cssRules,function(t){return t.cssText===e._deletedRulePlaceholder?null:t})):t.push(null),t},[])},t.makeStyleTag=function(e,t,r){t&&p(u(t),"makeStyleTag accepts only strings as second parameter");var n=document.createElement("style");this._nonce&&n.setAttribute("nonce",this._nonce),n.type="text/css",n.setAttribute("data-"+e,""),t&&n.appendChild(document.createTextNode(t));var i=document.head||document.getElementsByTagName("head")[0];return r?i.insertBefore(n,r):i.appendChild(n),n},l(e,[{key:"length",get:function(){return this._rulesCount}}]),e}();function p(e,t){if(!e)throw Error("StyleSheet: "+t+".")}var h=function(e){for(var t=5381,r=e.length;r;)t=33*t^e.charCodeAt(--r);return t>>>0},f={};function m(e,t){if(!t)return"jsx-"+e;var r=String(t),n=e+r;return f[n]||(f[n]="jsx-"+h(e+"-"+r)),f[n]}function g(e,t){var r=/__jsx-style-dynamic-selector/g,n=e+t;return f[n]||(f[n]=t.replace(r,e)),f[n]}function y(e,t){return void 0===t&&(t={}),e.map(function(e){var r=e[0],n=e[1];return o.default.createElement("style",{id:"__"+r,key:"__"+r,nonce:t.nonce?t.nonce:void 0,dangerouslySetInnerHTML:{__html:n}})})}var v=function(){function e(e){var t=void 0===e?{}:e,r=t.styleSheet,n=void 0===r?null:r,i=t.optimizeForSpeed,a=void 0!==i&&i;this._sheet=n||new d({name:"styled-jsx",optimizeForSpeed:a}),this._sheet.inject(),n&&"boolean"==typeof a&&(this._sheet.setOptimizeForSpeed(a),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer=void 0,this._indices={},this._instancesCounts={}}var t=e.prototype;return t.add=function(e){var t=this;void 0===this._optimizeForSpeed&&(this._optimizeForSpeed=Array.isArray(e.children),this._sheet.setOptimizeForSpeed(this._optimizeForSpeed),this._optimizeForSpeed=this._sheet.isOptimizeForSpeed()),this._fromServer||(this._fromServer=this.selectFromServer(),this._instancesCounts=Object.keys(this._fromServer).reduce(function(e,t){return e[t]=0,e},{}));var r=this.getIdAndRules(e),n=r.styleId,i=r.rules;if(n in this._instancesCounts){this._instancesCounts[n]+=1;return}var a=i.map(function(e){return t._sheet.insertRule(e)}).filter(function(e){return -1!==e});this._indices[n]=a,this._instancesCounts[n]=1},t.remove=function(e){var t=this,r=this.getIdAndRules(e).styleId;if(b(r in this._instancesCounts,"styleId: `"+r+"` not found"),this._instancesCounts[r]-=1,this._instancesCounts[r]<1){var n=this._fromServer&&this._fromServer[r];n?(n.parentNode.removeChild(n),delete this._fromServer[r]):(this._indices[r].forEach(function(e){return t._sheet.deleteRule(e)}),delete this._indices[r]),delete this._instancesCounts[r]}},t.update=function(e,t){this.add(t),this.remove(e)},t.flush=function(){this._sheet.flush(),this._sheet.inject(),this._fromServer=void 0,this._indices={},this._instancesCounts={}},t.cssRules=function(){var e=this,t=this._fromServer?Object.keys(this._fromServer).map(function(t){return[t,e._fromServer[t]]}):[],r=this._sheet.cssRules();return t.concat(Object.keys(this._indices).map(function(t){return[t,e._indices[t].map(function(e){return r[e].cssText}).join(e._optimizeForSpeed?"":"\n")]}).filter(function(e){return!!e[1]}))},t.styles=function(e){return y(this.cssRules(),e)},t.getIdAndRules=function(e){var t=e.children,r=e.dynamic,n=e.id;if(r){var i=m(n,r);return{styleId:i,rules:Array.isArray(t)?t.map(function(e){return g(i,e)}):[g(i,t)]}}return{styleId:m(n),rules:Array.isArray(t)?t:[t]}},t.selectFromServer=function(){return Array.prototype.slice.call(document.querySelectorAll('[id^="__jsx-"]')).reduce(function(e,t){return e[t.id.slice(2)]=t,e},{})},e}();function b(e,t){if(!e)throw Error("StyleSheetRegistry: "+t+".")}var w=a.createContext(null);function x(){return new v}function k(e){var t=e.registry,r=e.children,n=a.useContext(w),i=a.useState(function(){return n||t||x()})[0];return o.default.createElement(w.Provider,{value:i},r)}function A(){return a.useContext(w)}w.displayName="StyleSheetContext";var C=o.default.useInsertionEffect||o.default.useLayoutEffect,S=x();function E(e){var t=S||A();return t&&C(function(){return t.add(e),function(){t.remove(e)}},[e.id,String(e.dynamic)]),null}E.dynamic=function(e){return e.map(function(e){return m(e[0],e[1])}).join(" ")},n=k,n=x,t.style=E,n=A},39477:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(58309);let i=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],a=(0,n.A)("arrow-right",i)},39884:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=r(49452).A},39891:e=>{"use strict";e.exports={rE:"3.41.0"}},39977:(e,t,r)=>{"use strict";r.d(t,{E:()=>a});var n=r(2860),i=r(84660);let a=e=>{let{children:t,className:r,style:a}=e;return(0,n.Y)("div",{style:a,className:(0,i.Q)("bg-grayscale-100 animate-pulse rounded-lg",r),children:t})}},40412:(e,t,r)=>{"use strict";function n(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:void 0,n={};for(let i in e){let a=e[i],o="",s=!0;for(let e=0;e<a.length;e+=1){let n=a[e];n&&(o+=(!0===s?"":" ")+t(n),s=!1,r&&r[n]&&(o+=" "+r[n]))}n[i]=o}return n}r.d(t,{A:()=>n})},40545:(e,t,r)=>{"use strict";r.d(t,{E3x:()=>I,VNn:()=>M.V,upu:()=>M.u,O_k:()=>d,IGN:()=>E,t:()=>m.t,d7b:()=>p,FTe:()=>h,w5E:()=>f}),r(51952);var n=r(55729);let i="wu-article",a="\xa0",o="ui-monospace, SFMono-Regular, Menlo, Consolas, monospace",s={textPrimary:"#2A2B2D",brandBlue:"#0033BB",brandBlueHover:"#002EAA",border:"#E0E0E0",tableHeadBg:"#E6EBF8",codeText:"#AF2828",codeBg:"#
1EFF0F0",caption:"#63666B"},l=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:".".concat(i),t=e;return"\n".concat(t," {\n font-size: 1rem;\n line-height: 180%;\n letter-spacing: 1px;\n font-weight: 400;\n color: ").concat(s.textPrimary,";\n}\n").concat(t," h1 {\n font-size: 1.5rem;\n font-weight: 700;\n letter-spacing: 2px;\n line-height: 140%;\n margin: 24px 0 16px;\n}\n").concat(t," h2 {\n font-size: 1.25rem;\n font-weight: 700;\n letter-spacing: 2px;\n line-height: 150%;\n margin: 20px 0 16px;\n}\n").concat(t," h3 {\n font-size: 1rem;\n font-weight: 700;\n letter-spacing: 2px;\n line-height: 160%;\n margin: 16px 0 8px;\n}\n").concat(t," h4, ").concat(t," h5, ").concat(t," h6 {\n font-size: 1rem;\n font-weight: 700;\n letter-spacing: 2px;\n line-height: 160%;\n margin: 16px 0 8px;\n}\n").concat(t," p {\n margin: 0 0 8px;\n}\n").concat(t," > div {\n margin: 0 0 8px;\n}\n").concat(t," ul, ").concat(t," ol {\n margin: 0 0 16px;\n padding-left: 24px;\n}\n").concat(t," ul { list-style: disc; }\n").concat(t," ul ul { list-style: circle; }\n").concat(t," ul ul ul { list-style: square; }\n").concat(t," ol { list-style: decimal; }\n").concat(t," ol ol { list-style: lower-alpha; }\n").concat(t," ol ol ol { list-style: lower-roman; }\n").concat(t," li {\n margin: 0 0 8px;\n}\n").concat(t," li:last-child { margin-bottom: 0; }\n").concat(t," li > p { margin: 0; }\n").concat(t," li > ul, ").concat(t," li > ol { margin: 8px 0 0; }\n").concat(t," li::marker {\n color: ").concat(s.brandBlue,";\n font-weight: 500;\n}\n").concat(t," blockquote {\n border-left: 4px solid ").concat(s.brandBlue,";\n margin: 16px 0;\n padding: 0 0 0 16px;\n}\n").concat(t," hr {\n border: none;\n border-top: 1px solid ").concat(s.border,";\n margin: 32px 0;\n}\n").concat(t," a {\n color: ").concat(s.brandBlue,";\n text-decoration: underline;\n text-decoration-thickness: 1px;\n text-underline-offset: 2px;\n}\n").concat(t," a:hover { color: ").concat(s.brandBlueHover,"; }\n").concat(t," a:focus-visible {\n outline: 2px solid ").concat(s.brandBlue,";\n outline-offset: 2px;\n}\n").concat(t," table {\n border-collapse: collapse;\n font-size: 0.875rem;\n max-width: 100%;\n}\n").concat(t," th, ").concat(t," td {\n border: 1px solid ").concat(s.border,";\n padding: 8px 12px;\n}\n").concat(t," th {\n background: ").concat(s.tableHeadBg,";\n font-weight: 500;\n}\n").concat(t," img {\n max-width: 100%;\n height: auto;\n border-radius: 16px;\n}\n").concat(t," img.img-responsive { width: 100%; }\n").concat(t," figure {\n display: table;\n margin: 16px auto;\n}\n").concat(t," figcaption {\n font-size: 0.75rem;\n color: ").concat(s.caption,";\n text-align: center;\n margin-top: 4px;\n}\n").concat(t," code {\n font-family: ").concat(o,";\n font-size: 0.875em;\n color: ").concat(s.codeText,";\n background: ").concat(s.codeBg,";\n border: 1px solid ").concat(s.border,";\n border-radius: 4px;\n padding: 2px 6px;\n}\n").concat(t," pre {\n font-family: ").concat(o,";\n font-size: 0.875rem;\n color: ").concat(s.textPrimary,";\n background: ").concat(s.codeBg,";\n border-radius: 8px;\n padding: 16px;\n overflow-x: auto;\n margin: 0 0 16px;\n}\n").concat(t," pre code {\n font-size: inherit;\n color: inherit;\n background: none;\n border: none;\n padding: 0;\n}\n").concat(t," p:empty::before {\n content: '").concat(a,"';\n}\n").concat(t," > :first-child { margin-top: 0; }\n").concat(t," > :last-child { margin-bottom: 0; }\n@media (max-width: 767.98px) {\n ").concat(t," table {\n display: block;\n overflow-x: auto;\n max-width: 100%;\n }\n}\n@media (min-width: 768px) {\n ").concat(t," h1 { font-size: 1.625rem; }\n ").concat(t," h2 { font-size: 1.375rem; }\n ").concat(t," table { font-size: 1rem; }\n ").concat(t," figcaption { font-size: 0.875rem; }\n ").concat(t," hr { margin: 40px 0; }\n}\n")};l(),l("body");let c="wu-article-unit";!function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:".".concat(i,".").concat(c),t=e;"\n".concat(t," {\n font-size: 14px;\n line-height: 1.9;\n letter-spacing: normal;\n text-wrap: pretty;\n}\n").concat(t," > * {\n margin-top: 0;\n margin-bottom: 0;\n}\n").concat(t," > * + * {\n margin-top: 16px;\n}
1\n").concat(t," h1, ").concat(t," h2 {\n font-size: 21px;\n font-weight: 600;\n letter-spacing: normal;\n line-height: 1.5;\n}\n").concat(t," h3, ").concat(t," h4, ").concat(t," h5, ").concat(t," h6 {\n font-size: 14px;\n font-weight: 600;\n letter-spacing: normal;\n line-height: 1.6;\n}\n").concat(t," em {\n font-style: normal;\n font-weight: 600;\n}\n").concat(t," li::marker {\n color: inherit;\n font-weight: 400;\n}\n").concat(t," blockquote {\n border-left: 1px solid ").concat(s.border,";\n}\n").concat(t," img {\n border-radius: 6px;\n}\n").concat(t," figcaption {\n font-size: 12px;\n}\n").concat(t,' a[href^="#time="] {\n font-family: ').concat(o,";\n font-size: 0.92em;\n text-decoration: none;\n border-bottom: 1px solid var(--color-accent-line, #BDCAED);\n padding: 0 2px;\n}\n").concat(t,' a[href^="#time="]:hover {\n border-bottom-color: ').concat(s.brandBlue,";\n}\n").concat(t," .unit-fill-in input {\n min-width: 44px;\n padding: 1px 8px;\n margin: 0 2px;\n border: 0;\n border-bottom: 1.5px solid currentColor;\n border-radius: 0;\n background: none;\n color: inherit;\n font: inherit;\n font-size: 0.95em;\n text-align: center;\n outline: none;\n}\n").concat(t," .unit-fill-in input:focus {\n border-bottom-color: ").concat(s.brandBlue,";\n}\n@media (min-width: 768px) {\n ").concat(t," h1, ").concat(t," h2 { font-size: 21px; }\n ").concat(t," figcaption { font-size: 12px; }\n}\n")}();var u=function(e){return e.PROD="production",e.STAGING="staging",e.DEV="dev",e.DEBUG="debug",e}({});let d="production"===u.PROD;function p(e,t){let[r,i]=n.useState(e);return n.useEffect(()=>{let r=setTimeout(()=>{i(e)},t);return()=>{clearTimeout(r)}},[e,t]),r}u.STAGING,u.DEV;let h=e=>{let t=(0,n.useRef)(e);return t.current=e,t};function f(e,t){let r=(0,n.useRef)(!0),i=h(e);(0,n.useEffect)(()=>{if(!r.current)return i.current();r.current=!1},t)}var m=r(34093);r(38822),r(39162);var g=r(70921);let y=Symbol("RESET"),v=e=>"function"==typeof(null==e?void 0:e.then);function b(e=()=>{try{return window.localStorage}catch(e){"undefined"!=typeof window&&console.warn(e);return}},t){var r;let n,i,a,o={getItem:(r,a)=>{var o,s;let l=e=>{if(n!==(e=e||"")){try{i=JSON.parse(e,null==t?void 0:t.reviver)}catch(e){return a}n=e}return i},c=null!=(s=null==(o=e())?void 0:o.getItem(r))?s:null;return v(c)?c.then(l):l(c)},setItem:(r,n)=>{var i;return null==(i=e())?void 0:i.setItem(r,JSON.stringify(n,null==t?void 0:t.replacer))},removeItem:t=>{var r;return null==(r=e())?void 0:r.removeItem(t)}},s=e=>(t,r,n)=>e(t,e=>{let t;try{t=JSON.parse(e||"")}catch(e){t=n}r(t)});try{a=null==(r=e())?void 0:r.subscribe}catch(e){}return!a&&"undefined"!=typeof window&&"function"==typeof window.addEventListener&&window.Storage&&(a=(t,r)=>{if(!(e()instanceof window.Storage))return()=>{};let n=n=>{n.storageArea===e()&&n.key===t&&r(n.newValue)};return window.addEventListener("storage",n),()=>{window.removeEventListener("storage",n)}}),a&&(o.subscribe=s(a)),o}let w=b();function x(e,t,r=w,n){let i=null==n?void 0:n.getOnInit,a=(0,g.eU)(i?r.getItem(e,t):t);return a.debugPrivate=!0,a.onMount=n=>{var i;return n(r.getItem(e,t)),null==(i=r.subscribe)?void 0:i.call(r,e,n,t)},(0,g.eU)(e=>e(a),(n,i,o)=>{let s="function"==typeof o?o(n(a)):o;return s===y?(i(a,t),r.removeItem(e)):v(s)?s.then(t=>(i(a,t),r.setItem(e,t))):(i(a,s),r.setItem(e,s))})}let k=()=>{},A=e=>localStorage.getItem(e)||void 0,C=(e,t)=>{localStorage.setItem(e,t)},S={getItem:A,setItem:C,getString:A,setString:C,getNumber:e=>{let t=A(e);return t?Number(t):void 0},setNumber:(e,t)=>{C(e,t.toString())},getBoolean:e=>{let t=A(e);return t?"true"===t.toLowerCase():void 0},setBoolean:(e,t)=>{C(e,t.toString())},getJSON(e){let t=A(e);if(t)try{return JSON.parse(t)}catch(e){console.error("Error parsing JSON:",e)}},setJSON:(e,t)=>{C(e,JSON.stringify(t))},removeItem:e=>{localStorage.removeItem(e)},clearAll:()=>{localStorage.clear()},getAllKeys:()=>Object.keys(localStorage),contains:e=>null!=A(e)},E=S;function _(e){return E.getString(e)||null}function T(e,t){E.setItem(e,t)}function P(e){E.removeItem(e)}function O(){E.clearAll()}let I=(e,t,r)=>x(e,t,b(()=>({getItem:_,setItem:T,removeItem:P,clearAll:O})),r);I("theme","light");var M=r(29347)},40623:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ifAbsUrl:()=>n,isVimeoUrl:()=>i});let n=e=>RegExp("^(?:[a-z]+:)?//","i").test(e),i=e=>!!e&&/vimeo\.com/.test(e)},40657:(e,t,r)=>{"use strict";r.d(t,{A:()=>m});var n=r(55729),i=r(78414),a=r(96304),o=r(41166),s=r(88273),l=r(33528),c=r(39884),u=r(6029);function d(e){return"scale(".concat(e,", ").concat(e**2,")")}let p={entering:{opacity:1,transform:d(1)},entered:{opacity:1,transform:"none"}},h="undefined"!=typeof navigator&&/^((?!chrome|android).)*(safari|mobile)/i.test(navigator.userAgent)&&/(os |version\/)15(.|_)4/i.test(navigator.userAgent),f=n.forwardRef(function(e,t){let{addEndListener:r,appear:f=!0,children:m,easing:g,in:y,onEnter:v,onEntered:b,onEntering:w,onExit:x,onExited:k,onExiting:A,style:C,timeout:S="auto",TransitionComponent:E=o.Ay,..._}=e,T=(0,i.A)(),P=n.useRef(),O=(0,s.A)(),I=n.useRef(null),M=(0,c.A)(I,(0,a.A)(m),t),L=e=>t=>{if(e){let r=I.current;void 0===t?e(r):e(r,t)}},N=L(w),R=L((e,t)=>{let r;(0,l.q)(e);let{duration:n,delay:i,easing:a}=(0,l.c)({style:C,timeout:S,easing:g},{mode:"enter"});"auto"===S?P.current=r=O.transitions.getAutoHeightDuration(e.clientHeight):r=n,e.style.transition=[O.transitions.create("opacity",{duration:r,delay:i}),O.transitions.create("transform",{duration:h?r:.666*r,delay:i,easing:a})].join(","),v&&v(e,t)}),j=L(b),D=L(A),F=L(e=>{let t,{duration:r,delay:n,easing:i}=(0,l.c)({style:C,timeout:S,easing:g},{mode:"exit"});"auto"===S?P.current=t=O.transitions.getAutoHeightDuration(e.clientHeight):t=r,e.style.transition=[O.transitions.create("opacity",{duration:t,delay:n}),O.transitions.create("transform",{duration:h?t:.666*t,delay:h?n:n||.333*t,easing:i})].join(","),e.style.opacity=0,e.style.transform=d(.75),x&&x(e)}),V=L(k),B=e=>{"auto"===S&&T.start(P.current||0,e),r&&r(I.current,e)};return(0,u.jsx)(E,{appear:f,in:y,nodeRef:I,onEnter:R,onEntered:j,onEntering:N,onExit:F,onExited:V,onExiting:D,addEndListener:B,timeout:"auto"===S?null:S,..._,children:(e,t)=>{let{ownerState:r,...i}=t;return n.cloneElement(m,{style:{opacity:0,transform:d(.75),visibility:"exited"!==e||y?void 0:"hidden",...p[e],...C,...m.props.style},ref:M,...i})}})});f&&(f.muiSupportAuto=!0);let m=f},40992:e=>{e.exports={name:"memoryStorage",read:r,write:n,each:i,remove:a,clearAll:o};var t={};function r(e){return t[e]}function n(e,r){t[e]=r}function i(e){for(var r in t)t.hasOwnProperty(r)&&e(t[r],r)}function a(e){delete t[e]}function o(e){t={}}},40993:(e,t,r)=>{"use strict";r.d(t,{A:()=>p});let{saveCredential:n,getCredential:i,checkHasCredential:a,getUserId:o,saveUserId:s,getUserName:l,saveUserName:c,getUserEmail:u,clearCookies:d}=(0,r(96727).k)(),p={saveCredential:n,saveUserId:s,saveUserName:c,getUserName:l,getUserId:o,getUserEmail:u,getCredential:i,clearCookies:d,checkHasCredential:a}},41117:(e,t,r)=>{"use strict";r.d(t,{m:()=>s});var n={};r.r(n),r.d(n,{MDXProvider:()=>o.x,useMDXComponents:()=>o.R}),"undefined"!=typeof window&&(window.requestIdleCallback=window.requestIdleCallback||function(e){var t=Date.now();return setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)},window.cancelIdleCallback=window.cancelIdleCallback||function(e){clearTimeout(e)});
1var i=r(55729),a=r(24764),o=r(16285);function s({compiledSource:e,frontmatter:t,scope:r,components:s={},lazy:l}){let[c,u]=(0,i.useState)(!l||"undefined"==typeof window);(0,i.useEffect)(()=>{if(l){let e=window.requestIdleCallback(()=>{u(!0)});return()=>window.cancelIdleCallback(e)}},[]);let d=(0,i.useMemo)(()=>{let i=Object.assign({opts:{...n,...a.jsxRuntime}},{frontmatter:t},r),o=Object.keys(i),s=Object.values(i),l=Reflect.construct(Function,o.concat(`${e}`));return l.apply(l,s).default},[r,e]);if(!c)return i.createElement("div",{dangerouslySetInnerHTML:{__html:""},suppressHydrationWarning:!0});let p=i.createElement(o.x,{components:s},i.createElement(d,null));return l?i.createElement("div",null,p):p}},41166:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>y});var n=r(1983),i=r(38985),a=r(55729),o=r(56760);let s={disabled:!1};var l=r(5440),c=function(e){return e.scrollTop},u="unmounted",d="exited",p="entering",h="entered",f="exiting",m=function(e){function t(t,r){var n,i=e.call(this,t,r)||this,a=r,o=a&&!a.isMounting?t.enter:t.appear;return i.appearStatus=null,t.in?o?(n=d,i.appearStatus=p):n=h:n=t.unmountOnExit||t.mountOnEnter?u:d,i.state={status:n},i.nextCallback=null,i}(0,i.A)(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===u?{status:d}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(e){var t=null;if(e!==this.props){var r=this.state.status;this.props.in?r!==p&&r!==h&&(t=p):(r===p||r===h)&&(t=f)}this.updateStatus(!1,t)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var e,t,r,n=this.props.timeout;return e=t=r=n,null!=n&&"number"!=typeof n&&(e=n.exit,t=n.enter,r=void 0!==n.appear?n.appear:t),{exit:e,enter:t,appear:r}},r.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===p){if(this.props.unmountOnExit||this.props.mountOnEnter){var r=this.props.nodeRef?this.props.nodeRef.current:o.findDOMNode(this);r&&c(r)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===d&&this.setState({status:u})},r.performEnter=function(e){var t=this,r=this.props.enter,n=this.context?this.context.isMounting:e,i=this.props.nodeRef?[n]:[o.findDOMNode(this),n],a=i[0],l=i[1],c=this.getTimeouts(),u=n?c.appear:c.enter;if(!e&&!r||s.disabled)return void this.safeSetState({status:h},function(){t.props.onEntered(a)});this.props.onEnter(a,l),this.safeSetState({status:p},function(){t.props.onEntering(a,l),t.onTransitionEnd(u,function(){t.safeSetState({status:h},function(){t.props.onEntered(a,l)})})})},r.performExit=function(){var e=this,t=this.props.exit,r=this.getTimeouts(),n=this.props.nodeRef?void 0:o.findDOMNode(this);if(!t||s.disabled)return void this.safeSetState({status:d},function(){e.props.onExited(n)});this.props.onExit(n),this.safeSetState({status:f},function(){e.props.onExiting(n),e.onTransitionEnd(r.exit,function(){e.safeSetState({status:d},function(){e.props.onExited(n)})})})},r.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},r.setNextCallback=function(e){var t=this,r=!0;return this.nextCallback=function(n){r&&(r=!1,t.nextCallback=null,e(n))},this.nextCallback.cancel=function(){r=!1},this.nextCallback},r.onTransitionEnd=function(e,t){this.setNextCallback(t);var r=this.props.nodeRef?this.props.nodeRef.current:o.findDOMNode(this),n=null==e&&!this.props.addEndListener;if(!r||n)return void setTimeout(this.nextCallback,0);if(this.props.addEndListener){var i=this.props.nodeRef?[this.nextCallback]:[r,this.nextCallback],a=i[0],s=i[1];this.props.addEndListener(a,s)}null!=e&&setTimeout(this.nextCallback,e)},r.render=function(){var e=this.state.status;if(e===u)return null;var t=this.props,r=t.children,i=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,(0,n.A)(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return a.createElement(l.A.Provider,{value:null},"function"==typeof r?r(e,i):a.cloneElement(a.Children.only(r),i))},t}(a.Component);function g(){}m.contextType=l.A,m.propTypes={},m.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter
1:!0,exit:!0,onEnter:g,onEntering:g,onEntered:g,onExit:g,onExiting:g,onExited:g},m.UNMOUNTED=u,m.EXITED=d,m.ENTERING=p,m.ENTERED=h,m.EXITING=f;let y=m},41256:(e,t,r)=>{"use strict";function n(e){return(t,r)=>{let n;if("formatting"===((null==r?void 0:r.context)?String(r.context):"standalone")&&e.formattingValues){let t=e.defaultFormattingWidth||e.defaultWidth,i=(null==r?void 0:r.width)?String(r.width):t;n=e.formattingValues[i]||e.formattingValues[t]}else{let t=e.defaultWidth,i=(null==r?void 0:r.width)?String(r.width):e.defaultWidth;n=e.values[i]||e.values[t]}return n[e.argumentCallback?e.argumentCallback(t):t]}}r.d(t,{o:()=>n})},41282:(e,t,r)=>{"use strict";r.d(t,{v:()=>o});var n=!1;function i(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function a(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var o=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy?!n:e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(a(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var r=i(t);try{r.insertRule(e,r.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++}
1,t.flush=function(){this.tags.forEach(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}()},41606:(e,t,r)=>{"use strict";function n(e){let t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:166;function n(){for(var n=arguments.length,i=Array(n),a=0;a<n;a++)i[a]=arguments[a];let o=()=>{e.apply(this,i)};clearTimeout(t),t=setTimeout(o,r)}return n.clear=()=>{clearTimeout(t)},n}r.d(t,{A:()=>n})},41642:(e,t,r)=>{"use strict";r.d(t,{H:()=>o});var n=r(26766),i=r(12647),a=r(29143);a.env.SELF_DOMAIN,a.env.NEXT_PUBLIC_WORDUP_OLD_WEB_DOMAIN;let o={DETAIL:e=>{let{productId:t,tab:r,query:n={}}=e;return"/product/".concat(t).concat((0,i.eA)({obj:{...n,tab:r}}))},COLLECTION_OFFERS:e=>{let{productId:t}=e;return"/collection-offers/".concat(t)},CART:"/cart",BUYING_GROUP_TEMPLATE:"/bg",SEARCH_TEMPLATE:"/search",RECOMMENDATIONS_RESULT:()=>"/search/recommendations/result",RECOMMENDATIONS:()=>"/search/recommendations",TERMS_OF_SERVICE:"/terms-of-service",PRIVACY_POLICY:"/privacy-policy",MONEY_BACK_INTERCOM_ARTICLE:"https://intercom.help/word-up/zh-TW/articles/6485350-%E6%8C%91%E6%88%B0%E6%88%90%E5%8A%9F-%E9%A0%98%E7%8D%8E%E7%9B%B8%E9%97%9C%E5%B8%B8%E8%A6%8B%E5%95%8F%E9%A1%8C",FB_REDIRECT:"".concat("https://shop.wordup.com.tw","/fb-auth"),EVENT_GENERAL:"/sanmin-109-tecc-general",EVENT_STUDENT:"/sanmin-109-tecc",EVENT_TOEIC_MINI_TEST_LIVEABC:"/toeic-mini-test-liveabc",SAMIN_SUBSCRIPTION_PLAN:"/samin-subscription-plan",SANMIN_GSAT_MOCK_TEST:"/sanmin-gsat-mock-test",CHRISTMAS_CAMPAIGN:"/christmas-campaign",REVIEW_2020:"/review-2020",REVIEW_2020_USER:"/review-2020/user",RATING:"/rating/edit",RATING_SUCCESS:"/rating/success",CAMPAIGN_HOT_SALE:"/campaign/hot-sale",CAMPAIGN_BIZ_ENG:"/campaign/business_english",CAMPAIGN_TOEIC_12:"/campaign/toeic_12",CAMPAIGN_TIBE2022_WORK:"/campaign/tibe2022_work",CAMPAIGN_TIBE2022_ELEMENTARY:"/campaign/tibe2022_elementary",CAMPAIGN_TIBE2022_JUNIOR_HIGH:"/campaign/tibe2022_junior_high",CAMPAIGN_2021_BTS:"/2021bts",CAMPAIGN_JELLA:"/campaign/jella",CAMPAIGN_JELLA_GUIDED_LEARNING_PROGRAM:"/campaign/jella_guided_learning_program",TOPIC:"/topic",TEACHING:"/teaching",THANK_YOU:"/thank-you",OUTCOME:"/outcome",TRIAL_QUESTION_GROUP:"/trial/question-group",ABOUT_US:"/about",HOME:e=>(0,n.pp)()?(0,n.jo)()||"/app-home":e?"/brand/".concat(e):"/",SEARCH:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return"/search".concat((0,i.eA)({obj:e}))},BRAND:e=>"/brand/".concat(e),CAMPAIGN:"/campaign/[slug]"}},41658:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(9027),i="object"==typeof self&&self&&self.Object===Object&&self;let a=n.A||i||Function("return this")()},41682:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=r(55729).createContext(null)},41729:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(80465),i=r(29194);let a=function(e,t){t=(0,n.A)(t,e);for(var r=0,a=t.length;null!=e&&r<a;)e=e[(0,i.A)(t[r++])];return r&&r==a?e:void 0}},41795:(e,t,r)=>{"use strict";let n;r.d(t,{$n:()=>d,Sc:()=>tA,vu:()=>oA,lG:()=>ot,K0:()=>f,dK:()=>no,l6:()=>oN,Wh:()=>oo,oz:()=>r6,wb:()=>r4,tU:()=>r3,A_:()=>
1ol});var i=r(2860),a=r(55729),o=r.t(a,2),s=r(84660);let l={filled:{primary:"bg-background-brand text-content-on-color hover:bg-blue-600 active:bg-blue-700",secondary:"bg-background-accent-strong text-content-on-color hover:bg-orange-600 active:bg-orange-700",error:"bg-background-negative text-content-on-color hover:bg-red-600 active:bg-red-700",warning:"bg-background-warning text-content-on-yellow hover:bg-yellow-600 active:bg-yellow-700",success:"bg-background-positive text-content-on-color hover:bg-green-600 active:bg-green-700",neutral:"bg-background-inverse-secondary text-content-primary hover:bg-grey-100 active:bg-grey-200"},outlined:{primary:"border border-border-brand text-content-brand bg-transparent hover:bg-overlay-brand-hover active:bg-overlay-brand-pressed",secondary:"border border-border-accent-strong text-content-accent-strong bg-transparent hover:bg-overlay-accent-hover active:bg-overlay-accent-pressed",error:"border border-border-negative text-content-negative bg-transparent hover:bg-overlay-negative-hover active:bg-overlay-negative-pressed",warning:"border border-border-warning text-content-warning bg-transparent hover:bg-yellow-50 active:bg-yellow-100",success:"border border-border-positive text-content-positive bg-transparent hover:bg-overlay-positive-hover active:bg-overlay-positive-pressed",neutral:"border border-border-primary text-content-primary bg-transparent hover:bg-overlay-neutral-hover active:bg-overlay-neutral-pressed"},ghost:{primary:"text-content-brand bg-transparent hover:bg-overlay-brand-hover active:bg-overlay-brand-pressed",secondary:"text-content-accent-strong bg-transparent hover:bg-overlay-accent-hover active:bg-overlay-accent-pressed",error:"text-content-negative bg-transparent hover:bg-overlay-negative-hover active:bg-overlay-negative-pressed",warning:"text-content-warning bg-transparent hover:bg-yellow-50 active:bg-yellow-100",success:"text-content-positive bg-transparent hover:bg-overlay-positive-hover active:bg-overlay-positive-pressed",neutral:"text-content-primary bg-transparent hover:bg-overlay-neutral-hover active:bg-overlay-neutral-pressed"}},c={xs:"h-600 px-300 py-150 text-label-s gap-100",sm:"h-800 px-300 text-label-s gap-100",md:"h-[36px] px-400 text-label-m gap-150",lg:"h-1000 px-500 text-label-m gap-150"};function u(){return(0,i.FD)("svg",{className:"animate-spin size-icon-m",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[(0,i.Y)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,i.Y)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})]})}let d=(0,a.forwardRef)(function(e,t){let{variant:r="filled",size:n="md",color:a="primary",loading:o=!1,disabled:d=!1,startIcon:p,endIcon:h,fullWidth:f=!1,className:m,children:g,href:y,target:v,rel:b,download:w,...x}=e,k=d||o,A=(0,s.Q)("inline-flex items-center justify-center rounded-999 border-0 appearance-none transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2",c[n],l[r][a],f&&"w-full",k&&"bg-background-disabled text-content-disabled border-border-disabled cursor-not-allowed pointer-events-none",m),C=(0,i.FD)(i.FK,{children:[o?(0,i.Y)(u,{}):p,g,!o&&h]});return void 0!==y?(0,i.Y)("a",{ref:t,href:k?void 0:y,target:v,rel:b,download:w,className:(0,s.Q)(A,"no-underline"),"aria-disabled":k||void 0,role:"button",...x,children:C}):(0,i.Y)("button",{ref:t,className:A,disabled:k,...x,children:C})}),p={sm:"h-800 w-800 p-200",md:"h-[36px] w-[36px] p-200",lg:"h-1000 w-1000 p-250",xl:"h-[44px] w-[44px] p-250"},h={primary:{brand:"bg-background-brand text-content-on-color hover:bg-blue-600 active:bg-blue-700",neutral:"bg-background-inverse-secondary text-content-primary hover:bg-grey-100 active:bg-grey-200",negative:"bg-background-negative text-content-on-color hover:bg-red-600 active:bg-red-700"},secondary:{brand:"border border-border-brand text-content-brand bg-transparent hover:bg-overlay-brand-hover active:bg-overlay-brand-pressed",neutral:"border border-border-subtle text-content-primary bg-transparent hover:bg-overlay-neutral-hover active:bg-overlay-neutral-pressed",negative:"border border-border-negative text-content-negative bg-transparent hover:bg-overlay-negative-hover active:bg-overlay-negative-pressed"},tertiary:{brand:"text-content-brand bg-transparent hover:bg-overlay-brand-hover active:bg-overlay-brand-pressed",neutral:"text-content-primary bg-transparent hover:bg-overlay-neutral-hover active:bg-overlay-neutral-pressed",negative:"text-content-negative bg-transparent hover:bg-overlay-negative-hover active:bg-overlay-negative-pressed"}},f=(0,a.forwardRef)(function(e,t){let{size:r="md",hierarchy:n="primary",scheme:a="brand",disabled:o=!1,className:l,children:c,...u}=e,d=(0,s.Q)("inline-flex items-center justify-center rounded-999 border-0 appearance-none transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 [&>svg]:block",p[r],h[n][a],o&&"bg-background-disabled text-content-disabled border-border-disabled cursor-not-allowed pointer-events-none",l);return(0,i.Y)("button",{ref:t,className:d,disabled:o,...u,children:c})});function m(){}let g=Object.freeze([]),y=Object.freeze({});function v({controlled:e,default:t,name:r,state:n="value"}){let{current:i}=a.useRef(void 0!==e),[o,s]=a.useState(t);return[i?e:o,a.useCallback(e=>{i||s(e)},[])]}let b={};function w(e,t){let r=a.useRef(b);return r.current===b&&(r.current=e(t)),r}let x=o[`useInsertionEffect${Math.random().toFixed(1)}`.slice(0,-3)],k=x&&x!==a.useLayoutEffect?x:e=>e();function A(e){let t=w(C).current;return t.next=e,k(t.effect),t.trampoline}function C(){let e={next:void 0,callback:S,trampoline:(...t)=>e.callback?.(...t),effect:()=>{e.callback=e.next}};return e}function S(){}let E=()=>{},_="undefined"!=typeof document?a.useLayoutEffect:E;function T(e,t,r,n){let i=w(O).current;return I(i,e,t,r,n)&&L(i,[e,t,r,n]),i.callback}function P(e){let t=w(O).current;return M(t,e)&&L(t,e),t.callback}function O(){return{callback:null,cleanup:null,refs:[]}}
1function I(e,t,r,n,i){return e.refs[0]!==t||e.refs[1]!==r||e.refs[2]!==n||e.refs[3]!==i}function M(e,t){return e.refs.length!==t.length||e.refs.some((e,r)=>e!==t[r])}function L(e,t){if(e.refs=t,t.every(e=>null==e)){e.callback=null;return}e.callback=r=>{if(e.cleanup&&(e.cleanup(),e.cleanup=null),null!=r){let n=Array(t.length).fill(null);for(let e=0;e<t.length;e+=1){let i=t[e];if(null!=i)switch(typeof i){case"function":{let t=i(r);"function"==typeof t&&(n[e]=t);break}case"object":i.current=r}}e.cleanup=()=>{for(let e=0;e<t.length;e+=1){let r=t[e];if(null!=r)switch(typeof r){case"function":{let t=n[e];"function"==typeof t?t():r(null);break}case"object":r.current=null}}}}}}let N={clip:"rect(0 0 0 0)",overflow:"hidden",whiteSpace:"nowrap",position:"fixed",top:0,left:0,border:0,padding:0,width:1,height:1,margin:-1},R=function(e){return e.checked="data-checked",e.unchecked="data-unchecked",e.disabled="data-disabled",e.readonly="data-readonly",e.required="data-required",e.valid="data-valid",e.invalid="data-invalid",e.touched="data-touched",e.dirty="data-dirty",e.filled="data-filled",e.focused="data-focused",e}({}),j=function(e){return e.disabled="data-disabled",e.valid="data-valid",e.invalid="data-invalid",e.touched="data-touched",e.dirty="data-dirty",e.filled="data-filled",e.focused="data-focused",e}({}),D={badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valid:null,valueMissing:!1},F={valid:e=>null===e?null:e?{[j.valid]:""}:{[j.invalid]:""}};function V(e){return a.useMemo(()=>({checked:t=>e.indeterminate?{}:t?{[R.checked]:""}:{[R.unchecked]:""},...F}),[e.indeterminate])}function B(e,...t){let r=new URL(`https://base-ui.com/production-error/${e}`);return t.forEach(e=>r.searchParams.append("args[]",e)),`Base UI error #${e}; visit ${r} for the full message.`}let z=parseInt(a.version,10);function $(e){return z>=e}function U(e){if(!a.isValidElement(e))return null;let t=e,r=t.props;return($(19)?r?.ref:t.ref)??null}function q(e,t){return e&&!t?e:!e&&t?t:e||t?{...e,...t}:void 0}function H(e,t){let r={};for(let n in e){let i=e[n];if(t?.hasOwnProperty(n)){let e=t[n](i);null!=e&&Object.assign(r,e);continue}!0===i?r[`data-${n.toLowerCase()}`]="":i&&(r[`data-${n.toLowerCase()}`]=i.toString())}return r}function Y(e,t){return"function"==typeof e?e(t):e}function W(e,t){return"function"==typeof e?e(t):e}let G={};function K(e,t,r,n,i){let a={...et(e,G)};return t&&(a=X(a,t)),r&&(a=X(a,r)),n&&(a=X(a,n)),i&&(a=X(a,i)),a}function J(e){if(0===e.length)return G;if(1===e.length)return et(e[0],G);let t={...et(e[0],G)};for(let r=1;r<e.length;r+=1)t=X(t,e[r]);return t}function X(e,t){return ee(t)?t(e):Q(e,t)}function Q(e,t){if(!t)return e;for(let r in t){let n=t[r];switch(r){case"style":e[r]=q(e.style,n);break;case"className":e[r]=ei(e.className,n);break;default:Z(r,n)?e[r]=er(e[r],n):e[r]=n}}return e}function Z(e,t){let r=e.charCodeAt(0),n=e.charCodeAt(1),i=e.charCodeAt(2);return 111===r&&110===n&&i>=65&&i<=90&&("function"==typeof t||void 0===t)}function ee(e){return"function"==typeof e}function et(e,t){return ee(e)?e(t):e??G}function er(e,t){return t?e?r=>{if(ea(r)){let n=r;en(n);let i=t(n);return n.baseUIHandlerPrevented||e?.(n),i}let n=t(r);return e?.(r),n}:t:e}function en(e){return e.preventBaseUIHandler=()=>{e.baseUIHandlerPrevented=!0},e}function ei(e,t){return t?e?t+" "+e:t:e}function ea(e){return null!=e&&"object"==typeof e&&"nativeEvent"in e}function eo(e,t,r={}){let n=t.render,i=es(t,r);return!1===r.enabled?null:el(e,n,i,r.state??y)}function es(e,t={}){let{className:r,style:n,render:i}=e,{state:a=y,ref:o,props:s,stateAttributesMapping:l,enabled:c=!0}=t,u=c?Y(r,a):void 0,d=c?W(n,a):void 0,p=c?H(a,l):y,h=c?q(p,Array.isArray(s)?J(s):s)??y:y;return("undefined"!=typeof document&&(c?Array.isArray(o)?h.ref=P([h.ref,U(i),...o]):h.ref=T(h.ref,U(i),o):T(null,null)),c)?(void 0!==u&&(h.className=ei(h.className,u)),void 0!==d&&(h.style=q(h.style,d)),h):y}function el(e,t,r,n){if(t){if("function"==typeof t)return t(r,n);let e=K(r,t.props);return e.ref=r.ref,a.cloneElement(t,e)}if(e&&"string"==typeof e)return ec(e,r);throw Error(B(8))}function ec(e,t){return"button"===e?(0,a.createElement)("button",{type:"button",...t,key:t.key}):"img"===e?(0,a.createElement)("img",{alt:"",...t,key:t.key}):a.createElement(e,t)}let eu={...o},ed=0;function ep(e,t="mui"){let[r,n]=a.useState(e),i=e||r;return a.useEffect(()=>{null==r&&(ed+=1,n(`${t}-${ed}`))},[r,t]),i}let eh=eu.useId;function ef(e,t){if(void 0!==eh){let r=eh();return e??(t?`${t}-${r}`:r)}return ep(e,t)}function em(e){return ef(e,"base-ui")}function eg(){return"undefined"!=typeof window}function ey(e){return ew(e)?(e.nodeName||"").toLowerCase():"#document"}function ev(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function eb(e){var t;return null==(t=(ew(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function ew(e){return!!eg()&&(e instanceof Node||e instanceof ev(e).Node)}function ex(e){return!!eg()&&(e instanceof Element||e instanceof ev(e).Element)}function ek(e){return!!eg()&&(e instanceof HTMLElement||e instanceof ev(e).HTMLElement)}function eA(e){return!!eg()&&"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof ev(e).ShadowRoot)}function eC(e){let{overflow:t,overflowX:r,overflowY:n,display:i}=e_(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&"inline"!==i&&"contents"!==i}function eS(){return null==n&&(n="undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),n}function eE(e){return/^(html|body|#document)$/.test(ey(e))}function e_(e){return ev(e).getComputedStyle(e)}function eT(e){if("html"===ey(e))return e;let t=e.assignedSlot||e.parentNode||eA(e)&&e.host||eb(e);return eA(t)?t.host:t}function eP(e){let t=eT(e);return eE(t)?e.ownerDocument?e.ownerDocument.body:e.body:ek(t)&&eC(t)?t:eP(t)}function eO(e,t,r){var n;void 0===t&&(t=[]),void 0===r&&(r=!0);let i=eP(e),a=i===(null==(n=e.ownerDocument)?void 0:n.body),o=ev(i);if(!a)return t.concat(i,eO(i,[],r));{let e=eI(o);
1return t.concat(o,o.visualViewport||[],eC(i)?i:[],e&&r?eO(e):[])}}function eI(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}let eM=a.createContext(void 0);function eL(e=!1){let t=a.useContext(eM);if(void 0===t&&!e)throw Error(B(16));return t}function eN(e){let{focusableWhenDisabled:t,disabled:r,composite:n=!1,tabIndex:i=0,isNativeButton:o}=e,s=n&&!1!==t,l=n&&!1===t;return{props:a.useMemo(()=>{let e={onKeyDown(e){r&&t&&"Tab"!==e.key&&e.preventDefault()}};return n||(e.tabIndex=i,!o&&r&&(e.tabIndex=t?i:-1)),(o&&(t||s)||!o&&r)&&(e["aria-disabled"]=r),o&&(!t||l)&&(e.disabled=r),e},[n,r,t,s,l,o,i])}}function eR(e={}){let{disabled:t=!1,focusableWhenDisabled:r,tabIndex:n=0,native:i=!0}=e,o=a.useRef(null),s=void 0!==eL(!0),l=A(()=>{let e=o.current;return!!(e?.tagName==="A"&&e?.href)}),{props:c}=eN({focusableWhenDisabled:r,disabled:t,composite:s,tabIndex:n,isNativeButton:i}),u=a.useCallback(()=>{let e=o.current;ej(e)&&s&&t&&void 0===c.disabled&&e.disabled&&(e.disabled=!1)},[t,c.disabled,s]);return _(u,[u]),{getButtonProps:a.useCallback((e={})=>{let{onClick:r,onMouseDown:n,onKeyUp:a,onKeyDown:o,onPointerDown:s,...u}=e;return K({type:i?"button":void 0,onClick(e){if(t)return void e.preventDefault();r?.(e)},onMouseDown(e){t||n?.(e)},onKeyDown(e){if(t||(en(e),o?.(e)),e.baseUIHandlerPrevented)return;let n=e.target===e.currentTarget&&!i&&!l()&&!t,a="Enter"===e.key,s=" "===e.key;n&&((s||a)&&e.preventDefault(),a&&r?.(e))},onKeyUp(e){t||(en(e),a?.(e)),!e.baseUIHandlerPrevented&&(e.target!==e.currentTarget||i||t||" "!==e.key||r?.(e))},onPointerDown(e){if(t)return void e.preventDefault();s?.(e)}},i?void 0:{role:"button"},c,u)},[t,c,i,l]),buttonRef:A(e=>{o.current=e,u()})}}function ej(e){return ek(e)&&"BUTTON"===e.tagName}let eD=a.createContext({invalid:void 0,name:void 0,validityData:{state:D,errors:[],error:"",value:"",initialValue:null},setValidityData:m,disabled:void 0,touched:!1,setTouched:m,dirty:!1,setDirty:m,filled:!1,setFilled:m,focused:!1,setFocused:m,validate:()=>null,validationMode:"onSubmit",validationDebounceTime:0,shouldValidateOnChange:()=>!1,state:{disabled:!1,valid:null,touched:!1,dirty:!1,filled:!1,focused:!1},markedDirtyRef:{current:!1},validation:{getValidationProps:(e=y)=>e,getInputValidationProps:(e=y)=>e,inputRef:{current:null},commit:async()=>{}}});function eF(e=!0){let t=a.useContext(eD);if(t.setValidityData===m&&!e)throw Error(B(28));return t}let eV=a.createContext({disabled:!1});function eB(){return a.useContext(eV)}var ez=r(56760);function e$(e,t){return{...e,state:{...e.state,valid:!t&&e.state.valid}}}let eU=a.createContext({formRef:{current:{fields:new Map}},errors:{},clearErrors:m,validationMode:"onSubmit",submitAttemptedRef:{current:!1}});function eq(){return a.useContext(eU)}function eH(e){let{enabled:t=!0,value:r,id:n,name:i,controlRef:a,commit:o}=e,{formRef:s}=eq(),{invalid:l,markedDirtyRef:c,validityData:u,setValidityData:d}=eF(),p=A(e.getValue);_(()=>{if(!t)return;let e=r;void 0===e&&(e=p()),null===u.initialValue&&null!==e&&d(t=>({...t,initialValue:e}))},[t,d,r,u.initialValue,p]),_(()=>{t&&n&&s.current.fields.set(n,{getValue:p,name:i,controlRef:a,validityData:e$(u,l),validate(){let e=r;void 0===e&&(e=p()),c.current=!0,ez.flushSync(()=>o(e))}})},[o,a,t,s,p,n,l,c,i,u,r]),_(()=>{let e=s.current.fields;return()=>{n&&e.delete(n)}},[s,n])}let eY=a.createContext({controlId:void 0,setControlId:m,labelId:void 0,setLabelId:m,messageIds:[],setMessageIds:m,getDescriptionProps:e=>e});function eW(){return a.useContext(eY)}let eG=a.createContext(void 0);function eK(e=!0){let t=a.useContext(eG);if(void 0===t&&!e)throw Error(B(3));return t}let eJ=a.createContext(void 0);function eX(){let e=a.useContext(eJ);if(void 0===e)throw Error(B(14));return e}function eQ(e,t,r,n){let i=!1,a=!1,o=n??y;return{reason:e,event:t??new Event("base-ui"),cancel(){i=!0},allowPropagation(){a=!0},get isCanceled(){return i},get isPropagationAllowed(){return a},trigger:r,...o}}let eZ="none",e0="trigger-press",e1="trigger-hover",e2="outside-press",e5="close-press",e3="focus-out",e4="escape-key",e6="imperative-action";function e9(e,t){let r=a.useRef(e),n=A(t);_(()=>{r.current!==e&&n(r.current)},[e,n]),_(()=>{r.current=e},[e])}var e8=r(6029);let e7="data-parent",te=a.forwardRef(function(e,t){let{checked:r,className:n,defaultChecked:i=!1,disabled:o=!1,id:s,indeterminate:l=!1,inputRef:c,name:u,onCheckedChange:d,parent:p=!1,readOnly:h=!1,render:f,required:g=!1,uncheckedValue:b,value:w,nativeButton:x=!1,...k}=e,{clearErrors:C}=eq(),{disabled:S,name:E,setDirty:P,setFilled:O,setFocused:I,setTouched:M,state:L,validationMode:R,validityData:j,shouldValidateOnChange:D,validation:F}=eF(),B=eB(),{labelId:z,controlId:$,setControlId:U,getDescriptionProps:q}=eW(),H=eK(),Y=H?.parent,W=Y&&H.allValues,G=S||B.disabled||H?.disabled||o,J=E??u,X=w??J,Q=em(),Z=em(),ee=$;W?ee=p?Z:`${Y.id}-${X}`:s&&(ee=s);let et={};W&&(p?et=H.parent.getParentProps():X&&(et=H.parent.getChildProps(X)));let er=A(d),{checked:en=r,indeterminate:ei=l,onCheckedChange:ea,...es}=et,el=H?.value,ec=H?.setValue,eu=H?.defaultValue,ed=a.useRef(null),{getButtonProps:ep,buttonRef:eh}=eR({disabled:G,native:x}),ef=H?.validation??F,[eg,ey]=v({controlled:X&&el&&!p?el.includes(X):en,default:X&&eu&&!p?eu.includes(X):i,name:"Checkbox",state:"checked"});_(()=>{if(U!==m)return U(ee),()=>{U(void 0)}},[ee,H,U,p]),eH({enabled:!H,id:Q,commit:ef.commit,value:eg,controlRef:ed,name:J,getValue:()=>eg});let ev=a.useRef(null),eb=T(c,ev,ef.inputRef);_(()=>{ev.current&&(ev.current.indeterminate=ei,eg&&O(!0))},[eg,ei,O]),e9(eg,()=>{(!H||p)&&(C(J),O(eg),P(eg!==j.initialValue),D()?ef.commit(eg):ef.commit(eg,!0))});let ew=K({checked:eg,disabled:G,name:p?void 0:J,id:ee??void 0,required:g,ref:eb,style:N,tabIndex:-1,type:"checkbox","aria-hidden":!0,onChange(e){if(e.nativeEvent.defaultPrevented)return;let t=e.target.checked,r=eQ(eZ,e.nativeEvent);ea?.(t,r),er(t,r),!r.isCanceled&&(ey(t),X&&el&&ec&&!p&&ec(t?[...el,X]:el.filter(e=>e!==X),r))},onFocus(){ed.current?.focus()}},void 0!==w?{value:(H?eg&&w:w)||""}:y,q,H?ef.getValidationProps:ef.getInputValidationProps),ex=W?!!en:eg,ek=W&&ei||l;a.useEffect(()=>{Y&&X&&Y.disabledStatesRef.current.set(X,G)},[Y,G,X]);let eA=a.useMemo(()=>({...L,checked:ex,disabled:G,readOnly:h,required:g,indeterminate:ek}),[L,ex,G,h,g,ek]),eC=V(eA),eS=eo("span",e,{state:eA,ref:[eh,ed,t,H?.registerControlRef],props:[{id:Q,role:"checkbox","aria-checked":ei?"mixed":eg,"aria-readonly":h||void 0,"aria-required":g||void 0,"aria-labelledby":z,[e7]:p?"":void 0,onFocus(){I(!0)},onBlur(){let e=ev.current;e&&(M(!0),I(!1),"onBlur"===R&&ef.commit(H?el:e.checked))},onClick(e){h||G||(e.preventDefault(),ev.current?.click())}},q,ef.getValidationProps,k,es,ep],stateAttributesMapping:eC});return(0,e8.jsxs)(eJ.Provider,{value:eA,children:[eS,!eg&&!H&&J&&!p&&void 0!==b&&(0,e8.jsx)("input",{type:"hidden",name:J,value:b}),(0,e8.jsx)("input",{...ew})]})});function tt(e){let t=w(tr,e).current;return t.next=e,_(t.effect),t}function tr(e){let t={current:e,next:e,effect:()=>{t.current=t.next}};return t}let tn=[];function ti(e){a.useEffect(e,tn)}let ta=null;globalThis.requestAnimationFrame;class to{callbacks=[];callbacksCount=0;nextId=1;startId=1;isScheduled=!1;tick=e=>{this.isScheduled=!1;let t=this.callbacks,r=this.callbacksCount;if(this.callbacks=[],this.callbacksCount=0,this.startId=this.nextId,r>0)for(let r=0;r<t.length;r+=1)t[r]?.(e)};request(e){let t=this.nextId;this.nextId+=1,this.callbacks.push(e),this.callbacksCount+=1;let r=!1;return(!this.isScheduled||r)&&(requestAnimationFrame(this.tick),this.isScheduled=!0),t}cancel(e){let t=e-this.startId;t<0||t>=this.callbacks.length||(this.callbacks[t]=null,this.callbacksCount-=1)}}let ts=new to;class tl{static create(){return new tl}static request(e){return ts.request(e)}static cancel(e){return ts.cancel(e)}currentId=ta;request(e){this.cancel(),this.currentId=ts.request(()=>{this.currentId=ta,e()})}cancel=()=>{this.currentId!==ta&&(ts.cancel(this.currentId),this.currentId=ta)};disposeEffect=()=>this.cancel}function tc(){let e=w(tl.create).current;return ti(e.disposeEffect),e}function tu(e){return null==e?e:"current"in e?e.current:e}function td(e,t=!1,r=!0){let n=tc();return A((i,a=null)=>{n.cancel();let o=tu(e);null!=o&&("function"!=typeof o.getAnimations||globalThis.BASE_UI_ANIMATIONS_DISABLED?i():n.request(()=>{function e(){o&&Promise.all(o.getAnimations().map(e=>e.finished)).then(()=>{null!=a&&a.aborted||ez.flushSync(i)}).catch(()=>{r?null!=a&&a.aborted||ez.flushSync(i):o.getAnimations().length>0&&o.getAnimations().some(e=>e.pending||"finished"!==e.playState)&&e()})}t?n.request(e):e()}))})}function tp(e){let{enabled:t=!0,open:r,ref:n,onComplete:i}=e,o=tt(r),s=A(i),l=td(n,r);a.useEffect(()=>{t&&l(()=>{r===o.current&&s()})},[t,r,s,l,o])}function th(e,t=!1,r=!1){let[n,i]=a.useState(e&&t?"idle":void 0),[o,s]=a.useState(e);return e&&!o&&(s(!0),i("starting")),e||!o||"ending"===n||r||i("ending"),e||o||"ending"!==n||i(void 0),_(()=>{if(!e&&o&&"ending"!==n&&r){let e=tl.request(()=>{i("ending")});return()=>{tl.cancel(e)}}},[e,o,n,r]),_(()=>{if(!e||t)return;let r=tl.request(()=>{ez.flushSync(()=>{i(void 0)})});return()=>{tl.cancel(r)}},[t,e]),_(()=>{if(!e||!t)return;e&&o&&"idle"!==n&&i("starting");let r=tl.request(()=>{i("idle")});return()=>{tl.cancel(r)}},[t,e,o,i,n]),a.useMemo(()=>({mounted:o,setMounted:s,transitionStatus:n}),[o,n])}let tf=function(e){return e.startingStyle="data-starting-style",e.endingStyle="data-ending-style",e}({}),tm={[tf.startingStyle]:""},tg={[tf.endingStyle]:""},ty={transitionStatus:e=>"starting"===e?tm:"ending"===e?tg:null},tv=a.forwardRef(function(e,t){let{render:r,className:n,keepMounted:i=!1,...o}=e,s=eX(),l=s.checked||s.indeterminate,{transitionStatus:c,setMounted:u}=th(l),d=a.useRef(null),p=a.useMemo(()=>({...s,transitionStatus:c}),[s,c]);tp({open:l,ref:d,onComplete(){l||u(!1)}});let h=V(s),f=a.useMemo(()=>({...h,...ty,...F}
1),[h]),m=i||l,g=eo("span",e,{enabled:m,ref:[t,d],state:p,stateAttributesMapping:f,props:o});return m?g:null}),tb="h-400 w-400 shrink-0 flex items-center justify-center rounded-100 border border-border-secondary bg-background-primary transition-colors data-[checked]:border-border-brand data-[checked]:bg-background-brand data-[indeterminate]:border-border-brand data-[indeterminate]:bg-background-brand data-[disabled]:bg-background-disabled data-[disabled]:border-border-disabled data-[disabled]:cursor-not-allowed hover:border-border-primary focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-border-brand",tw="flex items-center justify-center text-content-on-color data-[disabled]:text-content-disabled";function tx(){return(0,i.Y)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:"h-300 w-300",children:(0,i.Y)("polyline",{points:"3,8 6.5,11.5 13,5"})})}function tk(){return(0,i.Y)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",className:"h-300 w-300",children:(0,i.Y)("line",{x1:"3",y1:"8",x2:"13",y2:"8"})})}let tA=(0,a.forwardRef)(function(e,t){let{checked:r,defaultChecked:n,onCheckedChange:o,disabled:l=!1,indeterminate:c=!1,label:u,name:d,value:p,className:h,...f}=e,m=(0,a.useId)(),g=(0,i.Y)(te,{ref:t,checked:r,defaultChecked:n,onCheckedChange:o,disabled:l,indeterminate:c,name:d,value:p,"aria-labelledby":u?m:void 0,...f,className:(0,s.Q)(tb,h),children:(0,i.Y)(tv,{className:tw,keepMounted:!0,children:c?(0,i.Y)(tk,{}):(0,i.Y)(tx,{})})});return u?(0,i.FD)("label",{className:(0,s.Q)("inline-flex items-center gap-200 cursor-pointer",l&&"cursor-not-allowed"),children:[g,(0,i.Y)("span",{id:m,className:(0,s.Q)("text-body-s text-content-primary",l&&"text-content-disabled"),children:u})]}):g}),tC=a.createContext({register:()=>{},unregister:()=>{},subscribeMapChange:()=>()=>{},elementsRef:{current:[]},nextIndexRef:{current:0}});function tS(){return a.useContext(tC)}function tE(e){let{children:t,elementsRef:r,labelsRef:n,onMapChange:i}=e,o=A(i),s=a.useRef(0),l=w(tT).current,c=w(t_).current,[u,d]=a.useState(0),p=a.useRef(u),h=A((e,t)=>{c.set(e,t??null),p.current+=1,d(p.current)}),f=A(e=>{c.delete(e),p.current+=1,d(p.current)}),m=a.useMemo(()=>{let e=new Map;return Array.from(c.keys()).filter(e=>e.isConnected).sort(tP).forEach((t,r)=>{let n=c.get(t)??{};e.set(t,{...n,index:r})}),e},[c,u]);_(()=>{if("function"!=typeof MutationObserver||0===m.size)return;let e=new MutationObserver(e=>{let t=new Set,r=e=>t.has(e)?t.delete(e):t.add(e);e.forEach(e=>{e.removedNodes.forEach(r),e.addedNodes.forEach(r)}),0===t.size&&(p.current+=1,d(p.current))});return m.forEach((t,r)=>{r.parentElement&&e.observe(r.parentElement,{childList:!0})}),()=>{e.disconnect()}},[m]),_(()=>{p.current===u&&(r.current.length!==m.size&&(r.current.length=m.size),n&&n.current.length!==m.size&&(n.current.length=m.size),s.current=m.size),o(m)},[o,m,r,n,u]),_(()=>()=>{r.current=[]},[r]),_(()=>()=>{n&&(n.current=[])},[n]);let g=A(e=>(l.add(e),()=>{l.delete(e)}));_(()=>{l.forEach(e=>e(m))},[l,m]);let y=a.useMemo(()=>({register:h,unregister:f,subscribeMapChange:g,elementsRef:r,labelsRef:n,nextIndexRef:s}),[h,f,g,r,n,s]);return(0,e8.jsx)(tC.Provider,{value:y,children:t})}function t_(){return new Map}function tT(){return new Set}function tP(e,t){let r=e.compareDocumentPosition(t);return r&Node.DOCUMENT_POSITION_FOLLOWING||r&Node.DOCUMENT_POSITION_CONTAINED_BY?-1:r&Node.DOCUMENT_POSITION_PRECEDING||r&Node.DOCUMENT_POSITION_CONTAINS?1:0}let tO=a.createContext(void 0);function tI(){let e=a.useContext(tO);return e?.direction??"ltr"}let tM=a.createContext(void 0);function tL(){let e=a.useContext(tM);if(void 0===e)throw Error(B(64));return e}let tN=function(e){return e.activationDirection="data-activation-direction",e.orientation="data-orientation",e}({}),tR={tabActivationDirection:e=>({[tN.activationDirection]:e})},tj=a.forwardRef(function(e,t){let{className:r,defaultValue:n=0,onValueChange:i,orientation:o="horizontal",render:s,value:l,...c}
1=e,u=tI(),d=a.useRef([]),[p,h]=a.useState(()=>new Map),[f,m]=v({controlled:l,default:n,name:"Tabs",state:"value"}),[g,y]=a.useState(()=>new Map),[b,w]=a.useState("none"),x=A((e,t)=>{i?.(e,t),t.isCanceled||(m(e),w(t.activationDirection))}),k=A((e,t)=>{h(r=>{if(r.get(e)===t)return r;let n=new Map(r);return n.set(e,t),n})}),C=A((e,t)=>{h(r=>{if(!r.has(e)||r.get(e)!==t)return r;let n=new Map(r);return n.delete(e),n})}),S=a.useCallback(e=>p.get(e),[p]),E=a.useCallback(e=>{for(let t of g.values())if(e===t?.value)return t?.id},[g]),_=a.useCallback(e=>{if(void 0===e)return null;for(let[t,r]of g.entries())if(null!=r&&e===(r.value??r.index))return t;return null},[g]),T=a.useMemo(()=>({direction:u,getTabElementBySelectedValue:_,getTabIdByPanelValue:E,getTabPanelIdByValue:S,onValueChange:x,orientation:o,registerMountedTabPanel:k,setTabMap:y,unregisterMountedTabPanel:C,tabActivationDirection:b,value:f}),[u,_,E,S,x,o,k,y,C,b,f]),P=eo("div",e,{state:{orientation:o,tabActivationDirection:b},ref:t,props:c,stateAttributesMapping:tR});return(0,e8.jsx)(tM.Provider,{value:T,children:(0,e8.jsx)(tE,{elementsRef:d,children:P})})});function tD(e){return null==e||e.hasAttribute("disabled")||"true"===e.getAttribute("aria-disabled")}let tF="ArrowUp",tV="ArrowDown",tB="ArrowLeft",tz="ArrowRight",t$="Home",tU="End",tq=new Set([tB,tz]),tH=new Set([tB,tz,t$,tU]),tY=new Set([tF,tV]),tW=new Set([tF,tV,t$,tU]),tG=new Set([...tq,...tY]),tK=new Set([...tG,t$,tU]),tJ=new Set([tF,tV,tB,tz,t$,tU]),tX=new Set(["Shift","Control","Alt","Meta"]);function tQ(e){return ek(e)&&"INPUT"===e.tagName}function tZ(e){return!!(tQ(e)&&null!=e.selectionStart||ek(e)&&"TEXTAREA"===e.tagName)}function t0(e,t,r,n){if(!e||!t||!t.scrollTo)return;let i=e.scrollLeft,a=e.scrollTop,o=e.clientWidth<e.scrollWidth,s=e.clientHeight<e.scrollHeight;if(o&&"vertical"!==n){let n=t1(e,t,"left"),a=t2(e),o=t2(t);"ltr"===r&&(n+t.offsetWidth+o.scrollMarginRight>e.scrollLeft+e.clientWidth-a.scrollPaddingRight?i=n+t.offsetWidth+o.scrollMarginRight-e.clientWidth+a.scrollPaddingRight:n-o.scrollMarginLeft<e.scrollLeft+a.scrollPaddingLeft&&(i=n-o.scrollMarginLeft-a.scrollPaddingLeft)),"rtl"===r&&(n-o.scrollMarginRight<e.scrollLeft+a.scrollPaddingLeft?i=n-o.scrollMarginLeft-a.scrollPaddingLeft:n+t.offsetWidth+o.scrollMarginRight>e.scrollLeft+e.clientWidth-a.scrollPaddingRight&&(i=n+t.offsetWidth+o.scrollMarginRight-e.clientWidth+a.scrollPaddingRight))}if(s&&"horizontal"!==n){let r=t1(e,t,"top"),n=t2(e),i=t2(t);r-i.scrollMarginTop<e.scrollTop+n.scrollPaddingTop?a=r-i.scrollMarginTop-n.scrollPaddingTop:r+t.offsetHeight+i.scrollMarginBottom>e.scrollTop+e.clientHeight-n.scrollPaddingBottom&&(a=r+t.offsetHeight+i.scrollMarginBottom-e.clientHeight+n.scrollPaddingBottom)}e.scrollTo({left:i,top:a,behavior:"auto"})}function t1(e,t,r){let n="left"===r?"offsetLeft":"offsetTop",i=0;for(;t.offsetParent&&(i+=t[n],t.offsetParent!==e);)t=t.offsetParent;return i}function t2(e){let t=getComputedStyle(e);return{scrollMarginTop:parseFloat(t.scrollMarginTop)||0,scrollMarginRight:parseFloat(t.scrollMarginRight)||0,scrollMarginBottom:parseFloat(t.scrollMarginBottom)||0,scrollMarginLeft:parseFloat(t.scrollMarginLeft)||0,scrollPaddingTop:parseFloat(t.scrollPaddingTop)||0,scrollPaddingRight:parseFloat(t.scrollPaddingRight)||0,scrollPaddingBottom:parseFloat(t.scrollPaddingBottom)||0,scrollPaddingLeft:parseFloat(t.scrollPaddingLeft)||0}}let t5=Math.floor,t3="undefined"!=typeof navigator,t4=rn(),t6=ra(),t9=ri(),t8="undefined"!=typeof CSS&&!!CSS.supports&&CSS.supports("-webkit-backdrop-filter:none"),t7="MacIntel"===t4.platform&&t4.maxTouchPoints>1||/iP(hone|ad|od)|iOS/.test(t4.platform);t3&&/firefox/i.test(t9);let re=t3&&/apple/i.test(navigator.vendor);t3&&/Edg/i.test(t9);let rt=t3&&/android/i.test(t6)||/android/i.test(t9);t3&&t6.toLowerCase().startsWith("mac")&&navigator.maxTouchPoints;let rr=t9.includes("jsdom/");function rn(){if(!t3)return{platform:"",maxTouchPoints:-1};let e=navigator.userAgentData;return e?.platform?{platform:e.platform,maxTouchPoints:navigator.maxTouchPoints}:{platform:navigator.platform??"",maxTouchPoints:navigator.maxTouchPoints??-1}}function ri(){if(!t3)return"";let e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map(({brand:e,version:t})=>`${e}/${t}`).join(" "):navigator.userAgent}function ra(){if(!t3)return"";let e=navigator.userAgentData;return e?.platform?e.platform:navigator.platform??""}function ro(e){e.preventDefault(),e.stopPropagation()}function rs(e){return"nativeEvent"in e}function rl(e){return 0===e.mozInputSource&&!!e.isTrusted||(rt&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}function rc(e){return!rr&&(!rt&&0===e.width&&0===e.height||rt&&1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"===e.pointerType||e.width<1&&e.height<1&&0===e.pressure&&0===e.detail&&"touch"===e.pointerType)}function ru(e,t){let r=["mouse","pen"];return t||r.push("",void 0),r.includes(e)}function rd(e){let t=e.type;return"click"===t||"mousedown"===t||"keydown"===t||"keyup"===t}let rp="data-base-ui-focusable",rh="active",rf="selected",rm="input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])",rg="ArrowLeft",ry="ArrowRight",rv="ArrowUp",rb="ArrowDown";function rw(e,t,r){return Math.floor(e/t)!==r}function rx(e,t){return t<0||t>=e.current.length}function rk(e,t){return rC(e,{disabledIndices:t})}function rA(e,t){return rC(e,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})}function rC(e,{startingIndex:t=-1,decrement:r=!1,disabledIndices:n,amount:i=1}={}){let a=t;do a+=r?-i:i;while(a>=0&&a<=e.current.length-1&&rP(e,a,n));return a}function rS(e,{event:t,orientation:r,loopFocus:n,rtl:i,cols:a,disabledIndices:o,minIndex:s,maxIndex:l,prevIndex:c,stopEvent:u=!1}){let d=c,p=[],h={},f=!1;{let t=null,r=-1;e.current.forEach((e,n)=>{if(null==e)return;let i=e.closest('[role="row"]');i&&(f=!0),(i!==t||-1===r)&&(t=i,p[r+=1]=[]),p[r].push(n),h[n]=r})}let m=f&&p.length>0&&p.some(e=>e.length!==a);function g(t){if(!m||-1===c)return;let r=h[c];if(null==r)return;let i=p[r].indexOf(c),a="up"===t?r-1:r+1;n&&(a<0?a=p.length-1:a>=p.length&&(a=0));let s=new Set;for(;a>=0&&a<p.length&&!s.has(a);){s.add(a);let r=p[a];if(0===r.length){a="up"===t?a-1:a+1;continue}let l=Math.min(i,r.length-1);for(let t=l;t>=0;t-=1){let n=r[t];if(!rP(e,n,o))return n}a="up"===t?a-1:a+1,n&&(a<0?a=p.length-1:a>=p.length&&(a=0))}}if(t.key===rv){let r=g("up");if(void 0!==r)u&&ro(t),d=r;else{if(u&&ro(t),-1===c)d=l;else if(d=rC(e,{startingIndex:d,amount:a,decrement:!0,disabledIndices:o}),n&&(c-a<s||d<0)){let e=c%a,t=l%a,r=l-(t-e);d=t===e?l:t>e?r:r-a}rx(e,d)&&(d=c)}}if(t.key===rb){let r=g("down");void 0!==r?(u&&ro(t),d=r):(u&&ro(t),-1===c?d=s:(d=rC(e,{startingIndex:c,amount:a,disabledIndices:o}),n&&c+a>l&&(d=rC(e,{startingIndex:c%a-a,amount:a,disabledIndices:o}))),rx(e,d)&&(d=c))}if("both"===r){let r=t5(c/a);t.key===(i?rg:ry)&&(u&&ro(t),c%a!=a-1?(d=rC(e,{startingIndex:c,disabledIndices:o}
1),n&&rw(d,a,r)&&(d=rC(e,{startingIndex:c-c%a-1,disabledIndices:o}))):n&&(d=rC(e,{startingIndex:c-c%a-1,disabledIndices:o})),rw(d,a,r)&&(d=c)),t.key===(i?ry:rg)&&(u&&ro(t),c%a!=0?(d=rC(e,{startingIndex:c,decrement:!0,disabledIndices:o}),n&&rw(d,a,r)&&(d=rC(e,{startingIndex:c+(a-c%a),decrement:!0,disabledIndices:o}))):n&&(d=rC(e,{startingIndex:c+(a-c%a),decrement:!0,disabledIndices:o})),rw(d,a,r)&&(d=c));let s=t5(l/a)===r;rx(e,d)&&(d=n&&s?t.key===(i?ry:rg)?l:rC(e,{startingIndex:c-c%a-1,disabledIndices:o}):c)}return d}function rE(e,t,r){let n=[],i=0;return e.forEach(({width:e,height:a},o)=>{let s=!1;for(r&&(i=0);!s;){let r=[];for(let n=0;n<e;n+=1)for(let e=0;e<a;e+=1)r.push(i+n+e*t);i%t+e<=t&&r.every(e=>null==n[e])?(r.forEach(e=>{n[e]=o}),s=!0):i+=1}}),[...n]}function r_(e,t,r,n,i){if(-1===e)return -1;let a=r.indexOf(e),o=t[e];switch(i){case"tl":return a;case"tr":if(!o)return a;return a+o.width-1;case"bl":if(!o)return a;return a+(o.height-1)*n;case"br":return r.lastIndexOf(e);default:return -1}}function rT(e,t){return t.flatMap((t,r)=>e.includes(t)?[r]:[])}function rP(e,t,r){if("function"==typeof r)return r(t);if(r)return r.includes(t);let n=e.current[t];return!!n&&(n.hasAttribute("disabled")||"true"===n.getAttribute("aria-disabled"))}let rO="data-composite-item-active",rI=[];function rM(e){let{itemSizes:t,cols:r=1,loopFocus:n=!0,dense:i=!1,orientation:o="both",direction:s,highlightedIndex:l,onHighlightedIndexChange:c,rootRef:u,enableHomeAndEndKeys:d=!1,stopEventPropagation:p=!1,disabledIndices:h,modifierKeys:f=rI}=e,[m,g]=a.useState(0),y=r>1,v=a.useRef(null),b=T(v,u),w=a.useRef([]),x=a.useRef(!1),k=l??m,C=A((e,t=!1)=>{if((c??g)(e),t){let t=w.current[e];t0(v.current,t,s,o)}}),S=A(e=>{if(0===e.size||x.current)return;x.current=!0;let t=Array.from(e.keys()),r=t.find(e=>e?.hasAttribute(rO))??null,n=r?t.indexOf(r):-1;-1!==n&&C(n),t0(v.current,r,s,o)}),E=a.useMemo(()=>({"aria-orientation":"both"===o?void 0:o,ref:b,onFocus(e){v.current&&tZ(e.target)&&e.target.setSelectionRange(0,e.target.value.length??0)},onKeyDown(e){let a=d?tK:tG;if(!a.has(e.key)||rL(e,f)||!v.current)return;let l="rtl"===s,c=l?tB:tz,u={horizontal:c,vertical:tV,both:c}[o],m=l?tz:tB,g={horizontal:m,vertical:tF,both:m}[o];if(tZ(e.target)&&!tD(e.target)){let t=e.target.selectionStart,r=e.target.selectionEnd,n=e.target.value??"";if(null==t||e.shiftKey||t!==r||e.key!==g&&t<n.length||e.key!==u&&t>0)return}let b=k,x=rk(w,h),A=rA(w,h);if(y){let a=t||Array.from({length:w.current.length},()=>({width:1,height:1})),s=rE(a,r,i),c=s.findIndex(e=>null!=e&&!rP(w,e,h)),u=s.reduce((e,t,r)=>null==t||rP(w,t,h)?e:r,-1);b=s[rS({current:s.map(e=>e?w.current[e]:null)},{event:e,orientation:o,loopFocus:n,cols:r,disabledIndices:rT([...h||w.current.map((e,t)=>rP(w,t)?t:void 0),void 0],s),minIndex:c,maxIndex:u,prevIndex:r_(k>A?x:k,a,s,r,e.key===tV?"bl":e.key===tz?"tr":"tl"),rtl:l})]}let S={horizontal:[c],vertical:[tV],both:[c,tV]}[o],E={horizontal:[m],vertical:[tF],both:[m,tF]}[o],_=y?a:({horizontal:d?tH:tq,vertical:d?tW:tY,both:a})[o];d&&(e.key===t$?b=x:e.key===tU&&(b=A)),b===k&&(S.includes(e.key)||E.includes(e.key))&&(b=n&&b===A&&S.includes(e.key)?x:n&&b===x&&E.includes(e.key)?A:rC(w,{startingIndex:b,decrement:E.includes(e.key),disabledIndices:h})),b===k||rx(w,b)||(p&&e.stopPropagation(),_.has(e.key)&&e.preventDefault(),C(b,!0),queueMicrotask(()=>{w.current[b]?.focus()}))}}),[r,i,s,h,w,d,k,y,t,n,b,f,C,o,p]);return a.useMemo(()=>({props:E,highlightedIndex:k,onHighlightedIndexChange:C,elementsRef:w,disabledIndices:h,onMapChange:S,relayKeyboardEvent:E.onKeyDown}),[E,k,C,w,h,S])}function rL(e,t){for(let r of tX.values())if(!t.includes(r)&&e.getModifierState(r))return!0;return!1}function rN(e){let{render:t,className:r,refs:n=g,props:i=g,state:o=y,stateAttributesMapping:s,highlightedIndex:l,onHighlightedIndexChange:c,orientation:u,dense:d,itemSizes:p,loopFocus:h,cols:f,enableHomeAndEndKeys:m,onMapChange:v,stopEventPropagation:b=!0,rootRef:w,disabledIndices:x,modifierKeys:k,highlightItemOnHover:A=!1,tag:C="div",...S}=e,{props:E,highlightedIndex:_,onHighlightedIndexChange:T,elementsRef:P,onMapChange:O,relayKeyboardEvent:I}=rM({itemSizes:p,cols:f,loopFocus:h,dense:d,orientation:u,highlightedIndex:l,onHighlightedIndexChange:c,rootRef:w,stopEventPropagation:b,enableHomeAndEndKeys:m,direction:tI(),disabledIndices:x,modifierKeys:k}),M=eo(C,e,{state:o,ref:n,props:[E,...i,S],stateAttributesMapping:s}),L=a.useMemo(()=>({highlightedIndex:_,onHighlightedIndexChange:T,highlightItemOnHover:A,relayKeyboardEvent:I}),[_,T,A,I]);return(0,e8.jsx)(eM.Provider,{value:L,children:(0,e8.jsx)(tE,{elementsRef:P,onMapChange:e=>{v?.(e),O(e)},children:M})})}let rR=a.createContext(void 0);function rj(){let e=a.useContext(rR);if(void 0===e)throw Error(B(65));return e}let rD=a.forwardRef(function(e,t){let{activateOnFocus:r=!1,className:n,loopFocus:i=!0,render:o,...s}=e,{getTabElementBySelectedValue:l,onValueChange:c,orientation:u,value:d,setTabMap:p,tabActivationDirection:h}=tL(),[f,m]=a.useState(0),[y,v]=a.useState(null),b=rV(d,u,y,l),w=A((e,t)=>
1{e!==d&&(t.activationDirection=b(e),c(e,t))}),x=a.useMemo(()=>({orientation:u,tabActivationDirection:h}),[u,h]),k={"aria-orientation":"vertical"===u?"vertical":void 0,role:"tablist"},C=a.useMemo(()=>({activateOnFocus:r,highlightedTabIndex:f,onTabActivation:w,setHighlightedTabIndex:m,tabsListElement:y,value:d}),[r,f,w,m,y,d]);return(0,e8.jsx)(rR.Provider,{value:C,children:(0,e8.jsx)(rN,{render:o,className:n,state:x,refs:[t,v],props:[k,s],stateAttributesMapping:tR,highlightedIndex:f,enableHomeAndEndKeys:!0,loopFocus:i,orientation:u,onHighlightedIndexChange:m,onMapChange:p,disabledIndices:g})})});function rF(e,t){let{left:r,top:n}=e.getBoundingClientRect(),{left:i,top:a}=t.getBoundingClientRect();return{left:r-i,top:n-a}}function rV(e,t,r,n){let[i,o]=a.useState(null);return _(()=>{if(null==e||null==r)return void o(null);let i=n(e);if(null==i)return void o(null);let{left:a,top:s}=rF(i,r);o("horizontal"===t?a:s)},[t,n,r,e]),a.useCallback(a=>{if(a===e)return"none";if(null==a)return o(null),"none";if(null!=a&&null!=r){let e=n(a);if(null!=e){let{left:n,top:a}=rF(e,r);if(null==i)return o("horizontal"===t?n:a),"none";if("horizontal"===t){if(n<i)return o(n),"left";if(n>i)return o(n),"right"}else if(a<i)return o(a),"up";else if(a>i)return o(a),"down"}}return"none"},[n,t,i,r,e])}function rB(e){return e?.ownerDocument||document}let rz=function(e){return e[e.None=0]="None",e[e.GuessFromOrder=1]="GuessFromOrder",e}({});function r$(e={}){let{label:t,metadata:r,textRef:n,indexGuessBehavior:i,index:o}=e,{register:s,unregister:l,subscribeMapChange:c,elementsRef:u,labelsRef:d,nextIndexRef:p}=tS(),h=a.useRef(-1),[f,m]=a.useState(o??(i===rz.GuessFromOrder?()=>{if(-1===h.current){let e=p.current;p.current+=1,h.current=e}return h.current}:-1)),g=a.useRef(null),y=a.useCallback(e=>{if(g.current=e,-1!==f&&null!==e&&(u.current[f]=e,d)){let r=void 0!==t;d.current[f]=r?t:n?.current?.textContent??e.textContent}},[f,u,d,t,n]);return _(()=>{if(null!=o)return;let e=g.current;if(e)return s(e,r),()=>{l(e)}},[o,s,l,r]),_(()=>{if(null==o)return c(e=>{let t=g.current?e.get(g.current)?.index:null;null!=t&&m(t)})},[o,c,m]),a.useMemo(()=>({ref:y,index:f}),[f,y])}function rU(e={}){let{highlightItemOnHover:t,highlightedIndex:r,onHighlightedIndexChange:n}=eL(),{ref:i,index:o}=r$(e),s=r===o,l=a.useRef(null),c=T(i,l);return{compositeProps:a.useMemo(()=>({tabIndex:s?0:-1,onFocus(){n(o)},onMouseMove(){let e=l.current;if(!t||!e)return;let r=e.hasAttribute("disabled")||"true"===e.ariaDisabled;s||r||e.focus()}}),[s,n,o,t]),compositeRef:c,index:o}}function rq(e){let t=e.activeElement;for(;t?.shadowRoot?.activeElement!=null;)t=t.shadowRoot.activeElement;return t}function rH(e,t){if(!e||!t)return!1;let r=t.getRootNode?.();if(e.contains(t))return!0;if(r&&eA(r)){let r=t;for(;r;){if(e===r)return!0;r=r.parentNode||r.host}}return!1}function rY(e){return"composedPath"in e?e.composedPath()[0]:e.target}function rW(e,t){if(null==t)return!1;if("composedPath"in e)return e.composedPath().includes(t);let r=e;return null!=r.target&&t.contains(r.target)}function rG(e){return e.matches("html,body")}function rK(e){return e?.ownerDocument||document}function rJ(e){return ek(e)&&e.matches(rm)}function rX(e){return!!e&&"combobox"===e.getAttribute("role")&&rJ(e)}function rQ(e){return e?e.hasAttribute(rp)?e:e.querySelector(`[${rp}]`)||e:null}let rZ=a.forwardRef(function(e,t){let{className:r,disabled:n=!1,render:i,value:o,id:s,nativeButton:l=!0,...c}=e,{value:u,getTabPanelIdByValue:d,orientation:p}=tL(),{activateOnFocus:h,highlightedTabIndex:f,onTabActivation:m,setHighlightedTabIndex:g,tabsListElement:y}=rj(),v=em(s),{compositeProps:b,compositeRef:w,index:x}=rU({metadata:a.useMemo(()=>({disabled:n,id:v,value:o}),[n,v,o])}),k=o===u,A=a.useRef(!1);_(()=>{if(A.current){A.current=!1;return}if(!(k&&x>-1&&f!==x))return;let e=y;if(null!=e){let t=rq(rB(e));if(t&&rH(e,t))return}g(x)},[k,x,f,g,n,y]);let{getButtonProps:C,buttonRef:S}=eR({disabled:n,native:l,focusableWhenDisabled:!0}),E=d(o),T=a.useRef(!1),P=a.useRef(!1);function O(e){k||n||m(o,eQ(eZ,e.nativeEvent,void 0,{activationDirection:"none"}))}function I(e){!k&&(x>-1&&g(x),!n&&h&&(!T.current||T.current&&P.current)&&m(o,eQ(eZ,e.nativeEvent,void 0,{activationDirection:"none"})))}function M(e){k||n||(T.current=!0,e.button&&0!==e.button||(P.current=!0,rB(e.currentTarget).addEventListener("pointerup",t,{once:!0})));function t(){T.current=!1,P.current=!1}}return eo("button",e,{state:a.useMemo(()=>({disabled:n,active:k,orientation:p}),[n,k,p]),ref:[t,S,w],props:[b,{role:"tab","aria-controls":E,"aria-selected":k,id:v,onClick:O,onFocus:I,onPointerDown:M,[rO]:k?"":void 0,onKeyDownCapture(){A.current=!0}},c,C]})}),r0=(0,a.createContext)({variant:"underline"});
1function r1(){return(0,a.useContext)(r0)}let r2={underline:"flex border-b border-border-subtle",filled:"flex bg-steel-50 rounded-200 p-100 gap-100"},r5={underline:"px-500 py-300 text-label-m text-content-secondary bg-transparent border-0 border-b-2 border-transparent appearance-none transition-colors hover:bg-overlay-neutral-hover aria-[selected=true]:text-content-brand aria-[selected=true]:border-border-brand aria-[selected=true]:font-medium aria-[selected=true]:-mb-px data-[disabled]:text-content-disabled data-[disabled]:cursor-not-allowed focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-border-brand",filled:"px-400 py-150 text-label-m text-content-secondary bg-transparent border-0 appearance-none rounded-[6px] transition-colors hover:text-content-primary aria-[selected=true]:bg-grey-white aria-[selected=true]:text-content-primary aria-[selected=true]:shadow-sm aria-[selected=true]:font-medium data-[disabled]:text-content-disabled data-[disabled]:cursor-not-allowed"};function r3(e){let{value:t,defaultValue:r,onValueChange:n,variant:a="underline",className:o,children:s}=e;return(0,i.Y)(r0.Provider,{value:{variant:a},children:(0,i.Y)(tj,{value:t,defaultValue:r,onValueChange:n,className:o,children:s})})}function r4(e){let{className:t,children:r}=e,{variant:n}=r1();return(0,i.Y)(rD,{className:(0,s.Q)(r2[n],t),children:r})}function r6(e){let{value:t,disabled:r,className:n,children:a}=e,{variant:o}=r1();return(0,i.Y)(rZ,{value:t,disabled:r,className:(0,s.Q)(r5[o],n),children:a})}function r9(e,t,r){if(t<=2*r+5)return Array.from({length:t},(e,t)=>t+1);let n=Math.max(e-r,1),i=Math.min(e+r,t),a=n>2,o=i<t-1;if(!a&&o)return[...Array.from({length:2*r+3},(e,t)=>t+1),"...",t];if(a&&!o){let e=2*r+3;return[1,"...",...Array.from({length:e},(r,n)=>t-e+1+n)]}return[1,"...",...Array.from({length:i-n+1},(e,t)=>n+t),"...",t]}function r8(e){let{className:t}=e;return(0,i.Y)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",className:(0,s.Q)("size-icon-m",t),children:(0,i.Y)("polyline",{points:"10,3 5,8 10,13"})})}function r7(e){let{className:t}=e;return(0,i.Y)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",className:(0,s.Q)("size-icon-m",t),children:(0,i.Y)("polyline",{points:"6,3 11,8 6,13"})})}let ne={sm:{page:"size-800",nav:"p-200"},md:{page:"size-1000",nav:"p-250 size-1000"}},nt="flex items-center justify-center rounded-999 text-label-m text-content-primary bg-transparent border-0 appearance-none hover:bg-background-accent hover:text-content-on-color transition-colors cursor-pointer",nr="bg-background-brand text-content-on-color hover:bg-background-brand hover:brightness-95",nn="flex items-center justify-center text-label-m text-content-secondary cursor-default",ni="flex items-center justify-center rounded-999 text-content-primary bg-transparent border-0 appearance-none hover:bg-overlay-neutral-hover transition-colors cursor-pointer",na="text-content-disabled cursor-not-allowed hover:bg-transparent",no=(0,a.forwardRef)(function(e,t){let{page:r,totalPages:n,onPageChange:a,size:o="md",siblingCount:l=1,className:c}
1=e,u=r9(r,n,l),d=1===r,p=r===n,h=ne[o];return(0,i.FD)("nav",{ref:t,"aria-label":"Pagination",className:(0,s.Q)("flex items-center gap-300",c),children:[(0,i.Y)("button",{type:"button","aria-label":"Previous page",disabled:d,onClick:()=>a(r-1),className:(0,s.Q)(ni,h.nav,d&&na),children:(0,i.Y)(r8,{})}),(0,i.Y)("div",{className:"flex items-center gap-200",children:u.map((e,t)=>"..."===e?(0,i.Y)("span",{className:(0,s.Q)(nn,h.page),children:"â¦"},"ellipsis-".concat(t)):(0,i.Y)("button",{type:"button","aria-label":"Page ".concat(e),"aria-current":e===r?"page":void 0,onClick:()=>a(e),className:(0,s.Q)(nt,h.page,e===r&&nr),children:e},e))}),(0,i.Y)("button",{type:"button","aria-label":"Next page",disabled:p,onClick:()=>a(r+1),className:(0,s.Q)(ni,h.nav,p&&na),children:(0,i.Y)(r7,{})})]})}),ns=0;class nl{static create(){return new nl}currentId=ns;start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=ns,t()},e)}isStarted(){return this.currentId!==ns}clear=()=>{this.currentId!==ns&&(clearTimeout(this.currentId),this.currentId=ns)};disposeEffect=()=>this.clear}function nc(){let e=w(nl.create).current;return ti(e.disposeEffect),e}let nu={},nd={},np="";function nh(e){if("undefined"==typeof document)return!1;let t=rB(e);return ev(t).innerWidth-t.documentElement.clientWidth>0}function nf(e){let t=rB(e),r=t.documentElement,n=t.body,i=eC(r)?r:n,a=i.style.overflow;return i.style.overflow="hidden",()=>{i.style.overflow=a}}function nm(e){let t=rB(e),r=t.documentElement,n=t.body,i=ev(r),a=0,o=0,s=tl.create(),l="undefined"!=typeof CSS&&CSS.supports?.("scrollbar-gutter","stable");if(t8&&(i.visualViewport?.scale??1)!==1)return()=>{};function c(){let e=i.getComputedStyle(r),t=i.getComputedStyle(n),s=(e.scrollbarGutter||"").includes("both-edges")?"stable both-edges":"stable";a=r.scrollTop,o=r.scrollLeft,nu={scrollbarGutter:r.style.scrollbarGutter,overflowY:r.style.overflowY,overflowX:r.style.overflowX},np=r.style.scrollBehavior,nd={position:n.style.position,height:n.style.height,width:n.style.width,boxSizing:n.style.boxSizing,overflowY:n.style.overflowY,overflowX:n.style.overflowX,scrollBehavior:n.style.scrollBehavior};let c=r.scrollHeight>r.clientHeight,u=r.scrollWidth>r.clientWidth,d="scroll"===e.overflowY||"scroll"===t.overflowY,p="scroll"===e.overflowX||"scroll"===t.overflowX,h=Math.max(0,i.innerWidth-r.clientWidth),f=Math.max(0,i.innerHeight-r.clientHeight),m=parseFloat(t.marginTop)+parseFloat(t.marginBottom),g=parseFloat(t.marginLeft)+parseFloat(t.marginRight),y=eC(r)?r:n;if(l){r.style.scrollbarGutter=s,y.style.overflowY="hidden",y.style.overflowX="hidden";return}Object.assign(r.style,{scrollbarGutter:s,overflowY:"hidden",overflowX:"hidden"}),(c||d)&&(r.style.overflowY="scroll"),(u||p)&&(r.style.overflowX="scroll"),Object.assign(n.style,{position:"relative",height:m||f?`calc(100dvh - ${m+f}px)`:"100dvh",width:g||h?`calc(100vw - ${g+h}px)`:"100vw",boxSizing:"border-box",overflow:"hidden",scrollBehavior:"unset"}),n.scrollTop=a,n.scrollLeft=o,r.setAttribute("data-base-ui-scroll-locked",""),r.style.scrollBehavior="unset"}function u(){Object.assign(r.style,nu),Object.assign(n.style,nd),l||(r.scrollTop=a,r.scrollLeft=o,r.removeAttribute("data-base-ui-scroll-locked"),r.style.scrollBehavior=np)}function d(){u(),s.request(c)}return c(),i.addEventListener("resize",d),()=>{s.cancel(),u(),"function"==typeof i.removeEventListener&&i.removeEventListener("resize",d)}}class ng{lockCount=0;restore=null;timeoutLock=nl.create();timeoutUnlock=nl.create();acquire(e){return this.lockCount+=1,1===this.lockCount&&null===this.restore&&this.timeoutLock.start(0,()=>this.lock(e)),this.release}release=()=>{this.lockCount-=1,0===this.lockCount&&this.restore&&this.timeoutUnlock.start(0,this.unlock)};unlock=()=>{0===this.lockCount&&this.restore&&(this.restore?.(),this.restore=null)};lock(e){if(0===this.lockCount||null!==this.restore)return;let t=rB(e).documentElement,r=ev(t).getComputedStyle(t).overflowY;if("hidden"===r||"clip"===r){this.restore=m;return}let n=t7||!nh(e);this.restore=n?nf(e):nm(e)}}let ny=new ng;function nv(e=!0,t=null){_(()=>{if(e)return ny.acquire(t)},[e,t])}let nb=a.createContext(null),nw=a.createContext(null),nx=()=>a.useContext(nb)?.id||null,nk=e=>{let t=a.useContext(nw);return e??t};var nA=Symbol("NOT_FOUND");function nC(e,t=`expected a function, instead received ${typeof e}`){if("function"!=typeof e)throw TypeError(t)}function nS(e,t=`expected an object, instead received ${typeof e}`){if("object"!=typeof e)throw TypeError(t)}function nE(e,t="expected all items to be functions, instead received the following types: "){if(!e.every(e=>"function"==typeof e)){let r=e.map(e=>"function"==typeof e?`function ${e.name||"unnamed"}()`:typeof e).join(", ");throw TypeError(`${t}[${r}]`)}}var n_=e=>Array.isArray(e)?e:[e];function nT(e){let t=Array.isArray(e[0])?e[0]:e;return nE(t,"createSelector expects all input-selectors to be functions, but received the following types: "),t}function nP(e,t){let r=[],{length:n}=e;for(let i=0;i<n;i++)r.push(e[i].apply(null,t));return r}var nO=0,nI=null,nM=class{revision=nO;_value;
1_lastValue;_isEqual=nL;constructor(e,t=nL){this._value=this._lastValue=e,this._isEqual=t}get value(){return nI?.add(this),this._value}set value(e){this.value!==e&&(this._value=e,this.revision=++nO)}};function nL(e,t){return e===t}function nN(e){return e instanceof nM||console.warn("Not a valid cell! ",e),e.value}function nR(e,t=nL){return new nM(e,t)}var nj=(e,t)=>!1;function nD(){return nR(null,nj)}var nF=e=>{let t=e.collectionTag;null===t&&(t=e.collectionTag=nD()),nN(t)};Symbol();var nV=0,nB=Object.getPrototypeOf({}),nz=class{constructor(e){this.value=e,this.value=e,this.tag.value=e}proxy=new Proxy(this,n$);tag=nD();tags={};children={};collectionTag=null;id=nV++},n$={get:(e,t)=>(function(){let{value:r}=e,n=Reflect.get(r,t);if("symbol"==typeof t||t in nB)return n;if("object"==typeof n&&null!==n){let r=e.children[t];return void 0===r&&(r=e.children[t]=nH(n)),r.tag&&nN(r.tag),r.proxy}{let r=e.tags[t];return void 0===r&&((r=e.tags[t]=nD()).value=n),nN(r),n}})(),ownKeys:e=>(nF(e),Reflect.ownKeys(e.value)),getOwnPropertyDescriptor:(e,t)=>Reflect.getOwnPropertyDescriptor(e.value,t),has:(e,t)=>Reflect.has(e.value,t)},nU=class{constructor(e){this.value=e,this.value=e,this.tag.value=e}proxy=new Proxy([this],nq);tag=nD();tags={};children={};collectionTag=null;id=nV++},nq={get:([e],t)=>("length"===t&&nF(e),n$.get(e,t)),ownKeys:([e])=>n$.ownKeys(e),getOwnPropertyDescriptor:([e],t)=>n$.getOwnPropertyDescriptor(e,t),has:([e],t)=>n$.has(e,t)};function nH(e){return Array.isArray(e)?new nU(e):new nz(e)}function nY(e){let t;return{get:r=>t&&e(t.key,r)?t.value:nA,put(e,r){t={key:e,value:r}},getEntries:()=>t?[t]:[],clear(){t=void 0}}}function nW(e,t){let r=[];function n(e){let n=r.findIndex(r=>t(e,r.key));if(n>-1){let e=r[n];return n>0&&(r.splice(n,1),r.unshift(e)),e.value}return nA}function i(t,i){n(t)===nA&&(r.unshift({key:t,value:i}),r.length>e&&r.pop())}return{get:n,put:i,getEntries:function(){return r},clear:function(){r=[]}}}var nG=(e,t)=>e===t;function nK(e){return function(t,r){if(null===t||null===r||t.length!==r.length)return!1;let{length:n}=t;for(let i=0;i<n;i++)if(!e(t[i],r[i]))return!1;return!0}}function nJ(e,t){let{equalityCheck:r=nG,maxSize:n=1,resultEqualityCheck:i}="object"==typeof t?t:{equalityCheck:t},a=nK(r),o=0,s=n<=1?nY(a):nW(n,a);function l(){let t=s.get(arguments);if(t===nA){if(t=e.apply(null,arguments),o++,i){let e=s.getEntries().find(e=>i(e.value,t));e&&(t=e.value,0!==o&&o--)}s.put(arguments,t)}return t}return l.clearCache=()=>{s.clear(),l.resetResultsCount()},l.resultsCount=()=>o,l.resetResultsCount=()=>{o=0},l}var nX=class{constructor(e){this.value=e}deref(){return this.value}},nQ="undefined"!=typeof WeakRef?WeakRef:nX,nZ=0,n0=1;function n1(){return{s:nZ,v:void 0,o:null,p:null}}function n2(e,t={}){let r,n=n1(),{resultEqualityCheck:i}=t,a=0;function o(){let t,o=n,{length:s}=arguments;for(let e=0,t=s;e<t;e++){let t=arguments[e];if("function"==typeof t||"object"==typeof t&&null!==t){let e=o.o;null===e&&(o.o=e=new WeakMap);let r=e.get(t);void 0===r?(o=n1(),e.set(t,o)):o=r}else{let e=o.p;null===e&&(o.p=e=new Map);let r=e.get(t);void 0===r?(o=n1(),e.set(t,o)):o=r}}let l=o;if(o.s===n0)t=o.v;else if(t=e.apply(null,arguments),a++,i){let e=r?.deref?.()??r;null!=e&&i(e,t)&&(t=e,0!==a&&a--),r="object"==typeof t&&null!==t||"function"==typeof t?new nQ(t):t}return l.s=n0,l.v=t,t}return o.clearCache=()=>{n=n1(),o.resetResultsCount()},o.resultsCount=()=>a,o.resetResultsCount=()=>{a=0},o}function n5(e,...t){let r="function"==typeof e?{memoize:e,memoizeOptions:t}:e,n=(...e)=>{let t,n=0,i=0,a={},o=e.pop();"object"==typeof o&&(a=o,o=e.pop()),nC(o,`createSelector expects an output function after the inputs, but received: [${typeof o}]`);let{memoize:s,memoizeOptions:l=[],argsMemoize:c=n2,argsMemoizeOptions:u=[],devModeChecks:d={}}={...r,...a},p=n_(l),h=n_(u),f=nT(e),m=s(function(){return n++,o.apply(null,arguments)},...p);return Object.assign(c(function(){i++;let e=nP(f,arguments);return t=m.apply(null,e)},...h),{resultFunc:o,memoizedResultFunc:m,dependencies:f,dependencyRecomputations:()=>i,resetDependencyRecomputations:()=>{i=0},lastResult:()=>t,recomputations:()=>n,resetRecomputations:()=>{n=0},memoize:s,argsMemoize:c})};return Object.assign(n,{withTypes:()=>n}),n}var n3=n5(n2),n4=Object.assign((e,t=n3)=>
1{nS(e,`createStructuredSelector expects first argument to be an object where each property is a selector, instead received a ${typeof e}`);let r=Object.keys(e);return t(r.map(t=>e[t]),(...e)=>e.reduce((e,t,n)=>(e[r[n]]=t,e),{}))},{withTypes:()=>n4});n5({memoize:nJ,memoizeOptions:{maxSize:1,equalityCheck:Object.is}});let n6=(e,t,r,n,i,a,...o)=>{let s;if(o.length>0)throw Error(B(1));if(e&&t&&r&&n&&i&&a)s=(o,s,l,c)=>{let u=e(o,s,l,c),d=t(o,s,l,c),p=r(o,s,l,c);return a(u,d,p,n(o,s,l,c),i(o,s,l,c),s,l,c)};else if(e&&t&&r&&n&&i)s=(a,o,s,l)=>{let c=e(a,o,s,l),u=t(a,o,s,l);return i(c,u,r(a,o,s,l),n(a,o,s,l),o,s,l)};else if(e&&t&&r&&n)s=(i,a,o,s)=>{let l=e(i,a,o,s);return n(l,t(i,a,o,s),r(i,a,o,s),a,o,s)};else if(e&&t&&r)s=(n,i,a,o)=>r(e(n,i,a,o),t(n,i,a,o),i,a,o);else if(e&&t)s=(r,n,i,a)=>t(e(r,n,i,a),n,i,a);else if(e)s=e;else throw Error("Missing arguments");return s};class n9{constructor(e){this.state=e,this.listeners=new Set,this.updateTick=0}subscribe=e=>(this.listeners.add(e),()=>{this.listeners.delete(e)});getSnapshot=()=>this.state;setState(e){if(this.state===e)return;this.state=e,this.updateTick+=1;let t=this.updateTick;for(let r of this.listeners){if(t!==this.updateTick)return;r(e)}}update(e){for(let t in e)if(!Object.is(this.state[t],e[t]))return void n9.prototype.setState.call(this,{...this.state,...e})}set(e,t){Object.is(this.state[e],t)||n9.prototype.setState.call(this,{...this.state,[e]:t})}notifyAll(){let e={...this.state};n9.prototype.setState.call(this,e)}}var n8=r(27133),n7=r(7203);let ie=$(19)?ir:ii;function it(e,t,r,n,i){return ie(e,t,r,n,i)}function ir(e,t,r,n,i){let o=a.useCallback(()=>t(e.getSnapshot(),r,n,i),[e,t,r,n,i]);return(0,n8.useSyncExternalStore)(e.subscribe,o,o)}function ii(e,t,r,n,i){return(0,n7.useSyncExternalStoreWithSelector)(e.subscribe,e.getSnapshot,e.getSnapshot,e=>t(e,r,n,i))}class ia extends n9{constructor(e,t={},r){super(e),this.context=t,this.selectors=r}controlledValues=new Map;useSyncedValue(e,t){a.useDebugValue(e),_(()=>{this.state[e]!==t&&this.set(e,t)},[e,t])}useSyncedValueWithCleanup(e,t){_(()=>(this.state[e]!==t&&this.set(e,t),()=>{this.set(e,void 0)}),[e,t])}useSyncedValues(e){_(()=>{this.update(e)},Object.values(e))}useControlledProp(e,t,r){a.useDebugValue(e);let n=void 0!==t;!this.controlledValues.has(e)&&(this.controlledValues.set(e,n),n||Object.is(this.state[e],r)||super.setState({...this.state,[e]:r})),_(()=>{n&&!Object.is(this.state[e],t)&&super.setState({...this.state,[e]:t})},[e,t,r,n])}set(e,t){!0!==this.controlledValues.get(e)&&super.set(e,t)}update(e){let t={...e};for(let e in t)if(Object.hasOwn(t,e)&&!0===this.controlledValues.get(e)){delete t[e];continue}super.update(t)}setState(e){let t={...e};for(let e in t)if(Object.hasOwn(t,e)&&!0===this.controlledValues.get(e)){delete t[e];continue}super.setState({...this.state,...t})}select=(e,t,r,n)=>(0,this.selectors[e])(this.state,t,r,n);useState=(e,t,r,n)=>(a.useDebugValue(e),it(this,this.selectors[e],t,r,n));useContextCallback(e,t){a.useDebugValue(e);let r=A(t??m);this.context[e]=r}useStateSetter(e){let t=a.useRef(void 0);return void 0===t.current&&(t.current=t=>{this.set(e,t)}),t.current}observe(e,t){let r,n=(r="function"==typeof e?e:this.selectors[e])(this.state);return t(n,n,this),this.subscribe(e=>{let i=r(e);if(!Object.is(n,i)){let e=n;n=i,t(i,e,this)}})}}function io(){let e=new Map;return{emit(t,r){e.get(t)?.forEach(e=>e(r))},on(t,r){e.has(t)||e.set(t,new Set),e.get(t).add(r)},off(t,r){e.get(t)?.delete(r)}}}let is={open:n6(e=>e.open),domReferenceElement:n6(e=>e.domReferenceElement),referenceElement:n6(e=>e.positionReference??e.referenceElement),floatingElement:n6(e=>e.floatingElement),floatingId:n6(e=>e.floatingId)};class il extends ia{constructor(e){let{nested:t,noEmit:r,onOpenChange:n,triggerElements:i,...a}=e;super({...a,positionReference:a.referenceElement,domReferenceElement:a.referenceElement},{onOpenChange:n,dataRef:{current:{}},events:io(),nested:t,noEmit:r,triggerElements:i},is)}setOpen=(e,t)=>{if((!e||!this.state.open||rd(t.event))&&(this.context.dataRef.current.openEvent=e?t.event:void 0),!this.context.noEmit){let r={open:e,reason:t.reason,nativeEvent:t.event,nested:this.context.nested,triggerElement:t.trigger};this.context.events.emit("openchange",r)}this.context.onOpenChange?.(e,t)}}function ic(e){let{popupStore:t,noEmit:r=!1,treatPopupAsFloatingElement:n=!1,onOpenChange:i}=e,a=ef(),o=null!=nx(),s=t.useState("open"),l=t.useState("activeTriggerElement"),c=t.useState(n?"popupElement":"positionerElement"),u=t.context.triggerElements,d=w(()=>new il({open:s,referenceElement:l,floatingElement:c,triggerElements:u,onOpenChange:i,floatingId:a,nested:o,noEmit:r})).current;return _(()=>{let e={open:s,floatingId:a,referenceElement:l,floatingElement:c};ex(l)&&(e.domReferenceElement=l),d.update(e)},[s,a,l,c,d]),d.context.onOpenChange=i,d.context.nested=o,d.context.noEmit=r,d}let iu=new Map([["select","listbox"],["combobox","listbox"],["label",!1]]);function id(e,t={}){let r="rootStore"in e?e.rootStore:e,n=r.useState("open"),i=r.useState("floatingId"),o=r.useState("domReferenceElement"),s=r.useState("floatingElement"),{enabled:l=!0,role:c="dialog"}=t,u=ef(),d=o?.id||u,p=a.useMemo(()=>rQ(s)?.id||i,[s,i]),h=iu.get(c)??c,f=null!=nx(),m=a.useMemo(()=>"tooltip"===h||"label"===c?y:{"aria-haspopup":"alertdialog"===h?"dialog":h,"aria-expanded":"false",..."listbox"===h&&{role:"combobox"},..."menu"===h&&f&&{role:"menuitem"},..."select"===c&&{"aria-autocomplete":"none"},..."combobox"===c&&{"aria-autocomplete":"list"}},[h,f,c]),g=a.useMemo(()=>"tooltip"===h||"label"===c?{[`aria-${"label"===c?"labelledby":"describedby"}`]:n?p:void 0}:{...m,"aria-expanded":n?"true":"false","aria-controls":n?p:void 0,..."menu"===h&&{id:d}},[h,p,n,d,c,m]),v=a.useMemo(()=>
1{let e={id:p,...h&&{role:h}};return"tooltip"===h||"label"===c?e:{...e,..."menu"===h&&{"aria-labelledby":d}}},[h,p,d,c]),b=a.useCallback(({active:e,selected:t})=>{let r={role:"option",...e&&{id:`${p}-fui-option`}};switch(c){case"select":case"combobox":return{...r,"aria-selected":t}}return{}},[p,c]);return a.useMemo(()=>l?{reference:g,floating:v,item:b,trigger:m}:{},[l,g,v,m,b])}function ip(e,t,r=!0){return e.filter(e=>e.parentId===t&&(!r||e.context?.open)).flatMap(t=>[t,...ip(e,t.id,r)])}function ih(e,t){let r=[],n=e.find(e=>e.id===t)?.parentId;for(;n;){let t=e.find(e=>e.id===n);n=t?.parentId,t&&(r=r.concat(t))}return r}function im(e){return`data-base-ui-${e}`}let ig={intentional:"onClick",sloppy:"onPointerDown"};function iy(e){return{escapeKey:"boolean"==typeof e?e:e?.escapeKey??!1,outsidePress:"boolean"==typeof e?e:e?.outsidePress??!0}}function iv(e,t={}){let r="rootStore"in e?e.rootStore:e,n=r.useState("open"),i=r.useState("floatingElement"),o=r.useState("referenceElement"),s=r.useState("domReferenceElement"),{onOpenChange:l,dataRef:c}=r.context,{enabled:u=!0,escapeKey:d=!0,outsidePress:p=!0,outsidePressEvent:h="sloppy",referencePress:f=!1,referencePressEvent:m="sloppy",ancestorScroll:g=!1,bubbles:y,externalTree:v}=t,b=nk(v),w=A("function"==typeof p?p:()=>!1),x="function"==typeof p?w:p,k=a.useRef(!1),{escapeKey:C,outsidePress:S}=iy(y),E=a.useRef(null),_=nc(),T=nc(),P=A(()=>{T.clear(),c.current.insideReactTree=!1}),O=a.useRef(!1),I=a.useRef(""),M=A(e=>{I.current=e.pointerType}),L=A(()=>{let e=I.current,t="pen"!==e&&e?e:"mouse",r="function"==typeof h?h():h;return"string"==typeof r?r:r[t]}),N=A(e=>{if(!n||!u||!d||"Escape"!==e.key||O.current)return;let t=c.current.floatingContext?.nodeId,i=b?ip(b.nodesRef.current,t):[];if(!C&&i.length>0){let e=!0;if(i.forEach(t=>{t.context?.open&&!t.context.dataRef.current.__escapeKeyBubbles&&(e=!1)}),!e)return}let a=eQ(e4,rs(e)?e.nativeEvent:e);r.setOpen(!1,a),C||a.isPropagationAllowed||e.stopPropagation()}),R=A(e=>{let t=L();return"intentional"===t&&"click"!==e.type||"sloppy"===t&&"click"===e.type}),j=A(()=>{c.current.insideReactTree=!0,T.start(0,P)}),D=A((e,t=!1)=>{if(R(e)||c.current.insideReactTree)return void P();if("intentional"===L()&&t||"function"==typeof x&&!x(e))return;let n=rY(e),i=`[${im("inert")}]`,a=rK(r.select("floatingElement")).querySelectorAll(i),o=r.context.triggerElements;if(n&&(o.hasElement(n)||o.hasMatchingElement(e=>rH(e,n))))return;let s=ex(n)?n:null;for(;s&&!eE(s);){let e=eT(s);if(eE(e)||!ex(e))break;s=e}if(a.length&&ex(n)&&!rG(n)&&!rH(n,r.select("floatingElement"))&&Array.from(a).every(e=>!rH(s,e)))return;if(ek(n)&&!("touches"in e)){let t=eE(n),r=e_(n),i=/auto|scroll/,a=t||i.test(r.overflowX),o=t||i.test(r.overflowY),s=a&&n.clientWidth>0&&n.scrollWidth>n.clientWidth,l=o&&n.clientHeight>0&&n.scrollHeight>n.clientHeight,c="rtl"===r.direction,u=l&&(c?e.offsetX<=n.offsetWidth-n.clientWidth:e.offsetX>n.clientWidth),d=s&&e.offsetY>n.clientHeight;if(u||d)return}let l=c.current.floatingContext?.nodeId,u=b&&ip(b.nodesRef.current,l).some(t=>rW(e,t.context?.elements.floating));if(rW(e,r.select("floatingElement"))||rW(e,r.select("domReferenceElement"))||u)return;let d=b?ip(b.nodesRef.current,l):[];if(d.length>0){let e=!0;if(d.forEach(t=>{t.context?.open&&!t.context.dataRef.current.__outsidePressBubbles&&(e=!1)}),!e)return}r.setOpen(!1,eQ(e2,e)),P()}),F=A(e=>{"sloppy"!==L()||"touch"===e.pointerType||!r.select("open")||!u||rW(e,r.select("floatingElement"))||rW(e,r.select("domReferenceElement"))||D(e)}),V=A(e=>{if("sloppy"!==L()||!r.select("open")||!u||rW(e,r.select("floatingElement"))||rW(e,r.select("domReferenceElement")))return;let t=e.touches[0];t&&(E.current={startTime:Date.now(),startX:t.clientX,startY:t.clientY,dismissOnTouchEnd:!1,dismissOnMouseDown:!0},_.start(1e3,()=>{E.current&&(E.current.dismissOnTouchEnd=!1,E.current.dismissOnMouseDown=!1)}))}),B=A(e=>{let t=rY(e);function r(){V(e),t?.removeEventListener(e.type,r)}t?.addEventListener(e.type,r)}),z=A(e=>{let t=k.current;if(k.current=!1,_.clear(),"mousedown"===e.type&&E.current&&!E.current.dismissOnMouseDown)return;let r=rY(e);function n(){"pointerdown"===e.type?F(e):D(e,t),r?.removeEventListener(e.type,n)}r?.addEventListener(e.type,n)}),$=A(e=>{if("sloppy"!==L()||!E.current||rW(e,r.select("floatingElement"))||rW(e,r.select("domReferenceElement")))return;let t=e.touches[0];if(!t)return;let n=Math.abs(t.clientX-E.current.startX),i=Math.abs(t.clientY-E.current.startY),a=Math.sqrt(n*n+i*i);a>5&&(E.current.dismissOnTouchEnd=!0),a>10&&(D(e),_.clear(),E.current=null)}),U=A(e=>{let t=rY(e);function r(){$(e),t?.removeEventListener(e.type,r)}t?.addEventListener(e.type,r)}),q=A(e=>{"sloppy"!==L()||!E.current||rW(e,r.select("floatingElement"))||rW(e,r.select("domReferenceElement"))||(E.current.dismissOnTouchEnd&&D(e),_.clear(),E.current=null)}),H=A(e=>{let t=rY(e);function r(){q(e),t?.removeEventListener(e.type,r)}t?.addEventListener(e.type,r)});a.useEffect(()=>{if(!n||!u)return;c.current.__escapeKeyBubbles=C,c.current.__outsidePressBubbles=S;let e=new nl;function t(e){r.setOpen(!1,eQ(eZ,e))}function a(){e.clear(),O.current=!0}function l(){e.start(5*!!eS(),()=>{O.current=!1})}let p=rK(i);p.addEventListener("pointerdown",M,!0),d&&(p.addEventListener("keydown",N),p.addEventListener("compositionstart",a),p.addEventListener("compositionend",l)),x&&(p.addEventListener("click",z,!0),p.addEventListener("pointerdown",z,!0),p.addEventListener("touchstart",B,!0),p.addEventListener("touchmove",U,!0),p.addEventListener("touchend",H,!0),p.addEventListener("mousedown",z,!0));let h=[];return g&&(ex(s)&&(h=eO(s)),ex(i)&&(h=h.concat(eO(i))),!ex(o)&&o&&o.contextElement&&(h=h.concat(eO(o.contextElement)))),(h=h.filter(e=>
1e!==p.defaultView?.visualViewport)).forEach(e=>{e.addEventListener("scroll",t,{passive:!0})}),()=>{p.removeEventListener("pointerdown",M,!0),d&&(p.removeEventListener("keydown",N),p.removeEventListener("compositionstart",a),p.removeEventListener("compositionend",l)),x&&(p.removeEventListener("click",z,!0),p.removeEventListener("pointerdown",z,!0),p.removeEventListener("touchstart",B,!0),p.removeEventListener("touchmove",U,!0),p.removeEventListener("touchend",H,!0),p.removeEventListener("mousedown",z,!0)),h.forEach(e=>{e.removeEventListener("scroll",t)}),e.clear()}},[c,i,o,s,d,x,n,l,g,u,C,S,N,D,z,F,B,U,H,M,r]),a.useEffect(P,[x,P]);let Y=a.useMemo(()=>({onKeyDown:N,...f&&{[ig[m]]:e=>{r.setOpen(!1,eQ(e0,e.nativeEvent))},..."intentional"!==m&&{onClick(e){r.setOpen(!1,eQ(e0,e.nativeEvent))}}}}),[N,r,f,m]),W=A(e=>{let t=rY(e.nativeEvent);rH(r.select("floatingElement"),t)&&0===e.button&&(k.current=!0)}),G=a.useMemo(()=>({onKeyDown:N,onPointerDown:W,onMouseDown:W,onMouseUp:W,onClickCapture:j,onMouseDownCapture:j,onPointerDownCapture:j,onMouseUpCapture:j,onTouchEndCapture:j,onTouchMoveCapture:j}),[N,W,j]);return a.useMemo(()=>u?{reference:Y,floating:G,trigger:Y}:{},[u,Y,G])}function ib(e=[]){let t=e.map(e=>e?.reference),r=e.map(e=>e?.floating),n=e.map(e=>e?.item),i=e.map(e=>e?.trigger),o=a.useCallback(t=>iw(t,e,"reference"),t),s=a.useCallback(t=>iw(t,e,"floating"),r),l=a.useCallback(t=>iw(t,e,"item"),n),c=a.useCallback(t=>iw(t,e,"trigger"),i);return a.useMemo(()=>({getReferenceProps:o,getFloatingProps:s,getItemProps:l,getTriggerProps:c}),[o,s,l,c])}function iw(e,t,r){let n=new Map,i="item"===r,a={};for(let t in"floating"===r&&(a.tabIndex=-1,a[rp]=""),e)i&&e&&(t===rh||t===rf)||(a[t]=e[t]);for(let o=0;o<t.length;o+=1){let s,l=t[o]?.[r];(s="function"==typeof l?e?l(e):null:l)&&ix(a,s,i,n)}return ix(a,e,i,n),a}function ix(e,t,r,n){for(let i in t){let a=t[i];r&&(i===rh||i===rf)||(i.startsWith("on")?(n.has(i)||n.set(i,[]),"function"==typeof a&&(n.get(i)?.pu
1sh(a),e[i]=(...e)=>n.get(i)?.map(t=>t(...e)).find(e=>void 0!==e))):e[i]=a)}}function ik(e){let t=a.useRef(""),r=a.useCallback(r=>{r.defaultPrevented||(t.current=r.pointerType,e(r,r.pointerType))},[e]);return{onClick:a.useCallback(r=>{if(0===r.detail)return void e(r,"keyboard");"pointerType"in r&&e(r,r.pointerType),e(r,t.current),t.current=""},[e]),onPointerDown:r}}function iA(e){let[t,r]=a.useState(null),n=A((t,n)=>{e||r(n)}),i=a.useCallback(()=>{r(null)},[]),{onClick:o,onPointerDown:s}=ik(n);return a.useMemo(()=>({openMethod:t,reset:i,triggerProps:{onClick:o,onPointerDown:s}}),[t,i,o,s])}function iC(e,t){let r=a.useRef(null);return a.useCallback(n=>{if(void 0!==e&&(null!==r.current&&(t.context.triggerElements.delete(r.current),r.current=null),null!==n))return r.current=e,t.context.triggerElements.add(e,n),()=>{null!==r.current&&(t.context.triggerElements.delete(r.current),r.current=null)}},[t,e])}function iS(e,t,r,n){let i=r.useState("isMountedByTrigger",e),a=iC(e,r),o=A(t=>{let i=a(t);return null!==t&&r.select("open")&&null==r.select("activeTriggerId")&&r.update({activeTriggerId:e,activeTriggerElement:t,...n}),i});return _(()=>{i&&r.update({activeTriggerElement:t.current,...n})},[i,r,t,...Object.values(n)]),{registerTrigger:o,isMountedByThisTrigger:i}}function iE(e){let t=e.useState("open");_(()=>{if(t&&!e.select("activeTriggerId")&&1===e.context.triggerElements.size){let t=e.context.triggerElements.entries().next();if(!t.done){let[r,n]=t.value;e.update({activeTriggerId:r,activeTriggerElement:n})}}},[t,e])}function i_(e,t,r){let{mounted:n,setMounted:i,transitionStatus:a}=th(e);t.useSyncedValues({mounted:n,transitionStatus:a});let o=A(()=>{i(!1),t.update({activeTriggerId:null,activeTriggerElement:null,mounted:!1}),r?.(),t.context.onOpenChangeComplete?.(!1)});return tp({enabled:!t.useState("preventUnmountingOnClose"),open:e,ref:t.context.popupRef,onComplete(){e||o()}}),{forceUnmount:o,transitionStatus:a}}function iT(e){let{store:t,parentContext:r,actionsRef:n}=e,i=t.useState("open"),o=t.useState("disablePointerDismissal"),s=t.useState("modal"),l=t.useState("popupElement"),{openMethod:c,triggerProps:u,reset:d}=iA(i);iE(t);let{forceUnmount:p}=i_(i,t,()=>{d()}),h=A(e=>{let r=eQ(e);return r.preventUnmountOnClose=()=>{t.set("preventUnmountingOnClose",!0)},r}),f=a.useCallback(()=>{t.setOpen(!1,h(e6))},[t,h]);a.useImperativeHandle(n,()=>({unmount:p,close:f}),[p,f]);let m=ic({popupStore:t,onOpenChange:t.setOpen,treatPopupAsFloatingElement:!0,noEmit:!0}),[g,y]=a.useState(0),v=0===g,b=id(m),w=iv(m,{outsidePressEvent:()=>t.context.internalBackdropRef.current||t.context.backdropRef.current?"intentional":{mouse:"trap-focus"===s?"sloppy":"intentional",touch:"sloppy"},outsidePress(e){if("button"in e&&0!==e.button||"touches"in e&&1!==e.touches.length)return!1;let r=rY(e);if(v&&!o){let e=r;return!s||!t.context.internalBackdropRef.current&&!t.context.backdropRef.current||t.context.internalBackdropRef.current===e||t.context.backdropRef.current===e||rH(e,l)&&!e?.hasAttribute("data-base-ui-portal")}return!1},escapeKey:v});nv(i&&!0===s,l);let{getReferenceProps:x,getFloatingProps:k,getTriggerProps:C}=ib([b,w]);t.useContextCallback("onNestedDialogOpen",e=>{y(e+1)}),t.useContextCallback("onNestedDialogClose",()=>{y(0)}),a.useEffect(()=>(r?.onNestedDialogOpen&&i&&r.onNestedDialogOpen(g),r?.onNestedDialogClose&&!i&&r.onNestedDialogClose(),()=>{r?.onNestedDialogClose&&i&&r.onNestedDialogClose()}),[i,r,g]);let S=a.useMemo(()=>x(u),[x,u]),E=a.useMemo(()=>C(u),[C,u]),_=a.useMemo(()=>k(),[k]);t.useSyncedValues({openMethod:c,activeTriggerProps:S,inactiveTriggerProps:E,popupProps:_,floatingRootContext:m,nestedOpenDialogCount:g})}let iP=a.createContext(void 0);function iO(e){let t=a.useContext(iP);if(!1===e&&void 0===t)throw Error(B(27));return t}class iI{constructor(){this.elements=new Set,this.idMap=new Map}add(e,t){let r=this.idMap.get(e);r!==t&&(void 0!==r&&this.elements.delete(r),this.elements.add(t),this.idMap.set(e,t))}delete(e){let t=this.idMap.get(e);t&&(this.elements.delete(t),this.idMap.delete(e))}hasElement(e){return this.elements.has(e)}hasMatchingElement(e){for(let t of this.elements)if(e(t))return!0;return!1}getById(e){return this.idMap.get(e)}entries(){return this.idMap.entries()}get size(){return this.idMap.size}}function iM(){return new il({open:!1,floatingElement:null,referenceElement:null,triggerElements:new iI,floatingId:"",nested:!1,noEmit:!1,onOpenChange:void 0})}function iL(){return{open:!1,mounted:!1,transitionStatus:"idle",floatingRootContext:iM(),preventUnmountingOnClose:!1,payload:void 0,activeTriggerId:null,activeTriggerElement:null,popupElement:null,positionerElement:null,activeTriggerProps:y,inactiveTriggerProps:y,popupProps:y}}let iN={...{open:n6(e=>e.open),mounted:n6(e=>e.mounted),transitionStatus:n6(e=>e.transitionStatus),floatingRootContext:n6(e=>e.floatingRootContext),preventUnmountingOnClose:n6(e=>e.preventUnmountingOnClose),payload:n6(e=>e.payload),activeTriggerId:n6(e=>e.activeTriggerId),activeTriggerElement:n6(e=>e.mounted?e.activeTriggerElement:null),isTriggerActive:n6((e,t)=>void 0!==t&&e.activeTriggerId===t),isOpenedByTrigger:n6((e,t)=>void 0!==t&&e.activeTriggerId===t&&e.open),isMountedByTrigger:n6((e,t)=>void 0!==t&&e.activeTriggerId===t&&e.mounted),triggerProps:n6((e,t)=>t?e.activeTriggerProps:e.inactiveTriggerProps),popupProps:n6(e=>e.popupProps),popupElement:n6(e=>e.popupElement),positionerElement:n6(e=>e.positionerElement)},modal:n6(e=>e.modal),nested:n6(e=>e.nested),nestedOpenDialogCount:n6(e=>e.nestedOpenDialogCount),disablePointerDismissal:n6(e=>e.disablePointerDismissal),openMethod:n6(e=>e.openMethod),descriptionElementId:n6(e=>e.descriptionElementId),titleElementId:n6(e=>e.titleElementId),viewportElement:n6(e=>e.viewportElement),role:n6(e=>e.role)};class iR extends ia{constructor(e){super(ij(e),{popupRef:a.createRef(),backdropRef:a.createRef(),internalBackdropRef:a.createRef(),triggerElements:new iI,onOpenChange:void 0,onOpenChangeComplete:void 0},iN)}setOpen=(e,t)=>{if(t.preventUnmountOnClose=()=>{this.set("preventUnmountingOnClose",!0)},e||null!=t.trigger||null==this.state.activeTriggerId||(t.trigger=this.state.activeTriggerElement??void 0),this.context.onOpenChange?.(e,t),t.isCanceled)return;let r={open:e,nativeEvent:t.event,reason:t.reason,nested:this.state.nested};this.state.floatingRootContext.context.events?.emit("openchange",r);let n={open:e},i=t.trigger?.id??null;(i||e)&&(n.activeTriggerId=i,n.activeTriggerElement=t.trigger??null),this.update(n)}}function ij(e={}){return{...iL(),modal:!0,disablePointerDismissal:!1,popupElement:null,viewportElement:null,descriptionElementId:void 0,titleElementId:void 0,openMethod:null,nested:!1,nestedOpenDialogCount:0,role:"dialog",...e}}function iD(e){let{children:t,open:r,defaultOpen:n=!1,onOpenChange:i,onOpenChangeComplete:o,actionsRef:s,handle:l,triggerId:c,defaultTr
1iggerId:u=null}=e,d=iO(),p=!!d,h=w(()=>l?.store??new iR({open:r??n,activeTriggerId:void 0!==c?c:u,modal:!0,disablePointerDismissal:!0,nested:p,role:"alertdialog"})).current;h.useControlledProp("open",r,n),h.useControlledProp("activeTriggerId",c,u),h.useSyncedValue("nested",p),h.useContextCallback("onOpenChange",i),h.useContextCallback("onOpenChangeComplete",o);let f=h.useState("payload");iT({store:h,actionsRef:s,parentContext:d?.store.context,onOpenChange:i,triggerIdProp:c});let m=a.useMemo(()=>({store:h}),[h]);return(0,e8.jsx)(iP.Provider,{value:m,children:"function"==typeof t?t({payload:f}):t})}let iF=function(e){return e.open="data-open",e.closed="data-closed",e[e.startingStyle=tf.startingStyle]="startingStyle",e[e.endingStyle=tf.endingStyle]="endingStyle",e.anchorHidden="data-anchor-hidden",e}({}),iV=function(e){return e.popupOpen="data-popup-open",e.pressed="data-pressed",e}({}),iB={[iV.popupOpen]:""};iV.popupOpen,iV.pressed;let iz={[iF.open]:""},i$={[iF.closed]:""},iU={[iF.anchorHidden]:""},iq={open:e=>e?iB:null},iH={open:e=>e?iz:i$,anchorHidden:e=>e?iU:null},iY="data-base-ui-click-trigger",iW={clipPath:"inset(50%)",position:"fixed",top:0,left:0};function iG(e,t={}){let r="rootStore"in e?e.rootStore:e,n=r.context.dataRef,{enabled:i=!0,event:o="click",toggle:s=!0,ignoreMouse:l=!1,stickIfOpen:c=!0,touchOpenDelay:u=0}=t,d=a.useRef(void 0),p=tc(),h=nc(),f=a.useMemo(()=>({onPointerDown(e){d.current=e.pointerType},onMouseDown(e){let t=d.current,i=e.nativeEvent,a=r.select("open");if(0!==e.button||"click"===o||ru(t,!0)&&l)return;let f=n.current.openEvent,m=f?.type,g=r.select("domReferenceElement")!==e.currentTarget,y=a&&g||!(a&&s&&(!f||!c||"click"===m||"mousedown"===m));if(rJ(i.target)){let e=eQ(e0,i,i.target);y&&"touch"===t&&u>0?h.start(u,()=>{r.setOpen(!0,e)}):r.setOpen(y,e);return}let v=e.currentTarget;p.request(()=>{let e=eQ(e0,i,v);y&&"touch"===t&&u>0?h.start(u,()=>{r.setOpen(!0,e)}):r.setOpen(y,e)})},onClick(e){if("mousedown-only"===o)return;let t=d.current;if("mousedown"===o&&t){d.current=void 0;return}if(ru(t,!0)&&l)return;let i=r.select("open"),a=n.current.openEvent,p=r.select("domReferenceElement")!==e.currentTarget,f=i&&p||!(i&&s&&(!a||!c||rd(a))),m=eQ(e0,e.nativeEvent,e.currentTarget);f&&"touch"===t&&u>0?h.start(u,()=>{r.setOpen(!0,m)}):r.setOpen(f,m)},onKeyDown(){d.current=void 0}}),[n,o,l,r,c,s,p,h,u]);return a.useMemo(()=>i?{reference:f}:y,[i,f])}let iK=a.forwardRef(function(e,t){let{render:r,className:n,disabled:i=!1,nativeButton:o=!0,id:s,payload:l,handle:c,...u}=e,d=iO(!0),p=c?.store??d?.store;if(!p)throw Error(B(79));let h=em(s),f=p.useState("floatingRootContext"),m=p.useState("isOpenedByTrigger",h),g=a.useRef(null),{registerTrigger:y,isMountedByThisTrigger:v}=iS(h,g,p,{payload:l}),{getButtonProps:b,buttonRef:w}=eR({disabled:i,native:o}),x=ib([iG(f,{enabled:null!=f})]),k=a.useMemo(()=>({disabled:i,open:m}),[i,m]),A=p.useState("triggerProps",v);return eo("button",e,{state:k,ref:[w,t,y,g],props:[x.getReferenceProps(),A,{[iY]:"",id:h},u,b],stateAttributesMapping:iq})});function iJ(e){return $(19)?e:e?"true":void 0}let iX=a.forwardRef(function(e,t){let[r,n]=a.useState();_(()=>{re&&n("button")},[]);let i={tabIndex:0,role:r};return(0,e8.jsx)("span",{...e,ref:t,style:N,"aria-hidden":!r||void 0,...i,"data-base-ui-focus-guard":""})});var iQ='input:not([inert]):not([inert] *),select:not([inert]):not([inert] *),textarea:not([inert]):not([inert] *),a[href]:not([inert]):not([inert] *),button:not([inert]):not([inert] *),[tabindex]:not(slot):not([inert]):not([inert] *),audio[controls]:not([inert]):not([inert] *),video[controls]:not([inert]):not([inert] *),[contenteditable]:not([contenteditable="false"]):not([inert]):not([inert] *),details>summary:first-of-type:not([inert]):not([inert] *),details:not([inert]):not([inert] *)',iZ="undefined"==typeof Element,i0=iZ?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,i1=!iZ&&Element.prototype.getRootNode?function(e){var t;return null==e||null==(t=e.getRootNode)?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},i2=function(e,t){void 0===t&&(t=!0);var r,n=null==e||null==(r=e.getAttribute)?void 0:r.call(e,"inert");return""===n||"true"===n||t&&e&&("function"==typeof e.closest?e.closest("[inert]"):i2(e.parentNode))},i5=function(e){var t,r=null==e||null==(t=e.getAttribute)?void 0:t.call(e,"contenteditable");return""===r||"true"===r},i3=function(e,t,r){if(i2(e))return[];var n=Array.prototype.slice.apply(e.querySelectorAll(iQ));return t&&i0.call(e,iQ)&&n.unshift(e),n=n.filter(r)},i4=function(e,t,r){for(var n=[],i=Array.from(e);i.length;){var a=i.shift();if(!i2(a,!1))if("SLOT"===a.tagName){var o=a.assignedElements(),s=i4(o.length?o:a.children,!0,r);r.flatten?n.push.apply(n,s):n.push({scopeParent:a,candidates:s})}else{i0.call(a,iQ)&&r.filter(a)&&(t||!e.includes(a))&&n.push(a);var l=a.shadowRoot||"function"==typeof r.getShadowRoot&&r.getShadowRoot(a),c=!i2(l,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(a));if(l&&c){var u=i4(!0===l?a.children:l.children,!0,r);r.flatten?n.push.apply(n,u):n.push({scopeParent:a,candidates:u})}else i.unshift.apply(i,a.children)}}return n},i6=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},i9=function(e){if(!e)throw Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||i5(e))&&!i6(e)?0:e.tabIndex},i8=function(e,t){var r=i9(e);return r<0&&t&&!i6(e)?0:r},i7=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},ae=function(e){return"INPUT"===e.tagName},at=function(e){return ae(e)&&"hidden"===e.type},ar=function(e){return"DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some(function(e){return"SUMMARY"===e.tagName})},an=function(e,t){for(var r=0;r<e.length;r++)if(e[r].checked&&e[r].form===t)return e[r]},ai=function(e){if(!e.name)return!0;var t,r=e.form||i1(e),n=function(e){return r.querySelectorAll('input[type="radio"][name="'+e+'"]')};if("undefined"!=typeof window&&void 0!==window.CSS&&"function"==typeof window.CSS.escape)t=n(window.CSS.escape(e.name));else try{t=n(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var i=an(t,e.form);return!i||i===e},aa=function(e){return ae(e)&&"radio"===e.type},ao=function(e){return aa(e)&&!ai(e)},as=function(e){var t,r,n,i,a,o,s,l=e&&i1(e),c=null==(t=l)?void 0:t.host,u=!1;if(l&&l!==e)for(u=!!(null!=(r=c)&&null!=(n=r.ownerDocument)&&n.c
1ontains(c)||null!=e&&null!=(i=e.ownerDocument)&&i.contains(e));!u&&c;)u=!!(null!=(o=c=null==(a=l=i1(c))?void 0:a.host)&&null!=(s=o.ownerDocument)&&s.contains(c));return u},al=function(e){var t=e.getBoundingClientRect(),r=t.width,n=t.height;return 0===r&&0===n},ac=function(e,t){var r=t.displayCheck,n=t.getShadowRoot;if("full-native"===r&&"checkVisibility"in e)return!e.checkVisibility({checkOpacity:!1,opacityProperty:!1,contentVisibilityAuto:!0,visibilityProperty:!0,checkVisibilityCSS:!0});if("hidden"===getComputedStyle(e).visibility)return!0;var i=i0.call(e,"details>summary:first-of-type")?e.parentElement:e;if(i0.call(i,"details:not([open]) *"))return!0;if(r&&"full"!==r&&"full-native"!==r&&"legacy-full"!==r){if("non-zero-area"===r)return al(e)}else{if("function"==typeof n){for(var a=e;e;){var o=e.parentElement,s=i1(e);if(o&&!o.shadowRoot&&!0===n(o))return al(e);e=e.assignedSlot?e.assignedSlot:o||s===e.ownerDocument?o:s.host}e=a}if(as(e))return!e.getClientRects().length;if("legacy-full"!==r)return!0}return!1},au=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var r=0;r<t.children.length;r++){var n=t.children.item(r);if("LEGEND"===n.tagName)return!!i0.call(t,"fieldset[disabled] *")||!n.contains(e)}return!0}t=t.parentElement}return!1},ad=function(e,t){return!(t.disabled||at(t)||ac(t,e)||ar(t)||au(t))},ap=function(e,t){return!(ao(t)||0>i9(t))&&!!ad(e,t)},ah=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!isNaN(t)||!!(t>=0)},af=function(e){var t=[],r=[];return e.forEach(function(e,n){var i=!!e.scopeParent,a=i?e.scopeParent:e,o=i8(a,i),s=i?af(e.candidates):a;0===o?i?t.push.apply(t,s):t.push(a):r.push({documentOrder:n,tabIndex:o,item:e,isScope:i,content:s})}),r.sort(i7).reduce(function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e},[]).concat(t)},am=function(e,t){var r;return af(r=(t=t||{}).getShadowRoot?i4([e],t.includeContainer,{filter:ap.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:ah}):i3(e,t.includeContainer,ap.bind(null,t)))},ag=function(e,t){return(t=t||{}).getShadowRoot?i4([e],t.includeContainer,{filter:ad.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):i3(e,t.includeContainer,ad.bind(null,t))},ay=function(e,t){if(t=t||{},!e)throw Error("No node provided");return!1!==i0.call(e,iQ)&&ap(t,e)};let av=()=>({getShadowRoot:!0,displayCheck:"function"==typeof ResizeObserver&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function ab(e,t){let r=am(e,av()),n=r.length;if(0===n)return;let i=rq(rK(e)),a=r.indexOf(i);return r[-1===a?1===t?0:n-1:a+t]}function aw(e){return ab(rK(e).body,1)||e}function ax(e){return ab(rK(e).body,-1)||e}function ak(e,t){let r=t||e.currentTarget,n=e.relatedTarget;return!n||!rH(r,n)}function aA(e){am(e,av()).forEach(e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")})}function aC(e){e.querySelectorAll("[data-tabindex]").forEach(e=>{let t=e.dataset.tabindex;delete e.dataset.tabindex,t?e.setAttribute("tabindex",t):e.removeAttribute("tabindex")})}let aS=a.createContext(null),aE=()=>a.useContext(aS),a_=im("portal");function aT(e={}){let{ref:t,container:r,componentProps:n=y,elementProps:i,elementState:o}=e,s=ef(),l=aE(),c=l?.portalNode,[u,d]=a.useState(null),[p,h]=a.useState(null),f=a.useRef(null);_(()=>{if(null===r){f.current&&(f.current=null,h(null),d(null));return}if(null==s)return;let e=(r&&(ew(r)?r:r.current))??c??document.body;if(null==e){f.current&&(f.current=null,h(null),d(null));return}f.current!==e&&(f.current=e,h(null),d(e))},[r,c,s]);let m=eo("div",n,{ref:[t,h],state:o,props:[{id:s,[a_]:""},i]});return{portalNode:p,portalSubtree:u&&m?ez.createPortal(m,u):null}}let aP=a.forwardRef(function(e,t){let{children:r,container:n,className:i,render:o,renderGuards:s,...l}=e,{portalNode:c,portalSubtree:u}=aT({container:n,ref:t,componentProps:e,elementProps:l}),d=a.useRef(null),p=a.useRef(null),h=a.useRef(null),f=a.useRef(null),[m,g]=a.useState(null),y=m?.modal,v=m?.open,b="boolean"==typeof s?s:!!m&&!m.modal&&m.open&&!!c;a.useEffect(()=>{if(c&&!y)return c.addEventListener("focusin",e,!0),c.addEventListener("focusout",e,!0),()=>{c.removeEventListener("focusin",e,!0),c.removeEventListener("focusout",e,!0)};function e(e){c&&ak(e)&&("focusin"===e.type?aC:aA)(c)}},[c,y]),a.useEffect(()=>{c&&!v&&aC(c)},[v,c]);let w=a.useMemo(()=>({beforeOutsideRef:d,afterOutsideRef:p,beforeInsideRef:h,afterInsideRef:f,portalNode:c,setFocusManagerState:g}),[c]);return(0,e8.jsxs)(a.Fragment,{children:[u,(0,e8.jsxs)(aS.Provider,{value:w,children:[b&&c&&(0,e8.jsx)(iX,{"data-type":"outside",ref:d,onFocus:e=>{if(ak(e,c))h.current?.focus();else{let e=ax(m?m.domReference:null);e?.focus()}}}),b&&c&&(0,e8.jsx)("span",{"aria-owns":c.id,style:iW}),c&&ez.createPortal(r,c),b&&c&&(0,e8.jsx)(iX,{"data-type":"outside",ref:p,onFocus:e=>{if(ak(e,c))f.current?.focus();else{let t=aw(m?m.domReference:null);t?.focus(),m?.closeOnFocusOut&&m?.onOpenChange(!1,eQ(e3,e.nativeEvent))}}})]})]})}),aO=a.createContext(void 0);function aI(){let e=a.useContext(aO);if(void 0===e)throw Error(B(26));return e}let aM=a.forwardRef(function(e,t){let r,{cutout:n,...i}=e;if(n){let e=n?.getBoundingClientRect();r=`polygon( 2 0% 0%, 3 100% 0%, 4 100% 100%, 5 0% 100%, 6 0% 0%, 7 ${e.left}px ${e.top}px, 8 ${e.left}px ${e.bottom}px, 9 ${e.right}px ${e.bottom}px, 10 ${e.right}px ${e.top}px, 11 ${e.left}px ${e.top}px 12 )`}return(0,e8.jsx)("div",{ref:t,role:"presentation","data-base-ui-inert":"",...i,style:{position:"fixed",inset:0,userSelect:"none",WebkitUserSelect:"none",clipPath:r}})}),aL=a.forwardRef(function(e,t){let{keepMounted:r=!1,...n}=e,{store:i}=iO(),a=i.useState("mounted"),o=i.useState("modal");return a||r?(0,e8.jsx)(aO.Provider,{value:r,children:(0,e8.jsxs)(aP,{ref:t,...n,children:[a&&!0===o&&(0,e8.jsx)(aM,{ref:i.context.
12internalBackdropRef,inert:iJ(!open)}),e.children]})}):null}),aN={...iH,...ty},aR=a.forwardRef(function(e,t){let{render:r,className:n,forceRender:i=!1,...o}=e,{store:s}=iO(),l=s.useState("open"),c=s.useState("nested"),u=s.useState("mounted"),d=s.useState("transitionStatus");return eo("div",e,{state:a.useMemo(()=>({open:l,transitionStatus:d}),[l,d]),ref:[s.context.backdropRef,t],stateAttributesMapping:aN,props:[{role:"presentation",hidden:!u,style:{userSelect:"none",WebkitUserSelect:"none"}},o],enabled:i||!c})}),aj=0;function aD(e,t={}){let{preventScroll:r=!1,cancelPrevious:n=!0,sync:i=!1}=t;n&&cancelAnimationFrame(aj);let a=()=>e?.focus({preventScroll:r});i?a():aj=requestAnimationFrame(a)}let aF={inert:new WeakMap,"aria-hidden":new WeakMap,none:new WeakMap};function aV(e){return"inert"===e?aF.inert:"aria-hidden"===e?aF["aria-hidden"]:aF.none}let aB=new WeakSet,az={},a$=0,aU=e=>e&&(e.host||aU(e.parentNode)),aq=(e,t)=>t.map(t=>{if(e.contains(t))return t;let r=aU(t);return e.contains(r)?r:null}).filter(e=>null!=e);function aH(e,t,r,n){let i="data-base-ui-inert",a=n?"inert":r?"aria-hidden":null,o=aq(t,e),s=new Set,l=new Set(o),c=[];az[i]||(az[i]=new WeakMap);let u=az[i];function d(e){!(!e||s.has(e))&&(s.add(e),e.parentNode&&d(e.parentNode))}function p(e){!e||l.has(e)||[].forEach.call(e.children,e=>{if("script"!==ey(e))if(s.has(e))p(e);else{let t=a?e.getAttribute(a):null,r=null!==t&&"false"!==t,n=aV(a),o=(n.get(e)||0)+1,s=(u.get(e)||0)+1;n.set(e,o),u.set(e,s),c.push(e),1===o&&r&&aB.add(e),1===s&&e.setAttribute(i,""),!r&&a&&e.setAttribute(a,"inert"===a?"":"true")}})}return o.forEach(d),p(t),s.clear(),a$+=1,()=>{c.forEach(e=>{let t=aV(a),r=(t.get(e)||0)-1,n=(u.get(e)||0)-1;t.set(e,r),u.set(e,n),r||(!aB.has(e)&&a&&e.removeAttribute(a),aB.delete(e)),n||e.removeAttribute(i)}),(a$-=1)||(aF.inert=new WeakMap,aF["aria-hidden"]=new WeakMap,aF.none=new WeakMap,aB=new WeakSet,az={})}}function aY(e,t=!1,r=!1){let n=rK(e[0]).body;return aH(e.concat(Array.from(n.querySelectorAll("[aria-live]"))),n,t,r)}function aW(e,t){let r=ev(e.target);return e instanceof r.KeyboardEvent?"keyboard":e instanceof r.FocusEvent?t||"keyboard":"pointerType"in e?e.pointerType||"keyboard":"touches"in e?"touch":e instanceof r.MouseEvent?t||(0===e.detail?"keyboard":"mouse"):""}let aG=20,aK=[];function aJ(){aK=aK.filter(e=>e.isConnected)}function aX(e){aJ(),e&&"body"!==ey(e)&&(aK.push(e),aK.length>aG&&(aK=aK.slice(-aG)))}function aQ(){return aJ(),aK[aK.length-1]}function aZ(e){if(!e)return null;let t=av();return ay(e,t)?e:am(e,t)[0]||e}function a0(e){return!!e&&!!e.isConnected&&("function"==typeof e.checkVisibility?e.checkVisibility():"none"!==e_(e).display)}function a1(e,t){if(!t.current.includes("floating")&&!e.getAttribute("role")?.includes("dialog"))return;let r=av(),n=ag(e,r).filter(e=>{let t=e.getAttribute("data-tabindex")||"";return ay(e,r)||e.hasAttribute("data-tabindex")&&!t.startsWith("-")}),i=e.getAttribute("tabindex");t.current.includes("floating")||0===n.length?"0"!==i&&e.setAttribute("tabindex","0"):("-1"!==i||e.hasAttribute("data-tabindex")&&"-1"!==e.getAttribute("data-tabindex"))&&(e.setAttribute("tabindex","-1"),e.setAttribute("data-tabindex","-1"))}function a2(e){let{context:t,children:r,disabled:n=!1,order:i=["content"],initialFocus:o=!0,returnFocus:s=!0,restoreFocus:l=!1,modal:c=!0,closeOnFocusOut:u=!0,openInteractionType:d="",getInsideElements:p=()=>[],nextFocusableElement:h,previousFocusableElement:f,beforeContentFocusGuardRef:m,externalTree:g}=e,y="rootStore"in t?t.rootStore:t,v=y.useState("open"),b=y.useState("domReferenceElement"),w=y.useState("floatingElement"),{events:x,dataRef:k}=y.context,C=A(()=>k.current.floatingContext?.nodeId),S=A(p),E=!1===o,P=rX(b)&&E,O=tt(i),I=tt(o),M=tt(s),L=tt(d),R=nk(g),j=aE(),D=a.useRef(null),F=a.useRef(null),V=a.useRef(!1),B=a.useRef(!1),z=a.useRef(!1),$=a.useRef(-1),U=a.useRef(""),q=a.useRef(""),H=nc(),Y=nc(),W=tc(),G=null!=j,K=rQ(w),J=A((e=K)=>e?am(e,av()):[]),X=A(e=>{let t=J(e);return O.current.map(()=>t).filter(Boolean).flat()});a.useEffect(()=>{if(n||!c)return;function e(e){"Tab"===e.key&&rH(K,rq(rK(K)))&&0===J().length&&!P&&ro(e)}let t=rK(K);return t.addEventListener("keydown",e),()=>{t.removeEventListener("keydown",e)}},[n,b,K,c,O,P,J,X]),a.useEffect(()=>{if(!n&&w)return w.addEventListener("focusin",e),()=>{w.removeEventListener("focusin",e)};function e(e){let t=rY(e),r=J().indexOf(t);-1!==r&&($.current=r)}},[n,w,J]),a.useEffect(()=>{if(n||!v)return;let e=rK(K);function t(){z.current=!1}function r(e){let t=rY(e);z.current=!(rH(w,t)||rH(b,t)||rH(j?.portalNode,t)),q.current=e.pointerType||"ke
12yboard"}function i(){q.current="keyboard"}return e.addEventListener("pointerdown",r,!0),e.addEventListener("pointerup",t,!0),e.addEventListener("pointercancel",t,!0),e.addEventListener("keydown",i,!0),()=>{e.removeEventListener("pointerdown",r,!0),e.removeEventListener("pointerup",t,!0),e.removeEventListener("pointercancel",t,!0),e.removeEventListener("keydown",i,!0)}},[n,w,b,K,v,j]),a.useEffect(()=>{if(n||!u)return;function e(){B.current=!0,Y.start(0,()=>{B.current=!1})}function t(e){let t=e.relatedTarget,r=e.currentTarget,n=rY(e);queueMicrotask(()=>{let i=C(),a=y.context.triggerElements,o=!(rH(b,t)||rH(w,t)||rH(t,w)||rH(j?.portalNode,t)||null!=t&&a.hasElement(t)||a.hasMatchingElement(e=>rH(e,t))||t?.hasAttribute(im("focus-guard"))||R&&(ip(R.nodesRef.current,i).find(e=>rH(e.context?.elements.floating,t)||rH(e.context?.elements.domReference,t))||ih(R.nodesRef.current,i).find(e=>[e.context?.elements.floating,rQ(e.context?.elements.floating)].includes(t)||e.context?.elements.domReference===t)));if(r===b&&K&&a1(K,O),l&&r!==b&&!a0(n)&&rq(rK(K))===rK(K).body){if(ek(K)&&(K.focus(),"popup"===l))return void W.request(()=>{K.focus()});let e=$.current,t=J(),r=t[e]||t[t.length-1]||K;ek(r)&&r.focus()}if(k.current.insideReactTree){k.current.insideReactTree=!1;return}(P||!c)&&t&&o&&!B.current&&(P||t!==aQ())&&(V.current=!0,y.setOpen(!1,eQ(e3,e)))})}function r(){z.current||(k.current.insideReactTree=!0,H.start(0,()=>{k.current.insideReactTree=!1}))}let i=ek(b)?b:null,a=[];if(w||i)return i&&(i.addEventListener("focusout",t),i.addEventListener("pointerdown",e),a.push(()=>{i.removeEventListener("focusout",t),i.removeEventListener("pointerdown",e)})),w&&(w.addEventListener("focusout",t),j&&(w.addEventListener("focusout",r,!0),a.push(()=>{w.removeEventListener("focusout",r,!0)})),a.push(()=>{w.removeEventListener("focusout",t)})),()=>{a.forEach(e=>{e()})}},[n,b,w,K,c,R,j,y,u,l,J,P,C,O,k,H,Y,W]);let Q=a.useRef(null),Z=a.useRef(null),ee=T(Q,m,j?.beforeInsideRef),et=T(Z,j?.afterInsideRef);a.useEffect(()=>{if(n||!w||!v)return;let e=Array.from(j?.portalNode?.querySelectorAll(`[${im("portal")}]`)||[]),t=R?ih(R.nodesRef.current,C()):[],r=aY([w,t.find(e=>rX(e.context?.elements.domReference||null))?.context?.elements.domReference,...e,...S(),D.current,F.current,Q.current,Z.current,j?.beforeOutsideRef.current,j?.afterOutsideRef.current,tu(f),tu(h),P?b:null].filter(e=>null!=e),c||P);return()=>{r()}},[v,n,b,w,c,O,j,P,R,C,S,h,f]),_(()=>{if(!v||n||!ek(K))return;let e=rq(rK(K));queueMicrotask(()=>{let t,r=X(K),n=I.current,i="function"==typeof n?n(L.current||""):n;void 0!==i&&!1!==i&&(t=(t=!0===i||null===i?r[0]||K:tu(i))||r[0]||K,rH(K,e)||aD(t,{preventScroll:t===K}))})},[n,v,K,E,X,I,L]),_(()=>{if(n||!K)return;let e=rK(K);function t(e){if(e.open||(U.current=aW(e.nativeEvent,q.current)),e.reason===e1&&"mouseleave"===e.nativeEvent.type&&(V.current=!0),e.reason===e2)if(e.nested)V.current=!1;else if(rl(e.nativeEvent)||rc(e.nativeEvent))V.current=!1;else{let e=!1;document.createElement("div").focus({get preventScroll(){return e=!0,!1}}),e?V.current=!1:V.current=!0}}aX(rq(e)),x.on("openchange",t);let r=e.createElement("span");function i(){let e=M.current,t="function"==typeof e?e(U.current):e;if(void 0===t||!1===t)return null;if(null===t&&(t=!0),"boolean"==typeof t){let e=b||aQ();return e&&e.isConnected?e:r}let n=b||aQ()||r;return tu(t)||n}return r.setAttribute("tabindex","-1"),r.setAttribute("aria-hidden","true"),Object.assign(r.style,N),G&&b&&b.insertAdjacentElement("afterend",r),()=>{x.off("openchange",t);let n=rq(e),a=rH(w,n)||R&&ip(R.nodesRef.current,C(),!1).some(e=>rH(e.context?.elements.floating,n)),o=i();queueMicrotask(()=>{let t=aZ(o),i="boolean"!=typeof M.current;M.current&&!V.current&&ek(t)&&(i||t===n||n===e.body||a)&&t.focus({preventScroll:!0}),r.remove()})}},[n,w,K,M,k,x,R,G,b,C]),a.useEffect(()=>{queueMicrotask(()=>{V.current=!1})},[n]),a.useEffect(()=>{if(n||!v)return;function e(e){let t=rY(e);t?.closest(`[${iY}]`)&&(B.current=!0)}let t=rK(K);return t.addEventListener("pointerdown",e,!0),()=>{t.removeEventListener("pointerdown",e,!0)}},[n,v,K]),_(()=>{if(!n&&j)return j.setFocusManagerState({modal:c,closeOnFocusOut:u,open:v,onOpenChange:y.setOpen,domReference:b}),()=>{j.setFocusManagerState(null)}},[n,j,c,v,y,u,b]),_(()=>{if(!n&&K)return a1(K,O),()=>{queueMicrotask(aJ)}},[n,K,O]);let er=!n&&(!c||!P)&&(G||c);return(0,e8.jsxs)(a.Fragment,{children:[er&&(0,e8.jsx)(iX,{"data-type":"inside",ref:ee,onFocus:e=>{if(c){let e=X();aD(e[e.length-1])}else if(j?.portalNode)if(V.current=!1,ak(e,j.portalNode)){let e=aw(b);e?.focus()}else tu(f??j.beforeOutsideRef)?.focus()}}),r,er&&(0,e8.jsx)(iX,{"data-type":"inside",ref:et,onFocus:e=>{if(c)aD(X()[0]);else if(j?.portalNode)if(u&&(V.current=!0),ak(e,j.portalNode)){let e=ax(b);e?.focus()}else tu(h??j.afterOutsideRef)?.focus()}})]})}let a5=function(e){return e.nestedDialogs="--nested-dialogs",e}({}),a3=function(e){return e[e.open=iF.open]="open",e[e.closed=iF.closed]="closed",e[e.startingStyle=iF.startingStyle]="startingStyle",e[e.endingStyle=iF.endingStyle]="endingStyle",e.nested="data-nested",e.nestedDialogOpen="data-nested-dialog-open",e}({}),a4={...iH,...ty,nestedDialogOpen:e=>e?{[a3.nestedDialogOpen]:""}:null},a6=a.forwardRef(function(e,t){let{className:r,finalFocus:n,initialFocus:i,render:o,...s}=e,{store:l}=iO(),c=l.useState("descriptionElementId"),u=l.useState("disablePointerDismissal"),d=l.useState("floatingRootContext"),p=l.useState("popupProps"),h=l.useState("modal"),f=l.useState("mounted"),m=l.useState("nested"),g=l.useState("nestedOpenDialogCount"),y=l.useState("open"),v=l.useState("openMethod"),b=l.useState("titleElementId"),w=l.useState("transitionStatus"),x=l.useState("role");function k(e){return"touch"!==e||l.context.popupRef.current}
12aI(),tp({open:y,ref:l.context.popupRef,onComplete(){y&&l.context.onOpenChangeComplete?.(!0)}});let A=void 0===i?k:i,C=g>0,S=eo("div",e,{state:a.useMemo(()=>({open:y,nested:m,transitionStatus:w,nestedDialogOpen:C}),[y,m,w,C]),props:[p,{"aria-labelledby":b??void 0,"aria-describedby":c??void 0,role:x,tabIndex:-1,hidden:!f,onKeyDown(e){tJ.has(e.key)&&e.stopPropagation()},style:{[a5.nestedDialogs]:g}},s],ref:[t,l.context.popupRef,l.useStateSetter("popupElement")],stateAttributesMapping:a4});return(0,e8.jsx)(a2,{context:d,openInteractionType:v,disabled:!f,closeOnFocusOut:!u,initialFocus:A,returnFocus:n,modal:!1!==h,restoreFocus:"popup",children:S})}),a9=a.forwardRef(function(e,t){let{render:r,className:n,id:i,...a}=e,{store:o}=iO(),s=em(i);return o.useSyncedValueWithCleanup("titleElementId",s),eo("h2",e,{ref:t,props:[{id:s},a]})}),a8=a.forwardRef(function(e,t){let{render:r,className:n,disabled:i=!1,nativeButton:o=!0,...s}=e,{store:l}=iO(),c=l.useState("open");function u(e){c&&l.setOpen(!1,eQ(e5,e.nativeEvent))}let{getButtonProps:d,buttonRef:p}=eR({disabled:i,native:o});return eo("button",e,{state:a.useMemo(()=>({disabled:i}),[i]),ref:[t,p],props:[{onClick:u},s,d]})}),a7=a.forwardRef(function(e,t){let{render:r,className:n,id:i,...a}=e,{store:o}=iO(),s=em(i);return o.useSyncedValueWithCleanup("descriptionElementId",s),eo("p",e,{ref:t,props:[{id:s},a]})});function oe(){return(0,i.FD)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"none",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",className:"size-icon-l",children:[(0,i.Y)("line",{x1:"4.17",y1:"4.17",x2:"15.83",y2:"15.83"}),(0,i.Y)("line",{x1:"15.83",y1:"4.17",x2:"4.17",y2:"15.83"})]})}function ot(e){let{open:t,onOpenChange:r,title:n,description:a,image:o,dismissable:l=!1,dismissOnBackdropClick:c=!0,confirmLabel:u="Confirm",cancelLabel:d="Cancel",onConfirm:p,onCancel:h,destructive:f=!1,className:m,trigger:g,children:y,variant:v="card",backdropClassName:b}=e;return(0,i.FD)(iD,{open:t,onOpenChange:r,children:[g&&(0,i.Y)(iK,{children:g}),(0,i.FD)(aL,{children:[(0,i.Y)(aR,{className:(0,s.Q)("fixed inset-0 z-[1500] bg-overlay-screen transition-all data-[ending-style]:opacity-0 data-[starting-style]:opacity-0",b),onClick:l&&c?()=>null==r?void 0:r(!1,{}):void 0}),"bare"===v?(0,i.FD)(a6,{className:(0,s.Q)("fixed top-1/2 left-1/2 z-[1500] -translate-x-1/2 -translate-y-1/2 bg-transparent transition-all data-[ending-style]:opacity-0 data-[starting-style]:opacity-0",m),children:[(0,i.Y)(a9,{render:(0,i.Y)("p",{}),className:"sr-only",children:n}),y]}):(0,i.Y)(a6,{className:(0,s.Q)("fixed top-1/2 left-1/2 z-[1500] -translate-x-1/2 -translate-y-1/2 bg-background-primary rounded-500 shadow-[0_0_10px_0_rgba(0,0,0,0.1)] transition-all data-[ending-style]:opacity-0 data-[ending-style]:scale-95 data-[starting-style]:opacity-0 data-[starting-style]:scale-95",y?"p-0 overflow-clip":"w-[335px] md:w-auto md:max-w-[600px]",!y&&(o?"overflow-clip":"p-500"),m),children:y?(0,i.FD)(i.FK,{children:[l&&(0,i.Y)(a8,{render:(0,i.Y)("button",{}),className:"absolute top-250 right-250 z-10 h-[36px] w-[36px] flex items-center justify-center border-0 bg-transparent text-content-primary cursor-pointer hover:text-content-secondary transition-colors appearance-none",onClick:h,children:(0,i.Y)(oe,{})}),(0,i.Y)(a9,{render:(0,i.Y)("p",{}),className:"sr-only",children:n}),y]}):(0,i.FD)(i.FK,{children:[o&&(0,i.Y)("div",{className:"aspect-[2/1] w-full",children:(0,i.Y)("img",{src:o,alt:"",className:"w-full h-full object-cover"})}),(0,i.FD)("div",{className:(0,s.Q)(o&&"p-500","flex flex-col items-end gap-1000"),children:[(0,i.FD)("div",{className:"flex flex-col gap-200 w-full text-content-primary",children:[(0,i.Y)(a9,{render:(0,i.Y)("p",{}),className:"text-heading-m font-medium tracking-[var(--typo-letter-spacing-heading)] m-0",children:n}),a&&(0,i.Y)(a7,{className:"text-body-m m-0",children:a})]}),(0,i.FD)("div",{className:"flex justify-end gap-300",children:[(0,i.Y)(a8,{render:(0,i.Y)("button",{}),className:"px-500 py-300 rounded-999 text-label-m text-content-brand bg-transparent border-0 appearance-none hover:bg-overlay-brand-hover transition-colors cursor-pointer",onClick:h,children:d}),(0,i.Y)(a8,{render:(0,i.Y)("button",{}),className:(0,s.Q)("px-500 py-300 rounded-999 text-label-m text-content-on-color border-0 appearance-none transition-colors cursor-pointer",f?"bg-background-negative hover:bg-red-600":"bg-background-brand hover:bg-blue-600"),onClick:p,children:u})]})]}),l&&(0,i.Y)(a8,{render:(0,i.Y)("button",{}),className:"absolute top-250 right-250 h-[36px] w-[36px] flex items-center justify-center border-0 bg-transparent text-content-primary curs
12or-pointer hover:text-content-secondary transition-colors appearance-none",onClick:h,children:(0,i.Y)(oe,{})})]})})]})]})}let or={primary:{brand:"bg-background-brand",neutral:"bg-background-inverse-primary",accent:"bg-background-accent",positive:"bg-background-positive",negative:"bg-background-negative"},secondary:{brand:"bg-background-brand-light",neutral:"bg-background-inverse-secondary",accent:"bg-background-accent-light",positive:"bg-background-positive-light",negative:"bg-background-negative-light"},tertiary:{brand:"",neutral:"",accent:"",positive:"",negative:""}},on={primary:{brand:"var(--color-content-on-color)",neutral:"var(--color-content-on-color)",accent:"var(--color-content-on-color)",positive:"var(--color-content-on-color)",negative:"var(--color-content-on-color)"},secondary:{brand:"var(--color-content-brand)",neutral:"var(--color-content-primary)",accent:"var(--color-content-accent-strong)",positive:"var(--color-content-positive)",negative:"var(--color-content-negative)"},tertiary:{brand:"var(--color-content-brand)",neutral:"var(--color-content-primary)",accent:"var(--color-content-accent-strong)",positive:"var(--color-content-positive)",negative:"var(--color-content-negative)"}},oi={sm:"px-150 py-100 gap-100",md:"px-150 py-100 gap-100",lg:"gap-100"},oa={sm:"text-label-xs",md:"text-label-s",lg:"text-label-m"};function oo(e){let{size:t="md",hierarchy:r="primary",scheme:n="brand",icon:a,className:o,children:l}=e;return(0,i.FD)("span",{className:(0,s.Q)("inline-flex items-center rounded-100",or[r][n],oi[t],oa[t],o),style:{color:on[r][n]},children:[a,l]})}let os={sm:"py-200",md:"py-300"},ol=(0,a.forwardRef)(function(e,t){var r;let{size:n="sm",label:o,startIcon:l,placeholder:c,helperText:u,error:d,disabled:p=!1,value:h,defaultValue:f,onChange:m,className:g,name:y,type:v="text",...b}=e,w=(0,a.useId)(),x=null!=(r=b.id)?r:w,k=(0,a.useRef)(null);(0,a.useImperativeHandle)(t,()=>k.current,[]);let A=e=>{if(!p&&e.target===e.currentTarget){var t;e.preventDefault(),null==(t=k.current)||t.focus()}},C=p?"border-border-disabled bg-background-disabled":d?"border-border-negative":"border-border-subtle",S=(0,s.Q)("rounded-999 border px-400 gap-200 flex items-center bg-background-primary",os[n],C,!p&&"cursor-text",!p&&!d&&"hover:border-border-hover focus-within:border-border-brand hover:focus-within:border-border-brand"),E=null!=d?d:u;return(0,i.FD)("div",{className:(0,s.Q)("flex flex-col gap-100 w-full",g),children:[o&&(0,i.Y)("label",{htmlFor:x,className:"text-body-s text-content-primary",children:o}),(0,i.FD)("div",{className:S,onMouseDown:A,children:[l&&(0,i.Y)("span",{className:"flex shrink-0 items-center text-content-secondary",children:l}),(0,i.Y)("input",{ref:k,id:x,type:v,name:y,value:h,defaultValue:f,placeholder:c,disabled:p,onChange:m,className:"w-full bg-transparent border-0 outline-none text-label-m text-content-primary placeholder:text-content-placeholder disabled:text-content-disabled disabled:cursor-not-allowed",...b})]}),E&&(0,i.Y)("span",{className:(0,s.Q)("text-caption-m",d?"text-content-negative":"text-content-secondary"),children:E})]})});function oc(e){let{className:t}=e;return(0,i.Y)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",className:(0,s.Q)("shrink-0",t),children:(0,i.Y)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8 1.333A6.667 6.667 0 1 0 14.667 8 6.674 6.674 0 0 0 8 1.333Zm2.394 8.273a.667.667 0 1 1-.943.943L8 9.098l-1.451 1.45a.667.667 0 0 1-.943-.942L7.057 8.155l-1.45-1.45a.667.667 0 0 1 .942-.943L8 7.212l1.451-1.45a.667.667 0 0 1 .943.942L8.943 8.155l1.45 1.45Z"})})}function ou(e){let{className:t}=e;return(0,i.Y)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",className:(0,s.Q)("shrink-0",t),children:(0,i.Y)("polyline",{points:"4,6 8,10 12,6"})})}function od(e){let{className:t}=e;return(0,i.Y)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",className:(0,s.Q)("shrink-0",t),children:(0,i.Y)("polyline",{points:"3.33,8.67 6.33,11.67 12.67,5.33"})})}let op={sm:"min-h-600 p-100 gap-0",md:"min-h-700 px-150 py-100 gap-0",lg:"min-h-800 px-150 py-100 gap-0"},oh={sm:"size-icon-m",md:"size-icon-m",lg:"size-icon-l"},of={sm:"size-icon-m",md:"size-icon-m",lg:"size-icon-l"};function om(e){let{size:t="sm",avatar:r,disabled:n=!1,onRemove:a,className:o,children:l}=e;return(0,i.FD)("span",{className:(0,s.Q)("inline-flex items-center rounded-999",op[t],n?"bg-background-disabled text-content-disabled":"bg-background-inverse-secondary text-content-primary hover:bg-overlay-neutral-hover active:bg-overlay-neutral-pressed",o),children:[r&&(0,i.Y)("span",{className:(0,s.Q)("shrink-0 rounded-999 overflow-hidden",of[t]),children:r}),(0,i.Y)("span",{className:(0,s.Q)("px-100 truncate","lg"===t?"text-label-m":"text-label-s"),children:l}),(0,i.Y)("button",{type:"button",disabled:n,onClick:a,className:(0,s.Q)("shrink-0 inline-flex items-center justify-center border-0 bg-transparent p-0 cursor-pointer rounded-999",n?"text-content-disabled cursor-not-allowed":"text-content-secondary hover:text-content-primary"),"aria-label":"Remove",children:(0,i.Y)(oc,{className:oh[t]})})]})}let og={sm:"min-h-600 px-250 py-[5px] text-label-s gap-100",md:"min-h-700 px-300 py-[7px] text-label-s gap-100",lg:"min-h-800 px-300 py-200 text-label-m gap-100"},oy={neutral:"border-border-subtle text-content-primary hover:bg-overlay-neutral-hover active:bg-overlay-neutral-pressed",brand:"border-border-brand text-content-brand hover:bg-overlay-brand-hover active:bg-overlay-brand-pressed",inverse:"border-border-on-color text-content-on-color hover:bg-overlay-neutral-hover active:bg-overlay-neutral-pressed"},ov={sm:"size-icon-s",md:"size-icon-s",lg:"size-icon-s"},ob=(0,a.forwardRef)(function(e,t){let{size:r="sm",scheme:n="neutral",icon:a,disabled:o=!1,className:l,children:c,...u}=e;return(0,i.FD)("button",{ref:t,type:"button",disabled:o,className:(0,s.Q)("inline-flex items-center justify-center rounded-999 border appearance-none cursor-pointer transition-colors",og[r],o?"bg-background-disabled border-border-disabled text-content-disabled cursor-not-allowed":oy[n],l),...u,children:[a&&(0,i.Y)("span",{className:(0,s.Q)("shrink-0 [&>svg]:block",ov[r]),children:a}),(0,i.Y)("span",{className:"truncate",children:c})]})}),ow={sm:"min-h-600 px-250 py-[5px] text-label-s gap-050",md:"min-h-700 px-300 py-[7px] text-label-s gap-050",lg:"min-h-800 px-300 py-200 text-label-m gap-050",xl:"px-400 py-300 text-label-m gap-100"},ox={sm:"size-icon-s",md:"size-icon-s",lg:"size-icon-s",xl:"size-icon-m"},ok=(0,a.forwardRef)(function(e,t){let{size:r="sm",applied:n=!1,leadingIcon:a,hasDropdown:o=!1,disabled:l=!1,className:c,children:u,...d}=e;return(0,i.FD)("button",{ref:t,type:"button",disabled:l,className:(0,s.Q)("inline-flex items-center justify-center rounded-999 border appearance-none cursor-pointer transition-colors",ow[r],l?"bg-background-disabled border-border-disabled text-content-disabled cursor-not-allowed":n?"bg-background-brand-light border-border-brand text-content-brand hover:bg-overlay-brand-hover active:bg-overlay-brand-pressed":"border-border-subtle text-content-primary hover:bg-overlay-neutral-hover active:bg-overlay-neutral-pressed",c),...d,children:[n&&a&&(0,i.Y)("span",{className:(0,s.Q)("shrink-0 [&>svg]:block",ox[r]),children:a}
12),n&&!a&&(0,i.Y)(od,{className:(0,s.Q)(ox[r],l?"text-content-disabled":"text-content-brand")}),(0,i.Y)("span",{className:"truncate",children:u}),o&&(0,i.Y)(ou,{className:(0,s.Q)(ox[r],l?"text-content-disabled":n?"text-content-brand":"text-content-primary")})]})}),oA=(0,a.forwardRef)(function(e,t){switch(e.variant){case"input":return(0,i.Y)(om,{...e});case"assist":return(0,i.Y)(ob,{ref:t,...e});case"filter":return(0,i.Y)(ok,{ref:t,...e})}}),oC={sm:"py-100",md:"py-200"},oS=4,oE=240,o_=120,oT=8;function oP(e){let{className:t}=e;return(0,i.Y)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",className:(0,s.Q)("size-icon-m shrink-0 transition-transform",t),children:(0,i.Y)("polyline",{points:"4,6 8,10 12,6"})})}function oO(e){return void 0===e?[]:Array.isArray(e)?e:[e]}function oI(e){let{option:t,selectedValues:r,multiple:n,onSelect:a,renderOption:o,depth:l=0}=e,c=r.includes(t.value);return t.children&&t.children.length>0&&t.children?(0,i.FD)("div",{role:"group",children:[(0,i.Y)("div",{className:"px-400 py-100 text-caption-m text-content-secondary select-none",role:"presentation",children:t.label}),(0,i.Y)("div",{className:(0,s.Q)(0===l&&"pl-400"),children:t.children.map(e=>(0,i.Y)(oI,{option:e,selectedValues:r,multiple:n,onSelect:a,renderOption:o,depth:l+1},String(e.value)))})]}):(0,i.FD)("button",{type:"button",role:"option","aria-selected":c,"aria-disabled":t.disabled,disabled:t.disabled,onClick:()=>!t.disabled&&a(t.value),className:(0,s.Q)("w-full flex items-center gap-200 px-400 py-200 text-label-m text-content-primary text-left cursor-pointer hover:bg-overlay-neutral-hover transition-colors border-0 bg-transparent",c&&"bg-background-brand-light text-content-brand",t.disabled&&"text-content-disabled cursor-not-allowed hover:bg-transparent"),children:[n&&(0,i.Y)(tA,{checked:c,disabled:t.disabled,className:"pointer-events-none shrink-0"}),o?o(t):t.label]})}function oM(e,t){var r;let{size:n="sm",label:o,placeholder:l,helperText:c,error:u,disabled:d=!1,options:p,value:h,onChange:f,multiple:m=!1,renderOption:g,className:y,name:v,id:b,menuPortal:w=!1}=e,x=void 0!==h,[k,A]=(0,a.useState)(m?[]:void 0),C=x?h:k,[S,E]=(0,a.useState)(!1),_=(0,a.useRef)(null),T=(0,a.useRef)(null),P=(0,a.useRef)(null),[O,I]=(0,a.useState)(),M=oO(C),L=(0,a.useCallback)(()=>{var e,t;let r=T.current;if(!r)return;let n=r.getBoundingClientRect(),i=null!=(t=null==(e=r.ownerDocument.defaultView)?void 0:e.innerHeight)?t:0,a=i-n.bottom-oS-oT,o=n.top-oS-oT,s=a<oE&&o>a;I({position:"fixed",left:n.left,width:n.width,maxHeight:Math.min(oE,Math.max(s?o:a,o_)),...s?{bottom:i-n.top+oS}:{top:n.bottom+oS}})},[]),N=m&&M.length>0,R=(0,s.Q)("w-full border pl-400 pr-300 flex items-center gap-200 bg-background-primary appearance-none cursor-pointer transition-colors",N?"rounded-400 flex-wrap py-150":(0,s.Q)("rounded-999",oC[n]),d?"border-border-disabled bg-background-disabled cursor-not-allowed":u?"border-border-negative":S?"border-border-brand":"border-border-subtle hover:border-border-hover"),j=(()=>{var e;if(0===M.length||m)return null;let t=oL(p,M[0]);return null!=(e=null==t?void 0:t.label)?e:null})();function D(e){if(m){let t=M.includes(e)?M.filter(t=>t!==e):[...M,e];x||A(t),null==f||f(t)}else x||A(e),null==f||f(e),E(!1)}(0,a.useEffect)(()=>{var e,t;if(!S)return;let r=null!=(t=null==(e=_.current)?void 0:e.ownerDocument.defaultView)?t:window;function n(e){"Escape"===e.key&&E(!1)}function i(e){var t,r;let n=e.target;(null==(t=_.current)||!t.contains(n))&&(null!=(r=P.current)&&r.contains(n)||E(!1))}return r.addEventListener("keydown",n),r.addEventListener("mousedown",i),()=>{r.removeEventListener("keydown",n),r.removeEventListener("mousedown",i)}},[S]),(0,a.useEffect)(()=>{var e,t;if(!S||!w)return;L();let r=null!=(t=null==(e=_.current)?void 0:e.ownerDocument.defaultView)?t:window,n=()=>L();return r.addEventListener("scroll",n,!0),r.addEventListener("resize",n),()=>{r.removeEventListener("scroll",n,!0),r.removeEventListener("resize",n)}},[S,w,L]);let F=null!=u?u:c;return(0,i.FD)("div",{ref:_,className:(0,s.Q)("flex flex-col gap-100 w-full",y),children:[o&&(0,i.Y)("label",{className:"text-body-s text-content-primary",children:o}),(0,i.FD)("div",{ref:T,className:"relative",children:[(0,i.FD)("button",{ref:t,type:"button",id:b,name:v,disabled:d,"aria-haspopup":"listbox","aria-expanded":S,onClick:()=>!d&&E(e=>!e),className:R,children:[N?(0,i.Y)("span",{className:"flex flex-1 flex-wrap gap-100",children:M.map(e=>{var t;let r=oL(p,e);return(0,i.Y)(oA,{variant:"input",size:"sm",disabled:d,onRemove:()=>D(e),children:null!=(t=null==r?void 0:r.label)?t:String(e)},String(e))})}):(0,i.Y)("span",{className:(0,s.Q)("text-body-s flex-1 text-left truncate",j?"text-content-primary":"text-content-placeholder"),children:null!=(r=null!=j?j:l)?r:""}),(0,i.Y)(oP,{className:(0,s.Q)(d?"text-content-disabled":"text-content-primary",S&&"rotate-180")}
12)]}),S&&(()=>{let e=(0,i.Y)("div",{ref:P,role:"listbox","aria-multiselectable":m,style:w?O:void 0,className:(0,s.Q)("bg-background-primary rounded-300 shadow-[0_0_10px_0_rgba(0,0,0,0.1)] border border-border-subtle py-200 overflow-auto max-h-60",w?"fixed z-[1600]":"absolute left-0 right-0 z-50 mt-100"),children:p.map(e=>(0,i.Y)(oI,{option:e,selectedValues:M,multiple:m,onSelect:D,renderOption:g},String(e.value)))});return w&&"undefined"!=typeof document?(0,ez.createPortal)(e,document.body):e})()]}),F&&(0,i.Y)("span",{className:(0,s.Q)("text-caption-m",u?"text-content-negative":"text-content-secondary"),children:F})]})}function oL(e,t){for(let n of e){var r;if(null==(r=n.children)?void 0:r.length){let e=oL(n.children,t);if(e)return e}else if(n.value===t)return n}}let oN=(0,a.forwardRef)(oM)},42011:(e,t,r)=>{"use strict";r.d(t,{$d:()=>o.$d,Lw:()=>i.default,lA:()=>o.lA,w6:()=>n.default,wu:()=>a.default});var n=r(32678),i=r(74395),a=r(99761),o=r(2406)},42108:()=>{},42294:(e,t,r)=>{"use strict";let n;var i,a=r(29143);i={value:!0};var o=r(44960),s=r(13410),l=r(47106);function c(){return("object"!=typeof a||"0"!==a.env.FORCE_COLOR&&"false"!==a.env.FORCE_COLOR)&&o.isColorSupported}let u=(e,t)=>r=>e(t(r));function d(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.gray,invalid:u(u(e.white,e.bgRed),e.bold),gutter:e.gray,marker:u(e.red,e.bold),message:u(e.red,e.bold),reset:e.reset}}let p=d(o.createColors(!0)),h=d(o.createColors(!1));function f(e){return e?p:h}let m=new Set(["as","async","from","get","of","set"]),g=/\r\n|[\n\r\u2028\u2029]/,y=/^[()[\]{}]$/,v=/^[a-z][\w-]*$/i,b=function(e,t,r){if("name"===e.type){let n=e.value;if(l.isKeyword(n)||l.isStrictReservedWord(n,!0)||m.has(n))return"keyword";if(v.test(n)&&("<"===r[t-1]||"</"===r.slice(t-2,t)))return"jsxIdentifier";let i=String.fromCodePoint(n.codePointAt(0));if(i!==i.toLowerCase())return"capitalized"}return"punctuator"===e.type&&y.test(e.value)?"bracket":"invalid"===e.type&&("@"===e.value||"#"===e.value)?"punctuator":e.type};function w(e){if(""===e)return"";let t=f(!0),r="";for(let{type:i,value:a}of n(e))i in t?r+=a.split(g).map(e=>t[i](e)).join("\n"):r+=a;return r}n=function*(e){let t;for(;t=s.default.exec(e);){let r=s.matchToToken(t);yield{type:b(r,t.index,e),value:r.value}}};let x=!1,k=/\r\n|[\n\r\u2028\u2029]/;function A(e,t,r,n){let i=Object.assign({column:0,line:-1},e.start),a=Object.assign({},i,e.end),{linesAbove:o=2,linesBelow:s=3}=r||{},l=i.line-n,c=i.column,u=a.line-n,d=a.column,p=Math.max(l-(o+1),0),h=Math.min(t.length,u+s);-1===l&&(p=0),-1===u&&(h=t.length);let f=u-l,m={};if(f)for(let e=0;e<=f;e++){let r=e+l;if(c)if(0===e){let e=t[r-1].length;m[r]=[c,e-c+1]}else if(e===f)m[r]=[0,d];else{let n=t[r-e].length;m[r]=[0,n]}else m[r]=!0}else c===d?c?m[l]=[c,0]:m[l]=!0:m[l]=[c,d-c];return{start:p,end:h,markerLines:m}}function C(e,t,r={}){let n=r.forceColor||c()&&r.highlightCode,i=(r.startLine||1)-1,a=f(n),{start:o,end:s,markerLines:l}=A(t,e.split(k),r,i),u=t.start&&"number"==typeof t.start.column,d=String(s+i).length,p=(n?w(e):e).split(k,s).slice(o,s).map((e,t)=>{let n=o+1+t,s=` ${n+i}`.slice(-d),c=` ${s} |`,u=l[n],p=!l[n+1];if(!u)return` ${a.gutter(c)}${e.length>0?` ${e}`:""}`;{let t="";if(Array.isArray(u)){let n=e.slice(0,Math.max(u[0]-1,0)).replace(/[^\t]/g," "),i=u[1]||1;t="\n "+a.gutter(c.replace(/\d/g," "))+" "+n+a.marker("^").repeat(i),p&&r.message&&(t+=" "+a.message(r.message))}return[a.marker(">"),a.gutter(c),e.length>0?` ${e}`:"",t].join("")}}).join("\n");return(r.message&&!u&&(p=`${" ".repeat(d+1)}${r.message} 13${p}`),n)?a.reset(p):p}function S(e,t,r,n={}){if(!x){x=!0;let e="Passing lineNumber and colNumber is deprecated to @babel/code-frame. Please use `codeFrameColumns`.";a.emitWarning?a.emitWarning(e,"DeprecationWarning"):(Error(e).name="DeprecationWarning",console.warn(Error(e)))}return C(e,{start:{column:r=Math.max(r,0),line:t}},n)}t.gl=C,i=S,i=w},42332:(e,t,r)=>{"use strict";r.d(t,{L:()=>n,bi:()=>a,fY:()=>i});let n="https://public.wordup.com.tw/placeholder.png",i="https://public.wordup.com.tw/shop/assets/Cover_empty_M.png",a="".concat("https://public.wordup.com.tw","/logo_temp.png")},42370:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});let n=e=>{let t=Object.keys(e).map(t=>({key:t,val:e[t]}
13))||[];return t.sort((e,t)=>e.val-t.val),t.reduce((e,t)=>({...e,[t.key]:t.val}),{})};function i(e){let{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:i=5,...a}=e,o=n(t),s=Object.keys(o);function l(e){let n="number"==typeof t[e]?t[e]:e;return`@media (min-width:${n}${r})`}function c(e){let n="number"==typeof t[e]?t[e]:e;return`@media (max-width:${n-i/100}${r})`}function u(e,n){let a=s.indexOf(n);return`@media (min-width:${"number"==typeof t[e]?t[e]:e}${r}) and (max-width:${(-1!==a&&"number"==typeof t[s[a]]?t[s[a]]:n)-i/100}${r})`}function d(e){return s.indexOf(e)+1<s.length?u(e,s[s.indexOf(e)+1]):l(e)}function p(e){let t=s.indexOf(e);return 0===t?l(s[1]):t===s.length-1?c(s[t]):u(e,s[s.indexOf(e)+1]).replace("@media","@media not all and")}return{keys:s,values:o,up:l,down:c,between:u,only:d,not:p,unit:r,...a}}},42479:(e,t,r)=>{"use strict";r.d(t,{A:()=>o,r:()=>a});var n=r(11722),i=r(91206);function a(e){return(0,i.Ay)("MuiBreadcrumbs",e)}let o=(0,n.A)("MuiBreadcrumbs",["root","ol","li","separator"])},42874:(e,t,r)=>{"use strict";r.r(t),r.d(t,{sendDcardAdsAddToCartEvent:()=>l,sendDcardAdsAddToWishlistEvent:()=>c,sendDcardAdsCompleteRegistrationEvent:()=>d,sendDcardAdsContactEvent:()=>u,sendDcardAdsCustomizeProductEvent:()=>p,sendDcardAdsDonateEvent:()=>h,sendDcardAdsFindLocationEvent:()=>f,sendDcardAdsInitiateCheckoutEvent:()=>m,sendDcardAdsLeadEvent:()=>g,sendDcardAdsPageViewEvent:()=>s,sendDcardAdsPurchaseEvent:()=>y,sendDcardAdsScheduleEvent:()=>v,sendDcardAdsSearchEvent:()=>b,sendDcardAdsStartTrialEvent:()=>w,sendDcardAdsSubmitApplicationEvent:()=>x,sendDcardAdsSubscribeEvent:()=>k,sendDcardAdsViewContentEvent:()=>A});var n=r(6329),i=r(49511),a=r(97043);let o=(e,t)=>{let{payload:r,onSuccess:o,onError:s}=t;try{if(!(0,i.Ve)()){let t="[Dcard Ads] cliet events emitter, does not send dcard ads event in server side.";n.O_||console.log("%c".concat(t),"color:white;font-size:0.75rem;background:#00324e;",e,r),"function"==typeof s&&s(Error(t));return}if(!window.dadk){let t="[Dcard Ads] is not initialized, please check the Dcard Ads script was loaded or not.";n.O_||console.log("%c".concat(t),"color:white;font-size:0.75rem;background:#00324e;",e,r),"function"==typeof s&&s(Error(t));return}window.dadk("track",e,r),"function"==typeof o&&o()}catch(t){(0,a.me)({err:t,level:"warning",context:{eventName:e,eventPayload:r,message:"Failed to send Dcard Ads event."}}),"function"==typeof s&&s(t)}},s=e=>{o("PageView",e)},l=e=>{o("AddToCart",e)},c=e=>{o("AddToWishlist",e)},u=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o("Contact",{...e,payload:void 0})},d=e=>{o("CompleteRegistration",e)},p=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o("CustomizeProduct",{...e,payload:void 0})},h=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o("Donate",{...e,payload:void 0})},f=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o("FindLocation",{...e,payload:void 0})},m=e=>{o("InitiateCheckout",e)},g=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o("Lead",{...e,payload:void 0})},y=e=>{o("Purchase",e)},v=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o("Schedule",{...e,payload:void 0})},b=e=>{o("Search",e)},w=e=>{o("StartTrial",e)},x=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};o("SubmitApplication",{...e,payload:void 0})},k=e=>{o("Subscribe",e)},A=e=>{o("ViewContent",e)}},43074:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=s(r(55729)),i=s(r(44374)),a=s(r(35015)),o=["onSuccess","onError","skipScript","authOptions","iconProps","render","uiType","className","noDefaultStyle","buttonExtraChildren"];function s(e){return e&&e.__esModule?e:{default:e}}function l(){return(l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function c(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function u(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
13t%2?c(Object(r),!0).forEach(function(t){d(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function d(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function p(e,t){if(null==e)return{};var r,n,i=h(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function h(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}var f="\n.react-apple-signin-auth-btn {\n background-color: transparent;\n border: none;\n padding: 0;\n cursor: pointer;\n border-radius: 4px;\n padding: 0 8px 0 2px;\n font-size: 14px;\n font-size: 1em;\n line-height: 1;\n border: 1px solid #000;\n overflow: hidden;\n display: inline-flex;\n justify-content: center;\n align-items: center;\n}\n.react-apple-signin-auth-btn-light {\n background-color: #FFF;\n color: #000;\n border-color: #000;\n}\n.react-apple-signin-auth-btn-dark {\n background-color: #000;\n color: #FFF;\n border-color: #FFF;\n}".replace(/ {2}|\n/g,"");t.default=function(e){var t=e.onSuccess,r=e.onError,s=e.skipScript,c=void 0!==s&&s,d=e.authOptions,h=e.iconProps,m=e.render,g=e.uiType,y=void 0===g?"dark":g,v=e.className,b=e.noDefaultStyle,w=void 0!==b&&b,x=e.buttonExtraChildren,k=void 0===x?"Continue with Apple":x,A=p(e,o);(0,i.default)(c?null:a.default.APPLE_SCRIPT_SRC);var C=function(e){e&&(e.preventDefault(),e.stopPropagation()),a.default.signIn({authOptions:d,onSuccess:t,onError:r})},S=u({children:n.default.createElement(n.default.Fragment,null,n.default.createElement("svg",l({width:"24px",height:"44px",viewBox:"0 0 24 44"},h),n.default.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},n.default.createElement("rect",{fill:"light"===y?"#FFF":"#000",x:"0",y:"0",width:"24",height:"44"}),n.default.createElement("path",{d:"M12.2337427,16.9879688 C12.8896607,16.9879688 13.7118677,16.5445313 14.2014966,15.9532812 C14.6449341,15.4174609 14.968274,14.6691602 14.968274,13.9208594 C14.968274,13.8192383 14.9590357,13.7176172 14.9405591,13.6344727 C14.2107349,13.6621875 13.3330982,14.1241016 12.8065162,14.7430664 C12.3907935,15.2142188 12.012024,15.9532812 12.012024,16.7108203 C12.012024,16.8216797 12.0305005,16.9325391 12.0397388,16.9694922 C12.0859302,16.9787305 12.1598365,16.9879688 12.2337427,16.9879688 Z M9.92417241,28.1662891 C10.8202857,28.1662891 11.2175318,27.5658008 12.3353638,27.5658008 C13.4716724,27.5658008 13.721106,28.1478125 14.7188404,28.1478125 C15.6980982,28.1478125 16.3540162,27.2424609 16.972981,26.3555859 C17.6658521,25.339375 17.9522388,24.3416406 17.9707154,24.2954492 C17.9060474,24.2769727 16.0306763,23.5101953 16.0306763,21.3576758 C16.0306763,19.491543 17.5088013,18.6508594 17.5919459,18.5861914 C16.612688,17.1819727 15.1253248,17.1450195 14.7188404,17.1450195 C13.6194849,17.1450195 12.7233716,17.8101758 12.1598365,17.8101758 C11.5501099,17.8101758 10.7463794,17.1819727 9.79483648,17.1819727 C7.98413335,17.1819727 6.14571538,18.6785742 6.14571538,21.5054883 C6.14571538,23.2607617 6.8293482,25.1176563 7.67003179,26.3186328 C8.39061773,27.3348438 9.01882085,28.1662891 9.92417241,28.1662891 Z",fill:"light"===y?"#000":"#FFF",fillRule:"nonzero"}))),k),onClick:C},A);return m?m(S):n.default.createElement(n.default.Fragment,null,n.default.createElement("button",l({className:"".concat(w?"":"react-apple-signin-auth-btn react-apple-signin-auth-btn-".concat(y)).concat(v?" ".concat(v):""),type:"button","aria-label":"Signin with apple ID"},S)),w?null:n.default.createElement("style",null,f))}},43904:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(30172),i="Expected a function";let a=function(e){if("function"!=typeof e)throw TypeError(i);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}};var o=r(12781);let s=function(e,t){return(0,o.A)(e,a((0,n.A)(t)))}},44044:(e,t,r)=>{"use strict";r.d(t,{Zr:()=>L,Gk:()=>O,Gs:()=>M,Ut:()=>T});var n=r(55729),i=r(32790),a=r(95785),o=r(59330),s=r(91117),l=r(53065),c=r(6029);let u="mode",d="color-scheme",p="data-color-scheme";function h(e){let{defaultMode:t="system",defaultLightColorScheme:r="light",defaultDar
13kColorScheme:n="dark",modeStorageKey:i=u,colorSchemeStorageKey:a=d,attribute:o=p,colorSchemeNode:s="document.documentElement",nonce:l}=e||{},h="",f=o;if("class"===o&&(f=".%s"),"data"===o&&(f="[data-%s]"),f.startsWith(".")){let e=f.substring(1);h+=`${s}.classList.remove('${e}'.replace('%s', light), '${e}'.replace('%s', dark)); 14 ${s}.classList.add('${e}'.replace('%s', colorScheme));`}let m=f.match(/\[([^\]]+)\]/);if(m){let[e,t]=m[1].split("=");t||(h+=`${s}.removeAttribute('${e}'.replace('%s', light)); 15 ${s}.removeAttribute('${e}'.replace('%s', dark));`),h+=` 16 ${s}.setAttribute('${e}'.replace('%s', colorScheme), ${t?`${t}.replace('%s', colorScheme)`:'""'});`}else h+=`${s}.setAttribute('${f}', colorScheme);`;return(0,c.jsx)("script",{suppressHydrationWarning:!0,nonce:"undefined"==typeof window?l:"",dangerouslySetInnerHTML:{__html:`(function() { 17try { 18 let colorScheme = ''; 19 const mode = localStorage.getItem('${i}') || '${t}'; 20 const dark = localStorage.getItem('${a}-dark') || '${n}'; 21 const light = localStorage.getItem('${a}-light') || '${r}'; 22 if (mode === 'system') { 23 // handle system mode 24 const mql = window.matchMedia('(prefers-color-scheme: dark)'); 25 if (mql.matches) { 26 colorScheme = dark 27 } else { 28 colorScheme = light 29 } 30 } 31 if (mode === 'light') { 32 colorScheme = light; 33 } 34 if (mode === 'dark') { 35 colorScheme = dark; 36 } 37 if (colorScheme) { 38 ${h} 39 } 40} catch(e){}})();`}},"mui-color-scheme-init")}function f(){}let m=({key:e,storageWindow:t})=>(t||"undefined"==typeof window||(t=window),{get(r){let n;if("undefined"!=typeof window){if(!t)return r;try{n=t.localStorage.getItem(e)}catch{}return n||r}},set:r=>{if(t)try{t.localStorage.setItem(e,r)}catch{}},subscribe:r=>{if(!t)return f;let n=t=>{let n=t.newValue;t.key===e&&r(n)};return t.addEventListener("storage",n),()=>{t.removeEventListener("storage",n)}}});function g(){}function y(e){if("undefined"!=typeof window&&"function"==typeof window.matchMedia&&"system"===e)return window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function v(e,t){return"light"===e.mode||"system"===e.mode&&"light"===e.systemMode?t("light"):"dark"===e.mode||"system"===e.mode&&"dark"===e.systemMode?t("dark"):void 0}function b(e){return v(e,t=>"light"===t?e.lightColorScheme:"dark"===t?e.darkColorScheme:void 0)}function w(e){let{defaultMode:t="light",defaultLightColorScheme:r,defaultDarkColorScheme:i,supportedColorSchemes:a=[],modeStorageKey:o=u,colorSchemeStorageKey:s=d,storageWindow:l="undefined"==typeof window?void 0:window,storageManager:c=m,noSsr:p=!1}=e,h=a.join(","),f=a.length>1,w=n.useMemo(()=>c?.({key:o,storageWindow:l}),[c,o,l]),x=n.useMemo(()=>c?.({key:`${s}-light`,storageWindow:l}),[c,s,l]),k=n.useMemo(()=>c?.({key:`${s}-dark`,storageWindow:l}),[c,s,l]),[A,C]=n.useState(()=>{let e=w?.get(t)||t,n=x?.get(r)||r,a=k?.get(i)||i;return{mode:e,systemMode:y(e),lightColorScheme:n,darkColorScheme:a}}),[S,E]=n.useState(p||!f);n.useEffect(()=>{E(!0)},[]);let _=b(A),T=n.useCallback(e=>{C(r=>{if(e===r.mode)return r;let n=e??t;return w?.set(n),{...r,mode:n,systemMode:y(n)}})},[w,t]),P=n.useCallback(e=>{e?"string"==typeof e?e&&!h.includes(e)?console.error(`\`${e}\` does not exist in \`theme.colorSchemes\`.`):C(t=>{let r={...t};return v(t,t=>{"light"===t&&(x?.set(e),r.lightColorScheme=e),"dark"===t&&(k?.set(e),r.darkColorScheme=e)}),r}):C(t=>{let n={...t},a=null===e.light?r:e.light,o=null===e.dark?i:e.dark;return a&&(h.includes(a)?(n.lightColorScheme=a,x?.set(a)):console.error(`\`${a}\` does not exist in \`theme.colorSchemes\`.`)),o&&(h.includes(o)?(n.darkColorScheme=o,k?.set(o)):console.error(`\`${o}\` does not exist in \`theme.colorSchemes\`.`)),n}):C(e=>(x?.set(r),k?.set(i),{...e,lightColorScheme:r,darkColorScheme:i}))},[h,x,k,r,i]),O=n.useCallback(e=>{"system"===A.mode&&C(t=>{let r=e?.matches?"dark":"light";return t.systemMode===r?t:{...t,systemMode:r}})},[A.mode]),I=n.useRef(O);return I.current=O,n.useEffect(()=>{if("function"!=typeof window.matchMedia||!f)return;let e=(...e)=>I.current(...e),t=window.matchMedia("(prefers-color-scheme: dark)");return t.addListener(e),e(t),()=>{t.removeListener(e)}},[f]),n.useEffect(()=>{if(f){let e=w?.subscribe(e=>{(!e||["light","dark","system"].includes(e))&&T(e||t)})||g,r=x?.subscribe(e=>{(!e||h.match(e))&&P({light:e})})||g,n=k?.subscribe(e=>{(!e||h.match(e))&&P({dark:e})})||g;return()=>{e(),r(),n()}}},[P,T,h,t,l,f,w,x,k]),{...A,mode:S?A.mode:void 0,systemMode:S?A.systemMode:void 0,colorScheme:S?_:void 0,setMode:T,setColorScheme:P}}let x="*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}";function k(e){let{themeId:t,theme:r={},modeStorageKey:i=u,colorSchemeStorageKey:p=d,disableTransitionOnChange:f=!1,defaultColorScheme:m,resolveTheme:g}=e,y={allColorSchemes:[],colorScheme:void 0,darkColorScheme:void 0,lightColorScheme:void 0,mode:void 0,setColorScheme:()=>{},setMode:()=>{},systemMode:void 0},v=n.createContext(void 0),b=()=>n.useContext(v)||y,k={},A={};function C(e){let{children:u,theme:d,modeStorageKey:h=i,colorSchemeStorageKey:y=p,disableTransitionOnChange:b=f,storageManager:C,storageWindow:S="undefined"==typeof window?void 0:window,documentNode:E="undefined"==typeof document?void 0:document,colorSchemeNode:_="undefined"==typeof document?void 0:document.documentElement,disableNestedContext:T=!1,disableStyleSheetGeneration:P=!1,defaultMode:O="system",noSsr:I}=e,M=n.useRef(!1),L=(0,o.A)(),N=n.useContext(v),R=!!N&&!T,j=n.useMemo(()=>d||("function"==typeof r?r():r),[d]),D=j[t],F=D||j,{colorSchemes:V=k,components:B=A,cssVarPrefix:z}=F,$=Object.keys(V).filter(e=>!!V[e]).join(","),U=n.useMemo(()=>$.split(","),[$]),q="string"==typeof m?m:m.light,H="string"==typeof m?m:m.dark,Y=V[q]&&V[H]?O:V[F.defaultColorScheme]?.palette?.mode||F.palette?.mode,{mode:W,setMode:G,systemMode:K,lightColorScheme:J,darkColorScheme:X,colorScheme:Q,setColorScheme:Z}=w({supportedColorSchemes:U,defaultLightColorScheme:q,defaultDar
40kColorScheme:H,modeStorageKey:h,colorSchemeStorageKey:y,defaultMode:Y,storageManager:C,storageWindow:S,noSsr:I}),ee=W,et=Q;R&&(ee=N.mode,et=N.colorScheme);let er=n.useMemo(()=>{let e=et||F.defaultColorScheme,t=F.generateThemeVars?.()||F.vars,r={...F,components:B,colorSchemes:V,cssVarPrefix:z,vars:t};if("function"==typeof r.generateSpacing&&(r.spacing=r.generateSpacing()),e){let t=V[e];t&&"object"==typeof t&&Object.keys(t).forEach(e=>{t[e]&&"object"==typeof t[e]?r[e]={...r[e],...t[e]}:r[e]=t[e]})}return g?g(r):r},[F,et,B,V,z]),en=F.colorSchemeSelector;(0,s.A)(()=>{if(et&&_&&en&&"media"!==en){let e=en,t=en;if("class"===e&&(t=".%s"),"data"===e&&(t="[data-%s]"),e?.startsWith("data-")&&!e.includes("%s")&&(t=`[${e}="%s"]`),t.startsWith("."))_.classList.remove(...U.map(e=>t.substring(1).replace("%s",e))),_.classList.add(t.substring(1).replace("%s",et));else{let e=t.replace("%s",et).match(/\[([^\]]+)\]/);if(e){let[t,r]=e[1].split("=");r||U.forEach(e=>{_.removeAttribute(t.replace(et,e))}),_.setAttribute(t,r?r.replace(/"|'/g,""):"")}else _.setAttribute(t,et)}}},[et,en,_,U]),n.useEffect(()=>{let e;if(b&&M.current&&E){let t=E.createElement("style");t.appendChild(E.createTextNode(x)),E.head.appendChild(t),window.getComputedStyle(E.body),e=setTimeout(()=>{E.head.removeChild(t)},1)}return()=>{clearTimeout(e)}},[et,b,E]),n.useEffect(()=>(M.current=!0,()=>{M.current=!1}),[]);let ei=n.useMemo(()=>({allColorSchemes:U,colorScheme:et,darkColorScheme:X,lightColorScheme:J,mode:ee,setColorScheme:Z,setMode:G,systemMode:K}),[U,et,X,J,ee,Z,G,K,er.colorSchemeSelector]),ea=!0;(P||!1===F.cssVariables||R&&L?.cssVarPrefix===z)&&(ea=!1);let eo=(0,c.jsxs)(n.Fragment,{children:[(0,c.jsx)(l.A,{themeId:D?t:void 0,theme:er,children:u}),ea&&(0,c.jsx)(a.A,{styles:er.generateStyleSheets?.()||[]})]});return R?eo:(0,c.jsx)(v.Provider,{value:ei,children:eo})}let S="string"==typeof m?m:m.light,E="string"==typeof m?m:m.dark;return{CssVarsProvider:C,useColorScheme:b,getInitColorSchemeScript:e=>h({colorSchemeStorageKey:p,defaultLightColorScheme:S,defaultDarkColorScheme:E,modeStorageKey:i,...e})}}var A=r(73650),C=r(5764),S=r(13934);let E={colorSchemeStorageKey:"mui-color-scheme",defaultLightColorScheme:"light",defaultDarkColorScheme:"dark",modeStorageKey:"mui-mode"},{CssVarsProvider:_,useColorScheme:T,getInitColorSchemeScript:P}=k({themeId:S.A,theme:()=>(0,A.A)({cssVariables:!0}),colorSchemeStorageKey:E.colorSchemeStorageKey,modeStorageKey:E.modeStorageKey,defaultColorScheme:{light:E.defaultLightColorScheme,dark:E.defaultDarkColorScheme},resolveTheme:e=>{let t={...e,typography:(0,C.A)(e.palette,e.typography)};return t.unstable_sx=function(e){return(0,i.A)({sx:e,theme:this})},t}});function O(e){return(0,c.jsx)(_,{...e})}let I=!1,M=e=>(I||(console.warn("MUI: The getInitColorSchemeScript function has been deprecated.\n\nYou should use `import InitColorSchemeScript from '@mui/material/InitColorSchemeScript'`\nand replace the function call with `<InitColorSchemeScript />` instead."),I=!0),P(e)),L=_},44151:(e,t,r)=>{"use strict";function n(e,t){return{toolbar:{minHeight:56,[e.up("xs")]:{"@media (orientation: landscape)":{minHeight:48}},[e.up("sm")]:{minHeight:64}},...t}}r.d(t,{A:()=>n})},44374:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(55729);t.default=function(e){(0,n.useEffect)(function(){if(e){var t=document.querySelectorAll('script[src="'.concat(e,'"]'))[0];t||((t=document.createElement("script")).src=e,t.async=!0,document.body.appendChild(t))}},[e])}},44883:(e,t,r)=>{"use strict";r.d(t,{EH:()=>s,F5:()=>u,XZ:()=>l});let n=/\/api\/v1\/video_assets\/[^/]+\/playback(?:$|[?#/])/,i=/\/api\/v1\/video_assets\/([^/?#]+)\/playback/,a=/(\/api\/v1\/video_assets\/[^/?#]+\/)playback(?=$|[?#])/,o=e=>!!e&&n.test(e),s=e=>e&&o(e)?e.replace(a,"$1playback_url"):null,l=e=>{var t,r,n;if(!e)return null;let a=e.match(i);if(!a)return null;let o=new URLSearchParams(e.includes("?")?e.slice(e.indexOf("?")+1).split("#")[0]:"");return{videoAssetId:a[1],productId:null!=(t=o.get("product_id"))?t:void 0,orgId:null!=(r=o.get("org_id"))?r:void 0,materialId:null!=(n=o.get("material_id"))?n:void 0}},c=()=>"undefined"!=typeof document&&!!document.createElement("video").canPlayType("application/vnd.apple.mpegurl"),u=(e,t)=>
40{var r;return!o(t)||c()?null!=e?e:{}:{...e,file:{...null!=(r=null==e?void 0:e.file)?r:{},forceHLS:!0}}}},44930:(e,t,r)=>{"use strict";r.d(t,{i:()=>l,s:()=>s});var n,i=r(55729),a=function(e){return e()},o=!!(n||(n=r.t(i,2))).useInsertionEffect&&(n||(n=r.t(i,2))).useInsertionEffect,s=o||a,l=o||i.useLayoutEffect},44960:e=>{var t=String,r=function(){return{isColorSupported:!1,reset:t,bold:t,dim:t,italic:t,underline:t,inverse:t,hidden:t,strikethrough:t,black:t,red:t,green:t,yellow:t,blue:t,magenta:t,cyan:t,white:t,gray:t,bgBlack:t,bgRed:t,bgGreen:t,bgYellow:t,bgBlue:t,bgMagenta:t,bgCyan:t,bgWhite:t,blackBright:t,redBright:t,greenBright:t,yellowBright:t,blueBright:t,magentaBright:t,cyanBright:t,whiteBright:t,bgBlackBright:t,bgRedBright:t,bgGreenBright:t,bgYellowBright:t,bgBlueBright:t,bgMagentaBright:t,bgCyanBright:t,bgWhiteBright:t}};e.exports=r(),e.exports.createColors=r},45594:(e,t,r)=>{"use strict";r.d(t,{A:()=>l,B:()=>f,I:()=>O,O:()=>u,S:()=>Q,U:()=>c,a:()=>p,b:()=>s,c:()=>G,d:()=>J,e:()=>d,f:()=>X,g:()=>Z,i:()=>v,m:()=>h,n:()=>U,o:()=>$,r:()=>P,s:()=>B,t:()=>I,u:()=>M,z:()=>k});var n=r(55729),i=r(93214),a=Object.prototype.hasOwnProperty;function o(e,t){var r,n;if(e===t)return!0;if(e&&t&&(r=e.constructor)===t.constructor){if(r===Date)return e.getTime()===t.getTime();if(r===RegExp)return e.toString()===t.toString();if(r===Array){if((n=e.length)===t.length)for(;n--&&o(e[n],t[n]););return -1===n}if(!r||"object"==typeof e){for(r in n=0,e)if(a.call(e,r)&&++n&&!a.call(t,r)||!(r in t)||!o(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!=e&&t!=t}let s=new WeakMap,l=()=>{},c=l(),u=Object,d=e=>e===c,p=e=>"function"==typeof e,h=(e,t)=>({...e,...t}),f=e=>p(e.then),m={},g={},y="undefined",v=typeof window!=y,b=typeof document!=y,w=v&&"Deno"in window,x=()=>v&&typeof window.requestAnimationFrame!=y,k=(e,t)=>{let r=s.get(e);return[()=>!d(t)&&e.get(t)||m,n=>{if(!d(t)){let i=e.get(t);t in g||(g[t]=i),r[5](t,h(i,n),i||m)}},r[6],()=>!d(t)&&t in g?g[t]:!d(t)&&e.get(t)||m]},A=!0,C=()=>A,[S,E]=v&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[l,l],_={isOnline:C,isVisible:()=>{let e=b&&document.visibilityState;return d(e)||"hidden"!==e}},T={initFocus:e=>(b&&document.addEventListener("visibilitychange",e),S("focus",e),()=>{b&&document.removeEventListener("visibilitychange",e),E("focus",e)}),initReconnect:e=>{let t=()=>{A=!0,e()},r=()=>{A=!1};return S("online",t),S("offline",r),()=>{E("online",t),E("offline",r)}}},P=!n.useId,O=!v||w,I=e=>x()?window.requestAnimationFrame(e):setTimeout(e,1),M=O?n.useEffect:n.useLayoutEffect,L="undefined"!=typeof navigator&&navigator.connection,N=!O&&L&&(["slow-2g","2g"].includes(L.effectiveType)||L.saveData),R=new WeakMap,j=e=>u.prototype.toString.call(e),D=(e,t)=>e===`[object ${t}]`,F=0,V=e=>{let t,r,n=typeof e,i=j(e),a=D(i,"Date"),o=D(i,"RegExp"),s=D(i,"Object");if(u(e)!==e||a||o)t=a?e.toJSON():"symbol"==n?e.toString():"string"==n?JSON.stringify(e):""+e;else{if(t=R.get(e))return t;if(t=++F+"~",R.set(e,t),Array.isArray(e)){for(r=0,t="@";r<e.length;r++)t+=V(e[r])+",";R.set(e,t)}if(s){t="#";let n=u.keys(e).sort();for(;!d(r=n.pop());)d(e[r])||(t+=r+":"+V(e[r])+",");R.set(e,t)}}return t},B=e=>{if(p(e))try{e=e()}catch(t){e=""}let t=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?V(e):"",t]},z=0,$=()=>++z;async function U(...e){let[t,r,n,a]=e,o=h({populateCache:!0,throwOnError:!0},"boolean"==typeof a?{revalidate:a}:a||{}),l=o.populateCache,u=o.rollbackOnError,m=o.optimisticData,g=e=>"function"==typeof u?u(e):!1!==u,y=o.throwOnError;if(p(r)){let e=r,n=[];for(let r of t.keys())!/^\$(inf|sub)\$/.test(r)&&e(t.get(r)._k)&&n.push(r);return Promise.all(n.map(v))}return v(r);async function v(r){let a,[u]=B(r);if(!u)return;let[h,v]=k(t,u),[b,w,x,A]=s.get(t),C=()=>{let e=b[u];return(p(o.revalidate)?o.revalidate(h().data,r):!1!==o.revalidate)&&(delete x[u],delete A[u],e&&e[0])?e[0](i.q2).then(()=>h().data):h().data};if(e.length<3)return C();let S=n,E=!1,_=$();w[u]=[_,0];let T=!d(m),P=h(),O=P.data,I=P._c,M=d(I)?O:I;if(T&&v({data:m=p(m)?m(M,O):m,_c:M}),p(S))try{S=S(M)}catch(e){a=e,E=!0}
40if(S&&f(S)){if(S=await S.catch(e=>{a=e,E=!0}),_!==w[u][0]){if(E)throw a;return S}E&&T&&g(a)&&(l=!0,v({data:M,_c:c}))}if(l&&!E&&(p(l)?v({data:l(S,M),error:c,_c:c}):v({data:S,error:c,_c:c})),w[u][1]=$(),Promise.resolve(C()).then(()=>{v({_c:c})}),E){if(y)throw a;return}return S}}let q=(e,t)=>{for(let r in e)e[r][0]&&e[r][0](t)},H=(e,t)=>{if(!s.has(e)){let r=h(T,t),n=Object.create(null),a=U.bind(c,e),o=l,u=Object.create(null),d=(e,t)=>{let r=u[e]||[];return u[e]=r,r.push(t),()=>r.splice(r.indexOf(t),1)},p=(t,r,n)=>{e.set(t,r);let i=u[t];if(i)for(let e of i)e(r,n)},f=()=>{if(!s.has(e)&&(s.set(e,[n,Object.create(null),Object.create(null),Object.create(null),a,p,d]),!O)){let t=r.initFocus(setTimeout.bind(c,q.bind(c,n,i.CC))),a=r.initReconnect(setTimeout.bind(c,q.bind(c,n,i.jB)));o=()=>{t&&t(),a&&a(),s.delete(e)}}};return f(),[e,a,f,o]}return[e,s.get(e)[4]]},Y=(e,t,r,n,i)=>{let a=r.errorRetryCount,o=i.retryCount,s=~~((Math.random()+.5)*(1<<(o<8?o:8)))*r.errorRetryInterval;(d(a)||!(o>a))&&setTimeout(n,s,i)},W=o,[G,K]=H(new Map),J=h({onLoadingSlow:l,onSuccess:l,onError:l,onErrorRetry:Y,onDiscarded:l,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:N?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:N?5e3:3e3,compare:W,isPaused:()=>!1,cache:G,mutate:K,fallback:{}},_),X=(e,t)=>{let r=h(e,t);if(t){let{use:n,fallback:i}=e,{use:a,fallback:o}=t;n&&a&&(r.use=n.concat(a)),i&&o&&(r.fallback=h(i,o))}return r},Q=(0,n.createContext)({}),Z=e=>{let{value:t}=e,r=(0,n.useContext)(Q),i=p(t),a=(0,n.useMemo)(()=>i?t(r):t,[i,r,t]),o=(0,n.useMemo)(()=>i?a:X(r,a),[i,r,a]),s=a&&a.provider,l=(0,n.useRef)(c);s&&!l.current&&(l.current=H(s(o.cache||G),a));let u=l.current;return u&&(o.cache=u[0],o.mutate=u[1]),M(()=>{if(u)return u[2]&&u[2](),u[3]},[]),(0,n.createElement)(Q.Provider,h(e,{value:o}))}},46064:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(92160);let i=(0,r(8132).A)(Object.keys,Object);var a=Object.prototype.hasOwnProperty;let o=function(e){if(!(0,n.A)(e))return i(e);var t=[];for(var r in Object(e))a.call(e,r)&&"constructor"!=r&&t.push(r);return t}},46113:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(58309);let i=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],a=(0,n.A)("plus",i)},46193:(e,t,r)=>{"use strict";r.d(t,{A:()=>p});var n=r(55729),i=r.t(n,2),a=r(91117),o=r(48241),s=r(68898);function l(e,t,r,i,o){let[s,l]=n.useState(()=>o&&r?r(e).matches:i?i(e).matches:t);return(0,a.A)(()=>{if(!r)return;let t=r(e),n=()=>{l(t.matches)};return n(),t.addEventListener("change",n),()=>{t.removeEventListener("change",n)}},[e,r]),s}let c={...i}.useSyncExternalStore;function u(e,t,r,i,a){let o=n.useCallback(()=>t,[t]),s=n.useMemo(()=>{if(a&&r)return()=>r(e).matches;if(null!==i){let{matches:t}=i(e);return()=>t}return o},[o,e,i,a,r]),[l,u]=n.useMemo(()=>{if(null===r)return[o,()=>()=>{}];let t=r(e);return[()=>t.matches,e=>(t.addEventListener("change",e),()=>{t.removeEventListener("change",e)})]},[o,r,e]);return c(u,l,s)}function d(e={}){let{themeId:t}=e;return function(e,r={}){let n=(0,s.A)();n&&t&&(n=n[t]||n);let i="undefined"!=typeof window&&void 0!==window.matchMedia,{defaultMatches:a=!1,matchMedia:d=i?window.matchMedia:null,ssrMatchMedia:p=null,noSsr:h=!1}=(0,o.A)({name:"MuiUseMediaQuery",props:r,theme:n}),f="function"==typeof e?e(n):e;return(f=f.replace(/^@media( ?)/m,"")).includes("print")&&console.warn("MUI: You have provided a `print` query to the `useMediaQuery` hook.\nUsing the print media query to modify print styles can lead to unexpected results.\nConsider using the `displayPrint` field in the `sx` prop instead.\nMore information about `displayPrint` on our docs: https://mui.com/system/display/#display-in-print."),(void 0!==c?u:l)(f,a,d,p,h)}}d();let p=d({themeId:r(13934).A})},46887:(e,t,r)=>{"use strict";function n(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)e[n]=r[n]}return e}function i(e,t){function r(r,i,a){if("undefined"!=typeof document){a=n({},t,a),"number"==typeof a.expires&&(a.expires=new Date(Date.now()+864e5*a.expires)),a.expires&&(a.expires=a.expires.toUTCString()),r=encodeURIComponent(r).replace(/%(2[346B]|5E|60|7C)/g,decode
40URIComponent).replace(/[()]/g,escape);var o="";for(var s in a)a[s]&&(o+="; "+s,!0!==a[s]&&(o+="="+a[s].split(";")[0]));return document.cookie=r+"="+e.write(i,r)+o}}return Object.create({set:r,get:function(t){if("undefined"!=typeof document&&(!arguments.length||t)){for(var r=document.cookie?document.cookie.split("; "):[],n={},i=0;i<r.length;i++){var a=r[i].split("="),o=a.slice(1).join("=");try{var s=decodeURIComponent(a[0]);if(n[s]=e.read(o,s),t===s)break}catch(e){}}return t?n[t]:n}},remove:function(e,t){r(e,"",n({},t,{expires:-1}))},withAttributes:function(e){return i(this.converter,n({},this.attributes,e))},withConverter:function(e){return i(n({},this.converter,e),this.attributes)}},{attributes:{value:Object.freeze(t)},converter:{value:Object.freeze(e)}})}r.d(t,{A:()=>a});var a=i({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}},{path:"/"})},47106:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isIdentifierChar",{enumerable:!0,get:function(){return n.isIdentifierChar}}),Object.defineProperty(t,"isIdentifierName",{enumerable:!0,get:function(){return n.isIdentifierName}}),Object.defineProperty(t,"isIdentifierStart",{enumerable:!0,get:function(){return n.isIdentifierStart}}),Object.defineProperty(t,"isKeyword",{enumerable:!0,get:function(){return i.isKeyword}}),Object.defineProperty(t,"isReservedWord",{enumerable:!0,get:function(){return i.isReservedWord}}),Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return i.isStrictBindOnlyReservedWord}}),Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:!0,get:function(){return i.isStrictBindReservedWord}}),Object.defineProperty(t,"isStrictReservedWord",{enumerable:!0,get:function(){return i.isStrictReservedWord}});var n=r(92625),i=r(85137)},47126:(e,t,r)=>{"use strict";r.d(t,{I:()=>nN});var n=r(2860);r(55729);var i=r(84660),a=r(9428);let o=e=>{let{size:t=24,color:r="currentColor",...i}=e;return(0,n.Y)("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i,children:(0,n.Y)("path",{d:"M12.2131 3.00421C11.3069 3.00421 10.4631 3.16827 9.68188 3.4964C8.88501 3.84015 8.1897 4.3089 7.59595 4.90265C7.01782 5.48077 6.55688 6.16827 6.21313 6.96515C5.86938 7.7464 5.69751 8.59015 5.69751 9.4964C5.69751 10.2464 5.82251 10.9651 6.07251 11.6526C6.33813 12.3401 6.68188 12.973 7.10376 13.5511V19.598C7.10376 19.6917 7.1272 19.7855 7.17407 19.8792C7.22095 19.973 7.28345 20.0433 7.36157 20.0901C7.4397 20.1527 7.52563 20.1917 7.61938 20.2073C7.72876 20.223 7.82251 20.1995 7.90063 20.137L12.1663 18.3558L16.4084 20.137C16.4241 20.1683 16.4553 20.1917 16.5022 20.2073C16.5491 20.2073 16.6038 20.2073 16.6663 20.2073C16.7131 20.2073 16.7678 20.1995 16.8303 20.1839C16.8928 20.1526 16.9475 20.1214 16.9944 20.0901C17.0725 20.0433 17.135 19.973 17.1819 19.8792C17.2288 19.7855 17.2522 19.6917 17.2522 19.598V13.5042C17.7053 12.9573 18.0491 12.3401 18.2834 11.6526C18.5334 10.9651 18.6584 10.2308 18.6584 9.44952C18.6741 8.5589 18.51 7.72296 18.1663 6.94171C17.8381 6.16046 17.3772 5.48077 16.7834 4.90265C16.2053 4.3089 15.5256 3.84015 14.7444 3.4964C13.9475 3.16827 13.1038 3.00421 12.2131 3.00421ZM16.0569 13.0589C15.5881 13.5745 15.0178 13.9886 14.3459 14.3011C13.6741 14.598 12.9631 14.7464 12.2131 14.7464C11.4631 14.7464 10.7522 14.598 10.0803 14.3011C9.40845 13.9886 8.83032 13.5745 8.34595 13.0589C8.08032 12.7464 7.84595 12.4183 7.64282 12.0745C7.4397 11.7308 7.27563 11.3558 7.15063 10.9495C7.07251 10.7308 7.01782 10.4964 6.98657 10.2464C6.97095 9.9964 6.96313 9.73077 6.96313 9.44952C6.96313 8.73077 7.09595 8.04327 7.36157 7.38702C7.64282 6.7464 8.01782 6.19171 8.48657 5.72296C8.97095 5.23859 9.53345 4.85577 10.1741 4.57452C10.8303 4.29327 11.5256 4.15265 12.26 4.15265C12.9944 4.15265 13.6819 4.28546 14.3225 4.55109C14.9631 4.83234 15.5256 5.21515 16.01 5.69952C16.4944 6.16827 16.8694 6.72296 17.135 7.36359C17.4163 8.01984 17.5569 8.71515 17.5569 9.44952C17.5569 9.69952 17.5334 9.94952 17.4866 10.1995C17.4553 10.4495 17.4084 10.6995 17.3459 10.9495C17.2053 11.3558 17.0256 11.7386 16.8069 12.098C16.5881 12.4573 16.3381 12.7776 16.0569 13.0589ZM16.0569 18.7073L12.4475 17.137C12.4319 17.1214 12.4006 17.1136 12.3538 17.1136C12.3069 17.098 12.26 17.0901 12.2131 17.0901C12.1506 17.0901 12.1038 17.098 12.0725 17.1136C12.0413 17.1136 12.0022 17.1214 11.9553 17.137L8.29907 18.7073V14.6995C8.84595 15.1058 9.4397 15.4261 10.0803 15.6605C10.7366 15.8792 11.4319 15.9886 12.1663 15.9886C12.885 15.9886 13.5725 15.8792 14.2288 15.6605C14.885 15.4417 15.4788 15.1214 16.01 14.6995V18.7073H16.0569ZM14.8147 8.7464L13.1975 8.44171C13.1819 8.44171 13.1584 8.4339 13.1272 8.41827C13.1116 8.40265 13.1038 8.37921 13.1038 8.34796L12.3538 6.94171C12.3538 6.94171 12.3459 6.9339 12.3303 6.91827C12.3147 6.90265 12.3069 6.89484 12.3069 6.89484C12.2756 6.87921 12.2366 6.87921 12.1897 6.89484C12.1584 6.91046 12.1272 6.92609 12.0959 6.94171L11.3459 8.34796C11.3459 8.37921 11.3381 8.40265 11.3225 8.41827C11.3069 8.41827 11.2834 8.42609 11.2522 8.44171L9.65845 8.7464C9.6272 8.74
4064 9.60376 8.75421 9.58813 8.76984C9.58813 8.76984 9.58032 8.77765 9.5647 8.79327C9.53345 8.82452 9.51782 8.86359 9.51782 8.91046C9.51782 8.94171 9.53345 8.97296 9.5647 9.00421L9.65845 9.09796L10.6663 10.1526C10.6819 10.1683 10.6897 10.1917 10.6897 10.223C10.7053 10.2386 10.7131 10.2464 10.7131 10.2464V10.2933L10.4553 11.8401C10.4553 11.8714 10.4553 11.8948 10.4553 11.9105C10.4553 11.9105 10.4553 11.9261 10.4553 11.9573C10.4866 11.973 10.51 11.9886 10.5256 12.0042C10.5569 12.0198 10.6038 12.0198 10.6663 12.0042L12.0959 11.3011C12.1272 11.3011 12.1506 11.3011 12.1663 11.3011C12.1975 11.3011 12.2288 11.3011 12.26 11.3011L13.7131 12.0042C13.7288 12.0042 13.7366 12.0042 13.7366 12.0042C13.7522 12.0042 13.7756 12.0042 13.8069 12.0042C13.8538 12.0042 13.885 11.9886 13.9006 11.9573C13.9319 11.9105 13.9475 11.8714 13.9475 11.8401L13.76 10.2933V10.2464C13.76 10.2151 13.76 10.1917 13.76 10.1761C13.76 10.1605 13.7756 10.1526 13.8069 10.1526L14.8147 9.09796L14.9084 9.00421C14.9084 9.00421 14.9163 8.9964 14.9319 8.98077C14.9475 8.94952 14.9553 8.91827 14.9553 8.88702C14.9241 8.8714 14.8928 8.84796 14.8616 8.81671C14.8459 8.76984 14.8303 8.7464 14.8147 8.7464Z",fill:r})})},s=e=>{let{size:t=24,color:r="currentColor",...i}=e;return(0,n.Y)("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i,children:(0,n.Y)("path",{d:"M22.0781 5.33435C22.0156 4.94373 21.8438 4.62341 21.5625 4.37341C21.2812 4.12341 20.9531 3.9906 20.5781 3.97498C20.5312 3.58435 20.3594 3.25623 20.0625 2.9906C19.7656 2.70935 19.4141 2.56873 19.0078 2.56873C18.8984 2.56873 18.7969 2.58435 18.7031 2.6156C18.6094 2.63123 18.5234 2.65466 18.4453 2.68591L11.7891 5.19373C11.7734 5.19373 11.75 5.20154 11.7188 5.21716C11.7031 5.23279 11.6875 5.2406 11.6719 5.2406L3.75 3.99841C3.70312 3.98279 3.65625 3.97498 3.60938 3.97498C3.57812 3.97498 3.53906 3.97498 3.49219 3.97498C3.05469 3.97498 2.67969 4.13123 2.36719 4.44373C2.05469 4.75623 1.89844 5.13123 1.89844 5.56873V17.0531C1.89844 17.4437 2.02344 17.7875 2.27344 18.0844C2.53906 18.3812 2.86719 18.5609 3.25781 18.6234L11.8828 19.9828C11.8828 19.9828 11.8828 19.9906 11.8828 20.0062C11.8984 20.0062 11.9062 20.0062 11.9062 20.0062C11.9219 20.0062 11.9375 20.0062 11.9531 20.0062C11.9688 20.0062 11.9844 20.0062 12 20.0062C12.0156 20.0062 12.0312 20.0062 12.0469 20.0062C12.0625 20.0062 12.0781 20.0062 12.0938 20.0062C12.1094 20.0062 12.1172 19.9984 12.1172 19.9828L20.7422 18.6234C21.1328 18.5609 21.4531 18.3812 21.7031 18.0844C21.9688 17.7875 22.1016 17.4437 22.1016 17.0531V5.56873C22.1016 5.53748 22.1016 5.49841 22.1016 5.45154C22.1016 5.40466 22.0938 5.3656 22.0781 5.33435ZM11.8828 16.3265C11.8047 16.3265 11.7188 16.3187 11.625 16.3031C11.5469 16.2875 11.4688 16.2719 11.3906 16.2562V18.6937L3.44531 17.4515C3.35156 17.4359 3.26562 17.389 3.1875 17.3109C3.125 17.2328 3.09375 17.1469 3.09375 17.0531V5.56873C3.09375 5.45935 3.13281 5.3656 3.21094 5.28748C3.28906 5.20935 3.38281 5.17029 3.49219 5.17029C3.50781 5.17029 3.51562 5.17029 3.51562 5.17029C3.53125 5.17029 3.54688 5.17029 3.5625 5.17029L11.3906 6.41248V7.46716C11.5469 7.42029 11.7031 7.39685 11.8594 7.39685C12.0312 7.39685 12.1953 7.42029 12.3516 7.46716C12.3984 7.48279 12.4375 7.49841 12.4688 7.51404C12.5156 7.52966 12.5625 7.54529 12.6094 7.56091V6.15466L18.8672 3.81091C18.8828 3.79529 18.8984 3.78748 18.9141 3.78748C18.9453 3.78748 18.9766 3.78748 19.0078 3.78748C19.1016 3.78748 19.1875 3.81873 19.2656 3.88123C19.3438 3.94373 19.3906 4.02966 19.4062 4.13904C19.4062 4.13904 19.4062 4.14685 19.4062 4.16248C19.4062 4.16248 19.4062 4.17029 19.4062 4.18591V15.6937C19.4062 15.7719 19.3828 15.85 19.3359 15.9281C19.2891 15.9906 19.2266 16.0375 19.1484 16.0687L12.6094 18.5297V16.1625C12.5 16.2094 12.3828 16.2484 12.2578 16.2797C12.1328 16.3109 12.0078 16.3265 11.8828 16.3265ZM20.9062 17.0531C20.9062 17.1469 20.8672 17.2328 20.7891 17.3109C20.7266 17.389 20.6484 17.4359 20.5547 17.4515L17.6953 17.8969L19.5703 17.1937C19.8828 17.0687 20.1328 16.8734 20.3203 16.6078C20.5078 16.3265 20.6016 16.0219 20.6016 15.6937V5.19373C20.6797 5.20935 20.7422 5.24841 20.7891 5.31091C20.8516 5.35779 20.8906 5.4281 20.9062 5.52185C20.9062 5.52185 20.9062 5.52966 20.9062 5.54529C20.9062 5.56091 20.9062 5.56873 20.9062 5.56873V17.0531ZM12.0234 8.82654
40C11.9297 8.77966 11.8359 8.75623 11.7422 8.75623C11.6484 8.7406 11.5547 8.75623 11.4609 8.8031C11.4609 8.8031 11.4531 8.8031 11.4375 8.8031C11.4375 8.8031 11.4297 8.81091 11.4141 8.82654H11.3906L10.8047 9.15466L9.1875 10.0687C9.1875 10.0687 9.17969 10.0765 9.16406 10.0922C9.14844 10.0922 9.13281 10.0922 9.11719 10.0922C9.10156 10.1078 9.07812 10.1312 9.04688 10.1625C9.03125 10.1781 9.02344 10.1937 9.02344 10.2094H8.10938C8 10.2094 7.90625 10.2328 7.82812 10.2797C7.75 10.3265 7.67969 10.3812 7.61719 10.4437C7.58594 10.4906 7.55469 10.5453 7.52344 10.6078C7.50781 10.6703 7.5 10.7406 7.5 10.8187V13.0453C7.5 13.1078 7.50781 13.1703 7.52344 13.2328C7.55469 13.2953 7.58594 13.35 7.61719 13.3969C7.67969 13.475 7.75 13.5375 7.82812 13.5844C7.90625 13.6312 8 13.6547 8.10938 13.6547H9.02344C9.03906 13.6859 9.0625 13.7172 9.09375 13.7484C9.125 13.764 9.16406 13.7797 9.21094 13.7953C9.21094 13.7953 9.21094 13.8031 9.21094 13.8187L11.5078 14.8969C11.5078 14.8969 11.5156 14.8969 11.5312 14.8969C11.5625 14.9125 11.6016 14.9281 11.6484 14.9437C11.6953 14.9437 11.7344 14.9437 11.7656 14.9437C11.8281 14.9437 11.8828 14.9359 11.9297 14.9203C11.9922 14.9047 12.0469 14.8812 12.0938 14.85C12.1875 14.8031 12.2578 14.7328 12.3047 14.639C12.3516 14.5453 12.375 14.4515 12.375 14.3578C12.375 14.3578 12.375 14.0922 12.375 13.5609C12.3594 13.0453 12.3438 12.475 12.3281 11.85C12.3281 11.225 12.3281 10.6469 12.3281 10.1156C12.3125 9.59998 12.3047 9.34216 12.3047 9.34216C12.3047 9.23279 12.2812 9.13123 12.2344 9.03748C12.1875 8.94373 12.1172 8.87341 12.0234 8.82654ZM13.7344 12.4594C13.7656 12.475 13.8047 12.4906 13.8516 12.5062C13.8984 12.5219 13.9453 12.5297 13.9922 12.5297H15.4922C15.6641 12.5297 15.8047 12.475 15.9141 12.3656C16.0391 12.2406 16.1016 12.0922 16.1016 11.9203C16.1016 11.764 16.0391 11.6312 15.9141 11.5219C15.8047 11.3969 15.6641 11.3344 15.4922 11.3344H13.9922C13.9453 11.3344 13.8984 11.3422 13.8516 11.3578C13.8047 11.3578 13.7656 11.3734 13.7344 11.4047C13.7188 11.4047 13.6953 11.4125 13.6641 11.4281C13.6484 11.4437 13.6328 11.4515 13.6172 11.4515C13.5547 11.514 13.5 11.5844 13.4531 11.6625C13.4219 11.7406 13.4062 11.8265 13.4062 11.9203C13.4062 12.014 13.4219 12.1078 13.4531 12.2015C13.5 12.2797 13.5547 12.3422 13.6172 12.389C13.6328 12.4047 13.6484 12.4203 13.6641 12.4359C13.6953 12.4515 13.7188 12.4594 13.7344 12.4594ZM13.6172 10.6547C13.6328 10.6547 13.6484 10.6625 13.6641 10.6781C13.6797 10.6937 13.7031 10.7015 13.7344 10.7015C13.7656 10.7328 13.8047 10.7562 13.8516 10.7719C13.8984 10.7719 13.9453 10.7719 13.9922 10.7719C14.0234 10.7719 14.0547 10.7719 14.0859 10.7719C14.1172 10.7719 14.1484 10.764 14.1797 10.7484L15.6797 10.2562C15.8516 10.1937 15.9688 10.0922 16.0312 9.95154C16.1094 9.79529 16.125 9.63904 16.0781 9.48279C16.0156 9.32654 15.9062 9.21716 15.75 9.15466C15.6094 9.07654 15.4609 9.06091 15.3047 9.10779L13.8047 9.59998C13.7734 9.6156 13.7422 9.63123 13.7109 9.64685C13.6797 9.66248 13.6484 9.68591 13.6172 9.71716C13.5234 9.79529 13.4531 9.89685 13.4062 10.0219C13.375 10.1312 13.3828 10.2484 13.4297 10.3734C13.4453 10.4203 13.4688 10.4672 13.5 10.514C13.5312 10.5609 13.5703 10.6078 13.6172 10.6547ZM13.8047 14.2406L15.3047 14.7562C15.3359 14.7562 15.3672 14.764 15.3984 14.7797C15.4297 14.7797 15.4609 14.7797 15.4922 14.7797C15.6172 14.7797 15.7344 14.7406 15.8438 14.6625C15.9531 14.5844 16.0312 14.4828 16.0781 14.3578C16.125 14.2015 16.1094 14.0531 16.0312 13.9125C15.9688 13.7562 15.8516 13.6547 15.6797 13.6078L14.1797 13.1156C14.1016 13.0844 14.0234 13.0765 13.9453 13.0922C13.8672 13.0922 13.7969 13.1078 13.7344 13.139C13.7031 13.1547 13.6797 13.1703 13.6641 13.1859C13.6484 13.1859 13.6328 13.1937 13.6172 13.2094C13.5703 13.2406 13.5312 13.2797 13.5 13.3265C13.4688 13.3734 13.4453 13.4281 13.4297 13.4906C13.3828 13.6156 13.375 13.7406 13.4062 13.8656C13.4531 13.975 13.5234 14.0687 13.6172 14.1469C13.6484 14.1625 13.6797 14.1859 13.7109 14.2172C13.7422 14.2328 13.7734 14.2406 13.8047 14.2406Z",fill:r})})},l=e=>{let{size:t=24,color:r="currentColor",...i}=e;return(0,n.Y)("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{width:t,height:t},...i,children:(0,n.Y)("path",{d:"M19.1982 8.66956L18.75 9.276L18.249 9.90881C18.3896 10.2428 18.4863 10.6031 18.5391 10.9899C18.6094 11.3766 18.6445 11.7633 18.6445 12.15C18.6445 13.0641 18.4688 13.9254 18.1172 14.734C17.7656 15.5426 17.291 16.2457 16.6934 16.8434C16.0957 17.441 15.3926 17.9156 14.584 18.2672C13.7754 18.6188 12.9141 18.7946 12 18.7946C11.0859 18.7946 10.2246 18.6188 9.41602 18.2672C8.60742 17.9156 7.9043 17.441 7.30664 16.8434C6.70898 16.2457 6.23438 15.5426 5.88281 14.734C5.53125 13.9254 5.35547 13.0641 5.35547 12.15C5.35547 11.236 5.53125 10.3746 5.88281 9.56604C6.23438 8.75745 6.70898 8.05432 7.30664 7.45667C7.9043 6.85901 8.60742 6.3844 9.41602 6.03284C10.2246 5.68127 11.0859 5.50549 12 5.50549C12.7031 5.50549 13.3623 5.61096 13.9775 5.8219C14.5928 6.03284 15.1729 6.3053 15.7178 6.63928L16.5088 5.50549C15.876 5.08362 15.1729 4.75842 14.3994 4.52991C13.6436 4.28381 12.8438 4.16077 12 4.16077C10.9102 4.16077 9.87305 4.3717 8.88867 4.79358C7.92188 5.21545 7.07812 5.78674 6.35742 6.50745C5.63672 7.22815 5.06543 8.0719 4.64355 9.0387C4.22168 10.0231 4.01074 11.0602 4.01074 12.15C4.01074 13.2399 4.22168 14.277 4.64355 15.2614C5.06543 16.2281 5.63672 17.0719 6.35742
4017.7926C7.07812 18.5133 7.92188 19.0846 8.88867 19.5065C9.87305 19.9283 10.9102 20.1393 12 20.1393C13.0898 20.1393 14.127 19.9283 15.1113 19.5065C16.0781 19.0846 16.9219 18.5133 17.6426 17.7926C18.3633 17.0719 18.9346 16.2281 19.3564 15.2614C19.7783 14.277 19.9893 13.2399 19.9893 12.15C19.9893 11.5348 19.9189 10.9371 19.7783 10.3571C19.6377 9.7594 19.4443 9.1969 19.1982 8.66956ZM9.70605 10.3043C9.58301 10.1637 9.4248 10.0846 9.23145 10.067C9.03809 10.0319 8.87109 10.0846 8.73047 10.2252C8.58984 10.3483 8.51074 10.5065 8.49316 10.6998C8.47559 10.8932 8.53711 11.0602 8.67773 11.2008L11.7627 14.9186C11.833 14.9889 11.9121 15.0416 12 15.0768C12.1055 15.1119 12.2021 15.1295 12.29 15.1295C12.3955 15.1295 12.4922 15.1031 12.5801 15.0504C12.668 14.9977 12.7383 14.9274 12.791 14.8395L17.5635 8.61682L18.46 7.48303L19.3037 6.40198C19.4268 6.26135 19.4707 6.10315 19.4355 5.92737C19.418 5.73401 19.3389 5.57581 19.1982 5.45276C19.0576 5.34729 18.8906 5.30334 18.6973 5.32092C18.5039 5.3385 18.3545 5.4176 18.249 5.55823L17.5635 6.40198L16.7725 7.53577L12.29 13.3893L9.70605 10.3043Z",fill:r})})};var c=r(58309);let u=[["path",{d:"M12 6V2H8",key:"1155em"}],["path",{d:"M15 11v2",key:"i11awn"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"M20 16a2 2 0 0 1-2 2H8.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 4 20.286V8a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2z",key:"11gyqh"}],["path",{d:"M9 11v2",key:"1ueba0"}]],d=(0,c.A)("bot-message-square",u),p=e=>{let{size:t=24,color:r="currentColor",...i}=e;return(0,n.Y)("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i,children:(0,n.Y)("path",{d:"M18.1003 2.8786H9.59248C9.15498 2.8786 8.77998 3.03485 8.46748 3.34735C8.15498 3.65985 7.99873 4.03485 7.99873 4.47235V5.90204L5.42061 6.32391C4.98311 6.38641 4.63154 6.59735 4.36592 6.95673C4.11592 7.3161 4.02217 7.71454 4.08467 8.15204L5.95967 19.988C6.03779 20.4255 6.25654 20.777 6.61592 21.0427C6.97529 21.2927 7.37373 21.3864 7.81123 21.3239L16.2019 19.988C16.6394 19.9255 16.9831 19.7145 17.2331 19.3552C17.4987 18.9958 17.5925 18.5974 17.5144 18.1599V18.0661H18.1003C18.5378 18.0661 18.9128 17.9099 19.2253 17.5974C19.5378 17.2849 19.694 16.9099 19.694 16.4724V4.47235C19.694 4.03485 19.5378 3.65985 19.2253 3.34735C18.9128 3.03485 18.5378 2.8786 18.1003 2.8786ZM16.0144 18.8161L7.62373 20.1286C7.51436 20.1442 7.41279 20.1208 7.31904 20.0583C7.22529 19.9958 7.17061 19.9099 7.15498 19.8005L5.27998 7.9411C5.26436 7.83173 5.28779 7.73798 5.35029 7.65985C5.41279 7.5661 5.49873 7.51141 5.60811 7.49579L13.9987 6.15985C14.1081 6.14423 14.2097 6.17548 14.3034 6.2536C14.3972 6.3161 14.4519 6.39423 14.4675 6.48798L16.1081 16.8708L16.2956 18.0661L16.3425 18.3474C16.3581 18.4567 16.3347 18.5583 16.2722 18.652C16.2097 18.7458 16.1237 18.8005 16.0144 18.8161ZM18.4987 16.4724C18.4987 16.5817 18.4597 16.6755 18.3815 16.7536C18.3034 16.8317 18.2097 16.8708 18.1003 16.8708H17.3269L15.6394 6.32391C15.5769 5.88641 15.3659 5.53485 15.0065 5.26923C14.6472 5.0036 14.2487 4.90985 13.8112 4.98798L9.19404 5.71454V4.47235C9.19404 4.36298 9.23311 4.26923 9.31123 4.1911C9.38936 4.11298 9.48311 4.07391 9.59248 4.07391H18.1003C18.2097 4.07391 18.3034 4.11298 18.3815 4.1911C18.4597 4.26923 18.4987 4.36298 18.4987 4.47235V16.4724ZM13.2956 13.7302L10.7175 9.11298C10.6081 8.90985 10.444 8.82391 10.2253 8.85516C10.0065 8.88641 9.86592 9.01141 9.80342 9.23016L9.19404 11.527L8.44404 14.4802C8.39717 14.6052 8.40498 14.7302 8.46748 14.8552C8.54561 14.9802 8.65498 15.0661 8.79561 15.113C8.87373 15.1286 8.94404 15.1286 9.00654 15.113C9.08467 15.0974 9.14717 15.0739 9.19404 15.0427C9.24092 15.0114 9.27998 14.9724 9.31123 14.9255C9.35811 14.863 9.38936 14.8005 9.40498 14.738L9.73311 13.4724L11.819 13.1442L12.4284 14.2458C12.5065 14.3552 12.6081 14.4333 12.7331 14.4802C12.8737 14.5114 13.0065 14.4958 13.1315 14.4333C13.2409 14.3552 13.3112 14.2536 13.3425 14.1286C13.3894 13.988 13.3737 13.8552 13.2956 13.7302ZM10.0144 12.4177L10.4597 10.7067L11.3034 12.2302L10.0144 12.4177ZM14.9362 15.863C14.9675 16.0349 14.9362 16.1911 14.8425 16.3317C14.7487 16.4567 14.6159 16.5349 14.444
4016.5661L8.70186 17.5739C8.65498 17.5739 8.60811 17.5739 8.56123 17.5739C8.51436 17.5739 8.46748 17.5661 8.42061 17.5505C8.31123 17.5192 8.21748 17.4645 8.13936 17.3864C8.07686 17.2927 8.02998 17.1911 7.99873 17.0817C7.99873 17.0192 7.99873 16.9645 7.99873 16.9177C8.01436 16.8708 8.02998 16.8239 8.04561 16.777C8.07686 16.6677 8.13154 16.5817 8.20967 16.5192C8.28779 16.4411 8.38154 16.3942 8.49092 16.3786L9.19404 16.2614L14.2565 15.3708C14.4128 15.3552 14.5534 15.3942 14.6784 15.488C14.819 15.5817 14.905 15.7067 14.9362 15.863Z",fill:r})})},h=e=>{let{size:t=24,color:r="currentColor",...i}=e;return(0,n.Y)("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i,children:(0,n.Y)("path",{d:"M22.0781 5.72577C22.0156 5.35077 21.8438 5.03827 21.5625 4.78827C21.2812 4.53827 20.9531 4.39764 20.5781 4.36639C20.5312 3.97577 20.3594 3.64764 20.0625 3.38202C19.7656 3.11639 19.4141 2.98358 19.0078 2.98358C18.8984 2.98358 18.7969 2.99139 18.7031 3.00702C18.6094 3.02264 18.5234 3.04608 18.4453 3.07733L11.7891 5.58514C11.7734 5.60077 11.75 5.61639 11.7188 5.63202C11.7031 5.63202 11.6875 5.63983 11.6719 5.65546L3.75 4.38983C3.70312 4.38983 3.65625 4.38983 3.60938 4.38983C3.57812 4.37421 3.53906 4.36639 3.49219 4.36639C3.05469 4.36639 2.67969 4.52264 2.36719 4.83514C2.05469 5.14764 1.89844 5.53046 1.89844 5.98358V17.4445C1.89844 17.8351 2.02344 18.1867 2.27344 18.4992C2.53906 18.7961 2.86719 18.9758 3.25781 19.0383L11.8828 20.3976C11.8984 20.3976 11.9062 20.3976 11.9062 20.3976C11.9219 20.3976 11.9375 20.3976 11.9531 20.3976C11.9688 20.3976 11.9844 20.3976 12 20.3976C12.0156 20.3976 12.0312 20.3976 12.0469 20.3976C12.0625 20.3976 12.0781 20.3976 12.0938 20.3976C12.1094 20.3976 12.1172 20.3976 12.1172 20.3976L20.7422 19.0383C21.1328 18.9758 21.4531 18.7961 21.7031 18.4992C21.9688 18.1867 22.1016 17.8351 22.1016 17.4445V5.98358C22.1016 5.93671 22.1016 5.89764 22.1016 5.86639C22.1016 5.81952 22.0938 5.77264 22.0781 5.72577ZM11.3906 19.1086L3.44531 17.843C3.35156 17.8273 3.26562 17.7883 3.1875 17.7258C3.125 17.6476 3.09375 17.5539 3.09375 17.4445V5.98358C3.09375 5.85858 3.13281 5.75702 3.21094 5.67889C3.28906 5.60077 3.38281 5.56171 3.49219 5.56171C3.50781 5.56171 3.51562 5.56952 3.51562 5.58514C3.53125 5.58514 3.54688 5.58514 3.5625 5.58514L11.3906 6.82733V19.1086ZM12.6094 6.56952L18.8672 4.20233C18.8828 4.20233 18.8984 4.20233 18.9141 4.20233C18.9453 4.18671 18.9766 4.17889 19.0078 4.17889C19.1016 4.17889 19.1875 4.21796 19.2656 4.29608C19.3438 4.35858 19.3906 4.43671 19.4062 4.53046C19.4062 4.53046 19.4062 4.53827 19.4062 4.55389C19.4062 4.56952 19.4062 4.57733 19.4062 4.57733V16.0851C19.4062 16.1789 19.3828 16.2648 19.3359 16.343C19.2891 16.4055 19.2266 16.4445 19.1484 16.4601L12.6094 18.9445V6.56952ZM20.9062 17.4445C20.9062 17.5539 20.8672 17.6476 20.7891 17.7258C20.7266 17.7883 20.6484 17.8273 20.5547 17.843L17.6953 18.2883L19.5703 17.5851C19.8828 17.4758 20.1328 17.2883 20.3203 17.0226C20.5078 16.7414 20.6016 16.4289 20.6016 16.0851V5.58514C20.6797 5.60077 20.7422 5.63983 20.7891 5.70233C20.8516 5.76483 20.8906 5.83514 20.9062 5.91327C20.9062 5.92889 20.9062 5.94452 20.9062 5.96014C20.9062 5.96014 20.9062 5.96796 20.9062 5.98358V17.4445ZM4.875 8.67889L9.89062 9.66327C10.0469 9.69452 10.1953 9.67108 10.3359 9.59296C10.4766 9.49921 10.5625 9.36639 10.5938 9.19452C10.625 9.03827 10.5938 8.88983 10.5 8.74921C10.4062 8.60858 10.2812 8.52264 10.125 8.49139L5.10938 7.48358C4.95312 7.45233 4.80469 7.48358 4.66406 7.57733C4.52344 7.67108 4.4375 7.79608 4.40625 7.95233C4.375 8.12421 4.40625 8.28046 4.5 8.42108C4.59375 8.54608 4.71875 8.63202 4.875 8.67889ZM17.7891 6.52264L13.7812 8.02264C13.625 8.06952 13.5156 8.17108 13.4531 8.32733C13.3906 8.48358 13.3828 8.63983 13.4297 8.79608C13.4922 8.95233 13.5938 9.06171 13.7344 9.12421C13.8906 9.18671 14.0469 9.19452 14.2031 9.14764L18.2109 7.64764C18.3672 7.58514 18.4766 7.48358 18.5391 7.34296C18.6172 7.18671 18.625 7.03046 18.5625 6.87421C18.5 6.71796 18.3906 6.60858 18.2344 6.54608C18.0938 6.46796 17.9453 6.46014 17.7891 6.52264ZM15.7969 9.26483L13.7812 10.0148C13.625 10.0773 13.5156 10.1867 13.4531 10.343C13.3906 10.4836 13.3828 10.632 13.4297 10.7883C13.4922 10.9445 13.5938 11.0617 13.7344 11.1398C13.8906 11.2023 14.0469 11.2023 14.2031 11.
401398L16.2188 10.3898C16.375 10.3273 16.4844 10.2258 16.5469 10.0851C16.6094 9.92889 16.6172 9.77264 16.5703 9.61639C16.5078 9.46014 16.3984 9.35077 16.2422 9.28827C16.1016 9.21014 15.9531 9.20233 15.7969 9.26483ZM4.875 10.6711L9.89062 11.6789C10.0469 11.7101 10.1953 11.6789 10.3359 11.5851C10.4766 11.4914 10.5625 11.3586 10.5938 11.1867C10.625 11.0305 10.5938 10.882 10.5 10.7414C10.4062 10.6008 10.2812 10.5148 10.125 10.4836L5.10938 9.47577C4.95312 9.44452 4.80469 9.47577 4.66406 9.56952C4.52344 9.66327 4.4375 9.79608 4.40625 9.96796C4.375 10.1242 4.40625 10.2726 4.5 10.4133C4.59375 10.5539 4.71875 10.6398 4.875 10.6711Z",fill:r})})},f={achievement:o,ai_conversation_practice:e=>{let{size:t=24,color:r="currentColor",strokeWidth:i=1.5,...a}=e;return(0,n.Y)(d,{size:t,color:r,strokeWidth:i,...a})},outcome_assignment:o,audio_book:s,timed_article:s,checklist_group:l,flash_cards:p,deck:p,article:h,lecture:h,mock_test:e=>{let{size:t=24,color:r="currentColor",...i}=e;return(0,n.Y)("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i,children:(0,n.Y)("path",{d:"M17.9438 11.6367V5.30859C17.9438 4.85547 17.7876 4.47266 17.4751 4.16016C17.1626 3.84766 16.7876 3.69141 16.3501 3.69141H6.34229C5.90479 3.69141 5.52979 3.84766 5.21729 4.16016C4.90479 4.47266 4.74854 4.85547 4.74854 5.30859V17.8008C4.74854 18.2383 4.90479 18.6133 5.21729 18.9258C5.52979 19.2383 5.90479 19.3945 6.34229 19.3945H10.186C10.686 20.1445 11.3423 20.7539 12.1548 21.2227C12.9829 21.6758 13.8813 21.9023 14.8501 21.9023C15.6313 21.9023 16.3579 21.7539 17.0298 21.457C17.7173 21.1602 18.311 20.7617 18.811 20.2617C19.311 19.7617 19.7095 19.168 20.0063 18.4805C20.3032 17.8086 20.4517 17.082 20.4517 16.3008C20.4517 15.332 20.2173 14.4414 19.7485 13.6289C19.2954 12.8008 18.6938 12.1367 17.9438 11.6367ZM9.57666 18.1992H6.34229C6.23291 18.1992 6.13916 18.1602 6.06104 18.082C5.98291 18.0039 5.94385 17.9102 5.94385 17.8008V5.30859C5.94385 5.19922 5.98291 5.10547 6.06104 5.02734C6.13916 4.94922 6.23291 4.91016 6.34229 4.91016H16.3501C16.4595 4.91016 16.5532 4.94922 16.6313 5.02734C16.7095 5.10547 16.7485 5.19922 16.7485 5.30859V11.0273C16.4517 10.918 16.1392 10.8398 15.811 10.793C15.4985 10.7305 15.1782 10.6992 14.8501 10.6992C14.0688 10.6992 13.3423 10.8477 12.6704 11.1445C11.9829 11.4414 11.3892 11.8398 10.8892 12.3398C10.3892 12.8398 9.99072 13.4336 9.69385 14.1211C9.39697 14.793 9.24854 15.5195 9.24854 16.3008C9.24854 16.6289 9.27197 16.957 9.31885 17.2852C9.38135 17.5977 9.46729 17.9023 9.57666 18.1992ZM14.8501 20.707C14.647 20.707 14.4438 20.6914 14.2407 20.6602C14.0532 20.6289 13.8735 20.5898 13.7017 20.543C13.6704 20.543 13.6392 20.543 13.6079 20.543C13.5767 20.5273 13.5532 20.5117 13.5376 20.4961C13.2876 20.418 13.0454 20.3242 12.811 20.2148C12.5767 20.0898 12.3579 19.9414 12.1548 19.7695C12.1079 19.7383 12.061 19.707 12.0142 19.6758C11.9829 19.6289 11.9438 19.5898 11.897 19.5586C11.8657 19.5273 11.8345 19.5039 11.8032 19.4883C11.7876 19.457 11.7642 19.4258 11.7329 19.3945C11.5923 19.2695 11.4673 19.1289 11.3579 18.9727C11.2485 18.8164 11.1392 18.6602 11.0298 18.5039C11.0142 18.457 10.9907 18.4102 10.9595 18.3633C10.9282 18.3008 10.9048 18.2461 10.8892 18.1992C10.8735 18.168 10.8579 18.1367 10.8423 18.1055C10.8267 18.0586 10.811 18.0195 10.7954 17.9883C10.7485 17.9102 10.7095 17.832
4010.6782 17.7539C10.6626 17.6758 10.647 17.5977 10.6313 17.5195C10.6157 17.5039 10.6079 17.4883 10.6079 17.4727C10.6079 17.4414 10.6001 17.418 10.5845 17.4023C10.5845 17.3555 10.5767 17.3164 10.561 17.2852C10.561 17.2539 10.5532 17.2227 10.5376 17.1914C10.5376 17.1758 10.5298 17.1523 10.5142 17.1211C10.5142 17.0898 10.5142 17.0664 10.5142 17.0508C10.5142 17.0195 10.5063 16.9883 10.4907 16.957C10.4907 16.9258 10.4907 16.8867 10.4907 16.8398C10.4751 16.7617 10.4595 16.6758 10.4438 16.582C10.4438 16.4883 10.4438 16.3945 10.4438 16.3008C10.4438 15.082 10.8735 14.043 11.7329 13.1836C12.5923 12.3242 13.6313 11.8945 14.8501 11.8945C14.9438 11.8945 15.0376 11.9023 15.1313 11.918C15.2251 11.918 15.311 11.9258 15.3892 11.9414C15.436 11.9414 15.4751 11.9492 15.5063 11.9648C15.5376 11.9648 15.5688 11.9648 15.6001 11.9648C15.6157 11.9648 15.6392 11.9727 15.6704 11.9883C15.7017 11.9883 15.7251 11.9883 15.7407 11.9883C15.772 12.0039 15.8032 12.0195 15.8345 12.0352C15.8657 12.0352 15.9048 12.0352 15.9517 12.0352C15.9673 12.0508 15.9829 12.0586 15.9985 12.0586C16.0298 12.0586 16.0532 12.0664 16.0688 12.082C16.147 12.0977 16.2251 12.1211 16.3032 12.1523C16.3813 12.168 16.4595 12.1992 16.5376 12.2461C16.5688 12.2617 16.6001 12.2773 16.6313 12.293C16.6782 12.3086 16.7173 12.3242 16.7485 12.3398C16.811 12.3555 16.8657 12.3789 16.9126 12.4102C16.9595 12.4414 17.0063 12.4648 17.0532 12.4805C17.2095 12.5898 17.3657 12.6992 17.522 12.8086C17.6782 12.918 17.8188 13.043 17.9438 13.1836C17.9751 13.2148 17.9985 13.2461 18.0142 13.2773C18.0454 13.293 18.0767 13.3164 18.1079 13.3477C18.1392 13.3945 18.1704 13.4414 18.2017 13.4883C18.2485 13.5195 18.2876 13.5586 18.3188 13.6055C18.4907 13.8086 18.6313 14.0273 18.7407 14.2617C18.8657 14.4961 18.9673 14.7383 19.0454 14.9883C19.061 15.0039 19.0688 15.0273 19.0688 15.0586C19.0845 15.0898 19.0923 15.1211 19.0923 15.1523C19.1392 15.3242 19.1782 15.5117 19.2095 15.7148C19.2407 15.9023 19.2563 16.0977 19.2563 16.3008C19.2563 17.5195 18.8267 18.5586 17.9673 19.418C17.1079 20.2773 16.0688 20.707 14.8501 20.707ZM17.3579 15.6914H15.4595V13.793C15.4595 13.6367 15.397 13.5039 15.272 13.3945C15.1626 13.2695 15.022 13.207 14.8501 13.207C14.6782 13.207 14.5298 13.2695 14.4048 13.3945C14.2954 13.5039 14.2407 13.6367 14.2407 13.793V16.3008C14.2407 16.4727 14.2954 16.6211 14.4048 16.7461C14.5298 16.8555 14.6782 16.9102 14.8501 16.9102H17.3579C17.5142 16.9102 17.647 16.8555 17.7563 16.7461C17.8813 16.6211 17.9438 16.4727 17.9438 16.3008C17.9438 16.1289 17.8813 15.9883 17.7563 15.8789C17.647 15.7539 17.5142 15.6914 17.3579 15.6914ZM10.2329 7.91016H14.8501C15.022 7.91016 15.1626 7.85547 15.272 7.74609C15.397 7.62109 15.4595 7.47266 15.4595 7.30078C15.4595 7.12891 15.397 6.98828 15.272 6.87891C15.1626 6.75391 15.022 6.69141 14.8501 6.69141H10.2329C10.0767 6.69141 9.93604 6.75391 9.81104 6.87891C9.68604 6.98828 9.62354 7.12891 9.62354 7.30078C9.62354 7.47266 9.68604 7.62109 9.81104 7.74609C9.93604 7.85547 10.0767 7.91016 10.2329 7.91016ZM15.4595 9.80859C15.4595 9.63672 15.397 9.49609 15.272 9.38672C15.1626 9.26172 15.022 9.19922 14.8501 9.19922H10.2329C10.0767 9.19922 9.93604 9.26172 9.81104 9.38672C9.68604 9.49609 9.62354 9.63672 9.62354 9.80859C9.62354 9.96484 9.68604 10.1055 9.81104 10.2305C9.93604 10.3398 10.0767 10.3945 10.2329 10.3945H14.8501C15.022 10.3945 15.1626 10.3398 15.272 10.2305C15.397 10.1055 15.4595 9.96484 15.4595 9.80859ZM8.35791 6.69141H7.84229C7.68604 6.69141 7.54541 6.75391 7.42041 6.87891C7.31104 6.98828 7.25635 7.12891 7.25635 7.30078C7.25635 7.47266 7.31104 7.62109 7.42041 7.74609C7.54541 7.85547 7.68604 7.91016 7.84229 7.91016H8.35791C8.51416 7.91016 8.64697 7.85547 8.75635 7.74609C8.88135 7.62109 8.94385 7.47266 8.94385 7.30078C8.94385 7.12891 8.88135 6.98828 8.75635 6.87891C8.64697 6.75391 8.51416 6.69141 8.35791 6.69141ZM8.35791 9.19922H7.84229C7.68604 9.19922 7.54541 9.26172 7.42041 9.38672C7.31104 9.49609 7.25635 9.63672 7.25635 9.80859C7.25635 9.96484 7.31104 10.1055 7.42041 10.2305C7.54541 10.3398 7.68604 10.3945 7.84229 10.3945H8.35791C8.51416 10.3945 8.64697 10.3398 8.75635 10.2305C8.88135 10.1055 8.94385 9.96484 8.94385 9.80859C8.94385 9.63672 8.88135 9.49609 8.75635 9.38672C8.64697 9.26172 8.51416 9.19922 8.35791 9.19922Z",fill:r})})},multimedia_content_group:e=>{let{size:t=24,color:r="currentColor",...i}=e;return(0,n.Y)("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i,children:(0,n.Y)("path",{d:"M19.0593 5.38361C18.8718 5.38361 18.7234 5.44611 18.614 5.57111C18.5046 5.68048 18.45 5.82111 18.45 5.99298V18.5789H5.16089V15.2274H8.39526C8.56714 15.2274 8.70776 15.1727 8.81714 15.0633C8.94214 14.9539 9.00464 14.8133 9.00464 14.6414V11.243H12.4968C12.6687 11.243 12.8093 11.1883 12.9187 11.0789C13.0437 10.9539 13.1062 10.8055 13.1062 10.6336V6.34454H15.5906L15.0046 6.93048C14.8796 7.05548 14.8171 7.20392 14.8171 7.37579C14.8171 7.53204 14.8796 7.67267 15.0046 7.79767C15.0515 7.84454 15.1062 7.89142 15.1687 7.93829C15.2468 7.96954 15.325 7.98517 15.4031 7.98517C15.4812 7.98517 15.5515 7.96954 15.614 7.93829C15.6921 7.90704 15.7546 7.86017 15.8015 7.79767L17.4421 6.13361C17.5046 6.08673 17.5515 6.03204 17.5828 5.96954C17.6296 5.89142 17.6531 5.81329 17.6531 5.73517C17.6531 5.65704 17.6375 5.58673 17.6062 5.52423C17.575 5.44611 17.5203 5.38361 17.4421 5.33673L15.8015 3.69611C15.6765 3.57111 15.5359 3.50861 15.3796 3.50861C15.2234 3.50861 15.0828 3.57111 14.9578 3.69611C14.8328 3.82111 14.7703 3.96173 14.7703 4.11798C14.7703 4.27423 14.8328 4.41486 14.9578 4.53986L15.5437 5.12579H12.45C12.2781 5.12579 12.1296 5.18829 12.0046 5.31329C11.8953 5.42267 11.8406 5.56329 11.8406 5.73517V10.0477H8.34839C8.17651 10.0477 8.03589 10.1024 7.92651 10.2117C7.81714 10.3211 7.76245 10.4617 7.76245 10.6336V14.032H4.55151C4.37964 14.032 4.2312 14.0945 4.1062 14.2195C3.99683 14.3289 3.94214 14.4695 3.94214 14.6414V19.1883C3.94214 19.3602 3.99683 19.5086 4.1062 19.6336C4.2312 19.743 4.37964 19.7977 4.55151 19.7977H19.0593C19.2312 19.7977 19.3718 19.743 19.4812 19.6336C19.5906 19.5086 19.6453 19.3602 19.6453 19.1883V5.99298C19.6453 5.82111 19.5906 5.68048 19.4812 5.57111C19.3718 5.44611 19.2312 5.38361 19.0593 5.38361Z",fill:r})})},question_group:e=>{let{size:t=24,color:r="currentColor",...i}=e;return(0,n.Y)("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i,children:(0,n.Y)("path",{d:"M14.6882 6.73041H10.071C9.91479 6.73041 9.77417 6.79291 9.64917 6.91791C9.52417 7.02728 9.46167 7.16791 9.46167 7.33978C9.46167 7.51166 9.52417 7.6601 9.64917 7.7851C9.77417 7.89447 9.91479 7.94916 10.071 7.94916H14.6882C14.8601 7.94916 15.0007 7.89447 15.1101 7.7851C15.2351 7.6601 15.2976 7.51166 15.2976 7.33978C15.2976 7.16791 15.2351 7.02728 15.1101 6.91791C15.0007 6.79291 14.8601 6.73041 14.6882 6.73041ZM14.6882 9.23822H10.071C9.91479 9.23822 9.77417 9.30072 9.64917 9.42572C9.52417 9.5351 9.46167 9.67572 9.46167 9.8476C9.46167 10.0038 9.52417 10.1445 9.64917 10.2695C9.77417 10.3788 9.91479 10.4335 10.071 10.4335H14.6882C14.8601 10.4335 15.0007 10.3788 15.1101 10.2695C15.2351 10.1445 15.2976 10.0038 15.2976 9.8476C15.2976 9.67572 15.2351 9.5351 15.1101 9.42572C15.0007 9.30072 14.8601 9.23822 14.6882 9.23822ZM8.19604 6.73041H7.68042C7.52417 6.73041 7.38354 6.79291 7.25854 6.91791C7.14917 7.02728 7.09448 7.16791 7.09448 7.33978C7.09448 7.51166 7.14917 7.6601 7.25854 7.7851C7.38354 7.89447 7.52417 7.94916 7.68042 7.94916H8.19604C8.35229 7.94916 8.48511 7.89447 8.59448 7.7851C8.71948 7.6601 8.78198 7.51166 8.78198 7.33978C8.78198 7.16791 8.71948 7.02728 8.59448 6.91791C8.48511 6.79291 8.35229 6.73041 8.19604 6.73041ZM8.19604 9.23822H7.68042C7.52417 9.23822 7.38354 9.30072 7.25854 9.42572C7.14917 9.5351 7.09448 9.67572 7.09448 9.8476C7.09448 10.0038 7.14917 10.1445 7.25854 10.2695C7.38354 10.3788 7.52417 10.4335 7.68042 10.4335H8.19604C8.35229 10.4335 8.48511 10.3788 8.59448 10.2695C8.71948 10.1445 8.78198 10.0038 8.78198 9.8476C8.78198 9.67572 8.71948 9.5351 8.59448 9.42572C8.48511 9.30072 8.35229 9.23822 8.19604 9.23822ZM21.7195 13.5976L21.3914 13.2695L18.6023 10.4804C18.5398 10.4179 18.4617 10.371 18.3679 10.3398C18.2898 10.3085 18.2039 10.300
407 18.1101 10.3163C18.0476 10.332 17.9851 10.3554 17.9226 10.3867C17.8757 10.4023 17.8289 10.4335 17.782 10.4804V5.3476C17.782 4.89447 17.6257 4.51166 17.3132 4.19916C17.0007 3.88666 16.6257 3.73041 16.1882 3.73041H6.18042C5.74292 3.73041 5.36792 3.88666 5.05542 4.19916C4.74292 4.51166 4.58667 4.89447 4.58667 5.3476V17.8398C4.58667 18.2773 4.74292 18.6523 5.05542 18.9648C5.36792 19.2773 5.74292 19.4335 6.18042 19.4335H10.8679L10.657 20.8632C10.6414 21.0663 10.7039 21.2382 10.8445 21.3788C10.9851 21.5195 11.1492 21.5742 11.3367 21.5429L14.946 21.0507C15.0085 21.0351 15.071 21.0195 15.1335 21.0038C15.196 20.9726 15.2507 20.9335 15.2976 20.8867L17.6179 18.5663L19.6101 16.5742L20.1492 16.0117L21.7195 14.4413C21.8445 14.332 21.907 14.1992 21.907 14.0429C21.907 13.871 21.8445 13.7226 21.7195 13.5976ZM11.3367 16.9257C11.2898 16.9726 11.2507 17.0273 11.2195 17.0898C11.1882 17.1367 11.1726 17.1913 11.1726 17.2538L11.032 18.2382H6.18042C6.07104 18.2382 5.97729 18.1992 5.89917 18.121C5.82104 18.0429 5.78198 17.9492 5.78198 17.8398V5.3476C5.78198 5.23822 5.82104 5.14447 5.89917 5.06635C5.97729 4.98822 6.07104 4.94916 6.18042 4.94916H16.1882C16.2976 4.94916 16.3914 4.98822 16.4695 5.06635C16.5476 5.14447 16.5867 5.23822 16.5867 5.3476V11.6757L11.3367 16.9257ZM18.4851 16.0117L17.782 16.6913L16.2585 18.2382L15.0398 19.4335L14.5945 19.8788L11.9695 20.2538L12.0867 19.4335L12.2507 18.2382L12.321 17.6288L16.3054 13.6445L16.7742
4014.1132L17.782 15.1445L18.5789 15.9179L18.4851 16.0117ZM19.282 15.2148L17.782 13.7148L17.0085 12.9413L18.1804 11.7695L18.2742 11.8632L20.4539 14.0195L19.282 15.2148Z",fill:r})})},playlist:e=>{let{size:t=24,color:r="currentColor",...i}=e;return(0,n.Y)("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i,children:(0,n.Y)("path",{d:"M5.21924 7.2674H18.0161C18.2036 7.2674 18.3521 7.21271 18.4614 7.10333C18.5708 6.97833 18.6255 6.8299 18.6255 6.65802C18.6255 6.48615 18.5708 6.34552 18.4614 6.23615C18.3521 6.12677 18.2036 6.07208 18.0161 6.07208H5.21924C5.04736 6.07208 4.90674 6.12677 4.79736 6.23615C4.68799 6.34552 4.6333 6.48615 4.6333 6.65802C4.6333 6.8299 4.68799 6.97833 4.79736 7.10333C4.90674 7.21271 5.04736 7.2674 5.21924 7.2674ZM5.21924 11.9549H18.0161C18.2036 11.9549 18.3521 11.9002 18.4614 11.7908C18.5708 11.6815 18.6255 11.5408 18.6255 11.369C18.6255 11.1971 18.5708 11.0565 18.4614 10.9471C18.3521 10.8221 18.2036 10.7596 18.0161 10.7596H5.21924C5.04736 10.7596 4.90674 10.8221 4.79736 10.9471C4.68799 11.0565 4.6333 11.1971 4.6333 11.369C4.6333 11.5408 4.68799 11.6815 4.79736 11.7908C4.90674 11.9002 5.04736 11.9549 5.21924 11.9549ZM13.3286 15.4705H5.21924C5.04736 15.4705 4.90674 15.5252 4.79736 15.6346C4.68799 15.744 4.6333 15.8846 4.6333 16.0565C4.6333 16.244 4.68799 16.3924 4.79736 16.5018C4.90674 16.6111 5.04736 16.6658 5.21924 16.6658H13.3286C13.5005 16.6658 13.6411 16.6111 13.7505 16.5018C13.8599 16.3924 13.9146 16.244 13.9146 16.0565C13.9146 15.8846 13.8599 15.744 13.7505 15.6346C13.6411 15.5252 13.5005 15.4705 13.3286 15.4705ZM20.2192 16.3143L16.3755 13.8533C16.3442 13.8377 16.313 13.8299 16.2817 13.8299C16.2661 13.8143 16.2505 13.8065 16.2349 13.8065C16.1255 13.8065 16.0396 13.8455 15.9771 13.9236C15.9146 13.9861 15.8833 14.0643 15.8833 14.158V19.0565C15.8833 19.0877 15.8833 19.1268 15.8833 19.1736C15.8833 19.2049 15.8989 19.2361 15.9302 19.2674C15.9771 19.3455 16.0396 19.3924 16.1177 19.408C16.2114 19.4236 16.2974 19.408 16.3755 19.3611L20.1724 16.9236C20.2036 16.8924 20.2271 16.8768 20.2427 16.8768C20.2583 16.8611 20.2661 16.8377 20.2661 16.8065C20.3442 16.7127 20.3755 16.619 20.3599 16.5252C20.3442 16.4315 20.2974 16.3611 20.2192 16.3143Z",fill:r})})},video:e=>{let{size:t=24,color:r="currentColor",...i}=e;return(0,n.Y)("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i,children:(0,n.Y)("path",{d:"M12 3.39844C10.8125 3.39844 9.69531 3.625 8.64844 4.07812C7.60156 4.53125 6.6875 5.14844 5.90625 5.92969C5.14062 6.69531 4.53125 7.60156 4.07812 8.64844C3.625 9.69531 3.39844 10.8125 3.39844 12C3.39844 13.1875 3.625 14.3047 4.07812 15.3516C4.53125 16.3984 5.14062 17.3125 5.90625 18.0938C6.6875 18.8594 7.60156 19.4688 8.64844 19.9219C9.69531 20.375 10.8125 20.6016 12 20.6016C13.1875 20.6016 14.3047 20.375 15.3516 19.9219C16.3984 19.4688 17.3047 18.8594 18.0703 18.0938C18.8516 17.3125 19.4688 16.3984 19.9219 15.3516C20.375 14.3047 20.6016 13.1875 20.6016 12C20.6016 10.8125 20.375 9.69531 19.9219 8.64844C19.4688 7.60156 18.8516 6.69531 18.0703 5.92969C17.3047 5.14844 16.3984 4.53125 15.3516 4.07812C14.3047 3.625 13.1875 3.39844 12 3.39844ZM12 19.4062C10.9844 19.4062 10.0234 19.2109 9.11719 18.8203C8.22656 18.4297 7.44531 17.8984 6.77344 17.2266C6.10156 16.5547 5.57031 15.7734 5.17969 14.8828C4.78906 13.9766 4.59375 13.0156 4.59375 12C4.59375 10.9844 4.78906 10.0234 5.17969 9.11719C5.57031 8.22656 6.10156 7.44531 6.77344 6.77344C7.44531 6.10156 8.22656 5.57031 9.11719 5.17969C10.0234 4.78906 10.9844 4.59375 12 4.59375C13.0156 4.59375 13.9766 4.78906 14.8828 5.17969C15.7734 5.57031 16.5547 6.10156 17.2266 6.77344C17.8984 7.44531 18.4297 8.22656 18.8203 9.11719C19.2109 10.0234 19.4062 10.9844 19.4062 12C19.4062 13.0156 19.2109 13.9766 18.8203 14.8828C18.4297 15.7734 17.8984 16.5547 17.2266 17.2266C16.5547 17.8984 15.7734 18.4297 14.8828 18.8203C13.9766 19.2109 13.0156 19.4062 12 19.4062ZM16.0547 11.7891L10.4766 8.20312C10.4453 8.17188 10.4062 8.15625 10.3594 8.15625C10.3125 8.14062 10.2656 8.13281 10.2188 8.13281C10.0781 8.13281 9.96094 8.17969 9.86719 8.27344C9.77344 8.36719 9.72656 8.48438 9.72656 8.625V15.7969C9.72656 15.8438 9.72656 15.8906 9.72656 15.9375C9.74219 15.9844 9.76562 16.0234 9.79688 16.0547C9.875 16.1797 9.97656 16.2578 10.1016 16.2891C10.2422 16.3203 10.3672 16.2969 10.4766 16.2188L16.0547 12.6328C16.0859 12.6172 16.1094
4012.5938 16.125 12.5625C16.1562 12.5312 16.1875 12.5 16.2188 12.4688C16.2812 12.3594 16.2969 12.2422 16.2656 12.1172C16.25 11.9766 16.1797 11.8672 16.0547 11.7891ZM10.9219 14.5078V9.91406L14.4844 12.2109L10.9219 14.5078Z",fill:r})})},emergency_home:e=>{let{size:t=24,color:r="currentColor",...i}=e;return(0,n.FD)("svg",{width:t.toString(),height:t.toString(),viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i,children:[(0,n.Y)("path",{d:"M20.9972 12.0052C20.9972 11.8201 20.9607 11.6363 20.8898 11.4652C20.8366 11.3368 20.7648 11.2168 20.6769 11.1097L20.5831 11.0072L12.9923 3.41638C12.8615 3.28552 12.7062 3.1816 12.5353 3.11072C12.3642 3.03979 12.1805 3.00332 11.9952 3.0033C11.81 3.0033 11.6263 3.03979 11.4552 3.11072C11.2841 3.18166 11.1281 3.28532 10.9972 3.41638V3.41736L3.40735 11.0072H3.40637C3.27531 11.1381 3.17165 11.2941 3.10071 11.4652C3.02978 11.6363 2.99329 11.82 2.99329 12.0052C2.99331 12.1905 3.02978 12.3742 3.10071 12.5453C3.1716 12.7162 3.27551 12.8715 3.40637 13.0023L10.9972 20.5931L11.0997 20.6869C11.2067 20.7748 11.3268 20.8466 11.4552 20.8998C11.6263 20.9707 11.81 21.0072 11.9952 21.0072C12.1805 21.0072 12.3642 20.9707 12.5353 20.8998C12.7064 20.8288 12.8614 20.7242 12.9923 20.5931H12.9933L20.5831 13.0033V13.0023C20.7142 12.8714 20.8188 12.7164 20.8898 12.5453C20.9607 12.3742 20.9972 12.1905 20.9972 12.0052ZM22.9972 12.0052C22.9972 12.4533 22.908 12.897 22.7365 13.3109C22.5863 13.6731 22.3753 14.0065 22.1124 14.2963L21.9972 14.4174L14.4073 22.0072C14.0908 22.324 13.7146 22.5749 13.3009 22.7465C12.887 22.918 12.4433 23.0072 11.9952 23.0072C11.5472 23.0072 11.1035 22.918 10.6896 22.7465C10.2756 22.5749 9.89885 22.3242 9.58215 22.0072V22.0062L1.99329 14.4174C1.67632 14.1007 1.42462 13.7248 1.25305 13.3109C1.08149 12.897 0.993313 12.4533 0.993286 12.0052C0.993286 11.5573 1.08155 11.1134 1.25305 10.6996C1.40314 10.3375 1.61434 10.004 1.87708 9.71423L1.99329 9.59216L9.58215 2.0033L9.70422 1.88708C9.99396 1.62435 10.3275 1.41315 10.6896 1.26306C11.1034 1.09156 11.5472 1.0033 11.9952 1.0033C12.4433 1.00332 12.887 1.0915 13.3009 1.26306C13.7148 1.43463 14.0907 1.68633 14.4073 2.0033L21.9962 9.59216H21.9972C22.3142 9.90886 22.5649 10.2856 22.7365 10.6996C22.908 11.1135 22.9972 11.5572 22.9972 12.0052Z",fill:r}),(0,n.Y)("path",{d:"M11 12V8C11 7.44772 11.4477 7 12 7C12.5523 7 13 7.44772 13 8V12C13 12.5523 12.5523 13 12 13C11.4477 13 11 12.5523 11 12Z",fill:r}),(0,n.Y)("path",{d:"M12.0098 15L12.1123 15.0049C12.6165 15.0561 13.0098 15.4822 13.0098 16C13.0098 16.5178 12.6165 16.9439 12.1123 16.9951L12.0098 17H12C11.4477 17 11 16.5523 11 16C11 15.4477 11.4477 15 12 15H12.0098Z",fill:r})]})},facebook:e=>{let{size:t=24,color:r="currentColor",...i}=e;return(0,n.Y)("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i,children:(0,n.Y)("path",{d:"M12 2C17.5228 2 22 6.47715 22 12C22 16.9912 18.343 21.1267 13.5625 21.877V14.8906H15.8926L16.3359 12H13.5625V10.125C13.5625 9.33398 13.9492 8.5625 15.1914 8.5625H16.4531V6.10156C16.4531 6.10156 15.3086 5.90625 14.2148 5.90625C11.9297 5.90625 10.4375 7.29102 10.4375 9.79688V12H7.89844V14.8906H10.4375V21.877C5.65696 21.1267 2 16.9912 2 12C2 6.47715 6.47715 2 12 2Z",fill:r})})},instagram:e=>{let{size:t=24,color:r="currentColor",...i}=e;return(0,n.Y)("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i,children:(0,n.Y)("path",{d:"M7.98592 2.05005H16.0141C16.9953 2.05005 17.9022 2.30279 18.7347 2.80826C19.597 3.28401 20.266 3.95302 20.7418 4.81531C21.2473 5.64786 21.5 6.55474 21.5 7.53596V15.5641C21.5 16.5454 21.2473 17.4671 20.7418 18.3294C20.266 19.1619 19.597 19.8161 18.7347 20.2918C17.9022 20.7973 16.9953 21.05 16.0141 21.05H7.98592C7.00469 21.05 6.08294 20.7973 5.22066 20.2918C4.38811 19.8161 3.71909 19.1619 3.21362 18.3294C2.73787 17.4671 2.5 16.5454 2.5 15.5641V7.53596C2.5 6.55474 2.73787 5.64786 3.21362 4.81531C3.71909 3.95302 4.38811 3.28401 5.22066 2.80826C6.08294 2.30279 7.00469 2.05005 7.98592 2.05005ZM7.80751 3.92329C6.85602 3.92329 6.03834 4.26523 5.35446 4.94911C4.70031 5.60326 4.37324 6.40607 4.37324 7.35756V15.7425C4.37324 16.694 4.70031 17.5117 5.35446 18.1956C6.03834 18.8497 6.85602 19.1768 7.80751 19.1768H16.1925C17.144 19.1768 17.9468 18.8497 18.6009 18.1956C19.2848 17.5117 19.6268 16.694 19.6268 15.7425V7.35756C19.6268 6.40607 19.2848 5.60326 18.6009 4.94911C17.9468 4.26523 17.144 3.92329 16.1925 3.92329H7.80751ZM16.9953 5.35052C17.3224 5.35052 17.6049 5.46945 17.8427 5.70733C18.0806 5.9452 18.1995 6.22767 18.1995 6.55474C18.1995 6.88182 18.0806 7.16429 17.8427 7.40216C17.6049 7.64003 17.3224 7.75897 16.9953 7.75897C16.6682 7.75897 16.3858 7.64003 16.1479 7.40216C15.91 7.16429 15.7911 6.88182 15.7911 6.55474C15.7911 6.22767 15.91 5.9452 16.1479 5.70733C16.3858 5.46945 16.6682 5.35052 16.9953 5.35052ZM12 6.77775C12.8623 6.77775 13.6502 7.00075 14.3638 7.44676C15.1072 7.86304 15.687 8.44285 16.1033 9.1862C16.5493 9.89981 16.7723 10.6878 16.7723 11.55C16.7723 12.4123 16.5493 13.2151 16.
401033 13.9585C15.687 14.6721 15.1072 15.2519 14.3638 15.6979C13.6502 16.1142 12.8623 16.3223 12 16.3223C11.1377 16.3223 10.3349 16.1142 9.59155 15.6979C8.87793 15.2519 8.29812 14.6721 7.85211 13.9585C7.43584 13.2151 7.2277 12.4123 7.2277 11.55C7.2277 10.6878 7.43584 9.89981 7.85211 9.1862C8.29812 8.44285 8.87793 7.86304 9.59155 7.44676C10.3349 7.00075 11.1377 6.77775 12 6.77775ZM12 8.69559C11.1972 8.69559 10.5133 8.97806 9.94836 9.54301C9.41315 10.0782 9.14554 10.7472 9.14554 11.55C9.14554 12.3529 9.41315 13.0367 9.94836 13.6017C10.5133 14.1369 11.1972 14.4045 12 14.4045C12.8028 14.4045 13.4718 14.1369 14.007 13.6017C14.572 13.0367 14.8545 12.3529 14.8545 11.55C14.8545 10.7472 14.572 10.0782 14.007 9.54301C13.4718 8.97806 12.8028 8.69559 12 8.69559Z",fill:r})})},line:e=>{let{size:t=24,color:r="currentColor",...i}=e;return(0,n.Y)("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i,children:(0,n.Y)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 3C17.5227 3 21.9999 6.58549 22 11.0078C22 12.5525 21.4536 13.9948 20.5078 15.2178C20.4609 15.2878 20.3995 15.3651 20.3223 15.4502L20.3164 15.4561C19.9932 15.8428 19.629 16.2065 19.2285 16.542C16.4628 19.0984 11.9116 22.1406 11.3105 21.6709C10.7885 21.2623 12.1706 19.2665 10.5762 18.9346C10.4651 18.9216 10.3538 18.9087 10.2441 18.8936H10.2422C5.5579 18.2276 2.00005 14.9506 2 11.0088C2 6.58649 6.4774 3.00016 12 3ZM16.1562 8.65918C15.8692 8.65925 15.6349 8.89363 15.6348 9.18066V13.0488C15.6348 13.336 15.8691 13.5712 16.1562 13.5713H18.1729C18.46 13.5713 18.6943 13.336 18.6943 13.0488V13.0059C18.6943 12.7187 18.46 12.4844 18.1729 12.4844H16.7217V11.6592H18.1729C18.46 11.6592 18.6943 11.4239 18.6943 11.1367V11.0928C18.6942 10.8057 18.46 10.5713 18.1729 10.5713H16.7217V9.74609H18.1729C18.4599 9.74609 18.6941 9.51159 18.6943 9.22461V9.18066C18.6942 8.89358 18.46 8.65918 18.1729 8.65918H16.1562ZM9.67871 8.64941C9.39153 8.64941 9.15625 8.8847 9.15625 9.17188V13.04C9.15641 13.3271 9.39163 13.5615 9.67871 13.5615H9.72168C10.0087 13.5615 10.243 13.327 10.2432 13.04V9.17188C10.2432 8.88473 10.0088 8.64947 9.72168 8.64941H9.67871ZM11.499 8.64941C11.2118 8.64941 10.9775 8.8847 10.9775 9.17188V13.04C10.9777 13.3271 11.2119 13.5615 11.499 13.5615H11.542C11.8291 13.5615 12.0633 13.3271 12.0635 13.04V10.7266L13.9619 13.3193C13.9735 13.3374 13.9863 13.3555 14 13.3721C14.0519 13.4434 14.1238 13.4912 14.2031 13.5215C14.2643 13.5467 14.3306 13.5605 14.4004 13.5605H14.4443C14.5323 13.5605 14.6157 13.5382 14.6885 13.5C14.7403 13.4755 14.7845 13.4427 14.8154 13.4053C14.9084 13.3108 14.9667 13.182 14.9668 13.04V9.17188C14.9668 8.8847 14.7325 8.64941 14.4453 8.64941H14.4023C14.1152 8.64941 13.8809 8.8847 13.8809 9.17188V11.4424L11.9951 8.91406C11.9049 8.75676 11.7354 8.64941 11.542 8.64941H11.499ZM6.19727 8.64941C5.9102 8.64954 5.67578 8.8838 5.67578 9.1709V13.0391C5.6758 13.3261 5.91021 13.5604 6.19727 13.5605H8.21387C8.50103 13.5605 8.73631 13.3262 8.73633 13.0391V12.9961C8.73633 12.7089 8.50105 12.4736 8.21387 12.4736H6.7627V9.1709C6.7627 8.88386 6.5282 8.64964 6.24121 8.64941H6.19727Z",fill:r})})},youtube:e=>{let{size:t=24,color:r="currentColor",...i}=e;return(0,n.Y)("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i,children:(0,n.Y)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12 5C12.0263 5 18.2634 5.00128 19.8252 5.42871C20.6818 5.65937 21.3573 6.33476 21.5879 7.19141C22.0131 8.74553 22.0002 11.9721 22 12.0176C22 12.0176 21.9996 15.2629 21.5879 16.8281C21.3573 17.6848 20.6819 18.3612 19.8252 18.5918C18.2632 19.0028 12.0263 19.0029 12 19.0029C12 19.0029 5.75678 19.0035 4.1748 18.5752C3.31829 18.3446 2.64286 17.669 2.41211 16.8125C2.00277 15.2734 2.00002 12.0414 2 12.002C2 12.002 2.00031 8.75656 2.41211 7.19141C2.64275 6.33474 3.33461 5.64275 4.1748 5.41211C5.74006 5.00028 12 5 12 5ZM10.0068 15L15.2129 12.002L10.0068 9.00293V15Z",fill:r})})}},m=e=>Object.keys(f).includes(e),g={REMOVED_ICONS:["package","text_format","article","credit_score","folder_open","question_mark","touch_app"],SPECIAL_HANDLING:{headset_mic:"mic",local_library:"book-open",send_to_mobile:"send-horizontal",social_leaderboard:"award",style:"layers",supervisor_account:"users-round"},FILLED_ICONS:{emoji_flags_filled:"",rhombus:"diamond",star_filled:"star",star_half:"star-half"},UNSUPPORTED_ICONS:["cancel_filled","directions_run","emergency_home","widgets","arrow_drop_up","width","campaign"],REGULAR_MAPPINGS:{local_convenience_store:"store",reply:"reply",sentiment_content:"meh",ios_share:"share",fact_check:"list-check",keyboard_voice:"mic",pan_zoom:"maximize-2",sentiment_satisfied:"smile",task_alt:"circle-check-big",headphones:"headphones",language:"globe",edit_note:"file-pen-line",bookmark_remove:"bookmark-minus",bookmark_add:"bookmark-plus",undo:"undo-2",settings:"settings",folder:"folder",desktop_mac:"laptop-minimal",phone_iphone:"smartphone",logout:"log-out",arrow_drop_down:"chevron-down",video_library:"square-play",playlist_remove:"list-x",thumb_down:"thumbs-down",thumb_up:"thumbs-up",explore:"compass",festival:"drama",airplane_ticket:"tickets-plane",local_atm:"circle-d
40ollar-sign",bookmark_star:"bookmark-plus",download:"download",attach_file:"paperclip",radar:"radar",check_indeterminate_small:"minus",upload:"upload",rocket_launch:"rocket",repeat:"repeat",apartment:"building-2",charger:"battery-charging",sentiment_excited:"smile",encrypted:"shield-half",featured_seasonal_and_gifts:"gift",rss_feed:"rss",data_check:"list-check",footprint:"footprints",monitoring:"chart-no-axes-combined",alarm:"alarm-clock",confirmation_number:"ticket",menu:"menu",more_horiz:"ellipsis",more_vert:"ellipsis-vertical",open_in_full:"maximize-2",open_in_new:"external-link",output:"file-output",palette:"palette",person_add:"user-round-plus",photo_camera:"camera",photo_library:"images",photo:"image",picture_as_pdf:"file-text",push_pin:"pin",remove:"minus",send:"send-horizontal",translate:"languages",zoom_in:"zoom-in",zoom_out:"zoom-out",text_snippet:"book-text",add:"plus",all_inclusive:"infinity",arrow_back:"arrow-left",arrow_forward:"arrow-right",attach_money:"dollar-sign",auto_awesome:"sparkles",auto_fix:"wand-sparkles",auto_stories:"book-open",book:"book",bullet:"dot",check_circle:"circle-check",check:"check",close:"x",closed_caption:"captions",collections_bookmark:"book-marked",comic_bubble:"message-circle-more",comment:"message-square-text",contact_page:"contact-round",content_copy:"copy",credit_card:"credit-card",dangerous:"octagon-x",delete:"trash-2",design_services:"pencil-ruler",devices:"monitor-smartphone",draw:"pencil-line",edit_document:"square-pen",edit:"pencil",emoji_flags:"flag",error:"circle-alert",filter_alt:"funnel",grid_view:"layout-grid",group_add:"user-round-plus",group:"users-round",handshake:"handshake",hearing:"ear",help:"circle-help",home:"house",info:"info",insert_chart:"square-chart-gantt",inventory_2:"archive",keyboard_arrow_down:"chevron-down",keyboard_arrow_left:"chevron-left",keyboard_arrow_right:"chevron-right",keyboard_arrow_up:"chevron-up",layers:"layers-2",link:"link-2",list_alt_add:"list-plus",list_alt:"list",local_fire_department:"flame",lock:"lock-keyhole",mail:"mail",manage_accounts:"user-round-cog",menu_book:"book-open-text",military_tech:"award",move_to_inbox:"inbox",moving:"trending-up",notification_add:"bell-plus",notifications_off:"bell-off",notifications:"bell",overview:"file-clock",person:"user-round",play_arrow:"play",play_circle:"circle-play",quick_reference_all:"file-search",receipt_long:"receipt-text",refresh:"rotate-cw",reviews:"message-circle-heart",savings:"piggy-bank",school:"graduation-cap",search:"search",sell:"tag",sentiment_sad:"frown",share:"share-2",shopping_bag:"shopping-bag",shopping_cart:"shopping-cart",smart_display:"square-play",star:"star",storefront:"store",stylus_note:"pencil-line",swap_horiz:"arrow-right-left",sync_alt:"arrow-right-left",tag:"hash",timer:"timer",toc:"list",vertical_align_bottom:"arrow-down-to-line",vertical_align_top:"arrow-up-to-line",view_list:"table-properties",visibility_off:"eye-closed",visibility:"eye",volume_up:"volume-2",volunteer_activism:"hand-heart",warning:"triangle-alert",checked:"check",auto_fix_high:"wand-sparkles",play_outlined:"circle-play",play:"play",attachment:"paperclip",imagesmode:"image",chevron_left:"chevron-left",setting:"settings",text_snippet1:"book-text"}};function y(e){let t=e.startsWith("icon-")?e.replace("icon-",""):e;if(g.REMOVED_ICONS.includes(t)||g.UNSUPPORTED_ICONS.includes(t))return null;if(t in g.SPECIAL_HANDLING)return g.SPECIAL_HANDLING[t];if(t in g.FILLED_ICONS){let e=g.FILLED_ICONS[t];return e||null}if(e in g.FILLED_ICONS){let t=g.FILLED_ICONS[e];return t||null}return t in g.REGULAR_MAPPINGS?g.REGULAR_MAPPINGS[t]:null}function v(e){return e}let b=[["circle",{cx:"12",cy:"13",r:"8",key:"3y4lt7"}],["path",{d:"M12 9v4l2 2",key:"1c63tq"}],["path",{d:"M5 3 2 6",key:"18tl5t"}],["path",{d:"m22 6-3-3",key:"1opdir"}],["path",{d:"M6.38 18.7 4 21",key:"17xu3x"}],["path",{d:"M17.64 18.67 20 21",key:"kv2oe2"}]],w=(0,c.A)("alarm-clock",b),x=[["rect",{width:"20",height:"5",x:"2",y:"3",rx:"1",key:"1wp1u1"}],["path",{d:"M4 8v11a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8",key:"1s80jp"}],["path",{d:"M10 12h4",key:"a56b0p"}]],k=(0,c.A)("archive",x),A=[["path",{d:"M12 17V3",key:"1cwfxf"}],["path",{d:"m6 11 6 6 6-6",key:"12ii2o"}],["path",{d:"M19 21H5",key:"150jfl"}]],C=(0,c.A)("arrow-down-to-line",A);var S=r(58472),E=r(39477);let _=[["path",{d:"m16 3 4 4-4 4",key:"1x1c3m"}],["path",{d:"M20 7H4",key:"zbl0bi"}],["path",{d:"m8 21-4-4 4-4",key:"h9nckh"}],["path",{d:"M4 17h16",key:"g4d7ey"}]],T=(0,c.A)("arrow-right-left",_),P=[["path",{d:"M5 3h14",key:"7usisc"}],["path",{d:"m18 13-6-6-6 6",key:"1kf1n9"}],["path",{d:"M12 7v14",key:"1akyts"}]],O=(0,c.A)("arrow-up-to-line",P),I=[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]],M=(0,c.A)("award",I),L=[["path",{d:"m11 7-3 5h4l-3 5",key:"b4a64w"}],["path",{d:"M14.856 6H16a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.935",key:"lre1cr"}],["path",{d:"M22 14v-4",key:"14q9d5"}],["path",{d:"M5.14 18H4a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h2.936",key:"13q5k0"}]],N=(0,c.A)("battery-charging",L),R=[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}]],j=(0,c.A)("bell",R),D=[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M17 17H4a1 1 0 0 1-.74-1.673C4.59 13.956 6 12.499 6 8a6 6 0 0 1 .258-1.742",key:"178tsu"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M8.668 3.01A6 6 0 0 1 18 8c0 2.687.77 4.653 1.707 6.05",key:"1hqiys"}]],F=(0,c.A)("bell-off",D),V=[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M15 8h6",key:"8ybuxh"}],["path",{d:"M18 5v6",key:"g5ayrv"}],["path",{d:"M20.002 14.464a9 9 0 0 0 .738.863A1 1 0 0 1 20 17H4a1 1 0 0 1-.74-1.673C4.59 13.956 6 12.499 6 8a6 6 0 0 1 8.75-
405.332",key:"1abcvy"}]],B=(0,c.A)("bell-plus",V),z=[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}]],$=(0,c.A)("book",z),U=[["path",{d:"M10 2v8l3-3 3 3V2",key:"sqw3rj"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}]],q=(0,c.A)("book-marked",U),H=[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]],Y=(0,c.A)("book-open",H);var W=r(61817);let G=[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}],["path",{d:"M8 11h8",key:"vwpz6n"}],["path",{d:"M8 7h6",key:"1f0q6e"}]],K=(0,c.A)("book-text",G),J=[["path",{d:"m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16z",key:"1fy3hk"}],["line",{x1:"15",x2:"9",y1:"10",y2:"10",key:"1gty7f"}]],X=(0,c.A)("bookmark-minus",J),Q=[["path",{d:"m19 21-7-4-7 4V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2v16z",key:"1fy3hk"}],["line",{x1:"12",x2:"12",y1:"7",y2:"13",key:"1cppfj"}],["line",{x1:"15",x2:"9",y1:"10",y2:"10",key:"1gty7f"}]],Z=(0,c.A)("bookmark-plus",Q),ee=[["path",{d:"M10 12h4",key:"a56b0p"}],["path",{d:"M10 8h4",key:"1sr2af"}],["path",{d:"M14 21v-3a2 2 0 0 0-4 0v3",key:"1rgiei"}],["path",{d:"M6 10H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2",key:"secmi2"}],["path",{d:"M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16",key:"16ra0t"}]],et=(0,c.A)("building-2",ee),er=[["path",{d:"M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z",key:"18u6gg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]],en=(0,c.A)("camera",er);var ei=r(69706);let ea=[["path",{d:"M12 16v5",key:"zza2cw"}],["path",{d:"M16 14v7",key:"1g90b9"}],["path",{d:"M20 10v11",key:"1iqoj0"}],["path",{d:"m22 3-8.646 8.646a.5.5 0 0 1-.708 0L9.354 8.354a.5.5 0 0 0-.707 0L2 15",key:"1fw8x9"}],["path",{d:"M4 18v3",key:"1yp0dc"}],["path",{d:"M8 14v7",key:"n3cwzv"}]],eo=(0,c.A)("chart-no-axes-combined",ea);var es=r(49279),el=r(11083),ec=r(53662),eu=r(55259),ed=r(73358),ep=r(24706);let eh=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],ef=(0,c.A)("circle-check",eh),em=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],eg=(0,c.A)("circle-check-big",em),ey=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M16 8h-6a2 2 0 1 0 0 4h4a2 2 0 1 1 0 4H8",key:"1h4pet"}],["path",{d:"M12 18V6",key:"zqpxq5"}
40]],ev=(0,c.A)("circle-dollar-sign",ey),eb=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]],ew=(0,c.A)("circle-question-mark",eb),ex=[["path",{d:"M9 9.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997A1 1 0 0 1 9 14.996z",key:"kmsa83"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],ek=(0,c.A)("circle-play",ex);var eA=r(83915);let eC=[["path",{d:"M16 2v2",key:"scm5qe"}],["path",{d:"M17.915 22a6 6 0 0 0-12 0",key:"suqz9p"}],["path",{d:"M8 2v2",key:"pbkmx"}],["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["rect",{x:"3",y:"4",width:"18",height:"18",rx:"2",key:"12vinp"}]],eS=(0,c.A)("contact-round",eC);var eE=r(62108);let e_=[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]],eT=(0,c.A)("credit-card",e_),eP=[["path",{d:"M2.7 10.3a2.41 2.41 0 0 0 0 3.41l7.59 7.59a2.41 2.41 0 0 0 3.41 0l7.59-7.59a2.41 2.41 0 0 0 0-3.41l-7.59-7.59a2.41 2.41 0 0 0-3.41 0Z",key:"1f1r0c"}]],eO=(0,c.A)("diamond",eP),eI=[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]],eM=(0,c.A)("dollar-sign",eI);var eL=r(95256);let eN=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],eR=(0,c.A)("download",eN),ej=[["path",{d:"M10 11h.01",key:"d2at3l"}],["path",{d:"M14 6h.01",key:"k028ub"}],["path",{d:"M18 6h.01",key:"1v4wsw"}],["path",{d:"M6.5 13.1h.01",key:"1748ia"}],["path",{d:"M22 5c0 9-4 12-6 12s-6-3-6-12c0-2 2-3 6-3s6 1 6 3",key:"172yzv"}],["path",{d:"M17.4 9.9c-.8.8-2 .8-2.8 0",key:"1obv0w"}],["path",{d:"M10.1 7.1C9 7.2 7.7 7.7 6 8.6c-3.5 2-4.7 3.9-3.7 5.6 4.5 7.8 9.5 8.4 11.2 7.4.9-.5 1.9-2.1 1.9-4.7",key:"rqjl8i"}],["path",{d:"M9.1 16.5c.3-1.1 1.4-1.7 2.4-1.4",key:"1mr6wy"}]],eD=(0,c.A)("drama",ej),eF=[["path",{d:"M6 8.5a6.5 6.5 0 1 1 13 0c0 6-6 6-6 10a3.5 3.5 0 1 1-7 0",key:"1dfaln"}],["path",{d:"M15 8.5a2.5 2.5 0 0 0-5 0v1a2 2 0 1 1 0 4",key:"1qnva7"}]],eV=(0,c.A)("ear",eF),eB=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]],ez=(0,c.A)("ellipsis",eB),e$=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}]],eU=(0,c.A)("ellipsis-vertical",e$),eq=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],eH=(0,c.A)("external-link",eq),eY=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],eW=(0,c.A)("eye",eY),eG=[["path",{d:"m15 18-.722-3.25",key:"1j64jw"}],["path",{d:"M2 8a10.645 10.645 0 0 0 20 0",key:"1e7gxb"}],["path",{d:"m20 15-1.726-2.05",key:"1cnuld"}],["path",{d:"m4 15 1.726-2.05",key:"1dsqqd"}],["path",{d:"m9 18 .722-3.25",key:"ypw2yx"}]],eK=(0,c.A)("eye-closed",eG),eJ=[["path",{d:"M16 22h2a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v2.85",key:"ryk6xj"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M8 14v2.2l1.6 1",key:"6m4bie"}],["circle",{cx:"8",cy:"16",r:"6",key:"10v15b"}]],eX=(0,c.A)("file-clock",eJ),eQ=[["path",{d:"M4.226 20.925A2 2 0 0 0 6 22h12a2 2 0 0 0 2-2V8a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v3.127",key:"wfxp4w"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"m5 11-3 3",key:"1dgrs4"}],["path",{d:"m5 17-3-3h10",key:"1mvvaf"}]],eZ=(0,c.A)("file-output",eQ),e0=[["path",{d:"m18.226 5.226-2.52-2.52A2.4 2.4 0 0 0 14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-.351",key:"1k2beg"}],["path",{d:"M21.378 12.626a1 1 0 0 0-3.004-3.004l-4.01 4.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z",key:"2t3380"}],["path",{d:"M8 18h1",key:"13wk12"}]],e1=(0,c.A)("file-pen-line",e0),e2=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["circle",{cx:"11.5",cy:"14.5",r:"2.5",key:"1bq0ko"}],["path",{d:"M13.3 16.3 15 18",key:"2quom7"}]],e5=(0,c.A)("file-search",e2);var e3=r(32769);let e4=[["path",{d:"M4 22V4a1 1 0 0 1 .4-.8A6 6 0 0 1 8 2c3 0 5 2 7.333 2q2 0 3.067-.8A1 1 0 0 1 20 4v10a1 1 0 0 1-.4.8A6 6 0 0 1 16 16c-3 0-
405-2-8-2a6 6 0 0 0-4 1.528",key:"1jaruq"}]],e6=(0,c.A)("flag",e4);var e9=r(91632);let e8=[["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]],e7=(0,c.A)("folder",e8),te=[["path",{d:"M4 16v-2.38C4 11.5 2.97 10.5 3 8c.03-2.72 1.49-6 4.5-6C9.37 2 10 3.8 10 5.5c0 3.11-2 5.66-2 8.68V16a2 2 0 1 1-4 0Z",key:"1dudjm"}],["path",{d:"M20 20v-2.38c0-2.12 1.03-3.12 1-5.62-.03-2.72-1.49-6-4.5-6C14.63 6 14 7.8 14 9.5c0 3.11 2 5.66 2 8.68V20a2 2 0 1 0 4 0Z",key:"l2t8xc"}],["path",{d:"M16 17h4",key:"1dejxt"}],["path",{d:"M4 13h4",key:"1bwh8b"}]],tt=(0,c.A)("footprints",te),tr=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M16 16s-1.5-2-4-2-4 2-4 2",key:"epbg0q"}],["line",{x1:"9",x2:"9.01",y1:"9",y2:"9",key:"yxxnd0"}],["line",{x1:"15",x2:"15.01",y1:"9",y2:"9",key:"1p4y9e"}]],tn=(0,c.A)("frown",tr),ti=[["path",{d:"M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z",key:"sc7q7i"}]],ta=(0,c.A)("funnel",ti),to=[["rect",{x:"3",y:"8",width:"18",height:"4",rx:"1",key:"bkv52"}],["path",{d:"M12 8v13",key:"1c76mn"}],["path",{d:"M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7",key:"6wjy6b"}],["path",{d:"M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5",key:"1ihvrl"}]],ts=(0,c.A)("gift",to);var tl=r(30642);let tc=[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]],tu=(0,c.A)("graduation-cap",tc),td=[["path",{d:"M11 14h2a2 2 0 0 0 0-4h-3c-.6 0-1.1.2-1.4.6L3 16",key:"1v1a37"}],["path",{d:"m14.45 13.39 5.05-4.694C20.196 8 21 6.85 21 5.75a2.75 2.75 0 0 0-4.797-1.837.276.276 0 0 1-.406 0A2.75 2.75 0 0 0 11 5.75c0 1.2.802 2.248 1.5 2.946L16 11.95",key:"fhfbnt"}],["path",{d:"m2 15 6 6",key:"10dquu"}],["path",{d:"m7 20 1.6-1.4c.3-.4.8-.6 1.4-.6h4c1.1 0 2.1-.4 2.8-1.2l4.6-4.4a1 1 0 0 0-2.75-2.91",key:"1x6kdw"}]],tp=(0,c.A)("hand-heart",td),th=[["path",{d:"m11 17 2 2a1 1 0 1 0 3-3",key:"efffak"}],["path",{d:"m14 14 2.5 2.5a1 1 0 1 0 3-3l-3.88-3.88a3 3 0 0 0-4.24 0l-.88.88a1 1 0 1 1-3-3l2.81-2.81a5.79 5.79 0 0 1 7.06-.87l.47.28a2 2 0 0 0 1.42.25L21 4",key:"9pr0kb"}],["path",{d:"m21 3 1 11h-2",key:"1tisrp"}],["path",{d:"M3 3 2 14l6.5 6.5a1 1 0 1 0 3-3",key:"1uvwmv"}],["path",{d:"M3 4h8",key:"1ep09j"}]],tf=(0,c.A)("handshake",th),tm=[["line",{x1:"4",x2:"20",y1:"9",y2:"9",key:"4lhtct"}],["line",{x1:"4",x2:"20",y1:"15",y2:"15",key:"vyu0kd"}],["line",{x1:"10",x2:"8",y1:"3",y2:"21",key:"1ggp8o"}],["line",{x1:"16",x2:"14",y1:"3",y2:"21",key:"weycgp"}]],tg=(0,c.A)("hash",tm),ty=[["path",{d:"M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 18 0v7a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3",key:"1xhozi"}]],tv=(0,c.A)("headphones",ty);var tb=r(26151),tw=r(47130);let tx=[["path",{d:"m22 11-1.296-1.296a2.4 2.4 0 0 0-3.408 0L11 16",key:"9kzy35"}],["path",{d:"M4 8a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2",key:"1t0f0t"}],["circle",{cx:"13",cy:"7",r:"1",fill:"currentColor",key:"1obus6"}],["rect",{x:"8",y:"2",width:"14",height:"14",rx:"2",key:"1gvhby"}]],tk=(0,c.A)("images",tx),tA=[["polyline",{points:"22 12 16 12 14 15 10 15 8 12 2 12",key:"o97t9d"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}]],tC=(0,c.A)("inbox",tA);var tS=r(28717),tE=r(14841);let t_=[["path",{d:"m5 8 6 6",key:"1wu5hv"}],["path",{d:"m4 14 6-6 2-3",key:"1k1g8d"}],["path",{d:"M2 5h12",key:"or177f"}],["path",{d:"M7 2h1",key:"1t2jsx"}],["path",{d:"m22 22-5-10-5 10",key:"don7ne"}],["path",{d:"M14 18h6",key:"1m8k6r"}]],tT=(0,c.A)("languages",t_),tP=[["rect",{width:"18",height:"12",x:"3",y:"4",rx:"2",ry:"2",key:"1qhy41"}],["line",{x1:"2",x2:"22",y1:"20",y2:"20",key:"ni3hll"}]],tO=(0,c.A)("laptop-minimal",tP),tI=[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]],tM=(0,c.A)("layers",tI);var tL=r(20248);let tN=[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]],tR=(0,c.A)("layout-grid",tN);var tj=r(49598);let tD=[["path",{d:"M3 5h.01",key:"18ugdj"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 19h.01",key:"noohij"}],["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 19h13",key:"m83p4d"}]],tF=(0,c.A)("list",tD),tV=[["path",{d:"M16 5H3",key:"m91uny"}],["path",{d:"M16 12H3",key:"1a2rj7"}],["path",{d:"M11 19H3",key:"zflm78"}],["path",{d:"m15 18 2 2 4-4",key:"1szwhi"}]],tB=(0,c.A)("list-check",tV),tz=[["path",{d:"M16 5H3",key:"m91uny"}],["path",{d:"M11 12H3",key:"51ecnj"}],["path",{d:"M16 19H3",key:"zzsher"}],["path",{d:"M18 9v6",key:"1twb98"}],["path",{d:"M21 12h-6",key:"bt1uis"}]],t$=(0,c.A)("list-plus",tz),tU=[["path",{d:"M16 5H3",key:"m91uny"}],["path",{d:"M11 12H3",key:"51ecnj"}],["path",{d:"M16 19H3",key:"zzsher"}],["path",{d:"m15.5 9.5 5 5",key:"ytk86i"}],["path",{d:"m20.5 9.5-5 5",key:"17o44f"}]],tq=(0,c.A)("list-x",tU),tH=[["circle",{cx:"12",cy:"16",r:"1",key:"1au0dj"}],["rect",{x:"3",y:"10",width:"18",height:"12",rx:"2",key:"6s8ecr"}],["path",{d:"M7 10V7a5 5 0 0 1 10 0v3",key:"1pqi11"}]],tY=(0,c.A)("lock-keyhole",tH),tW=[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]],tG=(0,c.A)("log-out",tW),tK=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],tJ=(0,c.A)("mail",tK),tX=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"m21 3-7 7",key:"1l2asr"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M9 21H3v-6",key:"wtvkvv"}]],tQ=(0,c.A)("maximize-2",tX),tZ=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"8",x2:"16",y1:"15",y2:"15",key:"1xb1d9"}],["line",{x1:"9",x2:"9.01",y1:"9",y2:"9",key:"yxxnd0"}],["line",{x1:"15",x2:"15.01",y1:"9",y2:"9",key:"1p4y9e"}]],t0=(0,c.A)("meh",tZ);var t1=r(59958);let t2=[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}],["path",{d:"M7.828 13.07A3 3 0 0 1 12 8.764a3 3 0 0 1 5.004 2.224 3 3 0 0 1-.832 2.083l-3.447 3.62a1 1 0 0 1-1.45-.001z",key:"hoo97p"}]],t5=(0,c.A)("message-circle-heart",t2),t3=[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}],["path",{d:"M8 12h.01",key:"czm47f"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M16 12h.01",key:"1l6xoz"}]],t4=(0,c.A)("message-circle-more",t3);var t6=r(17292);let t9=[["path",{d:"M12 19v3",key:"npa21l"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2",key:"1vc78b"}],["rect",{x:"9",y:"2",width:"6",height:"13",rx:"3",key:"s6n7sd"}]],t8=(0,c.A)("mic",t9);var t7=r(82851);let re=[["path",{d:"M18 8V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h8",key:"10dyio"}],["path",{d:"M10 19v-3.96 3.15",key:"1irgej"}],["path",{d:"M7 19h5",key:"qswx4l"}],["rect",{width:"6",height:"10",x:"16",y:"12",rx:"2",key:"1egngj"}]],rt=(0,c.A)("monitor-smartphone",re),rr=[["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"M2.586 16.726A2 2 0 0 1 2 15.312V8.688a2 2 0 0 1 .586-1.414l4.688-4.688A2 2 0 0 1 8.688 2h6.624a2 2 0 0 1 1.414.586l4.688 4.688A2 2 0 0 1 22 8.688v6.624a2 2 0 0 1-.586 1.414l-4.688 4.688a2 2 0 0 1-1.414.586H8.688a2 2 0 0 1-1.414-.586z",key:"2d38gg"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]],rn=(0,c.A)("octagon-x",rr),ri=[["path",{d:"M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z",key:"e79jfc"}],["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}
40]],ra=(0,c.A)("palette",ri);var ro=r(17259),rs=r(1668);let rl=[["path",{d:"M13 21h8",key:"1jsn5i"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}],["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]],rc=(0,c.A)("pencil-line",rl);var ru=r(89565);let rd=[["path",{d:"M11 17h3v2a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1v-3a3.16 3.16 0 0 0 2-2h1a1 1 0 0 0 1-1v-2a1 1 0 0 0-1-1h-1a5 5 0 0 0-2-4V3a4 4 0 0 0-3.2 1.6l-.3.4H11a6 6 0 0 0-6 6v1a5 5 0 0 0 2 4v3a1 1 0 0 0 1 1h2a1 1 0 0 0 1-1z",key:"1piglc"}],["path",{d:"M16 10h.01",key:"1m94wz"}],["path",{d:"M2 8v1a2 2 0 0 0 2 2h1",key:"1env43"}]],rp=(0,c.A)("piggy-bank",rd),rh=[["path",{d:"M12 17v5",key:"bb1du9"}],["path",{d:"M9 10.76a2 2 0 0 1-1.11 1.79l-1.78.9A2 2 0 0 0 5 15.24V16a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-.76a2 2 0 0 0-1.11-1.79l-1.78-.9A2 2 0 0 1 15 10.76V7a1 1 0 0 1 1-1 2 2 0 0 0 0-4H8a2 2 0 0 0 0 4 1 1 0 0 1 1 1z",key:"1nkz8b"}]],rf=(0,c.A)("pin",rh);var rm=r(87883),rg=r(46113);let ry=[["path",{d:"M19.07 4.93A10 10 0 0 0 6.99 3.34",key:"z3du51"}],["path",{d:"M4 6h.01",key:"oypzma"}],["path",{d:"M2.29 9.62A10 10 0 1 0 21.31 8.35",key:"qzzz0"}],["path",{d:"M16.24 7.76A6 6 0 1 0 8.23 16.67",key:"1yjesh"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M17.99 11.66A6 6 0 0 1 15.77 16.67",key:"1u2y91"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}],["path",{d:"m13.41 10.59 5.66-5.66",key:"mhq4k0"}]],rv=(0,c.A)("radar",ry),rb=[["path",{d:"M13 16H8",key:"wsln4y"}],["path",{d:"M14 8H8",key:"1l3xfs"}],["path",{d:"M16 12H8",key:"1fr5h0"}],["path",{d:"M4 3a1 1 0 0 1 1-1 1.3 1.3 0 0 1 .7.2l.933.6a1.3 1.3 0 0 0 1.4 0l.934-.6a1.3 1.3 0 0 1 1.4 0l.933.6a1.3 1.3 0 0 0 1.4 0l.933-.6a1.3 1.3 0 0 1 1.4 0l.934.6a1.3 1.3 0 0 0 1.4 0l.933-.6A1.3 1.3 0 0 1 19 2a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1 1.3 1.3 0 0 1-.7-.2l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.934.6a1.3 1.3 0 0 1-1.4 0l-.933-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-1.4 0l-.934-.6a1.3 1.3 0 0 0-1.4 0l-.933.6a1.3 1.3 0 0 1-.7.2 1 1 0 0 1-1-1z",key:"ycz6yz"}]],rw=(0,c.A)("receipt-text",rb);var rx=r(14318);let rk=[["path",{d:"M20 18v-2a4 4 0 0 0-4-4H4",key:"5vmcpk"}],["path",{d:"m9 17-5-5 5-5",key:"nvlc11"}]],rA=(0,c.A)("reply",rk),rC=[["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09z",key:"m3kijz"}],["path",{d:"m12 15-3-3a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.35 22.35 0 0 1-4 2z",key:"1fmvmk"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 0 5 0",key:"1f8sc4"}],["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}]],rS=(0,c.A)("rocket",rC),rE=[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]],r_=(0,c.A)("rotate-cw",rE),rT=[["path",{d:"M4 11a9 9 0 0 1 9 9",key:"pv89mb"}],["path",{d:"M4 4a16 16 0 0 1 16 16",key:"k0647b"}],["circle",{cx:"5",cy:"19",r:"1",key:"bfqh0e"}]],rP=(0,c.A)("rss",rT);var rO=r(19565);let rI=[["path",{d:"M3.714 3.048a.498.498 0 0 0-.683.627l2.843 7.627a2 2 0 0 1 0 1.396l-2.842 7.627a.498.498 0 0 0 .682.627l18-8.5a.5.5 0 0 0 0-.904z",key:"117uat"}],["path",{d:"M6 12h16",key:"s4cdu5"}]],rM=(0,c.A)("send-horizontal",rI);var rL=r(97472);let rN=[["path",{d:"M12 2v13",key:"1km8f5"}],["path",{d:"m16 6-4-4-4 4",key:"13yo43"}],["path",{d:"M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8",key:"1b2hhj"}]],rR=(0,c.A)("share",rN);var rj=r(9479);let rD=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M12 22V2",key:"zs6s6o"}
40]],rF=(0,c.A)("shield-half",rD),rV=[["path",{d:"M16 10a4 4 0 0 1-8 0",key:"1ltviw"}],["path",{d:"M3.103 6.034h17.794",key:"awc11p"}],["path",{d:"M3.4 5.467a2 2 0 0 0-.4 1.2V20a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6.667a2 2 0 0 0-.4-1.2l-2-2.667A2 2 0 0 0 17 2H7a2 2 0 0 0-1.6.8z",key:"o988cm"}]],rB=(0,c.A)("shopping-bag",rV);var rz=r(2450);let r$=[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]],rU=(0,c.A)("smartphone",r$),rq=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 14s1.5 2 4 2 4-2 4-2",key:"1y1vjs"}],["line",{x1:"9",x2:"9.01",y1:"9",y2:"9",key:"yxxnd0"}],["line",{x1:"15",x2:"15.01",y1:"9",y2:"9",key:"1p4y9e"}]],rH=(0,c.A)("smile",rq);var rY=r(82026);let rW=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 8h7",key:"kbo1nt"}],["path",{d:"M8 12h6",key:"ikassy"}],["path",{d:"M11 16h5",key:"oq65wt"}]],rG=(0,c.A)("square-chart-gantt",rW),rK=[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]],rJ=(0,c.A)("square-pen",rK);var rX=r(85739),rQ=r(10193);let rZ=[["path",{d:"M12 18.338a2.1 2.1 0 0 0-.987.244L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.12 2.12 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.12 2.12 0 0 0 1.597-1.16l2.309-4.679A.53.53 0 0 1 12 2",key:"2ksp49"}]],r0=(0,c.A)("star-half",rZ);var r1=r(38510);let r2=[["path",{d:"M15 3v18",key:"14nvp0"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M21 9H3",key:"1338ky"}],["path",{d:"M21 15H3",key:"9uk58r"}]],r5=(0,c.A)("table-properties",r2),r3=[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]],r4=(0,c.A)("tag",r3),r6=[["path",{d:"M17 14V2",key:"8ymqnk"}],["path",{d:"M9 18.12 10 14H4.17a2 2 0 0 1-1.92-2.56l2.33-8A2 2 0 0 1 6.5 2H20a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.76a2 2 0 0 0-1.79 1.11L12 22a3.13 3.13 0 0 1-3-3.88Z",key:"m61m77"}]],r9=(0,c.A)("thumbs-down",r6);var r8=r(37934);let r7=[["path",{d:"M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z",key:"qn84l0"}],["path",{d:"M13 5v2",key:"dyzc3o"}],["path",{d:"M13 17v2",key:"1ont0d"}],["path",{d:"M13 11v2",key:"1wjjxi"}]],ne=(0,c.A)("ticket",r7),nt=[["path",{d:"M10.5 17h1.227a2 2 0 0 0 1.345-.52L18 12",key:"16muxl"}],["path",{d:"m12 13.5 3.75.5",key:"1i9qhk"}],["path",{d:"m4.5 8 10.58-5.06a1 1 0 0 1 1.342.488L18.5 8",key:"12lg5p"}],["path",{d:"M6 10V8",key:"1y41hn"}],["path",{d:"M6 14v1",key:"cao2tf"}],["path",{d:"M6 19v2",key:"1loha6"}],["rect",{x:"2",y:"8",width:"20",height:"13",rx:"2",key:"p3bz5l"}]],nr=(0,c.A)("tickets-plane",nt),nn=[["line",{x1:"10",x2:"14",y1:"2",y2:"2",key:"14vaq8"}],["line",{x1:"12",x2:"15",y1:"14",y2:"11",key:"17fdiu"}],["circle",{cx:"12",cy:"14",r:"8",key:"1e1u0o"}]],ni=(0,c.A)("timer",nn),na=[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],no=(0,c.A)("trash-2",na),ns=[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]],nl=(0,c.A)("trending-up",ns),nc=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],nu=(0,c.A)("triangle-alert",nc),nd=[["path",{d:"M9 14 4 9l5-5",key:"102s5s"}],["path",{d:"M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11",key:"f3b9sd"}]],np=(0,c.A)("undo-2",nd),nh=[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]],nf=(0,c.A)("upload",nh),nm=[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}
40],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]],ng=(0,c.A)("user-round",nm),ny=[["path",{d:"m14.305 19.53.923-.382",key:"3m78fa"}],["path",{d:"m15.228 16.852-.923-.383",key:"npixar"}],["path",{d:"m16.852 15.228-.383-.923",key:"5xggr7"}],["path",{d:"m16.852 20.772-.383.924",key:"dpfhf9"}],["path",{d:"m19.148 15.228.383-.923",key:"1reyyz"}],["path",{d:"m19.53 21.696-.382-.924",key:"1goivc"}],["path",{d:"M2 21a8 8 0 0 1 10.434-7.62",key:"1yezr2"}],["path",{d:"m20.772 16.852.924-.383",key:"htqkph"}],["path",{d:"m20.772 19.148.924.383",key:"9w9pjp"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}],["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}]],nv=(0,c.A)("user-round-cog",ny),nb=[["path",{d:"M2 21a8 8 0 0 1 13.292-6",key:"bjp14o"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}],["path",{d:"M19 16v6",key:"tddt3s"}],["path",{d:"M22 19h-6",key:"vcuq98"}]],nw=(0,c.A)("user-round-plus",nb);var nx=r(34286),nk=r(76552);let nA=[["path",{d:"m21.64 3.64-1.28-1.28a1.21 1.21 0 0 0-1.72 0L2.36 18.64a1.21 1.21 0 0 0 0 1.72l1.28 1.28a1.2 1.2 0 0 0 1.72 0L21.64 5.36a1.2 1.2 0 0 0 0-1.72",key:"ul74o6"}],["path",{d:"m14 7 3 3",key:"1r5n42"}],["path",{d:"M5 6v4",key:"ilb8ba"}],["path",{d:"M19 14v4",key:"blhpug"}],["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M7 8H3",key:"zfb6yr"}],["path",{d:"M21 16h-4",key:"1cnmox"}],["path",{d:"M11 3H9",key:"1obp7u"}]],nC=(0,c.A)("wand-sparkles",nA);var nS=r(48723);let nE=[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"11",x2:"11",y1:"8",y2:"14",key:"1vmskp"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]],n_=(0,c.A)("zoom-in",nE),nT=[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["line",{x1:"21",x2:"16.65",y1:"21",y2:"16.65",key:"13gj7c"}],["line",{x1:"8",x2:"14",y1:"11",y2:"11",key:"durymu"}]],nP=(0,c.A)("zoom-out",nT),nO={"alarm-clock":w,archive:k,"arrow-down-to-line":C,"arrow-left":S.A,"arrow-right":E.A,"arrow-right-left":T,"arrow-up-to-line":O,award:M,"battery-charging":N,bell:j,"bell-off":F,"bell-plus":B,book:$,"book-marked":q,"book-open":Y,"book-open-text":W.A,"book-text":K,"bookmark-minus":X,"bookmark-plus":Z,"building-2":et,camera:en,captions:ei.A,"chart-no-axes-combined":eo,check:es.A,"chevron-down":el.A,"chevron-left":ec.A,"chevron-right":eu.A,"chevron-up":ed.A,"circle-alert":ep.A,"circle-check":ef,"circle-check-big":eg,"circle-dollar-sign":ev,"circle-help":ew,"circle-play":ek,compass:eA.A,"contact-round":eS,copy:eE.A,"credit-card":eT,diamond:eO,"dollar-sign":eM,dot:eL.A,download:eR,drama:eD,ear:eV,ellipsis:ez,"ellipsis-vertical":eU,"external-link":eH,eye:eW,"eye-closed":eK,"file-clock":eX,"file-output":eZ,"file-pen-line":e1,"file-search":e5,"file-text":e3.A,flag:e6,flame:e9.A,folder:e7,footprints:tt,frown:tn,funnel:ta,gift:ts,globe:tl.A,"graduation-cap":tu,"hand-heart":tp,handshake:tf,hash:tg,headphones:tv,house:tb.A,image:tw.A,images:tk,inbox:tC,infinity:tS.A,info:tE.A,languages:tT,"laptop-minimal":tO,layers:tM,"layers-2":tL.A,"layout-grid":tR,"link-2":tj.A,list:tF,"list-check":tB,"list-plus":t$,"list-x":tq,"lock-keyhole":tY,"log-out":tG,mail:tJ,"maximize-2":tQ,meh:t0,menu:t1.A,"message-circle-heart":t5,"message-circle-more":t4,"message-square-text":t6.A,mic:t8,minus:t7.A,"monitor-smartphone":rt,"octagon-x":rn,palette:ra,paperclip:ro.A,pencil:rs.A,"pencil-line":rc,"pencil-ruler":ru.A,"piggy-bank":rp,pin:rf,play:rm.A,plus:rg.A,radar:rv,"receipt-text":rw,repeat:rx.A,reply:rA,rocket:rS,"rotate-cw":r_,rss:rP,search:rO.A,"send-horizontal":rM,settings:rL.A,share:rR,"share-2":rj.A,"shield-half":rF,"shopping-bag":rB,"shopping-cart":rz.A,smartphone:rU,smile:rH,sparkles:rY.A,"square-chart-gantt":rG,"square-pen":rJ,"square-play":rX.A,star:rQ.A,"star-half":r0,store:r1.A,"table-properties":r5,tag:r4,"thumbs-down":r9,"thumbs-up":r8.A,ticket:ne,"tickets-plane":nr,timer:ni,"trash-2":no,"trending-up":nl,"triangle-alert":nu,"undo-2":np,upload:nf,"user-round":ng,"user-round-cog":nv,"user-round-plus":nw,"users-round":nx.A,"volume-2":nk.A,"wand-sparkles":nC,x:nS.A,"zoom-in":n_,"zoom-out":nP},nI={checked:"",auto_fix_high:"",achievement:"",audio_book:"",mock_test:"",flash_cards:"",lecture:"",multimedia_content:"",play_outlined:"",play:"",outcome_assignment:"",checklist_group:"",timed_article:"",playlist:"",full_test:"",question_group:"",deck:"",video:"",multimedia_content_group:"",article:"",swap_horiz:"",inventory_2:"",delete:"",edit:"",info:"",close:"",timer:"",share:"",arrow_back:"",arrow_forward:"",move_to_inbox:"",closed_caption:"",contact_page:"",storefront:"",group:"",school:"",home:"",book:"",person:"",spoke:"",insert_chart:"",comment:"",receipt_long:"",credit_card:"",shopping_cart:"",supervisor_account:"",edit_document:"",tag:"",shopping_bag:"",emergency_home:"",check:"",lock:"",collections_bookmark:"",toc:"",comic_bubble:"",savings:"",help:"",touch_app:"",quiz:"",menu_book:"",cancel_filled:"",warning:"",rhombus:"",star_filled:"
40",star:"",star_half:"",directions_run:"",local_library:"",search:"",filter_alt:"",keyboard_arrow_right:"",keyboard_arrow_left:"",local_fire_department:"",view_list:"",question_mark:"",folder_open:"",folder:"",link:"",facebook:"",instagram:"",youtube:"",line:"",auto_stories:"",content_copy:"",bullet:"",check_circle:"",military_tech:"",sell:"",add:"",auto_awesome:"",keyboard_arrow_down:"",keyboard_arrow_up:"",credit_score:"",group_add:"",dangerous:"",sync_alt:"",sentiment_sad:"",notification_add:"",notifications_off:"",manage_accounts:"",reviews:"",moving:"",devices:"",volunteer_activism:"",emoji_flags_filled:"",emoji_flags:"",error:"",refresh:"",list_alt:"",list_alt_add:"",layers:"",smart_display:"",design_services:"",all_inclusive:"",send_to_mobile:"",handshake:"",attach_money:"",mail:"",social_leaderboard:"",stars_filled:"",widgets:"",stylus_note:"",style:"",volume_up:"",play_circle:"",quick_reference_all:"",headset_mic:"",hearing:"",draw:"",overview:"",grid_view:"",visibility:"",visibility_off:"",notifications:"",vertical_align_top:"",vertical_align_bottom:"",text_snippet:"",confirmation_number:"",menu:"",remove:"",alarm:"",send:"",emoji_people:"",more_horiz:"",monitoring:"",more_vert:"",open_in_full:"",open_in_new:"",output:"",package:"",palette:"",person_add:"",photo_camera:"",photo_library:"",photo:"",picture_as_pdf:"",push_pin:"",text_format:"",translate:"",zoom_out:"",zoom_in:"",footprint:"",data_check:"",rss_feed:"",featured_seasonal_and_gifts:"",sentiment_excited:"",charger:"",apartment:"",repeat:"",rocket_launch:"",encrypted:"",upload:"",check_indeterminate_small:"",radar:"",attachment:"",download:"",bookmark_star:"",auto_fix:"",local_atm:"",airplane_ticket:"",festival:"",explore:"",thumb_up:"",thumb_down:"",imagesmode:"",playlist_remove:"",arrow_drop_down:"",arrow_drop_up:"",text_fields:"",video_library:"",width:"",chevron_left:"",setting:"",undo:"",logout:"",phone_iphone:"",desktop_mac:"",edit_note:"",bookmark_remove:"",bookmark_add:"",language:"",campaign:"",pan_zoom:"",task_alt:"",headphones:"",sentiment_satisfied:"",fact_check:"",ios_share:"",sentiment_content:"",reply:"",keyboard_voice:""};r(75598);let nM=e=>{let{iconName:t,size:r=20,color:o,className:s="",onClick:l,style:c}=e;if(t.startsWith("Material"))return console.warn('Custom Material icon "'.concat(t,'" needs to be implemented as SVG.')),(0,n.Y)("div",{className:(0,i.Q)("inline-flex items-center justify-center",s),style:{width:"".concat(r,"px"),height:"".concat(r,"px"),color:o?a.A.color.palette[o]:"inherit",...c},onClick:l,children:(0,n.Y)("span",{style:{fontSize:"".concat(Math.max(.6*r,8),"px")},children:"M"})});if(["CancelFilled","DirectionsRun","EmergencyHome","Info","Spoke","StarsFilled","Widgets","TableOfContents","ArrowDropDown","ArrowDropUp","RulerDimensionLine","TextFields"].includes(t))return console.warn('Custom icon "'.concat(t,'" needs to be implemented as SVG.')),(0,n.Y)("div",{className:(0,i.Q)("inline-flex items-center justify-center",s
40),style:{width:"".concat(r,"px"),height:"".concat(r,"px"),color:o?a.A.color.palette[o]:"inherit",...c},onClick:l,children:(0,n.Y)("span",{style:{fontSize:"".concat(Math.max(.6*r,8),"px")},children:"?"})});let u=nO[t];return u?(0,n.Y)(u,{size:v(r),className:(0,i.Q)(l&&"cursor-pointer hover:opacity-60",s),style:{color:o?a.A.color.palette[o]:"inherit",fill:"Star"===t&&(null==s?void 0:s.includes("star-filled"))?o?a.A.color.palette[o]:"currentColor":"none",...c},onClick:l}):null},nL=e=>{let{type:t,onClick:r,style:o,size:s=20,className:l="",color:c}=e,u=nI[t];if(!u)return null;let d={color:c?a.A.color.palette[c]:"inherit",...o,width:"".concat(s,"px"),height:"".concat(s,"px"),fontSize:"".concat(s,"px"),fontStyle:"normal"};return(0,n.Y)("i",{className:(0,i.Q)("wu-icon",r&&"cursor-pointer hover:opacity-60",l),style:d,dangerouslySetInnerHTML:{__html:u},onClick:r})},nN=e=>{let{type:t,onClick:r,style:i,size:o=20,className:s="",color:l,useLegacy:c=!1}=e;if(c)return(0,n.Y)(nL,{type:t,onClick:r,style:i,size:o,className:s,color:l});if(m(t)){let e=f[t];return(0,n.Y)(e,{size:o,className:s,color:l,onClick:r,style:i})}let u=y(t);return u&&nO[u]?(0,n.Y)(nM,{iconName:u,size:o,color:l,className:s,onClick:r,style:{fill:"star"===u?l?a.A.color.palette[l]:"currentColor":"none",stroke:"star_filled"===u?"none":"currentColor",...i}}):(0,n.Y)(nL,{type:t,onClick:r,style:i,size:o,className:s,color:l})}},47130:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(58309);let i=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]],a=(0,n.A)("image",i)},47492:e=>{"use strict";var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,r=/\n/g,n=/^\s*/,i=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,a=/^:\s*/,o=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,l=/^\s+|\s+$/g,c="\n",u="/",d="*",p="",h="comment",f="declaration";function m(e){return e?e.replace(l,p):p}e.exports=function(e,l){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];l=l||{};var g=1,y=1;function v(e){var t=e.match(r);t&&(g+=t.length);var n=e.lastIndexOf(c);y=~n?e.length-n:y+e.length}function b(){var e={line:g,column:y};return function(t){return t.position=new w(e),A(),t}}function w(e){this.start=e,this.end={line:g,column:y},this.source=l.source}function x(t){var r=Error(l.source+":"+g+":"+y+": "+t);if(r.reason=t,r.filename=l.source,r.line=g,r.column=y,r.source=e,l.silent);else throw r}function k(t){var r=t.exec(e);if(r){var n=r[0];return v(n),e=e.slice(n.length),r}}function A(){k(n)}function C(e){var t;for(e=e||[];t=S();)!1!==t&&e.push(t);return e}function S(){var t=b();if(u==e.charAt(0)&&d==e.charAt(1)){for(var r=2;p!=e.charAt(r)&&(d!=e.charAt(r)||u!=e.charAt(r+1));)++r;if(r+=2,p===e.charAt(r-1))return x("End of comment missing");var n=e.slice(2,r-2);return y+=2,v(n),e=e.slice(r),y+=2,t({type:h,comment:n})}}function E(){var e=b(),r=k(i);if(r){if(S(),!k(a))return x("property missing ':'");var n=k(o),l=e({type:f,property:m(r[0].replace(t,p)),value:n?m(n[0].replace(t,p)):p});return k(s),l}}function _(){var e,t=[];for(C(t);e=E();)!1!==e&&(t.push(e),C(t));return t}return w.prototype.content=e,A(),_()}},47580:(e,t,r)=>{"use strict";r.d(t,{o:()=>p});var n=r(2860),i=r(94687),a=r(47126),o=r(98986),s=r(82203),l=r.n(s),c=r(41642);let u=()=>{let{t:e}=(0,o.Bd)();return(0,n.FD)("div",{className:"flex items-center justify-between",children:[(0,n.Y)("div",{children:e("cart.noti.added")}),(0,n.Y)(l(),{href:c.H.CART,className:"no-underline",children:(0,n.FD)("div",{className:"text-grayscale-000 mr-3 flex items-center gap-2 rounded-lg bg-green-500 p-[4px_8px] text-sm",children:[e("cart.noti.go"),(0,n.Y)(a.I,{type:"keyboard_arrow_right"})]})})]})};r(73748);let d=e=>{let{message:t,actionComponent:r}=e;return(0,n.FD)("div",{className:"text-grayscale-800 flex items-center justify-between text-xs font-medium leading-4",children:[t,r]})},p={success:e=>{let{message:t,options:r,actionComponent:o}=e;i.oR.success((0,n.Y)(d,{message:t,actionComponent:o}),{...r,icon:()=>(0,n.Y)(a.I,{type:"check_circle",color:"green-500",size:20})})},error:e=>{let{message:t,options:r,actionComponent:o}=e;i.oR.error((0,n.Y)(d,{message:t,actionComponent:o}),{...r,icon:(0,n.Y)(a.I,{type:"dangerous",color:"peach-500",size:20})})},info:e=>{let{message:t,options:r,actionComponent:o}=e;i.oR.info((0,n.Y)(d,{message:t,actionComponent:o}),{...r,icon:(0,n.Y)(a.I,{type:"info",color:"primary-500",size:20})})},warning:e=>{let{message:t,options:r,actionComponent:o}=e;i.oR.warning((0,n.Y)(d,{message:t,actionComponent:o}),{...r,icon:(0,n.Y)(a.I,{type:"emergency_home",color:"yellow-500",size:20})})},addToCartSuccess:()=>{let e=window.matchMedia("(min-width: 768px)").matches?{}:{position:"top-right"};i.oR.success((0,n.Y)(u,{}),{...e,icon:(0,n.Y)(a.I,{type:"shopping_cart",color:"green-500",size:20})})}}},47749:(e,t,r)=>{"use strict";let n,i,a;r.d(t,{S:()=>V,d:()=>R});var o=r(6587),s=r(89974);function l(){let e=(0,o.a)(),t=(0,o.g)();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}
40function c(){return n||(n=l()),n}function u(e){let{userAgent:t}=void 0===e?{}:e,r=c(),n=(0,o.a)(),i=n.navigator.platform,a=t||n.navigator.userAgent,s={ios:!1,android:!1},l=n.screen.width,u=n.screen.height,d=a.match(/(Android);?[\s\/]+([\d.]+)?/),p=a.match(/(iPad).*OS\s([\d_]+)/),h=a.match(/(iPod)(.*OS\s([\d_]+))?/),f=!p&&a.match(/(iPhone\sOS|iOS)\s([\d_]+)/),m="Win32"===i,g="MacIntel"===i,y=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!p&&g&&r.touch&&y.indexOf(`${l}x${u}`)>=0&&((p=a.match(/(Version)\/([\d.]+)/))||(p=[0,1,"13_0_0"]),g=!1),d&&!m&&(s.os="android",s.android=!0),(p||f||h)&&(s.os="ios",s.ios=!0),s}function d(e){return void 0===e&&(e={}),i||(i=u(e)),i}function p(){let e=(0,o.a)(),t=!1;function r(){let t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&0>t.indexOf("chrome")&&0>t.indexOf("android")}if(r()){let r=String(e.navigator.userAgent);if(r.includes("Version/")){let[e,n]=r.split("Version/")[1].split(" ")[0].split(".").map(e=>Number(e));t=e<16||16===e&&n<2}}return{isSafari:t||r(),needPerspectiveFix:t,isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}function h(){return a||(a=p()),a}function f(e){let{swiper:t,on:r,emit:n}=e,i=(0,o.a)(),a=null,s=null,l=()=>{t&&!t.destroyed&&t.initialized&&(n("beforeResize"),n("resize"))},c=()=>{t&&!t.destroyed&&t.initialized&&(a=new ResizeObserver(e=>{s=i.requestAnimationFrame(()=>{let{width:r,height:n}=t,i=r,a=n;e.forEach(e=>{let{contentBoxSize:r,contentRect:n,target:o}=e;o&&o!==t.el||(i=n?n.width:(r[0]||r).inlineSize,a=n?n.height:(r[0]||r).blockSize)}),(i!==r||a!==n)&&l()})})).observe(t.el)},u=()=>{s&&i.cancelAnimationFrame(s),a&&a.unobserve&&t.el&&(a.unobserve(t.el),a=null)},d=()=>{t&&!t.destroyed&&t.initialized&&n("orientationchange")};r("init",()=>{if(t.params.resizeObserver&&void 0!==i.ResizeObserver)return void c();i.addEventListener("resize",l),i.addEventListener("orientationchange",d)}),r("destroy",()=>{u(),i.removeEventListener("resize",l),i.removeEventListener("orientationchange",d)})}function m(e){let{swiper:t,extendParams:r,on:n,emit:i}=e,a=[],l=(0,o.a)(),c=function(e,r){void 0===r&&(r={});let n=new(l.MutationObserver||l.WebkitMutationObserver)(e=>{if(t.__preventObserver__)return;if(1===e.length)return void i("observerUpdate",e[0]);let r=function(){i("observerUpdate",e[0])};l.requestAnimationFrame?l.requestAnimationFrame(r):l.setTimeout(r,0)});n.observe(e,{attributes:void 0===r.attributes||r.attributes,childList:void 0===r.childList||r.childList,characterData:void 0===r.characterData||r.characterData}),a.push(n)},u=()=>{if(t.params.observer){if(t.params.observeParents){let e=(0,s.a)(t.hostEl);for(let t=0;t<e.length;t+=1)c(e[t])}c(t.hostEl,{childList:t.params.observeSlideChildren}),c(t.wrapperEl,{attributes:!1})}},d=()=>{a.forEach(e=>{e.disconnect()}),a.splice(0,a.length)};r({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",u),n("destroy",d)}var g={on(e,t,r){let n=this;if(!n.eventsListeners||n.destroyed||"function"!=typeof t)return n;let i=r?"unshift":"push";return e.split(" ").forEach(e=>{n.eventsListeners[e]||(n.eventsListeners[e]=[]),n.eventsListeners[e][i](t)}),n},once(e,t,r){let n=this;if(!n.eventsListeners||n.destroyed||"function"!=typeof t)return n;function i(){n.off(e,i),i.__emitterProxy&&delete i.__emitterProxy;for(var r=arguments.length,a=Array(r),o=0;o<r;o++)a[o]=arguments[o];t.apply(n,a)}return i.__emitterProxy=t,n.on(e,i,r)},onAny(e,t){let r=this;if(!r.eventsListeners||r.destroyed||"function"!=typeof e)return r;let n=t?"unshift":"push";return 0>r.eventsAnyListeners.indexOf(e)&&r.eventsAnyListeners[n](e),r},offAny(e){let t=this;if(!t.eventsListeners||t.destroyed||!t.eventsAnyListeners)return t;let r=t.eventsAnyListeners.indexOf(e);return r>=0&&t.eventsAnyListeners.splice(r,1),t},off(e,t){let r=this;return r.eventsListeners&&!r.destroyed&&r.eventsListeners&&e.split(" ").forEach(e=>{void 0===t?r.eventsListeners[e]=[]:r.eventsListeners[e]&&r.eventsListeners[e].forEach((n,i)=>{(n===t||n.__emitterProxy&&n.__emitterProxy===t)&&r.eventsListeners[e].splice(i,1)})}),r},emit(){let e,t,r,n=this;if(!n.eventsListeners||n.destroyed||!n.eventsListeners)return n;for(var i=arguments.length,a=Array(i),o=0;o<i;o++)a[o]=arguments[o];return"string"==typeof a[0]||Array.isArray(a[0])?(e=a[0],t=a.slice(1,a.length),r=n):(e=a[0].events,t=a[0].data,r=a[0].context||n),t.unshift(r),(Array.isArray(e)?e:e.split(" ")).forEac
40h(e=>{n.eventsAnyListeners&&n.eventsAnyListeners.length&&n.eventsAnyListeners.forEach(n=>{n.apply(r,[e,...t])}),n.eventsListeners&&n.eventsListeners[e]&&n.eventsListeners[e].forEach(e=>{e.apply(r,t)})}),n}};let y=(e,t)=>{if(!e||e.destroyed||!e.params)return;let r=()=>e.isElement?"swiper-slide":`.${e.params.slideClass}`,n=t.closest(r());if(n){let t=n.querySelector(`.${e.params.lazyPreloaderClass}`);!t&&e.isElement&&(n.shadowRoot?t=n.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{n.shadowRoot&&(t=n.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`))&&t.remove()})),t&&t.remove()}},v=(e,t)=>{if(!e.slides[t])return;let r=e.slides[t].querySelector('[loading="lazy"]');r&&r.removeAttribute("loading")},b=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext,r=e.slides.length;if(!r||!t||t<0)return;t=Math.min(t,r);let n="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),i=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){let r=i,a=[r-t];a.push(...Array.from({length:t}).map((e,t)=>r+n+t)),e.slides.forEach((t,r)=>{a.includes(t.column)&&v(e,r)});return}let a=i+n-1;if(e.params.rewind||e.params.loop)for(let n=i-t;n<=a+t;n+=1){let t=(n%r+r)%r;(t<i||t>a)&&v(e,t)}else for(let n=Math.max(i-t,0);n<=Math.min(a+t,r-1);n+=1)n!==i&&(n>a||n<i)&&v(e,n)};function w(e){let t,{slidesGrid:r,params:n}=e,i=e.rtlTranslate?e.translate:-e.translate;for(let e=0;e<r.length;e+=1)void 0!==r[e+1]?i>=r[e]&&i<r[e+1]-(r[e+1]-r[e])/2?t=e:i>=r[e]&&i<r[e+1]&&(t=e+1):i>=r[e]&&(t=e);return n.normalizeSlideIndex&&(t<0||void 0===t)&&(t=0),t}function x(e){let{swiper:t,runCallbacks:r,direction:n,step:i}=e,{activeIndex:a,previousIndex:o}=t,s=n;if(s||(s=a>o?"next":a<o?"prev":"reset"),t.emit(`transition${i}`),r&&a!==o){if("reset"===s)return void t.emit(`slideResetTransition${i}`);t.emit(`slideChangeTransition${i}`),"next"===s?t.emit(`slideNextTransition${i}`):t.emit(`slidePrevTransition${i}`)}}function k(e,t){function r(t){if(!t||t===(0,o.g)()||t===(0,o.a)())return null;t.assignedSlot&&(t=t.assignedSlot);let n=t.closest(e);return n||t.getRootNode?n||r(t.getRootNode().host):null}return void 0===t&&(t=this),r(t)}function A(e){let t=this,r=(0,o.g)(),n=(0,o.a)(),i=t.touchEventsData;i.evCache.push(e);let{params:a,touches:l,enabled:c}=t;if(!c||!a.simulateTouch&&"mouse"===e.pointerType||t.animating&&a.preventInteractionOnTransition)return;!t.animating&&a.cssMode&&a.loop&&t.loopFix();let u=e;u.originalEvent&&(u=u.originalEvent);let d=u.target;if("wrapper"===a.touchEventsTarget&&!t.wrapperEl.contains(d)||"which"in u&&3===u.which||"button"in u&&u.button>0||i.isTouched&&i.isMoved)return;let p=!!a.noSwipingClass&&""!==a.noSwipingClass,h=e.composedPath?e.composedPath():e.path;p&&u.target&&u.target.shadowRoot&&h&&(d=h[0]);let f=a.noSwipingSelector?a.noSwipingSelector:`.${a.noSwipingClass}`,m=!!(u.target&&u.target.shadowRoot);if(a.noSwiping&&(m?k(f,d):d.closest(f))){t.allowClick=!0;return}if(a.swipeHandler&&!d.closest(a.swipeHandler))return;l.currentX=u.pageX,l.currentY=u.pageY;let g=l.currentX,y=l.currentY,v=a.edgeSwipeDetection||a.iOSEdgeSwipeDetection,b=a.edgeSwipeThreshold||a.iOSEdgeSwipeThreshold;if(v&&(g<=b||g>=n.innerWidth-b))if("prevent"!==v)return;else e.preventDefault();Object.assign(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),l.startX=g,l.startY=y,i.touchStartTime=(0,s.d)(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,a.threshold>0&&(i.allowThresholdMove=!1);let w=!0;d.matches(i.focusableElements)&&(w=!1,"SELECT"===d.nodeName&&(i.isTouched=!1)),r.activeElement&&r.activeElement.matches(i.focusableElements)&&r.activeElement!==d&&r.activeElement.blur();let x=w&&t.allowTouchMove&&a.touchStartPreventDefault;(a.touchStartForcePreventDefault||x)&&!d.isContentEditable&&u.preventDefault(),a.freeMode&&a.freeMode.enabled&&t.freeMode&&t.animating&&!a.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",u)}function C(e){let t,r=(0,o.g)(),n=this,i=n.touchEventsData,{params:a,touches:l,rtlTranslate:c,enabled:u}=n;if(!u||!a.simulateTouch&&"mouse"===e.pointerType)return;let d=e;if(d.originalEvent&&(d=d.originalEvent),!i.isTouched){i.startMoving&&i.isScrolling&&n.emit("touchMoveOpposite",d);return}let p=i.evCache.findIndex(e=>e.pointerId===d.pointerId);p>=0&&(i.evCache[p]=d);let h=i.evCache.length>1?i.evCache[0]:d,f=h.pageX,m=h.pageY;if(d.preventedByNestedSwiper){l.startX=f,l.startY=m;return}if(!n.allowTouchMove){d.target.matches(i.focusableElements)||(n.allowClick=!1),i.isTouched&&(Object.assign(l,{startX:f,startY:m,prevX:n.touches.currentX,prevY:n.touches.currentY,currentX:f,currentY:m}),i.touchStartTime=(0,s.d)());return}if(a.touchReleaseOnEdges&&!a.loop){if(n.isVertical()){if(m<l.startY&&n.translate<=n.maxTranslate()||m>l.startY&&n.translate>=n.minTranslate()){i.isTouched=!1,i.isMoved=!1;return}}else if(f<l.startX&&n.translate<=n.maxTranslate()||f>l.startX&&n.translate>=n.minTranslate())return}if(r.activeElement&&d.target===r.activeElement&&d.target.matches(i.focusableElements)){i.isMoved=!0,n.allowClick=!1;return}if(i.allowTouchCallbacks&&n.emit("touchMove",d),d.targetTouches&&d.targetTouches.length>1)return;l.currentX=f,l.currentY=m;let g=l.currentX-l.startX,y=l.currentY-l.startY;if(n.params.threshold&&Math.sqrt(g**2+y**2)<n.params.threshold)return;if(void 0===i.isScrolling){let e;n.isHorizontal()&&l.currentY===l.startY||n.isVertical()&&l.currentX===l.startX?i.isScrolling=!1:g*g+y*y>=25&&(e=180*Math.atan2(Math.abs(y),Math.abs(g))/Math.PI,i.isScrolling=n.isHorizontal()?e>a.touchAngle:90-e>a.touchAngle)}if(i.isScrolling&&n.emit("touchMoveOpposite",d),void 0===i.startMoving&&(l.currentX!==l.startX||l.currentY!==l.startY)&&(i.startMoving=!0),i.isScrolling||n.zoom&&n.params.zoom&&n.params.zoom.enabled&&i.evCache.length>1){i.isTouched=!1;return}if(!i.startMoving)return;n.allowClick=!1,!a.cssMode&&d.cancelable&&d.preventDefault(),a.touchMoveStopPropagation&&!a.nested&&d.stopPropagation();let v=n.isHorizontal()?g:y,b=n.isHorizontal()?l.currentX-l.previousX:l.currentY-l.previousY;a.oneWayMovement&&(v=Math.abs(v)*(c?1:-1),b=Math.abs(b)*(c?1:-1)),l.diff=v,v*=a.touchRatio,c&&(v=-v,b=-b);let w=n.touchesDirection;n.swipeDirection=v>0?"prev":"next",n.touchesDirection=b>0?"prev":"next";let x=n.params.loop&&!a.cssMode,k="next"===n.swipeDirection&&n.allowSlideNext||"prev"===n.swipeDirection&&n.allowSlidePrev;if(!i.isMoved){if(x&&k&&n.loopFix({direction:n.swipeDirection}),i.startTranslate=n.getTranslate(),n.setTransition(0),n.animating){let e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});
40n.wrapperEl.dispatchEvent(e)}i.allowMomentumBounce=!1,a.grabCursor&&(!0===n.allowSlideNext||!0===n.allowSlidePrev)&&n.setGrabCursor(!0),n.emit("sliderFirstMove",d)}i.isMoved&&w!==n.touchesDirection&&x&&k&&Math.abs(v)>=1&&(n.loopFix({direction:n.swipeDirection,setTranslate:!0}),t=!0),n.emit("sliderMove",d),i.isMoved=!0,i.currentTranslate=v+i.startTranslate;let A=!0,C=a.resistanceRatio;if(a.touchReleaseOnEdges&&(C=0),v>0?(x&&k&&!t&&i.currentTranslate>(a.centeredSlides?n.minTranslate()-n.size/2:n.minTranslate())&&n.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),i.currentTranslate>n.minTranslate()&&(A=!1,a.resistance&&(i.currentTranslate=n.minTranslate()-1+(-n.minTranslate()+i.startTranslate+v)**C))):v<0&&(x&&k&&!t&&i.currentTranslate<(a.centeredSlides?n.maxTranslate()+n.size/2:n.maxTranslate())&&n.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:n.slides.length-("auto"===a.slidesPerView?n.slidesPerViewDynamic():Math.ceil(parseFloat(a.slidesPerView,10)))}),i.currentTranslate<n.maxTranslate()&&(A=!1,a.resistance&&(i.currentTranslate=n.maxTranslate()+1-(n.maxTranslate()-i.startTranslate-v)**C))),A&&(d.preventedByNestedSwiper=!0),!n.allowSlideNext&&"next"===n.swipeDirection&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!n.allowSlidePrev&&"prev"===n.swipeDirection&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),n.allowSlidePrev||n.allowSlideNext||(i.currentTranslate=i.startTranslate),a.threshold>0)if(Math.abs(v)>a.threshold||i.allowThresholdMove){if(!i.allowThresholdMove){i.allowThresholdMove=!0,l.startX=l.currentX,l.startY=l.currentY,i.currentTranslate=i.startTranslate,l.diff=n.isHorizontal()?l.currentX-l.startX:l.currentY-l.startY;return}}else{i.currentTranslate=i.startTranslate;return}a.followFinger&&!a.cssMode&&((a.freeMode&&a.freeMode.enabled&&n.freeMode||a.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),a.freeMode&&a.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(i.currentTranslate),n.setTranslate(i.currentTranslate))}function S(e){let t,r=this,n=r.touchEventsData,i=n.evCache.findIndex(t=>t.pointerId===e.pointerId);if(i>=0&&n.evCache.splice(i,1),["pointercancel","pointerout","pointerleave","contextmenu"].includes(e.type)&&!(["pointercancel","contextmenu"].includes(e.type)&&(r.browser.isSafari||r.browser.isWebView)))return;let{params:a,touches:o,rtlTranslate:l,slidesGrid:c,enabled:u}=r;if(!u||!a.simulateTouch&&"mouse"===e.pointerType)return;let d=e;if(d.originalEvent&&(d=d.originalEvent),n.allowTouchCallbacks&&r.emit("touchEnd",d),n.allowTouchCallbacks=!1,!n.isTouched){n.isMoved&&a.grabCursor&&r.setGrabCursor(!1),n.isMoved=!1,n.startMoving=!1;return}a.grabCursor&&n.isMoved&&n.isTouched&&(!0===r.allowSlideNext||!0===r.allowSlidePrev)&&r.setGrabCursor(!1);let p=(0,s.d)(),h=p-n.touchStartTime;if(r.allowClick){let e=d.path||d.composedPath&&d.composedPath();r.updateClickedSlide(e&&e[0]||d.target,e),r.emit("tap click",d),h<300&&p-n.lastClickTime<300&&r.emit("doubleTap doubleClick",d)}if(n.lastClickTime=(0,s.d)(),(0,s.n)(()=>{r.destroyed||(r.allowClick=!0)}),!n.isTouched||!n.isMoved||!r.swipeDirection||0===o.diff||n.currentTranslate===n.startTranslate){n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;return}if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,t=a.followFinger?l?r.translate:-r.translate:-n.currentTranslate,a.cssMode)return;if(a.freeMode&&a.freeMode.enabled)return void r.freeMode.onTouchEnd({currentPos:t});let f=0,m=r.slidesSizesGrid[0];for(let e=0;e<c.length;e+=e<a.slidesPerGroupSkip?1:a.slidesPerGroup){let r=e<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;void 0!==c[e+r]?t>=c[e]&&t<c[e+r]&&(f=e,m=c[e+r]-c[e]):t>=c[e]&&(f=e,m=c[c.length-1]-c[c.length-2])}let g=null,y=null;a.rewind&&(r.isBeginning?y=a.virtual&&a.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1:r.isEnd&&(g=0));let v=(t-c[f])/m,b=f<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;if(h>a.longSwipesMs){if(!a.longSwipes)return void r.slideTo(r.activeIndex);"next"===r.swipeDirection&&(v>=a.longSwipesRatio?r.slideTo(a.rewind&&r.isEnd?g:f+b):r.slideTo(f)),"prev"===r.swipeDirection&&(v>1-a.longSwipesRatio?r.slideTo(f+b):null!==y&&v<0&&Math.abs(v)>a.longSwipesRatio?r.slideTo(y):r.slideTo(f))}else{if(!a.shortSwipes)return void r.slideTo(r.activeIndex);
40r.navigation&&(d.target===r.navigation.nextEl||d.target===r.navigation.prevEl)?d.target===r.navigation.nextEl?r.slideTo(f+b):r.slideTo(f):("next"===r.swipeDirection&&r.slideTo(null!==g?g:f+b),"prev"===r.swipeDirection&&r.slideTo(null!==y?y:f))}}function E(){let e=this,{params:t,el:r}=e;if(r&&0===r.offsetWidth)return;t.breakpoints&&e.setBreakpoint();let{allowSlideNext:n,allowSlidePrev:i,snapGrid:a}=e,o=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();let s=o&&t.loop;"auto"!==t.slidesPerView&&!(t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||s?e.params.loop&&!o?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0):e.slideTo(e.slides.length-1,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout(()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()},500)),e.allowSlidePrev=i,e.allowSlideNext=n,e.params.watchOverflow&&a!==e.snapGrid&&e.checkOverflow()}function _(e){let t=this;t.enabled&&!t.allowClick&&(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}function T(){let e,t=this,{wrapperEl:r,rtlTranslate:n,enabled:i}=t;if(!i)return;t.previousTranslate=t.translate,t.isHorizontal()?t.translate=-r.scrollLeft:t.translate=-r.scrollTop,0===t.translate&&(t.translate=0),t.updateActiveIndex(),t.updateSlidesClasses();let a=t.maxTranslate()-t.minTranslate();(e=0===a?0:(t.translate-t.minTranslate())/a)!==t.progress&&t.updateProgress(n?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}function P(e){let t=this;y(t,e.target),!t.params.cssMode&&("auto"===t.params.slidesPerView||t.params.autoHeight)&&t.update()}let O=!1;function I(){}let M=(e,t)=>{let r=(0,o.g)(),{params:n,el:i,wrapperEl:a,device:s}=e,l=!!n.nested,c="on"===t?"addEventListener":"removeEventListener",u=t;i[c]("pointerdown",e.onTouchStart,{passive:!1}),r[c]("pointermove",e.onTouchMove,{passive:!1,capture:l}),r[c]("pointerup",e.onTouchEnd,{passive:!0}),r[c]("pointercancel",e.onTouchEnd,{passive:!0}),r[c]("pointerout",e.onTouchEnd,{passive:!0}),r[c]("pointerleave",e.onTouchEnd,{passive:!0}),r[c]("contextmenu",e.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&i[c]("click",e.onClick,!0),n.cssMode&&a[c]("scroll",e.onScroll),n.updateOnWindowResize?e[u](s.ios||s.android?"resize orientationchange observerUpdate":"resize observerUpdate",E,!0):e[u]("observerUpdate",E,!0),i[c]("load",e.onLoad,{capture:!0})},L=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;function N(e,t){let r=[];return e.forEach(e=>{"object"==typeof e?Object.keys(e).forEach(n=>{e[n]&&r.push(t+n)}):"string"==typeof e&&r.push(t+e)}),r}var R={init:!0,direction:"horizontal",oneWayMovement:!1,touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopedSlides:null,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function j(e,t){return function(r){void 0===r&&(r={});let n=Object.keys(r)[0],i=r[n];return"object"!=typeof i||null===i?void(0,s.q)(t,r):(!0===e[n]&&(e[n]={enabled:!0}),"navigation"===n&&e[n]&&e[n].enabled&&!e[n].prevEl&&!e[n].nextEl&&(e[n].auto=!0),["pagination","scrollbar"].indexOf(n)>=0&&e[n]&&e[n].enabled&&!e[n].el&&(e[n].auto=!0),n in e&&"enabled"in i)?void("object"==typeof e[n]&&!("enabled"in e[n])&&(e[n].enabled=!0),!e[n]&&(e[n]={enabled:!1}),(0,s.q)(t,r)):void(0,s.q)(t,r)}}let D={eventsEmitter:g,update:{updateSize:function(){let e,t,r=this,n=r.el;e=void 0!==r.params.width&&null!==r.params.width?r.params.width:n.clientWidth,t=void 0!==r.params.height&&null!==r.params.height?r.params.height:n.clientHeight,0===e&&r.isHorizontal()||0===t&&r.isVertical()||
40(e=e-parseInt((0,s.l)(n,"padding-left")||0,10)-parseInt((0,s.l)(n,"padding-right")||0,10),t=t-parseInt((0,s.l)(n,"padding-top")||0,10)-parseInt((0,s.l)(n,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(t)&&(t=0),Object.assign(r,{width:e,height:t,size:r.isHorizontal()?e:t}))},updateSlides:function(){let e,t=this;function r(e){return t.isHorizontal()?e:({width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"})[e]}function n(e,t){return parseFloat(e.getPropertyValue(r(t))||0)}let i=t.params,{wrapperEl:a,slidesEl:o,size:l,rtlTranslate:c,wrongRTL:u}=t,d=t.virtual&&i.virtual.enabled,p=d?t.virtual.slides.length:t.slides.length,h=(0,s.e)(o,`.${t.params.slideClass}, swiper-slide`),f=d?t.virtual.slides.length:h.length,m=[],g=[],y=[],v=i.slidesOffsetBefore;"function"==typeof v&&(v=i.slidesOffsetBefore.call(t));let b=i.slidesOffsetAfter;"function"==typeof b&&(b=i.slidesOffsetAfter.call(t));let w=t.snapGrid.length,x=t.slidesGrid.length,k=i.spaceBetween,A=-v,C=0,S=0;if(void 0===l)return;"string"==typeof k&&k.indexOf("%")>=0?k=parseFloat(k.replace("%",""))/100*l:"string"==typeof k&&(k=parseFloat(k)),t.virtualSize=-k,h.forEach(e=>{c?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""}),i.centeredSlides&&i.cssMode&&((0,s.s)(a,"--swiper-centered-offset-before",""),(0,s.s)(a,"--swiper-centered-offset-after",""));let E=i.grid&&i.grid.rows>1&&t.grid;E&&t.grid.initSlides(f);let _="auto"===i.slidesPerView&&i.breakpoints&&Object.keys(i.breakpoints).filter(e=>void 0!==i.breakpoints[e].slidesPerView).length>0;for(let a=0;a<f;a+=1){let o;if(e=0,h[a]&&(o=h[a]),E&&t.grid.updateSlide(a,o,f,r),!h[a]||"none"!==(0,s.l)(o,"display")){if("auto"===i.slidesPerView){_&&(h[a].style[r("width")]="");let l=getComputedStyle(o),c=o.style.transform,u=o.style.webkitTransform;if(c&&(o.style.transform="none"),u&&(o.style.webkitTransform="none"),i.roundLengths)e=t.isHorizontal()?(0,s.f)(o,"width",!0):(0,s.f)(o,"height",!0);else{let t=n(l,"width"),r=n(l,"padding-left"),i=n(l,"padding-right"),a=n(l,"margin-left"),s=n(l,"margin-right"),c=l.getPropertyValue("box-sizing");if(c&&"border-box"===c)e=t+a+s;else{let{clientWidth:n,offsetWidth:l}=o;e=t+r+i+a+s+(l-n)}}c&&(o.style.transform=c),u&&(o.style.webkitTransform=u),i.roundLengths&&(e=Math.floor(e))}else e=(l-(i.slidesPerView-1)*k)/i.slidesPerView,i.roundLengths&&(e=Math.floor(e)),h[a]&&(h[a].style[r("width")]=`${e}px`);h[a]&&(h[a].swiperSlideSize=e),y.push(e),i.centeredSlides?(A=A+e/2+C/2+k,0===C&&0!==a&&(A=A-l/2-k),0===a&&(A=A-l/2-k),.001>Math.abs(A)&&(A=0),i.roundLengths&&(A=Math.floor(A)),S%i.slidesPerGroup==0&&m.push(A),g.push(A)):(i.roundLengths&&(A=Math.floor(A)),(S-Math.min(t.params.slidesPerGroupSkip,S))%t.params.slidesPerGroup==0&&m.push(A),g.push(A),A=A+e+k),t.virtualSize+=e+k,C=e,S+=1}}if(t.virtualSize=Math.max(t.virtualSize,l)+b,c&&u&&("slide"===i.effect||"coverflow"===i.effect)&&(a.style.width=`${t.virtualSize+k}px`),i.setWrapperSize&&(a.style[r("width")]=`${t.virtualSize+k}px`),E&&t.grid.updateWrapperSize(e,m,r),!i.centeredSlides){let e=[];for(let r=0;r<m.length;r+=1){let n=m[r];i.roundLengths&&(n=Math.floor(n)),m[r]<=t.virtualSize-l&&e.push(n)}m=e,Math.floor(t.virtualSize-l)-Math.floor(m[m.length-1])>1&&m.push(t.virtualSize-l)}if(d&&i.loop){let e=y[0]+k;if(i.slidesPerGroup>1){let r=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/i.slidesPerGroup),n=e*i.slidesPerGroup;for(let e=0;e<r;e+=1)m.push(m[m.length-1]+n)}for(let r=0;r<t.virtual.slidesBefore+t.virtual.slidesAfter;r+=1)1===i.slidesPerGroup&&m.push(m[m.length-1]+e),g.push(g[g.length-1]+e),t.virtualSize+=e}if(0===m.length&&(m=[0]),0!==k){let e=t.isHorizontal()&&c?"marginLeft":r("marginRight");h.filter((e,t)=>!i.cssMode||!!i.loop||t!==h.length-1).forEach(t=>{t.style[e]=`${k}px`})}if(i.centeredSlides&&i.centeredSlidesBounds){let e=0;y.forEach(t=>{e+=t+(k||0)});let t=(e-=k)-l;m=m.map(e=>e<=0?-v:e>t?t+b:e)}if(i.centerInsufficientSlides){let e=0;if(y.forEach(t=>{e+=t+(k||0)}
40),(e-=k)<l){let t=(l-e)/2;m.forEach((e,r)=>{m[r]=e-t}),g.forEach((e,r)=>{g[r]=e+t})}}if(Object.assign(t,{slides:h,snapGrid:m,slidesGrid:g,slidesSizesGrid:y}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){(0,s.s)(a,"--swiper-centered-offset-before",`${-m[0]}px`),(0,s.s)(a,"--swiper-centered-offset-after",`${t.size/2-y[y.length-1]/2}px`);let e=-t.snapGrid[0],r=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(t=>t+e),t.slidesGrid=t.slidesGrid.map(e=>e+r)}if(f!==p&&t.emit("slidesLengthChange"),m.length!==w&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),g.length!==x&&t.emit("slidesGridLengthChange"),i.watchSlidesProgress&&t.updateSlidesOffset(),!d&&!i.cssMode&&("slide"===i.effect||"fade"===i.effect)){let e=`${i.containerModifierClass}backface-hidden`,r=t.el.classList.contains(e);f<=i.maxBackfaceHiddenSlides?r||t.el.classList.add(e):r&&t.el.classList.remove(e)}},updateAutoHeight:function(e){let t,r=this,n=[],i=r.virtual&&r.params.virtual.enabled,a=0;"number"==typeof e?r.setTransition(e):!0===e&&r.setTransition(r.params.speed);let o=e=>i?r.slides[r.getSlideIndexByData(e)]:r.slides[e];if("auto"!==r.params.slidesPerView&&r.params.slidesPerView>1)if(r.params.centeredSlides)(r.visibleSlides||[]).forEach(e=>{n.push(e)});else for(t=0;t<Math.ceil(r.params.slidesPerView);t+=1){let e=r.activeIndex+t;if(e>r.slides.length&&!i)break;n.push(o(e))}else n.push(o(r.activeIndex));for(t=0;t<n.length;t+=1)if(void 0!==n[t]){let e=n[t].offsetHeight;a=e>a?e:a}(a||0===a)&&(r.wrapperEl.style.height=`${a}px`)},updateSlidesOffset:function(){let e=this,t=e.slides,r=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let n=0;n<t.length;n+=1)t[n].swiperSlideOffset=(e.isHorizontal()?t[n].offsetLeft:t[n].offsetTop)-r-e.cssOverflowAdjustment()},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);let t=this,r=t.params,{slides:n,rtlTranslate:i,snapGrid:a}=t;if(0===n.length)return;void 0===n[0].swiperSlideOffset&&t.updateSlidesOffset();let o=-e;i&&(o=e),n.forEach(e=>{e.classList.remove(r.slideVisibleClass)}),t.visibleSlidesIndexes=[],t.visibleSlides=[];let s=r.spaceBetween;"string"==typeof s&&s.indexOf("%")>=0?s=parseFloat(s.replace("%",""))/100*t.size:"string"==typeof s&&(s=parseFloat(s));for(let e=0;e<n.length;e+=1){let l=n[e],c=l.swiperSlideOffset;r.cssMode&&r.centeredSlides&&(c-=n[0].swiperSlideOffset);let u=(o+(r.centeredSlides?t.minTranslate():0)-c)/(l.swiperSlideSize+s),d=(o-a[0]+(r.centeredSlides?t.minTranslate():0)-c)/(l.swiperSlideSize+s),p=-(o-c),h=p+t.slidesSizesGrid[e];(p>=0&&p<t.size-1||h>1&&h<=t.size||p<=0&&h>=t.size)&&(t.visibleSlides.push(l),t.visibleSlidesIndexes.push(e),n[e].classList.add(r.slideVisibleClass)),l.progress=i?-u:u,l.originalProgress=i?-d:d}},updateProgress:function(e){let t=this;if(void 0===e){let r=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*r||0}let r=t.params,n=t.maxTranslate()-t.minTranslate(),{progress:i,isBeginning:a,isEnd:o,progressLoop:s}=t,l=a,c=o;if(0===n)i=0,a=!0,o=!0;else{i=(e-t.minTranslate())/n;let r=1>Math.abs(e-t.minTranslate()),s=1>Math.abs(e-t.maxTranslate());a=r||i<=0,o=s||i>=1,r&&(i=0),s&&(i=1)}if(r.loop){let r=t.getSlideIndexByData(0),n=t.getSlideIndexByData(t.slides.length-1),i=t.slidesGrid[r],a=t.slidesGrid[n],o=t.slidesGrid[t.slidesGrid.length-1],l=Math.abs(e);(s=l>=i?(l-i)/o:(l+o-a)/o)>1&&(s-=1)}Object.assign(t,{progress:i,progressLoop:s,isBeginning:a,isEnd:o}),(r.watchSlidesProgress||r.centeredSlides&&r.autoHeight)&&t.updateSlidesProgress(e),a&&!l&&t.emit("reachBeginning toEdge"),o&&!c&&t.emit("reachEnd toEdge"),(l&&!a||c&&!o)&&t.emit("fromEdge"),t.emit("progress",i)},updateSlidesClasses:function(){let e,t=this,{slides:r,params:n,slidesEl:i,activeIndex:a}=t,o=t.virtual&&n.virtual.enabled,l=e=>(0,s.e)(i,`.${n.slideClass}${e}, swiper-slide${e}`)[0];if(r.forEach(e=>{e.classList.remove(n.slideActiveClass,n.slideNextClass,n.slidePrevClass)}),o)if(n.loop){let r=a-t.virtual.slidesBefore;r<0&&(r=t.virtual.slides.length+r),r>=t.virtual.slides.length&&(r-=t.virtual.slides.length),e=l(`[data-swiper-slide-index="${r}"]`)}else e=l(`[data-swiper-slide-index="${a}"]`);else e=r[a];if(e){e.classList.add(n.slideActiveClass);let t=(0,s.m)(e,`.${n.slideClass}, swiper-slide`)[0];n.loop&&!t&&(t=r[0]),t&&t.classList.add(n.slideNextClass);let i=(0,s.o)(e,`.${n.slideClass}, swiper-slide`)[0];n.loop,i&&i.classList.add(n.slidePrevClass)}t.emitSlidesClasses()},updateActiveIndex:function(e){let t,r,n=this,i=n.rtlTranslate?n.translate:-n.translate,{snapGrid:a,params:o,activeIndex:s,realIndex:l,snapIndex:c}=n,u=e,d=e=>{let t=e-n.virtual.slidesBefore;return t<0&&(t=n.virtual.slides.length+t),t>=n.virtual.slides.length&&(t-=n.virtual.slides.length),t};if(void 0===u&&(u=w(n)),a.indexOf(i)>=0)t=a.indexOf(i);else{let e=Math.min(o.slidesPerGroupSkip,u);t=e+Math.floor((u-e)/o.slidesPerGroup)}if(t>=a.length&&(t=a.length-1),u===s){t!==c&&(n.snapIndex=t,n.emit("snapIndexChange")),n.params.loop&&n.virtual&&n.params.virtual.enabled&&(n.realIndex=d(u));return}r=n.virtual&&o.virtual.enabled&&o.loop?d(u):n.slides[u]?parseInt(n.slides[u].getAttribute("data-swiper-slide-index")||u,10):u,Object.assign(n,{previousSnapIndex:c,snapIndex:t,previousRealIndex:l,realIndex:r,previousIndex:s,activeIndex:u}),n.initialized&&b(n),n.emit("activeIndexChange"),n.emit("snapIndexChange"),(n.initialized||n.params.runCallbacksOnInit)&&(l!==r&&n.emit("realIndexChange"),n.emit("slideChange"))},updateClickedSlide:function(e,t){let r,n=this,i=n.params,a=e.closest(`.${i.slideClass}, swiper-slide`);!a&&n.isElement&&t&&t.length>
401&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach(e=>{!a&&e.matches&&e.matches(`.${i.slideClass}, swiper-slide`)&&(a=e)});let o=!1;if(a){for(let e=0;e<n.slides.length;e+=1)if(n.slides[e]===a){o=!0,r=e;break}}if(a&&o)n.clickedSlide=a,n.virtual&&n.params.virtual.enabled?n.clickedIndex=parseInt(a.getAttribute("data-swiper-slide-index"),10):n.clickedIndex=r;else{n.clickedSlide=void 0,n.clickedIndex=void 0;return}i.slideToClickedSlide&&void 0!==n.clickedIndex&&n.clickedIndex!==n.activeIndex&&n.slideToClickedSlide()}},translate:{getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");let t=this,{params:r,rtlTranslate:n,translate:i,wrapperEl:a}=t;if(r.virtualTranslate)return n?-i:i;if(r.cssMode)return i;let o=(0,s.h)(a,e);return o+=t.cssOverflowAdjustment(),n&&(o=-o),o||0},setTranslate:function(e,t){let r,n=this,{rtlTranslate:i,params:a,wrapperEl:o,progress:s}=n,l=0,c=0,u=0;n.isHorizontal()?l=i?-e:e:c=e,a.roundLengths&&(l=Math.floor(l),c=Math.floor(c)),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?l:c,a.cssMode?o[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-l:-c:a.virtualTranslate||(n.isHorizontal()?l-=n.cssOverflowAdjustment():c-=n.cssOverflowAdjustment(),o.style.transform=`translate3d(${l}px, ${c}px, ${u}px)`);let d=n.maxTranslate()-n.minTranslate();(r=0===d?0:(e-n.minTranslate())/d)!==s&&n.updateProgress(e),n.emit("setTranslate",n.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,r,n,i){let a;void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===r&&(r=!0),void 0===n&&(n=!0);let o=this,{params:l,wrapperEl:c}=o;if(o.animating&&l.preventInteractionOnTransition)return!1;let u=o.minTranslate(),d=o.maxTranslate();if(a=n&&e>u?u:n&&e<d?d:e,o.updateProgress(a),l.cssMode){let e=o.isHorizontal();if(0===t)c[e?"scrollLeft":"scrollTop"]=-a;else{if(!o.support.smoothScroll)return(0,s.p)({swiper:o,targetPosition:-a,side:e?"left":"top"}),!0;c.scrollTo({[e?"left":"top"]:-a,behavior:"smooth"})}return!0}return 0===t?(o.setTransition(0),o.setTranslate(a),r&&(o.emit("beforeTransitionStart",t,i),o.emit("transitionEnd"))):(o.setTransition(t),o.setTranslate(a),r&&(o.emit("beforeTransitionStart",t,i),o.emit("transitionStart")),o.animating||(o.animating=!0,o.onTranslateToWrapperTransitionEnd||(o.onTranslateToWrapperTransitionEnd=function(e){o&&!o.destroyed&&e.target===this&&(o.wrapperEl.removeEventListener("transitionend",o.onTranslateToWrapperTransitionEnd),o.onTranslateToWrapperTransitionEnd=null,delete o.onTranslateToWrapperTransitionEnd,r&&o.emit("transitionEnd"))}),o.wrapperEl.addEventListener("transitionend",o.onTranslateToWrapperTransitionEnd))),!0}},transition:{setTransition:function(e,t){let r=this;r.params.cssMode||(r.wrapperEl.style.transitionDuration=`${e}ms`,r.wrapperEl.style.transitionDelay=0===e?"0ms":""),r.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);let r=this,{params:n}=r;n.cssMode||(n.autoHeight&&r.updateAutoHeight(),x({swiper:r,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e,t){void 0===e&&(e=!0);let r=this,{params:n}=r;r.animating=!1,n.cssMode||(r.setTransition(0),x({swiper:r,runCallbacks:e,direction:t,step:"End"}))}},slide:{slideTo:function(e,t,r,n,i){let a;void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===r&&(r=!0),"string"==typeof e&&(e=parseInt(e,10));let o=this,l=e;l<0&&(l=0);let{params:c,snapGrid:u,slidesGrid:d,previousIndex:p,activeIndex:h,rtlTranslate:f,wrapperEl:m,enabled:g}=o;if(o.animating&&c.preventInteractionOnTransition||!g&&!n&&!i)return!1;let y=Math.min(o.params.slidesPerGroupSkip,l),v=y+Math.floor((l-y)/o.params.slidesPerGroup);v>=u.length&&(v=u.length-1);let b=-u[v];
40if(c.normalizeSlideIndex)for(let e=0;e<d.length;e+=1){let t=-Math.floor(100*b),r=Math.floor(100*d[e]),n=Math.floor(100*d[e+1]);void 0!==d[e+1]?t>=r&&t<n-(n-r)/2?l=e:t>=r&&t<n&&(l=e+1):t>=r&&(l=e)}if(o.initialized&&l!==h&&(!o.allowSlideNext&&(f?b>o.translate&&b>o.minTranslate():b<o.translate&&b<o.minTranslate())||!o.allowSlidePrev&&b>o.translate&&b>o.maxTranslate()&&(h||0)!==l))return!1;if(l!==(p||0)&&r&&o.emit("beforeSlideChangeStart"),o.updateProgress(b),a=l>h?"next":l<h?"prev":"reset",f&&-b===o.translate||!f&&b===o.translate)return o.updateActiveIndex(l),c.autoHeight&&o.updateAutoHeight(),o.updateSlidesClasses(),"slide"!==c.effect&&o.setTranslate(b),"reset"!==a&&(o.transitionStart(r,a),o.transitionEnd(r,a)),!1;if(c.cssMode){let e=o.isHorizontal(),r=f?b:-b;if(0===t){let t=o.virtual&&o.params.virtual.enabled;t&&(o.wrapperEl.style.scrollSnapType="none",o._immediateVirtual=!0),t&&!o._cssModeVirtualInitialSet&&o.params.initialSlide>0?(o._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{m[e?"scrollLeft":"scrollTop"]=r})):m[e?"scrollLeft":"scrollTop"]=r,t&&requestAnimationFrame(()=>{o.wrapperEl.style.scrollSnapType="",o._immediateVirtual=!1})}else{if(!o.support.smoothScroll)return(0,s.p)({swiper:o,targetPosition:r,side:e?"left":"top"}),!0;m.scrollTo({[e?"left":"top"]:r,behavior:"smooth"})}return!0}return o.setTransition(t),o.setTranslate(b),o.updateActiveIndex(l),o.updateSlidesClasses(),o.emit("beforeTransitionStart",t,n),o.transitionStart(r,a),0===t?o.transitionEnd(r,a):o.animating||(o.animating=!0,o.onSlideToWrapperTransitionEnd||(o.onSlideToWrapperTransitionEnd=function(e){o&&!o.destroyed&&e.target===this&&(o.wrapperEl.removeEventListener("transitionend",o.onSlideToWrapperTransitionEnd),o.onSlideToWrapperTransitionEnd=null,delete o.onSlideToWrapperTransitionEnd,o.transitionEnd(r,a))}),o.wrapperEl.addEventListener("transitionend",o.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e,t,r,n){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===r&&(r=!0),"string"==typeof e&&(e=parseInt(e,10));let i=this,a=e;return i.params.loop&&(i.virtual&&i.params.virtual.enabled?a+=i.virtual.slidesBefore:a=i.getSlideIndexByData(a)),i.slideTo(a,t,r,n)},slideNext:function(e,t,r){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);let n=this,{enabled:i,params:a,animating:o}=n;if(!i)return n;let s=a.slidesPerGroup;"auto"===a.slidesPerView&&1===a.slidesPerGroup&&a.slidesPerGroupAuto&&(s=Math.max(n.slidesPerViewDynamic("current",!0),1));let l=n.activeIndex<a.slidesPerGroupSkip?1:s,c=n.virtual&&a.virtual.enabled;if(a.loop){if(o&&!c&&a.loopPreventsSliding)return!1;if(n.loopFix({direction:"next"}),n._clientLeft=n.wrapperEl.clientLeft,n.activeIndex===n.slides.length-1&&a.cssMode)return requestAnimationFrame(()=>{n.slideTo(n.activeIndex+l,e,t,r)}),!0}return a.rewind&&n.isEnd?n.slideTo(0,e,t,r):n.slideTo(n.activeIndex+l,e,t,r)},slidePrev:function(e,t,r){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);let n=this,{params:i,snapGrid:a,slidesGrid:o,rtlTranslate:s,enabled:l,animating:c}=n;if(!l)return n;let u=n.virtual&&i.virtual.enabled;if(i.loop){if(c&&!u&&i.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}function d(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}let p=d(s?n.translate:-n.translate),h=a.map(e=>d(e)),f=a[h.indexOf(p)-1];if(void 0===f&&i.cssMode){let e;a.forEach((t,r)=>{p>=t&&(e=r)}),void 0!==e&&(f=a[e>0?e-1:e])}let m=0;if(void 0!==f&&((m=o.indexOf(f))<0&&(m=n.activeIndex-1),"auto"===i.slidesPerView&&1===i.slidesPerGroup&&i.slidesPerGroupAuto&&(m=Math.max(m=m-n.slidesPerViewDynamic("previous",!0)+1,0))),i.rewind&&n.isBeginning){let i=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(i,e,t,r)}return i.loop&&0===n.activeIndex&&i.cssMode?(requestAnimationFrame(()=>{n.slideTo(m,e,t,r)}),!0):n.slideTo(m,e,t,r)},slideReset:function(e,t,r){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);let n=this;return n.slideTo(n.activeIndex,e,t,r)},slideToClosest:function(e,t,r,n){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0),void 0===n&&(n=.5);let i=this,a=i.activeIndex,o=Math.min(i.params.slidesPerGroupSkip,a),s=o+Math.floor((a-o)/i.params.slidesPerGroup),l=i.rtlTranslate?i.translate:-i.translate;if(l>=i.snapGrid[s]){let e=i.snapGrid[s];l-e>(i.snapGrid[s+1]-e)*n&&(a+=i.params.slidesPerGroup)}else{let e=i.snapGrid[s-1];l-e<=(i.snapGrid[s]-e)*n&&(a-=i.params.slidesPerGroup)}return a=Math.min(a=Math.max(a,0),i.slidesGrid.length-1),i.slideTo(a,e,t,r)},slideToClickedSlide:function(){let e,t=this,{params:r,slidesEl:n}=t,i="auto"===r.slidesPerView?t.slidesPerViewDynamic():r.slidesPerView,a=t.clickedIndex,o=t.isElement?"swiper-slide":`.${r.slideClass}`;if(r.loop){if(t.animating)return;e=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),r.centeredSlides?a<t.loopedSlides-i/2||a>t.slides.length-t.loopedSlides+i/2?(t.loopFix(),a=t.getSlideIndex((0,s.e)(n,`${o}[data-swiper-slide-index="${e}"]`)[0]),(0,s.n)(()=>{t.slideTo(a)})):t.slideTo(a):a>t.slides.length-i?(t.loopFix(),a=t.getSlideIndex((0,s.e)(n,`${o}[data-swiper-slide-index="${e}"]`)[0]),(0,s.n)(()=>{t.slideTo(a)})):t.slideTo(a)}else t.slideTo(a)}},loop:{loopCreate:function(e){let t=this,{params:r,slidesEl:n}=t;!r.loop||t.virtual&&t.params.virtual.enabled||((0,s.e)(n,`.${r.slideClass}, swiper-slide`).forEach((e,t)=>{e.setAttribute("data-swiper-slide-index",t)}),t.loopFix({slideRealIndex:e,direction:r.centeredSlides?void 0:"next"}))},loopFix:function(e){let{slideRealIndex:t,slideTo:r=!0,direction:n,setTranslate:i,activeSlideIndex:a,byController:o,byMousewheel:s}=void 0===e?{}:e,l=this;if(!l.params.loop)return;l.emit("beforeLoopFix");let{slides:c,allowSlidePrev:u,allowSlideNext:d,slidesEl:p,params:h}=l;if(l.allowSlidePrev=!0,l.allowSlideNext=!0,l.virtual&&h.virtual.enabled){r&&(h.centeredSlides||0!==l.snapIndex?h.centeredSlides&&l.snapIndex<h.slidesPerView?l.slideTo(l.virtual.slides.length+l.snapIndex,0,!1,!0):l.snapIndex===l.snapGrid.length-1&&l.slideTo(l.virtual.slidesBefore,0,!1,!0):l.slideTo(l.virtual.slides.length,0,!1,!0)),l.allowSlidePrev=u,l.allowSlideNext=d,l.emit("loopFix");return}let f="auto"===h.slidesPerView?l.slidesPerViewDynamic():Math.ceil(parseFloat(h.slidesPerView,10)),m=h.loopedSlides||f;m%h.slidesPerGroup!=0&&(m+=h.slidesPerGroup-m%h.slidesPerGroup),l.loopedSlides=m;let g=[],y=[],v=l.activeIndex;void 0===a?a=l.getSlideIndex(l.slides.filter(e=>e.classList.contains(h.slideActiveClass))[0]):v=a;let b="next"===n||!n,w="prev"===n||!n,x=0,k=0;if(a<m){x=Math.max(m-a,h.slidesPerGroup);for(let e=0;e<m-a;e+=1){let t=e-Math.floor(e/c.length)*c.length;g.push(c.length-t-1)}}else if(a>l.slides.length-2*m){k=Math.max(a-(l.slides.length-2*m),h.slidesPerGroup);for(let e=0;e<k;e+=1){let t=e-Math.floor(e/c.length)*c.length;y.push(t)}}
40if(w&&g.forEach(e=>{l.slides[e].swiperLoopMoveDOM=!0,p.prepend(l.slides[e]),l.slides[e].swiperLoopMoveDOM=!1}),b&&y.forEach(e=>{l.slides[e].swiperLoopMoveDOM=!0,p.append(l.slides[e]),l.slides[e].swiperLoopMoveDOM=!1}),l.recalcSlides(),"auto"===h.slidesPerView&&l.updateSlides(),h.watchSlidesProgress&&l.updateSlidesOffset(),r){if(g.length>0&&w)if(void 0===t){let e=l.slidesGrid[v],t=l.slidesGrid[v+x]-e;s?l.setTranslate(l.translate-t):(l.slideTo(v+x,0,!1,!0),i&&(l.touches[l.isHorizontal()?"startX":"startY"]+=t,l.touchEventsData.currentTranslate=l.translate))}else i&&(l.slideToLoop(t,0,!1,!0),l.touchEventsData.currentTranslate=l.translate);else if(y.length>0&&b)if(void 0===t){let e=l.slidesGrid[v],t=l.slidesGrid[v-k]-e;s?l.setTranslate(l.translate-t):(l.slideTo(v-k,0,!1,!0),i&&(l.touches[l.isHorizontal()?"startX":"startY"]+=t,l.touchEventsData.currentTranslate=l.translate))}else l.slideToLoop(t,0,!1,!0)}if(l.allowSlidePrev=u,l.allowSlideNext=d,l.controller&&l.controller.control&&!o){let e={slideRealIndex:t,direction:n,setTranslate:i,activeSlideIndex:a,byController:!0};Array.isArray(l.controller.control)?l.controller.control.forEach(t=>{!t.destroyed&&t.params.loop&&t.loopFix({...e,slideTo:t.params.slidesPerView===h.slidesPerView&&r})}):l.controller.control instanceof l.constructor&&l.controller.control.params.loop&&l.controller.control.loopFix({...e,slideTo:l.controller.control.params.slidesPerView===h.slidesPerView&&r})}l.emit("loopFix")},loopDestroy:function(){let e=this,{params:t,slidesEl:r}=e;if(!t.loop||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();let n=[];e.slides.forEach(e=>{n[void 0===e.swiperSlideIndex?+e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex]=e}),e.slides.forEach(e=>{e.removeAttribute("data-swiper-slide-index")}),n.forEach(e=>{r.append(e)}),e.recalcSlides(),e.slideTo(e.realIndex,0)}},grabCursor:{setGrabCursor:function(e){let t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;let r="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),r.style.cursor="move",r.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1})},unsetGrabCursor:function(){let e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1}))}},events:{attachEvents:function(){let e=this,t=(0,o.g)(),{params:r}=e;e.onTouchStart=A.bind(e),e.onTouchMove=C.bind(e),e.onTouchEnd=S.bind(e),r.cssMode&&(e.onScroll=T.bind(e)),e.onClick=_.bind(e),e.onLoad=P.bind(e),O||(t.addEventListener("touchstart",I),O=!0),M(e,"on")},detachEvents:function(){let e=this;M(e,"off")}},breakpoints:{setBreakpoint:function(){let e=this,{realIndex:t,initialized:r,params:n,el:i}=e,a=n.breakpoints;if(!a||a&&0===Object.keys(a).length)return;let o=e.getBreakpoint(a,e.params.breakpointsBase,e.el);if(!o||e.currentBreakpoint===o)return;let l=(o in a?a[o]:void 0)||e.originalParams,c=L(e,n),u=L(e,l),d=n.enabled;c&&!u?(i.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),e.emitContainerClasses()):!c&&u&&(i.classList.add(`${n.containerModifierClass}grid`),(l.grid.fill&&"column"===l.grid.fill||!l.grid.fill&&"column"===n.grid.fill)&&i.classList.add(`${n.containerModifierClass}grid-column`),e.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach(t=>{if(void 0===l[t])return;let r=n[t]&&n[t].enabled,i=l[t]&&l[t].enabled;r&&!i&&e[t].disable(),!r&&i&&e[t].enable()});let p=l.direction&&l.direction!==n.direction,h=n.loop&&(l.slidesPerView!==n.slidesPerView||p),f=n.loop;p&&r&&e.changeDirection(),(0,s.q)(e.params,l);let m=e.params.enabled,g=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),d&&!m?e.disable():!d&&m&&e.enable(),e.currentBreakpoint=o,e.emit("_beforeBreakpoint",l),r&&(h?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!f&&g?(e.loopCreate(t),e.updateSlides()):f&&!g&&e.loopDestroy()),e.emit("breakpoint",l)}
40,getBreakpoint:function(e,t,r){if(void 0===t&&(t="window"),!e||"container"===t&&!r)return;let n=!1,i=(0,o.a)(),a="window"===t?i.innerHeight:r.clientHeight,s=Object.keys(e).map(e=>"string"==typeof e&&0===e.indexOf("@")?{value:a*parseFloat(e.substr(1)),point:e}:{value:e,point:e});s.sort((e,t)=>parseInt(e.value,10)-parseInt(t.value,10));for(let e=0;e<s.length;e+=1){let{point:a,value:o}=s[e];"window"===t?i.matchMedia(`(min-width: ${o}px)`).matches&&(n=a):o<=r.clientWidth&&(n=a)}return n||"max"}},checkOverflow:{checkOverflow:function(){let e=this,{isLocked:t,params:r}=e,{slidesOffsetBefore:n}=r;if(n){let t=e.slides.length-1,r=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*n;e.isLocked=e.size>r}else e.isLocked=1===e.snapGrid.length;!0===r.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===r.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:{addClasses:function(){let e=this,{classNames:t,params:r,rtl:n,el:i,device:a}=e,o=N(["initialized",r.direction,{"free-mode":e.params.freeMode&&r.freeMode.enabled},{autoheight:r.autoHeight},{rtl:n},{grid:r.grid&&r.grid.rows>1},{"grid-column":r.grid&&r.grid.rows>1&&"column"===r.grid.fill},{android:a.android},{ios:a.ios},{"css-mode":r.cssMode},{centered:r.cssMode&&r.centeredSlides},{"watch-progress":r.watchSlidesProgress}],r.containerModifierClass);t.push(...o),i.classList.add(...t),e.emitContainerClasses()},removeClasses:function(){let e=this,{el:t,classNames:r}=e;t.classList.remove(...r),e.emitContainerClasses()}}},F={};class V{constructor(){let e,t;for(var r=arguments.length,n=Array(r),i=0;i<r;i++)n[i]=arguments[i];1===n.length&&n[0].constructor&&"Object"===Object.prototype.toString.call(n[0]).slice(8,-1)?t=n[0]:[e,t]=n,t||(t={}),t=(0,s.q)({},t),e&&!t.el&&(t.el=e);let a=(0,o.g)();if(t.el&&"string"==typeof t.el&&a.querySelectorAll(t.el).length>1){let e=[];return a.querySelectorAll(t.el).forEach(r=>{let n=(0,s.q)({},t,{el:r});e.push(new V(n))}),e}let l=this;l.__swiper__=!0,l.support=c(),l.device=d({userAgent:t.userAgent}),l.browser=h(),l.eventsListeners={},l.eventsAnyListeners=[],l.modules=[...l.__modules__],t.modules&&Array.isArray(t.modules)&&l.modules.push(...t.modules);let u={};l.modules.forEach(e=>{e({params:t,swiper:l,extendParams:j(t,u),on:l.on.bind(l),once:l.once.bind(l),off:l.off.bind(l),emit:l.emit.bind(l)})});let p=(0,s.q)({},R,u);return l.params=(0,s.q)({},p,F,t),l.originalParams=(0,s.q)({},l.params),l.passedParams=(0,s.q)({}
40,t),l.params&&l.params.on&&Object.keys(l.params.on).forEach(e=>{l.on(e,l.params.on[e])}),l.params&&l.params.onAny&&l.onAny(l.params.onAny),Object.assign(l,{enabled:l.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===l.params.direction,isVertical:()=>"vertical"===l.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return 8388608*Math.trunc(this.translate/8388608)},allowSlideNext:l.params.allowSlideNext,allowSlidePrev:l.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:l.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,evCache:[]},allowClick:!0,allowTouchMove:l.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),l.emit("_swiper"),l.params.init&&l.init(),l}getSlideIndex(e){let{slidesEl:t,params:r}=this,n=(0,s.e)(t,`.${r.slideClass}, swiper-slide`),i=(0,s.g)(n[0]);return(0,s.g)(e)-i}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter(t=>+t.getAttribute("data-swiper-slide-index")===e)[0])}recalcSlides(){let e=this,{slidesEl:t,params:r}=e;e.slides=(0,s.e)(t,`.${r.slideClass}, swiper-slide`)}enable(){let e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){let e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){let r=this;e=Math.min(Math.max(e,0),1);let n=r.minTranslate(),i=(r.maxTranslate()-n)*e+n;r.translateTo(i,void 0===t?0:t),r.updateActiveIndex(),r.updateSlidesClasses()}emitContainerClasses(){let e=this;if(!e.params._emitClasses||!e.el)return;let t=e.el.className.split(" ").filter(t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){let t=this;return t.destroyed?"":e.className.split(" ").filter(e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)).join(" ")}emitSlidesClasses(){let e=this;if(!e.params._emitClasses||!e.el)return;let t=[];e.slides.forEach(r=>{let n=e.getSlideClasses(r);t.push({slideEl:r,classNames:n}),e.emit("_slideClass",r,n)}),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);let r=this,{params:n,slides:i,slidesGrid:a,slidesSizesGrid:o,size:s,activeIndex:l}=r,c=1;if("number"==typeof n.slidesPerView)return n.slidesPerView;if(n.centeredSlides){let e,t=i[l]?i[l].swiperSlideSize:0;for(let r=l+1;r<i.length;r+=1)i[r]&&!e&&(t+=i[r].swiperSlideSize,c+=1,t>s&&(e=!0));for(let r=l-1;r>=0;r-=1)i[r]&&!e&&(t+=i[r].swiperSlideSize,c+=1,t>s&&(e=!0))}else if("current"===e)for(let e=l+1;e<i.length;e+=1)(t?a[e]+o[e]-a[l]<s:a[e]-a[l]<s)&&(c+=1);else for(let e=l-1;e>=0;e-=1)a[l]-a[e]<s&&(c+=1);return c}update(){let e,t=this;if(!t||t.destroyed)return;let{snapGrid:r,params:n}=t;function i(){let e=Math.min(Math.max(t.rtlTranslate?-1*t.translate:t.translate,t.maxTranslate()),t.minTranslate());t.setTranslate(e),t.updateActiveIndex(),t.updateSlidesClasses()}if(n.breakpoints&&t.setBreakpoint(),[...t.el.querySelectorAll('[loading="lazy"]')].forEach(e=>{e.complete&&y(t,e)}),t.updateSize(),t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),n.freeMode&&n.freeMode.enabled&&!n.cssMode)i(),n.autoHeight&&t.updateAutoHeight();else{if(("auto"===n.slidesPerView||n.slidesPerView>1)&&t.isEnd&&!n.centeredSlides){let r=t.virtual&&n.virtual.enabled?t.virtual.slides:t.slides;e=t.slideTo(r.length-1,0,!1,!0)}else e=t.slideTo(t.activeIndex,0,!1,!0);e||i()}n.watchOverflow&&r!==t.snapGrid&&t.checkOverflow(),t.emit("update")}changeDirection(e,t){void 0===t&&(t=!0);let r=this,n=r.params.direction;return e||(e="horizontal"===n?"vertical":"horizontal"),e===n||"horizontal"!==e&&"vertical"!==e||(r.el.classList.remove(`${r.params.containerModifierClass}${n}`),r.el.classList.add(`${r.params.containerModifierClass}${e}`),r.emitContainerClasses(),r.params.direction=e,r.slides.forEac
40h(t=>{"vertical"===e?t.style.width="":t.style.height=""}),r.emit("changeDirection"),t&&r.update()),r}changeLanguageDirection(e){let t=this;(!t.rtl||"rtl"!==e)&&(t.rtl||"ltr"!==e)&&(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.el.classList.add(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.el.classList.remove(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){let t=this;if(t.mounted)return!0;let r=e||t.params.el;if("string"==typeof r&&(r=document.querySelector(r)),!r)return!1;r.swiper=t,r.parentNode&&r.parentNode.host&&"SWIPER-CONTAINER"===r.parentNode.host.nodeName&&(t.isElement=!0);let n=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`,i=r&&r.shadowRoot&&r.shadowRoot.querySelector?r.shadowRoot.querySelector(n()):(0,s.e)(r,n())[0];return!i&&t.params.createElements&&(i=(0,s.c)("div",t.params.wrapperClass),r.append(i),(0,s.e)(r,`.${t.params.slideClass}`).forEach(e=>{i.append(e)})),Object.assign(t,{el:r,wrapperEl:i,slidesEl:t.isElement&&!r.parentNode.host.slideSlots?r.parentNode.host:i,hostEl:t.isElement?r.parentNode.host:r,mounted:!0,rtl:"rtl"===r.dir.toLowerCase()||"rtl"===(0,s.l)(r,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===r.dir.toLowerCase()||"rtl"===(0,s.l)(r,"direction")),wrongRTL:"-webkit-box"===(0,s.l)(i,"display")}),!0}init(e){let t=this;if(t.initialized||!1===t.mount(e))return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(),t.attachEvents();let r=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&r.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),r.forEach(e=>{e.complete?y(t,e):e.addEventListener("load",e=>{y(t,e.target)})}),b(t),t.initialized=!0,b(t),t.emit("init"),t.emit("afterInit"),t}destroy(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);let r=this,{params:n,el:i,wrapperEl:a,slides:o}=r;return void 0===r.params||r.destroyed||(r.emit("beforeDestroy"),r.initialized=!1,r.detachEvents(),n.loop&&r.loopDestroy(),t&&(r.removeClasses(),i.removeAttribute("style"),a.removeAttribute("style"),o&&o.length&&o.forEach(e=>{e.classList.remove(n.slideVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")})),r.emit("destroy"),Object.keys(r.eventsListeners).forEach(e=>{r.off(e)}),!1!==e&&(r.el.swiper=null,(0,s.r)(r)),r.destroyed=!0),null}static extendDefaults(e){(0,s.q)(F,e)}static get extendedDefaults(){return F}static get defaults(){return R}static installModule(e){V.prototype.__modules__||(V.prototype.__modules__=[]);let t=V.prototype.__modules__;"function"==typeof e&&0>t.indexOf(e)&&t.push(e)}static use(e){return Array.isArray(e)?e.forEach(e=>V.installModule(e)):V.installModule(e),V}}Object.keys(D).forEach(e=>{Object.keys(D[e]).forEach(t=>{V.prototype[t]=D[e][t]})}),V.use([f,m])},47759:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(73650).A)()},48241:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(85103);function i(e){let{theme:t,name:r,props:i}=e;return t&&t.components&&t.components[r]&&t.components[r].defaultProps?(0,n.A)(t.components[r].defaultProps,i):i}},48297:(e,t,r)=>{"use strict";r.d(t,{Ht:()=>m,aw:()=>f,iX:()=>u,qm:()=>h});var n=r(45594),i=r(71162),a=r(55729);let o=n.i&&window.__SWR_DEVTOOLS_USE__,s=o?window.__SWR_DEVTOOLS_USE__:[],l=()=>{o&&(window.__SWR_DEVTOOLS_REACT__=a)},c=e=>(0,n.a)(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}],u=()=>{let e=(0,a.useContext)(n.S);return(0,a.useMemo)(()=>(0,n.m)(n.d,e),[e])},d=e=>(t,r,a)=>{let o=r&&((...e)=>{let[a]=(0,n.s)(t),[,,,o]=n.b.get(n.c);if(a.startsWith(i.q))return r(...e);let s=o[a];return(0,n.e)(s)?r(...e):(delete o[a],s)});return e(t,o,a)},p=s.concat(d),h=e=>function(...t){let r=u(),[i,a,o]=c(t),s=(0,n.f)(r,o),l=e,{use:d}=s,h=(d||[]).concat(p);for(let e=h.length;e--;)l=h[e](l);return l(i,a||s.fetcher||null,s)},f=(e,t,r)=>{let n=t[e]||(t[e]=[]);return n.push(r),()=>{let e=n.indexOf(r);e>=0&&(n[e]=n[n.length-1],n.pop())}},m=(e,t)=>
40(...r)=>{let[n,i,a]=c(r),o=(a.use||[]).concat(t);return e(n,i,{...a,use:o})};l()},48535:(e,t,r)=>{e.exports=r(30535)},48574:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return c},noSSR:function(){return l}});let n=r(30758),i=r(6029);r(55729);let a=n._(r(9321)),o=!1;function s(e){return{default:(null==e?void 0:e.default)||e}}function l(e,t){if(delete t.webpack,delete t.modules,!o)return e(t);let r=t.loading;return()=>(0,i.jsx)(r,{error:null,isLoading:!0,pastDelay:!1,timedOut:!1})}function c(e,t){let r=a.default,n={loading:e=>{let{error:t,isLoading:r,pastDelay:n}=e;return null}};e instanceof Promise?n.loader=()=>e:"function"==typeof e?n.loader=e:"object"==typeof e&&(n={...n,...e});let i=(n={...n,...t}).loader,o=()=>null!=i?i().then(s):Promise.resolve(s(()=>null));return(n.loadableGenerated&&(n={...n,...n.loadableGenerated},delete n.loadableGenerated),"boolean"!=typeof n.ssr||n.ssr)?r({...n,loader:o}):(delete n.webpack,delete n.modules,l(r,n))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},48592:(e,t,r)=>{"use strict";r.d(t,{o:()=>i});var n=r(65436);function i(e,t){let r=(0,n.a)(e,null==t?void 0:t.in);return r.setHours(0,0,0,0),r}},48695:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=function(e,t){return e===t||e!=e&&t!=t}},48723:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(58309);let i=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],a=(0,n.A)("x",i)},48882:(e,t,r)=>{"use strict";function n(e){return e&&e.ownerDocument||document}r.d(t,{A:()=>n})},48945:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(2860);r(55729);var i=r(87233),a=r(47126);let o=e=>{let{t,label:r}=e;return(0,n.FD)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"1rem",fontSize:"12px",lineHeight:"21px",letterSpacing:"0.06px",padding:"5.5px 0",background:"linear-gradient(225deg, rgba(114, 175, 255, 0.20) 0%, rgba(200, 144, 255, 0.20) 100%)"},children:[(0,n.Y)(a.I,{type:"check_circle",style:{color:"#C890FF",marginRight:4}}),(0,n.Y)("span",{style:i.f,children:null!=r?r:t("crowdin:common.used")})]})}},49033:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n={50:"#fff3e0",100:"#ffe0b2",200:"#ffcc80",300:"#ffb74d",400:"#ffa726",500:"#ff9800",600:"#fb8c00",700:"#f57c00",800:"#ef6c00",900:"#e65100",A100:"#ffd180",A200:"#ffab40",A400:"#ff9100",A700:"#ff6d00"}},49279:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(58309);let i=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],a=(0,n.A)("check",i)},49452:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(55729);function i(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let i=n.useRef(void 0),a=n.useCallback(e=>{let r=t.map(t=>{if(null==t)return null;if("function"==typeof t){let r=t,n=r(e);return"function"==typeof n?n:()=>{r(null)}}return t.current=e,()=>{t.current=null}});return()=>{r.forEach(e=>null==e?void 0:e())}},t);return n.useMemo(()=>t.every(e=>null==e)?null:e=>{i.current&&(i.current(),i.current=void 0),null!=e&&(i.current=a(e))},t)}},49467:(e,t,r)=>{"use strict";r.d(t,{b:()=>i}),r(55729);var n=r(30108);function i(e){return(0,n.b)(e)}r(6029)},49511:(e,t,r)=>{"use strict";r.d(t,{Al:()=>c,EZ:()=>d,FY:()=>u,Ve:()=>p});var n=r(96296),i=r(58196),a=r.n(i),o=r(31005),s=r.n(o);let l={wordup:{value:"3.0.5",operator:">="},toeic:{value:"1.0.0",operator:">="},kiao:{value:"0.0.2",operator:"<"}};function c(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=u();if(t){let{platform:r,appName:i,version:a}=t;if(e.platform&&r!==e.platform)return!1;if(e.appName){let t=e.version||l[e.appName],r=(0,n.U)(a,t.value,t.operator);return i?r&&i===e.appName:r}return!0}return!1}function u(){return a().get("platform")}let d=()=>{let e=new(s())().getResult(),t=void 0===e.device.type||!["wearable","mobile"].includes(e.device.type),r="Safari"===e.browser.name;if(t&&r)return!0;let n="iOS"===e.os.name||"Mac OS"===e.os.name,i="mobile"===e.device.type;return"tablet"===e.device.type&&!!n||!!i&&!!n},p=()=>!0},49598:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(58309);
40let i=[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]],a=(0,n.A)("link-2",i)},50123:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return C},useLinkStatus:function(){return A}});let n=r(78963),i=r(6029),a=n._(r(55729)),o=r(86425),s=r(61413),l=r(32584),c=r(92018),u=r(51991),d=r(11828),p=r(52056),h=r(28321),f=r(35588),m=r(91609);r(32351);let g=new Set;function y(e,t,r,n){if((0,s.isLocalURL)(t)){if(!n.bypassPrefetchedCheck){let i=t+"%"+r+"%"+(void 0!==n.locale?n.locale:"locale"in e?e.locale:void 0);if(g.has(i))return;g.add(i)}e.prefetch(t,r,n).catch(e=>{})}}function v(e){let t=e.currentTarget.getAttribute("target");return t&&"_self"!==t||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which}function b(e,t,r,n,i,a,o,l,c){let{nodeName:u}=e.currentTarget;if(!("A"===u.toUpperCase()&&v(e)||e.currentTarget.hasAttribute("download"))){if(!(0,s.isLocalURL)(r)){i&&(e.preventDefault(),location.replace(r));return}e.preventDefault(),(()=>{if(c){let e=!1;if(c({preventDefault:()=>{e=!0}}),e)return}let e=null==o||o;"beforePopState"in t?t[i?"replace":"push"](r,n,{shallow:a,locale:l,scroll:e}):t[i?"replace":"push"](n||r,{scroll:e})})()}}function w(e){return"string"==typeof e?e:(0,l.formatUrl)(e)}let x=a.default.forwardRef(function(e,t){let r,n,{href:s,as:l,children:g,prefetch:v=null,passHref:x,replace:k,shallow:A,scroll:C,locale:S,onClick:E,onNavigate:_,onMouseEnter:T,onTouchStart:P,legacyBehavior:O=!1,...I}=e;r=g,O&&("string"==typeof r||"number"==typeof r)&&(r=(0,i.jsx)("a",{children:r}));let M=a.default.useContext(d.RouterContext),L=!1!==v,{href:N,as:R}=a.default.useMemo(()=>{if(!M){let e=w(s);return{href:e,as:l?w(l):e}}let[e,t]=(0,o.resolveHref)(M,s,!0);return{href:e,as:l?(0,o.resolveHref)(M,l):t||e}},[M,s,l]),j=a.default.useRef(N),D=a.default.useRef(R);O&&(n=a.default.Children.only(r));let F=O?n&&"object"==typeof n&&n.ref:t,[V,B,z]=(0,p.useIntersection)({rootMargin:"200px"}),$=a.default.useCallback(e=>{(D.current!==R||j.current!==N)&&(z(),D.current=R,j.current=N),V(e)},[R,N,z,V]),U=(0,m.useMergedRef)($,F);a.default.useEffect(()=>{M&&B&&L&&y(M,N,R,{locale:S})},[R,N,B,S,L,null==M?void 0:M.locale,M]);let q={ref:U,onClick(e){O||"function"!=typeof E||E(e),O&&n.props&&"function"==typeof n.props.onClick&&n.props.onClick(e),M&&(e.defaultPrevented||b(e,M,N,R,k,A,C,S,_))},onMouseEnter(e){O||"function"!=typeof T||T(e),O&&n.props&&"function"==typeof n.props.onMouseEnter&&n.props.onMouseEnter(e),M&&y(M,N,R,{locale:S,priority:!0,bypassPrefetchedCheck:!0})},onTouchStart:function(e){O||"function"!=typeof P||P(e),O&&n.props&&"function"==typeof n.props.onTouchStart&&n.props.onTouchStart(e),M&&y(M,N,R,{locale:S,priority:!0,bypassPrefetchedCheck:!0})}};if((0,c.isAbsoluteUrl)(R))q.href=R;else if(!O||x||"a"===n.type&&!("href"in n.props)){let e=void 0!==S?S:null==M?void 0:M.locale;q.href=(null==M?void 0:M.isLocaleDomain)&&(0,h.getDomainLocale)(R,e,null==M?void 0:M.locales,null==M?void 0:M.domainLocales)||(0,f.addBasePath)((0,u.addLocale)(R,e,null==M?void 0:M.defaultLocale))}return O?a.default.cloneElement(n,q):(0,i.jsx)("a",{...I,...q,children:r})}),k=(0,a.createContext)({pending:!1}),A=()=>(0,a.useContext)(k),C=x;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},50137:(e,t,r)=>{"use strict";n={value:!0},n={enumerable:!0,get:function(){return a.default}},n={enumerable:!0,get:function(){return o.default}},t.Ay=void 0;var n,i=s(r(43074)),a=s(r(35015)),o=s(r(44374));function s(e){return e&&e.__esModule?e:{default:e}}t.Ay=i.default},50195:(e,t,r)=>{"use strict";r.d(t,{A:()=>o,G:()=>a});var n=r(11722),i=r(91206);function a(e){return(0,i.Ay)("MuiIconButton",e)}let o=(0,n.A)("MuiIconButton",["root","disabled","colorInherit","colorPrimary","colorSecondary","colorError","colorInfo","colorSuccess","colorWarning","edgeStart","edgeEnd","sizeSmall","sizeMedium","sizeLarge","loading","loadingIndicator","loadingWrapper"])},50212:(e,t,r)=>{"use strict";function n(e){var t,r,i="";if("string"==typeof e||"number"==typeof e)i+=e;else if("object"==typeof e)if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(r=n(e[t]))&&(i&&(i+=" "),i+=r)}else for(r in e)e[r]&&(i&&(i+=" "),i+=r);return i}r.d(t,{A:()=>i});let i=function(){for(var e,t,r=0,i="",a=arguments.length;r<a;r++)(e=arguments[r])&&(t=n(e))&&(i&&(i+=" "),i+=t);return i}},50216:(e,t,r)=>{"use strict";r.d(t,{A:()=>h});var n=r(1353);let i=function(){this.__data__=new n.A,this.size=0},a=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},o=function(e){return this.__data__.get(e)},s=function(e){return this.__data__.has(e)};var l=r(10312),c=r(72541),u=200;let d=function(e,t){var r=this.__data__;if(r instanceof n.A){var i=r.__data__;if(!l.A||i.length<u-1)return i.push([e,t]),this.size=++r.size,this;r=this.__data__=new c.A(i)}return r.set(e,t),this.size=r.size,this};function p(e){var t=this.__data__=new n.A(e);this.size=t.size}p.prototype.clear=i,p.prototype.delete=a,p.prototype.get=o,p.prototype.has=s,p.prototype.set=d;let h=p},50463:(e,t,r)=>{"use strict";r.r(t),r.d(t,{QuantifiedMeasureCard:()=>b});var n=r(2860),i=r(24150),a=r(55729),o=r(9428),s=r(83224),l=r(47126),c=r(7921),u=r(68106),d=r(96590),p=r(34817),h=r(79843);let f={en:{title:"Course Information"},"zh-TW":{title:"課ç¨è³è¨"}},m=16,g=e=>{let{lang:t,openCourseInfo:r}
40=e,[i,o]=a.useState(!1),s=(0,u.v2)(),f=(0,a.useMemo)(()=>new Date,[]),g=new Date(r.startsAt),y=new Date(r.endsOn),v=f<g,b=f>=g&&f<y,{openAt:w,formatStartsAt:x,detail:k,formatEndsOn:A,fullyOpenAt:C,fullyOpened:S}=(0,d.b)({lang:t,endsOn:null==r?void 0:r.endsOn,startsAt:null==r?void 0:r.startsAt,extraInfo:null==r?void 0:r.extraInfo}),E=v?"".concat(x," ").concat(w):b?"".concat(C.replace("{{TIME}}",A)):S,_=()=>{o(!0)},T=()=>{o(!1)};return(null==r?void 0:r.endsOn)&&(null==r?void 0:r.startsAt)?(0,n.FD)(n.FK,{children:[(0,n.FD)("li",{className:"list_item",children:[(0,n.Y)("div",{className:"list_item_icon peach",children:(0,n.Y)(l.I,{type:"info",size:m,color:"peach-500"})}),(0,n.FD)("span",{className:"list_item_text",children:[E," ï¼",(0,n.Y)("span",{onClick:_,className:"list_item_link",children:k}),"ï¼"]})]}),s?(0,n.Y)(p.WuModal,{open:i,onClose:T,maxWidth:"375px",padding:"16px",hideCloseButton:!0,children:(0,n.Y)(h.OpenCourseInfo,{lang:t,startsAt:null==r?void 0:r.startsAt,endsOn:null==r?void 0:r.endsOn,extraInfo:null==r?void 0:r.extraInfo})}):(0,n.Y)(c.Ay,{anchor:"bottom",elevation:3,open:i,onClose:T,PaperProps:{className:"rounded-t-2xl p-4"},SlideProps:{appear:!1},children:(0,n.Y)(h.OpenCourseInfo,{lang:t,startsAt:null==r?void 0:r.startsAt,endsOn:null==r?void 0:r.endsOn,extraInfo:null==r?void 0:r.extraInfo})})]}):null},{LocaleProvider:y,useLocaleContext:v}=(0,s.A)({locales:f}),b=e=>{let{factsLabels:t,lang:r,hasTitle:i=!0,openCourseInfo:a}=e,o={"list-alt":(0,n.Y)(l.I,{type:"list_alt",size:m}),"layer-group":(0,n.Y)(l.I,{type:"layers",size:m}),"photo-video":(0,n.Y)(l.I,{type:"smart_display",size:m}),"pencil-ruler":(0,n.Y)(l.I,{type:"design_services",size:m}),"user-friends":(0,n.Y)(l.I,{type:"group",size:m}),infinity:(0,n.Y)(l.I,{type:"all_inclusive",size:m})},{title:s}=v(),c=t.filter(e=>e.text),u=(null==a?void 0:a.endsOn)&&(null==a?void 0:a.startsAt);return c.length||u?(0,n.FD)(y,{defaultLang:r,children:[i?(0,n.Y)(w,{children:s}):null,(0,n.FD)(x,{children:[a&&(0,n.Y)(g,{lang:r,openCourseInfo:a}),c.map((e,t)=>{let{icon:r,text:i}=e;return(0,n.FD)("li",{className:"list_item",children:[(0,n.Y)("div",{className:"list_item_icon",children:o[r]}),(0,n.Y)("span",{className:"list_item_text",children:i})]},"".concat(i,"-").concat(r,"-").concat(t))})]})]}):null},w=(0,i.A)("div",{target:"ew1i38k0"})("font-size:",o.A.fontSize.m,";font-weight:500;margin-bottom:",o.A.distance.sm,";"),x=(0,i.A)("ul",{target:"ew1i38k1"})("margin:0;padding:0;list-style:none;display:flex;flex-direction:column;row-gap:",o.A.distance.sm,";.list_item{display:flex;row-gap:",o.A.distance.xs,";align-items:flex-start;}.list_item_icon{display:flex;align-items:center;justify-content:center;width:24px;height:24px;flex:none;margin-right:",o.A.distance.s,";border-radius:",o.A.rounded.m,";color:",o.A.color.palette["grayscale-800"],";background-color:",o.A.color.palette["grayscale-100"],";}.list_item_icon.peach{color:",o.A.color.palette["peach-500"],";background-color:",o.A.color.palette["peach-100"],";}.list_item_text{display:inline-block;color:",o.A.color.palette["grayscale-800"],";font-size:",o.A.fontSize.sm,";font-weight:400;line-height:1.75;letter-spacing:0.05px;}.list_item_link{cursor:pointer;text-decoration:underline;}")},50583:(e,t,r)=>{"use strict";var n={value:!0},i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),o=r(55729),s=c(o),l=c(r(56121));function c(e){return e&&e.__esModule?e:{default:e}}function u(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function d(e,t){if(!e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&("object"==typeof t||"function"==typeof t)?t:e}function p(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var h={overflow:"hidden",position:"relative"},f={position:"relative",overflow:"hidden",cursor:"pointer",display:"block",float:"left"},m=function(e,t){return"\n .react-stars-"+t+":before {\n position: absolute;\n overflow: hidden;\n display: block;\n z-index: 1;\n top: 0; left: 0;\n width: 50%;\n content: attr(data-forhalf);\n color: "+e+";\n }"},g=function(e){function t(e){u(this,t);var r=d(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return e=i({},e),r.state={uniqueness:(Math.random()+"").replace(".",""),value:e.value||0,stars:[],halfStar:{at:Math.floor(e.value),hidden:e.half&&e.value%1<.5}},r.state.config={count:e.count,size:e.size,char:e.char,color1:e.color1,color2:e.color2,half:e.half,edit:e.edit},r}
40return p(t,e),a(t,[{key:"componentDidMount",value:function(){this.setState({stars:this.getStars(this.state.value)})}},{key:"componentWillReceiveProps",value:function(e){this.setState({stars:this.getStars(e.value),value:e.value,halfStar:{at:Math.floor(e.value),hidden:this.state.config.half&&e.value%1<.5}})}},{key:"isDecimal",value:function(e){return e%1!=0}},{key:"getRate",value:function(){return this.state.config.half?Math.floor(this.state.value):Math.round(this.state.value)}},{key:"getStars",value:function(e){void 0===e&&(e=this.getRate());for(var t=[],r=0;r<this.state.config.count;r++)t.push({active:r<=e-1});return t}},{key:"mouseOver",value:function(e){var t=this.state,r=t.config,n=t.halfStar;if(r.edit){var i=Number(e.target.getAttribute("data-index"));if(r.half){var a=this.moreThanHalf(e,r.size);n.hidden=a,a&&(i+=1),n.at=i}else i+=1;this.setState({stars:this.getStars(i)})}}},{key:"moreThanHalf",value:function(e,t){var r=e.target,n=e.clientX-r.getBoundingClientRect().left;return(n=Math.round(Math.abs(n)))>t/2}},{key:"mouseLeave",value:function(){var e=this.state,t=e.value,r=e.halfStar,n=e.config;n.edit&&(n.half&&(r.hidden=!this.isDecimal(t),r.at=Math.floor(this.state.value)),this.setState({stars:this.getStars()}))}},{key:"clicked",value:function(e){var t=this.state,r=t.config,n=t.halfStar;if(r.edit){var i=Number(e.target.getAttribute("data-index")),a=void 0;if(r.half){var o=this.moreThanHalf(e,r.size);n.hidden=o,o&&(i+=1),a=o?i:i+.5,n.at=i}else a=i+=1;this.setState({value:a,stars:this.getStars(i)}),this.props.onChange(a)}}},{key:"renderHalfStarStyleElement",value:function(){var e=this.state,t=e.config,r=e.uniqueness;return s.default.createElement("style",{dangerouslySetInnerHTML:{__html:m(t.color2,r)}})}},{key:"renderStars",value:function(){var e=this,t=this.state,r=t.halfStar,n=t.stars,a=t.uniqueness,o=t.config,l=o.color1,c=o.color2,u=o.size,d=o.char,p=o.half,h=o.edit;return n.map(function(t,n){var o="";p&&!r.hidden&&r.at===n&&(o="react-stars-"+a);var m=i({},f,{color:t.active?c:l,cursor:h?"pointer":"default",fontSize:u+"px"});return s.default.createElement("span",{className:o,style:m,key:n,"data-index":n,"data-forhalf":d,onMouseOver:e.mouseOver.bind(e),onMouseMove:e.mouseOver.bind(e),onMouseLeave:e.mouseLeave.bind(e),onClick:e.clicked.bind(e)},d)})}},{key:"render",value:function(){var e=this.props.className;return s.default.createElement("div",{className:e,style:h},this.state.config.half?this.renderHalfStarStyleElement():"",this.renderStars())}}]),t}(o.Component);g.propTypes={className:l.default.string,edit:l.default.bool,half:l.default.bool,value:l.default.number,count:l.default.number,char:l.default.string,size:l.default.number,color1:l.default.string,color2:l.default.string},g.defaultProps={edit:!0,half:!0,value:0,count:5,char:"â
",size:15,color1:"gray",color2:"#ffd700",onChange:function(){}},n=g},50825:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});let n=function(e,t){for(var r=-1,n=null==e?0:e.length,i=0,a=[];++r<n;){var o=e[r];t(o,r,e)&&(a[i++]=o)}return a};var i=r(68998),a=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols;let s=o?function(e){return null==e?[]:n(o(e=Object(e)),function(t){return a.call(e,t)})}:i.A},50945:(e,t,r)=>{"use strict";r.d(t,{i:()=>n});let n="https://public.wordup.com.tw/logo-wu-v2.png"},50970:(e,t,r)=>{"use strict";r.d(t,{A:()=>f});var n=r(46064),i=r(72925),a=r(52577),o=r(80090),s=r(74309),l=r(64773),c=r(92160),u=r(83716),d="[object Map]",p="[object Set]",h=Object.prototype.hasOwnProperty;let f=function(e){if(null==e)return!0;if((0,s.A)(e)&&((0,o.A)(e)||"string"==typeof e||"function"==typeof e.splice||(0,l.A)(e)||(0,u.A)(e)||(0,a.A)(e)))return!e.length;var t=(0,i.A)(e);if(t==d||t==p)return!e.size;if((0,c.A)(e))return!(0,n.A)(e).length;for(var r in e)if(h.call(e,r))return!1;return!0}},50993:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(2860);r(55729);var i=r(9428);let a={margin:0,padding:0,color:i.A.color.palette["grayscale-500"],fontSize:i.A.fontSize.s,fontWeight:400,lineHeight:"21px",letterSpacing:"0.06px",marginBottom:"0.5rem"},o=e=>{let{titleInfo:t,redeemCode:r,t:o}=e;switch(r.materialExpiryKind){case"na":return(0,n.Y)("h5",{style:a,children:o("crowdin:wu-components.line-item-info.redeem-code.title--infinite")});case"exact_time":{let e=t;if(!e)return null;return(0,n.Y)("h5",{style:{...a,color:i.A.color.palette["peach-500"]},children:o("crowdin:wu-components.line-item-info.redeem-code.title--exact-time",{expireTime:e})})}case"period_after_enrolment":{let[e,r]=t.split("-"),i=(()=>{switch(r){case"months":return"".concat(e," ").concat(o("crowdin:common.unit--quantity")).concat(o("crowdin:common.unit--month"));case"days":return"".concat(e," ").concat(o("crowdin:common.unit--date"));default:return null}})();if(!i)return null;return(0,n.Y)("h5",{style:a,children:o("crowdin:wu-components.line-item-info.redeem-code.title--period-after-enrolment",{period:i})})}default:return null}}},51495:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(18532);let i=function(e,t,r){"__proto__"==t&&n.A?(0,n.A)(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}},51652:(e,t,r)=>{"use strict";r.d(t,{AB:()=>er,Gz:()=>ei,Ne:()=>em,Q2:()=>ee,W4:()=>el,WR:()=>W,Ws:()=>X,aE:()=>eh,bV:()=>f,dp:()=>eu,gk:()=>eo,wc:()=>H});var n=r(55729),i=r(95669),a=r.n(i);function o(){return(o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
40for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function s(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}var l=["keyOverride"],c=["crossOrigin"],u={templateTitle:"",noindex:!1,nofollow:!1,norobots:!1,defaultOpenGraphImageWidth:0,defaultOpenGraphImageHeight:0,defaultOpenGraphVideoWidth:0,defaultOpenGraphVideoHeight:0},d=function(e,t,r){void 0===t&&(t=[]);var i=void 0===r?{}:r,a=i.defaultWidth,o=i.defaultHeight;return t.reduce(function(t,r,i){return t.push(n.createElement("meta",{key:"og:"+e+":0"+i,property:"og:"+e,content:r.url})),r.alt&&t.push(n.createElement("meta",{key:"og:"+e+":alt0"+i,property:"og:"+e+":alt",content:r.alt})),r.secureUrl&&t.push(n.createElement("meta",{key:"og:"+e+":secure_url0"+i,property:"og:"+e+":secure_url",content:r.secureUrl.toString()})),r.type&&t.push(n.createElement("meta",{key:"og:"+e+":type0"+i,property:"og:"+e+":type",content:r.type.toString()})),r.width?t.push(n.createElement("meta",{key:"og:"+e+":width0"+i,property:"og:"+e+":width",content:r.width.toString()})):a&&t.push(n.createElement("meta",{key:"og:"+e+":width0"+i,property:"og:"+e+":width",content:a.toString()})),r.height?t.push(n.createElement("meta",{key:"og:"+e+":height"+i,property:"og:"+e+":height",content:r.height.toString()})):o&&t.push(n.createElement("meta",{key:"og:"+e+":height"+i,property:"og:"+e+":height",content:o.toString()})),t},[])},p=function(e){var t,r,i,a,p,h=[];e.titleTemplate&&(u.templateTitle=e.titleTemplate);var f="";e.title?(f=e.title,u.templateTitle&&(f=u.templateTitle.replace(/%s/g,function(){return f}))):e.defaultTitle&&(f=e.defaultTitle),f&&h.push(n.createElement("title",{key:"title"},f));var m=void 0===e.noindex?u.noindex||e.dangerouslySetAllPagesToNoIndex:e.noindex,g=void 0===e.nofollow?u.nofollow||e.dangerouslySetAllPagesToNoFollow:e.nofollow,y=e.norobots||u.norobots,v="";if(e.robotsProps){var b=e.robotsProps,w=b.nosnippet,x=b.maxSnippet,k=b.maxImagePreview,A=b.maxVideoPreview,C=b.noarchive,S=b.noimageindex,E=b.notranslate,_=b.unavailableAfter;v=(w?",nosnippet":"")+(x?",max-snippet:"+x:"")+(k?",max-image-preview:"+k:"")+(C?",noarchive":"")+(_?",unavailable_after:"+_:"")+(S?",noimageindex":"")+(A?",max-video-preview:"+A:"")+(E?",notranslate":"")}if(e.norobots&&(u.norobots=!0),m||g?(e.dangerouslySetAllPagesToNoIndex&&(u.noindex=!0),e.dangerouslySetAllPagesToNoFollow&&(u.nofollow=!0),h.push(n.createElement("meta",{key:"robots",name:"robots",content:(m?"noindex":"index")+","+(g?"nofollow":"follow")+v}))):(!y||v)&&h.push(n.createElement("meta",{key:"robots",name:"robots",content:"index,follow"+v})),e.description&&h.push(n.createElement("meta",{key:"description",name:"description",content:e.description})),e.themeColor&&h.push(n.createElement("meta",{key:"theme-color",name:"theme-color",content:e.themeColor})),e.mobileAlternate&&h.push(n.createElement("link",{rel:"alternate",key:"mobileAlternate",media:e.mobileAlternate.media,href:e.mobileAlternate.href})),e.languageAlternates&&e.languageAlternates.length>0&&e.languageAlternates.forEach(function(e){h.push(n.createElement("link",{rel:"alternate",key:"languageAlternate-"+e.hrefLang,hrefLang:e.hrefLang,href:e.href}))}),e.twitter&&(e.twitter.cardType&&h.push(n.createElement("meta",{key:"twitter:card",name:"twitter:card",content:e.twitter.cardType})),e.twitter.site&&h.push(n.createElement("meta",{key:"twitter:site",name:"twitter:site",content:e.twitter.site})),e.twitter.handle&&h.push(n.createElement("meta",{key:"twitter:creator",name:"twitter:creator",content:e.twitter.handle}))),e.facebook&&e.facebook.appId&&h.push(n.createElement("meta",{key:"fb:app_id",property:"fb:app_id",content:e.facebook.appId})),(null!=(t=e.openGraph)&&t.title||f)&&h.push(n.createElement("meta",{key:"og:title",property:"og:title",content:(null==(a=e.openGraph)?void 0:a.title)||f})),(null!=(r=e.openGraph)&&r.description||e.description)&&h.push(n.createElement("meta",{key:"og:description",property:"og:description",content:(null==(p=e.openGraph)?void 0:p.description)||e.description})),e.openGraph){if((e.openGraph.url||e.canonical)&&h.push(n.createElement("meta",{key:"og:url",property:"og:url",content:e.openGraph.url||e.canonical})),e.openGraph.type){var T=e.openGraph.type.toLowerCase();h.push(n.createElement("meta",{key:"og:type",property:"og:type",content:T})),"profile"===T&&e.openGraph.profile?(e.openGraph.profile.firstName&&h.push(n.createElement("meta",{key:"profile:first_name",property:"profile:first_name",content:e.openGraph.profile.firstName})),e.openGraph.profile.lastName&&h.push(n.createElement("meta",{key:"profile:last_name",property:"profile:last_name",content:e.openGraph.profile.lastName})),e.openGraph.profile.username&&h.push(n.createElement("meta",{key:"profile:username",property:"profile:username",content:e.openGraph.profile.username})),e.openGraph.profile.gender&&h.push(n.createElement("meta",{key:"profile:gender",property:"profile:gender",content:e.openGraph.profile.gender}))):"book"===T&&e.openGraph.book?(e.openGraph.book.authors&&e.openGraph.book.authors.length&&e.openGraph.book.authors.forEac
40h(function(e,t){h.push(n.createElement("meta",{key:"book:author:0"+t,property:"book:author",content:e}))}),e.openGraph.book.isbn&&h.push(n.createElement("meta",{key:"book:isbn",property:"book:isbn",content:e.openGraph.book.isbn})),e.openGraph.book.releaseDate&&h.push(n.createElement("meta",{key:"book:release_date",property:"book:release_date",content:e.openGraph.book.releaseDate})),e.openGraph.book.tags&&e.openGraph.book.tags.length&&e.openGraph.book.tags.forEach(function(e,t){h.push(n.createElement("meta",{key:"book:tag:0"+t,property:"book:tag",content:e}))})):"article"===T&&e.openGraph.article?(e.openGraph.article.publishedTime&&h.push(n.createElement("meta",{key:"article:published_time",property:"article:published_time",content:e.openGraph.article.publishedTime})),e.openGraph.article.modifiedTime&&h.push(n.createElement("meta",{key:"article:modified_time",property:"article:modified_time",content:e.openGraph.article.modifiedTime})),e.openGraph.article.expirationTime&&h.push(n.createElement("meta",{key:"article:expiration_time",property:"article:expiration_time",content:e.openGraph.article.expirationTime})),e.openGraph.article.authors&&e.openGraph.article.authors.length&&e.openGraph.article.authors.forEach(function(e,t){h.push(n.createElement("meta",{key:"article:author:0"+t,property:"article:author",content:e}))}),e.openGraph.article.section&&h.push(n.createElement("meta",{key:"article:section",property:"article:section",content:e.openGraph.article.section})),e.openGraph.article.tags&&e.openGraph.article.tags.length&&e.openGraph.article.tags.forEach(function(e,t){h.push(n.createElement("meta",{key:"article:tag:0"+t,property:"article:tag",content:e}))})):("video.movie"===T||"video.episode"===T||"video.tv_show"===T||"video.other"===T)&&e.openGraph.video&&(e.openGraph.video.actors&&e.openGraph.video.actors.length&&e.openGraph.video.actors.forEach(function(e,t){e.profile&&h.push(n.createElement("meta",{key:"video:actor:0"+t,property:"video:actor",content:e.profile})),e.role&&h.push(n.createElement("meta",{key:"video:actor:role:0"+t,property:"video:actor:role",content:e.role}))}),e.openGraph.video.directors&&e.openGraph.video.directors.length&&e.openGraph.video.directors.forEach(function(e,t){h.push(n.createElement("meta",{key:"video:director:0"+t,property:"video:director",content:e}))}),e.openGraph.video.writers&&e.openGraph.video.writers.length&&e.openGraph.video.writers.forEach(function(e,t){h.push(n.createElement("meta",{key:"video:writer:0"+t,property:"video:writer",content:e}))}),e.openGraph.video.duration&&h.push(n.createElement("meta",{key:"video:duration",property:"video:duration",content:e.openGraph.video.duration.toString()})),e.openGraph.video.releaseDate&&h.push(n.createElement("meta",{key:"video:release_date",property:"video:release_date",content:e.openGraph.video.releaseDate})),e.openGraph.video.tags&&e.openGraph.video.tags.length&&e.openGraph.video.tags.forEac
40h(function(e,t){h.push(n.createElement("meta",{key:"video:tag:0"+t,property:"video:tag",content:e}))}),e.openGraph.video.series&&h.push(n.createElement("meta",{key:"video:series",property:"video:series",content:e.openGraph.video.series})))}e.defaultOpenGraphImageWidth&&(u.defaultOpenGraphImageWidth=e.defaultOpenGraphImageWidth),e.defaultOpenGraphImageHeight&&(u.defaultOpenGraphImageHeight=e.defaultOpenGraphImageHeight),e.openGraph.images&&e.openGraph.images.length&&h.push.apply(h,d("image",e.openGraph.images,{defaultWidth:u.defaultOpenGraphImageWidth,defaultHeight:u.defaultOpenGraphImageHeight})),e.defaultOpenGraphVideoWidth&&(u.defaultOpenGraphVideoWidth=e.defaultOpenGraphVideoWidth),e.defaultOpenGraphVideoHeight&&(u.defaultOpenGraphVideoHeight=e.defaultOpenGraphVideoHeight),e.openGraph.videos&&e.openGraph.videos.length&&h.push.apply(h,d("video",e.openGraph.videos,{defaultWidth:u.defaultOpenGraphVideoWidth,defaultHeight:u.defaultOpenGraphVideoHeight})),e.openGraph.audio&&h.push.apply(h,d("audio",e.openGraph.audio)),e.openGraph.locale&&h.push(n.createElement("meta",{key:"og:locale",property:"og:locale",content:e.openGraph.locale})),(e.openGraph.siteName||e.openGraph.site_name)&&h.push(n.createElement("meta",{key:"og:site_name",property:"og:site_name",content:e.openGraph.siteName||e.openGraph.site_name}))}return e.canonical&&h.push(n.createElement("link",{rel:"canonical",href:e.canonical,key:"canonical"})),e.additionalMetaTags&&e.additionalMetaTags.length>0&&e.additionalMetaTags.forEach(function(e){var t,r,i=e.keyOverride,a=s(e,l);h.push(n.createElement("meta",o({key:"meta:"+(null!=(t=null!=(r=null!=i?i:a.name)?r:a.property)?t:a.httpEquiv)},a)))}),null!=(i=e.additionalLinkTags)&&i.length&&e.additionalLinkTags.forEach(function(e){var t,r=e.crossOrigin,i=s(e,c),a="anonymous"===r||"use-credentials"===r||""===r?r:void 0;h.push(n.createElement("link",o({key:"link"+(null!=(t=i.keyOverride)?t:i.href)+i.rel},i,{crossOrigin:a})))}),h},h=function(e){return n.createElement(a(),null,p(e))},f=function(e){var t=e.title,r=e.themeColor,i=e.noindex,a=e.nofollow,o=e.robotsProps,s=e.description,l=e.canonical,c=e.openGraph,u=e.facebook,d=e.twitter,p=e.additionalMetaTags,f=e.titleTemplate,m=e.defaultTitle,g=e.mobileAlternate,y=e.languageAlternates,v=e.additionalLinkTags;return n.createElement(n.Fragment,null,n.createElement(h,{title:t,themeColor:r,noindex:i,nofollow:a,robotsProps:o,description:s,canonical:l,facebook:u,openGraph:c,additionalMetaTags:p,twitter:d,titleTemplate:f,defaultTitle:m,mobileAlternate:g,languageAlternates:y,additionalLinkTags:v}))},m=function(e,t){var r=t;return Array.isArray(r)&&1===r.length&&(r=o({},t[0])),{__html:JSON.stringify(Array.isArray(r)?r.map(function(t){return g(e,t)}):g(e,r),w)}},g=function(e,t){var r=t.id,n=o({},(void 0===r?void 0:r)?{"@id":t.id}:{},t);return delete n.id,o({"@context":"https://schema.org","@type":e},n)},y=Object.freeze({"&":"&","<":"<",">":">",'"':""","'":"'"}),v=RegExp("["+Object.keys(y).join("")+"]","g"),b=function(e){return y[e]},w=function(){return function(e,t){switch(typeof t){case"object":if(null===t)return;return t;case"number":case"boolean":case"bigint":return t;case"string":return t.replace(v,b);default:return}}}(),x=["type","keyOverride","scriptKey","scriptId","dataArray","useAppDir"];function k(e){var t=e.type,r=void 0===t?"Thing":t,i=e.keyOverride,l=e.scriptKey,c=e.scriptId,u=void 0===c?void 0:c,d=e.dataArray,p=e.useAppDir,h=void 0!==p&&p,f=s(e,x),g=function(){return n.createElement("script",{type:"application/ld+json",id:u,"data-testid":u,dangerouslySetInnerHTML:m(r,void 0===d?o({},f):d),key:"jsonld-"+l+(i?"-"+i:"")})};return h?n.createElement(g,null):n.createElement(a(),null,g())}function A(e){if("string"==typeof e)return{"@type":"Person",name:e};if(e.name){var t;return{"@type":null!=(t=null==e?void 0:e.type)?t:"Person",name:e.name,url:null==e?void 0:e.url}}}function C(e){return Array.isArray(e)?e.map(function(e){return A(e)}).filter(function(e){return!!e}):e?A(e):void 0}function S(e){if(e)return{"@type":"ImageObject",url:e}}function E(e,t){if(e)return{"@type":"Organization",name:e,logo:S(t)}}function _(e){if(e)return o({},e,{"@type":"Rating"})}var T=["reviewRating","author","publisher"];function P(e){function t(e){var t=e.reviewRating,r=e.author,n=e.publisher,i=s(e,T);return o({},i,{"@type":"Review"},r&&{author:C(r)},t&&{reviewRating:_(t)},n&&{publisher:E(n.name)})}return Array.isArray(e)?e.map(t):e?t(e):void 0}function O(e){if(e)return{"@type":"AggregateRating",ratingCount:e.ratingCount,reviewCount:e.reviewCount,bestRating:e.bestRating,ratingValue:e.ratingValue,worstRating:e.worstRating}}function I(e){function t(e){return o({},e,{"@type":"Clip"})}return Array.isArray(e)?e.map(t):e?t(e):void 0}function M(e){if(e)return{"@type":"InteractionCounter",interactionType:"https://schema.org/WatchAction",userInteractionCount:e}}function L(e){function t(e){return o({},e,{"@type":"BroadcastEvent"})}if(e)return Array.isArray(e)?e.map(t):t(e)}var N=["thumbnailUrls","hasPart","watchCount","publication"];function R(e,t){function r(e,t){var r=e.thumbnailUrls,n=e.hasPart,i=e.watchCount,a=e.publication,l=s(e,N);return o({},l,{"@type":"VideoObject"},t&&{"@context":"https://schema.org"},{thumbnailUrl:r,hasPart:I(n),interactionStatistic:M(i),publication:L(a)})}if(void 0===t&&(t=!1),e)return r(e,t)}function j(e){if(e)return Array.isArray(e)?1===e.length?D(e[0]):e.map(D):D(e)}function D(e){return"string"==typeof e?e:o({"@type":"PostalAddress"},e)}function F(e){if(e&&e.length)return e.map(function(e){return{"@type":"ListItem",position:e.position,item:e.item,name:e.name}})}var V=["seller","hasMerchantReturnPolicy"];function B(e){function t(e){return o({"@type":"MerchantReturnPolicySeasonalOverride"},e)}function r(e){var r=e.seller,n=e.hasMerchantReturnPolicy,i=s(e,V);return o({},i,{"@type":"Offer"},r&&{seller:{"@type":"Organization",name:r.name}},n&&{hasMerchantReturnPolicy:o({"@type":"MerchantReturnPolicy"},n,(null==n?void 0:n.returnPolicySeasonalOverride)&&{returnPolicySeasonalOverride:t(null==n?void 0:n.returnPolicySeasonalOverride)})})}return Array.isArray(e)?e.map(r):e?r(e):void 0}function z(e){if(e)return{"@type":"AggregateOffer",priceCurrency:e.priceCurrency,highPrice:e.highPrice,lowPrice:e.lowPrice,offerCount:e.offerCount,offers:B(e.offers)}}function $(e){if(e&&(e.manufacturerName||e.manufacturerLogo))return{"@type":"Organization",name:e.manufacturerName,logo:S(e.manufacturerLogo)}}function U(e){if(e)return{"@type":"Brand",name:e}}var q=["type","keyOverride","images","brand","reviews","aggregateRating","manufacturerLogo","manufacturerName","offers","aggregateOffer","productName"];function H(e){var t=e.type,r=void 0===t?"Product":t,i=e.keyOverride,a=e.images,l=e.brand,c=e.reviews,u=e.aggregateRating,d=e.manufacturerLogo,p=e.manufacturerName,h=e.offers,f=e.aggregateOffer,m=e.productName,g=s(e,q),y=o({},g,{image:a,brand:U(l),review:P(c),aggregateRating:O(u),manufacturer:$({manufacturerLogo:d,manufacturerName:p}),offers:h?B(h):z(f),name:m});return n.createElement(k,o({type:r,keyOverride:i},y,{scriptKey:"Product"}))}var Y=["type","keyOverride"];function W(e){var t=e.type,r=void 0===t?"Video":t,i=e.keyOverride,a=R(s(e,Y),!0);return n.createElement(k,o({type:r,keyOverride:i},a,{scriptKey:"Video"}))}function G(e){if(e)return{"@type":e.type||"Organization",name:e.name,sameAs:e.url}}function K(e){if(e&&e.length)return e.map(function(e){return o({"@type":"ContactPoint"},e)})}var J=["type","keyOverride","address","contactPoints","contactPoint"];function X(e){var t=e.type,r=void 0===t?"Organization":t,i=e.keyOverride,a=e.address,l=e.contactPoints,c=e.contactPoint,u=s(e,J),d=o({},u,{address:j(a),contactPoint:K(c||l)});return n.createElement(k,o({type:r,keyOverride:i},d,{scriptKey:"organization"}))}function Q(e){if(e&&e.length)return e.map(function(e){return{"@type":"Question",name:e.questionName,acceptedA
40nswer:{"@type":"Answer",text:e.acceptedAnswerText}}})}var Z=["type","keyOverride","mainEntity"];function ee(e){var t=e.type,r=void 0===t?"FAQPage":t,i=e.keyOverride,a=e.mainEntity,l=s(e,Z),c=o({},l,{mainEntity:Q(a)});return n.createElement(k,o({type:r,keyOverride:i},c,{scriptKey:"faq-page"}))}var et=["type","keyOverride"];function er(e){var t=e.type,r=void 0===t?"Organization":t,i=e.keyOverride,a=s(e,et);return n.createElement(k,o({type:r,keyOverride:i},a,{scriptKey:"Logo"}))}var en=["type","keyOverride","courseName","provider"];function ei(e){var t=e.type,r=void 0===t?"Course":t,i=e.keyOverride,a=e.courseName,l=e.provider,c=s(e,en),u=o({name:a},c,{provider:G(l)});return n.createElement(k,o({type:r,keyOverride:i},u,{scriptKey:"course"}))}var ea=["type","keyOverride","itemListElements"];function eo(e){var t=e.type,r=void 0===t?"BreadcrumbList":t,i=e.keyOverride,a=e.itemListElements,l=s(e,ea),c=o({},l,{itemListElement:F(a)});return n.createElement(k,o({type:r,keyOverride:i},c,{scriptKey:"breadcrumb"}))}var es=["type","id","keyOverride","aggregateRating"];function el(e){var t=e.type,r=void 0===t?"Brand":t,i=e.id,a=e.keyOverride,l=e.aggregateRating,c=s(e,es),u=o({aggregateRating:O(l),"@id":i},c);return n.createElement(k,o({type:r,keyOverride:a},u,{scriptKey:"brand"}))}var ec=["type","keyOverride","url","title","images","datePublished","dateModified","authorName","publisherName","publisherL
40ogo","description","isAccessibleForFree"];function eu(e){var t=e.type,r=void 0===t?"Article":t,i=e.keyOverride,a=e.url,l=e.title,c=e.images,u=e.datePublished,d=e.dateModified,p=e.authorName,h=e.publisherName,f=void 0===h?void 0:h,m=e.publisherLogo,g=void 0===m?void 0:m,y=e.description,v=e.isAccessibleForFree,b=s(e,ec),w=o({datePublished:u,description:y,mainEntityOfPage:{"@type":"WebPage","@id":a},headline:l,image:c,dateModified:d||u,author:C(p),publisher:E(f,g),isAccessibleForFree:v},b);return n.createElement(k,o({type:r,keyOverride:i},w,{scriptKey:"article"}))}function ed(e){if(e)return o({"@type":(null==e?void 0:e.type)||"Organization"},e)}var ep=["keyOverride","reviewedBy"];function eh(e){var t=e.keyOverride,r=e.reviewedBy,i=s(e,ep),a=o({},i,{reviewedBy:ed(r)});return n.createElement(k,o({keyOverride:t},a,{type:"WebPage",scriptKey:"WebPage"}))}var ef=["type","keyOverride"];function em(e){var t=e.type,r=e.keyOverride,i=s(e,ef);return n.createElement(k,o({type:t,keyOverride:r},i,{scriptKey:"social"}))}},51952:(e,t,r)=>{"use strict";r.d(t,{hPU:()=>a,u8g:()=>o});var n=r(93129);r(38822);let i=(e,t)=>e?(0,n.GP)(e,t):"",a=e=>e?i(e,"yyyy-MM-dd"):"",o=e=>e?i(e,"M/d HH:mm"):""},51965:(e,t,r)=>{"use strict";r.d(t,{A:()=>x});var n=r(2860),i=r(24150),a=r(55729);let o="facebook-jssdk",s="en_US",l="v16.0",c="https://www.facebook.com/dialog/oauth",u=()=>{let e=navigator.userAgent||navigator.vendor||"";return e.indexOf("FBAN")>-1||e.indexOf("FBAV")>-1||e.indexOf("Instagram")>-1},d=e=>"?".concat(Object.entries(e).map(e=>{let[t,r]=e;return"".concat(t,"=").concat(encodeURIComponent(r))}).join("&")),p=e=>{window.location.href="".concat(c).concat(d(e))},h=()=>{let e=document.createElement("script");e.id=o,e.src="https://connect.facebook.net/".concat(s,"/sdk.js"),document.head.appendChild(e)},f=e=>{let t={appId:e,version:l,xfbml:!1,cookie:!1,localStorage:!0};if(window.FB)return void window.FB.init(t);document.getElementById(o)||(window.fbAsyncInit=()=>{var e;return null==(e=window.FB)?void 0:e.init(t)},h())},m=e=>{let{appId:t,scope:r,dialogParams:n,onSuccess:i,onFail:o,render:s}=e;return(0,a.useEffect)(()=>{f(t)},[t]),s({onClick:()=>{let e={scope:r,return_scopes:!1};if(u())return void p({...n,client_id:t,...e});let a=window.FB;if(!a)return void o({status:"facebookNotLoaded"});a.login(e=>{if(!e.authResponse)return void o({status:"loginCancelled"});i(e.authResponse)},e)}})};var g=r(50137),y=r(16491),v=r(9428);function b(){let e=window.navigator.userAgent.toLowerCase();return/fban|fbdv|fbav|fb_iab|instagram|line/i.test(e)}let w={AppleLogo:"https://public.wordup.com.tw/web-assets/sign-up-log-in/apple-logo.png",FacebookLogo:"https://public.wordup.com.tw/web-assets/sign-up-log-in/facebook-logo.png",GoogleLogo:"https://public.wordup.com.tw/web-assets/sign-up-log-in/google-logo.png"},x=e=>{let{onSuccess:t,onError:r,fbAppId:i,fbRedirectUri:o,fbState:s,googleClientId:l,appleClientId:c,appleRedirectUri:u}=e,d=(0,a.useMemo)(()=>o||"".concat("https://shop.wordup.com.tw","/auth/social-callback"),[o]),p=(0,y.mg)({onSuccess:e=>{let{access_token:r}=e;t("google",{user_info:{id_token:r}})},onError:e=>{"function"==typeof r&&r({type:"google",errCode:null==e?void 0:e.error,msg:null==e?void 0:e.error_description,res:e})},onNonOAuthError:e=>{if("popup_failed_to_open"===e.type||"popup_closed"===e.type||"unknown"===e.type)return}});return(0,n.FD)(n.FK,{children:[i&&(0,n.Y)(m,{appId:i,scope:"public_profile,email",onFail:e=>{"loginCancelled"!==e.status&&"function"==typeof r&&r({type:"fb",errCode:e.status,res:e})},onSuccess:e=>{if(!(null==e?void 0:e.accessToken)){"function"==typeof r&&r({type:"fb",res:e});return}t("fb",{access_token:e.accessToken})},dialogParams:{response_type:"token",redirect_uri:d,state:JSON.stringify({redirect_uri:window.location.href,fbState:s})},render:e=>{let{onClick:t}=e;return(0,n.Y)(k,{onClick:t,children:(0,n.Y)("img",{src:w.FacebookLogo,alt:"Login with Facebook",loading:"lazy"})})}}),l&&!b()&&(0,n.Y)(k,{onClick:()=>p(),children:(0,n.Y)("img",{src:w.GoogleLogo,alt:"Login with Google",loading:"lazy"})}),c&&(0,n.Y)(g.Ay,{authOptions:{clientId:c,scope:"email name",redirectURI:u||"/"},onSuccess:e=>{console.log("onSuccess response",e),console.log(e);try{var n,i;if(e.error&&"function"==typeof r)return r({type:"apple",errCode:e.error.error,msg:"",res:e});let{authorization:{id_token:a},user:o}=e,s=o?"".concat(null==(n=o.name)?void 0:n.lastName," ").concat(null==(i=o.name)?void 0:i.firstName):null;return t("apple",{user_info:{identityToken:a,fullName:s?{nickname:s}:{}}})}catch(e){console.log("err",e)}},onError:e=>console.error(e),render:e=>(0,n.Y)(k,{...e,children:(0,n.Y)("img",{src:w.AppleLogo,alt:"Login with Apple",loading:"lazy"})})})]})},k=(0,i.A)("button",{target:"edtg0cf0"})("display:flex;justify-content:center;align-items:center;width:2.5rem;height:2.5rem;border:none;background-color:",v.A.color.palette["grayscale-000"],";cursor:pointer;border:1px solid ",v.A.color.palette["grayscale-100"],";border-radius:1.25rem;transition:background-color 0.23s ease-in-out;padding:0;img{width:2.5rem;height:auto;}")},52056:(e,t,r)=>{"use strict";
40Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useIntersection",{enumerable:!0,get:function(){return u}});let n=r(55729),i=r(54455),a="function"==typeof IntersectionObserver,o=new Map,s=[];function l(e){let t,r={root:e.root||null,margin:e.rootMargin||""},n=s.find(e=>e.root===r.root&&e.margin===r.margin);if(n&&(t=o.get(n)))return t;let i=new Map;return t={id:r,observer:new IntersectionObserver(e=>{e.forEach(e=>{let t=i.get(e.target),r=e.isIntersecting||e.intersectionRatio>0;t&&r&&t(r)})},e),elements:i},s.push(r),o.set(r,t),t}function c(e,t,r){let{id:n,observer:i,elements:a}=l(r);return a.set(e,t),i.observe(e),function(){if(a.delete(e),i.unobserve(e),0===a.size){i.disconnect(),o.delete(n);let e=s.findIndex(e=>e.root===n.root&&e.margin===n.margin);e>-1&&s.splice(e,1)}}}function u(e){let{rootRef:t,rootMargin:r,disabled:o}=e,s=o||!a,[l,u]=(0,n.useState)(!1),d=(0,n.useRef)(null),p=(0,n.useCallback)(e=>{d.current=e},[]);return(0,n.useEffect)(()=>{if(a){if(s||l)return;let e=d.current;if(e&&e.tagName)return c(e,e=>e&&u(e),{root:null==t?void 0:t.current,rootMargin:r})}else if(!l){let e=(0,i.requestIdleCallback)(()=>u(!0));return()=>(0,i.cancelIdleCallback)(e)}},[s,r,t,l,d.current]),[p,l,(0,n.useCallback)(()=>{u(!1)},[])]}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},52106:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var n=r(2860),i=r(8588),a=r.n(i),o=r(82203),s=r.n(o),l=r(82917);let c={ios:"iOS",android:"Android"},u={ios:"/app_store.png",android:"/play_store.png"},d=e=>{let{platform:t,sendEvent:r}=e;return(0,n.Y)(s(),{target:"_blank",rel:"noreferrer noopener",href:l.G[t],className:"flex items-center",onClick:r,children:(0,n.Y)(a(),{unoptimized:!0,src:u[t],alt:"WORD UP ".concat(c[t]," App download link"),width:125,height:37.5,className:"h-auto min-w-full max-w-full"})})}},52138:(e,t,r)=>{"use strict";r.d(t,{A:()=>k});var n=r(55729),i=r(50212),a=r(74004),o=r(40412),s=r(35500),l=r(25684),c=r(1686),u=r(88273),d=r(23986),p=r(68064),h=r(49467),f=r(80073),m=r(73669),g=r(87190);let y=e=>{let{theme:t,ownerState:r}=e,n=r.color,i=(0,g.Yn)(t,"palette.".concat(n,".main"),!1)||(0,g.Yn)(t,"palette.".concat(n),!1)||r.color,o=(0,g.Yn)(t,"palette.".concat(n,".mainChannel"))||(0,g.Yn)(t,"palette.".concat(n,"Channel"));return"vars"in t&&o?"rgba(".concat(o," / 0.4)"):(0,a.X4)(i,.4)};var v=r(6029);let b={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},w=e=>{let{classes:t,component:r,focusVisible:n,underline:i}=e,a={root:["root","underline".concat((0,l.A)(i)),"button"===r&&"button",n&&"focusVisible"]};return(0,o.A)(a,m.t,t)},x=(0,c.Ay)(f.A,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t["underline".concat((0,l.A)(r.underline))],"button"===r.component&&t.button]}})((0,d.A)(e=>{let{theme:t}=e;return{variants:[{props:{underline:"none"},style:{textDecoration:"none"}},{props:{underline:"hover"},style:{textDecoration:"none","&:hover":{textDecoration:"underline"}}},{props:{underline:"always"},style:{textDecoration:"underline","&:hover":{textDecorationColor:"inherit"}}},{props:e=>{let{underline:t,ownerState:r}=e;return"always"===t&&"inherit"!==r.color},style:{textDecorationColor:"var(--Link-underlineColor)"}},...Object.entries(t.palette).filter((0,p.A)()).map(e=>{let[r]=e;return{props:{underline:"always",color:r},style:{"--Link-underlineColor":t.vars?"rgba(".concat(t.vars.palette[r].mainChannel," / 0.4)"):(0,a.X4)(t.palette[r].main,.4)}}}),{props:{underline:"always",color:"textPrimary"},style:{"--Link-underlineColor":t.vars?"rgba(".concat(t.vars.palette.text.primaryChannel," / 0.4)"):(0,a.X4)(t.palette.text.primary,.4)}},{props:{underline:"always",color:"textSecondary"},style:{"--Link-underlineColor":t.vars?"rgba(".concat(t.vars.palette.text.secondaryChannel," / 0.4)"):(0,a.X4)(t.palette.text.secondary,.4)}},{props:{underline:"always",color:"textDisabled"},style:{"--Link-underlineColor":(t.vars||t).palette.text.disabled}},{props:{component:"button"},style:{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},["&.".concat(m.A.focusVisible)]:{outline:"auto"}}}]}})),k=n.forwardRef(function(e,t){let r=(0,h.b)({props:e,name:"MuiLink"}),a=(0,u.A)(),{className:o,color:l="primary",component:c="a",onBlur:d,onFocus:p,TypographyClasses:f,underline:m="always",variant:g="inherit",sx:k,...A}=r,[C,S]=n.useState(!1),E=e=>{(0,s.A)(e.target)||S(!1),d&&d(e)},_=e=>{(0,s.A)(e.target)&&S(!0),p&&p(e)},T={...r,color:l,component:c,focusVisible:C,underline:m,variant:g},P=w(T);return(0,v.jsx)(x,{color:l,className:(0,i.A)(P.root,o),classes:f,component:c,onBlur:E,onFocus:_,ref:t,ownerState:T,variant:g,...A,sx:[...void 0===b[l]?[{color:l}
40]:[],...Array.isArray(k)?k:[k]],style:{...A.style,..."always"===m&&"inherit"!==l&&!b[l]&&{"--Link-underlineColor":y({theme:a,ownerState:T})}}})})},52178:e=>{e.exports={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:"\xa0",iexcl:"\xa1",cent:"\xa2",pound:"\xa3",curren:"\xa4",yen:"\xa5",brvbar:"\xa6",sect:"\xa7",uml:"\xa8",copy:"\xa9",ordf:"\xaa",laquo:"\xab",not:"\xac",shy:"\xad",reg:"\xae",macr:"\xaf",deg:"\xb0",plusmn:"\xb1",sup2:"\xb2",sup3:"\xb3",acute:"\xb4",micro:"\xb5",para:"\xb6",middot:"\xb7",cedil:"\xb8",sup1:"\xb9",ordm:"\xba",raquo:"\xbb",frac14:"\xbc",frac12:"\xbd",frac34:"\xbe",iquest:"\xbf",Agrave:"\xc0",Aacute:"\xc1",Acirc:"\xc2",Atilde:"\xc3",Auml:"\xc4",Aring:"\xc5",AElig:"\xc6",Ccedil:"\xc7",Egrave:"\xc8",Eacute:"\xc9",Ecirc:"\xca",Euml:"\xcb",Igrave:"\xcc",Iacute:"\xcd",Icirc:"\xce",Iuml:"\xcf",ETH:"\xd0",Ntilde:"\xd1",Ograve:"\xd2",Oacute:"\xd3",Ocirc:"\xd4",Otilde:"\xd5",Ouml:"\xd6",times:"\xd7",Oslash:"\xd8",Ugrave:"\xd9",Uacute:"\xda",Ucirc:"\xdb",Uuml:"\xdc",Yacute:"\xdd",THORN:"\xde",szlig:"\xdf",agrave:"\xe0",aacute:"\xe1",acirc:"\xe2",atilde:"\xe3",auml:"\xe4",aring:"\xe5",aelig:"\xe6",ccedil:"\xe7",egrave:"\xe8",eacute:"\xe9",ecirc:"\xea",euml:"\xeb",igrave:"\xec",iacute:"\xed",icirc:"\xee",iuml:"\xef",eth:"\xf0",ntilde:"\xf1",ograve:"\xf2",oacute:"\xf3",ocirc:"\xf4",otilde:"\xf5",ouml:"\xf6",divide:"\xf7",oslash:"\xf8",ugrave:"\xf9",uacute:"\xfa",ucirc:"\xfb",uuml:"\xfc",yacute:"\xfd",thorn:"\xfe",yuml:"\xff",OElig:"Å",oelig:"Å",Scaron:"Å ",scaron:"Å¡",Yuml:"Ÿ",fnof:"Æ",circ:"Ë",tilde:"Ë",Alpha:"Î",Beta:"Î",Gamma:"Î",Delta:"Î",Epsilon:"Î",Zeta:"Î",Eta:"Î",Theta:"Î",Iota:"Î",Kappa:"Î",Lambda:"Î",Mu:"Î",Nu:"Î",Xi:"Î",Omicron:"Î",Pi:"Î ",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Î¥",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"Ï",rho:"Ï",sigmaf:"Ï",sigma:"Ï",tau:"Ï",upsilon:"Ï
",phi:"Ï",chi:"Ï",psi:"Ï",omega:"Ï",thetasym:"Ï",upsih:"Ï",piv:"Ï",ensp:"â",emsp:"â",thinsp:"â",zwnj:"â",zwj:"â",lrm:"â",rlm:"â",ndash:"â",mdash:"â",lsquo:"â",rsquo:"â",sbquo:"â",ldquo:"â",rdquo:"â",bdquo:"â",dagger:"â ",Dagger:"â¡",bull:"â¢",hellip:"â¦",permil:"â°",prime:"â²",Prime:"â³",lsaquo:"â¹",rsaquo:"âº",oline:"â¾",frasl:"â",euro:"â¬",image:"â",weierp:"â",real:"â",trade:"â¢",alefsym:"âµ",larr:"â",uarr:"â",rarr:"â",darr:"â",harr:"â",crarr:"âµ",lArr:"â",uArr:"â",rArr:"â",dArr:"â",hArr:"â",forall:"â",part:"â",exist:"â",empty:"â
",nabla:"â",isin:"â",notin:"â",ni:"â",prod:"â",sum:"â",minus:"â",lowast:"â",radic:"â",prop:"â",infin:"â",ang:"â ",and:"â§",or:"â¨",cap:"â©",cup:"âª",int:"â«",there4:"â´",sim:"â¼",cong:"â
",asymp:"â",ne:"â ",equiv:"â¡",le:"â¤",ge:"â¥",sub:"â",sup:"â",nsub
40:"â",sube:"â",supe:"â",oplus:"â",otimes:"â",perp:"â¥",sdot:"â
",lceil:"â",rceil:"â",lfloor:"â",rfloor:"â",lang:"â©",rang:"âª",loz:"â",spades:"â ",clubs:"â£",hearts:"â¥",diams:"â¦"}},52577:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var n=r(63599),i=r(92741),a="[object Arguments]";let o=function(e){return(0,i.A)(e)&&(0,n.A)(e)==a};var s=Object.prototype,l=s.hasOwnProperty,c=s.propertyIsEnumerable;let u=o(function(){return arguments}())?o:function(e){return(0,i.A)(e)&&l.call(e,"callee")&&!c.call(e,"callee")}},53031:(e,t,r)=>{"use strict";r.d(t,{_:()=>h});var n=r(2860),i=r(8588),a=r.n(i),o=r(84660),s=r(42332);let l="cdn-cgi/image",c="https://public.wordup.com.tw",u=e=>{let{src:t,width:r}=e;return[c,l,["width=".concat(r),"format=auto"].join(","),t].join("/")},d=e=>{var t;return null==(t=e.match(/(https:\/\/.*\/)(https:\/\/.*$)/))?void 0:t.at(2)},p=e=>(null==e?void 0:e.includes(l))?d(e):e,h=e=>{let{src:t,fallbackSrc:r=s.fY,className:i,skeleton:l,...c}=e,d=p(t)||r;return l&&d===s.fY?l:(0,n.Y)(a(),{...c,src:d,className:(0,o.Q)("max-w-full",i),loader:u})}},53065:(e,t,r)=>{"use strict";r.d(t,{A:()=>C});var n=r(55729),i=r.t(n,2),a=r(59330),o=r(41682);let s="function"==typeof Symbol&&Symbol.for?Symbol.for("mui.nested"):"__THEME_NESTED__";var l=r(6029);function c(e,t){return"function"==typeof t?t(e):{...e,...t}}let u=function e(e){let{children:t,theme:r}=e,i=(0,a.A)(),u=n.useMemo(()=>{let e=null===i?{...r}:c(i,r);return null!=e&&(e[s]=null!==i),e},[r,i]);return(0,l.jsx)(o.A.Provider,{value:u,children:t})};var d=r(87905),p=r(68898),h=r(64593),f=r(30108),m=r(91117);let g=0;function y(e){let[t,r]=n.useState(e),i=e||t;return n.useEffect(()=>{null==t&&(g+=1,r(`mui-${g}`))},[t]),i}let v={...i}.useId;function b(e){if(void 0!==v){let t=v();return e??t}return y(e)}var w=r(36690);function x(e){let t=(0,p.A)(),r=b()||"",{modularCssLayers:n}=e,i="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return(i=n&&null===t?"string"==typeof n?n.replace(/mui(?!\.)/g,i):`@layer ${i};`:"",(0,m.A)(()=>{let e=document.querySelector("head");if(!e)return;let t=e.firstChild;if(i){if(t&&t.hasAttribute?.("data-mui-layer-order")&&t.getAttribute("data-mui-layer-order")===r)return;let n=document.createElement("style");n.setAttribute("data-mui-layer-order",r),n.textContent=i,e.prepend(n)}else e.querySelector(`style[data-mui-layer-order="${r}"]`)?.remove()},[i,r]),i)?(0,l.jsx)(w.A,{styles:i}):null}let k={};function A(e,t,r,i=!1){return n.useMemo(()=>{let n=e&&t[e]||t;if("function"==typeof r){let a=r(n),o=e?{...t,[e]:a}:a;return i?()=>o:o}return e?{...t,[e]:r}:{...t,...r}},[e,t,r,i])}let C=function e(e){let{children:t,theme:r,themeId:n}=e,i=(0,p.A)(k),o=(0,a.A)()||k,s=A(n,i,r),c=A(n,o,r,!0),m="rtl"===(n?s[n]:s).direction,g=x(s);return(0,l.jsx)(u,{theme:c,children:(0,l.jsx)(d.T.Provider,{value:s,children:(0,l.jsx)(h.A,{value:m,children:(0,l.jsxs)(f.A,{value:n?s[n].components:s.components,children:[g,t]})})})})}},53172:(e,t,r)=>{var n=r(57406).Global;e.exports={name:"oldFF-globalStorage",read:a,write:o,each:s,remove:l,clearAll:c};var i=n.globalStorage;function a(e){return i[e]}function o(e,t){i[e]=t}function s(e){for(var t=i.length-1;t>=0;t--){var r=i.key(t);e(i[r],r)}}function l(e){return i.removeItem(e)}function c(){s(function(e,t){delete i[e]})}},53186:(e,t,r)=>{"use strict";r.d(t,{eU:()=>n.eU,fp:()=>i.fp,md:()=>i.md,TD:()=>o,Xr:()=>i.Xr,Pj:()=>i.Pj});var n=r(70921),i=r(67549),a=r(55729);function o(e,t){let[r,n]=(0,i.fp)(e);return[r,(0,a.useCallback)(e=>n(r=>t(r,e)),[n,t])]}},53255:(e,t,r)=>{"use strict";r.d(t,{M:()=>i});var n=r(55729);function i(e){let t=(0,n.useRef)(null);return null===t.current&&(t.current=e()),t.current}},53387:(e,t,r)=>{e.exports=[r(70484),r(53172),r(4114),r(94859),r(3269),r(40992)]},53442:(e,t,r)=>{"use strict";function n(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window,t=e.document.documentElement.clientWidth;return e.innerWidth-t}r.d(t,{A:()=>n})},53565:(e,t,r)=>{"use strict";r.d(t,{F:()=>p});var n=r(2860),i=r(24150),a=r(55729),o=r(15553),s=r(83224),l=r(9428);let c={en:{highlights:{title:"You will learn in this course"},suitable_for:{title:"This material is suitable for"}}
40,"zh-TW":{highlights:{title:"ä¸å®èª²ä½ æå¸å°"},suitable_for:{title:"æ¬ææé©å"}}},{LocaleProvider:u,useLocaleContext:d}=(0,s.A)({locales:c}),p=e=>{let{suitableFor:t,highlights:r,lang:i}=e,s=d(),l=(0,a.useMemo)(()=>{if(!(null==r?void 0:r.length))return[];let e=[];for(let a of r)if("header"===a.type)e.push({title:a.text,descriptions:[]});else{var t,n,i;null==(i=e.at(-1))||null==(n=i.descriptions)||null==(t=n.push)||t.call(n,a.text)}return e},[r]);return(0,n.FD)(u,{defaultLang:i,children:[l.length>0&&l.some(e=>e.title)?(0,n.FD)("div",{className:"mb-8",children:[(0,n.Y)(o.E,{component:"h5",variant:"heading_m_500",className:"mb-3",children:s.highlights.title}),(0,n.Y)("ul",{className:"m-0 flex flex-col gap-y-3 p-0",children:l.map((e,t)=>{let{title:r,descriptions:i}=e;return(0,n.Y)(h,{index:t,title:r,descriptions:i},r)})})]}):null,(null==t?void 0:t.length)>0?(0,n.FD)("div",{children:[(0,n.Y)(o.E,{component:"h5",variant:"heading_m_500",className:"mb-3 text-[1.25rem]!",children:s.suitable_for.title}),(0,n.Y)("ul",{className:"m-0 flex flex-col gap-y-3 p-0",children:t.map((e,t)=>{let{title:r,description:i}=e;return(0,n.Y)(h,{index:t,title:r,descriptions:[i]},r)})})]}):null]})};function h(e){let{index:t,title:r,descriptions:i}=e;return(0,n.FD)("li",{style:{display:"flex",gap:"0.5rem"},children:[r?(0,n.Y)(o.E,{variant:"body_s_400",style:{backgroundColor:l.A.color.palette["grayscale-50"],display:"flex",height:"1.5rem",width:"1.5rem",alignItems:"center",justifyContent:"center",borderRadius:"9999px",marginTop:"0.125rem",flexShrink:0},className:"pb-[2px] text-[1rem]!",children:t+1}):null,(0,n.FD)("div",{children:[(0,n.Y)(o.E,{variant:"body_m_500",component:"h5",className:"mb-1 text-[1rem]!",children:r}),i.filter(e=>e).map(e=>(0,n.FD)(o.E,{component:"div",variant:"body_s_400",className:"mb-2 flex gap-x-2 text-[14px]! last:mb-0",children:[(0,n.Y)("div",{className:"mt-[11.5px] h-1 w-1 flex-shrink-0 rounded-full bg-black"}),e]},e))]})]})}(0,i.A)("div",{target:"e1j7p9wz0"})("padding-left:",l.A.distance.ml,";padding-top:",l.A.distance.xs,";font-size:",l.A.fontSize.sm,";line-height:1.5;")},53662:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(58309);let i=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],a=(0,n.A)("chevron-left",i)},53725:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n={50:"#f3e5f5",100:"#e1bee7",200:"#ce93d8",300:"#ba68c8",400:"#ab47bc",500:"#9c27b0",600:"#8e24aa",700:"#7b1fa2",800:"#6a1b9a",900:"#4a148c",A100:"#ea80fc",A200:"#e040fb",A400:"#d500f9",A700:"#aa00ff"}},53887:(e,t,r)=>{"use strict";r.d(t,{A:()=>P});var n=r(55729),i=r(50212),a=r(40412),o=r(26272),s=r(23131),l=r(1686),c=r(23986),u=r(49467),d=r(78959),p=r(49452),h=r(48882),f=r(54636),m=r(25158),g=r(84784),y=r(2644);function v(e){return"function"==typeof e?e():e}function b(e){return!!e&&e.props.hasOwnProperty("in")}let w=()=>{},x=new y.P,k=function(e){let{container:t,disableEscapeKeyDown:r=!1,disableScrollLock:i=!1,closeAfterTransition:a=!1,onTransitionEnter:o,onTransitionExited:s,children:l,onClose:c,open:u,rootRef:d}=e,k=n.useRef({}),A=n.useRef(null),C=n.useRef(null),S=(0,p.A)(C,d),[E,_]=n.useState(!u),T=b(l),P=!0;("false"===e["aria-hidden"]||!1===e["aria-hidden"])&&(P=!1);let O=()=>(0,h.A)(A.current),I=()=>(k.current.modalRef=C.current,k.current.mount=A.current,k.current),M=()=>{x.mount(I(),{disableScrollLock:i}),C.current&&(C.current.scrollTop=0)},L=(0,f.A)(()=>{let e=v(t)||O().body;x.add(I(),e),C.current&&M()}),N=()=>x.isTopModal(I()),R=(0,f.A)(e=>{A.current=e,e&&(u&&N()?M():C.current&&(0,y.M)(C.current,P))}),j=n.useCallback(()=>{x.remove(I(),P)},[P]);n.useEffect(()=>()=>{j()},[j]),n.useEffect(()=>{u?L():T&&a||j()},[u,j,T,a,L]);let D=e=>t=>{var n;null==(n=e.onKeyDown)||n.call(e,t),"Escape"===t.key&&229!==t.which&&N()&&!r&&(t.stopPropagation(),c&&c(t,"escapeKeyDown"))},F=e=>t=>{var r;null==(r=e.onClick)||r.call(e,t),t.target===t.currentTarget&&c&&c(t,"backdropClick")};return{getRootProps:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=(0,g.A)(e);delete r.onTransitionEnter,delete r.onTransitionExited;let n={...r,...t};return{role:"presentation",...n,onKeyDown:D(n),ref:S}},getBackdropProps:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e;return{"aria-hidden":!0,...t,onClick:F(t),open:u}},getTransitionProps:()=>{var e,t;let r=()=>{_(!1),o&&o()},n=()=>{_(!0),s&&s(),a&&j()};return{onEnter:(0,m.A)(r,null!=(e=null==l?void 0:l.props.onEnter)?e:w),onExited:(0,m.A)(n,null!=(t=null==l?void 0:l.props.onExited)?t:w)}},rootRef:S,portalRef:R,isTopModal:N,exited:E,hasTransition:T}};var A=r(71003),C=r(24055),S=r(6029);let E=e=>{let{open:t,exited:r,classes:n}=e,i={root:["root",!t&&r&&"hidden"],backdrop:["backdrop"]};return(0,a.A)(i,A.M,n)},_=(0,l.Ay)("div",{name:"MuiModal",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,!r.open&&r.exited&&t.hidden]}})((0,c.A)(e=>{let{theme:t}=e;return{position:"fixed",zIndex:(t.vars||t).zIndex.modal,right:0,bottom:0,top:0,left:0,variants:[{props:e=>{let{ownerState:t}=e;return!t.open&&t.exited},style:{visibility:"hidden"}}]}})),T=(0,l.Ay)(d.A,{name:"MuiModal",slot:"Backdrop",overridesResolver:(e,t)=>t.backdrop})({zIndex:-1}),P=n.forwardRef(function(e,t){let r=(0,u.b)({name:"MuiModal",props:e}),{BackdropComponent:a=T,BackdropProps:l,classes:c,className:d,closeAfterTransition:p=!1,children:h,container:f,component:m,components:g={},componentsProps:y={},disableAutoFocus:v=!1,disableEnforceFocus:b=!1,disableEscapeKeyDown:w=!1,disablePortal:x=!1,disableRestoreFocus:A=!1,disableScrollLock:P=!1,hideBackdrop:O=!1,keepMounted:I=!1,onBackdropClick:M,onClose:L,onTransitionEnter:N,onTransitionExited:R,open:j,slotProps:D={},slots:F={},theme:V,...B}=r,z={...r,closeAfterTransition:p,disableAutoFocus:v,disableEnforceFocus:b,disableEscapeKeyDown:w,disablePortal:x,disableRestoreFocus:A,disableScrollLock:P,hideBackdrop:O,keepMounted:I},{getRootProps:$,getBackdropProps:U,getTransitionProps:q,portalRef:H,isTopModal:Y,exited:W,hasTransition:G}=k({...z,rootRef:t}),K={...z,exited:W},J=E(K),X={};if(void 0===h.props.tabIndex&&(X.tabIndex="-1"),G){let{onEnter:e,onExited:t}=q();X.onEnter=e,X.onExited=t}let Q={slots:{root:g.Root,backdrop:g.Backdrop,...F},slotProps:{...y,...D}},[Z,ee]=(0,C.A)("root",{ref:t,elementType:_,externalForwardedProps:{...Q,...B,component:m}
40,getSlotProps:$,ownerState:K,className:(0,i.A)(d,null==J?void 0:J.root,!K.open&&K.exited&&(null==J?void 0:J.hidden))}),[et,er]=(0,C.A)("backdrop",{ref:null==l?void 0:l.ref,elementType:a,externalForwardedProps:Q,shouldForwardComponentProp:!0,additionalProps:l,getSlotProps:e=>U({...e,onClick:t=>{M&&M(t),(null==e?void 0:e.onClick)&&e.onClick(t)}}),className:(0,i.A)(null==l?void 0:l.className,null==J?void 0:J.backdrop),ownerState:K});return I||j||G&&!W?(0,S.jsx)(s.A,{ref:H,container:f,disablePortal:x,children:(0,S.jsxs)(Z,{...ee,children:[!O&&a?(0,S.jsx)(et,{...er}):null,(0,S.jsx)(o.A,{disableEnforceFocus:b,disableAutoFocus:v,disableRestoreFocus:A,isEnabled:Y,open:j,children:n.cloneElement(h,X)})]})}):null})},54328:(e,t,r)=>{"use strict";r.d(t,{N:()=>s});var n=r(2860),i=r(82203),a=r.n(i),o=r(84660);let s=e=>{let{children:t,className:r,target:i,...s}=e;return(0,n.Y)(a(),{className:(0,o.Q)("text-grayscale-800 select-none text-sm no-underline underline-offset-2 hover:underline",r),target:null!=i?i:"_blank",...s,children:t})}},54352:(e,t,r)=>{"use strict";function n(e,t){return(e<0?"-":"")+Math.abs(e).toString().padStart(t,"0")}r.d(t,{F:()=>n})},54434:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(50212);function i(e,t){if(!e)return t;if("function"==typeof e||"function"==typeof t)return r=>{let i="function"==typeof t?t(r):t,a="function"==typeof e?e({...r,...i}):e,o=(0,n.A)(null==r?void 0:r.className,null==i?void 0:i.className,null==a?void 0:a.className);return{...i,...a,...!!o&&{className:o},...(null==i?void 0:i.style)&&(null==a?void 0:a.style)&&{style:{...i.style,...a.style}},...(null==i?void 0:i.sx)&&(null==a?void 0:a.sx)&&{sx:[...Array.isArray(i.sx)?i.sx:[i.sx],...Array.isArray(a.sx)?a.sx:[a.sx]]}}};let r=t,i=(0,n.A)(null==r?void 0:r.className,null==e?void 0:e.className);return{...t,...e,...!!i&&{className:i},...(null==r?void 0:r.style)&&(null==e?void 0:e.style)&&{style:{...r.style,...e.style}},...(null==r?void 0:r.sx)&&(null==e?void 0:e.sx)&&{sx:[...Array.isArray(r.sx)?r.sx:[r.sx],...Array.isArray(e.sx)?e.sx:[e.sx]]}}}},54570:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n,i=r(55729);let a=0;function o(e){let[t,r]=i.useState(e),n=e||t;return i.useEffect(()=>{null==t&&(a+=1,r("mui-".concat(a)))},[t]),n}let s={...n||(n=r.t(i,2))}.useId;function l(e){if(void 0!==s){let t=s();return null!=e?e:t}return o(e)}},54636:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(55729),i=r(2422);let a=function(e){let t=n.useRef(e);return(0,i.A)(()=>{t.current=e}),n.useRef(function(){for(var e=arguments.length,r=Array(e),n=0;n<e;n++)r[n]=arguments[n];return(0,t.current)(...r)}).current}},54828:()=>{},55259:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(58309);let i=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],a=(0,n.A)("chevron-right",i)},55328:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{pollFrequency:1e3,retries:100,parent:window},n=r.pollFrequency,i=void 0===n?1e3:n,a=r.retries,o=void 0===a?100:a,s=r.parent,l=void 0===s?window:s;if(l&&l.hasOwnProperty(t))return Promise.resolve(l[t]);if(!o)return Promise.resolve(void 0);var c=o-1;return new Promise(function(e){return setTimeout(e,"function"==typeof i?i({retries:c}):i)}).then(function(){return e(t,{pollFrequency:i,parent:l,retries:c})})}},55572:(e,t)=>{"use strict";var r,n=Symbol.for("react.transitional.element"),i=Symbol.for("react.portal"),a=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),s=Symbol.for("react.profiler"),l=Symbol.for("react.consumer"),c=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),m=Symbol.for("react.view_transition"),g=Symbol.for("react.client.reference");function y(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case a:case s:case o:case d:case p:case m:return e;default:switch(e=e&&e.$$typeof){case c:case u:case f:case h:case l:return e;default:return t}}case i:return t}}}r=l,r=c,r=n,r=u,r=a,r=f,r=h,r=i,r=s,r=o,r=d,r=p,r=function(e){return y(e)===l},r=function(e){return y(e)===c},r=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},r=function(e){return y(e)===u},r=function(e){return y(e)===a},r=function(e){return y(e)===f},r=function(e){return y(e)===h},r=function(e){return y(e)===i}
40,r=function(e){return y(e)===s},r=function(e){return y(e)===o},r=function(e){return y(e)===d},r=function(e){return y(e)===p},t.Hy=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===s||e===o||e===d||e===p||"object"==typeof e&&null!==e&&(e.$$typeof===f||e.$$typeof===h||e.$$typeof===c||e.$$typeof===l||e.$$typeof===u||e.$$typeof===g||void 0!==e.getModuleId)||!1},r=y},56121:(e,t,r)=>{e.exports=r(61847)()},56202:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=function(e,t,r){return"function"==typeof e?e(t,r):e}},56555:(e,t,r)=>{"use strict";r.d(t,{E:()=>i});var n=r(55729);let i="undefined"!=typeof window?n.useLayoutEffect:n.useEffect},56792:(e,t,r)=>{"use strict";r.d(t,{J0:()=>o,V1:()=>n,yp:()=>a});let n={couponDiscount:0,hasAiTutorAddon:!1,aiTutorAddonDiscount:0},i=e=>Number(e)||0,a=e=>{var t,r,n;let{checkedCookieItems:a,priceInfo:o}=e,s=a.some(e=>"subscription_plan"===e.productableType),l=a.some(e=>"subscription_plan"!==e.productableType);return{couponDiscount:(null==o||null==(t=o.couponInfo)?void 0:t.status)==="valid"?i(null==o||null==(r=o.couponInfo)?void 0:r.discount):0,hasAiTutorAddon:s&&l,aiTutorAddonDiscount:i(null==o||null==(n=o.aiTutorAddonInfo)?void 0:n.discount)}},o=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n;return{coupon_discount:e.couponDiscount,has_ai_tutor_addon:e.hasAiTutorAddon,ai_tutor_addon_discount:e.aiTutorAddonDiscount}}},56801:(e,t,r)=>{"use strict";r.d(t,{A:()=>s}),r(55729);var n=r(36690),i=r(47759),a=r(13934),o=r(6029);let s=function(e){return(0,o.jsx)(n.A,{...e,defaultTheme:i.A,themeId:a.A})}},57136:(e,t,r)=>{"use strict";r.d(t,{u:()=>a});var n=r(2860);r(55729);var i=r(34416);let a=e=>{let{faqNumber:t,title:r,content:a,children:o,renderImage:s}=e;return(0,n.Y)(i.n,{className:"border-grayscale-100 border-0 border-b border-solid p-4",title:"Q".concat(t," ").concat(r),content:a,children:(0,n.FD)(n.FK,{children:[o,s?s():null]})})}},57165:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>m});var n=r(55729),i=r(27133),a=r(45594),o=r(93214),s=r(48297);let l=()=>{},c=l();new WeakMap;let u=n.use||(e=>{switch(e.status){case"pending":throw e;case"fulfilled":return e.value;case"rejected":throw e.reason;default:throw e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e}}),d={dedupe:!0},p=Promise.resolve(a.U),h=()=>a.A,f=(e,t,r)=>{let{cache:l,compare:c,suspense:f,fallbackData:m,revalidateOnMount:g,revalidateIfStale:y,refreshInterval:v,refreshWhenHidden:b,refreshWhenOffline:w,keepPreviousData:x,strictServerPrefetchWarning:k}=r,[A,C,S,E]=a.b.get(l),[_,T]=(0,a.s)(e),P=(0,n.useRef)(!1),O=(0,n.useRef)(!1),I=(0,n.useRef)(_),M=(0,n.useRef)(t),L=(0,n.useRef)(r),N=()=>L.current,R=()=>N().isVisible()&&N().isOnline(),[j,D,F,V]=(0,a.z)(l,_),B=(0,n.useRef)({}).current,z=(0,a.e)(m)?(0,a.e)(r.fallback)?a.U:r.fallback[_]:m,$=(e,t)=>{for(let r in B){let n=r;if("data"===n){if(!c(e[n],t[n])&&(!(0,a.e)(e[n])||!c(X,t[n])))return!1}else if(t[n]!==e[n])return!1}return!0},U=!P.current,q=(0,n.useMemo)(()=>{let e=j(),r=V(),n=e=>{let r=(0,a.m)(e);return(delete r._k,(()=>{if(!_||!t||N().isPaused())return!1;if(U&&!(0,a.e)(g))return g;let e=(0,a.e)(z)?r.data:z;return(0,a.e)(e)||y})())?{isValidating:!0,isLoading:!0,...r}:r},i=n(e),o=e===r?i:n(r),s=i;return[()=>{let e=n(j());return $(e,s)?(s.data=e.data,s.isLoading=e.isLoading,s.isValidating=e.isValidating,s.error=e.error,s):(s=e,e)},()=>o]},[l,_]),H=(0,i.useSyncExternalStore)((0,n.useCallback)(e=>F(_,(t,r)=>{$(r,t)||e()}),[l,_]),q[0],q[1]),Y=A[_]&&A[_].length>0,W=H.data,G=(0,a.e)(W)?z&&(0,a.B)(z)?u(z):z:W,K=H.error,J=(0,n.useRef)(G),X=x?(0,a.e)(W)?(0,a.e)(J.current)?G:J.current:W:G,Q=_&&(0,a.e)(G),Z=(0,n.useRef)(null);a.I||(0,i.useSyncExternalStore)(h,()=>(Z.current=!1,Z),()=>(Z.current=!0,Z));let ee=Z.current;k&&ee&&!f&&Q&&console.warn(`Missing pre-initiated data for serialized key "${_}" during server-side rendering. Data fetching should be initiated on the server and provided to SWR via fallback data. You can set "strictServerPrefetchWarning: false" to disable this warning.`);let et=!(!_||!t||N().isPaused())&&(!Y||!!(0,a.e)(K))&&(U&&!(0,a.e)(g)?g:f?!(0,a.e)(G)&&y:(0,a.e)(G)||y),er=U&&et,en=(0,a.e)(H.isValidating)?er:H.isValidating,ei=(0,a.e)(H.isLoading)?er:H.isLoading,ea=(0,n.useCallback)(async e=>{let t,n,i=M.current;if(!_||!i||O.current||N().isPaused())return!1;let s=!0,l=e||{},u=!S[_]||!l.dedupe,d=()=>a.r?!O.current&&_===I.current&&P.current:_===I.current,p={isValidating:!1,isLoading:!1},h=()=>{D(p)},f=()=>{let e=S[_];e&&e[1]===n&&delete S[_]},m={isValidating:!0};(0,a.e)(j().data)&&(m.isLoading=!0);try{if(u&&(D(m),r.loadingTimeout&&(0,a.e)(j().data)&&setTimeout(()=>{s&&d()&&N().onLoadingSlow(_,r)},r.loadingTimeout),S[_]=[i(T),(0,a.o)()]),[t,n]=S[_],t=await t,u&&setTimeout(f,r.dedupingInterval),!S[_]||S[_][1]!==n)return u&&d()&&N().onDiscarded(_),!1;p.error=a.U;let e=C[_];if(!(0,a.e)(e)&&(n<=e[0]||n<=e[1]||0===e[1]))return h(),u&&d()&&N().onDiscarded(_),!1;let o=j().data;p.data=c(o,t)?o:t,u&&d()&&N().onSuccess(t,_,r)}catch(r){f();let e=N(),{shouldRetryOnError:t}=e;!e.isPaused()&&(p.error=r,u&&d()&&(e.onError(r,_,e),(!0===t||(0,a.a)(t)&&t(r))&&(!N().revalidateOnFocus||!N().revalidateOnReconnect||R())&&e.onErrorRetry(r,_,e,e=>{let t=A[_];t&&t[0]&&t[0](o.I0,e)},{retryCount:(l.retryCount||0)+1,dedupe:!0})))}return s=!1,h(),!0},[_,l]),eo=(0,n.useCallback)((...e)=>(0,a.n)(l,I.current,...e),[]);if((0,a.u)(()=>{M.current=t,L.current=r,(0,a.e)(W)||(J.current=W)}),(0,a.u)(()=>
40{if(!_)return;let e=ea.bind(a.U,d),t=0;N().revalidateOnFocus&&(t=Date.now()+N().focusThrottleInterval);let r=(r,n={})=>{if(r==o.CC){let r=Date.now();N().revalidateOnFocus&&r>t&&R()&&(t=r+N().focusThrottleInterval,e())}else if(r==o.jB)N().revalidateOnReconnect&&R()&&e();else if(r==o.q2)return ea();else if(r==o.I0)return ea(n)},n=(0,s.aw)(_,A,r);return O.current=!1,I.current=_,P.current=!0,D({_k:T}),et&&!S[_]&&((0,a.e)(G)||a.I?e():(0,a.t)(e)),()=>{O.current=!0,n()}},[_]),(0,a.u)(()=>{let e;function t(){let t=(0,a.a)(v)?v(j().data):v;t&&-1!==e&&(e=setTimeout(r,t))}function r(){!j().error&&(b||N().isVisible())&&(w||N().isOnline())?ea(d).then(t):t()}return t(),()=>{e&&(clearTimeout(e),e=-1)}},[v,b,w,_]),(0,n.useDebugValue)(X),f){if(!a.r&&a.I&&Q)throw Error("Fallback data is required when using Suspense in SSR.");Q&&(M.current=t,L.current=r,O.current=!1);let e=E[_];if(u(!(0,a.e)(e)&&Q?eo(e):p),!(0,a.e)(K)&&Q)throw K;let n=Q?ea(d):p;!(0,a.e)(X)&&Q&&(n.status="fulfilled",n.value=!0),u(n)}return{mutate:eo,get data(){return B.data=!0,X},get error(){return B.error=!0,K},get isValidating(){return B.isValidating=!0,en},get isLoading(){return B.isLoading=!0,ei}}};a.O.defineProperty(a.g,"defaultValue",{value:a.d});let m=(0,s.qm)(f)},57406:(e,t,r)=>{var n=i();function i(){return Object.assign?Object.assign:function(e,t,r,n){for(var i=1;i<arguments.length;i++)c(Object(arguments[i]),function(t,r){e[r]=t});return e}}function a(){if(Object.create)return function(e,t,r,i){var a=l(arguments,1);return n.apply(this,[Object.create(e)].concat(a))};function e(){}return function(t,r,i,a){var o=l(arguments,1);return e.prototype=t,n.apply(this,[new e].concat(o))}}function o(){return String.prototype.trim?function(e){return String.prototype.trim.call(e)}:function(e){return e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}}function s(e,t){return function(){return t.apply(e,Array.prototype.slice.call(arguments,0))}}function l(e,t){return Array.prototype.slice.call(e,t||0)}function c(e,t){d(e,function(e,r){return t(e,r),!1})}function u(e,t){var r=p(e)?[]:{};return d(e,function(e,n){return r[n]=t(e,n),!1}),r}function d(e,t){if(p(e)){for(var r=0;r<e.length;r++)if(t(e[r],r))return e[r]}else for(var n in e)if(e.hasOwnProperty(n)&&t(e[n],n))return e[n]}function p(e){return null!=e&&"function"!=typeof e&&"number"==typeof e.length}function h(e){return e&&"[object Function]"===({}).toString.call(e)}function f(e){return e&&"[object Object]"===({}).toString.call(e)}e.exports={assign:n,create:a(),trim:o(),bind:s,slice:l,each:c,map:u,pluck:d,isList:p,isFunction:h,isObject:f,Global:"undefined"!=typeof window?window:r.g}},57431:(e,t,r)=>{"use strict";r.d(t,{A:()=>c,x:()=>a});var n=r(50970),i=r(76277);let a={UTM_SOURCE:"utm_source",UTM_MEDIUM:"utm_medium",UTM_CAMPAIGN:"utm_campaign",UTM_CONTENT:"utm_content",UTM_AD_SET:"utm_ad_set"},o=Object.values(a),s="WuUtm",l=()=>{let e=new URLSearchParams(new URL(decodeURIComponent(encodeURIComponent(window.location))).search),t={};return o.forEach(r=>{let n=e.get(r);n&&(t[r]=n)}),t},c={saveToCookie:()=>{let e=l();if((0,n.A)(e))return;let t=30,r=new Date(new Date().getTime()+60*t*1e3);i.A.set({key:s,value:JSON.stringify(e),expires:r,domain:".wordup.com.tw"})},getFromCookie:()=>i.A.get(s,!0),parse:l}},57827:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return n}});let n=r(30758)._(r(55729)).default.createContext(null)},58196:(e,t,r)=>{var n=r(30968),i=r(53387),a=[r(95436)];e.exports=n.createStore(i,a)},58309:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var n=r(55729);let i=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),a=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase()),o=e=>{let t=a(e);return t.charAt(0).toUpperCase()+t.slice(1)},s=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim()},l=e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0};var c={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let u=(0,n.forwardRef)((e,t)=>{let{color:r="currentColor",size:i=24,strokeWidth:a=2,absoluteStrokeWidth:o,className:u="",children:d,iconNode:p,...h}=e;return(0,n.createElement)("svg",{ref:t,...c,width:i,height:i,stroke:r,strokeWidth:o?24*Number(a)/Number(i):a,className:s("lucide",u),...!d&&!l(h)&&{"aria-hidden":"true"},...h},[...p.map(e=>{let[t,r]=e;return(0,n.createElement)(t,r)}),...Array.isArray(d)?d:[d]])}),d=(e,t)=>{let r=(0,n.forwardRef)((r,a)=>{let{className:l,...c}=r;return(0,n.createElement)(u,{ref:a,iconNode:t,className:s("lucide-".concat(i(o(e))),"lucide-".concat(e),l),...c})});return r.displayName=o(e),r}},58342:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=r(54636).A},58429:(e,t,r)=>{"use strict";let n,i,a;r.d(t,{P:()=>ld});let o=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],s=new Set(o),l=(e,t,r)=>r>t?t:r<e?e:r,c={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},u={...c,transform:e=>l(0,1,e)},d={...c,default:1},p=e=>Math.round(1e5*e)/1e5,h=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function f(e){return null==e}let m=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,g=(e,t)=>r=>!!("string"==typeof r&&m.test(r)&&r.startsWith(e)||t&&!f(r)&&Object.prototype.hasOwnProperty.call(r,t)),y=(e,t,r)=>n=>{if("string"!=typeof n)return n;let[i,a,o,s]=n.match(h);return{[e]:parseFloat(i),[t]:parseFloat(a),[r]:parseFloat(o),alpha:void 0!==s?parseFloat(s):1}},v=e=>l(0,255,e),b={...c,transform:e=>Math.round(v(e))},w={test:g("rgb","red"),parse:y("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:n=1})=>"rgba("+b.transform(e)+", "+b.transform(t)+", "+b.transform(r)+", "+p(u.transform(n))+")"};function x(e){let t="",r="",n="",i="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),n=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),n=e.substring(3,4),i=e.substring(4,5),t+=t,r+=r,n+=n,i+=i),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(n,16),alph
40a:i?parseInt(i,16)/255:1}}let k={test:g("#"),parse:x,transform:w.transform},A=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),C=A("deg"),S=A("%"),E=A("px"),_=A("vh"),T=A("vw"),P={...S,parse:e=>S.parse(e)/100,transform:e=>S.transform(100*e)},O={test:g("hsl","hue"),parse:y("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:n=1})=>"hsla("+Math.round(e)+", "+S.transform(p(t))+", "+S.transform(p(r))+", "+p(u.transform(n))+")"},I={test:e=>w.test(e)||k.test(e)||O.test(e),parse:e=>w.test(e)?w.parse(e):O.test(e)?O.parse(e):k.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?w.transform(e):O.transform(e),getAnimatableNone:e=>{let t=I.parse(e);return t.alpha=0,I.transform(t)}},M=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,L="number",N="color",R="var",j="var(",D="${}",F=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function V(e){let t=e.toString(),r=[],n={color:[],number:[],var:[]},i=[],a=0,o=t.replace(F,e=>(I.test(e)?(n.color.push(a),i.push(N),r.push(I.parse(e))):e.startsWith(j)?(n.var.push(a),i.push(R),r.push(e)):(n.number.push(a),i.push(L),r.push(parseFloat(e))),++a,D)).split(D);return{values:r,split:o,indexes:n,types:i}}function B({split:e,types:t}){let r=e.length;return n=>{let i="";for(let a=0;a<r;a++)if(i+=e[a],void 0!==n[a]){let e=t[a];e===L?i+=p(n[a]):e===N?i+=I.transform(n[a]):i+=n[a]}return i}}let z=e=>"number"==typeof e?0:I.test(e)?I.getAnimatableNone(e):e,$=(e,t)=>"number"==typeof e?t?.trim().endsWith("/")?e:0:z(e),U={test:function(e){return isNaN(e)&&"string"==typeof e&&(e.match(h)?.length||0)+(e.match(M)?.length||0)>0},parse:function(e){return V(e).values},createTransformer:function(e){return B(V(e))},getAnimatableNone:function(e){let t=V(e);return B(t)(t.values.map((e,r)=>$(e,t.split[r])))}},q=new Set(["brightness","contrast","saturate","opacity"]);function H(e){let[t,r]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[n]=r.match(h)||[];if(!n)return e;let i=r.replace(n,""),a=+!!q.has(t);return n!==r&&(a*=100),t+"("+a+i+")"}let Y=/\b([a-z-]*)\(.*?\)/gu,W={...U,getAnimatableNone:e=>{let t=e.match(Y);return t?t.map(H).join(" "):e}},G={...U,getAnimatableNone:e=>{let t=U.parse(e);return U.createTransformer(e)(t.map(e=>"number"==typeof e?0:"object"==typeof e?{...e,alpha:1}:e))}},K={...c,transform:Math.round},J={rotate:C,rotateX:C,rotateY:C,rotateZ:C,scale:d,scaleX:d,scaleY:d,scaleZ:d,skew:C,skewX:C,skewY:C,distance:E,translateX:E,translateY:E,translateZ:E,x:E,y:E,z:E,perspective:E,transformPerspective:E,opacity:u,originX:P,originY:P,originZ:E},X={borderWidth:E,borderTopWidth:E,borderRightWidth:E,borderBottomWidth:E,borderLeftWidth:E,borderRadius:E,borderTopLeftRadius:E,borderTopRightRadius:E,borderBottomRightRadius:E,borderBottomLeftRadius:E,width:E,maxWidth:E,height:E,maxHeight:E,top:E,right:E,bottom:E,left:E,inset:E,insetBlock:E,insetBlockStart:E,insetBlockEnd:E,insetInline:E,insetInlineStart:E,insetInlineEnd:E,padding:E,paddingTop:E,paddingRight:E,paddingBottom:E,paddingLeft:E,paddingBlock:E,paddingBlockStart:E,paddingBlockEnd:E,paddingInline:E,paddingInlineStart:E,paddingInlineEnd:E,margin:E,marginTop:E,marginRight:E,marginBottom:E,marginLeft:E,marginBlock:E,marginBlockStart:E,marginBlockEnd:E,marginInline:E,marginInlineStart:E,marginInlineEnd:E,fontSize:E,backgroundPositionX:E,backgroundPositionY:E,...J,zIndex:K,fillOpacity:u,strokeOpacity:u,numOctaves:K},Q={...X,color:I,backgroundColor:I,outlineColor:I,fill:I,stroke:I,borderColor:I,borderTopColor:I,borderRightColor:I,borderBottomColor:I,borderLeftColor:I,filter:W,WebkitFilter:W,mask:G,WebkitMask:G},Z=e=>Q[e],ee=()=>({translate:0,scale:1,origin:0,originPoint:0}),et=()=>({x:ee(),y:ee()}),er=()=>({min:0,max:0}),en=()=>({x:er(),y:er()}),ei=e=>!!(e&&e.getVelocity),ea=new Set(["width","height","top","left","right","bottom",...o]),eo=e=>t=>t.test(e),es=[c,E,S,C,T,_,{test:e=>"auto"===e,parse:e=>e}],el=e=>es.find(eo(e));r(29143);let ec=()=>{},eu=()=>{},ed=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),ep=e=>t=>"string"==typeof t&&t.startsWith(e),eh=ep("--"),ef=ep("var(--"),em=e=>!!ef(e)&&eg.test(e.split("/*")[0].trim()),eg=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function ey(e){return"string"==typeof e&&e.split("/*")[0].includes("var(--")}let ev=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function eb(e){let t=ev.exec(e);if(!t)return[,];let[,r,n,i]=t;return[`--${r??n}`,i]}let ew=4;function ex(e,t,r=1){eu(r<=ew,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[n,i]=eb(e);if(!n)return;let a=window.getComputedStyle(t).getPropertyValue(n);if(a){let e=a.trim();return ed(e)?parseFloat(e):e}return em(i)?ex(i,t,r+1):i}function ek(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}let eA=e=>180*e/Math.PI,eC=e=>eE(eA(Math.atan2(e[1],e[0]))),eS={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:eC,rotateZ:eC,skewX:e=>eA(Math.atan(e[1])),skewY:e=>eA(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},eE=e=>((e%=360)<0&&(e+=360),e),e_=eC,eT=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),eP=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),eO={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:eT,scaleY:eP,scale:e=>(eT(e)+eP(e))/2,rotateX:e=>eE(eA(Math.atan2(e[6],e[5]))),rotateY:e=>eE(eA(Math.atan2(-e[2],e[0]))),rotateZ:e_,rotate:e_,skewX:e=>eA(Math.atan(e[4])),skewY:e=>eA(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function eI(e){return+!!e.includes("scale")}function eM(e,t){let r,n;if(!e||"none"===e)return eI(t);let i=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(i)r=eO,n=i;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=eS,n=t}if(!n)return eI(t);let a=r[t],o=n[1].split(",").map(eN);return"function"==typeof a?a(o):o[a]}let eL=(e,t)=>{let{transform:r="none"}=getComputedStyle(e);return eM(r,t)};function eN(e){return parseFloat(e.trim())}let eR=e=>e===c||e===E,ej=new Set(["x","y","z"]),eD=o.filter(e=>!ej.has(e));function eF(e){let t=[];return eD.forEach(r=>{let n=e.getValue(r);void 0!==n&&(t.push([r,n.get()]),n.set(+!!r.startsWith("scale")))}),t}let eV={width:({x:e},{paddingLeft:t="0",paddingRight:r="0",boxSizing:n})=>{let i=e.max-e.min;return"border-box"===n?i:i-parseFloat(t)-parseFloat(r)},height:({y:e},{paddingTop:t="0",paddingBottom:r="0",boxSizing:n})=>{let i=e.max-e.min;return"border-box"===n?i:i-parseFloat(t)-parseFloat(r)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>eM(t,"x"),y:(e,{transform:t})=>eM(t,"y")};eV.translateX=eV.x,eV.translateY=eV.y;let eB=e=>e,ez={},e$=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],eU={value:null,addProjectionMetrics:null};function eq(e,t){let r=new Set,n=new Set,i=!1,a=!1,o=new WeakSet,s={delta:0,timestamp:0,isProcessing:!1},l=0;function c(t){o.has(t)&&(u.schedule(t),e()),l++,t(s)}let u={schedule:(e,t=!1,a=!1)=>{let s=a&&i?r:n;return t&&o.add(e),s.add(e),e},cancel:e=>{n.delete(e),o.delete(e)},process:e=>{if(s=e,i){a=!0;return}i=!0;let o=r;r=n,n=o,r.forEach(c),t&&eU.value&&eU.value.frameloop[t].push(l),l=0,r.clear(),i=!1,a&&(a=!1,u.process(e))}};return u}let eH=40;function eY(e,t){let r=!1,n=!0,i={delta:0,timestamp:0,isProcessing:!1},a=()=>r=!0,o=e$.reduce((e,r)=>(e[r]=eq(a,t?r:void 0),e),{}),{setup:s,read:l,resolveKeyframes:c,preUpdate:u,update:d,preRender:p,render:h,postRender:f}=o,m=()=>{let a=ez.useManualTiming,o=a?i.timestamp:performance.now();r=!1,a||(i.delta=n?1e3/60:Math.max(Math.min(o-i.timestamp,eH),1)),i.timestamp=o,i.isProcessing=!0,s.process(i),l.process(i),c.process(i),u.process(i),d.process(i),p.process(i),h.process(i),f.process(i),i.isProcessing=!1,r&&t&&(n=!1,e(m))},g=()=>{r=!0,n=!0,i.isProcessing||e(m)};return{schedule:e$.reduce((e,t)=>
40{let n=o[t];return e[t]=(e,t=!1,i=!1)=>(r||g(),n.schedule(e,t,i)),e},{}),cancel:e=>{for(let t=0;t<e$.length;t++)o[e$[t]].cancel(e)},state:i,steps:o}}let{schedule:eW,cancel:eG,state:eK,steps:eJ}=eY("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:eB,!0),eX=new Set,eQ=!1,eZ=!1,e0=!1;function e1(){if(eZ){let e=Array.from(eX).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),r=new Map;t.forEach(e=>{let t=eF(e);t.length&&(r.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=r.get(e);t&&t.forEach(([t,r])=>{e.getValue(t)?.set(r)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}eZ=!1,eQ=!1,eX.forEach(e=>e.complete(e0)),eX.clear()}function e2(){eX.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(eZ=!0)})}function e5(){e0=!0,e2(),e1(),e0=!1}class e3{constructor(e,t,r,n,i,a=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=r,this.motionValue=n,this.element=i,this.isAsync=a}scheduleResolve(){this.state="scheduled",this.isAsync?(eX.add(this),eQ||(eQ=!0,eW.read(e2),eW.resolveKeyframes(e1))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:r,motionValue:n}=this;if(null===e[0]){let i=n?.get(),a=e[e.length-1];if(void 0!==i)e[0]=i;else if(r&&t){let n=r.readValue(t,a);null!=n&&(e[0]=n)}void 0===e[0]&&(e[0]=a),n&&void 0===i&&n.set(e[0])}ek(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),eX.delete(this)}cancel(){"scheduled"===this.state&&(eX.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}let e4=e=>/^0[^.\s]+$/u.test(e);function e6(e){return"number"==typeof e?0===e:null===e||"none"===e||"0"===e||e4(e)}let e9=new Set([W,G]);function e8(e,t){let r=Z(e);return e9.has(r)||(r=U),r.getAnimatableNone?r.getAnimatableNone(t):void 0}let e7=new Set(["auto","none","0"]);function te(e,t,r){let n,i=0;for(;i<e.length&&!n;){let t=e[i];"string"==typeof t&&!e7.has(t)&&V(t).values.length&&(n=e[i]),i++}if(n&&r)for(let i of t)e[i]=e8(r,n)}class tt extends e3{constructor(e,t,r,n,i){super(e,t,r,n,i,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:r}=this;if(!t||!t.current)return;super.readKeyframes();for(let r=0;r<e.length;r++){let n=e[r];if("string"==typeof n&&em(n=n.trim())){let i=ex(n,t.current);void 0!==i&&(e[r]=i),r===e.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!ea.has(r)||2!==e.length)return;let[n,i]=e,a=el(n),o=el(i);if(ey(n)!==ey(i)&&eV[r]){this.needsMeasurement=!0;return}if(a!==o)if(eR(a)&&eR(o))for(let t=0;t<e.length;t++){let r=e[t];"string"==typeof r&&(e[t]=parseFloat(r))}else eV[r]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,r=[];for(let t=0;t<e.length;t++)(null===e[t]||e6(e[t]))&&r.push(t);r.length&&te(e,r,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:r}=this;if(!e||!e.current)return;"height"===r&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=eV[r](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let n=t[t.length-1];void 0!==n&&e.getValue(r,n).jump(n,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:r}=this;if(!e||!e.current)return;let n=e.getValue(t);n&&n.jump(this.measuredOrigin,!1);let i=r.length-1,a=r[i];r[i]=eV[t](e.measureViewportBox(),window.getComputedStyle(e.current)),null!==a&&void 0===this.finalKeyframe&&(this.finalKeyframe=a),this.removedTransforms?.length&&this.removedTransforms.forEac
40h(([t,r])=>{e.getValue(t).set(r)}),this.resolveNoneKeyframes()}}let tr=e=>1e3*e,tn=e=>e/1e3;function ti(e,t){-1===e.indexOf(t)&&e.push(t)}function ta(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}class to{constructor(){this.subscriptions=[]}add(e){return ti(this.subscriptions,e),()=>ta(this.subscriptions,e)}notify(e,t,r){let n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](e,t,r);else for(let i=0;i<n;i++){let n=this.subscriptions[i];n&&n(e,t,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}let ts=e=>e.startsWith("--");function tl(e,t,r){ts(t)?e.style.setProperty(t,r):e.style[t]=r}function tc(e){let t;return()=>(void 0===t&&(t=e()),t)}let tu={};function td(e,t){let r=tc(e);return()=>tu[t]??r()}let tp=td(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),th=e=>null!==e;function tf(e,{repeat:t,repeatType:r="loop"},n,i=1){let a=e.filter(th),o=i<0||t&&"loop"!==r&&t%2==1?0:a.length-1;return o&&void 0!==n?n:a[o]}class tm{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}}let tg={layout:0,mainThread:0,waapi:0},ty=e=>Array.isArray(e)&&"number"==typeof e[0],tv=td(()=>{try{document.createElement("div").animate({opacity:0}
40,{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing"),tb=(e,t,r=10)=>{let n="",i=Math.max(Math.round(t/r),2);for(let t=0;t<i;t++)n+=Math.round(1e4*e(t/(i-1)))/1e4+", ";return`linear(${n.substring(0,n.length-2)})`},tw=([e,t,r,n])=>`cubic-bezier(${e}, ${t}, ${r}, ${n})`,tx={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:tw([0,.65,.55,1]),circOut:tw([.55,0,1,.45]),backIn:tw([.31,.01,.66,-.59]),backOut:tw([.33,1.53,.69,.99])};function tk(e,t){if(e)return"function"==typeof e?tv()?tb(e,t):"ease-out":ty(e)?tw(e):Array.isArray(e)?e.map(e=>tk(e,t)||tx.easeOut):tx[e]}function tA(e,t,r,{delay:n=0,duration:i=300,repeat:a=0,repeatType:o="loop",ease:s="easeOut",times:l}={},c){let u={[t]:r};l&&(u.offset=l);let d=tk(s,i);Array.isArray(d)&&(u.easing=d),eU.value&&tg.waapi++;let p={delay:n,duration:i,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:a+1,direction:"reverse"===o?"alternate":"normal"};c&&(p.pseudoElement=c);let h=e.animate(u,p);return eU.value&&h.finished.finally(()=>{tg.waapi--}),h}function tC(e){return"function"==typeof e&&"applyToOptions"in e}function tS({type:e,...t}){return tC(e)&&tv()?e.applyToOptions(t):(t.duration??(t.duration=300),t.ease??(t.ease="easeOut"),t)}class tE extends tm{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;let{element:t,name:r,keyframes:n,pseudoElement:i,allowFlatten:a=!1,finalKeyframe:o,onComplete:s}=e;this.isPseudoElement=!!i,this.allowFlatten=a,this.options=e,eu("string"!=typeof e.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");let l=tS(e);this.animation=tA(t,r,n,l,i),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let e=tf(n,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(e),tl(t,r,e),this.animation.cancel()}s?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(e){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;"idle"!==e&&"finished"!==e&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){return tn(Number(this.animation.effect?.getComputedTiming?.().duration||0))}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+tn(e)}get time(){return tn(Number(this.animation.currentTime)||0)}set time(e){let t=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=tr(e),t&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:t,rangeEnd:r,observe:n}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&tp())?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),r&&(this.animation.rangeEnd=r),eB):n(this)}}let t_=new Set(["opacity","clipPath","filter","transform"]),{schedule:tT}=eY(queueMicrotask,!1);function tP(){n=void 0}let tO={now:()=>(void 0===n&&tO.set(eK.isProcessing||ez.useManualTiming?eK.timestamp:performance.now()),n),set:e=>{n=e,queueMicrotask(tP)}};function tI(e,t){return t?1e3/t*e:0}let tM=30,tL=e=>!isNaN(parseFloat(e)),tN={current:void 0};class tR{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=tO.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=tO.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=tL(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new to);let r=this.events[e].add(t);return"change"===e?()=>{r(),eW.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,r){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-r}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return tN.current&&tN.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=tO.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>tM)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,tM);return tI(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function tj(e,t){return new tR(e,t)}let tD=[...es,I,U],tF=e=>tD.find(eo(e)),tV=new WeakMap;function tB(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}function tz(e){return"string"==typeof e||Array.isArray(e)}let t$=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],tU=["initial",...t$];function tq(e){return tB(e.animate)||tU.some(t=>tz(e[t]))}function tH(e){return!!(tq(e)||e.variants)}function tY(e,t,r){for(let n in t){let i=t[n],a=r[n];if(ei(i))e.addValue(n,i);else if(ei(a))e.addValue(n,tj(i,{owner:e}));else if(a!==i)if(e.hasValue(n)){let t=e.getValue(n);!0===t.liveStyle?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(n);e.addValue(n,tj(void 0!==t?t:i,{owner:e}))}}for(let n in r)void 0===t[n]&&e.removeValue(n);return t}let tW={current:null},tG={current:!1},tK="undefined"!=typeof window;function tJ(){if(tG.current=!0,tK)if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>tW.current=e.matches;e.addEventListener("change",t),t()}else tW.current=!1}function tX(e){let t=[{},{}];
40return e?.values.forEach((e,r)=>{t[0][r]=e.get(),t[1][r]=e.getVelocity()}),t}function tQ(e,t,r,n){if("function"==typeof t){let[i,a]=tX(n);t=t(void 0!==r?r:e.custom,i,a)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){let[i,a]=tX(n);t=t(void 0!==r?r:e.custom,i,a)}return t}let tZ=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],t0={};function t1(e){t0=e}function t2(){return t0}class t5{scrapeMotionValuesFromProps(e,t,r){return{}}constructor({parent:e,props:t,presenceContext:r,reducedMotionConfig:n,skipAnimations:i,blockInitialAnimation:a,visualState:o},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=e3,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let e=tO.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,eW.render(this.render,!1,!0))};let{latestValues:l,renderState:c}=o;this.latestValues=l,this.baseTarget={...l},this.initialValues=t.initial?{...l}:{},this.renderState=c,this.parent=e,this.props=t,this.presenceContext=r,this.depth=e?e.depth+1:0,this.reducedMotionConfig=n,this.skipAnimationsConfig=i,this.options=s,this.blockInitialAnimation=!!a,this.isControllingVariants=tq(t),this.isVariantNode=tH(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:u,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in d){let t=d[e];void 0!==l[e]&&ei(t)&&t.set(l[e])}}mount(e){if(this.hasBeenMounted)for(let e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];this.current=e,tV.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((e,t)=>this.bindToMotionValue(t,e)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(tG.current||tJ(),this.shouldReduceMotion=tW.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){for(let e in this.projection&&this.projection.unmount(),eG(this.notifyUpdate),eG(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){let r;if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&t_.has(e)&&this.current instanceof HTMLElement){let{factory:r,keyframes:n,times:i,ease:a,duration:o}=t.accelerate,s=new tE({element:this.current,name:e,keyframes:n,times:i,ease:a,duration:tr(o)}),l=r(s);this.valueSubscriptions.set(e,()=>{l(),s.cancel()});return}let n=s.has(e);n&&this.onBindTransform&&this.onBindTransform();let i=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&eW.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"undefined"!=typeof window&&window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{i(),r&&r(),t.owner&&t.stop()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in t0){let t=t0[e];if(!t)continue;let{isEnabled:r,Feature:n}=t;if(!this.features[e]&&n&&r(this.props)&&(this.features[e]=new n(this)),this.features[e]){let t=this.features[e];
40t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):en()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<tZ.length;t++){let r=tZ[t];this.propEventSubscriptions[r]&&(this.propEventSubscriptions[r](),delete this.propEventSubscriptions[r]);let n=e["on"+r];n&&(this.propEventSubscriptions[r]=this.on(r,n))}this.prevMotionValues=tY(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let r=this.values.get(e);t!==r&&(r&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let r=this.values.get(e);return void 0===r&&void 0!==t&&(r=tj(null===t?void 0:t,{owner:this}),this.addValue(e,r)),r}readValue(e,t){let r=void 0===this.latestValues[e]&&this.current?this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];return null!=r&&("string"==typeof r&&(ed(r)||e4(r))?r=parseFloat(r):!tF(r)&&U.test(t)&&(r=e8(e,t)),this.setBaseTarget(e,ei(r)?r.get():r)),ei(r)?r.get():r}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let t,{initial:r}=this.props;if("string"==typeof r||"object"==typeof r){let n=tQ(this.props,r,this.presenceContext?.custom);n&&(t=n[e])}if(r&&void 0!==t)return t;let n=this.getBaseTargetFromProps(this.props,e);return void 0===n||ei(n)?void 0!==this.initialValues[e]&&void 0===t?void 0:this.baseTarget[e]:n}on(e,t){return this.events[e]||(this.events[e]=new to),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){tT.render(this.render)}}class t3 extends t5{constructor(){super(...arguments),this.KeyframeResolver=tt}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){let r=e.style;return r?r[t]:void 0}removeValueFromRenderState(e,{vars:t,style:r}){delete t[e],delete r[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;ei(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}function t4(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}let t6=(e,t)=>t&&"number"==typeof e?t.transform(e):e,t9={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},t8=o.length;function t7(e,t,r){let n="",i=!0;for(let a=0;a<t8;a++){let s=o[a],l=e[s];if(void 0===l)continue;let c=!0;if("number"==typeof l)c=l===+!!s.startsWith("scale");else{let e=parseFloat(l);c=s.startsWith("scale")?1===e:0===e}if(!c||r){let e=t6(l,X[s]);if(!c){i=!1;let t=t9[s]||s;n+=`${t}(${e}) `}r&&(t[s]=e)}}return n=n.trim(),r?n=r(t,i?"":n):i&&(n="none"),n}function re(e,t,r){let{style:n,vars:i,transformOrigin:a}=e,o=!1,l=!1;for(let e in t){let r=t[e];if(s.has(e)){o=!0;continue}if(eh(e)){i[e]=r;continue}{let t=t6(r,X[e]);e.startsWith("origin")?(l=!0,a[e]=t):n[e]=t}}if(!t.transform&&(o||r?n.transform=t7(t,e.transform,r):n.transform&&(n.transform="none")),l){let{originX:e="50%",originY:t="50%",originZ:r=0}=a;n.transformOrigin=`${e} ${t} ${r}`}}let rt={offset:"stroke-dashoffset",array:"stroke-dasharray"},rr={offset:"strokeDashoffset",array:"strokeDasharray"};function rn(e,t,r=1,n=0,i=!0){e.pathLength=1;let a=i?rt:rr;e[a.offset]=`${-n}`,e[a.array]=`${t} ${r}`}let ri=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function ra(e,{attrX:t,attrY:r,attrScale:n,pathLength:i,pathSpacing:a=1,pathOffset:o=0,...s}
40,l,c,u){if(re(e,s,c),l){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:p}=e;for(let e of(d.transform&&(p.transform=d.transform,delete d.transform),(p.transform||d.transformOrigin)&&(p.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),p.transform&&(p.transformBox=u?.transformBox??"fill-box",delete d.transformBox),ri))void 0!==d[e]&&(p[e]=d[e],delete d[e]);void 0!==t&&(d.x=t),void 0!==r&&(d.y=r),void 0!==n&&(d.scale=n),void 0!==i&&rn(d,i,a,o,!1)}let ro=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),rs=e=>"string"==typeof e&&"svg"===e.toLowerCase();function rl(e,{style:t,vars:r},n,i){let a,o=e.style;for(a in t)o[a]=t[a];for(a in i?.applyProjectionStyles(o,n),r)o.setProperty(a,r[a])}function rc(e,t,r,n){for(let r in rl(e,t,void 0,n),t.attrs)e.setAttribute(ro.has(r)?r:t4(r),t.attrs[r])}function ru(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let rd={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e)if(!E.test(e))return e;else e=parseFloat(e);let r=ru(e,t.target.x),n=ru(e,t.target.y);return`${r}% ${n}%`}},rp=(e,t,r)=>e+(t-e)*r,rh={correct:(e,{treeScale:t,projectionDelta:r})=>{let n=e,i=U.parse(e);if(i.length>5)return n;let a=U.createTransformer(e),o=+("number"!=typeof i[0]),s=r.x.scale*t.x,l=r.y.scale*t.y;i[0+o]/=s,i[1+o]/=l;let c=rp(s,l,.5);return"number"==typeof i[2+o]&&(i[2+o]/=c),"number"==typeof i[3+o]&&(i[3+o]/=c),a(i)}},rf={borderRadius:{...rd,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:rd,borderTopRightRadius:rd,borderBottomLeftRadius:rd,borderBottomRightRadius:rd,boxShadow:rh};function rm(e,{layout:t,layoutId:r}){return s.has(e)||e.startsWith("origin")||(t||void 0!==r)&&(!!rf[e]||"opacity"===e)}function rg(e,t,r){let n=e.style,i=t?.style,a={};if(!n)return a;for(let t in n)(ei(n[t])||i&&ei(i[t])||rm(t,e)||r?.getValue(t)?.liveStyle!==void 0)&&(a[t]=n[t]);return a}function ry(e,t,r){let n=rg(e,t,r);for(let r in e)(ei(e[r])||ei(t[r]))&&(n[-1!==o.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=e[r]);return n}class rv extends t3{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=en}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(s.has(t)){let e=Z(t);return e&&e.default||0}return t=ro.has(t)?t:t4(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,r){return ry(e,t,r)}build(e,t,r){ra(e,t,this.isSVGTag,r.transformTemplate,r.style)}renderInstance(e,t,r,n){rc(e,t,r,n)}mount(e){this.isSVGTag=rs(e.tagName),super.mount(e)}}function rb({top:e,left:t,right:r,bottom:n}){return{x:{min:t,max:r},y:{min:e,max:n}}}function rw({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function rx(e,t){if(!t)return e;let r=t({x:e.left,y:e.top}),n=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:n.y,right:n.x}}function rk(e){return void 0===e||1===e}function rA({scale:e,scaleX:t,scaleY:r}){return!rk(e)||!rk(t)||!rk(r)}function rC(e){return rA(e)||rS(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function rS(e){return rE(e.x)||rE(e.y)}function rE(e){return e&&"0%"!==e}function r_(e,t,r){let n=t*(e-r);return r+n}function rT(e,t,r,n,i){return void 0!==i&&(e=r_(e,i,n)),r_(e,r,n)+t}function rP(e,t=0,r=1,n,i){e.min=rT(e.min,t,r,n,i),e.max=rT(e.max,t,r,n,i)}function rO(e,{x:t,y:r}){rP(e.x,t.translate,t.scale,t.originPoint),rP(e.y,r.translate,r.scale,r.originPoint)}let rI=.999999999999,rM=1.0000000000001;function rL(e,t,r,n=!1){let i,a,o=r.length;if(o){t.x=t.y=1;for(let s=0;s<o;s++){a=(i=r[s]).projectionDelta;let{visualElement:o}=i.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(n&&i.options.layoutScroll&&i.scroll&&i!==i.root&&(rN(e.x,-i.scroll.offset.x),rN(e.y,-i.scroll.offset.y)),a&&(t.x*=a.x.scale,t.y*=a.y.scale,rO(e,a)),n&&rC(i.latestValues)&&rD(e,i.latestValues,i.layout?.layoutBox))}t.x<rM&&t.x>rI&&(t.x=1),t.y<rM&&t.y>rI&&(t.y=1)}}function rN(e,t){e.min+=t,e.max+=t}function rR(e,t,r,n,i=.5){let a=rp(e.min,e.max,i);rP(e,t,r,a,n)}function rj(e,t){return"string"==typeof e?parseFloat(e)/100*(t.max-t.min):e}function rD(e,t,r){let n=r??e;rR(e.x,rj(t.x,n.x),t.scaleX,t.scale,t.originX),rR(e.y,rj(t.y,n.y),t.scaleY,t.scale,t.originY)}function rF(e,t){return rb(rx(e.getBoundingClientRect(),t))}function rV(e,t,r){let n=rF(e,r),{scroll:i}=t;return i&&(rN(n.x,i.offset.x),rN(n.y,i.offset.y)),n}function rB(e){return window.getComputedStyle(e)}class rz extends t3{constructor(){super(...arguments),this.type="html",this.renderInstance=rl}readValueFromInstance(e,t){if(s.has(t))return this.projection?.isProjecting?eI(t):eL(e,t);{let r=rB(e),n=(eh(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(e,{transformPagePoint:t}){return rF(e,t)}build(e,t,r){re(e,t,r.transformTemplate)}scrapeMotionValuesFromProps(e,t,r){return rg(e,t,r)}}var r$=r(55729);let rU=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function rq(e){if("string"!=typeof e||e.includes("-"));else if(rU.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}let rH=(e,t)=>t.isSVG??rq(e)?new rv(t):new rz(t,{allowProjection:e!==r$.Fragment});var rY=r(6029),rW=r(36027);let rG=(0,r$.createContext)({strict:!1});var rK=r(2514);let rJ=(0,r$.createContext)({});function rX(e,t){if(tq(e)){let{initial:t,animate:r}=e;return{initial:!1===t||tz(t)?t:void 0,animate:tz(r)?r:void 0}}return!1!==e.inherit?t:{}}function rQ(e){let{initial:t,animate:r}=rX(e,(0,r$.useContext)(rJ));return(0,r$.useMemo)(()=>({initial:t,animate:r}),[rZ(t),rZ(r)])}function rZ(e){return Array.isArray(e)?e.join(" "):e}let r0=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function r1(e,t,r){for(let n in t)ei(t[n])||rm(n,r)||(e[n]=t[n])}function r2({transformTemplate:e},t){return(0,r$.useMemo)(()=>{let r=r0();return re(r,t,e),Object.assign({},r.vars,r.style)}
40,[t])}function r5(e,t){let r=e.style||{},n={};return r1(n,r,e),Object.assign(n,r2(e,t)),n}function r3(e,t){let r={},n=r5(e,t);return e.drag&&!1!==e.dragListener&&(r.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=n,r}let r4=()=>({...r0(),attrs:{}});function r6(e,t,r,n){let i=(0,r$.useMemo)(()=>{let r=r4();return ra(r,t,rs(n),e.transformTemplate,e.style),{...r.attrs,style:{...r.style}}},[t]);if(e.style){let t={};r1(t,e.style,e),i.style={...t,...i.style}}return i}let r9=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function r8(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||r9.has(e)}let r7=e=>!r8(e);function ne(e){"function"==typeof e&&(r7=t=>t.startsWith("on")?!r8(t):e(t))}try{let e="@emotion/is-prop-valid";ne(require(e).default)}catch{}function nt(e,t,r){let n={};for(let i in e)("values"!==i||"object"!=typeof e.values)&&!ei(e[i])&&(r7(i)||!0===r&&r8(i)||!t&&!r8(i)||e.draggable&&i.startsWith("onDrag"))&&(n[i]=e[i]);return n}function nr(e,t,r,{latestValues:n},i,a=!1,o){let s=(o??rq(e)?r6:r3)(t,n,i,e),l=nt(t,"string"==typeof e,a),c=e!==r$.Fragment?{...l,...s,ref:r}:{},{children:u}=t,d=(0,r$.useMemo)(()=>ei(u)?u.get():u,[u]);return(0,r$.createElement)(e,{...c,children:d})}function nn(e){return ei(e)?e.get():e}var ni=r(32639),na=r(53255);function no({scrapeMotionValuesFromProps:e,createRenderState:t},r,n,i){return{latestValues:ns(r,n,i,e),renderState:t()}}function ns(e,t,r,n){let i={},a=n(e,{});for(let e in a)i[e]=nn(a[e]);let{initial:o,animate:s}=e,l=tq(e),c=tH(e);t&&c&&!l&&!1!==e.inherit&&(void 0===o&&(o=t.initial),void 0===s&&(s=t.animate));let u=!!r&&!1===r.initial,d=(u=u||!1===o)?s:o;if(d&&"boolean"!=typeof d&&!tB(d)){let t=Array.isArray(d)?d:[d];for(let r=0;r<t.length;r++){let n=tQ(e,t[r]);if(n){let{transitionEnd:e,transition:t,...r}=n;for(let e in r){let t=r[e];if(Array.isArray(t)){let e=u?t.length-1:0;t=t[e]}null!==t&&(i[e]=t)}for(let t in e)i[t]=e[t]}}}return i}let nl=e=>(t,r)=>{let n=(0,r$.useContext)(rJ),i=(0,r$.useContext)(ni.t),a=()=>no(e,t,n,i);return r?a():(0,na.M)(a)},nc=nl({scrapeMotionValuesFromProps:rg,createRenderState:r0}),nu=nl({scrapeMotionValuesFromProps:ry,createRenderState:r4}),nd={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},np=!1;function nh(){if(np)return;let e={};for(let t in nd)e[t]={isEnabled:e=>nd[t].some(t=>!!e[t])};t1(e),np=!0}function nf(){return nh(),t2()}function nm(e){let t=nf();for(let r in e)t[r]={...t[r],...e[r]};t1(t)}let ng=Symbol.for("motionComponentSymbol");function ny(e,t,r){let n=(0,r$.useRef)(r);(0,r$.useInsertionEffect)(()=>{n.current=r});let i=(0,r$.useRef)(null);return(0,r$.useCallback)(r=>{r&&e.onMount?.(r);let a=n.current;if("function"==typeof a)if(r){let e=a(r);"function"==typeof e&&(i.current=e)}else i.current?(i.current(),i.current=null):a(r);else a&&(a.current=r);t&&(r?t.mount(r):t.unmount())},[t])}let nv="data-"+t4("framerAppearId"),nb=(0,r$.createContext)({});function nw(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}var nx=r(56555);function nk(e,t,r,n,i,a){let{visualElement:o}=(0,r$.useContext)(rJ),s=(0,r$.useContext)(rG),l=(0,r$.useContext)(ni.t),c=(0,r$.useContext)(rK.Q),u=c.reducedMotion,d=c.skipAnimations,p=(0,r$.useRef)(null),h=(0,r$.useRef)(!1);n=n||s.renderer,!p.current&&n&&(p.current=n(e,{visualState:t,parent:o,props:r,presenceContext:l,blockInitialAnimation:!!l&&!1===l.initial,reducedMotionConfig:u,skipAnimations:d,isSVG:a}),h.current&&p.current&&(p.current.manuallyAnimateOnMount=!0));let f=p.current,m=(0,r$.useContext)(nb);f&&!f.projection&&i&&("html"===f.type||"svg"===f.type)&&nA(p.current,r,i,m);let g=(0,r$.useRef)(!1);(0,r$.useInsertionEffect)(()=>{f&&g.current&&f.update(r,l)});let y=r[nv],v=(0,r$.useRef)(!!y&&"undefined"!=typeof window&&!window.MotionHandoffIsComplete?.(y)&&window.MotionHasOptimisedAnimation?.(y));return(0,nx.E)(()=>{h.current=!0,f&&(g.current=!0,window.MotionIsMounted=!0,f.updateFeatures(),f.scheduleRenderMicrotask(),v.current&&f.animationState&&f.animationState.animateChanges())}),(0,r$.useEffect)(()=>{f&&(!v.current&&f.animationState&&f.animationState.animateChanges(),v.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(y)}),v.current=!1),f.enteringChildren=void 0)}),f}function nA(e,t,r,n){let{layoutId:i,layout:a,drag:o,dragConstraints:s,layoutScroll:l,layoutRoot:c,layoutAnchor:u,layoutCrossfade:d}=t;e.projection=new r(e.latestValues,t["data-framer-portal-id"]?void 0:nC(e.parent)),e.projection.setOptions({layoutId:i,layout:a,alwaysMeasureLayout:!!o||s&&nw(s),visualElement:e,animationType:"string"==typeof a?a:"both",initialPromotionConfig:n,crossfade:d,layoutScroll:l,layoutRoot:c,layoutAnchor:u})}function nC(e){if(e)return!1!==e.options.allowProjection?e.projection:nC(e.parent)}function nS(e,{forwardMotionProps:t=!1,type:r}={},n,i){n&&nm(n);let a=r?"svg"===r:rq(e),o=a?nu:nc;function s(r,s){let l,c={...(0,r$.useContext)(rK.Q),...r,layoutId:nE(r)},{isStatic:u}=c,d=rQ(r),p=o(r,u);if(!u&&"undefined"!=typeof window){n_(c,n);let t=nT(c);l=t.MeasureLayout,d.visualElement=nk(e,p,c,i,t.ProjectionNode,a)}return(0,rY.jsxs)(rJ.Provider,{value:d,children:[l&&d.visualElement?(0,rY.jsx)(l,{visualElement:d.visualElement,...c}):null,nr(e,r,ny(p,d.visualElement,s),p,u,t,a)]})}s.displayName=`motion.${"string"==typeof e?e:`create(${e.displayName??e.name??""})`}`;let l=(0,r$.forwardRef)(s);return l[ng]=e,l}function nE({layoutId:e}){let t=(0,r$.useContext)(rW.L).id;return t&&void 0!==e?t+"-"+e:e}function n_(e,t){(0,r$.useContext)(rG).strict}function nT(e){let{drag:t,layout:r}=nf();if(!t&&!r)return{};let n={...t,...r};return{MeasureLayout:t?.isEnabled(e)||r?.isEnabled(e)?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}
40function nP(e,t){if("undefined"==typeof Proxy)return nS;let r=new Map,n=(r,n)=>nS(r,n,e,t);return new Proxy((e,t)=>n(e,t),{get:(i,a)=>"create"===a?n:(r.has(a)||r.set(a,nS(a,void 0,e,t)),r.get(a))})}class nO{constructor(e){this.isMounted=!1,this.node=e}update(){}}function nI(e,t,r){let n=e.getProps();return tQ(n,t,void 0!==r?r:n.custom,e)}function nM(e,t){if(e?.inherit&&t){let{inherit:r,...n}=e;return{...t,...n}}return e}function nL(e,t){let r=e?.[t]??e?.default??e;return r!==e?nM(r,e):r}let nN=e=>Array.isArray(e);function nR(e,t,r){e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,tj(r))}function nj(e){return nN(e)?e[e.length-1]||0:e}function nD(e,t){let{transitionEnd:r={},transition:n={},...i}=nI(e,t)||{};for(let t in i={...i,...r}){let r=nj(i[t]);nR(e,t,r)}}function nF(e){return!!(ei(e)&&e.add)}function nV(e,t){let r=e.getValue("willChange");if(nF(r))return r.add(t);if(!r&&ez.WillChange){let r=new ez.WillChange("auto");e.addValue("willChange",r),r.add(t)}}function nB(e){return e.props[nv]}let nz=(e,t)=>r=>t(e(r)),n$=(...e)=>e.reduce(nz);function nU(e,t,r){return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?e+(t-e)*6*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function nq({hue:e,saturation:t,lightness:r,alpha:n}){e/=360,r/=100;let i=0,a=0,o=0;if(t/=100){let n=r<.5?r*(1+t):r+t-r*t,s=2*r-n;i=nU(s,n,e+1/3),a=nU(s,n,e),o=nU(s,n,e-1/3)}else i=a=o=r;return{red:Math.round(255*i),green:Math.round(255*a),blue:Math.round(255*o),alpha:n}}function nH(e,t){return r=>r>0?t:e}let nY=(e,t,r)=>{let n=e*e,i=r*(t*t-n)+n;return i<0?0:Math.sqrt(i)},nW=[k,w,O],nG=e=>nW.find(t=>t.test(e));function nK(e){let t=nG(e);if(ec(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!t)return!1;let r=t.parse(e);return t===O&&(r=nq(r)),r}let nJ=(e,t)=>{let r=nK(e),n=nK(t);if(!r||!n)return nH(e,t);let i={...r};return e=>(i.red=nY(r.red,n.red,e),i.green=nY(r.green,n.green,e),i.blue=nY(r.blue,n.blue,e),i.alpha=rp(r.alpha,n.alpha,e),w.transform(i))},nX=new Set(["none","hidden"]);function nQ(e,t){return nX.has(e)?r=>r<=0?e:t:r=>r>=1?t:e}function nZ(e,t){return r=>rp(e,t,r)}function n0(e){return"number"==typeof e?nZ:"string"==typeof e?em(e)?nH:I.test(e)?nJ:n3:Array.isArray(e)?n1:"object"==typeof e?I.test(e)?nJ:n2:nH}function n1(e,t){let r=[...e],n=r.length,i=e.map((e,r)=>n0(e)(e,t[r]));return e=>{for(let t=0;t<n;t++)r[t]=i[t](e);return r}}function n2(e,t){let r={...e,...t},n={};for(let i in r)void 0!==e[i]&&void 0!==t[i]&&(n[i]=n0(e[i])(e[i],t[i]));return e=>{for(let t in n)r[t]=n[t](e);return r}}function n5(e,t){let r=[],n={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let a=t.types[i],o=e.indexes[a][n[a]],s=e.values[o]??0;r[i]=s,n[a]++}return r}let n3=(e,t)=>{let r=U.createTransformer(t),n=V(e),i=V(t);return n.indexes.var.length===i.indexes.var.length&&n.indexes.color.length===i.indexes.color.length&&n.indexes.number.length>=i.indexes.number.length?nX.has(e)&&!i.values.length||nX.has(t)&&!n.values.length?nQ(e,t):n$(n1(n5(n,i),i.values),r):(ec(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),nH(e,t))};function n4(e,t,r){return"number"==typeof e&&"number"==typeof t&&"number"==typeof r?rp(e,t,r):n0(e)(e,t)}let n6=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>eW.update(t,e),stop:()=>eG(t),now:()=>eK.isProcessing?eK.timestamp:tO.now()}},n9=2e4;function n8(e){let t=0,r=50,n=e.next(t);for(;!n.done&&t<n9;)t+=r,n=e.next(t);return t>=n9?1/0:t}function n7(e,t=100,r){let n=r({...e,keyframes:[0,t]}),i=Math.min(n8(n),n9);return{type:"keyframes",ease:e=>n.next(i*e).value/t,duration:tn(i)}}let ie={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function it(e,t){return e*Math.sqrt(1-t*t)}let ir=12;function ii(e,t,r){let n=r;for(let r=1;r<ir;r++)n-=e(n)/t(n);return n}let ia=.001;function io({duration:e=ie.duration,bounce:t=ie.bounce,velocity:r=ie.velocity,mass:n=ie.mass}){let i,a;ec(e<=tr(ie.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let o=1-t;o=l(ie.minDamping,ie.maxDamping,o),e=l(ie.minDuration,ie.maxDuration,tn(e)),o<1?(i=t=>{let n=t*o,i=n*e;return ia-(n-r)/it(t,o)*Math.exp(-i)},a=t=>{let n=t*o*e,a=n*r+r,s=Math.pow(o,2)*Math.pow(t,2)*e,l=Math.exp(-n),c=it(Math.pow(t,2),o);return(a-s)*l*(-i(t)+ia>0?-1:1)/c}):(i=t=>-ia+Math.exp(-t*e)*((t-r)*e+1),a=t=>e*e*(r-t)*Math.exp(-t*e));let s=ii(i,a,5/e);if(e=tr(e),isNaN(s))return{stiffness:ie.stiffness,damping:ie.damping,duration:e};{let t=Math.pow(s,2)*n;return{stiffness:t,damping:2*o*Math.sqrt(n*t),duration:e}}}let is=["duration","bounce"],il=["stiffness","damping","mass"];function ic(e,t){return t.some(t=>void 0!==e[t])}function iu(e){let t={velocity:ie.velocity,stiffness:ie.stiffness,damping:ie.damping,mass:ie.mass,isResolvedFromDuration:!1,...e};if(!ic(e,il)&&ic(e,is))if(t.velocity=0,e.visualDuration){let r=2*Math.PI/(1.2*e.visualDuration),n=r*r,i=2*l(.05,1,1-(e.bounce||0))*Math.sqrt(n);t={...t,mass:ie.mass,stiffness:n,damping:i}}else{let r=io({...e,velocity:0});(t={...t,...r,mass:ie.mass}).isResolvedFromDuration=!0}return t}function id(e=ie.visualDuration,t=ie.bounce){let r,n,i,a,o,s,l="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e,{restSpeed:c,restDelta:u}
40=l,d=l.keyframes[0],p=l.keyframes[l.keyframes.length-1],h={done:!1,value:d},{stiffness:f,damping:m,mass:g,duration:y,velocity:v,isResolvedFromDuration:b}=iu({...l,velocity:-tn(l.velocity||0)}),w=v||0,x=m/(2*Math.sqrt(f*g)),k=p-d,A=tn(Math.sqrt(f/g)),C=5>Math.abs(k);if(c||(c=C?ie.restSpeed.granular:ie.restSpeed.default),u||(u=C?ie.restDelta.granular:ie.restDelta.default),x<1)i=it(A,x),a=(w+x*A*k)/i,r=e=>p-Math.exp(-x*A*e)*(a*Math.sin(i*e)+k*Math.cos(i*e)),o=x*A*a+k*i,s=x*A*k-a*i,n=e=>Math.exp(-x*A*e)*(o*Math.sin(i*e)+s*Math.cos(i*e));else if(1===x){r=e=>p-Math.exp(-A*e)*(k+(w+A*k)*e);let e=w+A*k;n=t=>Math.exp(-A*t)*(A*e*t-w)}else{let e=A*Math.sqrt(x*x-1);r=t=>{let r=Math.exp(-x*A*t),n=Math.min(e*t,300);return p-r*((w+x*A*k)*Math.sinh(n)+e*k*Math.cosh(n))/e};let t=(w+x*A*k)/e,i=x*A*t-k*e,a=x*A*k-t*e;n=t=>{let r=Math.exp(-x*A*t),n=Math.min(e*t,300);return r*(i*Math.sinh(n)+a*Math.cosh(n))}}let S={calculatedDuration:b&&y||null,velocity:e=>tr(n(e)),next:e=>{if(!b&&x<1){let t=Math.exp(-x*A*e),r=Math.sin(i*e),n=Math.cos(i*e),l=p-t*(a*r+k*n);return h.done=Math.abs(tr(t*(o*r+s*n)))<=c&&Math.abs(p-l)<=u,h.value=h.done?p:l,h}let t=r(e);return b?h.done=e>=y:h.done=Math.abs(tr(n(e)))<=c&&Math.abs(p-t)<=u,h.value=h.done?p:t,h},toString:()=>{let e=Math.min(n8(S),n9),t=tb(t=>S.next(e*t).value,e,30);return e+"ms "+t},toTransition:()=>{}};return S}id.applyToOptions=e=>{let t=n7(e,100,id);return e.ease=t.ease,e.duration=tr(t.duration),e.type="keyframes",e};let ip=5;function ih(e,t,r){let n=Math.max(t-ip,0);return tI(r-e(n),t-n)}function im({keyframes:e,velocity:t=0,power:r=.8,timeConstant:n=325,bounceDamping:i=10,bounceStiffness:a=500,modifyTarget:o,min:s,max:l,restDelta:c=.5,restSpeed:u}){let d,p,h=e[0],f={done:!1,value:h},m=e=>void 0!==s&&e<s||void 0!==l&&e>l,g=e=>void 0===s?l:void 0===l||Math.abs(s-e)<Math.abs(l-e)?s:l,y=r*t,v=h+y,b=void 0===o?v:o(v);b!==v&&(y=b-h);let w=e=>-y*Math.exp(-e/n),x=e=>b+w(e),k=e=>{let t=w(e),r=x(e);f.done=Math.abs(t)<=c,f.value=f.done?b:r},A=e=>{m(f.value)&&(d=e,p=id({keyframes:[f.value,g(f.value)],velocity:ih(x,e,f.value),damping:i,stiffness:a,restDelta:c,restSpeed:u}))};return A(0),{calculatedDuration:null,next:e=>{let t=!1;return(p||void 0!==d||(t=!0,k(e),A(e)),void 0!==d&&e>=d)?p.next(e-d):(t||k(e),f)}}}let ig=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e,iy=1e-7,iv=12;function ib(e,t,r,n,i){let a,o,s=0;do(a=ig(o=t+(r-t)/2,n,i)-e)>0?r=o:t=o;while(Math.abs(a)>iy&&++s<iv);return o}function iw(e,t,r,n){if(e===t&&r===n)return eB;let i=t=>ib(t,0,1,e,r);return e=>0===e||1===e?e:ig(i(e),t,n)}let ix=iw(.42,0,1,1),ik=iw(0,0,.58,1),iA=iw(.42,0,.58,1),iC=e=>Array.isArray(e)&&"number"!=typeof e[0],iS=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,iE=e=>t=>1-e(1-t),i_=iw(.33,1.53,.69,.99),iT=iE(i_),iP=iS(iT),iO=e=>e>=1?1:(e*=2)<1?.5*iT(e):.5*(2-Math.pow(2,-10*(e-1))),iI=e=>1-Math.sin(Math.acos(e)),iM=iE(iI),iL=iS(iI),iN={linear:eB,easeIn:ix,easeInOut:iA,easeOut:ik,circIn:iI,circInOut:iL,circOut:iM,backIn:iT,backInOut:iP,backOut:i_,anticipate:iO},iR=e=>"string"==typeof e,ij=e=>{if(ty(e)){eu(4===e.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[t,r,n,i]=e;return iw(t,r,n,i)}return iR(e)?(eu(void 0!==iN[e],`Invalid easing type '${e}'`,"invalid-easing-type"),iN[e]):e},iD=(e,t,r)=>{let n=t-e;return 0===n?1:(r-e)/n};function iF(e,t,r){let n=[],i=r||ez.mix||n4,a=e.length-1;for(let r=0;r<a;r++){let a=i(e[r],e[r+1]);t&&(a=n$(Array.isArray(t)?t[r]||eB:t,a)),n.push(a)}return n}function iV(e,t,{clamp:r=!0,ease:n,mixer:i}={}){let a=e.length;if(eu(a===t.length,"Both input and output ranges must be the same length","range-length"),1===a)return()=>t[0];if(2===a&&t[0]===t[1])return()=>t[1];let o=e[0]===e[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=iF(t,n,i),c=s.length,u=r=>{if(o&&r<e[0])return t[0];let n=0;if(c>1)for(;n<e.length-2&&!(r<e[n+1]);n++);let i=iD(e[n],e[n+1],r);return s[n](i)};return r?t=>u(l(e[0],e[a-1],t)):u}function iB(e,t){let r=e[e.length-1];for(let n=1;n<=t;n++){let i=iD(0,t,n);e.push(rp(r,1,i))}}function iz(e){let t=[0];return iB(t,e.length-1),t}function i$(e,t){return e.map(e=>e*t)}function iU(e,t){return e.map(()=>t||iA).splice(0,e.length-1)}function iq({duration:e=300,keyframes:t,times:r,ease:n="easeInOut"}){let i=iC(n)?n.map(ij):ij(n),a={done:!1,value:t[0]},o=iV(i$(r&&r.length===t.length?r:iz(t),e),t,{ease:Array.isArray(i)?i:iU(t,i)});return{calculatedDuration:e,next:t=>(a.value=o(t),a.done=t>=e,a)}}let iH={decay:im,inertia:im,tween:iq,keyframes:iq,spring:id};function iY(e){"string"==typeof e.type&&(e.type=iH[e.type])}let iW=e=>e/100;class iG extends tm{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:e}=this.options;e&&e.updatedAt!==tO.now()&&this.tick(tO.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},tg.mainThread++,this.options=e,this.initAnimation(),this.play(),!1===e.autoplay&&this.pause()}initAnimation(){let{options:e}=this;iY(e);let{type:t=iq,repeat:r=0,repeatDelay:n=0,repeatType:i,velocity:a=0}=e,{keyframes:o}=e,s=t||iq;s!==iq&&"number"!=typeof o[0]&&(this.mixKeyframes=n$(iW,n4(o[0],o[1])),o=[0,100]);let l=s({...e,keyframes:o});"mirror"===i&&(this.mirroredGenerator=s({...e,keyframes:[...o].reverse(),velocity:-a})),null===l.calculatedDuration&&(l.calculatedDuration=n8(l));let{calculatedDuration:c}=l;this.calculatedDuration=c,this.resolvedDuration=c+n,this.totalDuration=this.resolvedDuration*(r+1)-n,this.generator=l}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=t}tick(e,t=!1){let r,{generator:n,totalDuration:i,mixKeyframes:a,mirroredGenerator:o,resolvedDuration:s,calculatedDuration:c}=this;if(null===this.startTime)return n.next(0);let{delay:u=0,keyframes:d,repeat:p,repeatType:h,repeatDelay:f,type:m,onUpdate:g,finalKeyframe:y}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-i/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let v=this.currentTime-u*(this.playbackSpeed>=0?1:-1),b=this.playbackSpeed>=0?v<0:v>i;this.currentTime=Math.max(v,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=i);let w=this.currentTime,x=n;if(p){let e=Math.min(this.currentTime,i)/s,t=Math.floor(e),r=e%1;!r&&e>=1&&(r=1),1===r&&t--,(t=Math.min(t,p+1))%2&&("reverse"===h?(r=1-r,f&&(r-=f/s)):"mirror"===h&&(x=o)),w=l(0,1,r)*s}b?(this.delayState.value=d[0],r=this.delayState):r=x.next(w),a&&!b&&(r.value=a(r.value));let{done:k}=r;b||null===c||(k=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);let A=null===this.holdTime&&("finished"===this.state||"running"===this.state&&k);return A&&m!==im&&(r.value=tf(d,this.options,y,this.speed)),g&&g(r.value),A&&this.finish(),r}then(e,t){return this.finished.then(e,t)}get duration(){return tn(this.calculatedDuration)}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+tn(e)}get time(){return tn(this.currentTime)}set time(e){e=tr(e),this.currentTime=e,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=e,this.tick(e))}getGeneratorVelocity(){let e=this.currentTime;if(e<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(e);let t=this.generator.next(e).value;return ih(e=>this.generator.next(e).value,e,t)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(tO.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=tn(this.currentTime))}play(){if(this.isStopped)return;let{driver:e=n6,startTime:t}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),this.options.onPlay?.();let r=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=r):null!==this.holdTime?this.startTime=r-this.holdTime:this.startTime||(this.startTime=t??r),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(tO.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,tg.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),e.observe(this)}}let iK={anticipate:iO,backInOut:iP,circInOut:iL};function iJ(e){return e in iK}function iX(e){"string"==typeof e.ease&&iJ(e.ease)&&(e.ease=iK[e.ease])}let iQ=10;class iZ extends tE{constructor(e){iX(e),iY(e),super(e),void 0!==e.startTime&&!1!==e.autoplay&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:r,onComplete:n,element:i,...a}=this.options;if(!t)return;if(void 0!==e)return void t.set(e);let o=new iG({...a,autoplay:!1}),s=Math.max(iQ,tO.now()-this.startTime),c=l(0,iQ,s-iQ),u=o.sample(s).value,{name:d}=this.options;i&&d&&tl(i,d,u),t.setWithVelocity(o.sample(Math.max(0,s-c)).value,u,c),o.stop()}}let i0=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(U.test(e)||"0"===e)&&!e.startsWith("url("));function i1(e){let t=e[0];if(1===e.length)return!0;for(let r=0;r<e.length;r++)if(e[r]!==t)return!0}function i2(e,t,r,n){let i=e[0];if(null===i)return!1;if("display"===t||"visibility"===t)return!0;let a=e[e.length-1],o=i0(i,t),s=i0(a,t);return ec(o===s,`You are trying to animate ${t} from "${i}" to "${a}". "${o?a:i}" is not an animatable value.`,"value-not-animatable"),!!o&&!!s&&(i1(e)||("spring"===r||tC(r))&&n)}function i5(e){e.duration=0,e.type="keyframes"}let i3=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function i4(e){for(let t=0;t<e.length;t++)if("string"==typeof e[t]&&i3.test(e[t]))return!0;return!1}let i6=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),i9=tc(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function i8(e){let{motionValue:t,name:r,repeatDelay:n,repeatType:i,damping:a,type:o,keyframes:s}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;
40let{onUpdate:l,transformTemplate:c}=t.owner.getProps();return i9()&&r&&(t_.has(r)||i6.has(r)&&i4(s))&&("transform"!==r||!c)&&!l&&!n&&"mirror"!==i&&0!==a&&"inertia"!==o}let i7=40;class ae extends tm{constructor({autoplay:e=!0,delay:t=0,type:r="keyframes",repeat:n=0,repeatDelay:i=0,repeatType:a="loop",keyframes:o,name:s,motionValue:l,element:c,...u}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=tO.now();let d={autoplay:e,delay:t,type:r,repeat:n,repeatDelay:i,repeatType:a,name:s,motionValue:l,element:c,...u},p=c?.KeyframeResolver||e3;this.keyframeResolver=new p(o,(e,t,r)=>this.onKeyframesResolved(e,t,d,!r),s,l,c),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,r,n){let i;this.keyframeResolver=void 0;let{name:a,type:o,velocity:s,delay:l,isHandoff:c,onUpdate:u}=r;this.resolvedAt=tO.now();let d=!0;i2(e,a,o,s)||(d=!1,(ez.instantAnimations||!l)&&u?.(tf(e,r,t)),e[0]=e[e.length-1],i5(r),r.repeat=0);let p={startTime:n?this.resolvedAt&&this.resolvedAt-this.createdAt>i7?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...r,keyframes:e},h=d&&!c&&i8(p),f=p.motionValue?.owner?.current;if(h)try{i=new iZ({...p,element:f})}catch{i=new iG(p)}else i=new iG(p);i.finished.then(()=>{this.notifyFinished()}).catch(eB),this.pendingTimeline&&(this.stopTimeline=i.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=i}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),e5()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}let at={type:"spring",stiffness:500,damping:25,restSpeed:10},ar=e=>({type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}),an={type:"keyframes",duration:.8},ai={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},aa=(e,{keyframes:t})=>t.length>2?an:s.has(e)?e.startsWith("scale")?ar(t[1]):at:ai,ao=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]);function as(e){for(let t in e)if(!ao.has(t))return!0;return!1}let al=(e,t,r,n={},i,a)=>o=>{let s=nL(n,e)||{},l=s.delay||n.delay||0,{elapsed:c=0}=n;c-=tr(l);let u={keyframes:Array.isArray(r)?r:[null,r],ease:"easeOut",velocity:t.getVelocity(),...s,delay:-c,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{o(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:a?void 0:i};as(s)||Object.assign(u,aa(e,u)),u.duration&&(u.duration=tr(u.duration)),u.repeatDelay&&(u.repeatDelay=tr(u.repeatDelay)),void 0!==u.from&&(u.keyframes[0]=u.from);let d=!1;if(!1!==u.type&&(0!==u.duration||u.repeatDelay)||(i5(u),0===u.delay&&(d=!0)),(ez.instantAnimations||ez.skipAnimations||i?.shouldSkipAnimations)&&(d=!0,i5(u),u.delay=0),u.allowFlatten=!s.type&&!s.ease,d&&!a&&void 0!==t.get()){let e=tf(u.keyframes,s);if(void 0!==e)return void eW.update(()=>{u.onUpdate(e),u.onComplete()})}return s.isSync?new iG(u):new ae(u)};function ac({protectedKeys:e,needsAnimating:t},r){let n=e.hasOwnProperty(r)&&!0!==t[r];return t[r]=!1,n}function au(e,t,{delay:r=0,transitionOverride:n,type:i}={}){let{transition:a,transitionEnd:o,...s}=t,l=e.getDefaultTransition();a=a?nM(a,l):l;let c=a?.reduceMotion;n&&(a=n);let u=[],d=i&&e.animationState&&e.animationState.getState()[i];for(let t in s){let n=e.getValue(t,e.latestValues[t]??null),i=s[t];if(void 0===i||d&&ac(d,t))continue;let o={delay:r,...nL(a||{},t)},l=n.get();if(void 0!==l&&!n.isAnimating()&&!Array.isArray(i)&&i===l&&!o.velocity){eW.update(()=>n.set(i));continue}let p=!1;if(window.MotionHandoffAnimation){let r=nB(e);if(r){let e=window.MotionHandoffAnimation(r,t,eW);null!==e&&(o.startTime=e,p=!0)}}nV(e,t);let h=c??e.shouldReduceMotion;n.start(al(t,n,i,h&&ea.has(t)?{type:!1}:o,e,p));let f=n.animation;f&&u.push(f)}if(o){let t=()=>eW.update(()=>{o&&nD(e,o)});u.length?Promise.all(u).then(t):t()}return u}function ad(e,t,r,n=0,i=1){let a=Array.from(e).sort((e,t)=>
40e.sortNodePosition(t)).indexOf(t),o=e.size,s=(o-1)*n;return"function"==typeof r?r(a,o):1===i?a*n:s-a*n}function ap(e,t,r={}){let n=nI(e,t,"exit"===r.type?e.presenceContext?.custom:void 0),{transition:i=e.getDefaultTransition()||{}}=n||{};r.transitionOverride&&(i=r.transitionOverride);let a=n?()=>Promise.all(au(e,n,r)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(n=0)=>{let{delayChildren:a=0,staggerChildren:o,staggerDirection:s}=i;return ah(e,t,n,a,o,s,r)}:()=>Promise.resolve(),{when:s}=i;if(!s)return Promise.all([a(),o(r.delay)]);{let[e,t]="beforeChildren"===s?[a,o]:[o,a];return e().then(()=>t())}}function ah(e,t,r=0,n=0,i=0,a=1,o){let s=[];for(let l of e.variantChildren)l.notify("AnimationStart",t),s.push(ap(l,t,{...o,delay:r+("function"==typeof n?0:n)+ad(e.variantChildren,l,n,i,a)}).then(()=>l.notify("AnimationComplete",t)));return Promise.all(s)}function af(e,t,r={}){let n;if(e.notify("AnimationStart",t),Array.isArray(t))n=Promise.all(t.map(t=>ap(e,t,r)));else if("string"==typeof t)n=ap(e,t,r);else{let i="function"==typeof t?nI(e,t,r.custom):t;n=Promise.all(au(e,i,r))}return n.then(()=>{e.notify("AnimationComplete",t)})}let am=tU.length;function ag(e){if(!e)return;if(!e.isControllingVariants){let t=e.parent&&ag(e.parent)||{};return void 0!==e.props.initial&&(t.initial=e.props.initial),t}let t={};for(let r=0;r<am;r++){let n=tU[r],i=e.props[n];(tz(i)||!1===i)&&(t[n]=i)}return t}function ay(e,t){if(!Array.isArray(t))return!1;let r=t.length;if(r!==e.length)return!1;for(let n=0;n<r;n++)if(t[n]!==e[n])return!1;return!0}let av=[...t$].reverse(),ab=t$.length;function aw(e){return t=>Promise.all(t.map(({animation:t,options:r})=>af(e,t,r)))}function ax(e){let t=aw(e),r=aC(),n=!0,i=!1,a=t=>(r,n)=>{let i=nI(e,n,"exit"===t?e.presenceContext?.custom:void 0);if(i){let{transition:e,transitionEnd:t,...n}=i;r={...r,...n,...t}}return r};function o(o){let{props:s}=e,l=ag(e.parent)||{},c=[],u=new Set,d={},p=1/0;for(let t=0;t<ab;t++){let h=av[t],f=r[h],m=void 0!==s[h]?s[h]:l[h],g=tz(m),y=h===o?f.isActive:null;!1===y&&(p=t);let v=m===l[h]&&m!==s[h]&&g;if(v&&(n||i)&&e.manuallyAnimateOnMount&&(v=!1),f.protectedKeys={...d},!f.isActive&&null===y||!m&&!f.prevProp||tB(m)||"boolean"==typeof m)continue;if("exit"===h&&f.isActive&&!0!==y){f.prevResolvedValues&&(d={...d,...f.prevResolvedValues});continue}let b=ak(f.prevProp,m),w=b||h===o&&f.isActive&&!v&&g||t>p&&g,x=!1,k=Array.isArray(m)?m:[m],A=k.reduce(a(h),{});!1===y&&(A={});let{prevResolvedValues:C={}}=f,S={...C,...A},E=t=>{w=!0,u.has(t)&&(x=!0,u.delete(t)),f.needsAnimating[t]=!0;let r=e.getValue(t);r&&(r.liveStyle=!1)};for(let e in S){let t=A[e],r=C[e];if(d.hasOwnProperty(e))continue;let n=!1;(n=nN(t)&&nN(r)?!ay(t,r):t!==r)?null!=t?E(e):u.add(e):void 0!==t&&u.has(e)?E(e):f.protectedKeys[e]=!0}f.prevProp=m,f.prevResolvedValues=A,f.isActive&&(d={...d,...A}),(n||i)&&e.blockInitialAnimation&&(w=!1);let _=v&&b,T=!_||x;w&&T&&c.push(...k.map(t=>{let r={type:h};if("string"==typeof t&&(n||i)&&!_&&e.manuallyAnimateOnMount&&e.parent){let{parent:n}=e,i=nI(n,t);if(n.enteringChildren&&i){let{delayChildren:t}=i.transition||{};r.delay=ad(n.enteringChildren,e,t)}}return{animation:t,options:r}}))}if(u.size){let t={};if("boolean"!=typeof s.initial){let r=nI(e,Array.isArray(s.initial)?s.initial[0]:s.initial);r&&r.transition&&(t.transition=r.transition)}u.forEach(r=>{let n=e.getBaseTarget(r),i=e.getValue(r);i&&(i.liveStyle=!0),t[r]=n??null}),c.push({animation:t})}let h=!!c.length;return n&&(!1===s.initial||s.initial===s.animate)&&!e.manuallyAnimateOnMount&&(h=!1),n=!1,i=!1,h?t(c):Promise.resolve()}function s(t,n){if(r[t].isActive===n)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,n)),r[t].isActive=n;let i=o(t);for(let e in r)r[e].protectedKeys={};return i}return{animateChanges:o,setActive:s,setAnimateFunction:function(r){t=r(e)},getState:()=>r,reset:()=>{r=aC(),i=!0}}}function ak(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!ay(t,e)}function aA(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function aC(){return{animate:aA(!0),whileInView:aA(),whileHover:aA(),whileTap:aA(),whileDrag:aA(),whileFocus:aA(),exit:aA()}}class aS extends nO{constructor(e){super(e),e.animationState||(e.animationState=ax(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();tB(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let aE=0;class a_ extends nO{constructor(){super(...arguments),this.id=aE++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===r)return;if(e&&!1===r){if(this.isExitComplete){let{initial:e,custom:t}=this.node.getProps();if("string"==typeof e){let r=nI(this.node,e,t);if(r){let{transition:e,transitionEnd:t,...n}=r;for(let e in n)this.node.getValue(e)?.jump(n[e])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}let n=this.node.animationState.setActive("exit",!e);t&&!e&&n.then(()=>
40{this.isExitComplete=!0,t(this.id)})}mount(){let{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}let aT={animation:{Feature:aS},exit:{Feature:a_}},aP={x:!1,y:!1};function aO(){return aP.x||aP.y}function aI(e){if("x"===e||"y"===e)if(aP[e])return null;else return aP[e]=!0,()=>{aP[e]=!1};return aP.x||aP.y?null:(aP.x=aP.y=!0,()=>{aP.x=aP.y=!1})}function aM(e){return[e("x"),e("y")]}let aL=.9999,aN=1.0001,aR=-.01,aj=.01;function aD(e){return e.max-e.min}function aF(e,t,r){return Math.abs(e-t)<=r}function aV(e,t,r,n=.5){e.origin=n,e.originPoint=rp(t.min,t.max,e.origin),e.scale=aD(r)/aD(t),e.translate=rp(r.min,r.max,e.origin)-e.originPoint,(e.scale>=aL&&e.scale<=aN||isNaN(e.scale))&&(e.scale=1),(e.translate>=aR&&e.translate<=aj||isNaN(e.translate))&&(e.translate=0)}function aB(e,t,r,n){aV(e.x,t.x,r.x,n?n.originX:void 0),aV(e.y,t.y,r.y,n?n.originY:void 0)}function az(e,t,r,n=0){e.min=(n?rp(r.min,r.max,n):r.min)+t.min,e.max=e.min+aD(t)}function a$(e,t,r,n){az(e.x,t.x,r.x,n?.x),az(e.y,t.y,r.y,n?.y)}function aU(e,t,r,n=0){let i=n?rp(r.min,r.max,n):r.min;e.min=t.min-i,e.max=e.min+aD(t)}function aq(e,t,r,n){aU(e.x,t.x,r.x,n?.x),aU(e.y,t.y,r.y,n?.y)}let aH=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function aY(e){return aH.has(e.tagName)||!0===e.isContentEditable}let aW=new Set(["INPUT","SELECT","TEXTAREA"]);function aG(e){return aW.has(e.tagName)||!0===e.isContentEditable}function aK(e,t,r,n={passive:!0}){return e.addEventListener(t,r,n),()=>e.removeEventListener(t,r)}var aJ=r(22847);function aX(e){return(0,aJ.G)(e)&&"ownerSVGElement"in e}function aQ(e,t,r){if(null==e)return[];if(e instanceof EventTarget)return[e];if("string"==typeof e){let n=document;t&&(n=t.current);let i=r?.[e]??n.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(e=>null!=e)}let aZ=new WeakMap,a0=(e,t,r)=>(n,i)=>i&&i[0]?i[0][e+"Size"]:aX(n)&&"getBBox"in n?n.getBBox()[t]:n[r],a1=a0("inline","width","offsetWidth"),a2=a0("block","height","offsetHeight");function a5({target:e,borderBoxSize:t}){aZ.get(e)?.forEach(r=>{r(e,{get width(){return a1(e,t)},get height(){return a2(e,t)}})})}function a3(e){e.forEach(a5)}function a4(){"undefined"!=typeof ResizeObserver&&(i=new ResizeObserver(a3))}function a6(e,t){i||a4();let r=aQ(e);return r.forEach(e=>{let r=aZ.get(e);r||(r=new Set,aZ.set(e,r)),r.add(t),i?.observe(e)}),()=>{r.forEach(e=>{let r=aZ.get(e);r?.delete(t),r?.size||i?.unobserve(e)})}}let a9=new Set;function a8(){a=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};a9.forEach(t=>t(e))},window.addEventListener("resize",a)}function a7(e){return a9.add(e),a||a8(),()=>{a9.delete(e),a9.size||"function"!=typeof a||(window.removeEventListener("resize",a),a=void 0)}}function oe(e,t){return"function"==typeof e?a7(e):a6(e,t)}let ot=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function or(e){return{point:{x:e.pageX,y:e.pageY}}}let on=e=>t=>ot(t)&&e(t,or(t));function oi(e,t,r,n){return aK(e,t,on(r),n)}let oa=({current:e})=>e?e.ownerDocument.defaultView:null,oo=(e,t)=>Math.abs(e-t);function os(e,t){return Math.sqrt(oo(e.x,t.x)**2+oo(e.y,t.y)**2)}let ol=new Set(["auto","scroll"]);class oc{constructor(e,t,{transformPagePoint:r,contextWindow:n=window,dragSnapToOrigin:i=!1,distanceThreshold:a=3,element:o}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=e=>{this.handleScroll(e.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=ou(this.lastRawMoveEventInfo,this.transformPagePoint));let e=op(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,r=os(e.offset,{x:0,y:0})>=this.distanceThreshold;if(!t&&!r)return;let{point:n}=e,{timestamp:i}=eK;this.history.push({...n,timestamp:i});let{onStart:a,onMove:o}=this.handlers;t||(a&&a(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),o&&o(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>
40{this.lastMoveEvent=e,this.lastRawMoveEventInfo=t,this.lastMoveEventInfo=ou(t,this.transformPagePoint),eW.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:r,onSessionEnd:n,resumeAnimation:i}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&i&&i(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let a=op("pointercancel"===e.type?this.lastMoveEventInfo:ou(t,this.transformPagePoint),this.history);this.startEvent&&r&&r(e,a),n&&n(e,a)},!ot(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=r,this.distanceThreshold=a,this.contextWindow=n||window;let s=ou(or(e),this.transformPagePoint),{point:l}=s,{timestamp:c}=eK;this.history=[{...l,timestamp:c}];let{onSessionStart:u}=t;u&&u(e,op(s,this.history)),this.removeListeners=n$(oi(this.contextWindow,"pointermove",this.handlePointerMove),oi(this.contextWindow,"pointerup",this.handlePointerUp),oi(this.contextWindow,"pointercancel",this.handlePointerUp)),o&&this.startScrollTracking(o)}startScrollTracking(e){let t=e.parentElement;for(;t;){let e=getComputedStyle(t);(ol.has(e.overflowX)||ol.has(e.overflowY))&&this.scrollPositions.set(t,{x:t.scrollLeft,y:t.scrollTop}),t=t.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(e){let t=this.scrollPositions.get(e);if(!t)return;let r=e===window,n=r?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},i={x:n.x-t.x,y:n.y-t.y};(0!==i.x||0!==i.y)&&(r?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=i.x,this.lastMoveEventInfo.point.y+=i.y):this.history.length>0&&(this.history[0].x-=i.x,this.history[0].y-=i.y),this.scrollPositions.set(e,n),eW.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),eG(this.updatePoint)}}function ou(e,t){return t?{point:t(e.point)}:e}function od(e,t){return{x:e.x-t.x,y:e.y-t.y}}function op({point:e},t){return{point:e,delta:od(e,of(t)),offset:od(e,oh(t)),velocity:om(t,.1)}}function oh(e){return e[0]}function of(e){return e[e.length-1]}function om(e,t){if(e.length<2)return{x:0,y:0};let r=e.length-1,n=null,i=of(e);for(;r>=0&&(n=e[r],!(i.timestamp-n.timestamp>tr(t)));)r--;if(!n)return{x:0,y:0};n===e[0]&&e.length>2&&i.timestamp-n.timestamp>2*tr(t)&&(n=e[1]);let a=tn(i.timestamp-n.timestamp);if(0===a)return{x:0,y:0};let o={x:(i.x-n.x)/a,y:(i.y-n.y)/a};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function og(e,{min:t,max:r},n){return void 0!==t&&e<t?e=n?rp(t,e,n.min):Math.max(e,t):void 0!==r&&e>r&&(e=n?rp(r,e,n.max):Math.min(e,r)),e}function oy(e,t,r){return{min:void 0!==t?e.min+t:void 0,max:void 0!==r?e.max+r-(e.max-e.min):void 0}}function ov(e,{top:t,left:r,bottom:n,right:i}){return{x:oy(e.x,r,i),y:oy(e.y,t,n)}}function ob(e,t){let r=t.min-e.min,n=t.max-e.max;return t.max-t.min<e.max-e.min&&([r,n]=[n,r]),{min:r,max:n}}function ow(e,t){return{x:ob(e.x,t.x),y:ob(e.y,t.y)}}function ox(e,t){let r=.5,n=aD(e),i=aD(t);return i>n?r=iD(t.min,t.max-n,e.min):n>i&&(r=iD(e.min,e.max-i,t.min)),l(0,1,r)}function ok(e,t){let r={};return void 0!==t.min&&(r.min=t.min-e.min),void 0!==t.max&&(r.max=t.max-e.min),r}let oA=.35;function oC(e=oA){return!1===e?e=0:!0===e&&(e=oA),{x:oS(e,"left","right"),y:oS(e,"top","bottom")}}function oS(e,t,r){return{min:oE(e,t),max:oE(e,r)}}function oE(e,t){return"number"==typeof e?e:e[t]||0}let o_=new WeakMap;class oT{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=en(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:t=!1,distanceThreshold:r}={}){let{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let i=e=>{t&&this.snapToCursor(or(e).point),this.stopAnimation()},a=(e,t)=>{let{drag:r,dragPropagation:n,onDragStart:i}=this.getProps();if(r&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock=aI(r),!this.openDragLock))return;this.latestPointerEvent=e,this.latestPanInfo=t,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),aM(e=>{let t=this.getAxisMotionValue(e).get()||0;if(S.test(t)){let{projection:r}=this.visualElement;if(r&&r.layout){let n=r.layout.layoutBox[e];n&&(t=aD(n)*(parseFloat(t)/100))}}this.originPoint[e]=t}),i&&eW.update(()=>i(e,t),!1,!0),nV(this.visualElement,"transform");let{animationState:a}=this.visualElement;a&&a.setActive("whileDrag",!0)},o=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;let{dragPropagation:r,dragDirectionLock:n,onDirectionLock:i,onDrag:a}=this.getProps();if(!r&&!this.openDragLock)return;let{offset:o}=t;if(n&&null===this.currentDirection){this.currentDirection=oM(o),null!==this.currentDirection&&i&&i(this.currentDirection);return}this.updateAxis("x",t.point,o),this.updateAxis("y",t.point,o),this.visualElement.render(),a&&eW.update(()=>a(e,t),!1,!0)},s=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>{let{dragSnapToOrigin:e}=this.getProps();(e||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:c}=this.getProps();this.panSession=new oc(e,{onSessionStart:i,onStart:a,onMove:o,onSessionEnd:s,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:c,distanceThreshold:r,contextWindow:oa(this.visualElement),element:this.visualElement.current})}stop(e,t){let r=e||this.latestPointerEvent,n=t||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!n||!r)return;let{velocity:a}=n;this.startAnimation(a);let{onDragEnd:o}=this.getProps();o&&eW.postRender(()=>o(r,n))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(e,t,r){let{drag:n}=this.getProps();if(!r||!oI(e,n,this.currentDirection))return;let i=this.getAxisMotionValue(e),a=this.originPoint[e]+r[e];this.constraints&&this.constraints[e]&&(a=og(a,this.constraints[e],this.elastic[e])),i.set(a)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,n=this.constraints;e&&nw(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&r?this.constraints=ov(r.layoutBox,e):this.constraints=!1,this.elastic=oC(t),n!==this.constraints&&!nw(e)&&r&&this.constraints&&!this.hasMutatedConstraints&&aM(e=>{!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=ok(r.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){let{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!nw(e))return!1;let r=e.current;eu(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:n}=this.visualElement;if(!n||!n.layout)return!1;let i=rV(r,n.root,this.visualElement.getTransformPagePoint()),a=ow(n.layout.layoutBox,i);if(t){let e=t(rw(a));this.hasMutatedConstraints=!!e,e&&(a=rb(e))}return a}startAnimation(e){let{drag:t,dragMomentum:r,dragElastic:n,dragTransition:i,dragSnapToOrigin:a,onDragTransitionEnd:o}=this.getProps(),s=this.constraints||{};return Promise.all(aM(o=>{if(!oI(o,t,this.currentDirection))return;let l=s&&s[o]||{};(!0===a||a===o)&&(l={min:0,max:0});
40let c=n?200:1e6,u=n?40:1e7,d={type:"inertia",velocity:r?e[o]:0,bounceStiffness:c,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...i,...l};return this.startAxisValueAnimation(o,d)})).then(o)}startAxisValueAnimation(e,t){let r=this.getAxisMotionValue(e);return nV(this.visualElement,e),r.start(al(e,r,0,t,this.visualElement,!1))}stopAnimation(){aM(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`,r=this.visualElement.getProps();return r[t]||this.visualElement.getValue(e,(r.initial?r.initial[e]:void 0)||0)}snapToCursor(e){aM(t=>{let{drag:r}=this.getProps();if(!oI(t,r,this.currentDirection))return;let{projection:n}=this.visualElement,i=this.getAxisMotionValue(t);if(n&&n.layout){let{min:r,max:a}=n.layout.layoutBox[t],o=i.get()||0;i.set(e[t]-rp(r,a,.5)+o)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:r}=this.visualElement;if(!nw(t)||!r||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};aM(e=>{let t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){let r=t.get();n[e]=ox({min:r,max:r},this.constraints[e])}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.constraints=!1,this.resolveConstraints(),aM(t=>{if(!oI(t,e,null))return;let r=this.getAxisMotionValue(t),{min:i,max:a}=this.constraints[t];r.set(rp(i,a,n[t]))}),this.visualElement.render()}addListeners(){let e;if(!this.visualElement.current)return;o_.set(this.visualElement,this);let t=this.visualElement.current,r=oi(t,"pointerdown",e=>{let{drag:r,dragListener:n=!0}=this.getProps(),i=e.target,a=i!==t&&aG(i);r&&n&&!a&&this.start(e)}),n=()=>{let{dragConstraints:r}=this.getProps();nw(r)&&r.current&&(this.constraints=this.resolveRefConstraints(),e||(e=oO(t,r.current,()=>this.scalePositionWithinConstraints())))},{projection:i}=this.visualElement,a=i.addEventListener("measure",n);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),eW.read(n);let o=aK(window,"resize",()=>this.scalePositionWithinConstraints()),s=i.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(aM(t=>{let r=this.getAxisMotionValue(t);r&&(this.originPoint[t]+=e[t].translate,r.set(r.get()+e[t].translate))}),this.visualElement.render())});return()=>{o(),r(),a(),s&&s(),e&&e()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:r=!1,dragPropagation:n=!1,dragConstraints:i=!1,dragElastic:a=oA,dragMomentum:o=!0}=e;return{...e,drag:t,dragDirectionLock:r,dragPropagation:n,dragConstraints:i,dragElastic:a,dragMomentum:o}}}function oP(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function oO(e,t,r){let n=oe(e,oP(r)),i=oe(t,oP(r));return()=>{n(),i()}}function oI(e,t,r){return(!0===t||t===e)&&(null===r||r===e)}function oM(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}class oL extends nO{constructor(e){super(e),this.removeGroupControls=eB,this.removeListeners=eB,this.controls=new oT(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||eB}update(){let{dragControls:e}=this.node.getProps(),{dragControls:t}=this.node.prevProps||{};e!==t&&(this.removeGroupControls(),e&&(this.removeGroupControls=e.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}let oN=e=>(t,r)=>{e&&eW.update(()=>e(t,r),!1,!0)};class oR extends nO{constructor(){super(...arguments),this.removePointerDownListener=eB}onPointerDown(e){this.session=new oc(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:oa(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:r,onPanEnd:n}=this.node.getProps();return{onSessionStart:oN(e),onStart:oN(t),onMove:oN(r),onEnd:(e,t)=>{delete this.session,n&&eW.postRender(()=>n(e,t))}}}mount(){this.removePointerDownListener=oi(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let oj={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var oD=r(29032);let oF=!1;class oV extends r$.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:r,layoutId:n}=this.props,{projection:i}=e;i&&(t.group&&t.group.add(i),r&&r.register&&n&&r.register(i),oF&&i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),oj.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:r,drag:n,isPresent:i}=this.props,{projection:a}=r;return a&&(a.isPresent=i,e.layoutDependency!==t&&a.setOptions({...a.options,layoutDependency:t}),oF=!0,n||e.layoutDependency!==t||void 0===t||e.isPresent!==i?a.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?a.promote():a.relegate()||eW.postRender(()=>{let e=a.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{visualElement:e,layoutAnchor:t}=this.props,{projection:r}=e;r&&(r.options.layoutAnchor=t,r.root.didUpdate(),tT.postRender(()=>{!r.currentAnimation&&r.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:r}=this.props,{projection:n}=e;oF=!0,n&&(n.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(n),r&&r.deregister&&r.deregister(n))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}function oB(e){let[t,r]=(0,oD.xQ)(),n=(0,r$.useContext)(rW.L);return(0,rY.jsx)(oV,{...e,layoutGroup:n,switchLayoutGroup:(0,r$.useContext)(nb),isPresent:t,safeToRemove:r})}function oz(e,t,r){let n=ei(e)?e:tj(e);return n.start(al("",n,t,r)),n.animation}function o$(e,t){let r=tO.now(),n=({timestamp:i})=>{let a=i-r;a>=t&&(eG(n),e(a-t))};return eW.setup(n,!0),()=>eG(n)}function oU(e){return aX(e)&&"svg"===e.tagName}let oq=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],oH=oq.length,oY=e=>"string"==typeof e?parseFloat(e):e,oW=e=>"number"==typeof e||E.test(e);function oG(e,t,r,n,i,a){i?(e.opacity=rp(0,r.opacity??1,oJ(n)),e.opacityExit=rp(t.o
40pacity??1,0,oX(n))):a&&(e.opacity=rp(t.opacity??1,r.opacity??1,n));for(let i=0;i<oH;i++){let a=oq[i],o=oK(t,a),s=oK(r,a);(void 0!==o||void 0!==s)&&(o||(o=0),s||(s=0),0===o||0===s||oW(o)===oW(s)?(e[a]=Math.max(rp(oY(o),oY(s),n),0),(S.test(s)||S.test(o))&&(e[a]+="%")):e[a]=s)}(t.rotate||r.rotate)&&(e.rotate=rp(t.rotate||0,r.rotate||0,n))}function oK(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let oJ=oQ(0,.5,iM),oX=oQ(.5,.95,eB);function oQ(e,t,r){return n=>n<e?0:n>t?1:r(iD(e,t,n))}function oZ(e,t){e.min=t.min,e.max=t.max}function o0(e,t){oZ(e.x,t.x),oZ(e.y,t.y)}function o1(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function o2(e,t,r,n,i){return e-=t,e=r_(e,1/r,n),void 0!==i&&(e=r_(e,1/i,n)),e}function o5(e,t=0,r=1,n=.5,i,a=e,o=e){if(S.test(t)&&(t=parseFloat(t),t=rp(o.min,o.max,t/100)-o.min),"number"!=typeof t)return;let s=rp(a.min,a.max,n);e===a&&(s-=t),e.min=o2(e.min,t,r,s,i),e.max=o2(e.max,t,r,s,i)}function o3(e,t,[r,n,i],a,o){o5(e,t[r],t[n],t[i],t.scale,a,o)}let o4=["x","scaleX","originX"],o6=["y","scaleY","originY"];function o9(e,t,r,n){o3(e.x,t,o4,r?r.x:void 0,n?n.x:void 0),o3(e.y,t,o6,r?r.y:void 0,n?n.y:void 0)}function o8(e){return 0===e.translate&&1===e.scale}function o7(e){return o8(e.x)&&o8(e.y)}function se(e,t){return e.min===t.min&&e.max===t.max}function st(e,t){return se(e.x,t.x)&&se(e.y,t.y)}function sr(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function sn(e,t){return sr(e.x,t.x)&&sr(e.y,t.y)}function si(e){return aD(e.x)/aD(e.y)}function sa(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class so{constructor(){this.members=[]}add(e){ti(this.members,e);for(let t=this.members.length-1;t>=0;t--){let r=this.members[t];if(r===e||r===this.lead||r===this.prevLead)continue;let n=r.instance;n&&!1!==n.isConnected||r.snapshot||(ta(this.members,r),r.unmount())}e.scheduleRender()}remove(e){if(ta(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){for(let t=this.members.indexOf(e)-1;t>=0;t--){let e=this.members[t];if(!1!==e.isPresent&&e.instance?.isConnected!==!1)return this.promote(e),!0}return!1}promote(e,t){let r=this.lead;if(e!==r&&(this.prevLead=r,this.lead=e,e.show(),r)){r.updateSnapshot(),e.scheduleRender();let{layoutDependency:n}=r.options,{layoutDependency:i}=e.options;(void 0===n||n!==i)&&(e.resumeFrom=r,t&&(r.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues),e.root?.isUpdating&&(e.isLayoutDirty=!0)),!1===e.options.crossfade&&r.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}function ss(e,t,r){let n="",i=e.x.translate/t.x,a=e.y.translate/t.y,o=r?.z||0;if((i||a||o)&&(n=`translate3d(${i}px, ${a}px, ${o}px) `),(1!==t.x||1!==t.y)&&(n+=`scale(${1/t.x}, ${1/t.y}) `),r){let{transformPerspective:e,rotate:t,rotateX:i,rotateY:a,skewX:o,skewY:s}=r;e&&(n=`perspective(${e}px) ${n}`),t&&(n+=`rotate(${t}deg) `),i&&(n+=`rotateX(${i}deg) `),a&&(n+=`rotateY(${a}deg) `),o&&(n+=`skewX(${o}deg) `),s&&(n+=`skewY(${s}deg) `)}let s=e.x.scale*t.x,l=e.y.scale*t.y;return(1!==s||1!==l)&&(n+=`scale(${s}, ${l})`),n||"none"}let sl=(e,t)=>e.depth-t.depth;class sc{constructor(){this.children=[],this.isDirty=!1}add(e){ti(this.children,e),this.isDirty=!0}remove(e){ta(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(sl),this.isDirty=!1,this.children.forEach(e)}}let su={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},sd=["","X","Y","Z"],sp=1e3,sh=0;function sf(e,t,r,n){let{latestValues:i}=t;i[e]&&(r[e]=i[e],t.setStaticValue(e,0),n&&(n[e]=0))}function sm(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:t}=e.options;if(!t)return;let r=nB(t);if(window.MotionHasOptimisedAnimation(r,"transform")){let{layout:t,layoutId:n}=e.options;window.MotionCancelOptimisedAnimation(r,"transform",eW,!(t||n))}let{parent:n}=e;n&&!n.hasCheckedOptimisedAppear&&sm(n)}function sg({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:n,resetTransform:i}){return class{constructor(e={},r=t?.()){this.id=sh++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,eU.value&&(su.nodes=su.calculatedTargetDeltas=su.calculatedProjections=0),this.nodes.forEac
40h(sb),this.nodes.forEach(sT),this.nodes.forEach(sP),this.nodes.forEach(sw),eU.addProjectionMetrics&&eU.addProjectionMetrics(su)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=r?r.root||r:this,this.path=r?[...r.path,r]:[],this.parent=r,this.depth=r?r.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new sc)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new to),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let r=this.eventHandlers.get(e);r&&r.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=aX(t)&&!oU(t),this.instance=t;let{layoutId:r,layout:n,visualElement:i}=this.options;if(i&&!i.current&&i.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(n||r)&&(this.isLayoutDirty=!0),e){let r,n=0,i=()=>this.root.updateBlockedByResize=!1;eW.read(()=>{n=window.innerWidth}),e(t,()=>{let e=window.innerWidth;e!==n&&(n=e,this.root.updateBlockedByResize=!0,r&&r(),r=o$(i,250),oj.hasAnimatedSinceResize&&(oj.hasAnimatedSinceResize=!1,this.nodes.forEach(s_)))})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&i&&(r||n)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:r,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let a=this.options.transition||i.getDefaultTransition()||sj,{onLayoutAnimationStart:o,onLayoutAnimationComplete:s}=i.getProps(),l=!this.targetLayout||!sn(this.targetLayout,n),c=!t&&r;if(this.options.layoutRoot||this.resumeFrom||c||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...nL(a,"layout"),onPlay:o,onComplete:s};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,c)}else t||s_(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),eG(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(sO),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&sm(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,("string"==typeof t.latestValues.x||"string"==typeof t.latestValues.y)&&(t.isLayoutDirty=!0),t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:r}=this.options;if(void 0===t&&!r)return;let n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let e=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),e&&this.nodes.forEach(sA),this.nodes.forEach(sk);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(sC);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEac
40h(sS),this.nodes.forEach(sE),this.nodes.forEach(sy),this.nodes.forEach(sv)):this.nodes.forEach(sC),this.clearAllSnapshots();let e=tO.now();eK.delta=l(0,1e3/60,e-eK.timestamp),eK.timestamp=e,eK.isProcessing=!0,eJ.update.process(eK),eJ.preRender.process(eK),eJ.render.process(eK),eK.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,tT.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(sx),this.sharedNodes.forEach(sI)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,eW.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){eW.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||aD(this.snapshot.measuredBox.x)||aD(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=en()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){let t=n(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:r(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!i)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!o7(this.projectionDelta),r=this.getTransformTemplate(),n=r?r(this.latestValues,""):void 0,a=n!==this.prevTransformTemplateValue;e&&this.instance&&(t||rC(this.latestValues)||a)&&(i(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){let t=this.measurePageBox(),r=this.removeElementScroll(t);return e&&(r=this.removeTransform(r)),sB(r),{animationId:this.root.animationId,measuredBox:t,layoutBox:r,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return en();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(s$))){let{scroll:e}=this.root;e&&(rN(t.x,e.offset.x),rN(t.y,e.offset.y))}return t}removeElementScroll(e){let t=en();if(o0(t,e),this.scroll?.wasRoot)return t;for(let r=0;r<this.path.length;r++){let n=this.path[r],{scroll:i,options:a}=n;n!==this.root&&i&&a.layoutScroll&&(i.wasRoot&&o0(t,e),rN(t.x,i.offset.x),rN(t.y,i.offset.y))}return t}applyTransform(e,t=!1,r){let n=r||en();o0(n,e);for(let e=0;e<this.path.length;e++){let r=this.path[e];!t&&r.options.layoutScroll&&r.scroll&&r!==r.root&&(rN(n.x,-r.scroll.offset.x),rN(n.y,-r.scroll.offset.y)),rC(r.latestValues)&&rD(n,r.latestValues,r.layout?.layoutBox)}return rC(this.latestValues)&&rD(n,this.latestValues,this.layout?.layoutBox),n}removeTransform(e){let t=en();o0(t,e);for(let e=0;e<this.path.length;e++){let r,n=this.path[e];rC(n.latestValues)&&(n.instance&&(rA(n.latestValues)&&n.updateSnapshot(),o0(r=en(),n.measurePageBox())),o9(t,n.latestValues,n.snapshot?.layoutBox,r))}return rC(this.latestValues)&&o9(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==eK.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=t.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=t.
40isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=t.isSharedProjectionDirty);let r=!!this.resumingFrom||this!==t;if(!(e||r&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:n,layoutId:i}=this.options;if(!this.layout||!(n||i))return;this.resolvedRelativeTargetAt=eK.timestamp;let a=this.getClosestProjectingParent();a&&this.linkedParentVersion!==a.layoutVersion&&!a.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(!1!==this.options.layoutAnchor&&a&&a.layout?this.createRelativeTarget(a,this.layout.layoutBox,a.layout.layoutBox):this.removeRelativeTarget()),(this.relativeTarget||this.targetDelta)&&(this.target||(this.target=en(),this.targetWithTransforms=en()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),a$(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):o0(this.target,this.layout.layoutBox),rO(this.target,this.targetDelta)):o0(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,!1!==this.options.layoutAnchor&&a&&!!a.resumingFrom==!!this.resumingFrom&&!a.options.layoutScroll&&a.target&&1!==this.animationProgress?this.createRelativeTarget(a,this.target,a.target):this.relativeParent=this.relativeTarget=void 0),eU.value&&su.calculatedTargetDeltas++)}getClosestProjectingParent(){if(!(!this.parent||rA(this.parent.latestValues)||rS(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(e,t,r){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=en(),this.relativeTargetOrigin=en(),aq(this.relativeTargetOrigin,t,r,this.options.layoutAnchor||void 0),o0(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,r=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(r=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===eK.timestamp&&(r=!1),r)return;let{layout:n,layoutId:i}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(n||i))return;o0(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,o=this.treeScale.y;rL(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=en());let{target:s}=e;if(!s){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(o1(this.prevProjectionDelta.x,this.projectionDelta.x),o1(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),aB(this.projectionDelta,this.layoutCorrected,s,this.latestValues),this.treeScale.x===a&&this.treeScale.y===o&&sa(this.projectionDelta.x,this.prevProjectionDelta.x)&&sa(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",s)),eU.value&&su.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=et(),this.projectionDelta=et(),this.projectionDeltaWithTransform=et()}setAnimationOrigin(e,t=!1){let r,n=this.snapshot,i=n?n.latestValues:{},a={...this.latestValues},o=et();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let s=en(),l=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),c=this.getStack(),u=!c||c.members.length<=1,d=!!(l&&!u&&!0===this.options.crossfade&&!this.path.some(sR));this.animationProgress=0,this.mixTargetDelta=t=>{let n=t/1e3;sM(o.x,e.x,n),sM(o.y,e.y,n),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(aq(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),sN(this.relativeTarget,this.relativeTargetOrigin,s,n),r&&st(this.relativeTarget,r)&&(this.isProjectionDirty=!1),r||(r=en()),o0(r,this.relativeTarget)),l&&(this.animationValues=a,oG(a,i,this.latestValues,n,d,u)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(eG(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=eW.update(()=>{oj.hasAnimatedSinceResize=!0,tg.layout++,this.motionValue||(this.motionValue=tj(0)),this.motionValue.jump(0,!1),this.currentAnimation=oz(this.motionValue,[0,1e3],{...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onStop:()=>{tg.layout--},onComplete:()=>{tg.layout--,e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(sp),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:r,layout:n,latestValues:i}=e;if(t&&r&&n){if(this!==e&&this.layout&&n&&sz(this.options.animationType,this.layout.layoutBox,n.layoutBox)){r=this.target||en();let t=aD(this.layout.layoutBox.x);r.x.min=e.target.x.min,r.x.max=r.x.min+t;let n=aD(this.layout.layoutBox.y);r.y.min=e.target.y.min,r.y.max=r.y.min+n}o0(t,r),rD(t,i),aB(this.projectionDeltaWithTransform,this.layoutCorrected,t,i
40)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new so),this.sharedNodes.get(e).add(t);let r=t.options.initialPromotionConfig;t.promote({transition:r?r.transition:void 0,preserveFollowOpacity:r&&r.shouldPreserveFollowOpacity?r.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:r}={}){let n=this.getStack();n&&n.promote(this,r),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:r}=e;if((r.z||r.rotate||r.rotateX||r.rotateY||r.rotateZ||r.skewX||r.skewY)&&(t=!0),!t)return;let n={};r.z&&sf("z",e,n,this.animationValues);for(let t=0;t<sd.length;t++)sf(`rotate${sd[t]}`,e,n,this.animationValues),sf(`skew${sd[t]}`,e,n,this.animationValues);for(let t in e.render(),n)e.setStaticValue(t,n[t]),this.animationValues&&(this.animationValues[t]=n[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility="hidden";return}let r=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility="",e.opacity="",e.pointerEvents=nn(t?.pointerEvents)||"",e.transform=r?r(this.latestValues,""):"none";return}let n=this.getLead();if(!this.projectionDelta||!this.layout||!n.target){this.options.layoutId&&(e.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,e.pointerEvents=nn(t?.pointerEvents)||""),this.hasProjected&&!rC(this.latestValues)&&(e.transform=r?r({},""):"none",this.hasProjected=!1);return}e.visibility="";let i=n.animationValues||n.latestValues;this.applyTransformsToTarget();let a=ss(this.projectionDeltaWithTransform,this.treeScale,i);r&&(a=r(i,a)),e.transform=a;let{x:o,y:s}=this.projectionDelta;for(let t in e.transformOrigin=`${100*o.origin}% ${100*s.origin}% 0`,n.animationValues?e.opacity=n===this?i.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:e.opacity=n===this?void 0!==i.opacity?i.opacity:"":void 0!==i.opacityExit?i.opacityExit:0,rf){if(void 0===i[t])continue;let{correct:r,applyTo:o,isCSSVariable:s}=rf[t],l="none"===a?i[t]:r(i[t],n);if(o){let t=o.length;for(let r=0;r<t;r++)e[o[r]]=l}else s?this.options.visualElement.renderState.vars[t]=l:e[t]=l}this.options.layoutId&&(e.pointerEvents=n===this?nn(t?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(sk),this.root.sharedNodes.clear()}}}function sy(e){e.updateLayout()}function sv(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners("didUpdate")){let{layoutBox:r,measuredBox:n}=e.layout,{animationType:i}=e.options,a=t.source!==e.layout.source;if("size"===i)aM(e=>{let n=a?t.measuredBox[e]:t.layoutBox[e],i=aD(n);n.min=r[e].min,n.max=n.min+i});else if("x"===i||"y"===i){let e="x"===i?"y":"x";oZ(a?t.measuredBox[e]:t.layoutBox[e],r[e])}else sz(i,t.layoutBox,r)&&aM(n=>{let i=a?t.measuredBox[n]:t.layoutBox[n],o=aD(r[n]);i.max=i.min+o,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[n].max=e.relativeTarget[n].min+o)});let o=et();aB(o,r,t.layoutBox);let s=et();a?aB(s,e.applyTransform(n,!0),t.measuredBox):aB(s,r,t.layoutBox);let l=!o7(o),c=!1;if(!e.resumeFrom){let n=e.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:i,layout:a}=n;
40if(i&&a){let o=e.options.layoutAnchor||void 0,s=en();aq(s,t.layoutBox,i.layoutBox,o);let l=en();aq(l,r,a.layoutBox,o),sn(s,l)||(c=!0),n.options.layoutRoot&&(e.relativeTarget=l,e.relativeTargetOrigin=s,e.relativeParent=n)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:t,delta:s,layoutDelta:o,hasLayoutChanged:l,hasRelativeLayoutChanged:c})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function sb(e){eU.value&&su.nodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function sw(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function sx(e){e.clearSnapshot()}function sk(e){e.clearMeasurements()}function sA(e){e.isLayoutDirty=!0,e.updateLayout()}function sC(e){e.isLayoutDirty=!1}function sS(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function sE(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function s_(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function sT(e){e.resolveTargetDelta()}function sP(e){e.calcProjection()}function sO(e){e.resetSkewAndRotation()}function sI(e){e.removeLeadSnapshot()}function sM(e,t,r){e.translate=rp(t.translate,0,r),e.scale=rp(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function sL(e,t,r,n){e.min=rp(t.min,r.min,n),e.max=rp(t.max,r.max,n)}function sN(e,t,r,n){sL(e.x,t.x,r.x,n),sL(e.y,t.y,r.y,n)}function sR(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let sj={duration:.45,ease:[.4,0,.1,1]},sD=e=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),sF=sD("applewebkit/")&&!sD("chrome/")?Math.round:eB;function sV(e){e.min=sF(e.min),e.max=sF(e.max)}function sB(e){sV(e.x),sV(e.y)}function sz(e,t,r){return"position"===e||"preserve-aspect"===e&&!aF(si(t),si(r),.2)}function s$(e){return e!==e.root&&e.scroll?.wasRoot}let sU=sg({attachResizeListener:(e,t)=>aK(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),sq={current:void 0},sH=sg({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!sq.current){let e=new sU({});e.mount(window),e.setOptions({layoutScroll:!0}),sq.current=e}return sq.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position}),sY={pan:{Feature:oR},drag:{Feature:oL,ProjectionNode:sH,MeasureLayout:oB}};function sW(e,t){let r=aQ(e),n=new AbortController;return[r,{passive:!0,...t,signal:n.signal},()=>n.abort()]}function sG(e){return!("touch"===e.pointerType||aO())}function sK(e,t,r={}){let[n,i,a]=sW(e,r);return n.forEach(e=>{let r,n=!1,a=!1,o=()=>{e.removeEventListener("pointerleave",u)},s=e=>{r&&(r(e),r=void 0),o()},l=e=>{n=!1,window.removeEventListener("pointerup",l),window.removeEventListener("pointercancel",l),a&&(a=!1,s(e))},c=()=>{n=!0,window.addEventListener("pointerup",l,i),window.addEventListener("pointercancel",l,i)},u=e=>{if("touch"!==e.pointerType){if(n){a=!0;return}s(e)}},d=n=>{if(!sG(n))return;a=!1;let o=t(e,n);"function"==typeof o&&(r=o,e.addEventListener("pointerleave",u,i))};e.addEventListener("pointerenter",d,i),e.addEventListener("pointerdown",c,i)}),a}function sJ(e,t,r){let{props:n}=e;e.animationState&&n.whileHover&&e.animationState.setActive("whileHover","Start"===r);let i=n["onHover"+r];i&&eW.postRender(()=>i(t,or(t)))}class sX extends nO{mount(){let{current:e}=this.node;e&&(this.unmount=sK(e,(e,t)=>(sJ(this.node,t,"Start"),e=>sJ(this.node,e,"End"))))}unmount(){}}class sQ extends nO{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=n$(aK(this.node.current,"focus",()=>this.onFocus()),aK(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}var sZ=r(25903);let s0=(e,t)=>!!t&&(e===t||s0(e,t.parentElement)),s1=new WeakSet;function s2(e){return t=>{"Enter"===t.key&&e(t)}}function s5(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}let s3=(e,t)=>{let r=e.currentTarget;if(!r)return;let n=s2(()=>{if(s1.has(r))return;s5(r,"down");let e=s2(()=>{s5(r,"up")}),n=()=>s5(r,"cancel");r.addEventListener("keyup",e,t),r.addEventListener("blur",n,t)});r.addEventListener("keydown",n,t),r.addEventListener("blur",()=>r.removeEventListener("keydown",n),t)};function s4(e){return ot(e)&&!aO()}let s6=new WeakSet;function s9(e,t,r={}){let[n,i,a]=sW(e,r),o=e=>{let n=e.currentTarget;if(!s4(e)||s6.has(e))return;s1.add(n),r.stopPropagation&&s6.add(e);let a=t(n,e),o=(e,t)=>{window.removeEventListener("pointerup",s),window.removeEventListener("pointercancel",l),s1.has(n)&&s1.delete(n),s4(e)&&"function"==typeof a&&a(e,{success:t})},s=e=>{o(e,n===window||n===document||r.useGlobalTarget||s0(n,e.target))},l=e=>{o(e,!1)};window.addEventListener("pointerup",s,i),window.addEventListener("pointercancel",l,i)};
40return n.forEach(e=>{(r.useGlobalTarget?window:e).addEventListener("pointerdown",o,i),(0,sZ.s)(e)&&(e.addEventListener("focus",e=>s3(e,i)),aY(e)||e.hasAttribute("tabindex")||(e.tabIndex=0))}),a}function s8(e,t,r){let{props:n}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&n.whileTap&&e.animationState.setActive("whileTap","Start"===r);let i=n["onTap"+("End"===r?"":r)];i&&eW.postRender(()=>i(t,or(t)))}class s7 extends nO{mount(){let{current:e}=this.node;if(!e)return;let{globalTapTarget:t,propagate:r}=this.node.props;this.unmount=s9(e,(e,t)=>(s8(this.node,t,"Start"),(e,{success:t})=>s8(this.node,e,t?"End":"Cancel")),{useGlobalTarget:t,stopPropagation:r?.tap===!1})}unmount(){}}let le=new WeakMap,lt=new WeakMap,lr=e=>{let t=le.get(e.target);t&&t(e)},ln=e=>{e.forEach(lr)};function li({root:e,...t}){let r=e||document;lt.has(r)||lt.set(r,{});let n=lt.get(r),i=JSON.stringify(t);return n[i]||(n[i]=new IntersectionObserver(ln,{root:e,...t})),n[i]}function la(e,t,r){let n=li(t);return le.set(e,r),n.observe(e),()=>{le.delete(e),n.unobserve(e)}}let lo={some:0,all:1};class ls extends nO{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();let{viewport:e={}}=this.node.getProps(),{root:t,margin:r,amount:n="some",once:i}=e,a={root:t?t.current:void 0,rootMargin:r,threshold:"number"==typeof n?n:lo[n]},o=e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,i&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:r,onViewportLeave:n}=this.node.getProps(),a=t?r:n;a&&a(e)};this.stopObserver=la(this.node.current,a,o)}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(ll(e,t))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}function ll({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}let lc={inView:{Feature:ls},tap:{Feature:s7},focus:{Feature:sQ},hover:{Feature:sX}},lu={layout:{ProjectionNode:sH,MeasureLayout:oB}},ld=nP({...aT,...lc,...sY,...lu},rH)},58472:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(58309);let i=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],a=(0,n.A)("arrow-left",i)},58650:(e,t,r)=>{"use strict";r.d(t,{A:()=>E,U:()=>T});var n=r(2860),i=r(55729),a=r(6029),o=r(36027),s=r(53255),l=r(56555),c=r(32639),u=r(25903),d=r(2514);function p(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function h(...e){return t=>{let r=!1,n=e.map(e=>{let n=p(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():p(e[t],null)}}}}function f(...e){return i.useCallback(h(...e),e)}class m extends i.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if((0,u.s)(t)&&e.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let e=t.offsetParent,r=(0,u.s)(e)&&e.offsetWidth||0,n=(0,u.s)(e)&&e.offsetHeight||0,i=getComputedStyle(t),a=this.props.sizeRef.current;a.height=parseFloat(i.height),a.width=parseFloat(i.width),a.top=t.offsetTop,a.left=t.offsetLeft,a.right=r-a.width-a.left,a.bottom=n-a.height-a.top}return null}componentDidUpdate(){}render(){return this.props.children}}function g({children:e,isPresent:t,anchorX:r,anchorY:n,root:o,pop:s}){let l=(0,i.useId)(),c=(0,i.useRef)(null),u=(0,i.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:p}=(0,i.useContext)(d.Q),h=f(c,e.props?.ref??e?.ref);return(0,i.useInsertionEffect)(()=>{let{width:e,height:i,top:a,left:d,right:h,bottom:f}=u.current;if(t||!1===s||!c.current||!e||!i)return;let m="left"===r?`left: ${d}`:`right: ${h}`,g="bottom"===n?`bottom: ${f}`:`top: ${a}`;c.current.dataset.motionPopId=l;let y=document.createElement("style");p&&(y.nonce=p);let v=o??document.head;return v.appendChild(y),y.sheet&&y.sheet.insertRule(` 41 [data-motion-pop-id="${l}"] { 42 position: absolute !important; 43 width: ${e}px !important; 44 height: ${i}px !important; 45 ${m}px !important; 46 ${g}px !important; 47 } 48 `),()=>{c.current?.removeAttribute("data-motion-pop-id"),v.contains(y)&&v.removeChild(y)}},[t]),(0,a.jsx)(m,{isPresent:t,childRef:c,sizeRef:u,pop:s,children:!1===s?e:i.cloneElement(e,{ref:h})})}let y=({children:e,initial:t,isPresent:r,onExitComplete:n,custom:o,presenceAffectsLayout:l,mode:u,anchorX:d,anchorY:p,root:h})=>{let f=(0,s.M)(v),m=(0,i.useId)(),y=!0,b=(0,i.useMemo)(()=>(y=!1,{id:m,initial:t,isPresent:r,custom:o,onExitComplete:e=>
48{for(let t of(f.set(e,!0),f.values()))if(!t)return;n&&n()},register:e=>(f.set(e,!1),()=>f.delete(e))}),[r,f,n]);return l&&y&&(b={...b}),(0,i.useMemo)(()=>{f.forEach((e,t)=>f.set(t,!1))},[r]),i.useEffect(()=>{r||f.size||!n||n()},[r]),e=(0,a.jsx)(g,{pop:"popLayout"===u,isPresent:r,anchorX:d,anchorY:p,root:h,children:e}),(0,a.jsx)(c.t.Provider,{value:b,children:e})};function v(){return new Map}var b=r(29032);let w=e=>e.key||"";function x(e){let t=[];return i.Children.forEach(e,e=>{(0,i.isValidElement)(e)&&t.push(e)}),t}let k=({children:e,custom:t,initial:r=!0,onExitComplete:n,presenceAffectsLayout:c=!0,mode:u="sync",propagate:d=!1,anchorX:p="left",anchorY:h="top",root:f})=>{let[m,g]=(0,b.xQ)(d),v=(0,i.useMemo)(()=>x(e),[e]),k=d&&!m?[]:v.map(w),A=(0,i.useRef)(!0),C=(0,i.useRef)(v),S=(0,s.M)(()=>new Map),E=(0,i.useRef)(new Set),[_,T]=(0,i.useState)(v),[P,O]=(0,i.useState)(v);(0,l.E)(()=>{A.current=!1,C.current=v;for(let e=0;e<P.length;e++){let t=w(P[e]);k.includes(t)?(S.delete(t),E.current.delete(t)):!0!==S.get(t)&&S.set(t,!1)}},[P,k.length,k.join("-")]);let I=[];if(v!==_){let e=[...v];for(let t=0;t<P.length;t++){let r=P[t],n=w(r);k.includes(n)||(e.splice(t,0,r),I.push(r))}return"wait"===u&&I.length&&(e=I),O(x(e)),T(v),null}let{forceRender:M}=(0,i.useContext)(o.L);return(0,a.jsx)(a.Fragment,{children:P.map(e=>{let i=w(e),o=(!d||!!m)&&(v===P||k.includes(i)),s=()=>{if(E.current.has(i)||!S.has(i))return;E.current.add(i),S.set(i,!0);let e=!0;S.forEach(t=>{t||(e=!1)}),e&&(M?.(),O(C.current),d&&g?.(),n&&n())};return(0,a.jsx)(y,{isPresent:o,initial:(!A.current||!!r)&&void 0,custom:t,presenceAffectsLayout:c,mode:u,root:f,onExitComplete:o?void 0:s,anchorX:p,anchorY:h,children:e},i)})})};var A=r(58429),C=r(68106);let S=i.createContext({});function E(e){var t;let{children:r,renderModals:a=_,renderBackdrop:o=P}=e,[s,l]=(0,i.useState)([]),c=(0,i.useMemo)(()=>{function e(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return l(t=>[...t].slice(0,t.length-e))}function t(){l([])}function r(r){1===s.length?t():e(r)}
48return{stack:s,openModal:(e,t,r)=>{l(n=>{let i=[...n];return(null==r?void 0:r.replace)&&(i=s.slice(0,s.length-1)),[...i,{component:e,props:t,isModalDrawer:null==r?void 0:r.isModalDrawer}]})},closeModal:()=>r(1),closeModals:r,closeAllModals:t}},[s]),u=(0,C.v2)(),d=c.stack.length>0&&(null==(t=c.stack[0])?void 0:t.isModalDrawer);return(0,n.FD)(S.Provider,{value:c,children:[r,(0,n.Y)(k,{children:o&&c.stack.length>0&&(u||!d)&&(0,n.Y)(o,{})}),(0,n.Y)(a,{...c})]})}function _(e){let{stack:t}=e,r=!(0,C.v2)();return(0,n.Y)(k,{children:t.map((e,i)=>{let a=i>0&&t.slice(0,i).some(e=>e.isModalDrawer);return(0,n.Y)(e.component,{open:e===t[t.length-1]||e.isModalDrawer&&r,shouldShowBackdrop:r&&a,...e.props},i)})})}function T(){return(0,i.useContext)(S)}function P(){return(0,n.Y)(A.P.div,{className:"fixed inset-0 z-[1001] bg-[rgba(56,59,61,0.9)] opacity-90",variants:{show:{opacity:1},hide:{opacity:0}},initial:"hide",animate:"show",exit:"hide"})}},59006:(e,t,r)=>{"use strict";r.d(t,{$n:()=>o,ZD:()=>d,pT:()=>c});var n=r(2860),i=r(55729),a=r(24150);let o=e=>{let{children:t,...r}=e;return(0,n.Y)(s,{"aria-label":"button",...r,children:t})},s=(0,a.A)("button",{target:"e1vzsehb0"})("appearance:none;border:0;outline:0;padding:0;margin:0;border-radius:0;cursor:pointer;background-color:transparent;&:focus,&:active,&:focus-visible{border:0;outline:0;}&:disabled{cursor:not-allowed;}");var l=r(9428);let c=e=>{let{children:t,...r}=e;return(0,n.Y)(u,{"aria-labelledby":"confirm button",...r,children:t})},u=(0,a.A)(o,{target:"e1g4kspo0"})("margin:0.25rem;min-height:2.5rem;border-radius:9999px;border-width:0;background-color:",l.A.color.palette["primary-500"],";padding:0.5rem 1.25rem;fontsize:",l.A.fontSize.m,";fontweight:500;color:",l.A.color.white,"};box-shadow:none;transition:box-shadow 100ms;&:hover{box-shadow:0 0 0 3px rgba(100,150,200,0.5);}&:focus{background-image:linear-gradient(rgba(0,0,0,0.1),rgba(0,0,0,0.1));}"),d=e=>{let{children:t,...r}=e;return(0,n.Y)(p,{"aria-labelledby":"cancel button",...r,children:t})},p=(0,a.A)(o,{target:"e9ar9740"})("margin:0.25rem;min-height:2.5rem;border-radius:9999px;border-width:0;background-color:",l.A.color.palette["peach-500"],";padding:0.5rem 1.25rem;fontsize:",l.A.fontSize.m,";fontweight:500;color:",l.A.color.white,"};box-shadow:none;transition:box-shadow 100ms;&:hover{box-shadow:0 0 0 3px rgba(100,150,200,0.5);}&:focus{background-image:linear-gradient(rgba(0,0,0,0.1),rgba(0,0,0,0.1));}");var h=r(18119),f=r(11859),m=r(84660);(0,i.forwardRef)((e,t)=>{let{component:r="button",isLoading:i,startIcon:a,disabled:o,className:s,loadingCircularClassName:l,style:c,...u}=e;return(0,n.Y)(h.A,{ref:t,component:r,variant:"contained",...u,className:(0,m.Q)("flex min-h-[2.25rem] items-center justify-center rounded-full px-[14px] py-2 text-sm font-normal shadow-none",s),style:{textTransform:"none",...c},startIcon:i?(0,n.Y)(f.A,{className:(0,m.Q)("text-grayscale-800",l),size:18}):a,disabled:i||o,children:e.children})}).displayName="WuButton"},59330:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(55729),i=r(41682);function a(){return n.useContext(i.A)}},59928:function(e){!function(t,r){e.exports=r()}(0,function(){"use strict";let e;function t(e,t,r){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:r;throw TypeError("Private element is not present on this object")}function r(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")}function n(e,r){return e.get(t(e,r))}function i(e,t,n){r(e,t),t.set(e,n)}function a(e,r,n){return e.set(t(e,r),n),n}let o=100,s={},l=()=>{s.previousActiveElement instanceof HTMLElement?(s.previousActiveElement.focus(),s.previousActiveElement=null):document.body&&document.body.focus()},c=e=>new Promise(t=>{if(!e)return t();let r=window.scrollX,n=window.scrollY;s.restoreFocusTimeout=setTimeout(()=>{l(),t()},o),window.scrollTo(r,n)}),u="swal2-",d=["container","shown","height-auto","iosfix","popup","modal","no-backdrop","no-transition","toast","toast-shown","show","hide","close","title","html-container","actions","confirm","deny","cancel","footer","icon","icon-content","image","input","file","range","select","radio","checkbox","label","textarea","inputerror","input-label","validation-message","progress-steps","active-progress-step","progress-step","progress-step-line","loader","loading","styled","top","top-start","to
48p-end","top-left","top-right","center","center-start","center-end","center-left","center-right","bottom","bottom-start","bottom-end","bottom-left","bottom-right","grow-row","grow-column","grow-fullscreen","rtl","timer-progress-bar","timer-progress-bar-container","scrollbar-measure","icon-success","icon-warning","icon-info","icon-question","icon-error","draggable","dragging"].reduce((e,t)=>(e[t]=u+t,e),{}),p=["success","warning","info","question","error"].reduce((e,t)=>(e[t]=u+t,e),{}),h="SweetAlert2:",f=e=>e.charAt(0).toUpperCase()+e.slice(1),m=e=>{console.warn(`${h} ${"object"==typeof e?e.join(" "):e}`)},g=e=>{console.error(`${h} ${e}`)},y=[],v=e=>{y.includes(e)||(y.push(e),m(e))},b=(e,t=null)=>{v(`"${e}" is deprecated and will be removed in the next major release.${t?` Use "${t}" instead.`:""}`)},w=e=>"function"==typeof e?e():e,x=e=>e&&"function"==typeof e.toPromise,k=e=>x(e)?e.toPromise():Promise.resolve(e),A=e=>e&&Promise.resolve(e)===e,C=()=>navigator.userAgent.includes("Firefox"),S=()=>document.body.querySelector(`.${d.container}`),E=e=>{let t=S();return t?t.querySelector(e):null},_=e=>E(`.${e}`),T=()=>_(d.popup),P=()=>_(d.icon),O=()=>_(d["icon-content"]),I=()=>_(d.title),M=()=>_(d["html-container"]),L=()=>_(d.image),N=()=>_(d["progress-steps"]),R=()=>_(d["validation-message"]),j=()=>E(`.${d.actions} .${d.confirm}`),D=()=>E(`.${d.actions} .${d.cancel}`),F=()=>E(`.${d.actions} .${d.deny}`),V=()=>_(d["input-label"]),B=()=>E(`.${d.loader}`),z=()=>_(d.actions),$=()=>_(d.footer),U=()=>_(d["timer-progress-bar"]),q=()=>_(d.close),H=` 49 a[href], 50 area[href], 51 input:not([disabled]), 52 select:not([disabled]), 53 textarea:not([disabled]), 54 button:not([disabled]), 55 iframe, 56 object, 57 embed, 58 [tabindex="0"], 59 [contenteditable], 60 audio[controls], 61 video[controls], 62 summary 63`,Y=()=>{let e=T();if(!e)return[];let t=Array.from(e.querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])')).sort((e,t)=>{let r=parseInt(e.getAttribute("tabindex")||"0"),n=parseInt(t.getAttribute("tabindex")||"0");return r>n?1:r<n?-1:0}),r=Array.from(e.querySelectorAll(H)).filter(e=>"-1"!==e.getAttribute("tabindex"));return[...new Set(t.concat(r))].filter(e=>ep(e))},W=()=>X(document.body,d.shown)&&!X(document.body,d["toast-shown"])&&!X(document.body,d["no-backdrop"]),G=()=>{let e=T();return!!e&&X(e,d.toast)},K=()=>{let e=T();return!!e&&e.hasAttribute("data-loading")},J=(e,t)=>{if(e.textContent="",t){let r=new DOMParser().parseFromString(t,"text/html"),n=r.querySelector("head");n&&Array.from(n.childNodes).forEach(t=>{e.appendChild(t)});let i=r.querySelector("body");i&&Array.from(i.childNodes).forEach(t=>{t instanceof HTMLVideoElement||t instanceof HTMLAudioElement?e.appendChild(t.cloneNode(!0)):e.appendChild(t)})}},X=(e,t)=>{if(!t)return!1;let r=t.split(/\s+/);for(let t=0;t<r.length;t++)if(!e.classList.contains(r[t]))return!1;return!0},Q=(e,t)=>{Array.from(e.classList).forEach(r=>{Object.values(d).includes(r)||Object.values(p).includes(r)||Object.values(t.showClass||{}).includes(r)||e.classList.remove(r)})},Z=(e,t,r)=>{if(Q(e,t),!t.customClass)return;let n=t.customClass[r];if(n){if("string"!=typeof n&&!n.forEach)return void m(`Invalid type of customClass.${r}! Expected string or iterable object, got "${typeof n}"`);en(e,n)}},ee=(e,t)=>{if(!t)return null;switch(t){case"select":case"textarea":case"file":return e.querySelector(`.${d.popup} > .${d[t]}`);case"checkbox":return e.querySelector(`.${d.popup} > .${d.checkbox} input`);case"radio":return e.querySelector(`.${d.popup} > .${d.radio} input:checked`)||e.querySelector(`.${d.popup} > .${d.radio} input:first-child`);case"range":return e.querySelector(`.${d.popup} > .${d.range} input`);default:return e.querySelector(`.${d.popup} > .${d.input}`)}},et=e=>{if(e.focus(),"file"!==e.type){let t=e.value;e.value="",e.value=t}},er=(e,t,r)=>{if(!e||!t)return;let n="string"==typeof t?t.split(/\s+/).filter(Boolean):t;(Array.isArray(e)?e:[e]).forEach(e=>{n.forEach(t=>{r?e.classList.add(t):e.classList.remove(t)})})},en=(e,t)=>{er(e,t,!0)},ei=(e,t)=>{er(e,t,!1)},ea=(e,t)=>{let r=Array.from(e.children);for(let e=0;e<r.length;e++){let n=r[e];if(n instanceof HTMLElement&&X(n,t))return n}},eo=(e,t,r)=>{r===`${parseInt(`${r}`)}`&&(r=parseInt(r)),r||0===r?e.style.setProperty(t,"number"==typeof r?`${r}px`:r):e.style.removeProperty(t)},es=(e,t="flex")=>{e&&(e.style.display=t)},el=e=>{e&&(e.style.display="none")},ec=(e,t="block")=>{e&&new MutationObserver(()=>{ed(e,e.innerHTML,t)}).observe(e,{childList:!0,subtree:!0})},eu=(e,t,r,n)=>{let i=e.querySelector(t);i&&i.style.setProperty(r,n)},ed=(e,t,r="flex")=>{t?es(e,r):el(e)},ep=e=>!!(e&&(e.offsetWidth||e.offsetHeight||e.getClientRects().length)),eh=()=>!ep(j())&&!ep(F())&&!ep(D()),ef=e=>e.scrollHeight>e.clientHeight,em=(e,t)=>
63{let r=e;for(;r&&r!==t;){if(ef(r))return!0;r=r.parentElement}return!1},eg=e=>{let t=window.getComputedStyle(e),r=parseFloat(t.getPropertyValue("animation-duration")||"0"),n=parseFloat(t.getPropertyValue("transition-duration")||"0");return r>0||n>0},ey=(e,t=!1)=>{let r=U();r&&ep(r)&&(t&&(r.style.transition="none",r.style.width="100%"),setTimeout(()=>{r.style.transition=`width ${e/1e3}s linear`,r.style.width="0%"},10))},ev=()=>{let e=U();if(!e)return;let t=parseInt(window.getComputedStyle(e).width);e.style.removeProperty("transition"),e.style.width="100%";let r=t/parseInt(window.getComputedStyle(e).width)*100;e.style.width=`${r}%`},eb=()=>"undefined"==typeof window||"undefined"==typeof document,ew=` 64 <div aria-labelledby="${d.title}" aria-describedby="${d["html-container"]}" class="${d.popup}" tabindex="-1"> 65 <button type="button" class="${d.close}"></button> 66 <ul class="${d["progress-steps"]}"></ul> 67 <div class="${d.icon}"></div> 68 <img class="${d.image}" /> 69 <h2 class="${d.title}" id="${d.title}"></h2> 70 <div class="${d["html-container"]}" id="${d["html-container"]}"></div> 71 <input class="${d.input}" id="${d.input}" /> 72 <input type="file" class="${d.file}" /> 73 <div class="${d.range}"> 74 <input type="range" /> 75 <output></output> 76 </div> 77 <select class="${d.select}" id="${d.select}"></select> 78 <div class="${d.radio}"></div> 79 <label class="${d.checkbox}"> 80 <input type="checkbox" id="${d.checkbox}" /> 81 <span class="${d.label}"></span> 82 </label> 83 <textarea class="${d.textarea}" id="${d.textarea}"></textarea> 84 <div class="${d["validation-message"]}" id="${d["validation-message"]}"></div> 85 <div class="${d.actions}"> 86 <div class="${d.loader}"></div> 87 <button type="button" class="${d.confirm}"></button> 88 <button type="button" class="${d.deny}"></button> 89 <button type="button" class="${d.cancel}"></button> 90 </div> 91 <div class="${d.footer}"></div> 92 <div class="${d["timer-progress-bar-container"]}"> 93 <div class="${d["timer-progress-bar"]}"></div> 94 </div> 95 </div> 96`.replace(/(^|\n)\s*/g,""),ex=()=>{let e=S();return!!e&&(e.remove(),ei([document.documentElement,document.body],[d["no-backdrop"],d["toast-shown"],d["has-column"]]),!0)},ek=()=>{s.currentInstance&&s.currentInstance.resetValidationMessage()},eA=()=>{let e=T();if(!e)return;let t=ea(e,d.input),r=ea(e,d.file),n=e.querySelector(`.${d.range} input`),i=e.querySelector(`.${d.range} output`),a=ea(e,d.select),o=e.querySelector(`.${d.checkbox} input`),s=ea(e,d.textarea);t&&(t.oninput=ek),r&&(r.onchange=ek),a&&(a.onchange=ek),o&&(o.onchange=ek),s&&(s.oninput=ek),n&&i&&(n.oninput=()=>{ek(),i.value=n.value},n.onchange=()=>{ek(),i.value=n.value})},eC=e=>{if("string"==typeof e){let t=document.querySelector(e);if(!t)throw Error(`Target element "${e}" not found`);return t}return e},eS=e=>{let t=T();t&&(t.setAttribute("role",e.toast?"alert":"dialog"),t.setAttribute("aria-live",e.toast?"polite":"assertive"),e.toast||t.setAttribute("aria-modal","true"))},eE=e=>{"rtl"===window.getComputedStyle(e).direction&&(en(S(),d.rtl),s.isRTL=!0)},e_=e=>{let t=ex();if(eb())return void g("SweetAlert2 requires document to initialize");let r=document.createElement("div");r.className=d.container,t&&en(r,d["no-transition"]),J(r,ew),r.dataset.swal2Theme=e.theme;let n=eC(e.target||"body");n.appendChild(r),e.topLayer&&(r.setAttribute("popover",""),r.showPopover()),eS(e),eE(n),eA()},eT=(e,t)=>{e instanceof HTMLElement?t.appendChild(e):"object"==typeof e?eP(e,t):e&&J(t,e)},eP=(e,t)=>{"jquery"in e?eO(t,e):J(t,e.toString())},eO=(e,t)=>{if(e.textContent="",0 in t)for(let r=0;r in t;r++)e.appendChild(t[r].cloneNode(!0));else e.appendChild(t.cloneNode(!0))},eI=(e,t)=>{let r=z(),n=B();r&&n&&(t.showConfirmButton||t.showDenyButton||t.showCancelButton?es(r):el(r),Z(r,t,"actions"),eM(r,n,t),J(n,t.loaderHtml||""),Z(n,t,"loader"))};function eM(e,t,r){let n=j(),i=F(),a=D();n&&i&&a&&(eR(n,"confirm",r),eR(i,"deny",r),eR(a,"cancel",r),eL(n,i,a,r),r.reverseButtons&&(r.toast?(e.insertBefore(a,n),e.insertBefore(i,n)):(e.insertBefore(a,t),e.insertBefore(i,t),e.insertBefore(n,t))))}function eL(e,t,r,n){if(!n.buttonsStyling)return void ei([e,t,r],d.styled);en([e,t,r],d.styled),[[e,"confirm",n.confirmButtonColor],[t,"deny",n.denyButtonColor],[r,"cancel",n.cancelButtonColor]].forEac
96h(([e,t,r])=>{r&&e.style.setProperty(`--swal2-${t}-button-background-color`,r),eN(e)})}function eN(e){let t=window.getComputedStyle(e);if(t.getPropertyValue("--swal2-action-button-focus-box-shadow"))return;let r=t.backgroundColor.replace(/rgba?\((\d+), (\d+), (\d+).*/,"rgba($1, $2, $3, 0.5)");e.style.setProperty("--swal2-action-button-focus-box-shadow",t.getPropertyValue("--swal2-outline").replace(/ rgba\(.*/,` ${r}`))}function eR(e,t,r){let n=f(t);ed(e,r[`show${n}Button`],"inline-block"),J(e,r[`${t}ButtonText`]||""),e.setAttribute("aria-label",r[`${t}ButtonAriaLabel`]||""),e.className=d[t],Z(e,r,`${t}Button`)}let ej=(e,t)=>{let r=q();r&&(J(r,t.closeButtonHtml||""),Z(r,t,"closeButton"),ed(r,t.showCloseButton),r.setAttribute("aria-label",t.closeButtonAriaLabel||""))},eD=(e,t)=>{let r=S();r&&(eF(r,t.backdrop),eV(r,t.position),eB(r,t.grow),Z(r,t,"container"))};function eF(e,t){"string"==typeof t?e.style.background=t:t||en([document.documentElement,document.body],d["no-backdrop"])}function eV(e,t){t&&(t in d?en(e,d[t]):(m('The "position" parameter is not valid, defaulting to "center"'),en(e,d.center)))}function eB(e,t){t&&en(e,d[`grow-${t}`])}var ez={innerParams:new WeakMap,domCache:new WeakMap,focusedElement:new WeakMap};let e$=["input","file","range","select","radio","checkbox","textarea"],eU=(e,t)=>{let r=T();if(!r)return;let n=ez.innerParams.get(e),i=!n||t.input!==n.input;e$.forEach(e=>{let n=ea(r,d[e]);n&&(eY(e,t.inputAttributes),n.className=d[e],i&&el(n))}),t.input&&(i&&eq(t),eW(t))},eq=e=>{if(!e.input)return;if(!eQ[e.input])return void g(`Unexpected type of input! Expected ${Object.keys(eQ).join(" | ")}, got "${e.input}"`);let t=eJ(e.input);if(!t)return;let r=eQ[e.input](t,e);es(t),e.inputAutoFocus&&setTimeout(()=>{et(r)})},eH=e=>{for(let t=0;t<e.attributes.length;t++){let r=e.attributes[t].name;["id","type","value","style"].includes(r)||e.removeAttribute(r)}},eY=(e,t)=>{let r=T();if(!r)return;let n=ee(r,e);if(n)for(let e in eH(n),t)n.setAttribute(e,t[e])},eW=e=>{if(!e.input)return;let t=eJ(e.input);t&&Z(t,e,"input")},eG=(e,t)=>{!e.placeholder&&t.inputPlaceholder&&(e.placeholder=t.inputPlaceholder)},eK=(e,t,r)=>{if(r.inputLabel){let n=document.createElement("label"),i=d["input-label"];n.setAttribute("for",e.id),n.className=i,"object"==typeof r.customClass&&en(n,r.customClass.inputLabel),n.innerText=r.inputLabel,t.insertAdjacentElement("beforebegin",n)}},eJ=e=>{let t=T();if(t)return ea(t,d[e]||d.input)},eX=(e,t)=>{["string","number"].includes(typeof t)?e.value=`${t}`:A(t)||m(`Unexpected type of inputValue! Expected "string", "number" or "Promise", got "${typeof t}"`)},eQ={};eQ.text=eQ.email=eQ.password=eQ.number=eQ.tel=eQ.url=eQ.search=eQ.date=eQ["datetime-local"]=eQ.time=eQ.week=eQ.month=(e,t)=>{let r=e;return eX(r,t.inputValue),eK(r,r,t),eG(r,t),r.type=t.input,r},eQ.file=(e,t)=>{let r=e;return eK(r,r,t),eG(r,t),r},eQ.range=(e,t)=>{let r=e,n=r.querySelector("input"),i=r.querySelector("output");return n&&(eX(n,t.inputValue),n.type=t.input,eK(n,e,t)),i&&eX(i,t.inputValue),e},eQ.select=(e,t)=>{let r=e;if(r.textContent="",t.inputPlaceholder){let e=document.createElement("option");J(e,t.inputPlaceholder),e.value="",e.disabled=!0,e.selected=!0,r.appendChild(e)}return eK(r,r,t),r},eQ.radio=e=>(e.textContent="",e),eQ.checkbox=(e,t)=>{let r=T();if(!r)throw Error("Popup not found");let n=ee(r,"checkbox");if(!n)throw Error("Checkbox input not found");n.value="1",n.checked=!!t.inputValue;let i=e.querySelector("span");if(i){let e=t.inputPlaceholder||t.inputLabel;e&&J(i,e)}return n},eQ.textarea=(e,t)=>{let r=e;eX(r,t.inputValue),eG(r,t),eK(r,r,t);let n=e=>parseInt(window.getComputedStyle(e).marginLeft)+parseInt(window.getComputedStyle(e).marginRight);return setTimeout(()=>{if("MutationObserver"in window){let e=T();if(!e)return;let i=parseInt(window.getComputedStyle(e).width);new MutationObserver(()=>{if(!document.body.contains(r))return;let e=r.offsetWidth+n(r),a=T();a&&(e>i?a.style.width=`${e}px`:eo(a,"width",t.width))}).observe(r,{attributes:!0,attributeFilter:["style"]})}}),r};let eZ=(e,t)=>{let r=M();r&&(ec(r),Z(r,t,"htmlContainer"),t.html?(eT(t.html,r),es(r,"block")):t.text?(r.textContent=t.text,es(r,"block")):el(r),eU(e,t))},e0=(e,t)=>{let r=$();r&&(ec(r),ed(r,!!t.footer,"block"),t.footer&&eT(t.footer,r),Z(r,t,"footer"))},e1=(e,t)=>{let r=ez.innerParams.get(e),n=P();if(n){if(r&&t.icon===r.icon){e6(n,t),e2(n,t);return}if(!t.icon&&!t.iconHtml)return void el(n);if(t.icon&&-1===Object.keys(p).indexOf(t.icon)){g(`Unknown icon! Expected "success", "error", "warning", "info" or "question", got "${t.icon}"`),el(n);return}es(n),e6(n,t),e2(n,t),en(n,t.showClass&&t.showClass.icon),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",e5)}},e2=(e,t)=>
96{for(let[r,n]of Object.entries(p))t.icon!==r&&ei(e,n);en(e,t.icon&&p[t.icon]),e9(e,t),e5(),Z(e,t,"icon")},e5=()=>{let e=T();if(!e)return;let t=window.getComputedStyle(e).getPropertyValue("background-color"),r=e.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix");for(let e=0;e<r.length;e++)r[e].style.backgroundColor=t},e3=e=>` 97 ${e.animation?'<div class="swal2-success-circular-line-left"></div>':""} 98 <span class="swal2-success-line-tip"></span> <span class="swal2-success-line-long"></span> 99 <div class="swal2-success-ring"></div> 100 ${e.animation?'<div class="swal2-success-fix"></div>':""} 101 ${e.animation?'<div class="swal2-success-circular-line-right"></div>':""} 102`,e4=` 103 <span class="swal2-x-mark"> 104 <span class="swal2-x-mark-line-left"></span> 105 <span class="swal2-x-mark-line-right"></span> 106 </span> 107`,e6=(e,t)=>{if(!t.icon&&!t.iconHtml)return;let r=e.innerHTML,n="";t.iconHtml?n=e8(t.iconHtml):"success"===t.icon?(n=e3(t),r=r.replace(/ style=".*?"/g,"")):"error"===t.icon?n=e4:t.icon&&(n=e8({question:"?",warning:"!",info:"i"}[t.icon])),r.trim()!==n.trim()&&J(e,n)},e9=(e,t)=>{if(t.iconColor){for(let r of(e.style.color=t.iconColor,e.style.borderColor=t.iconColor,[".swal2-success-line-tip",".swal2-success-line-long",".swal2-x-mark-line-left",".swal2-x-mark-line-right"]))eu(e,r,"background-color",t.iconColor);eu(e,".swal2-success-ring","border-color",t.iconColor)}},e8=e=>`<div class="${d["icon-content"]}">${e}</div>`,e7=(e,t)=>{let r=L();if(r){if(!t.imageUrl)return void el(r);es(r,""),r.setAttribute("src",t.imageUrl),r.setAttribute("alt",t.imageAlt||""),eo(r,"width",t.imageWidth),eo(r,"height",t.imageHeight),r.className=d.image,Z(r,t,"image")}},te=!1,tt=0,tr=0,tn=0,ti=0,ta=e=>{e.addEventListener("mousedown",ts),document.body.addEventListener("mousemove",tl),e.addEventListener("mouseup",tc),e.addEventListener("touchstart",ts),document.body.addEventListener("touchmove",tl),e.addEventListener("touchend",tc)},to=e=>{e.removeEventListener("mousedown",ts),document.body.removeEventListener("mousemove",tl),e.removeEventListener("mouseup",tc),e.removeEventListener("touchstart",ts),document.body.removeEventListener("touchmove",tl),e.removeEventListener("touchend",tc)},ts=e=>{let t=T();if(!t)return;let r=P();if(e.target===t||r&&r.contains(e.target)){te=!0;let r=tu(e);tt=r.clientX,tr=r.clientY,tn=parseInt(t.style.insetInlineStart)||0,ti=parseInt(t.style.insetBlockStart)||0,en(t,"swal2-dragging")}},tl=e=>{let t=T();if(t&&te){let{clientX:r,clientY:n}=tu(e),i=r-tt;t.style.insetInlineStart=`${tn+(s.isRTL?-i:i)}px`,t.style.insetBlockStart=`${ti+(n-tr)}px`}},tc=()=>{let e=T();te=!1,ei(e,"swal2-dragging")},tu=e=>{let t=e.type.startsWith("touch")?e.touches[0]:e;return{clientX:t.clientX,clientY:t.clientY}},td=(e,t)=>{let r=S(),n=T();if(r&&n){if(t.toast){eo(r,"width",t.width),n.style.width="100%";let e=B();e&&n.insertBefore(e,P())}else eo(n,"width",t.width);eo(n,"padding",t.padding),t.color&&(n.style.color=t.color),t.background&&(n.style.background=t.background),el(R()),tp(n,t),t.draggable&&!t.toast?(en(n,d.draggable),ta(n)):(ei(n,d.draggable),to(n))}},tp=(e,t)=>{let r=t.showClass||{};e.className=`${d.popup} ${ep(e)?r.popup:""}`,t.toast?(en([document.documentElement,document.body],d["toast-shown"]),en(e,d.toast)):en(e,d.modal),Z(e,t,"popup"),"string"==typeof t.customClass&&en(e,t.customClass),t.icon&&en(e,d[`icon-${t.icon}`])},th=(e,t)=>{let r=N();if(!r)return;let{progressSteps:n,currentProgressStep:i}=t;if(!n||0===n.length||void 0===i)return void el(r);es(r),r.textContent="",i>=n.length&&m("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),n.forEach((e,a)=>{let o=tf(e);if(r.appendChild(o),a===i&&en(o,d["active-progress-step"]),a!==n.length-1){let e=tm(t);r.appendChild(e)}})},tf=e=>{let t=document.createElement("li");return en(t,d["progress-step"]),J(t,e),t},tm=e=>{let t=document.createElement("li");return en(t,d["progress-step-line"]),e.progressStepsDistance&&eo(t,"width",e.progressStepsDistance),t},tg=(e,t)=>{let r=I();r&&(ec(r),ed(r,!!(t.title||t.titleText),"block"),t.title&&eT(t.title,r),t.titleText&&(r.innerText=t.titleText),Z(r,t,"title"))},ty=(e,t)=>{var r;td(e,t),eD(e,t),th(e,t),e1(e,t),e7(e,t),tg(e,t),ej(e,t),eZ(e,t),eI(e,t),e0(e,t);let n=T();"function"==typeof t.didRender&&n&&t.didRender(n),null==(r=s.eventEmitter)||r.emit("didRender",n)},tv=()=>ep(T()),tb=()=>{var e;return null==(e=j())?void 0:e.click()},tw=()=>{var e;return null==(e=F())?void 0:e.click()},tx=()=>{var e;return null==(e=D())?void 0:e.click()},tk=Object.freeze({cancel:"cancel",backdrop:"backdrop",close:"close",esc:"esc",timer:"timer"}),tA=e=>{if(e.keydownTarget&&e.keydownHandlerAdded&&e.keydownHandler){let t=e.keydownHandler;e.keydownTarget.removeEventListener("keydown",t,{capture:e.keydownListenerCapture}),e.keydownHandlerAdded=!1}},tC=(e,t,r)=>{if(tA(e),!t.toast){let n=e=>tT(t,e,r);e.keydownHandler=n;let i=t.keydownListenerCapture?window:T();if(i){e.keydownTarget=i,e.keydownListenerCapture=t.keydownListenerCapture;let r=n;e.keydownTarget.addEventListener("keydown",r,{capture:e.keydownListenerCapture}),e.keydownHandlerAdded=!0}}},tS=(e,t)=>{var r;let n=Y();return n.length?(-2===(e+=t)&&(e=n.length-1),e===n.length?e=0:-1===e&&(e=n.length-1),n[e].focus(),!(C()&&n[e]instanceof HTMLIFrameElement)):(null==(r=T())||r.focus(),!0)},tE=["ArrowRight","ArrowDown"],t_=["ArrowLeft","ArrowUp"],tT=(e,t,r)=>{e&&(t.isComposing||229===t.keyCode||(e.stopKeydownPropagation&&t.stopPropagation(),"Enter"===t.key?tP(t,e):"Tab"===t.key?tO(t):[...tE,...t_].includes(t.key)?tI(t.key):"Escape"===t.key&&tM(t,e,r)))},tP=(e,t)=>{if(!w(t.allowEnterKey))return;let r=T();if(!r||!t.input)return;let n=ee(r,t.input);if(e.target&&n&&e.target instanceof HTMLElement&&e.target.outerHTML===n.outerHTML){if(["textarea","file"].includes(t.input))return;tb(),e.preventDefault()}},tO=e=>{let t=e.target,r=Y(),n=-1;for(let e=0;e<r.length;e++)if(t===r[e]){n=e;break}let i=!0;i=e.shiftKey?tS(n,-1):tS(n,1),e.stopPropagation(),i&&e.preventDefault()},tI=e=>{let t=z(),r=j(),n=F(),i=D();if(!t||!r||!n||!i)return;let a=[r,n,i];if(document.activeElement instanceof HTMLElement&&!a.includes(document.activeElement))return;let o=tE.includes(e)?"nextElementSibling":"previousElementSibling",s=document.activeElement;if(s){for(let e=0;e<t.children.length;e++){if(!(s=s[o]))return;if(s instanceof HTMLButtonElement&&ep(s))break}s instanceof HTMLButtonElement&&s.focus()}},tM=(e,t,r)=>{e.preventDefault(),w(t.allowEscapeKey)&&r(tk.esc)};
107var tL={swalPromiseResolve:new WeakMap,swalPromiseReject:new WeakMap};let tN=()=>{let e=S();Array.from(document.body.children).forEach(t=>{t.contains(e)||(t.hasAttribute("aria-hidden")&&t.setAttribute("data-previous-aria-hidden",t.getAttribute("aria-hidden")||""),t.setAttribute("aria-hidden","true"))})},tR=()=>{Array.from(document.body.children).forEach(e=>{e.hasAttribute("data-previous-aria-hidden")?(e.setAttribute("aria-hidden",e.getAttribute("data-previous-aria-hidden")||""),e.removeAttribute("data-previous-aria-hidden")):e.removeAttribute("aria-hidden")})},tj="undefined"!=typeof window&&!!window.GestureEvent,tD=tj&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,tF=()=>{if(tj&&!X(document.body,d.iosfix)){let e=document.body.scrollTop;document.body.style.top=`${-1*e}px`,en(document.body,d.iosfix),tV()}},tV=()=>{let e,t=S();t&&(t.ontouchstart=t=>{e=tB(t)},t.ontouchmove=t=>{e&&(t.preventDefault(),t.stopPropagation())})},tB=e=>{let t=e.target,r=S(),n=M();return!(!r||!n||tz(e)||t$(e))&&!!(t===r||!ef(r)&&t instanceof HTMLElement&&!em(t,n)&&"INPUT"!==t.tagName&&"TEXTAREA"!==t.tagName&&!(ef(n)&&n.contains(t)))},tz=e=>!!(e.touches&&e.touches.length&&"stylus"===e.touches[0].touchType),t$=e=>e.touches&&e.touches.length>1,tU=()=>{if(X(document.body,d.iosfix)){let e=parseInt(document.body.style.top,10);ei(document.body,d.iosfix),document.body.style.top="",document.body.scrollTop=-1*e}},tq=()=>{let e=document.createElement("div");e.className=d["scrollbar-measure"],document.body.appendChild(e);let t=e.getBoundingClientRect().width-e.clientWidth;return document.body.removeChild(e),t},tH=null,tY=e=>{null===tH&&(document.body.scrollHeight>window.innerHeight||"scroll"===e)&&(tH=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight=`${tH+tq()}px`)},tW=()=>{null!==tH&&(document.body.style.paddingRight=`${tH}px`,tH=null)};function tG(e,t,r,n){G()?t5(e,n):(c(r).then(()=>t5(e,n)),tA(s)),tj?(t.setAttribute("style","display:none !important"),t.removeAttribute("class"),t.innerHTML=""):t.remove(),W()&&(tW(),tU(),tR()),tK()}function tK(){ei([document.documentElement,document.body],[d.shown,d["height-auto"],d["n
107o-backdrop"],d["toast-shown"]])}function tJ(e){e=t0(e);let t=tL.swalPromiseResolve.get(this),r=tX(this);this.isAwaitingPromise?e.isDismissed||(tZ(this),t(e)):r&&t(e)}let tX=e=>{let t=T();if(!t)return!1;let r=ez.innerParams.get(e);if(!r||X(t,r.hideClass.popup))return!1;ei(t,r.showClass.popup),en(t,r.hideClass.popup);let n=S();return ei(n,r.showClass.backdrop),en(n,r.hideClass.backdrop),t1(e,t,r),!0};function tQ(e){let t=tL.swalPromiseReject.get(this);tZ(this),t&&t(e)}let tZ=e=>{e.isAwaitingPromise&&(delete e.isAwaitingPromise,ez.innerParams.get(e)||e._destroy())},t0=e=>void 0===e?{isConfirmed:!1,isDenied:!1,isDismissed:!0}:Object.assign({isConfirmed:!1,isDenied:!1,isDismissed:!1},e),t1=(e,t,r)=>{var n;let i=S(),a=eg(t);"function"==typeof r.willClose&&r.willClose(t),null==(n=s.eventEmitter)||n.emit("willClose",t),a&&i?t2(e,t,i,!!r.returnFocus,r.didClose):i&&tG(e,i,!!r.returnFocus,r.didClose)},t2=(e,t,r,n,i)=>{s.swalCloseEventFinishedCallback=tG.bind(null,e,r,n,i);let a=function(e){if(e.target===t){var r;null==(r=s.swalCloseEventFinishedCallback)||r.call(s),delete s.swalCloseEventFinishedCallback,t.removeEventListener("animationend",a),t.removeEventListener("transitionend",a)}};t.addEventListener("animationend",a),t.addEventListener("transitionend",a)},t5=(e,t)=>{setTimeout(()=>{var r;"function"==typeof t&&t.bind(e.params)(),null==(r=s.eventEmitter)||r.emit("didClose"),e._destroy&&e._destroy()})},t3=e=>{let t=T();if(t||new nD,!(t=T()))return;let r=B();G()?el(P()):t4(t,e),es(r),t.setAttribute("data-loading","true"),t.setAttribute("aria-busy","true"),t.focus()},t4=(e,t)=>{let r=z(),n=B();r&&n&&(!t&&ep(j())&&(t=j()),es(r),t&&(el(t),n.setAttribute("data-button-to-replace",t.className),r.insertBefore(n,t)),en([e,r],d.loading))},t6=(e,t)=>{"select"===t.input||"radio"===t.input?rt(e,t):["text","email","number","tel","textarea"].some(e=>e===t.input)&&(x(t.inputValue)||A(t.inputValue))&&(t3(j()),rr(e,t))},t9=(e,t)=>
107{let r=e.getInput();if(!r)return null;switch(t.input){case"checkbox":return t8(r);case"radio":return t7(r);case"file":return re(r);default:return t.inputAutoTrim?r.value.trim():r.value}},t8=e=>+!!e.checked,t7=e=>e.checked?e.value:null,re=e=>e.files&&e.files.length?null!==e.getAttribute("multiple")?e.files:e.files[0]:null,rt=(e,t)=>{let r=T();if(!r)return;let n=e=>{"select"===t.input?rn(r,ra(e),t):"radio"===t.input&&ri(r,ra(e),t)};x(t.inputOptions)||A(t.inputOptions)?(t3(j()),k(t.inputOptions).then(t=>{e.hideLoading(),n(t)})):"object"==typeof t.inputOptions?n(t.inputOptions):g(`Unexpected type of inputOptions! Expected object, Map or Promise, got ${typeof t.inputOptions}`)},rr=(e,t)=>{let r=e.getInput();r&&(el(r),k(t.inputValue).then(n=>{r.value="number"===t.input?`${parseFloat(n)||0}`:`${n}`,es(r),r.focus(),e.hideLoading()}).catch(t=>{g(`Error in inputValue promise: ${t}`),r.value="",es(r),r.focus(),e.hideLoading()}))};function rn(e,t,r){let n=ea(e,d.select);if(!n)return;let i=(e,t,n)=>{let i=document.createElement("option");i.value=n,J(i,t),i.selected=ro(n,r.inputValue),e.appendChild(i)};t.forEach(e=>{let t=e[0],r=e[1];if(Array.isArray(r)){let e=document.createElement("optgroup");e.label=t,e.disabled=!1,n.appendChild(e),r.forEach(t=>i(e,t[1],t[0]))}else i(n,r,t)}),n.focus()}function ri(e,t,r){let n=ea(e,d.radio);if(!n)return;t.forEach(e=>{let t=e[0],i=e[1],a=document.createElement("input"),o=document.createElement("label");a.type="radio",a.name=d.radio,a.value=t,ro(t,r.inputValue)&&(a.checked=!0);let s=document.createElement("span");J(s,i),s.className=d.label,o.appendChild(a),o.appendChild(s),n.appendChild(o)});let i=n.querySelectorAll("input");i.length&&i[0].focus()}let ra=e=>(e instanceof Map?Array.from(e):Object.entries(e)).map(([e,t])=>[e,"object"==typeof t?ra(t):t]),ro=(e,t)=>!!t&&null!=t&&t.toString()===e.toString(),rs=e=>{let t=ez.innerParams.get(e);e.disableButtons(),t.input?ru(e,"confirm"):rm(e,!0)},rl=e=>{let t=ez.innerParams.get(e);e.disableButtons(),t.returnInputValueOnDeny?ru(e,"deny"):rp(e,!1)},rc=(e,t)=>{e.disableButtons(),t(tk.cancel)},ru=(e,t)=>{let r=ez.innerParams.get(e);if(!r.input)return void g(`The "input" parameter is needed to be set when using returnInputValueOn${f(t)}`);let n=e.getInput(),i=t9(e,r);r.inputValidator?rd(e,i,t):n&&!n.checkValidity()?(e.enableButtons(),e.showValidationMessage(r.validationMessage||n.validationMessage)):"deny"===t?rp(e,i):rm(e,i)},rd=(e,t,r)=>{let n=ez.innerParams.get(e);e.disableInput(),Promise.resolve().then(()=>k(n.inputValidator(t,n.validationMessage))).then(n=>{e.enableButtons(),e.enableInput(),n?e.showValidationMessage(n):"deny"===r?rp(e,t):rm(e,t)})},rp=(e,t)=>{let r=ez.innerParams.get(e);r.showLoaderOnDeny&&t3(F()),r.preDeny?(e.isAwaitingPromise=!0,Promise.resolve().then(()=>k(r.preDeny(t,r.validationMessage))).then(r=>{!1===r?(e.hideLoading(),tZ(e)):e.close({isDenied:!0,value:void 0===r?t:r})}).catch(t=>rf(e,t))):e.close({isDenied:!0,value:t})},rh=(e,t)=>{e.close({isConfirmed:!0,value:t})},rf=(e,t)=>{e.rejectPromise(t)},rm=(e,t)=>{let r=ez.innerParams.get(e);r.showLoaderOnConfirm&&t3(),r.preConfirm?(e.resetValidationMessage(),e.isAwaitingPromise=!0,Promise.resolve().then(()=>k(r.preConfirm(t,r.validationMessage))).then(r=>{ep(R())||!1===r?(e.hideLoading(),tZ(e)):rh(e,void 0===r?t:r)}).catch(t=>rf(e,t))):rh(e,t)};function rg(){let e=ez.innerParams.get(this);if(!e)return;let t=ez.domCache.get(this);el(t.loader),G()?e.icon&&es(P()):ry(t),ei([t.popup,t.actions],d.loading),t.popup.removeAttribute("aria-busy"),t.popup.removeAttribute("data-loading"),t.confirmButton.disabled=!1,t.denyButton.disabled=!1,t.cancelButton.disabled=!1;let r=ez.focusedElement.get(this);r instanceof HTMLElement&&document.activeElement===document.body&&r.focus(),ez.focusedElement.delete(this)}let ry=e=>{let t=e.loader.getAttribute("data-button-to-replace"),r=t?e.popup.getElementsByClassName(t):[];r.length?es(r[0],"inline-block"):eh()&&el(e.actions)};function rv(){let e=ez.innerParams.get(this),t=ez.domCache.get(this);return t?ee(t.popup,e.input):null}function rb(e,t,r){let n=ez.domCache.get(e);
107t.forEach(e=>{n[e].disabled=r})}function rw(e,t){let r=T();if(r&&e)if("radio"===e.type){let e=r.querySelectorAll(`[name="${d.radio}"]`);for(let r=0;r<e.length;r++)e[r].disabled=t}else e.disabled=t}function rx(){rb(this,["confirmButton","denyButton","cancelButton"],!1);let e=ez.focusedElement.get(this);e instanceof HTMLElement&&document.activeElement===document.body&&e.focus(),ez.focusedElement.delete(this)}function rk(){ez.focusedElement.set(this,document.activeElement),rb(this,["confirmButton","denyButton","cancelButton"],!0)}function rA(){rw(this.getInput(),!1)}function rC(){rw(this.getInput(),!0)}function rS(e){let t=ez.domCache.get(this),r=ez.innerParams.get(this);J(t.validationMessage,e),t.validationMessage.className=d["validation-message"],r.customClass&&r.customClass.validationMessage&&en(t.validationMessage,r.customClass.validationMessage),es(t.validationMessage);let n=this.getInput();n&&(n.setAttribute("aria-invalid","true"),n.setAttribute("aria-describedby",d["validation-message"]),et(n),en(n,d.inputerror))}function rE(){let e=ez.domCache.get(this);e.validationMessage&&el(e.validationMessage);let t=this.getInput();t&&(t.removeAttribute("aria-invalid"),t.removeAttribute("aria-describedby"),ei(t,d.inputerror))}let r_={title:"",titleText:"",text:"",html:"",footer:"",icon:void 0,iconColor:void 0,iconHtml:void 0,template:void 0,toast:!1,draggable:!1,animation:!0,theme:"light",showClass:{popup:"swal2-show",backdrop:"swal2-backdrop-show",icon:"swal2-icon-show"},hideClass:{popup:"swal2-hide",backdrop:"swal2-backdrop-hide",icon:"swal2-icon-hide"},customClass:{},target:"body",color:void 0,backdrop:!0,heightAuto:!0,allowOutsideClick:!0,allowEscapeKey:!0,allowEnterKey:!0,stopKeydownPropagation:!0,keydownListenerCapture:!1,showConfirmButton:!0,showDenyButton:!1,showCancelButton:!1,preConfirm:void 0,preDeny:void 0,confirmButtonText:"OK",confirmButtonAriaLabel:"",confirmButtonColor:void 0,denyButtonText:"No",denyButtonAriaLabel:"",denyButtonColor:void 0,cancelButtonText:"Cancel",cancelButtonAriaLabel:"",cancelButtonColor:void 0,buttonsStyling:!0,reverseButtons:!1,focusConfirm:!0,focusDeny:!1,focusCancel:!1,returnFocus:!0,showCloseButton:!1,closeButtonHtml:"×",closeButtonAriaLabel:"Close this dialog",loaderHtml:"",showLoaderOnConfirm:!1,showLoaderOnDeny:!1,imageUrl:void 0,imageWidth:void 0,imageHeight:void 0,imageAlt:"",timer:void 0,timerProgressBar:!1,width:void 0,padding:void 0,background:void 0,input:void 0,inputPlaceholder:"",inputLabel:"",inputValue:"",inputOptions:{},inputAutoFocus:!0,inputAutoTrim:!0,inputAttributes:{},inputValidator:void 0,returnInputValueOnDeny:!1,validationMessage:void 0,grow:!1,position:"center",progressSteps:[],currentProgressStep:void 0,progressStepsDistance:void 0,willOpen:void 0,didOpen:void 0,didRender:void 0,willClose:void 0,didClose
107:void 0,didDestroy:void 0,scrollbarPadding:!0,topLayer:!1},rT=["allowEscapeKey","allowOutsideClick","background","buttonsStyling","cancelButtonAriaLabel","cancelButtonColor","cancelButtonText","closeButtonAriaLabel","closeButtonHtml","color","confirmButtonAriaLabel","confirmButtonColor","confirmButtonText","currentProgressStep","customClass","denyButtonAriaLabel","denyButtonColor","denyButtonText","didClose","didDestroy","draggable","footer","hideClass","html","icon","iconColor","iconHtml","imageAlt","imageHeight","imageUrl","imageWidth","preConfirm","preDeny","progressSteps","returnFocus","reverseButtons","showCancelButton","showCloseButton","showConfirmButton","showDenyButton","text","title","titleText","theme","willClose"],rP={allowEnterKey:void 0},rO=["allowOutsideClick","allowEnterKey","backdrop","draggable","focusConfirm","focusDeny","focusCancel","returnFocus","heightAuto","keydownListenerCapture"],rI=e=>Object.prototype.hasOwnProperty.call(r_,e),rM=e=>-1!==rT.indexOf(e),rL=e=>rP[e],rN=e=>{rI(e)||m(`Unknown parameter "${e}"`)},rR=e=>{rO.includes(e)&&m(`The parameter "${e}" is incompatible with toasts`)},rj=e=>{let t=rL(e);t&&b(e,t)},rD=e=>{for(let t in!1===e.backdrop&&e.allowOutsideClick&&m('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`'),e.theme&&!["light","dark","auto","minimal","borderless","bootstrap-4","bootstrap-4-light","bootstrap-4-dark","bootstrap-5","bootstrap-5-light","bootstrap-5-dark","material-ui","material-ui-light","material-ui-dark","embed-iframe","bulma","bulma-light","bulma-dark"].includes(e.theme)&&m(`Invalid theme "${e.theme}"`),e)rN(t),e.toast&&rR(t),rj(t)};function rF(e){let t=S(),r=T(),n=ez.innerParams.get(this);if(!r||X(r,n.hideClass.popup))return void m("You're trying to update the closed or closing popup, that won't work. Use the update() method in preConfirm parameter or show a new popup.");let i=Object.assign({},n,rV(e));rD(i),t&&(t.dataset.swal2Theme=i.theme),ty(this,i),ez.innerParams.set(this,i),Object.defineProperties(this,{params:{value:Object.assign({},this.params,e),writable:!1,enumerable:!0}})}let rV=e=>{let t={};return Object.keys(e).forEach(r=>{if(rM(r)){let n=e;t[r]=n[r]}else m(`Invalid parameter to update: ${r}`)}),t};function rB(){var e;let t=ez.domCache.get(this),r=ez.innerParams.get(this);if(!r)return void r$(this);t.popup&&s.swalCloseEventFinishedCallback&&(s.swalCloseEventFinishedCallback(),delete s.swalCloseEventFinishedCallback),"function"==typeof r.didDestroy&&r.didDestroy(),null==(e=s.eventEmitter)||e.emit("didDestroy"),rz(this)}let rz=e=>{r$(e),delete e.params,delete s.keydownHandler,delete s.keydownTarget,delete s.currentInstance},r$=e=>{e.isAwaitingPromise?(rU(ez,e),e.isAwaitingPromise=!0):(rU(tL,e),rU(ez,e),delete e.isAwaitingPromise,delete e.disableButtons,delete e.enableButtons,delete e.getInput,delete e.disableInput,delete e.enableInput,delete e.hideLoading,delete e.disableLoading,delete e.showValidationMessage,delete e.resetValidationMessage,delete e.close,delete e.closePopup,delete e.closeModal,delete e.closeToast,delete e.rejectPromise,delete e.update,delete e._destroy)},rU=(e,t)=>{for(let r in e)e[r].delete(t)};var rq=Object.freeze({__proto__:null,_destroy:rB,close:tJ,closeModal:tJ,closePopup:tJ,closeToast:tJ,disableButtons:rk,disableInput:rC,disableLoading:rg,enableButtons:rx,enableInput:rA,getIn
107put:rv,handleAwaitingPromise:tZ,hideLoading:rg,rejectPromise:tQ,resetValidationMessage:rE,showValidationMessage:rS,update:rF});let rH=(e,t,r)=>{e.toast?rY(e,t,r):(rK(t),rJ(t),rX(e,t,r))},rY=(e,t,r)=>{t.popup.onclick=()=>{e&&(rW(e)||e.timer||e.input)||r(tk.close)}},rW=e=>!!(e.showConfirmButton||e.showDenyButton||e.showCancelButton||e.showCloseButton),rG=!1,rK=e=>{e.popup.onmousedown=()=>{e.container.onmouseup=function(t){e.container.onmouseup=()=>{},t.target===e.container&&(rG=!0)}}},rJ=e=>{e.container.onmousedown=t=>{t.target===e.container&&t.preventDefault(),e.popup.onmouseup=function(t){e.popup.onmouseup=()=>{},(t.target===e.popup||t.target instanceof HTMLElement&&e.popup.contains(t.target))&&(rG=!0)}}},rX=(e,t,r)=>{t.container.onclick=n=>{if(rG){rG=!1;return}n.target===t.container&&w(e.allowOutsideClick)&&r(tk.backdrop)}},rQ=e=>"object"==typeof e&&null!==e&&"jquery"in e,rZ=e=>e instanceof Element||rQ(e),r0=e=>{let t={};return"object"!=typeof e[0]||rZ(e[0])?["title","html","icon"].forEach((r,n)=>{let i=e[n];"string"==typeof i||rZ(i)?t[r]=i:void 0!==i&&g(`Unexpected type of ${r}! Expected "string" or "Element", got ${typeof i}`)}):Object.assign(t,e[0]),t};function r1(...e){return new this(...e)}function r2(e){class t extends this{_main(t,r){return super._main(t,Object.assign({},e,r))}}return t}let r5=()=>s.timeout&&s.timeout.getTimerLeft(),r3=()=>{if(s.timeout)return ev(),s.timeout.stop()},r4=()=>{if(s.timeout){let e=s.timeout.start();return ey(e),e}},r6=()=>{let e=s.timeout;return e&&(e.running?r3():r4())},r9=e=>{if(s.timeout){let t=s.timeout.increase(e);return ey(t,!0),t}},r8=()=>!!(s.timeout&&s.timeout.isRunning()),r7=!1,ne={};function nt(e="data-swal-template"){ne[e]=this,r7||(document.body.addEventListener("click",nr),r7=!0)}let nr=e=>{for(let t=e.target;t&&t!==document;t=t.parentNode)for(let e in ne){let r=t.getAttribute&&t.getAttribute(e);if(r)return void ne[e].fire({template:r})}};class nn{constructor(){this.events={}}_getHandlersByEventName(e){return void 0===this.events[e]&&(this.events[e]=[]),this.events[e]}on(e,t){let r=this._getHandlersByEventName(e);r.includes(t)||r.push(t)}once(e,t){let r=(...n)=>{this.removeListener(e,r),t.apply(this,n)};this.on(e,r)}emit(e,...t){this._getHandlersByEventName(e).forEach(e=>{try{e.apply(this,t)}catch(e){console.error(e)}})}removeListener(e,t){let r=this._getHandlersByEventName(e),n=r.indexOf(t);n>-1&&r.splice(n,1)}removeAllListeners(e){void 0!==this.events[e]&&(this.events[e].length=0)}reset(){this.events={}}}s.eventEmitter=new nn;var ni=Object.freeze({__proto__:null,argsToParams:r0,bindClickHandler:nt,clickCancel:tx,clickConfirm:tb,clickDeny:tw,enableLoading:t3,fire:r1,getActions:z,getCancelButton:D,getCloseButton:q,getConfirmButton:j,getContainer:S,getDenyButton:F,getFocusableElements:Y,getFooter:$,getHtmlContainer:M,getIcon:P,getIconContent:O,getImage:L,getInputLabel:V,getLoader:B,getPopup:T,getProgressSteps:N,getTimerLeft:r5,getTimerProgressBar:U,getTitle:I,getValidationMessage:R,increaseTimer:r9,isDeprecatedParameter:rL,isLoading:K,isTimerRunning:r8,isUpdatableParameter:rM,isValidParameter:rI,isVisible:tv,mixin:r2,off:(e,t)=>{if(s.eventEmitter){if(!e)return void s.eventEmitter.reset();t?s.eventEmitter.removeListener(e,t):s.eventEmitter.removeAllListeners(e)}},on:(e,t)=>{s.eventEmitter&&s.eventEmitter.on(e,t)},once:(e,t)=>{s.eventEmitter&&s.eventEmitter.once(e,t)},resumeTimer:r4,showLoading:t3,stopTimer:r3,toggleTimer:r6});class na{constructor(e,t){this.callback=e,this.remaining=t,this.running=!1,this.start()}start(){return this.running||(this.running=!0,this.started=new Date,this.id=setTimeout(this.callback,this.remaining)),this.remaining}stop(){return this.started&&this.running&&(this.running=!1,clearTimeout(this.id),this.remaining-=new Date().getTime()-this.started.getTime()),this.remaining}increase(e){let t=this.running;return t&&this.stop(),this.remaining+=e,t&&this.start(),this.remaining}getTimerLeft(){return this.running&&(this.stop(),this.start()),this.remaining}isRunning(){return this.running}}let no=["swal-title","swal-html","swal-footer"],ns=e=>{let t="string"==typeof e.template?document.querySelector(e.template):e.template;if(!t)return{};let r=t.content;return nm(r),Object.assign(nl(r),nc(r),nu(r),nd(r),np(r),nh(r),nf(r,no))},nl=e=>{let t={};
107return Array.from(e.querySelectorAll("swal-param")).forEach(e=>{ng(e,["name","value"]);let r=e.getAttribute("name"),n=e.getAttribute("value");r&&n&&(r in r_&&"boolean"==typeof r_[r]?t[r]="false"!==n:r in r_&&"object"==typeof r_[r]?t[r]=JSON.parse(n):t[r]=n)}),t},nc=e=>{let t={};return Array.from(e.querySelectorAll("swal-function-param")).forEach(e=>{let r=e.getAttribute("name"),n=e.getAttribute("value");r&&n&&(t[r]=Function(`return ${n}`)())}),t},nu=e=>{let t={};return Array.from(e.querySelectorAll("swal-button")).forEach(e=>{ng(e,["type","color","aria-label"]);let r=e.getAttribute("type");if(!r||!["confirm","cancel","deny"].includes(r))return;t[`${r}ButtonText`]=e.innerHTML,t[`show${f(r)}Button`]=!0;let n=e.getAttribute("color");null!==n&&(t[`${r}ButtonColor`]=n);let i=e.getAttribute("aria-label");null!==i&&(t[`${r}ButtonAriaLabel`]=i)}),t},nd=e=>{let t={},r=e.querySelector("swal-image");if(r){ng(r,["src","width","height","alt"]);let e=r.getAttribute("src");null!==e&&(t.imageUrl=e||void 0);let n=r.getAttribute("width");null!==n&&(t.imageWidth=n||void 0);let i=r.getAttribute("height");null!==i&&(t.imageHeight=i||void 0);let a=r.getAttribute("alt");null!==a&&(t.imageAlt=a||void 0)}return t},np=e=>{let t={},r=e.querySelector("swal-icon");return r&&(ng(r,["type","color"]),r.hasAttribute("type")&&(t.icon=r.getAttribute("type")),r.hasAttribute("color")&&(t.iconColor=r.getAttribute("color")),t.iconHtml=r.innerHTML),t},nh=e=>{let t={},r=e.querySelector("swal-input");r&&(ng(r,["type","label","placeholder","value"]),t.input=r.getAttribute("type")||"text",r.hasAttribute("label")&&(t.inputLabel=r.getAttribute("label")),r.hasAttribute("placeholder")&&(t.inputPlaceholder=r.getAttribute("placeholder")),r.hasAttribute("value")&&(t.inputValue=r.getAttribute("value")));let n=Array.from(e.querySelectorAll("swal-input-option"));return n.length&&(t.inputOptions={},n.forEach(e=>{ng(e,["value"]);let r=e.getAttribute("value");if(!r)return;let n=e.innerHTML;t.inputOptions[r]=n})),t},nf=(e,t)=>{let r={};for(let n in t){let i=t[n],a=e.querySelector(i);a&&(ng(a,[]),r[i.replace(/^swal-/,"")]=a.innerHTML.trim())}return r},nm=e=>{let t=no.concat(["swal-param","swal-function-param","swal-button","swal-image","swal-icon","swal-input","swal-input-option"]);Array.from(e.children).forEach(e=>{let r=e.tagName.toLowerCase();t.includes(r)||m(`Unrecognized element <${r}>`)})},ng=(e,t)=>{Array.from(e.attributes).forEach(r=>{-1===t.indexOf(r.name)&&m([`Unrecognized attribute "${r.name}" on <${e.tagName.toLowerCase()}>.`,`${t.length?`Allowed attributes are: ${t.join(", ")}`:"To set the value, use HTML within the element."}`])})},ny=10,nv=e=>{var t,r;let n=S(),i=T();if(!n||!i)return;"function"==typeof e.willOpen&&e.willOpen(i),null==(t=s.eventEmitter)||t.emit("willOpen",i);let a=window.getComputedStyle(document.body).overflowY;if(nk(n,i,e),setTimeout(()=>{nw(n,i)},ny),W()&&(nx(n,void 0!==e.scrollbarPadding&&e.scrollbarPadding,a),tN()),tD&&!1===e.backdrop&&i.scrollHeight>n.clientHeight&&(n.style.pointerEvents="auto"),G()||s.previousActiveElement||(s.previousActiveElement=document.activeElement),"function"==typeof e.didOpen){let t=e.didOpen;setTimeout(()=>t(i))}null==(r=s.eventEmitter)||r.emit("didOpen",i)},nb=e=>{let t=T();if(!t||e.target!==t)return;let r=S();r&&(t.removeEventListener("animationend",nb),t.removeEventListener("transitionend",nb),r.style.overflowY="auto",ei(r,d["no-transition"]))},nw=(e,t)=>{eg(t)?(e.style.overflowY="hidden",t.addEventListener("animationend",nb),t.addEventListener("transitionend",nb)):e.style.overflowY="auto"},nx=(e,t,r)=>{tF(),t&&"hidden"!==r&&tY(r),setTimeout(()=>{e.scrollTop=0})},nk=(e,t,r)=>{var n;null!=(n=r.showClass)&&n.backdrop&&en(e,r.showClass.backdrop),r.animation?(t.style.setProperty("opacity","0","important"),es(t,"grid"),setTimeout(()=>{var e;null!=(e=r.showClass)&&e.popup&&en(t,r.showClass.popup),t.style.removeProperty("opacity")},ny)):es(t,"grid"),en([document.documentElement,document.body],d.shown),r.heightAuto&&r.backdrop&&!r.toast&&en([document.documentElement,document.body],d["height-auto"])};var nA=(e,t)=>/^[a-zA-Z0-9.+_'-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]+$/.test(e)?Promise.resolve():Promise.resolve(t||"Invalid email address"),nC=(e,t)=>/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$/.test(e)?Promise.resolve():Promise.resolve(t||"Invalid URL");function nS(e){e.inputValidator||("email"===e.input&&(e.inputValidator=nA),"url"===e.input&&(e.inputValidator=nC))}function nE(e){e.target&&("string"!=typeof e.target||document.querySelector(e.target))&&("string"==typeof e.target||e.target.appendChild)||(m('Target parameter is not val
107id, defaulting to "body"'),e.target="body")}function n_(e){nS(e),e.showLoaderOnConfirm&&!e.preConfirm&&m("showLoaderOnConfirm is set to true, but preConfirm is not defined.\nshowLoaderOnConfirm should be used together with preConfirm, see usage example:\nhttps://sweetalert2.github.io/#ajax-request"),nE(e),"string"==typeof e.title&&(e.title=e.title.split("\n").join("<br />")),e_(e)}var nT=new WeakMap;class nP{constructor(...t){if(i(this,nT,Promise.resolve({isConfirmed:!1,isDenied:!1,isDismissed:!0})),"undefined"==typeof window)return;e=this;let r=Object.freeze(this.constructor.argsToParams(t));this.params=r,this.isAwaitingPromise=!1,a(nT,this,this._main(e.params))}_main(t,r={}){if(rD(Object.assign({},r,t)),s.currentInstance){let e=tL.swalPromiseResolve.get(s.currentInstance),{isAwaitingPromise:t}=s.currentInstance;s.currentInstance._destroy(),t||e({isDismissed:!0}),W()&&tR()}s.currentInstance=e;let n=nI(t,r);n_(n),Object.freeze(n),s.timeout&&(s.timeout.stop(),delete s.timeout),clearTimeout(s.restoreFocusTimeout);let i=nM(e);return ty(e,n),ez.innerParams.set(e,n),nO(e,i,n)}then(e){return n(nT,this).then(e)}finally(e){return n(nT,this).finally(e)}}let nO=(e,t,r)=>new Promise((n,i)=>{let a=t=>{e.close({isDismissed:!0,dismiss:t,isConfirmed:!1,isDenied:!1})};tL.swalPromiseResolve.set(e,n),tL.swalPromiseReject.set(e,i),t.confirmButton.onclick=()=>{rs(e)},t.denyButton.onclick=()=>{rl(e)},t.cancelButton.onclick=()=>{rc(e,a)},t.closeButton.onclick=()=>{a(tk.close)},rH(r,t,a),tC(s,r,a),t6(e,r),nv(r),nL(s,r,a),nN(t,r),setTimeout(()=>{t.container.scrollTop=0})}),nI=(e,t)=>{let r=Object.assign({},r_,t,ns(e),e);return r.showClass=Object.assign({},r_.showClass,r.showClass),r.hideClass=Object.assign({},r_.hideClass,r.hideClass),!1===r.animation&&(r.showClass={backdrop:"swal2-noanimation"},r.hideClass={}),r},nM=e=>{let t={popup:T(),container:S(),actions:z(),confirmButton:j(),denyButton:F(),cancelButton:D(),loader:B(),closeButton:q(),validationMessage:R(),progressSteps:N()};return ez.domCache.set(e,t),t},nL=(e,t,r)=>{let n=U();el(n),t.timer&&(e.timeout=new na(()=>{r("timer"),delete e.timeout},t.timer),t.timerProgressBar&&n&&(es(n),Z(n,t,"timerProgressBar"),setTimeout(()=>{e.timeout&&e.timeout.running&&ey(t.timer)})))},nN=(e,t)=>{if(!t.toast){if(!w(t.allowEnterKey)){b("allowEnterKey","preConfirm: () => false"),e.popup.focus();return}!nR(e)&&(nj(e,t)||tS(-1,1))}},nR=e=>{for(let t of Array.from(e.popup.querySelectorAll("[autofocus]")))if(t instanceof HTMLElement&&ep(t))return t.focus(),!0;return!1},nj=(e,t)=>t.focusDeny&&ep(e.denyButton)?(e.denyButton.focus(),!0):t.focusCancel&&ep(e.cancelButton)?(e.cancelButton.focus(),!0):!!(t.focusConfirm&&ep(e.confirmButton))&&(e.confirmButton.focus(),!0);nP.prototype.disableButtons=rk,nP.prototype.enableButtons=rx,nP.prototype.getInput=rv,nP.prototype.disableInput=rC,nP.prototype.enableInput=rA,nP.prototype.hideLoading=rg,nP.prototype.disableLoading=rg,nP.prototype.showValidationMessage=rS,nP.prototype.resetValidationMessage=rE,nP.prototype.close=tJ,nP.prototype.closePopup=tJ,nP.prototype.closeModal=tJ,nP.prototype.closeToast=tJ,nP.prototype.rejectPromise=tQ,nP.prototype.update=rF,nP.prototype._destroy=rB,Object.assign(nP,ni),Object.keys(rq).forEach(t=>{nP[t]=function(...r){if(e&&e[t])return e[t](...r)}}),nP.DismissReason=tk,nP.version="11.26.24";let nD=nP;return nD.default=nD,nD}),void 0!==this&&this.Sweetalert2&&(this.swal=this.sweetAlert=this.Swal=this.SweetAlert=this.Sweetalert2),"undefined"!=typeof document&&function(e,t){var r=e.createElement("style");if(e.getElementsByTagName("head")[0].appendChild(r),r.styleSheet)r.styleSheet.disabled||(r.styleSheet.cssText=t);else try{r.innerHTML=t}catch(e){r.innerText=t}}(document,':root{--swal2-outline: 0 0 0 3px rgba(100, 150, 200, 0.5);--swal2-container-padding: 0.625em;--swal2-backdrop: rgba(0, 0, 0, 0.4);--swal2-backdrop-transition: background-color 0.15s;--swal2-width: 32em;--swal2-padding: 0 0 1.25em;--swal2-border: none;--swal2-border-radius: 0.3125rem;--swal2-background: white;--swal2-color: #545454;--swal2-show-animation: swal2-show 0.3s;--swal2-hide-animation: swal2-hide 0.15s forwards;--swal2-icon-zoom: 1;--swal2-icon-animations: true;--swal2-title-padding: 0.8em 1em 0;--swal2-html-container-padding: 1em 1.6em 0.3em;--swal2-input-border: 1px solid #d9d9d9;--swal2-input-border-radius: 0.1875em;--swal2-input-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06), 0 0 0 3px transparent;--swal2-input-background: transparent;--swal2-input-transition: border-color 0.2s, box-shadow 0.2s;--swal2-input-hover-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06), 0 0 0 3px transparent;--swal2-input-focus-border: 1px solid #b4dbed;
107--swal2-input-focus-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.06), 0 0 0 3px rgba(100, 150, 200, 0.5);--swal2-progress-step-background: #add8e6;--swal2-validation-message-background: #f0f0f0;--swal2-validation-message-color: #666;--swal2-footer-border-color: #eee;--swal2-footer-background: transparent;--swal2-footer-color: inherit;--swal2-timer-progress-bar-background: rgba(0, 0, 0, 0.3);--swal2-close-button-position: initial;--swal2-close-button-inset: auto;--swal2-close-button-font-size: 2.5em;--swal2-close-button-color: #ccc;--swal2-close-button-transition: color 0.2s, box-shadow 0.2s;--swal2-close-button-outline: initial;--swal2-close-button-box-shadow: inset 0 0 0 3px transparent;--swal2-close-button-focus-box-shadow: inset var(--swal2-outline);--swal2-close-button-hover-transform: none;--swal2-actions-justify-content: center;--swal2-actions-width: auto;--swal2-actions-margin: 1.25em auto 0;--swal2-actions-padding: 0;--swal2-actions-border-radius: 0;--swal2-actions-background: transparent;--swal2-action-button-transition: background-color 0.2s, box-shadow 0.2s;--swal2-action-button-hover: black 10%;--swal2-action-button-active: black 10%;--swal2-confirm-button-box-shadow: none;--swal2-confirm-button-border-radius: 0.25em;--swal2-confirm-button-background-color: #7066e0;--swal2-confirm-button-color: #fff;--swal2-deny-button-box-shadow: none;--swal2-deny-button-border-radius: 0.25em;--swal2-deny-button-background-color: #dc3741;--swal2-deny-button-color: #fff;--swal2-cancel-button-box-shadow: none;--swal2-cancel-button-border-radius: 0.25em;--swal2-cancel-button-background-color: #6e7881;--swal2-cancel-button-color: #fff;--swal2-toast-show-animation: swal2-toast-show 0.5s;--swal2-toast-hide-animation: swal2-toast-hide 0.1s forwards;--swal2-toast-border: none;--swal2-toast-box-shadow: 0 0 1px hsl(0deg 0% 0% / 0.075), 0 1px 2px hsl(0deg 0% 0% / 0.075), 1px 2px 4px hsl(0deg 0% 0% / 0.075), 1px 3px 8px hsl(0deg 0% 0% / 0.075), 2px 4px 16px hsl(0deg 0% 0% / 0.075)}[data-swal2-theme=dark]{--swal2-dark-theme-black: #19191a;--swal2-dark-theme-white: #e1e1e1;--swal2-background: var(--swal2-dark-theme-black);--swal2-color: var(--swal2-dark-theme-white);--swal2-footer-border-color: #555;--swal2-input-background: color-mix(in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10%);--swal2-validation-message-background: color-mix( in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10% );--swal2-validation-message-color: var(--swal2-dark-theme-white);--swal2-timer-progress-bar-background: rgba(255, 255, 255, 0.7)}@media(prefers-color-scheme: dark){[data-swal2-theme=auto]{--swal2-dark-theme-black: #19191a;--swal2-dark-theme-white: #e1e1e1;--swal2-background: var(--swal2-dark-theme-black);--swal2-color: var(--swal2-dark-theme-white);--swal2-footer-border-color: #555;--swal2-input-background: color-mix(in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10%);--swal2-validation-message-background: color-mix( in srgb, var(--swal2-dark-theme-black), var(--swal2-dark-theme-white) 10% );--swal2-validation-message-color: var(--swal2-dark-theme-white);--swal2-timer-progress-bar-background: rgba(255, 255, 255, 0.7)}}body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto !important}body.swal2-no-backdrop .swal2-container{background-color:rgba(0,0,0,0) !important;pointer-events:none}body.swal2-no-backdrop .swal2-container .swal2-popup{pointer-events:auto}body.swal2-no-backdrop .swal2-container .swal2-modal{box-shadow:0 0 10px var(--swal2-backdrop)}body.swal2-toast-shown .swal2-container{box-sizing:border-box;width:360px;max-width:100%;background-color:rgba(0,0,0,0);pointer-events:none}body.swal2-toast-shown .swal2-container.swal2-top{inset:0 auto auto 50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{inset:0 0 auto auto}body.swal2-toast-shown .swal2-container.swal2-top-start,body.swal2-toast-shown .swal2-container.swal2-top-left{inset:0 auto auto 0}body.swal2-toast-shown .swal2-container.swal2-center-start,body.swal2-toast-shown .swal2-container.swal2-center-left{inset:50% auto auto 0;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{inset:50% auto auto 50%;transform:translate(-50%, -50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{inset:50% 0 auto auto;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-start,body.swal2-toast-shown .swal2-container.swal2-bottom-left{inset:auto auto 0 0}body.swal2-toast-shown .swal2-container.swal2-bottom{inset:auto auto 0 50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{inset:auto 0 0 auto}@media print{body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown){overflow-y:scroll !important}body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop,.swal2-toast-shown) .swal2-container{position:static !important}}div:where(.swal2-container){display:grid;position:fixed;z-index:1060;inset:0;box-sizing:border-box;grid-template-areas:"top-start top top-end" "center-start center center-end" "bottom-start bottom-center bottom-end";grid-template-rows:minmax(min-content, auto) minmax(min-content, auto) minmax(min-content, auto);height:100%;padding:var(--swal2-container-padding);overflow-x:hidden;transition:var(--swal2-backdrop-transition);-webkit-overflow-scrolling:touch}div:where(.swal2-container).swal2-backdrop-show,div:where(.swal2-container).swal2-noanimation{background:var(--swal2-backdrop)}div:where(.swal2-container).swal2-backdrop-hide{background:rgba(0,0,0,0) !important}div:where(.swal2-container).swal2-top-start,div:where(.swal2-container).swal2-center-start,div:where(.swal2-container).swal2-bottom-start{grid-template-columns:minmax(0, 1fr) auto auto}div:where(.swal2-container).swal2-top,div:where(.swal2-container).swal2-center,div:where(.swal2-container).swal2-bottom{grid-template-columns:auto minmax(0, 1fr) auto}div:where(.swal2-container).swal2-top-end,div:where(.swal2-container).swal2-center-end,div:where(.swal2-container).swal2-bottom-end{grid-template-columns:auto auto minmax(0, 1fr)}div:where(.swal2-container).swal2-top-start>.swal2-popup{align-self:start}div:where(.swal2-container).swal2-top>.swal2-popup{grid-column:2;place-self:start center}div:where(.swal2-container).swal2-top-end>.swal2-popup,div:where(.swal2-container).swal2-top-right>.swal2-popup{grid-column:3;place-self:start end}div:where(.swal2-container).swal2-center-start>.swal2-popup,div:where(.swal2-container).swal2-center-left>.swal2-popup{grid-row:2;
107align-self:center}div:where(.swal2-container).swal2-center>.swal2-popup{grid-column:2;grid-row:2;place-self:center center}div:where(.swal2-container).swal2-center-end>.swal2-popup,div:where(.swal2-container).swal2-center-right>.swal2-popup{grid-column:3;grid-row:2;place-self:center end}div:where(.swal2-container).swal2-bottom-start>.swal2-popup,div:where(.swal2-container).swal2-bottom-left>.swal2-popup{grid-column:1;grid-row:3;align-self:end}div:where(.swal2-container).swal2-bottom>.swal2-popup{grid-column:2;grid-row:3;place-self:end center}div:where(.swal2-container).swal2-bottom-end>.swal2-popup,div:where(.swal2-container).swal2-bottom-right>.swal2-popup{grid-column:3;grid-row:3;place-self:end end}div:where(.swal2-container).swal2-grow-row>.swal2-popup,div:where(.swal2-container).swal2-grow-fullscreen>.swal2-popup{grid-column:1/4;width:100%}div:where(.swal2-container).swal2-grow-column>.swal2-popup,div:where(.swal2-container).swal2-grow-fullscreen>.swal2-popup{grid-row:1/4;align-self:stretch}div:where(.swal2-container).swal2-no-transition{transition:none !important}div:where(.swal2-container)[popover]{width:auto;border:0}div:where(.swal2-container) div:where(.swal2-popup){display:none;position:relative;box-sizing:border-box;grid-template-columns:minmax(0, 100%);width:var(--swal2-width);max-width:100%;padding:var(--swal2-padding);border:var(--swal2-border);border-radius:var(--swal2-border-radius);background:var(--swal2-background);color:var(--swal2-color);font-family:inherit;font-size:1rem;container-name:swal2-popup
vendor: 9,849 bytes, line 107
107}div:where(.swal2-container) div:where(.swal2-popup):focus{outline:none}div:where(.swal2-container) div:where(.swal2-popup).swal2-loading{overflow-y:hidden}div:where(.swal2-container) div:where(.swal2-popup).swal2-draggable{cursor:grab}div:where(.swal2-container) div:where(.swal2-popup).swal2-draggable div:where(.swal2-icon){cursor:grab}div:where(.swal2-container) div:where(.swal2-popup).swal2-dragging{cursor:grabbing}div:where(.swal2-container) div:where(.swal2-popup).swal2-dragging div:where(.swal2-icon){cursor:grabbing}div:where(.swal2-container) h2:where(.swal2-title){position:relative;max-width:100%;margin:0;padding:var(--swal2-title-padding);color:inherit;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;overflow-wrap:break-word;cursor:initial}div:where(.swal2-container) div:where(.swal2-actions){display:flex;z-index:1;box-sizing:border-box;flex-wrap:wrap;align-items:center;justify-content:var(--swal2-actions-justify-content);width:var(--swal2-actions-width);margin:var(--swal2-actions-margin);padding:var(--swal2-actions-padding);border-radius:var(--swal2-actions-border-radius);background:var(--swal2-actions-background)}div:where(.swal2-container) div:where(.swal2-loader){display:none;align-items:center;justify-content:center;width:2.2em;height:2.2em;margin:0 1.875em;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border-width:.25em;border-style:solid;border-radius:100%;border-color:#2778c4 rgba(0,0,0,0) #2778c4 rgba(0,0,0,0)}div:where(.swal2-container) button:where(.swal2-styled){margin:.3125em;padding:.625em 1.1em;transition:var(--swal2-action-button-transition);border:none;box-shadow:0 0 0 3px rgba(0,0,0,0);font-weight:500}div:where(.swal2-container) button:where(.swal2-styled):not([disabled]){cursor:pointer}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm){border-radius:var(--swal2-confirm-button-border-radius);background:initial;background-color:var(--swal2-confirm-button-background-color);box-shadow:var(--swal2-confirm-button-box-shadow);color:var(--swal2-confirm-button-color);font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm):hover{background-color:color-mix(in srgb, var(--swal2-confirm-button-background-color), var(--swal2-action-button-hover))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-confirm):active{background-color:color-mix(in srgb, var(--swal2-confirm-button-background-color), var(--swal2-action-button-active))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny){border-radius:var(--swal2-deny-button-border-radius);background:initial;background-color:var(--swal2-deny-button-background-color);box-shadow:var(--swal2-deny-button-box-shadow);color:var(--swal2-deny-button-color);font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny):hover{background-color:color-mix(in srgb, var(--swal2-deny-button-background-color), var(--swal2-action-button-hover))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-deny):active{background-color:color-mix(in srgb, var(--swal2-deny-button-background-color), var(--swal2-action-button-active))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel){border-radius:var(--swal2-cancel-button-border-radius);background:initial;background-color:var(--swal2-cancel-button-background-color);box-shadow:var(--swal2-cancel-button-box-shadow);color:var(--swal2-cancel-button-color);font-size:1em}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel):hover{background-color:color-mix(in srgb, var(--swal2-cancel-button-background-color), var(--swal2-action-button-hover))}div:where(.swal2-container) button:where(.swal2-styled):where(.swal2-cancel):active{background-color:color-mix(in srgb, var(--swal2-cancel-button-background-color), var(--swal2-action-button-active))}div:where(.swal2-container) button:where(.swal2-styled):focus-visible{outline:none;box-shadow:var(--swal2-action-button-focus-box-shadow)}div:where(.swal2-container) button:where(.swal2-styled)[disabled]:not(.swal2-loading){opacity:.4}div:where(.swal2-container) button:where(.swal2-styled)::-moz-focus-inner{border:0}div:where(.swal2-container) div:where(.swal2-footer){margin:1em 0 0;padding:1em 1em 0;border-top:1px solid var(--swal2-footer-border-color);background:var(--swal2-footer-background);color:var(--swal2-footer-color);font-size:1em;text-align:center;cursor:initial}div:where(.swal2-container) .swal2-timer-progress-bar-container{position:absolute;right:0;bottom:0;left:0;grid-column:auto !important;overflow:hidden;border-bottom-right-radius:var(--swal2-border-radius);border-bottom-left-radius:var(--swal2-border-radius)}div:where(.swal2-container) div:where(.swal2-timer-progress-bar){width:100%;height:.25em;background:var(--swal2-timer-progress-bar-background)}div:where(.swal2-container) img:where(.swal2-image){max-width:100%;margin:2em auto 1em;cursor:initial}div:where(.swal2-container) button:where(.swal2-close){position:var(--swal2-close-button-position);inset:var(--swal2-close-button-inset);z-index:2;align-items:center;justify-content:center;width:1.2em;height:1.2em;margin-top:0;margin-right:0;margin-bottom:-1.2em;padding:0;overflow:hidden;transition:var(--swal2-close-button-transition);border:none;border-radius:var(--swal2-border-radius);outline:var(--swal2-close-button-outline);background:rgba(0,0,0,0);color:var(--swal2-close-button-color);font-family:monospace;font-size:var(--swal2-close-button-font-size);cursor:pointer;justify-self:end}div:where(.swal2-container) button:where(.swal2-close):hover{transform:var(--swal2-close-button-hover-transform);background:rgba(0,0,0,0);color:#f27474}div:where(.swal2-container) button:where(.swal2-close):focus-visible{outline:none;box-shadow:var(--swal2-close-button-focus-box-shadow)}div:where(.swal2-container) button:where(.swal2-close)::-moz-focus-inner{border:0}div:where(.swal2-container) div:where(.swal2-html-container){z-index:1;justify-content:center;margin:0;padding:var(--swal2-html-container-padding);overflow:auto;color:inherit;font-size:1.125em;font-weight:normal;line-height:normal;text-align:center;overflow-wrap:break-word;word-break:break-word;cursor:initial}div:where(.swal2-container) input:where(.swal2-input),div:where(.swal2-container) input:where(.swal2-file),div:where(.swal2-container) textarea:where(.swal2-textarea),div:where(.swal2-container) select:where(.swal2-select),div:where(.swal2-container) div:where(.swal2-radio),div:where(.swal2-container) label:where(.swal2-checkbox){margin:1em 2em 3px}div:where(.swal2-container) input:where(.swal2-input),div:where(.swal2-container) input:where(.swal2-file),div:where(.swal2-container) textarea:where(.swal2-textarea){box-sizing:border-box;width:auto;transition:var(--swal2-input-transition);border:var(--swal2-input-border);border-radius:var(--swal2-input-border-radius);background:var(--swal2-input-background);box-shadow:var(--swal2-input-box-shadow);color:inherit;font-size:1.125em}div:where(.swal2-container) input:where(.swal2-input).swal2-inputerror,div:where(.swal2-container) input:where(.swal2-file).swal2-inputerror,div:where(.swal2-container) textarea:where(.swal2-textarea).swal2-inputerror{border-color:#f27474 !important;box-shadow:0 0 2px #f27474 !important}div:where(.swal2-container) input:where(.swal2-input):hover,div:where(.swal2-container) input:where(.swal2-file):hover,div:where(.swal2-container) textarea:where(.swal2-textarea):hover{box-shadow:var(--swal2-input-hover-box-shadow)}div:where(.swal2-container) input:where(.swal2-input):focus,div:where(.swal2-container) input:where(.swal2-file):focus,div:where(.swal2-container) textarea:where(.swal2-textarea):focus{border:var(--swal2-input-focus-border);outline:none;box-shadow:var(--swal2-input-focus-box-shadow)}div:where(.swal2-container) input:where(.swal2-input)::placeholder,div:where(.swal2-container) input:where(.swal2-file)::placeholder,div:where(.swal2-container) textarea:where(.swal2-textarea)::placeholder{color:#ccc}div:where(.swal2-container) .swal2-range{margin:1em 2em 3px;background:var(--swal2-background)}div:where(.swal2-container) .swal2-range input{width:80%}div:where(.swal2-container) .swal2-range output{width:20%;color:inherit;font-weight:600;text-align:center}div:where(.swal2-container) .swal2-range input,div:where(.swal2-container) .swal2-range output{height:2.625em;padding:0;font-size:1.125em;line-height:2.625em}div:where(.swal2-container) .swal2-input{height:2.625em;padding:0 .75em}div:where(.swal2-container) .swal2-file{width:75%;margin-right:auto;margin-left:auto;background:var(--swal2-input-background);font-size:1.125em}div:where(.swal2-container) .swal2-textarea{height:6.75em;padding:.75em}div:where(.swal2-container) .swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;background:var(--swal2-input-background);color:inherit;font-size:1.125em}div:where(.swal2-container) .swal2-radio,div:where(.swal2-container) .swal2-checkbox{align-items:center;justify-content:center;background:var(--swal2-background);color:inherit}div:where(.swal2-container) .swal2-radio label,div:where(.swal2-container) .swal2-checkbox label{margin:0 .6em;font-size:1.125em}div:where(.swal2-container) .swal2-radio input,div:where(.swal2-container) .swal2-checkbox input{flex-shrink:0;margin:0 .4em}div:where(.swal2-container) label:where(.swal2-input-label){display:flex;justify-content:center;margin:1em auto 0}div:where(.swal2-container) div:where(.swal2-validation-message){align-items:center;justify-content:center;margin:1em 0 0;padding:.625em;overflow:hidden;background:var(--swal2-validation-message-background);color:var(--swal2-validation-message-color);font-size:1em;font-weight:300}div:where(.swal2-container) div:where(.swal2-validation-message)::before{content:
107"!";display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center}div:where(.swal2-container) .swal2-progress-steps{flex-wrap:wrap;align-items:center;max-width:100%;margin:1.25em auto;padding:0;background:rgba(0,0,0,0);font-weight:600}div:where(.swal2-container) .swal2-progress-steps li{display:inline-block;position:relative}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step{z-index:20;flex-shrink:0;width:2em;height:2em;border-radius:2em;background:#2778c4;color:#fff;line-height:2em;text-align:center}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#2778c4}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:var(--swal2-progress-step-background);color:#fff}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:var(--swal2-progress-step-background)}div:where(.swal2-container) .swal2-progress-steps .swal2-progress-step-line{z-index:10;flex-shrink:0;width:2.5em;height:.4em;margin:0 -1px;background:#2778c4}div:where(.swal2-icon){position:relative;box-sizing:content-box;justify-content:center;width:5em;height:5em;margin:2.5em auto .6em;zoom:var(--swal2-icon-zoom);border:.25em solid rgba(0,0,0,0);border-radius:50%;border-color:#000;font-family:inherit;line-height:5em;cursor:default;user-select:none}div:where(.swal2-icon) .swal2-icon-content{display:flex;align-items:center;font-size:3.75em}div:where(.swal2-icon).swal2-error{border-color:#f27474;color:#f27474}div:where(.swal2-icon).swal2-error .swal2-x-mark{position:relative;flex-grow:1}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;transform:rotate(45deg)}div:where(.swal2-icon).swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;transform:rotate(-45deg)}@container swal2-popup style(--swal2-icon-animations:true){div:where(.swal2-icon).swal2-error.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-error.swal2-icon-show .swal2-x-mark{animation:swal2-animate-error-x-mark .5s}}div:where(.swal2-icon).swal2-warning{border-color:#f8bb86;color:#f8bb86}@container swal2-popup style(--swal2-icon-animations:true){div:where(.swal2-icon).swal2-warning.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-warning.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .5s}}div:where(.swal2-icon).swal2-info{border-color:#3fc3ee;color:#3fc3ee}@container swal2-popup style(--swal2-icon-animations:true){div:where(.swal2-icon).swal2-info.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-info.swal2-icon-show .swal2-icon-content{animation:swal2-animate-i-mark .8s}}div:where(.swal2-icon).swal2-question{border-color:#87adbd;color:#87adbd}@container swal2-popup style(--swal2-icon-animations:true){div:where(.swal2-icon).swal2-question.swal2-icon-show{animation:swal2-animate-error-icon .5s}div:where(.swal2-icon).swal2-question.swal2-icon-show .swal2-icon-content{animation:swal2-animate-question-mark .8s}}div:where(.swal2-icon).swal2-success{border-color:#a5dc86;color:#a5dc86}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;border-radius:50%}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.4375em;left:-2.0635em;transform:rotate(-45deg);transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}div:where(.swal2-icon).swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.6875em;left:1.875em;transform:rotate(-45deg);transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}div:where(.swal2-icon).swal2-success .swal2-success-ring{position:absolute;z-index:2;top:-0.25em;
107left:-0.25em;box-sizing:content-box;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%}div:where(.swal2-icon).swal2-success .swal2-success-fix{position:absolute;z-index:1;top:.5em;left:1.625em;width:.4375em;height:5.625em;transform:rotate(-45deg)}div:where(.swal2-icon).swal2-success [class^=swal2-success-line]{display:block;position:absolute;z-index:2;height:.3125em;border-radius:.125em;background-color:#a5dc86}div:where(.swal2-icon).swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.8125em;width:1.5625em;transform:rotate(45deg)}div:where(.swal2-icon).swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;transform:rotate(-45deg)}@container swal2-popup style(--swal2-icon-animations:true){div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-animate-success-line-tip .75s}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-animate-success-line-long .75s}div:where(.swal2-icon).swal2-success.swal2-icon-show .swal2-success-circular-line-right{animation:swal2-rotate-success-circular-line 4.25s ease-in}}[class^=swal2]{-webkit-tap-highlight-color:rgba(0,0,0,0)}.swal2-show{animation:var(--swal2-show-animation)}.swal2-hide{animation:var(--swal2-hide-animation)}.swal2-noanimation{transition:none}.swal2-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.swal2-rtl .swal2-close{margin-right:initial;margin-left:0}.swal2-rtl .swal2-timer-progress-bar{right:0;left:auto}.swal2-toast{box-sizing:border-box;grid-column:1/4 !important;grid-row:1/4 !important;grid-template-columns:min-content auto min-content;padding:1em;overflow-y:hidden;border:var(--swal2-toast-border);background:var(--swal2-background);box-shadow:var(--swal2-toast-box-shadow);pointer-events:auto}.swal2-toast>*{grid-column:2}.swal2-toast h2:where(.swal2-title){margin:.5em 1em;padding:0;font-size:1em;text-align:initial}.swal2-toast .swal2-loading{justify-content:center}.swal2-toast input:where(.swal2-input){height:2em;margin:.5em;font-size:1em}.swal2-toast .swal2-validation-message{font-size:1em}.swal2-toast div:where(.swal2-footer){margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-toast button:where(.swal2-close){grid-column:3/3;grid-row:1/99;align-self:center;width:.8em;height:.8em;margin:0;font-size:2em}.swal2-toast div:where(.swal2-html-container){margin:.5em 1em;padding:0;overflow:initial;font-size:1em;text-align:initial}.swal2-toast div:where(.swal2-html-container):empty{padding:0}.swal2-toast .swal2-loader{grid-column:1;grid-row:1/99;align-self:center;width:2em;height:2em;margin:.25em}.swal2-toast .swal2-icon{grid-column:1;grid-row:1/99;align-self:center;width:2em;min-width:2em;height:2em;margin:0 .5em 0 0}.swal2-toast .swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:1.8em;font-weight:bold}.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-toast div:where(.swal2-actions){justify-content:flex-start;height:auto;margin:0;margin-top:.5em;padding:0 .5em}.swal2-toast button:where(.swal2-styled){margin:.25em .5em;padding:.4em .6em;font-size:1em}.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:1.6em;height:3em;border-radius:50%}.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-0.8em;left:-0.5em;transform:rotate(-45deg);transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-0.25em;left:.9375em;transform-origin:0 1.5em;border-radius:0 4em 4em 0}.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;
107left:.1875em;width:.75em}.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}@container swal2-popup style(--swal2-icon-animations:true){.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-tip{animation:swal2-toast-animate-success-line-tip .75s}.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-long{animation:swal2-toast-animate-success-line-long .75s}}.swal2-toast.swal2-show{animation:var(--swal2-toast-show-animation)}.swal2-toast.swal2-hide{animation:var(--swal2-toast-hide-animation)}@keyframes swal2-show{0%{transform:translate3d(0, -50px, 0) scale(0.9);opacity:0}100%{transform:translate3d(0, 0, 0) scale(1);opacity:1}}@keyframes swal2-hide{0%{transform:translate3d(0, 0, 0) scale(1);opacity:1}100%{transform:translate3d(0, -50px, 0) scale(0.9);opacity:0}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-0.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(0.4);opacity:0}
10750%{margin-top:1.625em;transform:scale(0.4);opacity:0}80%{margin-top:-0.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0deg);opacity:1}}@keyframes swal2-rotate-loading{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@keyframes swal2-animate-question-mark{0%{transform:rotateY(-360deg)}100%{transform:rotateY(0)}}@keyframes swal2-animate-i-mark{0%{transform:rotateZ(45deg);opacity:0}25%{transform:rotateZ(-25deg);opacity:.4}50%{transform:rotateZ(15deg);opacity:.8}75%{transform:rotateZ(-5deg);opacity:1}100%{transform:rotateX(0);opacity:1}}@keyframes swal2-toast-show{0%{transform:translateY(-0.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(0.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0deg)}}@keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-0.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}')},59958:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(58309);let i=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],a=(0,n.A)("menu",i)},60259:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=function(e,t){for(var r=-1,n=null==e?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}},60796:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(72541),i="__lodash_hash_undefined__";let a=function(e){return this.__data__.set(e,i),this},o=function(e){return this.__data__.has(e)};function s(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new n.A;++t<r;)this.add(e[t])}s.prototype.add=s.prototype.push=a,s.prototype.has=o;let l=s},61817:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(58309);let i=[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M16 12h2",key:"7q9ll5"}],["path",{d:"M16 8h2",key:"msurwy"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}],["path",{d:"M6 12h2",key:"32wvfc"}],["path",{d:"M6 8h2",key:"30oboj"}]],a=(0,n.A)("book-open-text",i)},61847:(e,t,r)=>{"use strict";var n=r(4140);function i(){}function a(){}a.resetWarningCache=i,e.exports=function(){function e(e,t,r,i,a,o){if(o!==n){var s=Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:i}
107;return r.PropTypes=r,r}},62108:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(58309);let i=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],a=(0,n.A)("copy",i)},62186:e=>{e.exports={style:{fontFamily:"'Noto Sans TC', 'Noto Sans TC Fallback'",fontStyle:"normal"},className:"__className_833e3a",variable:"__variable_833e3a"}},62414:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});let n=function(e){return function(){return e}};var i=r(18532),a=r(21755);let o=i.A?function(e,t){return(0,i.A)(e,"toString",{configurable:!0,enumerable:!1,value:n(t),writable:!0})}:a.A;var s=800,l=16,c=Date.now;let u=function(e){var t=0,r=0;return function(){var n=c(),i=l-(n-r);if(r=n,i>0){if(++t>=s)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(o)},62471:(e,t,r)=>{"use strict";r.d(t,{A:()=>o,S:()=>a});var n=r(11722),i=r(91206);function a(e){return(0,i.Ay)("MuiDrawer",e)}let o=(0,n.A)("MuiDrawer",["root","docked","paper","anchorLeft","anchorRight","anchorTop","anchorBottom","paperAnchorLeft","paperAnchorRight","paperAnchorTop","paperAnchorBottom","paperAnchorDockedLeft","paperAnchorDockedRight","paperAnchorDockedTop","paperAnchorDockedBottom","modal"])},62494:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(93441);let i=function(e,t){return t?(0,n.A)(e,t,{clone:!1}):e}},62942:(e,t,r)=>{"use strict";r.d(t,{EU:()=>c,NI:()=>l,iZ:()=>d,kW:()=>h,vf:()=>u,zu:()=>a});var n=r(93441),i=r(67118);let a={xs:0,sm:600,md:900,lg:1200,xl:1536},o={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${a[e]}px)`},s={containerQueries:e=>({up:t=>{let r="number"==typeof t?t:a[t]||t;return"number"==typeof r&&(r=`${r}px`),e?`@container ${e} (min-width:${r})`:`@container (min-width:${r})`}})};function l(e,t,r){let n=e.theme||{};if(Array.isArray(t)){let e=n.breakpoints||o;return t.reduce((n,i,a)=>(n[e.up(e.keys[a])]=r(t[a]),n),{})}if("object"==typeof t){let e=n.breakpoints||o;return Object.keys(t).reduce((o,l)=>{if((0,i.ob)(e.keys,l)){let e=(0,i.CT)(n.containerQueries?n:s,l);e&&(o[e]=r(t[l],l))}else if(Object.keys(e.values||a).includes(l))o[e.up(l)]=r(t[l],l);else{let e=l;o[e]=t[e]}return o},{})}return r(t)}function c(e={}){return e.keys?.reduce((t,r)=>(t[e.up(r)]={},t),{})||{}}function u(e,t){return e.reduce((e,t)=>{let r=e[t];return r&&0!==Object.keys(r).length||delete e[t],e},t)}function d(e,...t){let r=c(e),i=[r,...t].reduce((e,t)=>(0,n.A)(e,t),{});return u(Object.keys(r),i)}function p(e,t){if("object"!=typeof e)return{};let r={},n=Object.keys(t);return Array.isArray(e)?n.forEach((t,n)=>{n<e.length&&(r[t]=!0)}):n.forEach(t=>{null!=e[t]&&(r[t]=!0)}),r}function h({values:e,breakpoints:t,base:r}){let n,i=Object.keys(r||p(e,t));return 0===i.length?e:i.reduce((t,r,i)=>(Array.isArray(e)?(t[r]=null!=e[i]?e[i]:e[n],n=i):"object"==typeof e?(t[r]=null!=e[r]?e[r]:e[n],n=r):t[r]=e,t),{})}},63322:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},63390:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(83458);function i(e=8,t=(0,n.LX)({spacing:e})){if(e.mui)return e;let r=(...e)=>(0===e.length?[1]:e).map(e=>{let r=t(e);return"number"==typeof r?`${r}px`:r}).join(" ");return r.mui=!0,r}},63537:(e,t,r)=>{"use strict";r.d(t,{Bf:()=>s,Kw:()=>c,VV:()=>l,WA:()=>u,iF:()=>a,sk:()=>o});var n=r(95823),i=r(41642);let a=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n.LOCALE_TW;return"".concat("https://shop.wordup.com.tw","/").concat(t).concat(e||"")},o=e=>"".concat("https://app.wordup.com.tw").concat(e||""),s={DECKS:"",MATERIALS:"",SIGN_IN:"/auth/sign-in",SIGN_UP:"/auth/sign-up",FORGET_PASSWORD:"/auth/forget-password",RESET_PASSWORD:"/auth/reset-password",SETTING_ACCOUNT:"/account/settings",SETTING_PREFERENCE:"/account/preference",SETTING_SUBSCRIPTION:"/account/subscription-order-history",ACCOUNT_AI_USAGE:"/account/ai-usage",ADMIN_INDEX:"/dashboard/classes"},l=i.H,c=e=>{let{materialId:t,fullTestId:r,preferredAppPlatform:n}=e,i=n?"&preferredAppPlatform=".concat(n):"";return"".concat("https://app.wordup.com.tw","/exam/").concat(r,"?materialId=").concat(t).concat(i)};function u(e){return"/product/".concat(e)}},63599:(e,t,r)=>{"use strict";r.d(t,{A:()=>f});var n=r(63686),i=Object.prototype,a=i.hasOwnProperty,o=i.toString,s=n.A?n.A.toStringTag:void 0;let l=function(e){var t=a.call(e,s),r=e[s];try{e[s]=void 0;var n=!0}catch(e){}var i=o.call(e);return n&&(t?e[s]=r:delete e[s]),i};var c=Object.prototype.toString;let u=function(e){return c.call(e)};
107var d="[object Null]",p="[object Undefined]",h=n.A?n.A.toStringTag:void 0;let f=function(e){return null==e?void 0===e?p:d:h&&h in Object(e)?l(e):u(e)}},63686:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=r(41658).A.Symbol},64593:(e,t,r)=>{"use strict";r.d(t,{A:()=>s,I:()=>o});var n=r(55729),i=r(6029);let a=n.createContext(),o=()=>n.useContext(a)??!1,s=function({value:e,...t}){return(0,i.jsx)(a.Provider,{value:e??!0,...t})}},64773:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(41658);let i=function(){return!1};var a="object"==typeof exports&&exports&&!exports.nodeType&&exports,o=a&&"object"==typeof module&&module&&!module.nodeType&&module,s=o&&o.exports===a?n.A.Buffer:void 0;let l=(s?s.isBuffer:void 0)||i},65035:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(41729);let i=function(e,t,r){var i=null==e?void 0:(0,n.A)(e,t);return void 0===i?r:i}},65127:()=>{},65357:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(19191);let i=function(e){return null==e?"":(0,n.A)(e)}},65436:(e,t,r)=>{"use strict";r.d(t,{a:()=>i});var n=r(88846);function i(e,t){return(0,n.w)(t||e,e)}},65445:(e,t,r)=>{"use strict";r.d(t,{C:()=>i});var n=r(54352);let i={y(e,t){let r=e.getFullYear(),i=r>0?r:1-r;return(0,n.F)("yy"===t?i%100:i,t.length)},M(e,t){let r=e.getMonth();return"M"===t?String(r+1):(0,n.F)(r+1,2)},d:(e,t)=>(0,n.F)(e.getDate(),t.length),a(e,t){let r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.toUpperCase();case"aaa":return r;case"aaaaa":return r[0];default:return"am"===r?"a.m.":"p.m."}},h:(e,t)=>(0,n.F)(e.getHours()%12||12,t.length),H:(e,t)=>(0,n.F)(e.getHours(),t.length),m:(e,t)=>(0,n.F)(e.getMinutes(),t.length),s:(e,t)=>(0,n.F)(e.getSeconds(),t.length),S(e,t){let r=t.length,i=Math.trunc(e.getMilliseconds()*Math.pow(10,r-3));return(0,n.F)(i,t.length)}}},65671:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(71545);function i(e){if("string"!=typeof e)throw Error((0,n.A)(7));return e.charAt(0).toUpperCase()+e.slice(1)}},65675:(e,t,r)=>{"use strict";var n=r(55729),i=r(27133);function a(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t}var o="function"==typeof Object.is?Object.is:a,s=i.useSyncExternalStore,l=n.useRef,c=n.useEffect,u=n.useMemo,d=n.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,r,n,i){var a=l(null);if(null===a.current){var p={hasValue:!1,value:null};a.current=p}else p=a.current;var h=s(e,(a=u(function(){function e(e){if(!l){if(l=!0,a=e,e=n(e),void 0!==i&&p.hasValue){var t=p.value;if(i(t,e))return s=t}return s=e}if(t=s,o(a,e))return t;var r=n(e);return void 0!==i&&i(t,r)?(a=e,t):(a=e,s=r)}var a,s,l=!1,c=void 0===r?null:r;return[function(){return e(t())},null===c?void 0:function(){return e(c())}]},[t,r,n,i]))[0],a[1]);return c(function(){p.hasValue=!0,p.value=h},[h]),d(h),h}},66946:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ShowcaseVideos:()=>a});var n=r(2860);r(55729);var i=r(47126);let a=e=>{let{activeIndex:t,showcaseVideos:r,onClickShowcaseItem:a,showcaseItemClassName:o,showcaseWrapperClassName:s}=e;return(0,n.Y)("ul",{className:s,style:{margin:0,padding:0,listStyle:"none"},children:r.map((e,r)=>{let{title:s,length:l}=e,c=t===r;return(0,n.FD)("li",{style:{display:"flex",alignItems:"center",justifyContent:"space-between",gap:8,padding:"8px 16px",cursor:"pointer",marginBottom:12,pointerEvents:c?"none":"auto"},className:o,onClick:()=>a(r),children:[(0,n.FD)("div",{style:{display:"flex",alignItems:"center",justifyContent:"center",gap:8,fontSize:14,lineHeight:"24.5px",letterSpacing:"0.035px",color:c?"#72AFFF":"#383B3D"},children:[(0,n.Y)(i.I,{type:"video",size:20}),(0,n.Y)("span",{style:{wordBreak:"break-word"},children:s})]}),(0,n.Y)("span",{style:{fontSize:12,lineHeight:"21px",letterSpacing:"0.06px",color:"#9DA1A1",opacity:+!!l},children:l})]},s)})})}},67118:(e,t,r)=>{"use strict";function n(e,t){if(!e.containerQueries)return t;let r=Object.keys(t).filter(e=>e.startsWith("@container")).sort((e,t)=>{let r=/min-width:\s*([0-9.]+)/;return(e.match(r)?.[1]||0)-(t.match(r)?.[1]||0)});return r.length?r.reduce((e,r)=>{let n=t[r];return delete e[r],e[r]=n,e},{...t}):t}function i(e,t){return"@"===t||t.startsWith("@")&&(e.some(e=>
107t.startsWith(`@${e}`))||!!t.match(/^@\d/))}function a(e,t){let r=t.match(/^@([^/]+)?\/?(.+)?$/);if(!r)return null;let[,n,i]=r,a=Number.isNaN(+n)?n||0:+n;return e.containerQueries(i).up(a)}function o(e){let t=(e,t)=>e.replace("@media",t?`@container ${t}`:"@container");function r(r,n){r.up=(...r)=>t(e.breakpoints.up(...r),n),r.down=(...r)=>t(e.breakpoints.down(...r),n),r.between=(...r)=>t(e.breakpoints.between(...r),n),r.only=(...r)=>t(e.breakpoints.only(...r),n),r.not=(...r)=>{let i=t(e.breakpoints.not(...r),n);return i.includes("not all and")?i.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):i}}let n={},i=e=>(r(n,e),n);return r(i),{...e,containerQueries:i}}r.d(t,{Ay:()=>o,CT:()=>a,_S:()=>n,ob:()=>i})},67549:(e,t,r)=>{"use strict";r.d(t,{Kq:()=>l,Pj:()=>s,Xr:()=>m,fp:()=>g,md:()=>f});var n=r(55729),i=r(70921),a=r(29234);let o=(0,n.createContext)(void 0);function s(e){let t=(0,n.useContext)(o);return(null==e?void 0:e.store)||t||(0,i.zp)()}function l({children:e,store:t}){let r=(0,n.useRef)(null);return t?(0,n.createElement)(o.Provider,{value:t},e):(null===r.current&&(r.current=(0,i.y$)()),(0,n.createElement)(o.Provider,{value:r.current},e))}let c=e=>"function"==typeof(null==e?void 0:e.then),u=e=>{e.status||(e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}))},d=n.use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;if("rejected"===e.status)throw e.reason;throw u(e),e}),p=new WeakMap,h=(e,t,r)=>{let n=(0,a.h7)(e),i=n[26],o=p.get(t);return o||(o=new Promise((a,s)=>{let l=t,u=e=>t=>{l===e&&a(t)},d=e=>t=>{l===e&&s(t)},h=()=>{try{let t=r();c(t)?(p.set(t,o),l=t,t.then(u(t),d(t)),i(n,e,t,h)):a(t)}catch(e){s(e)}};t.then(u(t),d(t)),i(n,e,t,h)}),p.set(t,o)),o};function f(e,t){let{delay:r,unstable_promiseStatus:i=!n.use}=t||{},a=s(t),[[o,l,p],f]=(0,n.useReducer)(t=>{let r=a.get(e);return Object.is(t[0],r)&&t[1]===a&&t[2]===e?t:[r,a,e]},void 0,()=>[a.get(e),a,e]),m=o;if((l!==a||p!==e)&&(f(),m=a.get(e)),(0,n.useEffect)(()=>{let t=a.sub(e,()=>{if(i)try{let t=a.get(e);c(t)&&u(h(a,t,()=>a.get(e)))}catch(e){}if("number"==typeof r){console.warn(`[DEPRECATED] delay option is deprecated and will be removed in v3. 108 109Migration guide: 110 111Create a custom hook like the following. 112 113function useAtomValueWithDelay<Value>( 114 atom: Atom<Value>, 115 options: { delay: number }, 116): Value { 117 const { delay } = options 118 const store = useStore(options) 119 const [value, setValue] = useState(() => store.get(atom)) 120 useEffect(() => { 121 const unsub = store.sub(atom, () => { 122 setTimeout(() => setValue(store.get(atom)), delay) 123 }) 124 return unsub 125 }, [store, atom, delay]) 126 return value 127} 128`),setTimeout(f,r);return}f()});return f(),t},[a,e,r,i]),(0,n.useDebugValue)(m),c(m)){let t=h(a,m,()=>a.get(e));return i&&u(t),d(t)}return m}function m(e,t){let r=s(t);return(0,n.useCallback)((...t)=>{if(!("write"in e))throw Error("not writable atom");return r.set(e,...t)},[r,e])}function g(e,t){return[f(e,t),m(e,t)]}},67574:e=>{e.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},68064:(e,t,r)=>{"use strict";function n(e){return"string"==typeof e.main}function i(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(!n(e))return!1;for(let r of t)if(!e.hasOwnProperty(r)||"string"!=typeof e[r])return!1;return!0}function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return t=>{let[,r]=t;return r&&i(r,e)}}r.d(t,{A:()=>a})},68076:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(26401),i=r(68898);let a=(0,n.A)(),o=function(e=a){return(0,i.A)(e)}},68106:(e,t,r)=>{"use strict";r.d(t,{Dj:()=>f,L4:()=>b,F5:()=>m,v2:()=>n.v,RR:()=>g});var n=r(13486),i=r(31936),a=r(55729);let o="intercom-hider-style",s="intercom-messenger-frame",l="\n.intercom-lightweight-app-launcher,\n.intercom-launcher-frame {\n visibility: hidden !important;\n opacity: 0 !important;\n transform: scale(0) !important;\n pointer-events: none !important;\n transition: opacity 300ms ease, visibility 300ms ease, transform 200ms ease !important;\n}\n",c=new Set,u=0,d=e=>{if(e){var t;null==(t=document.getElementById(o))||t.remove()}else if(!document.getElementById(o)){let e=document.createElement("style");e.id=o,e.textContent=l,document.head.appendChild(e)}},p=e=>{var t;let r=null==(t=document.getElementsByClassName(s))?void 0:t[0];r&&(r.style.setProperty("transition","opacity 300ms ease 0s, visibility 300ms ease 0s","important"),r.style.setProperty("visibility",e?"visible":"hidden","important"),r.style.setProperty("opacity",e?"1":"0","important"))},h=()=>{let e=0===c.size;d(e),p(e)},f=e=>{e&&c.size>0||(d(e),p(e))},m=e=>{let{shouldHideIntercom:t}=e,r=(0,a.useRef)(null);null===r.current&&(r.current=u++),(0,a.useEffect)(()=>{let e=r.current;return t?c.add(e):c.delete(e),h(),()=>{c.delete(e),h()}},[t])},g=()=>{let{show:e,hide:t,...r}=(0,i.B)();return{setShowIntercom:f,rebootIntercom:e=>{r.shutdown(),r.boot(e)}
128,closeIntercomMessenger:t,openIntercomMessenger:e,...r}};var y=r(80644),v=r.n(y);function b(e){let{renderDuration:t}=e,r=(0,a.useRef)(null),[n,i]=(0,a.useState)(),o=()=>{let e=new(v());r.current=e,e.addEventListener("secondsUpdated",()=>{let r;i(r="function"==typeof t?t(e):e.getTimeValues().toString())})},s=()=>{r.current&&r.current.pause()},l=(e,t)=>{r.current&&(r.current.stop(),r.current.start({countdown:!0,startValues:{seconds:e},target:{seconds:0}}),"function"==typeof t&&(r.current.removeEventListener("targetAchieved",t),r.current.addEventListener("targetAchieved",t)))};return(0,a.useEffect)(()=>(o(),()=>{r.current&&(r.current.stop(),r.current.removeAllEventListeners())}),[]),{timerRef:r,duration:n,startTimer:l,pauseTimer:s}}},68402:(e,t,r)=>{"use strict";r.d(t,{A:()=>W});var n=r(50216),i=r(60796);let a=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1};var o=r(28556),s=1,l=2;let c=function(e,t,r,n,c,u){var d=r&s,p=e.length,h=t.length;if(p!=h&&!(d&&h>p))return!1;var f=u.get(e),m=u.get(t);if(f&&m)return f==t&&m==e;var g=-1,y=!0,v=r&l?new i.A:void 0;for(u.set(e,t),u.set(t,e);++g<p;){var b=e[g],w=t[g];if(n)var x=d?n(w,b,g,t,e,u):n(b,w,g,e,t,u);if(void 0!==x){if(x)continue;y=!1;break}if(v){if(!a(t,function(e,t){if(!(0,o.A)(v,t)&&(b===e||c(b,e,r,n,u)))return v.push(t)})){y=!1;break}}else if(!(b===w||c(b,w,r,n,u))){y=!1;break}}return u.delete(e),u.delete(t),y};var u=r(63686),d=r(19951),p=r(48695),h=r(99698);let f=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r};var m=1,g=2,y="[object Boolean]",v="[object Date]",b="[object Error]",w="[object Map]",x="[object Number]",k="[object RegExp]",A="[object Set]",C="[object String]",S="[object Symbol]",E="[object ArrayBuffer]",_="[object DataView]",T=u.A?u.A.prototype:void 0,P=T?T.valueOf:void 0;let O=function(e,t,r,n,i,a,o){switch(r){case _:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)break;e=e.buffer,t=t.buffer;case E:if(e.byteLength!=t.byteLength||!a(new d.A(e),new d.A(t)))break;return!0;case y:case v:case x:return(0,p.A)(+e,+t);case b:return e.name==t.name&&e.message==t.message;case k:case C:return e==t+"";case w:var s=h.A;case A:var l=n&m;if(s||(s=f),e.size!=t.size&&!l)break;var u=o.get(e);if(u)return u==t;n|=g,o.set(e,t);var T=c(s(e),s(t),n,i,a,o);return o.delete(e),T;case S:if(P)return P.call(e)==P.call(t)}return!1};var I=r(87033),M=1,L=Object.prototype.hasOwnProperty;let N=function(e,t,r,n,i,a){var o=r&M,s=(0,I.A)(e),l=s.length;if(l!=(0,I.A)(t).length&&!o)return!1;for(var c=l;c--;){var u=s[c];if(!(o?u in t:L.call(t,u)))return!1}var d=a.get(e),p=a.get(t);if(d&&p)return d==t&&p==e;var h=!0;a.set(e,t),a.set(t,e);for(var f=o;++c<l;){var m=e[u=s[c]],g=t[u];if(n)var y=o?n(g,m,u,t,e,a):n(m,g,u,e,t,a);if(!(void 0===y?m===g||i(m,g,r,n,a):y)){h=!1;break}f||(f="constructor"==u)}if(h&&!f){var v=e.constructor,b=t.constructor;v!=b&&"constructor"in e&&"constructor"in t&&!("function"==typeof v&&v instanceof v&&"function"==typeof b&&b instanceof b)&&(h=!1)}return a.delete(e),a.delete(t),h};var R=r(72925),j=r(80090),D=r(64773),F=r(83716),V=1,B="[object Arguments]",z="[object Array]",$="[object Object]",U=Object.prototype.hasOwnProperty;let q=function(e,t,r,i,a,o){var s=(0,j.A)(e),l=(0,j.A)(t),u=s?z:(0,R.A)(e),d=l?z:(0,R.A)(t);u=u==B?$:u,d=d==B?$:d;var p=u==$,h=d==$,f=u==d;if(f&&(0,D.A)(e)){if(!(0,D.A)(t))return!1;s=!0,p=!1}if(f&&!p)return o||(o=new n.A),s||(0,F.A)(e)?c(e,t,r,i,a,o):O(e,t,u,r,i,a,o);if(!(r&V)){var m=p&&U.call(e,"__wrapped__"),g=h&&U.call(t,"__wrapped__");
128if(m||g){var y=m?e.value():e,v=g?t.value():t;return o||(o=new n.A),a(y,v,r,i,o)}}return!!f&&(o||(o=new n.A),N(e,t,r,i,a,o))};var H=r(92741);function Y(e,t,r,n,i){return e===t||(null!=e&&null!=t&&((0,H.A)(e)||(0,H.A)(t))?q(e,t,r,n,Y,i):e!=e&&t!=t)}let W=Y},68552:(e,t,r)=>{"use strict";r.d(t,{wQ:()=>L,wi:()=>l,$x:()=>N.$});var n=r(2860),i=r(11693),a=r(68106),o=r(5415),s=r(49511);let l=()=>{let e=(0,o.zh)(),t=(0,o.Ol)(),{openIntercomMessenger:r}=(0,a.RR)();return(0,s.Al)()?null:(0,n.Y)(i.w,{orgName:e.name,taxIdNumber:e.taxIdNumber,isWhiteLabelMode:t,openIntercomMessenger:r})};var c=r(39977),u=r(41117),d=r(98986),p=r(8588),h=r.n(p),f=r(84660);let m=e=>{let{className:t}=e;return(0,n.Y)("div",{className:(0,f.Q)("bg-grayscale-100 h-px w-full",t)})};var g=r(15553),y=r(26732),v=r(57165),b=r(24785),w=r(12647);let x=async e=>{let{url:t,params:r,options:n}=e,i="https://strapi-cms.wordup.com.tw",a="".concat(i).concat(t).concat((0,w.eA)({obj:r||{}}));try{let e=await fetch(a,{...n,headers:{"Content-Type":"application/json",...null==n?void 0:n.headers}});if(!e.ok)throw Error("strapi fetch error");return(0,b.A)(await e.json(),{deep:!0})}catch(e){return null}},k={"en-us":"en",tw:"zh-Hant-TW","zh-tw":"zh-Hant-TW"},A=async e=>{let{key:t,locale:r}=e,n=["sort[version]=DESC","pagination[limit]=1","filters[key][$eq]=".concat(t)];return r&&n.push("locale=".concat(k[r.toLowerCase()]||r)),await x({url:"/api/versioned-configs?".concat(n.join("&"))})};var C=r(93590);let S=async e=>(0,C.l)(e);var E=r(55729),_=r(47126),T=r(53031);g.E,_.I,T._;let P=e=>{var t;let{data:r,isValidating:n}=(0,v.Ay)(e,async e=>{var t,r,n;let i=await A(e),a=(null==i||null==(r=i.data)||null==(t=r[0])?void 0:t.attributes.valueText)||"",o=(null==e?void 0:e.isMDX)?await S(a):null;return{strapiData:null==i||null==(n=i.data)?void 0:n[0],mdxSource:o}});return{strapiData:null==r||null==(t=r.strapiData)?void 0:t.attributes,isValidating:n,mdxSource:null==r?void 0:r.mdxSource}},O=e=>{let{brand:t}=e,{strapiData:r}=P({key:"faq-kiao-inside-partnership"}),[n,i]=(0,E.useState)(null);return(0,E.useEffect)(()=>{(null==r?void 0:r.valueText)&&(async()=>{try{let e=r.valueText.replace(/#brand/g,t);if(!e)return;let n=await S(e);i(n)}catch(e){console.error("Error fetching MDX Source:",e)}})()},[null==r?void 0:r.valueText,t]),{faqKiaoInsidePartnership:n}},I="https://public.wordup.com.tw/shop/assets/brand-mode-wu-logo.png",M=()=>(0,n.Y)("div",{className:"border-grayscale-100 border-0 border-b border-solid pb-4",children:(0,n.Y)(c.E,{className:"h-[200px]"})}),L=e=>{let{headerProps:{headerContainerClassName:t,...r},fqaKey:i,actionElement:a}=e,{t:s}=(0,d.Bd)(),l=(0,o.zh)(),{faqKiaoInsidePartnership:c}=O({brand:(null==l?void 0:l.name)||""}),{mdxSource:p}=P({key:"faq-more-questions-contact-us",isMDX:!0}),{mdxSource:f}=P({key:i,isMDX:!0});return(0,n.FD)("div",{className:"flex w-full flex-col gap-4",children:[t?(0,n.Y)("div",{className:t,children:(0,n.Y)(y.Y,{...r})}):(0,n.Y)(y.Y,{...r}),(0,n.Y)("div",{className:"m-auto w-full",children:(0,n.FD)("div",{className:"flex items-center justify-center gap-4",children:[(0,n.Y)("div",{className:"border-grayscale-50 flex items-center justify-center rounded-full border-[1px] border-solid",children:(0,n.Y)(h(),{src:I,width:60,height:60,alt:"logo",priority:!0,className:"h-auto min-w-[60px] max-w-full"})}),(0,n.Y)(g.E,{variant:"body_m_500",children:s("level_up_with_wordup")})]})}),(0,n.Y)(m,{}),c?(0,n.Y)(u.m,{...c}):(0,n.Y)(M,{}),i?f?(0,n.Y)(u.m,{...f}):(0,n.Y)(M,{}):null,p?(0,n.Y)(u.m,{...p}):(0,n.Y)(M,{}),a]})};var N=r(92836)},68898:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(55729),i=r(87905);function a(e){return 0===Object.keys(e).length}let o=function(e=null){let t=n.useContext(i.T);return!t||a(t)?e:t}},68998:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=function(){return[]}},69151:e=>{var t="/";!function(){"use strict";var r={114:function(e){function t(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}function r(e,t){for(var r,n="",i=0,a=-1,o=0,s=0;s<=e.length;++s){if(s<e.length)r=e.charCodeAt(s);else if(47===r)break;else r=47;if(47===r){if(a===s-1||1===o);else if(a!==s-1&&2===o){if(n.length<2||2!==i||46!==n.charCodeAt(n.length-1)||46!==n.charCodeAt(n.length-2)){if(n.length>2){var l=n.lastIndexOf("/");if(l!==n.length-1){-1===l?(n="",i=0):i=(n=n.slice(0,l)).length-1-n.lastIndexOf("/"),a=s,o=0;continue}}else if(2===n.length||1===n.length){n="",i=0,a=s,o=0;continue}}t&&(n.length>0?n+="/..":n="..",i=2)}else n.length>0?n+="/"+e.slice(a+1,s):n=e.slice(a+1,s),i=s-a-1;a=s,o=0}else 46===r&&-1!==o?++o:o=-1}return n}function n(e,t){var r=t.dir||t.root,n=t.base||(t.name||"")+(t.ext||"");return r?r===t.root?r+n:r+e+n:n}var i={resolve:function(){for(var e,n,i="",a=!1,o=arguments.length-1;o>=-1&&!a;o--)o>=0?n=arguments[o]:(void 0===e&&(e=""),n=e),t(n),0!==n.length&&(i=n+"/"+i,a=47===n.charCodeAt(0));if(i=r(i,!a),a)if(i.length>0)return"/"+i;else return"/";return i.length>0?i:"."},normalize:function(e){if(t(e),0===e.length)return".";var n=47===e.charCodeAt(0),i=47===e.charCodeAt(e.length-1);return(0!==(e=r(e,!n)).length||n||(e="."),e.length>0&&i&&(e+="/"),n)?"/"+e:e},isAbsolute:function(e){return t(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0==arguments.length)return".";for(var e,r=0;r<arguments.length;++r){var n=arguments[r];t(n),n.length>0&&(void 0===e?e=n:e+="/"+n)}return void 0===e?".":i.normalize(e)},relative:function(e,r){if(t(e),t(r),e===r||(e=i.resolve(e))===(r=i.resolve(r)))return"";for(var n=1;n<e.length&&47===e.charCodeAt(n);++n);for(var a=e.length,o=a-n,s=1;s<r.length&&47===r.charCodeAt(s);++s);for(var l=r.length-s,c=o<l?o:l,u=-1,d=0;d<=c;++d){if(d===c){if(l>c){if(47===r.charCodeAt(s+d))return r.slice(s+d+1);else if(0===d)return r.slice(s+d)}else o>c&&(47===e.charCodeAt(n+d)?u=d:0===d&&(u=0));break}var p=e.charCodeAt(n+d);if(p!==r.charCodeAt(s+d))break;47===p&&(u=d)}var h="";for(d=n+u+1;d<=a;
128++d)(d===a||47===e.charCodeAt(d))&&(0===h.length?h+="..":h+="/..");return h.length>0?h+r.slice(s+u):(s+=u,47===r.charCodeAt(s)&&++s,r.slice(s))},_makeLong:function(e){return e},dirname:function(e){if(t(e),0===e.length)return".";for(var r=e.charCodeAt(0),n=47===r,i=-1,a=!0,o=e.length-1;o>=1;--o)if(47===(r=e.charCodeAt(o))){if(!a){i=o;break}}else a=!1;return -1===i?n?"/":".":n&&1===i?"//":e.slice(0,i)},basename:function(e,r){if(void 0!==r&&"string"!=typeof r)throw TypeError('"ext" argument must be a string');t(e);var n,i=0,a=-1,o=!0;if(void 0!==r&&r.length>0&&r.length<=e.length){if(r.length===e.length&&r===e)return"";var s=r.length-1,l=-1;for(n=e.length-1;n>=0;--n){var c=e.charCodeAt(n);if(47===c){if(!o){i=n+1;break}}else -1===l&&(o=!1,l=n+1),s>=0&&(c===r.charCodeAt(s)?-1==--s&&(a=n):(s=-1,a=l))}return i===a?a=l:-1===a&&(a=e.length),e.slice(i,a)}for(n=e.length-1;n>=0;--n)if(47===e.charCodeAt(n)){if(!o){i=n+1;break}}else -1===a&&(o=!1,a=n+1);return -1===a?"":e.slice(i,a)},extname:function(e){t(e);for(var r=-1,n=0,i=-1,a=!0,o=0,s=e.length-1;s>=0;--s){var l=e.charCodeAt(s);if(47===l){if(!a){n=s+1;break}continue}-1===i&&(a=!1,i=s+1),46===l?-1===r?r=s:1!==o&&(o=1):-1!==r&&(o=-1)}return -1===r||-1===i||0===o||1===o&&r===i-1&&r===n+1?"":e.slice(r,i)},format:function(e){if(null===e||"object"!=typeof e)throw TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return n("/",e)},parse:function(e){t(e);var r,n={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return n;var i=e.charCodeAt(0),a=47===i;a?(n.root="/",r=1):r=0;for(var o=-1,s=0,l=-1,c=!0,u=e.length-1,d=0;u>=r;--u){if(47===(i=e.charCodeAt(u))){if(!c){s=u+1;break}continue}-1===l&&(c=!1,l=u+1),46===i?-1===o?o=u:1!==d&&(d=1):-1!==o&&(d=-1)}return -1===o||-1===l||0===d||1===d&&o===l-1&&o===s+1?-1!==l&&(0===s&&a?n.base=n.name=e.slice(1,l):n.base=n.name=e.slice(s,l)):(0===s&&a?(n.name=e.slice(1,o),n.base=e.slice(1,l)):(n.name=e.slice(s,o),n.base=e.slice(s,l)),n.ext=e.slice(o,l)),s>0?n.dir=e.slice(0,s-1):a&&(n.dir="/"),n},sep:"/",delimiter:":",win32:null,posix:null};i.posix=i,e.exports=i}},n={};function i(e){var t=n[e];if(void 0!==t)return t.exports;var a=n[e]={exports:{}},o=!0;try{r[e](a,a.exports,i),o=!1}finally{o&&delete n[e]}return a.exports}i.ab=t+"/",e.exports=i(114)}()},69194:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return l},getImageProps:function(){return s}});let n=r(30758),i=r(23330),a=r(30682),o=n._(r(85837));function s(e){let{props:t}=(0,i.getImgProps)(e,{defaultLoader:o.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image/",loader:"custom",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let l=a.Image},69706:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(58309);let i=[["rect",{width:"18",height:"14",x:"3",y:"5",rx:"2",ry:"2",key:"12ruh7"}],["path",{d:"M7 15h4M15 15h2M7 11h2M13 11h4",key:"1ueiar"}]],a=(0,n.A)("captions",i)},70026:(e,t,r)=>{"use strict";function n(e){return e&&"object"==typeof e&&"default"in e?e.default:e}var i={value:!0},a=r(55729),o=n(a),s=r(94517),l=new s,c=l.getBrowser(),u=l.getCPU(),d=l.getDevice(),p=l.getEngine(),h=l.getOS(),f=l.getUA(),m=function(e){return l.setUA(e)},g=function(e){if(!e)return void console.error("No userAgent string was provided");var t=new s(e);return{UA:t,browser:t.getBrowser(),cpu:t.getCPU(),device:t.getDevice(),engine:t.getEngine(),os:t.getOS(),ua:t.getUA(),setUserAgent:function(e){return t.setUA(e)}}},y=Object.freeze({ClientUAInstance:l,browser:c,cpu:u,device:d,engine:p,os:h,ua:f,setUa:m,parseUserAgent:g});function v(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function b(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
128t%2?v(Object(r),!0).forEach(function(t){C(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):v(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function w(e){return(w="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function x(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function k(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function A(e,t,r){return t&&k(e.prototype,t),r&&k(e,r),e}function C(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function S(){return(S=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function E(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&T(e,t)}function _(e){return(_=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function T(e,t){return(T=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function P(e,t){if(null==e)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}function O(e,t){if(null==e)return{};var r,n,i=P(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function I(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function M(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return I(e)}function L(e,t){return N(e)||R(e,t)||j(e,t)||F()}function N(e){if(Array.isArray(e))return e}function R(e,t){var r,n,i=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=i){var a=[],o=!0,s=!1;try{for(i=i.call(e);!(o=(r=i.next()).done)&&(a.push(r.value),!t||a.length!==t);o=!0);}catch(e){s=!0,n=e}finally{try{o||null==i.return||i.return()}finally{if(s)throw n}}return a}}function j(e,t){if(e){if("string"==typeof e)return D(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return D(e,t)}}function D(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function F(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var V={Mobile:"mobile",Tablet:"tablet",SmartTv:"smarttv",Console:"console",Wearable:"wearable",Embedded:"embedded",Browser:void 0},B={Chrome:"Chrome",Firefox:"Firefox",Opera:"Opera",Yandex:"Yandex",Safari:"Safari",InternetExplorer:"Internet Explorer",Edge:"Edge",Chromium:"Chromium",Ie:"IE",MobileSafari:"Mobile Safari",EdgeChromium:"Edge Chromium",MIUI:"MIUI Browser",SamsungBrowser:"Samsung Browser"},z={IOS:"iOS",Android:"Android",WindowsPhone:"Windows Phone",Windows:"Windows",MAC_OS:"Mac OS"},$={isMobile:!1,isTablet:!1,isBrowser:!1,isSmartTV:!1,isConsole:!1,isWearable:!1},U=function(e){switch(e){case V.Mobile:return{isMobile:!0};case V.Tablet:return{isTablet:!0};case V.SmartTv:return{isSmartTV:!0};case V.Console:return{isConsole:!0};case V.Wearable:return{isWearable:!0};case V.Browser:return{isBrowser:!0};case V.Embedded:return{isEmbedded:!0};default:return $}},q=function(e){return m(e)},H=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"none";return e||t},Y=function(){return!!("undefined"!=typeof window&&(window.navigator||navigator))&&(window.navigator||navigator)},W=function(e){var t=Y();return t&&t.platform&&(-1!==t.platform.indexOf(e)||"MacIntel"===t.platform&&t.maxTouchPoints>1&&!window.MSStream)},G=function(e,t,r,n,i){return{isBrowser:e,browserMajorVersion:H(t.major),browserFullVersion:H(t.version),browserName:H(t.name),engineName:H(r.
128name),engineVersion:H(r.version),osName:H(n.name),osVersion:H(n.version),userAgent:H(i)}},K=function(e,t,r,n){return b({},e,{vendor:H(t.vendor),model:H(t.model),os:H(r.name),osVersion:H(r.version),ua:H(n)})},J=function(e,t,r,n){return{isSmartTV:e,engineName:H(t.name),engineVersion:H(t.version),osName:H(r.name),osVersion:H(r.version),userAgent:H(n)}},X=function(e,t,r,n){return{isConsole:e,engineName:H(t.name),engineVersion:H(t.version),osName:H(r.name),osVersion:H(r.version),userAgent:H(n)}},Q=function(e,t,r,n){return{isWearable:e,engineName:H(t.name),engineVersion:H(t.version),osName:H(r.name),osVersion:H(r.version),userAgent:H(n)}},Z=function(e,t,r,n,i){return{isEmbedded:e,vendor:H(t.vendor),model:H(t.model),engineName:H(r.name),engineVersion:H(r.version),osName:H(n.name),osVersion:H(n.version),userAgent:H(i)}};function ee(e){var t=e?g(e):y,r=t.device,n=t.browser,i=t.engine,a=t.os,o=t.ua,s=U(r.type),l=s.isBrowser,c=s.isMobile,u=s.isTablet,d=s.isSmartTV,p=s.isConsole,h=s.isWearable,f=s.isEmbedded;return l?G(l,n,i,a,o):d?J(d,i,a,o):p?X(p,i,a,o):c||u?K(s,r,a,o):h?Q(h,i,a,o):f?Z(f,r,i,a,o):void 0}var et=function(e){return e.type===V.Mobile},er=function(e){return e.type===V.Tablet},en=function(e){var t=e.type;return t===V.Mobile||t===V.Tablet},ei=function(e){return e.type===V.SmartTv},ea=function(e){return e.type===V.Browser},eo=function(e){return e.type===V.Wearable},es=function(e){return e.type===V.Console},el=function(e){return e.type===V.Embedded},ec=function(e){return H(e.vendor)},eu=function(e){return H(e.model)},ed=function(e){return H(e.type,"browser")},ep=function(e){return e.name===z.Android},eh=function(e){return e.name===z.Windows},ef=function(e){return e.name===z.MAC_OS},em=function(e){return e.name===z.WindowsPhone},eg=function(e){return e.name===z.IOS},ey=function(e){return H(e.version)},ev=function(e){return H(e.name)},eb=function(e){return e.name===B.Chrome},ew=function(e){return e.name===B.Firefox},ex=function(e){return e.name===B.Chromium},ek=function(e){return e.name===B.Edge},eA=function(e){return e.name===B.Yandex},eC=function(e){var t=e.name;return t===B.Safari||t===B.MobileSafari},eS=function(e){return e.name===B.MobileSafari},eE=function(e){return e.name===B.Opera},e_=function(e){var t=e.name;return t===B.InternetExplorer||t===B.Ie},eT=function(e){return e.name===B.MIUI},eP=function(e){return e.name===B.SamsungBrowser},eO=function(e){return H(e.version)},eI=function(e){return H(e.major)},eM=function(e){return H(e.name)},eL=function(e){return H(e.name)},eN=function(e){return H(e.version)},eR=function(){var e=Y(),t=e&&e.userAgent&&e.userAgent.toLowerCase();return"string"==typeof t&&/electron/.test(t)},ej=function(e){return"string"==typeof e&&-1!==e.indexOf("Edg/")},eD=function(){var e=Y();return e&&(/iPad|iPhone|iPod/.test(e.platform)||"MacIntel"===e.platform&&e.maxTouchPoints>1)&&!window.MSStream},eF=function(){return W("iPad")},eV=function(){return W("iPhone")},eB=function(){return W("iPod")},ez=function(e){return H(e)};function e$(e){var t=e||y,r=t.device,n=t.browser,i=t.os,a=t.engine,o=t.ua;return{isSmartTV:ei(r),isConsole:es(r),isWearable:eo(r),isEmbedded:el(r),isMobileSafari:eS(n)||eF(),isChromium:ex(n),isMobile:en(r)||eF(),isMobileOnly:et(r),isTablet:er(r)||eF(),isBrowser:ea(r),isDesktop:ea(r),isAndroid:ep(i),isWinPhone:em(i),isIOS:eg(i)||eF(),isChrome:eb(n),isFirefox:ew(n),isSafari:eC(n),isOpera:eE(n),isIE:e_(n),osVersion:ey(i),osName:ev(i),fullBrowserVersion:eO(n),browserVersion:eI(n),browserName:eM(n),mobileVendor:ec(r),mobileModel:eu(r),engineName:eL(a),engineVersion:eN(a),getUA:ez(o),isEdge:ek(n)||ej(o),isYandex:eA(n),deviceType:ed(r),isIOS13:eD(),isIPad13:eF(),isIPhone13:eV(),isIPod13:eB(),isElectron:eR(),isEdgeChromium:ej(o),isLegacyEdge:ek(n)&&!ej(o),isWindows:eh(i),isMacOs:ef(i),isMIUI:eT(n),isSamsungBrowser:eP(n)}}var eU=ei(d),eq=es(d),eH=eo(d),eY=el(d),eW=eS(c)||eF(),eG=ex(c),eK=en(d)||eF(),eJ=et(d),eX=er(d)||eF(),eQ=ea(d),eZ=ea(d),e0=ep(h),e1=em(h),e2=eg(h)||eF(),e5=eb(c),e3=ew(c),e4=eC(c),e6=eE(c),e9=e_(c),e8=ey(h),e7=ev(h),te=eO(c),tt=eI(c),tr=eM(c),tn=ec(d),ti=eu(d),ta=eL(p),to=eN(p),ts=ez(f),tl=ek(c)||ej(f),tc=eA(c),tu=ed(d),td=eD(),tp=eF(),th=eV(),tf=eB(),tm=eR(),tg=ej(f),ty=ek(c)&&!ej(f),tv=eh(h),tb=ef(h),tw=eT(c),tx=eP(c),tk=function(e){if(!e||"string"!=typeof e)return void console.error("No valid user agent string was provided");var t=g(e);return e$({device:t.device,browser:t.browser,os:t.os,engine:t.engine,ua:t.ua})},tA=function(e){var t=e.renderWithFragment,r=e.children,n=O(e,["renderWithFragment","children"]);return eQ?t?o.createElement(a.Fragment,null,r):o.createElement("div",n,r):null},tC=function(e){var t=e.renderWithFragment,r=e.children,n=O(e,["renderWithFragment","children"]);return e9?t?o.createElement(a.Fragment,null,r):o.createElement("div",n,r):null},tS=function(e){var t=e.renderWithFragment,r=e.children,n=O(e,["renderWithFragment","children"]);return e2?t?o.createElement(a.Fragment,null,r):o.createElement("div",n,r):null},tE=function(e){var t=e.renderWithFragment,r=e.children,n=O(e,["renderWithFragment","children"]);return eK?t?o.createElement(a.Fragment,null,r):o.createElement("div",n,r):null},t_=function(e){var t=e.renderWithFragment,r=e.children,n=O(e,["renderWithFragment","children"]);return eX?t?o.createElement(a.Fragment,null,r):o.createElement("div",n,r):null},tT=function(e){var t=e.renderWithFragment,r=e.children,n=O(e,["renderWithFragment","children"]);return e1?t?o.createElement(a.Fragment,null,r):o.createElement("div",n,r):null},tP=function(e){var t=e.renderWithFragment,r=e.children,n=(e.viewClassName,e.style,O(e,["renderWithFragment","children","viewClassName","style"]));return eJ?t?o.createElement(a.Fragment,null,r):o.createElement("div",n,r):null},tO=function(e){var t=e.renderWithFragment,r=e.children,n=O(e,["renderWithFragment","children"]);return eU?t?o.createElement(a.Fragment,null,r):o.createElement("div",n,r):null},tI=function(e){var t=e.renderWithFragment,r=e.children,n=O(e,["renderWithFragment","children"]);return eq?t?o.createElement(a.Fragment,null,r):o.createElement("div",n,r):null},tM=function(e){var t=e.renderWithFragment,r=e.children,n=O(e,["renderWithFragment","children"]);return eH?t?o.createElement(a.Fragment,null,r):o.createElement("div",n,r):null},tL=function(e){var t=e.renderWithFragment,r=e.children,n=(e.viewClassName,e.style,e.condition),i=O(e,["renderWithFragment","children","viewClassName","style","condition"]);return n?t?o.createElement(a.Fragment,null,r):o.createElement("div",i,r):null};function tN(e){return function(t){function r(e){var t;return x(this,r),(t=M(this,_(r).call(this,e))).isEventListenerAdded=!1,t.handleOrientationChange=t.handleOrientationChange.bind(I(t)),t.onOrientationChange=t.onOr
128ientationChange.bind(I(t)),t.onPageLoad=t.onPageLoad.bind(I(t)),t.state={isLandscape:!1,isPortrait:!1},t}return E(r,t),A(r,[{key:"handleOrientationChange",value:function(){this.isEventListenerAdded||(this.isEventListenerAdded=!0);var e=90*(window.innerWidth>window.innerHeight);this.setState({isPortrait:0===e,isLandscape:90===e})}},{key:"onOrientationChange",value:function(){this.handleOrientationChange()}},{key:"onPageLoad",value:function(){this.handleOrientationChange()}},{key:"componentDidMount",value:function(){("undefined"==typeof window?"undefined":w(window))!==void 0&&eK&&(this.isEventListenerAdded?window.removeEventListener("load",this.onPageLoad,!1):(this.handleOrientationChange(),window.addEventListener("load",this.onPageLoad,!1)),window.addEventListener("resize",this.onOrientationChange,!1))}},{key:"componentWillUnmount",value:function(){window.removeEventListener("resize",this.onOrientationChange,!1)}},{key:"render",value:function(){return o.createElement(e,S({},this.props,{isLandscape:this.state.isLandscape,isPortrait:this.state.isPortrait}))}}]),r}(o.Component)}function tR(){var e=L(a.useState(function(){var e=90*(window.innerWidth>window.innerHeight);return{isPortrait:0===e,isLandscape:90===e,orientation:0===e?"portrait":"landscape"}}),2),t=e[0],r=e[1],n=a.useCallback(function(){var e=90*(window.innerWidth>window.innerHeight),n={isPortrait:0===e,isLandscape:90===e,orientation:0===e?"portrait":"landscape"};t.orientation!==n.orientation&&r(n)},[t.orientation]);return a.useEffect(function(){return("undefined"==typeof window?"undefined":w(window))!==void 0&&eK&&(n(),window.addEventListener("load",n,!1),window.addEventListener("resize",n,!1)),function(){window.removeEventListener("resize",n,!1),window.removeEventListener("load",n,!1)}},[n]),t}function tj(e){return g(e||window.navigator.userAgent)}function tD(e){var t=tj(e||window.navigator.userAgent);return[e$(t),t]}i=function(e){var t=e.renderWithFragment,r=e.children,n=O(e,["renderWithFragment","children"]);return e0?t?o.createElement(a.Fragment,null,r):o.createElement("div",n,r):null},i=B,i=tA,i=tI,i=tL,i=tC,i=tS,i=tP,i=tE,i=z,i=tO,i=t_,i=tM,i=tT,i=tr,i=tt,i=ee,i=tu,i=ta,i=to,i=te,i=tk,i=ts,i=e0,i=eQ,i=e5,i=eG,i=eq,t.xl=eZ,i=tl,i=tg,i=tm,i=eY,i=e3,i=e9,t.isIOS=e2,i=td,i=tp,i=th,i=tf,i=ty,i=tw,t.Ue=tb,t.isMobile=eK,i=eJ,i=eW,i=e6,t.nr=e4,i=tx,i=eU,i=eX,i=eH,i=e1,i=tv,i=tc,i=ti,i=tn,i=e7,i=e8,i=g,i=q,i=tj,i=tD,i=tR,i=tN},70238:(e,t,r)=>{"use strict";r.d(t,{Cg:()=>a,_P:()=>s,my:()=>n,s0:()=>o,w4:()=>i});let n=6048e5,i=864e5,a=6e4,o=36e5,s=Symbol.for("constructDateFrom")},70477:(e,t)=>{"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,i=r?Symbol.for("react.portal"):60106,a=r?Symbol.for("react.fragment"):60107,o=r?Symbol.for("react.strict_mode"):60108,s=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,u=r?Symbol.for("react.async_mode"):60111,d=r?Symbol.for("react.concurrent_mode"):60111,p=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,f=r?Symbol.for("react.suspense_list"):60120,m=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116,y=r?Symbol.for("react.block"):60121,v=r?Symbol.for("react.fundamental"):60117,b=r?Symbol.for("react.responder"):60118,w=r?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case u:case d:case a:case s:case o:case h:return e;default:switch(e=e&&e.$$typeof){case c:case p:case g:case m:case l:return e;default:return t}}case i:return t}}}function k(e){return x(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=n,t.ForwardRef=p,t.Fragment=a,t.Lazy=g,t.Memo=m,t.Portal=i,t.Profiler=s,t.StrictMode=o,t.Suspense=h,t.isAsyncMode=function(e){return k(e)||x(e)===u},t.isConcurrentMode=k,t.isContextConsumer=function(e){return x(e)===c},t.isContextProvider=function(e){return x(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return x(e)===p},t.isFragment=function(e){return x(e)===a},t.isLazy=function(e){return x(e)===g},t.isMemo=function(e){return x(e)===m},t.isPortal=function(e){return x(e)===i},t.isProfiler=function(e){return x(e)===s},t.isStrictMode=function(e){return x(e)===o},t.isSuspense=function(e){return x(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===d||e===s||e===o||e===h||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===p||e.$$typeof===v||e.$$typeof===b||e.$$typeof===w||e.$$typeof===y)},t.typeOf=x},70484:(e,t,r)=>{var n=r(57406).Global;function i(){return n.localStorage}function a(e){return i().getItem(e)}function o(e){for(var t=i().length-1;t>=0;t--){var r=i().key(t);e(a(r),r)}}
128e.exports={name:"localStorage",read:a,write:function e(e,t){return i().setItem(e,t)},each:o,remove:function e(e){return i().removeItem(e)},clearAll:function e(){return i().clear()}}},70642:(e,t,r)=>{"use strict";r.d(t,{A:()=>y});var n=r(24975),i=r(91796);let a=function(e,t){return(0,n.A)(e,t,function(t,r){return(0,i.A)(e,r)})};var o=r(30423),s=r(63686),l=r(52577),c=r(80090),u=s.A?s.A.isConcatSpreadable:void 0;let d=function(e){return(0,c.A)(e)||(0,l.A)(e)||!!(u&&e&&e[u])};function p(e,t,r,n,i){var a=-1,s=e.length;for(r||(r=d),i||(i=[]);++a<s;){var l=e[a];t>0&&r(l)?t>1?p(l,t-1,r,n,i):(0,o.A)(i,l):n||(i[i.length]=l)}return i}let h=p,f=function(e){return(null==e?0:e.length)?h(e,1):[]};var m=r(19770),g=r(62414);let y=function(e){return(0,g.A)((0,m.A)(e,void 0,f),e+"")}(function(e,t){return null==e?{}:a(e,t)})},70707:(e,t,r)=>{"use strict";r.d(t,{A:()=>o,j:()=>a});var n=r(11722),i=r(91206);function a(e){return(0,i.Ay)("MuiPaper",e)}let o=(0,n.A)("MuiPaper",["root","rounded","outlined","elevation","elevation0","elevation1","elevation2","elevation3","elevation4","elevation5","elevation6","elevation7","elevation8","elevation9","elevation10","elevation11","elevation12","elevation13","elevation14","elevation15","elevation16","elevation17","elevation18","elevation19","elevation20","elevation21","elevation22","elevation23","elevation24"])},70921:(e,t,r)=>{"use strict";let n,i;r.d(t,{eU:()=>s,y$:()=>u,zp:()=>d});var a=r(29234);let o=0;function s(e,t){let r=`atom${++o}`,n={toString(){return this.debugLabel?r+":"+this.debugLabel:r}};return"function"==typeof e?n.read=e:(n.init=e,n.read=l,n.write=c),t&&(n.write=t),n}function l(e){return e(this)}function c(e,t,r){return t(this,"function"==typeof r?r(e(this)):r)}function u(){return n?n():(0,a._b)()}function d(){return i||(i=u(),globalThis.__JOTAI_DEFAULT_STORE__||(globalThis.__JOTAI_DEFAULT_STORE__=i),globalThis.__JOTAI_DEFAULT_STORE__!==i&&console.warn("Detected multiple Jotai instances. It may cause unexpected behavior with the default store. https://github.com/pmndrs/jotai/discussions/2044")),i}},71003:(e,t,r)=>{"use strict";r.d(t,{A:()=>o,M:()=>a});var n=r(11722),i=r(91206);function a(e){return(0,i.Ay)("MuiModal",e)}let o=(0,n.A)("MuiModal",["root","hidden","backdrop"])},71024:(e,t,r)=>{e.exports=r(48574)},71162:(e,t,r)=>{"use strict";r.d(t,{q:()=>n});let n="$inf$"},71545:(e,t,r)=>{"use strict";function n(e,...t){let r=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(e=>r.searchParams.append("args[]",e)),`Minified MUI error #${e}; visit ${r} for the full message.`}r.d(t,{A:()=>n})},71711:(e,t,r)=>{"use strict";e.exports=r(39218).style},71987:(e,t,r)=>{"use strict";r.d(t,{A:()=>S});var n=r(55729),i=r(50212),a=r(40412),o=r(25478),s=r(1686),l=r(49467),c=r(80073),u=r(74004),d=r(23986),p=r(89035),h=r(6029);let f=(0,p.A)((0,h.jsx)("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreHoriz");var m=r(1286);let g=(0,s.Ay)(m.A,{name:"MuiBreadcrumbCollapsed"})((0,d.A)(e=>{let{theme:t}=e;return{display:"flex",marginLeft:"calc(".concat(t.spacing(1)," * 0.5)"),marginRight:"calc(".concat(t.spacing(1)," * 0.5)"),..."light"===t.palette.mode?{backgroundColor:t.palette.grey[100],color:t.palette.grey[700]}:{backgroundColor:t.palette.grey[700],color:t.palette.grey[100]},borderRadius:2,"&:hover, &:focus":{..."light"===t.palette.mode?{backgroundColor:t.palette.grey[200]}:{backgroundColor:t.palette.grey[600]}},"&:active":{boxShadow:t.shadows[0],..."light"===t.palette.mode?{backgroundColor:(0,u.tL)(t.palette.grey[200],.12)}:{backgroundColor:(0,u.tL)(t.palette.grey[600],.12)}}}})),y=(0,s.Ay)(f)({width:24,height:16}),v=function(e){let{slots:t={},slotProps:r={},...n}=e,i=e;return(0,h.jsx)("li",{children:(0,h.jsx)(g,{focusRipple:!0,...n,ownerState:i,children:(0,h.jsx)(y,{as:t.CollapsedIcon,ownerState:i,...r.collapsedIcon})})})};var b=r(42479);let w=e=>{let{classes:t}=e,r={root:["root"],li:["li"],ol:["ol"],separator:["separator"]};return(0,a.A)(r,b.r,t)},x=(0,s.Ay)(c.A,{name:"MuiBreadcrumbs",slot:"Root",overridesResolver:(e,t)=>[{["& .".concat(b.A.li)]:t.li},t.root]})({}),k=(0,s.Ay)("ol",{name:"MuiBreadcrumbs",slot:"Ol",overridesResolver:(e,t)=>t.ol})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"}),A=(0,s.Ay)("li",{name:"MuiBreadcrumbs",slot:"Separator",overridesResolver:(e,t)=>t.separator})({display:"flex",userSelect:"none",marginLeft:8,marginRight:8});function C(e,t,r,n){return e.reduce((i,a,o)=>
128(o<e.length-1?i=i.concat(a,(0,h.jsx)(A,{"aria-hidden":!0,className:t,ownerState:n,children:r},"separator-".concat(o))):i.push(a),i),[])}let S=n.forwardRef(function(e,t){let r=(0,l.b)({props:e,name:"MuiBreadcrumbs"}),{children:a,className:s,component:c="nav",slots:u={},slotProps:d={},expandText:p="Show path",itemsAfterCollapse:f=1,itemsBeforeCollapse:m=1,maxItems:g=8,separator:y="/",...b}=r,[A,S]=n.useState(!1),E={...r,component:c,expanded:A,expandText:p,itemsAfterCollapse:f,itemsBeforeCollapse:m,maxItems:g,separator:y},_=w(E),T=(0,o.A)({elementType:u.CollapsedIcon,externalSlotProps:d.collapsedIcon,ownerState:E}),P=n.useRef(null),O=e=>{let t=()=>{S(!0);let e=P.current.querySelector("a[href],button,[tabindex]");e&&e.focus()};return m+f>=e.length?e:[...e.slice(0,m),(0,h.jsx)(v,{"aria-label":p,slots:{CollapsedIcon:u.CollapsedIcon},slotProps:{collapsedIcon:T},onClick:t},"ellipsis"),...e.slice(e.length-f,e.length)]},I=n.Children.toArray(a).filter(e=>n.isValidElement(e)).map((e,t)=>(0,h.jsx)("li",{className:_.li,children:e},"child-".concat(t)));return(0,h.jsx)(x,{ref:t,component:c,color:"textSecondary",className:(0,i.A)(_.root,s),ownerState:E,...b,children:(0,h.jsx)(k,{className:_.ol,ref:P,ownerState:E,children:C(A||g&&I.length<=g?I:O(I),_.separator,y,E)})})})},72378:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>m});var n=r(23070),i=r(93441),a=r(26401),o=r(32790),s=r(11407);let l=(0,a.A)();function c(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}function u(e,t){return t&&e&&"object"==typeof e&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function d(e){return e?(t,r)=>r[e]:null}function p(e,t,r){e.theme=y(e.theme)?r:e.theme[t]||e.theme}function h(e,t,r){let i="function"==typeof t?t(e):t;if(Array.isArray(i))return i.flatMap(t=>h(e,t,r));if(Array.isArray(i?.variants)){let t;if(i.isProcessed)t=r?u(i.style,r):i.style;else{let{variants:e,...a}=i;t=r?u((0,n.tT)(a),r):a}return f(e,i.variants,[t],r)}return i?.isProcessed?r?u((0,n.tT)(i.style),r):i.style:r?u((0,n.tT)(i),r):i}function f(e,t,r=[],i){let a;t:for(let o=0;o<t.length;o+=1){let s=t[o];if("function"==typeof s.props){if(a??={...e,...e.ownerState,ownerState:e.ownerState},!s.props(a))continue}else for(let t in s.props)if(e[t]!==s.props[t]&&e.ownerState?.[t]!==s.props[t])continue t;"function"==typeof s.style?(a??={...e,...e.ownerState,ownerState:e.ownerState},r.push(i?u((0,n.tT)(s.style(a)),i):s.style(a))):r.push(i?u((0,n.tT)(s.style),i):s.style)}return r}function m(e={}){let{themeId:t,defaultTheme:r=l,rootShouldForwardProp:a=c,slotShouldForwardProp:y=c}=e;function w(e){p(e,t,r)}return(e,t={})=>{(0,n.HX)(e,e=>e.filter(e=>e!==o.A));let{name:r,slot:l,skipVariantsResolver:p,skipSx:m,overridesResolver:x=d(b(l)),...k}=t,A=r&&r.startsWith("Mui")||l?"components":"custom",C=void 0!==p?p:l&&"Root"!==l&&"root"!==l||!1,S=m||!1,E=c;"Root"===l||"root"===l?E=a:l?E=y:v(e)&&(E=void 0);let _=(0,n.Ay)(e,{shouldForwardProp:E,label:g(r,l),...k}),T=e=>{if(e.__emotion_real===e)return e;if("function"==typeof e)return function(t){return h(t,e,t.theme.modularCssLayers?A:void 0)};if((0,i.Q)(e)){let t=(0,s.A)(e);return function(e){return t.variants?h(e,t,e.theme.modularCssLayers?A:void 0):e.theme.modularCssLayers?u(t.style,A):t.style}}return e},P=(...t)=>{let n=[],i=t.map(T),a=[];if(n.push(w),r&&x&&a.push(function(e){let t=e.theme,n=t.components?.[r]?.styleOverrides;if(!n)return null;let i={};for(let t in n)i[t]=h(e,n[t],e.theme.modularCssLayers?"theme":void 0);return x(e,i)}),r&&!C&&a.push(function(e){let t=e.theme,n=t?.components?.[r]?.variants;return n?f(e,n,[],e.theme.modularCssLayers?"theme":void 0):null}),S||a.push(o.A),Array.isArray(i[0])){let e,t=i.shift(),r=Array(n.length).fill(""),o=Array(a.length).fill("");(e=[...r,...t,...o]).raw=[...r,...t.raw,...o],n.unshift(e)}let s=_(...n,...i,...a);return e.muiName&&(s.muiName=e.muiName),s};return _.withConfig&&(P.withConfig=_.withConfig),P}}function g(e,t){}function y(e){for(let t in e)return!1;return!0}function v(e){return"string"==typeof e&&e.charCodeAt(0)>96}function b(e){return e?e.charAt(0).toLowerCase()+e.slice(1):e}},72541:(e,t,r)=>{"use strict";r.d(t,{A:()=>S});let n=(0,r(87971).A)(Object,"create"),i=function(){this.__data__=n?n(null):{},this.size=0},a=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=!!t,t};var o="__lodash_hash_undefined__",s=Object.prototype.hasOwnProperty;let l=function(e){var t=this.__data__;if(n){var r=t[e];return r===o?void 0:r}return s.call(t,e)?t[e]:void 0};var c=Object.prototype.hasOwnProperty;let u=function(e){var t=this.__data__;return n?void 0!==t[e]:c.call(t,e)};var d="__lodash_hash_undefined__";let p=function(e,t){var r=this.__data__;return this.size+=+!this.has(e),r[e]=n&&void 0===t?d:t,this};function h(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}h.prototype.clear=i,h.prototype.delete=a,h.prototype.get=l,h.prototype.has=u,h.prototype.set=p;let f=h;var m=r(1353),g=r(10312);let y=function(){this.size=0,this.__data__={hash:new f,map:new(g.A||m.A),string:new f}},v=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e},b=function(e,t){var r=e.__data__;return v(t)?r["string"==typeof t?"string":"hash"]:r.map},w=function(e){var t=b(this,e).delete(e);return this.size-=!!t,t},x=function(e){return b(this,e).get(e)},k=function(e){return b(this,e).has(e)},A=function(e,t){var r=b(this,e),n=r.size;return r.set(e,t),this.size+=+(r.size!=n),this};function C(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}C.prototype.clear=y,C.prototype.delete=w,C.prototype.get=x,C.prototype.has=k,C.prototype.set=A;let S=C},72579:(e,t,r)=>{"use strict";r.d(t,{a:()=>b,c:()=>o,i:()=>v,l:()=>s,n:()=>g,o:()=>p,r:()=>y,s:()=>d});var n=r(55729),i=r(29143);let a=c();function o(e,...t){if(!a)return;let r=l(e,...t);performance.mark(r);try{console.log(e,...t)}catch{console.log(r)}}function s(e,...t){a&&console.warn(e,...t)}function l(e,...t){return e.replace(/%[sfdO]/g,e=>{let r=t.shift();return"%O"===e&&r?JSON.stringify(r).replace(/"([^"]+)":/g,"$1:"):String(r)})}function c(){if("undefined"==typeof window)return(i.env.DEBUG||"").includes("nuqs");try{let e="nuqs-localStorage-test";if("undefined"==typeof localStorage)return!1;localStorage.setItem(e,e);let t=localStorage.getItem(e)===e;return localStorage.removeItem(e),t&&(localStorage.getItem("debug")||"").includes("nuqs")}catch{return!1}}let u={303:"Multiple adapter contexts detected. This might happen in monorepos.",404:"nuqs requires an adapter to work with your framework.",409:"Multiple versions of the library are loaded. This may lead to unexpected behavior. Currently using `%s`, but `%s` (via the %s adapter) was about to load on top.",414:"Max safe URL length exceeded. Some browsers may not be able to accept this URL. Consider limiting the amount of state stored in the URL.",422:"Invalid options combination: `limitUrlUpdates: debounce` should be used in SSR scenarios, with `shallow: false`",429:"URL update rate-limited by the browser. Consider increasing `throttleMs` for key(s) `%s`. %O",500:"Empty search params cac
128he. Search params can't be accessed in Layouts.",501:"Search params cache already populated. Have you called `parse` twice?"};function d(e){return`[nuqs] ${u[e]} 129 See https://nuqs.dev/NUQS-${e}`}function p(e){if(0===e.size)return"";let t=[];for(let[r,n]of e.entries()){let e=r.replace(/#/g,"%23").replace(/&/g,"%26").replace(/\+/g,"%2B").replace(/=/g,"%3D").replace(/\?/g,"%3F");t.push(`${e}=${h(n)}`)}let r="?"+t.join("&");return f(r),r}function h(e){return e.replace(/%/g,"%25").replace(/\+/g,"%2B").replace(/ /g,"+").replace(/#/g,"%23").replace(/&/g,"%26").replace(/"/g,"%22").replace(/'/g,"%27").replace(/`/g,"%60").replace(/</g,"%3C").replace(/>/g,"%3E").replace(/[\x00-\x1F]/g,e=>encodeURIComponent(e))}function f(e){}let m=(0,n.createContext)({useAdapter(){throw Error(d(404))}});function g(e){return({children:t,defaultOptions:r,processUrlSearchParams:i,...a})=>(0,n.createElement)(m.Provider,{...a,value:{useAdapter:e,defaultOptions:r,processUrlSearchParams:i}},t)}function y(e){let t=(0,n.useContext)(m);if(!("useAdapter"in t))throw Error(d(404));return t.useAdapter(e)}m.displayName="NuqsAdapterContext",a&&"undefined"!=typeof window&&(window.__NuqsAdapterContext&&window.__NuqsAdapterContext!==m&&console.error(d(303)),window.__NuqsAdapterContext=m);let v=()=>(0,n.useContext)(m).defaultOptions,b=()=>(0,n.useContext)(m).processUrlSearchParams},72756:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=void 0;var r=/^--[a-zA-Z0-9_-]+$/,n=/-([a-z])/g,i=/^[^-]+$/,a=/^-(webkit|moz|ms|o|khtml)-/,o=/^-(ms)-/,s=function(e){return!e||i.test(e)||r.test(e)},l=function(e,t){return t.toUpperCase()},c=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){return(void 0===t&&(t={}),s(e))?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(o,c):e.replace(a,c)).replace(n,l))}},72925:(e,t,r)=>{"use strict";r.d(t,{A:()=>C});var n=r(87971),i=r(41658);let a=(0,n.A)(i.A,"DataView");var o=r(10312);let s=(0,n.A)(i.A,"Promise"),l=(0,n.A)(i.A,"Set"),c=(0,n.A)(i.A,"WeakMap");var u=r(63599),d=r(22838),p="[object Map]",h="[object Object]",f="[object Promise]",m="[object Set]",g="[object WeakMap]",y="[object DataView]",v=(0,d.A)(a),b=(0,d.A)(o.A),w=(0,d.A)(s),x=(0,d.A)(l),k=(0,d.A)(c),A=u.A;(a&&A(new a(new ArrayBuffer(1)))!=y||o.A&&A(new o.A)!=p||s&&A(s.resolve())!=f||l&&A(new l)!=m||c&&A(new c)!=g)&&(A=function(e){var t=(0,u.A)(e),r=t==h?e.constructor:void 0,n=r?(0,d.A)(r):"";if(n)switch(n){case v:return y;case b:return p;case w:return f;case x:return m;case k:return g}return t});let C=A},73358:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(58309);let i=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],a=(0,n.A)("chevron-up",i)},73461:e=>{"use strict";let t=e=>"object"==typeof e&&null!==e,r=Symbol("skip"),n=e=>t(e)&&!(e instanceof RegExp)&&!(e instanceof Error)&&!(e instanceof Date),i=(e,t,a,o=new WeakMap)=>{if(a={deep:!1,target:{},...a},o.has(e))return o.get(e);o.set(e,a.target);let{target:s}=a;delete a.target;let l=e=>e.map(e=>n(e)?i(e,t,a,o):e);if(Array.isArray(e))return l(e);for(let[c,u]of Object.entries(e)){let d=t(c,u,e);if(d===r)continue;let[p,h,{shouldRecurse:f=!0}={}]=d;"__proto__"!==p&&(a.deep&&f&&n(h)&&(h=Array.isArray(h)?l(h):i(h,t,a,o)),s[p]=h)}return s};e.exports=(e,r,n)=>{if(!t(e))throw TypeError(`Expected an object, got \`${e}\` (${typeof e})`);return i(e,r,n)},e.exports.mapObjectSkip=r},73650:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(77464),i=r(28647),a=r(93303);function o(e,t,r){e.colorSchemes&&r&&(e.colorSchemes[t]={...!0!==r&&r,palette:(0,n.Ay)({...!0===r?{}:r.palette,mode:t})})}function s(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];let{palette:s,cssVariables:l=!1,colorSchemes:c=!s?{light:!0}:void 0,defaultColorScheme:u=null==s?void 0:s.mode,...d}=e,p=u||"light",h=null==c?void 0:c[p],f={...c,...s?{[p]:{..."boolean"!=typeof h&&h,palette:s}}:void 0};if(!1===l){if(!("colorSchemes"in e))return(0,a.A)(e,...r);let t=s;"palette"in e||!f[p]||(!0!==f[p]?t=f[p].palette:"dark"===p&&(t={mode:"dark"}));let n=(0,a.A)({...e,palette:t},...r);return n.defaultColorScheme=p,n.colorSchemes=f,"light"===n.palette.mode&&(n.colorSchemes.light={...!0!==f.light&&f.light,palette:n.palette},o(n,"dark",f.dark)),"dark"===n.palette.mode&&(n.colorSchemes.dark={...!0!==f.dark&&f.dark,palette:n.palette},o(n,"light",f.light)),n}return s||"light"in f||"light"!==p||(f.light=!0),(0,i.A)({...d,colorSchemes:f,defaultColorScheme:p,..."boolean"!=typeof l&&l},...r)}},73669:(e,t,r)=>{"use strict";r.d(t,{A:()=>
129o,t:()=>a});var n=r(11722),i=r(91206);function a(e){return(0,i.Ay)("MuiLink",e)}let o=(0,n.A)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"])},73672:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(51495),i=r(48695),a=Object.prototype.hasOwnProperty;let o=function(e,t,r){var o=e[t];a.call(e,t)&&(0,i.A)(o,r)&&(void 0!==r||t in e)||(0,n.A)(e,t,r)}},73748:()=>{},73762:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(55729);function i(e){let{controlled:t,default:r,name:i,state:a="value"}=e,{current:o}=n.useRef(void 0!==t),[s,l]=n.useState(r);return[o?t:s,n.useCallback(e=>{o||l(e)},[])]}},74004:(e,t,r)=>{"use strict";r.d(t,{X4:()=>g,e$:()=>v,rP:()=>l,tL:()=>k,eM:()=>m,J1:()=>f,E2:()=>o,YL:()=>h,a:()=>w,Cg:()=>y,Me:()=>u,Nd:()=>b,Y9:()=>A,j4:()=>x,X0:()=>d,Ob:()=>p});var n=r(71545);let i=function(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))};function a(e,t=0,r=1){return i(e,t,r)}function o(e){e=e.slice(1);let t=RegExp(`.{1,${e.length>=6?2:1}}`,"g"),r=e.match(t);return r&&1===r[0].length&&(r=r.map(e=>e+e)),r?`rgb${4===r.length?"a":""}(${r.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}function s(e){let t=e.toString(16);return 1===t.length?`0${t}`:t}function l(e){let t;if(e.type)return e;if("#"===e.charAt(0))return l(o(e));let r=e.indexOf("("),i=e.substring(0,r);if(!["rgb","rgba","hsl","hsla","color"].includes(i))throw Error((0,n.A)(9,e));let a=e.substring(r+1,e.length-1);if("color"===i){if(t=(a=a.split(" ")).shift(),4===a.length&&"/"===a[3].charAt(0)&&(a[3]=a[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(t))throw Error((0,n.A)(10,t))}else a=a.split(",");return{type:i,values:a=a.map(e=>parseFloat(e)),colorSpace:t}}let c=e=>{let t=l(e);return t.values.slice(0,3).map((e,r)=>t.type.includes("hsl")&&0!==r?`${e}%`:e).join(" ")},u=(e,t)=>{try{return c(e)}catch(t){return e}};function d(e){let{type:t,colorSpace:r}=e,{values:n}=e;return t.includes("rgb")?n=n.map((e,t)=>t<3?parseInt(e,10):e):t.includes("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),n=t.includes("color")?`${r} ${n.join(" ")}`:`${n.join(", ")}`,`${t}(${n})`}function p(e){if(e.startsWith("#"))return e;let{values:t}=l(e);return`#${t.map((e,t)=>s(3===t?Math.round(255*e):e)).join("")}`}function h(e){let{values:t}=e=l(e),r=t[0],n=t[1]/100,i=t[2]/100,a=n*Math.min(i,1-i),o=(e,t=(e+r/30)%12)=>i-a*Math.max(Math.min(t-3,9-t,1),-1),s="rgb",c=[Math.round(255*o(0)),Math.round(255*o(8)),Math.round(255*o(4))];return"hsla"===e.type&&(s+="a",c.push(t[3])),d({type:s,values:c})}function f(e){let t="hsl"===(e=l(e)).type||"hsla"===e.type?l(h(e)).values:e.values;return Number((.2126*(t=t.map(t=>("color"!==e.type&&(t/=255),t<=.03928?t/12.92:((t+.055)/1.055)**2.4)))[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function m(e,t){let r=f(e),n=f(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function g(e,t){return e=l(e),t=a(t),("rgb"===e.type||"hsl"===e.type)&&(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,d(e)}function y(e,t,r){try{return g(e,t)}catch(t){return e}}function v(e,t){if(e=l(e),t=a(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return d(e)}function b(e,t,r){try{return v(e,t)}catch(t){return e}}function w(e,t){if(e=l(e),t=a(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return d(e)}function x(e,t,r){try{return w(e,t)}catch(t){return e}}function k(e,t=.15){return f(e)>.5?v(e,t):w(e,t)}function A(e,t,r){try{return k(e,t)}catch(t){return e}}},74309:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(13365),i=r(24069);let a=function(e){return null!=e&&(0,i.A)(e.length)&&!(0,n.A)(e)}},74353:(e,t,r)=>{"use strict";e.exports=r(70477)},74395:(e,t,r)=>{"use strict";r.r(t),r.d(t,{PIXEL_CONVERSION_API_PARAMS:()=>a,default:()=>o});var n=r(76970);let i="1159997191020945",a="fbclid",o={initPixel:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};window.fbq("init",e,t)},internal:{trackSingle:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0;window.fbq("trackSingle",i,e,{...(0,n.A)(),...t},r)}},external:{pageView:e=>{window.fbq("trackSingle",e,"PageView")},trackSingle:(e,t,r)=>{e&&window.fbq("trackSingle",e,t,r)}}}},74495:(e,t)=>{"use strict";function r(e){let{widthInt:t,heightInt:r,blurWidth:n,blurHeight:i,blurDataURL:a,objectFit:o}=e,s=n?40*n:t,l=i?40*i:r,c=s&&l?"viewBox='0 0 "+s+" "+l+"'":"",u=c?"none":"contain"===o?"xMidYMid":"cover"===o?"xMidYMid slice":"none";return"%3Csvg xmlns='http://www.w3.org/2000/svg' "+c+"%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3Cfe
129ColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='"+u+"' style='filter: url(%23b);' href='"+a+"'/%3E%3C/svg%3E"}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"getImageBlurSvg",{enumerable:!0,get:function(){return r}})},74906:(e,t,r)=>{"use strict";function n(e){return function(t){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.match(e.matchPattern);if(!n)return null;let i=n[0],a=t.match(e.parsePattern);if(!a)return null;let o=e.valueCallback?e.valueCallback(a[0]):a[0];return{value:o=r.valueCallback?r.valueCallback(o):o,rest:t.slice(i.length)}}}r.d(t,{K:()=>n})},74961:(e,t,r)=>{"use strict";r.d(t,{R:()=>a});var n=r(77475),i=r(2023);let a=(e,t)=>{let r=(0,n.YJ)(e),a=(0,n.xI)(e),o=e=>{r.set({key:i.o.CREDENTIAL,value:JSON.stringify(e),expires:i.J,domain:t})};return{get:()=>r.get(i.o.CREDENTIAL,!0),save:o,update:e=>{if(e.headers instanceof Headers)return o({"access-token":e.headers.get("access-token"),client:e.headers.get("client"),uid:e.headers.get("uid")});e.headers["access-token"]&&o({"access-token":e.headers["access-token"],client:e.headers.client,uid:e.headers.uid})},clear:e=>{for(let e of(a.clearAll(),Object.values(i.o)))r.del(e,{domain:t,expires:i.J});"function"==typeof e&&e()}}}},75598:()=>{},75991:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});var n=r(55729),i=r(41166),a=r(96304),o=r(88273),s=r(33528),l=r(39884),c=r(6029);let u={entering:{opacity:1},entered:{opacity:1}},d=n.forwardRef(function(e,t){let r=(0,o.A)(),d={enter:r.transitions.duration.enteringScreen,exit:r.transitions.duration.leavingScreen},{addEndListener:p,appear:h=!0,children:f,easing:m,in:g,onEnter:y,onEntered:v,onEntering:b,onExit:w,onExited:x,onExiting:k,style:A,timeout:C=d,TransitionComponent:S=i.Ay,...E}=e,_=!0,T=n.useRef(null),P=(0,l.A)(T,(0,a.A)(f),t),O=e=>t=>{if(e){let r=T.current;void 0===t?e(r):e(r,t)}},I=O(b),M=O((e,t)=>{(0,s.q)(e);let n=(0,s.c)({style:A,timeout:C,easing:m},{mode:"enter"});e.style.webkitTransition=r.transitions.create("opacity",n),e.style.transition=r.transitions.create("opacity",n),y&&y(e,t)}),L=O(v),N=O(k),R=O(e=>{let t=(0,s.c)({style:A,timeout:C,easing:m},{mode:"exit"});e.style.webkitTransition=r.transitions.create("opacity",t),e.style.transition=r.transitions.create("opacity",t),w&&w(e)}),j=O(x),D=e=>{p&&p(T.current,e)};return(0,c.jsx)(S,{appear:h,in:g,nodeRef:_?T:void 0,onEnter:M,onEntered:L,onEntering:I,onExit:R,onExited:j,onExiting:N,addEndListener:D,timeout:C,...E,children:(e,t)=>{let{ownerState:r,...i}=t;return n.cloneElement(f,{style:{opacity:0,visibility:"exited"!==e||g?void 0:"hidden",...u[e],...A,...f.props.style},ref:P,...i})}})})},76049:(e,t,r)=>{"use strict";r.d(t,{QN:()=>o,Ty:()=>i,Vo:()=>a});let n=()=>/(?:http|https)?:?\/?\/?(?:www\.)?(?:player\.)?vimeo\.com\/(?:channels\/(?:\w+\/)?|groups\/(?:[^/]*)\/videos\/|video\/|)(\d+)(?:|\/\?)/,i=e=>{let t=/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|shorts\/|watch\?v=|&v=|\?v=)([^#&?]*).*/,r=e.match(t);return r&&11===r[2].length},a=e=>/^https?:\/\/(www\.)?youtube\.com\/shorts\/[a-zA-Z0-9_-]+(?:\?.*)?$/.test(e),o=e=>n().test(e)},76199:(e,t,r)=>{"use strict";function n(e){return e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e)}r.d(t,{f:()=>a});var i=r(65436);function a(e){return!(!n(e)&&"number"!=typeof e||isNaN(+(0,i.a)(e)))}},76277:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(5415);let i={...n.Q8,LONGEST_EXPIRARY_TIME:n.GO}},76369:(e,t,r)=>{"use strict";r.d(t,{$:()=>s,q:()=>l});var n=r(2860),i=r(55729),a=r(6329);let o=(0,i.createContext)({apiCaller:()=>Promise.reject(Error("please provide apiCaller to LibsComponentsProvider")),segmentedPrices:{},isSegmentedPricesLoading:!1}),s=()=>(0,i.useContext)(o),l=e=>{let{apiCaller:t,segmentedPrices:r={},isSegmentedPricesLoading:i=!1,resolvePlaybackUrl:s,children:l}=e;if(!a.O_&&!t)throw Error("apiCaller is required");return(0,n.Y)(o.Provider,{value:{apiCaller:t,segmentedPrices:r,isSegmentedPricesLoading:i,resolvePlaybackUrl:s},children:l})}},76552:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(58309);let i=[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["path",{d:"M16 9a5 5 0 0 1 0 6",key:"1q6k2b"}],["path",{d:"M19.364 18.364a9 9 0 0 0 0-12.728",key:"ijwkga"}]],a=(0,n.A)("volume-2",i)},76891:(e,t,r)=>{"use strict";function n(e){let t;return Math.round(10*(t=e<1?5.11916*e**2:4.5*Math.log(e+1)+2))/1e3}r.d(t,{A:()=>n})},76970:(e,t,r)=>{"use strict";r.d(t,{A:()=>
129o});var n=r(2406),i=r(96848),a=r(26766);let o=()=>({wu_anon_id:(0,n.lA)(),user_id:i.Wp.getUserId(),external_id:i.Wp.getUserId(),is_app:(0,a.pp)()})},77464:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>S});var n=r(86922),i=r(35026),a=r(74004),o=r(266),s=r(83380),l=r(53725),c=r(82818),u=r(49033),d=r(87291),p=r(20777),h=r(82610);function f(){return{text:{primary:"rgba(0, 0, 0, 0.87)",secondary:"rgba(0, 0, 0, 0.6)",disabled:"rgba(0, 0, 0, 0.38)"},divider:"rgba(0, 0, 0, 0.12)",background:{paper:o.A.white,default:o.A.white},action:{active:"rgba(0, 0, 0, 0.54)",hover:"rgba(0, 0, 0, 0.04)",hoverOpacity:.04,selected:"rgba(0, 0, 0, 0.08)",selectedOpacity:.08,disabled:"rgba(0, 0, 0, 0.26)",disabledBackground:"rgba(0, 0, 0, 0.12)",disabledOpacity:.38,focus:"rgba(0, 0, 0, 0.12)",focusOpacity:.12,activatedOpacity:.12}}}let m=f();function g(){return{text:{primary:o.A.white,secondary:"rgba(255, 255, 255, 0.7)",disabled:"rgba(255, 255, 255, 0.5)",icon:"rgba(255, 255, 255, 0.5)"},divider:"rgba(255, 255, 255, 0.12)",background:{paper:"#1212
12912",default:"#121212"},action:{active:o.A.white,hover:"rgba(255, 255, 255, 0.08)",hoverOpacity:.08,selected:"rgba(255, 255, 255, 0.16)",selectedOpacity:.16,disabled:"rgba(255, 255, 255, 0.3)",disabledBackground:"rgba(255, 255, 255, 0.12)",disabledOpacity:.38,focus:"rgba(255, 255, 255, 0.12)",focusOpacity:.12,activatedOpacity:.24}}}let y=g();function v(e,t,r,n){let i=n.light||n,o=n.dark||1.5*n;e[t]||(e.hasOwnProperty(r)?e[t]=e[r]:"light"===t?e.light=(0,a.a)(e.main,i):"dark"===t&&(e.dark=(0,a.e$)(e.main,o)))}function b(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light";return"dark"===e?{main:d.A[200],light:d.A[50],dark:d.A[400]}:{main:d.A[700],light:d.A[400],dark:d.A[800]}}function w(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light";return"dark"===e?{main:l.A[200],light:l.A[50],dark:l.A[400]}:{main:l.A[500],light:l.A[300],dark:l.A[700]}}function x(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light";return"dark"===e?{main:c.A[500],light:c.A[300],dark:c.A[700]}:{main:c.A[700],light:c.A[400],dark:c.A[800]}}function k(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light";return"dark"===e?{main:p.A[400],light:p.A[300],dark:p.A[700]}:{main:p.A[700],light:p.A[500],dark:p.A[900]}}function A(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light";return"dark"===e?{main:h.A[400],light:h.A[300],dark:h.A[700]}:{main:h.A[800],light:h.A[500],dark:h.A[900]}}function C(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"light";return"dark"===e?{main:u.A[400],light:u.A[300],dark:u.A[700]}:{main:"#ed6c02",light:u.A[500],dark:u.A[900]}}function S(e){let t,{mode:r="light",contrastThreshold:l=3,tonalOffset:c=.2,...u}=e,d=e.primary||b(r),p=e.secondary||w(r),h=e.error||x(r),S=e.info||k(r),E=e.success||A(r),_=e.warning||C(r);function T(e){return(0,a.eM)(e,y.text.primary)>=l?y.text.primary:m.text.primary}let P=e=>{let{color:t,name:r,mainShade:i=500,lightShade:a=300,darkShade:o=700}=e;if(!(t={...t}).main&&t[i]&&(t.main=t[i]),!t.hasOwnProperty("main"))throw Error((0,n.A)(11,r?" (".concat(r,")"):"",i));if("string"!=typeof t.main)throw Error((0,n.A)(12,r?" (".concat(r,")"):"",JSON.stringify(t.main)));return v(t,"light",a,c),v(t,"dark",o,c),t.contrastText||(t.contrastText=T(t.main)),t};return"light"===r?t=f():"dark"===r&&(t=g()),(0,i.A)({common:{...o.A},mode:r,primary:P({color:d,name:"primary"}),secondary:P({color:p,name:"secondary",mainShade:"A400",lightShade:"A200",darkShade:"A700"}),error:P({color:h,name:"error"}),warning:P({color:_,name:"warning"}),info:P({color:S,name:"info"}),success:P({color:E,name:"success"}),grey:s.A,contrastThreshold:l,getContrastText:T,augmentColor:P,tonalOffset:c,...t},u)}},77475:(e,t,r)=>{"use strict";r.d(t,{eu:()=>a,YJ:()=>i,xI:()=>s,j_:()=>c});var n=r(46887);let i=e=>{let t=t=>"".concat("production"!==e?"".concat(e,"-"):"").concat(t);return{set:e=>{let{key:r,value:i,expires:a=7,domain:o}=e;r&&i&&n.A.set(t(r),i,{expires:a,domain:o,sameSite:"Lax"})},get:function(e){let r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=!(arguments.length>2)||void 0===arguments[2]||arguments[2],a=n.A.get(i?t(e):e);if(!a)return null;try{if(r)return JSON.parse(a)}catch(e){return null}return a},del:function(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};n.A.remove(t(e),r)}}},a={HAVE_SEEN_USE_APP_SUGGESTION:"have_seen_use_app_suggestion",HIDE_DOWNLOAD_APP_SUGGESTION:"download_app_suggestion_hide",CHOSEN_HOME_PAGE_TAB:"chosen_home_page_tab",SHOP_CART:"cart",USER_MOBILE:"user_mobile",AGENT_ORG_ID:"agent_org_id",AUDIO_PLAY_RATE:"audio_play_rate",DECK_SORT_TYPE:"deck_sort_type",CHECKLIST_CALCULATION:"checklist_calculation",SUBSCRIPTION_TRIAL_NEAR_PRACTICE_LIMIT:"subscription_trial_near_practice_limit",IS_GDPR_MODAL_CONFIRMED:"is_gdpr_modal_confirmed",CREATE_CARD_SUCCESS_MESSAGE:"create_card_success_message",LAST_CREATED_DECK_ID:"last_created_deck_id",CREATE_CARD_REMINDER_SHOWN:"create_card_reminder_shown",LAST_SELECTED_ORG_ID:"last_selected_org_id",SHOW_MATERIAL_FEEDBACK_MODAL:"show_material_feedback_modal",COMPLETED_QUESTION_COUNT:"completed_question_count",AI_SENTENCE_FEEDBACK_HAS_BEEN_SHOWN:"ai_sentence_feedback_has_been_shown"},o=e=>{try{return e(window.localStorage)}catch(e){return null}},s=e=>{let t=t=>"".concat("production"!==e?"".concat(e,"-"):"").concat(t);return{get:function(e){let r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=!(arguments.length>2)||void 0===arguments[2]||arguments[2],i=o(r=>r.getItem(n?t(e):e));if(!i)return null;try{if(r)return JSON.parse(i)}catch(e){return null}return i},set:(e,r)=>{o(n=>n.setItem(t(e),r))},remove:e=>{o(r=>r.removeItem(t(e)))},clearAll:e=>{o(e=>e.clear()),"function"==typeof e&&setTimeout(()=>{e()},500)}}};var l=r(26766);let c=e=>{let t=(t,r)=>(null==r?void 0:r.isStagedKey)||"production"===e?t:"".concat(e,"-").concat(t),r=e=>!!(null==e?void 0:e.isJSON);return new Proxy(Object.freeze({get:(e,n)=>{let i=sessionStorage.getItem(t(e,n));return null==i?null:r(n)?JSON.parse(i):i},has:(e,r)=>null!=sessionStorage.getItem(t(e,r)),set:(e,r,n)=>{sessionStorage.setItem(t(e,n),r)},remove:(e,r)=>{sessionStorage.removeItem(t(e,r))},clearAll:e=>{if(sessionStorage.clear(),"function"==typeof e){let t=setTimeout(()=>{e(),clearTimeout(t)},500)}},length:()=>sessionStorage.length}),{get:(e,t,r)=>(0,l.Ve)()?Reflect.get(e,t,r):void 0})}}
129,77903:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(e,t)=>{let r;try{r=JSON.parse(e)}catch(e){r=t}return r}},78414:(e,t,r)=>{"use strict";r.d(t,{E:()=>s,A:()=>l});var n=r(81488),i=r(55729);let a=[];function o(e){i.useEffect(e,a)}class s{static create(){return new s}start(e,t){this.clear(),this.currentId=setTimeout(()=>{this.currentId=null,t()},e)}constructor(){this.currentId=null,this.clear=()=>{null!==this.currentId&&(clearTimeout(this.currentId),this.currentId=null)},this.disposeEffect=()=>this.clear}}function l(){let e=(0,n.A)(s.create).current;return o(e.disposeEffect),e}},78547:(e,t,r)=>{"use strict";r.d(t,{TE:()=>eb,NN:()=>tL,iX:()=>tD,mf:()=>tj});let n={fetch:globalThis.fetch?globalThis.fetch.bind(globalThis):void 0,SubtleCrypto:globalThis.crypto?globalThis.crypto.subtle:void 0,EventSource:globalThis.EventSource};function i(){return n}function a(e){let t=0x811c9dc5,r=e.length;for(let n=0;n<r;n++)t^=e.charCodeAt(n),t+=(t<<1)+(t<<4)+(t<<7)+(t<<8)+(t<<24);return t>>>0}function o(e,t,r){return 2===r?a(a(e+t)+"")%1e4/1e4:1===r?a(t+e)%1e3/1e3:null}function s(e){return e<=0?[]:Array(e).fill(1/e)}function l(e,t){return e>=t[0]&&e<t[1]}function c(e,t){let r=o("__"+t[0],e,1);return null!==r&&r>=t[1]&&r<t[2]}function u(e,t){for(let r=0;r<t.length;r++)if(l(e,t[r]))return r;return -1}function d(e){try{let t=e.replace(/([^\\])\//g,"$1\\/");return new RegExp(t)}catch(e){console.error(e);return}}function p(e,t){if(!t.length)return!1;let r=!1,n=!1;for(let i=0;i<t.length;i++){let a=m(e,t[i].type,t[i].pattern);if(!1===t[i].include){if(a)return!1}else r=!0,a&&(n=!0)}return n||!r}function h(e,t,r){try{let n=t.replace(/[*.+?^${}()|[\]\\]/g,"\\$&").replace(/_____/g,".*");return r&&(n="\\/?"+n.replace(/(^\/|\/$)/g,"")+"\\/?"),RegExp("^"+n+"$","i").test(e)}catch(e){return!1}}function f(e,t){try{let r=new URL(t.replace(/^([^:/?]*)\./i,"https://$1.").replace(/\*/g,"_____"),"https://_____"),n=[[e.host,r.host,!1],[e.pathname,r.pathname,!0]];return r.hash&&n.push([e.hash,r.hash,!1]),r.searchParams.forEach((t,r)=>{n.push([e.searchParams.get(r)||"",t,!1])}),!n.some(e=>!h(e[0],e[1],e[2]))}catch(e){return!1}}function m(e,t,r){try{let n=new URL(e,"https://_");if("regex"===t){let e=d(r);if(!e)return!1;return e.test(n.href)||e.test(n.href.substring(n.origin.length))}if("simple"===t)return f(n,r);return!1}catch(e){return!1}}function g(e,t,r){(t=void 0===t?1:t)<0?t=0:t>1&&(t=1);let n=s(e);(r=r||n).length!==e&&(r=n);let i=r.reduce((e,t)=>t+e,0);(i<.99||i>1.01)&&(r=n);let a=0;return r.map(e=>{let r=a;return a+=e,[r,r+t*e]})}function y(e,t,r){if(!t)return null;let n=t.split("?")[1];if(!n)return null;let i=n.replace(/#.*/,"").split("&").map(e=>e.split("=",2)).filter(([t])=>t===e).map(([,e])=>parseInt(e));return i.length>0&&i[0]>=0&&i[0]<r?i[0]:null}function v(e){try{return e()}catch(e){return console.error(e),!1}}let b=e=>Uint8Array.from(atob(e),e=>e.charCodeAt(0));async function w(e,t,r){if(t=t||"",!(r=r||globalThis.crypto&&globalThis.crypto.subtle||n.SubtleCrypto))throw Error("No SubtleCrypto implementation found");try{let n=await r.importKey("raw",b(t),{name:"AES-CBC",length:128},!0,["encrypt","decrypt"]),[i,a]=e.split("."),o=await r.decrypt({
129name:"AES-CBC",iv:b(i)},n,b(a));return new TextDecoder().decode(o)}catch(e){throw Error("Failed to decrypt")}}function x(e){return"string"==typeof e?e:JSON.stringify(e)}function k(e){"number"==typeof e&&(e+=""),e&&"string"==typeof e||(e="0");let t=e.replace(/(^v|\+.*$)/g,"").split(/[-.]/);return 3===t.length&&t.push("~"),t.map(e=>e.match(/^[0-9]+$/)?e.padStart(5," "):e).join("-")}function A(){let e;try{e="1.6.5"}catch(t){e=""}return e}function C(e,t){let r,n;try{r=new URL(e),n=new URL(t)}catch(e){return console.error(`Unable to merge query strings: ${e}`),t}return r.searchParams.forEach((e,t)=>{n.searchParams.has(t)||n.searchParams.set(t,e)}),n.toString()}function S(e){return"object"==typeof e&&null!==e}function E(e){return e.urlPatterns&&e.variations.some(e=>S(e)&&"urlRedirect"in e)?"redirect":e.variations.some(e=>S(e)&&(e.domMutations||"js"in e||"css"in e))?"visual":"unknown"}async function _(e,t){return new Promise(r=>{let n,i=!1,a=e=>{i||(i=!0,n&&clearTimeout(n),r(e||null))};t&&(n=setTimeout(()=>a(),t)),e.then(e=>a(e)).catch(()=>a())})}let T={};function P(e,t,r){for(let[n,i]of(r=r||{},Object.entries(t)))switch(n){case"$or":if(!V(e,i,r))return!1;break;case"$nor":if(V(e,i,r))return!1;break;case"$and":if(!B(e,i,r))return!1;break;case"$not":if(P(e,i,r))return!1;break;default:if(!M(i,O(e,n),r))return!1}return!0}function O(e,t){let r=t.split("."),n=e;for(let e=0;e<r.length;e++)if(!n||"object"!=typeof n||!(r[e]in n))return null;else n=n[r[e]];return n}function I(e,t=!1){let r=`${e}${t?"/i":""}`;return T[r]||(T[r]=new RegExp(e.replace(/([^\\])\//g,"$1\\/"),t?"i":void 0)),T[r]}function M(e,t,r,n=!1){if("string"==typeof e)return n?String(t).toLowerCase()===e.toLowerCase():t+""===e;if("number"==typeof e)return+t===e;if("boolean"==typeof e)return null!==t&&!!t===e;if(null===e)return null===t;if(Array.isArray(e)||!L(e))return JSON.stringify(t)===JSON.stringify(e);for(let n in e)if(!F(n,t,e[n],r))return!1;return!0}function L(e){let t=Object.keys(e);return t.length>0&&t.filter(e=>"$"===e[0]).length===t.length}function N(e){if(null===e)return"null";if(Array.isArray(e))return"array";let t=typeof e;return["string","number","boolean","object","undefined"].includes(t)?t:"unknown"}function R(e,t,r){if(!Array.isArray(e))return!1;let n=L(t)?e=>M(t,e,r):e=>P(e,t,r);for(let t=0;t<e.length;t++)if(e[t]&&n(e[t]))return!0;return!1}function j(e,t,r=!1){if(r){let r=e=>"string"==typeof e?e.toLowerCase():e;return Array.isArray(e)?e.some(e=>t.some(t=>r(e)===r(t))):t.some(t=>r(e)===r(t))}return Array.isArray(e)?e.some(e=>t.includes(e)):t.includes(e)}function D(e,t,r,n=!1){if(!Array.isArray(e))return!1;for(let i=0;i<t.length;i++){let a=!1;for(let o=0;o<e.length;o++)if(M(t[i],e[o],r,n)){a=!0;break}if(!a)return!1}return!0}function F(e,t,r,n){switch(e){case"$veq":return k(t)===k(r);case"$vne":return k(t)!==k(r);case"$vgt":return k(t)>k(r);case"$vgte":return k(t)>=k(r);case"$vlt":return k(t)<k(r);case"$vlte":return k(t)<=k(r);case"$eq":return t===r;case"$ne":return t!==r;case"$lt":return t<r;
129case"$lte":return t<=r;case"$gt":return t>r;case"$gte":return t>=r;case"$exists":return r?null!=t:null==t;case"$in":if(!Array.isArray(r))return!1;return j(t,r);case"$ini":if(!Array.isArray(r))return!1;return j(t,r,!0);case"$inGroup":return j(t,n[r]||[]);case"$notInGroup":return!j(t,n[r]||[]);case"$nin":if(!Array.isArray(r))return!1;return!j(t,r);case"$nini":if(!Array.isArray(r))return!1;return!j(t,r,!0);case"$not":return!M(r,t,n);case"$size":if(!Array.isArray(t))return!1;return M(r,t.length,n);case"$elemMatch":return R(t,r,n);case"$all":if(!Array.isArray(r))return!1;return D(t,r,n);case"$alli":if(!Array.isArray(r))return!1;return D(t,r,n,!0);case"$regex":try{return I(r).test(t)}catch(e){return!1}case"$regexi":try{return I(r,!0).test(t)}catch(e){return!1}case"$type":return N(t)===r;default:return console.error("Unknown operator: "+e),!1}}function V(e,t,r){if(!t.length)return!0;for(let n=0;n<t.length;n++)if(P(e,t[n],r))return!0;return!1}function B(e,t,r){for(let n=0;n<t.length;n++)if(!P(e,t[n],r))return!1;return!0}let z="Feature Evaluated",$="Experiment Viewed";function U(e){let t=new Map;return e.global.forcedFeatureValues&&e.global.forcedFeatureValues.forEach((e,r)=>t.set(r,e)),e.user.forcedFeatureValues&&e.user.forcedFeatureValues.forEach((e,r)=>t.set(r,e)),t}function q(e){return e.global.forcedVariations&&e.user.forcedVariations?{...e.global.forcedVariations,...e.user.forcedVariations}:e.global.forcedVariations?e.global.forcedVariations:e.user.forcedVariations?e.user.forcedVariations:{}}async function H(e){try{await e()}catch(e){}}function Y(e,t,r){if(e.user.trackedExperiments){let n=eg(t,r);if(e.user.trackedExperiments.has(n))return[];e.user.trackedExperiments.add(n)}e.user.enableDevMode&&e.user.devLogs&&e.user.devLogs.push({experiment:t,result:r,timestamp:Date.now().toString(),logType:"experiment"});let n=[];if(e.global.trackingCallback){let i=e.global.trackingCallback;n.push(H(()=>i(t,r,e.user)))}if(e.user.trackingCallback){let i=e.user.trackingCallback;n.push(H(()=>i(t,r)))}if(e.global.eventLogger){let i=e.global.eventLogger;n.push(H(()=>i($,{experimentId:t.key,variationId:r.key,hashAttribute:r.hashAttribute,hashValue:r.hashValue},e.user)))}return n}function W(e,t,r){if(e.user.trackedFeatureUsage){let n=JSON.stringify(r.value);if(e.user.trackedFeatureUsage[t]===n)return;e.user.trackedFeatureUsage[t]=n,e.user.enableDevMode&&e.user.devLogs&&e.user.devLogs.push({featureKey:t,result:r,timestamp:Date.now().toString(),logType:"feature"})}if(e.global.onFeatureUsage){let n=e.global.onFeatureUsage;H(()=>n(t,r,e.user))}if(e.user.onFeatureUsage){let n=e.user.onFeatureUsage;H(()=>n(t,r))}if(e.global.eventLogger){let n=e.global.eventLogger;H(()=>n(z,{feature:t,source:r.source,value:r.value,ruleId:"defaultValue"===r.source?"$default":r.ruleId||"",variationId:r.experimentResult?r.experimentResult.key:""},e.user))}}function G(e,t){if(t.stack.evaluatedFeatures.has(e))return J(t,e,null,"cyclicPrerequisite");t.stack.evaluatedFeatures.add(e),t.stack.id=e;let r=U(t);if(r.has(e))return J(t,e,r.get(e),"override");if(!t.global.features||!t.global.features[e])return J(t,e,null,"unknownFeature");let n=t.global.features[e];if(n.rules){let r=new Set(t.stack.evaluatedFeatures);r:for(let i of n.rules){if(i.parentConditions)for(let n of i.parentConditions){t.stack.evaluatedFeatures=new Set(r);let i=G(n.id,t);if("cyclicPrerequisite"===i.source)return J(t,e,null,"cyclicPrerequisite");if(!P({value:i.value},n.condition||{})){if(n.gate)return J(t,e,null,"prerequisite");continue r}}if(i.filters&&Z(i.filters,t))continue;if("force"in i){if(i.condition&&!Q(i.condition,t)||!ee(t,i.seed||e,i.hashAttribute,t.user.saveStickyBucketAssignmentDoc&&!i.disableStickyBucketing?i.fallbackAttribute:void 0,i.range,i.coverage,i.hashVersion))continue;return i.tracks&&i.tracks.forEach(e=>{!Y(t,e.experiment,e.result).length&&t.global.saveDeferredTrack&&t.global.saveDeferredTrack({experiment:e.experiment,result:e.result})}),J(t,e,i.force,"force",i.id)}if(!i.variations)continue;let n={variations:i.variations,key:i.key||e};"coverage"in i&&(n.coverage=i.coverage),i.weights&&(n.weights=i.weights),i.hashAttribute&&(n.hashAttribute=i.hashAttribute),i.fallbackAttribute&&(n.fallbackAttribute=i.fallbackAttribute),i.disableStickyBucketing&&(n.disableStickyBucketing=i.disableStickyBucketing),void 0!==i.bucketVersion&&(n.bucketVersion=i.bucketVersion),void 0!==i.minBucketVersion&&(n.minBucketVersion=i.minBucketVersion),i.namespace&&(n.namespace=i.namespace),i.meta&&(n.meta=i.meta),i.ranges&&(n.ranges=i.ranges),i.name&&(n.name=i.name),i.phase&&(n.phase=i.phase),i.seed&&(n.seed=i.seed),i.hashVersion&&(n.hashVersion=i.hashVersion),i.filters&&(n.filters=i.filters),i.condition&&(n.condition=i.condition);let{result:a}=K(n,e,t);if(t.global.onExperimentEval&&t.global.onExperimentEval(n,a),a.inExperiment&&!a.passthrough)return J(t,e,a.value,"experiment",i.id,n,a)}}return J(t,e,void 0===n.defaultValue?null:n.defaultValue,"defaultValue")}function K(e,t,r){let n=e.key,i=e.variations.length;if(i<2||!1===r.global.enabled||!1===r.user.enabled||(e=er(e,r)).urlPatterns&&!p(r.user.url||"",e.urlPatterns))return{result:et(r,e,-1,!1,t)};let a=y(n,r.user.url||"",i);if(null!==a)return{result:et(r,e,a,!1,t)};let s=q(r);if(n in s)return{result:et(r,e,s[n],!1,t)};if("draft"===e.status||!1===e.active)return{result:et(r,e,-1,!1,t)};let{hashAttribute:l,hashValue:d}=en(r,e.hashAttribute,r.user.saveStickyBucketAssignmentDoc&&!e.disableStickyBucketing?e.fallbackAttribute:void 0);if(!d)return{result:et(r,e,-1,!1,t)};let h=-1,f=!1,m=!1;if(r.user.saveStickyBucketAssignmentDoc&&!e.disableStickyBucketing){let{variation:t,versionIsBlocked:n}=eo({ctx:r,expKey:e.key,expBucketVersion:e.bucketVersion,expHashAttribute:e.hashAttribute,expFallbackAttribute:e.fallbackAttribute,expMinBucketVersion:e.minBucketVersion,expMeta:e.meta});f=t>=0,h=t,m=!!n}if(!f){if(e.filters){if(Z(e.filters,r))return{result:et(r,e,-1,!1,t)}}else if(e.namespace&&!c(d,e.namespace))return{result:et(r,e,-1,!1,t)};if(e.include&&!v(e.include)||e.condition&&!Q(e.condition,r))return{result:et(r,e,-1,!1,t)};if(e.parentConditions){let n=new Set(r.stack.evaluatedFeatures);for(let i of e.parentConditions){r.stack.evaluatedFeatures=new Set(n);let a=G(i.id,r);if("cyclicPrerequisite"===a.source||!P({value:a.value},i.condition||{}))return{result:et(r,e,-1,!1,t)}}}if(e.groups&&!ea(e.groups,r))return{result:et(r,e,-1,!1,t)}}if(e.url&&!ei(e.url,r))return{result:et(r,e,-1,!1,t)};let b=o(e.seed||n,d,e.hashVersion||1);if(null===b)return{result:et(r,e,-1,!1,t)};if(f||(h=u(b,e.ranges||g(i,void 0===e.coverage?1:e.coverage,e.weights))),m)return{result:et(r,e,-1,!1,t,void 0,!0)};if(h<0)return{result:et(r,e,-1,!1,t)};if("force"in e)return{result:et(r,e,void 0===e.force?-1:e.force,!1,t)};if(r.global.qaMode||r.user.qaMode||"stopped"===e.status)return{result:et(r,e,-1,!1,t)};let w=et(r,e,h,!0,t,b,f);if(r.user.saveStickyBucketAssignmentDoc&&!e.disableStickyBucketing){let{changed:t,key:n,doc:i}=eu(r,l,x(d),{[es(e.key,e.bucketVersion)]:w.key});t&&(r.user.stickyBucketAssignmentDocs=r.user.stickyBucketAssignmentDocs||{},r.user.stickyBucketAssignmentDocs[n]=i,r.user.saveStickyBucketAssignmentDoc(i))}let k=Y(r,e,w);0===k.length&&r.global.saveDeferredTrack&&r.global.saveDeferredTrack({experiment:e,result:w});let A=k.length?1===k.length?k[0]:Promise.all(k).then(()=>{}):void 0;return"changeId"in e&&e.changeId&&r.global.recordChangeId&&r.global.recordChangeId(e.changeId),{result:w,trackingCall:A}}function J(e,t,r,n,i,a,o){let s={value:r,on:!!r,off:!r,source:n,ruleId:i||""};return a&&(s.experiment=a),o&&(s.experimentResult=o),"override"!==n&&W(e,t,s),s}function X(e){return{...e.user.attributes,...e.user.attributeOverrides}}function Q(e,t){return P(X(t),e,t.global.savedGroups||{})}function Z(e,t){return e.some(e=>{let{hashValue:r}=en(t,e.attribute);if(!r)return!0;let n=o(e.seed,r,e.hashVersion||2);return null===n||!e.ranges.some(e=>l(n,e))})}
129function ee(e,t,r,n,i,a,s){if(!i&&void 0===a)return!0;if(!i&&0===a)return!1;let{hashValue:c}=en(e,r,n);if(!c)return!1;let u=o(t,c,s||1);return null!==u&&(i?l(u,i):void 0===a||u<=a)}function et(e,t,r,n,i,a,o){let s=!0;(r<0||r>=t.variations.length)&&(r=0,s=!1);let{hashAttribute:l,hashValue:c}=en(e,t.hashAttribute,e.user.saveStickyBucketAssignmentDoc&&!t.disableStickyBucketing?t.fallbackAttribute:void 0),u=t.meta?t.meta[r]:{},d={key:u.key||""+r,featureId:i,inExperiment:s,hashUsed:n,variationId:r,value:t.variations[r],hashAttribute:l,hashValue:c,stickyBucketUsed:!!o};return u.name&&(d.name=u.name),void 0!==a&&(d.bucket=a),u.passthrough&&(d.passthrough=u.passthrough),d}function er(e,t){let r=e.key,n=t.global.overrides;return n&&n[r]&&"string"==typeof(e=Object.assign({},e,n[r])).url&&(e.url=d(e.url)),e}function en(e,t,r){let n=t||"id",i="",a=X(e);return a[n]&&(i=a[n]),!i&&r&&(a[r]&&(i=a[r]),i&&(n=r)),{hashAttribute:n,hashValue:i}}function ei(e,t){let r=t.user.url;if(!r)return!1;let n=r.replace(/^https?:\/\//,"").replace(/^[^/]*\//,"/");return!!(e.test(r)||e.test(n))}function ea(e,t){let r=t.global.groups||{};for(let t=0;t<e.length;t++)if(r[e[t]])return!0;return!1}function eo({ctx:e,expKey:t,expBucketVersion:r,expHashAttribute:n,expFallbackAttribute:i,expMinBucketVersion:a,expMeta:o}){a=a||0,n=n||"id",o=o||[];let s=es(t,r=r||0),l=ec(e,n,i);if(a>0){for(let e=0;e<a;e++)if(void 0!==l[es(t,e)])return{variation:-1,versionIsBlocked:!0}}let c=l[s];if(void 0===c)return{variation:-1};let u=o.findIndex(e=>e.key===c);return u<0?{variation:-1}:{variation:u}}function es(e,t){return t=t||0,`${e}__${t}`}function el(e,t){return`${e}||${t}`}function ec(e,t,r){if(!e.user.stickyBucketAssignmentDocs)return{};let{hashAttribute:n,hashValue:i}=en(e,t),a=el(n,x(i)),{hashAttribute:o,hashValue:s}=en(e,r),l=s?el(o,x(s)):null,c={};return l&&e.user.stickyBucketAssignmentDocs[l]&&Object.assign(c,e.user.stickyBucketAssignmentDocs[l].assignments||{}),e.user.stickyBucketAssignmentDocs[a]&&Object.assign(c,e.user.stickyBucketAssignmentDocs[a].assignments||{}),c}function eu(e,t,r,n){let i=el(t,r),a=e.user.stickyBucketAssignmentDocs&&e.user.stickyBucketAssignmentDocs[i]&&e.user.stickyBucketAssignmentDocs[i].assignments||{},o={...a,...n},s=JSON.stringify(a)!==JSON.stringify(o);return{key:i,doc:{attributeName:t,attributeValue:r,assignments:o},changed:s}}function ed(e,t){let r=new Set,n=t&&t.features?t.features:e.global.features||{},i=t&&t.experiments?t.experiments:e.global.experiments||[];return Object.keys(n).forEach(e=>{let t=n[e];if(t.rules)for(let e of t.rules)e.variations&&(r.add(e.hashAttribute||"id"),e.fallbackAttribute&&r.add(e.fallbackAttribute))}),i.map(e=>{r.add(e.hashAttribute||"id"),e.fallbackAttribute&&r.add(e.fallbackAttribute)}),Array.from(r)}async function ep(e,t,r){let n=eh(e,r);return t.getAllAssignments(n)}function eh(e,t){let r={};return ed(e,t).forEach(t=>{let{hashValue:n}=en(e,t);r[t]=x(n)}),r}async function ef(e,t,r){if((e={...e}).encryptedFeatures){try{e.features=JSON.parse(await w(e.encryptedFeatures,t,r))}catch(e){console.error(e)}delete e.encryptedFeatures}if(e.encryptedExperiments){try{e.experiments=JSON.parse(await w(e.encryptedExperiments,t,r))}catch(e){console.error(e)}delete e.encryptedExperiments}if(e.encryptedSavedGroups){try{e.savedGroups=JSON.parse(await w(e.encryptedSavedGroups,t,r))}catch(e){console.error(e)}delete e.encryptedSavedGroups}return e}function em(e){let t=e.apiHost||"https://cdn.growthbook.io";return{apiHost:t.replace(/\/*$/,""),streamingHost:(e.streamingHost||t).replace(/\/*$/,""),apiRequestHeaders:e.apiHostRequestHeaders,streamingHostRequestHeaders:e.streamingHostRequestHeaders}}function eg(e,t){return t.hashAttribute+t.hashValue+e.key+t.variationId}class ey{constructor(e){e=e||{},this.prefix=e.prefix||""}async getAllAssignments(e){let t={};return(await Promise.all(Object.entries(e).map(([e,t])=>this.getAssignments(e,t)))).forEach(e=>{e&&(t[el(e.attributeName,e.attributeValue)]=e)}),t}getKey(e,t){return`${this.prefix}${e}||${t}`}}class ev extends ey{async getAssignments(e,t){return this.getAssignmentsSync(e,t)}async saveAssignments(e){this.saveAssignmentsSync(e)}getAllAssignmentsSync(e){let t={};return Object.entries(e).map(([e,t])=>
129this.getAssignmentsSync(e,t)).forEach(e=>{e&&(t[el(e.attributeName,e.attributeValue)]=e)}),t}}class eb extends ev{constructor({prefix:e="gbStickyBuckets__",jsCookie:t,cookieAttributes:r={expires:180}}){super(),this.prefix=e,this.jsCookie=t,this.cookieAttributes=r}getAssignmentsSync(e,t){let r=this.getKey(e,t),n=null;if(!this.jsCookie)return n;try{let e=this.jsCookie.get(r),t=JSON.parse(e||"{}");t.attributeName&&t.attributeValue&&t.assignments&&(n=t)}catch(e){}return n}async saveAssignmentsSync(e){let t=this.getKey(e.attributeName,e.attributeValue);if(!this.jsCookie)return;let r=JSON.stringify(e);this.jsCookie.set(t,r,this.cookieAttributes)}}var ew,ex,ek=/^[a-zA-Z:_][a-zA-Z0-9:_.-]*$/,eA={revert:function(){}},eC=new Map,eS=new Set;function eE(e){return"html"===e?{childList:!0,subtree:!0,attributes:!0,characterData:!0}:{childList:!1,subtree:!1,attributes:!0,attributeFilter:[e]}}function e_(e){var t=eC.get(e);return t||(t={element:e,attributes:{}},eC.set(e,t)),t}function eT(e,t,r,n,i){var a=r(e),o={isDirty:!1,originalValue:a,virtualValue:a,mutations:[],el:e,_positionTimeout:null,observer:new MutationObserver(function(){if("position"!==t||!o._positionTimeout){"position"===t&&(o._positionTimeout=setTimeout(function(){o._positionTimeout=null},1e3));var n=r(e);("position"!==t||n.parentNode!==o.virtualValue.parentNode||n.insertBeforeNode!==o.virtualValue.insertBeforeNode)&&n!==o.virtualValue&&(o.originalValue=n,i(o))}}),mutationRunner:i,setValue:n,getCurrentValue:r};return"position"===t&&e.parentNode?o.observer.observe(e.parentNode,{childList:!0,subtree:!0,attributes:!1,characterData:!1}):o.observer.observe(e,eE(t)),o}function eP(e,t){var r=t.getCurrentValue(t.el);t.virtualValue=e,e&&"string"!=typeof e?r&&e.parentNode===r.parentNode&&e.insertBeforeNode===r.insertBeforeNode||(t.isDirty=!0,eX()):e!==r&&(t.isDirty=!0,eX())}function eO(e){var t=e.originalValue;e.mutations.forEach(function(e){return t=e.mutate(t)}),eP(eG(t),e)}function eI(e){var t=new Set(e.originalValue.split(/\s+/).filter(Boolean));e.mutations.forEach(function(e){return e.mutate(t)}),eP(Array.from(t).filter(Boolean).join(" "),e)}function eM(e){var t=e.originalValue;e.mutations.forEach(function(e){return t=e.mutate(t)}),eP(t,e)}function eL(e){var t=e.parentSelector,r=e.insertBeforeSelector,n=document.querySelector(t);if(!n)return null;var i=r?document.querySelector(r):null;return r&&!i?null:{parentNode:n,insertBeforeNode:i}}function eN(e){var t=e.originalValue;e.mutations.forEach(function(e){t=eL(e.mutate())||t}),eP(t,e)}var eR=function(e){return e.innerHTML},ej=function(e,t){return e.innerHTML=t};function eD(e){var t=e_(e);return t.html||(t.html=eT(e,"html",eR,ej,eO)),t.html}var eF=function(e){return{parentNode:e.parentElement,insertBeforeNode:e.nextElementSibling}},eV=function(e,t){(!t.insertBeforeNode||t.parentNode.contains(t.insertBeforeNode))&&t.parentNode.insertBefore(e,t.insertBeforeNode)};function eB(e){var t=e_(e);return t.position||(t.position=eT(e,"position",eF,eV,eN)),t.position}var ez=function(e,t){return t?e.className=t:e.removeAttribute("class")},e$=function(e){return e.className};function eU(e){var t=e_(e);return t.classes||(t.classes=eT(e,"class",e$,ez,eI)),t.classes}var eq=function(e){return function(t){var r;return null!=(r=t.getAttribute(e))?r:null}},eH=function(e){return function(t,r){return null!==r?t.setAttribute(e,r):t.removeAttribute(e)}};function eY(e,t){var r=e_(e);return r.attributes[t]||(r.attributes[t]=eT(e,t,eq(t),eH(t),eM)),r.attributes[t]}function eW(e,t){var r,n,i,a,o,s,l,c,u,d=eC.get(e);d&&("html"===t?(null==(r=d.html)||null==(n=r.observer)||n.disconnect(),delete d.html):"class"===t?(null==(i=d.classes)||null==(a=i.observer)||a.disconnect(),delete d.classes):"position"===t?(null==(o=d.position)||null==(s=o.observer)||s.disconnect(),delete d.position):(null==(l=d.attributes)||null==(c=l[t])||null==(u=c.observer)||u.disconnect(),delete d.attributes[t]))}function eG(e){return ew||(ew=document.createElement("div")),ew.innerHTML=e,ew.innerHTML}function eK(e,t,r){if(r.isDirty){r.isDirty=!1;var n=r.virtualValue;r.mutations.length||eW(e,t),r.setValue(e,n)}}function eJ(e,t){e.html&&eK(t,"html",e.html),e.classes&&eK(t,"class",e.classes),e.position&&eK(t,"position",e.position),Object.keys(e.attributes).forEac
129h(function(r){eK(t,r,e.attributes[r])})}function eX(){eC.forEach(eJ)}function eQ(e,t){var r=null;"html"===e.kind?r=eD(t):"class"===e.kind?r=eU(t):"attribute"===e.kind?r=eY(t,e.attribute):"position"===e.kind&&(r=eB(t)),r&&(r.mutations.push(e),r.mutationRunner(r))}function eZ(e,t){var r=null;if("html"===e.kind?r=eD(t):"class"===e.kind?r=eU(t):"attribute"===e.kind?r=eY(t,e.attribute):"position"===e.kind&&(r=eB(t)),r){var n=r.mutations.indexOf(e);-1!==n&&r.mutations.splice(n,1),r.mutationRunner(r)}}function e0(e){if("position"!==e.kind||1!==e.elements.size){var t=new Set(e.elements),r=document.querySelectorAll(e.selector);r.forEach(function(r){t.has(r)||(e.elements.add(r),eQ(e,r))})}}function e1(e){e.elements.forEach(function(t){return eZ(e,t)}),e.elements.clear(),eS.delete(e)}function e2(){eS.forEach(e0)}function e5(e){return"undefined"==typeof document?eA:(eS.add(e),e0(e),{revert:function(){e1(e)}})}function e3(e,t){return e5({kind:"html",elements:new Set,mutate:t,selector:e})}function e4(e,t){return e5({kind:"position",elements:new Set,mutate:t,selector:e})}function e6(e,t){return e5({kind:"class",elements:new Set,mutate:t,selector:e})}function e9(e,t,r){return ek.test(t)?"class"===t||"className"===t?e6(e,function(e){var t=r(Array.from(e).join(" "));e.clear(),t&&t.split(/\s+/g).filter(Boolean).forEach(function(t){return e.add(t)})}):e5({kind:"attribute",attribute:t,elements:new Set,mutate:r,selector:e}):eA}function e8(e){var t=e.selector,r=e.action,n=e.value,i=e.attribute,a=e.parentSelector,o=e.insertBeforeSelector;if("html"===i){if("append"===r)return e3(t,function(e){return e+(null!=n?n:"")});else if("set"===r)return e3(t,function(){return null!=n?n:""})}
129else if("class"===i){if("append"===r)return e6(t,function(e){n&&e.add(n)});else if("remove"===r)return e6(t,function(e){n&&e.delete(n)});else if("set"===r)return e6(t,function(e){e.clear(),n&&e.add(n)})}else if("position"===i){if("set"===r&&a)return e4(t,function(){return{insertBeforeSelector:o,parentSelector:a}})}else if("append"===r)return e9(t,i,function(e){return null!==e?e+(null!=n?n:""):null!=n?n:""});else if("set"===r)return e9(t,i,function(){return null!=n?n:""});else if("remove"===r)return e9(t,i,function(){return null});return eA}!function(){"undefined"!=typeof document&&(ex||(ex=new MutationObserver(function(){e2()})),e2(),ex.observe(document.documentElement,{childList:!0,subtree:!0,attributes:!1,characterData:!1}))}();let e7={declarative:e8},te={staleTTL:6e4,maxAge:144e5,cacheKey:"gbFeaturesCache",backgroundSync:!0,maxEntries:10,disableIdleStreams:!1,idleStreamInterval:2e4,disableCache:!1},tt=i(),tr={fetchFeaturesCall:({host:e,clientKey:t,headers:r})=>tt.fetch(`${e}/api/features/${t}`,{headers:r}),fetchRemoteEvalCall:({host:e,clientKey:t,payload:r,headers:n})=>{let i={method:"POST",headers:{"Content-Type":"application/json",...n},body:JSON.stringify(r)};return tt.fetch(`${e}/api/eval/${t}`,i)},eventSourceCall:({host:e,clientKey:t,headers:r})=>r?new tt.EventSource(`${e}/sub/${t}`,{headers:r}):new tt.EventSource(`${e}/sub/${t}`),startIdleListener:()=>{let e;if("undefined"==typeof window||"undefined"==typeof document)return;let t=()=>{"visible"===document.visibilityState?(window.clearTimeout(e),tf()):"hidden"===document.visibilityState&&(e=window.setTimeout(th,te.idleStreamInterval))};return document.addEventListener("visibilitychange",t),()=>document.removeEventListener("visibilitychange",t)},stopIdleListener:()=>{}};try{globalThis.localStorage&&(tt.localStorage=globalThis.localStorage)}catch(e){}let tn=new Map,ti=!1,ta=new Map,to=new Map,ts=new Map,tl=new Set;function tc(e){Object.assign(te,e),te.backgroundSync||tP()}async function tu({instance:e,timeout:t,skipCache:r,allowStale:n,backgroundSync:i}){return i||(te.backgroundSync=!1),tg({instance:e,allowStale:n,timeout:t,skipCache:r})}function td(e){let t=ty(e),r=tn.get(t)||new Set;r.add(e),tn.set(t,r)}function tp(e){tn.forEach(t=>t.delete(e))}function th(){ts.forEach(e=>{e&&(e.state="idle",tE(e))})}function tf(){ts.forEach(e=>{e&&"idle"===e.state&&t_(e)})}async function tm(){try{if(!tt.localStorage)return;await tt.localStorage.setItem(te.cacheKey,JSON.stringify(Array.from(ta.entries())))}catch(e){}}async function tg({instance:e,allowStale:t,timeout:r,skipCache:n}){let i=ty(e),a=tv(e),o=new Date,s=new Date(o.getTime()-te.maxAge+te.staleTTL);await tb();let l=te.disableCache||n?void 0:ta.get(a);return l&&(t||l.staleAt>o)&&l.staleAt>s?(l.sse&&tl.add(i),l.staleAt<o?tA(e):tC(e),{data:l.data,success:!0,source:"cache"}):await _(tA(e),r)||{data:null,success:!1,source:"timeout",error:Error("Timeout")}}function ty(e){let[t,r]=e.getApiInfo();return`${t}||${r}`}function tv(e){let t=ty(e);if(!("isRemoteEval"in e)||!e.isRemoteEval())return t;let r=e.getAttributes(),n=e.getCacheKeyAttributes()||Object.keys(e.getAttributes()),i={};n.forEach(e=>{i[e]=r[e]});let a=e.getForcedVariations(),o=e.getUrl();return`${t}||${JSON.stringify({ca:i,fv:a,url:o})}`}async function tb(){if(!ti){ti=!0;try{if(tt.localStorage){let e=await tt.localStorage.getItem(te.cacheKey);if(!te.disableCache&&e){let t=JSON.parse(e);t&&Array.isArray(t)&&t.forEach(([e,t])=>{ta.set(e,{...t,staleAt:new Date(t.staleAt)})}),tw()}}}catch(e){}if(!te.disableIdleStreams){let e=tr.startIdleListener();e&&(tr.stopIdleListener=e)}}}function tw(){let e=Array.from(ta.entries()).map(([e,t])=>({key:e,staleAt:t.staleAt.getTime()})).sort((e,t)=>e.staleAt-t.staleAt),t=Math.min(Math.max(0,ta.size-te.maxEntries),ta.size);for(let r=0;r<t;r++)ta.delete(e[r].key)}function tx(e,t,r){let n=r.dateUpdated||"",i=new Date(Date.now()+te.staleTTL),a=te.disableCache?void 0:ta.get(t);if(a&&n&&a.version===n){a.staleAt=i,tm();return}te.disableCache||(ta.set(t,{data:r,version:n,staleAt:i,sse:tl.has(e)}),tw()),tm();let o=tn.get(e);o&&o.forEach(e=>tk(e,r))}async function tk(e,t){await e.setPayload(t||e.getPayload())}async function tA(e){let{apiHost:t,apiRequestHeaders:r}
129=e.getApiHosts(),n=e.getClientKey(),i="isRemoteEval"in e&&e.isRemoteEval(),a=ty(e),o=tv(e),s=to.get(o);return s||(s=(i?tr.fetchRemoteEvalCall({host:t,clientKey:n,payload:{attributes:e.getAttributes(),forcedVariations:e.getForcedVariations(),forcedFeatures:Array.from(e.getForcedFeatures().entries()),url:e.getUrl()},headers:r}):tr.fetchFeaturesCall({host:t,clientKey:n,headers:r})).then(e=>{if(!e.ok)throw Error(`HTTP error: ${e.status}`);return"enabled"===e.headers.get("x-sse-support")&&tl.add(a),e.json()}).then(t=>(tx(a,o,t),tC(e),to.delete(o),{data:t,success:!0,source:"network"})).catch(e=>(to.delete(o),{data:null,source:"error",success:!1,error:e})),to.set(o,s)),s}function tC(e,t=!1){let r=ty(e),n=tv(e),{streamingHost:i,streamingHostRequestHeaders:a}=e.getApiHosts(),o=e.getClientKey();if(t&&tl.add(r),te.backgroundSync&&tl.has(r)&&tt.EventSource){if(ts.has(r))return;let e={src:null,host:i,clientKey:o,headers:a,cb:t=>{try{if("features-updated"===t.type){let e=tn.get(r);e&&e.forEach(e=>{tA(e)})}else if("features"===t.type){let e=JSON.parse(t.data);tx(r,n,e)}e.errors=0}catch(t){tS(e)}},errors:0,state:"active"};ts.set(r,e),t_(e)}}function tS(e){if("idle"!==e.state&&(e.errors++,e.errors>3||e.src&&2===e.src.readyState)){let t=Math.pow(3,e.errors-3)*(1e3+1e3*Math.random());tE(e),setTimeout(()=>{["idle","active"].includes(e.state)||t_(e)},Math.min(t,3e5))}}function tE(e){e.src&&(e.src.onopen=null,e.src.onerror=null,e.src.close(),e.src=null,"active"===e.state&&(e.state="disabled"))}function t_(e){e.src=tr.eventSourceCall({host:e.host,clientKey:e.clientKey,headers:e.headers}),e.state="active",e.src.addEventListener("features",e.cb),e.src.addEventListener("features-updated",e.cb),e.src.onerror=()=>tS(e),e.src.onopen=()=>{e.errors=0}}function tT(e,t){tE(e),ts.delete(t)}function tP(){tl.clear(),ts.forEach(tT),tn.clear(),tr.stopIdleListener()}function tO(e,t){if(t.streaming){if(!e.getClientKey())throw Error("Must specify clientKey to enable streaming");t.payload&&tC(e,!0),td(e)}}let tI="undefined"!=typeof window&&"undefined"!=typeof document,tM=A();class tL{constructor(e){if(e=e||{},this.version=tM,this._options=this.context=e,this._renderer=e.renderer||null,this._trackedExperiments=new Set,this._completedChangeIds=new Set,this._trackedFeatures={},this.debug=!!e.debug,this._subscriptions=new Set,this.ready=!1,this._assigned=new Map,this._activeAutoExperiments=new Map,this._triggeredExpKeys=new Set,this._initialized=!1,this._redirectedUrl="",this._deferredTrackingCalls=new Map,this._autoExperimentsAllowed=!e.disableExperimentsOnLoad,this._destroyCallbacks=[],this.logs=[],this.log=this.log.bind(this),this._saveDeferredTrack=this._saveDeferredTrack.bind(this),this._onExperimentEval=this._onExperimentEval.bind(this),this._fireSubscriptions=this._fireSubscriptions.bind(this),this._recordChangedId=this._recordChangedId.bind(this),e.remoteEval){if(e.decryptionKey)throw Error("Encryption is not available for remoteEval");if(!e.clientKey)throw Error("Missing clientKey");let t=!1;try{t=!!new URL(e.apiHost||"").hostname.match(/growthbook\.io$/i)}catch(e){}if(t)throw Error("Cannot use remoteEval on GrowthBook Cloud")}else if(e.cacheKeyAttributes)throw Error("cacheKeyAttributes are only used for remoteEval");if(e.stickyBucketService){let t=e.stickyBucketService;this._saveStickyBucketAssignmentDoc=e=>t.saveAssignments(e)}if(e.plugins)for(let t of e.plugins)t(this);if(e.features&&(this.ready=!0),tI&&e.enableDevMode&&(window._growthbook=this,document.dispatchEvent(new Event("gbloaded"))),e.experiments&&(this.ready=!0,this._updateAllAutoExperiments()),this._options.stickyBucketService&&this._options.stickyBucketAssignmentDocs)for(let e in this._options.stickyBucketAssignmentDocs){let t=this._options.stickyBucketAssignmentDocs[e];t&&this._options.stickyBucketService.saveAssignments(t).catch(()=>{})}this.ready&&this.refreshStickyBuckets(this.getPayload())}async setPayload(e){this._payload=e;let t=await ef(e,this._options.decryptionKey);this._decryptedPayload=t,await this.refreshStickyBuckets(t),t.features&&(this._options.features=t.features),t.savedGroups&&(this._options.savedGroups=t.savedGroups),t.experiments&&(this._options.experiments=t.experiments,this._updateAllAutoExperiments()),this.ready=!0,this._render()}initSync(e){this._initialized=!0;let t=e.payload;if(t.encryptedExperiments||t.encryptedFeatures)throw Error("initSync does not support encrypted payloads");return this._options.stickyBucketService&&!this._options.stickyBucketAssignmentDocs&&(this._options.stickyBucketAssignmentDocs=this.generateStickyBucketAssignmentDocsSync(this._options.stickyBucketService,t)),this._payload=t,this._decryptedPayload=t,t.features&&(this._options.features=t.features),t.experiments&&(this._options.experiments=t.experiments,this._updateAllAutoExperiments()),this.ready=!0,tO(this,e),this}async init(e){if(this._initialized=!0,(e=e||{}).cacheSettings&&tc(e.cacheSettings),e.payload)return await this.setPayload(e.payload),tO(this,e),{success:!0,source:"init"};{let{data:t,...r}=await this._refresh({...e,allowStale:!0});return tO(this,e),await this.setPayload(t||{}),r}}async loadFeatures(e){e=e||{},await this.init({skipCache:e.skipCache,timeout:e.timeout,streaming:(this._options.backgroundSync??!0)&&(e.autoRefresh||this._options.subscribeToChanges)})}async refreshFeatures(e){let t=await this._refresh({...e||{},allowStale:!1});t.data&&await this.setPayload(t.data)}
129getApiInfo(){return[this.getApiHosts().apiHost,this.getClientKey()]}getApiHosts(){return em(this._options)}getClientKey(){return this._options.clientKey||""}getPayload(){return this._payload||{features:this.getFeatures(),experiments:this.getExperiments()}}getDecryptedPayload(){return this._decryptedPayload||this.getPayload()}isRemoteEval(){return this._options.remoteEval||!1}getCacheKeyAttributes(){return this._options.cacheKeyAttributes}async _refresh({timeout:e,skipCache:t,allowStale:r,streaming:n}){if(!this._options.clientKey)throw Error("Missing clientKey");return tu({instance:this,timeout:e,skipCache:t||this._options.disableCache,allowStale:r,backgroundSync:n??this._options.backgroundSync??!0})}_render(){if(this._renderer)try{this._renderer()}catch(e){console.error("Failed to render",e)}}setFeatures(e){this._options.features=e,this.ready=!0,this._render()}async setEncryptedFeatures(e,t,r){let n=await w(e,t||this._options.decryptionKey,r);this.setFeatures(JSON.parse(n))}setExperiments(e){this._options.experiments=e,this.ready=!0,this._updateAllAutoExperiments()}async setEncryptedExperiments(e,t,r){let n=await w(e,t||this._options.decryptionKey,r);this.setExperiments(JSON.parse(n))}async setAttributes(e){if(this._options.attributes=e,this._options.stickyBucketService&&await this.refreshStickyBuckets(),this._options.remoteEval)return void await this._refreshForRemoteEval();this._render(),this._updateAllAutoExperiments()}async updateAttributes(e){return this.setAttributes({...this._options.attributes,...e})}async setAttributeOverrides(e){if(this._options.attributeOverrides=e,this._options.stickyBucketService&&await this.refreshStickyBuckets(),this._options.remoteEval)return void await this._refreshForRemoteEval();this._render(),this._updateAllAutoExperiments()}async setForcedVariations(e){if(this._options.forcedVariations=e||{},this._options.remoteEval)return void await this._refreshForRemoteEval();this._render(),this._updateAllAutoExperiments()}setForcedFeatures(e){this._options.forcedFeatureValues=e,this._render()}async setURL(e){if(e!==this._options.url){if(this._options.url=e,this._redirectedUrl="",this._options.remoteEval){await this._refreshForRemoteEval(),this._updateAllAutoExperiments(!0);return}this._updateAllAutoExperiments(!0)}}getAttributes(){return{...this._options.attributes,...this._options.attributeOverrides}}getForcedVariations(){return this._options.forcedVariations||{}}getForcedFeatures(){return this._options.forcedFeatureValues||new Map}getStickyBucketAssignmentDocs(){return this._options.stickyBucketAssignmentDocs||{}}getUrl(){return this._options.url||""}getFeatures(){return this._options.features||{}}getExperiments(){return this._options.experiments||[]}getCompletedChangeIds(){return Array.from(this._completedChangeIds)}subscribe(e){return this._subscriptions.add(e),()=>{this._subscriptions.delete(e)}}async _refreshForRemoteEval(){if(!this._options.remoteEval||!this._initialized)return;let e=await this._refresh({allowStale:!1});e.data&&await this.setPayload(e.data)}getAllResults(){return new Map(this._assigned)}onDestroy(e){this._destroyCallbacks.push(e)}isDestroyed(){return!!this._destroyed}destroy(e){e=e||{},this._destroyed=!0,this._destroyCallbacks.forEach(e=>{try{e()}catch(e){console.error(e)}}),this._subscriptions.clear(),this._assigned.clear(),this._trackedExperiments.clear(),this._completedChangeIds.clear(),this._deferredTrackingCalls.clear(),this._trackedFeatures={},this._destroyCallbacks=[],this._payload=void 0,this._saveStickyBucketAssignmentDoc=void 0,tp(this),e.destroyAllStreams&&tP(),this.logs=[],tI&&window._growthbook===this&&delete window._growthbook,this._activeAutoExperiments.forEach(e=>{e.undo()}),this._activeAutoExperiments.clear(),this._triggeredExpKeys.clear()}setRenderer(e){this._renderer=e}forceVariation(e,t){if(this._options.forcedVariations=this._options.forcedVariations||{},this._options.forcedVariations[e]=t,this._options.remoteEval)return void this._refreshForRemoteEval();this._updateAllAutoExperiments(),this._render()}run(e){let{result:t}=K(e,null,this._getEvalContext());return this._onExperimentEval(e,t),t}triggerExperiment(e){return(this._triggeredExpKeys.add(e),this._options.experiments)?this._options.experiments.filter(t=>t.key===e).map(e=>this._runAutoExperiment(e)).filter(e=>null!==e):null}triggerAutoExperiments(){this._autoExperimentsAllowed=!0,this._updateAllAutoExperiments(!0)}_getEvalContext(){return{user:this._getUserContext(),global:this._getGlobalContext(),stack:{evaluatedFeatures:new Set}}}_getUserContext(){return{attributes:this._options.user?{...this._options.user,...this._options.attributes}:this._options.attributes,enableDevMode:this._options.enableDevMode,blockedCh
129angeIds:this._options.blockedChangeIds,stickyBucketAssignmentDocs:this._options.stickyBucketAssignmentDocs,url:this._getContextUrl(),forcedVariations:this._options.forcedVariations,forcedFeatureValues:this._options.forcedFeatureValues,attributeOverrides:this._options.attributeOverrides,saveStickyBucketAssignmentDoc:this._saveStickyBucketAssignmentDoc,trackingCallback:this._options.trackingCallback,onFeatureUsage:this._options.onFeatureUsage,devLogs:this.logs,trackedExperiments:this._trackedExperiments,trackedFeatureUsage:this._trackedFeatures}}_getGlobalContext(){return{features:this._options.features,experiments:this._options.experiments,log:this.log,enabled:this._options.enabled,qaMode:this._options.qaMode,savedGroups:this._options.savedGroups,groups:this._options.groups,overrides:this._options.overrides,onExperimentEval:this._onExperimentEval,recordChangeId:this._recordChangedId,saveDeferredTrack:this._saveDeferredTrack,eventLogger:this._options.eventLogger}}_runAutoExperiment(e,t){let r,n,i=this._activeAutoExperiments.get(e);if(e.manual&&!this._triggeredExpKeys.has(e.key)&&!i)return null;this._isAutoExperimentBlockedByContext(e)?r=et(this._getEvalContext(),e,-1,!1,""):({result:r,trackingCall:n}=K(e,null,this._getEvalContext()),this._onExperimentEval(e,r));let a=JSON.stringify(r.value);if(!t&&r.inExperiment&&i&&i.valueHash===a)return r;if(i&&this._undoActiveAutoExperiment(e),r.inExperiment){let t=E(e);if("redirect"===t&&r.value.urlRedirect&&e.urlPatterns){let t=e.persistQueryString?C(this._getContextUrl(),r.value.urlRedirect):r.value.urlRedirect;if(p(t,e.urlPatterns))return this.log("Skipping redirect because original URL matches redirect URL",{id:e.key}),r;this._redirectedUrl=t;let{navigate:i,delay:a}=this._getNavigateFunction();if(i)if(tI)Promise.all([...n?[_(n,this._options.maxNavigateDelay??1e3)]:[],new Promise(e=>window.setTimeout(e,this._options.navigateDelay??a))]).then(()=>{try{i(t)}catch(e){console.error(e)}});else try{i(t)}catch(e){console.error(e)}}else if("visual"===t){let t=this._options.applyDomChangesCallback?this._options.applyDomChangesCallback(r.value):this._applyDOMChanges(r.value);t&&this._activeAutoExperiments.set(e,{undo:t,valueHash:a})}}return r}_undoActiveAutoExperiment(e){let t=this._activeAutoExperiments.get(e);t&&(t.undo(),this._activeAutoExperiments.delete(e))}_updateAllAutoExperiments(e){if(!this._autoExperimentsAllowed)return;let t=this._options.experiments||[],r=new Set(t);for(let n of(this._activeAutoExperiments.forEach((e,t)=>{r.has(t)||(e.undo(),this._activeAutoExperiments.delete(t))}),t)){let t=this._runAutoExperiment(n,e);if(t&&t.inExperiment&&"redirect"===E(n))break}}_onExperimentEval(e,t){let r=this._assigned.get(e.key);this._assigned.set(e.key,{experiment:e,result:t}),this._subscriptions.size>0&&this._fireSubscriptions(e,t,r)}_fireSubscriptions(e,t,r){r&&r.result.inExperiment===t.inExperiment&&r.result.variationId===t.variationId||this._subscriptions.forEach(r=>{try{r(e,t)}catch(e){console.error(e)}})}_recordChangedId(e){this._completedChangeIds.add(e)}isOn(e){return this.evalFeature(e).on}isOff(e){return this.evalFeature(e).off}getFeatureValue(e,t){let r=this.evalFeature(e).value;return null===r?t:r}feature(e){return this.evalFeature(e)}evalFeature(e){return G(e,this._getEvalContext())}log(e,t){this.debug&&(this._options.log?this._options.log(e,t):console.log(e,t))}getDeferredTrackingCalls(){return Array.from(this._deferredTrackingCalls.values())}setDeferredTrackingCalls(e){this._deferredTrackingCalls=new Map(e.filter(e=>e&&e.experiment&&e.result).map(e=>[eg(e.experiment,e.result),e]))}async fireDeferredTrackingCalls(){if(!this._options.trackingCallback)return;let e=[];this._deferredTrackingCalls.forEach(t=>{t&&t.experiment&&t.result?e.push(this._options.trackingCallback(t.experiment,t.result)):console.error("Invalid deferred tracking call",{call:t})}),this._deferredTrackingCalls.clear(),await Promise.all(e)}setTrackingCallback(e){this._options.trackingCallback=e,this.fireDeferredTrackingCalls()}setFeatureUsageCallback(e){this._options.onFeatureUsage=e}setEventLogger(e){this._options.eventLogger=e}async logEvent(e,t){if(this._destroyed)return void console.error("Cannot log event to destroyed GrowthBook instance");if(this._options.enableDevMode&&this.logs.push({eventName:e,properties:t,timestamp:Date.now().toString(),logType:"event"}),this._options.eventLogger)try{await this._options.eventLogger(e,t||{},this._getUserContext())}catch(e){console.error(e)}else console.error("No event logger configured")}_saveDeferredTrack(e){this._deferredTrackingCalls.set(eg(e.experiment,e.result),e)}_getContextUrl(){return this._options.url||(tI?window.location.href:"")}_isAutoExperimentBlockedByContext(e){let t=E(e);if("visual"===t){if(this._options.disableVisualExperiments||this._options.disableJs
129Injection&&e.variations.some(e=>e.js))return!0}else{if("redirect"!==t||this._options.disableUrlRedirectExperiments)return!0;try{let t=new URL(this._getContextUrl());for(let r of e.variations){if(!r||!r.urlRedirect)continue;let e=new URL(r.urlRedirect);if(this._options.disableCrossOriginUrlRedirectExperiments&&(e.protocol!==t.protocol||e.host!==t.host))return!0}}catch(t){return this.log("Error parsing current or redirect URL",{id:e.key,error:t}),!0}}return!!(e.changeId&&(this._options.blockedChangeIds||[]).includes(e.changeId))}getRedirectUrl(){return this._redirectedUrl}_getNavigateFunction(){return this._options.navigate?{navigate:this._options.navigate,delay:0}:tI?{navigate:e=>{window.location.replace(e)},delay:100}:{navigate:null,delay:0}}_applyDOMChanges(e){if(!tI)return;let t=[];if(e.css){let r=document.createElement("style");r.innerHTML=e.css,document.head.appendChild(r),t.push(()=>r.remove())}if(e.js){let r=document.createElement("script");r.innerHTML=e.js,this._options.jsInjectionNonce&&(r.nonce=this._options.jsInjectionNonce),document.head.appendChild(r),t.push(()=>r.remove())}return e.domMutations&&e.domMutations.forEach(e=>{t.push(e7.declarative(e).revert)}),()=>{t.forEach(e=>e())}}async refreshStickyBuckets(e){if(this._options.stickyBucketService){let t=this._getEvalContext(),r=await ep(t,this._options.stickyBucketService,e);this._options.stickyBucketAssignmentDocs=r}}generateStickyBucketAssignmentDocsSync(e,t){if(!("getAllAssignmentsSync"in e))return void console.error("generating StickyBucketAssignmentDocs docs requires StickyBucketServiceSync");let r=eh(this._getEvalContext(),t);return e.getAllAssignmentsSync(r)}inDevMode(){return!!this._options.enableDevMode}}var tN=r(55729);let tR=tN.createContext({});function tj(){let{growthbook:e}=tN.useContext(tR);if(!e)throw Error("Missing or invalid GrowthBookProvider");return e}let tD=({children:e,growthbook:t})=>{let[r,n]=tN.useState(0);return tN.useEffect(()=>{if(t&&t.setRenderer)return t.setRenderer(()=>{n(e=>e+1)}),()=>{t.setRenderer(()=>{})}},[t]),tN.createElement(tR.Provider,{value:{growthbook:t}},e)}},78959:(e,t,r)=>{"use strict";r.d(t,{A:()=>f});var n=r(55729),i=r(50212),a=r(40412),o=r(1686),s=r(49467),l=r(24055),c=r(75991),u=r(2601),d=r(6029);let p=e=>{let{classes:t,invisible:r}=e,n={root:["root",r&&"invisible"]};return(0,a.A)(n,u.R,t)},h=(0,o.Ay)("div",{name:"MuiBackdrop",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.invisible&&t.invisible]}})({position:"fixed",display:"flex",alignItems:"center",justifyContent:"center",right:0,bottom:0,top:0,left:0,backgroundColor:"rgba(0, 0, 0, 0.5)",WebkitTapHighlightColor:"transparent",variants:[{props:{invisible:!0},style:{backgroundColor:"transparent"}}]}),f=n.forwardRef(function(e,t){let r=(0,s.b)({props:e,name:"MuiBackdrop"}),{children:n,className:a,component:o="div",invisible:u=!1,open:f,components:m={},componentsProps:g={},slotProps:y={},slots:v={},TransitionComponent:b,transitionDuration:w,...x}=r,k={...r,component:o,invisible:u},A=p(k),C={slots:{transition:b,root:m.Root,...v},slotProps:{...g,...y}},[S,E]=(0,l.A)("root",{elementType:h,externalForwardedProps:C,className:(0,i.A)(A.root,a),ownerState:k}),[_,T]=(0,l.A)("transition",{elementType:c.A,externalForwardedProps:C,ownerState:k});return(0,d.jsx)(_,{in:f,timeout:w,...x,...T,children:(0,d.jsx)(S,{"aria-hidden":!0,...E,classes:A,ref:t,children:n})})})},79516:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=function(e){return null==e}},79843:(e,t,r)=>{"use strict";r.r(t),r.d(t,{OpenCourseInfo:()=>l});var n=r(2860),i=r(24150),a=r(47126),o=r(96590),s=r(9428);let l=e=>{let{lang:t="zh-TW",showTitle:r=!0,startsAt:i,endsOn:s,extraInfo:l}=e,{title:d,openAt:p,fullyOpenAtConcise:h,formatStartsAt:f,formatEndsOn:m}=(0,o.b)({lang:t,startsAt:i,endsOn:s,extraInfo:l});return(0,n.FD)("div",{className:"flex w-full flex-col items-start justify-start",children:[r?(0,n.Y)(c,{children:d}):null,(0,n.FD)("div",{className:"flex flex-col gap-y-2",children:[(0,n.FD)("div",{className:"flex items-center gap-x-2",children:[(0,n.Y)(a.I,{type:"emoji_flags_filled",size:20,color:"peach-500"}),(0,n.Y)(u,{children:"".concat(f," ").concat(p)})]}),(0,n.FD)("div",{className:"flex items-center gap-x-2",children:[(0,n.Y)(a.I,{type:"emoji_flags_filled",size:20,color:"peach-500"}),(0,n.Y)(u,{children:"".concat(h.replace("{{TIME}}",m))})]}),l?(0,n.Y)(u,{className:"whitespace-pre-wrap break-words",children:l}):null]})]})},c=(0,i.A)("div",{target:"e1bmyxuj0"})("color:",s.A.color.palette["grayscale-800"],";font-size:",s.A.fontSize.ml,";font-weight:500;line-height:1.5;letter-spacing:0.25px;margin-bottom:",s.A.distance.sm,";"),u=(0,i.A)("div",{target:"e1bmyxuj1"})("display:inline-block;color:",s.A.color.palette["grayscale-800"],";font-size:",s.A.fontSize.sm,";font-weight:400;line-height:1.75;letter-spacing:0.05px;")},80073:(e,t,r)=>{"use strict";r.d(t,{A:()=>b});
129var n=r(55729),i=r(50212),a=r(40412),o=r(28267),s=r(1686),l=r(23986),c=r(49467),u=r(25684),d=r(68064),p=r(18975),h=r(6029);let f={primary:!0,secondary:!0,error:!0,info:!0,success:!0,warning:!0,textPrimary:!0,textSecondary:!0,textDisabled:!0},m=(0,o.Dg)(),g=e=>{let{align:t,gutterBottom:r,noWrap:n,paragraph:i,variant:o,classes:s}=e,l={root:["root",o,"inherit"!==e.align&&"align".concat((0,u.A)(t)),r&&"gutterBottom",n&&"noWrap",i&&"paragraph"]};return(0,a.A)(l,p.y,s)},y=(0,s.Ay)("span",{name:"MuiTypography",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.variant&&t[r.variant],"inherit"!==r.align&&t["align".concat((0,u.A)(r.align))],r.noWrap&&t.noWrap,r.gutterBottom&&t.gutterBottom,r.paragraph&&t.paragraph]}})((0,l.A)(e=>{var t;let{theme:r}=e;return{margin:0,variants:[{props:{variant:"inherit"},style:{font:"inherit",lineHeight:"inherit",letterSpacing:"inherit"}},...Object.entries(r.typography).filter(e=>{let[t,r]=e;return"inherit"!==t&&r&&"object"==typeof r}).map(e=>{let[t,r]=e;return{props:{variant:t},style:r}}),...Object.entries(r.palette).filter((0,d.A)()).map(e=>{let[t]=e;return{props:{color:t},style:{color:(r.vars||r).palette[t].main}}}),...Object.entries((null==(t=r.palette)?void 0:t.text)||{}).filter(e=>{let[,t]=e;return"string"==typeof t}).map(e=>{let[t]=e;return{props:{color:"text".concat((0,u.A)(t))},style:{color:(r.vars||r).palette.text[t]}}}),{props:e=>{let{ownerState:t}=e;return"inherit"!==t.align},style:{textAlign:"var(--Typography-textAlign)"}},{props:e=>{let{ownerState:t}=e;return t.noWrap},style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"}},{props:e=>{let{ownerState:t}=e;return t.gutterBottom},style:{marginBottom:"0.35em"}},{props:e=>{let{ownerState:t}=e;return t.paragraph},style:{marginBottom:16}}]}})),v={h1:"h1",h2:"h2",h3:"h3",h4:"h4",h5:"h5",h6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",inherit:"p"},b=n.forwardRef(function(e,t){let{color:r,...n}=(0,c.b)({props:e,name:"MuiTypography"}),a=!f[r],o=m({...n,...a&&{color:r}}),{align:s="inherit",className:l,component:u,gutterBottom:d=!1,noWrap:p=!1,paragraph:b=!1,variant:w="body1",variantMapping:x=v,...k}=o,A={...o,align:s,color:r,className:l,component:u,gutterBottom:d,noWrap:p,paragraph:b,variant:w,variantMapping:x},C=u||(b?"p":x[w]||v[w])||"span",S=g(A);return(0,h.jsx)(y,{as:C,ref:t,className:(0,i.A)(S.root,l),...k,ownerState:A,style:{..."inherit"!==s&&{"--Typography-textAlign":s},...k.style}})})},80090:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=Array.isArray},80272:(e,t,r)=>{"use strict";r.d(t,{IB:()=>a,YO:()=>l,Ym:()=>s});var n=r(2860),i=r(55729);let a={en:{signin:{oneClick:"One-Click Login",title:"Welcome back",submit:"Login",hintTxt:"New to WORD UP?",hintBtn:"Sign Up",useEmail:"Login using email"},signup:{oneClick:"One-Click Signup",title:"Hello",submit:"Register",hintTxt:"Already have a WORD UP account?",hintBtn:"Login",useEmail:"Signup using email",offer:"Receive an exclusive welcome gift for new users - a $120 coupon! Redeem and use it instantly, no waiting needed to purchase materials!"},forgetPassword:{title:"Forgot password?",pageDesc:"Don't worry! Tell me your email, we will help you!",sendEmail:"Send an email to reset password",toSignIn:"Sign in",successMsg:"You'll receive an email within few minutes to reset your password."},privacy:{message:"Creating an account means you're okay with our",linkText:"Privacy Policy & Terms of Service"},error:{required:"Requried field",email:"Invalid email",password:"Minimum is 6 characters"},loading:"Loading...",name:{label:"Username",plhr:"Enter username"},email:{label:"Email",plhr:"Enter email"},password:{label:"Password",plhr:"Enter password"},resetPwd:{title:"Reset Password",newPwd:{title:"New password",plhdr:"Fill in your new password"},confirmNewPwd:{title:"Password confirmation",plhdr:"Fill in your new password again"},savePwd:"Save password",loading:"Loading",err:{noPwd:"Fill in your password",pwdNotMatch:"Password confirmation does not match",pwdTooShort:"Password needs 6 characters at least"}}},"zh-TW":{signin:{oneClick:"ä¸éµå¿«éç»å
¥",title:"ç»å
¥",submit:"ç»å
¥",hintTxt:"éæ²æå¸³èï¼",hintBtn:"é»æè¨»å",useEmail:"æä»¥ Email ç»å
¥"},signup:{oneClick:"ä¸éµå¿«é註å",title:"註å",submit:"註å",hintTxt:"å·²ç¶æå¸³èï¼",hintBtn:"黿ç»å
¥",useEmail:"æä»¥ Email 註å",offer:"註åå¾å³æ¿æ°ç¨æ¶éå®å¥½ç¦® NT$120 æå¹å¸"},forgetPassword:{title:"å¿è¨å¯ç¢¼äºåï¼",pageDesc:"ä¸ç¨æå¿ï¼çµ¦æä½ 常ç¨çé»åä¿¡ç®±ï¼é¦¬ä¸å¹«ä½ 解決åé¡ï¼",sendEmail:"ç¼ééè¨å¯ç¢¼éµä»¶",toSignIn:"åå°ç»å
¥é ",successMsg:"æå尿卿¸åéå
§ï¼ç¼éä¸å° Email å°ä½ 輸å
¥çä¿¡ç®±ï¼é»æä¿¡ç®±å
§çé£çµæåæå¹«å©ä½ éæ°è¨å®å¯ç¢¼ã"},privacy:{message:"註åå³è¡¨ç¤ºæ¨å·²é±è®ä¸¦åæ",linkText:"é±ç§æ¬å使ç¨è
æ¢æ¬¾"},error:{required:"å¿
å¡«æ¬ä½",email:"é»åéµä»¶æ ¼å¼é¯èª¤",password:"è³å°çº 6 ä½è±æ¸å"},loading:"èçä¸...",name:{label:"使ç¨è
å稱",plhr:"輸å
¥ä½¿ç¨è
å稱"},email:{label:"é»åéµä»¶",plhr:"輸å
¥é»åä¿¡ç®±"},password:{label:"å¯ç¢¼",plhr:"輸å
¥å¯ç¢¼"},resetPwd:{title:"éè¨æ°å¯ç¢¼",newPwd:{title:"ä½ çæ°å¯ç¢¼",plhdr:"è«è¼¸å
¥ä½ çæ°å¯ç¢¼"},confirmNewPwd:{title:"ç¢ºèªæ°å¯ç¢¼",plhdr:"è«å輸å
¥ä¸æ¬¡æ°å¯ç¢¼"},savePwd:"å²åå¯ç¢¼",loading:"è¼å
¥ä¸",err:{noPwd:"è«è¼¸å
¥å¯ç¢¼",pwdNotMatch:"å¯ç¢¼ä¸ç¬¦",pwdTooShort:"è³å°çº 6 使¸"}}}},o=i.createContext(a["zh-TW"]),s=()=>i.useContext(o),l=e=>{let{defaultLang:t,children:r}=e,[s,l]=i.useState(t);return i.useEffect(()=>{l(t)},[t]),(0,n.Y)(o.Provider,{value:a[s],children:r})}},80465:(e,t,r)=>{"use strict";r.d(t,{A:()=>f});var n=r(80090),i=r(82457),a=r(72541),o="Expected a function";function s(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw TypeError(o);var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],a=r.cache;if(a.has(i))return a.get(i);var o=e.apply(this,n);return r.cache=a.set(i,o)||a,o};return r.cache=new(s.Cache||a.A),r}s.Cache=a.A;let l=s;var c=500,u=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,d=/\\(\\)?/g;let p=function(e){var t=l(e,function(e){return r.size===c&&r.clear(),e}),r=t.cache;return t}(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(u,function(e,r,n,i){t.push(n?i.replace(d,"$1"):r||e)}),t});var h=r(65357);let f=function(e,t){return(0,n.A)(e)?e:(0,i.A)(e,t)?[e]:p((0,h.A)(e))}},80639:(e,t,r)=>{"use strict";r.d(t,{w:()=>n});let n=(0,r(73650).A)({palette:{primary:{main:"#42badb",light:"#7eedff",dark:"#008aa9",contrastText:"#000000"},secondary:{main:"#383b3d",light:"#f6f8fc",dark:"#c3c5c9",contrastText:"#383b3d"}}})},80644:function(e,t){!function(e,r){r(t)}(0,function(e){"use strict";function t(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function r(e){for(var r=1;r<arguments.length;r++){var n=null!=arguments[r]?arguments[r]:{};
129r%2?t(Object(n),!0).forEach(function(t){i(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):t(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e,t,r){return(t=o(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function a(e,t){if("object"!=typeof e||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function o(e){var t=a(e,"string");return"symbol"==typeof t?t:String(t)}function s(e,t,r){var n,i="";if((e="number"==typeof e?String(e):e).length>t)return e;for(n=0;n<t;n+=1)i+=String(r);return(i+e).slice(-i.length)}function l(){this.reset()}function c(){this.events={}}l.prototype.toString=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["hours","minutes","seconds"],r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:":",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2;t=t||["hours","minutes","seconds"],r=r||":",n=n||2;var i=[];for(e=0;e<t.length;e+=1)void 0!==this[t[e]]&&("secondTenths"===t[e]?i.push(this[t[e]]):i.push(s(this[t[e]],n,"0")));return i.join(r)},l.prototype.reset=function(){this.secondTenths=0,this.seconds=0,this.minutes=0,this.hours=0,this.days=0},c.prototype.on=function(e,t){var r=this;return Array.isArray(this.events[e])||(this.events[e]=[]),this.events[e].push(t),function(){return r.removeListener(e,t)}},c.prototype.removeListener=function(e,t){if(Array.isArray(this.events[e])){var r=this.events[e].indexOf(t);r>-1&&this.events[e].splice(r,1)}},c.prototype.removeAllListeners=function(e){e?Array.isArray(this.events[e])&&(this.events[e]=[]):this.events={}},c.prototype.emit=function(e){for(var t=this,r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];Array.isArray(this.events[e])&&this.events[e].forEach(function(e){return e.apply(t,n)})};var u=10,d=60,p=60,h=24,f=0,m=1,g=2,y=3,v=4,b="secondTenths",w="seconds",x="minutes",k="hours",A="days",C=[b,w,x,k,A],S={secondTenths:100,seconds:1e3,minutes:6e4,hours:36e5,days:864e5},E={secondTenths:10,seconds:60,minutes:60,hours:24};function _(e,t){return(e%t+t)%t}function T(){var e,t,i,a,o,s,T,P,O,I,M=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},L=new l,N=new l,R=new c,j=!1,D=!1,F={},V={detail:{timer:this}};function B(e,t){var r=E[e];N[e]=t,e===A?L[e]=Math.abs(t):t>=0?L[e]=_(t,r):L[e]=_(r-_(t,r),r)}function z(e){return Y(e,A)}function $(e){return Y(e,k)}function U(e){return Y(e,x)}function q(e){return Y(e,w)}function H(e){return Y(e,b)}function Y(e,t){var r=N[t];return B(t,el(e,S[t])),N[t]!==r}function W(){G(),en()}function G(){clearInterval(e),e=void 0,j=!1,D=!1}function K(e){ex()?(O=X(),s=ec(o.target)):ei(e),J()}function J(){var r=S[t];er(ee(Date.now()))||(e=setInterval(Q,r),j=!0,D=!1)}function X(){return ee(Date.now())-N.secondTenths*S[b]*i}function Q(){var e=ee(Date.now());et(Z()),a(V.detail.timer),er(e)&&(ep(),eb("targetAchieved",V))}function Z(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ee(Date.now()),t=i>0?e-O:O-e,r={};return r[b]=H(t),r[w]=q(t),r[x]=U(t),r[k]=$(t),r[A]=z(t),r}function ee(e){return Math.floor(e/S[t])*S[t]}function et(e){e[b]&&eb("secondTenthsUpdated",V),e[w]&&eb("secondsUpdated",V),e[x]&&eb("minutesUpdated",V),e[k]&&eb("hoursUpdated",V),e[A]&&eb("daysUpdated",V)}function er(e){return s instanceof Array&&e>=I}function en(){L.reset(),N.reset()}function ei(e){t=ea((e=e||{}).precision),a="function"==typeof e.callback?e.callback:function(){},i=!0==(P=!0===e.countdown)?-1:1,"object"===n(e.startValues)?eu(e.startValues):T=null,O=X(),Z(),"object"===n(e.target)?s=ec(e.target):P?(e.target={seconds:0},s=ec(e.target)):s=null,F={precision:t,callback:a,countdown:"object"===n(e)&&!0===e.countdown,target:s,startValues:T},o=e}function ea(e){if(!eo(e="string"==typeof e?e:w))throw Error("Error in precision parameter: ".concat(e," is not a valid value"));return e}function eo(e){return C.indexOf(e)>=0}function es(e){if("object"===n(e))if(e instanceof Array){if(5!==e.length)throw Error("Array size not valid");r=e}else{for(var t in e)if(0>C.indexOf(t))throw Error("Error in startValues or target parameter: ".concat(t," is not a valid input value"));r=[e.secondTenths||0,e.seconds||0,e.minutes||0,e.hours||0,e.days||0]}
129var r=r.map(function(e){return parseInt(e,10)}),i=r[f],a=r[m]+el(i,u),o=r[g]+el(a,d),s=r[y]+el(o,p),l=r[v]+el(s,h);return r[f]=i%u,r[m]=a%d,r[g]=o%p,r[y]=s%h,r[v]=l,r}function el(e,t){var r=e/t;return r<0?Math.ceil(r):Math.floor(r)}function ec(e){if(e){s=es(e);var t=ed(s);return I=O+t.secondTenths*S[b]*i,s}}function eu(e){L.secondTenths=(T=es(e))[f],L.seconds=T[m],L.minutes=T[g],L.hours=T[y],L.days=T[v],N=ed(T,N)}function ed(e,t){var r=t||{};return r.days=e[v],r.hours=r.days*h+e[y],r.minutes=r.hours*p+e[g],r.seconds=r.minutes*d+e[m],r.secondTenths=r.seconds*u+e[[f]],r}function ep(){W(),eb("stopped",V)}function eh(){W(),K(o),eb("reset",V)}function ef(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e=r(r({},M),e),ew()||(K(e),eb("started",V))}function em(){G(),D=!0,eb("paused",V)}function eg(e,t){R.on(e,t)}function ey(e,t){R.removeListener(e,t)}function ev(e){R.removeAllListeners(e)}function eb(e,t){R.emit(e,t)}function ew(){return j}function ex(){return D}function ek(){return L}function eA(){return N}function eC(){return F}ei(M),void 0!==this&&(this.start=ef,this.pause=em,this.stop=ep,this.reset=eh,this.isRunning=ew,this.isPaused=ex,this.getTimeValues=ek,this.getTotalTimeValues=eA,this.getConfig=eC,this.addEventListener=eg,this.on=eg,this.removeEventListener=ey,this.removeAllEventListeners=ev,this.off=ey)}e.Timer=T,e.default=T,Object.defineProperty(e,"__esModule",{value:!0})})},81214:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(20920),i=r(16588),a=r(86335);let o=function(e){return(0,n.A)(e,a.A,i.A)}},81245:(e,t,r)=>{"use strict";r.d(t,{A:()=>eh});var n=r(41282),i=Math.abs,a=String.fromCharCode,o=Object.assign;function s(e,t){return 45^p(e,0)?(((t<<2^p(e,0))<<2^p(e,1))<<2^p(e,2))<<2^p(e,3):0}function l(e){return e.trim()}function c(e,t){return(e=t.exec(e))?e[0]:e}function u(e,t,r){return e.replace(t,r)}function d(e,t){return e.indexOf(t)}function p(e,t){return 0|e.charCodeAt(t)}function h(e,t,r){return e.slice(t,r)}function f(e){return e.length}function m(e){return e.length}function g(e,t){return t.push(e),e}function y(e,t){return e.map(t).join("")}var v=1,b=1,w=0,x=0,k=0,A="";function C(e,t,r,n,i,a,o){return{value:e,root:t,parent:r,type:n,props:i,children:a,line:v,column:b,length:o,return:""}}function S(e,t){return o(C("",null,null,"",null,null,0),e,{length:-e.length},t)}function E(){return k}function _(){return k=x>0?p(A,--x):0,b--,10===k&&(b=1,v--),k}function T(){return k=x<w?p(A,x++):0,b++,10===k&&(b=1,v++),k}function P(){return p(A,x)}function O(){return x}function I(e,t){return h(A,e,t)}function M(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function L(e){return v=b=1,w=f(A=e),x=0,[]}function N(e){return A="",e}function R(e){return l(I(x-1,F(91===e?e+2:40===e?e+1:e)))}function j(e){for(;k=P();)if(k<33)T();else break;return M(e)>2||M(k)>3?"":" "}function D(e,t){for(;--t&&T()&&!(k<48)&&!(k>102)&&(!(k>57)||!(k<65))&&(!(k>70)||!(k<97)););return I(e,O()+(t<6&&32==P()&&32==T()))}function F(e){for(;T();)switch(k){case e:return x;case 34:case 39:34!==e&&39!==e&&F(k);break;case 40:41===e&&F(e);break;case 92:T()}return x}function V(e,t){for(;T();)if(e+k===57)break;else if(e+k===84&&47===P())break;return"/*"+I(t,x-1)+"*"+a(47===e?e:T())}function B(e){for(;!M(P());)T();return I(e,x)}var z="-ms-",$="-moz-",U="-webkit-",q="comm",H="rule",Y="decl",W="@import",G="@keyframes",K="@layer";function J(e,t){for(var r="",n=m(e),i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function X(e,t,r,n){switch(e.type){case K:if(e.children.length)break;case W:case Y:return e.return=e.return||e.value;case q:return"";case G:return e.return=e.value+"{"+J(e.children,n)+"}";case H:e.value=e.props.join(",")}return f(r=J(e.children,n))?e.return=e.value+"{"+r+"}":""}function Q(e){var t=m(e);return function(r,n,i,a){for(var o="",s=0;s<t;s++)o+=e[s](r,n,i,a)||"";return o}}function Z(e){return function(t){!t.root&&(t=t.return)&&e(t)}}function ee(e){return N(et("",null,null,null,[""],e=L(e),0,[0],e))}function et(e,t,r,n,i,o,s,l,c){for(var h=0,m=0,y=s,v=0,b=0,w=0,x=1,k=1,A=1,C=0,S="",E=i,I=o,M=n,L=S;k;)switch(w=C,C=T()){case 40:if(108!=w&&58==p(L,y-1)){-1!=d(L+=u(R(C),"&","&\f"),"&\f")&&(A=-1);break}case 34:case 39:case 91:L+=R(C);break;case 9:case 10:case 13:case 32:L+=j(w);break;case 92:L+=D(O()-1,7);continue;case 47:switch(P()){case 42:case 47:g(en(V(T(),O()),t,r),c);break;default:L+="/"}break;case 123*x:l[h++]=f(L)*A;case 125*x:case 59:case 0:switch(C){case 0:case 125:k=0;case 59+m:-1==A&&(L=u(L,/\f/g,"")),b>0&&f(L)-y&&g(b>32?ei(L+";",n,r,y-1):ei(u(L," ","")+";",n,r,y-2),c);break;case 59:L+=";";default:if(g(M=er(L,t,r,h,m,i,l,S,E=[],I=[],y),o),123===C)if(0===m)et(L,t,M,M,E,o,y,l,I);else switch(99===v&&110===p(L,3)?100:v){case 100:case 108:case 109:case 115:et(e,M,M,n&&g(er(e,M,M,0,0,i,l,S,i,E=[],y),I),i,I,y,l,n?E:I);break;default:et(L,M,M,M,[""],I,0,l,I)}}h=m=b=0,x=A=1,S=L="",y=s;break;case 58:y=1+f(L),b=w;default:if(x<1){if(123==C)--x;else if(125==C&&0==x++&&125==_())continue}switch(L+=a(C),C*x){case 38:A=m>0?1:(L+="\f",-1);break;case 44:l[h++]=(f(L)-1)*A,A=1;break;case 64:45===P()&&(L+=R(T())),v=P(),m=y=f(S=L+=B(O())),C++;break;case 45:45===w&&2==f(L)&&(x=0)}}return o}function er(e,t,r,n,a,o,s,c,d,p,f){for(var g=a-1,y=0===a?o:[""],v=m(y),b=0,w=0,x=0;b<n;++b)for(var k=0,A=h(e,g+1,g=i(w=s[b])),S=e;k<v;++k)(S=l(w>0?y[k]+" "+A:u(A,/&\f/g,y[k])))&&(d[x++]=S);return C(e,t,r,0===a?H:c,d,p,f)}function en(e,t,r){return C(e,t,r,q,a(E()),h(e,2,-2),0)}function ei(e,t,r,n){return C(e,t,r,Y,h(e,0,n),h(e,n+1,-1),n)}var ea=function(e,t,r){for(var n=0,i=0;n=i,i=P(),38===n&&12===i&&(t[r]=1),!M(i);)T();return I(e,x)},eo=function(e,t){var r=-1,n=44;do switch(M(n)){case 0:38===n&&12===P()&&(t[r]=1),e[r]+=ea(x-1,t,r);break;case 2:e[r]+=R(n);break;case 4:if(44===n){e[++r]=58===P()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=a(n)}while(n=T());return e},es=function(e,t){return N(eo(L(e),t))},el=new WeakMap,ec=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||el.get(r))&&!n){el.set(e,!0);for(var i=[],a=es(t,i),o=r.props,s=0,l=0;s<a.length;s++)for(var c=0;c<o.length;c++,l++)e.props[l]=i[s]?a[s].replace(/&\f/g,o[c]):o[c]+" "+a[s]}}},eu=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function ed(e,t){switch(s(e,t)){case 5103:return U+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return U+e+e;
129case 5349:case 4246:case 4810:case 6968:case 2756:return U+e+$+e+z+e+e;case 6828:case 4268:return U+e+z+e+e;case 6165:return U+e+z+"flex-"+e+e;case 5187:return U+e+u(e,/(\w+).+(:[^]+)/,U+"box-$1$2"+z+"flex-$1$2")+e;case 5443:return U+e+z+"flex-item-"+u(e,/flex-|-self/,"")+e;case 4675:return U+e+z+"flex-line-pack"+u(e,/align-content|flex-|-self/,"")+e;case 5548:return U+e+z+u(e,"shrink","negative")+e;case 5292:return U+e+z+u(e,"basis","preferred-size")+e;case 6060:return U+"box-"+u(e,"-grow","")+U+e+z+u(e,"grow","positive")+e;case 4554:return U+u(e,/([^-])(transform)/g,"$1"+U+"$2")+e;case 6187:return u(u(u(e,/(zoom-|grab)/,U+"$1"),/(image-set)/,U+"$1"),e,"")+e;case 5495:case 3959:return u(e,/(image-set\([^]*)/,U+"$1$`$1");case 4968:return u(u(e,/(.+:)(flex-)?(.*)/,U+"box-pack:$3"+z+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+U+e+e;case 4095:case 3583:case 4068:case 2532:return u(e,/(.+)-inline(.+)/,U+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(f(e)-1-t>6)switch(p(e,t+1)){case 109:if(45!==p(e,t+4))break;case 102:return u(e,/(.+:)(.+)-([^]+)/,"$1"+U+"$2-$3$1"+$+(108==p(e,t+3)?"$3":"$2-$3"))+e;case 115:return~d(e,"stretch")?ed(u(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==p(e,t+1))break;case 6444:switch(p(e,f(e)-3-(~d(e,"!important")&&10))){case 107:return u(e,":",":"+U)+e;case 101:return u(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+U+(45===p(e,14)?"inline-":"")+"box$3$1"+U+"$2$3$1"+z+"$2box$3")+e}break;case 5936:switch(p(e,t+11)){case 114:return U+e+z+u(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return U+e+z+u(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return U+e+z+u(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return U+e+z+e+e}return e}var ep=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case Y:e.return=ed(e.value,e.length);break;case G:return J([S(e,{value:u(e.value,"@","@"+U)})],n);case H:if(e.length)return y(e.props,function(t){switch(c(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return J([S(e,{props:[u(t,/:(read-\w+)/,":"+$+"$1")]})],n);case"::placeholder":return J([S(e,{props:[u(t,/:(plac\w+)/,":"+U+"input-$1")]}),S(e,{props:[u(t,/:(plac\w+)/,":"+$+"$1")]}),S(e,{props:[u(t,/:(plac\w+)/,z+"input-$1")]})],n)}return""})}}],eh=function(e){var t,r,i,a=e.key;if("css"===a){var o=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(o,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var s=e.stylisPlugins||ep,l={},c=[];t=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+a+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r<t.length;r++)l[t[r]]=!0;c.push(e)});var u=Q([ec,eu].concat(s,[X,Z(function(e){i.insert(e)})])),d=function(e){return J(ee(e),u)};r=function(e,t,r,n){i=r,d(e?e+"{"+t.styles+"}":t.styles),n&&(p.inserted[t.name]=!0)};var p={key:a,sheet:new n.v({key:a,container:t,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:l,registered:{},insert:r};return p.sheet.hydrate(c),p}},81444:()=>{"object"!=typeof JSON&&(JSON={}),function(){"use strict";var gap,indent,meta,rep,rx_one=/^[\],:{}\s]*$/,rx_two=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,rx_three=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,rx_four=/(?:^|:|,)(?:\s*\[)+/g,rx_escapable=/[\\"\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,rx_dangerous=/[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g;function f(e){return e<10?"0"+e:e}function this_value(){return this.valueOf()}function quote(e){return rx_escapable.lastIndex=0,rx_escapable.test(e)?'"'+e.replace(rx_escapable,function(e){var t=meta[e];return"string"==typeof t?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)})+'"':'"'+e+'"'}function str(e,t){var r,n,i,a,o,s=gap,l=t[e];switch(l&&"object"==typeof l&&"function"==typeof l.toJSON&&(l=l.toJSON(e)),"function"==typeof rep&&(l=rep.call(t,e,l)),typeof l){case"string":return quote(l);case"number":return isFinite(l)?String(l):"null";case"boolean":case"null":return String(l);case"object":if(!l)return"null";if(gap+=indent,o=[],"[object Array]"===Object.prototype.toString.apply(l)){for(r=0,a=l.length;r<a;r+=1)o[r]=str(r,l)||"null";return i=0===o.length?"[]":gap?"[\n"+gap+o.join(",\n"+gap)+"\n"+s+"]":"["+o.join(",")+"]",gap=s,i}if(rep&&"object"==typeof rep)for(r=0,a=rep.length;r<a;r+=1)"string"==typeof rep[r]&&(i=str(n=rep[r],l))&&o.push(quote(n)+(gap?": ":":")+i);else for(n in l)Object.prototype.hasOwnProperty.call(l,n)&&(i=str(n,l))&&o.push(quote(n)+(gap?": ":":")+i);return i=0===o.length?"{}":gap?"{\n"+gap+o.join(",\n"+gap)+"\n"+s+"}":"{"+o.join(",")+"}",gap=s,i}}"function"!=typeof Date.prototype.toJSON&&(Date.prototype.toJSON=function(){return isFinite(this.valueOf())?this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z":null},Boolean.prototype.toJSON=this_value,Number.prototype.toJSON=this_value,String.prototype.toJSON=this_value),"function"!=typeof JSON.stringify&&(meta={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"},JSON.stringify=function(e,t,r){var n;if(gap="",indent="","number"==typeof r)for(n=0;n<r;n+=1)indent+=" ";else"string"==typeof r&&(indent=r);if(rep=t,t&&"function"!=typeof t&&("object"!=typeof t||"number"!=typeof t.length))throw Error("JSON.stringify");return str("",{"":e})}),"function"!=typeof JSON.parse&&(JSON.parse=function(text,reviver){var j;function walk(e,t){var r,n,i=e[t];if(i&&"object"==typeof i)for(r in i)Object.prototype.hasOwnProperty.call(i,r)&&(void 0!==(n=walk(i,r))?i[r]=n:delete i[r]);return reviver.call(e,t,i)}if(text=String(text),rx_dangerous.lastIndex=0,rx_dangerous.test(text)&&(text=text.replace(rx_dangerous,function(e){return"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}
129)),rx_one.test(text.replace(rx_two,"@").replace(rx_three,"]").replace(rx_four,"")))return j=eval("("+text+")"),"function"==typeof reviver?walk({"":j},""):j;throw SyntaxError("JSON.parse")})}()},81488:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(55729);let i={};function a(e,t){let r=n.useRef(i);return r.current===i&&(r.current=e(t)),r}},82026:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(58309);let i=[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],a=(0,n.A)("sparkles",i)},82203:(e,t,r)=>{e.exports=r(50123)},82457:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var n=r(80090),i=r(27709),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,o=/^\w*$/;let s=function(e,t){if((0,n.A)(e))return!1;var r=typeof e;return!!("number"==r||"symbol"==r||"boolean"==r||null==e||(0,i.A)(e))||o.test(e)||!a.test(e)||null!=t&&e in Object(t)}},82610:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n={50:"#e8f5e9",100:"#c8e6c9",200:"#a5d6a7",300:"#81c784",400:"#66bb6a",500:"#4caf50",600:"#43a047",700:"#388e3c",800:"#2e7d32",900:"#1b5e20",A100:"#b9f6ca",A200:"#69f0ae",A400:"#00e676",A700:"#00c853"}},82798:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=r(54570).A},82818:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n={50:"#ffebee",100:"#ffcdd2",200:"#ef9a9a",300:"#e57373",400:"#ef5350",500:"#f44336",600:"#e53935",700:"#d32f2f",800:"#c62828",900:"#b71c1c",A100:"#ff8a80",A200:"#ff5252",A400:"#ff1744",A700:"#d50000"}},82821:(e,t,r)=>{"use strict";r.d(t,{A:()=>l});var n=r(73672),i=r(80465),a=r(7310),o=r(63322),s=r(29194);let l=function(e,t,r,l){if(!(0,o.A)(e))return e;t=(0,i.A)(t,e);for(var c=-1,u=t.length,d=u-1,p=e;null!=p&&++c<u;){var h=(0,s.A)(t[c]),f=r;if("__proto__"===h||"constructor"===h||"prototype"===h)break;if(c!=d){var m=p[h];void 0===(f=l?l(m,h,p):void 0)&&(f=(0,o.A)(m)?m:(0,a.A)(t[c+1])?[]:{})}(0,n.A)(p,h,f),p=p[h]}return e}},82851:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(58309);let i=[["path",{d:"M5 12h14",key:"1ays0h"}]],a=(0,n.A)("minus",i)},82917:(e,t,r)=>{"use strict";r.d(t,{G:()=>n,g:()=>i});let n={ios:"https://apps.apple.com/tw/app/wordup-%E5%96%AE%E5%AD%97%E6%95%91%E6%98%9F/id1447838299",android:"https://play.google.com/store/apps/details?id=com.wordup.androidapp&hl=zh_TW"},i="https://public.wordup.com.tw/shop/assets/general_app_download_qrcode.png"},83004:(e,t,r)=>{"use strict";r.d(t,{AH:()=>u,i7:()=>d,mL:()=>c,n:()=>l});var n=r(87905),i=r(55729),a=r(34215),o=r(44930),s=r(38260);r(81245),r(31179);var l=function(e,t){var r=arguments;if(null==t||!n.h.call(t,"css"))return i.createElement.apply(void 0,r);var a=r.length,o=Array(a);o[0]=n.E,o[1]=(0,n.c)(e,t);for(var s=2;s<a;s++)o[s]=r[s];return i.createElement.apply(null,o)};!function(e){var t;t||(t=e.JSX||(e.JSX={}))}(l||(l={}));var c=(0,n.w)(function(e,t){var r=e.styles,l=(0,s.J)([r],void 0,i.useContext(n.T)),c=i.useRef();return(0,o.i)(function(){var e=t.key+"-global",r=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),n=!1,i=document.querySelector('style[data-emotion="'+e+" "+l.name+'"]');return t.sheet.tags.length&&(r.before=t.sheet.tags[0]),null!==i&&(n=!0,i.setAttribute("data-emotion",e),r.hydrate([i])),c.current=[r,n],function(){r.flush()}},[t]),(0,o.i)(function(){var e=c.current,r=e[0];if(e[1]){e[1]=!1;return}if(void 0!==l.next&&(0,a.sk)(t,l.next,!0),r.tags.length){var n=r.tags[r.tags.length-1].nextElementSibling;r.before=n,r.flush()}t.insert("",l,r,!1)},[t,l.name]),null});function u(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return(0,s.J)(t)}function d(){var e=u.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}},83224:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(2860),i=r(55729);let a=function(e){let{locales:t}=e,r=i.createContext(t["zh-TW"]),a=e=>{let{defaultLang:a,children:o}=e,[s,l]=i.useState(a);return i.useEffect(()=>{l(a)},[a]),(0,n.Y)(r.Provider,{value:t[s],children:o})};return{LocaleContext:r,useLocaleContext:()=>i.useContext(r),LocaleProvider:a}}},83380:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n={50:"#fafafa",100:"#f5f5f5",200:"#eeeeee",300:"#e0e0e0",400:"#bdbdbd",500:"#9e9e9e",600:"#757575",700:"#616161",800:"#424242",900:"#212121",A100:"#f5f5f5",A200:"#eeeeee",A400:"#bdbdbd",A700:"#616161"}},83458:(e,t,r)=>{"use strict";r.d(t,{LX:()=>f,MA:()=>h,_W:()=>m,Lc:()=>b,Ms:()=>w});var n=r(62942),i=r(87190),a=r(62494);let o={m:"margin",p:"padding"},s={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},l={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},c=function(e){let t={};return r=>(void 0===t[r]&&(t[r]=e(r)),t[r])}(e=>{if(e.length>2)if(!l[e])return[e];else e=l[e];let[t,r]=e.split(""),n=o[t],i=s[r]||"";return Array.isArray(i)?i.map(e=>n+e):[n+i]}),u=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],d=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"],p=[...u,...d];function h(e,t,r,n){let a=(0,i.Yn)(e,t,!0)??r;return"number"==typeof a||"string"==typeof a?e=>"string"==typeof e?e:"string"==typeof a?`calc(${e} * ${a})`:a*e:Array.isArray(a)?e=>{if("string"==typeof e)return e;let t=a[Math.abs(e)];return e>=0?t:"number"==typeof t?-t:`-${t}`}:"function"==typeof a?a:()=>void 0}function f(e){return h(e,"spacing",8,"spacing")}function m(e,t){return"string"==typeof t||null==t?t:e(t)}function g(e,t){return r=>e.reduce((e,n)=>(e[n]=m(t,r),e),{})}function y(e,t,r,i){if(!t.includes(r))return null;let a=g(c(r),i),o=e[r];return(0,n.NI)(e,o,a)}function v(e,t){let r=f(e.theme);return Object.keys(e).map(n=>y(e,t,n,r)).reduce(a.A,{})}function b(e){return v(e,u)}function w(e){return v(e,d)}function x(e){return v(e,p)}b.propTypes={},b.filterProps=u,w.propTypes={},w.filterProps=d,x.propTypes={},x.filterProps=p},83716:(e,t,r)=>{"use strict";r.d(t,{A:()=>N});var n=r(63599),i=r(24069),a=r(92741),o="[object Arguments]",s="[object Array]",l="[object Boolean]",c="[object Date]",u="[object Error]",d="[object Function]",p="[object Map]",h="[object Number]",f="[object Object]",m="[object RegExp]",g="[object Set]",y="[object String]",v="[object WeakMap]",b="[object ArrayBuffer]",w="[object DataView]",x="[object Float64Array
129]",k="[object Int8Array]",A="[object Int16Array]",C="[object Int32Array]",S="[object Uint8Array]",E="[object Uint8ClampedArray]",_="[object Uint16Array]",T="[object Uint32Array]",P={};P["[object Float32Array]"]=P[x]=P[k]=P[A]=P[C]=P[S]=P[E]=P[_]=P[T]=!0,P[o]=P[s]=P[b]=P[l]=P[w]=P[c]=P[u]=P[d]=P[p]=P[h]=P[f]=P[m]=P[g]=P[y]=P[v]=!1;let O=function(e){return(0,a.A)(e)&&(0,i.A)(e.length)&&!!P[(0,n.A)(e)]};var I=r(84538),M=r(32370),L=M.A&&M.A.isTypedArray;let N=L?(0,I.A)(L):O},83855:(e,t,r)=>{"use strict";let n;r.d(t,{A:()=>s});var i=r(31430),a=r(6329);let o=(e,t)=>{let r=!1;return function(){for(var n=arguments.length,i=Array(n),o=0;o<n;o++)i[o]=arguments[o];return a.O_||r||(console.warn(t.concat(["\n"]).join("\n")),r=!0),e(...i)}},s=(n=i.c,o(n,["[DEPRECATED]: This temporary wrap will be removed in future versions.","","You should use `import { apiCaller } from '@wordup/lib-shop/features'`"]))},83915:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(58309);let i=[["path",{d:"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z",key:"9ktpf1"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],a=(0,n.A)("compass",i)},84153:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(98115),i=r(46064),a=r(74309);let o=function(e){return(0,a.A)(e)?(0,n.A)(e):(0,i.A)(e)}},84538:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=function(e){return function(t){return e(t)}}},84660:(e,t,r)=>{"use strict";r.d(t,{Q:()=>eN});let n=(e,t)=>{let r=Array(e.length+t.length);for(let t=0;t<e.length;t++)r[t]=e[t];for(let n=0;n<t.length;n++)r[e.length+n]=t[n];return r},i=(e,t)=>({classGroupId:e,validator:t}),a=(e=new Map,t=null,r)=>({nextPart:e,validators:t,classGroupId:r}),o="-",s=[],l="arbitrary..",c=e=>{let t=p(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:i}=e;return{getClassGroupId:e=>{if(e.startsWith("[")&&e.endsWith("]"))return d(e);let r=e.split(o),n=+(""===r[0]&&r.length>1);return u(r,n,t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=i[e],a=r[e];return t?a?n(a,t):t:a||s}return r[e]||s}}},u=(e,t,r)=>{if(0==e.length-t)return r.classGroupId;let n=e[t],i=r.nextPart.get(n);if(i){let r=u(e,t+1,i);if(r)return r}let a=r.validators;if(null===a)return;let s=0===t?e.join(o):e.slice(t).join(o),l=a.length;for(let e=0;e<l;e++){let t=a[e];if(t.validator(s))return t.classGroupId}},d=e=>-1===e.slice(1,-1).indexOf(":")?void 0:(()=>{let t=e.slice(1,-1),r=t.indexOf(":"),n=t.slice(0,r);return n?l+n:void 0})(),p=e=>{let{theme:t,classGroups:r}=e;return h(r,t)},h=(e,t)=>{let r=a();for(let n in e)f(e[n],r,n,t);return r},f=(e,t,r,n)=>{let i=e.length;for(let a=0;a<i;a++)m(e[a],t,r,n)},m=(e,t,r,n)=>"string"==typeof e?void g(e,t,r):"function"==typeof e?void y(e,t,r,n):void v(e,t,r,n),g=(e,t,r)=>{(""===e?t:b(t,e)).classGroupId=r},y=(e,t,r,n)=>{if(w(e))return void f(e(n),t,r,n);null===t.validators&&(t.validators=[]),t.validators.push(i(r,e))},v=(e,t,r,n)=>{let i=Object.entries(e),a=i.length;for(let e=0;e<a;e++){let[a,o]=i[e];f(o,b(t,a),r,n)}},b=(e,t)=>{let r=e,n=t.split(o),i=n.length;for(let e=0;e<i;e++){let t=n[e],i=r.nextPart.get(t);i||(i=a(),r.nextPart.set(t,i)),r=i}return r},w=e=>"isThemeGetter"in e&&!0===e.isThemeGetter,x=e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,r=Object.create(null),n=Object.create(null),i=(i,a)=>{r[i]=a,++t>e&&(t=0,n=r,r=Object.create(null))};return{get(e){let t=r[e];return void 0!==t?t:void 0!==(t=n[e])?(i(e,t),t):void 0},set(e,t){e in r?r[e]=t:i(e,t)}}},k="!",A=":",C=[],S=(e,t,r,n,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:r,maybePostfixModifierPosition:n,isExternal:i}),E=e=>{let{prefix:t,experimentalParseClassName:r}=e,n=e=>{let t,r=[],n=0,i=0,a=0,o=e.length;for(let s=0;s<o;s++){let o=e[s];if(0===n&&0===i){if(o===A){r.push(e.slice(a,s)),a=s+1;continue}if("/"===o){t=s;continue}}"["===o?n++:"]"===o?n--:"("===o?i++:")"===o&&i--}let s=0===r.length?e:e.slice(a),l=s,c=!1;return s.endsWith(k)?(l=s.slice(0,-1),c=!0):s.startsWith(k)&&(l=s.slice(1),c=!0),S(r,c,l,t&&t>a?t-a:void 0)};if(t){let e=t+A,r=n;n=t=>t.startsWith(e)?r(t.slice(e.length)):S(C,!1,t,void 0,!0)}if(r){let e=n;n=t=>r({className:t,parseClassName:e})}return n},_=e=>{let t=new Map;
129return e.orderSensitiveModifiers.forEach((e,r)=>{t.set(e,1e6+r)}),e=>{let r=[],n=[];for(let i=0;i<e.length;i++){let a=e[i],o="["===a[0],s=t.has(a);o||s?(n.length>0&&(n.sort(),r.push(...n),n=[]),r.push(a)):n.push(a)}return n.length>0&&(n.sort(),r.push(...n)),r}},T=e=>({cache:x(e.cacheSize),parseClassName:E(e),sortModifiers:_(e),...c(e)}),P=/\s+/,O=(e,t)=>{let{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:i,sortModifiers:a}=t,o=[],s=e.trim().split(P),l="";for(let e=s.length-1;e>=0;e-=1){let t=s[e],{isExternal:c,modifiers:u,hasImportantModifier:d,baseClassName:p,maybePostfixModifierPosition:h}=r(t);if(c){l=t+(l.length>0?" "+l:l);continue}let f=!!h,m=n(f?p.substring(0,h):p);if(!m){if(!f||!(m=n(p))){l=t+(l.length>0?" "+l:l);continue}f=!1}let g=0===u.length?"":1===u.length?u[0]:a(u).join(":"),y=d?g+k:g,v=y+m;if(o.indexOf(v)>-1)continue;o.push(v);let b=i(m,f);for(let e=0;e<b.length;++e){let t=b[e];o.push(y+t)}l=t+(l.length>0?" "+l:l)}return l},I=(...e)=>{let t,r,n=0,i="";for(;n<e.length;)(t=e[n++])&&(r=M(t))&&(i&&(i+=" "),i+=r);return i},M=e=>{let t;if("string"==typeof e)return e;let r="";for(let n=0;n<e.length;n++)e[n]&&(t=M(e[n]))&&(r&&(r+=" "),r+=t);return r},L=(e,...t)=>{let r,n,i,a,o=e=>{let t=n(e);if(t)return t;let a=O(e,r);return i(e,a),a};return a=s=>(n=(r=T(t.reduce((e,t)=>t(e),e()))).cache.get,i=r.cache.set,a=o,o(s)),(...e)=>a(I(...e))},N=[],R=e=>{let t=t=>t[e]||N;return t.isThemeGetter=!0,t},j=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,D=/^\((?:(\w[\w-]*):)?(.+)\)$/i,F=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,V=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,B=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,z=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,$=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,U=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,q=e=>F.test(e),H=e=>!!e&&!Number.isNaN(Number(e)),Y=e=>!!e&&Number.isInteger(Number(e)),W=e=>e.endsWith("%")&&H(e.slice(0,-1)),G=e=>V.test(e),K=()=>!0,J=e=>B.test(e)&&!z.test(e),X=()=>!1,Q=e=>$.test(e),Z=e=>U.test(e),ee=e=>!er(e)&&!eu(e),et=e=>ev(e,ek,X),er=e=>j.test(e),en=e=>ev(e,eA,J),ei=e=>ev(e,eC,H),ea=e=>ev(e,eE,K),eo=e=>ev(e,eS,X),es=e=>ev(e,ew,X),el=e=>ev(e,ex,Z),ec=e=>ev(e,e_,Q),eu=e=>D.test(e),ed=e=>eb(e,eA),ep=e=>eb(e,eS),eh=e=>eb(e,ew),ef=e=>eb(e,ek),em=e=>eb(e,ex),eg=e=>eb(e,e_,!0),ey=e=>eb(e,eE,!0),ev=(e,t,r)=>{let n=j.exec(e);return!!n&&(n[1]?t(n[1]):r(n[2]))},eb=(e,t,r=!1)=>{let n=D.exec(e);return!!n&&(n[1]?t(n[1]):r)},ew=e=>"position"===e||"percentage"===e,ex=e=>"image"===e||"url"===e,ek=e=>"length"===e||"size"===e||"bg-size"===e,eA=e=>"length"===e,eC=e=>"number"===e,eS=e=>"family-name"===e,eE=e=>"number"===e||"weight"===e,e_=e=>"shadow"===e;Symbol.toStringTag;let eT=()=>{let e=R("color"),t=R("font"),r=R("text"),n=R("font-weight"),i=R("tracking"),a=R("leading"),o=R("breakpoint"),s=R("container"),l=R("spacing"),c=R("radius"),u=R("shadow"),d=R("inset-shadow"),p=R("text-shadow"),h=R("drop-shadow"),f=R("blur"),m=R("perspective"),g=R("aspect"),y=R("ease"),v=R("animate"),b=()=>["auto","avoid","all","avoid-page","page","left","right","column"],w=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],x=()=>[...w(),eu,er],k=()=>["auto","hidden","clip","visible","scroll"],A=()=>["auto","contain","none"],C=()=>[eu,er,l],S=()=>[q,"full","auto",...C()],E=()=>[Y,"none","subgrid",eu,er],_=()=>["auto",{span:["full",Y,eu,er]},Y,eu,er],T=()=>[Y,"auto",eu,er],P=()=>["auto","min","max","fr",eu,er],O=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],I=()=>["start","end","center","stretch","center-safe","end-safe"],M=()=>["auto",...C()],L=()=>[q,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...C()],N=()=>[q,"screen","full","dvw","lvw","svw","min","max","fit",...C()],j=()=>[q,"screen","full","lh","dvh","lvh","svh","min","max","fit",...C()],D=()=>[e,eu,er],F=()=>[...w(),eh,es,{position:[eu,er]}],V=()=>["no-repeat",{repeat:["","x","y","space","round"]}],B=()=>["auto","cover","contain",ef,et,{size:[eu,er]}],z=()=>[W,ed,en],$=()=>["","none","full",c,eu,er],U=()=>["",H,ed,en],J=()=>["solid","dashed","dotted","double"],X=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Q=()=>[H,W,eh,es],Z=()=>["","none",f,eu,er],ev=()=>["none",H,eu,er],eb=()=>["none",H,eu,er],ew=()=>[H,eu,er],ex=()=>[q,"full",...C()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[G],breakpoint:[G],color:[K],container:[G],"drop-shadow":[G],ease:["in","out","in-out"],font:[ee],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[G],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[G],shadow:[G],spacing:["px",H],text:[G],"text-shadow":[G],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",q,er,eu,g]}
vendor: 6,076 bytes, line 129
129],container:["container"],columns:[{columns:[H,er,eu,s]}],"break-after":[{"break-after":b()}],"break-before":[{"break-before":b()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:x()}],overflow:[{overflow:k()}],"overflow-x":[{"overflow-x":k()}],"overflow-y":[{"overflow-y":k()}],overscroll:[{overscroll:A()}],"overscroll-x":[{"overscroll-x":A()}],"overscroll-y":[{"overscroll-y":A()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:S()}],"inset-x":[{"inset-x":S()}],"inset-y":[{"inset-y":S()}],start:[{"inset-s":S(),start:S()}],end:[{"inset-e":S(),end:S()}],"inset-bs":[{"inset-bs":S()}],"inset-be":[{"inset-be":S()}],top:[{top:S()}],right:[{right:S()}],bottom:[{bottom:S()}],left:[{left:S()}],visibility:["visible","invisible","collapse"],z:[{z:[Y,"auto",eu,er]}],basis:[{basis:[q,"full","auto",s,...C()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[H,q,"auto","initial","none",er]}],grow:[{grow:["",H,eu,er]}],shrink:[{shrink:["",H,eu,er]}],order:[{order:[Y,"first","last","none",eu,er]}],"grid-cols":[{"grid-cols":E()}],"col-start-end":[{col:_()}],"col-start":[{"col-start":T()}],"col-end":[{"col-end":T()}],"grid-rows":[{"grid-rows":E()}],"row-start-end":[{row:_()}],"row-start":[{"row-start":T()}],"row-end":[{"row-end":T()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":P()}],"auto-rows":[{"auto-rows":P()}],gap:[{gap:C()}],"gap-x":[{"gap-x":C()}],"gap-y":[{"gap-y":C()}],"justify-content":[{justify:[...O(),"normal"]}],"justify-items":[{"justify-items":[...I(),"normal"]}],"justify-self":[{"justify-self":["auto",...I()]}],"align-content":[{content:["normal",...O()]}],"align-items":[{items:[...I(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...I(),{baseline:["","last"]}]}],"place-content":[{"place-content":O()}],"place-items":[{"place-items":[...I(),"baseline"]}],"place-self":[{"place-self":["auto",...I()]}],p:[{p:C()}],px:[{px:C()}],py:[{py:C()}],ps:[{ps:C()}],pe:[{pe:C()}],pbs:[{pbs:C()}],pbe:[{pbe:C()}],pt:[{pt:C()}],pr:[{pr:C()}],pb:[{pb:C()}],pl:[{pl:C()}],m:[{m:M()}],mx:[{mx:M()}],my:[{my:M()}],ms:[{ms:M()}],me:[{me:M()}],mbs:[{mbs:M()}],mbe:[{mbe:M()}],mt:[{mt:M()}],mr:[{mr:M()}],mb:[{mb:M()}],ml:[{ml:M()}],"space-x":[{"space-x":C()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":C()}],"space-y-reverse":["space-y-reverse"],size:[{size:L()}],"inline-size":[{inline:["auto",...N()]}],"min-inline-size":[{"min-inline":["auto",...N()]}],"max-inline-size":[{"max-inline":["none",...N()]}],"block-size":[{block:["auto",...j()]}],"min-block-size":[{"min-block":["auto",...j()]}],"max-block-size":[{"max-block":["none",...j()]}],w:[{w:[s,"screen",...L()]}],"min-w":[{"min-w":[s,"screen","none",...L()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[o]},...L()]}],h:[{h:["screen","lh",...L()]}],"min-h":[{"min-h":["screen","lh","none",...L()]}],"max-h":[{"max-h":["screen","lh",...L()]}],"font-size":[{text:["base",r,ed,en]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,ey,ea]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",W,er]}],"font-family":[{font:[ep,eo,t]}],"font-features":[{"font-features":[er]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[i,eu,er]}],"line-clamp":[{"line-clamp":[H,"none",eu,ei]}],leading:[{leading:[a,...C()]}],"list-image":[{"list-image":["none",eu,er]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",eu,er]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:D()}],"text-color":[{text:D()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...J(),"wavy"]}],"text-decoration-thickness":[{decoration:[H,"from-font","auto",eu,en]}],"text-decoration-color":[{decoration:D()}],"underline-offset":[{"underline-offset":[H,"auto",eu,er]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:C()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",eu,er]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",eu,er]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:F()}],"bg-repeat":[{bg:V()}],"bg-size":[{bg:B()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Y,eu,er],radial:["",eu,er],conic:[Y,eu,er]},em,el]}],"bg-color":[{bg:D()}],"gradient-from-pos":[{from:z()}
129],"gradient-via-pos":[{via:z()}],"gradient-to-pos":[{to:z()}],"gradient-from":[{from:D()}],"gradient-via":[{via:D()}],"gradient-to":[{to:D()}],rounded:[{rounded:$()}],"rounded-s":[{"rounded-s":$()}],"rounded-e":[{"rounded-e":$()}],"rounded-t":[{"rounded-t":$()}],"rounded-r":[{"rounded-r":$()}],"rounded-b":[{"rounded-b":$()}],"rounded-l":[{"rounded-l":$()}],"rounded-ss":[{"rounded-ss":$()}],"rounded-se":[{"rounded-se":$()}],"rounded-ee":[{"rounded-ee":$()}],"rounded-es":[{"rounded-es":$()}],"rounded-tl":[{"rounded-tl":$()}],"rounded-tr":[{"rounded-tr":$()}],"rounded-br":[{"rounded-br":$()}],"rounded-bl":[{"rounded-bl":$()}],"border-w":[{border:U()}],"border-w-x":[{"border-x":U()}],"border-w-y":[{"border-y":U()}],"border-w-s":[{"border-s":U()}],"border-w-e":[{"border-e":U()}],"border-w-bs":[{"border-bs":U()}],"border-w-be":[{"border-be":U()}],"border-w-t":[{"border-t":U()}],"border-w-r":[{"border-r":U()}],"border-w-b":[{"border-b":U()}],"border-w-l":[{"border-l":U()}],"divide-x":[{"divide-x":U()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":U()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...J(),"hidden","none"]}],"divide-style":[{divide:[...J(),"hidden","none"]}],"border-color":[{border:D()}],"border-color-x":[{"border-x":D()}],"border-color-y":[{"border-y":D()}],"border-color-s":[{"border-s":D()}],"border-color-e":[{"border-e":D()}],"border-color-bs":[{"border-bs":D()}],"border-color-be":[{"border-be":D()}],"border-color-t":[{"border-t":D()}],"border-color-r":[{"border-r":D()}],"border-color-b":[{"border-b":D()}],"border-color-l":[{"border-l":D()}
vendor: 5,579 bytes, line 129
129],"divide-color":[{divide:D()}],"outline-style":[{outline:[...J(),"none","hidden"]}],"outline-offset":[{"outline-offset":[H,eu,er]}],"outline-w":[{outline:["",H,ed,en]}],"outline-color":[{outline:D()}],shadow:[{shadow:["","none",u,eg,ec]}],"shadow-color":[{shadow:D()}],"inset-shadow":[{"inset-shadow":["none",d,eg,ec]}],"inset-shadow-color":[{"inset-shadow":D()}],"ring-w":[{ring:U()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:D()}],"ring-offset-w":[{"ring-offset":[H,en]}],"ring-offset-color":[{"ring-offset":D()}],"inset-ring-w":[{"inset-ring":U()}],"inset-ring-color":[{"inset-ring":D()}],"text-shadow":[{"text-shadow":["none",p,eg,ec]}],"text-shadow-color":[{"text-shadow":D()}],opacity:[{opacity:[H,eu,er]}],"mix-blend":[{"mix-blend":[...X(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":X()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[H]}],"mask-image-linear-from-pos":[{"mask-linear-from":Q()}],"mask-image-linear-to-pos":[{"mask-linear-to":Q()}],"mask-image-linear-from-color":[{"mask-linear-from":D()}],"mask-image-linear-to-color":[{"mask-linear-to":D()}],"mask-image-t-from-pos":[{"mask-t-from":Q()}],"mask-image-t-to-pos":[{"mask-t-to":Q()}],"mask-image-t-from-color":[{"mask-t-from":D()}],"mask-image-t-to-color":[{"mask-t-to":D()}],"mask-image-r-from-pos":[{"mask-r-from":Q()}],"mask-image-r-to-pos":[{"mask-r-to":Q()}],"mask-image-r-from-color":[{"mask-r-from":D()}],"mask-image-r-to-color":[{"mask-r-to":D()}],"mask-image-b-from-pos":[{"mask-b-from":Q()}],"mask-image-b-to-pos":[{"mask-b-to":Q()}],"mask-image-b-from-color":[{"mask-b-from":D()}],"mask-image-b-to-color":[{"mask-b-to":D()}],"mask-image-l-from-pos":[{"mask-l-from":Q()}],"mask-image-l-to-pos":[{"mask-l-to":Q()}],"mask-image-l-from-color":[{"mask-l-from":D()}],"mask-image-l-to-color":[{"mask-l-to":D()}],"mask-image-x-from-pos":[{"mask-x-from":Q()}],"mask-image-x-to-pos":[{"mask-x-to":Q()}],"mask-image-x-from-color":[{"mask-x-from":D()}],"mask-image-x-to-color":[{"mask-x-to":D()}],"mask-image-y-from-pos":[{"mask-y-from":Q()}],"mask-image-y-to-pos":[{"mask-y-to":Q()}],"mask-image-y-from-color":[{"mask-y-from":D()}],"mask-image-y-to-color":[{"mask-y-to":D()}],"mask-image-radial":[{"mask-radial":[eu,er]}],"mask-image-radial-from-pos":[{"mask-radial-from":Q()}],"mask-image-radial-to-pos":[{"mask-radial-to":Q()}],"mask-image-radial-from-color":[{"mask-radial-from":D()}],"mask-image-radial-to-color":[{"mask-radial-to":D()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":w()}],"mask-image-conic-pos":[{"mask-conic":[H]}],"mask-image-conic-from-pos":[{"mask-conic-from":Q()}],"mask-image-conic-to-pos":[{"mask-conic-to":Q()}],"mask-image-conic-from-color":[{"mask-conic-from":D()}],"mask-image-conic-to-color":[{"mask-conic-to":D()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:F()}],"mask-repeat":[{mask:V()}],"mask-size":[{mask:B()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",eu,er]}],filter:[{filter:["","none",eu,er]}],blur:[{blur:Z()}],brightness:[{brightness:[H,eu,er]}],contrast:[{contrast:[H,eu,er]}],"drop-shadow":[{"drop-shadow":["","none",h,eg,ec]}],"drop-shadow-color":[{"drop-shadow":D()}],grayscale:[{grayscale:["",H,eu,er]}],"hue-rotate":[{"hue-rotate":[H,eu,er]}],invert:[{invert:["",H,eu,er]}],saturate:[{saturate:[H,eu,er]}],sepia:[{sepia:["",H,eu,er]}],"backdrop-filter":[{"backdrop-filter":["","none",eu,er]}],"backdrop-blur":[{"backdrop-blur":Z()}],"backdrop-brightness":[{"backdrop-brightness":[H,eu,er]}],"backdrop-contrast":[{"backdrop-contrast":[H,eu,er]}],"backdrop-grayscale":[{"backdrop-grayscale":["",H,eu,er]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[H,eu,er]}],"backdrop-invert":[{"backdrop-invert":["",H,eu,er]}],"backdrop-opacity":[{"backdrop-opacity":[H,eu,er]}],"backdrop-saturate":[{"backdrop-saturate":[H,eu,er]}],"backdrop-sepia":[{"backdrop-sepia":["",H,eu,er]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":C()}],"border-spacing-x":[{"border-spacing-x":C()}],"border-spacing-y":[{"border-spacing-y":C()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",eu,er]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[H,"initial",eu,er]}],ease:[{ease:["linear","initial",y,eu,er]}],delay:[{delay:[H,eu,er]}],animate:[{animate:["none",v,eu,er]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[m,eu,er]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:ev()}],"rotate-x":[{"rotate-x":ev()}],"rotate-y":[{"rotate-y":ev()}],"rotate-z":[{"rotate-z":ev()}],scale:[{scale:eb()}],"scale-x":[{"scale-x":eb()}],"scale-y":[{"scale-y":eb()}],"scale-z":[{"scale-z":eb()}],"scale-3d":["scale-3d"],skew:[{skew:ew()}],"skew-x":[{"skew-x":ew()}],"skew-y":[{"skew-y":ew()}],transform:[{transform:[eu,er,"","none","gpu","cpu"]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ex()}],"translate-x":[{"translate-x":ex()}],"translate-y":[{"translate-y":ex()}],"translate-z":[{"translate-z":ex()}
129],"translate-none":["translate-none"],accent:[{accent:D()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:D()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",eu,er]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":C()}],"scroll-mx":[{"scroll-mx":C()}],"scroll-my":[{"scroll-my":C()}],"scroll-ms":[{"scroll-ms":C()}],"scroll-me":[{"scroll-me":C()}],"scroll-mbs":[{"scroll-mbs":C()}],"scroll-mbe":[{"scroll-mbe":C()}],"scroll-mt":[{"scroll-mt":C()}],"scroll-mr":[{"scroll-mr":C()}],"scroll-mb":[{"scroll-mb":C()}],"scroll-ml":[{"scroll-ml":C()}],"scroll-p":[{"scroll-p":C()}],"scroll-px":[{"scroll-px":C()}],"scroll-py":[{"scroll-py":C()}],"scroll-ps":[{"scroll-ps":C()}],"scroll-pe":[{"scroll-pe":C()}],"scroll-pbs":[{"scroll-pbs":C()}],"scroll-pbe":[{"scroll-pbe":C()}],"scroll-pt":[{"scroll-pt":C()}],"scroll-pr":[{"scroll-pr":C()}],"scroll-pb":[{"scroll-pb":C()}],"scroll-pl":[{"scroll-pl":C()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",eu,er]}],fill:[{fill:["none",...D()]}],"stroke-w":[{stroke:[H,ed,en,ei]}],stroke:[{stroke:["none",...D()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},eP=(e,{cacheSize:t,prefix:r,experimentalParseClassName:n,extend:i={},override:a={}})=>(eO(e,"cacheSize",t),eO(e,"prefix",r),eO(e,"experimentalParseClassName",n),eI(e.theme,a.theme),eI(e.classGroups,a.classGroups),eI(e.conflictingClassGroups,a.conflictingClassGroups),eI(e.conflictingClassGroupModifiers,a.conflictingClassGroupModifiers),eO(e,"orderSensitiveModifiers",a.orderSensitiveModifiers),eM(e.theme,i.theme),eM(e.classGroups,i.classGroups),eM(e.conflictingClassGroups,i.conflictingClassGroups),eM(e.conflictingClassGroupModifiers,i.conflictingClassGroupModifiers),eL(e,i,"orderSensitiveModifiers"),e),eO=(e,t,r)=>{void 0!==r&&(e[t]=r)},eI=(e,t)=>{if(t)for(let r in t)eO(e,r,t[r])},eM=(e,t)=>{if(t)for(let r in t)eL(e,t,r)},eL=(e,t,r)=>{let n=t[r];void 0!==n&&(e[r]=e[r]?e[r].concat(n):n)},eN=((e,...t)=>"function"==typeof e?L(eT,e,...t):L(()=>eP(eT(),e),...t))({extend:{theme:{animate:["reverse-spin","fade-in-150","fade-in-300","fade-in","fade-in-700","fade-in-1000","fade-in-up-150","fade-in-up-300","fade-in-up","fade-in-up-700","fade-in-up-1000","x-scroll-150","x-scroll-300","x-scroll","x-scroll-700","x-scroll-1000","x-scroll-reverse-150","x-scroll-reverse-300","x-scroll-reverse","x-scroll-reverse-700","x-scroll-reverse-1000"],breakpoint:["mobileUp"],radius:["100","200","300","400","500","999"],spacing:["050","100","150","200","250","300","400","500","600","700","800","1000","2000"]},classGroups:{"font-size":[{text:["display-m","display-s","heading-l","heading-m","heading-s","heading-xs","heading-2xs","body-m","body-s","body-xs","body-2xs","caption-l","caption-m","label-m","label-s","label-xs"]}],"clamp-line":[{"clamp-line":["1","2","3","4","5"]}],"animation-play-state":["animation-paused","animation-running"],"animation-direction":["animation-reverse"]}}})},84671:e=>{e.exports={style:{fontFamily:"'Figtree'",fontStyle:"normal"},className:"__className_94ea2c",variable:"__variable_94ea2c"}},84784:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(void 0===e)return{};let r={};return Object.keys(e).filter(r=>r.match(/^on[A-Z]/)&&"function"==typeof e[r]&&!t.includes(r)).forEac
129h(t=>{r[t]=e[t]}),r}},84903:(e,t,r)=>{"use strict";r.d(t,{RC:()=>b,qr:()=>w,JO:()=>y});var n=r(55729),i=r(47749),a=r(4993);function o(e,t){void 0===e&&(e={}),void 0===t&&(t=!0);let r={on:{}},n={},o={};(0,a.e)(r,i.d),r._emitClasses=!0,r.init=!1;let s={},l=a.p.map(e=>e.replace(/_/,""));return Object.keys(Object.assign({},e)).forEach(i=>{void 0!==e[i]&&(l.indexOf(i)>=0?(0,a.i)(e[i])?(r[i]={},o[i]={},(0,a.e)(r[i],e[i]),(0,a.e)(o[i],e[i])):(r[i]=e[i],o[i]=e[i]):0===i.search(/on[A-Z]/)&&"function"==typeof e[i]?t?n[`${i[2].toLowerCase()}${i.substr(3)}`]=e[i]:r.on[`${i[2].toLowerCase()}${i.substr(3)}`]=e[i]:s[i]=e[i])}),["navigation","pagination","scrollbar"].forEach(e=>{!0===r[e]&&(r[e]={}),!1===r[e]&&delete r[e]}),{params:r,passedParams:o,rest:s,events:n}}function s(e,t){let{el:r,nextEl:n,prevEl:i,paginationEl:o,scrollbarEl:s,swiper:l}=e;(0,a.n)(t)&&n&&i&&(l.params.navigation.nextEl=n,l.originalParams.navigation.nextEl=n,l.params.navigation.prevEl=i,l.originalParams.navigation.prevEl=i),(0,a.a)(t)&&o&&(l.params.pagination.el=o,l.originalParams.pagination.el=o),(0,a.b)(t)&&s&&(l.params.scrollbar.el=s,l.originalParams.scrollbar.el=s),l.init(r)}function l(e,t,r,n,i){let o=[];if(!t)return o;let s=e=>{0>o.indexOf(e)&&o.push(e)};if(r&&n){let e=n.map(i),t=r.map(i);e.join("")!==t.join("")&&s("children"),n.length!==r.length&&s("children")}return a.p.filter(e=>"_"===e[0]).map(e=>e.replace(/_/,"")).forEach(r=>{if(r in e&&r in t)if((0,a.i)(e[r])&&(0,a.i)(t[r])){let n=Object.keys(e[r]),i=Object.keys(t[r]);n.length!==i.length?s(r):(n.forEach(n=>{e[r][n]!==t[r][n]&&s(r)}),i.forEach(n=>{e[r][n]!==t[r][n]&&s(r)}))}else e[r]!==t[r]&&s(r)}),o}let c=e=>{e&&!e.destroyed&&e.params.virtual&&(!e.params.virtual||e.params.virtual.enabled)&&(e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.parallax&&e.params.parallax&&e.params.parallax.enabled&&e.parallax.setTranslate())};function u(){return(u=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function d(e){return e.type&&e.type.displayName&&e.type.displayName.includes("SwiperSlide")}function p(e){let t=[];return n.Children.toArray(e).forEach(e=>{d(e)?t.push(e):e.props&&e.props.children&&p(e.props.children).forEach(e=>t.push(e))}),t}function h(e){let t=[],r={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return n.Children.toArray(e).forEach(e=>{if(d(e))t.push(e);else if(e.props&&e.props.slot&&r[e.props.slot])r[e.props.slot].push(e);else if(e.props&&e.props.children){let n=p(e.props.children);n.length>0?n.forEach(e=>t.push(e)):r["container-end"].push(e)}else r["container-end"].push(e)}),{slides:t,slots:r}}function f(e,t,r){if(!r)return null;let i=e=>{let r=e;return e<0?r=t.length+e:r>=t.length&&(r-=t.length),r},a=e.isHorizontal()?{[e.rtlTranslate?"right":"left"]:`${r.offset}px`}:{top:`${r.offset}px`},{from:o,to:s}=r,l=e.params.loop?-t.length:0,c=e.params.loop?2*t.length:t.length,u=[];for(let e=l;e<c;e+=1)e>=o&&e<=s&&u.push(t[i(e)]);return u.map((t,r)=>n.cloneElement(t,{swiper:e,style:a,key:`slide-${r}`}))}function m(e,t){return"undefined"==typeof window?(0,n.useEffect)(e,t):(0,n.useLayoutEffect)(e,t)}let g=(0,n.createContext)(null),y=()=>(0,n.useContext)(g),v=(0,n.createContext)(null),b=(0,n.forwardRef)(function(e,t){let{className:r,tag:d="div",wrapperTag:p="div",children:g,onSwiper:y,...b}=void 0===e?{}:e,w=!1,[x,k]=(0,n.useState)("swiper"),[A,C]=(0,n.useState)(null),[S,E]=(0,n.useState)(!1),_=(0,n.useRef)(!1),T=(0,n.useRef)(null),P=(0,n.useRef)(null),O=(0,n.useRef)(null),I=(0,n.useRef)(null),M=(0,n.useRef)(null),L=(0,n.useRef)(null),N=(0,n.useRef)(null),R=(0,n.useRef)(null),{params:j,passedParams:D,rest:F,events:V}=o(b),{slides:B,slots:z}=h(g),$=()=>{E(!S)};Object.assign(j.on,{_containerClasses(e,t){k(t)}});let U=()=>{Object.assign(j.on,V),w=!0;let e={...j};if(delete e.wrapperClass,P.current=new i.S(e),P.current.virtual&&P.current.params.virtual.enabled){P.current.virtual.slides=B;let e={cache:!1,slides:B,renderExternal:C,renderExternalUpdate:!1};(0,a.e)(P.current.params.virtual,e),(0,a.e)(P.current.originalParams.virtual,e)}};T.current||U(),P.current&&P.current.on("_beforeBreakpoint",$);let q=()=>
129{!w&&V&&P.current&&Object.keys(V).forEach(e=>{P.current.on(e,V[e])})},H=()=>{V&&P.current&&Object.keys(V).forEach(e=>{P.current.off(e,V[e])})};function Y(){return j.virtual?f(P.current,B,A):B.map((e,t)=>n.cloneElement(e,{swiper:P.current,swiperSlideIndex:t}))}return(0,n.useEffect)(()=>()=>{P.current&&P.current.off("_beforeBreakpoint",$)}),(0,n.useEffect)(()=>{!_.current&&P.current&&(P.current.emitSlidesClasses(),_.current=!0)}),m(()=>{if(t&&(t.current=T.current),T.current)return P.current.destroyed&&U(),s({el:T.current,nextEl:M.current,prevEl:L.current,paginationEl:N.current,scrollbarEl:R.current,swiper:P.current},j),y&&y(P.current),()=>{P.current&&!P.current.destroyed&&P.current.destroy(!0,!1)}},[]),m(()=>{q();let e=l(D,O.current,B,I.current,e=>e.key);return O.current=D,I.current=B,e.length&&P.current&&!P.current.destroyed&&(0,a.u)({swiper:P.current,slides:B,passedParams:D,changedParams:e,nextEl:M.current,prevEl:L.current,scrollbarEl:R.current,paginationEl:N.current}),()=>{H()}}),m(()=>{c(P.current)},[A]),n.createElement(d,u({ref:T,className:(0,a.d)(`${x}${r?` ${r}`:""}`)},F),n.createElement(v.Provider,{value:P.current},z["container-start"],n.createElement(p,{className:(0,a.w)(j.wrapperClass)},z["wrapper-start"],Y(),z["wrapper-end"]),(0,a.n)(j)&&n.createElement(n.Fragment,null,n.createElement("div",{ref:L,className:"swiper-button-prev"}),n.createElement("div",{ref:M,className:"swiper-button-next"})),(0,a.b)(j)&&n.createElement("div",{ref:R,className:"swiper-scrollbar"}),(0,a.a)(j)&&n.createElement("div",{ref:N,className:"swiper-pagination"}),z["container-end"]))});b.displayName="Swiper";let w=(0,n.forwardRef)(function(e,t){let{tag:r="div",children:i,className:o="",swiper:s,zoom:l,lazy:c,virtualIndex:d,swiperSlideIndex:p,...h}=void 0===e?{}
129:e,f=(0,n.useRef)(null),[y,v]=(0,n.useState)("swiper-slide"),[b,w]=(0,n.useState)(!1);function x(e,t,r){t===f.current&&v(r)}m(()=>{if(void 0!==p&&(f.current.swiperSlideIndex=p),t&&(t.current=f.current),f.current&&s){if(s.destroyed){"swiper-slide"!==y&&v("swiper-slide");return}return s.on("_slideClass",x),()=>{s&&s.off("_slideClass",x)}}}),m(()=>{s&&f.current&&!s.destroyed&&v(s.getSlideClasses(f.current))},[s]);let k={isActive:y.indexOf("swiper-slide-active")>=0,isVisible:y.indexOf("swiper-slide-visible")>=0,isPrev:y.indexOf("swiper-slide-prev")>=0,isNext:y.indexOf("swiper-slide-next")>=0},A=()=>"function"==typeof i?i(k):i,C=()=>{w(!0)};return n.createElement(r,u({ref:f,className:(0,a.d)(`${y}${o?` ${o}`:""}`),"data-swiper-slide-index":d,onLoad:C},h),l&&n.createElement(g.Provider,{value:k},n.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":"number"==typeof l?l:void 0},A(),c&&!b&&n.createElement("div",{className:"swiper-lazy-preloader"}))),!l&&n.createElement(g.Provider,{value:k},A(),c&&!b&&n.createElement("div",{className:"swiper-lazy-preloader"})))});w.displayName="SwiperSlide"},85076:(e,t,r)=>{"use strict";r.d(t,{g:()=>i});var n=r(2860);let i=e=>{let{markColor:t="#0033BB",wordmarkColor:r="#383B3D",...i}=e;return(0,n.FD)("svg",{width:"156",height:"18",viewBox:"0 0 156 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i,children:[(0,n.FD)("g",{transform:"translate(0, 0.16)",children:[(0,n.Y)("path",{d:"M7.28442 11.0013H0.445977V17.8399H7.28442V11.0013Z",fill:t}),(0,n.Y)("path",{d:"M21.4073 0.297329H13.2309C12.8206 0.297329 12.4876 0.630341 12.4876 1.04066V9.06861L21.4073 3.12198V0.297329Z",fill:t}),(0,n.Y)("path",{d:"M13.2309 17.8399H21.4073V15.0152L12.4876 9.06861V17.0966C12.4876 17.5069 12.8206 17.8399 13.2309 17.8399Z",fill:t}),(0,n.Y)("path",{d:"M3.86521 0C0.773042 0 0 0.773062 0 3.86531C0 6.95756 0.773042 7.73062 3.86521 7.73062C6.95738 7.73062 7.73042 6.95756 7.73042 3.86531C7.73042 0.773062 6.95738 0 3.86521 0Z",fill:t})]}),(0,n.FD)("g",{transform:"translate(29.76, 0)",children:[(0,n.Y)("path",{d:"M31.0452 2.17983e-06C26.0318 2.17983e-06 22.1072 3.91563 22.1072 8.91538V8.96569C22.1072 14.0203 25.9289 17.8308 30.9971 17.8308C36.0654 17.8308 39.9352 13.9151 39.9352 8.91538C39.9352 3.91563 36.1134 2.17983e-06 31.0452 2.17983e-06ZM36.8407 8.96569C36.8407 12.2455 34.3569 14.7179 31.0658 14.7179C27.7746 14.7179 25.2359 12.17 25.2359 8.91538C25.2359 5.66074 27.7197 3.11284 31.0109 3.11284C34.302 3.11284 36.8407 5.66074 36.8407 8.91538V8.96569Z",fill:r}),(0,n.Y)("path",{d:"M20.5451 0.814233H17.5901L14.6695 11.66L12.0073 1.77256C11.8541 1.20534 11.3418 0.811946 10.7563 0.811946H9.78881C9.20331 0.811946 8.68872 1.20534 8.53777 1.77256L5.87558 11.66L2.95494 0.814233H3.48104e-06L4.13966 16.1863C4.2929 16.7535 4.80521 17.1469 5.39071 17.1469H6.35816C6.94365 17.1469 7.45825 16.7535 7.6092 16.1863L10.2714 6.29886L12.9336 16.1863C13.0868 16.7535 13.5991 17.1469 14.1846 17.1469H15.1521C15.7376 17.1469 16.2522 16.7535 16.4031 16.1863L20.5451 0.814233Z",fill:r}),(0,n.Y)("path",{d:"M53.0471 11.7698C55.2999 11.0196 56.9238 8.87649 56.894 6.36747C56.8574 3.26836 54.2479 0.811946 51.1488 0.811946H43.5671V17.0783H46.4191V3.66633H51.1946C52.6355 3.66633 53.8957 4.73444 54.0306 6.16849C54.1861 7.81525 52.8893 9.20356 51.2746 9.20356H49.1682C48.9898 9.20356 48.8434 9.34765 48.8434 9.52834V10.7886C48.8434 11.0996 48.9555 11.4015 49.1591 11.6371L53.8705 17.0828H57.6419L53.0471 11.772V11.7698Z",fill:r}),(0,n.Y)("path",{d:"M108.482 0.814234H100.829V17.0806H103.681V3.66633H108.482C110.007 3.66633 111.249 4.90826 111.249 6.4338C111.249 7.95934 110.007 9.20127 108.482 9.20127H106.108V12.0534H108.482C111.581 12.0534 114.104 9.53062 114.104 6.43151C114.104 3.3324 111.583 0.80966 108.482 0.80966V0.814234Z",fill:r}),(0,n.Y)("path",{d:"M67.8973 0.814233H60.8187V17.0165H67.8973C71.902 17.0165 75.1589 13.7596 75.1589 9.75477V8.07599C75.1589 4.07116 71.902 0.814233 67.8973 0.814233ZM72.3068 9.75477C72.3068 12.186 70.3285 14.1644 67.8973 14.1644H63.673V3.66633H67.8973C70.3285 3.66633 72.3068 5.64473 72.3068 8.07599V9.75477Z",fill:r}),(0,n.Y)("path",{d:"M94.2288 11.2689C94.2288 13.1306 92.7193 14.6402 90.8576 14.6402H89.2863C87.4246 14.6402 85.9151 13.1306 85.9151 11.2689V0.814233H83.0631V11.2712C83.0631 14.7088 85.8488 17.4945 89.2863 17.4945H90.8576C94.2951 17.4945 97.0808 14.7088 97.0808 11.2712V0.814233H94.2288V11.2712V11.2689Z",fill:r}),(0,n.Y)("path",{d:"M122.215 5.42857V1.42857H122.718L124.101 3.47428L125.483 1.42857H125.981V5.42857H125.501V2.20571L124.101 4.29143L122.701 2.21714V5.42857H122.215Z",fill:r}),(0,n.Y)("path",{d:"M119.868 5.42857V1.86857H118.593V1.42857H121.622V1.86857H120.348V5.42857H119.868Z",fill:r})]})]})}},85103:(e,t,r)=>{"use strict";function n(e,t){let r={...t};for(let i in e)if(Object.prototype.hasOwnProperty.call(e,i)){let a=i;if("components"===a||"slots"===a)r[a]={...e[a],...r[a]};else if("componentsProps"===a||"slotProps"===a){let i=e[a],o=t[a];if(o)if(i){for(let e in r[a]={...o},i)if(Object.prototype.hasOwnProperty.call(i,e)){let t=e;r[a][t]=n(i[t],o[t])}}else r[a]=o;else r[a]=i||{}}else void 0===r[a]&&(r[a]=e[a])}return r}r.d(t,{A:()=>n})},85137:(e,t)=>{"use strict";
129Object.defineProperty(t,"__esModule",{value:!0}),t.isKeyword=u,t.isReservedWord=o,t.isStrictBindOnlyReservedWord=l,t.isStrictBindReservedWord=c,t.isStrictReservedWord=s;let r={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"],strictBind:["eval","arguments"]},n=new Set(r.keyword),i=new Set(r.strict),a=new Set(r.strictBind);function o(e,t){return t&&"await"===e||"enum"===e}function s(e,t){return o(e,t)||i.has(e)}function l(e){return a.has(e)}function c(e,t){return s(e,t)||l(e)}function u(e){return n.has(e)}},85486:(e,t,r)=>{"use strict";r.d(t,{dk:()=>o,Vo:()=>n.Vo,XZ:()=>c.XZ});var n=r(76049);let i=async e=>{let t="https://shop.wordup.com.tw",r=await fetch("https://vimeo.com/api/oembed.json?url=".concat(encodeURIComponent(e)),{...t&&{headers:{Referer:t}}});return await r.json()},a=async function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"mqdefault",r=l(e);return r?"https://img.youtube.com/vi/".concat(r,"/").concat(t,".jpg"):""},o=async e=>{try{switch(s(e)){case"vimeo":var t;return(null==(t=await i(e))?void 0:t.thumbnail_url)||"";case"youtube":return await a(e);default:return""}}catch(e){return""}},s=e=>(0,n.Ty)(e)?"youtube":(0,n.QN)(e)?"vimeo":"other",l=e=>{let t=/(youtu\.be\/|youtube\.com\/(watch\?(.*&)?v=|(embed|v)\/))([^?&"'>]+)/,r=e.match(t);return r&&r[5]?r[5]:null};var c=r(44883);r(21041)},85596:(e,t,r)=>{"use strict";var n=r(55729);function i(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t}var a="function"==typeof Object.is?Object.is:i,o=n.useState,s=n.useEffect,l=n.useLayoutEffect,c=n.useDebugValue;function u(e,t){var r=t(),n=o({inst:{value:r,getSnapshot:t}}),i=n[0].inst,a=n[1];return l(function(){i.value=r,i.getSnapshot=t,d(i)&&a({inst:i})},[e,r,t]),s(function(){return d(i)&&a({inst:i}),e(function(){d(i)&&a({inst:i})})},[e]),c(r),r}function d(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!a(e,r)}catch(e){return!0}}function p(e,t){return t()}var h="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?p:u;t.useSyncExternalStore=void 0!==n.useSyncExternalStore?n.useSyncExternalStore:h},85739:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(58309);let i=[["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}],["path",{d:"M9 9.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997A1 1 0 0 1 9 14.996z",key:"kmsa83"}]],a=(0,n.A)("square-play",i)},85837:(e,t,r)=>{"use strict";let{ifAbsUrl:n}=r(40623),i=e=>e.startsWith("/")?e.slice(1):e;e.exports=e=>{let{src:t,width:r,quality:a}=e,o=n(t)?new URL(t).origin:"",s=["width=".concat(r)];a&&s.push("quality=".concat(a));let l=s.join(",");return"".concat(o,"/cdn-cgi/image/").concat(l,"/").concat(i(t))}},85966:(e,t,r)=>{"use strict";function n(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}r.d(t,{_:()=>n})},86302:()=>{},86335:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});var n=r(98115),i=r(63322),a=r(92160);let o=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t};var s=Object.prototype.hasOwnProperty;let l=function(e){if(!(0,i.A)(e))return o(e);var t=(0,a.A)(e),r=[];for(var n in e)"constructor"==n&&(t||!s.call(e,n))||r.push(n);return r};var c=r(74309);let u=function(e){return(0,c.A)(e)?(0,n.A)(e,!0):l(e)}},86528:(e,t,r)=>{"use strict";r.d(t,{F0:()=>L.F0,oR:()=>M.o}),r(34416),r(15003);var n=r(55729),i=r(24150);r(30479),r(57136),r(26766),r(59006),r(34817),r(84903),r(58650),r(68106),r(15553),r(79843);var a=r(9428);(0,i.A)("div",{target:"e15r0tpm0"})("display:flex;align-items:center;gap:8px;font-weight:500;line-height:150%;letter-spacing:0.01em;font-size:",a.A.fontSize.l,";");var o=r(83224);let s={en:{how_to_learn_after_purchase:"How to start learning after purchase?",for_self_usage:"Bind to current account: The materials will be immediately delivered to your account upon order completion, allowing you to start learning right away!",redemption_code:"Redemption code: Enter the redemption code in WORD UP APP or website to redeem the material. Each redemption code can only be used once. Please keep it carefully!",desc:{pre:"After successful payment, you can synchronize the order details in your account's ",link_text:"order history",post:" and view the information."}},"zh-TW":{how_to_learn_after_purchase:"購買å¾å¦ä½éå§å¸ç¿ï¼",for_self_usage:"ç
129¶å®ç®å帳èï¼ææå°å¨è¨å®å®æå¾ç«å³æ´¾éè³æ¨ç¾å¨ç»å
¥ç帳èï¼é¦¬ä¸å°±è½éå§å¸ç¿ï¼",redemption_code:"ææå
æç¢¼ï¼æ¼ WORD UP APP æç¶²é 輸å
¥å
æç¢¼å³å¯å
æææï¼æ¯çµå
æç¢¼å
é使ç¨ä¸æ¬¡ï¼è«å°å¿ä¿ç®¡èè½è´ï¼",desc:{pre:"仿¬¾æåå¾ï¼æ¨å¯ä»¥åæ¥æ¼å¸³æ¶ç",link_text:"購買ç´é",post:"ä¸çå°è¨å®è©³ç´°è³è¨ï¼"}}},{LocaleProvider:l,useLocaleContext:c}=(0,o.A)({locales:s});(0,i.A)("div",{target:"ebdhlos1"})("letter-spacing:0.0025em;line-height:175%;font-size:",a.A.fontSize.sm,";font-weight:400;");let u={en:{title:"Convenience Store Payment Tutorial",payment:"Payment",tutorial:"Tutorial"},"zh-TW":{title:"è¶
å繳費æ¥é©",payment:"繳款",tutorial:"æ¥é©"}},{LocaleProvider:d,useLocaleContext:p}=(0,o.A)({locales:u});(0,i.A)("div",{target:"ex2sm2w0"})("width:100%;display:flex;align-items:center;justify-content:space-between;padding:",a.A.distance.sm," 0;&:not(:last-child){border-bottom:1px solid ",a.A.color.palette["grayscale-100"],";}&:last-child{padding-bottom:0;}"),(0,i.A)("div",{target:"ex2sm2w1"})("display:flex;gap:",a.A.distance.s,";align-items:center;"),(0,i.A)("a",{target:"ex2sm2w3"})("color:",a.A.color.palette["grayscale-400"]," !important;"),r(47126);let h={en:{cvs:{code:"Payment Code",amount:"Payment Amount",deadline:"Payment Deadline"},vacc:{code:"Account",amount:"Transfer Amount",bank_code:"Bank Code",deadline:"Transfer Deadline"},bnpl:{amount:"Transfer Amount"}},"zh-TW":{cvs:{code:"繳費代碼",amount:"繳費éé¡",deadline:"繳款æé"},vacc:{code:"帳è",amount:"æä»æ¬¾éé¡",bank_code:"éè¡ä»£ç¢¼",deadline:"繳款æé"},bnpl:{amount:"æä»æ¬¾éé¡"}}},{LocaleProvider:f,useLocaleContext:m}=(0,o.A)({locales:h});r(48945),r(50993),r(87233);let g={en:{need_help:"Need Help?",if_you_have_any_questions:"If you have any questions, please email us at",common_faq_after_purchase:"[email protected]",to_get_help:"or use the chat function to contact customer service!"},"zh-TW":{need_help:"éè¦åå©åï¼",if_you_have_any_questions:"妿æ¨éå°åé¡ï¼å¯ä»¥ä¾ä¿¡",common_faq_after_purchase:"[email protected]",to_get_help:"æå©ç¨èèåè½è客æè¯ç¹«ï¼"}},{LocaleProvider:y,useLocaleContext:v}=(0,o.A)({locales:g});(0,i.A)("div",{target:"em5ayv50"})("display:flex;flex-direction:column;gap:",a.A.distance.xs,";width:100%;"),(0,i.A)("div",{target:"em5ayv51"})("column-gap:",a.A.distance.xs,";letter-spacing:0.0025em;line-height:175%;font-size:",a.A.fontSize.sm,";font-weight:400;a{padding:0 0.25rem;color:",a.A.color.palette["primary-500"],";}");let b={en:{hint:'Please complete the payment within the payment deadline. After the payment is successful, you can see the order details and redeem teaching materials in "Account > Purchase History > Order Details"!'},"zh-TW":{hint:"è«å¨ç¹³æ¬¾æéå
§å®æä»æ¬¾ï¼ä»æ¬¾æåå¾å¯ä»¥æ¼ãå¸³æ¶ > 購買è¨é > è¨å®è©³æ
ãä¸çå°è¨å®æç´°ä¸¦å
æææï¼"}},{LocaleProvider:w,useLocaleContext:x}=(0,o.A)({locales:b});function k(){return(k=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}function A(e,t){if(null==e)return{};var r={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(-1!==t.indexOf(n))continue;r[n]=e[n]}return r}let C={position:"absolute",bottom:0,left:0,height:0,overflow:"hidden","padding-top":0,"padding-bottom":0,border:"none"},S=["box-sizing","width","font-size","font-weight","font-family","font-style","letter-spacing","text-indent","white-space","word-break","overflow-wrap","padding-left","padding-right"];function E(e,t){if(!e||"object"!=typeof e)return e;let r={};return Object.keys(e).forEach(n=>{t.indexOf(n)>-1||(r[n]=e[n])}),r}let _=["component","ellipsis","trimRight","className"];function T(e,t){for(;e&&t--;)e=e.previousElementSibling;return e}let P={basedOn:void 0,className:"",component:"div",ellipsis:"â¦",maxLine:1,onReflow(){},text:"",trimRight:!0,winWidth:void 0},O=Object.keys(P);class I extends n.PureComponent{constructor(e){super(e),this.state={text:e.text,clamped:!1},this.units=[],this.maxLine=0,this.canvas=null}componentDidMount(){this.initCanvas(),this.reflow(this.props)}componentDidUpdate(e){e.winWidth!==this.props.winWidth&&this.copyStyleToCanvas(),this.props!==e&&this.reflow(this.props)}componentWillUnmount(){this.canvas&&(this.canvas.parentNode.removeChild(this.canvas),this.canvas=null)}setState(e,t){return void 0!==e.clamped&&(this.clamped=e.clamped),super.setState(e,t)}initCanvas(){if(this.canvas)return;let e=this.canvas=document.createElement("div");e.className=`LinesEllipsis-canvas ${this.props.className}`,e.setAttribute("aria-hidden","true"),this.copyStyleToCanvas(),Object.keys(C).forEac
129h(t=>{e.style[t]=C[t]}),document.body.appendChild(e)}copyStyleToCanvas(){let e=window.getComputedStyle(this.target);S.forEach(t=>{this.canvas.style[t]=e[t]})}reflow(e){let t=e.basedOn||(/^[\x00-\x7F]+$/.test(e.text)?"words":"letters");switch(t){case"words":this.units=e.text.split(/\b|(?=\W)/);break;case"letters":this.units=Array.from(e.text);break;default:throw Error(`Unsupported options basedOn: ${t}`)}this.maxLine=+e.maxLine||1,this.canvas.innerHTML=this.units.map(e=>`<span class='LinesEllipsis-unit'>${e}</span>`).join("");let r=this.putEllipsis(this.calcIndexes()),n=r>-1,i={clamped:n,text:n?this.units.slice(0,r).join(""):e.text};this.setState(i,e.onReflow.bind(this,i))}calcIndexes(){let e=[0],t=this.canvas.firstElementChild;if(!t)return e;let r=0,n=1,i=t.offsetTop;for(;(t=t.nextElementSibling)&&(t.offsetTop>i&&(n++,e.push(r),i=t.offsetTop),r++,!(n>this.maxLine)););return e}putEllipsis(e){if(e.length<=this.maxLine)return -1;let t=e[this.maxLine],r=this.units.slice(0,t),n=this.canvas.children[t].offsetTop;this.canvas.innerHTML=r.map((e,t)=>`<span class='LinesEllipsis-unit'>${e}</span>`).join("")+`<wbr><span class='LinesEllipsis-ellipsis'>${this.props.ellipsis}</span>`;let i=this.canvas.lastElementChild,a=T(i,2);for(;a&&(i.offsetTop>n||i.offsetHeight>a.offsetHeight||i.offsetTop>a.offsetTop);)this.canvas.removeChild(a),a=T(i,2),r.pop();return r.length}isClamped(){return this.clamped}render(){let{text:e,clamped:t}=this.state,r=this.props,{component:i,ellipsis:a,trimRight:o,className:s}=r,l=A(r,_);return n.createElement(i,k({className:`LinesEllipsis ${t?"LinesEllipsis--clamped":""} ${s}`,ref:e=>this.target=e},E(l,O)),t&&o?e.replace(/[\s\uFEFF\xA0]+$/,""):e,n.createElement("wbr",null),t&&n.createElement("span",{className:"LinesEllipsis-ellipsis"},a))}}I.defaultProps=P,r(50583),r(29733),r(50463),r(66946),r(53565),(0,i.A)("button",{target:"eyxsnf41"})("border:none;padding:0;max-height:6.938rem;height:6.938rem;display:flex;align-items:center;background-color:",a.A.color.palette["grayscale-100"],";width:100%;max-width:20.063rem;cursor:pointer;"),(0,i.A)("div",{target:"eyxsnf42"})("background-color:",a.A.color.palette["grayscale-100"],";height:100%;clip-path:polygon(0 0,76% 0,100% 100%,0% 100%);min-width:105px;max-width:105px;"),(0,i.A)("div",{target:"eyxsnf44"})("font-size:",a.A.fontSize.sm,";font-weight:bold;color:",a.A.color.palette["grayscale-800"],";-webkit-line-clamp:2;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;word-break:break-word;-webkit-box-orient:vertical;"),(0,i.A)("div",{target:"eyxsnf45"})("font-size:",a.A.fontSize.sm,";color:",a.A.color.palette["grayscale-800"],";-webkit-line-clamp:2;text-overflow:ellipsis;overflow:hidden;display:-webkit-box;word-break:break-word;-webkit-box-orient:vertical;line-height:1.5;letter-spacing:1.17px;white-space:pre-line;"),r(5538),r(77475),r(74961);var M=r(47580);r(80639),r(85486),(0,i.A)("a",{target:"e13t24is0"})("text-decoration:none;color:",a.A.color.palette["grayscale-400"],";text-underline-offset:2px;&:hover{text-decoration:underline;}"),a.A.color.palette,r(97765),a.A.color.palette,a.A.color.palette,a.A.color.palette,r(26732);var L=r(12647)},86922:(e,t,r)=>{"use strict";function n(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];let i=new URL("https://mui.com/production-error/?code=".concat(e));return r.forEach(e=>i.searchParams.append("args[]",e)),"Minified MUI error #".concat(e,"; visit ").concat(i," for the full message.")}r.d(t,{A:()=>n})},87033:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});var n=r(20920),i=r(50825),a=r(84153);let o=function(e){return(0,n.A)(e,a.A,i.A)}},87190:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>s,BO:()=>o,Yn:()=>a});var n=r(65671),i=r(62942);function a(e,t,r=!0){if(!t||"string"!=typeof t)return null;if(e&&e.vars&&r){let r=`vars.${t}`.split(".").reduce((e,t)=>e&&e[t]?e[t]:null,e);if(null!=r)return r}return t.split(".").reduce((e,t)=>e&&null!=e[t]?e[t]:null,e)}function o(e,t,r,n=r){let i;return i="function"==typeof e?e(r):Array.isArray(e)?e[r]||n:a(e,r)||n,t&&(i=t(i,n,e)),i}let s=function(e){let{prop:t,cssProperty:r=e.prop,themeKey:s,transform:l}=e,c=e=>{if(null==e[t])return null;
129let c=e[t],u=a(e.theme,s)||{},d=e=>{let i=o(u,l,e);return(e===i&&"string"==typeof e&&(i=o(u,l,`${t}${"default"===e?"":(0,n.A)(e)}`,e)),!1===r)?i:{[r]:i}};return(0,i.NI)(e,c,d)};return c.propTypes={},c.filterProps=[t],c}},87233:(e,t,r)=>{"use strict";r.d(t,{f:()=>n});let n={background:"linear-gradient(225deg, #72AFFF 0%, #C890FF 100%)",backgroundClip:"text",WebkitBackgroundClip:"text",color:"transparent",WebkitTextFillColor:"transparent"}},87291:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n={50:"#e3f2fd",100:"#bbdefb",200:"#90caf9",300:"#64b5f6",400:"#42a5f5",500:"#2196f3",600:"#1e88e5",700:"#1976d2",800:"#1565c0",900:"#0d47a1",A100:"#82b1ff",A200:"#448aff",A400:"#2979ff",A700:"#2962ff"}},87883:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(58309);let i=[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]],a=(0,n.A)("play",i)},87905:(e,t,r)=>{"use strict";r.d(t,{C:()=>u,E:()=>y,T:()=>p,c:()=>m,h:()=>h,w:()=>d});var n=r(55729),i=r(81245),a=r(34215),o=r(38260),s=r(44930),l=!1,c=n.createContext("undefined"!=typeof HTMLElement?(0,i.A)({key:"css"}):null),u=c.Provider,d=function(e){return(0,n.forwardRef)(function(t,r){return e(t,(0,n.useContext)(c),r)})},p=n.createContext({}),h={}.hasOwnProperty,f="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",m=function(e,t){var r={};for(var n in t)h.call(t,n)&&(r[n]=t[n]);return r[f]=e,r},g=function(e){var t=e.cache,r=e.serialized,n=e.isStringTag;return(0,a.SF)(t,r,n),(0,s.s)(function(){return(0,a.sk)(t,r,n)}),null},y=d(function(e,t,r){var i=e.css;"string"==typeof i&&void 0!==t.registered[i]&&(i=t.registered[i]);var s=e[f],c=[i],u="";"string"==typeof e.className?u=(0,a.Rk)(t.registered,c,e.className):null!=e.className&&(u=e.className+" ");var d=(0,o.J)(c,void 0,n.useContext(p));u+=t.key+"-"+d.name;var m={};for(var y in e)h.call(e,y)&&"css"!==y&&y!==f&&!l&&(m[y]=e[y]);return m.className=u,r&&(m.ref=r),n.createElement(n.Fragment,null,n.createElement(g,{cache:t,serialized:d,isStringTag:"string"==typeof s}),n.createElement(s,m))})},87971:(e,t,r)=>{"use strict";r.d(t,{A:()=>y});var n=r(13365);let i=r(41658).A["__core-js_shared__"];var a=function(){var e=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();let o=function(e){return!!a&&a in e};var s=r(63322),l=r(22838),c=/[\\^$.*+?()[\]{}|]/g,u=/^\[object .+?Constructor\]$/,d=Object.prototype,p=Function.prototype.toString,h=d.hasOwnProperty,f=RegExp("^"+p.call(h).replace(c,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");let m=function(e){return!(!(0,s.A)(e)||o(e))&&((0,n.A)(e)?f:u).test((0,l.A)(e))},g=function(e,t){return null==e?void 0:e[t]},y=function(e,t){var r=g(e,t);return m(r)?r:void 0}},88112:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=r(55729).createContext(void 0)},88207:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>l,Qw:()=>s,UL:()=>o});var n=r(77464),i=r(76891);let a=[...Array(25)].map((e,t)=>{if(0===t)return"none";let r=(0,i.A)(t);return"linear-gradient(rgba(255 255 255 / ".concat(r,"), rgba(255 255 255 / ").concat(r,"))")});function o(e){return{inputPlaceholder:"dark"===e?.5:.42,inputUnderline:"dark"===e?.7:.42,switchTrackDisabled:"dark"===e?.2:.12,switchTrack:"dark"===e?.3:.38}}function s(e){return"dark"===e?a:[]}function l(e){let{palette:t={mode:"light"},opacity:r,overlays:i,...a}=e,l=(0,n.Ay)(t);return{palette:l,opacity:{...o(l.mode),...r},overlays:i||s(l.mode),...a}}},88273:(e,t,r)=>{"use strict";r.d(t,{A:()=>o}),r(55729);var n=r(68076),i=r(47759),a=r(13934);function o(){let e=(0,n.A)(i.A);return e[a.A]||e}},88607:(e,t,r)=>{"use strict";r.d(t,{A:()=>o,E:()=>a});var n=r(11722),i=r(91206);function a(e){return(0,i.Ay)("MuiTooltip",e)}let o=(0,n.A)("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"])},88846:(e,t,r)=>{"use strict";r.d(t,{w:()=>i});var n=r(70238);function i(e,t){return"function"==typeof e?e(t):e&&"object"==typeof e&&n._P in e?e[n._P](t):e instanceof Date?new e.constructor(t):new Date(t)}},89035:(e,t,r)=>{"use strict";r.d(t,{A:()=>
129o});var n=r(55729),i=r(2657),a=r(6029);function o(e,t){function r(r,n){return(0,a.jsx)(i.A,{"data-testid":"".concat(t,"Icon"),ref:n,...r,children:e})}return r.muiName=i.A.muiName,n.memo(n.forwardRef(r))}},89565:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(58309);let i=[["path",{d:"M13 7 8.7 2.7a2.41 2.41 0 0 0-3.4 0L2.7 5.3a2.41 2.41 0 0 0 0 3.4L7 13",key:"orapub"}],["path",{d:"m8 6 2-2",key:"115y1s"}],["path",{d:"m18 16 2-2",key:"ee94s4"}],["path",{d:"m17 11 4.3 4.3c.94.94.94 2.46 0 3.4l-2.6 2.6c-.94.94-2.46.94-3.4 0L11 17",key:"cfq27r"}],["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]],a=(0,n.A)("pencil-ruler",i)},89974:(e,t,r)=>{"use strict";r.d(t,{a:()=>k,b:()=>y,c:()=>g,d:()=>o,e:()=>m,f:()=>C,g:()=>x,h:()=>l,i:()=>A,j:()=>c,k:()=>f,l:()=>w,m:()=>b,n:()=>a,o:()=>v,p:()=>h,q:()=>d,r:()=>i,s:()=>p});var n=r(6587);function i(e){let t=e;Object.keys(t).forEach(e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}})}function a(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function o(){return Date.now()}function s(e){let t,r=(0,n.a)();return r.getComputedStyle&&(t=r.getComputedStyle(e,null)),!t&&e.currentStyle&&(t=e.currentStyle),t||(t=e.style),t}function l(e,t){let r,i,a;void 0===t&&(t="x");let o=(0,n.a)(),l=s(e);return o.WebKitCSSMatrix?((i=l.transform||l.webkitTransform).split(",").length>6&&(i=i.split(", ").map(e=>e.replace(",",".")).join(", ")),a=new o.WebKitCSSMatrix("none"===i?"":i)):r=(a=l.MozTransform||l.OTransform||l.MsTransform||l.msTransform||l.transform||l.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===t&&(i=o.WebKitCSSMatrix?a.m41:16===r.length?parseFloat(r[12]):parseFloat(r[4])),"y"===t&&(i=o.WebKitCSSMatrix?a.m42:16===r.length?parseFloat(r[13]):parseFloat(r[5])),i||0}function c(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function u(e){return"undefined"!=typeof window&&void 0!==window.HTMLElement?e instanceof HTMLElement:e&&(1===e.nodeType||11===e.nodeType)}function d(){let e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let r=1;r<arguments.length;r+=1){let n=r<0||arguments.length<=r?void 0:arguments[r];if(null!=n&&!u(n)){let r=Object.keys(Object(n)).filter(e=>0>t.indexOf(e));for(let t=0,i=r.length;t<i;t+=1){let i=r[t],a=Object.getOwnPropertyDescriptor(n,i);void 0!==a&&a.enumerable&&(c(e[i])&&c(n[i])?n[i].__swiper__?e[i]=n[i]:d(e[i],n[i]):!c(e[i])&&c(n[i])?(e[i]={},n[i].__swiper__?e[i]=n[i]:d(e[i],n[i])):e[i]=n[i])}}}return e}function p(e,t,r){e.style.setProperty(t,r)}function h(e){let t,{swiper:r,targetPosition:i,side:a}=e,o=(0,n.a)(),s=-r.translate,l=null,c=r.params.speed;r.wrapperEl.style.scrollSnapType="none",o.cancelAnimationFrame(r.cssModeFrameID);let u=i>s?"next":"prev",d=(e,t)=>"next"===u&&e>=t||"prev"===u&&e<=t,p=()=>{t=new Date().getTime(),null===l&&(l=t);let e=s+(.5-Math.cos(Math.max(Math.min((t-l)/c,1),0)*Math.PI)/2)*(i-s);if(d(e,i)&&(e=i),r.wrapperEl.scrollTo({[a]:e}),d(e,i)){r.wrapperEl.style.overflow="hidden",r.wrapperEl.style.scrollSnapType="",setTimeout(()=>{r.wrapperEl.style.overflow="",r.wrapperEl.scrollTo({[a]:e})}),o.cancelAnimationFrame(r.cssModeFrameID);return}r.cssModeFrameID=o.requestAnimationFrame(p)};p()}function f(e){return e.querySelector(".swiper-slide-transform")||e.shadowRoot&&e.shadowRoot.querySelector(".swiper-slide-transform")||e}function m(e,t){return void 0===t&&(t=""),[...e.children].filter(e=>e.matches(t))}function g(e,t){void 0===t&&(t=[]);let r=document.createElement(e);return r.classList.add(...Array.isArray(t)?t:[t]),r}function y(e){let t=(0,n.a)(),r=(0,n.g)(),i=e.getBoundingClientRect(),a=r.body,o=e.clientTop||a.clientTop||0,s=e.clientLeft||a.clientLeft||0,l=e===t?t.scrollY:e.scrollTop,c=e===t?t.scrollX:e.scrollLeft;return{top:i.top+l-o,left:i.left+c-s}}function v(e,t){let r=[];for(;e.previousElementSibling;){let n=e.previousElementSibling;t?n.matches(t)&&r.push(n):r.push(n),e=n}return r}function b(e,t){let r=[];for(;e.nextElementSibling;){let n=e.nextElementSibling;t?n.matches(t)&&r.push(n):r.push(n),e=n}return r}function w(e,t){return(0,n.a)().getComputedStyle(e,null).getPropertyValue(t)}function x(e){let t,r=e;if(r){for(t=0;null!==(r=r.previousSibling);)1===r.nodeType&&(t+=1);return t}}function k(e,t){let r=[],n=e.parentElement;for(;n;)t?n.matches(t)&&r.push(n):r.push(n),n=n.parentElement;return r}function A(e,t){function r(n){n.target===e&&(t.call(e,n),e.removeEventListener("transitionend",r))}t&&e.addEventListener("transitionend",r)}function C(e,t,r){let i=(0,n.a)();return r?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(i.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(i.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}},91117:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(55729);let i="undefined"!=typeof window?n.useLayoutEffect:n.useEffect},91206:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>a});var n=r(34168);let i={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function a(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Mui",a=i[t];return a?"".concat(r,"-").concat(a):"".concat(n.A.generate(e),"-").concat(t)}},91371:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=r(578).A},91609:(e,t,r)=>{"use strict";
129Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"useMergedRef",{enumerable:!0,get:function(){return i}});let n=r(55729);function i(e,t){let r=(0,n.useRef)(null),i=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=r.current;e&&(r.current=null,e());let t=i.current;t&&(i.current=null,t())}else e&&(r.current=a(e,n)),t&&(i.current=a(t,n))},[e,t])}function a(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let r=e(t);return"function"==typeof r?r:()=>e(null)}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},91632:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(58309);let i=[["path",{d:"M12 3q1 4 4 6.5t3 5.5a1 1 0 0 1-14 0 5 5 0 0 1 1-3 1 1 0 0 0 5 0c0-2-1.5-3-1.5-5q0-2 2.5-4",key:"1slcih"}]],a=(0,n.A)("flame",i)},91796:(e,t,r)=>{"use strict";r.d(t,{A:()=>d});let n=function(e,t){return null!=e&&t in Object(e)};var i=r(80465),a=r(52577),o=r(80090),s=r(7310),l=r(24069),c=r(29194);let u=function(e,t,r){t=(0,i.A)(t,e);for(var n=-1,u=t.length,d=!1;++n<u;){var p=(0,c.A)(t[n]);if(!(d=null!=e&&r(e,p)))break;e=e[p]}return d||++n!=u?d:!!(u=null==e?0:e.length)&&(0,l.A)(u)&&(0,s.A)(p,u)&&((0,o.A)(e)||(0,a.A)(e))},d=function(e,t){return null!=e&&u(e,t,n)}},92160:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=Object.prototype;let i=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||n)}},92352:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return r(20788)}])},92625:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isIdentifierChar=u,t.isIdentifierName=d,t.isIdentifierStart=c;let r="\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-ËË-ËË -ˤˬˮͰ-ʹͶͷͺ-ͽͿÎÎ-ÎÎÎ-ΡΣ-ϵϷ-ÒÒ-Ô¯Ô±-ÕÕÕ -Ö×-תׯ-×²Ø -Ùٮٯٱ-ÛÛÛ¥Û¦Û®Û¯Ûº-Û¼Û¿ÜÜ-ܯÝ-Þ¥Þ±ß-ߪߴߵߺà -à à à ¤à ¨à¡-à¡à¡ -ࡪࡰ-à¢à¢-à¢à¢ -à£à¤-हऽà¥à¥-ॡॱ-à¦à¦
-à¦à¦à¦à¦-নপ-রলশ-হঽà§à§à§à§-ৡৰৱৼà¨
-à¨à¨à¨à¨-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹà©-à©à©à©²-à©´àª
-àªàª-àªàª-નપ-રલળવ-હઽà«à« ૡૹà¬
-à¬à¬à¬à¬-ନପ-ରଲଳଵ-ହଽààà-à¡à±à®à®
-à®à®-à®à®-à®à®à®à®à®à®à®£à®¤à®¨-பம-ஹà¯à°
-à°à°-à°à°-నప-హఽà±-à±à±à±à± ౡà²à²
-à²à²-à²à²-ನಪ-ಳವ-ಹಽà³-à³à³ ೡೱೲà´-à´à´-à´à´-ഺഽàµàµ-àµàµ-ൡൺ-ൿà¶
-à¶à¶-නඳ-රලà·-à·à¸-ะาำà¹-à¹àºàºàºàº-àºàº-ຣລວ-ະາຳຽà»-à»à»à»-à»à¼à½-à½à½-ཬà¾-à¾á-áªá¿á-áá-áá¡á¥á¦á®-á°áµ-ááá -á
ááá-áºá¼-áá-áá-ááá-áá -áá-áá-á°á²-áµá¸-á¾áá-á
á-áá-áá-áá-áá-áá -áµá¸-á½á-á¬á¯-á¿á-áá -áªá®-á¸á-áá-á±á-áá -á¬á®-á°á-á³ááá -ᡸá¢-ᢨᢪᢰ-ᣵá¤-á¤á¥-á¥á¥°-ᥴá¦-ᦫᦰ-á§á¨-á¨á¨ -á©áª§á¬
-ᬳá
-áá®-ᮠᮮᮯᮺ-ᯥá°-á°£á±-á±á±-á±½á²-á²á²-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺá´-á¶¿á¸-á¼á¼-á¼á¼ -á½
á½-á½á½-á½á½á½á½á½-á½½á¾-á¾´á¾¶-ᾼιá¿-á¿á¿-á¿á¿-á¿á¿-á¿á¿ -Ῥῲ-á¿´á¿¶-ῼâ±â¿â-ââââ-âââ-ââ¤â¦â¨âª-â¹â¼-â¿â
-â
â
â
-ââ°-ⳤⳫ-ⳮⳲⳳâ´-ⴥⴧâ´â´°-ⵧⵯâ¶-â¶â¶ -ⶦⶨ-ⶮⶰ-ⶶⶸ-â¶¾â·-â·â·-â·â·-â·â·-â·ã
-ãã¡-ã©ã±-ãµã¸-ã¼ã-ãã-ãã¡-ãºã¼-ã¿ã
-ã¯ã±-ãã -ã¿ã°-ã¿ã-ä¶¿ä¸-êê-ê½ê-êê-êêªê«ê-ê®ê¿-êê -ê¯ê-êê¢-êê-êê±-ê ê -ê
ê -ê ê -ê ¢ê¡-ꡳê¢-ꢳꣲ-ꣷꣻꣽꣾê¤-ꤥꤰ-ê¥ê¥ -ꥼê¦-ꦲê§ê§ -ꧤꧦ-ꧯꧺ-ê§¾ê¨-ꨨê©-ê©ê©-ê©ê© -ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽê«ê«ê«-ê«ê« -ꫪꫲ-ê«´ê¬-ê¬ê¬-ê¬ê¬-ê¬ê¬ -ꬦꬨ-ꬮꬰ-êê-ê©ê°-ꯢê°-í£í°-íí-í»ï¤-ï©ï©°-ï«ï¬-ï¬ï¬-ï¬ï¬ï¬-ﬨשׁ-זּטּ-לּמּïïïïï-ï®±ï¯-ï´½ïµ-ï¶ï¶-ï·ï·°-ﷻﹰ-ï¹´ï¹¶-ﻼA-Zï½-ï½ï½¦-ï¾¾ï¿-ï¿ï¿-ï¿ï¿-ï¿ï¿-ï¿",n="\xb7Ì-ͯÎÒ-ÒÖ-Ö½Ö¿××××
ר-ØÙ-٩ٰÛ-ÛÛ-Û¤Û§Û¨Ûª-ÛÛ°-Û¹Üܰ-ÝÞ¦-Þ°ß-ßß«-߽߳à -à à -à £à ¥-à §à ©-à à¡-à¡à¢-à¢à£-ࣣ࣡-à¤à¤º-़ा-à¥à¥-à¥à¥¢à¥£à¥¦-९à¦-à¦à¦¼à¦¾-à§à§à
129§à§-à§à§à§¢à§£à§¦-৯৾à¨-à¨à¨¼à¨¾-à©à©à©à©-à©à©à©¦-ੱੵàª-àªàª¼àª¾-à«
à«-à«à«-à«à«¢à«£à«¦-૯ૺ-à«¿à¬-à¬à¬¼à¬¾-àààà-àà-àà¢à£à¦-à¯à®à®¾-à¯à¯-à¯à¯-à¯à¯à¯¦-௯à°-à°à°¼à°¾-à±à±-à±à±-à±à±à±à±¢à±£à±¦-౯à²-à²à²¼à²¾-à³à³-à³à³-à³à³à³à³¢à³£à³¦-೯ೳà´-à´à´»à´¼à´¾-àµàµ-àµàµ-àµàµàµ¢àµ£àµ¦-൯à¶-à¶à·à·-à·à·à·-à·à·¦-෯ෲෳัิ-ฺà¹-à¹à¹-à¹àº±àº´-ຼà»-à»à»-à»à¼à¼à¼ -༩༹༵༷༾༿ཱ-à¾à¾à¾à¾-à¾à¾-ྼà¿á«-á¾á-áá-áá-á á¢-á¤á§-áá±-á´á-áá-áá-áá©-á±á-áá²-á´ááá²á³á´-ááá -á©á -á á -á ᢩᤠ-ᤫᤰ-᤻á¥-á¥á§-á§á¨-á¨á©-á©á© -᩿᩼-áªáª-áªáª°-᪽ᪿ-á«á« -á««á¬-á¬á¬´-áá-áá«-á³á®-á®á®¡-á®á®°-᮹᯦-᯳ᰤ-á°·á±-á±á±-á±á³-á³á³-᳨á³á³´á³·-á³¹á·-á·¿âââ¿âââ-ââ¡â¥-â°â³¯-⵿⳱ⷠ-â·¿ãª-ã¯ããã»ê -ê©ê¯ê´-ê½êêê°ê±ê ê ê ê £-ê §ê ¬ê¢ê¢ê¢´-ê£
ê£-ê£ê£ -꣱ꣿ-ê¤ê¤¦-ê¤ê¥-ê¥ê¦-ê¦ê¦³-ê§ê§-ê§ê§¥ê§°-꧹ꨩ-ꨶê©ê©ê©ê©-ê©ê©»-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿ê«ê««-ꫯꫵ꫶ꯣ-ꯪ꯬ê¯ê¯°-꯹ï¬ï¸-ï¸ï¸ -︯︳︴ï¹-ï¹ï¼-ï¼ï¼¿ï½¥",i=RegExp("["+r+"]"),a=RegExp("["+r+n+"]");r=n=null;let o=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,7,25,39,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,5,57,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,24,43,261,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,33,24,3,24,45,74,6,0,67,12,65,1,2,0,15,4,10,7381,42,31,98,114,8702,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,208,30,2,2,2,1,2,6,3,4,10,1,225,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4381,3,5773,3,7472,16,621,2467,541,1507,4938,6,8489],s=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,78,5,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,199,7,137,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,55,9,266,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,233,0,3,0,8,1,6,0,475,6,110,6,6,9,4759,9,787719,239];function l(e,t){let r=65536;for(let n=0,i=t.length;n<i&&!((r+=t[n])>e);n+=2)if((r+=t[n+1])>=e)return!0;return!1}function c(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&i.test(String.fromCharCode(e)):l(e,o)))}function u(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&a.test(String.fromCharCode(e)):l(e,o)||l(e,s))))}function d(e){let t=!0;for(let r=0;r<e.length;r++){let n=e.charCodeAt(r);if((64512&n)==55296&&r+1<e.length){let t=e.charCodeAt(++r);(64512&t)==56320&&(n=65536+((1023&n)<<10)+(1023&t))}if(t){if(t=!1,!c(n))return!1}else if(!u(n))return!1}return!t}},92741:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=function(e){return null!=e&&"object"==typeof e}},92836:(e,t,r)=>{"use strict";r.d(t,{$:()=>a});var n=r(55729),i=r(49511);let a=()=>
129{let[e,t]=(0,n.useState)("");return(0,n.useEffect)(()=>{t((0,i.Al)()?"top-[calc(var(--app-nav-height,44px)+var(--referral-header-height,0px)-0px)]":"top-[calc(var(--nav-top,var(--browser-main-nav-height))+var(--referral-header-height,0px)-0px)]")},[]),e+" transition-top ease-linear"}},93129:(e,t,r)=>{"use strict";r.d(t,{GP:()=>ew});let n={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},i=(e,t,r)=>{let i,a=n[e];if(i="string"==typeof a?a:1===t?a.one:a.other.replace("{{count}}",t.toString()),null==r?void 0:r.addSuffix)if(r.comparison&&r.comparison>0)return"in "+i;else return i+" ago";return i};var a=r(25682);let o={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},s={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},l={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},c={date:(0,a.k)({formats:o,defaultWidth:"full"}),time:(0,a.k)({formats:s,defaultWidth:"full"}),dateTime:(0,a.k)({formats:l,defaultWidth:"full"})},u={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},d=(e,t,r,n)=>u[e];var p=r(41256);let h={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},f={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},m={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},g={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},y={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},v={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},b={ordinalNumber:(e,t)=>{let r=Number(e),n=r%100;if(n>20||n<10)switch(n%10){case 1:return r+"st";case 2:return r+"nd";case 3:return r+"rd"}return r+"th"},era:(0,p.o)({values:h,defaultWidth:"wide"}),quarter:(0,p.o)({values:f,defaultWidth:"wide",argumentCallback:e=>e-1}),month:(0,p.o)({values:m,defaultWidth:"wide"}),day:(0,p.o)({values:g,defaultWidth:"wide"}),dayPeriod:(0,p.o)({values:y,defaultWidth:"wide",formattingValues:v,defaultFormattingWidth:"wide"})};var w=r(25628),x=r(74906);let k=/^(\d+)(th|st|nd|rd)?/i,A=/\d+/i,C={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},S={any:[/^b/i,/^(a|c)/i]},E={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},_={any:[/1/i,/2/i,/3/i,/4/i]},T={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},P={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]}
129,O={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},I={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},M={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},L={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},N={code:"en-US",formatDistance:i,formatLong:c,formatRelative:d,localize:b,match:{ordinalNumber:(0,x.K)({matchPattern:k,parsePattern:A,valueCallback:e=>parseInt(e,10)}),era:(0,w.A)({matchPatterns:C,defaultMatchWidth:"wide",parsePatterns:S,defaultParseWidth:"any"}),quarter:(0,w.A)({matchPatterns:E,defaultMatchWidth:"wide",parsePatterns:_,defaultParseWidth:"any",valueCallback:e=>e+1}),month:(0,w.A)({matchPatterns:T,defaultMatchWidth:"wide",parsePatterns:P,defaultParseWidth:"any"}),day:(0,w.A)({matchPatterns:O,defaultMatchWidth:"wide",parsePatterns:I,defaultParseWidth:"any"}),dayPeriod:(0,w.A)({matchPatterns:M,defaultMatchWidth:"any",parsePatterns:L,defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};var R=r(25739),j=r(97061),D=r(65436);function F(e,t){let r=(0,D.a)(e,null==t?void 0:t.in);return r.setFullYear(r.getFullYear(),0,1),r.setHours(0,0,0,0),r}function V(e,t){let r=(0,D.a)(e,null==t?void 0:t.in);return(0,j.m)(r,F(r))+1}var B=r(70238);function z(e,t){var r,n,i,a,o,s,l,c;let u=(0,R.q)(),d=null!=(c=null!=(l=null!=(s=null!=(o=null==t?void 0:t.weekStartsOn)?o:null==t||null==(n=t.locale)||null==(r=n.options)?void 0:r.weekStartsOn)?s:u.weekStartsOn)?l:null==(a=u.locale)||null==(i=a.options)?void 0:i.weekStartsOn)?c:0,p=(0,D.a)(e,null==t?void 0:t.in),h=p.getDay(),f=7*(h<d)+h-d;return p.setDate(p.getDate()-f),p.setHours(0,0,0,0),p}function $(e,t){return z(e,{...t,weekStartsOn:1})}var U=r(88846);function q(e,t){let r=(0,D.a)(e,null==t?void 0:t.in),n=r.getFullYear(),i=(0,U.w)(r,0);i.setFullYear(n+1,0,4),i.setHours(0,0,0,0);let a=$(i),o=(0,U.w)(r,0);o.setFullYear(n,0,4),o.setHours(0,0,0,0);let s=$(o);return r.getTime()>=a.getTime()?n+1:r.getTime()>=s.getTime()?n:n-1}function H(e,t){let r=q(e,t),n=(0,U.w)((null==t?void 0:t.in)||e,0);return n.setFullYear(r,0,4),n.setHours(0,0,0,0),$(n)}function Y(e,t){let r=(0,D.a)(e,null==t?void 0:t.in);return Math.round(($(r)-H(r))/B.my)+1}function W(e,t){var r,n,i,a,o,s,l,c;let u=(0,D.a)(e,null==t?void 0:t.in),d=u.getFullYear(),p=(0,R.q)(),h=null!=(c=null!=(l=null!=(s=null!=(o=null==t?void 0:t.firstWeekContainsDate)?o:null==t||null==(n=t.locale)||null==(r=n.options)?void 0:r.firstWeekContainsDate)?s:p.firstWeekContainsDate)?l:null==(a=p.locale)||null==(i=a.options)?void 0:i.firstWeekContainsDate)?c:1,f=(0,U.w)((null==t?void 0:t.in)||e,0);f.setFullYear(d+1,0,h),f.setHours(0,0,0,0);let m=z(f,t),g=(0,U.w)((null==t?void 0:t.in)||e,0);g.setFullYear(d,0,h),g.setHours(0,0,0,0);let y=z(g,t);return+u>=+m?d+1:+u>=+y?d:d-1}function G(e,t){var r,n,i,a,o,s,l,c;let u=(0,R.q)(),d=null!=(c=null!=(l=null!=(s=null!=(o=null==t?void 0:t.firstWeekContainsDate)?o:null==t||null==(n=t.locale)||null==(r=n.options)?void 0:r.firstWeekContainsDate)?s:u.firstWeekContainsDate)?l:null==(a=u.locale)||null==(i=a.options)?void 0:i.firstWeekContainsDate)?c:1,p=W(e,t),h=(0,U.w)((null==t?void 0:t.in)||e,0);return h.setFullYear(p,0,d),h.setHours(0,0,0,0),z(h,t)}function K(e,t){let r=(0,D.a)(e,null==t?void 0:t.in);return Math.round((z(r,t)-G(r,t))/B.my)+1}var J=r(54352),X=r(65445);let Q={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},Z={G:function(e,t,r){let n=+(e.getFullYear()>0);switch(t){case"G":case"GG":case"GGG":return r.era(n,{width:"abbreviated"});case"GGGGG":return r.era(n,{width:"narrow"});default:return r.era(n,{width:"wide"})}},y:function(e,t,r){if("yo"===t){let t=e.getFullYear(),n=t>0?t:1-t;return r.ordinalNumber(n,{unit:"year"})}return X.C.y(e,t)},Y:function(e,t,r,n){let i=W(e,n),a=i>0?i:1-i;if("YY"===t){let e=a%100;return(0,J.F)(e,2)}return"Yo"===t?r.ordinalNumber(a,{unit:"year"}):(0,J.F)(a,t.length)},R:function(e,t){let r=q(e);return(0,J.F)(r,t.length)},u:function(e,t){let r=e.getFullYear();return(0,J.F)(r,t.length)},Q:function(e,t,r){let n=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(n);case"QQ":return(0,J.F)(n,2);case"Qo":return r.ordinalNumber(n,{unit:"quarter"});case"QQQ":return r.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return r.quarter(n,{width:"narrow",context:"formatting"});default:return r.quarter(n,{width:"wide",context:"formatting"})}},q:function(e,t,r){let n=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(n);case"qq":return(0,J.F)(n,2);case"qo":return r.ordinalNumber(n,{unit:"quarter"});case"qqq":return r.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return r.quarter(n,{width:"narrow",context:"standalone"});default:return r.quarter(n,{width:"wide",context:"standalone"})}},M:function(e,t,r){let n=e.getMonth();switch(t){case"M":case"MM":return X.C.M(e,t);case"Mo":return r.ordinalNumber(n+1,{unit:"month"});case"MMM":return r.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return r.month(n,{width:"narrow",context:"formatting"});default:return r.month(n,{width:"wide",context:"formatting"})}},L:function(e,t,r){let n=e.getMonth();switch(t){case"L":return String(n+1);case"LL":return(0,J.F)(n+1,2);case"Lo":return r.ordinalNumber(n+1,{unit:"month"});case"LLL":return r.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return r.month(n,{width:"narrow",context:"standalone"});default:return r.month(n,{width:"wide",context:"standalone"})}},w:function(e,t,r,n){let i=K(e,n);return"wo"===t?r.ordinalNumber(i,{unit:"week"}):(0,J.F)(i,t.length)},I:function(e,t,r){let n=Y(e);return"Io"===t?r.ordinalNumber(n,{unit:"week"}):(0,J.F)(n,t.length)},d:function(e,t,r){return"do"===t?r.ordinalNumber(e.getDate(),{unit:"date"}):X.C.d(e,t)},D:function(e,t,r){let n=V(e);return"Do"===t?r.ordinalNumber(n,{unit:"dayOfYear"}):(0,J.F)(n,t.length)},E:function(e,t,r){let n=e.getDay();switch(t){case"E":case"EE":case"EEE":return r.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return r.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return r.day(n,{width:"short",context:"formatting"});default:return r.day(n,{width:"wide",context:"formatting"})}},e:function(e,t,r,n){let i=e.getDay(),a=(i-n.weekStartsOn+8)%7||7;switch(t){case"e":return String(a);case"ee":return(0,J.F)(a,2);case"eo":return r.ordinalNumber(a,{unit:"day"});case"eee":return r.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return r.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return r.day(i,{width:"short",context:"formatting"});default:return r.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,r,n){let i=e.getDay(),a=(i-n.weekStartsOn+8)%7||7;switch(t){case"c":return String(a);case"cc":return(0,J.F)(a,t.length);case"co":return r.ordinalNumber(a,{unit:"day"});case"ccc":return r.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return r.day(i,{width:"narrow",context:"standalone"});case"cccccc":return r.day(i,{width:"short",context:"standalone"});default:return r.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,r){let n=e.getDay(),i=0===n?7:n;switch(t){case"i":return String(i);case"ii":return(0,J.F)(i,t.length);case"io":return r.ordinalNumber(i,{unit:"day"});case"iii":return r.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return r.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return r.day(n,{width:"short",context:"formatting"});default:return r.day(n,{width:"wide",context:"formatting"})}},a:function(e,t,r){let n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"aaa":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},b:function(e,t,r){let n,i=e.getHours();switch(n=12===i?Q.noon:0===i?Q.midnight:i/12>
129=1?"pm":"am",t){case"b":case"bb":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"bbb":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},B:function(e,t,r){let n,i=e.getHours();switch(n=i>=17?Q.evening:i>=12?Q.afternoon:i>=4?Q.morning:Q.night,t){case"B":case"BB":case"BBB":return r.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"BBBBB":return r.dayPeriod(n,{width:"narrow",context:"formatting"});default:return r.dayPeriod(n,{width:"wide",context:"formatting"})}},h:function(e,t,r){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),r.ordinalNumber(t,{unit:"hour"})}return X.C.h(e,t)},H:function(e,t,r){return"Ho"===t?r.ordinalNumber(e.getHours(),{unit:"hour"}):X.C.H(e,t)},K:function(e,t,r){let n=e.getHours()%12;return"Ko"===t?r.ordinalNumber(n,{unit:"hour"}):(0,J.F)(n,t.length)},k:function(e,t,r){let n=e.getHours();return(0===n&&(n=24),"ko"===t)?r.ordinalNumber(n,{unit:"hour"}):(0,J.F)(n,t.length)},m:function(e,t,r){return"mo"===t?r.ordinalNumber(e.getMinutes(),{unit:"minute"}):X.C.m(e,t)},s:function(e,t,r){return"so"===t?r.ordinalNumber(e.getSeconds(),{unit:"second"}):X.C.s(e,t)},S:function(e,t){return X.C.S(e,t)},X:function(e,t,r){let n=e.getTimezoneOffset();if(0===n)return"Z";switch(t){case"X":return et(n);case"XXXX":case"XX":return er(n);default:return er(n,":")}},x:function(e,t,r){let n=e.getTimezoneOffset();switch(t){case"x":return et(n);case"xxxx":case"xx":return er(n);default:return er(n,":")}},O:function(e,t,r){let n=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+ee(n,":");default:return"GMT"+er(n,":")}},z:function(e,t,r){let n=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+ee(n,":");default:return"GMT"+er(n,":")}},t:function(e,t,r){let n=Math.trunc(e/1e3);return(0,J.F)(n,t.length)},T:function(e,t,r){return(0,J.F)(+e,t.length)}};function ee(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e>0?"-":"+",n=Math.abs(e),i=Math.trunc(n/60),a=n%60;return 0===a?r+String(i):r+String(i)+t+(0,J.F)(a,2)}function et(e,t){return e%60==0?(e>0?"-":"+")+(0,J.F)(Math.abs(e)/60,2):er(e,t)}function er(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e>0?"-":"+",n=Math.abs(e);return r+(0,J.F)(Math.trunc(n/60),2)+t+(0,J.F)(n%60,2)}let en=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},ei=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},ea=(e,t)=>{let r,n=e.match(/(P+)(p+)?/)||[],i=n[1],a=n[2];if(!a)return en(e,t);switch(i){case"P":r=t.dateTime({width:"short"});break;case"PP":r=t.dateTime({width:"medium"});break;case"PPP":r=t.dateTime({width:"long"});break;default:r=t.dateTime({width:"full"})}return r.replace("{{date}}",en(i,t)).replace("{{time}}",ei(a,t))},eo={p:ei,P:ea},es=/^D+$/,el=/^Y+$/,ec=["D","DD","YY","YYYY"];function eu(e){return es.test(e)}function ed(e){return el.test(e)}function ep(e,t,r){let n=eh(e,t,r);if(console.warn(n),ec.includes(e))throw RangeError(n)}function eh(e,t,r){let n="Y"===e[0]?"years":"days of the month";return"Use `".concat(e.toLowerCase(),"` instead of `").concat(e,"` (in `").concat(t,"`) for formatting ").concat(n," to the input `").
129concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md")}var ef=r(76199);let em=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,eg=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,ey=/^'([^]*?)'?$/,ev=/''/g,eb=/[a-zA-Z]/;function ew(e,t,r){var n,i,a,o,s,l,c,u,d,p,h,f,m,g,y,v,b,w;let x=(0,R.q)(),k=null!=(p=null!=(d=null==r?void 0:r.locale)?d:x.locale)?p:N,A=null!=(g=null!=(m=null!=(f=null!=(h=null==r?void 0:r.firstWeekContainsDate)?h:null==r||null==(i=r.locale)||null==(n=i.options)?void 0:n.firstWeekContainsDate)?f:x.firstWeekContainsDate)?m:null==(o=x.locale)||null==(a=o.options)?void 0:a.firstWeekContainsDate)?g:1,C=null!=(w=null!=(b=null!=(v=null!=(y=null==r?void 0:r.weekStartsOn)?y:null==r||null==(l=r.locale)||null==(s=l.options)?void 0:s.weekStartsOn)?v:x.weekStartsOn)?b:null==(u=x.locale)||null==(c=u.options)?void 0:c.weekStartsOn)?w:0,S=(0,D.a)(e,null==r?void 0:r.in);if(!(0,ef.f)(S))throw RangeError("Invalid time value");let E=t.match(eg).map(e=>{let t=e[0];return"p"===t||"P"===t?(0,eo[t])(e,k.formatLong):e}).join("").match(em).map(e=>{if("''"===e)return{isToken:!1,value:"'"};let t=e[0];if("'"===t)return{isToken:!1,value:ex(e)};if(Z[t])return{isToken:!0,value:e};if(t.match(eb))throw RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}});k.localize.preprocessor&&(E=k.localize.preprocessor(S,E));let _={firstWeekContainsDate:A,weekStartsOn:C,locale:k};return E.map(n=>{if(!n.isToken)return n.value;let i=n.value;return(!(null==r?void 0:r.useAdditionalWeekYearTokens)&&ed(i)||!(null==r?void 0:r.useAdditionalDayOfYearTokens)&&eu(i))&&ep(i,t,String(e)),(0,Z[i[0]])(S,i,k.localize,_)}).join("")}function ex(e){let t=e.match(ey);return t?t[1].replace(ev,"'"):e}},93214:(e,t,r)=>{"use strict";r.d(t,{CC:()=>n,I0:()=>o,jB:()=>i,q2:()=>a});let n=0,i=1,a=2,o=3},93303:(e,t,r)=>{"use strict";r.d(t,{D:()=>w,A:()=>x});var n=r(86922),i=r(35026),a=r(28098),o=r(32790),s=r(26401),l=r(44151),c=r(77464),u=r(5764);let d=.2,p=.14,h=.12;function f(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return["".concat(t[0],"px ").concat(t[1],"px ").concat(t[2],"px ").concat(t[3],"px rgba(0,0,0,").concat(d,")"),"".concat(t[4],"px ").concat(t[5],"px ").concat(t[6],"px ").concat(t[7],"px rgba(0,0,0,").concat(p,")"),"".concat(t[8],"px ").concat(t[9],"px ").concat(t[10],"px ").concat(t[11],"px rgba(0,0,0,").concat(h,")")].join(",")}let m=["none",f(0,2,1,-1,0,1,1,0,0,1,3,0),f(0,3,1,-2,0,2,2,0,0,1,5,0),f(0,3,3,-2,0,3,4,0,0,1,8,0),f(0,2,4,-1,0,4,5,0,0,1,10,0),f(0,3,5,-1,0,5,8,0,0,1,14,0),f(0,3,5,-1,0,6,10,0,0,1,18,0),f(0,4,5,-2,0,7,10,1,0,2,16,1),f(0,5,5,-3,0,8,10,1,0,3,14,2),f(0,5,6,-3,0,9,12,1,0,3,16,2),f(0,6,6,-3,0,10,14,1,0,4,18,3),f(0,6,7,-4,0,11,15,1,0,4,20,3),f(0,7,8,-4,0,12,17,2,0,5,22,4),f(0,7,8,-4,0,13,19,2,0,5,24,4),f(0,7,9,-4,0,14,21,2,0,5,26,4),f(0,8,9,-5,0,15,22,2,0,6,28,5),f(0,8,10,-5,0,16,24,2,0,6,30,5),f(0,8,11,-5,0,17,26,2,0,6,32,5),f(0,9,11,-5,0,18,28,2,0,7,34,6),f(0,9,12,-6,0,19,29,2,0,7,36,6),f(0,10,13,-6,0,20,31,3,0,8,38,7),f(0,10,13,-6,0,21,33,3,0,8,40,7),f(0,10,14,-6,0,22,35,3,0,8,42,7),f(0,11,14,-7,0,23,36,3,0,9,44,8),f(0,11,15,-7,0,24,38,3,0,9,46,8)];var g=r(15675);let y={mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500};var v=r(30971);function b(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};for(var t=arguments.length,r=Array(t>1?t-1:0),d=1;d<t;d++)r[d-1]=arguments[d];let{breakpoints:p,mixins:h={},spacing:f,palette:b={},transitions:w={},typography:x={},shape:k,...A}=e;if(e.vars&&void 0===e.generateThemeVars)throw Error((0,n.A)(20));let C=(0,c.Ay)(b),S=(0,s.A)(e),E=(0,i.A)(S,{mixins:(0,l.A)(S.breakpoints,h),palette:C,shadows:m.slice(),typography:(0,u.A)(C,x),transitions:(0,g.Ay)(w),zIndex:{...y}});return E=(0,i.A)(E,A),(E=r.reduce((e,t)=>(0,i.A)(e,t),E)).unstable_sxConfig={...a.A,...null==A?void 0:A.unstable_sxConfig},E.unstable_sx=function(e){return(0,o.A)({sx:e,theme:this})},E.toRuntimeSource=v.F,E}function w(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return b(...t)}let x=b},93441:(e,t,r)=>{"use strict";r.d(t,{A:()=>s,Q:()=>a});var n=r(55729),i=r(55572);function a(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function o(e){if(n.isValidElement(e)||(0,i.Hy)(e)||!a(e))return e;let t={};return Object.keys(e).forEach(r=>{t[r]=o(e[r])}),t}function s(e,t,r={clone:!0}){let l=r.clone?{...e}:e;return a(e)&&a(t)&&Object.keys(t).forEach(c=>{n.isValidElement(t[c])||(0,i.Hy)(t[c])?l[c]=t[c]:a(t[c])&&Object.prototype.hasOwnProperty.call(e,c)&&a(e[c])?l[c]=s(e[c],t[c],r):r.clone?l[c]=a(t[c])?o(t[c]):t[c]:l[c]=t[c]}),l}},93590:(e,t,r)=>{"use strict";let n,i,a,o,s,l,c;r.d(t,{l:()=>hA});var u={};r.r(u),r.d(u,{boolean:()=>eK,booleanish:()=>eJ,commaOrSpaceSeparated:()=>e1,commaSeparated:()=>e0,number:()=>eQ,overloadedBoolean:()=>eX,spaceSeparated:()=>eZ});var d={};r.r(d),r.d(d,{attentionMarkers:()=>sM,contentInitial:()=>sE,disable:()=>sL,document:()=>sS,flow:()=>sT,flowInitial:()=>s_,insideSpan:()=>sI,string:()=>sP,text:()=>sO});var p={};r.r(p),r.d(p,{BOM:()=>pz,DOCUMENT:()=>p$,FLOW_END:()=>pU,SCALAR:()=>pq,createScalarToken:()=>pT,isCollection:()=>pH,isScalar:()=>pY,prettyToken:()=>pW,resolveAsScalar:()=>p_,setScalarValue:()=>pP,stringify:()=>pL,tokenType:()=>pG,visit:()=>pV});var h={};function f(e){return e&&"object"==typeof e?"position"in e||"type"in e?g(e.position):"start"in e||"end"in e?g(e):"line"in e||"column"in e?m(e):"":""}function m(e){return y(e&&e.line)+":"+y(e&&e.column)}function g(e){return m(e&&e.start)+"-"+m(e&&e.end)}function y(e){return e&&"number"==typeof e?e:1}r.r(h),r.d(h,{Alias:()=>ul,CST:()=>p,Composer:()=>pE,Document:()=>dK,Lexer:()=>p1,LineCounter:()=>p2,Pair:()=>uJ,Parser:()=>p7,Scalar:()=>ud,Schema:()=>dW,YAMLError:()=>dX,YAMLMap:()=>u2,YAMLParseError:()=>dQ,YAMLSeq:()=>u3,YAMLWarning:()=>dZ,isAlias:()=>cU,isCollection:()=>cK,isDocument:()=>cq,isMap:()=>cH,isNode:()=>cJ,isPair:()=>cY,isScalar:()=>cW,isSeq:()=>cG,parse:()=>hn,parseAllDocuments:()=>ht,parseDocument:()=>hr,stringify:()=>hi,visit:()=>c1,visitAsync:()=>c5});
129class v extends Error{constructor(e,t,r){super(),"string"==typeof t&&(r=t,t=void 0);let n="",i={},a=!1;if(t&&(i="line"in t&&"column"in t||"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"==typeof e?n=e:!i.cause&&e&&(a=!0,n=e.message,i.cause=e),!i.ruleId&&!i.source&&"string"==typeof r){let e=r.indexOf(":");-1===e?i.ruleId=r:(i.source=r.slice(0,e),i.ruleId=r.slice(e+1))}if(!i.place&&i.ancestors&&i.ancestors){let e=i.ancestors[i.ancestors.length-1];e&&(i.place=e.position)}let o=i.place&&"start"in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file="",this.message=n,this.line=o?o.line:void 0,this.name=f(i.place)||"1:1",this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=a&&i.cause&&"string"==typeof i.cause.stack?i.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}v.prototype.file="",v.prototype.name="",v.prototype.reason="",v.prototype.message="",v.prototype.stack="",v.prototype.column=void 0,v.prototype.line=void 0,v.prototype.ancestors=void 0,v.prototype.cause=void 0,v.prototype.fatal=void 0,v.prototype.place=void 0,v.prototype.ruleId=void 0,v.prototype.source=void 0;let b={basename:w,dirname:x,extname:k,join:A,sep:"/"};function w(e,t){let r;if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');E(e);let n=0,i=-1,a=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;a--;)if(47===e.codePointAt(a)){if(r){n=a+1;break}}else i<0&&(r=!0,i=a+1);return i<0?"":e.slice(n,i)}if(t===e)return"";let o=-1,s=t.length-1;for(;a--;)if(47===e.codePointAt(a)){if(r){n=a+1;break}}else o<0&&(r=!0,o=a+1),s>-1&&(e.codePointAt(a)===t.codePointAt(s--)?s<0&&(i=a):(s=-1,i=o));return n===i?i=o:i<0&&(i=e.length),e.slice(n,i)}function x(e){let t;if(E(e),0===e.length)return".";let r=-1,n=e.length;for(;--n;)if(47===e.codePointAt(n)){if(t){r=n;break}}else t||(t=!0);return r<0?47===e.codePointAt(0)?"/":".":1===r&&47===e.codePointAt(0)?"//":e.slice(0,r)}function k(e){let t;E(e);let r=e.length,n=-1,i=0,a=-1,o=0;for(;r--;){let s=e.codePointAt(r);if(47===s){if(t){i=r+1;break}continue}n<0&&(t=!0,n=r+1),46===s?a<0?a=r:1!==o&&(o=1):a>-1&&(o=-1)}return a<0||n<0||0===o||1===o&&a===n-1&&a===i+1?"":e.slice(a,n)}function A(...e){let t,r=-1;for(;++r<e.length;)E(e[r]),e[r]&&(t=void 0===t?e[r]:t+"/"+e[r]);return void 0===t?".":C(t)}function C(e){E(e);let t=47===e.codePointAt(0),r=S(e,!t);return 0!==r.length||t||(r="."),r.length>0&&47===e.codePointAt(e.length-1)&&(r+="/"),t?"/"+r:r}function S(e,t){let r,n,i="",a=0,o=-1,s=0,l=-1;for(;++l<=e.length;){if(l<e.length)r=e.codePointAt(l);else if(47===r)break;else r=47;if(47===r){if(o===l-1||1===s);else if(o!==l-1&&2===s){if(i.length<2||2!==a||46!==i.codePointAt(i.length-1)||46!==i.codePointAt(i.length-2)){if(i.length>2){if((n=i.lastIndexOf("/"))!==i.length-1){n<0?(i="",a=0):a=(i=i.slice(0,n)).length-1-i.lastIndexOf("/"),o=l,s=0;continue}}else if(i.length>0){i="",a=0,o=l,s=0;continue}}t&&(i=i.length>0?i+"/..":"..",a=2)}else i.length>0?i+="/"+e.slice(o+1,l):i=e.slice(o+1,l),a=l-o-1;o=l,s=0}else 46===r&&s>-1?s++:s=-1}return i}function E(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}let _={cwd:T};function T(){return"/"}function P(e){return!!(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}function O(e){if("string"==typeof e)e=new URL(e);else if(!P(e)){let t=TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){let e=TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return I(e)}function I(e){if(""!==e.hostname){let e=TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}let t=e.pathname,r=-1;for(;++r<t.length;)if(37===t.codePointAt(r)&&50===t.codePointAt(r+1)){let e=t.codePointAt(r+2);if(70===e||102===e){let e=TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}let M=["history","path","basename","stem","extname","dirname"];class L{constructor(e){let t,r;t=e?P(e)?{path:e}:"string"==typeof e||D(e)?{value:e}:e:{},this.cwd="cwd"in t?"":_.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n=-1;for(;++n<M.length;){let e=M[n];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(r in t)M.includes(r)||(this[r]=t[r])}get basename(){return"string"==typeof this.path?b.basename(this.path):void 0}
129set basename(e){R(e,"basename"),N(e,"basename"),this.path=b.join(this.dirname||"",e)}get dirname(){return"string"==typeof this.path?b.dirname(this.path):void 0}set dirname(e){j(this.basename,"dirname"),this.path=b.join(e||"",this.basename)}get extname(){return"string"==typeof this.path?b.extname(this.path):void 0}set extname(e){if(N(e,"extname"),j(this.dirname,"extname"),e){if(46!==e.codePointAt(0))throw Error("`extname` must start with `.`");if(e.includes(".",1))throw Error("`extname` cannot contain multiple dots")}this.path=b.join(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){P(e)&&(e=O(e)),R(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return"string"==typeof this.path?b.basename(this.path,this.extname):void 0}set stem(e){R(e,"stem"),N(e,"stem"),this.path=b.join(this.dirname||"",e+(this.extname||""))}fail(e,t,r){let n=this.message(e,t,r);throw n.fatal=!0,n}info(e,t,r){let n=this.message(e,t,r);return n.fatal=void 0,n}message(e,t,r){let n=new v(e,t,r);return this.path&&(n.name=this.path+":"+n.name,n.file=this.path),n.fatal=!1,this.messages.push(n),n}toString(e){return void 0===this.value?"":"string"==typeof this.value?this.value:new TextDecoder(e||void 0).decode(this.value)}}function N(e,t){if(e&&e.includes(b.sep))throw Error("`"+t+"` cannot be a path: did not expect `"+b.sep+"`")}function R(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function j(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}function D(e){return!!(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}let F=["md","markdown","mdown","mkdn","mkd","mdwn","mkdown","ron"].map(function(e){return"."+e});function V(e,t){let r=B(e)?e:new L(e),{format:n,...i}=t||{};return{file:r,options:{format:"md"===n||"mdx"===n?n:r.extname&&(i.mdExtensions||F).includes(r.extname)?"md":"mdx",...i}}}function B(e){return!!(e&&"object"==typeof e&&"message"in e&&"messages"in e)}let z=/[$_\p{ID_Start}]/u,$=/[$_\u{200C}\u{200D}\p{ID_Continue}]/u,U=/[-$_\u{200C}\u{200D}\p{ID_Continue}]/u,q=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,H=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,Y={};function W(e){return!!e&&z.test(String.fromCodePoint(e))}function G(e,t){let r=(t||Y).jsx?U:$;return!!e&&r.test(String.fromCodePoint(e))}function K(e,t){return((t||Y).jsx?H:q).test(e)}class J{constructor(){this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.context={skip:()=>this.should_skip=!0,remove:()=>this.should_remove=!0,replace:e=>this.replacement=e}}replace(e,t,r,n){e&&t&&(null!=r?e[t][r]=n:e[t]=n)}remove(e,t,r){e&&t&&(null!=r?e[t].splice(r,1):delete e[t])}}class X extends J{constructor(e,t){super(),this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.context={skip:()=>this.should_skip=!0,remove:()=>this.should_remove=!0,replace:e=>this.replacement=e},this.enter=e,this.leave=t}visit(e,t,r,n){if(e){let i;if(this.enter){let i=this.should_skip,a=this.should_remove,o=this.replacement;this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.enter.call(this.context,e,t,r,n),this.replacement&&(e=this.replacement,this.replace(t,r,n,e)),this.should_remove&&this.remove(t,r,n);let s=this.should_skip,l=this.should_remove;if(this.should_skip=i,this.should_remove=a,this.replacement=o,s)return e;if(l)return null}for(i in e){let t=e[i];if(t&&"object"==typeof t)if(Array.isArray(t)){let r=t;for(let t=0;t<r.length;t+=1){let n=r[t];Q(n)&&!this.visit(n,e,i,t)&&t--}}else Q(t)&&this.visit(t,e,i,null)}if(this.leave){let i=this.replacement,a=this.should_remove;this.replacement=null,this.should_remove=!1,this.leave.call(this.context,e,t,r,n),this.replacement&&(e=this.replacement,this.replace(t,r,n,e)),this.should_remove&&this.remove(t,r,n);let o=this.should_remove;if(this.replacement=i,this.should_remove=a,o)return null}}return e}}function Q(e){return null!==e&&"object"==typeof e&&"type"in e&&"string"==typeof e.type}function Z(e,{enter:t,leave:r}){return new X(t,r).visit(e,null)}let ee=/@(jsx|jsxFrag|jsxImportSource|jsxRuntime)\s+(\S+)/g;function et(e,t){let r=t||{},n="automatic"===r.runtime,i={},a={};Z(e,{enter(e){if("Program"===e.type){let t=e.comments||[],r=-1;for(;++r<t.length;){ee.lastIndex=0;let e=ee.exec(t[r].value);for(;e;)i[e[1]]=e[2],e=ee.exec(t[r].value)}if(i.jsxRuntime)if("automatic"===i.jsxRuntime){if(n=!0,i.jsx)throw Error("Unexpected `@jsx` pragma w/ automatic runtime");if(i.jsxFrag)throw Error("Unexpected `@jsxFrag` pragma w/ automatic runtime")}else if("classic"===i.jsxRuntime){if(n=!1,i.jsxImportSource)throw Error("Unexpected `@jsxImportSource` w/ classic runtime")}else throw Error("Unexpected `jsxRuntime` `"+i.jsxRuntime+"`, expected `automatic` or `classic`")}},leave(e){let t,o,s;if("Program"===e.type){let t=[];if(a.fragment&&t.push({type:"ImportSpecifier",imported:{type:"Identifier",name:"Fragment"},local:{type:"Identifier",name:"_Fragment"}}),a.jsx&&t.push({type:"ImportSpecifier",imported:{type:"Identifier",name:"jsx"},local:{type:"Identifier",name:"_jsx"}}),a.jsxs&&t.push({type:"ImportSpecifier",imported:{type:"Identifier",name:"jsxs"},local:{type:"Identifier",name:"_jsxs"}}),a.jsxDEV&&t.push({type:"ImportSpecifier",imported:{type:"Identifier",name:"jsxDEV"},local:{type:"Identifier",name:"_jsxDEV"}}),t.length>0){let n=0;for(;n<e.body.length;){let t=e.body[n];if("directive"in t&&t.directive)n++;else break}e.body.splice(n,0,{type:"ImportDeclaration",specifiers:t,source:{type:"Literal",value:(i.jsxImportSource||r.importSource||"react")+(r.development?"/jsx-dev-runtime":"/jsx-runtime")}})}}if("JSXElement"!==e.type&&"JSXFragment"!==e.type)return;let l=[],c=-1;for(;++c<e.children.length;){let t=e.children[c];if("JSXExpressionContainer"===t.type)"JSXEmptyExpression"!==t.expression.type&&l.push(t.expression);else if("JSXText"===t.type){let e=t.value.replace(/\t/g," ").replace(/ *(\r?\n|\r) */g,"\n").replace(/\n+/g,"\n").replace(/\n+$/,"").replace(/^\n+/,"").replace(/\n/g," ");
129if(e){let r={type:"Literal",value:e};ea(t,r),l.push(r)}}else"JSXElement"!==t.type&&"JSXFragment"!==t.type&&t.type,l.push(t)}let u=[],d=[];if("JSXElement"===e.type){let r;if("Identifier"===(t=en(e.openingElement.name)).type&&/^[a-z]/.test(t.name)){let e={type:"Literal",value:t.name};ea(t,e),t=e}let i=e.openingElement.attributes,a=-1;for(;++a<i.length;){let e=i[a];if("JSXSpreadAttribute"===e.type)"ObjectExpression"===e.argument.type?u.push(...e.argument.properties):u.push({type:"SpreadElement",argument:e.argument}),r=!0;else{let t=er(e);if(n&&"Identifier"===t.key.type&&"key"===t.key.name){if(r)throw Error("Expected `key` to come before any spread expressions");let e=t.value;"AssignmentPattern"!==e.type&&"ArrayPattern"!==e.type&&"ObjectPattern"!==e.type&&e.type,o=e}else u.push(t)}}}else n?(a.fragment=!0,t={type:"Identifier",name:"_Fragment"}):t=ei(i.jsxFrag||r.pragmaFrag||"React.Fragment");if(n?l.length>0&&u.push({type:"Property",key:{type:"Identifier",name:"children"},value:l.length>1?{type:"ArrayExpression",elements:l}:l[0],kind:"init",method:!1,shorthand:!1,computed:!1}):d=l,n){d.push({type:"ObjectExpression",properties:u}),o?d.push(o):r.development&&d.push({type:"Identifier",name:"undefined"});let t=l.length>1;if(r.development){a.jsxDEV=!0,s={type:"Identifier",name:"_jsxDEV"},d.push({type:"Literal",value:t});let n={type:"ObjectExpression",properties:[{type:"Property",method:!1,shorthand:!1,computed:!1,kind:"init",key:{type:"Identifier",name:"fileName"},value:{type:"Literal",value:r.filePath||"<source.js>"}}]};e.loc&&n.properties.push({type:"Property",method:!1,shorthand:!1,computed:!1,kind:"init",key:{type:"Identifier",name:"lineNumber"},value:{type:"Literal",value:e.loc.start.line}},{type:"Property",method:!1,shorthand:!1,computed:!1,kind:"init",key:{type:"Identifier",name:"columnNumber"},value:{type:"Literal",value:e.loc.start.column+1}}),d.push(n,{type:"ThisExpression"})}else t?(a.jsxs=!0,s={type:"Identifier",name:"_jsxs"}):(a.jsx=!0,s={type:"Identifier",name:"_jsx"})}else u.length>0?d.unshift({type:"ObjectExpression",properties:u}):d.length>0&&d.unshift({type:"Literal",value:null}),s=ei(i.jsx||r.pragma||"React.createElement");d.unshift(t);let p={type:"CallExpression",callee:s,arguments:d,optional:!1};ea(e,p),this.replace(p)}})}function er(e){let t;if(e.value)if("JSXExpressionContainer"===e.value.type){let r=e.value.expression;r.type,t=r}else{let r=e.value;"JSXElement"!==r.type&&r.type,t=r,delete t.raw}else t={type:"Literal",value:!0};let r={type:"Property",key:en(e.name),value:t,kind:"init",method:!1,shorthand:!1,computed:!1};return ea(e,r),r}function en(e){let t;if("JSXMemberExpression"===e.type){let r=en(e.property);t={type:"MemberExpression",object:en(e.object),property:r,computed:"Literal"===r.type,optional:!1}}else t="JSXNamespacedName"===e.type?{type:"Literal",value:e.namespace.name+":"+e.name.name}:K(e.name)?{type:"Identifier",name:e.name}:{type:"Literal",value:e.name};return ea(e,t),t}function ei(e){let t,r=e.split("."),n=-1;for(;++n<r.length;){let e=K(r[n])?{type:"Identifier",name:r[n]}:{type:"Literal",value:r[n]};t=t?{type:"MemberExpression",object:t,property:e,computed:!!(n&&"Literal"===e.type),optional:!1}:e}return t}function ea(e,t){let r=["start","end","loc","range","comments"],n=-1;for(;++n<r.length;){let i=r[n];i in e&&(t[i]=e[i])}}function eo(e){return function(t,r){et(t,{filePath:r.history[0],...e})}}var es=r(38287);let el={JSXAttribute:ec,JSXClosingElement:eu,JSXClosingFragment:ed,JSXElement:ep,JSXEmptyExpression:eh,JSXExpressionContainer:ef,JSXFragment:em,JSXIdentifier:eg,JSXMemberExpression:ey,JSXNamespacedName:ev,JSXOpeningElement:eb,JSXOpeningFragment:ew,JSXSpreadAttribute:ex,JSXText:ek};function ec(e,t){this[e.name.type](e.name,t),null!==e.value&&void 0!==e.value&&(t.write("="),"Literal"===e.value.type?t.write('"'+eA(String(e.value.value)).replace(/"/g,""")+'"',e):this[e.value.type](e.value,t))}function eu(e,t){t.write("</"),this[e.name.type](e.name,t),t.write(">")}function ed(e,t){t.write("</>",e)}function ep(e,t){let r=-1;if(this[e.openingElement.type](e.openingElement,t),e.children)for(;++r<e.children.length;){let n=e.children[r];if("JSXSpreadChild"===n.type)throw Error("JSX spread children are not supported");this[n.type](n,t)}e.closingElement&&this[e.closingElement.type](e.closingElement,t)}function eh(){}function ef(e,t){t.write("{"),this[e.expression.type](e.expression,t),t.write("}")}function em(e,t){let r=-1;if(this[e.openingFragment.type](e.openingFragment,t),e.children)for(;++r<e.children.length;){let n=e.children[r];if("JSXSpreadChild"===n.type)throw Error("JSX spread children are not supported");this[n.type](n,t)}this[e.closingFragment.type](e.closingFragment,t)}function eg(e,t){t.write(e.name,e)}function ey(e,t){this[e.object.type](e.object,t),t.write("."),this[e.property.type](e.property,t)}function ev(e,t){this[e.namespace.type](e.namespace,t),t.write(":"),this[e.name.type](e.name,t)}function eb(e,t){let r=-1;if(t.write("<"),this[e.name.type](e.name,t),e.attributes)for(;++r<e.attributes.length;)t.write(" "),this[e.attributes[r].type](e.attributes[r],t);t.write(e.selfClosing?" />":">")}function ew(e,t){t.write("<>",e)}function ex(e,t){t.write("{"),this.SpreadElement(e,t),t.write("}")}function ek(e,t){t.write(eA(e.value).replace(/[<>{}]/g,eC),e)}function eA(e){return e.replace(/&(?=[#a-z])/gi,"&")}function eC(e){return"<"===e?"<":">"===e?">":"{"===e?"{":"}"}function eS(){let e=this.data(),t=e.settings||(e.settings={}),r=t.handlers||(t.handlers={});(t.plugins||(t.plugins=[])).push(es()),Object.assign(r,el)}let{stringify:eE}=JSON;if(!String.prototype.repeat)throw Error("String.prototype.repeat is undefined, see https://github.com/davidbonnet/astring#installation");if(!String.prototype.endsWith)throw Error("String.prototype.endsWith is undefined, see https://github.com/davidbonnet/astring#installation");let e_={"||":2,"??":3,"&&":4,"|":5,"^":6,"&":7,"==":8,"!=":8,"===":8,"!==":8,"<":9,">":9,"<=":9,">=":9,in:9,instanceof:9,"<<":10,">>":10,">>>":10,"+":11,"-":11,"*":12,"%":12,"/":12,"**":13},eT=17,eP={ArrayExpression:20,TaggedTemplateExpression:20,ThisExpression:20,Identifier:20,PrivateIdentifier:20,Literal
129:18,TemplateLiteral:20,Super:20,SequenceExpression:20,MemberExpression:19,ChainExpression:19,CallExpression:19,NewExpression:19,ArrowFunctionExpression:17,ClassExpression:17,FunctionExpression:17,ObjectExpression:17,UpdateExpression:16,UnaryExpression:15,AwaitExpression:15,BinaryExpression:14,LogicalExpression:13,ConditionalExpression:4,AssignmentExpression:3,YieldExpression:2,RestElement:1};function eO(e,t){let{generator:r}=e;if(e.write("("),null!=t&&t.length>0){r[t[0].type](t[0],e);let{length:n}=t;for(let i=1;i<n;i++){let n=t[i];e.write(", "),r[n.type](n,e)}}e.write(")")}function eI(e,t,r,n){let i=e.expressionsPrecedence[t.type];if(i===eT)return!0;let a=e.expressionsPrecedence[r.type];return i!==a?!n&&15===i&&14===a&&"**"===r.operator||i<a:(13===i||14===i)&&("**"===t.operator&&"**"===r.operator?!n:13===i&&13===a&&("??"===t.operator||"??"===r.operator)||(n?e_[t.operator]<=e_[r.operator]:e_[t.operator]<e_[r.operator]))}function eM(e,t,r,n){let{generator:i}=e;eI(e,t,r,n)?(e.write("("),i[t.type](t,e),e.write(")")):i[t.type](t,e)}function eL(e,t,r,n){let i=t.split("\n"),a=i.length-1;if(e.write(i[0].trim()),a>0){e.write(n);for(let t=1;t<a;t++)e.write(r+i[t].trim()+n);e.write(r+i[a].trim())}}function eN(e,t,r,n){let{length:i}=t;for(let a=0;a<i;a++){let i=t[a];e.write(r),"L"===i.type[0]?e.write("// "+i.value.trim()+"\n",i):(e.write("/*"),eL(e,i.value,r,n),e.write("*/"+n))}}function eR(e){let t=e;for(;null!=t;){let{type:e}=t;if("C"===e[0]&&"a"===e[1])return!0;if("M"!==e[0]||"e"!==e[1]||"m"!==e[2])return!1;t=t.object}}function ej(e,t){let{generator:r}=e,{declarations:n}=t;e.write(t.kind+" ");let{length:i}=n;if(i>0){r.VariableDeclarator(n[0],e);for(let t=1;t<i;t++)e.write(", "),r.VariableDeclarator(n[t],e)}}let eD={Program(e,t){let r=t.indent.repeat(t.indentLevel),{lineEnd:n,writeComments:i}=t;i&&null!=e.comments&&eN(t,e.comments,r,n);let a=e.body,{length:o}=a;for(let e=0;e<o;e++){let o=a[e];i&&null!=o.comments&&eN(t,o.comments,r,n),t.write(r),this[o.type](o,t),t.write(n)}i&&null!=e.trailingComments&&eN(t,e.trailingComments,r,n)},BlockStatement:l=function(e,t){let r=t.indent.repeat(t.indentLevel++),{lineEnd:n,writeComments:i}=t,a=r+t.indent;t.write("{");let o=e.body;if(null!=o&&o.length>0){t.write(n),i&&null!=e.comments&&eN(t,e.comments,a,n);let{length:s}=o;for(let e=0;e<s;e++){let r=o[e];i&&null!=r.comments&&eN(t,r.comments,a,n),t.write(a),this[r.type](r,t),t.write(n)}t.write(r)}else i&&null!=e.comments&&(t.write(n),eN(t,e.comments,a,n),t.write(r));i&&null!=e.trailingComments&&eN(t,e.trailingComments,a,n),t.write("}"),t.indentLevel--},ClassBody:l,StaticBlock(e,t){t.write("static "),this.BlockStatement(e,t)},EmptyStatement(e,t){t.write(";")},ExpressionStatement(e,t){let r=t.expressionsPrecedence[e.expression.type];r===eT||3===r&&"O"===e.expression.left.type[0]?(t.write("("),this[e.expression.type](e.expression,t),t.write(")")):this[e.expression.type](e.expression,t),t.write(";")},IfStatement(e,t){t.write("if ("),this[e.test.type](e.test,t),t.write(") "),this[e.consequent.type](e.consequent,t),null!=e.alternate&&(t.write(" else "),this[e.alternate.type](e.alternate,t))},LabeledStatement(e,t){this[e.label.type](e.label,t),t.write(": "),this[e.body.type](e.body,t)},BreakStatement(e,t){t.write("break"),null!=e.label&&(t.write(" "),this[e.label.type](e.label,t)),t.write(";")},ContinueStatement(e,t){t.write("continue"),null!=e.label&&(t.write(" "),this[e.label.type](e.label,t)),t.write(";")},WithStatement(e,t){t.write("with ("),this[e.object.type](e.object,t),t.write(") "),this[e.body.type](e.body,t)},SwitchStatement(e,t){let r=t.indent.repeat(t.indentLevel++),{lineEnd:n,writeComments:i}=t;t.indentLevel++;let a=r+t.indent,o=a+t.indent;t.write("switch ("),this[e.discriminant.type](e.discriminant,t),t.write(") {"+n);let{cases:s}=e,{length:l}=s;for(let e=0;e<l;e++){let r=s[e];i&&null!=r.comments&&eN(t,r.comments,a,n),r.test?(t.write(a+"case "),this[r.test.type](r.test,t),t.write(":"+n)):t.write(a+"default:"+n);let{consequent:l}=r,{length:c}=l;for(let e=0;e<c;e++){let r=l[e];i&&null!=r.comments&&eN(t,r.comments,o,n),t.write(o),this[r.type](r,t),t.write(n)}}t.indentLevel-=2,t.write(r+"}")}
129,ReturnStatement(e,t){t.write("return"),e.argument&&(t.write(" "),this[e.argument.type](e.argument,t)),t.write(";")},ThrowStatement(e,t){t.write("throw "),this[e.argument.type](e.argument,t),t.write(";")},TryStatement(e,t){if(t.write("try "),this[e.block.type](e.block,t),e.handler){let{handler:r}=e;null==r.param?t.write(" catch "):(t.write(" catch ("),this[r.param.type](r.param,t),t.write(") ")),this[r.body.type](r.body,t)}e.finalizer&&(t.write(" finally "),this[e.finalizer.type](e.finalizer,t))},WhileStatement(e,t){t.write("while ("),this[e.test.type](e.test,t),t.write(") "),this[e.body.type](e.body,t)},DoWhileStatement(e,t){t.write("do "),this[e.body.type](e.body,t),t.write(" while ("),this[e.test.type](e.test,t),t.write(");")},ForStatement(e,t){if(t.write("for ("),null!=e.init){let{init:r}=e;"V"===r.type[0]?ej(t,r):this[r.type](r,t)}t.write("; "),e.test&&this[e.test.type](e.test,t),t.write("; "),e.update&&this[e.update.type](e.update,t),t.write(") "),this[e.body.type](e.body,t)},ForInStatement:n=function(e,t){t.write(`for ${e.await?"await ":""}(`);let{left:r}=e;"V"===r.type[0]?ej(t,r):this[r.type](r,t),t.write("I"===e.type[3]?" in ":" of "),this[e.right.type](e.right,t),t.write(") "),this[e.body.type](e.body,t)},ForOfStatement:n,DebuggerStatement(e,t){t.write("debugger;",e)},FunctionDeclaration:i=function(e,t){t.write((e.async?"async ":"")+(e.generator?"function* ":"function ")+(e.id?e.id.name:""),e),eO(t,e.params),t.write(" "),this[e.body.type](e.body,t)},FunctionExpression:i,VariableDeclaration(e,t){ej(t,e),t.write(";")},VariableDeclarator(e,t){this[e.id.type](e.id,t),null!=e.init&&(t.write(" = "),this[e.init.type](e.init,t))},ClassDeclaration(e,t){if(t.write("class "+(e.id?`${e.id.name} `:""),e),e.superClass){t.write("extends ");let{superClass:r}=e,{type:n}=r,i=t.expressionsPrecedence[n];("C"!==n[0]||"l"!==n[1]||"E"!==n[5])&&(i===eT||i<t.expressionsPrecedence.ClassExpression)?(t.write("("),this[e.superClass.type](r,t),t.write(")")):this[r.type](r,t),t.write(" ")}this.ClassBody(e.body,t)},ImportDeclaration(e,t){t.write("import ");let{specifiers:r,attributes:n}=e,{length:i}=r,a=0;if(i>0){for(;a<i;){a>0&&t.write(", ");let e=r[a],n=e.type[6];if("D"===n)t.write(e.local.name,e),a++;else if("N"===n)t.write("* as "+e.local.name,e),a++;else break}if(a<i){for(t.write("{");;){let e=r[a],{name:n}=e.imported;if(t.write(n,e),n!==e.local.name&&t.write(" as "+e.local.name),++a<i)t.write(", ");else break}t.write("}")}t.write(" from ")}if(this.Literal(e.source,t),n&&n.length>0){t.write(" with { ");for(let e=0;e<n.length;e++)this.ImportAttribute(n[e],t),e<n.length-1&&t.write(", ");t.write(" }")}t.write(";")},ImportAttribute(e,t){this.Identifier(e.key,t),t.write(": "),this.Literal(e.value,t)},ImportExpression(e,t){t.write("import("),this[e.source.type](e.source,t),t.write(")")},ExportDefaultDeclaration(e,t){t.write("export default "),this[e.declaration.type](e.declaration,t),null!=t.expressionsPrecedence[e.declaration.type]&&"F"!==e.declaration.type[0]&&t.write(";")},ExportNamedDeclaration(e,t){if(t.write("export "),e.declaration)this[e.declaration.type](e.declaration,t);else{t.write("{");let{specifiers:r}=e,{length:n}=r;if(n>0)for(let e=0;;){let i=r[e],{name:a}=i.local;if(t.write(a,i),a!==i.exported.name&&t.write(" as "+i.exported.name),++e<n)t.write(", ");else break}if(t.write("}"),e.source&&(t.write(" from "),this.Literal(e.source,t)),e.attributes&&e.attributes.length>0){t.write(" with { ");for(let r=0;r<e.attributes.length;r++)this.ImportAttribute(e.attributes[r],t),r<e.attributes.length-1&&t.write(", ");t.write(" }")}t.write(";")}},ExportAllDeclaration(e,t){if(null!=e.exported?t.write("export * as "+e.exported.name+" from "):t.write("export * from "),this.Literal(e.source,t),e.attributes&&e.attributes.length>0){t.write(" with { ");for(let r=0;r<e.attributes.length;r++)this.ImportAttribute(e.attributes[r],t),r<e.attributes.length-1&&t.write(", ");t.write(" }")}t.write(";")},MethodDefinition(e,t){e.static&&t.write("static ");let r=e.kind[0];("g"===r||"s"===r)&&t.write(e.kind+" "),e.value.async&&t.write("async "),e.value.generator&&t.write("*"),e.computed?(t.write("["),this[e.key.type](e.key,t),t.write("]")):this[e.key.type](e.key,t),eO(t,e.value.params),t.write(" "),this[e.value.body.type](e.value.body,t)},ClassExpression(e,t){this.ClassDeclaration(e,t)},ArrowFunctionExpression(e,t){t.write(e.async?"async ":"",e);let{params:r}=e;null!=r&&(1===r.length&&"I"===r[0].type[0]?t.write(r[0].name,r[0]):eO(t,e.params)),t.write(" => "),"O"===e.body.type[0]?(t.write("("),this.ObjectExpression(e.body,t),t.write(")")):this[e.body.type](e.body,t)},ThisExpression(e,t){t.write("this",e)},Super(e,t){t.write("super",e)},RestElement:a=function(e,t){t.write("..."),this[e.argument.type](e.argument,t)}
129,SpreadElement:a,YieldExpression(e,t){t.write(e.delegate?"yield*":"yield"),e.argument&&(t.write(" "),this[e.argument.type](e.argument,t))},AwaitExpression(e,t){t.write("await ",e),eM(t,e.argument,e)},TemplateLiteral(e,t){let{quasis:r,expressions:n}=e;t.write("`");let{length:i}=n;for(let e=0;e<i;e++){let i=n[e],a=r[e];t.write(a.value.raw,a),t.write("${"),this[i.type](i,t),t.write("}")}let a=r[r.length-1];t.write(a.value.raw,a),t.write("`")},TemplateElement(e,t){t.write(e.value.raw,e)},TaggedTemplateExpression(e,t){eM(t,e.tag,e),this[e.quasi.type](e.quasi,t)},ArrayExpression:s=function(e,t){if(t.write("["),e.elements.length>0){let{elements:r}=e,{length:n}=r;for(let e=0;;){let i=r[e];if(null!=i&&this[i.type](i,t),++e<n)t.write(", ");else{null==i&&t.write(", ");break}}}t.write("]")},ArrayPattern:s,ObjectExpression(e,t){let r=t.indent.repeat(t.indentLevel++),{lineEnd:n,writeComments:i}=t,a=r+t.indent;if(t.write("{"),e.properties.length>0){t.write(n),i&&null!=e.comments&&eN(t,e.comments,a,n);let o=","+n,{properties:s}=e,{length:l}=s;for(let e=0;;){let r=s[e];if(i&&null!=r.comments&&eN(t,r.comments,a,n),t.write(a),this[r.type](r,t),++e<l)t.write(o);else break}t.write(n),i&&null!=e.trailingComments&&eN(t,e.trailingComments,a,n),t.write(r+"}")}else i?null!=e.comments?(t.write(n),eN(t,e.comments,a,n),null!=e.trailingComments&&eN(t,e.trailingComments,a,n),t.write(r+"}")):null!=e.trailingComments?(t.write(n),eN(t,e.trailingComments,a,n),t.write(r+"}")):t.write("}"):t.write("}");t.indentLevel--},Property(e,t){e.method||"i"!==e.kind[0]?this.MethodDefinition(e,t):(e.shorthand||(e.computed?(t.write("["),this[e.key.type](e.key,t),t.write("]")):this[e.key.type](e.key,t),t.write(": ")),this[e.value.type](e.value,t))},PropertyDefinition(e,t){if(e.static&&t.write("static "),e.computed&&t.write("["),this[e.key.type](e.key,t),e.computed&&t.write("]"),null==e.value){"F"!==e.key.type[0]&&t.write(";");return}t.write(" = "),this[e.value.type](e.value,t),t.write(";")},ObjectPattern(e,t){if(t.write("{"),e.properties.length>0){let{properties:r}=e,{length:n}=r;for(let e=0;;)if(this[r[e].type](r[e],t),++e<n)t.write(", ");else break}t.write("}")},SequenceExpression(e,t){eO(t,e.expressions)},UnaryExpression(e,t){if(e.prefix){let{operator:r,argument:n,argument:{type:i}}=e;t.write(r);let a=eI(t,n,e);!a&&(r.length>1||"U"===i[0]&&("n"===i[1]||"p"===i[1])&&n.prefix&&n.operator[0]===r&&("+"===r||"-"===r))&&t.write(" "),a?(t.write(r.length>1?" (":"("),this[i](n,t),t.write(")")):this[i](n,t)}else this[e.argument.type](e.argument,t),t.write(e.operator)},UpdateExpression(e,t){e.prefix?(t.write(e.operator),this[e.argument.type](e.argument,t)):(this[e.argument.type](e.argument,t),t.write(e.operator))},AssignmentExpression(e,t){this[e.left.type](e.left,t),t.write(" "+e.operator+" "),this[e.right.type](e.right,t)},AssignmentPattern(e,t){this[e.left.type](e.left,t),t.write(" = "),this[e.right.type](e.right,t)},BinaryExpression:o=function(e,t){let r="in"===e.operator;r&&t.write("("),eM(t,e.left,e,!1),t.write(" "+e.operator+" "),eM(t,e.right,e,!0),r&&t.write(")")},LogicalExpression:o,ConditionalExpression(e,t){let{test:r}=e,n=t.expressionsPrecedence[r.type];n===eT||n<=t.expressionsPrecedence.ConditionalExpression?(t.write("("),this[r.type](r,t),t.write(")")):this[r.type](r,t),t.write(" ? "),this[e.consequent.type](e.consequent,t),t.write(" : "),this[e.alternate.type](e.alternate,t)},NewExpression(e,t){t.write("new ");let r=t.expressionsPrecedence[e.callee.type];r===eT||r<t.expressionsPrecedence.CallExpression||eR(e.callee)?(t.write("("),this[e.callee.type](e.callee,t),t.write(")")):this[e.callee.type](e.callee,t),eO(t,e.arguments)},CallExpression(e,t){let r=t.expressionsPrecedence[e.callee.type];r===eT||r<t.expressionsPrecedence.CallExpression?(t.write("("),this[e.callee.type](e.callee,t),t.write(")")):this[e.callee.type](e.callee,t),e.optional&&t.write("?."),eO(t,e.arguments)},ChainExpression(e,t){this[e.expression.type](e.expression,t)},MemberExpression(e,t){let r=t.expressionsPrecedence[e.object.type];r===eT||r<t.expressionsPrecedence.MemberExpression?(t.write("("),this[e.object.type](e.object,t),t.write(")")):this[e.object.type](e.object,t),e.computed?(e.optional&&t.write("?."),t.write("["),this[e.property.type](e.property,t),t.write("]")):(e.optional?t.write("?."):t.write("."),this[e.property.type](e.property,t))},MetaProperty(e,t){t.write(e.meta.name+"."+e.property.name,e)},Identifier(e,t){t.write(e.name,e)},PrivateIdentifier(e,t){t.write(`#${e.name}`,e)},Literal(e,t){null!=e.raw?t.write(e.raw,e):null!=e.regex?this.RegExpLiteral(e,t):null!=e.bigint?t.write(e.bigint+"n",e):t.write(eE(e.value),e)},RegExpLiteral(e,t){let{regex:r}=e;t.write(`/${r.pattern}/${r.flags}`,e)}},eF={};class eV{constructor(e){let t=null==e?eF:e;this.output="",null!=t.output?(this.output=t.output,this.write=this.writeToStream):this.output="",this.generator=null!=t.generator?t.generator:eD,this.expressionsPrecedence=null!=t.expressionsPrecedence?t.expressionsPrecedence:eP,this.indent=null!=t.indent?t.indent:" ",this.lineEnd=null!=t.lineEnd?t.lineEnd:"\n",this.indentLevel=null!=t.startingIndentLevel?t.startingIndentLevel:0,this.writeComments=!!t.comments&&t.comments,null!=t.sourceMap&&(this.write=null==t.output?this.writeAndMap:this.writeToStreamAndMap,this.sourceMap=t.sourceMap,this.line=1,this.column=0,this.lineEndSize=this.lineEnd.split("\n").length-1,this.mapping={original:null,generated:this,name:void 0,source:t.sourceMap.file||t.sourceMap._file})}write(e){this.output+=e}writeToStream(e){this.output.write(e)}writeAndMap(e,t){this.output+=e,this.map(e,t)}writeToStreamAndMap(e,t){this.output.write(e),this.map(e,t)}map(e,t){if(null!=t){let{type:r}=t;if("L"===r[0]&&"n"===r[2]){this.column=0,this.line++;return}if(null!=t.loc){let{mapping:e}=this;e.original=t.loc.start,e.name=t.name,this.sourceMap.addMapping(e)}if("T"===r[0]&&"E"===r[8]||"L"===r[0]&&"i"===r[1]&&"string"==typeof t.value){let{length:t}=e,{column:r,line:n}
129=this;for(let i=0;i<t;i++)"\n"===e[i]?(r=0,n++):r++;this.column=r,this.line=n;return}}let{length:r}=e,{lineEnd:n}=this;r>0&&(this.lineEndSize>0&&(1===n.length?e[r-1]===n:e.endsWith(n))?(this.line+=this.lineEndSize,this.column=0):this.column+=r)}toString(){return this.output}}function eB(e,t){let r=new eV(t);return r.generator[e.type](e,r),r.output}let ez={};function e$(e,t){let{SourceMapGenerator:r,filePath:n,handlers:i}=t||ez,a=r?new r({file:n||"<unknown>.js"}):void 0;return{value:eB(e,{comments:!0,generator:{...eD,...i},sourceMap:a||void 0}),map:a?a.toJSON():void 0}}function eU(e){let t=this;function r(r,n){let i={...t.data("settings"),...e},a=e$(r,{SourceMapGenerator:i.SourceMapGenerator,filePath:n.path||"unknown.js",handlers:i.handlers});return n.map=a.map,a.value}this.compiler=r}class eq{constructor(e,t,r){this.normal=t,this.property=e,r&&(this.space=r)}}function eH(e,t){let r={},n={};for(let t of e)Object.assign(r,t.property),Object.assign(n,t.normal);return new eq(r,n,t)}function eY(e){return e.toLowerCase()}eq.prototype.normal={},eq.prototype.property={},eq.prototype.space=void 0;class eW{constructor(e,t){this.attribute=t,this.property=e}}eW.prototype.attribute="",eW.prototype.booleanish=!1,eW.prototype.boolean=!1,eW.prototype.commaOrSpaceSeparated=!1,eW.prototype.commaSeparated=!1,eW.prototype.defined=!1,eW.prototype.mustUseProperty=!1,eW.prototype.number=!1,eW.prototype.overloadedBoolean=!1,eW.prototype.property="",eW.prototype.spaceSeparated=!1,eW.prototype.space=void 0;let eG=0,eK=e2(),eJ=e2(),eX=e2(),eQ=e2(),eZ=e2(),e0=e2(),e1=e2();function e2(){return 2**++eG}let e5=Object.keys(u);class e3 extends eW{constructor(e,t,r,n){let i=-1;if(super(e,t),e4(this,"space",n),"number"==typeof r)for(;++i<e5.length;){let e=e5[i];e4(this,e5[i],(r&u[e])===u[e])}}}function e4(e,t,r){r&&(e[t]=r)}function e6(e){let t={},r={};for(let[n,i]of Object.entries(e.properties)){let a=new e3(n,e.transform(e.attributes||{},n),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(n)&&(a.mustUseProperty=!0),t[n]=a,r[eY(n)]=n,r[eY(a.attribute)]=n}return new eq(t,r,e.space)}e3.prototype.defined=!0;let e9=e6({properties:{ariaActiveDescendant:null,ariaAtomic:eJ,ariaAutoComplete:null,ariaBusy:eJ,ariaChecked:eJ,ariaColCount:eQ,ariaColIndex:eQ,ariaColSpan:eQ,ariaControls:eZ,ariaCurrent:null,ariaDescribedBy:eZ,ariaDetails:null,ariaDisabled:eJ,ariaDropEffect:eZ,ariaErrorMessage:null,ariaExpanded:eJ,ariaFlowTo:eZ,ariaGrabbed:eJ,ariaHasPopup:null,ariaHidden:eJ,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:eZ,ariaLevel:eQ,ariaLive:null,ariaModal:eJ,ariaMultiLine:eJ,ariaMultiSelectable:eJ,ariaOrientation:null,ariaOwns:eZ,ariaPlaceholder:null,ariaPosInSet:eQ,ariaPressed:eJ,ariaReadOnly:eJ,ariaRelevant:null,ariaRequired:eJ,ariaRoleDescription:eZ,ariaRowCount:eQ,ariaRowIndex:eQ,ariaRowSpan:eQ,ariaSelected:eJ,ariaSetSize:eQ,ariaSort:null,ariaValueMax:eQ,ariaValueMin:eQ,ariaValueNow:eQ,ariaValueText:null,role:null},transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function e8(e,t){return t in e?e[t]:t}function e7(e,t){return e8(e,t.toLowerCase())}let te=e6({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:e0,acceptCharset:eZ,accessKey:eZ,action:null,allow:null,allowFullScreen:eK,allowPaymentRequest:eK,allowUserMedia:eK,alt:null,as:null,async:eK,autoCapitalize:null,autoComplete:eZ,autoFocus:eK,autoPlay:eK,blocking:eZ,capture:null,charSet:null,checked:eK,cite:null,className:eZ,cols:eQ,colSpan:null,content:null,contentEditable:eJ,controls:eK,controlsList:eZ,coords:eQ|e0,crossOrigin:null,data:null,dateTime:null,decoding:null,default:eK,defer:eK,dir:null,dirName:null,disabled:eK,download:eX,draggable:eJ,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:eK,formTarget:null,headers:eZ,height:eQ,hidden:eX,high:eQ,href:null,hrefLang:null,htmlFor:eZ,httpEquiv:eZ,id:null,imageSizes:null,imageSrcSet:null,inert:eK,inputMode:null,integrity:null,is:null,isMap:eK,itemId:null,itemProp:eZ,itemRef:eZ,itemScope:eK,itemType:eZ,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:eK,low:eQ,manifest:null,max:null,maxLength:eQ,media:null,method:null,min:null,minLength:eQ,multiple:eK,muted:eK,name:null,nonce:null,noModule:eK,noValidate:eK,onAbort:null,onAfterPrint:null,onAuxCl
129ick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:eK,optimum:eQ,pattern:null,ping:eZ,placeholder:null,playsInline:eK,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:eK,referrerPolicy:null,rel:eZ,required:eK,reversed:eK,rows:eQ,rowSpan:eQ,sandbox:eZ,scope:null,scoped:eK,seamless:eK,selected:eK,shadowRootClonable:eK,shadowRootDelegatesFocus:eK,shadowRootMode:null,shape:null,size:eQ,sizes:null,slot:null,span:eQ,spellCheck:eJ,src:null,srcDoc:null,srcLang:null,srcSet:null,start:eQ,step:null,style:null,tabIndex:eQ,target:null,title:null,translate:null,type:null,typeMustMatch:eK,useMap:null,value:eJ,width:eQ,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:eZ,axis:null,background:null,bgColor:null,border:eQ,borderColor:null,bottomMargin:eQ,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:eK,declare:eK,event:null,face:null,frame:null,frameBorder:null,hSpace:eQ,leftMargin:eQ,link:null,longDesc:null,lowSrc:null,marginHeight:eQ,marginWidth:eQ,noResize:eK,noHref:eK,noShade:eK,noWrap:eK,object:null,profile:null,prompt:null,rev:null,rightMargin:eQ,rules:null,scheme:null,scrolling:eJ,standby:null,summary:null,text:null,topMargin:eQ,valueType:null,version:null,vAlign:null,vLink:null,vSpace:eQ,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:eK,disableRemotePlayback:eK,prefix:null,property:null,results:eQ,security:null,unselectable:null},space:"html",transform:e7}),tt=e6({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",navDown:"nav-down",navDownLeft:"nav
129-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:e1,accentHeight:eQ,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:eQ,amplitude:eQ,arabicForm:null,ascent:eQ,attributeName:null,attributeType:null,azimuth:eQ,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:eQ,by:null,calcMode:null,capHeight:eQ,className:eZ,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:eQ,diffuseConstant:eQ,direction:null,display:null,dur:null,divisor:eQ,dominantBaseline:null,download:eK,dx:null,dy:null,edgeMode:null,editable:null,elevation:eQ,enableBackground:null,end:null,event:null,exponent:eQ,externalResourcesRequired:null,fill:null,fillOpacity:eQ,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:e0,g2:e0,glyphName:e0,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:eQ,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:eQ,horizOriginX:eQ,horizOriginY:eQ,id:null,ideographic:eQ,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:eQ,k:eQ,k1:eQ,k2:eQ,k3:eQ,k4:eQ,kernelMatrix:e1,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:eQ,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:eQ,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,on
129Zoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:eQ,overlineThickness:eQ,paintOrder:null,panose1:null,path:null,pathLength:eQ,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:eZ,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:eQ,pointsAtY:eQ,pointsAtZ:eQ,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:e1,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:e1,rev:e1,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:e1,requiredFeatures:e1,requiredFonts:e1,requiredFormats:e1,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:eQ,specularExponent:eQ,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:eQ,strikethroughThickness:eQ,string:null,stroke:null,strokeDashArray:e1,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:eQ,strokeOpacity:eQ,strokeWidth:null,style:null,surfaceScale:eQ,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:e1,tabIndex:eQ,tableValues:null,target:null,targetX:eQ,targetY:eQ,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:e1,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:eQ,underlineThickness:eQ,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:eQ,values:null,vAlphabetic:eQ,vMathematical:eQ,vectorEffect:null,vHanging:eQ,vIdeographic:eQ,version:null,vertAdvY:eQ,vertOriginX:eQ,vertOriginY:eQ,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:eQ,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:e8}),tr=e6({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),tn=e6({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:e7}),ti=e6({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),ta=eH([e9,te,tr,tn,ti],"html"),to=eH([e9,tt,tr,tn,ti],"svg"),ts=tc("end"),tl=tc("start");function tc(e){return t;function t(t){let r=t&&t.position&&t.position[e]||{};if("number"==typeof r.line&&r.line>0&&"number"==typeof r.column&&r.column>0)return{line:r.line,column:r.column,offset:"number"==typeof r.offset&&r.offset>-1?r.offset:void 0}}}function tu(e){let t=tl(e),r=ts(e);if(t&&r)return{start:t,end:r}}let td={}.hasOwnProperty;function tp(e,t){let r=t||{};function n(t,...r){let i=n.invalid,a=n.handlers;if(t&&td.call(t,e)){let r=String(t[e]);i=td.call(a,r)?a[r]:n.unknown}if(i)return i.call(this,t,...r)}return n.handlers=r.handlers||{},n.invalid=r.invalid,n.unknown=r.unknown,n}function th(e,t){let r={type:"Block",value:e.value};t.inherit(e,r),t.comments.push(r);let n={type:"JSXEmptyExpression",comments:[Object.assign({},r,{leading:!1,trailing:!0})]};t.patch(e,n);let i={type:"JSXExpressionContainer",expression:n};return t.patch(e,i),i}function tf(e,t){let r=t||{};return(""===e[e.length-1]?[...e,""]:e).join((r.padRight?" ":"")+","+(!1===r.padLeft?"":" ")).trim()}let tm=/[A-Z]/g,tg=/-[a-z]/g,ty=/^data[-\w.:]+$/i;function tv(e,t){let r=eY(t),n=t,i=eW;if(r in e.normal)return e.property[e.normal[r]];if(r.length>4&&"data"===r.slice(0,4)&&ty.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(tg,tw);n="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!tg.test(e)){let r=e.replace(tm,tb);"-"!==r.charAt(0)&&(r="-"+r),t="data"+r}}i=e3}return new i(n,t)}function tb(e){return"-"+e.toLowerCase()}function tw(e){return e.charAt(1).toUpperCase()}let tx={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};function tk(e){return e.join(" ").trim()}var tA=r(27420);let tC={}.hasOwnProperty,tS=/[A-Z]/g,tE=new Set(["td","th"]);function t_(e,t){try{return tA(e,{reactCompat:!0})}catch(e){throw Error("Could not parse `style` attribute on `"+t+"`",{cause:e})}}function tT(e){let t,r={};for(t in e)tC.call(e,t)&&(r[tP(t)]=e[t]);return r}function tP(e){let t=e.replace(tS,tO);return"ms-"===t.slice(0,3)&&(t="-"+t),t}function tO(e){return"-"+e.toLowerCase()}let tI={}.hasOwnProperty,tM=[];function tL(e,t){let r=t?[...t].sort(tj):tM;r.length>
1290&&tN(e,{comments:r,index:0})}function tN(e,t){let r;if(t.index===t.comments.length)return;let n=[],i=[];for(r in e)if(tI.call(e,r)){let t=e[r];if(t&&"object"==typeof t&&"comments"!==r)if(Array.isArray(t)){let e=-1;for(;++e<t.length;)t[e]&&"string"==typeof t[e].type&&n.push(t[e])}else"string"==typeof t.type&&n.push(t)}n.sort(tj),i.push(...tR(t,e,!1,{leading:!0,trailing:!1}));let a=-1;for(;++a<n.length;)tN(n[a],t);i.push(...tR(t,e,!0,{leading:!1,trailing:n.length>0})),i.length>0&&(e.comments=i)}function tR(e,t,r,n){let i=[];for(;e.comments[e.index]&&1>tj(e.comments[e.index],t,r);)i.push(Object.assign({},e.comments[e.index++],n));return i}function tj(e,t,r){let n=r?"end":"start";return e.range&&t.range?e.range[0]-t.range[+!!r]:e.loc&&e.loc.start&&t.loc&&t.loc[n]?e.loc.start.line-t.loc[n].line||e.loc.start.column-t.loc[n].column:"start"in e&&n in t?e.start-t[n]:NaN}function tD(e,t){let r,n=e.data&&e.data.estree,i=n&&n.comments||[];n&&(t.comments.push(...i),tL(n,n.comments),r=n.body[0]&&"ExpressionStatement"===n.body[0].type&&n.body[0].expression||void 0),r||(r={type:"JSXEmptyExpression"},t.patch(e,r));let a={type:"JSXExpressionContainer",expression:r};return t.inherit(e,a),a}function tF(e,t){let r=t.schema,n=e.attributes||[],i=-1;e.name&&"html"===r.space&&"svg"===e.name.toLowerCase()&&(t.schema=to);let a=t.all(e),o=[];for(;++i<n.length;){let e,r=n[i],a=r.value;if("mdxJsxAttribute"===r.type){if(null==a)e=null;else if("object"==typeof a){let r,n=a.data&&a.data.estree,i=n&&n.comments||[];n&&(t.comments.push(...i),tL(n,n.comments),r=n.body[0]&&"ExpressionStatement"===n.body[0].type&&n.body[0].expression||void 0),e={type:"JSXExpressionContainer",expression:r||{type:"JSXEmptyExpression"}},t.inherit(a,e)}else e={type:"Literal",value:String(a)};let n={type:"JSXAttribute",name:t.createJsxAttributeName(r.name),value:e};t.inherit(r,n),o.push(n)}else{let e,n=r.data&&r.data.estree,i=n&&n.comments||[];n&&(t.comments.push(...i),tL(n,n.comments),e=n.body[0]&&"ExpressionStatement"===n.body[0].type&&n.body[0].expression&&"ObjectExpression"===n.body[0].expression.type&&n.body[0].expression.properties&&n.body[0].expression.properties[0]&&"SpreadElement"===n.body[0].expression.properties[0].type&&n.body[0].expression.properties[0].argument||void 0);let a={type:"JSXSpreadAttribute",argument:e||{type:"ObjectExpression",properties:[]}};t.inherit(r,a),o.push(a)}}t.schema=r;let s=e.name?{type:"JSXElement",openingElement:{type:"JSXOpeningElement",attributes:o,name:t.createJsxElementName(e.name),selfClosing:0===a.length},closingElement:a.length>0?{type:"JSXClosingElement",name:t.createJsxElementName(e.name)}:null,children:a}:{type:"JSXFragment",openingFragment:{type:"JSXOpeningFragment"},closingFragment:{type:"JSXClosingFragment"},children:a};return t.inherit(e,s),s}let tV=/[ \t\n\f\r]/g;function tB(e){return"object"==typeof e?"text"===e.type&&tz(e.value):tz(e)}function tz(e){return""===e.replace(tV,"")}let t$={comment:th,doctype:tU,element:function(e,t){let r,n,i,a=t.schema,o=a,s=e.properties||{};"html"===a.space&&"svg"===e.tagName.toLowerCase()&&(t.schema=o=to);let l=t.all(e),c=[];for(r in s)if(tC.call(s,r)){let a,l=s[r],u=tv(o,r);if(null==l||!1===l||"number"==typeof l&&Number.isNaN(l)||!l&&u.boolean)continue;if(r="react"===t.elementAttributeNameCase&&u.space?tx[u.property]||u.property:u.attribute,Array.isArray(l)&&(l=u.commaSeparated?tf(l):tk(l)),"style"===r){let r,n="object"==typeof l?l:t_(String(l),e.tagName);"css"===t.stylePropertyNameCase&&(n=tT(n));let o=[];for(r in n)tC.call(n,r)&&o.push({type:"Property",method:!1,shorthand:!1,computed:!1,key:K(r)?{type:"Identifier",name:r}:{type:"Literal",value:r},value:{type:"Literal",value:String(n[r])},kind:"init"});i=o,a={type:"JSXExpressionContainer",expression:{type:"ObjectExpression",properties:o}}}else if(!0===l)a=null;else if(t.tableCellAlignToStyle&&tE.has(e.tagName)&&"align"===r){n=String(l);continue}else a={type:"Literal",value:String(l)};K(r,{jsx:!0})?c.push({type:"JSXAttribute",name:{type:"JSXIdentifier",name:r},value:a}):c.push({type:"JSXSpreadAttribute",argument:{type:"ObjectExpression",properties:[{type:"Property",method:!1,shorthand:!1,computed:!1,key:{type:"Literal",value:String(r)},value:a||{type:"Literal",value:!0},kind:"init"}]}})}
129if(void 0!==n){i||(i=[],c.push({type:"JSXAttribute",name:{type:"JSXIdentifier",name:"style"},value:{type:"JSXExpressionContainer",expression:{type:"ObjectExpression",properties:i}}}));let e="css"===t.stylePropertyNameCase?tP("textAlign"):"textAlign";i.push({type:"Property",method:!1,shorthand:!1,computed:!1,key:K(e)?{type:"Identifier",name:e}:{type:"Literal",value:e},value:{type:"Literal",value:n},kind:"init"})}t.schema=a;let u={type:"JSXElement",openingElement:{type:"JSXOpeningElement",attributes:c,name:t.createJsxElementName(e.tagName),selfClosing:0===l.length},closingElement:l.length>0?{type:"JSXClosingElement",name:t.createJsxElementName(e.tagName)}:null,children:l};return t.inherit(e,u),u},mdxFlowExpression:tD,mdxJsxFlowElement:tF,mdxJsxTextElement:tF,mdxTextExpression:tD,mdxjsEsm:function(e,t){let r=e.data&&e.data.estree,n=r&&r.comments||[];r&&(t.comments.push(...n),tL(r,n),t.esm.push(...r.body))},root:function(e,t){let r,n=t.all(e),i=[],a=-1;for(;++a<n.length;){let e=n[a];"JSXExpressionContainer"===e.type&&"Literal"===e.expression.type&&tB(String(e.expression.value))?r&&r.push(e):(r&&i.push(...r),i.push(e),r=[])}let o={type:"JSXFragment",openingFragment:{type:"JSXOpeningFragment"},closingFragment:{type:"JSXClosingFragment"},children:i};return t.inherit(e,o),o},text:function(e,t){let r=String(e.value||"");if(r){let n={type:"Literal",value:r};t.inherit(e,n);let i={type:"JSXExpressionContainer",expression:n};return t.patch(e,i),i}}};function tU(){}let tq={}.hasOwnProperty,tH=new Set(["table","tbody","thead","tfoot","tr"]);function tY(e){let t=tp("type",{invalid:tW,unknown:tG,handlers:{...t$,...e.handlers}});return{elementAttributeNameCase:e.elementAttributeNameCase||"react",schema:"svg"===e.space?to:ta,stylePropertyNameCase:e.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==e.tableCellAlignToStyle,comments:[],esm:[],all:tK,createJsxAttributeName:tQ,createJsxElementName:tZ,handle:r,inherit:tJ,patch:tX};function r(e){return t(e,this)}}function tW(e){throw Error("Cannot handle value `"+e+"`, expected node")}function tG(e){throw Error("Cannot handle unknown node `"+e.type+"`")}function tK(e){let t=e.children||[],r=-1,n=[],i="html"===this.schema.space&&"element"===e.type&&tH.has(e.tagName.toLowerCase());for(;++r<t.length;){let e=t[r];if(i&&"text"===e.type&&"\n"===e.value)continue;let a=this.handle(e);Array.isArray(a)?n.push(...a):a&&n.push(a)}return n}function tJ(e,t){let r,n,i=e.data;if(tX(e,t),i){for(n in i)tq.call(i,n)&&"estree"!==n&&(r||(r={}),r[n]=i[n]);r&&(t.data=r)}}function tX(e,t){let r=tu(e);r&&void 0!==r.start.offset&&void 0!==r.end.offset&&(t.start=r.start.offset,t.end=r.end.offset,t.loc={start:{line:r.start.line,column:r.start.column-1},end:{line:r.end.line,column:r.end.column-1}},t.range=[r.start.offset,r.end.offset])}function tQ(e){let t=t0(e);if("JSXMemberExpression"===t.type)throw Error("Member expressions in attribute names are not supported");return t}function tZ(e){return t0(e)}function t0(e){if(e.includes(".")){let t=e.split("."),r=t.shift(),n={type:"JSXIdentifier",name:r};for(;r=t.shift();)n={type:"JSXMemberExpression",object:n,property:{type:"JSXIdentifier",name:r}};return n}if(e.includes(":")){let t=e.split(":");return{type:"JSXNamespacedName",namespace:{type:"JSXIdentifier",name:t[0]},name:{type:"JSXIdentifier",name:t[1]}}}return{type:"JSXIdentifier",name:e}}function t1(e,t){let r=tY(t||{}),n=r.handle(e),i=r.esm;if(n){"JSXFragment"!==n.type&&"JSXElement"!==n.type&&(n={type:"JSXFragment",openingFragment:{type:"JSXOpeningFragment"},closingFragment:{type:"JSXClosingFragment"},children:[n]},r.patch(e,n));let t={type:"ExpressionStatement",expression:n};r.patch(e,t),i.push(t)}let a={type:"Program",body:i,sourceType:"module",comments:r.comments};return r.patch(e,a),a}function t2(e){return function(t){return t1(t,e)}}function t5(){return{enter:{mdxFlowExpression:t4,mdxTextExpression:t6},exit:{mdxFlowExpression:t9,mdxFlowExpressionChunk:t8,mdxTextExpression:t9,mdxTextExpressionChunk:t8}}}function t3(){return{handlers:{mdxFlowExpression:t7,mdxTextExpression:t7},unsafe:[{character:"{",inConstruct:["phrasing"]},{atBreak:!0,character:"{"}]}}function t4(e){this.enter({type:"mdxFlowExpression",value:""},e),this.buffer()}function t6(e){this.enter({type:"mdxTextExpression",value:""},e),this.buffer()}function t9(e){let t=this.resume(),r=e.estree,n=this.stack[this.stack.length-1];"mdxFlowExpression"===n.type||n.type,this.exit(e),n.value=t,r&&(n.data={estree:r})}function t8(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}function t7(e,t,r){let n=e.value||"";return"{"+r.indentLines(n,function(e,t,r){return(0===t||r?"":" ")+e})+"}"}function re(e,t){let r=String(e);if("string"!=typeof t)throw TypeError("Expected character");let n=0,i=r.indexOf(t);for(;-1!==i;)n++,i=r.indexOf(t,i+t.length);return n}let rt=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslas
129h","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],rr={0:"�",128:"â¬",130:"â",131:"Æ",132:"â",133:"â¦",134:"â ",135:"â¡",136:"Ë",137:"â°",138:"Å ",139:"â¹",140:"Å",142:"Ž",145:"â",146:"â",147:"â",148:"â",149:"â¢",150:"â",151:"â",152:"Ë",153:"â¢",154:"Å¡",155:"âº",156:"Å",158:"ž",159:"Ÿ"};function rn(e){let t="string"==typeof e?e.charCodeAt(0):e;return t>=48&&t<=57}function ri(e){let t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=102||t>=65&&t<=70||t>=48&&t<=57}function ra(e){let t="string"==typeof e?e.charCodeAt(0):e;return t>=97&&t<=122||t>=65&&t<=90}function ro(e){return ra(e)||rn(e)}let rs=document.createElement("i");function rl(e){let t="&"+e+";";rs.innerHTML=t;let r=rs.textContent;return(59!==r.charCodeAt(r.length-1)||"semi"===e)&&r!==t&&r}let rc=["","Named character references must be terminated by a semicolon","Numeric character references must be terminated by a semicolon","Named character references cannot be empty","Numeric character references cannot be empty","Named character references must be known","Numeric character references cannot be disallowed","Numeric character references cannot be outside the permissible Unicode range"];function ru(e,t){let r,n,i,a=t||{},o="string"==typeof a.additional?a.additional.charCodeAt(0):a.additional,s=[],l=0,c=-1,u="";a.position&&("start"in a.position||"indent"in a.position?(n=a.position.indent,r=a.position.start):r=a.position);let d=(r?r.line:0)||1,p=(r?r.column:0)||1,h=f();for(l--;++l<=e.length;)if(10===i&&(p=(n?n[c]:0)||1),38===(i=e.charCodeAt(l))){let t,r=e.charCodeAt(l+1);if(9===r||10===r||12===r||32===r||38===r||60===r||Number.isNaN(r)||o&&r===o){u+=String.fromCharCode(i),p++;continue}let n=l+1,c=n,d=n;if(35===r){d=++c;let r=e.charCodeAt(d);88===r||120===r?(t="hexadecimal",d=++c):t="decimal"}else t="named";let y="",v="",b="",w="named"===t?ro:"decimal"===t?rn:ri;for(d--;++d<=e.length;){let r=e.charCodeAt(d);if(!w(r))break;b+=String.fromCharCode(r),"named"===t&&rt.includes(b)&&(y=b,v=rl(b))}let x=59===e.charCodeAt(d);if(x){d++;let e="named"===t&&rl(b);e&&(y=b,v=e)}let k=1+d-n,A="";if(x||!1!==a.nonTerminated)if(b)if("named"===t){if(x&&!v)m(5,1);else if(y!==b&&(k=1+(d=c+y.length)-c,x=!1),!x){let t=y?1:3;if(a.attribute){let r=e.charCodeAt(d);61===r?(m(t,k),v=""):ro(r)?v="":m(t,k)}else m(t,k)}A=v}else{x||m(2,k);let e=Number.parseInt(b,"hexadecimal"===t?16:10);if(rd(e))m(7,k),A=String.fromCharCode(65533);else if(e in rr)m(6,k),A=rr[e];else{let t="";rp(e)&&m(6,k),e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10|55296),e=56320|1023&e),A=t+String.fromCharCode(e)}}else"named"!==t&&m(4,k);if(A){g(),h=f(),l=d-1,p+=d-n+1,s.push(A);let t=f();t.offset++,a.reference&&a.reference.call(a.referenceContext||void 0,A,{start:h,end:t},e.slice(n-1,d)),h=t}else b=e.slice(n-1,d),u+=b,p+=b.length,l=d-1}else 10===i&&(d++,c++,p=0),Number.isNaN(i)?g():(u+=String.fromCharCode(i),p++);return s.join("");function f(){return{line:d,column:p,offset:l+((r?r.offset:0)||0)}}function m(e,t){let r;a.warning&&(r=f(),r.column+=t,r.offset+=t,a.warning.call(a.warningContext||void 0,rc[e],r,e))}function g(){u&&(s.push(u),a.text&&a.text.call(a.textContext||void 0,u,{start:h,end:f()}),u="")}}function rd(e){return e>=55296&&e<=57343||e>1114111}function rp(e){return e>=1&&e<=8||11===e||e>=13&&e<=31||e>=127&&e<=159||e>=64976&&e<=65007||(65535&e)==65535||(65535&e)==65534}let rh=/["&'<>`]/g,rf=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,rm=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,rg=/[|\\{}()[\]^$+*?.]/g,ry=new WeakMap;function rv(e,t){if(e=e.replace(t.subset?rb(t.subset):rh,n),t.subset||t.escapeOnly)return e;return e.replace(rf,r).replace(rm,n);function r(e,r,n){return t.format((e.charCodeAt(0)-55296)*1024+e.charCodeAt(1)-56320+65536,n.charCodeAt(r+2),t)}function n(e,r,n){return t.format(e.charCodeAt(0),n.charCodeAt(r+1),t)}}function rb(e){let t=ry.get(e);return t||(t=rw(e),ry.set(e,t)),t}function rw(e){let t=[],r=-1;for(;++r<e.length;)t.push(e[r].replace(rg,"\\$&"));return RegExp("(?:"+t.join("|")+")","g")}function rx(e){return"&#x"+e.toString(16).toUpperCase()+";"}function rk(e,t){return rv(e,Object.assign({format:rx},t))}let rA=" ";
129function rC(){return{canContainEols:["mdxJsxTextElement"],enter:{mdxJsxFlowTag:n,mdxJsxFlowTagClosingMarker:i,mdxJsxFlowTagAttribute:d,mdxJsxFlowTagExpressionAttribute:p,mdxJsxFlowTagAttributeValueLiteral:e,mdxJsxFlowTagAttributeValueExpression:e,mdxJsxFlowTagSelfClosingMarker:o,mdxJsxTextTag:n,mdxJsxTextTagClosingMarker:i,mdxJsxTextTagAttribute:d,mdxJsxTextTagExpressionAttribute:p,mdxJsxTextTagAttributeValueLiteral:e,mdxJsxTextTagAttributeValueExpression:e,mdxJsxTextTagSelfClosingMarker:o},exit:{mdxJsxFlowTagClosingMarker:s,mdxJsxFlowTagNamePrimary:l,mdxJsxFlowTagNameMember:c,mdxJsxFlowTagNameLocal:u,mdxJsxFlowTagExpressionAttribute:h,mdxJsxFlowTagExpressionAttributeValue:r,mdxJsxFlowTagAttributeNamePrimary:m,mdxJsxFlowTagAttributeNameLocal:g,mdxJsxFlowTagAttributeValueLiteral:y,mdxJsxFlowTagAttributeValueLiteralValue:r,mdxJsxFlowTagAttributeValueExpression:b,mdxJsxFlowTagAttributeValueExpressionValue:r,mdxJsxFlowTagSelfClosingMarker:w,mdxJsxFlowTag:x,mdxJsxTextTagClosingMarker:s,mdxJsxTextTagNamePrimary:l,mdxJsxTextTagNameMember:c,mdxJsxTextTagNameLocal:u,mdxJsxTextTagExpressionAttribute:h,mdxJsxTextTagExpressionAttributeValue:r,mdxJsxTextTagAttributeNamePrimary:m,mdxJsxTextTagAttributeNameLocal:g,mdxJsxTextTagAttributeValueLiteral:y,mdxJsxTextTagAttributeValueLiteralValue:r,mdxJsxTextTagAttributeValueExpression:b,mdxJsxTextTagAttributeValueExpressionValue:r,mdxJsxTextTagSelfClosingMarker:w,mdxJsxTextTag:x}};function e(){this.buffer()}function t(e){return{line:e.line,column:e.column,offset:e.offset}}function r(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}function n(e){let t={name:void 0,attributes:[],close:!1,selfClosing:!1,start:e.start,end:e.end};this.data.mdxJsxTagStack||(this.data.mdxJsxTagStack=[]),this.data.mdxJsxTag=t,this.buffer()}function i(e){if(0===this.data.mdxJsxTagStack.length)throw new v("Unexpected closing slash `/` in tag, expected an open tag first",{start:e.start,end:e.end},"mdast-util-mdx-jsx:unexpected-closing-slash")}function a(e){if(this.data.mdxJsxTag.close)throw new v("Unexpected attribute in closing tag, expected the end of the tag",{start:e.start,end:e.end},"mdast-util-mdx-jsx:unexpected-attribute")}function o(e){if(this.data.mdxJsxTag.close)throw new v("Unexpected self-closing slash `/` in closing tag, expected the end of the tag",{start:e.start,end:e.end},"mdast-util-mdx-jsx:unexpected-self-closing-slash")}function s(){this.data.mdxJsxTag.close=!0}function l(e){this.data.mdxJsxTag.name=this.sliceSerialize(e)}function c(e){let t=this.data.mdxJsxTag;t.name+="."+this.sliceSerialize(e)}function u(e){let t=this.data.mdxJsxTag;t.name+=":"+this.sliceSerialize(e)}function d(e){let r=this.data.mdxJsxTag;a.call(this,e),r.attributes.push({type:"mdxJsxAttribute",name:"",value:null,position:{start:t(e.start),end:void 0}})}function p(e){let r=this.data.mdxJsxTag;a.call(this,e),r.attributes.push({type:"mdxJsxExpressionAttribute",value:"",position:{start:t(e.start),end:void 0}}),this.buffer()}function h(e){let r=this.data.mdxJsxTag,n=r.attributes[r.attributes.length-1];n.type;let i=e.estree;n.value=this.resume(),n.position,n.position.end=t(e.end),i&&(n.data={estree:i})}function m(e){let r=this.data.mdxJsxTag,n=r.attributes[r.attributes.length-1];n.type,n.name=this.sliceSerialize(e),n.position,n.position.end=t(e.end)}function g(e){let r=this.data.mdxJsxTag,n=r.attributes[r.attributes.length-1];n.type,n.name+=":"+this.sliceSerialize(e),n.position,n.position.end=t(e.end)}function y(e){let r=this.data.mdxJsxTag,n=r.attributes[r.attributes.length-1];n.value=ru(this.resume(),{nonTerminated:!1}),n.position,n.position.end=t(e.end)}function b(e){let r=this.data.mdxJsxTag,n=r.attributes[r.attributes.length-1];n.type;let i={type:"mdxJsxAttributeValueExpression",value:this.resume()},a=e.estree;a&&(i.data={estree:a}),n.value=i,n.position,n.position.end=t(e.end)}function w(){this.data.mdxJsxTag.selfClosing=!0}function x(e){let t=this.data.mdxJsxTag,r=this.data.mdxJsxTagStack,n=r[r.length-1];if(t.close&&n.name!==t.name)throw new v("Unexpected closing tag `"+C(t)+"`, expected corresponding closing tag for `"+C(n)+"` ("+f(n)+")",{start:e.start,end:e.end},"mdast-util-mdx-jsx:end-tag-mismatch");this.resume(),t.close?r.pop():this.enter({type:"mdxJsxTextTag"===e.type?"mdxJsxTextElement":"mdxJsxFlowElement",name:t.name||null,attributes:t.attributes,children:[]},e,k),t.selfClosing||t.close?this.exit(e,A):r.push(t)}function k(e,t){let r=this.data.mdxJsxTagStack,n=r[r.length-1],i=e?" before the end of `"+e.type+"`":"",a=e?{start:e.start,end:e.end}:void 0;throw new v("Expected a closing tag for `"+C(n)+"` ("+f({start:t.start,end:t.end})+")"+i,a,"mdast-util-mdx-jsx:end-tag-mismatch")}function A(e,t){throw new v("Expected the closing tag `"+C(this.data.mdxJsxTag)+"` either after the end of `"+t.type+"` ("+f(t.end)+") or another opening tag after the start of `"+t.type+"` ("+f(t.start)+")",{start:e.start,end:e.end},"mdast-util-mdx-jsx:end-tag-mismatch")}function C(e){return"<"+(e.close?"/":"")+(e.name||"")+">"}}function rS(e){let t=e||{},r=t.quote||'"',n=t.quoteSmart||!1,i=t.tightSelfClosing||!1,a=t.printWidth||1/0,o='"'===r?"'":'"';if('"'!==r&&"'"!==r)throw Error("Cannot serialize attribute values with `"+r+"` for `options.quote`, expected `\"`, or `'`");return s.peek=rP,{handlers:{mdxJsxFlowElement:s,mdxJsxTextElement:s},unsafe:[{character:"<",inConstruct:["phrasing"]},{atBreak:!0,character:"<"}],fences:!0,resourceLink:!0}
129;function s(e,t,s,l){let c="mdxJsxFlowElement"===e.type,u=!!e.name&&(!e.children||0===e.children.length),d=rT(r_(s)),p=s.createTracker(l),h=s.createTracker(l),f=[],m=(c?d:"")+"<"+(e.name||""),g=s.enter(e.type);if(p.move(m),h.move(m),e.attributes&&e.attributes.length>0){if(!e.name)throw Error("Cannot serialize fragment w/ attributes");let t=-1;for(;++t<e.attributes.length;){let i,a=e.attributes[t];if("mdxJsxExpressionAttribute"===a.type)i="{"+(a.value||"")+"}";else{if(!a.name)throw Error("Cannot serialize attribute w/o name");let e=a.value,t=a.name,s="";if(null==e);else if("object"==typeof e)s="{"+(e.value||"")+"}";else{let t=n&&re(e,r)>re(e,o)?o:r;s=t+rk(e,{subset:[t]})+t}i=t+(s?"=":"")+s}f.push(i)}}let y=!1,v=f.join(" ");c&&(/\r?\n|\r/.test(v)||p.current().now.column+v.length+(u?i?2:3:1)>a)&&(y=!0);let b=p,w=m;if(y){b=h;let e=-1;for(;++e<f.length;)f[e]=d+rA+f[e];w+=b.move("\n"+f.join("\n")+"\n"+d)}else v&&(w+=b.move(" "+v));return u&&(w+=b.move((i||y?"":" ")+"/")),w+=b.move(">"),e.children&&e.children.length>0&&("mdxJsxTextElement"===e.type?w+=b.move(s.containerPhrasing(e,{...b.current(),before:">",after:"<"})):(b.shift(2),w+=b.move("\n"),w+=b.move(rE(e,s,b.current())),w+=b.move("\n"))),u||(w+=b.move((c?d:"")+"</"+(e.name||"")+">")),g(),w}}function rE(e,t,r){let n=t.indexStack,i=e.children,a=t.createTracker(r),o=rT(r_(t)),s=[],l=-1;for(n.push(-1);++l<i.length;){let r=i[l];n[n.length-1]=l;let c={before:"\n",after:"\n",...a.current()},u=t.handle(r,e,t,c),d="mdxJsxFlowElement"===r.type?u:t.indentLines(u,function(e,t,r){return(r?"":o)+e});s.push(a.move(d)),"list"!==r.type&&(t.bulletLastUsed=void 0),l<i.length-1&&s.push(a.move("\n\n"))}return n.pop(),s.join("")}function r_(e){let t=0,r=e.stack.length;for(;--r>-1;){let n=e.stack[r];if("blockquote"===n||"listItem"===n)break;"mdxJsxFlowElement"===n&&t++}return t}function rT(e){return rA.repeat(e)}function rP(){return"<"}function rO(){return{enter:{mdxjsEsm:rM},exit:{mdxjsEsm:rL,mdxjsEsmData:rN}}}function rI(){return{handlers:{mdxjsEsm:rR}}}function rM(e){this.enter({type:"mdxjsEsm",value:""},e),this.buffer()}function rL(e){let t=this.resume(),r=this.stack[this.stack.length-1];r.type,this.exit(e);let n=e.estree;
129r.value=t,n&&(r.data={estree:n})}function rN(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}function rR(e){return e.value||""}function rj(){return[t5(),rC(),rO()]}function rD(e){return{extensions:[t3(),rS(e),rI()]}}var rF=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,78,5,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,199,7,137,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,55,9,266,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,233,0,3,0,8,1,6,0,475,6,110,6,6,9,4759,9,787719,239],rV=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,7,25,39,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,5,57,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,24,43,261,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,33,24,3,24,45,74,6,0,67,12,65,1,2,0,15,4,10,7381,42,31,98,114,8702,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,208,30,2,2,2,1,2,6,3,4,10,1,225,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4381,3,5773,3,7472,16,621,2467,541,1507,4938,6,8489],rB="ââ\xb7Ì-ͯÎÒ-ÒÖ-Ö½Ö¿××××
ר-ØÙ-٩ٰÛ-ÛÛ-Û¤Û§Û¨Ûª-ÛÛ°-Û¹Üܰ-ÝÞ¦-Þ°ß-ßß«-߽߳à -à à -à £à ¥-à §à ©-à à¡-à¡à¢-à¢à£-ࣣ࣡-à¤à¤º-़ा-à¥à¥-à¥à¥¢à¥£à¥¦-९à¦-à¦à¦¼à¦¾-à§à§à§à§-à§à§à§¢à§£à§¦-৯৾à¨-à¨à¨¼à¨¾-à©à©à©à©-à©à©à©¦-ੱੵàª-àªàª¼àª¾-à«
à«-à«à«-à«à«¢à«£à«¦-૯ૺ-à«¿à¬-à¬à¬¼à¬¾-àààà-àà-àà¢à£à¦-à¯à®à®¾-à¯à¯-à¯à¯-à¯à¯à¯¦-௯à°-à°à°¼à°¾-à±à±-à±à±-à±à±à±à±¢à±£à±¦-౯à²-à²à²¼à²¾-à³à³-à³à³-à³à³à³à³¢à³£à³¦-೯ೳà´-à´à´»à´¼à´¾-àµàµ-àµàµ-àµàµàµ¢àµ£àµ¦-൯à¶-à¶à·à·-à·à·à·-à·à·¦-෯ෲෳัิ-ฺà¹-à¹à¹-à¹àº±àº´-ຼà»-à»à»-à»à¼à¼à¼ -༩༹༵༷༾༿ཱ-à¾à¾à¾à¾-à¾à¾-ྼà¿á«-á¾á-áá-áá-á á¢-á¤á§-áá±-á´á-áá-áá-áá©-á±á-áá²-á´ááá²á³á´-ááá -á©á -á á -á ᢩᤠ-ᤫᤰ-᤻á¥-á¥á§-á§á¨-á¨á©-á©á© -᩿᩼-áªáª-áªáª°-᪽ᪿ-á«á« -á««á¬-á¬á¬´-áá-áá«-á³á®-á®á®¡-á®á®°-᮹᯦-᯳ᰤ-á°·á±-á±á±-á±á³-á³á³-᳨á³á³´á³·-á³¹á·-á·¿âââ¿âââ-ââ¡â¥-â°â³¯-⵿⳱ⷠ-â·¿ãª-ã¯ããã»ê -ê©ê¯ê´-ê½êêê°ê±ê ê ê ê £-ê §ê ¬ê¢ê¢ê¢´-ê£
ê£-ê£ê£ -꣱ꣿ-ê¤ê¤¦-ê¤ê¥-ê¥ê¦-ê¦ê¦³-ê§ê§-ê§ê§¥ê§°-꧹ꨩ-ꨶê©ê©ê©ê©-ê©ê©»-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿ê«ê««-ꫯꫵ꫶ꯣ-ꯪ꯬ê¯ê¯°-꯹ï¬ï¸-ï¸ï¸ -︯︳︴ï¹-ï¹ï¼-ï¼ï¼¿ï½¥",rz="\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-ËË-ËË -ˤˬˮͰ-ʹͶͷͺ-ͽͿÎÎ-ÎÎÎ-ΡΣ-ϵϷ-ÒÒ-Ô¯Ô±-ÕÕÕ -Ö×-תׯ-×²Ø -Ùٮٯٱ-ÛÛÛ¥Û¦Û®Û¯Ûº-Û¼Û¿ÜÜ-ܯÝ-Þ¥Þ±ß-ߪߴߵߺà -à à à ¤à ¨à¡-à¡à¡ -ࡪࡰ-à¢à¢-à¢à¢ -à£à¤-हऽà¥à¥-ॡॱ-à¦à¦
-à¦à¦à¦à¦-নপ-রলশ-হঽà§à§à§à§-ৡৰৱৼà¨
-à¨à¨à¨à¨-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹà©-à©à©à©²-à©´àª
-àªàª-àªàª-નપ-રલળવ-હઽà«à« ૡૹà¬
-à¬à¬à¬à¬-ନପ-ରଲଳଵ-ହଽààà-à¡à±à®à®
-à®à®-à®à®-à®à®à®à®à®à®à®£à®¤à®¨-பம-ஹà¯à°
-à°à°-à°à°-నప-హఽà±-à±à±à±à± ౡà²à²
-à²à²-à²à²-ನಪ-ಳವ-ಹಽà³-à³à³ ೡೱೲà´-à´à´-à´à´-ഺഽàµàµ-àµàµ-ൡൺ-ൿà¶
-à¶à¶-නඳ-රලà·-à·à¸-ะาำà¹-à¹àºàºàºàº-àºàº-ຣລວ-ະາຳຽà»-à»à»à»-à»à¼à½-à½à½-ཬà¾-à¾á-áªá¿á-áá-áá¡á¥á¦á®-á°áµ-ááá -á
ááá-áºá¼-áá-áá-ááá-áá -áá-áá-á°á²-áµá¸-á¾áá-á
á-áá-áá-áá-áá-áá -áµá¸-á½á-á¬á¯-á¿á-áá -áªá®-á¸á-áá-á±á-áá -á¬á®-á°á-á³ááá -ᡸá¢-ᢨᢪᢰ-ᣵá¤-á¤á¥-á¥á¥°-ᥴá¦-ᦫᦰ-á§á¨-á¨á¨ -á©áª§á¬
-ᬳá
-áá®-ᮠᮮᮯᮺ-ᯥá°-á°£á±-á±á±-á±½á²-á²á²-ᲺᲽ-Ჿᳩ-ᳬá
129³®-ᳳᳵᳶᳺá´-á¶¿á¸-á¼á¼-á¼á¼ -á½
á½-á½á½-á½á½á½á½á½-á½½á¾-á¾´á¾¶-ᾼιá¿-á¿á¿-á¿á¿-á¿á¿-á¿á¿ -Ῥῲ-á¿´á¿¶-ῼâ±â¿â-ââââ-âââ-ââ¤â¦â¨âª-â¹â¼-â¿â
-â
â
â
-ââ°-ⳤⳫ-ⳮⳲⳳâ´-ⴥⴧâ´â´°-ⵧⵯâ¶-â¶â¶ -ⶦⶨ-ⶮⶰ-ⶶⶸ-â¶¾â·-â·â·-â·â·-â·â·-â·ã
-ãã¡-ã©ã±-ãµã¸-ã¼ã-ãã-ãã¡-ãºã¼-ã¿ã
-ã¯ã±-ãã -ã¿ã°-ã¿ã-ä¶¿ä¸-êê-ê½ê-êê-êêªê«ê-ê®ê¿-êê -ê¯ê-êê¢-êê-êê±-ê ê -ê
ê -ê ê -ê ¢ê¡-ꡳê¢-ꢳꣲ-ꣷꣻꣽꣾê¤-ꤥꤰ-ê¥ê¥ -ꥼê¦-ꦲê§ê§ -ꧤꧦ-ꧯꧺ-ê§¾ê¨-ꨨê©-ê©ê©-ê©ê© -ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽê«ê«ê«-ê«ê« -ꫪꫲ-ê«´ê¬-ê¬ê¬-ê¬ê¬-ê¬ê¬ -ꬦꬨ-ꬮꬰ-êê-ê©ê°-ꯢê°-í£í°-íí-í»ï¤-ï©ï©°-ï«ï¬-ï¬ï¬-ï¬ï¬ï¬-ﬨשׁ-זּטּ-לּמּïïïïï-ï®±ï¯-ï´½ïµ-ï¶ï¶-ï·ï·°-ﷻﹰ-ï¹´ï¹¶-ﻼA-Zï½-ï½ï½¦-ï¾¾ï¿-ï¿ï¿-ï¿ï¿-ï¿ï¿-ï¿",r$={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},rU="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",rq={5:rU,"5module":rU+" export import",6:rU+" const class extends export import super"},rH=/^in(stanceof)?$/,rY=RegExp("["+rz+"]"),rW=RegExp("["+rz+rB+"]");function rG(e,t){for(var r=65536,n=0;n<t.length&&!((r+=t[n])>e);n+=2)if((r+=t[n+1])>=e)return!0;return!1}function rK(e,t){return e<65?36===e:e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&rY.test(String.fromCharCode(e)):!1!==t&&rG(e,rV)))}function rJ(e,t){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&rW.test(String.fromCharCode(e)):!1!==t&&(rG(e,rV)||rG(e,rF)))))}var rX=function(e,t){void 0===t&&(t={}),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.
129isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null};function rQ(e,t){return new rX(e,{beforeExpr:!0,binop:t})}var rZ={beforeExpr:!0},r0={startsExpr:!0},r1={};function r2(e,t){return void 0===t&&(t={}),t.keyword=e,r1[e]=new rX(e,t)}var r5={num:new rX("num",r0),regexp:new rX("regexp",r0),string:new rX("string",r0),name:new rX("name",r0),privateId:new rX("privateId",r0),eof:new rX("eof"),bracketL:new rX("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new rX("]"),braceL:new rX("{",{beforeExpr:!0,startsExpr:!0}),braceR:new rX("}"),parenL:new rX("(",{beforeExpr:!0,startsExpr:!0}),parenR:new rX(")"),comma:new rX(",",rZ),semi:new rX(";",rZ),colon:new rX(":",rZ),dot:new rX("."),question:new rX("?",rZ),questionDot:new rX("?."),arrow:new rX("=>",rZ),template:new rX("template"),invalidTemplate:new rX("invalidTemplate"),ellipsis:new rX("...",rZ),backQuote:new rX("`",r0),dollarBraceL:new rX("${",{beforeExpr:!0,startsExpr:!0}),eq:new rX("=",{beforeExpr:!0,isAssign:!0}),assign:new rX("_=",{beforeExpr:!0,isAssign:!0}),incDec:new rX("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new rX("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:rQ("||",1),logicalAND:rQ("&&",2),bitwiseOR:rQ("|",3),bitwiseXOR:rQ("^",4),bitwiseAND:rQ("&",5),equality:rQ("==/!=/===/!==",6),relational:rQ("</>/<=/>=",7),bitShift:rQ("<</>>/>>>",8),plusMin:new rX("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:rQ("%",10),star:rQ("*",10),slash:rQ("/",10),starstar:new rX("**",{beforeExpr:!0}),coalesce:rQ("??",1),_break:r2("break"),_case:r2("case",rZ),_catch:r2("catch"),_continue:r2("continue"),_debugger:r2("debugger"),_default:r2("default",rZ),_do:r2("do",{isLoop:!0,beforeExpr:!0}),_else:r2("else",rZ),_finally:r2("finally"),_for:r2("for",{isLoop:!0}),_function:r2("function",r0),_if:r2("if"),_return:r2("return",rZ),_switch:r2("switch"),_throw:r2("throw",rZ),_try:r2("try"),_var:r2("var"),_const:r2("const"),_while:r2("while",{isLoop:!0}),_with:r2("with"),_new:r2("new",{beforeExpr:!0,startsExpr:!0}),_this:r2("this",r0),_super:r2("super",r0),_class:r2("class",r0),_extends:r2("extends",rZ),_export:r2("export"),_import:r2("import",r0),_null:r2("null",r0),_true:r2("true",r0),_false:r2("false",r0),_in:r2("in",{beforeExpr:!0,binop:7}),_instanceof:r2("instanceof",{beforeExpr:!0,binop:7}),_typeof:r2("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:r2("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:r2("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},r3=/\r\n?|\n|\u2028|\u2029/,r4=RegExp(r3.source,"g");function r6(e){return 10===e||13===e||8232===e||8233===e}function r9(e,t,r){void 0===r&&(r=e.length);for(var n=t;n<r;n++){var i=e.charCodeAt(n);if(r6(i))return n<r-1&&13===i&&10===e.charCodeAt(n+1)?n+2:n+1}return -1}var r8=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,r7=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,ne=Object.prototype,nt=ne.hasOwnProperty,nr=ne.toString,nn=Object.hasOwn||function(e,t){return nt.call(e,t)},ni=Array.isArray||function(e){return"[object Array]"===nr.call(e)},na=Object.create(null);function no(e){return na[e]||(na[e]=RegExp("^(?:"+e.replace(/ /g,"|")+")$"))}function ns(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(((e-=65536)>>10)+55296,(1023&e)+56320)}var nl=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,nc=function(e,t){this.line=e,this.column=t};nc.prototype.offset=function(e){return new nc(this.line,this.column+e)};var nu=function(e,t,r){this.start=t,this.end=r,null!==e.sourceFile&&(this.source=e.sourceFile)};function nd(e,t){for(var r=1,n=0;;){var i=r9(e,n,t);if(i<0)return new nc(r,t-n);++r,n=i}}var np={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},nh=!1;function nf(e){var t={};for(var r in np)t[r]=e&&nn(e,r)?e[r]:np[r];if("latest"===t.ecmaVersion?t.ecmaVersion=1e8:null==t.ecmaVersion?(!nh&&"object"==typeof console&&console.warn&&(nh=!0,console.warn("Since Acorn 8.0.0, options.ecmaVersion is required.\nDefaulting to 2020, but this will stop working in the future.")),t.ecmaVersion=11):t.ecmaVersion>=2015&&(t.ecmaVersion-=2009),null==t.allowReserved&&(t.allowReserved=t.ecmaVersion<5),e&&null!=e.allowHashBang||(t.allowHashBang=t.ecmaVersion>=14),ni(t.onToken)){var n=t.onToken;t.onToken=function(e){return n.push(e)}}if(ni(t.onComment)&&(t.onComment=nm(t,t.onComment)),"commonjs"===t.sourceType&&t.allowAwaitOutsideFunction)throw Error("Cannot use allowA
129waitOutsideFunction with sourceType: commonjs");return t}function nm(e,t){return function(r,n,i,a,o,s){var l={type:r?"Block":"Line",value:n,start:i,end:a};e.locations&&(l.loc=new nu(this,o,s)),e.ranges&&(l.range=[i,a]),t.push(l)}}var ng=1,ny=2,nv=4,nb=8,nw=16,nx=32,nk=64,nA=128,nC=256,nS=512,nE=1024,n_=259;function nT(e,t){return ny|(e?nv:0)|(t?nb:0)}var nP=0,nO=1,nI=2,nM=3,nL=4,nN=5,nR=function(e,t,r){this.options=e=nf(e),this.sourceFile=e.sourceFile,this.keywords=no(rq[e.ecmaVersion>=6?6:"module"===e.sourceType?"5module":5]);var n="";!0!==e.allowReserved&&(n=r$[e.ecmaVersion>=6?6:5===e.ecmaVersion?5:3],"module"===e.sourceType&&(n+=" await")),this.reservedWords=no(n);var i=(n?n+" ":"")+r$.strict;this.reservedWordsStrict=no(i),this.reservedWordsStrictBind=no(i+" "+r$.strictBind),this.input=String(t),this.containsEsc=!1,r?(this.pos=r,this.lineStart=this.input.lastIndexOf("\n",r-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(r3).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=r5.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule="module"===e.sourceType,this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),0===this.pos&&e.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterScope("commonjs"===this.options.sourceType?ny:ng),this.regexpState=null,this.privateNameStack=[]},nj={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowReturn:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},allowUsing:{configurable:!0},inClassStaticBlock:{configurable:!0}};nR.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)},nj.inFunction.get=function(){return(this.currentVarScope().flags&ny)>0},nj.inGenerator.get=function(){return(this.currentVarScope().flags&nb)>0},nj.inAsync.get=function(){return(this.currentVarScope().flags&nv)>0},nj.canAwait.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e].flags;if(t&(nC|nS))return!1;if(t&ny)return(t&nv)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},nj.allowReturn.get=function(){return!!this.inFunction||!!this.options.allowReturnOutsideFunction&&!!(this.currentVarScope().flags&ng)},nj.allowSuper.get=function(){return(this.currentThisScope().flags&nk)>0||this.options.allowSuperOutsideMethod},nj.allowDirectSuper.get=function(){return(this.currentThisScope().flags&nA)>0},nj.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},nj.allowNewDotTarget.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e].flags;if(t&(nC|nS)||t&ny&&!(t&nw))return!0}return!1},nj.allowUsing.get=function(){var e=this.currentScope().flags;return!(e&nE)&&(!!this.inModule||!(e&ng))},nj.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&nC)>0},nR.extend=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var r=this,n=0;n<e.length;n++)r=e[n](r);return r},nR.parse=function(e,t){return new this(t,e).parse()},nR.parseExpressionAt=function(e,t,r){var n=new this(r,e,t);return n.nextToken(),n.parseExpression()},nR.tokenizer=function(e,t){return new this(t,e)},Object.defineProperties(nR.prototype,nj);var nD=nR.prototype,nF=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;nD.strictDirective=function(e){if(this.options.ecmaVersion<5)return!1;for(;;){r7.lastIndex=e,e+=r7.exec(this.input)[0].length;var t=nF.exec(this.input.slice(e));if(!t)return!1;if("use strict"===(t[1]||t[2])){r7.lastIndex=e+t[0].length;var r=r7.exec(this.input),n=r.index+r[0].length,i=this.input.charAt(n);return";"===i||"}"===i||r3.test(r[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(i)||"!"===i&&"="===this.input.charAt(n+1))}r7.lastIndex=e+=t[0].length,e+=r7.exec(this.input)[0].length,";"===this.input[e]&&e++}},nD.eat=function(e){return this.type===e&&(this.next(),!0)},nD.isContextual=function(e){return this.type===r5.name&&this.value===e&&!this.containsEsc},nD.eatContextual=function(e){return!!this.isContextual(e)&&(this.next(),!0)},nD.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},nD.canInsertSemicolon=function(){return this.type===r5.eof||this.type===r5.braceR||r3.test(this.input.slice(this.lastTokEnd,this.start))},nD.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},nD.semicolon=function(){this.eat(r5.semi)||this.insertSemicolon()||this.unexpected()}
129,nD.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},nD.expect=function(e){this.eat(e)||this.unexpected()},nD.unexpected=function(e){this.raise(null!=e?e:this.start,"Unexpected token")};var nV=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};nD.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var r=t?e.parenthesizedAssign:e.parenthesizedBind;r>-1&&this.raiseRecoverable(r,t?"Assigning to rvalue":"Parenthesized pattern")}},nD.checkExpressionErrors=function(e,t){if(!e)return!1;var r=e.shorthandAssign,n=e.doubleProto;if(!t)return r>=0||n>=0;r>=0&&this.raise(r,"Shorthand property assignments are valid only in destructuring patterns"),n>=0&&this.raiseRecoverable(n,"Redefinition of __proto__ property")},nD.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")},nD.isSimpleAssignTarget=function(e){return"ParenthesizedExpression"===e.type?this.isSimpleAssignTarget(e.expression):"Identifier"===e.type||"MemberExpression"===e.type};var nB=nR.prototype;nB.parseTopLevel=function(e){var t=Object.create(null);for(e.body||(e.body=[]);this.type!==r5.eof;){var r=this.parseStatement(null,!0,t);e.body.push(r)}if(this.inModule)for(var n=0,i=Object.keys(this.undefinedExports);n<i.length;n+=1){var a=i[n];this.raiseRecoverable(this.undefinedExports[a].start,"Export '"+a+"' is not defined")}return this.adaptDirectivePrologue(e.body),this.next(),e.sourceType="commonjs"===this.options.sourceType?"script":this.options.sourceType,this.finishNode(e,"Program")};var nz={kind:"loop"},n$={kind:"switch"};nB.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;r7.lastIndex=this.pos;var t=r7.exec(this.input),r=this.pos+t[0].length,n=this.fullCharCodeAt(r);if(91===n||92===n)return!0;if(e)return!1;if(123===n)return!0;if(rK(n)){var i=r;do r+=n<=65535?1:2;while(rJ(n=this.fullCharCodeAt(r)));if(92===n)return!0;var a=this.input.slice(i,r);if(!rH.test(a))return!0}return!1},nB.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;r7.lastIndex=this.pos;var e,t=r7.exec(this.input),r=this.pos+t[0].length;return!r3.test(this.input.slice(this.pos,r))&&"function"===this.input.slice(r,r+8)&&(r+8===this.input.length||!(rJ(e=this.fullCharCodeAt(r+8))||92===e))},nB.isUsingKeyword=function(e,t){if(this.options.ecmaVersion<17||!this.isContextual(e?"await":"using"))return!1;r7.lastIndex=this.pos;var r=r7.exec(this.input),n=this.pos+r[0].length;if(r3.test(this.input.slice(this.pos,n)))return!1;if(e){var i,a=n+5;if("using"!==this.input.slice(n,a)||a===this.input.length||rJ(i=this.fullCharCodeAt(a))||92===i)return!1;r7.lastIndex=a;var o=r7.exec(this.input);if(n=a+o[0].length,o&&r3.test(this.input.slice(a,n)))return!1}var s=this.fullCharCodeAt(n);if(!rK(s)&&92!==s)return!1;var l=n;do n+=s<=65535?1:2;while(rJ(s=this.fullCharCodeAt(n)));if(92===s)return!0;var c=this.input.slice(l,n);return!rH.test(c)&&(!t||"of"!==c)},nB.isAwaitUsing=function(e){return this.isUsingKeyword(!0,e)},nB.isUsing=function(e){return this.isUsingKeyword(!1,e)},nB.parseStatement=function(e,t,r){var n,i=this.type,a=this.startNode();switch(this.isLet(e)&&(i=r5._var,n="let"),i){case r5._break:case r5._continue:return this.parseBreakContinueStatement(a,i.keyword);case r5._debugger:return this.parseDebuggerStatement(a);case r5._do:return this.parseDoStatement(a);case r5._for:return this.parseForStatement(a);case r5._function:return e&&(this.strict||"if"!==e&&"label"!==e)&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(a,!1,!e);case r5._class:return e&&this.unexpected(),this.parseClass(a,!0);
vendor: 25,052 bytes, line 129
129case r5._if:return this.parseIfStatement(a);case r5._return:return this.parseReturnStatement(a);case r5._switch:return this.parseSwitchStatement(a);case r5._throw:return this.parseThrowStatement(a);case r5._try:return this.parseTryStatement(a);case r5._const:case r5._var:return n=n||this.value,e&&"var"!==n&&this.unexpected(),this.parseVarStatement(a,n);case r5._while:return this.parseWhileStatement(a);case r5._with:return this.parseWithStatement(a);case r5.braceL:return this.parseBlock(!0,a);case r5.semi:return this.parseEmptyStatement(a);case r5._export:case r5._import:if(this.options.ecmaVersion>10&&i===r5._import){r7.lastIndex=this.pos;var o=r7.exec(this.input),s=this.pos+o[0].length,l=this.input.charCodeAt(s);if(40===l||46===l)return this.parseExpressionStatement(a,this.parseExpression())}return!this.options.allowImportExportEverywhere&&(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),i===r5._import?this.parseImport(a):this.parseExport(a,r);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(a,!0,!e);var c=this.isAwaitUsing(!1)?"await using":this.isUsing(!1)?"using":null;if(c)return this.allowUsing||this.raise(this.start,"Using declaration cannot appear in the top level when source type is `script` or in the bare case statement"),"await using"===c&&(this.canAwait||this.raise(this.start,"Await using cannot appear outside of async function"),this.next()),this.next(),this.parseVar(a,!1,c),this.semicolon(),this.finishNode(a,"VariableDeclaration");var u=this.value,d=this.parseExpression();if(i===r5.name&&"Identifier"===d.type&&this.eat(r5.colon))return this.parseLabeledStatement(a,u,d,e);return this.parseExpressionStatement(a,d)}},nB.parseBreakContinueStatement=function(e,t){var r="break"===t;this.next(),this.eat(r5.semi)||this.insertSemicolon()?e.label=null:this.type!==r5.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var n=0;n<this.labels.length;++n){var i=this.labels[n];if((null==e.label||i.name===e.label.name)&&(null!=i.kind&&(r||"loop"===i.kind)||e.label&&r))break}return n===this.labels.length&&this.raise(e.start,"Unsyntactic "+t),this.finishNode(e,r?"BreakStatement":"ContinueStatement")},nB.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")},nB.parseDoStatement=function(e){return this.next(),this.labels.push(nz),e.body=this.parseStatement("do"),this.labels.pop(),this.expect(r5._while),e.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(r5.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},nB.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(nz),this.enterScope(0),this.expect(r5.parenL),this.type===r5.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var r=this.isLet();if(this.type===r5._var||this.type===r5._const||r){var n=this.startNode(),i=r?"let":this.value;return this.next(),this.parseVar(n,!0,i),this.finishNode(n,"VariableDeclaration"),this.parseForAfterInit(e,n,t)}var a=this.isContextual("let"),o=!1,s=this.isUsing(!0)?"using":this.isAwaitUsing(!0)?"await using":null;if(s){var l=this.startNode();return this.next(),"await using"===s&&(this.canAwait||this.raise(this.start,"Await using cannot appear outside of async function"),this.next()),this.parseVar(l,!0,s),this.finishNode(l,"VariableDeclaration"),this.parseForAfterInit(e,l,t)}var c=this.containsEsc,u=new nV,d=this.start,p=t>-1?this.parseExprSubscripts(u,"await"):this.parseExpression(!0,u);return this.type===r5._in||(o=this.options.ecmaVersion>=6&&this.isContextual("of"))?(t>-1?(this.type===r5._in&&this.unexpected(t),e.await=!0):o&&this.options.ecmaVersion>=8&&(p.start!==d||c||"Identifier"!==p.type||"async"!==p.name?this.options.ecmaVersion>=9&&(e.await=!1):this.unexpected()),a&&o&&this.raise(p.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(p,!1,u),this.checkLValPattern(p),this.parseForIn(e,p)):(this.checkExpressionErrors(u,!0),t>-1&&this.unexpected(t),this.parseFor(e,p))},nB.parseForAfterInit=function(e,t,r){return(this.type===r5._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&1===t.declarations.length?(this.options.ecmaVersion>=9&&(this.type===r5._in?r>-1&&this.unexpected(r):e.await=r>-1),this.parseForIn(e,t)):(r>-1&&this.unexpected(r),this.parseFor(e,t))},nB.parseFunctionStatement=function(e,t,r){return this.next(),this.parseFunction(e,nq|(r?0:nH),!1,t)},nB.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(r5._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")},nB.parseReturnStatement=function(e){return this.allowReturn||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(r5.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},nB.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(r5.braceL),this.labels.push(n$),this.enterScope(nE);for(var t,r=!1;this.type!==r5.braceR;)if(this.type===r5._case||this.type===r5._default){var n=this.type===r5._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),n?t.test=this.parseExpression():(r&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),r=!0,t.test=null),this.expect(r5.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},nB.parseThrowStatement=function(e){return this.next(),r3.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var nU=[];nB.parseCatchClauseParam=function(){var e=this.parseBindingAtom(),t="Identifier"===e.type;return this.enterScope(t?nx:0),this.checkLValPattern(e,t?nL:nI),this.expect(r5.parenR),e},nB.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===r5._catch){var t=this.startNode();this.next(),this.eat(r5.parenL)?t.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0)),t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(r5._finally)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},nB.parseVarStatement=function(e,t,r){return this.next(),this.parseVar(e,!1,t,r),this.semicolon(),this.finishNode(e,"VariableDeclaration")},nB.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(nz),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")},nB.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")},nB.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},nB.parseLabeledStatement=function(e,t,r,n){for(var i=0,a=this.labels;i<a.length;i+=1)a[i].name===t&&this.raise(r.start,"Label '"+t+"' is already declared");for(var o=this.type.isLoop?"loop":this.type===r5._switch?"switch":null,s=this.labels.length-1;s>=0;s--){var l=this.labels[s];if(l.statementStart===e.start)l.statementStart=this.start,l.kind=o;else break}return this.labels.push({name:t,kind:o,statementStart:this.start}),e.body=this.parseStatement(n?-1===n.indexOf("label")?n+"label":n:"label"),this.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")},nB.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},nB.parseBlock=function(e,t,r){for(void 0===e&&(e=!0),void 0===t&&(t=this.startNode()),t.body=[],this.expect(r5.braceL),e&&this.enterScope(0);this.type!==r5.braceR;){var n=this.parseStatement(null);t.body.push(n)}return r&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")},nB.parseFor=function(e,t){return e.init=t,this.expect(r5.semi),e.test=this.type===r5.semi?null:this.parseExpression(),this.expect(r5.semi),e.update=this.type===r5.parenR?null:this.parseExpression(),this.expect(r5.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")},nB.parseForIn=function(e,t){var r=this.type===r5._in;return this.next(),"VariableDeclaration"===t.type&&null!=t.declarations[0].init&&(!r||this.options.ecmaVersion<8||this.strict||"var"!==t.kind||"Identifier"!==t.declarations[0].id.type)&&this.raise(t.start,(r?"for-in":"for-of")+" loop variable declaration may not have an initializer"),e.left=t,e.right=r?this.parseExpression():this.parseMaybeAssign(),this.expect(r5.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,r?"ForInStatement":"ForOfStatement")},nB.parseVar=function(e,t,r,n){for(e.declarations=[],e.kind=r;;){var i=this.startNode();if(this.parseVarId(i,r),this.eat(r5.eq)?i.init=this.parseMaybeAssign(t):n||"const"!==r||this.type===r5._in||this.options.ecmaVersion>=6&&this.isContextual("of")?n||"using"!==r&&"await using"!==r||!(this.options.ecmaVersion>=17)||this.type===r5._in||this.isContextual("of")?n||"Identifier"===i.id.type||t&&(this.type===r5._in||this.isContextual("of"))?i.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.raise(this.lastTokEnd,"Missing initializer in "+r+" declaration"):this.unexpected(),e.declarations.push(this.finishNode(i,"VariableDeclarator")),!this.eat(r5.comma))break}return e},nB.parseVarId=function(e,t){e.id="using"===t||"await using"===t?this.parseIdent():this.parseBindingAtom(),this.checkLValPattern(e.id,"var"===t?nO:nI,!1)};var nq=1,nH=2,nY=4;function nW(e,t){var r=t.key.name,n=e[r],i="true";return("MethodDefinition"===t.type&&("get"===t.kind||"set"===t.kind)&&(i=(t.static?"s":"i")+t.kind),"iget"===n&&"iset"===i||"iset"===n&&"iget"===i||"sget"===n&&"sset"===i||"sset"===n&&"sget"===i)?(e[r]="true",!1):!!n||(e[r]=i,!1)}function nG(e,t){var r=e.computed,n=e.key;return!r&&("Identifier"===n.type&&n.name===t||"Literal"===n.type&&n.value===t)}nB.parseFunction=function(e,t,r,n,i){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!n)&&(this.type===r5.star&&t&nH&&this.unexpected(),e.generator=this.eat(r5.star)),this.options.ecmaVersion>=8&&(e.async=!!n),t&nq&&(e.id=t&nY&&this.type!==r5.name?null:this.parseIdent(),e.id&&!(t&nH)&&this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?nO:nI:nM));var a=this.yieldPos,o=this.awaitPos,s=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(nT(e.async,e.generator)),t&nq||(e.id=this.type===r5.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,r,!1,i),this.yieldPos=a,this.awaitPos=o,this.awaitIdentPos=s,this.finishNode(e,t&nq?"FunctionDeclaration":"FunctionExpression")},nB.parseFunctionParams=function(e){this.expect(r5.parenL),e.params=this.parseBindingList(r5.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},nB.parseClass=function(e,t){this.next();var r=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var n=this.enterClassBody(),i=this.startNode(),a=!1;for(i.body=[],this.expect(r5.braceL);this.type!==r5.braceR;){var o=this.parseClassElement(null!==e.superClass);o&&(i.body.push(o),"MethodDefinition"===o.type&&"constructor"===o.kind?(a&&this.raiseRecoverable(o.start,"Duplicate constructor in the same class"),a=!0):o.key&&"PrivateIdentifier"===o.key.type&&nW(n,o)&&this.raiseRecoverable(o.key.start,"Identifier '#"+o.key.name+"' has already been declared"))}return this.strict=r,this.next(),e.body=this.finishNode(i,"ClassBody"),this.exitClassBody(),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},nB.parseClassElement=function(e){if(this.eat(r5.semi))return null;var t=this.options.ecmaVersion,r=this.startNode(),n="",i=!1,a=!1,o="method",s=!1;if(this.eatContextual("static")){if(t>=13&&this.eat(r5.braceL))return this.parseClassStaticBlock(r),r;this.isClassElementNameStart()||this.type===r5.star?s=!0:n="static"}if(r.static=s,!n&&t>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===r5.star)&&!this.canInsertSemicolon()?a=!0:n="async"),!n&&(t>=9||!a)&&this.eat(r5.star)&&(i=!0),!n&&!a&&!i){var l=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?o=l:n=l)}if(n?(r.computed=!1,r.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),r.key.name=n,this.finishNode(r.key,"Identifier")):this.parseClassElementName(r),t<13||this.type===r5.parenL||"method"!==o||i||a){var c=!r.static&&nG(r,"constructor"),u=c&&e;c&&"method"!==o&&this.raise(r.key.start,"Constructor can't have get/set modifier"),r.kind=c?"constructor":o,this.parseClassMethod(r,i,a,u)}else this.parseClassField(r);return r},nB.isClassElementNameStart=function(){return this.type===r5.name||this.type===r5.privateId||this.type===r5.num||this.type===r5.string||this.type===r5.bracketL||this.type.keyword},nB.parseClassElementName=function(e){this.type===r5.privateId?("constructor"===this.value&&this.raise(this.start,"Classes can't have an element named '#constructor'"),e.computed=!1,e.key=this.parsePrivateIdent()):this.parsePropertyName(e)},nB.parseClassMethod=function(e,t,r,n){var i=e.key;"constructor"===e.kind?(t&&this.raise(i.start,"Constructor can't be a generator"),r&&this.raise(i.start,"Constructor can't be an async method")):e.static&&nG(e,"prototype")&&this.raise(i.start,"Classes may not have a static property named prototype");var a=e.value=this.parseMethod(t,r,n);return"get"===e.kind&&0!==a.params.length&&this.raiseRecoverable(a.start,"getter should have no params"),"set"===e.kind&&1!==a.params.length&&this.raiseRecoverable(a.start,"setter should have exactly one param"),"set"===e.kind&&"RestElement"===a.params[0].type&&this.raiseRecoverable(a.params[0].start,"Setter cannot use rest params"),this.finishNode(e,"MethodDefinition")},nB.parseClassField=function(e){return nG(e,"constructor")?this.raise(e.key.start,"Classes can't have a field named 'constructor'"):e.static&&nG(e,"prototype")&&this.raise(e.key.start,"Classes can't have a static field named 'prototype'"),this.eat(r5.eq)?(this.enterScope(nS|nk),e.value=this.parseMaybeAssign(),this.exitScope()):e.value=null,this.semicolon(),this.finishNode(e,"PropertyDefinition")},nB.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;for(this.labels=[],this.enterScope(nC|nk);this.type!==r5.braceR;){var r=this.parseStatement(null);e.body.push(r)}return this.next(),this.exitScope(),this.labels=t,this.finishNode(e,"StaticBlock")},nB.parseClassId=function(e,t){this.type===r5.name?(e.id=this.parseIdent(),t&&this.checkLValSimple(e.id,nI,!1)):(!0===t&&this.unexpected(),e.id=null)},nB.parseClassSuper=function(e){e.superClass=this.eat(r5._extends)?this.parseExprSubscripts(null,!1):null},nB.enterClassBody=function(){var e={declared:Object.create(null),used:[]};return this.privateNameStack.push(e),e.declared},nB.exitClassBody=function(){var e=this.privateNameStack.pop(),t=e.declared,r=e.used;if(this.options.checkPrivateFields)for(var n=this.privateNameStack.length,i=0===n?null:this.privateNameStack[n-1],a=0;a<r.length;++a){var o=r[a];nn(t,o.name)||(i?i.used.push(o):this.raiseRecoverable(o.start,"Private field '#"+o.name+"' must be declared in an enclosing class"))}},nB.parseExportAllDeclaration=function(e,t){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseModuleExportName(),this.checkExport(t,e.exported,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==r5.string&&this.unexpected(),e.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(e,"ExportAllDeclaration")},nB.parseExport=function(e,t){if(this.next(),this.eat(r5.star))return this.parseExportAllDeclaration(e,t);if(this.eat(r5._default))return this.checkExport(t,"default",this.lastTokStart),e.declaration=this.parseExportDefaultDeclaration(),this.finishNode(e,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())e.declaration=this.parseExportDeclaration(e),"VariableDeclaration"===e.declaration.type?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id,e.declaration.id.start),e.specifiers=[],e.source=null,this.options.ecmaVersion>=16&&(e.attributes=[]);else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==r5.string&&this.unexpected(),e.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause());else{for(var r=0,n=e.specifiers;r<n.length;r+=1){var i=n[r];this.checkUnreserved(i.local),this.checkLocalExport(i.local),"Literal"===i.local.type&&this.raise(i.local.start,"A string literal cannot be used as an exported binding without `from`.")}e.source=null,this.options.ecmaVersion>=16&&(e.attributes=[])}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")},nB.parseExportDeclaration=function(e){return this.parseStatement(null)},nB.parseExportDefaultDeclaration=function(){if(this.type===r5._function||(e=this.isAsyncFunction())){var e,t=this.startNode();return this.next(),e&&this.next(),this.parseFunction(t,nq|nY,!1,e)}if(this.type===r5._class){var r=this.startNode();return this.parseClass(r,"nullableID")}var n=this.parseMaybeAssign();return this.semicolon(),n},nB.checkExport=function(e,t,r){e&&("string"!=typeof t&&(t="Identifier"===t.type?t.name:t.value),nn(e,t)&&this.raiseRecoverable(r,"Duplicate export '"+t+"'"),e[t]=!0)},nB.checkPatternExport=function(e,t){var r=t.type;if("Identifier"===r)this.checkExport(e,t,t.start);else if("ObjectPattern"===r)for(var n=0,i=t.properties;n<i.length;n+=1){var a=i[n];this.checkPatternExport(e,a)}else if("ArrayPattern"===r)for(var o=0,s=t.elements;o<s.length;o+=1){var l=s[o];l&&this.checkPatternExport(e,l)}else"Property"===r?this.checkPatternExport(e,t.value):"AssignmentPattern"===r?this.checkPatternExport(e,t.left):"RestElement"===r&&this.checkPatternExport(e,t.argument)},nB.checkVariableExport=function(e,t){if(e)for(var r=0,n=t;r<n.length;r+=1){var i=n[r];this.checkPatternExport(e,i.id)}},nB.shouldParseExportStatement=function(){return"var"===this.type.keyword||"const"===this.type.keyword||"class"===this.type.keyword||"function"===this.type.keyword||this.isLet()||this.isAsyncFunction()},nB.parseExportSpecifier=function(e){var t=this.startNode();return t.local=this.parseModuleExportName(),t.exported=this.eatContextual("as")?this.parseModuleExportName():t.local,this.checkExport(e,t.exported,t.exported.start),this.finishNode(t,"ExportSpecifier")},nB.parseExportSpecifiers=function(e){var t=[],r=!0;for(this.expect(r5.braceL);!this.eat(r5.braceR);){if(r)r=!1;else if(this.expect(r5.comma),this.afterTrailingComma(r5.braceR))break;t.push(this.parseExportSpecifier(e))}return t},nB.parseImport=function(e){return this.next(),this.type===r5.string?(e.specifiers=nU,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===r5.string?this.parseExprAtom():this.unexpected()),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(e,"ImportDeclaration")},nB.parseImportSpecifier=function(){var e=this.startNode();return e.imported=this.parseModuleExportName(),this.eatContextual("as")?e.local=this.parseIdent():(this.checkUnreserved(e.imported),e.local=e.imported),this.checkLValSimple(e.local,nI),this.finishNode(e,"ImportSpecifier")},nB.parseImportDefaultSpecifier=function(){var e=this.startNode();return e.local=this.parseIdent(),this.checkLValSimple(e.local,nI),this.finishNode(e,"ImportDefaultSpecifier")},nB.parseImportNamespaceSpecifier=function(){var e=this.startNode();return this.next(),this.expectContextual("as"),e.local=this.parseIdent(),this.checkLValSimple(e.local,nI),this.finishNode(e,"ImportNamespaceSpecifier")},nB.parseImportSpecifiers=function(){var e=[],t=!0;if(this.type===r5.name&&(e.push(this.parseImportDefaultSpecifier()),!this.eat(r5.comma)))return e;if(this.type===r5.star)return e.push(this.parseImportNamespaceSpecifier()),e;for(this.expect(r5.braceL);!this.eat(r5.braceR);){if(t)t=!1;else if(this.expect(r5.comma),this.afterTrailingComma(r5.braceR))break;e.push(this.parseImportSpecifier())}return e},nB.parseWithClause=function(){var e=[];if(!this.eat(r5._with))return e;this.expect(r5.braceL);for(var t={},r=!0;!this.eat(r5.braceR);){if(r)r=!1;else if(this.expect(r5.comma),this.afterTrailingComma(r5.braceR))break;var n=this.parseImportAttribute(),i="Identifier"===n.key.type?n.key.name:n.key.value;nn(t,i)&&this.raiseRecoverable(n.key.start,"Duplicate attribute key '"+i+"'"),t[i]=!0,e.push(n)}return e},nB.parseImportAttribute=function(){var e=this.startNode();return e.key=this.type===r5.string?this.parseExprAtom():this.parseIdent("never"!==this.options.allowReserved),this.expect(r5.colon),this.type!==r5.string&&this.unexpected(),e.value=this.parseExprAtom(),this.finishNode(e,"ImportAttribute")},nB.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===r5.string){var e=this.parseLiteral(this.value);return nl.test(e.value)&&this.raise(e.start,"An export name cannot include a lone surrogate."),e}return this.parseIdent(!0)},nB.adaptDirectivePrologue=function(e){for(var t=0;t<e.length&&this.isDirectiveCandidate(e[t]);++t)e[t].directive=e[t].expression.raw.slice(1,-1)},nB.isDirectiveCandidate=function(e){return this.options.ecmaVersion>=5&&"ExpressionStatement"===e.type&&"Literal"===e.expression.type&&"string"==typeof e.expression.value&&('"'===this.input[e.start]||"'"===this.input[e.start])};var nK=nR.prototype;nK.toAssignable=function(e,t,r){if(this.options.ecmaVersion>=6&&e)switch(e.type){case"Identifier":this.inAsync&&"await"===e.name&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",r&&this.checkPatternErrors(r,!0);for(var n=0,i=e.properties;n<i.length;n+=1){var a=i[n];this.toAssignable(a,t),"RestElement"===a.type&&("ArrayPattern"===a.argument.type||"ObjectPattern"===a.argument.type)&&this.raise(a.argument.start,"Unexpected token")}break;case"Property":"init"!==e.kind&&this.raise(e.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(e.value,t);break;case"ArrayExpression":e.type="ArrayPattern",r&&this.checkPatternErrors(r,!0),this.toAssignableList(e.elements,t);break;case"SpreadElement":e.type="RestElement",this.toAssignable(e.argument,t),"AssignmentPattern"===e.argument.type&&this.raise(e.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":"="!==e.operator&&this.raise(e.left.end,"Only '=' operator can be used for specifying default value."),e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);break;case"ParenthesizedExpression":this.toAssignable(e.expression,t,r);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!t)break;default:this.raise(e.start,"Assigning to rvalue")}else r&&this.checkPatternErrors(r,!0);return e},nK.toAssignableList=function(e,t){for(var r=e.length,n=0;n<r;n++){var i=e[n];i&&this.toAssignable(i,t)}if(r){var a=e[r-1];6===this.options.ecmaVersion&&t&&a&&"RestElement"===a.type&&"Identifier"!==a.argument.type&&this.unexpected(a.argument.start)}return e},nK.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,"SpreadElement")},nK.parseRestBinding=function(){var e=this.startNode();return this.next(),6===this.options.ecmaVersion&&this.type!==r5.name&&this.unexpected(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")},nK.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case r5.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(r5.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case r5.braceL:return this.parseObj(!0)}return this.parseIdent()},nK.parseBindingList=function(e,t,r,n){for(var i=[],a=!0;!this.eat(e);)if(a?a=!1:this.expect(r5.comma),t&&this.type===r5.comma)i.push(null);else if(r&&this.afterTrailingComma(e))break;
129else if(this.type===r5.ellipsis){var o=this.parseRestBinding();this.parseBindingListItem(o),i.push(o),this.type===r5.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(e);break}else i.push(this.parseAssignableListItem(n));return i},nK.parseAssignableListItem=function(e){var t=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(t),t},nK.parseBindingListItem=function(e){return e},nK.parseMaybeDefault=function(e,t,r){if(r=r||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(r5.eq))return r;var n=this.startNodeAt(e,t);return n.left=r,n.right=this.parseMaybeAssign(),this.finishNode(n,"AssignmentPattern")},nK.checkLValSimple=function(e,t,r){void 0===t&&(t=nP);var n=t!==nP;switch(e.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(n?"Binding ":"Assigning to ")+e.name+" in strict mode"),n&&(t===nI&&"let"===e.name&&this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name"),r&&(nn(r,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),r[e.name]=!0),t!==nN&&this.declareName(e.name,t,e.start));break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":n&&this.raiseRecoverable(e.start,"Binding member expression");break;case"ParenthesizedExpression":return n&&this.raiseRecoverable(e.start,"Binding parenthesized expression"),this.checkLValSimple(e.expression,t,r);default:this.raise(e.start,(n?"Binding":"Assigning to")+" rvalue")}},nK.checkLValPattern=function(e,t,r){switch(void 0===t&&(t=nP),e.type){case"ObjectPattern":for(var n=0,i=e.properties;n<i.length;n+=1){var a=i[n];this.checkLValInnerPattern(a,t,r)}break;case"ArrayPattern":for(var o=0,s=e.elements;o<s.length;o+=1){var l=s[o];l&&this.checkLValInnerPattern(l,t,r)}break;default:this.checkLValSimple(e,t,r)}},nK.checkLValInnerPattern=function(e,t,r){switch(void 0===t&&(t=nP),e.type){case"Property":this.checkLValInnerPattern(e.value,t,r);break;case"AssignmentPattern":this.checkLValPattern(e.left,t,r);break;case"RestElement":this.checkLValPattern(e.argument,t,r);break;default:this.checkLValPattern(e,t,r)}};var nJ=function(e,t,r,n,i){this.token=e,this.isExpr=!!t,this.preserveSpace=!!r,this.override=n,this.generator=!!i},nX={b_stat:new nJ("{",!1),b_expr:new nJ("{",!0),b_tmpl:new nJ("${",!1),p_stat:new nJ("(",!1),p_expr:new nJ("(",!0),q_tmpl:new nJ("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new nJ("function",!1),f_expr:new nJ("function",!0),f_expr_gen:new nJ("function",!0,!1,null,!0),f_gen:new nJ("function",!1,!1,null,!0)},nQ=nR.prototype;nQ.initialContext=function(){return[nX.b_stat]},nQ.curContext=function(){return this.context[this.context.length-1]},nQ.braceIsBlock=function(e){var t=this.curContext();return t===nX.f_expr||t===nX.f_stat||(e===r5.colon&&(t===nX.b_stat||t===nX.b_expr)?!t.isExpr:e===r5._return||e===r5.name&&this.exprAllowed?r3.test(this.input.slice(this.lastTokEnd,this.start)):e===r5._else||e===r5.semi||e===r5.eof||e===r5.parenR||e===r5.arrow||(e===r5.braceL?t===nX.b_stat:e!==r5._var&&e!==r5._const&&e!==r5.name&&!this.exprAllowed))},nQ.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if("function"===t.token)return t.generator}return!1},nQ.updateContext=function(e){var t,r=this.type;r.keyword&&e===r5.dot?this.exprAllowed=!1:(t=r.updateContext)?t.call(this,e):this.exprAllowed=r.beforeExpr},nQ.overrideContext=function(e){this.curContext()!==e&&(this.context[this.context.length-1]=e)},r5.parenR.updateContext=r5.braceR.updateContext=function(){if(1===this.context.length){this.exprAllowed=!0;return}var e=this.context.pop();e===nX.b_stat&&"function"===this.curContext().token&&(e=this.context.pop()),this.exprAllowed=!e.isExpr},r5.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?nX.b_stat:nX.b_expr),this.exprAllowed=!0},r5.dollarBraceL.updateContext=function(){this.context.push(nX.b_tmpl),this.exprAllowed=!0},r5.parenL.updateContext=function(e){var t=e===r5._if||e===r5._for||e===r5._with||e===r5._while;this.context.push(t?nX.p_stat:nX.p_expr),this.exprAllowed=!0},r5.incDec.updateContext=function(){},r5._function.updateContext=r5._class.updateContext=function(e){e.beforeExpr&&e!==r5._else&&(e!==r5.semi||this.curContext()===nX.p_stat)&&!(e===r5._return&&r3.test(this.input.slice(this.lastTokEnd,this.start)))&&(e!==r5.colon&&e!==r5.braceL||this.curContext()!==nX.b_stat)?this.context.push(nX.f_expr):this.context.push(nX.f_stat),this.exprAllowed=!1},r5.colon.updateContext=function(){"function"===this.curContext().token&&this.context.pop(),this.exprAllowed=!0},r5.backQuote.updateContext=function(){this.curContext()===nX.q_tmpl?this.context.pop():this.context.push(nX.q_tmpl),this.exprAllowed=!1},r5.star.updateContext=function(e){if(e===r5._function){var t=this.context.length-1;this.context[t]===nX.f_expr?this.context[t]=nX.f_expr_gen:this.context[t]=nX.f_gen}this.exprAllowed=!0},r5.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==r5.dot&&("of"===this.value&&!this.exprAllowed||"yield"===this.value&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var nZ=nR.prototype;function n0(e){return"Identifier"===e.type||"ParenthesizedExpression"===e.type&&n0(e.expression)}function n1(e){return"MemberExpression"===e.type&&"PrivateIdentifier"===e.property.type||"ChainExpression"===e.type&&n1(e.expression)||"ParenthesizedExpression"===e.type&&n1(e.expression)}nZ.checkPropClash=function(e,t,r){if((!(this.options.ecmaVersion>=9)||"SpreadElement"!==e.type)&&(!(this.options.ecmaVersion>=6)||!e.computed&&!e.method&&!e.shorthand)){var n,i,a=e.key;switch(a.type){case"Identifier":n=a.name;break;case"Literal":n=String(a.value);break;default:return}var o=e.kind;if(this.options.ecmaVersion>=6){"__proto__"===n&&"init"===o&&(t.proto&&(r?r.doubleProto<0&&(r.doubleProto=a.start):this.raiseRecoverable(a.start,"Redefinition of __proto__ property")),t.proto=!0);return}n="$"+n;var s=t[n];s?(i="init"===o?this.strict&&s.init||s.get||s.set:s.init||s[o])&&this.raiseRecoverable(a.start,"Redefinition of property"):s=t[n]={init:!1,get:!1,set:!1},s[o]=!0}},nZ.parseExpression=function(e,t){var r=this.start,n=this.startLoc,i=this.parseMaybeAssign(e,t);
vendor: 22,209 bytes, line 129
129if(this.type===r5.comma){var a=this.startNodeAt(r,n);for(a.expressions=[i];this.eat(r5.comma);)a.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(a,"SequenceExpression")}return i},nZ.parseMaybeAssign=function(e,t,r){if(this.isContextual("yield"))if(this.inGenerator)return this.parseYield(e);else this.exprAllowed=!1;var n=!1,i=-1,a=-1,o=-1;t?(i=t.parenthesizedAssign,a=t.trailingComma,o=t.doubleProto,t.parenthesizedAssign=t.trailingComma=-1):(t=new nV,n=!0);var s=this.start,l=this.startLoc;(this.type===r5.parenL||this.type===r5.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait="await"===e);var c=this.parseMaybeConditional(e,t);if(r&&(c=r.call(this,c,s,l)),this.type.isAssign){var u=this.startNodeAt(s,l);return u.operator=this.value,this.type===r5.eq&&(c=this.toAssignable(c,!1,t)),n||(t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1),t.shorthandAssign>=c.start&&(t.shorthandAssign=-1),this.type===r5.eq?this.checkLValPattern(c):this.checkLValSimple(c),u.left=c,this.next(),u.right=this.parseMaybeAssign(e),o>-1&&(t.doubleProto=o),this.finishNode(u,"AssignmentExpression")}return n&&this.checkExpressionErrors(t,!0),i>-1&&(t.parenthesizedAssign=i),a>-1&&(t.trailingComma=a),c},nZ.parseMaybeConditional=function(e,t){var r=this.start,n=this.startLoc,i=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return i;if(this.eat(r5.question)){var a=this.startNodeAt(r,n);return a.test=i,a.consequent=this.parseMaybeAssign(),this.expect(r5.colon),a.alternate=this.parseMaybeAssign(e),this.finishNode(a,"ConditionalExpression")}return i},nZ.parseExprOps=function(e,t){var r=this.start,n=this.startLoc,i=this.parseMaybeUnary(t,!1,!1,e);return this.checkExpressionErrors(t)||i.start===r&&"ArrowFunctionExpression"===i.type?i:this.parseExprOp(i,r,n,-1,e)},nZ.parseExprOp=function(e,t,r,n,i){var a=this.type.binop;if(null!=a&&(!i||this.type!==r5._in)&&a>n){var o=this.type===r5.logicalOR||this.type===r5.logicalAND,s=this.type===r5.coalesce;s&&(a=r5.logicalAND.binop);var l=this.value;this.next();var c=this.start,u=this.startLoc,d=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,i),c,u,a,i),p=this.buildBinary(t,r,e,d,l,o||s);return(o&&this.type===r5.coalesce||s&&(this.type===r5.logicalOR||this.type===r5.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(p,t,r,n,i)}return e},nZ.buildBinary=function(e,t,r,n,i,a){"PrivateIdentifier"===n.type&&this.raise(n.start,"Private identifier can only be left side of binary expression");var o=this.startNodeAt(e,t);return o.left=r,o.operator=i,o.right=n,this.finishNode(o,a?"LogicalExpression":"BinaryExpression")},nZ.parseMaybeUnary=function(e,t,r,n){var i,a=this.start,o=this.startLoc;if(this.isContextual("await")&&this.canAwait)i=this.parseAwait(n),t=!0;else if(this.type.prefix){var s=this.startNode(),l=this.type===r5.incDec;s.operator=this.value,s.prefix=!0,this.next(),s.argument=this.parseMaybeUnary(null,!0,l,n),this.checkExpressionErrors(e,!0),l?this.checkLValSimple(s.argument):this.strict&&"delete"===s.operator&&n0(s.argument)?this.raiseRecoverable(s.start,"Deleting local variable in strict mode"):"delete"===s.operator&&n1(s.argument)?this.raiseRecoverable(s.start,"Private fields can not be deleted"):t=!0,i=this.finishNode(s,l?"UpdateExpression":"UnaryExpression")}else if(t||this.type!==r5.privateId){if(i=this.parseExprSubscripts(e,n),this.checkExpressionErrors(e))return i;for(;this.type.postfix&&!this.canInsertSemicolon();){var c=this.startNodeAt(a,o);c.operator=this.value,c.prefix=!1,c.argument=i,this.checkLValSimple(i),this.next(),i=this.finishNode(c,"UpdateExpression")}}else(n||0===this.privateNameStack.length)&&this.options.checkPrivateFields&&this.unexpected(),i=this.parsePrivateIdent(),this.type!==r5._in&&this.unexpected();return!r&&this.eat(r5.starstar)?t?void this.unexpected(this.lastTokStart):this.buildBinary(a,o,i,this.parseMaybeUnary(null,!1,!1,n),"**",!1):i},nZ.parseExprSubscripts=function(e,t){var r=this.start,n=this.startLoc,i=this.parseExprAtom(e,t);if("ArrowFunctionExpression"===i.type&&")"!==this.input.slice(this.lastTokStart,this.lastTokEnd))return i;var a=this.parseSubscripts(i,r,n,!1,t);return e&&"MemberExpression"===a.type&&(e.parenthesizedAssign>=a.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=a.start&&(e.parenthesizedBind=-1),e.trailingComma>=a.start&&(e.trailingComma=-1)),a},nZ.parseSubscripts=function(e,t,r,n,i){for(var a=this.options.ecmaVersion>=8&&"Identifier"===e.type&&"async"===e.name&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start==5&&this.potentialArrowAt===e.start,o=!1;;){var s=this.parseSubscript(e,t,r,n,a,o,i);if(s.optional&&(o=!0),s===e||"ArrowFunctionExpression"===s.type){if(o){var l=this.startNodeAt(t,r);l.expression=s,s=this.finishNode(l,"ChainExpression")}return s}e=s}},nZ.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(r5.arrow)},nZ.parseSubscriptAsyncArrow=function(e,t,r,n){return this.parseArrowExpression(this.startNodeAt(e,t),r,!0,n)},nZ.parseSubscript=function(e,t,r,n,i,a,o){var s=this.options.ecmaVersion>=11,l=s&&this.eat(r5.questionDot);n&&l&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var c=this.eat(r5.bracketL);if(c||l&&this.type!==r5.parenL&&this.type!==r5.backQuote||this.eat(r5.dot)){var u=this.startNodeAt(t,r);u.object=e,c?(u.property=this.parseExpression(),this.expect(r5.bracketR)):this.type===r5.privateId&&"Super"!==e.type?u.property=this.parsePrivateIdent():u.property=this.parseIdent("never"!==this.options.allowReserved),u.computed=!!c,s&&(u.optional=l),e=this.finishNode(u,"MemberExpression")}else if(!n&&this.eat(r5.parenL)){var d=new nV,p=this.yieldPos,h=this.awaitPos,f=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var m=this.parseExprList(r5.parenR,this.options.ecmaVersion>=8,!1,d);if(i&&!l&&this.shouldParseAsyncArrow())return this.checkPatternErrors(d,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=p,this.awaitPos=h,this.awaitIdentPos=f,this.parseSubscriptAsyncArrow(t,r,m,o);this.checkExpressionErrors(d,!0),this.yieldPos=p||this.yieldPos,this.awaitPos=h||this.awaitPos,this.awaitIdentPos=f||this.awaitIdentPos;var g=this.startNodeAt(t,r);g.callee=e,g.arguments=m,s&&(g.optional=l),e=this.finishNode(g,"CallExpression")}else if(this.type===r5.backQuote){(l||a)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var y=this.startNodeAt(t,r);y.tag=e,y.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(y,"TaggedTemplateExpression")}return e},nZ.parseExprAtom=function(e,t,r){this.type===r5.slash&&this.readRegexp();var n,i=this.potentialArrowAt===this.start;switch(this.type){case r5._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),n=this.startNode(),this.next(),this.type!==r5.parenL||this.allowDirectSuper||this.raise(n.start,"super() call outside constructor of a subclass"),this.type!==r5.dot&&this.type!==r5.bracketL&&this.type!==r5.parenL&&this.unexpected(),this.finishNode(n,"Super");case r5._this:return n=this.startNode(),this.next(),this.finishNode(n,"ThisExpression");case r5.name:var a=this.start,o=this.startLoc,s=this.containsEsc,l=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!s&&"async"===l.name&&!this.canInsertSemicolon()&&this.eat(r5._function))return this.overrideContext(nX.f_expr),this.parseFunction(this.startNodeAt(a,o),0,!1,!0,t);if(i&&!this.canInsertSemicolon()){if(this.eat(r5.arrow))return this.parseArrowExpression(this.startNodeAt(a,o),[l],!1,t);if(this.options.ecmaVersion>=8&&"async"===l.name&&this.type===r5.name&&!s&&(!this.potentialArrowInForAwait||"of"!==this.value||this.containsEsc))return l=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(r5.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(a,o),[l],!0,t)}return l;case r5.regexp:var c=this.value;return(n=this.parseLiteral(c.value)).regex={pattern:c.pattern,flags:c.flags},n;case r5.num:case r5.string:return this.parseLiteral(this.value);case r5._null:case r5._true:case r5._false:return(n=this.startNode()).value=this.type===r5._null?null:this.type===r5._true,n.raw=this.type.keyword,this.next(),this.finishNode(n,"Literal");case r5.parenL:var u=this.start,d=this.parseParenAndDistinguishExpression(i,t);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(d)&&(e.parenthesizedAssign=u),e.parenthesizedBind<0&&(e.parenthesizedBind=u)),d;case r5.bracketL:return n=this.startNode(),this.next(),n.elements=this.parseExprList(r5.bracketR,!0,!0,e),this.finishNode(n,"ArrayExpression");case r5.braceL:return this.overrideContext(nX.b_expr),this.parseObj(!1,e);case r5._function:return n=this.startNode(),this.next(),this.parseFunction(n,0);case r5._class:return this.parseClass(this.startNode(),!1);case r5._new:return this.parseNew();case r5.backQuote:return this.parseTemplate();case r5._import:if(this.options.ecmaVersion>=11)return this.parseExprImport(r);return this.unexpected();default:return this.parseExprAtomDefault()}},nZ.parseExprAtomDefault=function(){this.unexpected()},nZ.parseExprImport=function(e){var t=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type===r5.parenL&&!e)return this.parseDynamicImport(t);if(this.type===r5.dot){var r=this.startNodeAt(t.start,t.loc&&t.loc.start);return r.name="import",t.meta=this.finishNode(r,"Identifier"),this.parseImportMeta(t)}this.unexpected()},nZ.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),this.options.ecmaVersion>=16)this.eat(r5.parenR)?e.options=null:(this.expect(r5.comma),this.afterTrailingComma(r5.parenR)?e.options=null:(e.options=this.parseMaybeAssign(),!this.eat(r5.parenR)&&(this.expect(r5.comma),this.afterTrailingComma(r5.parenR)||this.unexpected())));else if(!this.eat(r5.parenR)){var t=this.start;this.eat(r5.comma)&&this.eat(r5.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")},nZ.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),"meta"!==e.property.name&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),"module"===this.options.sourceType||this.options.allowImportExportEverywhere||this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")},nZ.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),110===t.raw.charCodeAt(t.raw.length-1)&&(t.bigint=null!=t.value?t.value.toString():t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")},nZ.parseParenExpression=function(){this.expect(r5.parenL);var e=this.parseExpression();return this.expect(r5.parenR),e},nZ.shouldParseArrow=function(e){return!this.canInsertSemicolon()},nZ.parseParenAndDistinguishExpression=function(e,t){var r,n=this.start,i=this.startLoc,a=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var o,s=this.start,l=this.startLoc,c=[],u=!0,d=!1,p=new nV,h=this.yieldPos,f=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==r5.parenR;){if(u?u=!1:this.expect(r5.comma),a&&this.afterTrailingComma(r5.parenR,!0)){d=!0;break}if(this.type===r5.ellipsis){o=this.start,c.push(this.parseParenItem(this.parseRestBinding())),this.type===r5.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}c.push(this.parseMaybeAssign(!1,p,this.parseParenItem))}var m=this.lastTokEnd,g=this.lastTokEndLoc;if(this.expect(r5.parenR),e&&this.shouldParseArrow(c)&&this.eat(r5.arrow))return this.checkPatternErrors(p,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=h,this.awaitPos=f,this.parseParenArrowList(n,i,c,t);(!c.length||d)&&this.unexpected(this.lastTokStart),o&&this.unexpected(o),this.checkExpressionErrors(p,!0),this.yieldPos=h||this.yieldPos,this.awaitPos=f||this.awaitPos,c.length>1?((r=this.startNodeAt(s,l)).expressions=c,this.finishNodeAt(r,"SequenceExpression",m,g)):r=c[0]}else r=this.parseParenExpression();if(!this.options.preserveParens)return r;var y=this.startNodeAt(n,i);return y.expression=r,this.finishNode(y,"ParenthesizedExpression")},nZ.parseParenItem=function(e){return e},nZ.parseParenArrowList=function(e,t,r,n){return this.parseArrowExpression(this.startNodeAt(e,t),r,!1,n)};var n2=[];nZ.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===r5.dot){var t=this.startNodeAt(e.start,e.loc&&e.loc.start);t.name="new",e.meta=this.finishNode(t,"Identifier"),this.next();var r=this.containsEsc;return e.property=this.parseIdent(!0),"target"!==e.property.name&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),r&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(e.start,"'new.target' can only be used in functions and class static block"),this.finishNode(e,"MetaProperty")}var n=this.start,i=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),n,i,!0,!1),this.eat(r5.parenL)?e.arguments=this.parseExprList(r5.parenR,this.options.ecmaVersion>=8,!1):e.arguments=n2,this.finishNode(e,"NewExpression")},nZ.parseTemplateElement=function(e){var t=e.isTagged,r=this.startNode();return this.type===r5.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),r.value={raw:this.value.replace(/\r\n?/g,"\n"),cooked:null}):r.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),r.tail=this.type===r5.backQuote,this.finishNode(r,"TemplateElement")},nZ.parseTemplate=function(e){void 0===e&&(e={});var t=e.isTagged;void 0===t&&(t=!1);var r=this.startNode();this.next(),r.expressions=[];var n=this.parseTemplateElement({isTagged:t});for(r.quasis=[n];!n.tail;)this.type===r5.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(r5.dollarBraceL),r.expressions.push(this.parseExpression()),this.expect(r5.braceR),r.quasis.push(n=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(r,"TemplateLiteral")},nZ.isAsyncProp=function(e){return!e.computed&&"Identifier"===e.key.type&&"async"===e.key.name&&(this.type===r5.name||this.type===r5.num||this.type===r5.string||this.type===r5.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===r5.star)&&!r3.test(this.input.slice(this.lastTokEnd,this.start))},nZ.parseObj=function(e,t){var r=this.startNode(),n=!0,i={};for(r.properties=[],this.next();!this.eat(r5.braceR);){if(n)n=!1;else if(this.expect(r5.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(r5.braceR))break;var a=this.parseProperty(e,t);e||this.checkPropClash(a,i,t),r.properties.push(a)}return this.finishNode(r,e?"ObjectPattern":"ObjectExpression")},nZ.parseProperty=function(e,t){var r,n,i,a,o=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(r5.ellipsis))return e?(o.argument=this.parseIdent(!1),this.type===r5.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(o,"RestElement")):(o.argument=this.parseMaybeAssign(!1,t),this.type===r5.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(o,"SpreadElement"));this.options.ecmaVersion>=6&&(o.method=!1,o.shorthand=!1,(e||t)&&(i=this.start,a=this.startLoc),e||(r=this.eat(r5.star)));var s=this.containsEsc;return this.parsePropertyName(o),!e&&!s&&this.options.ecmaVersion>=8&&!r&&this.isAsyncProp(o)?(n=!0,r=this.options.ecmaVersion>=9&&this.eat(r5.star),this.parsePropertyName(o)):n=!1,this.parsePropertyValue(o,e,r,n,i,a,t,s),this.finishNode(o,"Property")},nZ.parseGetterSetter=function(e){var t=e.key.name;this.parsePropertyName(e),e.value=this.parseMethod(!1),e.kind=t;var r=+("get"!==e.kind);if(e.value.params.length!==r){var n=e.value.start;"get"===e.kind?this.raiseRecoverable(n,"getter should have no params"):this.raiseRecoverable(n,"setter should have exactly one param")}else"set"===e.kind&&"RestElement"===e.value.params[0].type&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")},nZ.parsePropertyValue=function(e,t,r,n,i,a,o,s){(r||n)&&this.type===r5.colon&&this.unexpected(),this.eat(r5.colon)?(e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,o),e.kind="init"):this.options.ecmaVersion>=6&&this.type===r5.parenL?(t&&this.unexpected(),e.method=!0,e.value=this.parseMethod(r,n),e.kind="init"):t||s||!(this.options.ecmaVersion>=5)||e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||this.type===r5.comma||this.type===r5.braceR||this.type===r5.eq?this.options.ecmaVersion>=6&&!e.computed&&"Identifier"===e.key.type?((r||n)&&this.unexpected(),this.checkUnreserved(e.key),"await"!==e.key.name||this.awaitIdentPos||(this.awaitIdentPos=i),t?e.value=this.parseMaybeDefault(i,a,this.copyNode(e.key)):this.type===r5.eq&&o?(o.shorthandAssign<0&&(o.shorthandAssign=this.start),e.value=this.parseMaybeDefault(i,a,this.copyNode(e.key))):e.value=this.copyNode(e.key),e.kind="init",e.shorthand=!0):this.unexpected():((r||n)&&this.unexpected(),this.parseGetterSetter(e))},nZ.parsePropertyName=function(e){if(this.options.ecmaVersion>=6)if(this.eat(r5.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(r5.bracketR),e.key;else e.computed=!1;return e.key=this.type===r5.num||this.type===r5.string?this.parseExprAtom():this.parseIdent("never"!==this.options.allowReserved)},nZ.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},nZ.parseMethod=function(e,t,r){var n=this.startNode(),i=this.yieldPos,a=this.awaitPos,o=this.awaitIdentPos;return this.initFunction(n),this.options.ecmaVersion>=6&&(n.generator=e),this.options.ecmaVersion>=8&&(n.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(nT(t,n.generator)|nk|(r?nA:0)),this.expect(r5.parenL),n.params=this.parseBindingList(r5.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(n,!1,!0,!1),this.yieldPos=i,this.awaitPos=a,this.awaitIdentPos=o,this.finishNode(n,"FunctionExpression")},nZ.parseArrowExpression=function(e,t,r,n){var i=this.yieldPos,a=this.awaitPos,o=this.awaitIdentPos;return this.enterScope(nT(r,!1)|nw),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!r),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1,n),this.yieldPos=i,this.awaitPos=a,this.awaitIdentPos=o,this.finishNode(e,"ArrowFunctionExpression")},nZ.parseFunctionBody=function(e,t,r,n){var i=t&&this.type!==r5.braceL,a=this.strict,o=!1;if(i)e.body=this.parseMaybeAssign(n),e.expression=!0,this.checkParams(e,!1);else{var s=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!a||s)&&(o=this.strictDirective(this.end))&&s&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list");var l=this.labels;this.labels=[],o&&(this.strict=!0),this.checkParams(e,!a&&!o&&!t&&!r&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLValSimple(e.id,nN),e.body=this.parseBlock(!1,void 0,o&&!a),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=l}this.exitScope()},nZ.isSimpleParamList=function(e){for(var t=0,r=e;t<r.length;t+=1)if("Identifier"!==r[t].type)return!1;return!0},nZ.checkParams=function(e,t){for(var r=Object.create(null),n=0,i=e.params;n<i.length;n+=1){var a=i[n];this.checkLValInnerPattern(a,nO,t?null:r)}},nZ.parseExprList=function(e,t,r,n){for(var i=[],a=!0;!this.eat(e);){if(a)a=!1;else if(this.expect(r5.comma),t&&this.afterTrailingComma(e))break;var o=void 0;r&&this.type===r5.comma?o=null:this.type===r5.ellipsis?(o=this.parseSpread(n),n&&this.type===r5.comma&&n.trailingComma<0&&(n.trailingComma=this.start)):o=this.parseMaybeAssign(!1,n),i.push(o)}return i},nZ.checkUnreserved=function(e){var t=e.start,r=e.end,n=e.name;if(this.inGenerator&&"yield"===n&&this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&"await"===n&&this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function"),this.currentThisScope().flags&n_||"arguments"!==n||this.raiseRecoverable(t,"Cannot use 'arguments' in class field initializer"),this.inClassStaticBlock&&("arguments"===n||"await"===n)&&this.raise(t,"Cannot use "+n+" in class static initialization block"),this.keywords.test(n)&&this.raise(t,"Unexpected keyword '"+n+"'"),!(this.options.ecmaVersion<6)||-1===this.input.slice(t,r).indexOf("\\")){var i=this.strict?this.reservedWordsStrict:this.reservedWords;i.test(n)&&(this.inAsync||"await"!==n||this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(t,"The keyword '"+n+"' is reserved"))}},nZ.parseIdent=function(e){var t=this.parseIdentNode();return this.next(!!e),this.finishNode(t,"Identifier"),!e&&(this.checkUnreserved(t),"await"!==t.name||this.awaitIdentPos||(this.awaitIdentPos=t.start)),t},nZ.parseIdentNode=function(){var e=this.startNode();return this.type===r5.name?e.name=this.value:this.type.keyword?(e.name=this.type.keyword,("class"===e.name||"function"===e.name)&&(this.lastTokEnd!==this.lastTokStart+1||46!==this.input.charCodeAt(this.lastTokStart))&&this.context.pop(),this.type=r5.name):this.unexpected(),e},nZ.parsePrivateIdent=function(){var e=this.startNode();return this.type===r5.privateId?e.name=this.value:this.unexpected(),this.next(),this.finishNode(e,"PrivateIdentifier"),this.options.checkPrivateFields&&(0===this.privateNameStack.length?this.raise(e.start,"Private field '#"+e.n
129ame+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(e)),e},nZ.parseYield=function(e){this.yieldPos||(this.yieldPos=this.start);var t=this.startNode();return this.next(),this.type===r5.semi||this.canInsertSemicolon()||this.type!==r5.star&&!this.type.startsExpr?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(r5.star),t.argument=this.parseMaybeAssign(e)),this.finishNode(t,"YieldExpression")},nZ.parseAwait=function(e){this.awaitPos||(this.awaitPos=this.start);var t=this.startNode();return this.next(),t.argument=this.parseMaybeUnary(null,!0,!1,e),this.finishNode(t,"AwaitExpression")};var n5=nR.prototype;n5.raise=function(e,t){var r=nd(this.input,e);t+=" ("+r.line+":"+r.column+")",this.sourceFile&&(t+=" in "+this.sourceFile);var n=SyntaxError(t);throw n.pos=e,n.loc=r,n.raisedAt=this.pos,n},n5.raiseRecoverable=n5.raise,n5.curPosition=function(){if(this.options.locations)return new nc(this.curLine,this.pos-this.lineStart)};var n3=nR.prototype,n4=function(e){this.flags=e,this.var=[],this.lexical=[],this.functions=[]};n3.enterScope=function(e){this.scopeStack.push(new n4(e))},n3.exitScope=function(){this.scopeStack.pop()},n3.treatFunctionsAsVarInScope=function(e){return e.flags&ny||!this.inModule&&e.flags&ng},n3.declareName=function(e,t,r){var n=!1;if(t===nI){var i=this.currentScope();n=i.lexical.indexOf(e)>-1||i.functions.indexOf(e)>-1||i.var.indexOf(e)>-1,i.lexical.push(e),this.inModule&&i.flags&ng&&delete this.undefinedExports[e]}else if(t===nL)this.currentScope().lexical.push(e);else if(t===nM){var a=this.currentScope();n=this.treatFunctionsAsVar?a.lexical.indexOf(e)>-1:a.lexical.indexOf(e)>-1||a.var.indexOf(e)>-1,a.functions.push(e)}else for(var o=this.scopeStack.length-1;o>=0;--o){var s=this.scopeStack[o];if(s.lexical.indexOf(e)>-1&&!(s.flags&nx&&s.lexical[0]===e)||!this.treatFunctionsAsVarInScope(s)&&s.functions.indexOf(e)>-1){n=!0;break}if(s.var.push(e),this.inModule&&s.flags&ng&&delete this.undefinedExports[e],s.flags&n_)break}n&&this.raiseRecoverable(r,"Identifier '"+e+"' has already been declared")},n3.checkLocalExport=function(e){-1===this.scopeStack[0].lexical.indexOf(e.name)&&-1===this.scopeStack[0].var.indexOf(e.name)&&(this.undefinedExports[e.name]=e)},n3.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},n3.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&(n_|nS|nC))return t}},n3.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&(n_|nS|nC)&&!(t.flags&nw))return t}};var n6=function(e,t,r){this.type="",this.start=t,this.end=0,e.options.locations&&(this.loc=new nu(e,r)),e.options.directSourceFile&&(this.sourceFile=e.options.directSourceFile),e.options.ranges&&(this.range=[t,0])},n9=nR.prototype;function n8(e,t,r,n){return e.type=t,e.end=r,this.options.locations&&(e.loc.end=n),this.options.ranges&&(e.range[1]=r),e}n9.startNode=function(){return new n6(this,this.start,this.startLoc)},n9.startNodeAt=function(e,t){return new n6(this,e,t)},n9.finishNode=function(e,t){return n8.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)},n9.finishNodeAt=function(e,t,r,n){return n8.call(this,e,t,r,n)},n9.copyNode=function(e){var t=new n6(this,e.start,this.startLoc);for(var r in e)t[r]=e[r];return t};var n7="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",ie=n7+" Extended_Pictographic",it=ie,ir=it+" EBase EComp EMod EPres ExtPict",ii=ir,ia=ii,io={9:n7,10:ie,11:it,12:ir,13:ii,14:ia},is={9:"",10:"",11:"",12:"",13:"",14:"Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji"},il="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",ic="Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Re
129jang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",iu=ic+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",id=iu+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",ip=id+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",ih=ip+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",im=ih+" Berf Beria_Erfe Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sidetic Sidt Sunu Sunuwar Tai_Yo Tayo Todhri Todr Tolong_Siki Tols Tulu_Tigalari Tutg Unknown Zzzz",ig={9:ic,10:iu,11:id,12:ip,13:ih,14:im},iy={};function iv(e){var t=iy[e]={binary:no(io[e]+" "+il),binaryOfStrings:no(is[e]),nonBinary:{General_Category:no(il),Script:no(ig[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}for(var ib=0,iw=[9,10,11,12,13,14];ib<iw.length;ib+=1)iv(iw[ib]);var ix=nR.prototype,ik=function(e,t){this.parent=e,this.base=t||this};ik.prototype.separatedFrom=function(e){for(var t=this;t;t=t.parent)for(var r=e;r;r=r.parent)if(t.base===r.base&&t!==r)return!0;return!1},ik.prototype.sibling=function(){return new ik(this.parent,this.base)};var iA=function(e){this.parser=e,this.validFlags="gim"+(e.options.ecmaVersion>=6?"uy":"")+(e.options.ecmaVersion>=9?"s":"")+(e.options.ecmaVersion>=13?"d":"")+(e.options.ecmaVersion>=15?"v":""),this.unicodeProperties=iy[e.options.ecmaVersion>=14?14:e.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchV=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=Object.create(null),this.backReferenceNames=[],this.branchID=null};function iC(e){for(var t in e)return!0;return!1}function iS(e){return 105===e||109===e||115===e}function iE(e){return 36===e||e>=40&&e<=43||46===e||63===e||e>=91&&e<=94||e>=123&&e<=125}function i_(e){return rK(e,!0)||36===e||95===e}function iT(e){return rJ(e,!0)||36===e||95===e||8204===e||8205===e}function iP(e){return e>=65&&e<=90||e>=97&&e<=122}function iO(e){return e>=0&&e<=1114111}iA.prototype.reset=function(e,t,r){var n=-1!==r.indexOf("v"),i=-1!==r.indexOf("u");this.start=0|e,this.source=t+"",this.flags=r,n&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=i&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=i&&this.parser.options.ecmaVersion>=9)},iA.prototype.raise=function(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)},iA.prototype.at=function(e,t){void 0===t&&(t=!1);var r=this.source,n=r.length;if(e>=n)return -1;var i=r.charCodeAt(e);if(!(t||this.switchU)||i<=55295||i>=57344||e+1>=n)return i;var a=r.charCodeAt(e+1);return a>=56320&&a<=57343?(i<<10)+a-0x35fdc00:i},iA.prototype.nextIndex=function(e,t){void 0===t&&(t=!1);var r=this.source,n=r.length;if(e>=n)return n;var i,a=r.charCodeAt(e);return!(t||this.switchU)||a<=55295||a>=57344||e+1>=n||(i=r.charCodeAt(e+1))<56320||i>57343?e+1:e+2},iA.prototype.current=function(e){return void 0===e&&(e=!1),this.at(this.pos,e)},iA.prototype.lookahead=function(e){return void 0===e&&(e=!1),this.at(this.nextIndex(this.pos,e),e)},iA.prototype.advance=function(e){void 0===e&&(e=!1),this.pos=this.nextIndex(this.pos,e)},iA.prototype.eat=function(e,t){return void 0===t&&(t=!1),this.current(t)===e&&(this.advance(t),!0)},iA.prototype.eatChars=function(e,t){void 0===t&&(t=!1);for(var r=this.pos,n=0,i=e;n<i.length;n+=1){var a=i[n],o=this.at(r,t);if(-1===o||o!==a)return!1;r=this.nextIndex(r,t)}return this.pos=r,!0},ix.validateRegExpFlags=function(e){for(var t=e.validFlags,r=e.flags,n=!1,i=!1,a=0;a<r.length;a++){var o=r.charAt(a);-1===t.indexOf(o)&&this.raise(e.start,"Invalid regular expression flag"),r.indexOf(o,a+1)>-1&&this.raise(e.start,"Duplicate regular expression flag"),"u"===o&&(n=!0),"v"===o&&(i=!0)}this.options.ecmaVersion>=15&&n&&i&&this.raise(e.start,"Invalid regular expression flag")},ix.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&iC(e.groupNames)&&(e.switchN=!0,this.regexp_pattern(e))},ix.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames=Object.create(null),e.backReferenceNames.length=0,e.branchID=null,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,r=e.backReferenceNames;t<r.length;t+=1){var n=r[t];e.groupNames[n]||e.raise("Invalid named capture referenced")}},ix.regexp_disjunction=function(e){var t=this.options.ecmaVersion>=16;for(t&&(e.branchID=new ik(e.branchID,null)),this.regexp_alternative(e);e.eat(124);)t&&(e.branchID=e.branchID.sibling()),this.regexp_alternative(e);t&&(e.branchID=e.branchID.parent),this.regexp_eatQuantifier(e,!0)&&e.raise("Nothing to repeat"),e.eat(123)&&e.raise("Lone quantifier brackets")},ix.regexp_alternative=function(e){for(;e.pos<e.source.length&&this.regexp_eatTerm(e););},ix.regexp_eatTerm=function(e){return this.regexp_eatAssertion(e)?(e.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(e)&&e.switchU&&e.raise("Invalid quantifier"),!0):(e.switchU?!!this.regexp_eatAtom(e):!!this.regexp_eatExtendedAtom(e))&&(this.regexp_eatQuantifier(e),!0)},ix.regexp_eatAssertion=function(e){var t=e.pos;if(e.lastAssertionIsQuantifiable=!1,e.eat(94)||e.eat(36))return!0;
vendor: 4,452 bytes, line 129
129if(e.eat(92)){if(e.eat(66)||e.eat(98))return!0;e.pos=t}if(e.eat(40)&&e.eat(63)){var r=!1;if(this.options.ecmaVersion>=9&&(r=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!r,!0}return e.pos=t,!1},ix.regexp_eatQuantifier=function(e,t){return void 0===t&&(t=!1),!!this.regexp_eatQuantifierPrefix(e,t)&&(e.eat(63),!0)},ix.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},ix.regexp_eatBracedQuantifier=function(e,t){var r=e.pos;if(e.eat(123)){var n=0,i=-1;if(this.regexp_eatDecimalDigits(e)&&(n=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(i=e.lastIntValue),e.eat(125)))return -1!==i&&i<n&&!t&&e.raise("numbers out of order in {} quantifier"),!0;e.switchU&&!t&&e.raise("Incomplete quantifier"),e.pos=r}return!1},ix.regexp_eatAtom=function(e){return this.regexp_eatPatternCharacters(e)||e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)},ix.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e))return!0;e.pos=t}return!1},ix.regexp_eatUncapturingGroup=function(e){var t=e.pos;if(e.eat(40)){if(e.eat(63)){if(this.options.ecmaVersion>=16){var r=this.regexp_eatModifiers(e),n=e.eat(45);if(r||n){for(var i=0;i<r.length;i++){var a=r.charAt(i);r.indexOf(a,i+1)>-1&&e.raise("Duplicate regular expression modifiers")}if(n){var o=this.regexp_eatModifiers(e);r||o||58!==e.current()||e.raise("Invalid regular expression modifiers");for(var s=0;s<o.length;s++){var l=o.charAt(s);(o.indexOf(l,s+1)>-1||r.indexOf(l)>-1)&&e.raise("Duplicate regular expression modifiers")}}}}if(e.eat(58)){if(this.regexp_disjunction(e),e.eat(41))return!0;e.raise("Unterminated group")}}e.pos=t}return!1},ix.regexp_eatCapturingGroup=function(e){if(e.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(e):63===e.current()&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1},ix.regexp_eatModifiers=function(e){for(var t="",r=0;-1!==(r=e.current())&&iS(r);)t+=ns(r),e.advance();return t},ix.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)},ix.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1},ix.regexp_eatSyntaxCharacter=function(e){var t=e.current();return!!iE(t)&&(e.lastIntValue=t,e.advance(),!0)},ix.regexp_eatPatternCharacters=function(e){for(var t=e.pos,r=0;-1!==(r=e.current())&&!iE(r);)e.advance();return e.pos!==t},ix.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return -1!==t&&36!==t&&(!(t>=40)||!(t<=43))&&46!==t&&63!==t&&91!==t&&94!==t&&124!==t&&(e.advance(),!0)},ix.regexp_groupSpecifier=function(e){if(e.eat(63)){this.regexp_eatGroupName(e)||e.raise("Invalid group");var t=this.options.ecmaVersion>=16,r=e.groupNames[e.lastStringValue];if(r)if(t)for(var n=0,i=r;n<i.length;n+=1)i[n].separatedFrom(e.branchID)||e.raise("Duplicate capture group name");else e.raise("Duplicate capture group name");t?(r||(e.groupNames[e.lastStringValue]=[])).push(e.branchID):e.groupNames[e.lastStringValue]=!0}},ix.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1},ix.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=ns(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=ns(e.lastIntValue);return!0}return!1},ix.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,n=e.current(r);return(e.advance(r),92===n&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(n=e.lastIntValue),i_(n))?(e.lastIntValue=n,!0):(e.pos=t,!1)},ix.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,n=e.current(r);return(e.advance(r),92===n&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(n=e.lastIntValue),iT(n))?(e.lastIntValue=n,!0):(e.pos=t,!1)}
129,ix.regexp_eatAtomEscape=function(e){return!!(this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e))||(e.switchU&&(99===e.current()&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)},ix.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var r=e.lastIntValue;if(e.switchU)return r>e.maxBackReference&&(e.maxBackReference=r),!0;if(r<=e.numCapturingParens)return!0;e.pos=t}return!1},ix.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1},ix.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)},ix.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},ix.regexp_eatZero=function(e){return!(48!==e.current()||iB(e.lookahead()))&&(e.lastIntValue=0,e.advance(),!0)},ix.regexp_eatControlEscape=function(e){var t=e.current();return 116===t?(e.lastIntValue=9,e.advance(),!0):110===t?(e.lastIntValue=10,e.advance(),!0):118===t?(e.lastIntValue=11,e.advance(),!0):102===t?(e.lastIntValue=12,e.advance(),!0):114===t&&(e.lastIntValue=13,e.advance(),!0)},ix.regexp_eatControlLetter=function(e){var t=e.current();return!!iP(t)&&(e.lastIntValue=t%32,e.advance(),!0)},ix.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){void 0===t&&(t=!1);var r=e.pos,n=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var i=e.lastIntValue;if(n&&i>=55296&&i<=56319){var a=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var o=e.lastIntValue;if(o>=56320&&o<=57343)return e.lastIntValue=(i-55296)*1024+(o-56320)+65536,!0}e.pos=a,e.lastIntValue=i}return!0}if(n&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&iO(e.lastIntValue))return!0;n&&e.raise("Invalid unicode escape"),e.pos=r}return!1},ix.regexp_eatIdentityEscape=function(e){if(e.switchU)return!!this.regexp_eatSyntaxCharacter(e)||!!e.eat(47)&&(e.lastIntValue=47,!0);var t=e.current();return 99!==t&&(!e.switchN||107!==t)&&(e.lastIntValue=t,e.advance(),!0)},ix.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do e.lastIntValue=10*e.lastIntValue+(t-48),e.advance();while((t=e.current())>=48&&t<=57);return!0}return!1};var iI=0,iM=1,iL=2;function iN(e){return 100===e||68===e||115===e||83===e||119===e||87===e}function iR(e){return iP(e)||95===e}function ij(e){return iR(e)||iB(e)}function iD(e){return 33===e||e>=35&&e<=38||e>=42&&e<=44||46===e||e>=58&&e<=64||94===e||96===e||126===e}function iF(e){return 40===e||41===e||45===e||47===e||e>=91&&e<=93||e>=123&&e<=125}function iV(e){return 33===e||35===e||37===e||38===e||44===e||45===e||e>=58&&e<=62||64===e||96===e||126===e}function iB(e){return e>=48&&e<=57}function iz(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function i$(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}function iU(e){return e>=48&&e<=55}ix.regexp_eatCharacterClassEscape=function(e){var t,r=e.current();if(iN(r))return e.lastIntValue=-1,e.advance(),iM;var n=!1;if(e.switchU&&this.options.ecmaVersion>=9&&((n=80===r)||112===r)){if(e.lastIntValue=-1,e.advance(),e.eat(123)&&(t=this.regexp_eatUnicodePropertyValueExpression(e))&&e.eat(125))return n&&t===iL&&e.raise("Invalid property name"),t;e.raise("Invalid property name")}return iI},ix.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var r=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var n=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,r,n),iM}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var i=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,i)}return iI},ix.regexp_validateUnicodePropertyNameAndValue=function(e,t,r){nn(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(r)||e.raise("Invalid property value")},ix.regexp_validateUnicodePropertyNameOrValue=function(e,t){return e.unicodeProperties.binary.test(t)?iM:e.switchV&&e.unicodeProperties.binaryOfStrings.test(t)?iL:void e.raise("Invalid property name")},ix.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";iR(t=e.current());)e.lastStringValue+=ns(t),e.advance();return""!==e.lastStringValue},ix.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";ij(t=e.current());)e.lastStringValue+=ns(t),e.advance();return""!==e.lastStringValue},ix.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)}
129,ix.regexp_eatCharacterClass=function(e){if(e.eat(91)){var t=e.eat(94),r=this.regexp_classContents(e);return e.eat(93)||e.raise("Unterminated character class"),t&&r===iL&&e.raise("Negated character class may contain strings"),!0}return!1},ix.regexp_classContents=function(e){return 93===e.current()?iM:e.switchV?this.regexp_classSetExpression(e):(this.regexp_nonEmptyClassRanges(e),iM)},ix.regexp_nonEmptyClassRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var r=e.lastIntValue;e.switchU&&(-1===t||-1===r)&&e.raise("Invalid character class"),-1!==t&&-1!==r&&t>r&&e.raise("Range out of order in character class")}}},ix.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var r=e.current();(99===r||iU(r))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var n=e.current();return 93!==n&&(e.lastIntValue=n,e.advance(),!0)},ix.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)},ix.regexp_classSetExpression=function(e){var t,r=iM;if(this.regexp_eatClassSetRange(e));else if(t=this.regexp_eatClassSetOperand(e)){t===iL&&(r=iL);for(var n=e.pos;e.eatChars([38,38]);){if(38!==e.current()&&(t=this.regexp_eatClassSetOperand(e))){t!==iL&&(r=iM);continue}e.raise("Invalid character in character class")}if(n!==e.pos)return r;for(;e.eatChars([45,45]);)this.regexp_eatClassSetOperand(e)||e.raise("Invalid character in character class");if(n!==e.pos)return r}else e.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(e)){if(t=this.regexp_eatClassSetOperand(e),!t)return r;t===iL&&(r=iL)}},ix.regexp_eatClassSetRange=function(e){var t=e.pos;if(this.regexp_eatClassSetCharacter(e)){var r=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassSetCharacter(e)){var n=e.lastIntValue;return -1!==r&&-1!==n&&r>n&&e.raise("Range out of order in character class"),!0}e.pos=t}return!1},ix.regexp_eatClassSetOperand=function(e){return this.regexp_eatClassSetCharacter(e)?iM:this.regexp_eatClassStringDisjunction(e)||this.regexp_eatNestedClass(e)},ix.regexp_eatNestedClass=function(e){var t=e.pos;if(e.eat(91)){var r=e.eat(94),n=this.regexp_classContents(e);if(e.eat(93))return r&&n===iL&&e.raise("Negated character class may contain strings"),n;e.pos=t}if(e.eat(92)){var i=this.regexp_eatCharacterClassEscape(e);if(i)return i;e.pos=t}return null},ix.regexp_eatClassStringDisjunction=function(e){var t=e.pos;if(e.eatChars([92,113])){if(e.eat(123)){var r=this.regexp_classStringDisjunctionContents(e);if(e.eat(125))return r}else e.raise("Invalid escape");e.pos=t}return null},ix.regexp_classStringDisjunctionContents=function(e){for(var t=this.regexp_classString(e);e.eat(124);)this.regexp_classString(e)===iL&&(t=iL);return t},ix.regexp_classString=function(e){for(var t=0;this.regexp_eatClassSetCharacter(e);)t++;return 1===t?iM:iL},ix.regexp_eatClassSetCharacter=function(e){var t=e.pos;if(e.eat(92))return!!(this.regexp_eatCharacterEscape(e)||this.regexp_eatClassSetReservedPunctuator(e))||(e.eat(98)?(e.lastIntValue=8,!0):(e.pos=t,!1));var r=e.current();return!(r<0||r===e.lookahead()&&iD(r)||iF(r))&&(e.advance(),e.lastIntValue=r,!0)},ix.regexp_eatClassSetReservedPunctuator=function(e){var t=e.current();return!!iV(t)&&(e.lastIntValue=t,e.advance(),!0)},ix.regexp_eatClassControlLetter=function(e){var t=e.current();return(!!iB(t)||95===t)&&(e.lastIntValue=t%32,e.advance(),!0)},ix.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1},ix.regexp_eatDecimalDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;iB(r=e.current());)e.lastIntValue=10*e.lastIntValue+(r-48),e.advance();return e.pos!==t},ix.regexp_eatHexDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;iz(r=e.current());)e.lastIntValue=16*e.lastIntValue+i$(r),e.advance();return e.pos!==t},ix.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var r=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=64*t+8*r+e.lastIntValue:e.lastIntValue=8*t+r}else e.lastIntValue=t;return!0}return!1},ix.regexp_eatOctalDigit=function(e){var t=e.current();return iU(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)},ix.regexp_eatFixedHexDigits=function(e,t){var r=e.pos;e.lastIntValue=0;for(var n=0;n<t;++n){var i=e.current();if(!iz(i))return e.pos=r,!1;e.lastIntValue=16*e.lastIntValue+i$(i),e.advance()}return!0};var iq=function(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,e.options.locations&&(this.loc=new nu(e,e.startLoc,e.endLoc)),e.options.ranges&&(this.range=[e.start,e.end])},iH=nR.prototype;function iY(e,t){return t?parseInt(e,8):parseFloat(e.replace(/_/g,""))}function iW(e){return"function"!=typeof BigInt?null:BigInt(e.replace(/_/g,""))}iH.next=function(e){!e&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new iq(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},iH.getToken=function(){return this.next(),new iq(this)},"undefined"!=typeof Symbol&&(iH[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===r5.eof,value:t}}}}),iH.nextToken=function(){var e=this.curContext();return(e&&e.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)?this.finishToken(r5.eof):e.override?e.override(this):void this.readToken(this.fullCharCodeAtPos())},iH.readToken=function(e){return rK(e,this.options.ecmaVersion>=6)||92===e?this.readWord():this.getTokenFromCode(e)},iH.fullCharCodeAt=function(e){var t=this.input.charCodeAt(e);if(t<=55295||t>=56320)return t;var r=this.input.charCodeAt(e+1);return r<=56319||r>=57344?t:(t<<10)+r-0x35fdc00},iH.fullCharCodeAtPos=function(){return this.fullCharCodeAt(this.pos)},iH.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(-1===r&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations)for(var n=void 0,i=t;(n=r9(this.input,i,this.pos))>-1;)++this.curLine,i=this.lineStart=n;this.options.onComment&&this.options.onComment(!0,this.input.slice(t+2,r),t,this.pos,e,this.curPosition())},iH.skipLineComment=function(e){for(var t=this.pos,r=this.options.onComment&&this.curPosition(),n=this.input.charCodeAt(this.pos+=e);this.pos<this.input.length&&!r6(n);)n=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(t+e,this.pos),t,this.pos,r,this.curPosition())},iH.skipSpace=function(){n:for(;this.pos<this.input.length;){var e=this.input.charCodeAt(this.pos);switch(e){case 32:case 160:++this.pos;break;case 13:10===this.input.charCodeAt(this.pos+1)&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break n}break;default:if(e>8&&e<14||e>=5760&&r8.test(String.fromCharCode(e)))++this.pos;else break n}}},iH.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());
129var r=this.type;this.type=e,this.value=t,this.updateContext(r)},iH.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===e&&46===t?(this.pos+=3,this.finishToken(r5.ellipsis)):(++this.pos,this.finishToken(r5.dot))},iH.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===e?this.finishOp(r5.assign,2):this.finishOp(r5.slash,1)},iH.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),r=1,n=42===e?r5.star:r5.modulo;return(this.options.ecmaVersion>=7&&42===e&&42===t&&(++r,n=r5.starstar,t=this.input.charCodeAt(this.pos+2)),61===t)?this.finishOp(r5.assign,r+1):this.finishOp(n,r)},iH.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e)return this.options.ecmaVersion>=12&&61===this.input.charCodeAt(this.pos+2)?this.finishOp(r5.assign,3):this.finishOp(124===e?r5.logicalOR:r5.logicalAND,2);return 61===t?this.finishOp(r5.assign,2):this.finishOp(124===e?r5.bitwiseOR:r5.bitwiseAND,1)},iH.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(r5.assign,2):this.finishOp(r5.bitwiseXOR,1)},iH.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?45===t&&!this.inModule&&62===this.input.charCodeAt(this.pos+2)&&(0===this.lastTokEnd||r3.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(r5.incDec,2):61===t?this.finishOp(r5.assign,2):this.finishOp(r5.plusMin,1)},iH.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),r=1;return t===e?(r=62===e&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+r))?this.finishOp(r5.assign,r+1):this.finishOp(r5.bitShift,r):33!==t||60!==e||this.inModule||45!==this.input.charCodeAt(this.pos+2)||45!==this.input.charCodeAt(this.pos+3)?(61===t&&(r=2),this.finishOp(r5.relational,r)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},iH.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return 61===t?this.finishOp(r5.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===e&&62===t&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(r5.arrow)):this.finishOp(61===e?r5.eq:r5.prefix,1)},iH.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(46===t){var r=this.input.charCodeAt(this.pos+2);if(r<48||r>57)return this.finishOp(r5.questionDot,2)}if(63===t)return e>=12&&61===this.input.charCodeAt(this.pos+2)?this.finishOp(r5.assign,3):this.finishOp(r5.coalesce,2)}return this.finishOp(r5.question,1)},iH.readToken_numberSign=function(){var e=this.options.ecmaVersion,t=35;if(e>=13&&(++this.pos,rK(t=this.fullCharCodeAtPos(),!0)||92===t))return this.finishToken(r5.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+ns(t)+"'")},iH.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(r5.parenL);case 41:return++this.pos,this.finishToken(r5.parenR);case 59:return++this.pos,this.finishToken(r5.semi);case 44:return++this.pos,this.finishToken(r5.comma);case 91:return++this.pos,this.finishToken(r5.bracketL);case 93:return++this.pos,this.finishToken(r5.bracketR);case 123:return++this.pos,this.finishToken(r5.braceL);case 125:return++this.pos,this.finishToken(r5.braceR);case 58:return++this.pos,this.finishToken(r5.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(r5.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(120===t||88===t)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===t||79===t)return this.readRadixNumber(8);if(98===t||66===t)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);
vendor: 4,134 bytes, line 129
129case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(r5.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+ns(e)+"'")},iH.finishOp=function(e,t){var r=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,r)},iH.readRegexp=function(){for(var e,t,r=this.pos;;){this.pos>=this.input.length&&this.raise(r,"Unterminated regular expression");var n=this.input.charAt(this.pos);if(r3.test(n)&&this.raise(r,"Unterminated regular expression"),e)e=!1;else{if("["===n)t=!0;else if("]"===n&&t)t=!1;else if("/"===n&&!t)break;e="\\"===n}++this.pos}var i=this.input.slice(r,this.pos);++this.pos;var a=this.pos,o=this.readWord1();this.containsEsc&&this.unexpected(a);var s=this.regexpState||(this.regexpState=new iA(this));s.reset(r,i,o),this.validateRegExpFlags(s),this.validateRegExpPattern(s);var l=null;try{l=new RegExp(i,o)}catch(e){}return this.finishToken(r5.regexp,{pattern:i,flags:o,value:l})},iH.readInt=function(e,t,r){for(var n=this.options.ecmaVersion>=12&&void 0===t,i=r&&48===this.input.charCodeAt(this.pos),a=this.pos,o=0,s=0,l=0,c=null==t?1/0:t;l<c;++l,++this.pos){var u=this.input.charCodeAt(this.pos),d=void 0;if(n&&95===u){i&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),95===s&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),0===l&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),s=u;continue}if((d=u>=97?u-97+10:u>=65?u-65+10:u>=48&&u<=57?u-48:1/0)>=e)break;s=u,o=o*e+d}return(n&&95===s&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===a||null!=t&&this.pos-a!==t)?null:o},iH.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var r=this.readInt(e);return null==r&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&110===this.input.charCodeAt(this.pos)?(r=iW(this.input.slice(t,this.pos)),++this.pos):rK(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(r5.num,r)},iH.readNumber=function(e){var t=this.pos;e||null!==this.readInt(10,void 0,!0)||this.raise(t,"Invalid number");var r=this.pos-t>=2&&48===this.input.charCodeAt(t);r&&this.strict&&this.raise(t,"Invalid number");var n=this.input.charCodeAt(this.pos);if(!r&&!e&&this.options.ecmaVersion>=11&&110===n){var i=iW(this.input.slice(t,this.pos));return++this.pos,rK(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(r5.num,i)}r&&/[89]/.test(this.input.slice(t,this.pos))&&(r=!1),46!==n||r||(++this.pos,this.readInt(10),n=this.input.charCodeAt(this.pos)),69!==n&&101!==n||r||((43===(n=this.input.charCodeAt(++this.pos))||45===n)&&++this.pos,null===this.readInt(10)&&this.raise(t,"Invalid number")),rK(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var a=iY(this.input.slice(t,this.pos),r);return this.finishToken(r5.num,a)},iH.readCodePoint=function(){var e;if(123===this.input.charCodeAt(this.pos)){this.options.ecmaVersion<6&&this.unexpected();var t=++this.pos;e=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,e>1114111&&this.invalidStringToken(t,"Code point out of bounds")}else e=this.readHexChar(4);return e},iH.readString=function(e){for(var t="",r=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var n=this.input.charCodeAt(this.pos);if(n===e)break;92===n?(t+=this.input.slice(r,this.pos),t+=this.readEscapedChar(!1),r=this.pos):8232===n||8233===n?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(r6(n)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(r,this.pos++),this.finishToken(r5.string,t)};var iG={};iH.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}
129catch(e){if(e===iG)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1},iH.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw iG;this.raise(e,t)},iH.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var r=this.input.charCodeAt(this.pos);if(96===r||36===r&&123===this.input.charCodeAt(this.pos+1)){if(this.pos===this.start&&(this.type===r5.template||this.type===r5.invalidTemplate))if(36===r)return this.pos+=2,this.finishToken(r5.dollarBraceL);else return++this.pos,this.finishToken(r5.backQuote);return e+=this.input.slice(t,this.pos),this.finishToken(r5.template,e)}if(92===r)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(r6(r)){switch(e+=this.input.slice(t,this.pos),++this.pos,r){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(r)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},iH.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if("{"!==this.input[this.pos+1])break;case"`":return this.finishToken(r5.invalidTemplate,this.input.slice(this.start,this.pos));case"\r":"\n"===this.input[this.pos+1]&&++this.pos;case"\n":case"\u2028":case"\u2029":++this.curLine,this.lineStart=this.pos+1}this.raise(this.start,"Unterminated template")},iH.readEscapedChar=function(e){var t=this.input.charCodeAt(++this.pos);switch(++this.pos,t){case 110:return"\n";case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return ns(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),e){var r=this.pos-1;this.invalidStringToken(r,"Invalid escape sequence in template string")}default:if(t>=48&&t<=55){var n=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],i=parseInt(n,8);return i>255&&(i=parseInt(n=n.slice(0,-1),8)),this.pos+=n.length-1,t=this.input.charCodeAt(this.pos),("0"!==n||56===t||57===t)&&(this.strict||e)&&this.invalidStringToken(this.pos-1-n.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(i)}if(r6(t))return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";return String.fromCharCode(t)}},iH.readHexChar=function(e){var t=this.pos,r=this.readInt(16,e);return null===r&&this.invalidStringToken(t,"Bad character escape sequence"),r},iH.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,r=this.pos,n=this.options.ecmaVersion>=6;this.pos<this.input.length;){var i=this.fullCharCodeAtPos();if(rJ(i,n))this.pos+=i<=65535?1:2;else if(92===i){this.containsEsc=!0,e+=this.input.slice(r,this.pos);var a=this.pos;117!==this.input.charCodeAt(++this.pos)&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var o=this.readCodePoint();(t?rK:rJ)(o,n)||this.invalidStringToken(a,"Invalid Unicode escape"),e+=ns(o),r=this.pos}else break;t=!1}return e+this.input.slice(r,this.pos)},iH.readWord=function(){var e=this.readWord1(),t=r5.name;return this.keywords.test(e)&&(t=r1[e]),this.finishToken(t,e)},nR.acorn={Parser:nR,version:"8.16.0",defaultOptions:np,Position:nc,SourceLocation:nu,getLineInfo:nd,Node:n6,TokenType:rX,tokTypes:r5,keywordTypes:r1,TokContext:nJ,tokContexts:nX,isIdentifierChar:rJ,isIdentifierStart:rK,Token:iq,isNewLine:r6,lineBreak:r3,lineBreakG:r4,nonASCIIwhitespace:r8};let iK=i9(/[A-Za-z]/),iJ=i9(/[\dA-Za-z]/),iX=i9(/[#-'*+\--9=?A-Z^-~]/);function iQ(e){return null!==e&&(e<32||127===e)}let iZ=i9(/\d/),i0=i9(/[\dA-Fa-f]/),i1=i9(/[!-/:-@[-`{-~]/);function i2(e){return null!==e&&e<-2}function i5(e){return null!==e&&(e<0||32===e)}function i3(e){return -2===e||-1===e||32===e}let i4=i9(/\p{P}|\p{S}/u),i6=i9(/\s/);function i9(e){return t;function t(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function i8(e,t,r,n){let i=n?n-1:1/0,a=0;return o;function o(n){return i3(n)?(e.enter(r),s(n)):t(n)}function s(n){return i3(n)&&a++<i?(e.consume(n),s):(e.exit(r),t(n))}}function i7(e){return e}let ae={}.hasOwnProperty,at=Symbol("continue"),ar=Symbol("exit"),an=Symbol("skip");function ai(e,t){let r,n;function i(e,t,a,o){return ao(e)&&(s.displayName="node ("+i7(e.type)+")"),s;
129function s(){let s=r?aa(r(e,t,a,o)):[];if(s[0]===ar)return s;if(s[0]!==an){let t;for(t in e)if(ae.call(e,t)&&e[t]&&"object"==typeof e[t]&&"data"!==t&&"position"!==t){let r=o.concat(e),n=e[t];if(Array.isArray(n)){let e=n,a=0;for(;a>-1&&a<e.length;){let n=e[a];if(ao(n)){let e=i(n,t,a,r)();if(e[0]===ar)return e;a="number"==typeof e[1]?e[1]:a+1}else a++}}else if(ao(n)){let e=i(n,t,void 0,r)();if(e[0]===ar)return e}}}return n?aa(n(e,t,a,o)):s}}"function"==typeof t?r=t:t&&"object"==typeof t&&(t.enter&&(r=t.enter),t.leave&&(n=t.leave)),i(e,void 0,void 0,[])()}function aa(e){return Array.isArray(e)?e:"number"==typeof e?[at,e]:[e]}function ao(e){return!!(e&&"object"==typeof e&&"type"in e&&"string"==typeof e.type&&e.type.length>0)}function as(e,t){let r,n,i=t.prefix||"",a=t.suffix||"",o=Object.assign({},t.acornOptions),s=[],l=[],c=o.onComment,u=o.onToken,d=!1,p=Object.assign({},o,{onComment:s,preserveParens:!0});u&&(p.onToken=l);let h=ac(e,t.tokenTypes),f=h.value,m=i+f+a,g=t.expression&&al(f);if(g&&!t.allowEmpty)throw new v("Unexpected empty expression",{place:b(0),ruleId:"unexpected-empty-expression",source:"micromark-extension-mdx-expression"});try{r=t.expression&&!g?t.acorn.parseExpressionAt(m,0,p):t.acorn.parse(m,p)}catch(r){let e=r,t=b(e.pos);e.message=String(e.message).replace(/ \(\d+:\d+\)$/,""),e.pos=t.offset,e.loc={line:t.line,column:t.column-1},n=e,d=e.raisedAt>=i.length+f.length||"Unterminated comment"===e.message}if(r&&t.expression&&!g)if(al(m.slice(r.end,m.length-a.length)))r={type:"Program",start:0,end:i.length+f.length,body:[{type:"ExpressionStatement",expression:r,start:0,end:i.length+f.length}],sourceType:"module",comments:[]};else{let e=b(r.end),t=Error("Unexpected content after expression");t.pos=e.offset,t.loc={line:e.line,column:e.column-1},n=t,r=void 0}if(r){if(r.comments=s,ai(r,function(e,t,r,n){let i=n[n.length-1],a=t;"ParenthesizedExpression"===e.type&&i&&a&&("number"==typeof r&&(i=i[a],a=r),i[a]=e.expression),y(e)}),Array.isArray(c))c.push(...s);else if("function"==typeof c)for(let e of s)c("Block"===e.type,e.value,e.start,e.end,e.loc.start,e.loc.end);for(let e of l)e.end<=i.length||e.start-i.length>=f.length||(y(e),Array.isArray(u)?u.push(e):u(e))}return{estree:r,error:n,swallow:d};function y(e){let t=b(e.start),r=b(e.end);e.start=t.offset,e.end=r.offset,e.loc={start:{line:t.line,column:t.column-1,offset:t.offset},end:{line:r.line,column:r.column-1,offset:r.offset}},e.range=[e.start,e.end]}function b(e){let r=e-i.length;r<0?r=0:r>f.length&&(r=f.length);let n=au(h.stops,r);return n||(n={line:t.start.line,column:t.start.column,offset:t.start.offset}),n}}function al(e){return/^\s*$/.test(e.replace(/\/\*[\s\S]*?\*\//g,"").replace(/\/\/[^\r\n]*(\r\n|\n|\r)/g,""))}function ac(e,t){let r={value:"",stops:[]},n=-1;for(;++n<e.length;){let i=e[n];if("enter"===i[0]){let e=i[1].type;if("lineEnding"===e||t.includes(e)){let e=i[2].sliceStream(i[1]);for(;e.length>0&&-1===e[0];)e.shift();let t=ad(e);r.stops.push([r.value.length,i[1].start]),r.value+=t,r.stops.push([r.value.length,i[1].end])}}}return r}function au(e,t){let r=0;for(;r<e.length&&e[r][0]<=t;)r+=1;if(0===r)return;let[n,i]=e[r-1],a=t-n;return{line:i.line,column:i.column+a,offset:i.offset+a}}function ad(e){let t,r=-1,n=[];for(;++r<e.length;){let i,a=e[r];if("string"==typeof a)i=a;else switch(a){case -5:i="\r";break;case -4:i="\n";break;case -3:i="\r\n";break;case -2:i=" ";break;case -1:if(t)continue;i=" ";break;default:i=String.fromCharCode(a)}t=-2===a,n.push(i)}return n.join("")}function ap(e){let t=e||{},r=t.loc||{},n=t.range||[void 0,void 0],i=ah(r.start,n[0]||t.start),a=ah(r.end,n[1]||t.end);if(i&&a)return{start:i,end:a}}function ah(e,t){if(e&&"object"==typeof e){let r="line"in e?af(e.line):void 0,n="column"in e?af(e.column):void 0;if(r&&void 0!==n)return{line:r,column:n+1,offset:af(t)}}}function af(e){return"number"==typeof e&&e>-1?e:void 0}let am=2,ag="https://github.com/micromark/micromark-extension-mdx-expression/tree/main/packages/micromark-extension-mdx-expression",ay="#unexpected-end-of-file-in-expression-expected-a-corresponding-closing-brace-for-",av="#unexpected-lazy-line-in-expression-in-container-expected-line-to-be-prefixed",ab="#unexpected-type-in-code-expected-an-object-spread-spread",aw="#unexpected-extra-content-in-spread-only-a-single-spread-is-supported",ax="#could-not-parse-expression-with-acorn";function ak(e,t,r,n,i,a,o,s,l,c,u){let d,p,h=this,f=this.events.length+3,m=0;return g;function g(t){return e.enter(r),e.enter(n),e.consume(t),e.exit(n),d=h.now(),y}function y(u){if(null===u){if(p)throw p;let e=new v("Unexpected end of file in expression, expected a corresponding closing brace for `{`",{place:h.now(),ruleId:"unex
129pected-eof",source:"micromark-extension-mdx-expression"});throw e.url=ag+ay,e}if(i2(u))return e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),w;if(125===u&&0===m){let m=a?aA.call(h,a,o,i,f,d,c||!1,l||!1):{type:"ok",estree:void 0};if("ok"===m.type){e.enter(n),e.consume(u),e.exit(n);let i=e.exit(r);return s&&m.estree&&Object.assign(i,{estree:m.estree}),t}return p=m.message,e.enter(i),e.consume(u),b}return e.enter(i),b(u)}function b(t){return 125===t&&0===m||null===t||i2(t)?(e.exit(i),y(t)):(123!==t||a?125===t&&(m-=1):m+=1,e.consume(t),b)}function w(t){let r=h.now();if(r.line!==d.line&&!u&&h.parser.lazy[r.line]){let e=new v("Unexpected lazy line in expression in container, expected line to be prefixed with `>` when in a block quote, whitespace when in a list, etc",{place:h.now(),ruleId:"unexpected-lazy",source:"micromark-extension-mdx-expression"});throw e.url=ag+av,e}return i3(t)?i8(e,y,"linePrefix",am+1)(t):y(t)}}function aA(e,t,r,n,i,a,o){let s=as(this.events.slice(n),{acorn:e,tokenTypes:[r],acornOptions:t,start:i,expression:!0,allowEmpty:a,prefix:o?"({":"",suffix:o?"})":""}),l=s.estree;if(o&&l){let e=l.body[0];if("ExpressionStatement"!==e.type||"ObjectExpression"!==e.expression.type){let t=ap(e),r=new v("Unexpected `"+e.type+"` in code: expected an object spread (`{...spread}`)",{place:t.start,ruleId:"non-spread",source:"micromark-extension-mdx-expression"});throw r.url=ag+ab,r}if(e.expression.properties[1]){let t=new v("Unexpected extra content in spread: only a single spread is supported",{place:ap(e.expression.properties[1]).start,ruleId:"spread-extra",source:"micromark-extension-mdx-expression"});throw t.url=ag+aw,t}if(e.expression.properties[0]&&"SpreadElement"!==e.expression.properties[0].type){let t=ap(e.expression.properties[0]),r=new v("Unexpected `"+e.expression.properties[0].type+"` in code: only spread elements are supported",{place:t.start,ruleId:"non-spread",source:"micromark-extension-mdx-expression"});throw r.url=ag+ab,r}}if(s.error){let e=new v("Could not parse expression with acorn",{cause:s.error,place:{line:s.error.loc.line,column:s.error.loc.column+1,offset:s.error.pos},ruleId:"acorn",source:"micromark-extension-mdx-expression"});return e.url=ag+ax,{type:"nok",message:e}}return{type:"ok",estree:l}}function aC(e){let t,r=e||{},n=r.addResult,i=r.acorn,a=r.spread,o=r.allowEmpty;if(null==o&&(o=!0),i){if(!i.parseExpressionAt)throw Error("Expected a proper `acorn` instance passed in as `options.acorn`");t=Object.assign({ecmaVersion:2024,sourceType:"module"},r.acornOptions)}else if(r.acornOptions||r.addResult)throw Error("Expected an `acorn` instance passed in as `options.acorn`");return{flow:{123:{name:"mdxFlowExpression",tokenize:s,concrete:!0}},text:{123:{name:"mdxTextExpression",tokenize:l}}};function s(e,r,s){let l=this;return c;function c(e){return u(e)}function u(r){return ak.call(l,e,d,"mdxFlowExpression","mdxFlowExpressionMarker","mdxFlowExpressionChunk",i,t,n,a,o)(r)}function d(t){return i3(t)?i8(e,p,"whitespace")(t):p(t)}function p(t){let n=l.parser.constructs.flow[60],i=(Array.isArray(n)?n:n?[n]:[]).find(function(e){return"mdxJsxFlowTag"===e.name});return 60===t&&i?e.attempt(i,p,s)(t):null===t||i2(t)?r(t):s(t)}}function l(e,r){let s=this;return l;function l(l){return ak.call(s,e,r,"mdxTextExpression","mdxTextExpressionMarker","mdxTextExpressionChunk",i,t,n,a,o,!0)(l)}}}let aS="https://github.com/micromark/micromark-extension-mdx-jsx";function aE(e,t,r,n,i,a,o,s,l,c,u,d,p,h,f,m,g,y,b,w,x,k,A,C,S,E,_,T,P,O,I,M){let L,N,R=this;return j;function j(t){return e.enter(s),e.enter(l),e.consume(t),e.exit(l),D}function D(e){return i5(e)?r(e):(L=F,ec(e))}function F(t){return 47===t?(e.enter(c),e.consume(t),e.exit(c),L=V,ec):62===t?el(t):null!==t&&t>=0&&W(t)?(e.enter(d),e.enter(p),e.consume(t),B):void ep(t,"before name","a character that can start a name, such as a letter, `$`, or `_`"+(33===t?" (note: to create a comment in MDX, use `{/* text */}`)":""))}function V(t){return 62===t?el(t):null!==t&&t>=0&&W(t)?(e.enter(d),e.enter(p),e.consume(t),B):void ep(t,"before name","a character that can start a name, such as a letter, `$`, or `_`"+(42===t||47===t?" (note: JS comments in JSX tags are not supported in MDX)":""))}function B(t){return null!==t&&t>=0&&G(t,{jsx:!0})?(e.consume(t),B):46===t||47===t||58===t||62===t||123===t||i5(t)||i6(t)?(e.exit(p),L=z,ec(t)):void ep(t,"in name","a
129name character such as letters, digits, `$`, or `_`; whitespace before attributes; or the end of the tag"+(64===t?" (note: to create a link in MDX, use `[text](url)`)":""))}function z(t){return 46===t?(e.enter(h),e.consume(t),e.exit(h),L=$,ec):58===t?(e.enter(m),e.consume(t),e.exit(m),L=H,ec):47===t||62===t||123===t||null!==t&&t>=0&&W(t)?(e.exit(d),J(t)):void ep(t,"after name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function $(t){if(null!==t&&t>=0&&W(t))return e.enter(f),e.consume(t),U;ep(t,"before member name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function U(t){return null!==t&&t>=0&&G(t,{jsx:!0})?(e.consume(t),U):46===t||47===t||62===t||123===t||i5(t)||i6(t)?(e.exit(f),L=q,ec(t)):void ep(t,"in member name","a name character such as letters, digits, `$`, or `_`; whitespace before attributes; or the end of the tag"+(64===t?" (note: to create a link in MDX, use `[text](url)`)":""))}function q(t){return 46===t?(e.enter(h),e.consume(t),e.exit(h),L=$,ec):47===t||62===t||123===t||null!==t&&t>=0&&W(t)?(e.exit(d),J(t)):void ep(t,"after member name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function H(t){if(null!==t&&t>=0&&W(t))return e.enter(g),e.consume(t),Y;ep(t,"before local name","a character that can start a name, such as a letter, `$`, or `_`"+(43===t||null!==t&&t>46&&t<58?" (note: to create a link in MDX, use `[text](url)`)":""))}function Y(t){return null!==t&&t>=0&&G(t,{jsx:!0})?(e.consume(t),Y):47===t||62===t||123===t||i5(t)||i6(t)?(e.exit(g),L=K,ec(t)):void ep(t,"in local name","a name character such as letters, digits, `$`, or `_`; whitespace before attributes; or the end of the tag")}function K(t){if(47===t||62===t||123===t||null!==t&&t>=0&&W(t))return e.exit(d),J(t);ep(t,"after local name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function J(t){return 47===t?(e.enter(u),e.consume(t),e.exit(u),L=es,ec):62===t?el(t):123===t?ak.call(R,e,X,y,b,w,n,i,a,!0,!1,o)(t):null!==t&&t>=0&&W(t)?(e.enter(x),e.enter(k),e.enter(A),e.consume(t),Q):void ep(t,"before attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; whitespace before attributes; or the end of the tag")}function X(e){return L=J,ec(e)}function Q(t){return null!==t&&t>=0&&G(t,{jsx:!0})?(e.consume(t),Q):47===t||58===t||61===t||62===t||123===t||i5(t)||i6(t)?(e.exit(A),L=Z,ec(t)):void ep(t,"in attribute name","an attribute name character such as letters, digits, `$`, or `_`; `=` to initialize a value; whitespace before attributes; or the end of the tag")}function Z(t){return 58===t?(e.enter(C),e.consume(t),e.exit(C),L=ee,ec):61===t?(e.exit(k),e.enter(E),e.consume(t),e.exit(E),L=en,ec):47===t||62===t||123===t||i5(t)||i6(t)||null!==t&&t>=0&&W(t)?(e.exit(k),e.exit(x),L=J,ec(t)):void ep(t,"after attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; `=` to initialize a value; or the end of the tag")}function ee(t){if(null!==t&&t>=0&&W(t))return e.enter(S),e.consume(t),et;ep(t,"before local attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; `=` to initialize a value; or the end of the tag")}function et(t){return null!==t&&t>=0&&G(t,{jsx:!0})?(e.consume(t),et):47===t||61===t||62===t||123===t||i5(t)||i6(t)?(e.exit(S),e.exit(k),L=er,ec(t)):void ep(t,"in local attribute name","an attribute name character such as letters, digits, `$`, or `_`; `=` to initialize a value; whitespace before attributes; or the end of the tag")}function er(t){return 61===t?(e.enter(E),e.consume(t),e.exit(E),L=en,ec):47===t||62===t||123===t||null!==t&&t>=0&&W(t)?(e.exit(x),J(t)):void ep(t,"after local attribute name","a character that can start an attribute name, such as a letter, `$`, or `_`; `=` to initialize a value; or the end of the tag")}function en(t){return 34===t||39===t?(e.enter(_),e.enter(T),e.consume(t),e.exit(T),N=t,ea):123===t?ak.call(R,e,ei,O,I,M,n,i,a,!1,!1,o)(t):void ep(t,"before attribute value","a character that can start an attribute value, such as `\"`, `'`, or `{`"+(60===t?" (note: to use an element or fragment as a prop value in MDX, use `{<element />}`)":""))}function ei(t){return e.exit(x),L=J,ec(t)}function ea(t){return(null===t&&ep(t,"in attribute value","a corresponding closing quote `"+String.fromCodePoint(N)+"`"),t===N)?(e.enter(T),e.consume(t),e.exit(T),e.exit(_),e.exit(x),N=void 0,L=J,ec):i2(t)?(L=ea,ec(t)):(e.enter(P),eo(t))}function eo(t){return null===t||t===N||i2(t)?(e.exit(P),ea(t)):(e.consume(t),eo)}function es(e){if(62===e)return el(e);ep(e,"after self-closing slash","`>` to end the tag"+(42===e||47===e?" (note: JS comments in JSX tags are not supported in MDX)":""))}function el(r){return e.enter(l),e.consume(r),e.exit(l),e.exit(s),t}function ec(t){return i2(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),ed):i3(t)||i6(t)?(e.enter("esWhitespace"),eu(t)):L(t)}function eu(t){return i2(t)?(e.exit("esWhitespace"),ec(t)):i3(t)||i6(t)?(e.consume(t),eu):(e.exit("esWhitespace"),L(t))}function ed(e){if(!o&&R.parser.lazy[R.now().line]){let e=new v("Unexpected lazy line in container, expected line to be prefixed with `>` when in a block quote, whitespace when in a list, etc",R.now(),"micromark-extension-mdx-jsx:unexpected-lazy");throw e.url=aS+"#unexpected-lazy-line-in-container-expected-line-to-be",e}return ec(e)}function ep(e,t,r){let n=new v("Unexpected "+(null===e?"end of file":"character `"+(96===e?"` ` `":String.fromCodePoint(e))+"` ("+
129a_(e)+")")+" "+t+", expected "+r,R.now(),"micromark-extension-mdx-jsx:unexpected-"+(null===e?"eof":"character"));throw n.url=aS+(null===e?"#unexpected-end-of-file-at-expected-expect":"#unexpected-character-at-expected-expect"),n}}function a_(e){return"U+"+e.toString(16).toUpperCase().padStart(4,"0")}function aT(e,t){return{name:"mdxJsxTextTag",tokenize:r};function r(r,n,i){return aE.call(this,r,n,i,e,t.acornOptions,t.addResult,!0,"mdxJsxTextTag","mdxJsxTextTagMarker","mdxJsxTextTagClosingMarker","mdxJsxTextTagSelfClosingMarker","mdxJsxTextTagName","mdxJsxTextTagNamePrimary","mdxJsxTextTagNameMemberMarker","mdxJsxTextTagNameMember","mdxJsxTextTagNamePrefixMarker","mdxJsxTextTagNameLocal","mdxJsxTextTagExpressionAttribute","mdxJsxTextTagExpressionAttributeMarker","mdxJsxTextTagExpressionAttributeValue","mdxJsxTextTagAttribute","mdxJsxTextTagAttributeName","mdxJsxTextTagAttributeNamePrimary","mdxJsxTextTagAttributeNamePrefixMarker","mdxJsxTextTagAttributeNameLocal","mdxJsxTextTagAttributeInitializerMarker","mdxJsxTextTagAttributeValueLiteral","mdxJsxTextTagAttributeValueLiteralMarker","mdxJsxTextTagAttributeValueLiteralValue","mdxJsxTextTagAttributeValueExpression","mdxJsxTextTagAttributeValueExpressionMarker","mdxJsxTextTagAttributeValueExpressionValue")}}function aP(e,t){return{concrete:!0,name:"mdxJsxFlowTag",tokenize:r};function r(r,n,i){let a=this;return o;function o(e){return s(e)}function s(n){return aE.call(a,r,l,i,e,t.acornOptions,t.addResult,!1,"mdxJsxFlowTag","mdxJsxFlowTagMarker","mdxJsxFlowTagClosingMarker","mdxJsxFlowTagSelfClosingMarker","mdxJsxFlowTagName","mdxJsxFlowTagNamePrimary","mdxJsxFlowTagNameMemberMarker","mdxJsxFlowTagNameMember","mdxJsxFlowTagNamePrefixMarker","mdxJsxFlowTagNameLocal","mdxJsxFlowTagExpressionAttribute","mdxJsxFlowTagExpressionAttributeMarker","mdxJsxFlowTagExpressionAttributeValue","mdxJsxFlowTagAttribute","mdxJsxFlowTagAttributeName","mdxJsxFlowTagAttributeNamePrimary","mdxJsxFlowTagAttributeNamePrefixMarker","mdxJsxFlowTagAttributeNameLocal","mdxJsxFlowTagAttributeInitializerMarker","mdxJsxFlowTagAttributeValueLiteral","mdxJsxFlowTagAttributeValueLiteralMarker","mdxJsxFlowTagAttributeValueLiteralValue","mdxJsxFlowTagAttributeValueExpression","mdxJsxFlowTagAttributeValueExpressionMarker","mdxJsxFlowTagAttributeValueExpressionValue")(n)}function l(e){return i3(e)?i8(r,c,"whitespace")(e):c(e)}function c(e){let t,s=a.parser.constructs.flow[123];for(let e of Array.isArray(s)?s:s?[s]:[])if("mdxFlowExpression"===e.name){t=e;break}return 60===e?o(e):123===e&&t?r.attempt(t,c,i)(e):null===e||i2(e)?n(e):i(e)}}}function aO(e){let t,r=e||{},n=r.acorn;if(n){if(!n.parse||!n.parseExpressionAt)throw Error("Expected a proper `acorn` instance passed in as `options.acorn`");t=Object.assign({ecmaVersion:2024,sourceType:"module"},r.acornOptions,{locations:!0})}else if(r.acornOptions||r.addResult)throw Error("Expected an `acorn` instance passed in as `options.acorn`");return{flow:{60:aP(n||void 0,{acornOptions:t,addResult:r.addResult||void 0})},text:{60:aT(n||void 0,{acornOptions:t,addResult:r.addResult||void 0})}}}function aI(){return{disable:{null:["autolink","codeIndented","htmlFlow","htmlText"]}}}let aM={partial:!0,tokenize:aL};function aL(e,t,r){return n;function n(t){return i3(t)?i8(e,i,"linePrefix")(t):i(t)}function i(e){return null===e||i2(e)?t(e):r(e)}}let aN={tokenize:aF,partial:!0},aR="https://github.com/micromark/micromark-extension-mdxjs-esm",aj=new Set(["ExportAllDeclaration","ExportDefaultDeclaration","ExportNamedDeclaration","ImportDeclaration"]);function aD(e){let t={tokenize:i,concrete:!0};if(!e||!e.acorn||!e.acorn.parse)throw Error("Expected an `acorn` instance passed in as `options.acorn`");let r=e.acorn,n=Object.assign({ecmaVersion:2024,sourceType:"module"},e.acornOptions,{locations:!0});return{flow:{101:t,105:t}};function i(t,i,a){let o=this,s=o.parser.definedModuleSpecifiers||(o.parser.definedModuleSpecifiers=[]),l=this.events.length+1,c="";return o.interrupt?a:u;function u(e){return o.now().column>1?a(e):(t.enter("mdxjsEsm"),t.enter("mdxjsEsmData"),t.consume(e),c+=String.fromCharCode(e),d)}function d(e){return iK(e)?(t.consume(e),c+=String.fromCharCode(e),d):("import"===c||"exp
129ort"===c)&&32===e?(t.consume(e),p):a(e)}function p(e){return null===e||i2(e)?(t.exit("mdxjsEsmData"),h(e)):(t.consume(e),p)}function h(e){return null===e?m(e):i2(e)?t.check(aN,m,f)(e):(t.enter("mdxjsEsmData"),p(e))}function f(e){return t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),h}function m(a){let c=as(o.events.slice(l),{acorn:r,acornOptions:n,tokenTypes:["mdxjsEsmData"],prefix:s.length>0?"var "+s.join(",")+"\n":""});if(c.error){if(null!==a&&c.swallow)return f(a);let e=new v("Could not parse import/exports with acorn",{cause:c.error,place:{line:c.error.loc.line,column:c.error.loc.column+1,offset:c.error.pos},ruleId:"acorn",source:"micromark-extension-mdxjs-esm"});throw e.url=aR+"#could-not-parse-importexports-with-acorn",e}s.length>0&&c.estree.body.shift();let u=-1;for(;++u<c.estree.body.length;){let e=c.estree.body[u];if(!aj.has(e.type)){let t=new v("Unexpected `"+e.type+"` in code: only import/exports are supported",{place:ap(e),ruleId:"non-esm",source:"micromark-extension-mdxjs-esm"});throw t.url=aR+"#unexpected-type-in-code-only-importexports-are-supported",t}if("ImportDeclaration"===e.type&&!o.interrupt){let t=-1;for(;++t<e.specifiers.length;){let r=e.specifiers[t];s.push(r.local.name)}}}return Object.assign(t.exit("mdxjsEsm"),e.addResult?{estree:c.estree}:void 0),i(a)}}}function aF(e,t,r){return n;function n(n){return e.enter("lineEndingBlank"),e.consume(n),e.exit("lineEndingBlank"),e.attempt(aM,t,r)}}function aV(e,t,r,n){let i,a=e.length,o=0;if(t=t<0?-t>a?0:a+t:t>a?a:t,r=r>0?r:0,n.length<1e4)(i=Array.from(n)).unshift(t,r),e.splice(...i);else for(r&&e.splice(t,r);o<n.length;)(i=n.slice(o,o+1e4)).unshift(t,0),e.splice(...i),o+=1e4,t+=1e4}function aB(e,t){return e.length>0?(aV(e,e.length,0,t),e):t}let az={}.hasOwnProperty;function a$(e){let t={},r=-1;for(;++r<e.length;)aU(t,e[r]);return t}function aU(e,t){let r;for(r in t){let n,i=(az.call(e,r)?e[r]:void 0)||(e[r]={}),a=t[r];if(a)for(n in a){az.call(i,n)||(i[n]=[]);let e=a[n];aq(i[n],Array.isArray(e)?e:e?[e]:[])}}}function aq(e,t){let r=-1,n=[];for(;++r<t.length;)("after"===t[r].add?e:n).push(t[r]);aV(e,0,0,n)}function aH(e){let t=Object.assign({acorn:nR.extend(es()),acornOptions:{ecmaVersion:2024,sourceType:"module"},addResult:!0},e);return a$([aD(t),aC(t),aO(t),aI()])}let aY={};function aW(e){let t=this,r=e||aY,n=t.data(),i=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),o=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);i.push(aH(r)),a.push(rj()),o.push(rD(r))}let aG={};function aK(e,t){let r=t||aG;return aJ(e,"boolean"!=typeof r.includeImageAlt||r.includeImageAlt,"boolean"!=typeof r.includeHtml||r.includeHtml)}function aJ(e,t,r){if(aQ(e)){if("value"in e)return"html"!==e.type||r?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return aX(e.children,t,r)}return Array.isArray(e)?aX(e,t,r):""}function aX(e,t,r){let n=[],i=-1;for(;++i<e.length;)n[i]=aJ(e[i],t,r);return n.join("")}function aQ(e){return!!(e&&"object"==typeof e)}class aZ{constructor(e){this.left=e?[...e]:[],this.right=[]}get(e){if(e<0||e>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,t){let r=null==t?1/0:t;return r<this.left.length?this.left.slice(e,r):e>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(e,t,r){let n=t||0;this.setCursor(Math.trunc(e));let i=this.right.splice(this.right.length-n,1/0);return r&&a0(this.left,r),i.reverse()}pop(){return this.setCursor(1/0),this.left.pop()}push(e){this.setCursor(1/0),this.left.push(e)}pushMany(e){this.setCursor(1/0),a0(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),a0(this.right,e.reverse())}setCursor(e){if(e!==this.left.length&&(!(e>this.left.length)||0!==this.right.length)&&(!(e<0)||0!==this.left.length))if(e<this.left.length){let t=this.left.splice(e,1/0);a0(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,1/0);a0(this.left,t.reverse())}}}function a0(e,t){let r=0;if(t.length<1e4)e.push(...t);else for(;r<t.length;)e.push(...t.slice(r,r+1e4)),r+=1e4}function a1(e){let t,r,n,i,a,o,s,l={},c=-1,u=new aZ(e);for(;++c<u.length;){for(;c in l;)c=l[c];if(t=u.get(c),c&&"chunkFlow"===t[1].type&&"listItemPrefix"===u.get(c-1)[1].type&&((n=0)<(o=t[1]._tokenizer.events).length&&"lineEndingBlank"===o[n][1].type&&(n+=2),n<o.length&&"content"===o[n][1].type))for(;++n<o.length&&"content"!==o[n][1].type;)"chunkText"===o[n][1].type&&(o[n][1]._isInFirstContentOfListItem=!0,n++);if("enter"===t[0])t[1].contentType&&(Object.assign(l,a2(u,c)),c=l[c],s=!0);else if(t[1]._container){for(n=c,r=void 0;n--;)if("lineEnding"===(i=u.get(n))[1].type||"lineEndingBlank"===i[1].type)"enter"===i[0]&&(r&&(u.get(r)[1].type="lineEndingBlank"),i[1].type="lineEnding",r=n);else if("linePrefix"===i[1].type||"listItemIndent"===i[1].type);else break;r&&(t[1].end={...u.get(r)[1].start},(a=u.slice(r,c)).unshift(t),u.splice(r,c-r+1,a))}}return aV(e,0,1/0,u.slice(0)),!s}function a2(e,t){let r,n,i=e.get(t)[1],a=e.get(t)[2],o=t-1,s=[],l=i._tokenizer;!l&&(l=a.parser[i.contentType](i.start),i._contentTypeTextTrailing&&(l._contentTypeTextTrailing=!0));let c=l.events,u=[],d={},p=-1,h=i,f=0,m=0,g=[0];for(;h;){for(;e.get(++o)[1]!==h;);s.push(o),!h._tokenizer&&(r=a.sliceStream(h),h.next||r.push(null),n&&l.defineSki
129p(h.start),h._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=!0),l.write(r),h._isInFirstContentOfListItem&&(l._gfmTasklistFirstContentOfListItem=void 0)),n=h,h=h.next}for(h=i;++p<c.length;)"exit"===c[p][0]&&"enter"===c[p-1][0]&&c[p][1].type===c[p-1][1].type&&c[p][1].start.line!==c[p][1].end.line&&(m=p+1,g.push(m),h._tokenizer=void 0,h.previous=void 0,h=h.next);for(l.events=[],h?(h._tokenizer=void 0,h.previous=void 0):g.pop(),p=g.length;p--;){let t=c.slice(g[p],g[p+1]),r=s.pop();u.push([r,r+t.length-1]),e.splice(r,2,t)}for(u.reverse(),p=-1;++p<u.length;)d[f+u[p][0]]=f+u[p][1],f+=u[p][1]-u[p][0]-1;return d}function a5(e){for(;!a1(e););return e}let a3={tokenize:a4};function a4(e){let t,r=e.attempt(this.parser.constructs.contentInitial,n,i);return r;function n(t){return null===t?void e.consume(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i8(e,r,"linePrefix"))}function i(t){return e.enter("paragraph"),a(t)}function a(r){let n=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=n),t=n,o(r)}function o(t){if(null===t){e.exit("chunkText"),e.exit("paragraph"),e.consume(t);return}return i2(t)?(e.consume(t),e.exit("chunkText"),a):(e.consume(t),o)}}let a6={tokenize:a8},a9={tokenize:a7};function a8(e){let t,r,n,i=this,a=[],o=0;return s;function s(t){if(o<a.length){let r=a[o];return i.containerState=r[1],e.attempt(r[0].continuation,l,c)(t)}return c(t)}function l(e){if(o++,i.containerState._closeFlow){let r;i.containerState._closeFlow=void 0,t&&v();let n=i.events.length,a=n;for(;a--;)if("exit"===i.events[a][0]&&"chunkFlow"===i.events[a][1].type){r=i.events[a][1].end;break}y(o);let s=n;for(;s<i.events.length;)i.events[s][1].end={...r},s++;return aV(i.events,a+1,0,i.events.slice(n)),i.events.length=s,c(e)}return s(e)}function c(r){if(o===a.length){if(!t)return p(r);if(t.currentConstruct&&t.currentConstruct.concrete)return f(r);i.interrupt=!!(t.currentConstruct&&!t._gfmTableDynamicInterruptHack)}return i.containerState={},e.check(a9,u,d)(r)}function u(e){return t&&v(),y(o),p(e)}function d(e){return i.parser.lazy[i.now().line]=o!==a.length,n=i.now().offset,f(e)}function p(t){return i.containerState={},e.attempt(a9,h,f)(t)}function h(e){return o++,a.push([i.currentConstruct,i.containerState]),p(e)}function f(n){if(null===n){t&&v(),y(0),e.consume(n);return}return t=t||i.parser.flow(i.now()),e.enter("chunkFlow",{_tokenizer:t,contentType:"flow",previous:r}),m(n)}function m(t){if(null===t){g(e.exit("chunkFlow"),!0),y(0),e.consume(t);return}return i2(t)?(e.consume(t),g(e.exit("chunkFlow")),o=0,i.interrupt=void 0,s):(e.consume(t),m)}function g(e,a){let s=i.sliceStream(e);if(a&&s.push(null),e.previous=r,r&&(r.next=e),r=e,t.defineSkip(e.start),t.write(s),i.parser.lazy[e.start.line]){let e,r,a=t.events.length;for(;a--;)if(t.events[a][1].start.offset<n&&(!t.events[a][1].end||t.events[a][1].end.offset>n))return;let s=i.events.length,l=s;for(;l--;)if("exit"===i.events[l][0]&&"chunkFlow"===i.events[l][1].type){if(e){r=i.events[l][1].end;break}e=!0}for(y(o),a=s;a<i.events.length;)i.events[a][1].end={...r},a++;aV(i.events,l+1,0,i.events.slice(s)),i.events.length=a}}function y(t){let r=a.length;for(;r-- >t;){let t=a[r];i.containerState=t[1],t[0].exit.call(i,e)}a.length=t}function v(){t.write([null]),r=void 0,t=void 0,i.containerState._closeFlow=void 0}}function a7(e,t,r){return i8(e,e.attempt(this.parser.constructs.document,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}let oe={resolve:or,tokenize:on},ot={partial:!0,tokenize:oi};function or(e){return a1(e),e}function on(e,t){let r;return n;function n(t){return e.enter("content"),r=e.enter("chunkContent",{contentType:"content"}),i(t)}function i(t){return null===t?a(t):i2(t)?e.check(ot,o,a)(t):(e.consume(t),i)}function a(r){return e.exit("chunkContent"),e.exit("content"),t(r)}function o(t){return e.consume(t),e.exit("chunkContent"),r.next=e.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,i}}function oi(e,t,r){let n=this;return i;function i(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i8(e,a,"linePrefix")}function a(i){if(null===i||i2(i))return r(i);let a=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?t(i):e.interrupt(n.parser.constructs.flow,r,t)(i)}}let oa={tokenize:oo};function oo(e){let t=this,r=e.attempt(aM,n,e.attempt(this.parser.constructs.flowInitial,i,i8(e,e.attempt(this.parser.constructs.flow,i,e.attempt(oe,i)),"linePrefix")));return r;function n(n){return null===n?void e.consume(n):(e.enter("lineEndingBlank"),e.consume(n),e.exit("lineEndingBlank"),t.currentConstruct=void 0,r)}function i(n){return null===n?void e.consume(n):(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),t.currentConstruct=void 0,r)}}let os={resolveAll:od()},ol=ou("string"),oc=ou("text");function ou(e){return{resolveAll:od("text"===e?op:void 0),tokenize:t};function t(t){let r=this,n=this.parser.constructs[e],i=t.attempt(n,a,o);return a;function a(e){return l(e)?i(e):o(e)}function o(e){return null===e?void t.consume(e):(t.enter("data"),t.consume(e),s)}function s(e){return l(e)?(t.exit("data"),i(e)):(t.consume(e),s)}function l(e){if(null===e)return!0;let t=n[e],i=-1;if(t)for(;++i<t.length;){let e=t[i];if(!e.previous||e.previous.call(r,r.previous))return!0}return!1}}}function od(e){return t;function t(t,r){let n,i=-1;for(;++i<=t.length;)void 0===n?t[i]&&"data"===t[i][1].type&&(n=i,i++):t[i]&&"data"===t[i][1].type||(i!==n+2&&(t[n][1].end=t[i-1][1].end,t.splice(n+2,i-n-2),i=n+2),n=void 0);return e?e(t,r):t}}function op(e,t){let r=0;for(;++r<=e.length;)if((r===e.length||"lineEnding"===e[r][1].type)&&"data"===e[r-1][1].type){let n,i=e[r-1][1],a=t.sliceStream(i),o=a.length,s=-1,l=0;for(;o--;){let e=a[o];if("string"==typeof e){for(s=e.length;32===e.charCodeAt(s-1);)l++,s--;if(s)break;s=-1}else if(-2===e)n=!0,l++;else if(-1===e);else{o++;break}}if(t._contentTypeTextTrailing&&r===e.length&&(l=0),l){let a={type:r===e.length||n||l<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:o?s:i.start._bufferIndex+s,_index:i.start._index+o,line:i.end.line,column:i.end.column-l,offset:i.end.offset-l},end:{...i.end}};i.end={...a.start},i.start.offset===i.end.offset?Object.assign(i,a):(e.splice(r,0,["enter",a,t],["exit",a,t]),r+=2)}r++}return e}let oh={name:"thematicBreak",tokenize:of};function of(e,t,r){let n,i=0;return a;function a(t){return e.enter("thematicBreak"),o(t)}function o(e){return n=e,s(e)}function s(a){return a===n?(e.enter("thematicBreakSequence"),l(a)):i>
129=3&&(null===a||i2(a))?(e.exit("thematicBreak"),t(a)):r(a)}function l(t){return t===n?(e.consume(t),i++,l):(e.exit("thematicBreakSequence"),i3(t)?i8(e,s,"whitespace")(t):s(t))}}let om={continuation:{tokenize:ob},exit:ox,name:"list",tokenize:ov},og={partial:!0,tokenize:ok},oy={partial:!0,tokenize:ow};function ov(e,t,r){let n=this,i=n.events[n.events.length-1],a=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,o=0;return s;function s(t){let i=n.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!n.containerState.marker||t===n.containerState.marker:iZ(t)){if(n.containerState.type||(n.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===t||45===t?e.check(oh,r,c)(t):c(t);if(!n.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),l(t)}return r(t)}function l(t){return iZ(t)&&++o<10?(e.consume(t),l):(!n.interrupt||o<2)&&(n.containerState.marker?t===n.containerState.marker:41===t||46===t)?(e.exit("listItemValue"),c(t)):r(t)}function c(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||t,e.check(aM,n.interrupt?r:u,e.attempt(og,p,d))}
129function u(e){return n.containerState.initialBlankLine=!0,a++,p(e)}function d(t){return i3(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),p):r(t)}function p(r){return n.containerState.size=a+n.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(r)}}function ob(e,t,r){let n=this;return n.containerState._closeFlow=void 0,e.check(aM,i,a);function i(r){return n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine,i8(e,t,"listItemIndent",n.containerState.size+1)(r)}function a(r){return n.containerState.furtherBlankLines||!i3(r)?(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,o(r)):(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,e.attempt(oy,t,o)(r))}function o(i){return n.containerState._closeFlow=!0,n.interrupt=void 0,i8(e,e.attempt(om,t,r),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}function ow(e,t,r){let n=this;return i8(e,i,"listItemIndent",n.containerState.size+1);function i(e){let i=n.events[n.events.length-1];return i&&"listItemIndent"===i[1].type&&i[2].sliceSerialize(i[1],!0).length===n.containerState.size?t(e):r(e)}}function ox(e){e.exit(this.containerState.type)}function ok(e,t,r){let n=this;return i8(e,i,"listItemPrefixWhitespace",n.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function i(e){let i=n.events[n.events.length-1];return!i3(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):r(e)}}let oA={continuation:{tokenize:oS},exit:oE,name:"blockQuote",tokenize:oC};function oC(e,t,r){let n=this;return i;function i(t){if(62===t){let r=n.containerState;return r.open||(e.enter("blockQuote",{_container:!0}),r.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),a}return r(t)}function a(r){return i3(r)?(e.enter("blockQuotePrefixWhitespace"),e.consume(r),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(r))}}function oS(e,t,r){let n=this;return i;function i(t){return i3(t)?i8(e,a,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):a(t)}function a(n){return e.attempt(oA,t,r)(n)}}function oE(e){e.exit("blockQuote")}function o_(e,t,r,n,i,a,o,s,l){let c=l||1/0,u=0;return d;function d(t){return 60===t?(e.enter(n),e.enter(i),e.enter(a),e.consume(t),e.exit(a),p):null===t||32===t||41===t||iQ(t)?r(t):(e.enter(n),e.enter(o),e.enter(s),e.enter("chunkString",{contentType:"string"}),m(t))}function p(r){return 62===r?(e.enter(a),e.consume(r),e.exit(a),e.exit(i),e.exit(n),t):(e.enter(s),e.enter("chunkString",{contentType:"string"}),h(r))}function h(t){return 62===t?(e.exit("chunkString"),e.exit(s),p(t)):null===t||60===t||i2(t)?r(t):(e.consume(t),92===t?f:h)}function f(t){return 60===t||62===t||92===t?(e.consume(t),h):h(t)}function m(i){return!u&&(null===i||41===i||i5(i))?(e.exit("chunkString"),e.exit(s),e.exit(o),e.exit(n),t(i)):u<c&&40===i?(e.consume(i),u++,m):41===i?(e.consume(i),u--,m):null===i||32===i||40===i||iQ(i)?r(i):(e.consume(i),92===i?g:m)}function g(t){return 40===t||41===t||92===t?(e.consume(t),m):m(t)}}function oT(e,t,r,n,i,a){let o,s=this,l=0;return c;function c(t){return e.enter(n),e.enter(i),e.consume(t),e.exit(i),e.enter(a),u}function u(c){return l>999||null===c||91===c||93===c&&!o||94===c&&!l&&"_hiddenFootnoteSupport"in s.parser.constructs?r(c):93===c?(e.exit(a),e.enter(i),e.consume(c),e.exit(i),e.exit(n),t):i2(c)?(e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),u):(e.enter("chunkString",{contentType:"string"}),d(c))}function d(t){return null===t||91===t||93===t||i2(t)||l++>999?(e.exit("chunkString"),u(t)):(e.consume(t),o||(o=!i3(t)),92===t?p:d)}function p(t){return 91===t||92===t||93===t?(e.consume(t),l++,d):d(t)}}function oP(e,t,r,n,i,a){let o;return s;function s(t){return 34===t||39===t||40===t?(e.enter(n),e.enter(i),e.consume(t),e.exit(i),o=40===t?41:t,l):r(t)}function l(r){return r===o?(e.enter(i),e.consume(r),e.exit(i),e.exit(n),t):(e.enter(a),c(r))}function c(t){return t===o?(e.exit(a),l(o)):null===t?r(t):i2(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i8(e,c,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),u(t))}function u(t){return t===o||null===t||i2(t)?(e.exit("chunkString"),c(t)):(e.consume(t),92===t?d:u)}function d(t){return t===o||92===t?(e.consume(t),u):u(t)}}function oO(e,t){let r;return n;function n(i){return i2(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),r=!0,n):i3(i)?i8(e,n,r?"linePrefix":"lineSuffix")(i):t(i)}}function oI(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}let oM={name:"definition",tokenize:oN},oL={partial:!0,tokenize:oR};function oN(e,t,r){let n,i=this;return a;function a(t){return e.enter("definition"),o(t)}function o(t){return oT.call(i,e,s,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(t)}function s(t){return(n=oI(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),58===t)?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),l):r(t)}function l(t){return i5(t)?oO(e,c)(t):c(t)}function c(t){return o_(e,u,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function u(t){return e.attempt(oL,d,d)(t)}function d(t){return i3(t)?i8(e,p,"whitespace")(t):p(t)}
129function p(a){return null===a||i2(a)?(e.exit("definition"),i.parser.defined.push(n),t(a)):r(a)}}function oR(e,t,r){return n;function n(t){return i5(t)?oO(e,i)(t):r(t)}function i(t){return oP(e,a,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function a(t){return i3(t)?i8(e,o,"whitespace")(t):o(t)}function o(e){return null===e||i2(e)?t(e):r(e)}}let oj={name:"codeIndented",tokenize:oF},oD={partial:!0,tokenize:oV};function oF(e,t,r){let n=this;return i;function i(t){return e.enter("codeIndented"),i8(e,a,"linePrefix",5)(t)}function a(e){let t=n.events[n.events.length-1];return t&&"linePrefix"===t[1].type&&t[2].sliceSerialize(t[1],!0).length>=4?o(e):r(e)}function o(t){return null===t?l(t):i2(t)?e.attempt(oD,o,l)(t):(e.enter("codeFlowValue"),s(t))}function s(t){return null===t||i2(t)?(e.exit("codeFlowValue"),o(t)):(e.consume(t),s)}function l(r){return e.exit("codeIndented"),t(r)}}function oV(e,t,r){let n=this;return i;function i(t){return n.parser.lazy[n.now().line]?r(t):i2(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):i8(e,a,"linePrefix",5)(t)}function a(e){let a=n.events[n.events.length-1];return a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?t(e):i2(e)?i(e):r(e)}}let oB={name:"headingAtx",resolve:oz,tokenize:o$};function oz(e,t){let r,n,i=e.length-2,a=3;return"whitespace"===e[3][1].type&&(a+=2),i-2>a&&"whitespace"===e[i][1].type&&(i-=2),"atxHeadingSequence"===e[i][1].type&&(a===i-1||i-4>a&&"whitespace"===e[i-2][1].type)&&(i-=a+1===i?2:4),i>a&&(r={type:"atxHeadingText",start:e[a][1].start,end:e[i][1].end},n={type:"chunkText",start:e[a][1].start,end:e[i][1].end,contentType:"text"},aV(e,a,i-a+1,[["enter",r,t],["enter",n,t],["exit",n,t],["exit",r,t]])),e}function o$(e,t,r){let n=0;return i;function i(t){return e.enter("atxHeading"),a(t)}function a(t){return e.enter("atxHeadingSequence"),o(t)}function o(t){return 35===t&&n++<6?(e.consume(t),o):null===t||i5(t)?(e.exit("atxHeadingSequence"),s(t)):r(t)}function s(r){return 35===r?(e.enter("atxHeadingSequence"),l(r)):null===r||i2(r)?(e.exit("atxHeading"),t(r)):i3(r)?i8(e,s,"whitespace")(r):(e.enter("atxHeadingText"),c(r))}function l(t){return 35===t?(e.consume(t),l):(e.exit("atxHeadingSequence"),s(t))}function c(t){return null===t||35===t||i5(t)?(e.exit("atxHeadingText"),s(t)):(e.consume(t),c)}}let oU={name:"setextUnderline",resolveTo:oq,tokenize:oH};function oq(e,t){let r,n,i,a=e.length;for(;a--;)if("enter"===e[a][0]){if("content"===e[a][1].type){r=a;break}"paragraph"===e[a][1].type&&(n=a)}else"content"===e[a][1].type&&e.splice(a,1),i||"definition"!==e[a][1].type||(i=a);let o={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[n][1].type="setextHeadingText",i?(e.splice(n,0,["enter",o,t]),e.splice(i+1,0,["exit",e[r][1],t]),e[r][1].end={...e[i][1].end}):e[r][1]=o,e.push(["exit",o,t]),e}function oH(e,t,r){let n,i=this;return a;function a(t){let a,s=i.events.length;for(;s--;)if("lineEnding"!==i.events[s][1].type&&"linePrefix"!==i.events[s][1].type&&"content"!==i.events[s][1].type){a="paragraph"===i.events[s][1].type;break}return!i.parser.lazy[i.now().line]&&(i.interrupt||a)?(e.enter("setextHeadingLine"),n=t,o(t)):r(t)}function o(t){return e.enter("setextHeadingLineSequence"),s(t)}function s(t){return t===n?(e.consume(t),s):(e.exit("setextHeadingLineSequence"),i3(t)?i8(e,l,"lineSuffix")(t):l(t))}function l(n){return null===n||i2(n)?(e.exit("setextHeadingLine"),t(n)):r(n)}}let oY=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],oW=["pre","script","style","textarea"],oG={concrete:!0,name:"htmlFlow",resolveTo:oX,tokenize:oQ},oK={partial:!0,tokenize:o0},oJ={partial:!0,tokenize:oZ};function oX(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e}function oQ(e,t,r){let n,i,a,o,s,l=this;return c;function c(e){return u(e)}function u(t){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(t),d}function d(o){return 33===o?(e.consume(o),p):47===o?(e.consume(o),i=!0,m):63===o?(e.consume(o),n=3,l.interrupt?t:j):iK(o)?(e.consume(o),a=String.fromCharCode(o),g):r(o)}function p(i){return 45===i?(e.consume(i),n=2,h):91===i?(e.consume(i),n=
1295,o=0,f):iK(i)?(e.consume(i),n=4,l.interrupt?t:j):r(i)}function h(n){return 45===n?(e.consume(n),l.interrupt?t:j):r(n)}function f(n){let i="CDATA[";return n===i.charCodeAt(o++)?(e.consume(n),o===i.length)?l.interrupt?t:T:f:r(n)}function m(t){return iK(t)?(e.consume(t),a=String.fromCharCode(t),g):r(t)}function g(o){if(null===o||47===o||62===o||i5(o)){let s=47===o,c=a.toLowerCase();return!s&&!i&&oW.includes(c)?(n=1,l.interrupt?t(o):T(o)):oY.includes(a.toLowerCase())?(n=6,s)?(e.consume(o),y):l.interrupt?t(o):T(o):(n=7,l.interrupt&&!l.parser.lazy[l.now().line]?r(o):i?v(o):b(o))}return 45===o||iJ(o)?(e.consume(o),a+=String.fromCharCode(o),g):r(o)}function y(n){return 62===n?(e.consume(n),l.interrupt?t:T):r(n)}function v(t){return i3(t)?(e.consume(t),v):E(t)}function b(t){return 47===t?(e.consume(t),E):58===t||95===t||iK(t)?(e.consume(t),w):i3(t)?(e.consume(t),b):E(t)}function w(t){return 45===t||46===t||58===t||95===t||iJ(t)?(e.consume(t),w):x(t)}function x(t){return 61===t?(e.consume(t),k):i3(t)?(e.consume(t),x):b(t)}function k(t){return null===t||60===t||61===t||62===t||96===t?r(t):34===t||39===t?(e.consume(t),s=t,A):i3(t)?(e.consume(t),k):C(t)}function A(t){return t===s?(e.consume(t),s=null,S):null===t||i2(t)?r(t):(e.consume(t),A)}function C(t){return null===t||34===t||39===t||47===t||60===t||61===t||62===t||96===t||i5(t)?x(t):(e.consume(t),C)}function S(e){return 47===e||62===e||i3(e)?b(e):r(e)}function E(t){return 62===t?(e.consume(t),_):r(t)}function _(t){return null===t||i2(t)?T(t):i3(t)?(e.consume(t),_):r(t)}function T(t){return 45===t&&2===n?(e.consume(t),M):60===t&&1===n?(e.consume(t),L):62===t&&4===n?(e.consume(t),D):63===t&&3===n?(e.consume(t),j):93===t&&5===n?(e.consume(t),R):i2(t)&&(6===n||7===n)?(e.exit("htmlFlowData"),e.check(oK,F,P)(t)):null===t||i2(t)?(e.exit("htmlFlowData"),P(t)):(e.consume(t),T)}function P(t){return e.check(oJ,O,F)(t)}function O(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),I}function I(t){return null===t||i2(t)?P(t):(e.enter("htmlFlowData"),T(t))}function M(t){return 45===t?(e.consume(t),j):T(t)}function L(t){return 47===t?(e.consume(t),a="",N):T(t)}function N(t){if(62===t){let r=a.toLowerCase();return oW.includes(r)?(e.consume(t),D):T(t)}return iK(t)&&a.length<8?(e.consume(t),a+=String.fromCharCode(t),N):T(t)}function R(t){return 93===t?(e.consume(t),j):T(t)}function j(t){return 62===t?(e.consume(t),D):45===t&&2===n?(e.consume(t),j):T(t)}function D(t){return null===t||i2(t)?(e.exit("htmlFlowData"),F(t)):(e.consume(t),D)}function F(r){return e.exit("htmlFlow"),t(r)}}function oZ(e,t,r){let n=this;return i;function i(t){return i2(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a):r(t)}function a(e){return n.parser.lazy[n.now().line]?r(e):t(e)}}function o0(e,t,r){return n;function n(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),e.attempt(aM,t,r)}}let o1={partial:!0,tokenize:o3},o2={concrete:!0,name:"codeFenced",tokenize:o5};function o5(e,t,r){let n,i=this,a={partial:!0,tokenize:x},o=0,s=0;return l;function l(e){return c(e)}function c(t){let r=i.events[i.events.length-1];return o=r&&"linePrefix"===r[1].type?r[2].sliceSerialize(r[1],!0).length:0,n=t,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),u(t)}function u(t){return t===n?(s++,e.consume(t),u):s<3?r(t):(e.exit("codeFencedFenceSequence"),i3(t)?i8(e,d,"whitespace")(t):d(t))}function d(r){return null===r||i2(r)?(e.exit("codeFencedFence"),i.interrupt?t(r):e.check(o1,m,w)(r)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),p(r))}function p(t){return null===t||i2(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),d(t)):i3(t)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),i8(e,h,"whitespace")(t)):96===t&&t===n?r(t):(e.consume(t),p)}function h(t){return null===t||i2(t)?d(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),f(t))}function f(t){return null===t||i2(t)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),d(t)):96===t&&t===n?r(t):(e.consume(t),f)}function m(t){return e.attempt(a,w,g)(t)}function g(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),y}function y(t){return o>0&&i3(t)?i8(e,v,"linePrefix",o+1)(t):v(t)}function v(t){return null===t||i2(t)?e.check(o1,m,w)(t):(e.enter("co
129deFlowValue"),b(t))}function b(t){return null===t||i2(t)?(e.exit("codeFlowValue"),v(t)):(e.consume(t),b)}function w(r){return e.exit("codeFenced"),t(r)}function x(e,t,r){let a=0;return o;function o(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l}function l(t){return e.enter("codeFencedFence"),i3(t)?i8(e,c,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):c(t)}function c(t){return t===n?(e.enter("codeFencedFenceSequence"),u(t)):r(t)}function u(t){return t===n?(a++,e.consume(t),u):a>=s?(e.exit("codeFencedFenceSequence"),i3(t)?i8(e,d,"whitespace")(t):d(t)):r(t)}function d(n){return null===n||i2(n)?(e.exit("codeFencedFence"),t(n)):r(n)}}}function o3(e,t,r){let n=this;return i;function i(t){return null===t?r(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),a)}function a(e){return n.parser.lazy[n.now().line]?r(e):t(e)}}let o4={name:"characterReference",tokenize:o6};function o6(e,t,r){let n,i,a=this,o=0;return s;function s(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),l}function l(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),c):(e.enter("characterReferenceValue"),n=31,i=iJ,u(t))}function c(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),n=6,i=i0,u):(e.enter("characterReferenceValue"),n=7,i=iZ,u(t))}function u(s){if(59===s&&o){let n=e.exit("characterReferenceValue");return i!==iJ||rl(a.sliceSerialize(n))?(e.enter("characterReferenceMarker"),e.consume(s),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):r(s)}return i(s)&&o++<n?(e.consume(s),u):r(s)}}let o9={name:"characterEscape",tokenize:o8};function o8(e,t,r){return n;function n(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),i}function i(n){return i1(n)?(e.enter("characterEscapeValue"),e.consume(n),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):r(n)}}let o7={name:"lineEnding",tokenize:se};function se(e,t){return r;function r(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),i8(e,t,"linePrefix")}}function st(e,t,r){let n=[],i=-1;for(;++i<e.length;){let a=e[i].resolveAll;a&&!n.includes(a)&&(t=a(t,r),n.push(a))}return t}let sr={name:"labelEnd",resolveAll:so,resolveTo:ss,tokenize:sl},sn={tokenize:sc},si={tokenize:su},sa={tokenize:sd};function so(e){let t=-1,r=[];for(;++t<e.length;){let n=e[t][1];if(r.push(e[t]),"labelImage"===n.type||"labelLink"===n.type||"labelEnd"===n.type){let e="labelImage"===n.type?4:2;n.type="data",t+=e}}return e.length!==r.length&&aV(e,0,e.length,r),e}function ss(e,t){let r,n,i,a,o=e.length,s=0;for(;o--;)if(r=e[o][1],n){if("link"===r.type||"labelLink"===r.type&&r._inactive)break;"enter"===e[o][0]&&"labelLink"===r.type&&(r._inactive=!0)}else if(i){if("enter"===e[o][0]&&("labelImage"===r.type||"labelLink"===r.type)&&!r._balanced&&(n=o,"labelLink"!==r.type)){s=2;break}}else"labelEnd"===r.type&&(i=o);let l={type:"labelLink"===e[n][1].type?"link":"image",start:{...e[n][1].start},end:{...e[e.length-1][1].end}},c={type:"label",start:{...e[n][1].start},end:{...e[i][1].end}},u={type:"labelText",start:{...e[n+s+2][1].end},end:{...e[i-2][1].start}};return a=aB(a=[["enter",l,t],["enter",c,t]],e.slice(n+1,n+s+3)),a=aB(a,[["enter",u,t]]),a=aB(a,st(t.parser.constructs.insideSpan.null,e.slice(n+s+4,i-3),t)),a=aB(a,[["exit",u,t],e[i-2],e[i-1],["exit",c,t]]),a=aB(a,e.slice(i+1)),a=aB(a,[["exit",l,t]]),aV(e,n,e.length,a),e}function sl(e,t,r){let n,i,a=this,o=a.events.length;for(;o--;)if(("labelImage"===a.events[o][1].type||"labelLink"===a.events[o][1].type)&&!a.events[o][1]._balanced){n=a.events[o][1];break}return s;function s(t){return n?n._inactive?d(t):(i=a.parser.defined.includes(oI(a.sliceSerialize({start:n.end,end:a.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),l):r(t)}function l(t){return 40===t?e.attempt(sn,u,i?u:d)(t):91===t?e.attempt(si,u,i?c:d)(t):i?u(t):d(t)}function c(t){return e.attempt(sa,u,d)(t)}function u(e){return t(e)}function d(e){return n._balanced=!0,r(e)}}function sc(e,t,r){return n;function n(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),i}function i(t){return i5(t)?oO(e,a)(t):a(t)}function a(t){return 41===t?u(t):o_(e,o,s,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function o(t){return i5(t)?oO(e,l)(t):u(t)}function s(e){return r(e)}function l(t){return 34===t||39===t||40===t?oP(e,c,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):u(t)}function c(t){return i5(t)?oO(e,u)(t):u(t)}function u(n){return 41===n?(e.enter("resourceMarker"),e.consume(n),e.exit("resourceMarker"),e.exit("resource"),t):r(n)}}function su(e,t,r){let n=this;return i;function i(t){return oT.call(n,e,a,o,"reference","referenceMarker","referenceString")(t)}function a(e){return n.parser.defined.includes(oI(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?t(e):r(e)}function o(e){return r(e)}}function sd(e,t,r){return n;function n(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),i}function i(n){return 93===n?(e.enter("referenceMarker"),e.consume(n),e.exit("referenceMarker"),e.exit("reference"),t):r(n)}}let sp={name:"labelStartImage",resolveAll:sr.resolveAll,tokenize:sh};function sh(e,t,r){let n=this;return i;function i(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),a}function a(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),o):r(t)}function o(e){return 94===e&&"_hiddenFootnoteSupport"in n.parser.constructs?r(e):t(e)}}function sf(e){return null===e||i5(e)||i6(e)?1:i4(e)?2:void 0}let sm={name:"attention",resolveAll:sg,tokenize:sy};function sg(e,t){let r,n,i,a,o,s,l,c,u=-1;for(;++u<e.length;)if("enter"===e[u][0]&&"attentionSequence"===e[u][1].type&&e[u][1]._close){for(r=u;r--;)if("exit"===e[r][0]&&"attentionSequence"===e[r][1].type&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCo
129deAt(0)===t.sliceSerialize(e[u][1]).charCodeAt(0)){if((e[r][1]._close||e[u][1]._open)&&(e[u][1].end.offset-e[u][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[u][1].end.offset-e[u][1].start.offset)%3))continue;s=e[r][1].end.offset-e[r][1].start.offset>1&&e[u][1].end.offset-e[u][1].start.offset>1?2:1;let d={...e[r][1].end},p={...e[u][1].start};sv(d,-s),sv(p,s),a={type:s>1?"strongSequence":"emphasisSequence",start:d,end:{...e[r][1].end}},o={type:s>1?"strongSequence":"emphasisSequence",start:{...e[u][1].start},end:p},i={type:s>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[u][1].start}},n={type:s>1?"strong":"emphasis",start:{...a.start},end:{...o.end}},e[r][1].end={...a.start},e[u][1].start={...o.end},l=[],e[r][1].end.offset-e[r][1].start.offset&&(l=aB(l,[["enter",e[r][1],t],["exit",e[r][1],t]])),l=aB(l,[["enter",n,t],["enter",a,t],["exit",a,t],["enter",i,t]]),l=aB(l,st(t.parser.constructs.insideSpan.null,e.slice(r+1,u),t)),l=aB(l,[["exit",i,t],["enter",o,t],["exit",o,t],["exit",n,t]]),e[u][1].end.offset-e[u][1].start.offset?(c=2,l=aB(l,[["enter",e[u][1],t],["exit",e[u][1],t]])):c=0,aV(e,r-1,u-r+3,l),u=r+l.length-c-2;break}}for(u=-1;++u<e.length;)"attentionSequence"===e[u][1].type&&(e[u][1].type="data");return e}function sy(e,t){let r,n=this.parser.constructs.attentionMarkers.null,i=this.previous,a=sf(i);return o;function o(t){return r=t,e.enter("attentionSequence"),s(t)}function s(o){if(o===r)return e.consume(o),s;let l=e.exit("attentionSequence"),c=sf(o),u=!c||2===c&&a||n.includes(o),d=!a||2===a&&c||n.includes(i);return l._open=!!(42===r?u:u&&(a||!d)),l._close=!!(42===r?d:d&&(c||!u)),t(o)}}function sv(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}let sb={name:"autolink",tokenize:sw};function sw(e,t,r){let n=0;return i;function i(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),a}function a(t){return iK(t)?(e.consume(t),o):64===t?r(t):c(t)}function o(e){return 43===e||45===e||46===e||iJ(e)?(n=1,s(e)):c(e)}function s(t){return 58===t?(e.consume(t),n=0,l):(43===t||45===t||46===t||iJ(t))&&n++<32?(e.consume(t),s):(n=0,c(t))}function l(n){return 62===n?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(n),e.exit("autolinkMarker"),e.exit("autolink"),t):null===n||32===n||60===n||iQ(n)?r(n):(e.consume(n),l)}function c(t){return 64===t?(e.consume(t),u):iX(t)?(e.consume(t),c):r(t)}function u(e){return iJ(e)?d(e):r(e)}function d(r){return 46===r?(e.consume(r),n=0,u):62===r?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(r),e.exit("autolinkMarker"),e.exit("autolink"),t):p(r)}function p(t){if((45===t||iJ(t))&&n++<63){let r=45===t?p:d;return e.consume(t),r}return r(t)}}let sx={name:"htmlText",tokenize:sk};function sk(e,t,r){let n,i,a,o=this;return s;function s(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),l}function l(t){return 33===t?(e.consume(t),c):47===t?(e.consume(t),x):63===t?(e.consume(t),b):iK(t)?(e.consume(t),C):r(t)}function c(t){return 45===t?(e.consume(t),u):91===t?(e.consume(t),i=0,f):iK(t)?(e.consume(t),v):r(t)}function u(t){return 45===t?(e.consume(t),h):r(t)}function d(t){return null===t?r(t):45===t?(e.consume(t),p):i2(t)?(a=d,L(t)):(e.consume(t),d)}function p(t){return 45===t?(e.consume(t),h):d(t)}function h(e){return 62===e?M(e):45===e?p(e):d(e)}function f(t){let n="CDATA[";return t===n.charCodeAt(i++)?(e.consume(t),i===n.length?m:f):r(t)}function m(t){return null===t?r(t):93===t?(e.consume(t),g):i2(t)?(a=m,L(t)):(e.consume(t),m)}function g(t){return 93===t?(e.consume(t),y):m(t)}function y(t){return 62===t?M(t):93===t?(e.consume(t),y):m(t)}function v(t){return null===t||62===t?M(t):i2(t)?(a=v,L(t)):(e.consume(t),v)}function b(t){return null===t?r(t):63===t?(e.consume(t),w):i2(t)?(a=b,L(t)):(e.consume(t),b)}function w(e){return 62===e?M(e):b(e)}function x(t){return iK(t)?(e.consume(t),k):r(t)}function k(t){return 45===t||iJ(t)?(e.consume(t),k):A(t)}function A(t){return i2(t)?(a=A,L(t)):i3(t)?(e.consume(t),A):M(t)}function C(t){return 45===t||iJ(t)?(e.consume(t),C):47===t||62===t||i5(t)?S(t):r(t)}function S(t){return 47===t?(e.consume(t),M):58===t||95===t||iK(t)?(e.consume(t),E):i2(t)?(a=S,L(t)):i3(t)?(e.consume(t),S):M(t)}function E(t){return 45===t||46===t||58===t||95===t||iJ(t)?(e.consume(t),E):_(t)}function _(t){return 61===t?(e.consume(t),T):i2(t)?(a=_,L(t)):i3(t)?(e.consume(t),_):S(t)}function T(t){return null===t||60===t||61===t||62===t||96===t?r(t):34===t||39===t?(e.consume(t),n=t,P):i2(t)?(a=T,L(t)):i3(t)?(e.consume(t),T):(e.consume(t),O)}function P(t){return t===n?(e.consume(t),n=void 0,I):null===t?r(t):i2(t)?(a=P,L(t)):(e.consume(t),P)}function O(t){return null===t||34===t||39===t||60===t||61===t||96===t?r(t):47===t||62===t||i5(t)?S(t):(e.consume(t),O)}function I(e){return 47===e||62===e||i5(e)?S(e):r(e)}function M(n){return 62===n?(e.consume(n),e.exit("htmlTextData"),e.exit("htmlText"),t):r(n)}function L(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),N}function N(t){return i3(t)?i8(e,R,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):R(t)}function R(t){return e.enter("htmlTextData"),a(t)}}let sA={name:"labelStartLink",resolveAll:sr.resolveAll,tokenize:sC};function sC(e,t,r){let n=this;return i;function i(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),a}function a(e){return 94===e&&"_hiddenFootnoteSupport"in n.parser.constructs?r(e):t(e)}}let sS={42:om,43:om,45:om,48:om,49:om,50:om,51:om,52:om,53:om,54:om,55:om,56:om,57:om,62:oA},sE={91:oM},s_={[-2]:oj,[-1]:oj,32:oj},sT={35:oB,42:oh,45:[oU,oh],60:oG,61:oU,95:oh,96:o2,126:o2},sP={38:o4,92:o9},sO={[-5]:o7,[-4]:o7,[-3]:o7,33:sp,38:o4,42:sm,60:[sb,sx],91:sA,92:[{name:"hardBreakEscape",tokenize:function(e,t,r){return n;function n(t){return e.enter("hardBreakEscape"),e.consume(t),i}function i(n){return i2(n)?(e.exit("hardBreakEscape"),t(n)):r(n)}}},o9],93:sr,95:sm,96:{name:"codeText",previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type},resolve:function(e){let t,r,n=e.length-4,i=3;if(("lineEnding"===e[3][1].type||"space"===e[i][1].type)&&("lineEnding"===e[n][1].type||"space"===e[n][1].type)){for(t=i;++t<n;)if("codeTextData"===e[t][1].type){e[i][1].type="codeTextPadding",e[n][1].type="codeTextPadding",i+=2,n-=2;break}}for(t=i-1,n++;++t<=n;)void 0===r?t!==n&&"lineEnding"!==e[t][1].type&&(r=t):(t===n||"lineEnding"===e[t][1].type)&&(e[r][1].type="codeTextData",t!==r+2&&(e[r][1].end=e[t-1][1].end,e.splice(r+2,t-r-2),n-=t-r-2,t=r+2),r=void 0);return e},tokenize:function(e,t,r){let n,i,a=0;return o;
129function o(t){return e.enter("codeText"),e.enter("codeTextSequence"),s(t)}function s(t){return 96===t?(e.consume(t),a++,s):(e.exit("codeTextSequence"),l(t))}function l(t){return null===t?r(t):32===t?(e.enter("space"),e.consume(t),e.exit("space"),l):96===t?(i=e.enter("codeTextSequence"),n=0,u(t)):i2(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l):(e.enter("codeTextData"),c(t))}function c(t){return null===t||32===t||96===t||i2(t)?(e.exit("codeTextData"),l(t)):(e.consume(t),c)}function u(r){return 96===r?(e.consume(r),n++,u):n===a?(e.exit("codeTextSequence"),e.exit("codeText"),t(r)):(i.type="codeTextData",c(r))}}}},sI={null:[sm,os]},sM={null:[42,95]},sL={null:[]};function sN(e,t,r){let n={_bufferIndex:-1,_index:0,line:r&&r.line||1,column:r&&r.column||1,offset:r&&r.offset||0},i={},a=[],o=[],s=[],l={attempt:A(x),check:A(k),consume:v,enter:b,exit:w,interrupt:A(k,{interrupt:!0})},c={code:null,containerState:{},defineSkip:m,events:[],now:f,parser:e,previous:null,sliceSerialize:p,sliceStream:h,write:d},u=t.tokenize.call(c,l);return t.resolveAll&&a.push(t),c;function d(e){return(o=aB(o,e),g(),null!==o[o.length-1])?[]:(C(t,0),c.events=st(a,c.events,c),c.events)}function p(e,t){return sj(h(e),t)}function h(e){return sR(o,e)}function f(){let{_bufferIndex:e,_index:t,line:r,column:i,offset:a}=n;return{_bufferIndex:e,_index:t,line:r,column:i,offset:a}}function m(e){i[e.line]=e.column,E()}function g(){let e;for(;n._index<o.length;){let t=o[n._index];if("string"==typeof t)for(e=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===e&&n._bufferIndex<t.length;)y(t.charCodeAt(n._bufferIndex));else y(t)}}function y(e){u=u(e)}function v(e){i2(e)?(n.line++,n.column=1,n.offset+=-3===e?2:1,E()):-1!==e&&(n.column++,n.offset++),n._bufferIndex<0?n._index++:(n._bufferIndex++,n._bufferIndex===o[n._index].length&&(n._bufferIndex=-1,n._index++)),c.previous=e}function b(e,t){let r=t||{};return r.type=e,r.start=f(),c.events.push(["enter",r,c]),s.push(r),r}function w(e){let t=s.pop();return t.end=f(),c.events.push(["exit",t,c]),t}function x(e,t){C(e,t.from)}function k(e,t){t.restore()}function A(e,t){return r;function r(r,n,i){let a,o,s,u;return Array.isArray(r)?p(r):"tokenize"in r?p([r]):d(r);function d(e){return t;function t(t){let r=null!==t&&e[t],n=null!==t&&e.null;return p([...Array.isArray(r)?r:r?[r]:[],...Array.isArray(n)?n:n?[n]:[]])(t)}}function p(e){return(a=e,o=0,0===e.length)?i:h(e[o])}function h(e){return r;function r(r){return(u=S(),s=e,e.partial||(c.currentConstruct=e),e.name&&c.parser.constructs.disable.null.includes(e.name))?m(r):e.tokenize.call(t?Object.assign(Object.create(c),t):c,l,f,m)(r)}}function f(t){return e(s,u),n}function m(e){return(u.restore(),++o<a.length)?h(a[o]):i}}}function C(e,t){e.resolveAll&&!a.includes(e)&&a.push(e),e.resolve&&aV(c.events,t,c.events.length-t,e.resolve(c.events.slice(t),c)),e.resolveTo&&(c.events=e.resolveTo(c.events,c))}function S(){let e=f(),t=c.previous,r=c.currentConstruct,i=c.events.length,a=Array.from(s);return{from:i,restore:o};function o(){n=e,c.previous=t,c.currentConstruct=r,c.events.length=i,s=a,E()}}function E(){n.line in i&&n.column<2&&(n.column=i[n.line],n.offset+=i[n.line]-1)}}function sR(e,t){let r,n=t.start._index,i=t.start._bufferIndex,a=t.end._index,o=t.end._bufferIndex;if(n===a)r=[e[n].slice(i,o)];else{if(r=e.slice(n,a),i>-1){let e=r[0];"string"==typeof e?r[0]=e.slice(i):r.shift()}o>0&&r.push(e[a].slice(0,o))}return r}function sj(e,t){let r,n=-1,i=[];for(;++n<e.length;){let a,o=e[n];if("string"==typeof o)a=o;else switch(o){case -5:a="\r";break;case -4:a="\n";break;case -3:a="\r\n";break;case -2:a=t?" ":" ";break;case -1:if(!t&&r)continue;a=" ";break;default:a=String.fromCharCode(o)}r=-2===o,i.push(a)}return i.join("")}function sD(e){let t={constructs:a$([d,...(e||{}).extensions||[]]),content:r(a3),defined:[],document:r(a6),flow:r(oa),lazy:{},string:r(ol),text:r(oc)};return t;function r(e){return r;function r(r){return sN(t,e,r)}}}let sF=/[\0\t\n\r]/g;function sV(){let e,t=1,r="",n=!0;return i;function i(i,a,o){let s,l,c,u,d,p=[];for(i=r+("string"==typeof i?i.toString():new TextDecoder(a||void 0).decode(i)),c=0,r="",n&&(65279===i.charCodeAt(0)&&c++,n=void 0);c<i.length;
129){if(sF.lastIndex=c,u=(s=sF.exec(i))&&void 0!==s.index?s.index:i.length,d=i.charCodeAt(u),!s){r=i.slice(c);break}if(10===d&&c===u&&e)p.push(-3),e=void 0;else switch(e&&(p.push(-5),e=void 0),c<u&&(p.push(i.slice(c,u)),t+=u-c),d){case 0:p.push(65533),t++;break;case 9:for(l=4*Math.ceil(t/4),p.push(-2);t++<l;)p.push(-1);break;case 10:p.push(-4),t=1;break;default:e=!0,t=1}c=u+1}return o&&(e&&p.push(-5),r&&p.push(r),p.push(null)),p}}function sB(e,t){let r=Number.parseInt(e,t);return r<9||11===r||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(65535&r)==65535||(65535&r)==65534||r>1114111?"�":String.fromCodePoint(r)}let sz=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function s$(e){return e.replace(sz,sU)}function sU(e,t,r){if(t)return t;if(35===r.charCodeAt(0)){let e=r.charCodeAt(1),t=120===e||88===e;return sB(r.slice(t?2:1),t?16:10)}return rl(r)||e}let sq={}.hasOwnProperty;function sH(e,t,r){return t&&"object"==typeof t&&(r=t,t=void 0),sY(r)(a5(sD(r).document().write(sV()(e,t,!0))))}function sY(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:a(er),autolinkProtocol:E,autolinkEmail:E,atxHeading:a(Q),blockQuote:a(W),characterEscape:E,characterReference:E,codeFenced:a(G),codeFencedFenceInfo:o,codeFencedFenceMeta:o,codeIndented:a(G,o),codeText:a(K,o),codeTextData:E,data:E,codeFlowValue:E,definition:a(J),definitionDestinationString:o,definitionLabelString:o,definitionTitleString:o,emphasis:a(X),hardBreakEscape:a(Z),hardBreakTrailing:a(Z),htmlFlow:a(ee,o),htmlFlowData:E,htmlText:a(ee,o),htmlTextData:E,image:a(et),label:o,link:a(er),listItem:a(ei),listItemValue:p,listOrdered:a(en,d),listUnordered:a(en),paragraph:a(ea),reference:B,referenceString:o,resourceDestinationString:o,resourceTitleString:o,setextHeading:a(Q),strong:a(eo),thematicBreak:a(el)},exit:{atxHeading:l(),atxHeadingSequence:k,autolink:l(),autolinkEmail:Y,autolinkProtocol:H,blockQuote:l(),characterEscapeValue:_,characterReferenceMarkerHexadecimal:$,characterReferenceMarkerNumeric:$,characterReferenceValue:U,characterReference:q,codeFenced:l(y),codeFencedFence:g,codeFencedFenceInfo:h,codeFencedFenceMeta:m,codeFlowValue:_,codeIndented:l(v),codeText:l(M),codeTextData:_,data:_,definition:l(),definitionDestinationString:x,definitionLabelString:b,definitionTitleString:w,emphasis:l(),hardBreakEscape:l(P),hardBreakTrailing:l(P),htmlFlow:l(O),htmlFlowData:_,htmlText:l(I),htmlTextData:_,image:l(N),label:j,labelText:R,lineEnding:T,link:l(L),listItem:l(),listOrdered:l(),listUnordered:l(),paragraph:l(),referenceString:z,resourceDestinationString:D,resourceTitleString:F,resource:V,setextHeading:l(S),setextHeadingLineSequence:C,setextHeadingText:A,strong:l(),thematicBreak:l()}};sG(t,(e||{}).mdastExtensions||[]);let r={};return n;function n(e){let n={type:"root",children:[]},a={stack:[n],tokenStack:[],config:t,enter:s,exit:c,buffer:o,resume:u,data:r},l=[],d=-1;for(;++d<e.length;)("listOrdered"===e[d][1].type||"listUnordered"===e[d][1].type)&&("enter"===e[d][0]?l.push(d):d=i(e,l.pop(),d));for(d=-1;++d<e.length;){let r=t[e[d][0]];sq.call(r,e[d][1].type)&&r[e[d][1].type].call(Object.assign({sliceSerialize:e[d][2].sliceSerialize},a),e[d][1])}if(a.tokenStack.length>0){let e=a.tokenStack[a.tokenStack.length-1];(e[1]||sJ).call(a,void 0,e[0])}for(n.position={start:sW(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:sW(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},d=-1;++d<t.transforms.length;)n=t.transforms[d](n)||n;return n}function i(e,t,r){let n,i,a,o,s=t-1,l=-1,c=!1;for(;++s<=r;){let t=e[s];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?l++:l--,o=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(!n||o||l||a||(a=s),o=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:o=void 0}if(!l&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===l&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(n){let o=s;for(i=void 0;o--;){let t=e[o];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;i&&(e[i][1].type="lineEndingBlank",c=!0),t[1].type="lineEnding",i=o}else if("linePrefix"===t[1].type||"blockQuotePrefix"===t[1].type||"blockQuotePrefixWhitespace"===t[1].type||"blockQuoteMarker"===t[1].type||"listItemIndent"===t[1].type);else break}a&&(!i||a<i)&&(n._spread=!0),n.end=Object.assign({},i?e[i][1].start:t[1].end),e.splice(i||s,0,["exit",n,t[2]]),s++,r++}if("listItemPrefix"===t[1].type){let i={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0};n=i,e.splice(s,0,["enter",i,t[2]]),s++,r++,a=void 0,o=!0}}}return e[t][1]._spread=c,r}function a(e,t){return r;function r(r){s.call(this,e(r),r),t&&t.call(this,r)}}function o(){this.stack.push({type:"fragment",children:[]})}function s(e,t,r){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,r||void 0]),e.position={start:sW(t.start),end:void 0}}function l(e){return t;function t(t){e&&e.call(this,t),c.call(this,t)}}function c(e,t){let r=this.stack.pop(),n=this.tokenStack.pop();if(n)n[0].type!==e.type&&(t?t.call(this,e,n[0]):(n[1]||sJ).call(this,e,n[0]));else throw Error("Cannot close `"+e.type+"` ("+f({start:e.start,end:e.end})+"): itâs not open");r.position.end=sW(e.end)}function u(){return aK(this.stack.pop())}function d(){this.data.expectingFirstListItemValue=!0}function p(e){this.data.expectingFirstListItemValue&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0)}function h(){let e=this.resume();this.stack[this.stack.length-1].lang=e}function m(){let e=this.resume();this.stack[this.stack.length-1].meta=e}function g(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function y(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function v(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}function b(e){let t=this.resume(),r=this.stack[this.stack.length-1];r.label=t,r.identifier=oI(this.sliceSerialize(e)).toLowerCase()}function w(){let e=this.resume();this.stack[this.stack.length-1].title=e}function x(){let e=this.resume();this.stack[this.stack.length-1].url=e}function k(e){let t=this.stack[this.stack.length-1];t.depth||(t.depth=this.sliceSerialize(e).length)}function A(){this.data.setextHeadingSlurpLineEnding=!0}function C(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).codePointAt(0)?1:2}function S(){this.data.setextHeadingSlurpLineEnding=void 0}function E(e){let t=this.stack[this.stack.length-1].children,r=t[t.length-1];r&&"text"===r.type||((r=es()).position={start:sW(e.start),end:void 0},t.push(r)),this.stack.push(r)}function _(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=sW(e.end)}function T(e){let r=this.stack[this.stack.length-1];if(this.data.atHardBreak){r.children[r.children.length-1].position.end=sW(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(r.type)&&(E.call(this,e),_.call(this,e))}function P(){this.data.atHardBreak=!0}function O(){let e=this.resume();this.stack[this.stack.length-1].value=e}function I(){let e=this.resume();this.stack[this.stack.length-1].value=e}function M(){let e=this.resume();this.stack[this.stack.length-1].value=e}function L(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function N(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}function R(e){let t=this.sliceSerialize(e),r=this.stack[this.stack.length-2];r.label=s$(t),r.identifier=oI(t).toLowerCase()}function j(){let e=this.stack[this.stack.length-1],t=this.resume(),r=this.stack[this.stack.length-1];this.data.inReference=!0,"link"===r.type?r.children=e.children:r.alt=t}function D(){let e=this.resume();this.stack[this.stack.length-1].url=e}function F(){let e=this.resume();this.stack[this.stack.length-1].title=e}function V(){this.data.inReference=void 0}function B(){this.data.referenceType="collapsed"}function z(e){let t=this.resume(),r=this.stack[this.stack.length-1];r.label=t,r.identifier=oI(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"}function $(e){this.data.characterReferenceType=e.type}function U(e){let t,r=this.sliceSerialize(e),n=this.data.characterReferenceType;n?(t=sB(r,"characterReferenceMarkerNumeric"===n?10:16),this.data.characterReferenceType=void 0):t=rl(r);let i=this.stack[this.stack.length-1];i.value+=t}function q(e){this.stack.pop().position.end=sW(e.end)}function H(e){_.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)}function Y(e){_.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)}function W(){return{type:"blockquote",children:[]}}function G(){return{type:"code",lang:null,meta:null,value:""}}function K(){return{type:"inlineCode",value:""}}function J(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function X(){return{type:"emphasis",children:[]}}function Q(){return{type:"heading",depth:0,children:[]}}function Z(){return{type:"break"}}function ee(){return{type:"html",value:""}}function et(){return{type:"image",title:null,url:"",alt:null}}function er(){return{type:"link",title:null,url:"",children:[]}}function en(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}function ei(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}function ea(){return{type:"paragraph",children:[]}}function eo(){return{type:"strong",children:[]}}function es(){return{type:"text",value:""}}function el(){return{type:"thematicBreak"}}}function sW(e){return{line:e.line,column:e.column,offset:e.offset}}function sG(e,t){let r=-1;for(;++r<t.length;){let n=t[r];Array.isArray(n)?sG(e,n):sK(e,n)}}function sK(e,t){let r;for(r in t)if(sq.call(t,r))switch(r){case"canContainEols":{let n=t[r];n&&e[r].push(...n);break}case"transforms":{let n=t[r];n&&e[r].push(...n);break}case"enter":case"exit":{let n=t[r];n&&Object.assign(e[r],n)}}}function sJ(e,t){if(e)throw Error("Cannot close `"+e.type+"` ("+f({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+f({start:t.start,end:t.end}
129)+") is open");throw Error("Cannot close document, a token (`"+t.type+"`, "+f({start:t.start,end:t.end})+") is still open")}function sX(e){let t=this;function r(r){return sH(r,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}t.parser=r}let sQ=-1,sZ=0,s0=1,s1=2,s2=3,s5=4,s3=5,s4=6,s6=7,s9=8,s8="object"==typeof self?self:globalThis,s7=(e,t)=>{switch(e){case"Function":case"SharedWorker":case"Worker":case"eval":case"setInterval":case"setTimeout":throw TypeError("unable to deserialize "+e)}return new s8[e](t)},le=(e,t)=>{let r=(t,r)=>(e.set(r,t),t),n=i=>{if(e.has(i))return e.get(i);let[a,o]=t[i];switch(a){case sZ:case sQ:return r(o,i);case s0:{let e=r([],i);for(let t of o)e.push(n(t));return e}case s1:{let e=r({},i);for(let[t,r]of o)e[n(t)]=n(r);return e}case s2:return r(new Date(o),i);case s5:{let{source:e,flags:t}=o;return r(new RegExp(e,t),i)}case s3:{let e=r(new Map,i);for(let[t,r]of o)e.set(n(t),n(r));return e}case s4:{let e=r(new Set,i);for(let t of o)e.add(n(t));return e}case s6:{let{name:e,message:t}=o;return r(s7(e,t),i)}case s9:return r(BigInt(o),i);case"BigInt":return r(Object(BigInt(o)),i);case"ArrayBuffer":return r(new Uint8Array(o).buffer,o);case"DataView":{let{buffer:e}=new Uint8Array(o);return r(new DataView(e),o)}}return r(s7(a,o),i)};return n},lt=e=>le(new Map,e)(0),lr="",{toString:ln}={},{keys:li}=Object,la=e=>{let t=typeof e;if("object"!==t||!e)return[sZ,t];let r=ln.call(e).slice(8,-1);switch(r){case"Array":return[s0,lr];case"Object":return[s1,lr];case"Date":return[s2,lr];case"RegExp":return[s5,lr];case"Map":return[s3,lr];case"Set":return[s4,lr];case"DataView":return[s0,r]}return r.includes("Array")?[s0,r]:r.includes("Error")?[s6,r]:[s1,r]},lo=([e,t])=>e===sZ&&("function"===t||"symbol"===t),ls=(e,t,r,n)=>{let i=(e,t)=>{let i=n.push(e)-1;return r.set(t,i),i},a=n=>{if(r.has(n))return r.get(n);let[o,s]=la(n);switch(o){case sZ:{let t=n;switch(s){case"bigint":o=s9,t=n.toString();break;case"function":case"symbol":if(e)throw TypeError("unable to serialize "+s);t=null;break;case"undefined":return i([sQ],n)}return i([o,t],n)}case s0:{if(s){let e=n;return"DataView"===s?e=new Uint8Array(n.buffer):"ArrayBuffer"===s&&(e=new Uint8Array(n)),i([s,[...e]],n)}let e=[],t=i([o,e],n);for(let t of n)e.push(a(t));return t}case s1:{if(s)switch(s){case"BigInt":return i([s,n.toString()],n);case"Boolean":case"Number":case"String":return i([s,n.valueOf()],n)}if(t&&"toJSON"in n)return a(n.toJSON());let r=[],l=i([o,r],n);for(let t of li(n))(e||!lo(la(n[t])))&&r.push([a(t),a(n[t])]);return l}case s2:return i([o,n.toISOString()],n);case s5:{let{source:e,flags:t}=n;return i([o,{source:e,flags:t}],n)}case s3:{let t=[],r=i([o,t],n);for(let[r,i]of n)(e||!(lo(la(r))||lo(la(i))))&&t.push([a(r),a(i)]);return r}case s4:{let t=[],r=i([o,t],n);for(let r of n)(e||!lo(la(r)))&&t.push(a(r));return r}}let{message:l}=n;return i([o,{name:s,message:l}],n)};return a},ll=(e,{json:t,lossy:r}={})=>{let n=[];return ls(!(t||r),!!t,new Map,n)(e),n},lc="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?lt(ll(e,t)):structuredClone(e):(e,t)=>lt(ll(e,t));function lu(e){let t=[],r=-1,n=0,i=0;for(;++r<e.length;){let a=e.charCodeAt(r),o="";if(37===a&&iJ(e.charCodeAt(r+1))&&iJ(e.charCodeAt(r+2)))i=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(o=String.fromCharCode(a));else if(a>55295&&a<57344){let t=e.charCodeAt(r+1);a<56320&&t>56319&&t<57344?(o=String.fromCharCode(a,t),i=1):o="�"}else o=String.fromCharCode(a);o&&(t.push(e.slice(n,r),encodeURIComponent(o)),n=r+i+1,o=""),i&&(r+=i,i=0)}return t.join("")+e.slice(n)}function ld(e,t){let r=[{type:"text",value:"â©"}];return t>1&&r.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),r}function lp(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function lh(e){let t="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",r=e.options.footnoteBackContent||ld,n=e.options.footnoteBackLabel||lp,i=e.options.footnoteLabel||"Footnotes",a=e.options.footnoteLabelTagName||"h2",o=e.options.footnoteLabelProperties||{className:["sr-only"]},s=[],l=-1;for(;++l<e.footnoteOrder.length;){let i=e.footnoteById.get(e.footnoteOrder[l]);if(!i)continue;let a=e.all(i),o=String(i.identifier).toUpperCase(),c=lu(o.toLowerCase()),u=0,d=[],p=e.footnoteCounts.get(o);for(;void 0!==p&&++u<=p;){d.length>0&&d.push({type:"text",value:" "});let e="string"==typeof r?r:r(l,u);"string"==typeof e&&(e={type:"text",value:e}),d.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+c+(u>1?"-"+u:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof n?n:n(l,u),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}let h=a[a.length-1];if(h&&"element"===h.type&&"p"===h.tagName){let e=h.children[h.children.length-1];e&&"text"===e.type?e.value+=" ":h.children.push({type:"text",value:" "}),h.children.push(...d)}else a.push(...d);let f={type:"element",tagName:"li",properties:{id:t+"fn-"+c},children:e.wrap(a,!0)};e.patch(i,f),s.push(f)}if(0!==s.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:a,properties:{...lc(o),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(s,!0)}
129,{type:"text",value:"\n"}]}}let lf=function(e){if(null==e)return lb;if("function"==typeof e)return lv(e);if("object"==typeof e)return Array.isArray(e)?lm(e):lg(e);if("string"==typeof e)return ly(e);throw Error("Expected function, string, or object as test")};function lm(e){let t=[],r=-1;for(;++r<e.length;)t[r]=lf(e[r]);return lv(n);function n(...e){let r=-1;for(;++r<t.length;)if(t[r].apply(this,e))return!0;return!1}}function lg(e){let t=e;return lv(r);function r(r){let n,i=r;for(n in e)if(i[n]!==t[n])return!1;return!0}}function ly(e){return lv(t);function t(t){return t&&t.type===e}}function lv(e){return t;function t(t,r,n){return!!(lw(t)&&e.call(this,t,"number"==typeof r?r:void 0,n||void 0))}}function lb(){return!0}function lw(e){return null!==e&&"object"==typeof e&&"type"in e}function lx(e){return e}let lk=[],lA=!0,lC=!1,lS="skip";function lE(e,t,r,n){let i;"function"==typeof t&&"function"!=typeof r?(n=r,r=t):i=t;let a=lf(i),o=n?-1:1;function s(e,i,l){let c=e&&"object"==typeof e?e:{};if("string"==typeof c.type){let t="string"==typeof c.tagName?c.tagName:"string"==typeof c.name?c.name:void 0;Object.defineProperty(u,"name",{value:"node ("+lx(e.type+(t?"<"+t+">":""))+")"})}return u;function u(){let c,u,d,p=lk;if((!t||a(e,i,l[l.length-1]||void 0))&&(p=l_(r(e,l)))[0]===lC)return p;if("children"in e&&e.children){let t=e;if(t.children&&p[0]!==lS)for(u=(n?t.children.length:-1)+o,d=l.concat(t);u>-1&&u<t.children.length;){if((c=s(t.children[u],u,d)())[0]===lC)return c;u="number"==typeof c[1]?c[1]:u+o}}return p}}s(e,void 0,[])()}function l_(e){return Array.isArray(e)?e:"number"==typeof e?[lA,e]:null==e?lk:[e]}function lT(e,t,r,n){let i,a,o;function s(e,t){let r=t[t.length-1],n=r?r.children.indexOf(e):void 0;return o(e,n,r)}"function"==typeof t&&"function"!=typeof r?(a=void 0,o=t,i=r):(a=t,o=r,i=n),lE(e,a,s,i)}function lP(e,t){let r=t.referenceType,n="]";if("collapsed"===r?n+="[]":"full"===r&&(n+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+n}];let i=e.all(t),a=i[0];a&&"text"===a.type?a.value="["+a.value:i.unshift({type:"text",value:"["});let o=i[i.length-1];return o&&"text"===o.type?o.value+=n:i.push({type:"text",value:n}),i}function lO(e){let t=!1;if("list"===e.type){t=e.spread||!1;let r=e.children,n=-1;for(;!t&&++n<r.length;)t=lI(r[n])}return t}function lI(e){let t=e.spread;return null==t?e.children.length>1:t}let lM=9,lL=32;function lN(e){let t=String(e),r=/\r?\n|\r/g,n=r.exec(t),i=0,a=[];for(;n;)a.push(lR(t.slice(i,n.index),i>0,!0),n[0]),i=n.index+n[0].length,n=r.exec(t);return a.push(lR(t.slice(i),i>0,!1)),a.join("")}function lR(e,t,r){let n=0,i=e.length;if(t){let t=e.codePointAt(n);for(;t===lM||t===lL;)n++,t=e.codePointAt(n)}if(r){let t=e.codePointAt(i-1);for(;t===lM||t===lL;)i--,t=e.codePointAt(i-1)}return i>n?e.slice(n,i):""}let lj={blockquote:function(e,t){let r={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,r),e.applyData(t,r)},break:function(e,t){let r={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,r),[e.applyData(t,r),{type:"text",value:"\n"}]},code:function(e,t){let r=t.value?t.value+"\n":"",n={},i=t.lang?t.lang.split(/\s+/):[];i.length>0&&(n.className=["language-"+i[0]]);let a={type:"element",tagName:"code",properties:n,children:[{type:"text",value:r}]};return t.meta&&(a.data={meta:t.meta}),e.patch(t,a),a={type:"element",tagName:"pre",properties:{},children:[a=e.applyData(t,a)]},e.patch(t,a),a},delete:function(e,t){let r={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},emphasis:function(e,t){let r={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},footnoteReference:function(e,t){let r,n="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",i=String(t.identifier).toUpperCase(),a=lu(i.toLowerCase()),o=e.footnoteOrder.indexOf(i),s=e.footnoteCounts.get(i);void 0===s?(s=0,e.footnoteOrder.push(i),r=e.footnoteOrder.length):r=o+1,s+=1,e.footnoteCounts.set(i,s);let l={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+a,id:n+"fnref-"+a+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(r)}]};e.patch(t,l);let c={type:"element",tagName:"sup",properties:{},children:[l]};return e.patch(t,c),e.applyData(t,c)},heading:function(e,t){let r={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},html:function(e,t){if(e.options.allowDangerousHtml){let r={type:"raw",value:t.value};return e.patch(t,r),e.applyData(t,r)}},imageReference:function(e,t){let r=String(t.identifier).toUpperCase(),n=e.definitionById.get(r);if(!n)return lP(e,t);let i={src:lu(n.url||""),alt:t.alt};null!==n.title&&void 0!==n.title&&(i.title=n.title);let a={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,a),e.applyData(t,a)},image:function(e,t){let r={src:lu(t.url)};null!==t.alt&&void 0!==t.alt&&(r.alt=t.alt),null!==t.title&&void 0!==t.title&&(r.title=t.title);let n={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,n),e.applyData(t,n)},inlineCode:function(e,t){let r={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,r);let n={type:"element",tagName:"code",properties:{},children:[r]};return e.patch(t,n),e.applyData(t,n)},linkReference:function(e,t){let r=String(t.identifier).toUpperCase(),n=e.definitionById.get(r);if(!n)return lP(e,t);let i={href:lu(n.url||"")};null!==n.title&&void 0!==n.title&&(i.title=n.title);let a={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)},link:function(e,t){let r={href:lu(t.url)};null!==t.title&&void 0!==t.title&&(r.title=t.title);let n={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},listItem:function(e,t,r){let n=e.all(t),i=r?lO(r):lI(t),a={},o=[];if("boolean"==typeof t.checked){let e,r=n[0];r&&"element"===r.type&&"p"===r.tagName?e=r:(e={type:"element",tagName:"p",properties:{},children:[]},n.unshift(e)),e.children.length>0&&e.children.unshift({type:"text",value:" "}),e.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),a.className=["task-list-item"]}let s=-1;for(;++s<n.length;){let e=n[s];(i||0!==s||"element"!==e.type||"p"!==e.tagName)&&o.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||i?o.push(e):o.push(...e.children)}let l=n[n.length-1];l&&(i||"element"!==l.type||"p"!==l.tagName)&&o.push({type:"text",value:"\n"});let c={type:"element",tagName:"li",properties:a,children:o};return e.patch(t,c),e.applyData(t,c)},list:function(e,t){let r={},n=e.all(t),i=-1;for("number"==typeof t.start&&1!==t.start&&(r.start=t.start);++i<n.length;){let e=n[i];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){r.className=["contains-task-list"];break}}let a={type:"element",tagName:t.ordered?"ol":"ul",properties:r,children:e.wrap(n,!0)};return e.patch(t,a),e.applyData(t,a)},paragraph:function(e,t){let r={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},root:function(e,t){let r={type:"root",children:e.wrap(e.all(t))};return e.patch(t,r),e.applyData(t,r)},strong:function(e,t){let r={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},table:function(e,t){let r=e.all(t),n=r.shift(),i=[];if(n){let r={type:"element",tagName:"thead",properties:{},children:e.wrap([n],!0)};e.patch(t.children[0],r),i.push(r)}if(r.length>0){let n={type:"element",tagName:"tbody",properties:{},children:e.wrap(r,!0)},a=tl(t.children[1]),o=ts(t.children[t.children.length-1]);a&&o&&(n.position={start:a,end:o}),i.push(n)}let a={type:"element",tagName:"table",properties:{}
129,children:e.wrap(i,!0)};return e.patch(t,a),e.applyData(t,a)},tableCell:function(e,t){let r={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},tableRow:function(e,t,r){let n=r?r.children:void 0,i=0===(n?n.indexOf(t):1)?"th":"td",a=r&&"table"===r.type?r.align:void 0,o=a?a.length:t.children.length,s=-1,l=[];for(;++s<o;){let r=t.children[s],n={},o=a?a[s]:void 0;o&&(n.align=o);let c={type:"element",tagName:i,properties:n,children:[]};r&&(c.children=e.all(r),e.patch(r,c),c=e.applyData(r,c)),l.push(c)}let c={type:"element",tagName:"tr",properties:{},children:e.wrap(l,!0)};return e.patch(t,c),e.applyData(t,c)},text:function(e,t){let r={type:"text",value:lN(String(t.value))};return e.patch(t,r),e.applyData(t,r)},thematicBreak:function(e,t){let r={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,r),e.applyData(t,r)},toml:lD,yaml:lD,definition:lD,footnoteDefinition:lD};function lD(){}let lF={}.hasOwnProperty,lV={};function lB(e,t){let r=t||lV,n=new Map,i=new Map,a={all:s,applyData:l$,definitionById:n,footnoteById:i,footnoteCounts:new Map,footnoteOrder:[],handlers:{...lj,...r.handlers},one:o,options:r,patch:lz,wrap:lq};return lT(e,function(e){if("definition"===e.type||"footnoteDefinition"===e.type){let t="definition"===e.type?n:i,r=String(e.identifier).toUpperCase();t.has(r)||t.set(r,e)}}),a;function o(e,t){let r=e.type,n=a.handlers[r];if(lF.call(a.handlers,r)&&n)return n(a,e,t);if(a.options.passThrough&&a.options.passThrough.includes(r)){if("children"in e){let{children:t,...r}=e,n=lc(r);return n.children=a.all(e),n}return lc(e)}return(a.options.unknownHandler||lU)(a,e,t)}function s(e){let t=[];if("children"in e){let r=e.children,n=-1;for(;++n<r.length;){let i=a.one(r[n],e);if(i){if(n&&"break"===r[n-1].type&&(Array.isArray(i)||"text"!==i.type||(i.value=lH(i.value)),!Array.isArray(i)&&"element"===i.type)){let e=i.children[0];e&&"text"===e.type&&(e.value=lH(e.value))}Array.isArray(i)?t.push(...i):t.push(i)}}}return t}}function lz(e,t){e.position&&(t.position=tu(e))}function l$(e,t){let r=t;if(e&&e.data){let t=e.data.hName,n=e.data.hChildren,i=e.data.hProperties;"string"==typeof t&&("element"===r.type?r.tagName=t:r={type:"element",tagName:t,properties:{},children:"children"in r?r.children:[r]}),"element"===r.type&&i&&Object.assign(r.properties,lc(i)),"children"in r&&r.children&&null!=n&&(r.children=n)}return r}function lU(e,t){let r=t.data||{},n="value"in t&&!(lF.call(r,"hProperties")||lF.call(r,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function lq(e,t){let r=[],n=-1;for(t&&r.push({type:"text",value:"\n"});++n<e.length;)n&&r.push({type:"text",value:"\n"}),r.push(e[n]);return t&&e.length>0&&r.push({type:"text",value:"\n"}),r}function lH(e){let t=0,r=e.charCodeAt(t);for(;9===r||32===r;)t++,r=e.charCodeAt(t);return e.slice(t)}function lY(e,t){let r=lB(e,t),n=r.one(e,void 0),i=lh(r),a=Array.isArray(n)?{type:"root",children:n}:n||{type:"root",children:[]};return i&&a.children.push({type:"text",value:"\n"},i),a}function lW(e,t){return e&&"run"in e?async function(r,n){let i=lY(r,{file:n,...t});await e.run(i,n)}:function(r,n){return lY(r,{file:n,...e||t})}}function lG(e){if(e)throw e}var lK=r(28392);function lJ(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function lX(){let e=[],t={run:r,use:n};return t;function r(...t){let n=-1,i=t.pop();if("function"!=typeof i)throw TypeError("Expected function as last argument, not "+i);function a(r,...o){let s=e[++n],l=-1;if(r)return void i(r);for(;++l<t.length;)(null===o[l]||void 0===o[l])&&(o[l]=t[l]);t=o,s?lQ(s,a)(...o):i(null,...o)}a(null,...t)}function n(r){if("function"!=typeof r)throw TypeError("Expected `middelware` to be a function, not "+r);return e.push(r),t}}function lQ(e,t){let r;return n;function n(...t){let o,s=e.length>t.length;s&&t.push(i);try{o=e.apply(this,t)}catch(t){let e=t;if(s&&r)throw e;return i(e)}s||(o&&o.then&&"function"==typeof o.then?o.then(a,i):o instanceof Error?i(o):a(o)
129)}function i(e,...n){r||(r=!0,t(e,...n))}function a(e){i(null,e)}}let lZ=function(e){let t=this,r=t.constructor.prototype,n=r[e],i=function(){return n.apply(i,arguments)};return Object.setPrototypeOf(i,r),i},l0={}.hasOwnProperty;class l1 extends lZ{constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=lX()}copy(){let e=new l1,t=-1;for(;++t<this.attachers.length;){let r=this.attachers[t];e.use(...r)}return e.data(lK(!0,{},this.namespace)),e}data(e,t){return"string"==typeof e?2==arguments.length?(l4("data",this.frozen),this.namespace[e]=t,this):l0.call(this.namespace,e)&&this.namespace[e]||void 0:e?(l4("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;let e=this;for(;++this.freezeIndex<this.attachers.length;){let[t,...r]=this.attachers[this.freezeIndex];if(!1===r[0])continue;!0===r[0]&&(r[0]=void 0);let n=t.call(e,...r);"function"==typeof n&&this.transformers.use(n)}return this.frozen=!0,this.freezeIndex=1/0,this}parse(e){this.freeze();let t=l8(e),r=this.parser||this.Parser;return l5("parse",r),r(String(t),t)}process(e,t){let r=this;return this.freeze(),l5("process",this.parser||this.Parser),l3("process",this.compiler||this.Compiler),t?n(void 0,t):new Promise(n);function n(n,i){let a=l8(e),o=r.parse(a);function s(e,r){e||!r?i(e):n?n(r):t(void 0,r)}r.run(o,a,function(e,t,n){if(e||!t||!n)return s(e);let i=t,a=r.stringify(i,n);ce(a)?n.value=a:n.result=a,s(e,n)})}}processSync(e){let t,r=!1;return this.freeze(),l5("processSync",this.parser||this.Parser),l3("processSync",this.compiler||this.Compiler),this.process(e,n),l9("processSync","process",r),t;function n(e,n){r=!0,lG(e),t=n}}run(e,t,r){l6(e),this.freeze();let n=this.transformers;return r||"function"!=typeof t||(r=t,t=void 0),r?i(void 0,r):new Promise(i);function i(i,a){let o=l8(t);function s(t,n,o){let s=n||e;t?a(t):i?i(s):r(void 0,s,o)}n.run(e,o,s)}}runSync(e,t){let r,n=!1;return this.run(e,t,i),l9("runSync","run",n),r;function i(e,t){lG(e),r=t,n=!0}}stringify(e,t){this.freeze();let r=l8(t),n=this.compiler||this.Compiler;return l3("stringify",n),l6(e),n(e,r)}use(e,...t){let r=this.attachers,n=this.namespace;if(l4("use",this.frozen),null==e);else if("function"==typeof e)s(e,t);else if("object"==typeof e)Array.isArray(e)?o(e):a(e);else throw TypeError("Expected usable value, not `"+e+"`");return this;function i(e){if("function"==typeof e)s(e,[]);else if("object"==typeof e)if(Array.isArray(e)){let[t,...r]=e;s(t,r)}else a(e);else throw TypeError("Expected usable value, not `"+e+"`")}function a(e){if(!("plugins"in e)&&!("settings"in e))throw Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");o(e.plugins),e.settings&&(n.settings=lK(!0,n.settings,e.settings))}function o(e){let t=-1;if(null==e);else if(Array.isArray(e))for(;++t<e.length;)i(e[t]);else throw TypeError("Expected a list of plugins, not `"+e+"`")}function s(e,t){let n=-1,i=-1;for(;++n<r.length;)if(r[n][0]===e){i=n;break}if(-1===i)r.push([e,...t]);else if(t.length>0){let[n,...a]=t,o=r[i][1];lJ(o)&&lJ(n)&&(n=lK(!0,o,n)),r[i]=[e,n,...a]}}}}let l2=new l1().freeze();function l5(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `parser`")}function l3(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `compiler`")}function l4(e,t){if(t)throw Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function l6(e){if(!lJ(e)||"string"!=typeof e.type)throw TypeError("Expected node, got `"+e+"`")}function l9(e,t,r){if(!r)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function l8(e){return l7(e)?e:new L(e)}function l7(e){return!!(e&&"object"==typeof e&&"message"in e&&"messages"in e)}function ce(e){return"string"==typeof e||ct(e)}function ct(e){return!!(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}function cr(e,t){let r=["start","end","loc","range"],n=-1;for(;++n<r.length;){let i=r[n];i in e&&(t[i]=e[i])}}function cn(e,t){let r,n=-1,i=[],a=[];for(;++n<e.length;){let t=e[n];"ImportNamespaceSpecifier"===t.type?r=t:a.push(t)}if(r){let e={type:"VariableDeclarator",id:r.local,init:t};cr(r,e),i.push(e)}return i.push({type:"VariableDeclarator",id:{type:"ObjectPattern",properties:a.map(function(e){let t="ImportSpecifier"===e.type?e.imported:"ExportSpecifier"===e.type?e.exported:{type:"Identifier",name:"default"},r=e.local;"ExportSpecifier"===e.type&&(r=t,t=e.local),r.type;let n={type:"Property",kind:"init",shorthand:"Identifier"===t.type&&"Identifier"===r.type&&t.name===r.name,method:!1,computed:!1,key:t,value:r};return cr(e,n),n})},init:r?{type:"Identifier",name:r.local.name}:t}),i}function ci(e){let t,r=-1;for(;++r<e.length;){let n=e[r],i="string"==typeof n&&K(n)?{type:"Identifier",name:n}:{type:"Literal",value:n};t=t?{type:"MemberExpression",object:t,property:i,computed:"Literal"===i.type,optional:!1}:i}return t.type,t}function ca(e){let t,r=-1;for(;++r<e.length;){let n=e[r];"string"==typeof n&&K(n,{jsx:!0});let i={type:"JSXIdentifier",name:n};t=t?{type:"JSXMemberExpression",object:t,property:i}:i}return t}function co(e){let{outputFormat:t}=e||{};return function(e){if(e.comments&&(e.comments=e.comments.filter(function(e){return!e.data?._mdxIsPragmaComment})),"function-body"===t){let t=0;for(;t<e.body.length;){let r=e.body[t];if("directive"in r&&r.directive)t++;else break}let r=e.body[t];r&&"ImportDeclaration"===r.type&&"string"==typeof r.source.value&&/\/jsx-(dev-)?runtime$/.test(r.source.value)&&(e.body[t]={type:"VariableDeclaration",kind:"const",declarations:cn(r.specifiers,ci(["arguments",0]))})}}}function cs(){let e=[{block:!1,defined:[]}];return{enter:t,exit:r,scopes:e};function t(t){if("ArrowFunctionExpression"===t.type)for(let r of(e.push({block:!1,defined:[]}),t.params))i(r,!1);else if("BlockStatement"===t.type||"DoWhileStatement"===t.type||"ForInStatement"===t.type||"ForOfStatement"===t.type||"ForStatement"===t.type||"WhileStatement"===t.type)e.push({block:!0,defined:[]});else if("CatchClause"===t.type)e.push({block:!0,defined:[]}),t.param&&i(t.param,!0);else if("ClassDeclaration"===t.type)n(t.id.name,!1);else if("FunctionDeclaration"===t.type)for(let r of(n(t.id.name,!1),e.push({block:!1,defined:[]}),t.params))i(r,!1);else if("FunctionExpression"===t.type)for(let r of(t.id&&n(t.id.name,!1),e.push({block:!1,defined:[]}),t.params))i(r,!1);else if("ImportDeclaration"===t.type)for(let e of t.specifiers)n(e.local.name,!1);
129else if("VariableDeclaration"===t.type)for(let e of t.declarations)i(e.id,"var"!==t.kind)}function r(t){"ArrowFunctionExpression"===t.type||"FunctionDeclaration"===t.type||"FunctionExpression"===t.type?e.pop().block:("BlockStatement"===t.type||"CatchClause"===t.type||"DoWhileStatement"===t.type||"ForInStatement"===t.type||"ForOfStatement"===t.type||"ForStatement"===t.type||"WhileStatement"===t.type)&&e.pop().block}function n(t,r){let n,i=e.length;for(;i--&&(n=e[i],!r&&n.block););n.defined.push(t)}function i(e,t){if("ArrayPattern"===e.type)for(let r of e.elements)r&&i(r,t);else if("AssignmentPattern"===e.type)i(e.left,t);else if("Identifier"===e.type)n(e.name,t);else if("ObjectPattern"===e.type)for(let r of e.properties)"Property"===r.type?i(r.value,t):(r.type,i(r,t));else e.type,i(e.argument,t)}}class cl{constructor(){this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.context={skip:()=>this.should_skip=!0,remove:()=>this.should_remove=!0,replace:e=>this.replacement=e}}replace(e,t,r,n){e&&t&&(null!=r?e[t][r]=n:e[t]=n)}remove(e,t,r){e&&t&&(null!=r?e[t].splice(r,1):delete e[t])}}class cc extends cl{constructor(e,t){super(),this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.context={skip:()=>this.should_skip=!0,remove:()=>this.should_remove=!0,replace:e=>this.replacement=e},this.enter=e,this.leave=t}visit(e,t,r,n){if(e){let i;if(this.enter){let i=this.should_skip,a=this.should_remove,o=this.replacement;this.should_skip=!1,this.should_remove=!1,this.replacement=null,this.enter.call(this.context,e,t,r,n),this.replacement&&(e=this.replacement,this.replace(t,r,n,e)),this.should_remove&&this.remove(t,r,n);let s=this.should_skip,l=this.should_remove;if(this.should_skip=i,this.should_remove=a,this.replacement=o,s)return e;if(l)return null}for(i in e){let t=e[i];if(t&&"object"==typeof t)if(Array.isArray(t)){let r=t;for(let t=0;t<r.length;t+=1){let n=r[t];cu(n)&&!this.visit(n,e,i,t)&&t--}}else cu(t)&&this.visit(t,e,i,null)}if(this.leave){let i=this.replacement,a=this.should_remove;this.replacement=null,this.should_remove=!1,this.leave.call(this.context,e,t,r,n),this.replacement&&(e=this.replacement,this.replace(t,r,n,e)),this.should_remove&&this.remove(t,r,n);let o=this.should_remove;if(this.replacement=i,this.should_remove=a,o)return null}}return e}}function cu(e){return null!==e&&"object"==typeof e&&"type"in e&&"string"==typeof e.type}function cd(e,{enter:t,leave:r}){return new cc(t,r).visit(e,null)}function cp(e){return"FunctionDeclaration"===e.type?{...e,type:"FunctionExpression"}:(e.type,{...e,type:"ClassExpression"})}function ch(e){return"FunctionDeclaration"===e.type||"ClassDeclaration"===e.type||"VariableDeclaration"===e.type}function cf(e){let t=e.baseUrl||void 0,r="object"==typeof t?t.href:t,n=e.outputFormat||"program",i=void 0===e.pragma?"React.createElement":e.pragma,a=void 0===e.pragmaFrag?"React.Fragment":e.pragmaFrag,o=e.pragmaImportSource||"react",s=e.jsxImportSource||"react",l=e.jsxRuntime||"automatic";return function(e,t){let u,d,p,h=[],m=[],g=0;if("classic"===l&&a&&cm(e,"@jsxFrag",a),"classic"===l&&i&&cm(e,"@jsx",i),"automatic"===l&&s&&cm(e,"@jsxImportSource",s),l&&cm(e,"@jsxRuntime",l),"classic"===l&&o){if(!i)throw Error("Missing `pragma` in classic runtime with `pragmaImportSource`");w({type:"ImportDeclaration",specifiers:[{type:"ImportDefaultSpecifier",local:{type:"Identifier",name:i.split(".")[0]}}],attributes:[],source:{type:"Literal",value:o}})}for(p of e.body)if("ExportDefaultDeclaration"===p.type)u&&t.fail("Unexpected duplicate layout, expected a single layout (previous: "+f(ap(u))+")",{ancestors:[e,p],place:ap(p),ruleId:"duplicate-layout",source:"recma-document"}),u=p,m.push({type:"VariableDeclaration",kind:"const",declarations:[{type:"VariableDeclarator",id:{type:"Identifier",name:"MDXLayout"},init:ch(p.declaration)?cp(p.declaration):p.declaration}]});else if("ExportNamedDeclaration"===p.type&&p.source){let r=p.source;p.specifiers=p.specifiers.filter(function(n){if("Identifier"===n.exported.type&&"default"===n.exported.name){u&&t.fail("Unexpected duplicate layout, expected a single layout (previous: "+f(ap(u))+")",{ancestors:[e,p,n],place:ap(p),ruleId:"duplicate-layout",source:"recma-document"}),u=n;let i=[];if("Identifier"===n.local.type&&"default"===n.local.name)i.push({type:"ImportDefaultSpecifier",local:{type:"Identifier",name:"MDXLayout"}});else{let e={type:"ImportSpecifier",imported:n.local,local:{type:"Identifier",name:"MDXLayout"}};cr(n.local,e),i.push(e)}let a={type:"Literal",value:r.value};cr(r,a);let o={type:"ImportDeclaration",specifiers:i,attributes:[],source:a};return cr(n,o),w(o),!1}return!0}),p.specifiers.length>0&&b(p)}else"ExportNamedDeclaration"===p.type||"ExportAllDeclaration"===p.type?b(p):"ImportDeclaration"===p.type?w(p):"E
129xpressionStatement"===p.type&&("JSXElement"===p.expression.type||"JSXFragment"===p.expression.type)?(d=!0,m.push(...c(p.expression,n,!!u))):m.push(p);d||m.push(...c(void 0,n,!!u)),h.push(["MDXContent","default"]),"function-body"===n&&m.push({type:"ReturnStatement",argument:{type:"ObjectExpression",properties:[...Array.from({length:g}).map(function(e,t){return{type:"SpreadElement",argument:{type:"Identifier",name:"_exportAll"+(t+1)}}}),...h.map(function(e){return{type:"Property",kind:"init",method:!1,computed:!1,shorthand:"string"==typeof e,key:{type:"Identifier",name:"string"==typeof e?e:e[1]},value:{type:"Identifier",name:"string"==typeof e?e:e[0]}}})]}}),e.body=m;let y=!1,v=!1;function b(e){if("ExportNamedDeclaration"===e.type){if(e.declaration){let t=cs();cd(e,{enter(e){t.enter(e),("ArrowFunctionExpression"===e.type||"FunctionDeclaration"===e.type||"FunctionExpression"===e.type)&&(this.skip(),t.exit(e))},leave:t.exit}),h.push(...t.scopes[0].defined)}for(p of e.specifiers)"Identifier"===p.exported.type?h.push(p.exported.name):(p.exported.value,h.push(p.exported.value))}w(e)}function w(e){let t,r;if("function-body"===n)if("ImportDeclaration"===e.type||"ExportAllDeclaration"===e.type||"ExportNamedDeclaration"===e.type&&e.source){e.source;let n={type:"ImportExpression",source:e.source};cr(e,n),r={type:"AwaitExpression",argument:n},t=("ImportDeclaration"===e.type||"ExportNamedDeclaration"===e.type)&&0===e.specifiers.length?{type:"ExpressionStatement",expression:r}:{type:"VariableDeclaration",kind:"const",declarations:"ExportAllDeclaration"===e.type?[{type:"VariableDeclarator",id:{type:"Identifier",name:"_exportAll"+ ++g},init:r}]:cn(e.specifiers,r)}}else if(e.declaration)t=e.declaration;else{let r=[];for(let t of e.specifiers)"Identifier"===t.exported.type&&"Identifier"===t.local.type&&t.local.name!==t.exported.name&&r.push({type:"VariableDeclarator",id:t.exported,init:t.local});r.length>0&&(t={type:"VariableDeclaration",kind:"const",declarations:r})}else t=e;t&&m.push(t)}(r||"function-body"===n)&&cd(e,{enter(e){if(("ExportAllDeclaration"===e.type||"ExportNamedDeclaration"===e.type||"ImportDeclaration"===e.type)&&e.source){let t=e.source.value;try{new URL(t)}catch{(t.startsWith("/")||t.startsWith("./")||t.startsWith("../"))&&(t=new URL(t,r).href)}let n={type:"Literal",value:t};cr(e.source,n),e.source=n;return}if("ImportExpression"===e.type){v=!0;let t={type:"CallExpression",callee:{type:"Identifier",name:"_resolveDynamicMdxSpecifier"},arguments:[e.source],optional:!1};e.source=t;return}if("MemberExpression"===e.type&&"object"in e&&"MetaProperty"===e.object.type&&"Identifier"===e.property.type&&"import"===e.object.meta.name&&"meta"===e.object.property.name&&"url"===e.property.name){y=!0;let t={type:"Identifier",name:"_importMetaUrl"};cr(e,t),this.replace(t)}}}),v&&(r||(y=!0),e.body.push(cg(r?{type:"Literal",value:r}:{type:"Identifier",name:"_importMetaUrl"}))),y&&e.body.unshift(...cy())};function c(e,t,r){let n={type:"JSXElement",openingElement:{type:"JSXOpeningElement",name:{type:"JSXIdentifier",name:"MDXLayout"},attributes:[{type:"JSXSpreadAttribute",argument:{type:"Identifier",name:"props"}}],selfClosing:!1},closingElement:{type:"JSXClosingElement",name:{type:"JSXIdentifier",name:"MDXLayout"}},children:[{type:"JSXElement",openingElement:{type:"JSXOpeningElement",name:{type:"JSXIdentifier",name:"_createMdxContent"},attributes:[{type:"JSXSpreadAttribute",argument:{type:"Identifier",name:"props"}}],selfClosing:!0},closingElement:null,children:[]}]};r||(n={type:"ConditionalExpression",test:{type:"Identifier",name:"MDXLayout"},consequent:n,alternate:{type:"CallExpression",callee:{type:"Identifier",name:"_createMdxContent"},arguments:[{type:"Identifier",name:"props"}],optional:!1}});let i=e||{type:"Identifier",name:"undefined"};"JSXFragment"===i.type&&1===i.children.length&&"JSXElement"===i.children[0].type&&(i=i.children[0]);let a=!1;cd(i,{enter(e){if("ArrowFunctionExpression"===e.type||"FunctionDeclaration"===e.type||"FunctionExpression"===e.type)return this.skip();("AwaitExpression"===e.type||"ForOfStatement"===e.type&&e.await)&&(a=!0)}});let o={type:"FunctionDeclaration",id:{type:"Identifier",name:"MDXContent"},params:[{type:"AssignmentPattern",left:{type:"Identifier",name:"props"}
129,right:{type:"ObjectExpression",properties:[]}}],body:{type:"BlockStatement",body:[{type:"ReturnStatement",argument:n}]}};return[{type:"FunctionDeclaration",async:a,id:{type:"Identifier",name:"_createMdxContent"},params:[{type:"Identifier",name:"props"}],body:{type:"BlockStatement",body:[{type:"ReturnStatement",argument:i}]}},"program"===t?{type:"ExportDefaultDeclaration",declaration:o}:o]}}function cm(e,t,r){e.comments?.unshift({type:"Block",value:t+" "+r,data:{_mdxIsPragmaComment:!0}})}function cg(e){return{type:"FunctionDeclaration",id:{type:"Identifier",name:"_resolveDynamicMdxSpecifier"},generator:!1,async:!1,params:[{type:"Identifier",name:"d"}],body:{type:"BlockStatement",body:[{type:"IfStatement",test:{type:"BinaryExpression",left:{type:"UnaryExpression",operator:"typeof",prefix:!0,argument:{type:"Identifier",name:"d"}},operator:"!==",right:{type:"Literal",value:"string"}},consequent:{type:"ReturnStatement",argument:{type:"Identifier",name:"d"}},alternate:null},{type:"TryStatement",block:{type:"BlockStatement",body:[{type:"ExpressionStatement",expression:{type:"NewExpression",callee:{type:"Identifier",name:"URL"},arguments:[{type:"Identifier",name:"d"}]}},{type:"ReturnStatement",argument:{type:"Identifier",name:"d"}}]},handler:{type:"CatchClause",param:null,body:{type:"BlockStatement",body:[]}},finalizer:null},{type:"IfStatement",test:{type:"LogicalExpression",left:{type:"LogicalExpression",left:{type:"CallExpression",callee:ci(["d","startsWith"]),arguments:[{type:"Literal",value:"/"}],optional:!1},operator:"||",right:{type:"CallExpression",callee:ci(["d","startsWith"]),arguments:[{type:"Literal",value:"./"}],optional:!1}},operator:"||",right:{type:"CallExpression",callee:ci(["d","startsWith"]),arguments:[{type:"Literal",value:"../"}],optional:!1}},consequent:{type:"ReturnStatement",argument:{type:"MemberExpression",object:{type:"NewExpression",callee:{type:"Identifier",name:"URL"},arguments:[{type:"Identifier",name:"d"},e]},property:{type:"Identifier",name:"href"},computed:!1,optional:!1}},alternate:null},{type:"ReturnStatement",argument:{type:"Identifier",name:"d"}}]}}}function cy(){return[{type:"VariableDeclaration",declarations:[{type:"VariableDeclarator",id:{type:"Identifier",name:"_importMetaUrl"},init:ci(["arguments",0,"baseUrl"])}],kind:"const"},{type:"IfStatement",test:{type:"UnaryExpression",operator:"!",prefix:!0,argument:{type:"Identifier",name:"_importMetaUrl"}},consequent:{type:"ThrowStatement",argument:{type:"NewExpression",callee:{type:"Identifier",name:"Error"},arguments:[{type:"Literal",value:"Unexpected missing `options.baseUrl` needed to support `export ⦠from`, `import`, or `import.meta.url` when generating `function-body`"}]}},alternate:null}]}function cv(e){let t,r=-1;for(;++r<e.length;){let n=e[r];t=t?{type:"BinaryExpression",left:t,operator:"+",right:n}:n}return t}function cb(e){let{development:t,outputFormat:r,providerImportSource:n}=e;return function(e,i){let a=cs(),o=[],s=!1,l=!1;if(cd(e,{enter(e){a.enter(e),("FunctionDeclaration"===e.type||"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type)&&(o.push({components:[],idToInvalidComponentName:new Map,node:e,objects:[],references:{},tags:[]}),cx(e,"MDXContent")&&!ck(a.scopes,"MDXLayout")&&o[0].components.push("MDXLayout"));let t=o[0];if(t&&(cx(t.node,"_createMdxContent")||n)&&"JSXElement"===e.type){let r=e.openingElement.name;if("JSXMemberExpression"===r.type){let n=[];for(;"JSXMemberExpression"===r.type;)n.unshift(r.property.name),r=r.object;n.unshift(r.name);let i=n.join("."),s=r.name,l=ck(a.scopes,s);!Object.hasOwn(t.references,i)&&(!l||1===o.length&&"FunctionDeclaration"===o[0].node.type&&cx(o[0].node,"_createMdxContent"))&&(t.references[i]={component:!0,node:e}),t.objects.includes(s)||l||t.objects.push(s)}else if("JSXNamespacedName"===r.type);else if(K(r.name)&&!/^[a-z]/.test(r.name)){let n=r.name;!ck(a.scopes,n)&&("MDXLayout"===n||Object.hasOwn(t.references,n)||(t.references[n]={component:!0,node:e}),t.components.includes(n)||t.components.push(n))}else if(e.data&&e.data._mdxExplicitJsx);else{let n=r.name;t.tags.includes(n)||t.tags.push(n);let i=["_components",n];if(!1===K(n)){let e=t.idToInvalidComponentName.get(n);void 0===e&&(e=`_component${t.idToInvalidComponentName.size}`,t.idToInvalidComponentName.set(n,e)),i=[e]}e.openingElement.name=ca(i),e.closingElement&&(e.closingElement.name=ca(i))}}},leave(e){a.exit(e);let r=[],i=[],c=[],u=[];
129if("FunctionDeclaration"===e.type||"FunctionExpression"===e.type||"ArrowFunctionExpression"===e.type){let a,d,p=o[o.length-1];for(a of p.tags.sort())r.push({type:"Property",kind:"init",key:K(a)?{type:"Identifier",name:a}:{type:"Literal",value:a},value:{type:"Literal",value:a},method:!1,shorthand:!1,computed:!1});for(a of(i.push(...p.components),p.objects))i.includes(a)||i.push(a);i.sort();let h=[];if(r.length>0||i.length>0||p.idToInvalidComponentName.size>0){let e;if(n&&(s=!0,c.push({type:"CallExpression",callee:{type:"Identifier",name:"_provideComponents"},arguments:[],optional:!1})),(cx(p.node,"MDXContent")||cx(p.node,"_createMdxContent"))&&c.push(ci(["props","components"])),r.length>0||c.length>1)for(let e of c)r.push({type:"SpreadElement",argument:e});let t=r.length>0?{type:"ObjectExpression",properties:r}:{type:"LogicalExpression",operator:"||",left:c[0],right:{type:"ObjectExpression",properties:[]}};if(i.length>0&&(e={type:"ObjectPattern",properties:i.map(function(e){return{type:"Property",kind:"init",key:{type:"Identifier",name:"MDXLayout"===e?"wrapper":e},value:{type:"Identifier",name:e},method:!1,shorthand:"MDXLayout"!==e,computed:!1}})}),p.tags.length>0&&(u.push({type:"VariableDeclarator",id:{type:"Identifier",name:"_components"},init:t}),t={type:"Identifier",name:"_components"}),cx(p.node,"_createMdxContent"))for(let[e,t]of[...p.idToInvalidComponentName].sort(function([e],[t]){return e.localeCompare(t)}))u.push({type:"VariableDeclarator",id:{type:"Identifier",name:t},init:{type:"MemberExpression",object:{type:"Identifier",name:"_components"},property:{type:"Literal",value:e},computed:!0,optional:!1}});e&&u.push({type:"VariableDeclarator",id:e,init:t}),u.length>0&&h.push({type:"VariableDeclaration",kind:"const",declarations:u})}for(d in p.references)if(Object.hasOwn(p.references,d)){let e=d.split("."),t=0;for(;++t<e.length;){let r=e.slice(0,t).join(".");Object.hasOwn(p.references,r)||(p.references[r]={component:!1,node:p.references[d].node})}}let m=Object.keys(p.references).sort(),g=-1;for(;++g<m.length;){let e=m[g],r=p.references[e],n=f(ap(r.node)),i=[{type:"Literal",value:e},{type:"Literal",value:r.component}];l=!0,t&&n&&i.push({type:"Literal",value:n}),h.push({type:"IfStatement",test:{type:"UnaryExpression",operator:"!",prefix:!0,argument:ci(e.split("."))},consequent:{type:"ExpressionStatement",expression:{type:"CallExpression",callee:{type:"Identifier",name:"_missingMdxReference"},arguments:i,optional:!1}},alternate:void 0})}h.length>0&&("BlockStatement"!==e.body.type&&(e.body={type:"BlockStatement",body:[{type:"ReturnStatement",argument:e.body}]}),e.body.body.unshift(...h)),o.pop()}}}),s&&n&&e.body.unshift(cw(n,r)),l){let r=[{type:"Literal",value:"Expected "},{type:"ConditionalExpression",test:{type:"Identifier",name:"component"},consequent:{type:"Literal",value:"component"},alternate:{type:"Literal",value:"object"}},{type:"Literal",value:" `"},{type:"Identifier",name:"id"},{type:"Literal",value:"` to be defined: you likely forgot to import, pass, or provide it."}],n=[{type:"Identifier",name:"id"},{type:"Identifier",name:"component"}];t&&(r.push({type:"ConditionalExpression",test:{type:"Identifier",name:"place"},consequent:cv([{type:"Literal",value:"\nItâs referenced in your code at `"},{type:"Identifier",name:"place"},{type:"Literal",value:(i.path?"` in `"+i.path:"")+"`"}]),alternate:{type:"Literal",value:""}}),n.push({type:"Identifier",name:"place"})),e.body.push({type:"FunctionDeclaration",id:{type:"Identifier",name:"_missingMdxReference"},generator:!1,async:!1,params:n,body:{type:"BlockStatement",body:[{type:"ThrowStatement",argument:{type:"NewExpression",callee:{type:"Identifier",name:"Error"},arguments:[cv(r)]}}]}})}"function-body"===r&&e.body.unshift({type:"ExpressionStatement",expression:{type:"Literal",value:"use strict"},directive:"use strict"})}}function cw(e,t){let r=[{type:"ImportSpecifier",imported:{type:"Identifier",name:"useMDXComponents"},local:{type:"Identifier",name:"_provideComponents"}}];return"function-body"===t?{type:"VariableDeclaration",kind:"const",declarations:cn(r,ci(["arguments",0]))}:{type:"ImportDeclaration",specifiers:r,attributes:[],source:{type:"Literal",value:e}}}
129function cx(e,t){return!!(e&&"id"in e&&e.id&&e.id.name===t)}function ck(e,t){let r=e.length;for(;r--;)if(e[r].defined.includes(t))return!0;return!1}function cA(){return function(e){lT(e,"raw",function(e,t,r){if(r&&"number"==typeof t)return r.children.splice(t,1),t})}}let cC=/\s+/g,cS=/[\t\n\v\f\r ]+/g;function cE(e,t){t?"string"==typeof t&&(t={style:t}):t={};let r=t.preserveLineEndings?c_:cT;return String(e).replace("html"===t.style?cS:cC,t.trim?cP(r):r)}function c_(e){let t=/\r?\n|\r/.exec(e);return t?t[0]:" "}function cT(){return" "}function cP(e){return t;function t(t,r,n){return 0===r||r+t.length===n.length?"":e(t)}}function cO(){return function(e){lT(e,function(e,t,r){let n=-1,i=!0,a=!1;if(r&&"number"==typeof t&&"paragraph"===e.type){let o=e.children;for(;++n<o.length;){let e=o[n];if("mdxJsxTextElement"===e.type||"mdxTextExpression"===e.type)a=!0;else if("text"===e.type&&""===cE(e.value,{style:"html",trim:!0}));else{i=!1;break}}if(i&&a){n=-1;let e=[];for(;++n<o.length;){let t=o[n];"mdxJsxTextElement"===t.type&&(t.type="mdxJsxFlowElement"),"mdxTextExpression"===t.type&&(t.type="mdxFlowExpression"),"text"===t.type&&/^[\t\r\n ]+$/.test(String(t.value))||e.push(t)}return r.children.splice(t,1,...e),t}}("mdxJsxFlowElement"===e.type||"mdxJsxTextElement"===e.type)&&((e.data||(e.data={}))._mdxExplicitJsx=!0),("mdxFlowExpression"===e.type||"mdxTextExpression"===e.type||"mdxjsEsm"===e.type)&&e.data&&e.data.estree&&cd(e.data.estree,{enter(e){"JSXElement"===e.type&&((e.data||(e.data={}))._mdxExplicitJsx=!0)}})})}}let cI=["mdxFlowExpression","mdxJsxFlowElement","mdxJsxTextElement","mdxTextExpression","mdxjsEsm"],cM=["compilers","filepath","hastPlugins","mdPlugins","skipExport","wrapExport"],cL=!1;function cN(e){let t=e||{},r=-1;for(;++r<cM.length;)cM[r];t.format,("classic"===t.jsxRuntime||t.pragma||t.pragmaFrag||t.pragmaImportSource)&&!cL&&(cL=!0,console.warn("Unexpected deprecated option `jsxRuntime: 'classic'`, `pragma`, `pragmaFrag`, or `pragmaImportSource`; see <https://mdxjs.com/migrating/v3/> on how to migrate"));let n=l2().use(sX);"md"!==t.format&&n.use(aW);let i=t.remarkRehypeOptions||{};return n.use(cO).use(t.remarkPlugins||[]).use(lW,{...i,allowDangerousHtml:!0,passThrough:[...i.passThrough||[],...cI]}).use(t.rehypePlugins||[]),"md"===t.format&&n.use(cA),n.use(t2,t).use(cf,t).use(cb,t),t.jsx||n.use(eo,t).use(co,t),n.use(eS).use(eU,t).use(t.recmaPlugins||[]),n}function cR(e,t){let{file:r,options:n}=V(e,t);return cN(n).process(r)}let cj=Symbol.for("yaml.alias"),cD=Symbol.for("yaml.document"),cF=Symbol.for("yaml.map"),cV=Symbol.for("yaml.pair"),cB=Symbol.for("yaml.scalar"),cz=Symbol.for("yaml.seq"),c$=Symbol.for("yaml.node.type"),cU=e=>!!e&&"object"==typeof e&&e[c$]===cj,cq=e=>!!e&&"object"==typeof e&&e[c$]===cD,cH=e=>!!e&&"object"==typeof e&&e[c$]===cF,cY=e=>!!e&&"object"==typeof e&&e[c$]===cV,cW=e=>!!e&&"object"==typeof e&&e[c$]===cB,cG=e=>!!e&&"object"==typeof e&&e[c$]===cz;function cK(e){if(e&&"object"==typeof e)switch(e[c$]){case cF:case cz:return!0}return!1}function cJ(e){if(e&&"object"==typeof e)switch(e[c$]){case cj:case cF:case cB:case cz:return!0}return!1}let cX=e=>(cW(e)||cK(e))&&!!e.anchor,cQ=Symbol("break visit"),cZ=Symbol("skip children"),c0=Symbol("remove node");function c1(e,t){let r=c4(t);cq(e)?c2(null,e.contents,r,Object.freeze([e]))===c0&&(e.contents=null):c2(null,e,r,Object.freeze([]))}function c2(e,t,r,n){let i=c6(e,t,r,n);if(cJ(i)||cY(i))return c9(e,n,i),c2(e,i,r,n);if("symbol"!=typeof i){if(cK(t)){n=Object.freeze(n.concat(t));for(let e=0;e<t.items.length;++e){let i=c2(e,t.items[e],r,n);if("number"==typeof i)e=i-1;else{if(i===cQ)return cQ;i===c0&&(t.items.splice(e,1),e-=1)}}}else if(cY(t)){n=Object.freeze(n.concat(t));let e=c2("key",t.key,r,n);if(e===cQ)return cQ;e===c0&&(t.key=null);let i=c2("value",t.value,r,n);if(i===cQ)return cQ;i===c0&&(t.value=null)}}return i}async function c5(e,t){let r=c4(t);cq(e)?await c3(null,e.contents,r,Object.freeze([e]))===c0&&(e.contents=null):await c3(null,e,r,Object.freeze([]))}async function c3(e,t,r,n){let i=await c6(e,t,r,n);if(cJ(i)||cY(i))return c9(e,n,i),c3(e,i,r,n);if("symbol"!=typeof i){if(cK(t)){n=Object.freeze(n.concat(t));for(let e=0;e<t.items.length;++e){let i=await c3(e,t.items[e],r,n);if("number"==typeof i)e=i-1;else{if(i===cQ)return cQ;i===c0&&(t.items.splice(e,1),e-=1)}}}else if(cY(t)){n=Object.freeze(n.concat(t));let e=await c3("key",t.key,r,n);if(e===cQ)return cQ;e===c0&&(t.key=null);let i=await c3("value",t.value,r,n);if(i===cQ)return cQ;i===c0&&(t.value=null)}}return i}function c4(e){return"object"==typeof e&&(e.Collection||e.Node||e.Value)?Object.assign({Alias:e.Node,Map:e.Node,Scalar:e.Node,Seq:e.Node},e.Value&&{Map:e.Value,Scalar:e.Value,Seq:e.Value},e.Collection&&{Map:e.Collection,Seq:e.Collection},e):e}function c6(e,t,r,n){return"function"==typeof r?r(e,t,n):cH(t)?r.Map?.(e,t,n):cG(t)?r.Seq?.(e,t,n):cY(t)?r.Pair?.(e,t,n):cW(t)?r.Scalar?.(e,t,n):cU(t)?r.Alias?.(e,t,n):void 0}function c9(e,t,r){let n=t[t.length-1];if(cK(n))n.items[e]=r;else if(cY(n))"key"===e?n.key=r:n.value=r;else if(cq(n))n.contents=r;else{let e=cU(n)?"alias":"scalar";throw Error(`Cannot replace node with ${e} parent`)}}c1.BREAK=cQ,c1.SKIP=cZ,c1.REMOVE=c0,c5.BREAK=cQ,c5.SKIP=cZ,c5.REMOVE=c0;
129let c8={"!":"%21",",":"%2C","[":"%5B","]":"%5D","{":"%7B","}":"%7D"},c7=e=>e.replace(/[!,[\]{}]/g,e=>c8[e]);class ue{constructor(e,t){this.docStart=null,this.docEnd=!1,this.yaml=Object.assign({},ue.defaultYaml,e),this.tags=Object.assign({},ue.defaultTags,t)}clone(){let e=new ue(this.yaml,this.tags);return e.docStart=this.docStart,e}atDocument(){let e=new ue(this.yaml,this.tags);switch(this.yaml.version){case"1.1":this.atNextDocument=!0;break;case"1.2":this.atNextDocument=!1,this.yaml={explicit:ue.defaultYaml.explicit,version:"1.2"},this.tags=Object.assign({},ue.defaultTags)}return e}add(e,t){this.atNextDocument&&(this.yaml={explicit:ue.defaultYaml.explicit,version:"1.1"},this.tags=Object.assign({},ue.defaultTags),this.atNextDocument=!1);let r=e.trim().split(/[ \t]+/),n=r.shift();switch(n){case"%TAG":{if(2!==r.length&&(t(0,"%TAG directive should contain exactly two parts"),r.length<2))return!1;let[e,n]=r;return this.tags[e]=n,!0}case"%YAML":{if(this.yaml.explicit=!0,1!==r.length)return t(0,"%YAML directive should contain exactly one part"),!1;let[e]=r;if("1.1"===e||"1.2"===e)return this.yaml.version=e,!0;{let r=/^\d+\.\d+$/.test(e);return t(6,`Unsupported YAML version ${e}`,r),!1}}default:return t(0,`Unknown directive ${n}`,!0),!1}}tagName(e,t){if("!"===e)return"!";if("!"!==e[0])return t(`Not a valid tag: ${e}`),null;if("<"===e[1]){let r=e.slice(2,-1);return"!"===r||"!!"===r?(t(`Verbatim tags aren't resolved, so ${e} is invalid.`),null):(">"!==e[e.length-1]&&t("Verbatim tags must end with a >"),r)}let[,r,n]=e.match(/^(.*!)([^!]*)$/s);n||t(`The ${e} tag has no suffix`);let i=this.tags[r];if(i)try{return i+decodeURIComponent(n)}catch(e){return t(String(e)),null}return"!"===r?e:(t(`Could not resolve tag: ${e}`),null)}tagString(e){for(let[t,r]of Object.entries(this.tags))if(e.startsWith(r))return t+c7(e.substring(r.length));return"!"===e[0]?e:`!<${e}>`}toString(e){let t,r=this.yaml.explicit?[`%YAML ${this.yaml.version||"1.2"}`]:[],n=Object.entries(this.tags);if(e&&n.length>0&&cJ(e.contents)){let r={};c1(e.contents,(e,t)=>{cJ(t)&&t.tag&&(r[t.tag]=!0)}),t=Object.keys(r)}else t=[];for(let[i,a]of n)("!!"!==i||"tag:yaml.org,2002:"!==a)&&(!e||t.some(e=>e.startsWith(a)))&&r.push(`%TAG ${i} ${a}`);return r.join("\n")}}function ut(e){if(/[\x00-\x19\s,[\]{}]/.test(e)){let t=JSON.stringify(e);throw Error(`Anchor must not contain whitespace or control characters: ${t}`)}return!0}function ur(e){let t=new Set;return c1(e,{Value(e,r){r.anchor&&t.add(r.anchor)}}),t}function un(e,t){for(let r=1;;++r){let n=`${e}${r}`;if(!t.has(n))return n}}function ui(e,t){let r=[],n=new Map,i=null;return{onAnchor:n=>{r.push(n),i??(i=ur(e));let a=un(t,i);return i.add(a),a},setAnchors:()=>{for(let e of r){let t=n.get(e);if("object"==typeof t&&t.anchor&&(cW(t.node)||cK(t.node)))t.node.anchor=t.anchor;else{let t=Error("Failed to resolve repeated object (this should not happen)");throw t.source=e,t}}},sourceObjects:n}}function ua(e,t,r,n){if(n&&"object"==typeof n)if(Array.isArray(n))for(let t=0,r=n.length;t<r;++t){let r=n[t],i=ua(e,n,String(t),r);void 0===i?delete n[t]:i!==r&&(n[t]=i)}else if(n instanceof Map)for(let t of Array.from(n.keys())){let r=n.get(t),i=ua(e,n,t,r);void 0===i?n.delete(t):i!==r&&n.set(t,i)}else if(n instanceof Set)for(let t of Array.from(n)){let r=ua(e,n,t,t);void 0===r?n.delete(t):r!==t&&(n.delete(t),n.add(r))}else for(let[t,r]of Object.entries(n)){let i=ua(e,n,t,r);void 0===i?delete n[t]:i!==r&&(n[t]=i)}return e.call(t,r,n)}function uo(e,t,r){if(Array.isArray(e))return e.map((e,t)=>uo(e,String(t),r));if(e&&"function"==typeof e.toJSON){if(!r||!cX(e))return e.toJSON(t,r);let n={aliasCount:0,count:1,res:void 0};r.anchors.set(e,n),r.onCreate=e=>{n.res=e,delete r.onCreate};let i=e.toJSON(t,r);return r.onCreate&&r.onCreate(i),i}return"bigint"!=typeof e||r?.keep?e:Number(e)}ue.defaultYaml={explicit:!1,version:"1.2"},ue.defaultTags={"!!":"tag:yaml.org,2002:"};class us{constructor(e){Object.defineProperty(this,c$,{value:e})}clone(){let e=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return this.range&&(e.range=this.range.slice()),e}toJS(e,{mapAsMap:t,maxAliasCount:r,onAnchor:n,reviver:i}={}){if(!cq(e))throw TypeError("A document argument is required");let a={anchors:new Map,doc:e,keep:!0,mapAsMap:!0===t,mapKeyWarned:!1,maxAliasCount:"number"==typeof r?r:100},o=uo(this,"",a);if("function"==typeof n)for(let{count:e,res:t}
129of a.anchors.values())n(t,e);return"function"==typeof i?ua(i,{"":o},"",o):o}}class ul extends us{constructor(e){super(cj),this.source=e,Object.defineProperty(this,"tag",{set(){throw Error("Alias nodes cannot have tags")}})}resolve(e,t){let r,n;if(t?.maxAliasCount===0)throw ReferenceError("Alias resolution is disabled");for(let i of(t?.aliasResolveCache?r=t.aliasResolveCache:(r=[],c1(e,{Node:(e,t)=>{(cU(t)||cX(t))&&r.push(t)}}),t&&(t.aliasResolveCache=r)),r)){if(i===this)break;i.anchor===this.source&&(n=i)}return n}toJSON(e,t){if(!t)return{source:this.source};let{anchors:r,doc:n,maxAliasCount:i}=t,a=this.resolve(n,t);if(!a)throw ReferenceError(`Unresolved alias (the anchor must be set before the alias): ${this.source}`);let o=r.get(a);if(o||(uo(a,null,t),o=r.get(a)),o?.res===void 0)throw ReferenceError("This should not happen: Alias anchor was not resolved?");if(i>=0&&(o.count+=1,0===o.aliasCount&&(o.aliasCount=uc(n,a,r)),o.count*o.aliasCount>i))throw ReferenceError("Excessive alias count indicates a resource exhaustion attack");return o.res}toString(e,t,r){let n=`*${this.source}`;if(e){if(ut(this.source),e.options.verifyAliasOrder&&!e.anchors.has(this.source))throw Error(`Unresolved alias (the anchor must be set before the alias): ${this.source}`);if(e.implicitKey)return`${n} `}return n}}function uc(e,t,r){if(cU(t)){let n=t.resolve(e),i=r&&n&&r.get(n);return i?i.count*i.aliasCount:0}if(cK(t)){let n=0;for(let i of t.items){let t=uc(e,i,r);t>n&&(n=t)}return n}return cY(t)?Math.max(uc(e,t.key,r),uc(e,t.value,r)):1}let uu=e=>!e||"function"!=typeof e&&"object"!=typeof e;class ud extends us{constructor(e){super(cB),this.value=e}toJSON(e,t){return t?.keep?this.value:uo(this.value,e,t)}toString(){return String(this.value)}}ud.BLOCK_FOLDED="BLOCK_FOLDED",ud.BLOCK_LITERAL="BLOCK_LITERAL",ud.PLAIN="PLAIN",ud.QUOTE_DOUBLE="QUOTE_DOUBLE",ud.QUOTE_SINGLE="QUOTE_SINGLE";let up="tag:yaml.org,2002:";function uh(e,t,r){if(t){let e=r.filter(e=>e.tag===t),n=e.find(e=>!e.format)??e[0];if(!n)throw Error(`Tag ${t} not found`);return n}return r.find(t=>t.identify?.(e)&&!t.format)}function uf(e,t,r){let n;if(cq(e)&&(e=e.contents),cJ(e))return e;if(cY(e)){let t=r.schema[cF].createNode?.(r.schema,null,r);return t.items.push(e),t}(e instanceof String||e instanceof Number||e instanceof Boolean||"undefined"!=typeof BigInt&&e instanceof BigInt)&&(e=e.valueOf());let{aliasDuplicateObjects:i,onAnchor:a,onTagObj:o,schema:s,sourceObjects:l}=r;if(i&&e&&"object"==typeof e){if(n=l.get(e))return n.anchor??(n.anchor=a(e)),new ul(n.anchor);n={anchor:null,node:null},l.set(e,n)}t?.startsWith("!!")&&(t=up+t.slice(2));let c=uh(e,t,s.tags);if(!c){if(e&&"function"==typeof e.toJSON&&(e=e.toJSON()),!e||"object"!=typeof e){let t=new ud(e);return n&&(n.node=t),t}c=e instanceof Map?s[cF]:Symbol.iterator in Object(e)?s[cz]:s[cF]}o&&(o(c),delete r.onTagObj);let u=c?.createNode?c.createNode(r.schema,e,r):"function"==typeof c?.nodeClass?.from?c.nodeClass.from(r.schema,e,r):new ud(e);return t?u.tag=t:c.default||(u.tag=c.tag),n&&(n.node=u),u}function um(e,t,r){let n=r;for(let e=t.length-1;e>=0;--e){let r=t[e];if("number"==typeof r&&Number.isInteger(r)&&r>=0){let e=[];e[r]=n,n=e}else n=new Map([[r,n]])}return uf(n,void 0,{aliasDuplicateObjects:!1,keepUndefined:!1,onAnchor:()=>{throw Error("This should not happen, please report a bug.")},schema:e,sourceObjects:new Map})}let ug=e=>null==e||"object"==typeof e&&!!e[Symbol.iterator]().next().done;class uy extends us{constructor(e,t){super(e),Object.defineProperty(this,"schema",{value:t,configurable:!0,enumerable:!1,writable:!0})}clone(e){let t=Object.create(Object.getPrototypeOf(this),Object.getOwnPropertyDescriptors(this));return e&&(t.schema=e),t.items=t.items.map(t=>cJ(t)||cY(t)?t.clone(e):t),this.range&&(t.range=this.range.slice()),t}addIn(e,t){if(ug(e))this.add(t);else{let[r,...n]=e,i=this.get(r,!0);if(cK(i))i.addIn(n,t);else if(void 0===i&&this.schema)this.set(r,um(this.schema,n,t));else throw Error(`Expected YAML collection at ${r}. Remaining path: ${n}`)}}deleteIn(e){let[t,...r]=e;if(0===r.length)return this.delete(t);let n=this.get(t,!0);if(cK(n))return n.deleteIn(r);throw Error(`Expected YAML collection at ${t}. Remaining path: ${r}`)}getIn(e,t){let[r,...n]=e,i=this.get(r,!0);return 0===n.length?!t&&cW(i)?i.value:i:cK(i)?i.getIn(n,t):void 0}hasAllNullValues(e){return this.items.every(t=>{if(!cY(t))return!1;let r=t.value;return null==r||e&&cW(r)&&null==r.value&&!r.commentBefore&&!r.comment&&!r.tag})}hasIn(e){let[t,...r]=e;if(0===r.length)return this.has(t);let n=this.get(t,!0);return!!cK(n)&&n.hasIn(r)}setIn(e,t){let[r,...n]=e;if(0===n.length)this.set(r,t);else{let e=this.get(r,!0);if(cK(e))e.setIn(n,t);else if(void 0===e&&this.schema)this.set(r,um(this.schema,n,t));else throw Error(`Expected YAML collection at ${r}. Remaining path: ${n}`)}}}let uv=e=>e.replace(/^(?!$)(?: $)?/gm,"#");function ub(e,t){return/^\n+$/.test(e)?e.substring(1):t?e.replace(/^(?! *$)/gm,t):e}let uw=(e,t,r)=>e.endsWith("\n")?ub(r,t):r.includes("\n")?"\n"+ub(r,t):(e.endsWith(" ")?""
129:" ")+r,ux="flow",uk="block",uA="quoted";function uC(e,t,r="flow",{indentAtStart:n,lineWidth:i=80,minContentWidth:a=20,onFold:o,onOverflow:s}={}){let l,c,u;if(!i||i<0)return e;i<a&&(a=0);let d=Math.max(1+a,1+i-t.length);if(e.length<=d)return e;let p=[],h={},f=i-t.length;"number"==typeof n&&(n>i-Math.max(2,a)?p.push(0):f=i-n);let m=!1,g=-1,y=-1,v=-1;for(r===uk&&-1!==(g=uS(e,g,t.length))&&(f=g+d);u=e[g+=1];){if(r===uA&&"\\"===u){switch(y=g,e[g+1]){case"x":g+=3;break;case"u":g+=5;break;case"U":g+=9;break;default:g+=1}v=g}if("\n"===u)r===uk&&(g=uS(e,g,t.length)),f=g+t.length+d,l=void 0;else{if(" "===u&&c&&" "!==c&&"\n"!==c&&" "!==c){let t=e[g+1];t&&" "!==t&&"\n"!==t&&" "!==t&&(l=g)}if(g>=f)if(l)p.push(l),f=l+d,l=void 0;else if(r===uA){for(;" "===c||" "===c;)c=u,u=e[g+=1],m=!0;let t=g>v+1?g-2:y-1;if(h[t])return e;p.push(t),h[t]=!0,f=t+d,l=void 0}else m=!0}c=u}if(m&&s&&s(),0===p.length)return e;o&&o();let b=e.slice(0,p[0]);for(let n=0;n<p.length;++n){let i=p[n],a=p[n+1]||e.length;0===i?b=` 130${t}${e.slice(0,a)}`:(r===uA&&h[i]&&(b+=`${e[i]}\\`),b+=` 131${t}${e.slice(i+1,a)}`)}return b}function uS(e,t,r){let n=t,i=t+1,a=e[i];for(;" "===a||" "===a;)if(t<i+r)a=e[++t];else{do a=e[++t];while(a&&"\n"!==a);n=t,a=e[i=t+1]}return n}let uE=(e,t)=>({indentAtStart:t?e.indent.length:e.indentAtStart,lineWidth:e.options.lineWidth,minContentWidth:e.options.minContentWidth}),u_=e=>/^(%|---|\.\.\.)/m.test(e);function uT(e,t,r){if(!t||t<0)return!1;let n=t-r,i=e.length;if(i<=n)return!1;for(let t=0,r=0;t<i;++t)if("\n"===e[t]){if(t-r>n)return!0;if(i-(r=t+1)<=n)return!1}return!0}function uP(e,t){let r=JSON.stringify(e);if(t.options.doubleQuotedAsJSON)return r;let{implicitKey:n}=t,i=t.options.doubleQuotedMinMultiLineLength,a=t.indent||(u_(e)?" ":""),o="",s=0;for(let e=0,t=r[e];t;t=r[++e])if(" "===t&&"\\"===r[e+1]&&"n"===r[e+2]&&(o+=r.slice(s,e)+"\\ ",e+=1,s=e,t="\\"),"\\"===t)switch(r[e+1]){case"u":{o+=r.slice(s,e);let t=r.substr(e+2,4);switch(t){case"0000":o+="\\0";break;case"0007":o+="\\a";break;case"000b":o+="\\v";break;case"001b":o+="\\e";break;case"0085":o+="\\N";break;case"00a0":o+="\\_";break;case"2028":o+="\\L";break;case"2029":o+="\\P";break;default:"00"===t.substr(0,2)?o+="\\x"+t.substr(2):o+=r.substr(e,6)}e+=5,s=e+1}break;case"n":if(n||'"'===r[e+2]||r.length<i)e+=1;else{for(o+=r.slice(s,e)+"\n\n";"\\"===r[e+2]&&"n"===r[e+3]&&'"'!==r[e+4];)o+="\n",e+=2;o+=a," "===r[e+2]&&(o+="\\"),e+=1,s=e+1}break;default:e+=1}return o=s?o+r.slice(s):r,n?o:uC(o,a,uA,uE(t,!1))}function uO(e,t){if(!1===t.options.singleQuote||t.implicitKey&&e.includes("\n")||/[ \t]\n|\n[ \t]/.test(e))return uP(e,t);let r=t.indent||(u_(e)?" ":""),n="'"+e.replace(/'/g,"''").replace(/\n+/g,`$& 132${r}`)+"'";return t.implicitKey?n:uC(n,r,ux,uE(t,!1))}function uI(e,t){let r,{singleQuote:n}=t.options;if(!1===n)r=uP;else{let t=e.includes('"'),i=e.includes("'");r=t&&!i?uO:i&&!t?uP:n?uO:uP}return r(e,t)}try{c=RegExp("(^|(?<!\n))\n+(?!\n|$)","g")}catch{c=/\n+(?!\n|$)/g}function uM({comment:e,type:t,value:r},n,i,a){let o,s,l,{blockQuote:u,commentString:d,lineWidth:p}=n.options;if(!u||/\n[\t ]+$/.test(r))return uI(r,n);let h=n.indent||(n.forceBlockIndent||u_(r)?" ":""),f="literal"===u||"folded"!==u&&t!==ud.BLOCK_FOLDED&&(t===ud.BLOCK_LITERAL||!uT(r,p,h.length));if(!r)return f?"|\n":">\n";for(s=r.length;s>0;--s){let e=r[s-1];if("\n"!==e&&" "!==e&&" "!==e)break}let m=r.substring(s),g=m.indexOf("\n");-1===g?o="-":r===m||g!==m.length-1?(o="+",a&&a()):o="",m&&(r=r.slice(0,-m.length),"\n"===m[m.length-1]&&(m=m.slice(0,-1)),m=m.replace(c,`$&${h}`));let y=!1,v=-1;for(l=0;l<r.length;++l){let e=r[l];if(" "===e)y=!0;else if("\n"===e)v=l;else break}let b=r.substring(0,v<l?v+1:l);b&&(r=r.substring(b.length),b=b.replace(/\n+/g,`$&${h}`));let w=h?"2":"1",x=(y?w:"")+o;if(e&&(x+=" "+d(e.replace(/ ?[\r\n]+/g," ")),i&&i()),!f){let e=r.replace(/\n+/g,"\n$&").replace(/(?:^|\n)([\t ].*)(?:([\n\t ]*)\n(?![\n\t ]))?/g,"$1$2").replace(/\n+/g,`$&${h}`),i=!1,a=uE(n,!0);"folded"!==u&&t!==ud.BLOCK_FOLDED&&(a.onOverflow=()=>{i=!0});let o=uC(`${b}${e}${m}`,h,uk,a);if(!i)return`>${x} 133${h}${o}`}return r=r.replace(/\n+/g,`$&${h}`),`|${x} 134${h}${b}${r}${m}`}function uL(e,t,r,n){let{type:i,value:a}=e,{actualString:o,implicitKey:s,indent:l,indentStep:c,inFlow:u}=t;if(s&&a.includes("\n")||u&&/[[\]{},]/.test(a))return uI(a,t);
134if(/^[\n\t ,[\]{}#&*!|>'"%@`]|^[?-]$|^[?-][ \t]|[\n:][ \t]|[ \t]\n|[\n\t ]#|[\n\t :]$/.test(a))return s||u||!a.includes("\n")?uI(a,t):uM(e,t,r,n);if(!s&&!u&&i!==ud.PLAIN&&a.includes("\n"))return uM(e,t,r,n);if(u_(a)){if(""===l)return t.forceBlockIndent=!0,uM(e,t,r,n);else if(s&&l===c)return uI(a,t)}let d=a.replace(/\n+/g,`$& 135${l}`);if(o){let e=e=>e.default&&"tag:yaml.org,2002:str"!==e.tag&&e.test?.test(d),{compat:r,tags:n}=t.doc.schema;if(n.some(e)||r?.some(e))return uI(a,t)}return s?d:uC(d,l,ux,uE(t,!1))}function uN(e,t,r,n){let{implicitKey:i,inFlow:a}=t,o="string"==typeof e.value?e:Object.assign({},e,{value:String(e.value)}),{type:s}=e;s!==ud.QUOTE_DOUBLE&&/[\x00-\x08\x0b-\x1f\x7f-\x9f\u{D800}-\u{DFFF}]/u.test(o.value)&&(s=ud.QUOTE_DOUBLE);let l=e=>{switch(e){case ud.BLOCK_FOLDED:case ud.BLOCK_LITERAL:return i||a?uI(o.value,t):uM(o,t,r,n);case ud.QUOTE_DOUBLE:return uP(o.value,t);case ud.QUOTE_SINGLE:return uO(o.value,t);case ud.PLAIN:return uL(o,t,r,n);default:return null}},c=l(s);if(null===c){let{defaultKeyType:e,defaultStringType:r}=t.options,n=i&&e||r;if(null===(c=l(n)))throw Error(`Unsupported default string type ${n}`)}return c}function uR(e,t){let r,n=Object.assign({blockQuote:!0,commentString:uv,defaultKeyType:null,defaultStringType:"PLAIN",directives:null,doubleQuotedAsJSON:!1,doubleQuotedMinMultiLineLength:40,falseStr:"false",flowCollectionPadding:!0,indentSeq:!0,lineWidth:80,minContentWidth:20,nullStr:"null",simpleKeys:!1,singleQuote:null,trailingComma:!1,trueStr:"true",verifyAliasOrder:!0},e.schema.toStringOptions,t);switch(n.collectionStyle){case"block":r=!1;break;case"flow":r=!0;break;default:r=null}return{anchors:new Set,doc:e,flowCollectionPadding:n.flowCollectionPadding?" ":"",indent:"",indentStep:"number"==typeof n.indent?" ".repeat(n.indent):" ",inFlow:r,options:n}}function uj(e,t){let r,n;if(t.tag){let r=e.filter(e=>e.tag===t.tag);if(r.length>0)return r.find(e=>e.format===t.format)??r[0]}if(cW(t)){r=t.value;let i=e.filter(e=>e.identify?.(r));if(i.length>1){let e=i.filter(e=>e.test);e.length>0&&(i=e)}n=i.find(e=>e.format===t.format)??i.find(e=>!e.format)}else r=t,n=e.find(e=>e.nodeClass&&r instanceof e.nodeClass);if(!n){let e=r?.constructor?.name??(null===r?"null":typeof r);throw Error(`Tag not resolved for ${e} value`)}return n}function uD(e,t,{anchors:r,doc:n}){if(!n.directives)return"";let i=[],a=(cW(e)||cK(e))&&e.anchor;a&&ut(a)&&(r.add(a),i.push(`&${a}`));let o=e.tag??(t.default?null:t.tag);return o&&i.push(n.directives.tagString(o)),i.join(" ")}function uF(e,t,r,n){let i;if(cY(e))return e.toString(t,r,n);if(cU(e)){if(t.doc.directives)return e.toString(t);if(t.resolvedAliases?.has(e))throw TypeError("Cannot stringify circular structure without alias nodes");t.resolvedAliases?t.resolvedAliases.add(e):t.resolvedAliases=new Set([e]),e=e.resolve(t.doc)}let a=cJ(e)?e:t.doc.createNode(e,{onTagObj:e=>i=e});i??(i=uj(t.doc.schema.tags,a));let o=uD(a,i,t);o.length>0&&(t.indentAtStart=(t.indentAtStart??0)+o.length+1);let s="function"==typeof i.stringify?i.stringify(a,t,r,n):cW(a)?uN(a,t,r,n):a.toString(t,r,n);return o?cW(a)||"{"===s[0]||"["===s[0]?`${o} ${s}`:`${o} 136${t.indent}${s}`:s}function uV({key:e,value:t},r,n,i){let a,o,s,{allNullValues:l,doc:c,indent:u,indentStep:d,options:{commentString:p,indentSeq:h,simpleKeys:f}}=r,m=cJ(e)&&e.comment||null;if(f){if(m)throw Error("With simple keys, key nodes cannot have comments");if(cK(e)||!cJ(e)&&"object"==typeof e)throw Error("With simple keys, collection cannot be used as a key value")}let g=!f&&(!e||m&&null==t&&!r.inFlow||cK(e)||(cW(e)?e.type===ud.BLOCK_FOLDED||e.type===ud.BLOCK_LITERAL:"object"==typeof e));r=Object.assign({},r,{allNullValues:!1,implicitKey:!g&&(f||!l),indent:u+d});let y=!1,v=!1,b=uF(e,r,()=>y=!0,()=>v=!0);if(!g&&!r.inFlow&&b.length>1024){if(f)throw Error("With simple keys, single line scalar must not span more than 1024 characters");g=!0}if(r.inFlow){if(l||null==t)return y&&n&&n(),""===b?"?":g?`? ${b}`:b}else if(l&&!f||null==t&&g)return b=`? ${b}`,m&&!y?b+=uw(b,r.indent,p(m)):v&&i&&i(),b;y&&(m=null),g?(m&&(b+=uw(b,r.indent,p(m))),b=`? ${b} 137${u}:`):(b=`${b}:`,m&&(b+=uw(b,r.indent,p(m)))),cJ(t)?(a=!!t.spaceBefore,o=t.commentBefore,s=t.comment):(a=!1,o=null,s=null,t&&"object"==typeof t&&(t=c.createNode(t))),r.implicitKey=!1,!g&&!m&&cW(t)&&(r.indentAtStart=b.length+1),v=!1,!(!h&&d.length>=2&&!r.inFlow&&!g&&cG(t))||t.flow||t.tag||t.anchor||(r.indent=r.indent.substring(2));let w=!1,x=uF(t,r,()=>w=!0,()=>v=!0),k=" ";if(m||a||o){if(k=a?"\n":"",o){let e=p(o);k+=` 138${ub(e,r.indent)}`}""!==x||r.inFlow?k+=` 139${r.indent}`:"\n"===k&&s&&(k="\n\n")}else if(!g&&cK(t)){let e=x[0],n=x.indexOf("\n"),i=-1!==n,a=r.inFlow??t.flow??0===t.items.length;if(i||!a){let t=!1;if(i&&("&"===e||"!"===e)){let r=x.indexOf(" ");"&"===e&&-1!==r&&r<n&&"!"===x[r+1]&&(r=x.indexOf(" ",r+1)),(-1===r||n<r)&&(t=!0)}t||(k=` 140${r.indent}`)}}else(""===x||"\n"===x[0])&&(k="");return b+=k+x,r.inFlow?w&&n&&n():s&&!w?b+=uw(b,r.indent,p(s)):v&&i&&i(),b}function uB(e,t){("debug"===e||"warn"===e)&&console.warn(t)}let uz="<<",u$={identify:e=>e===uz||"symbol"==typeof e&&e.description===uz,default:"key",tag:"tag:yaml.org,2002:merge",test:/^<<$/,resolve:()=>Object.assign(new ud(Symbol(uz)),{addToJSMap:uq}),stringify:()=>uz},uU=(e,t)=>(u$.identify(t)||cW(t)&&(!t.type||t.type===ud.PLAIN)&&u$.identify(t.value))&&e?.doc.schema.tags.some(e=>e.tag===u$.tag&&e.default);function uq(e,t,r){let n=uY(e,r);if(cG(n))for(let r of n.items)uH(e,t,r);else if(Array.isArray(n))for(let r of n)uH(e,t,r);else uH(e,t,n)}function uH(e,t,r){let n=uY(e,r);if(!cH(n))throw Error("Merge sources must be maps or map aliases");for(let[r,i]of n.toJSON(null,e,Map))t instanceof Map?t.has(r)||t.set(r,i):t instanceof Set?t.add(r):Object.prototype.hasOwnProperty.call(t,r)||Object.defineProperty(t,r,{value:i,writable:!0,enumerable:!0,configurable:!0});return t}function uY(e,t){return e&&cU(t)?t.resolve(e.doc,e):t}function uW(e,t,{key:r,value:n}
140){if(cJ(r)&&r.addToJSMap)r.addToJSMap(e,t,n);else if(uU(e,r))uq(e,t,n);else{let i=uo(r,"",e);if(t instanceof Map)t.set(i,uo(n,i,e));else if(t instanceof Set)t.add(i);else{let a=uG(r,i,e),o=uo(n,a,e);a in t?Object.defineProperty(t,a,{value:o,writable:!0,enumerable:!0,configurable:!0}):t[a]=o}}return t}function uG(e,t,r){if(null===t)return"";if("object"!=typeof t)return String(t);if(cJ(e)&&r?.doc){let t=uR(r.doc,{});for(let e of(t.anchors=new Set,r.anchors.keys()))t.anchors.add(e.anchor);t.inFlow=!0,t.inStringifyKey=!0;let n=e.toString(t);if(!r.mapKeyWarned){let e=JSON.stringify(n);e.length>40&&(e=e.substring(0,36)+'..."'),uB(r.doc.options.logLevel,`Keys with collection values will be stringified due to JS Object restrictions: ${e}. Set mapAsMap: true to use object keys.`),r.mapKeyWarned=!0}return n}return JSON.stringify(t)}function uK(e,t,r){return new uJ(uf(e,void 0,r),uf(t,void 0,r))}class uJ{constructor(e,t=null){Object.defineProperty(this,c$,{value:cV}),this.key=e,this.value=t}clone(e){let{key:t,value:r}=this;return cJ(t)&&(t=t.clone(e)),cJ(r)&&(r=r.clone(e)),new uJ(t,r)}toJSON(e,t){let r=t?.mapAsMap?new Map:{};return uW(t,r,this)}toString(e,t,r){return e?.doc?uV(this,e,t,r):JSON.stringify(this)}}function uX(e,t,r){return(t.inFlow??e.flow?uZ:uQ)(e,t,r)}function uQ({comment:e,items:t},r,{blockItemPrefix:n,flowChars:i,itemIndent:a,onChompKeep:o,onComment:s}){let l,{indent:c,options:{commentString:u}}=r,d=Object.assign({},r,{indent:a,type:null}),p=!1,h=[];for(let e=0;e<t.length;++e){let i=t[e],o=null;if(cJ(i))!p&&i.spaceBefore&&h.push(""),u0(r,h,i.commentBefore,p),i.comment&&(o=i.comment);else if(cY(i)){let e=cJ(i.key)?i.key:null;e&&(!p&&e.spaceBefore&&h.push(""),u0(r,h,e.commentBefore,p))}p=!1;let s=uF(i,d,()=>o=null,()=>p=!0);o&&(s+=uw(s,a,u(o))),p&&o&&(p=!1),h.push(n+s)}if(0===h.length)l=i.start+i.end;else{l=h[0];for(let e=1;e<h.length;++e){let t=h[e];l+=t?` 141${c}${t}`:"\n"}}return e?(l+="\n"+ub(u(e),c),s&&s()):p&&o&&o(),l}function uZ({items:e},t,{flowChars:r,itemIndent:n}){let{indent:i,indentStep:a,flowCollectionPadding:o,options:{commentString:s}}=t,l=Object.assign({},t,{indent:n+=a,inFlow:!0,type:null}),c=!1,u=0,d=[];for(let r=0;r<e.length;++r){let i=e[r],a=null;if(cJ(i))i.spaceBefore&&d.push(""),u0(t,d,i.commentBefore,!1),i.comment&&(a=i.comment);else if(cY(i)){let e=cJ(i.key)?i.key:null;e&&(e.spaceBefore&&d.push(""),u0(t,d,e.commentBefore,!1),e.comment&&(c=!0));let r=cJ(i.value)?i.value:null;r?(r.comment&&(a=r.comment),r.commentBefore&&(c=!0)):null==i.value&&e?.comment&&(a=e.comment)}a&&(c=!0);let o=uF(i,l,()=>a=null);c||(c=d.length>u||o.includes("\n")),r<e.length-1?o+=",":t.options.trailingComma&&(t.options.lineWidth>0&&(c||(c=d.reduce((e,t)=>e+t.length+2,2)+(o.length+2)>t.options.lineWidth)),c&&(o+=",")),a&&(o+=uw(o,n,s(a))),d.push(o),u=d.length}let{start:p,end:h}=r;if(0===d.length)return p+h;if(!c){let e=d.reduce((e,t)=>e+t.length+2,2);c=t.options.lineWidth>0&&e>t.options.lineWidth}if(!c)return`${p}${o}${d.join(" ")}${o}${h}`;{let e=p;for(let t of d)e+=t?` 142${a}${i}${t}`:"\n";return`${e} 143${i}${h}`}}function u0({indent:e,options:{commentString:t}},r,n,i){if(n&&i&&(n=n.replace(/^\n+/,"")),n){let i=ub(t(n),e);r.push(i.trimStart())}}function u1(e,t){let r=cW(t)?t.value:t;for(let n of e)if(cY(n)&&(n.key===t||n.key===r||cW(n.key)&&n.key.value===r))return n}class u2 extends uy{static get tagName(){return"tag:yaml.org,2002:map"}constructor(e){super(cF,e),this.items=[]}static from(e,t,r){let{keepUndefined:n,replacer:i}=r,a=new this(e),o=(e,o)=>{if("function"==typeof i)o=i.call(t,e,o);else if(Array.isArray(i)&&!i.includes(e))return;(void 0!==o||n)&&a.items.push(uK(e,o,r))};if(t instanceof Map)for(let[e,r]of t)o(e,r);else if(t&&"object"==typeof t)for(let e of Object.keys(t))o(e,t[e]);return"function"==typeof e.sortMapEntries&&a.items.sort(e.sortMapEntries),a}add(e,t){let r;r=cY(e)?e:e&&"object"==typeof e&&"key"in e?new uJ(e.key,e.value):new uJ(e,e?.value);let n=u1(this.items,r.key),i=this.schema?.sortMapEntries;if(n){if(!t)throw Error(`Key ${r.key} already set`);cW(n.value)&&uu(r.value)?n.value.value=r.value:n.value=r.value}else if(i){let e=this.items.findIndex(e=>0>i(r,e));-1===e?this.items.push(r):this.items.splice(e,0,r)}else this.items.push(r)}delete(e){let t=u1(this.items,e);return!!t&&this.items.splice(this.items.indexOf(t),1).length>0}get(e,t){let r=u1(this.items,e),n=r?.value;return(!t&&cW(n)?n.value:n)??void 0}has(e){return!!u1(this.items,e)}set(e,t){this.add(new uJ(e,t),!0)}toJSON(e,t,r){let n=r?new r:t?.mapAsMap?new Map:{};for(let e of(t?.onCreate&&t.onCreate(n),this.items))uW(t,n,e);return n}toString(e,t,r){if(!e)return JSON.stringify(this);for(let e of this.items)if(!cY(e))throw Error(`Map items must all be pairs; found ${JSON.stringify(e)} instead`);return!e.allNullValues&&this.hasAllNullValues(!1)&&(e=Object.assign({},e,{allNullValues:!0})),uX(this,e,{blockItemPrefix:"",flowChars:{start:"{",end:"}"},itemIndent:e.indent||"",onChompKeep:r,onComment:t})}}let u5={collection:"map",default:!0,nodeClass:u2,tag:"tag:yaml.org,2002:map",resolve:(e,t)=>
143(cH(e)||t("Expected a mapping for this tag"),e),createNode:(e,t,r)=>u2.from(e,t,r)};class u3 extends uy{static get tagName(){return"tag:yaml.org,2002:seq"}constructor(e){super(cz,e),this.items=[]}add(e){this.items.push(e)}delete(e){let t=u4(e);return"number"==typeof t&&this.items.splice(t,1).length>0}get(e,t){let r=u4(e);if("number"!=typeof r)return;let n=this.items[r];return!t&&cW(n)?n.value:n}has(e){let t=u4(e);return"number"==typeof t&&t<this.items.length}set(e,t){let r=u4(e);if("number"!=typeof r)throw Error(`Expected a valid index, not ${e}.`);let n=this.items[r];cW(n)&&uu(t)?n.value=t:this.items[r]=t}toJSON(e,t){let r=[];t?.onCreate&&t.onCreate(r);let n=0;for(let e of this.items)r.push(uo(e,String(n++),t));return r}toString(e,t,r){return e?uX(this,e,{blockItemPrefix:"- ",flowChars:{start:"[",end:"]"},itemIndent:(e.indent||"")+" ",onChompKeep:r,onComment:t}):JSON.stringify(this)}static from(e,t,r){let{replacer:n}=r,i=new this(e);if(t&&Symbol.iterator in Object(t)){let e=0;for(let a of t){if("function"==typeof n){let r=t instanceof Set?a:String(e++);a=n.call(t,r,a)}i.items.push(uf(a,void 0,r))}}return i}}function u4(e){let t=cW(e)?e.value:e;return t&&"string"==typeof t&&(t=Number(t)),"number"==typeof t&&Number.isInteger(t)&&t>=0?t:null}let u6={collection:"seq",default:!0,nodeClass:u3,tag:"tag:yaml.org,2002:seq",resolve:(e,t)=>(cG(e)||t("Expected a sequence for this tag"),e),createNode:(e,t,r)=>u3.from(e,t,r)},u9={identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:(e,t,r,n)=>uN(e,t=Object.assign({actualString:!0},t),r,n)},u8={identify:e=>null==e,createNode:()=>new ud(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^(?:~|[Nn]ull|NULL)?$/,resolve:()=>new ud(null),stringify:({source:e},t)=>"string"==typeof e&&u8.test.test(e)?e:t.options.nullStr},u7={identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:[Tt]rue|TRUE|[Ff]alse|FALSE)$/,resolve:e=>new ud("t"===e[0]||"T"===e[0]),stringify:({source:e,value:t},r)=>e&&u7.test.test(e)&&t===("t"===e[0]||"T"===e[0])?e:t?r.options.trueStr:r.options.falseStr};function de({format:e,minFractionDigits:t,tag:r,value:n}){if("bigint"==typeof n)return String(n);let i="number"==typeof n?n:Number(n);if(!isFinite(i))return isNaN(i)?".nan":i<0?"-.inf":".inf";let a=Object.is(n,-0)?"-0":JSON.stringify(n);if(!e&&t&&(!r||"tag:yaml.org,2002:float"===r)&&/^-?\d/.test(a)&&!a.includes("e")){let e=a.indexOf(".");e<0&&(e=a.length,a+=".");let r=t-(a.length-e-1);for(;r-- >0;)a+="0"}return a}let dt={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?-1/0:1/0,stringify:de},dr={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:\.[0-9]+|[0-9]+(?:\.[0-9]*)?)[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e),stringify(e){let t=Number(e.value);return isFinite(t)?t.toExponential():de(e)}},dn={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:\.[0-9]+|[0-9]+\.[0-9]*)$/,resolve(e){let t=new ud(parseFloat(e)),r=e.indexOf(".");return -1!==r&&"0"===e[e.length-1]&&(t.minFractionDigits=e.length-r-1),t},stringify:de},di=e=>"bigint"==typeof e||Number.isInteger(e),da=(e,t,r,{intAsBigInt:n})=>n?BigInt(e):parseInt(e.substring(t),r);function ds(e,t,r){let{value:n}=e;return di(n)&&n>=0?r+n.toString(t):de(e)}let dl={identify:e=>di(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^0o[0-7]+$/,resolve:(e,t,r)=>da(e,2,8,r),stringify:e=>ds(e,8,"0o")},dc={identify:di,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9]+$/,resolve:(e,t,r)=>da(e,0,10,r),stringify:de},du={identify:e=>di(e)&&e>=0,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^0x[0-9a-fA-F]+$/,resolve:(e,t,r)=>da(e,2,16,r),stringify:e=>ds(e,16,"0x")},dd=[u5,u6,u9,u8,u7,dl,dc,du,dt,dr,dn];function dp(e){return"bigint"==typeof e||Number.isInteger(e)}let dh=({value:e})=>JSON.stringify(e),df=[u5,u6].concat([{identify:e=>"string"==typeof e,default:!0,tag:"tag:yaml.org,2002:str",resolve:e=>e,stringify:dh},{identify:e=>null==e,createNode:()=>new ud(null),default:!0,tag:"tag:yaml.org,2002:null",test:/^null$/,resolve:()=>null,stringify:dh},{identify:e=>"boolean"==typeof e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^true$|^false$/,resolve:e=>"true"===e,stringify:dh},{identify:dp,default:!0,tag:"tag:yaml.org,2002:int",test:/^-?(?:0|[1-9][0-9]*)$/,resolve:(e,t,{intAsBigInt:r})=>r?BigInt(e):parseInt(e,10),stringify:({value:e})=>dp(e)?e.toString():JSON.stringify(e)},{identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^-?(?:0|[1-9][0-9]*)(?:\.[0-9]*)?(?:[eE][-+]?[0-9]+)?$/,resolve:e=>parseFloat(e),stringify:dh}],{default:!0,tag:"",test:/^/,resolve:(e,t)=>
143(t(`Unresolved plain scalar ${JSON.stringify(e)}`),e)}),dm={identify:e=>e instanceof Uint8Array,default:!1,tag:"tag:yaml.org,2002:binary",resolve(e,t){if("function"!=typeof atob)return t("This environment does not support reading binary tags; either Buffer or atob is required"),e;{let t=atob(e.replace(/[\n\r]/g,"")),r=new Uint8Array(t.length);for(let e=0;e<t.length;++e)r[e]=t.charCodeAt(e);return r}},stringify({comment:e,type:t,value:r},n,i,a){let o;if(!r)return"";let s=r;if("function"==typeof btoa){let e="";for(let t=0;t<s.length;++t)e+=String.fromCharCode(s[t]);o=btoa(e)}else throw Error("This environment does not support writing binary tags; either Buffer or btoa is required");if(t??(t=ud.BLOCK_LITERAL),t!==ud.QUOTE_DOUBLE){let e=Math.max(n.options.lineWidth-n.indent.length,n.options.minContentWidth),r=Math.ceil(o.length/e),i=Array(r);for(let t=0,n=0;t<r;++t,n+=e)i[t]=o.substr(n,e);o=i.join(t===ud.BLOCK_LITERAL?"\n":" ")}return uN({comment:e,type:t,value:o},n,i,a)}};function dg(e,t){if(cG(e))for(let r=0;r<e.items.length;++r){let n=e.items[r];if(!cY(n)){if(cH(n)){n.items.length>1&&t("Each pair must have its own sequence indicator");let e=n.items[0]||new uJ(new ud(null));if(n.commentBefore&&(e.key.commentBefore=e.key.commentBefore?`${n.commentBefore} 144${e.key.commentBefore}`:n.commentBefore),n.comment){let t=e.value??e.key;t.comment=t.comment?`${n.comment} 145${t.comment}`:n.comment}n=e}e.items[r]=cY(n)?n:new uJ(n)}}else t("Expected a sequence for this tag");return e}function dy(e,t,r){let{replacer:n}=r,i=new u3(e);i.tag="tag:yaml.org,2002:pairs";let a=0;if(t&&Symbol.iterator in Object(t))for(let e of t){let o,s;if("function"==typeof n&&(e=n.call(t,String(a++),e)),Array.isArray(e))if(2===e.length)o=e[0],s=e[1];else throw TypeError(`Expected [key, value] tuple: ${e}`);else if(e&&e instanceof Object){let t=Object.keys(e);if(1===t.length)s=e[o=t[0]];else throw TypeError(`Expected tuple with one key, not ${t.length} keys`)}else o=e;i.items.push(uK(o,s,r))}return i}let dv={collection:"seq",default:!1,tag:"tag:yaml.org,2002:pairs",resolve:dg,createNode:dy};class db extends u3{constructor(){super(),this.add=u2.prototype.add.bind(this),this.delete=u2.prototype.delete.bind(this),this.get=u2.prototype.get.bind(this),this.has=u2.prototype.has.bind(this),this.set=u2.prototype.set.bind(this),this.tag=db.tag}toJSON(e,t){if(!t)return super.toJSON(e);let r=new Map;for(let e of(t?.onCreate&&t.onCreate(r),this.items)){let n,i;if(cY(e)?(n=uo(e.key,"",t),i=uo(e.value,n,t)):n=uo(e,"",t),r.has(n))throw Error("Ordered maps must not include duplicate keys");r.set(n,i)}return r}static from(e,t,r){let n=dy(e,t,r),i=new this;return i.items=n.items,i}}db.tag="tag:yaml.org,2002:omap";let dw={collection:"seq",identify:e=>e instanceof Map,nodeClass:db,default:!1,tag:"tag:yaml.org,2002:omap",resolve(e,t){let r=dg(e,t),n=[];for(let{key:e}of r.items)cW(e)&&(n.includes(e.value)?t(`Ordered maps must not include duplicate keys: ${e.value}`):n.push(e.value));return Object.assign(new db,r)},createNode:(e,t,r)=>db.from(e,t,r)};function dx({value:e,source:t},r){let n=e?dk:dA;return t&&n.test.test(t)?t:e?r.options.trueStr:r.options.falseStr}let dk={identify:e=>!0===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:Y|y|[Yy]es|YES|[Tt]rue|TRUE|[Oo]n|ON)$/,resolve:()=>new ud(!0),stringify:dx},dA={identify:e=>!1===e,default:!0,tag:"tag:yaml.org,2002:bool",test:/^(?:N|n|[Nn]o|NO|[Ff]alse|FALSE|[Oo]ff|OFF)$/,resolve:()=>
145new ud(!1),stringify:dx},dC={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^(?:[-+]?\.(?:inf|Inf|INF)|\.nan|\.NaN|\.NAN)$/,resolve:e=>"nan"===e.slice(-3).toLowerCase()?NaN:"-"===e[0]?-1/0:1/0,stringify:de},dS={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"EXP",test:/^[-+]?(?:[0-9][0-9_]*)?(?:\.[0-9_]*)?[eE][-+]?[0-9]+$/,resolve:e=>parseFloat(e.replace(/_/g,"")),stringify(e){let t=Number(e.value);return isFinite(t)?t.toExponential():de(e)}},dE={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",test:/^[-+]?(?:[0-9][0-9_]*)?\.[0-9_]*$/,resolve(e){let t=new ud(parseFloat(e.replace(/_/g,""))),r=e.indexOf(".");if(-1!==r){let n=e.substring(r+1).replace(/_/g,"");"0"===n[n.length-1]&&(t.minFractionDigits=n.length)}return t},stringify:de},d_=e=>"bigint"==typeof e||Number.isInteger(e);function dT(e,t,r,{intAsBigInt:n}){let i=e[0];if(("-"===i||"+"===i)&&(t+=1),e=e.substring(t).replace(/_/g,""),n){switch(r){case 2:e=`0b${e}`;break;case 8:e=`0o${e}`;break;case 16:e=`0x${e}`}let t=BigInt(e);return"-"===i?BigInt(-1)*t:t}let a=parseInt(e,r);return"-"===i?-1*a:a}function dP(e,t,r){let{value:n}=e;if(d_(n)){let e=n.toString(t);return n<0?"-"+r+e.substr(1):r+e}return de(e)}let dO={identify:d_,default:!0,tag:"tag:yaml.org,2002:int",format:"BIN",test:/^[-+]?0b[0-1_]+$/,resolve:(e,t,r)=>dT(e,2,2,r),stringify:e=>dP(e,2,"0b")},dI={identify:d_,default:!0,tag:"tag:yaml.org,2002:int",format:"OCT",test:/^[-+]?0[0-7_]+$/,resolve:(e,t,r)=>dT(e,1,8,r),stringify:e=>dP(e,8,"0")},dM={identify:d_,default:!0,tag:"tag:yaml.org,2002:int",test:/^[-+]?[0-9][0-9_]*$/,resolve:(e,t,r)=>dT(e,0,10,r),stringify:de},dL={identify:d_,default:!0,tag:"tag:yaml.org,2002:int",format:"HEX",test:/^[-+]?0x[0-9a-fA-F_]+$/,resolve:(e,t,r)=>dT(e,2,16,r),stringify:e=>dP(e,16,"0x")};class dN extends u2{constructor(e){super(e),this.tag=dN.tag}add(e){let t;t=cY(e)?e:e&&"object"==typeof e&&"key"in e&&"value"in e&&null===e.value?new uJ(e.key,null):new uJ(e,null),u1(this.items,t.key)||this.items.push(t)}get(e,t){let r=u1(this.items,e);return!t&&cY(r)?cW(r.key)?r.key.value:r.key:r}set(e,t){if("boolean"!=typeof t)throw Error(`Expected boolean value for set(key, value) in a YAML set, not ${typeof t}`);let r=u1(this.items,e);r&&!t?this.items.splice(this.items.indexOf(r),1):!r&&t&&this.items.push(new uJ(e))}toJSON(e,t){return super.toJSON(e,t,Set)}toString(e,t,r){if(!e)return JSON.stringify(this);if(this.hasAllNullValues(!0))return super.toString(Object.assign({},e,{allNullValues:!0}),t,r);throw Error("Set items must all have null values")}static from(e,t,r){let{replacer:n}=r,i=new this(e);if(t&&Symbol.iterator in Object(t))for(let e of t)"function"==typeof n&&(e=n.call(t,e,e)),i.items.push(uK(e,null,r));return i}}dN.tag="tag:yaml.org,2002:set";let dR={collection:"map",identify:e=>e instanceof Set,nodeClass:dN,default:!1,tag:"tag:yaml.org,2002:set",createNode:(e,t,r)=>dN.from(e,t,r),resolve(e,t){if(cH(e))if(e.hasAllNullValues(!0))return Object.assign(new dN,e);else t("Set items must all have null values");else t("Expected a mapping for this tag");return e}};function dj(e,t){let r=e[0],n="-"===r||"+"===r?e.substring(1):e,i=e=>t?BigInt(e):Number(e),a=n.replace(/_/g,"").split(":").reduce((e,t)=>e*i(60)+i(t),i(0));return"-"===r?i(-1)*a:a}function dD(e){let{value:t}=e,r=e=>e;if("bigint"==typeof t)r=e=>BigInt(e);else if(isNaN(t)||!isFinite(t))return de(e);let n="";t<0&&(n="-",t*=r(-1));let i=r(60),a=[t%i];return t<60?a.unshift(0):(t=(t-a[0])/i,a.unshift(t%i),t>=60&&(t=(t-a[0])/i,a.unshift(t))),n+a.map(e=>String(e).padStart(2,"0")).join(":").replace(/000000\d*$/,"")}let dF={identify:e=>"bigint"==typeof e||Number.isInteger(e),default:!0,tag:"tag:yaml.org,2002:int",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+$/,resolve:(e,t,{intAsBigInt:r})=>dj(e,r),stringify:dD},dV={identify:e=>"number"==typeof e,default:!0,tag:"tag:yaml.org,2002:float",format:"TIME",test:/^[-+]?[0-9][0-9_]*(?::[0-5]?[0-9])+\.[0-9_]*$/,resolve:e=>dj(e,!1),stringify:dD},dB={identify:e=>e instanceof Date,default:!0,tag:"tag:yaml.org,2002:timestamp",test:RegExp("^([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})(?:(?:t|T|[ \\t]+)([0-9]{1,2}):([0-9]{1,2}):([0-9]{1,2}(\\.[0-9]+)?)(?:[ \\t]*(Z|[-+][012]?[0-9](?::[0-9]{2})?))?)?$"),resolve(e){let t=e.match(dB.test);if(!t)throw Error("!!timestamp expects a date, starting with yyyy-mm-dd");let[,r,n,i,a,o,s]=t.map(Number),l=Date.UTC(r,n-1,i,a||0,o||0,s||0,t[7]?Number((t[7]+"00").substr(1,3)):0),c=t[8];if(c&&"Z"!==c){let e=dj(c,!1);30>Math.abs(e)&&(e*=60),l-=6e4*e}return new Date(l)},stringify:({value:e})=>e?.toISOString().replace(/(T00:00:00)?\.000Z$/,"")??""},dz=[u5,u6,u9,u8,dk,dA,dO,dI,dM,dL,dC,dS,dE,dm,u$,dw,dv,dR,dF,dV,dB],d$=new Map([["core",dd],["failsafe",[u5,u6,u9]],["json",df],["yaml11",dz],["yaml-1.1",dz]]),dU={binary:dm,bool:u7,float:dn,floatExp:dr,floatNaN:dt,floatTime:dV,int:dc,intHex:du,intOct:dl,intTime:dF,map:u5,merge:u$,null:u8,omap:dw,pairs:dv,seq:u6,set:dR,timestamp:dB},dq={"tag:yaml.org,2002:binary":dm,"tag:yaml.org,2002:merge":u$,"tag:yaml.org,2002:omap":dw,"tag:yaml.org,2002:pairs":dv,"tag:yaml.org,2002:set":dR,"tag:yaml.org,2002:timestamp":dB};function dH(e,t,r){let n=d$.get(t);if(n&&!e)return r&&!n.includes(u$)?n.concat(u$):n.slice();let i=n;if(!i)if(Array.isArray(e))i=[];else{let e=Array.from(d$.keys()).filter(e=>"yaml11"!==e).map(e=>JSON.stringify(e)).join(", ");throw Error(`Unknown schema "${t}"; use one of ${e} or define customTags array`)}if(Array.isArray(e))for(let t of e)i=i.concat(t);else"function"==typeof e&&(i=e(i.slice()));return r&&(i=i.concat(u$)),i.reduce((e,t)=>
145{let r="string"==typeof t?dU[t]:t;if(!r){let e=JSON.stringify(t),r=Object.keys(dU).map(e=>JSON.stringify(e)).join(", ");throw Error(`Unknown custom tag ${e}; use one of ${r}`)}return e.includes(r)||e.push(r),e},[])}let dY=(e,t)=>e.key<t.key?-1:+(e.key>t.key);class dW{constructor({compat:e,customTags:t,merge:r,resolveKnownTags:n,schema:i,sortMapEntries:a,toStringDefaults:o}){this.compat=Array.isArray(e)?dH(e,"compat"):e?dH(null,e):null,this.name="string"==typeof i&&i||"core",this.knownTags=n?dq:{},this.tags=dH(t,this.name,r),this.toStringOptions=o??null,Object.defineProperty(this,cF,{value:u5}),Object.defineProperty(this,cB,{value:u9}),Object.defineProperty(this,cz,{value:u6}),this.sortMapEntries="function"==typeof a?a:!0===a?dY:null}clone(){let e=Object.create(dW.prototype,Object.getOwnPropertyDescriptors(this));return e.tags=this.tags.slice(),e}}function dG(e,t){let r=[],n=!0===t.directives;if(!1!==t.directives&&e.directives){let t=e.directives.toString(e);t?(r.push(t),n=!0):e.directives.docStart&&(n=!0)}n&&r.push("---");let i=uR(e,t),{commentString:a}=i.options;if(e.commentBefore){1!==r.length&&r.unshift("");let t=a(e.commentBefore);r.unshift(ub(t,""))}let o=!1,s=null;if(e.contents){if(cJ(e.contents)){if(e.contents.spaceBefore&&n&&r.push(""),e.contents.commentBefore){let t=a(e.contents.commentBefore);r.push(ub(t,""))}i.forceBlockIndent=!!e.comment,s=e.contents.comment}let t=s?void 0:()=>o=!0,l=uF(e.contents,i,()=>s=null,t);s&&(l+=uw(l,"",a(s))),("|"===l[0]||">"===l[0])&&"---"===r[r.length-1]?r[r.length-1]=`--- ${l}`:r.push(l)}else r.push(uF(e.contents,i));if(e.directives?.docEnd)if(e.comment){let t=a(e.comment);t.includes("\n")?(r.push("..."),r.push(ub(t,""))):r.push(`... ${t}`)}else r.push("...");else{let t=e.comment;t&&o&&(t=t.replace(/^\n+/,"")),t&&((!o||s)&&""!==r[r.length-1]&&r.push(""),r.push(ub(a(t),"")))}return r.join("\n")+"\n"}class dK{constructor(e,t,r){this.commentBefore=null,this.comment=null,this.errors=[],this.warnings=[],Object.defineProperty(this,c$,{value:cD});let n=null;"function"==typeof t||Array.isArray(t)?n=t:void 0===r&&t&&(r=t,t=void 0);let i=Object.assign({intAsBigInt:!1,keepSourceTokens:!1,logLevel:"warn",prettyErrors:!0,strict:!0,stringKeys:!1,uniqueKeys:!0,version:"1.2"},r);this.options=i;let{version:a}=i;r?._directives?(this.directives=r._directives.atDocument(),this.directives.yaml.explicit&&(a=this.directives.yaml.version)):this.directives=new ue({version:a}),this.setSchema(a,r),this.contents=void 0===e?null:this.createNode(e,n,r)}clone(){let e=Object.create(dK.prototype,{[c$]:{value:cD}});return e.commentBefore=this.commentBefore,e.comment=this.comment,e.errors=this.errors.slice(),e.warnings=this.warnings.slice(),e.options=Object.assign({},this.options),this.directives&&(e.directives=this.directives.clone()),e.schema=this.schema.clone(),e.contents=cJ(this.contents)?this.contents.clone(e.schema):this.contents,this.range&&(e.range=this.range.slice()),e}add(e){dJ(this.contents)&&this.contents.add(e)}addIn(e,t){dJ(this.contents)&&this.contents.addIn(e,t)}createAlias(e,t){if(!e.anchor){let r=ur(this);e.anchor=!t||r.has(t)?un(t||"a",r):t}return new ul(e.anchor)}createNode(e,t,r){let n;if("function"==typeof t)e=t.call({"":e},"",e),n=t;else if(Array.isArray(t)){let e=e=>"number"==typeof e||e instanceof String||e instanceof Number,r=t.filter(e).map(String);r.length>0&&(t=t.concat(r)),n=t}else void 0===r&&t&&(r=t,t=void 0);let{aliasDuplicateObjects:i,anchorPrefix:a,flow:o,keepUndefined:s,onTagObj:l,tag:c}=r??{},{onAnchor:u,setAnchors:d,sourceObjects:p}=ui(this,a||"a"),h={aliasDuplicateObjects:i??!0,keepUndefined:s??!1,onAnchor:u,onTagObj:l,replacer:n,schema:this.schema,sourceObjects:p},f=uf(e,c,h);return o&&cK(f)&&(f.flow=!0),d(),f}createPair(e,t,r={}){return new uJ(this.createNode(e,null,r),this.createNode(t,null,r))}delete(e){return!!dJ(this.contents)&&this.contents.delete(e)}deleteIn(e){return ug(e)?null!=this.contents&&(this.contents=null,!0):!!dJ(this.contents)&&this.contents.deleteIn(e)}get(e,t){return cK(this.contents)?this.contents.get(e,t):void 0}getIn(e,t){return ug(e)?!t&&cW(this.contents)?this.contents.value:this.contents:cK(this.contents)?this.contents.getIn(e,t):void 0}has(e){return!!cK(this.contents)&&this.contents.has(e)}hasIn(e){return ug(e)?void 0!==this.contents:!!cK(this.contents)&&this.contents.hasIn(e)}set(e,t){null==this.contents?this.contents=um(this.schema,[e],t):dJ(this.contents)&&this.contents.set(e,t)}setIn(e,t){ug(e)?this.contents=t:null==this.contents?this.contents=um(this.schema,Array.from(e),t):dJ(this.contents)&&this.contents.setIn(e,t)}setSchema(e,t={}){let r;switch("number"==typeof e&&(e=String(e)),e){case"1.1":this.directives?this.directives.yaml.version="1.1":this.directives=new ue({version:"1.1"}),r={resolveKnownTags:!1,schema:"yaml-1.1"};break;case"1.2":case"next":this.directives?this.directives.yaml.version=e:this.directives=new ue({version:e}),r={resolveKnownTags:!0,schema:"core"};break;case null:this.directives&&delete this.directives,r=null;break;default:{let t=JSON.stringify(e);throw Error(`Expected '1.1', '1.2' or null as first argument, but found: ${t}`)}}if(t.schema instanceof Object)this.schema=t.schema;else if(r)this.schema=new dW(Object.assign(r,t));else throw Error("With a null YAML version, the { schema: Schema } option is required")}toJS({json:e,jsonArg:t,mapAsMap:r,maxAliasCount:n,onAnchor:i,reviver:a}={}){let o={anchors:new Map,doc:this,keep:!e,mapAsMap:!0===r,mapKeyWarned:!1,maxAliasCount:"number"==typeof n?n:100},s=uo(this.contents,t??"",o);if("function"==typeof i)for(let{count:e,res:t}
145of o.anchors.values())i(t,e);return"function"==typeof a?ua(a,{"":s},"",s):s}toJSON(e,t){return this.toJS({json:!0,jsonArg:e,mapAsMap:!1,onAnchor:t})}toString(e={}){if(this.errors.length>0)throw Error("Document with errors cannot be stringified");if("indent"in e&&(!Number.isInteger(e.indent)||0>=Number(e.indent))){let t=JSON.stringify(e.indent);throw Error(`"indent" option must be a positive integer, not ${t}`)}return dG(this,e)}}function dJ(e){if(cK(e))return!0;throw Error("Expected a YAML collection as document contents")}class dX extends Error{constructor(e,t,r,n){super(),this.name=e,this.code=r,this.message=n,this.pos=t}}class dQ extends dX{constructor(e,t,r){super("YAMLParseError",e,t,r)}}class dZ extends dX{constructor(e,t,r){super("YAMLWarning",e,t,r)}}let d0=(e,t)=>r=>{if(-1===r.pos[0])return;r.linePos=r.pos.map(e=>t.linePos(e));let{line:n,col:i}=r.linePos[0];r.message+=` at line ${n}, column ${i}`;let a=i-1,o=e.substring(t.lineStarts[n-1],t.lineStarts[n]).replace(/[\n\r]+$/,"");if(a>=60&&o.length>80){let e=Math.min(a-39,o.length-79);o="â¦"+o.substring(e),a-=e-1}if(o.length>80&&(o=o.substring(0,79)+"â¦"),n>1&&/^ *$/.test(o.substring(0,a))){let r=e.substring(t.lineStarts[n-2],t.lineStarts[n-1]);r.length>80&&(r=r.substring(0,79)+"â¦\n"),o=r+o}if(/[^ ]/.test(o)){let e=1,t=r.linePos[1];t?.line===n&&t.col>i&&(e=Math.max(1,Math.min(t.col-i,80-a)));let s=" ".repeat(a)+"^".repeat(e);r.message+=`: 146 147${o} 148${s} 149`}};function d1(e,{flow:t,indicator:r,next:n,offset:i,onError:a,parentIndent:o,startOnNewline:s}){let l=!1,c=s,u=s,d="",p="",h=!1,f=!1,m=null,g=null,y=null,v=null,b=null,w=null,x=null;for(let i of e)switch(f&&("space"!==i.type&&"newline"!==i.type&&"comma"!==i.type&&a(i.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),f=!1),m&&(c&&"comment"!==i.type&&"newline"!==i.type&&a(m,"TAB_AS_INDENT","Tabs are not allowed as indentation"),m=null),i.type){case"space":!t&&("doc-start"!==r||n?.type!=="flow-collection")&&i.source.includes(" ")&&(m=i),u=!0;break;case"comment":{u||a(i,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");let e=i.source.substring(1)||" ";d?d+=p+e:d=e,p="",c=!1;break}case"newline":c?d?d+=i.source:w&&"seq-item-ind"===r||(l=!0):p+=i.source,c=!0,h=!0,(g||y)&&(v=i),u=!0;break;case"anchor":g&&a(i,"MULTIPLE_ANCHORS","A node can have at most one anchor"),i.source.endsWith(":")&&a(i.offset+i.source.length-1,"BAD_ALIAS","Anchor ending in : is ambiguous",!0),g=i,x??(x=i.offset),c=!1,u=!1,f=!0;break;case"tag":y&&a(i,"MULTIPLE_TAGS","A node can have at most one tag"),y=i,x??(x=i.offset),c=!1,u=!1,f=!0;break;case r:(g||y)&&a(i,"BAD_PROP_ORDER",`Anchors and tags must be after the ${i.source} indicator`),w&&a(i,"UNEXPECTED_TOKEN",`Unexpected ${i.source} in ${t??"collection"}`),w=i,c="seq-item-ind"===r||"explicit-key-ind"===r,u=!1;break;case"comma":if(t){b&&a(i,"UNEXPECTED_TOKEN",`Unexpected , in ${t}`),b=i,c=!1,u=!1;break}default:a(i,"UNEXPECTED_TOKEN",`Unexpected ${i.type} token`),c=!1,u=!1}let k=e[e.length-1],A=k?k.offset+k.source.length:i;return f&&n&&"space"!==n.type&&"newline"!==n.type&&"comma"!==n.type&&("scalar"!==n.type||""!==n.source)&&a(n.offset,"MISSING_CHAR","Tags and anchors must be separated from the next token by white space"),m&&(c&&m.indent<=o||n?.type==="block-map"||n?.type==="block-seq")&&a(m,"TAB_AS_INDENT","Tabs are not allowed as indentation"),{comma:b,foun
149d:w,spaceBefore:l,comment:d,hasNewline:h,anchor:g,tag:y,newlineAfterProp:v,end:A,start:x??A}}function d2(e){if(!e)return null;switch(e.type){case"alias":case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":if(e.source.includes("\n"))return!0;if(e.end){for(let t of e.end)if("newline"===t.type)return!0}return!1;case"flow-collection":for(let t of e.items){for(let e of t.start)if("newline"===e.type)return!0;if(t.sep){for(let e of t.sep)if("newline"===e.type)return!0}if(d2(t.key)||d2(t.value))return!0}return!1;default:return!0}}function d5(e,t,r){if(t?.type==="flow-collection"){let n=t.end[0];n.indent===e&&("]"===n.source||"}"===n.source)&&d2(t)&&r(n,"BAD_INDENT","Flow end indicator should be more indented than parent",!0)}}function d3(e,t,r){let{uniqueKeys:n}=e.options;if(!1===n)return!1;let i="function"==typeof n?n:(e,t)=>e===t||cW(e)&&cW(t)&&e.value===t.value;return t.some(e=>i(e.key,r))}let d4="All mapping items must start at the same column";function d6({composeNode:e,composeEmptyNode:t},r,n,i,a){let o=new(a?.nodeClass??u2)(r.schema);r.atRoot&&(r.atRoot=!1);let s=n.offset,l=null;for(let a of n.items){let{start:c,key:u,sep:d,value:p}=a,h=d1(c,{indicator:"explicit-key-ind",next:u??d?.[0],offset:s,onError:i,parentIndent:n.indent,startOnNewline:!0}),f=!h.found;if(f){if(u&&("block-seq"===u.type?i(s,"BLOCK_AS_IMPLICIT_KEY","A block sequence may not be used as an implicit map key"):"indent"in u&&u.indent!==n.indent&&i(s,"BAD_INDENT",d4)),!h.anchor&&!h.tag&&!d){l=h.end,h.comment&&(o.comment?o.comment+="\n"+h.comment:o.comment=h.comment);continue}(h.newlineAfterProp||d2(u))&&i(u??c[c.length-1],"MULTILINE_IMPLICIT_KEY","Implicit keys need to be on a single line")}else h.found?.indent!==n.indent&&i(s,"BAD_INDENT",d4);r.atKey=!0;let m=h.end,g=u?e(r,u,h,i):t(r,m,c,null,h,i);r.schema.compat&&d5(n.indent,u,i),r.atKey=!1,d3(r,o.items,g)&&i(m,"DUPLICATE_KEY","Map keys must be unique");let y=d1(d??[],{indicator:"map-value-ind",next:p,offset:g.range[2],onError:i,parentIndent:n.indent,startOnNewline:!u||"block-scalar"===u.type});if(s=y.end,y.found){f&&(p?.type!=="block-map"||y.hasNewline||i(s,"BLOCK_AS_IMPLICIT_KEY","Nested mappings are not allowed in compact mappings"),r.options.strict&&h.start<y.found.offset-1024&&i(g.range,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit block mapping key"));let l=p?e(r,p,y,i):t(r,s,d,null,y,i);r.schema.compat&&d5(n.indent,p,i),s=l.range[2];let c=new uJ(g,l);r.options.keepSourceTokens&&(c.srcToken=a),o.items.push(c)}else{f&&i(g.range,"MISSING_CHAR","Implicit map keys need to be followed by map values"),y.comment&&(g.comment?g.comment+="\n"+y.comment:g.comment=y.comment);let e=new uJ(g);r.options.keepSourceTokens&&(e.srcToken=a),o.items.push(e)}}return l&&l<s&&i(l,"IMPOSSIBLE","Map comment with trailing content"),o.range=[n.offset,s,l??s],o}function d9({composeNode:e,composeEmptyNode:t},r,n,i,a){let o=new(a?.nodeClass??u3)(r.schema);r.atRoot&&(r.atRoot=!1),r.atKey&&(r.atKey=!1);let s=n.offset,l=null;for(let{start:a,value:c}of n.items){let u=d1(a,{indicator:"seq-item-ind",next:c,offset:s,onError:i,parentIndent:n.indent,startOnNewline:!0});if(!u.found)if(u.anchor||u.tag||c)c?.type==="block-seq"?i(u.end,"BAD_INDENT","All sequence items must start at the same column"):i(s,"MISSING_CHAR","Sequence item without - indicator");else{l=u.end,u.comment&&(o.comment=u.comment);continue}let d=c?e(r,c,u,i):t(r,u.end,a,null,u,i);r.schema.compat&&d5(n.indent,c,i),s=d.range[2],o.items.push(d)}return o.range=[n.offset,s,l??s],o}function d8(e,t,r,n){let i="";if(e){let a=!1,o="";for(let s of e){let{source:e,type:l}=s;switch(l){case"space":a=!0;break;case"comment":{r&&!a&&n(s,"MISSING_CHAR","Comments must be separated from other tokens by white space characters");let t=e.substring(1)||" ";i?i+=o+t:i=t,o="";break}case"newline":i&&(o+=e),a=!0;break;default:n(s,"UNEXPECTED_TOKEN",`Unexpected ${l} at node end`)}t+=e.length}}return{comment:i,offset:t}}let d7="Block collections are not allowed within flow collections",pe=e=>e&&("block-map"===e.type||"block-seq"===e.type);function pt({composeNode:e,composeEmptyNode:t},r,n,i,a){let o="{"===n.start.source,s=o?"flow map":"flow sequence",l=new(a?.nodeClass??
149(o?u2:u3))(r.schema);l.flow=!0;let c=r.atRoot;c&&(r.atRoot=!1),r.atKey&&(r.atKey=!1);let u=n.offset+n.start.source.length;for(let a=0;a<n.items.length;++a){let c=n.items[a],{start:d,key:p,sep:h,value:f}=c,m=d1(d,{flow:s,indicator:"explicit-key-ind",next:p??h?.[0],offset:u,onError:i,parentIndent:n.indent,startOnNewline:!1});if(!m.found){if(!m.anchor&&!m.tag&&!h&&!f){0===a&&m.comma?i(m.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${s}`):a<n.items.length-1&&i(m.start,"UNEXPECTED_TOKEN",`Unexpected empty item in ${s}`),m.comment&&(l.comment?l.comment+="\n"+m.comment:l.comment=m.comment),u=m.end;continue}!o&&r.options.strict&&d2(p)&&i(p,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line")}if(0===a)m.comma&&i(m.comma,"UNEXPECTED_TOKEN",`Unexpected , in ${s}`);else if(m.comma||i(m.start,"MISSING_CHAR",`Missing , between ${s} items`),m.comment){let e="";n:for(let t of d)switch(t.type){case"comma":case"space":break;case"comment":e=t.source.substring(1);break n;default:break n}if(e){let t=l.items[l.items.length-1];cY(t)&&(t=t.value??t.key),t.comment?t.comment+="\n"+e:t.comment=e,m.comment=m.comment.substring(e.length+1)}}if(o||h||m.found){r.atKey=!0;let a=m.end,g=p?e(r,p,m,i):t(r,a,d,null,m,i);pe(p)&&i(g.range,"BLOCK_IN_FLOW",d7),r.atKey=!1;let y=d1(h??[],{flow:s,indicator:"map-value-ind",next:f,offset:g.range[2],onError:i,parentIndent:n.indent,startOnNewline:!1});if(y.found){if(!o&&!m.found&&r.options.strict){if(h)for(let e of h){if(e===y.found)break;if("newline"===e.type){i(e,"MULTILINE_IMPLICIT_KEY","Implicit keys of flow sequence pairs need to be on a single line");break}}m.start<y.found.offset-1024&&i(y.found,"KEY_OVER_1024_CHARS","The : indicator must be at most 1024 chars after the start of an implicit flow sequence key")}}else f&&("source"in f&&f.source?.[0]===":"?i(f,"MISSING_CHAR",`Missing space after : in ${s}`):i(y.start,"MISSING_CHAR",`Missing , or : between ${s} items`));let v=f?e(r,f,y,i):y.found?t(r,y.end,h,null,y,i):null;v?pe(f)&&i(v.range,"BLOCK_IN_FLOW",d7):y.comment&&(g.comment?g.comment+="\n"+y.comment:g.comment=y.comment);let b=new uJ(g,v);if(r.options.keepSourceTokens&&(b.srcToken=c),o){let e=l;d3(r,e.items,g)&&i(a,"DUPLICATE_KEY","Map keys must be unique"),e.items.push(b)}else{let e=new u2(r.schema);e.flow=!0,e.items.push(b);let t=(v??g).range;e.range=[g.range[0],t[1],t[2]],l.items.push(e)}u=v?v.range[2]:y.end}else{let n=f?e(r,f,m,i):t(r,m.end,h,null,m,i);l.items.push(n),u=n.range[2],pe(f)&&i(n.range,"BLOCK_IN_FLOW",d7)}}let d=o?"}":"]",[p,...h]=n.end,f=u;if(p?.source===d)f=p.offset+p.source.length;else{let e=s[0].toUpperCase()+s.substring(1),t=c?`${e} must end with a ${d}`:`${e} in block collection must be sufficiently indented and end with a ${d}`;i(u,c?"MISSING_CHAR":"BAD_INDENT",t),p&&1!==p.source.length&&h.unshift(p)}if(h.length>0){let e=d8(h,f,r.options.strict,i);e.comment&&(l.comment?l.comment+="\n"+e.comment:l.comment=e.comment),l.range=[n.offset,f,e.offset]}else l.range=[n.offset,f,f];return l}function pr(e,t,r,n,i,a){let o="block-map"===r.type?d6(e,t,r,n,a):"block-seq"===r.type?d9(e,t,r,n,a):pt(e,t,r,n,a),s=o.constructor;return"!"===i||i===s.tagName?o.tag=s.tagName:i&&(o.tag=i),o}function pn(e,t,r,n,i){let a=n.tag,o=a?t.directives.tagName(a.source,e=>i(a,"TAG_RESOLVE_FAILED",e)):null;if("block-seq"===r.type){let{anchor:e,newlineAfterProp:t}=n,r=e&&a?e.offset>a.offset?e:a:e??a;r&&(!t||t.offset<r.offset)&&i(r,"MISSING_CHAR","Missing newline after block sequence props")}let s="block-map"===r.type?"map":"block-seq"===r.type?"seq":"{"===r.start.source?"map":"seq";if(!a||!o||"!"===o||o===u2.tagName&&"map"===s||o===u3.tagName&&"seq"===s)return pr(e,t,r,i,o);let l=t.schema.tags.find(e=>e.tag===o&&e.collection===s);if(!l){let n=t.schema.knownTags[o];if(n?.collection!==s)return n?i(a,"BAD_COLLECTION_TYPE",`${n.tag} used for ${s} collection, but expects ${n.collection??"scalar"}`,!0):i(a,"TAG_RESOLVE_FAILED",`Unresolved tag: ${o}`,!0),pr(e,t,r,i,o);t.schema.tags.push(Object.assign({},n,{default:!1})),l=n}let c=pr(e,t,r,i,o,l),u=l.resolve?.(c,e=>i(a,"TAG_RESOLVE_FAILED",e),t.options)??c,d=cJ(u)?u:new ud(u);return d.range=c.range,d.tag=o,l?.format&&(d.format=l.format),d}function pi(e,t,r){let n=t.offset,i=pa(t,e.options.strict,r);if(!i)return{value:"",type:null,comment:"",range:[n,n,n]};let a=">"===i.mode?ud.BLOCK_FOLDED:ud.BLOCK_LITERAL,o=t.source?po(t.source):[],s=o.length;for(let e=o.length-1;e>=0;--e){let t=o[e][1];if(""===t||"\r"===t)s=e;else break}if(0===s){let e="+"===i.chomp&&o.length>0?"\n".repeat(Math.max(1,o.length-1)):"",r=n+i.length;return t.source&&(r+=t.source.length),{value:e,type:a,comment:i.comment,range:[n,r,r]}}let l=t.indent+i.indent,c=t.offset+i.length,u=0;for(let t=0;t<s;++t){let[n,a]=o[t];if(""===a||"\r"===a)0===i.indent&&n.length>l&&(l=n.length);else{if(n.length<l){let e="Block scalars with more-indented leading empty lines must use an explicit indentation indicator";r(c+n.length,"MISSING_CHAR",e)}0===i.indent&&(l=n.length),u=t,0!==l||e.atRoot||r(c,"BAD_INDENT","Block scalar values in collections must be indented");break}c+=n.length+a.length+1}for(let e=o.length-1;e>=s;--e)o[e][0].length>l&&(s=e+1);let d="",p="",h=!1;for(let e=0;e<u;++e)d+=o[e][0].slice(l)+"\n";for(let e=u;e<s;++e){let[t,n]=o[e];c+=t.length+n.length+1;let s="\r"===n[n.length-1];if(s&&(n=n.slice(0,-1)),n&&t.length<l){let e=i.indent?"explicit indentation indicator":"first line",a=`Block scalar lines must not be less indented than their ${e}`;r(c-n.length-(s?2:1),"BAD_INDENT",a),t=""}a===ud.BLOCK_LITERAL?(d+=p+t.slice(l)+n,p="\n"):t.length>l||" "===n[0]?(" "===p?p="\n":h||"\n"!==p||(p="\n\n"),d+=p+t.slice(l)+n,p="\n",h=!0):""===n?"\n"===p?d+="\n":p="\n":(d+=p+n,p=" ",h=!1)}switch(i.chomp){case"-":break;case"+":for(let e=s;e<o.length;++e)d+="\n"+o[e][0].slice(l);"\n"!==d[d.length-1]&&(d+="\n");break;default:d+="\n"}let f=n+i.length+t.source.length;return{value:d,type:a,comment:i.comment,range:[n,f,f]}}function pa({offset:e,props:t},r,n){if("block-scalar-header"!==t[0].type)return n(t[0],"IMPOSSIBLE","Block scalar header not found"),null;let{source:i}=t[0],a=i[0],o=0,s="",l=-1;for(let t=1;t<i.length;++t){let r=i[t];if(s||"-"!==r&&"+"!==r){let n=Number(r);!o&&n?o=n:-1===l&&(l=e+t)}else s=r}-1!==l&&n(l,"UNEXPECTED_TOKEN",`Block scalar header includes extra characters: ${i}`);let c=!1,u="",d=i.length;for(let e=1;e<t.length;++e){let i=t[e];switch(i.type){case"space":c=!0;case"newline":d+=i.source.length;break;case"comment":r&&!c&&n(i,"MISSING_CHAR","Comments must be separated from other tokens by white space characters"),d+=i.source.length,u=i.source.substring(1);break;case"error":n(i,"UNEXPECTED_TOKEN",i.message),d+=i.source.length;break;default:{let e=`Unexpected token in block scalar header: ${i.type}`;n(i,"UNEXPECTED_TOKEN",e);let t=i.source;t&&"string"==typeof t&&(d+=t.length)}}}return{mode:a,indent:o,chomp:s,comment:u,length:d}}function po(e){let t=e.split(/\n( *)/),r=t[0],n=r.match(/^( *)/),i=[n?.[1]?[n[1],r.slice(n[1].length)]:["",r]];for(let e=1;e<t.length;e+=2)i.push([t[e],t[e+1]]);return i}function ps(e,t,r){let n,i,{offset:a,type:o,source:s,end:l}=e,c=(e,t,n)=>
149r(a+e,t,n);switch(o){case"scalar":n=ud.PLAIN,i=pl(s,c);break;case"single-quoted-scalar":n=ud.QUOTE_SINGLE,i=pc(s,c);break;case"double-quoted-scalar":n=ud.QUOTE_DOUBLE,i=pd(s,c);break;default:return r(e,"UNEXPECTED_TOKEN",`Expected a flow scalar value, but found: ${o}`),{value:"",type:null,comment:"",range:[a,a+s.length,a+s.length]}}let u=a+s.length,d=d8(l,u,t,r);return{value:i,type:n,comment:d.comment,range:[a,u,d.offset]}}function pl(e,t){let r="";switch(e[0]){case" ":r="a tab character";break;case",":r="flow indicator character ,";break;case"%":r="directive indicator character %";break;case"|":case">":r=`block scalar indicator ${e[0]}`;break;case"@":case"`":r=`reserved character ${e[0]}`}return r&&t(0,"BAD_SCALAR_START",`Plain value cannot start with ${r}`),pu(e)}function pc(e,t){return("'"!==e[e.length-1]||1===e.length)&&t(e.length,"MISSING_CHAR","Missing closing 'quote"),pu(e.slice(1,-1)).replace(/''/g,"'")}function pu(e){let t,r;try{t=RegExp("(.*?)(?<![ ])[ ]*\r?\n","sy"),r=RegExp("[ ]*(.*?)(?:(?<![ ])[ ]*)?\r?\n","sy")}catch{t=/(.*?)[ \t]*\r?\n/sy,r=/[ \t]*(.*?)[ \t]*\r?\n/sy}let n=t.exec(e);if(!n)return e;let i=n[1],a=" ",o=t.lastIndex;for(r.lastIndex=o;n=r.exec(e);)""===n[1]?"\n"===a?i+=a:a="\n":(i+=a+n[1],a=" "),o=r.lastIndex;let s=/[ \t]*(.*)/sy;return s.lastIndex=o,n=s.exec(e),i+a+(n?.[1]??"")}function pd(e,t){let r="";for(let n=1;n<e.length-1;++n){let i=e[n];if("\r"!==i||"\n"!==e[n+1])if("\n"===i){let{fold:t,offset:i}=pp(e,n);r+=t,n=i}else if("\\"===i){let i=e[++n],a=ph[i];if(a)r+=a;else if("\n"===i)for(i=e[n+1];" "===i||" "===i;)i=e[++n+1];else if("\r"===i&&"\n"===e[n+1])for(i=e[++n+1];" "===i||" "===i;)i=e[++n+1];else if("x"===i||"u"===i||"U"===i){let a="x"===i?2:"u"===i?4:8;r+=pf(e,n+1,a,t),n+=a}else{let i=e.substr(n-1,2);t(n-1,"BAD_DQ_ESCAPE",`Invalid escape sequence ${i}`),r+=i}}else if(" "===i||" "===i){let t=n,a=e[n+1];for(;" "===a||" "===a;)a=e[++n+1];"\n"!==a&&("\r"!==a||"\n"!==e[n+2])&&(r+=n>t?e.slice(t,n+1):i)}else r+=i}return('"'!==e[e.length-1]||1===e.length)&&t(e.length,"MISSING_CHAR",'Missing closing "quote'),r}function pp(e,t){let r="",n=e[t+1];for(;(" "===n||" "===n||"\n"===n||"\r"===n)&&("\r"!==n||"\n"===e[t+2]);)"\n"===n&&(r+="\n"),t+=1,n=e[t+1];return r||(r=" "),{fold:r,offset:t}}let ph={0:"\0",a:"\x07",b:"\b",e:"\x1b",f:"\f",n:"\n",r:"\r",t:" ",v:"\v",N:"\x85",_:"\xa0",L:"\u2028",P:"\u2029"," ":" ",'"':'"',"/":"/","\\":"\\"," ":" "};function pf(e,t,r,n){let i=e.substr(t,r),a=i.length===r&&/^[0-9a-fA-F]+$/.test(i)?parseInt(i,16):NaN;try{return String.fromCodePoint(a)}catch{let i=e.substr(t-2,r+2);return n(t-2,"BAD_DQ_ESCAPE",`Invalid escape sequence ${i}`),i}}function pm(e,t,r,n){let i,a,{value:o,type:s,comment:l,range:c}="block-scalar"===t.type?pi(e,t,n):ps(t,e.options.strict,n),u=r?e.directives.tagName(r.source,e=>n(r,"TAG_RESOLVE_FAILED",e)):null;i=e.options.stringKeys&&e.atKey?e.schema[cB]:u?pg(e.schema,o,u,r,n):"scalar"===t.type?py(e,o,t,n):e.schema[cB];try{let s=i.resolve(o,e=>n(r??t,"TAG_RESOLVE_FAILED",e),e.options);a=cW(s)?s:new ud(s)}catch(e){n(r??t,"TAG_RESOLVE_FAILED",e instanceof Error?e.message:String(e)),a=new ud(o)}return a.range=c,a.source=o,s&&(a.type=s),u&&(a.tag=u),i.format&&(a.format=i.format),l&&(
149a.comment=l),a}function pg(e,t,r,n,i){if("!"===r)return e[cB];let a=[];for(let t of e.tags)if(!t.collection&&t.tag===r)if(!t.default||!t.test)return t;else a.push(t);for(let e of a)if(e.test?.test(t))return e;let o=e.knownTags[r];return o&&!o.collection?(e.tags.push(Object.assign({},o,{default:!1,test:void 0})),o):(i(n,"TAG_RESOLVE_FAILED",`Unresolved tag: ${r}`,"tag:yaml.org,2002:str"!==r),e[cB])}function py({atKey:e,directives:t,schema:r},n,i,a){let o=r.tags.find(t=>(!0===t.default||e&&"key"===t.default)&&t.test?.test(n))||r[cB];if(r.compat){let e=r.compat.find(e=>e.default&&e.test?.test(n))??r[cB];if(o.tag!==e.tag){let r=t.tagString(o.tag),n=t.tagString(e.tag);a(i,"TAG_RESOLVE_FAILED",`Value may be parsed as either ${r} or ${n}`,!0)}}return o}function pv(e,t,r){if(t){r??(r=t.length);for(let n=r-1;n>=0;--n){let r=t[n];switch(r.type){case"space":case"comment":case"newline":e-=r.source.length;continue}for(r=t[++n];r?.type==="space";)e+=r.source.length,r=t[++n];break}}return e}let pb={composeNode:pw,composeEmptyNode:px};function pw(e,t,r,n){let i,a=e.atKey,{spaceBefore:o,comment:s,anchor:l,tag:c}=r,u=!0;switch(t.type){case"alias":i=pk(e,t,n),(l||c)&&n(t,"ALIAS_PROPS","An alias node must not specify any properties");break;case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"block-scalar":i=pm(e,t,c,n),l&&(i.anchor=l.source.substring(1));break;case"block-map":case"block-seq":case"flow-collection":try{i=pn(pb,e,t,r,n),l&&(i.anchor=l.source.substring(1))}catch(e){n(t,"RESOURCE_EXHAUSTION",e instanceof Error?e.message:String(e))}break;default:{let e="error"===t.type?t.message:`Unsupported token (type: ${t.type})`;n(t,"UNEXPECTED_TOKEN",e),u=!1}}return i??(i=px(e,t.offset,void 0,null,r,n)),l&&""===i.anchor&&n(l,"BAD_ALIAS","Anchor cannot be an empty string"),a&&e.options.stringKeys&&(!cW(i)||"string"!=typeof i.value||i.tag&&"tag:yaml.org,2002:str"!==i.tag)&&n(c??t,"NON_STRING_KEY","With stringKeys, all keys must be strings"),o&&(i.spaceBefore=!0),s&&("scalar"===t.type&&""===t.source?i.comment=s:i.commentBefore=s),e.options.keepSourceTokens&&u&&(i.srcToken=t),i}function px(e,t,r,n,{spaceBefore:i,comment:a,anchor:o,tag:s,end:l},c){let u=pm(e,{type:"scalar",offset:pv(t,r,n),indent:-1,source:""},s,c);return o&&(u.anchor=o.source.substring(1),""===u.anchor&&c(o,"BAD_ALIAS","Anchor cannot be an empty string")),i&&(u.spaceBefore=!0),a&&(u.comment=a,u.range[2]=l),u}function pk({options:e},{offset:t,source:r,end:n},i){let a=new ul(r.substring(1));""===a.source&&i(t,"BAD_ALIAS","Alias cannot be an empty string"),a.source.endsWith(":")&&i(t+r.length-1,"BAD_ALIAS","Alias ending in : is ambiguous",!0);let o=t+r.length,s=d8(n,o,e.strict,i);return a.range=[t,o,s.offset],s.comment&&(a.comment=s.comment),a}function pA(e,t,{offset:r,start:n,value:i,end:a},o){let s=new dK(void 0,Object.assign({_directives:t},e)),l={atKey:!1,atRoot:!0,directives:s.directives,options:s.options,schema:s.schema},c=d1(n,{indicator:"doc-start",next:i??a?.[0],offset:r,onError:o,parentIndent:0,startOnNewline:!0});c.found&&(s.directives.docStart=!0,i&&("block-map"===i.type||"block-seq"===i.type)&&!c.hasNewline&&o(c.end,"MISSING_CHAR","Block collection cannot start on same line with directives-end marker")),s.contents=i?pw(l,i,c,o):px(l,c.end,n,null,c,o);let u=s.contents.range[2],d=d8(a,u,!1,o);return d.comment&&(s.comment=d.comment),s.range=[r,u,d.offset],s}function pC(e){if("number"==typeof e)return[e,e+1];if(Array.isArray(e))return 2===e.length?e:[e[0],e[1]];let{offset:t,source:r}=e;return[t,t+("string"==typeof r?r.length:1)]}function pS(e){let t="",r=!1,n=!1;for(let i=0;i<e.length;++i){let a=e[i];switch(a[0]){case"#":t+=(""===t?"":n?"\n\n":"\n")+(a.substring(1)||" "),r=!0,n=!1;break;case"%":e[i+1]?.[0]!=="#"&&(i+=1),r=!1;break;default:r||(n=!0),r=!1}}return{comment:t,afterEmptyLine:n}}class pE{constructor(e={}){this.doc=null,this.atDirectives=!1,this.prelude=[],this.errors=[],this.warnings=[],this.onError=(e,t,r,n)=>{let i=pC(e);n?this.warnings.push(new dZ(i,t,r)):this.errors.push(new dQ(i,t,r))},this.directives=new ue({version:e.version||"1.2"}),this.options=e}
149decorate(e,t){let{comment:r,afterEmptyLine:n}=pS(this.prelude);if(r){let i=e.contents;if(t)e.comment=e.comment?`${e.comment} 150${r}`:r;else if(n||e.directives.docStart||!i)e.commentBefore=r;else if(cK(i)&&!i.flow&&i.items.length>0){let e=i.items[0];cY(e)&&(e=e.key);let t=e.commentBefore;e.commentBefore=t?`${r} 151${t}`:r}else{let e=i.commentBefore;i.commentBefore=e?`${r} 152${e}`:r}}t?(Array.prototype.push.apply(e.errors,this.errors),Array.prototype.push.apply(e.warnings,this.warnings)):(e.errors=this.errors,e.warnings=this.warnings),this.prelude=[],this.errors=[],this.warnings=[]}streamInfo(){return{comment:pS(this.prelude).comment,directives:this.directives,errors:this.errors,warnings:this.warnings}}*compose(e,t=!1,r=-1){for(let t of e)yield*this.next(t);yield*this.end(t,r)}*next(e){switch(e.type){case"directive":this.directives.add(e.source,(t,r,n)=>{let i=pC(e);i[0]+=t,this.onError(i,"BAD_DIRECTIVE",r,n)}),this.prelude.push(e.source),this.atDirectives=!0;break;case"document":{let t=pA(this.options,this.directives,e,this.onError);this.atDirectives&&!t.directives.docStart&&this.onError(e,"MISSING_CHAR","Missing directives-end/doc-start indicator line"),this.decorate(t,!1),this.doc&&(yield this.doc),this.doc=t,this.atDirectives=!1;break}case"byte-order-mark":case"space":break;case"comment":case"newline":this.prelude.push(e.source);break;case"error":{let t=e.source?`${e.message}: ${JSON.stringify(e.source)}`:e.message,r=new dQ(pC(e),"UNEXPECTED_TOKEN",t);this.atDirectives||!this.doc?this.errors.push(r):this.doc.errors.push(r);break}case"doc-end":{if(!this.doc){let t="Unexpected doc-end without preceding document";this.errors.push(new dQ(pC(e),"UNEXPECTED_TOKEN",t));break}this.doc.directives.docEnd=!0;let t=d8(e.end,e.offset+e.source.length,this.doc.options.strict,this.onError);if(this.decorate(this.doc,!0),t.comment){let e=this.doc.comment;this.doc.comment=e?`${e} 153${t.comment}`:t.comment}this.doc.range[2]=t.offset;break}default:this.errors.push(new dQ(pC(e),"UNEXPECTED_TOKEN",`Unsupported token ${e.type}`))}}*end(e=!1,t=-1){if(this.doc)this.decorate(this.doc,!0),yield this.doc,this.doc=null;else if(e){let e=new dK(void 0,Object.assign({_directives:this.directives},this.options));this.atDirectives&&this.onError(t,"MISSING_CHAR","Missing directives-end indicator line"),e.range=[0,t,t],this.decorate(e,!1),yield e}}}function p_(e,t=!0,r){if(e){let n=(e,t,n)=>{let i="number"==typeof e?e:Array.isArray(e)?e[0]:e.offset;if(r)r(i,t,n);else throw new dQ([i,i+1],t,n)};switch(e.type){case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return ps(e,t,n);case"block-scalar":return pi({options:{strict:t}},e,n)}}return null}function pT(e,t){let{implicitKey:r=!1,indent:n,inFlow:i=!1,offset:a=-1,type:o="PLAIN"}=t,s=uN({type:o,value:e},{implicitKey:r,indent:n>0?" ".repeat(n):"",inFlow:i,options:{blockQuote:!0,lineWidth:-1}}),l=t.end??[{type:"newline",offset:-1,indent:n,source:"\n"}];switch(s[0]){case"|":case">":{let e=s.indexOf("\n"),t=s.substring(0,e),r=s.substring(e+1)+"\n",i=[{type:"block-scalar-header",offset:a,indent:n,source:t}];return pI(i,l)||i.push({type:"newline",offset:-1,indent:n,source:"\n"}),{type:"block-scalar",offset:a,indent:n,props:i,source:r}}case'"':return{type:"double-quoted-scalar",offset:a,indent:n,source:s,end:l};case"'":return{type:"single-quoted-scalar",offset:a,indent:n,source:s,end:l};default:return{type:"scalar",offset:a,indent:n,source:s,end:l}}}function pP(e,t,r={}){let{afterKey:n=!1,implicitKey:i=!1,inFlow:a=!1,type:o}=r,s="indent"in e?e.indent:null;if(n&&"number"==typeof s&&(s+=2),!o)switch(e.type){case"single-quoted-scalar":o="QUOTE_SINGLE";break;case"double-quoted-scalar":o="QUOTE_DOUBLE";break;case"block-scalar":{let t=e.props[0];if("block-scalar-header"!==t.type)throw Error("Invalid block scalar header");o=">"===t.source[0]?"BLOCK_FOLDED":"BLOCK_LITERAL";break}default:o="PLAIN"}let l=uN({type:o,value:t},{implicitKey:i||null===s,indent:null!==s&&s>0?" ".repeat(s):"",inFlow:a,options:{blockQuote:!0,lineWidth:-1}});switch(l[0]){case"|":case">":pO(e,l);break;case'"':pM(e,l,"double-quoted-scalar");break;case"'":pM(e,l,"single-quoted-scalar");break;default:pM(e,l,"scalar")}}function pO(e,t){let r=t.indexOf("\n"),n=t.substring(0,r),i=t.substring(r+1)+"\n";if("block-scalar"===e.type){let t=e.props[0];if("block-scalar-header"!==t.type)throw Error("Invalid block scalar header");t.source=n,e.source=i}else{let{offset:t}=e,r="indent"in e?e.indent:-1,a=[{type:"block-scalar-header",offset:t,indent:r,source:n}];for(let t of(pI(a,"end"in e?e.end:void 0)||a.push({type:"newline",offset:-1,indent:r,source:"\n"}
153),Object.keys(e)))"type"!==t&&"offset"!==t&&delete e[t];Object.assign(e,{type:"block-scalar",indent:r,props:a,source:i})}}function pI(e,t){if(t)for(let r of t)switch(r.type){case"space":case"comment":e.push(r);break;case"newline":return e.push(r),!0}return!1}function pM(e,t,r){switch(e.type){case"scalar":case"double-quoted-scalar":case"single-quoted-scalar":e.type=r,e.source=t;break;case"block-scalar":{let n=e.props.slice(1),i=t.length;for(let t of("block-scalar-header"===e.props[0].type&&(i-=e.props[0].source.length),n))t.offset+=i;delete e.props,Object.assign(e,{type:r,source:t,end:n});break}case"block-map":case"block-seq":{let n={type:"newline",offset:e.offset+t.length,indent:e.indent,source:"\n"};delete e.items,Object.assign(e,{type:r,source:t,end:[n]});break}default:{let n="indent"in e?e.indent:-1,i="end"in e&&Array.isArray(e.end)?e.end.filter(e=>"space"===e.type||"comment"===e.type||"newline"===e.type):[];for(let t of Object.keys(e))"type"!==t&&"offset"!==t&&delete e[t];Object.assign(e,{type:r,indent:n,source:t,end:i})}}}let pL=e=>"type"in e?pN(e):pR(e);function pN(e){switch(e.type){case"block-scalar":{let t="";for(let r of e.props)t+=pN(r);return t+e.source}case"block-map":case"block-seq":{let t="";for(let r of e.items)t+=pR(r);return t}case"flow-collection":{let t=e.start.source;for(let r of e.items)t+=pR(r);for(let r of e.end)t+=r.source;return t}case"document":{let t=pR(e);if(e.end)for(let r of e.end)t+=r.source;return t}default:{let t=e.source;if("end"in e&&e.end)for(let r of e.end)t+=r.source;return t}}}function pR({start:e,key:t,sep:r,value:n}){let i="";for(let t of e)i+=t.source;if(t&&(i+=pN(t)),r)for(let e of r)i+=e.source;return n&&(i+=pN(n)),i}let pj=Symbol("break visit"),pD=Symbol("skip children"),pF=Symbol("remove item");function pV(e,t){"type"in e&&"document"===e.type&&(e={start:e.start,value:e.value}),pB(Object.freeze([]),e,t)}function pB(e,t,r){let n=r(t,e);if("symbol"==typeof n)return n;for(let i of["key","value"]){let a=t[i];if(a&&"items"in a){for(let t=0;t<a.items.length;++t){let n=pB(Object.freeze(e.concat([[i,t]])),a.items[t],r);if("number"==typeof n)t=n-1;else{if(n===pj)return pj;n===pF&&(a.items.splice(t,1),t-=1)}}"function"==typeof n&&"key"===i&&(n=n(t,e))}}return"function"==typeof n?n(t,e):n}pV.BREAK=pj,pV.SKIP=pD,pV.REMOVE=pF,pV.itemAtPath=(e,t)=>{let r=e;for(let[e,n]of t){let t=r?.[e];if(!t||!("items"in t))return;r=t.items[n]}return r},pV.parentCollection=(e,t)=>{let r=pV.itemAtPath(e,t.slice(0,-1)),n=t[t.length-1][0],i=r?.[n];if(i&&"items"in i)return i;throw Error("Parent collection not found")};let pz="\uFEFF",p$="\x02",pU="\x18",pq="\x1f",pH=e=>!!e&&"items"in e,pY=e=>!!e&&("scalar"===e.type||"single-quoted-scalar"===e.type||"double-quoted-scalar"===e.type||"block-scalar"===e.type);function pW(e){switch(e){case pz:return"<BOM>";case p$:return"<DOC>";case pU:return"<FLOW_END>";case pq:return"<SCALAR>";default:return JSON.stringify(e)}}function pG(e){switch(e){case pz:return"byte-order-mark";case p$:return"doc-mode";case pU:return"flow-error-end";case pq:return"scalar";case"---":return"doc-start";case"...":return"doc-end";case"":case"\n":case"\r\n":return"newline";case"-":return"seq-item-ind";case"?":return"explicit-key-ind";case":":return"map-value-ind";case"{":return"flow-map-start";case"}":return"flow-map-end";case"[":return"flow-seq-start";case"]":return"flow-seq-end";case",":return"comma"}switch(e[0]){case" ":case" ":return"space";case"#":return"comment";case"%":return"directive-line";case"*":return"alias";case"&":return"anchor";case"!":return"tag";case"'":return"single-quoted-scalar";case'"':return"double-quoted-scalar";case"|":case">":return"block-scalar-header"}return null}function pK(e){switch(e){case void 0:case" ":case"\n":case"\r":case" ":return!0;default:return!1}}let pJ=new Set("0123456789ABCDEFabcdef"),pX=new Set("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz-#;/?:@&=+$_.!~*'()"),pQ=new Set(",[]{}"),pZ=new Set(" ,[]{}\n\r "),p0=e=>!e||pZ.has(e);class p1{constructor(){this.atEnd=!1,this.blockScalarIndent=-1,this.blockScalarKeep=!1,this.buffer="",this.flowKey=!1,this.flowLevel=0,this.indentNext=0,this.indentValue=0,this.lineEndPos=null,this.next=null,this.pos=0}*lex(e,t=!1){if(e){if("string"!=typeof e)throw TypeError("source is not a string");this.buffer=this.buffer?this.buffer+e:e,this.lineEndPos=null}this.atEnd=!t;let r=this.next??"stream";for(;r&&(t||this.hasChars(1));)r=yield*this.parseNext(r)}atLineEnd(){let e=this.pos,t=this.buffer[e];for(;" "===t||" "===t;)t=this.buffer[++e];return!t||"#"===t||"\n"===t||"\r"===t&&"\n"===this.buffer[e+1]}charAt(e){return this.buffer[this.pos+e]}continueScalar(e){let t=this.buffer[e];
153if(this.indentNext>0){let r=0;for(;" "===t;)t=this.buffer[++r+e];if("\r"===t){let t=this.buffer[r+e+1];if("\n"===t||!t&&!this.atEnd)return e+r+1}return"\n"!==t&&!(r>=this.indentNext)&&(t||this.atEnd)?-1:e+r}if("-"===t||"."===t){let t=this.buffer.substr(e,3);if(("---"===t||"..."===t)&&pK(this.buffer[e+3]))return -1}return e}getLine(){let e=this.lineEndPos;return(("number"!=typeof e||-1!==e&&e<this.pos)&&(e=this.buffer.indexOf("\n",this.pos),this.lineEndPos=e),-1===e)?this.atEnd?this.buffer.substring(this.pos):null:("\r"===this.buffer[e-1]&&(e-=1),this.buffer.substring(this.pos,e))}hasChars(e){return this.pos+e<=this.buffer.length}setNext(e){return this.buffer=this.buffer.substring(this.pos),this.pos=0,this.lineEndPos=null,this.next=e,null}peek(e){return this.buffer.substr(this.pos,e)}*parseNext(e){switch(e){case"stream":return yield*this.parseStream();case"line-start":return yield*this.parseLineStart();case"block-start":return yield*this.parseBlockStart();case"doc":return yield*this.parseDocument();case"flow":return yield*this.parseFlowCollection();case"quoted-scalar":return yield*this.parseQuotedScalar();case"block-scalar":return yield*this.parseBlockScalar();case"plain-scalar":return yield*this.parsePlainScalar()}}*parseStream(){let e=this.getLine();if(null===e)return this.setNext("stream");if(e[0]===pz&&(yield*this.pushCount(1),e=e.substring(1)),"%"===e[0]){let t=e.length,r=e.indexOf("#");for(;-1!==r;){let n=e[r-1];if(" "===n||" "===n){t=r-1;break}r=e.indexOf("#",r+1)}for(;;){let r=e[t-1];if(" "===r||" "===r)t-=1;else break}let n=(yield*this.pushCount(t))+(yield*this.pushSpaces(!0));return yield*this.pushCount(e.length-n),this.pushNewline(),"stream"}if(this.atLineEnd()){let t=yield*this.pushSpaces(!0);return yield*this.pushCount(e.length-t),yield*this.pushNewline(),"stream"}return yield p$,yield*this.parseLineStart()}*parseLineStart(){let e=this.charAt(0);if(!e&&!this.atEnd)return this.setNext("line-start");if("-"===e||"."===e){if(!this.atEnd&&!this.hasChars(4))return this.setNext("line-start");let e=this.peek(3);if(("---"===e||"..."===e)&&pK(this.charAt(3)))return yield*this.pushCount(3),this.indentValue=0,this.indentNext=0,"---"===e?"doc":"stream"}return this.indentValue=yield*this.pushSpaces(!1),this.indentNext>this.indentValue&&!pK(this.charAt(1))&&(this.indentNext=this.indentValue),yield*this.parseBlockStart()}*parseBlockStart(){let[e,t]=this.peek(2);if(!t&&!this.atEnd)return this.setNext("block-start");if(("-"===e||"?"===e||":"===e)&&pK(t)){let e=(yield*this.pushCount(1))+(yield*this.pushSpaces(!0));return this.indentNext=this.indentValue+1,this.indentValue+=e,yield*this.parseBlockStart()}return"doc"}*parseDocument(){yield*this.pushSpaces(!0);let e=this.getLine();if(null===e)return this.setNext("doc");let t=yield*this.pushIndicators();switch(e[t]){case"#":yield*this.pushCount(e.length-t);case void 0:return yield*this.pushNewline(),yield*this.parseLineStart();case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel=1,"flow";case"}":case"]":return yield*this.pushCount(1),"doc";case"*":return yield*this.pushUntil(p0),"doc";case'"':case"'":return yield*this.parseQuotedScalar();case"|":case">":return t+=yield*this.parseBlockScalarHeader(),t+=yield*this.pushSpaces(!0),yield*this.pushCount(e.length-t),yield*this.pushNewline(),yield*this.parseBlockScalar();default:return yield*this.parsePlainScalar()}}*parseFlowCollection(){let e,t,r=-1;do(e=yield*this.pushNewline())>0?(t=yield*this.pushSpaces(!1),this.indentValue=r=t):t=0,t+=yield*this.pushSpaces(!0);while(e+t>0);let n=this.getLine();if(null===n)return this.setNext("flow");if((-1!==r&&r<this.indentNext&&"#"!==n[0]||0===r&&(n.startsWith("---")||n.startsWith("..."))&&pK(n[3]))&&(r!==this.indentNext-1||1!==this.flowLevel||"]"!==n[0]&&"}"!==n[0]))return this.flowLevel=0,yield pU,yield*this.parseLineStart();let i=0;for(;","===n[i];)i+=yield*this.pushCount(1),i+=yield*this.pushSpaces(!0),this.flowKey=!1;switch(n[i+=yield*this.pushIndicators()]){case void 0:return"flow";case"#":return yield*this.pushCount(n.length-i),"flow";case"{":case"[":return yield*this.pushCount(1),this.flowKey=!1,this.flowLevel+=1,"flow";case"}":case"]":return yield*this.pushCount(1),this.flowKey=!0,this.flowLevel-=1,this.flowLevel?"flow":"doc";case"*":return yield*this.pushUntil(p0),"flow";case'"':case"'":return this.flowKey=!0,yield*this.parseQuotedScalar();case":":{let e=this.charAt(1);if(this.flowKey||pK(e)||","===e)return this.flowKey=!1,yield*this.pushCount(1),yield*this.pushSpaces(!0),"flow"}default:return this.flowKey=!1,yield*this.parsePlainScalar()}}*parseQuotedScalar(){let e=this.charAt(0),t=this.buffer.indexOf(e,this.pos+1);if("'"===e)for(;-1!==t&&"'"===this.buffer[t+1];)t=this.buffer.indexOf("'",t+2);else for(;-1!==t;){let e=0;for(;"\\"===this.buffer[t-1-e];)e+=1;if(e%2==0)break;t=this.buffer.indexOf('"',t+1)}let r=this.buffer.substring(0,t),n=r.indexOf("\n",this.pos);if(-1!==n){for(;-1!==n;){let e=this.continueScalar(n+1);if(-1===e)break;n=r.indexOf("\n",e)}-1!==n&&(t=n-("\r"===r[n-1]?2:1))}if(-1===t){if(!this.atEnd)return this.setNext("quoted-scalar");t=this.buffer.length}
153return yield*this.pushToIndex(t+1,!1),this.flowLevel?"flow":"doc"}*parseBlockScalarHeader(){this.blockScalarIndent=-1,this.blockScalarKeep=!1;let e=this.pos;for(;;){let t=this.buffer[++e];if("+"===t)this.blockScalarKeep=!0;else if(t>"0"&&t<="9")this.blockScalarIndent=Number(t)-1;else if("-"!==t)break}return yield*this.pushUntil(e=>pK(e)||"#"===e)}*parseBlockScalar(){let e,t=this.pos-1,r=0;n:for(let n=this.pos;e=this.buffer[n];++n)switch(e){case" ":r+=1;break;case"\n":t=n,r=0;break;case"\r":{let e=this.buffer[n+1];if(!e&&!this.atEnd)return this.setNext("block-scalar");if("\n"===e)break}default:break n}if(!e&&!this.atEnd)return this.setNext("block-scalar");if(r>=this.indentNext){-1===this.blockScalarIndent?this.indentNext=r:this.indentNext=this.blockScalarIndent+(0===this.indentNext?1:this.indentNext);do{let e=this.continueScalar(t+1);if(-1===e)break;t=this.buffer.indexOf("\n",e)}while(-1!==t);if(-1===t){if(!this.atEnd)return this.setNext("block-scalar");t=this.buffer.length}}let n=t+1;for(e=this.buffer[n];" "===e;)e=this.buffer[++n];if(" "===e){for(;" "===e||" "===e||"\r"===e||"\n"===e;)e=this.buffer[++n];t=n-1}else if(!this.blockScalarKeep)for(;;){let e=t-1,n=this.buffer[e];"\r"===n&&(n=this.buffer[--e]);let i=e;for(;" "===n;)n=this.buffer[--e];if("\n"===n&&e>=this.pos&&e+1+r>i)t=e;else break}return yield pq,yield*this.pushToIndex(t+1,!0),yield*this.parseLineStart()}*parsePlainScalar(){let e,t=this.flowLevel>0,r=this.pos-1,n=this.pos-1;for(;e=this.buffer[++n];)if(":"===e){let e=this.buffer[n+1];if(pK(e)||t&&pQ.has(e))break;r=n}else if(pK(e)){let i=this.buffer[n+1];if("\r"===e&&("\n"===i?(n+=1,e="\n",i=this.buffer[n+1]):r=n),"#"===i||t&&pQ.has(i))break;if("\n"===e){let e=this.continueScalar(n+1);if(-1===e)break;n=Math.max(n,e-2)}}else{if(t&&pQ.has(e))break;r=n}return e||this.atEnd?(yield pq,yield*this.pushToIndex(r+1,!0),t?"flow":"doc"):this.setNext("plain-scalar")}*pushCount(e){return e>0?(yield this.buffer.substr(this.pos,e),this.pos+=e,e):0}*pushToIndex(e,t){let r=this.buffer.slice(this.pos,e);return r?(yield r,this.pos+=r.length,r.length):(t&&(yield""),0)}*pushIndicators(){switch(this.charAt(0)){case"!":return(yield*this.pushTag())+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"&":return(yield*this.pushUntil(p0))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators());case"-":case"?":case":":{let e=this.flowLevel>0,t=this.charAt(1);if(pK(t)||e&&pQ.has(t))return e?this.flowKey&&(this.flowKey=!1):this.indentNext=this.indentValue+1,(yield*this.pushCount(1))+(yield*this.pushSpaces(!0))+(yield*this.pushIndicators())}}return 0}*pushTag(){if("<"===this.charAt(1)){let e=this.pos+2,t=this.buffer[e];for(;!pK(t)&&">"!==t;)t=this.buffer[++e];return yield*this.pushToIndex(">"===t?e+1:e,!1)}{let e=this.pos+1,t=this.buffer[e];for(;t;)if(pX.has(t))t=this.buffer[++e];else if("%"===t&&pJ.has(this.buffer[e+1])&&pJ.has(this.buffer[e+2]))t=this.buffer[e+=3];else break;return yield*this.pushToIndex(e,!1)}}*pushNewline(){let e=this.buffer[this.pos];return"\n"===e?yield*this.pushCount(1):"\r"===e&&"\n"===this.charAt(1)?yield*this.pushCount(2):0}*pushSpaces(e){let t,r=this.pos-1;do t=this.buffer[++r];while(" "===t||e&&" "===t);let n=r-this.pos;return n>0&&(yield this.buffer.substr(this.pos,n),this.pos=r),n}*pushUntil(e){let t=this.pos,r=this.buffer[t];for(;!e(r);)r=this.buffer[++t];return yield*this.pushToIndex(t,!1)}}class p2{constructor(){this.lineStarts=[],this.addNewLine=e=>this.lineStarts.push(e),this.linePos=e=>{let t=0,r=this.lineStarts.length;for(;t<r;){let n=t+r>>1;this.lineStarts[n]<e?t=n+1:r=n}if(this.lineStarts[t]===e)return{line:t+1,col:1};if(0===t)return{line:0,col:e};let n=this.lineStarts[t-1];return{line:t,col:e-n+1}}}}function p5(e,t){for(let r=0;r<e.length;++r)if(e[r].type===t)return!0;return!1}function p3(e){for(let t=0;t<e.length;++t)switch(e[t].type){case"space":case"comment":case"newline":break;default:return t}return -1}function p4(e){switch(e?.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":case"flow-collection":return!0;default:return!1}}function p6(e){switch(e.type){case"document":return e.start;case"block-map":{let t=e.items[e.items.length-1];return t.sep??t.start}case"block-seq":return e.items[e.items.length-1].start;default:return[]}}function p9(e){if(0===e.length)return[];let t=e.length;n:for(;--t>=0;)switch(e[t].type){case"doc-start":case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":case"newline":break n}for(;e[++t]?.type==="space";);return e.splice(t,e.length)}function p8(e){if("flow-seq-start"===e.start.type)for(let t of e.items)!t.sep||t.value||p5(t.start,"explicit-key-ind")||p5(t.sep,"map-value-ind")||(t.key&&(t.value=t.key),delete t.key,p4(t.value)?t.value.end?Array.prototype.push.apply(t.value.end,t.sep):t.value.end=t.sep:Array.prototype.push.apply(t.start,t.sep),delete t.sep)}class p7{constructor(e){this.atNewLine=!0,this.atScalar=!1,this.indent=0,this.offset=0,this.onKeyLine=!1,this.stack=[],this.source="",this.type="",this.lexer=new p1,this.onNewLine=e}*parse(e,t=!1){for(let r of(this.onNewLine&&0===this.offset&&this.onNewLine(0),this.lexer.lex(e,t)))yield*this.next(r);t||(yield*this.end())}*next(e){if(this.source=e,this.atScalar){this.atScalar=!1,yield*this.step(),this.offset+=e.length;return}let t=pG(e);
153if(t)if("scalar"===t)this.atNewLine=!1,this.atScalar=!0,this.type="scalar";else{switch(this.type=t,yield*this.step(),t){case"newline":this.atNewLine=!0,this.indent=0,this.onNewLine&&this.onNewLine(this.offset+e.length);break;case"space":this.atNewLine&&" "===e[0]&&(this.indent+=e.length);break;case"explicit-key-ind":case"map-value-ind":case"seq-item-ind":this.atNewLine&&(this.indent+=e.length);break;case"doc-mode":case"flow-error-end":return;default:this.atNewLine=!1}this.offset+=e.length}else{let t=`Not a YAML token: ${e}`;yield*this.pop({type:"error",offset:this.offset,message:t,source:e}),this.offset+=e.length}}*end(){for(;this.stack.length>0;)yield*this.pop()}get sourceToken(){return{type:this.type,offset:this.offset,indent:this.indent,source:this.source}}*step(){let e=this.peek(1);if("doc-end"===this.type&&e?.type!=="doc-end"){for(;this.stack.length>0;)yield*this.pop();this.stack.push({type:"doc-end",offset:this.offset,source:this.source});return}if(!e)return yield*this.stream();switch(e.type){case"document":return yield*this.document(e);case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return yield*this.scalar(e);case"block-scalar":return yield*this.blockScalar(e);case"block-map":return yield*this.blockMap(e);case"block-seq":return yield*this.blockSequence(e);case"flow-collection":return yield*this.flowCollection(e);case"doc-end":return yield*this.documentEnd(e)}yield*this.pop()}peek(e){return this.stack[this.stack.length-e]}*pop(e){let t=e??this.stack.pop();if(t)if(0===this.stack.length)yield t;else{let e=this.peek(1);switch("block-scalar"===t.type?t.indent="indent"in e?e.indent:0:"flow-collection"===t.type&&"document"===e.type&&(t.indent=0),"flow-collection"===t.type&&p8(t),e.type){case"document":e.value=t;break;case"block-scalar":e.props.push(t);break;case"block-map":{let r=e.items[e.items.length-1];if(r.value){e.items.push({start:[],key:t,sep:[]}),this.onKeyLine=!0;return}if(r.sep)r.value=t;else{Object.assign(r,{key:t,sep:[]}),this.onKeyLine=!r.explicitKey;return}break}case"block-seq":{let r=e.items[e.items.length-1];r.value?e.items.push({start:[],value:t}):r.value=t;break}case"flow-collection":{let r=e.items[e.items.length-1];!r||r.value?e.items.push({start:[],key:t,sep:[]}):r.sep?r.value=t:Object.assign(r,{key:t,sep:[]});return}default:yield*this.pop(),yield*this.pop(t)}if(("document"===e.type||"block-map"===e.type||"block-seq"===e.type)&&("block-map"===t.type||"block-seq"===t.type)){let r=t.items[t.items.length-1];r&&!r.sep&&!r.value&&r.start.length>0&&-1===p3(r.start)&&(0===t.indent||r.start.every(e=>"comment"!==e.type||e.indent<t.indent))&&("document"===e.type?e.end=r.start:e.items.push({start:r.start}),t.items.splice(-1,1))}}else{let e="Tried to pop an empty stack";yield{type:"error",offset:this.offset,source:"",message:e}}}*stream(){switch(this.type){case"directive-line":yield{type:"directive",offset:this.offset,source:this.source};return;case"byte-order-mark":case"space":case"comment":case"newline":yield this.sourceToken;return;case"doc-mode":case"doc-start":{let e={type:"document",offset:this.offset,start:[]};"doc-start"===this.type&&e.start.push(this.sourceToken),this.stack.push(e);return}}yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML stream`,source:this.source}}*document(e){if(e.value)return yield*this.lineEnd(e);switch(this.type){case"doc-start":-1!==p3(e.start)?(yield*this.pop(),yield*this.step()):e.start.push(this.sourceToken);return;case"anchor":case"tag":case"space":case"comment":case"newline":e.start.push(this.sourceToken);return}let t=this.startBlockValue(e);t?this.stack.push(t):yield{type:"error",offset:this.offset,message:`Unexpected ${this.type} token in YAML document`,source:this.source}}*scalar(e){if("map-value-ind"===this.type){let t,r=p9(p6(this.peek(2)));e.end?((t=e.end).push(this.sourceToken),delete e.end):t=[this.sourceToken];let n={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:r,key:e,sep:t}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=n}else yield*this.lineEnd(e)}*blockScalar(e){switch(this.type){case"space":case"comment":case"newline":e.props.push(this.sourceToken);return;case"scalar":if(e.source=this.source,this.atNewLine=!0,this.indent=0,this.onNewLine){let e=this.source.indexOf("\n")+1;for(;0!==e;)this.onNewLine(this.offset+e),e=this.source.indexOf("\n",e)+1}yield*this.pop();break;default:yield*this.pop(),yield*this.step()}}*blockMap(e){let t=e.items[e.items.length-1];switch(this.type){case"newline":if(this.onKeyLine=!1,t.value){let r="end"in t.value?t.value.end:void 0,n=Array.isArray(r)?r[r.length-1]:void 0;n?.type==="comment"?r?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case"space":case"comment":if(t.value)e.items.push({start:[this.sourceToken]});else if(t.sep)t.sep.push(this.sourceToken);else{if(this.atIndentedComment(t.start,e.indent)){let r=e.items[e.items.length-2],n=r?.value?.end;if(Array.isArray(n)){Array.prototype.push.apply(n,t.start),n.push(this.sourceToken),e.items.pop();return}}t.start.push(this.sourceToken)}return}if(this.indent>=e.indent){let r=!this.onKeyLine&&this.indent===e.indent,n=r&&(t.sep||t.explicitKey)&&"seq-item-ind"!==this.type,i=[];if(n&&t.sep&&!t.value){let r=[];for(let n=0;n<t.sep.length;++n){let i=t.sep[n];switch(i.type){case"newline":r.push(n);break;case"space":break;case"comment":i.indent>e.indent&&(r.length=0);break;default:r.length=0}}r.length>=2&&(i=t.sep.splice(r[1]))}switch(this.type){case"anchor":case"tag":n||t.value?(i.push(this.sourceToken),e.items.push({start:i}),this.onKeyLine=!0):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case"explicit-key-ind":t.sep||t.explicitKey?n||t.value?(i.push(this.sourceToken),e.items.push({start:i,explicitKey:!0})):this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken],explicitKey:!0}]}):(t.start.push(this.sourceToken),t.explicitKey=!0),this.onKeyLine=!0;return;case"map-value-ind":if(t.explicitKey)if(t.sep)if(t.value)e.items.push({start:[],key:null,
153sep:[this.sourceToken]});else if(p5(t.sep,"map-value-ind"))this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:i,key:null,sep:[this.sourceToken]}]});else if(p4(t.key)&&!p5(t.sep,"newline")){let e=p9(t.start),r=t.key,n=t.sep;n.push(this.sourceToken),delete t.key,delete t.sep,this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:r,sep:n}]})}else i.length>0?t.sep=t.sep.concat(i,this.sourceToken):t.sep.push(this.sourceToken);else if(p5(t.start,"newline"))Object.assign(t,{key:null,sep:[this.sourceToken]});else{let e=p9(t.start);this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:e,key:null,sep:[this.sourceToken]}]})}else t.sep?t.value||n?e.items.push({start:i,key:null,sep:[this.sourceToken]}):p5(t.sep,"map-value-ind")?this.stack.push({type:"block-map",offset:this.offset,indent:this.indent,items:[{start:[],key:null,sep:[this.sourceToken]}]}):t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]});this.onKeyLine=!0;return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{let r=this.flowScalar(this.type);n||t.value?(e.items.push({start:i,key:r,sep:[]}),this.onKeyLine=!0):t.sep?this.stack.push(r):(Object.assign(t,{key:r,sep:[]}),this.onKeyLine=!0);return}default:{let n=this.startBlockValue(e);if(n){if("block-seq"===n.type){if(!t.explicitKey&&t.sep&&!p5(t.sep,"newline"))return void(yield*this.pop({type:"error",offset:this.offset,message:"Unexpected block-seq-ind on same line with key",source:this.source}))}else r&&e.items.push({start:i});this.stack.push(n);return}}}}yield*this.pop(),yield*this.step()}*blockSequence(e){let t=e.items[e.items.length-1];switch(this.type){case"newline":if(t.value){let r="end"in t.value?t.value.end:void 0,n=Array.isArray(r)?r[r.length-1]:void 0;n?.type==="comment"?r?.push(this.sourceToken):e.items.push({start:[this.sourceToken]})}else t.start.push(this.sourceToken);return;case"space":case"comment":if(t.value)e.items.push({start:[this.sourceToken]});else{if(this.atIndentedComment(t.start,e.indent)){let r=e.items[e.items.length-2],n=r?.value?.end;if(Array.isArray(n)){Array.prototype.push.apply(n,t.start),n.push(this.sourceToken),e.items.pop();return}}t.start.push(this.sourceToken)}return;case"anchor":case"tag":if(t.value||this.indent<=e.indent)break;t.start.push(this.sourceToken);return;case"seq-item-ind":if(this.indent!==e.indent)break;t.value||p5(t.start,"seq-item-ind")?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken);return}if(this.indent>e.indent){let t=this.startBlockValue(e);if(t)return void this.stack.push(t)}yield*this.pop(),yield*this.step()}*flowCollection(e){let t=e.items[e.items.length-1];if("flow-error-end"===this.type){let e;do yield*this.pop(),e=this.peek(1);while(e?.type==="flow-collection")}else if(0===e.end.length){switch(this.type){case"comma":case"explicit-key-ind":!t||t.sep?e.items.push({start:[this.sourceToken]}):t.start.push(this.sourceToken);return;case"map-value-ind":!t||t.value?e.items.push({start:[],key:null,sep:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):Object.assign(t,{key:null,sep:[this.sourceToken]});return;case"space":case"comment":case"newline":case"anchor":case"tag":!t||t.value?e.items.push({start:[this.sourceToken]}):t.sep?t.sep.push(this.sourceToken):t.start.push(this.sourceToken);return;case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":{let r=this.flowScalar(this.type);!t||t.value?e.items.push({start:[],key:r,sep:[]}):t.sep?this.stack.push(r):Object.assign(t,{key:r,sep:[]});return}case"flow-map-end":case"flow-seq-end":e.end.push(this.sourceToken);return}let r=this.startBlockValue(e);r?this.stack.push(r):(yield*this.pop(),yield*this.step())}else{let t=this.peek(2);if("block-map"!==t.type||("map-value-ind"!==this.type||t.indent!==e.indent)&&("newline"!==this.type||t.items[t.items.length-1].sep))if("map-value-ind"===this.type&&"flow-collection"!==t.type){let r=p9(p6(t));p8(e);let n=e.end.splice(1,e.end.length);n.push(this.sourceToken);let i={type:"block-map",offset:e.offset,indent:e.indent,items:[{start:r,key:e,sep:n}]};this.onKeyLine=!0,this.stack[this.stack.length-1]=i}else yield*this.lineEnd(e);else yield*this.pop(),yield*this.step()}}flowScalar(e){if(this.onNewLine){let e=this.source.indexOf("\n")+1;for(;0!==e;)this.onNewLine(this.offset+e),e=this.source.indexOf("\n",e)+1}return{type:e,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(e){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.t
153ype);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;let t=p9(p6(e));return t.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,explicitKey:!0}]}}case"map-value-ind":{this.onKeyLine=!0;let t=p9(p6(e));return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:t,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(e,t){return"comment"===this.type&&!(this.indent<=t)&&e.every(e=>"newline"===e.type||"space"===e.type)}*documentEnd(e){"doc-mode"!==this.type&&(e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop()))}*lineEnd(e){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;default:e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],"newline"===this.type&&(yield*this.pop())}}}function he(e){let t=!1!==e.prettyErrors;return{lineCounter:e.lineCounter||t&&new p2||null,prettyErrors:t}}function ht(e,t={}){let{lineCounter:r,prettyErrors:n}=he(t),i=new p7(r?.addNewLine),a=new pE(t),o=Array.from(a.compose(i.parse(e)));if(n&&r)for(let t of o)t.errors.forEach(d0(e,r)),t.warnings.forEac
153h(d0(e,r));return o.length>0?o:Object.assign([],{empty:!0},a.streamInfo())}function hr(e,t={}){let{lineCounter:r,prettyErrors:n}=he(t),i=new p7(r?.addNewLine),a=new pE(t),o=null;for(let t of a.compose(i.parse(e),!0,e.length))if(o){if("silent"!==o.options.logLevel){o.errors.push(new dQ(t.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}}else o=t;return n&&r&&(o.errors.forEach(d0(e,r)),o.warnings.forEach(d0(e,r))),o}function hn(e,t,r){let n;"function"==typeof t?n=t:void 0===r&&t&&"object"==typeof t&&(r=t);let i=hr(e,r);if(!i)return null;if(i.warnings.forEach(e=>uB(i.options.logLevel,e)),i.errors.length>0)if("silent"!==i.options.logLevel)throw i.errors[0];else i.errors=[];return i.toJS(Object.assign({reviver:n},r))}function hi(e,t,r){let n=null;if("function"==typeof t||Array.isArray(t)?n=t:void 0===r&&t&&(r=t),"string"==typeof r&&(r=r.length),"number"==typeof r){let e=Math.round(r);r=e<1?void 0:e>8?{indent:8}:{indent:e}}if(void 0===e){let{keepUndefined:e}=r??t??{};if(!e)return}return cq(e)&&!n?e.toString(r):new dK(e,n,r).toString(r)}let ha=h,ho=/^---(?:\r?\n|\r)(?:([\s\S]*?)(?:\r?\n|\r))?---(?:\r?\n|\r|$)/,hs={},hl={};function hc(e,t){let r=t||hs,n=r.strip,i=r.yaml||hl,a=String(e),o=ho.exec(a);o?(e.data.matter=ha.parse(o[1]||"",i)||{},n&&(a=a.slice(o[0].length),e.value=e.value&&"object"==typeof e.value?new TextEncoder().encode(a):a)):e.data.matter={}}var hu=r(42294);function hd(e){let t=/\d+:\d+(-\d+:\d+)/g,r=e.match(t);if(r){let[e,t]=r.slice(-1)[0].split("-")[0].split(":");return{start:{line:Number.parseInt(e,10),column:Number.parseInt(t,10)}}}}function hp(e,t){let r=e?.position??hd(e?.message),n=r?(0,hu.gl)(t,{start:{line:r.start.line,column:r.start.column??0}},{linesAbove:2,linesBelow:2}):"",i=Error(`[next-mdx-remote] error compiling MDX: 154${e?.message} 155${n?"\n"+n+"\n":""} 156More information: https://mdxjs.com/docs/troubleshooting-mdx`);return i.stack="",i}let hh=function(e){if(null==e)return hv;if("string"==typeof e)return hg(e);if("object"==typeof e)return Array.isArray(e)?hf(e):hm(e);if("function"==typeof e)return hy(e);throw Error("Expected function, string, or object as test")};function hf(e){let t=[],r=-1;for(;++r<e.length;)t[r]=hh(e[r]);return hy(n);function n(...e){let r=-1;for(;++r<t.length;)if(t[r].call(this,...e))return!0;return!1}}function hm(e){return hy(t);function t(t){let r;for(r in e)if(t[r]!==e[r])return!1;return!0}}function hg(e){return hy(t);function t(t){return t&&t.type===e}}function hy(e){return t;function t(r,...n){return!!(r&&"object"==typeof r&&"type"in r&&e.call(this,r,...n))}}function hv(){return!0}let hb=[],hw=function(e,t,r){let n=hh(r||t),i=!t||void 0===t.cascade||null===t.cascade||t.cascade;return a(e);function a(e,t,r){let o=e.children||hb,s=-1,l=0;if(n(e,t,r))return null;if(o.length>0){for(;++s<o.length;)a(o[s],s,e)&&(o[l++]=o[s]);if(i&&!l)return null;o.length=l}return e}};function hx(){return e=>hw(e,"mdxjsEsm")}function hk(e={},t=!1){let r=e.useDynamicImport??!1,n=[...e.remarkPlugins||[],...r?[]:[hx]];return{...e,remarkPlugins:n,outputFormat:"function-body",providerImportSource:t?void 0:"@mdx-js/react",development:!1}}async function hA(e,{scope:t={},mdxOptions:r={},parseFrontmatter:n=!1}={},i=!1){let a,o=new L(e);n&&hc(o,{strip:!0});try{a=await cR(o,hk(r,i))}catch(e){throw hp(e,String(o))}return{compiledSource:String(a),frontmatter:o.data.matter??{},scope:t}}},94517:function(e,t,r){var n;!function(i,a){"use strict";var o="",s="?",l="function",c="undefined",u="object",d="string",p="major",h="model",f="name",m="type",g="vendor",y="version",v="architecture",b="console",w="mobile",x="tablet",k="smarttv",A="wearable",C="embedded",S=500,E="Amazon",_="Apple",T="ASUS",P="BlackBerry",O="Browser",I="Chrome",M="Firefox",L="Google",N="Honor",R="Huawei",j="LG",D="Microsoft",F="Motorola",V="Nvidia",B="OnePlus",z="Opera",$="OPPO",U="Samsung",q="Sharp",H="Sony",Y="Xiaomi",W="Zebra",G="Facebook",K="Chromium OS",J="Mac OS",X=" Browser",Q=function(e,t){var r={};for(var n in e)t[n]&&t[n].length%2==0?r[n]=t[n].concat(e[n]):r[n]=e[n];return r},Z=function(e){for(var t={},r=0;r<e.length;r++)t[e[r].toUpperCase()]=e[r];return t},ee=function(e,t){return typeof e===d&&-1!==et(t).indexOf(et(e))},et=function(e){return e.toLowerCase()},er=function(e){return typeof e===d?e.replace(/[^\d\.]/g,o).split(".")[0]:void 0},en=function(e,t){if(typeof e===d)return e=e.replace(/^\s\s*/,o),typeof t===c?e:e.substring(0,S)},ei=function(e,t){for(var r,n,i,o,s,c,d=0;d<t.length&&!s;){var p=t[d],h=t[d+1];for(r=n=0;r<p.length&&!s&&p[r];)if(s=p[r++].exec(e))for(i=0;i<h.length;i++)c=s[++n],typeof(o=h[i])===u&&o.length>0?2===o.length?typeof o[1]==l?this[o[0]]=o[1].call(this,c):this[o[0]]=o[1]:3===o.length?typeof o[1]!==l||o[1].exec&&o[1].test?this[o[0]]=c?c.replace(o[
1561],o[2]):void 0:this[o[0]]=c?o[1].call(this,c,o[2]):a:4===o.length&&(this[o[0]]=c?o[3].call(this,c.replace(o[1],o[2])):a):this[o]=c||a;d+=2}},ea=function(e,t){for(var r in t)if(typeof t[r]===u&&t[r].length>0){for(var n=0;n<t[r].length;n++)if(ee(t[r][n],e))return r===s?a:r}else if(ee(t[r],e))return r===s?a:r;return t.hasOwnProperty("*")?t["*"]:e},eo={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"},es={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[y,[f,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[y,[f,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[f,y],[/opios[\/ ]+([\w\.]+)/i],[y,[f,z+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[y,[f,z+" GX"]],[/\bopr\/([\w\.]+)/i],[y,[f,z]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[y,[f,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[y,[f,"Maxthon"]],[/(kindle)\/([\w\.]+)/i,/(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i,/(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i,/(?:ms|\()(ie) ([\w\.]+)/i,/(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i,/(heytap|ovi|115)browser\/([\d\.]+)/i,/(weibo)__([\d\.]+)/i],[f,y],[/quark(?:pc)?\/([-\w\.]+)/i],[y,[f,"Quark"]],[/\bddg\/([\w\.]+)/i],[y,[f,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[y,[f,"UC"+O]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[y,[f,"WeChat"]],[/konqueror\/([\w\.]+)/i],[y,[f,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[y,[f,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[y,[f,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[y,[f,"Smart Lenovo "+O]],[/(avast|avg)\/([\w\.]+)/i],[[f,/(.+)/,"$1 Secure "+O],y],[/\bfocus\/([\w\.]+)/i],[y,[f,M+" Focus"]],[/\bopt\/([\w\.]+)/i],[y,[f,z+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[y,[f,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[y,[f,"Dolphin"]],[/coast\/([\w\.]+)/i],[y,[f,z+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[y,[f,"MIUI"+X]],[/fxios\/([\w\.-]+)/i],[y,[f,M]],[/\bqihoobrowser\/?([\w\.]*)/i],[y,[f,"360"]],[/\b(qq)\/([\w\.]+)/i],[[f,/(.+)/,"$1Browser"],y],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[f,/(.+)/,"$1"+X],y],[/samsungbrowser\/([\w\.]+)/i],[y,[f,U+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[y,[f,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[f,"Sogou Mobile"],y],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[f,y],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[f],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[y,f],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[f,G],y],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\w\.]+).*\)/i,/(daum)apps[\/ ]([\w\.]+)/i,/safari (line)\/([\w\.]+)/i,/\b(line)\/([\w\.]+)\/iab/i,/(alipay)client\/([\w\.]+)/i,/(twitter)(?:and| f.+e\/([\w\.]+))/i,/(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i],[f,y],[/\bgsa\/([\w\.]+) .*safari\//i],[y,[f,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[y,[f,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[y,[f,I+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[f,I+" WebView"],y],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[y,[f,"Android "+O]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[f,y],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[y,[f,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[y,f],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[f,[y,ea,{"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"}]],[/(webkit|khtml)\/([\w\.]+)/i],[f,y],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[f,"Netscape"],y],[/(wolvic|librewolf)\/([\w\.]+)/i],[f,y],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[y,[f,M+" Reality"]],[/ekiohf.+(flow)\/([\w\.]+)/i,/(swiftfox)/i,/(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i,/(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i,/(firefox)\/([\w\.]+)/i,/(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i,/(amaya|dillo|doris|icab|ladybird|lynx|mosaic|netsurf|obigo|polaris|w3m|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/\b(links) \(([\w\.]+)/i],[f,[y,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[f,[y,/master.|lts./,""]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[v,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[v,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[v,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[v,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[v,"arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[[v,/ower/,o,et]],[/ sun4\w[;\)]/i],[[v,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;
156|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[[v,et]]],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],[h,[g,U],[m,x]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[h,[g,U],[m,w]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[h,[g,_],[m,w]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[h,[g,_],[m,x]],[/(macintosh);/i],[h,[g,_]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[h,[g,q],[m,w]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[h,[g,N],[m,x]],[/honor([-\w ]+)[;\)]/i],[h,[g,N],[m,w]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[h,[g,R],[m,x]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[h,[g,R],[m,w]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[h,/_/g," "],[g,Y],[m,x]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i,/ ([\w ]+) miui\/v?\d/i],[[h,/_/g," "],[g,Y],[m,
vendor: 4,128 bytes, line 156
156w]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[h,[g,$],[m,w]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[h,[g,ea,{OnePlus:["304","403","203"],"*":$}],[m,x]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[h,[g,"Vivo"],[m,w]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[h,[g,"Realme"],[m,w]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[h,[g,F],[m,w]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[h,[g,F],[m,x]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[h,[g,j],[m,x]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i,/\blg-?([\d\w]+) bui/i],[h,[g,j],[m,w]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[h,[g,"Lenovo"],[m,x]],[/(nokia) (t[12][01])/i],[g,h,[m,x]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[h,/_/g," "],[m,w],[g,"Nokia"]],[/(pixel (c|tablet))\b/i],[h,[g,L],[m,x]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[h,[g,L],[m,w]],[/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],[h,[g,H],[m,w]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[h,"Xperia Tablet"],[g,H],[m,x]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[h,[g,B],[m,w]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[h,[g,E],[m,x]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[h,/(.+)/g,"Fire Phone $1"],[g,E],[m,w]],[/(playbook);[-\w\),; ]+(rim)/i],[h,g,[m,x]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[h,[g,P],[m,w]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[h,[g,T],[m,x]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[h,[g,T],[m,w]],[/(nexus 9)/i],[h,[g,"HTC"],[m,x]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[g,[h,/_/g," "],[m,w]],[/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i],[h,[g,"TCL"],[m,x]],[/(itel) ((\w+))/i],[[g,et],h,[m,ea,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[h,[g,"Acer"],[m,x]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[h,[g,"Meizu"],[m,w]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[h,[g,"Ulefone"],[m,w]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[h,[g,"Energizer"],[m,w]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[h,[g,"Cat"],[m,w]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[h,[g,"Smartfren"],[m,w]],[/droid.+; (a(?:015|06[35]|142p?))/i],[h,[g,"Nothing"],[m,w]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[h,[g,"Archos"],[m,x]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[h,[g,"Archos"],[m,w]],[/(imo) (tab \w+)/i,/(infinix) (x1101b?)/i],[g,h,[m,x]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (hmd|imo) ([\w ]+?)(?: bui|\))/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i,/(oppo) ?([\w ]+) bui/i],[g,h,[m,w]],[/(kobo)\s(ereader|touch)/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],[g,h,[m,x]],[/(surface duo)/i],[h,[g,D],[m,x]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[h,[g,"Fairphone"],[m,w]],[/(u304aa)/i],[h,[g,"AT&T"],[m,w]],[/\bsie-(\w*)/i],[h,[g,"Siemens"],[m,w]],[/\b(rct\w+) b/i],[h,[g,"RCA"],[m,x
156]],[/\b(venue[\d ]{2,7}) b/i],[h,[g,"Dell"],[m,x]],[/\b(q(?:mv|ta)\w+) b/i],[h,[g,"Verizon"],[m,x]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[h,[g,"Barnes & Noble"],[m,x]],[/\b(tm\d{3}\w+) b/i],[h,[g,"NuVision"],[m,x]],[/\b(k88) b/i],[h,[g,"ZTE"],[m,x]],[/\b(nx\d{3}j) b/i],[h,[g,"ZTE"],[m,w]],[/\b(gen\d{3}) b.+49h/i],[h,[g,"Swiss"],[m,w]],[/\b(zur\d{3}) b/i],[h,[g,"Swiss"],[m,x]],[/\b((zeki)?tb.*\b) b/i],[h,[g,"Zeki"],[m,x]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[g,"Dragon Touch"],h,[m,x]],[/\b(ns-?\w{0,9}) b/i],[h,[g,"Insignia"],[m,x]],[/\b((nxa|next)-?\w{0,9}) b/i],[h,[g,"NextBook"],[m,x]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[g,"Voice"],h,[m,w]],[/\b(lvtel\-)?(v1[12]) b/i],[[g,"LvTel"],h,[m,w]],[/\b(ph-1) /i],[h,[g,"Essential"],[m,w]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[h,[g,"Envizen"],[m,x]],[/\b(trio[-\w\. ]+) b/i],[h,[g,"MachSpeed"],[m,x]],[/\btu_(1491) b/i],[h,[g,"Rotor"],[m,x]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[h,[g,V],[m,x]],[/(sprint) (\w+)/i],[g,h,[m,w]],[/(kin\.[onetw]{3})/i],[[h,/\./g," "],[g,D],[m,w]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[h,[g,W],[m,x]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[h,[g,W],[m,w]],[/smart-tv.+(samsung)/i],[g,[m,k]],[/hbbtv.+maple;(\d+)/i],[[h,/^/,"SmartTV"],[g,U],[m,k]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[g,j],[m,k]],[/(apple) ?tv/i],[g,[h,_+" TV"],[m,k]],[/crkey/i],[[h,I+"cast"],[g,L],[m,k]],[/droid.+aft(\w+)( bui|\))/i],[h,[g,E],[m,k]],[/(shield \w+ tv)/i],[h,[g,V],[m,k]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[h,[g,q],[m,k]],[/(bravia[\w ]+)( bui|\))/i],[h,[g,H],[m,k]],[/(mi(tv|box)-?\w+) bui/i],[h,[g,Y],[m,k]],[/Hbbtv.*(technisat) (.*);/i],[g,h,[m,k]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[g,en],[h,en],[m,k]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[h,[m,k]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[m,k]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[g,h,[m,b]],[/droid.+; (shield)( bui|\))/i],[h,[g,V],[m,b]],[/(playstation \w+)/i],[h,[g,H],[m,b]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[h,[g,D],[m,b]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[h,[g,U],[m,A]],[/((pebble))app/i,/(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[g,h,[m,A]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[h,[g,$],[m,A]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[h,[g,_],[m,A]],[/(opwwe\d{3})/i],[h,[g,B],[m,A]],[/(moto 360)/i],[h,[g,F],[m,A]],[/(smartwatch 3)/i],[h,[g,H],[m,A]],[/(g watch r)/i],[h,[g,j],[m,A]],[/droid.+; (wt63?0{2,3})\)/i],[h,[g,W],[m,A]],[/droid.+; (glass) \d/i],[h,[g,L],[m,A]],[/(pico) (4|neo3(?: link|pro)?)/i],[g,h,[m,A]],[/; (quest( \d| pro)?)/i],[h,[g,G],[m,A]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[g,[m,C]],[/(aeobc)\b/i],[h,[g,E],[m,C]],[/(homepod).+mac os/i],[h,[g,_],[m,C]],[/windows iot/i],[[m,C]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[h,[m,w]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[h,[m,x]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[m,x]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[m,w]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[h,[g,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[y,[f,"EdgeHTML"]],[/(arkweb)\/([\w\.]+)/i],[f,y],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[y,[f,"Blink"]],[/(presto)\/([\w\.]+)/i,/(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i,/ekioh(flow)\/([\w\.]+)/i,/(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i,/(icab)[\/ ]([23]\.[\d\.]+)/i,/\b(libweb)/i],[f,y],[/ladybird\//i],[[f,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[y,f]],os:[[/microsoft (windows) (vista|xp)/i],[f,y],[/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i],[f,[y,ea,eo]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[y,ea,eo],[f,"Windows"]],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[y,/_/g,"."],[f,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[f,J],[y,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[y,f],[/(ubuntu) ([\w\.]+) like android/i],[[f,/(.+)/,"$1 Touch"],y],[/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i],[f,y],[/\(bb(10);/i],[y,[f,P]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[y,[f,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[y,[f,M+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[y,[f,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[y,[f,"watchOS"]],[/crkey\/([\d\.]+)/i],[y,[f,I+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[f,K],y],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(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)(?: arm\w*| x86\w*| ?)([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[f,y],[/(sunos) ?([\w\.\d]*)/i],[[f,"Solaris"],y],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[f,y]]},el=function(e,t){if(typeof e===u&&(t=e,e=a),!(this instanceof el))return new el(e,t).getResult();var r=typeof i!==c&&i.navigator?i.navigator:a,n=e||(r&&r.userAgent?r.userAgent:o),s=r&&r.userAgentData?r.userAgentData:a,b=t?Q(es,t):es,k=r&&r.userAgent==n;return this.getBrowser=function(){var e={};return e[f]=a,e[y]=a,ei.call(e,n,b.browser),e[p]=er(e[y]),k&&r&&r.brave&&typeof r.brave.isBrave==l&&(e[f]="Brave"),e},this.getCPU=function(){var e={};return e[v]=a,ei.call(e,n,b.cpu),e},this.getDevice=function(){var e={};return e[g]=a,e[h]=a,e[m]=a,ei.call(e,n,b.device),k&&!e[m]&&s&&s.mobile&&(e[m]=w),k&&"Macintosh"==e[h]&&r&&typeof r.standalone!==c&&r.maxTouchPoints&&r.maxTouchPoints>2&&(e[h]="iPad",e[m]=x),e},this.getEngine=function(){var e={};return e[f]=a,e[y]=a,ei.call(e,n,b.engine),e},this.getOS=function(){var e={};return e[f]=a,e[y]=a,ei.call(e,n,b.os),k&&!e[f]&&s&&s.platform&&"Unknown"!=s.platform&&(e[f]=s.platform.replace(/chrome os/i,K).replace(/macos/i,J)),e},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 n},this.setUA=function(e){return n=typeof e===d&&e.length>S?en(e,S):e,this},this.setUA(n),this};el.VERSION="1.0.41",el.BROWSER=Z([f,y,p]),el.CPU=Z([v]),el.DEVICE=Z([h,g,m,b,w,k,x,A,C]),el.ENGINE=el.OS=Z([f,y]),typeof t!==c?("object"!==c&&e.exports&&(t=e.exports=el),t.UAParser=el):"function"===l&&r.amdO?a===(n=(function(){return el}).call(t,r,t,e))||(e.exports=n):typeof i!==c&&(i.UAParser=el);var ec=typeof i!==c&&(i.jQuery||i.Zepto);if(ec&&!ec.ua){var eu=new el;ec.ua=eu.getResult(),ec.ua.get=function(){return eu.getUA()},ec.ua.set=function(e){eu.setUA(e);var t=eu.getResult();for(var r in t)ec.ua[r]=t[r]}}}("object"==typeof window?window:this)},94687:(e,t,r)=>{"use strict";r.d(t,{N9:()=>F,oR:()=>O});var n=r(55729),i=r(50212);let a=e=>"number"==typeof e&&!isNaN(e),o=e=>"string"==typeof e,s=e=>"function"==typeof e,l=e=>o(e)||s(e)?e:null,c=e=>(0,n.isValidElement)(e)||o(e)||s(e)||a(e);function u(e,t,r){void 0===r&&(r=300);let{scrollHeight:n,style:i}=e;requestAnimationFrame(()=>{i.minHeight="initial",i.height=n+"px",i.transition=`all ${r}ms`,requestAnimationFrame(()=>{i.height="0",i.padding="0",i.margin="0",setTimeout(t,r)})})}function d(e){let{enter:t,exit:r,appendPosition:i=!1,collapse:a=!0,collapseDuration:o=300}=e;return function(e){let{children:s,position:l,preventExitTransition:c,done:d,nodeRef:p,isIn:h,playToast:f}=e,m=i?`${t}--${l}`:t,g=i?`${r}--${l}`:r,y=(0,n.useRef)(0);return(0,n.useLayoutEffect)(()=>{let e=p.current,t=m.split(" "),r=n=>{n.target===p.current&&(f(),e.removeEventListener("animationend",r),e.removeEventListener("animationcancel",r),0===y.current&&"animationcancel"!==n.type&&e.classList.remove(...t))};e.classList.add(...t),e.addEventListener("animationend",r),e.addEventListener("animationcancel",r)},[]),(0,n.useEffect)(()=>{let e=p.current,t=()=>{e.removeEventListener("animationend",t),a?u(e,d,o):d()};h||(c?t():(y.current=1,e.className+=` ${g}`,e.addEventListener("animationend",t)))},[h]),n.createElement(n.Fragment,null,s)}}function p(e,t){return null!=e?{content:e.content,containerId:e.props.containerId,id:e.props.toastId,theme:e.props.theme,type:e.props.type,data:e.props.data||{},isLoading:e.props.isLoading,icon:e.props.icon,status:t}:{}}let h=new Map,f=[],m=new Set,g=e=>m.forEach(t=>t(e)),y=()=>h.size>0;function v(e,t){var r;if(t)return!(null==(r=h.get(t))||!r.isToastActive(e));let n=!1;return h.forEach(t=>{t.isToastActive(e)&&(n=!0)}),n}function b(e,t){c(e)&&(y()||f.push({content:e,options:t}),h.forEach(r=>{r.buildToast(e,t)}))}function w(e,t){h.forEach(r=>{null!=t&&null!=t&&t.containerId?(null==t?void 0:t.containerId)===r.id&&r.toggle(e,null==t?void 0:t.id):r.toggle(e,null==t?void 0:t.id)})}function x(e){let{subscribe:t,getSnapshot:r,setProps:i}=(0,n.useRef)(function(e){let t=e.containerId||1;return{subscribe(r){let i=function(e,t,r){let i=1,u=0,d=[],h=[],f=[],m=t,g=new Map,y=new Set,v=()=>
156{f=Array.from(g.values()),y.forEach(e=>e())},b=e=>{h=null==e?[]:h.filter(t=>t!==e),v()},w=e=>{let{toastId:t,onOpen:i,updateId:a,children:o}=e.props,l=null==a;e.staleId&&g.delete(e.staleId),g.set(t,e),h=[...h,e.props.toastId].filter(t=>t!==e.staleId),v(),r(p(e,l?"added":"updated")),l&&s(i)&&i((0,n.isValidElement)(o)&&o.props)};return{id:e,props:m,observe:e=>(y.add(e),()=>y.delete(e)),toggle:(e,t)=>{g.forEach(r=>{null!=t&&t!==r.props.toastId||s(r.toggle)&&r.toggle(e)})},removeToast:b,toasts:g,clearQueue:()=>{u-=d.length,d=[]},buildToast:(t,h)=>{var f,y;if((t=>{let{containerId:r,toastId:n,updateId:i}=t,a=r?r!==e:1!==e,o=g.has(n)&&null==i;return a||o})(h))return;let{toastId:x,updateId:k,data:A,staleId:C,delay:S}=h,E=()=>{b(x)},_=null==k;_&&u++;let T={...m,style:m.toastStyle,key:i++,...Object.fromEntries(Object.entries(h).filter(e=>{let[t,r]=e;return null!=r})),toastId:x,updateId:k,data:A,closeToast:E,isIn:!1,className:l(h.className||m.toastClassName),bodyClassName:l(h.bodyClassName||m.bodyClassName),progressClassName:l(h.progressClassName||m.progressClassName),autoClose:!h.isLoading&&(f=h.autoClose,y=m.autoClose,!1===f||a(f)&&f>0?f:y),deleteToast(){let e=g.get(x),{onClose:t,children:i}=e.props;s(t)&&t((0,n.isValidElement)(i)&&i.props),r(p(e,"removed")),g.delete(x),--u<0&&(u=0),d.length>0?w(d.shift()):v()}};T.closeButton=m.closeButton,!1===h.closeButton||c(h.closeButton)?T.closeButton=h.closeButton:!0===h.closeButton&&(T.closeButton=!c(m.closeButton)||m.closeButton);let P=t;(0,n.isValidElement)(t)&&!o(t.type)?P=(0,n.cloneElement)(t,{closeToast:E,toastProps:T,data:A}):s(t)&&(P=t({closeToast:E,toastProps:T,data:A}));let O={content:P,props:T,staleId:C};m.limit&&m.limit>0&&u>m.limit&&_?d.push(O):a(S)?setTimeout(()=>{w(O)},S):w(O)},setProps(e){m=e},setToggle:(e,t)=>{g.get(e).toggle=t},isToastActive:e=>h.some(t=>t===e),getSnapshot:()=>f}}(t,e,g);h.set(t,i);let u=i.observe(r);return f.forEach(e=>b(e.content,e.options)),f=[],()=>{u(),h.delete(t)}},setProps(e){var r;null==(r=h.get(t))||r.setProps(e)},getSnapshot(){var e;return null==(e=h.get(t))?void 0:e.getSnapshot()}}}(e)).current;i(e);let u=(0,n.useSyncExternalStore)(t,r,r);return{getToastToRender:function(t){if(!u)return[];let r=new Map;return e.newestOnTop&&u.reverse(),u.forEach(e=>{let{position:t}=e.props;r.has(t)||r.set(t,[]),r.get(t).push(e)}),Array.from(r,e=>t(e[0],e[1]))},isToastActive:v,count:null==u?void 0:u.length}}function k(e){var t,r;let[i,a]=(0,n.useState)(!1),[o,s]=(0,n.useState)(!1),l=(0,n.useRef)(null),c=(0,n.useRef)({start:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,didMove:!1}).current,{autoClose:u,pauseOnHover:d,closeToast:p,onClick:f,closeOnClick:m}=e;function g(){a(!0)}function y(){a(!1)}function v(t){let r=l.current;c.canDrag&&r&&(c.didMove=!0,i&&y(),c.delta="x"===e.draggableDirection?t.clientX-c.start:t.clientY-c.start,c.start!==t.clientX&&(c.canCloseOnClick=!1),r.style.transform=`translate3d(${"x"===e.draggableDirection?`${c.delta}px, var(--y)`:`0, calc(${c.delta}px + var(--y))`},0)`,r.style.opacity=""+(1-Math.abs(c.delta/c.removalDistance)))}function b(){document.removeEventListener("pointermove",v),document.removeEventListener("pointerup",b);let t=l.current;if(c.canDrag&&c.didMove&&t){if(c.canDrag=!1,Math.abs(c.delta)>c.removalDistance)return s(!0),e.closeToast(),void e.collapseAll();t.style.transition="transform 0.2s, opacity 0.2s",t.style.removeProperty("transform"),t.style.removeProperty("opacity")}}null==(r=h.get((t={id:e.toastId,containerId:e.containerId,fn:a}).containerId||1))||r.setToggle(t.id,t.fn),(0,n.useEffect)(()=>{if(e.pauseOnFocusLoss)return document.hasFocus()||y(),window.addEventListener("focus",g),window.addEventListener("blur",y),()=>{window.removeEventListener("focus",g),window.removeEventListener("blur",y)}},[e.pauseOnFocusLoss]);let w={onPointerDown:function(t){if(!0===e.draggable||e.draggable===t.pointerType){c.didMove=!1,document.addEventListener("pointermove",v),document.addEventListener("pointerup",b);let r=l.current;c.canCloseOnClick=!0,c.canDrag=!0,r.style.transition="none","x"===e.draggableDirection?(c.start=t.clientX,c.removalDistance=r.offsetWidth*(e.draggablePercent/100)):(c.start=t.clientY,c.removalDistance=r.offsetHeight*(80===e.draggablePercent?1.5*e.draggablePercent:e.draggablePercent)/100)}},onPointerUp:function(t){let{top:r,bottom:n,left:i,right:a}=l.current.getBoundingClientRect();"touchend"!==t.nativeEvent.type&&e.pauseOnHover&&t.clientX>=i&&t.clientX<=a&&t.clientY>
156=r&&t.clientY<=n?y():g()}};return u&&d&&(w.onMouseEnter=y,e.stacked||(w.onMouseLeave=g)),m&&(w.onClick=e=>{f&&f(e),c.canCloseOnClick&&p()}),{playToast:g,pauseToast:y,isRunning:i,preventExitTransition:o,toastRef:l,eventHandlers:w}}function A(e){let{delay:t,isRunning:r,closeToast:a,type:o="default",hide:l,className:c,style:u,controlledProgress:d,progress:p,rtl:h,isIn:f,theme:m}=e,g=l||d&&0===p,y={...u,animationDuration:`${t}ms`,animationPlayState:r?"running":"paused"};d&&(y.transform=`scaleX(${p})`);let v=(0,i.A)("Toastify__progress-bar",d?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${m}`,`Toastify__progress-bar--${o}`,{"Toastify__progress-bar--rtl":h}),b=s(c)?c({rtl:h,type:o,defaultClassName:v}):(0,i.A)(v,c),w={[d&&p>=1?"onTransitionEnd":"onAnimationEnd"]:d&&p<1?null:()=>{f&&a()}};return n.createElement("div",{className:"Toastify__progress-bar--wrp","data-hidden":g},n.createElement("div",{className:`Toastify__progress-bar--bg Toastify__progress-bar-theme--${m} Toastify__progress-bar--${o}`}),n.createElement("div",{role:"progressbar","aria-hidden":g?"true":"false","aria-label":"notification timer",className:b,style:y,...w}))}let C=1,S=()=>""+C++;function E(e){return e&&(o(e.toastId)||a(e.toastId))?e.toastId:S()}function _(e,t){return b(e,t),t.toastId}function T(e,t){return{...t,type:t&&t.type||e,toastId:E(t)}}function P(e){return(t,r)=>_(t,T(e,r))}function O(e,t){return _(e,T("default",t))}O.loading=(e,t)=>
156_(e,T("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),O.promise=function(e,t,r){let n,{pending:i,error:a,success:l}=t;i&&(n=o(i)?O.loading(i,r):O.loading(i.render,{...r,...i}));let c={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},u=(e,t,i)=>{if(null==t)return void O.dismiss(n);let a={type:e,...c,...r,data:i},s=o(t)?{render:t}:t;return n?O.update(n,{...a,...s}):O(s.render,{...a,...s}),i},d=s(e)?e():e;return d.then(e=>u("success",l,e)).catch(e=>u("error",a,e)),d},O.success=P("success"),O.info=P("info"),O.error=P("error"),O.warning=P("warning"),O.warn=O.warning,O.dark=(e,t)=>_(e,T("default",{theme:"dark",...t})),O.dismiss=function(e){!function(e){var t;if(y()){if(null==e||o(t=e)||a(t))h.forEach(t=>{t.removeToast(e)});else if(e&&("containerId"in e||"id"in e)){let t=h.get(e.containerId);t?t.removeToast(e.id):h.forEach(t=>{t.removeToast(e.id)})}}else f=f.filter(t=>null!=e&&t.options.toastId!==e)}(e)},O.clearWaitingQueue=function(e){void 0===e&&(e={}),h.forEach(t=>{!t.props.limit||e.containerId&&t.id!==e.containerId||t.clearQueue()})},O.isActive=v,O.update=function(e,t){void 0===t&&(t={});let r=((e,t)=>{var r;let{containerId:n}=t;return null==(r=h.get(n||1))?void 0:r.toasts.get(e)})(e,t);if(r){let{props:n,content:i}=r,a={delay:100,...n,...t,toastId:t.toastId||e,updateId:S()};a.toastId!==e&&(a.staleId=e);let o=a.render||i;delete a.render,_(o,a)}},O.done=e=>{O.update(e,{progress:1})},O.onChange=function(e){return m.add(e),()=>{m.delete(e)}},O.play=e=>w(!0,e),O.pause=e=>w(!1,e);let I="undefined"!=typeof window?n.useLayoutEffect:n.useEffect,M=e=>{let{theme:t,type:r,isLoading:i,...a}=e;return n.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:"colored"===t?"currentColor":`var(--toastify-icon-color-${r})`,...a})},L={info:function(e){return n.createElement(M,{...e},n.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(e){return n.createElement(M,{...e},n.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(e){return n.createElement(M,{...e},n.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(e){return n.createElement(M,{...e},n.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return n.createElement("div",{className:"Toastify__spinner"})}},N=e=>{let{isRunning:t,preventExitTransition:r,toastRef:a,eventHandlers:o,playToast:l}=k(e),{closeButton:c,children:u,autoClose:d,onClick:p,type:h,hideProgressBar:f,closeToast:m,transition:g,position:y,className:v,style:b,bodyClassName:w,bodyStyle:x,progressClassName:C,progressStyle:S,updateId:E,role:_,progress:T,rtl:P,toastId:O,deleteToast:I,isIn:M,isLoading:N,closeOnClick:R,theme:j}=e,D=(0,i.A)("Toastify__toast",`Toastify__toast-theme--${j}`,`Toastify__toast--${h}`,{"Toastify__toast--rtl":P},{"Toastify__toast--close-on-click":R}),F=s(v)?v({rtl:P,position:y,type:h,defaultClassName:D}):(0,i.A)(D,v),V=function(e){let{theme:t,type:r,isLoading:i,icon:a}=e,o=null,l={theme:t,type:r};return!1===a||(s(a)?o=a({...l,isLoading:i}):(0,n.isValidElement)(a)?o=(0,n.cloneElement)(a,l):i?o=L.spinner():r in L&&
156(o=L[r](l))),o}(e),B=!!T||!d,z={closeToast:m,type:h,theme:j},$=null;return!1===c||($=s(c)?c(z):(0,n.isValidElement)(c)?(0,n.cloneElement)(c,z):function(e){let{closeToast:t,theme:r,ariaLabel:i="close"}=e;return n.createElement("button",{className:`Toastify__close-button Toastify__close-button--${r}`,type:"button",onClick:e=>{e.stopPropagation(),t(e)},"aria-label":i},n.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},n.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}(z)),n.createElement(g,{isIn:M,done:I,position:y,preventExitTransition:r,nodeRef:a,playToast:l},n.createElement("div",{id:O,onClick:p,"data-in":M,className:F,...o,style:b,ref:a},n.createElement("div",{...M&&{role:_},className:s(w)?w({type:h}):(0,i.A)("Toastify__toast-body",w),style:x},null!=V&&n.createElement("div",{className:(0,i.A)("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!N})},V),n.createElement("div",null,u)),$,n.createElement(A,{...E&&!B?{key:`pb-${E}`}:{},rtl:P,theme:j,delay:d,isRunning:t,isIn:M,closeToast:m,hide:f,type:h,style:S,className:C,controlledProgress:B,progress:T||0})))}
156,R=function(e,t){return void 0===t&&(t=!1),{enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:t}},j=d(R("bounce",!0)),D=(d(R("slide",!0)),d(R("zoom")),d(R("flip")),{position:"top-right",transition:j,autoClose:5e3,closeButton:!0,pauseOnHover:!0,pauseOnFocusLoss:!0,draggable:"touch",draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"});function F(e){let t={...D,...e},r=e.stacked,[a,o]=(0,n.useState)(!0),c=(0,n.useRef)(null),{getToastToRender:u,isToastActive:d,count:p}=x(t),{className:h,style:f,rtl:m,containerId:g}=t;function y(e){let t=(0,i.A)("Toastify__toast-container",`Toastify__toast-container--${e}`,{"Toastify__toast-container--rtl":m});return s(h)?h({position:e,rtl:m,defaultClassName:t}):(0,i.A)(t,l(h))}function v(){r&&(o(!0),O.play())}return I(()=>{if(r){var e;let r=c.current.querySelectorAll('[data-in="true"]'),n=12,i=null==(e=t.position)?void 0:e.includes("top"),o=0,s=0;Array.from(r).reverse().forEach((e,t)=>{let r=e;r.classList.add("Toastify__toast--stacked"),t>0&&(r.dataset.collapsed=`${a}`),r.dataset.pos||(r.dataset.pos=i?"top":"bot");let l=o*(a?.2:1)+(a?0:n*t);r.style.setProperty("--y",`${i?l:-1*l}px`),r.style.setProperty("--g",`${n}`),r.style.setProperty("--s",""+(1-(a?s:0))),o+=r.offsetHeight,s+=.025})}},[a,p,r]),n.createElement("div",{ref:c,className:"Toastify",id:g,onMouseEnter:()=>{r&&(o(!1),O.pause())},onMouseLeave:v},u((e,t)=>{let i=t.length?{...f}:{...f,pointerEvents:"none"};return n.createElement("div",{className:y(e),style:i,key:`container-${e}`},t.map(e=>{let{content:t,props:i}=e;return n.createElement(N,{...i,stacked:r,collapseAll:v,isIn:d(i.toastId,i.containerId),style:i.style,key:`toast-${i.key}`},t)}))}))}},94859:(e,t,r)=>{var n=r(57406),i=n.Global,a=n.trim;e.exports={name:"cookieStorage",read:s,write:c,each:l,remove:u,clearAll:d};var o=i.document;function s(e){if(!e||!p(e))return null;var t="(?:^|.*;\\s*)"+escape(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=\\s*((?:[^;](?!;))*[^;]?).*";return unescape(o.cookie.replace(new RegExp(t),"$1"))}function l(e){for(var t=o.cookie.split(/; ?/g),r=t.length-1;r>=0;r--)if(a(t[r])){var n=t[r].split("="),i=unescape(n[0]),s=unescape(n[1]);e(s,i)}}function c(e,t){e&&(o.cookie=escape(e)+"="+escape(t)+"; expires=Tue, 19 Jan 2038 03:14:07 GMT; path=/")}function u(e){e&&p(e)&&(o.cookie=escape(e)+"=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/")}function d(){l(function(e,t){u(t)})}function p(e){return RegExp("(?:^|;\\s*)"+escape(e).replace(/[\-\.\+\*]/g,"\\$&")+"\\s*\\=").test(o.cookie)}},95005:(e,t,r)=>{"use strict";r.d(t,{e:()=>o});var n=r(96727),i=r(74961);let a={fb:"/v1/facebooks",google:"/v1/third_parties/google/signin_with_google_v2",apple:"/v1/third_parties/apple/signin_with_apple"},o=e=>{let{apiDomain:t,stage:r,domain:o,lang:s,clientInfo:l,endUserClientInfo:c,deviceIdentifier:u}=e,{requestHeaders:d}=(0,n.k)(o),p=(0,i.R)(r,o),h=async(e,r)=>{try{var n,i,a,o;let u=await fetch("".concat(t).concat(e),{method:"POST",headers:d({lang:s,clientInfo:l,endUserClientInfo:c}),body:JSON.stringify(r)}),h=await u.json().catch(()=>({}));if(u.ok)return p.update(u),{ok:!0,data:h};return{ok:!1,status:u.status,res:h,errCode:null==h||null==(i=h.errors)||null==(n=i[0])?void 0:n.code,msg:null==h||null==(o=h.errors)||null==(a=o[0])?void 0:a.detail}}catch(e){return console.error("Auth request failed:",e),{ok:!1,status:0,res:void 0}}},f=(e,t)=>h("/v1/auth".concat("sign-up"===e?"":"/sign_in"),t),m=(e,t)=>h(a[e],{...t,...u&&{device_identifier:u}});return{signIn:e=>f("sign-in",e),signUp:e=>f("sign-up",e),signInWithSocial:(e,t)=>m(e,t)}}},95256:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(58309);let i=[["circle",{cx:"12.1",cy:"12.1",r:"1",key:"18d7e5"}]],a=(0,n.A)("dot",i)},95436:(e,t,r)=>{e.exports=n;function n(){return r(81444),{}}},95669:(e,t,r)=>{e.exports=r(44807)},95785:(e,t,r)=>{"use strict";r.d(t,{A:()=>o}),r(55729);var n=r(83004),i=r(6029);function a(e){return null==e||0===Object.keys(e).length}function o(e){let{styles:t,defaultTheme:r={}}=e,o="function"==typeof t?e=>t(a(e)?r:e):t;return(0,i.jsx)(n.mL,{styles:o})}},95823:(e,t,r)=>{"use strict";let n=r(69151),i="zh-TW",a="en",o={[i]:i,[a]:a};e.exports={i18n:{locales:[i,a],defaultLocale:i},localePath:n.resolve("./public/locales"),LOCALE_TW:i,LOCALE_EN:a,localeSubpaths:o,reloadOnPrerender:!1}},96228:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(8132).A)(Object.getPrototypeOf,Object)},96285:(e,t,r)=>{"use strict";r.d(t,{wN:()=>i,V4:()=>n,qS:()=>s});let n=e=>{let{wuAnonId:t,userId:r,productId:n,utmSource:i,utmMedium:a,utmCampaign:o,utmContent:s,utmAdSet:l}=e;return{baseURL:"https://u3uimannga.execute-api.ap-northeast-1.amazonaws.com/production",url:"/shops/traffic_tracking",method:"POST",data:{anonId:t,productId:n,timestamp:Date.now(),userId:r,utmSource:i,utmMedium:a,utmCampaign:o,utmContent:s,utmAdSet:l}}},i=e=>{let{wuAnonId:t,userId:r}=e;return{baseURL:"https://u3uimannga.execute-api.ap-northeast-1.amazonaws.com/production",url:"/shops/linkUser",method:"POST",data:{anonId:t,userId:r,createdAt:Date.now()}}};var a=r(31430),o=r(57165);let s=e=>{let t=async e=>{let{productId:t}=e,{data:r}=await (0,a.c)({url:"/v1/shop/products/".concat(t,"/moneyback_missions")});return r};return(0,o.Ay)(e,t,{keepPreviousData:!0})}},96296:(e,t,r)=>{"use strict";r.d(t,{U:()=>d});let n=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,i=e=>{if("string"!=typeof e)throw TypeError("Invalid argument expected string");let t=e.match(n);
156if(!t)throw Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},a=e=>"*"===e||"x"===e||"X"===e,o=e=>{let t=parseInt(e,10);return isNaN(t)?e:t},s=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],l=(e,t)=>{if(a(e)||a(t))return 0;let[r,n]=s(o(e),o(t));return r>n?1:r<n?-1:0},c=(e,t)=>{for(let r=0;r<Math.max(e.length,t.length);r++){let n=l(e[r]||"0",t[r]||"0");if(0!==n)return n}return 0},u=(e,t)=>{let r=i(e),n=i(t),a=r.pop(),o=n.pop(),s=c(r,n);return 0!==s?s:a&&o?c(a.split("."),o.split(".")):a||o?a?-1:1:0},d=(e,t,r)=>{f(r);let n=u(e,t);return p[r].includes(n)},p={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1],"!=":[-1,1]},h=Object.keys(p),f=e=>{if("string"!=typeof e)throw TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(-1===h.indexOf(e))throw Error(`Invalid operator, expected one of ${h.join("|")}`)}},96304:(e,t,r)=>{"use strict";r.d(t,{A:()=>i});var n=r(55729);function i(e){if(parseInt(n.version,10)>=19){var t;return(null==e||null==(t=e.props)?void 0:t.ref)||null}return(null==e?void 0:e.ref)||null}},96590:(e,t,r)=>{"use strict";r.d(t,{b:()=>a});var n=r(93129);let i={en:{title:"Course Opening Reminder",openAt:"open",fullyOpenAt:"The course is now open! Full access in {{TIME}}.",fullyOpenAtConcise:"Full access in {{TIME}}.",detail:"Details",fullyOpened:"All course content is now available!"},"zh-TW":{title:"課ç¨éæ¾æé",openAt:"æ£å¼é課",fullyOpenAt:"å·²é課ï¼{{TIME}} å¾éæ¾å
¨é¨èª²ç¨ï¼",fullyOpenAtConcise:"{{TIME}}
156 å¾éæ¾å
¨é¨èª²ç¨ï¼",detail:"詳æ
",fullyOpened:"課ç¨å·²å®æ´éæ¾ï¼"}},a=e=>{let{lang:t="zh-TW",endsOn:r,startsAt:a,extraInfo:o}=e,s=a?(0,n.GP)(new Date(a),"yyyy/MM/dd HH:mma"):"",l=r?(0,n.GP)(new Date(r),"yyyy/MM/dd"):"";return{...i[t],formatStartsAt:s,formatEndsOn:l,extraInfo:o}}},96727:(e,t,r)=>{"use strict";r.d(t,{k:()=>c});var n=r(77475),i=r(6329),a=r(26766),o=r(2023);let s=(0,n.YJ)(i.Ld),l=(0,n.xI)(i.Ld),c=e=>{e=e||".wordup.com.tw";let t=t=>{s.set({key:o.o.CREDENTIAL,value:JSON.stringify(t),expires:o.J,domain:e})},r=()=>{let e=s.get(o.o.CREDENTIAL,!0,!0);if(e)return e;let r=l.get(o.o.CREDENTIAL,!0,!1),n=l.get(o.o.PLATFORM,!0,!1),i=void 0!==(null==n?void 0:n.platform);return r?(t(r),i||l.remove(o.o.CREDENTIAL),r):{}},n=()=>{let e=r();return"uid"in e&&!!e.uid},i=()=>{var e;return null==(e=r())?void 0:e.uid};return{saveCredential:t,getCredential:r,requestHeaders:e=>{let{lang:t,clientInfo:r,endUserClientInfo:n,credentials:i}=e;return new Headers({"Content-Type":"application/json","Client-Lang":t||"zh-TW","Client-Info":r||"N/A","End-User-Client-Info":n||"N/A",...i})},checkHasCredential:n,getUserId:()=>(0,a.Ve)()?s.get(o.o.USER_ID):null,saveUserId:t=>s.set({key:o.o.USER_ID,value:String(t||""),expires:o.J,domain:e}),getUserName:()=>(0,a.Ve)()?s.get(o.o.USER_NAME):null,saveUserName:function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return(0,a.Ve)()?s.set({key:o.o.USER_NAME,value:t,expires:o.J,domain:e}):null},getUserEmail:i,clearCookies:()=>{[o.o.CREDENTIAL,o.o.USER_ID,o.o.USER_INFO].forEach(t=>{s.del(t,{domain:e})})}}}},96848:(e,t,r)=>{"use strict";r.d(t,{W:()=>a,As:()=>i.A,Wp:()=>n.A});var n=r(40993),i=r(2160);let a=e=>{let{children:t}=e,{isLoggedIn:r}=(0,i.A)();return r?t:null}},97043:(e,t,r)=>{"use strict";r.d(t,{Ay:()=>m,me:()=>f,gV:()=>p});var n=r(4765),i=r(92062),a=r(50970),o=r(6329),s=r(26766),l=r(47580);let c=200,u=e=>{if("string"==typeof e&&e)return e;if(e&&"object"==typeof e){let t=e;if("string"==typeof t.message&&t.message)return t.message;if("string"==typeof t.code&&t.code)return t.code}return"Non-error reported: ".concat(Object.prototype.toString.call(e))},d=e=>{if(e instanceof Error)return e;let t=Error(u(e).slice(0,c));return t.cause=e,t},p=e=>{if((0,a.A)(e))return;let{id:t,name:r,email:i}=e,o=t?t.toString():void 0;return n.gV({id:o,username:r,email:i})},h=e=>!!e&&(e instanceof Error||"string"==typeof(null==e?void 0:e.errorClass)&&"string"==typeof(null==e?void 0:e.errorMessage)||"string"==typeof(null==e?void 0:e.name)&&"string"==typeof(null==e?void 0:e.message)||"string"==typeof e),f=e=>{let{err:t,context:r={},level:a="error",toast:c}=e;o.O_&&h(t)&&i.v4(e=>{a&&e.setLevel(a),e.setExtra("additional",{...r,isApp:(0,s.Al)()}),n.Cp(d(t))}),c&&l.o[c.type](c.props)},m={setUser:p,unsetUser:()=>{n.gV(null)},notify:f,isNotifiableError:h}},97061:(e,t,r)=>{"use strict";r.d(t,{m:()=>l});var n=r(65436);function i(e){let t=(0,n.a)(e),r=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return r.setUTCFullYear(t.getFullYear()),e-r}var a=r(99034),o=r(70238),s=r(48592);function l(e,t,r){let[n,l]=(0,a.x)(null==r?void 0:r.in,e,t),c=(0,s.o)(n),u=(0,s.o)(l);return Math.round((c-i(c)-(u-i(u)))/o.w4)}},97231:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Node:()=>ew,Parser:()=>er,Position:()=>N,SourceLocation:()=>R,TokContext:()=>eA,Token:()=>eQ,TokenType:()=>g,defaultOptions:()=>D,getLineInfo:()=>j,isIdentifierChar:()=>m,isIdentifierStart:()=>f,isNewLine:()=>S,keywordTypes:()=>w,lineBreak:()=>A,lineBreakG:()=>C,nonASCIIwhitespace:()=>E,parse:()=>e4,parseExpressionAt:()=>e6,tokContexts:()=>eC,tokTypes:()=>k,tokenizer:()=>e9,version:()=>e3});var n={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},i="break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this",a={5:i,"5module":i+" export import",6:i+" const class extends export import super"},o=/^in(stanceof)?$/,s="\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-ËË-ËË -ˤˬˮͰ-ʹͶͷͺ-ͽͿÎÎ-ÎÎÎ-ΡΣ-ϵϷ-ÒÒ-Ô¯Ô±-ÕÕÕ -Ö×-תׯ-×²Ø -Ùٮٯٱ-ÛÛÛ¥Û¦Û®Û¯Ûº-Û¼Û¿ÜÜ-ܯÝ-Þ¥Þ±ß-ߪߴߵߺà -à à à ¤à ¨à¡-à¡à¡ -ࡪࢠ-ࢴࢶ-à£à¤-हऽà¥à¥-ॡॱ-à¦à¦
-à¦à¦à¦à¦-নপ-রলশ-হঽà§à§à§à§-ৡৰৱৼà¨
-à¨à¨à¨à¨-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹà©-à©à©à©²-à©´àª
-àªàª-àªàª-નપ-રલળવ-હઽà«à« ૡૹà¬
-à¬à¬à¬à¬-ନପ-ରଲଳଵ-ହଽààà-à¡à±à®à®
-à®à®-à®à®-à®à®à®à®à®à®à®£à®¤à®¨-பம-ஹà¯à°
-à°à°-à°à°-నప-హఽà±-à±à± ౡà²à²
-à²à²-à²à²-ನಪ-ಳವ-ಹಽà³à³ ೡೱೲà´-à´à´-à´à´-ഺഽàµàµ-àµàµ-ൡൺ-ൿà¶
-à¶à¶-නඳ-රලà·-à·à¸-ะาำà¹-à¹àºàºàºàº-àºàº-ຣລວ-ະາຳຽà»-à»à»à»-à»à¼à½-à½à½-ཬà¾-à¾á-áªá¿á-áá-áá¡á¥á¦á®-á°áµ-ááá -á
ááá-áºá¼-áá-áá-ááá-áá -áá-áá-á°á²-áµá¸-á¾áá-á
á-áá-áá-áá-áá-áá -áµá¸-á½á-á¬á¯-á¿á-áá -áªá®-á¸á-áá-áá -á±á-áá -á¬á®-á°á-á³ááá -ᡸá¢-ᢨᢪᢰ-ᣵá¤-á¤á¥-á¥á¥°-ᥴá¦-ᦫᦰ-á§á¨-á¨á¨ -á©áª§á¬
-ᬳá
-áá®-ᮠᮮᮯᮺ-ᯥá°-á°£á±-á±á±-á±½á²-á²á²-ᲺᲽ-Ჿᳩ-ᳬá
156³®-ᳳᳵᳶᳺá´-á¶¿á¸-á¼á¼-á¼á¼ -á½
á½-á½á½-á½á½á½á½á½-á½½á¾-á¾´á¾¶-ᾼιá¿-á¿á¿-á¿á¿-á¿á¿-á¿á¿ -Ῥῲ-á¿´á¿¶-ῼâ±â¿â-ââââ-âââ-ââ¤â¦â¨âª-â¹â¼-â¿â
-â
â
â
-ââ°-Ⱞⰰ-â±â± -ⳤⳫ-ⳮⳲⳳâ´-ⴥⴧâ´â´°-ⵧⵯâ¶-â¶â¶ -ⶦⶨ-ⶮⶰ-ⶶⶸ-â¶¾â·-â·â·-â·â·-â·â·-â·ã
-ãã¡-ã©ã±-ãµã¸-ã¼ã-ãã-ãã¡-ãºã¼-ã¿ã
-ã¯ã±-ãã -ã¿ã°-ã¿ã-ä¶¿ä¸-鿼ê-êê-ê½ê-êê-êêªê«ê-ê®ê¿-êê -ê¯ê-êê¢-êê-ê¿ê-êêµ-ê ê -ê
ê -ê ê -ê ¢ê¡-ꡳê¢-ꢳꣲ-ꣷꣻꣽꣾê¤-ꤥꤰ-ê¥ê¥ -ꥼê¦-ꦲê§ê§ -ꧤꧦ-ꧯꧺ-ê§¾ê¨-ꨨê©-ê©ê©-ê©ê© -ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽê«ê«ê«-ê«ê« -ꫪꫲ-ê«´ê¬-ê¬ê¬-ê¬ê¬-ê¬ê¬ -ꬦꬨ-ꬮꬰ-êê-ê©ê°-ꯢê°-í£í°-íí-í»ï¤-ï©ï©°-ï«ï¬-ï¬ï¬-ï¬ï¬ï¬-ﬨשׁ-זּטּ-לּמּïïïïï-ï®±ï¯-ï´½ïµ-ï¶ï¶-ï·ï·°-ﷻﹰ-ï¹´ï¹¶-ﻼA-Zï½-ï½ï½¦-ï¾¾ï¿-ï¿ï¿-ï¿ï¿-ï¿ï¿-ï¿",l="ââ\xb7Ì-ͯÎÒ-ÒÖ-Ö½Ö¿××××
ר-ØÙ-٩ٰÛ-ÛÛ-Û¤Û§Û¨Ûª-ÛÛ°-Û¹Üܰ-ÝÞ¦-Þ°ß-ßß«-߽߳à -à à -à £à ¥-à §à ©-à à¡-à¡à£-ࣣ࣡-à¤à¤º-़ा-à¥à¥-à¥à¥¢à¥£à¥¦-९à¦-à¦à¦¼à¦¾-à§à§à§à§-à§à§à§¢à§£à§¦-৯৾à¨-à¨à¨¼à¨¾-à©à©à©à©-à©à©à©¦-ੱੵàª-àªàª¼àª¾-à«
à«-à«à«-à«à«¢à«£à«¦-૯ૺ-à«¿à¬-à¬à¬¼à¬¾-àààà-àà-àà¢à£à¦-à¯à®à®¾-à¯à¯-à¯à¯-à¯à¯à¯¦-௯à°-à°à°¾-à±à±-à±à±-à±à±à±à±¢à±£à±¦-౯à²-à²à²¼à²¾-à³à³-à³à³-à³à³à³à³¢à³£à³¦-೯à´-à´à´»à´¼à´¾-àµàµ-àµàµ-àµàµàµ¢àµ£àµ¦-൯à¶-à¶à·à·-à·à·à·-à·à·¦-෯ෲෳัิ-ฺà¹-à¹à¹-à¹àº±àº´-ຼà»-à»à»-à»à¼à¼à¼ -༩༹༵༷༾༿ཱ-à¾à¾à¾à¾-à¾à¾-ྼà¿á«-á¾á-áá-áá-á á¢-á¤á§-áá±-á´á-áá-áá-áá©-á±á-áá²-á´ááá²á³á´-ááá -á©á -á á -á ᢩᤠ-ᤫᤰ-᤻á¥-á¥á§-á§á¨-á¨á©-á©á© -᩿᩼-áªáª-áªáª°-᪽ᪿá«á¬-á¬á¬´-áá-áá«-á³á®-á®á®¡-á®á®°-᮹᯦-᯳ᰤ-á°·á±-á±á±-á±á³-á³á³-᳨á³á³´á³·-á³¹á·-᷹᷻-á·¿â¿âââ-ââ¡â¥-â°â³¯-⵿⳱ⷠ-â·¿ãª-ã¯ããê -ê©ê¯ê´-ê½êêê°ê±ê ê ê ê £-ê §ê ¬ê¢ê¢ê¢´-ê£
ê£-ê£ê£ -꣱ꣿ-ê¤ê¤¦-ê¤ê¥-ê¥ê¦-ê¦ê¦³-ê§ê§-ê§ê§¥ê§°-꧹ꨩ-ꨶê©ê©ê©ê©-ê©ê©»-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿ê«ê««-ꫯꫵ꫶ꯣ-ꯪ꯬ê¯ê¯°-꯹ï¬ï¸-ï¸ï¸ -︯︳︴ï¹-ï¹ï¼-ï¼ï¼¿",c=RegExp("["+s+"]"),u=RegExp("["+s+l+"]");s=l=null;var d=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938],p=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function h(e,t){for(var r=65536,n=0;n<t.length;n+=2){if((r+=t[n])>e)return!1;if((r+=t[n+1])>=e)return!0}}function f(e,t){return e<65?36===e:e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&c.test(String.fromCharCode(e)):!1!==t&&h(e,d)))}function m(e,t){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&u.test(String.fromCharCode(e)):!1!==t&&(h(e,d)||h(e,p)))))}var g=function(e,t){void 0===t&&(t={}
156),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null};function y(e,t){return new g(e,{beforeExpr:!0,binop:t})}var v={beforeExpr:!0},b={startsExpr:!0},w={};function x(e,t){return void 0===t&&(t={}),t.keyword=e,w[e]=new g(e,t)}var k={num:new g("num",b),regexp:new g("regexp",b),string:new g("string",b),name:new g("name",b),eof:new g("eof"),bracketL:new g("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new g("]"),braceL:new g("{",{beforeExpr:!0,startsExpr:!0}),braceR:new g("}"),parenL:new g("(",{beforeExpr:!0,startsExpr:!0}),parenR:new g(")"),comma:new g(",",v),semi:new g(";",v),colon:new g(":",v),dot:new g("."),question:new g("?",v),questionDot:new g("?."),arrow:new g("=>",v),template:new g("template"),invalidTemplate:new g("invalidTemplate"),ellipsis:new g("...",v),backQuote:new g("`",b),dollarBraceL:new g("${",{beforeExpr:!0,startsExpr:!0}),eq:new g("=",{beforeExpr:!0,isAssign:!0}),assign:new g("_=",{beforeExpr:!0,isAssign:!0}),incDec:new g("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new g("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:y("||",1),logicalAND:y("&&",2),bitwiseOR:y("|",3),bitwiseXOR:y("^",4),bitwiseAND:y("&",5),equality:y("==/!=/===/!==",6),relational:y("</>/<=/>=",7),bitShift:y("<</>>/>>>",8),plusMin:new g("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:y("%",10),star:y("*",10),slash:y("/",10),starstar:new g("**",{beforeExpr:!0}),coalesce:y("??",1),_break:x("break"),_case:x("case",v),_catch:x("catch"),_continue:x("continue"),_debugger:x("debugger"),_default:x("default",v),_do:x("do",{isLoop:!0,beforeExpr:!0}),_else:x("else",v),_finally:x("finally"),_for:x("for",{isLoop:!0}),_function:x("function",b),_if:x("if"),_return:x("return",v),_switch:x("switch"),_throw:x("throw",v),_try:x("try"),_var:x("var"),_const:x("const"),_while:x("while",{isLoop:!0}),_with:x("with"),_new:x("new",{beforeExpr:!0,startsExpr:!0}),_this:x("this",b),_super:x("super",b),_class:x("class",b),_extends:x("extends",v),_export:x("export"),_import:x("import",b),_null:x("null",b),_true:x("true",b),_false:x("false",b),_in:x("in",{beforeExpr:!0,binop:7}),_instanceof:x("instanceof",{beforeExpr:!0,binop:7}),_typeof:x("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:x("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:x("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},A=/\r\n?|\n|\u2028|\u2029/,C=RegExp(A.source,"g");function S(e,t){return 10===e||13===e||!t&&(8232===e||8233===e)}var E=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,_=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,T=Object.prototype,P=T.hasOwnProperty,O=T.toString;function I(e,t){return P.call(e,t)}var M=Array.isArray||function(e){return"[object Array]"===O.call(e)};function L(e){return RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var N=function(e,t){this.line=e,this.column=t};N.prototype.offset=function(e){return new N(this.line,this.column+e)};var R=function(e,t,r){this.start=t,this.end=r,null!==e.sourceFile&&(this.source=e.sourceFile)};function j(e,t){for(var r=1,n=0;;){C.lastIndex=n;var i=C.exec(e);if(!i||!(i.index<t))return new N(r,t-n);++r,n=i.index+i[0].length}}var D={ecmaVersion:10,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:!1,allowHashBang:!1,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1};function F(e){var t={};for(var r in D)t[r]=e&&I(e,r)?e[r]:D[r];if(t.ecmaVersion>=2015&&(t.ecmaVersion-=2009),null==t.allowReserved&&(t.allowReserved=t.ecmaVersion<5),M(t.onToken)){var n=t.onToken;t.onToken=function(e){return n.push(e)}}return M(t.onComment)&&(t.onComment=V(t,t.onComment)),t}function V(e,t){return function(r,n,i,a,o,s){var l={type:r?"Block":"Line",value:n,start:i,end:a};e.locations&&(l.loc=new R(this,o,s)),e.ranges&&(l.range=[i,a]),t.push(l)}}var B=1,z=2,$=3,U=4,q=8,H=16,Y=32,W=64,G=128;function K(e,t){return z|(e?U:0)|(t?q:0)}var J=0,X=1,Q=2,Z=3,ee=4,et=5,er=function(e,t,r){this.options=e=F(e),this.sourceFile=e.sourceFile,this.keywords=L(a[e.ecmaVersion>=6?6:"module"===e.sourceType?"5module":5]);var i="";if(!0!==e.allowReserved){for(var o=e.ecmaVersion;!(i=n[o]);o--);"module"===e.sourceType&&(i+=" await")}this.reservedWords=L(i);var s=(i?i+" ":"")+n.strict;this.reservedWordsStrict=L(s),this.reservedWordsStrictBind=L(s+" "+n.strictBind),this.input=String(t),this.containsEsc=!1,r?(this.pos=r,this.lineStart=this.input.lastIndexOf("\n",r-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(A).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=k.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule="module"===e.sourceType,this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports={},0===this.pos&&e.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(B),this.regexpState=null},en={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0}};er.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)},en.inFunction.get=function(){return(this.currentVarScope().flags&z)>0},en.inGenerator.get=function(){return(this.currentVarScope().flags&q)>0},en.inAsync.get=function(){return(this.currentVarScope().flags&U)>0},en.allowSuper.get=function(){return(this.currentThisScope().flags&W)>0},en.allowDirectSuper.get=function(){return(this.currentThisScope().flags&G)>0},en.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},er.prototype.inNonArrowFunction=function(){return(this.currentThisScope().flags&z)>0},er.extend=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var r=this,n=0;n<e.length;n++)r=e[n](r);return r},er.parse=function(e,t){return new this(t,e).parse()},er.parseExpressionAt=function(e,t,r){var n=new this(r,e,t);return n.nextToken(),n.parseExpression()},er.tokenizer=function(e,t){return new this(t,e)},Object.defineProperties(er.prototype,en);var ei=er.prototype,ea=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/;function eo(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}ei.strictDirective=function(e){for(;;){_.lastIndex=e,e+=_.exec(this.input)[0].length;var t=ea.exec(this.input.slice(e));if(!t)return!1;if("use strict"===(t[1]||t[2])){_.lastIndex=e+t[0].length;var r=_.exec(this.input),n=r.index+r[0].length,i=this.input.charAt(n);return";"===i||"}"===i||A.test(r[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(i)||"!"===i&&"="===this.input.charAt(n+1))}_.lastIndex=e+=t[0].length,e+=_.exec(this.input)[0].length,";"===this.input[e]&&e++}},ei.eat=function(e){return this.type===e&&(this.next(),!0)},ei.isContextual=function(e){return this.type===k.name&&this.value===e&&!this.containsEsc},ei.eatContextual=function(e){return!!this.isContextual(e)&&(this.next(),!0)},ei.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},ei.canInsertSemicolon=function(){return this.type===k.eof||this.type===k.braceR||A.test(this.input.slice(this.lastTokEnd,this.start))},ei.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},ei.semicolon=function(){this.eat(k.semi)||this.insertSemicolon()||this.unexpected()}
156,ei.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},ei.expect=function(e){this.eat(e)||this.unexpected()},ei.unexpected=function(e){this.raise(null!=e?e:this.start,"Unexpected token")},ei.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var r=t?e.parenthesizedAssign:e.parenthesizedBind;r>-1&&this.raiseRecoverable(r,"Parenthesized pattern")}},ei.checkExpressionErrors=function(e,t){if(!e)return!1;var r=e.shorthandAssign,n=e.doubleProto;if(!t)return r>=0||n>=0;r>=0&&this.raise(r,"Shorthand property assignments are valid only in destructuring patterns"),n>=0&&this.raiseRecoverable(n,"Redefinition of __proto__ property")},ei.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")},ei.isSimpleAssignTarget=function(e){return"ParenthesizedExpression"===e.type?this.isSimpleAssignTarget(e.expression):"Identifier"===e.type||"MemberExpression"===e.type};var es=er.prototype;es.parseTopLevel=function(e){var t={};for(e.body||(e.body=[]);this.type!==k.eof;){var r=this.parseStatement(null,!0,t);e.body.push(r)}if(this.inModule)for(var n=0,i=Object.keys(this.undefinedExports);n<i.length;n+=1){var a=i[n];this.raiseRecoverable(this.undefinedExports[a].start,"Export '"+a+"' is not defined")}return this.adaptDirectivePrologue(e.body),this.next(),e.sourceType=this.options.sourceType,this.finishNode(e,"Program")};var el={kind:"loop"},ec={kind:"switch"};es.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;_.lastIndex=this.pos;var t=_.exec(this.input),r=this.pos+t[0].length,n=this.input.charCodeAt(r);if(91===n)return!0;if(e)return!1;if(123===n)return!0;if(f(n,!0)){for(var i=r+1;m(this.input.charCodeAt(i),!0);)++i;var a=this.input.slice(r,i);if(!o.test(a))return!0}return!1},es.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;_.lastIndex=this.pos;var e=_.exec(this.input),t=this.pos+e[0].length;return!A.test(this.input.slice(this.pos,t))&&"function"===this.input.slice(t,t+8)&&(t+8===this.input.length||!m(this.input.charAt(t+8)))},es.parseStatement=function(e,t,r){var n,i=this.type,a=this.startNode();switch(this.isLet(e)&&(i=k._var,n="let"),i){case k._break:case k._continue:return this.parseBreakContinueStatement(a,i.keyword);case k._debugger:return this.parseDebuggerStatement(a);case k._do:return this.parseDoStatement(a);case k._for:return this.parseForStatement(a);case k._function:return e&&(this.strict||"if"!==e&&"label"!==e)&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(a,!1,!e);case k._class:return e&&this.unexpected(),this.parseClass(a,!0);case k._if:return this.parseIfStatement(a);
156case k._return:return this.parseReturnStatement(a);case k._switch:return this.parseSwitchStatement(a);case k._throw:return this.parseThrowStatement(a);case k._try:return this.parseTryStatement(a);case k._const:case k._var:return n=n||this.value,e&&"var"!==n&&this.unexpected(),this.parseVarStatement(a,n);case k._while:return this.parseWhileStatement(a);case k._with:return this.parseWithStatement(a);case k.braceL:return this.parseBlock(!0,a);case k.semi:return this.parseEmptyStatement(a);case k._export:case k._import:if(this.options.ecmaVersion>10&&i===k._import){_.lastIndex=this.pos;var o=_.exec(this.input),s=this.pos+o[0].length,l=this.input.charCodeAt(s);if(40===l||46===l)return this.parseExpressionStatement(a,this.parseExpression())}return!this.options.allowImportExportEverywhere&&(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),i===k._import?this.parseImport(a):this.parseExport(a,r);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(a,!0,!e);var c=this.value,u=this.parseExpression();if(i===k.name&&"Identifier"===u.type&&this.eat(k.colon))return this.parseLabeledStatement(a,c,u,e);return this.parseExpressionStatement(a,u)}},es.parseBreakContinueStatement=function(e,t){var r="break"===t;this.next(),this.eat(k.semi)||this.insertSemicolon()?e.label=null:this.type!==k.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var n=0;n<this.labels.length;++n){var i=this.labels[n];if((null==e.label||i.name===e.label.name)&&(null!=i.kind&&(r||"loop"===i.kind)||e.label&&r))break}return n===this.labels.length&&this.raise(e.start,"Unsyntactic "+t),this.finishNode(e,r?"BreakStatement":"ContinueStatement")},es.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")},es.parseDoStatement=function(e){return this.next(),this.labels.push(el),e.body=this.parseStatement("do"),this.labels.pop(),this.expect(k._while),e.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(k.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},es.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(el),this.enterScope(0),this.expect(k.parenL),this.type===k.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var r=this.isLet();if(this.type===k._var||this.type===k._const||r){var n=this.startNode(),i=r?"let":this.value;return(this.next(),this.parseVar(n,!0,i),this.finishNode(n,"VariableDeclaration"),(this.type===k._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&1===n.declarations.length)?(this.options.ecmaVersion>=9&&(this.type===k._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,n)):(t>-1&&this.unexpected(t),this.parseFor(e,n))}var a=new eo,o=this.parseExpression(!0,a);return this.type===k._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===k._in?t>-1&&this.unexpected(t):e.await=t>-1),this.toAssignable(o,!1,a),this.checkLVal(o),this.parseForIn(e,o)):(this.checkExpressionErrors(a,!0),t>-1&&this.unexpected(t),this.parseFor(e,o))},es.parseFunctionStatement=function(e,t,r){return this.next(),this.parseFunction(e,ed|(r?0:ep),!1,t)},es.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(k._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")},es.parseReturnStatement=function(e){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(k.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},es.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(k.braceL),this.labels.push(ec),this.enterScope(0);for(var t,r=!1;this.type!==k.braceR;
156)if(this.type===k._case||this.type===k._default){var n=this.type===k._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),n?t.test=this.parseExpression():(r&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),r=!0,t.test=null),this.expect(k.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},es.parseThrowStatement=function(e){return this.next(),A.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var eu=[];es.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===k._catch){var t=this.startNode();if(this.next(),this.eat(k.parenL)){t.param=this.parseBindingAtom();var r="Identifier"===t.param.type;this.enterScope(r?Y:0),this.checkLVal(t.param,r?ee:Q),this.expect(k.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0);t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(k._finally)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},es.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")},es.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(el),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")},es.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")},es.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},es.parseLabeledStatement=function(e,t,r,n){for(var i=0,a=this.labels;i<a.length;i+=1)a[i].name===t&&this.raise(r.start,"Label '"+t+"' is already declared");for(var o=this.type.isLoop?"loop":this.type===k._switch?"switch":null,s=this.labels.length-1;s>=0;s--){var l=this.labels[s];if(l.statementStart===e.start)l.statementStart=this.start,l.kind=o;else break}return this.labels.push({name:t,kind:o,statementStart:this.start}),e.body=this.parseStatement(n?-1===n.indexOf("label")?n+"label":n:"label"),this.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")},es.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},es.parseBlock=function(e,t,r){for(void 0===e&&(e=!0),void 0===t&&(t=this.startNode()),t.body=[],this.expect(k.braceL),e&&this.enterScope(0);this.type!==k.braceR;){var n=this.parseStatement(null);t.body.push(n)}return r&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")},es.parseFor=function(e,t){return e.init=t,this.expect(k.semi),e.test=this.type===k.semi?null:this.parseExpression(),this.expect(k.semi),e.update=this.type===k.parenR?null:this.parseExpression(),this.expect(k.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")},es.parseForIn=function(e,t){var r=this.type===k._in;return this.next(),"VariableDeclaration"===t.type&&null!=t.declarations[0].init&&(!r||this.options.ecmaVersion<8||this.strict||"var"!==t.kind||"Identifier"!==t.declarations[0].id.type)?this.raise(t.start,(r?"for-in":"for-of")+" loop variable declaration may not have an initializer"):"AssignmentPattern"===t.type&&this.raise(t.start,"Invalid left-hand side in for-loop"),e.left=t,e.right=r?this.parseExpression():this.parseMaybeAssign(),this.expect(k.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,r?"ForInStatement":"ForOfStatement")},es.parseVar=function(e,t,r){for(e.declarations=[],e.kind=r;;){var n=this.startNode();if(this.parseVarId(n,r),this.eat(k.eq)?n.init=this.parseMaybeAssign(t):"const"!==r||this.type===k._in||this.options.ecmaVersion>=6&&this.isContextual("of")?"Identifier"===n.id.type||t&&(this.t
156ype===k._in||this.isContextual("of"))?n.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),e.declarations.push(this.finishNode(n,"VariableDeclarator")),!this.eat(k.comma))break}return e},es.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLVal(e.id,"var"===t?X:Q,!1)};var ed=1,ep=2,eh=4;es.parseFunction=function(e,t,r,n){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!n)&&(this.type===k.star&&t&ep&&this.unexpected(),e.generator=this.eat(k.star)),this.options.ecmaVersion>=8&&(e.async=!!n),t&ed&&(e.id=t&eh&&this.type!==k.name?null:this.parseIdent(),e.id&&!(t&ep)&&this.checkLVal(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?X:Q:Z));var i=this.yieldPos,a=this.awaitPos,o=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(K(e.async,e.generator)),t&ed||(e.id=this.type===k.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,r,!1),this.yieldPos=i,this.awaitPos=a,this.awaitIdentPos=o,this.finishNode(e,t&ed?"FunctionDeclaration":"FunctionExpression")},es.parseFunctionParams=function(e){this.expect(k.parenL),e.params=this.parseBindingList(k.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},es.parseClass=function(e,t){this.next();var r=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var n=this.startNode(),i=!1;for(n.body=[],this.expect(k.braceL);this.type!==k.braceR;){var a=this.parseClassElement(null!==e.superClass);a&&(n.body.push(a),"MethodDefinition"===a.type&&"constructor"===a.kind&&(i&&this.raise(a.start,"Duplicate constructor in the same class"),i=!0))}return this.strict=r,this.next(),e.body=this.finishNode(n,"ClassBody"),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},es.parseClassElement=function(e){var t=this;if(this.eat(k.semi))return null;var r=this.startNode(),n=function(e,n){void 0===n&&(n=!1);var i=t.start,a=t.startLoc;return!!t.eatContextual(e)&&(!(t.type===k.parenL||n&&t.canInsertSemicolon())||(r.key&&t.unexpected(),r.computed=!1,r.key=t.startNodeAt(i,a),r.key.name=e,t.finishNode(r.key,"Identifier"),!1))};r.kind="method",r.static=n("static");var i=this.eat(k.star),a=!1;!i&&(this.options.ecmaVersion>=8&&n("async",!0)?(a=!0,i=this.options.ecmaVersion>=9&&this.eat(k.star)):n("get")?r.kind="get":n("set")&&(r.kind="set")),r.key||this.parsePropertyName(r);var o=r.key,s=!1;return r.computed||r.static||("Identifier"!==o.type||"constructor"!==o.name)&&("Literal"!==o.type||"constructor"!==o.value)?r.static&&"Identifier"===o.type&&"prototype"===o.name&&this.raise(o.start,"Classes may not have a static property named prototype"):("method"!==r.kind&&this.raise(o.start,"Constructor can't have get/set modifier"),i&&this.raise(o.start,"Constructor can't be a generator"),a&&this.raise(o.start,"Constructor can't be an async method"),r.kind="constructor",s=e),this.parseClassMethod(r,i,a,s),"get"===r.kind&&0!==r.value.params.length&&this.raiseRecoverable(r.value.start,"getter should have no params"),"set"===r.kind&&1!==r.value.params.length&&this.raiseRecoverable(r.value.start,"setter should have exactly one param"),"set"===r.kind&&"RestElement"===r.value.params[0].type&&this.raiseRecoverable(r.value.params[0].start,"Setter cannot use rest params"),r},es.parseClassMethod=function(e,t,r,n){return e.value=this.parseMethod(t,r,n),this.finishNode(e,"MethodDefinition")},es.parseClassId=function(e,t){this.type===k.name?(e.id=this.parseIdent(),t&&this.checkLVal(e.id,Q,!1)):(!0===t&&this.unexpected(),e.id=null)},es.parseClassSuper=function(e){e.superClass=this.eat(k._extends)?this.parseExprSubscripts():null},es.parseExport=function(e,t){if(this.next(),this.eat(k.star))return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseIdent(!0),this.checkExport(t,e.exported.name,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==k.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(k._default)){if(this.checkExport(t,"default",this.lastTokStart),this.type===k._function||(r=this.isAsyncFunction())){var r,n=this.startNode();this.next(),r&&this.next(),e.declaration=this.parseFunction(n,ed|eh,!1,r)}
156else if(this.type===k._class){var i=this.startNode();e.declaration=this.parseClass(i,"nullableID")}else e.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(null),"VariableDeclaration"===e.declaration.type?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id.name,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==k.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var a=0,o=e.specifiers;a<o.length;a+=1){var s=o[a];this.checkUnreserved(s.local),this.checkLocalExport(s.local)}e.source=null}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")},es.checkExport=function(e,t,r){e&&(I(e,t)&&this.raiseRecoverable(r,"Duplicate export '"+t+"'"),e[t]=!0)},es.checkPatternExport=function(e,t){var r=t.type;if("Identifier"===r)this.checkExport(e,t.name,t.start);else if("ObjectPattern"===r)for(var n=0,i=t.properties;n<i.length;n+=1){var a=i[n];this.checkPatternExport(e,a)}else if("ArrayPattern"===r)for(var o=0,s=t.elements;o<s.length;o+=1){var l=s[o];l&&this.checkPatternExport(e,l)}else"Property"===r?this.checkPatternExport(e,t.value):"AssignmentPattern"===r?this.checkPatternExport(e,t.left):"RestElement"===r?this.checkPatternExport(e,t.argument):"ParenthesizedExpression"===r&&this.checkPatternExport(e,t.expression)},es.checkVariableExport=function(e,t){if(e)for(var r=0,n=t;r<n.length;r+=1){var i=n[r];this.checkPatternExport(e,i.id)}},es.shouldParseExportStatement=function(){return"var"===this.type.keyword||"const"===this.type.keyword||"class"===this.type.keyword||"function"===this.type.keyword||this.isLet()||this.isAsyncFunction()},es.parseExportSpecifiers=function(e){var t=[],r=!0;for(this.expect(k.braceL);!this.eat(k.braceR);){if(r)r=!1;else if(this.expect(k.comma),this.afterTrailingComma(k.braceR))break;var n=this.startNode();n.local=this.parseIdent(!0),n.exported=this.eatContextual("as")?this.parseIdent(!0):n.local,this.checkExport(e,n.exported.name,n.exported.start),t.push(this.finishNode(n,"ExportSpecifier"))}return t},es.parseImport=function(e){return this.next(),this.type===k.string?(e.specifiers=eu,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.t
156ype===k.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(e,"ImportDeclaration")},es.parseImportSpecifiers=function(){var e=[],t=!0;if(this.type===k.name){var r=this.startNode();if(r.local=this.parseIdent(),this.checkLVal(r.local,Q),e.push(this.finishNode(r,"ImportDefaultSpecifier")),!this.eat(k.comma))return e}if(this.type===k.star){var n=this.startNode();return this.next(),this.expectContextual("as"),n.local=this.parseIdent(),this.checkLVal(n.local,Q),e.push(this.finishNode(n,"ImportNamespaceSpecifier")),e}for(this.expect(k.braceL);!this.eat(k.braceR);){if(t)t=!1;else if(this.expect(k.comma),this.afterTrailingComma(k.braceR))break;var i=this.startNode();i.imported=this.parseIdent(!0),this.eatContextual("as")?i.local=this.parseIdent():(this.checkUnreserved(i.imported),i.local=i.imported),this.checkLVal(i.local,Q),e.push(this.finishNode(i,"ImportSpecifier"))}return e},es.adaptDirectivePrologue=function(e){for(var t=0;t<e.length&&this.isDirectiveCandidate(e[t]);++t)e[t].directive=e[t].expression.raw.slice(1,-1)},es.isDirectiveCandidate=function(e){return"ExpressionStatement"===e.type&&"Literal"===e.expression.type&&"string"==typeof e.expression.value&&('"'===this.input[e.start]||"'"===this.input[e.start])};var ef=er.prototype;ef.toAssignable=function(e,t,r){if(this.options.ecmaVersion>=6&&e)switch(e.type){case"Identifier":this.inAsync&&"await"===e.name&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",r&&this.checkPatternErrors(r,!0);for(var n=0,i=e.properties;n<i.length;n+=1){var a=i[n];this.toAssignable(a,t),"RestElement"===a.type&&("ArrayPattern"===a.argument.type||"ObjectPattern"===a.argument.type)&&this.raise(a.argument.start,"Unexpected token")}break;case"Property":"init"!==e.kind&&this.raise(e.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(e.value,t);break;case"ArrayExpression":e.type="ArrayPattern",r&&this.checkPatternErrors(r,!0),this.toAssignableList(e.elements,t);break;case"SpreadElement":e.type="RestElement",this.toAssignable(e.argument,t),"AssignmentPattern"===e.argument.type&&this.raise(e.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":"="!==e.operator&&this.raise(e.left.end,"Only '=' operator can be used for specifying default value."),e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);case"AssignmentPattern":break;case"ParenthesizedExpression":this.toAssignable(e.expression,t,r);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!t)break;default:this.raise(e.start,"Assigning to rvalue")}else r&&this.checkPatternErrors(r,!0);return e},ef.toAssignableList=function(e,t){for(var r=e.length,n=0;n<r;n++){var i=e[n];i&&this.toAssignable(i,t)}if(r){var a=e[r-1];6===this.options.ecmaVersion&&t&&a&&"RestElement"===a.type&&"Identifier"!==a.argument.type&&this.unexpected(a.argument.start)}return e},ef.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,"SpreadElement")},ef.parseRestBinding=function(){var e=this.startNode();return this.next(),6===this.options.ecmaVersion&&this.type!==k.name&&this.unexpected(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")},ef.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case k.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(k.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case k.braceL:return this.parseObj(!0)}return this.parseIdent()},ef.parseBindingList=function(e,t,r){for(var n=[],i=!0;!this.eat(e);)if(i?i=!1:this.expect(k.comma),t&&this.type===k.comma)n.push(null);else if(r&&this.afterTrailingComma(e))break;else if(this.type===k.ellipsis){var a=this.parseRestBinding();this.parseBindingListItem(a),n.push(a),this.type===k.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.expect(e);break}else{var o=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(o),n.push(o)}return n},ef.parseBindingListItem=function(e){return e},ef.parseMaybeDefault=function(e,t,r){if(r=r||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(k.eq))return r;var n=this.startNodeAt(e,t);
156return n.left=r,n.right=this.parseMaybeAssign(),this.finishNode(n,"AssignmentPattern")},ef.checkLVal=function(e,t,r){switch(void 0===t&&(t=J),e.type){case"Identifier":t===Q&&"let"===e.name&&this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name"),this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(t?"Binding ":"Assigning to ")+e.name+" in strict mode"),r&&(I(r,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),r[e.name]=!0),t!==J&&t!==et&&this.declareName(e.name,t,e.start);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":t&&this.raiseRecoverable(e.start,"Binding member expression");break;case"ObjectPattern":for(var n=0,i=e.properties;n<i.length;n+=1){var a=i[n];this.checkLVal(a,t,r)}break;case"Property":this.checkLVal(e.value,t,r);break;case"ArrayPattern":for(var o=0,s=e.elements;o<s.length;o+=1){var l=s[o];l&&this.checkLVal(l,t,r)}break;case"AssignmentPattern":this.checkLVal(e.left,t,r);break;case"RestElement":this.checkLVal(e.argument,t,r);break;case"ParenthesizedExpression":this.checkLVal(e.expression,t,r);break;default:this.raise(e.start,(t?"Binding":"Assigning to")+" rvalue")}};var em=er.prototype;em.checkPropClash=function(e,t,r){if((!(this.options.ecmaVersion>=9)||"SpreadElement"!==e.type)&&(!(this.options.ecmaVersion>=6)||!e.computed&&!e.method&&!e.shorthand)){var n,i,a=e.key;switch(a.type){case"Identifier":n=a.name;break;case"Literal":n=String(a.value);break;default:return}var o=e.kind;if(this.options.ecmaVersion>=6){"__proto__"===n&&"init"===o&&(t.proto&&(r?r.doubleProto<0&&(r.doubleProto=a.start):this.raiseRecoverable(a.start,"Redefinition of __proto__ property")),t.proto=!0);return}n="$"+n;var s=t[n];s?(i="init"===o?this.strict&&s.init||s.get||s.set:s.init||s[o])&&this.raiseRecoverable(a.start,"Redefinition of property"):s=t[n]={init:!1,get:!1,set:!1},s[o]=!0}},em.parseExpression=function(e,t){var r=this.start,n=this.startLoc,i=this.parseMaybeAssign(e,t);if(this.type===k.comma){var a=this.startNodeAt(r,n);for(a.expressions=[i];this.eat(k.comma);)a.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(a,"SequenceExpression")}return i},em.parseMaybeAssign=function(e,t,r){if(this.isContextual("yield"))if(this.inGenerator)return this.parseYield(e);else this.exprAllowed=!1;var n=!1,i=-1,a=-1;t?(i=t.parenthesizedAssign,a=t.trailingComma,t.parenthesizedAssign=t.trailingComma=-1):(t=new eo,n=!0);var o=this.start,s=this.startLoc;(this.type===k.parenL||this.type===k.name)&&(this.potentialArrowAt=this.start);var l=this.parseMaybeConditional(e,t);if(r&&(l=r.call(this,l,o,s)),this.type.isAssign){var c=this.startNodeAt(o,s);return c.operator=this.value,c.left=this.type===k.eq?this.toAssignable(l,!1,t):l,n||(t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1),t.shorthandAssign>=c.left.start&&(t.shorthandAssign=-1),this.checkLVal(l),this.next(),c.right=this.parseMaybeAssign(e),this.finishNode(c,"AssignmentExpression")}return n&&this.checkExpressionErrors(t,!0),i>-1&&(t.parenthesizedAssign=i),a>-1&&(t.trailingComma=a),l},em.parseMaybeConditional=function(e,t){var r=this.start,n=this.startLoc,i=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return i;if(this.eat(k.question)){var a=this.startNodeAt(r,n);return a.test=i,a.consequent=this.parseMaybeAssign(),this.expect(k.colon),a.alternate=this.parseMaybeAssign(e),this.finishNode(a,"ConditionalExpression")}return i},em.parseExprOps=function(e,t){var r=this.start,n=this.startLoc,i=this.parseMaybeUnary(t,!1);return this.checkExpressionErrors(t)||i.start===r&&"ArrowFunctionExpression"===i.type?i:this.parseExprOp(i,r,n,-1,e)},em.parseExprOp=function(e,t,r,n,i){var a=this.type.binop;if(null!=a&&(!i||this.type!==k._in)&&a>n){var o=this.type===k.logicalOR||this.type===k.logicalAND,s=this.type===k.coalesce;s&&(a=k.logicalAND.binop);var l=this.value;this.next();var c=this.start,u=this.startLoc,d=this.parseExprOp(this.parseMaybeUnary(null,!1),c,u,a,i),p=this.buildBinary(t,r,e,d,l,o||s);
156return(o&&this.type===k.coalesce||s&&(this.type===k.logicalOR||this.type===k.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(p,t,r,n,i)}return e},em.buildBinary=function(e,t,r,n,i,a){var o=this.startNodeAt(e,t);return o.left=r,o.operator=i,o.right=n,this.finishNode(o,a?"LogicalExpression":"BinaryExpression")},em.parseMaybeUnary=function(e,t){var r,n=this.start,i=this.startLoc;if(this.isContextual("await")&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction))r=this.parseAwait(),t=!0;else if(this.type.prefix){var a=this.startNode(),o=this.type===k.incDec;a.operator=this.value,a.prefix=!0,this.next(),a.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),o?this.checkLVal(a.argument):this.strict&&"delete"===a.operator&&"Identifier"===a.argument.type?this.raiseRecoverable(a.start,"Deleting local variable in strict mode"):t=!0,r=this.finishNode(a,o?"UpdateExpression":"UnaryExpression")}else{if(r=this.parseExprSubscripts(e),this.checkExpressionErrors(e))return r;for(;this.type.postfix&&!this.canInsertSemicolon();){var s=this.startNodeAt(n,i);s.operator=this.value,s.prefix=!1,s.argument=r,this.checkLVal(r),this.next(),r=this.finishNode(s,"UpdateExpression")}}return!t&&this.eat(k.starstar)?this.buildBinary(n,i,r,this.parseMaybeUnary(null,!1),"**",!1):r},em.parseExprSubscripts=function(e){var t=this.start,r=this.startLoc,n=this.parseExprAtom(e);if("ArrowFunctionExpression"===n.type&&")"!==this.input.slice(this.lastTokStart,this.lastTokEnd))return n;var i=this.parseSubscripts(n,t,r);return e&&"MemberExpression"===i.type&&(e.parenthesizedAssign>=i.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=i.start&&(e.parenthesizedBind=-1)),i},em.parseSubscripts=function(e,t,r,n){for(var i=this.options.ecmaVersion>=8&&"Identifier"===e.type&&"async"===e.name&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start==5&&this.potentialArrowAt===e.start,a=!1;;){var o=this.parseSubscript(e,t,r,n,i,a);if(o.optional&&(a=!0),o===e||"ArrowFunctionExpression"===o.type){if(a){var s=this.startNodeAt(t,r);s.expression=o,o=this.finishNode(s,"ChainExpression")}return o}e=o}},em.parseSubscript=function(e,t,r,n,i,a){var o=this.options.ecmaVersion>=11,s=o&&this.eat(k.questionDot);n&&s&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var l=this.eat(k.bracketL);if(l||s&&this.type!==k.parenL&&this.type!==k.backQuote||this.eat(k.dot)){var c=this.startNodeAt(t,r);c.object=e,c.property=l?this.parseExpression():this.parseIdent("never"!==this.options.allowReserved),c.computed=!!l,l&&this.expect(k.bracketR),o&&(c.optional=s),e=this.finishNode(c,"MemberExpression")}else if(!n&&this.eat(k.parenL)){var u=new eo,d=this.yieldPos,p=this.awaitPos,h=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var f=this.parseExprList(k.parenR,this.options.ecmaVersion>=8,!1,u);if(i&&!s&&!this.canInsertSemicolon()&&this.eat(k.arrow))return this.checkPatternErrors(u,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=d,this.awaitPos=p,this.awaitIdentPos=h,this.parseArrowExpression(this.startNodeAt(t,r),f,!0);this.checkExpressionErrors(u,!0),this.yieldPos=d||this.yieldPos,this.awaitPos=p||this.awaitPos,this.awaitIdentPos=h||this.awaitIdentPos;var m=this.startNodeAt(t,r);m.callee=e,m.arguments=f,o&&(m.optional=s),e=this.finishNode(m,"CallExpression")}else if(this.type===k.backQuote){(s||a)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var g=this.startNodeAt(t,r);g.tag=e,g.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(g,"TaggedTemplateExpression")}return e},em.parseExprAtom=function(e){this.type===k.slash&&this.readRegexp();var t,r=this.potentialArrowAt===this.start;switch(this.type){case k._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),t=this.startNode(),this.next(),this.type!==k.parenL||this.allowDirectSuper||this.raise(t.start,"super() call outside constructor of a subclass"),this.type!==k.dot&&this.type!==k.bracketL&&this.type!==k.parenL&&this.unexpected(),this.finishNode(t,"Super");case k._this:return t=this.startNode(),this.next(),this.finishNode(t,"ThisExpression");case k.name:var n=this.start,i=this.startLoc,a=this.containsEsc,o=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!a&&"async"===o.name&&!this.canInsertSemicolon()&&this.eat(k._function))return this.parseFunction(this.startNodeAt(n,i),0,!1,!0);if(r&&!this.canInsertSemicolon()){if(this.eat(k.arrow))return this.parseArrowExpression(this.startNodeAt(n,i),[o],!1);if(this.options.ecmaVersion>=8&&"async"===o.name&&this.type===k.name&&!a)return o=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(k.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(n,i),[o],!0)}return o;case k.regexp:var s=this.value;return(t=this.parseLiteral(s.value)).regex={pattern:s.pattern,flags:s.flags},t;
156case k.num:case k.string:return this.parseLiteral(this.value);case k._null:case k._true:case k._false:return(t=this.startNode()).value=this.type===k._null?null:this.type===k._true,t.raw=this.type.keyword,this.next(),this.finishNode(t,"Literal");case k.parenL:var l=this.start,c=this.parseParenAndDistinguishExpression(r);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(c)&&(e.parenthesizedAssign=l),e.parenthesizedBind<0&&(e.parenthesizedBind=l)),c;case k.bracketL:return t=this.startNode(),this.next(),t.elements=this.parseExprList(k.bracketR,!0,!0,e),this.finishNode(t,"ArrayExpression");case k.braceL:return this.parseObj(!1,e);case k._function:return t=this.startNode(),this.next(),this.parseFunction(t,0);case k._class:return this.parseClass(this.startNode(),!1);case k._new:return this.parseNew();case k.backQuote:return this.parseTemplate();case k._import:if(this.options.ecmaVersion>=11)return this.parseExprImport();return this.unexpected();default:this.unexpected()}},em.parseExprImport=function(){var e=this.startNode();this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import");var t=this.parseIdent(!0);switch(this.type){case k.parenL:return this.parseDynamicImport(e);case k.dot:return e.meta=t,this.parseImportMeta(e);default:this.unexpected()}},em.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),!this.eat(k.parenR)){var t=this.start;this.eat(k.comma)&&this.eat(k.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")},em.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),"meta"!==e.property.name&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),"module"!==this.options.sourceType&&this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")},em.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),110===t.raw.charCodeAt(t.raw.length-1)&&(t.bigint=t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")},em.parseParenExpression=function(){this.expect(k.parenL);var e=this.parseExpression();return this.expect(k.parenR),e},em.parseParenAndDistinguishExpression=function(e){var t,r=this.start,n=this.startLoc,i=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var a,o=this.start,s=this.startLoc,l=[],c=!0,u=!1,d=new eo,p=this.yieldPos,h=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==k.parenR;){if(c?c=!1:this.expect(k.comma),i&&this.afterTrailingComma(k.parenR,!0)){u=!0;break}if(this.type===k.ellipsis){a=this.start,l.push(this.parseParenItem(this.parseRestBinding())),this.type===k.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}l.push(this.parseMaybeAssign(!1,d,this.parseParenItem))}var f=this.start,m=this.startLoc;if(this.expect(k.parenR),e&&!this.canInsertSemicolon()&&this.eat(k.arrow))return this.checkPatternErrors(d,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=p,this.awaitPos=h,this.parseParenArrowList(r,n,l);(!l.length||u)&&this.unexpected(this.lastTokStart),a&&this.unexpected(a),this.checkExpressionErrors(d,!0),this.yieldPos=p||this.yieldPos,this.awaitPos=h||this.awaitPos,l.length>1?((t=this.startNodeAt(o,s)).expressions=l,this.finishNodeAt(t,"SequenceExpression",f,m)):t=l[0]}else t=this.parseParenExpression();if(!this.options.preserveParens)return t;var g=this.startNodeAt(r,n);return g.expression=t,this.finishNode(g,"ParenthesizedExpression")},em.parseParenItem=function(e){return e},em.parseParenArrowList=function(e,t,r){return this.parseArrowExpression(this.startNodeAt(e,t),r)};var eg=[];em.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(k.dot)){e.meta=t;var r=this.containsEsc;return e.property=this.parseIdent(!0),"target"!==e.property.name&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),r&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.inNonArrowFunction()||this.raiseRecoverable(e.start,"'new.target' can only be used in functions"),this.finishNode(e,"MetaProperty")}var n=this.start,i=this.startLoc,a=this.type===k._import;return e.callee=this.parseSubscripts(this.parseExprAtom(),n,i,!0),a&&"ImportExpression"===e.callee.type&&this.raise(n,"Cannot use new with import()"),this.eat(k.parenL)?e.arguments=this.parseExprList(k.parenR,this.options.ecmaVersion>=8,!1):e.arguments=eg,this.finishNode(e,"NewExpression")},em.parseTemplateElement=function(e){var t=e.isTagged,r=this.startNode();return this.type===k.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),r.value={raw:this.value,cooked:null}):r.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value}
156,this.next(),r.tail=this.type===k.backQuote,this.finishNode(r,"TemplateElement")},em.parseTemplate=function(e){void 0===e&&(e={});var t=e.isTagged;void 0===t&&(t=!1);var r=this.startNode();this.next(),r.expressions=[];var n=this.parseTemplateElement({isTagged:t});for(r.quasis=[n];!n.tail;)this.type===k.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(k.dollarBraceL),r.expressions.push(this.parseExpression()),this.expect(k.braceR),r.quasis.push(n=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(r,"TemplateLiteral")},em.isAsyncProp=function(e){return!e.computed&&"Identifier"===e.key.type&&"async"===e.key.name&&(this.type===k.name||this.type===k.num||this.type===k.string||this.type===k.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===k.star)&&!A.test(this.input.slice(this.lastTokEnd,this.start))},em.parseObj=function(e,t){var r=this.startNode(),n=!0,i={};for(r.properties=[],this.next();!this.eat(k.braceR);){if(n)n=!1;else if(this.expect(k.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(k.braceR))break;var a=this.parseProperty(e,t);e||this.checkPropClash(a,i,t),r.properties.push(a)}return this.finishNode(r,e?"ObjectPattern":"ObjectExpression")},em.parseProperty=function(e,t){var r,n,i,a,o=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(k.ellipsis))return e?(o.argument=this.parseIdent(!1),this.type===k.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(o,"RestElement")):(this.type===k.parenL&&t&&(t.parenthesizedAssign<0&&(t.parenthesizedAssign=this.start),t.parenthesizedBind<0&&(t.parenthesizedBind=this.start)),o.argument=this.parseMaybeAssign(!1,t),this.type===k.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(o,"SpreadElement"));this.options.ecmaVersion>=6&&(o.method=!1,o.shorthand=!1,(e||t)&&(i=this.start,a=this.startLoc),e||(r=this.eat(k.star)));var s=this.containsEsc;return this.parsePropertyName(o),!e&&!s&&this.options.ecmaVersion>=8&&!r&&this.isAsyncProp(o)?(n=!0,r=this.options.ecmaVersion>=9&&this.eat(k.star),this.parsePropertyName(o,t)):n=!1,this.parsePropertyValue(o,e,r,n,i,a,t,s),this.finishNode(o,"Property")},em.parsePropertyValue=function(e,t,r,n,i,a,o,s){if((r||n)&&this.type===k.colon&&this.unexpected(),this.eat(k.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,o),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===k.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(r,n);else if(t||s||!(this.options.ecmaVersion>=5)||e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||this.type===k.comma||this.type===k.braceR||this.type===k.eq)this.options.ecmaVersion>=6&&!e.computed&&"Identifier"===e.key.type?((r||n)&&this.unexpected(),this.checkUnreserved(e.key),"await"!==e.key.name||this.awaitIdentPos||(this.awaitIdentPos=i),e.kind="init",t?e.value=this.parseMaybeDefault(i,a,e.key):this.type===k.eq&&o?(o.shorthandAssign<0&&(o.shorthandAssign=this.start),e.value=this.parseMaybeDefault(i,a,e.key)):e.value=e.key,e.shorthand=!0):this.unexpected();else{(r||n)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var l=+("get"!==e.kind);if(e.value.params.length!==l){var c=e.value.start;"get"===e.kind?this.raiseRecoverable(c,"getter should have no params"):this.raiseRecoverable(c,"setter should have exactly one param")}else"set"===e.kind&&"RestElement"===e.value.params[0].type&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}},em.parsePropertyName=function(e){if(this.options.ecmaVersion>=6)if(this.eat(k.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(k.bracketR),e.key;else e.computed=!1;return e.key=this.type===k.num||this.type===k.string?this.parseExprAtom():this.parseIdent("never"!==this.options.allowReserved)},em.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},em.parseMethod=function(e,t,r){var n=this.startNode(),i=this.yieldPos,a=this.awaitPos,o=this.awaitIdentPos;return this.initFunction(n),this.options.ecmaVersion>=6&&(n.generator=e),this.options.ecmaVersion>=8&&(n.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(K(t,n.generator)|W|(r?G:0)),this.expect(k.parenL),n.params=this.parseBindingList(k.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(n,!1,!0),this.yieldPos=i,this.awaitPos=a,this.awaitIdentPos=o,this.finishNode(n,"FunctionExpression")},em.parseArrowExpression=function(e,t,r){var n=this.yieldPos,i=this.awaitPos,a=this.awaitIdentPos;return this.enterScope(K(r,!1)|H),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!r),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1),this.yieldPos=n,this.awaitPos=i,this.awaitIdentPos=a,this.finishNode(e,"ArrowFunctionExpression")},em.parseFunctionBody=function(e,t,r){var n=t&&this.type!==k.braceL,i=this.strict,a=!1;if(n)e.body=this.parseMaybeAssign(),e.expression=!0,this.checkParams(e,!1);else{var o=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!i||o)&&(a=this.strictDirective(this.end))&&o&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list");var s=this.labels;this.labels=[],a&&(this.strict=!0),this.checkParams(e,!i&&!a&&!t&&!r&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLVal(e.id,et),e.body=this.parseBlock(!1,void 0,a&&!i),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=s}this.exitScope()},em.isSimpleParamList=function(e){for(var t=0,r=e;t<r.length;t+=1)if("Identifier"!==r[t].type)return!1;return!0},em.checkParams=function(e,t){for(var r={},n=0,i=e.params;n<i.length;n+=1){var a=i[n];this.checkLVal(a,X,t?null:r)}},em.parseExprList=function(e,t,r,n){for(var i=[],a=!0;!this.eat(e);){if(a)a=!1;else if(this.expect(k.comma),t&&this.afterTrailingComma(e))break;var o=void 0;r&&this.type===k.comma?o=null:this.type===k.ellipsis?(o=this.parseSpread(n),n&&this.type===k.comma&&n.trailingComma<0&&(n.trailingComma=this.start)):o=this.parseMaybeAssign(!1,n),i.push(o)}return i},em.checkUnreserved=function(e){var t=e.start,r=e.end,n=e.name;if(this.inGenerator&&"yield"===n&&this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&"await"===n&&this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function"),this.keywords.test(n)&&this.raise(t,"Unexpected keyword '"+n+"'"),!(this.options.ecmaVersion<6)||-1===this.input.slice(t,r).indexOf("\\")){var i=this.strict?this.reservedWordsStrict:this.reservedWords;i.test(n)&&(this.inAsync||"await"!==n||this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(t,"The keyword '"+n+"' is reserved"))}},em.parseIdent=function(e,t){var r=this.startNode();return this.type===k.name?r.name=this.value:this.type.keyword?(r.name=this.type.keyword,("class"===r.name||"function"===r.
156name)&&(this.lastTokEnd!==this.lastTokStart+1||46!==this.input.charCodeAt(this.lastTokStart))&&this.context.pop()):this.unexpected(),this.next(!!e),this.finishNode(r,"Identifier"),!e&&(this.checkUnreserved(r),"await"!==r.name||this.awaitIdentPos||(this.awaitIdentPos=r.start)),r},em.parseYield=function(e){this.yieldPos||(this.yieldPos=this.start);var t=this.startNode();return this.next(),this.type===k.semi||this.canInsertSemicolon()||this.type!==k.star&&!this.type.startsExpr?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(k.star),t.argument=this.parseMaybeAssign(e)),this.finishNode(t,"YieldExpression")},em.parseAwait=function(){this.awaitPos||(this.awaitPos=this.start);var e=this.startNode();return this.next(),e.argument=this.parseMaybeUnary(null,!1),this.finishNode(e,"AwaitExpression")};var ey=er.prototype;ey.raise=function(e,t){var r=j(this.input,e),n=SyntaxError(t+=" ("+r.line+":"+r.column+")");throw n.pos=e,n.loc=r,n.raisedAt=this.pos,n},ey.raiseRecoverable=ey.raise,ey.curPosition=function(){if(this.options.locations)return new N(this.curLine,this.pos-this.lineStart)};var ev=er.prototype,eb=function(e){this.flags=e,this.var=[],this.lexical=[],this.functions=[]};ev.enterScope=function(e){this.scopeStack.push(new eb(e))},ev.exitScope=function(){this.scopeStack.pop()},ev.treatFunctionsAsVarInScope=function(e){return e.flags&z||!this.inModule&&e.flags&B},ev.declareName=function(e,t,r){var n=!1;if(t===Q){var i=this.currentScope();n=i.lexical.indexOf(e)>-1||i.functions.indexOf(e)>-1||i.var.indexOf(e)>-1,i.lexical.push(e),this.inModule&&i.flags&B&&delete this.undefinedExports[e]}else if(t===ee)this.currentScope().lexical.push(e);else if(t===Z){var a=this.currentScope();n=this.treatFunctionsAsVar?a.lexical.indexOf(e)>-1:a.lexical.indexOf(e)>-1||a.var.indexOf(e)>-1,a.functions.push(e)}else for(var o=this.scopeStack.length-1;o>=0;--o){var s=this.scopeStack[o];if(s.lexical.indexOf(e)>-1&&!(s.flags&Y&&s.lexical[0]===e)||!this.treatFunctionsAsVarInScope(s)&&s.functions.indexOf(e)>-1){n=!0;break}if(s.var.push(e),this.inModule&&s.flags&B&&delete this.undefinedExports[e],s.flags&$)break}n&&this.raiseRecoverable(r,"Identifier '"+e+"' has already been declared")},ev.checkLocalExport=function(e){-1===this.scopeStack[0].lexical.indexOf(e.name)&&-1===this.scopeStack[0].var.indexOf(e.name)&&(this.undefinedExports[e.name]=e)},ev.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},ev.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&$)return t}},ev.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&$&&!(t.flags&H))return t}};var ew=function(e,t,r){this.type="",this.start=t,this.end=0,e.options.locations&&(this.loc=new R(e,r)),e.options.directSourceFile&&(this.sourceFile=e.options.directSourceFile),e.options.ranges&&(this.range=[t,0])},ex=er.prototype;function ek(e,t,r,n){return e.type=t,e.end=r,this.options.locations&&(e.loc.end=n),this.options.ranges&&(e.range[1]=r),e}ex.startNode=function(){return new ew(this,this.start,this.startLoc)},ex.startNodeAt=function(e,t){return new ew(this,e,t)},ex.finishNode=function(e,t){return ek.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)},ex.finishNodeAt=function(e,t,r,n){return ek.call(this,e,t,r,n)};var eA=function(e,t,r,n,i){this.token=e,this.isExpr=!!t,this.preserveSpace=!!r,this.override=n,this.generator=!!i},eC={b_stat:new eA("{",!1),b_expr:new eA("{",!0),b_tmpl:new eA("${",!1),p_stat:new eA("(",!1),p_expr:new eA("(",!0),q_tmpl:new eA("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new eA("function",!1),f_expr:new eA("function",!0),f_expr_gen:new eA("function",!0,!1,null,!0),f_gen:new eA("function",!1,!1,null,!0)},eS=er.prototype;eS.initialContext=function(){return[eC.b_stat]},eS.braceIsBlock=function(e){var t=this.curContext();return t===eC.f_expr||t===eC.f_stat||(e===k.colon&&(t===eC.b_stat||t===eC.b_expr)?!t.isExpr:e===k._return||e===k.name&&this.exprAllowed?A.test(this.input.slice(this.lastTokEnd,this.start)):e===k._else||e===k.semi||e===k.eof||e===k.parenR||e===k.arrow||(e===k.braceL?t===eC.b_stat:e!==k._var&&e!==k._const&&e!==k.name&&!this.exprAllowed))},eS.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if("function"===t.token)return t.generator}return!1}
156,eS.updateContext=function(e){var t,r=this.type;r.keyword&&e===k.dot?this.exprAllowed=!1:(t=r.updateContext)?t.call(this,e):this.exprAllowed=r.beforeExpr},k.parenR.updateContext=k.braceR.updateContext=function(){if(1===this.context.length){this.exprAllowed=!0;return}var e=this.context.pop();e===eC.b_stat&&"function"===this.curContext().token&&(e=this.context.pop()),this.exprAllowed=!e.isExpr},k.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?eC.b_stat:eC.b_expr),this.exprAllowed=!0},k.dollarBraceL.updateContext=function(){this.context.push(eC.b_tmpl),this.exprAllowed=!0},k.parenL.updateContext=function(e){var t=e===k._if||e===k._for||e===k._with||e===k._while;this.context.push(t?eC.p_stat:eC.p_expr),this.exprAllowed=!0},k.incDec.updateContext=function(){},k._function.updateContext=k._class.updateContext=function(e){e.beforeExpr&&e!==k.semi&&e!==k._else&&!(e===k._return&&A.test(this.input.slice(this.lastTokEnd,this.start)))&&(e!==k.colon&&e!==k.braceL||this.curContext()!==eC.b_stat)?this.context.push(eC.f_expr):this.context.push(eC.f_stat),this.exprAllowed=!1},k.backQuote.updateContext=function(){this.curContext()===eC.q_tmpl?this.context.pop():this.context.push(eC.q_tmpl),this.exprAllowed=!1},k.star.updateContext=function(e){if(e===k._function){var t=this.context.length-1;this.context[t]===eC.f_expr?this.context[t]=eC.f_expr_gen:this.context[t]=eC.f_gen}this.exprAllowed=!0},k.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==k.dot&&("of"===this.value&&!this.exprAllowed||"yield"===this.value&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var eE="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",e_=eE+" Extended_Pictographic",eT=e_,eP={9:eE,10:e_,11:eT},eO="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",eI="Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Re
156jang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",eM=eI+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",eL=eM+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",eN={9:eI,10:eM,11:eL},eR={};function ej(e){var t=eR[e]={binary:L(eP[e]+" "+eO),nonBinary:{General_Category:L(eO),Script:L(eN[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}ej(9),ej(10),ej(11);var eD=er.prototype,eF=function(e){this.parser=e,this.validFlags="gim"+(e.options.ecmaVersion>=6?"uy":"")+(e.options.ecmaVersion>=9?"s":""),this.unicodeProperties=eR[e.options.ecmaVersion>=11?11:e.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};function eV(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(((e-=65536)>>10)+55296,(1023&e)+56320)}function eB(e){return 36===e||e>=40&&e<=43||46===e||63===e||e>=91&&e<=94||e>=123&&e<=125}function ez(e){return f(e,!0)||36===e||95===e}function e$(e){return m(e,!0)||36===e||95===e||8204===e||8205===e}function eU(e){return e>=65&&e<=90||e>=97&&e<=122}function eq(e){return e>=0&&e<=1114111}function eH(e){return 100===e||68===e||115===e||83===e||119===e||87===e}function eY(e){return eU(e)||95===e}function eW(e){return eY(e)||eG(e)}function eG(e){return e>=48&&e<=57}function eK(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function eJ(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}function eX(e){return e>=48&&e<=55}eF.prototype.reset=function(e,t,r){var n=-1!==r.indexOf("u");this.start=0|e,this.source=t+"",this.flags=r,this.switchU=n&&this.parser.options.ecmaVersion>=6,this.switchN=n&&this.parser.options.ecmaVersion>=9},eF.prototype.raise=function(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)},eF.prototype.at=function(e,t){void 0===t&&(t=!1);var r=this.source,n=r.length;if(e>=n)return -1;var i=r.charCodeAt(e);if(!(t||this.switchU)||i<=55295||i>=57344||e+1>=n)return i;var a=r.charCodeAt(e+1);return a>=56320&&a<=57343?(i<<10)+a-0x35fdc00:i},eF.prototype.nextIndex=function(e,t){void 0===t&&(t=!1);var r=this.source,n=r.length;if(e>=n)return n;var i,a=r.charCodeAt(e);return!(t||this.switchU)||a<=55295||a>=57344||e+1>=n||(i=r.charCodeAt(e+1))<56320||i>57343?e+1:e+2},eF.prototype.current=function(e){return void 0===e&&(e=!1),this.at(this.pos,e)},eF.prototype.lookahead=function(e){return void 0===e&&(e=!1),this.at(this.nextIndex(this.pos,e),e)},eF.prototype.advance=function(e){void 0===e&&(e=!1),this.pos=this.nextIndex(this.pos,e)},eF.prototype.eat=function(e,t){return void 0===t&&(t=!1),this.current(t)===e&&(this.advance(t),!0)},eD.validateRegExpFlags=function(e){for(var t=e.validFlags,r=e.flags,n=0;n<r.length;n++){var i=r.charAt(n);-1===t.indexOf(i)&&this.raise(e.start,"Invalid regular expression flag"),r.indexOf(i,n+1)>-1&&this.raise(e.start,"Duplicate regular expression flag")}},eD.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0&&(e.switchN=!0,this.regexp_pattern(e))},eD.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames.length=0,e.backReferenceNames.length=0,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,r=e.backReferenceNames;t<r.length;t+=1){var n=r[t];-1===e.groupNames.indexOf(n)&&e.raise("Invalid named capture referenced")}},eD.regexp_disjunction=function(e){for(this.regexp_alternative(e);e.eat(124);)this.regexp_alternative(e);this.regexp_eatQuantifier(e,!0)&&e.raise("Nothing to repeat"),e.eat(123)&&e.raise("Lone quantifier brackets")},eD.regexp_alternative=function(e){for(;e.pos<e.source.length&&this.regexp_eatTerm(e););},eD.regexp_eatTerm=function(e){return this.regexp_eatAssertion(e)?(e.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(e)&&e.switchU&&e.raise("Invalid quantifier"),!0):(e.switchU?!!this.regexp_eatAtom(e):!!this.regexp_eatExtendedAtom(e))&&(this.regexp_eatQuantifier(e),!0)},eD.regexp_eatAssertion=function(e){var t=e.pos;if(e.lastAssertionIsQuantifiable=!1,e.eat(94)||e.eat(36))return!0;
156if(e.eat(92)){if(e.eat(66)||e.eat(98))return!0;e.pos=t}if(e.eat(40)&&e.eat(63)){var r=!1;if(this.options.ecmaVersion>=9&&(r=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!r,!0}return e.pos=t,!1},eD.regexp_eatQuantifier=function(e,t){return void 0===t&&(t=!1),!!this.regexp_eatQuantifierPrefix(e,t)&&(e.eat(63),!0)},eD.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},eD.regexp_eatBracedQuantifier=function(e,t){var r=e.pos;if(e.eat(123)){var n=0,i=-1;if(this.regexp_eatDecimalDigits(e)&&(n=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(i=e.lastIntValue),e.eat(125)))return -1!==i&&i<n&&!t&&e.raise("numbers out of order in {} quantifier"),!0;e.switchU&&!t&&e.raise("Incomplete quantifier"),e.pos=r}return!1},eD.regexp_eatAtom=function(e){return this.regexp_eatPatternCharacters(e)||e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)},eD.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e))return!0;e.pos=t}return!1},eD.regexp_eatUncapturingGroup=function(e){var t=e.pos;if(e.eat(40)){if(e.eat(63)&&e.eat(58)){if(this.regexp_disjunction(e),e.eat(41))return!0;e.raise("Unterminated group")}e.pos=t}return!1},eD.regexp_eatCapturingGroup=function(e){if(e.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(e):63===e.current()&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1},eD.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)},eD.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1},eD.regexp_eatSyntaxCharacter=function(e){var t=e.current();return!!eB(t)&&(e.lastIntValue=t,e.advance(),!0)},eD.regexp_eatPatternCharacters=function(e){for(var t=e.pos,r=0;-1!==(r=e.current())&&!eB(r);)e.advance();return e.pos!==t},eD.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return -1!==t&&36!==t&&(!(t>=40)||!(t<=43))&&46!==t&&63!==t&&91!==t&&94!==t&&124!==t&&(e.advance(),!0)},eD.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e)){-1!==e.groupNames.indexOf(e.lastStringValue)&&e.raise("Duplicate capture group name"),e.groupNames.push(e.lastStringValue);return}e.raise("Invalid group")}},eD.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1},eD.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=eV(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=eV(e.lastIntValue);return!0}return!1},eD.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,n=e.current(r);return(e.advance(r),92===n&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(n=e.lastIntValue),ez(n))?(e.lastIntValue=n,!0):(e.pos=t,!1)},eD.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,n=e.current(r);return(e.advance(r),92===n&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(n=e.lastIntValue),e$(n))?(e.lastIntValue=n,!0):(e.pos=t,!1)},eD.regexp_eatAtomEscape=function(e){return!!(this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e))||(e.switchU&&(99===e.current()&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)},eD.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var r=e.lastIntValue;if(e.switchU)return r>e.maxBackReference&&(e.maxBackReference=r),!0;if(r<=e.numCapturingParens)return!0;e.pos=t}return!1},eD.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1},eD.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||
156!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)},eD.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},eD.regexp_eatZero=function(e){return!(48!==e.current()||eG(e.lookahead()))&&(e.lastIntValue=0,e.advance(),!0)},eD.regexp_eatControlEscape=function(e){var t=e.current();return 116===t?(e.lastIntValue=9,e.advance(),!0):110===t?(e.lastIntValue=10,e.advance(),!0):118===t?(e.lastIntValue=11,e.advance(),!0):102===t?(e.lastIntValue=12,e.advance(),!0):114===t&&(e.lastIntValue=13,e.advance(),!0)},eD.regexp_eatControlLetter=function(e){var t=e.current();return!!eU(t)&&(e.lastIntValue=t%32,e.advance(),!0)},eD.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){void 0===t&&(t=!1);var r=e.pos,n=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var i=e.lastIntValue;if(n&&i>=55296&&i<=56319){var a=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var o=e.lastIntValue;if(o>=56320&&o<=57343)return e.lastIntValue=(i-55296)*1024+(o-56320)+65536,!0}e.pos=a,e.lastIntValue=i}return!0}if(n&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&eq(e.lastIntValue))return!0;n&&e.raise("Invalid unicode escape"),e.pos=r}return!1},eD.regexp_eatIdentityEscape=function(e){if(e.switchU)return!!this.regexp_eatSyntaxCharacter(e)||!!e.eat(47)&&(e.lastIntValue=47,!0);var t=e.current();return 99!==t&&(!e.switchN||107!==t)&&(e.lastIntValue=t,e.advance(),!0)},eD.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do e.lastIntValue=10*e.lastIntValue+(t-48),e.advance();while((t=e.current())>=48&&t<=57);return!0}return!1},eD.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(eH(t))return e.lastIntValue=-1,e.advance(),!0;if(e.switchU&&this.options.ecmaVersion>=9&&(80===t||112===t)){if(e.lastIntValue=-1,e.advance(),e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125))return!0;e.raise("Invalid property name")}return!1},eD.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var r=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var n=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,r,n),!0}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var i=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,i),!0}return!1},eD.regexp_validateUnicodePropertyNameAndValue=function(e,t,r){I(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(r)||e.raise("Invalid property value")},eD.regexp_validateUnicodePropertyNameOrValue=function(e,t){e.unicodeProperties.binary.test(t)||e.raise("Invalid property name")},eD.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";eY(t=e.current());)e.lastStringValue+=eV(t),e.advance();return""!==e.lastStringValue},eD.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";eW(t=e.current());)e.lastStringValue+=eV(t),e.advance();return""!==e.lastStringValue},eD.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},eD.regexp_eatCharacterClass=function(e){if(e.eat(91)){if(e.eat(94),this.regexp_classRanges(e),e.eat(93))return!0;e.raise("Unterminated character class")}return!1},eD.regexp_classRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var r=e.lastIntValue;e.switchU&&(-1===t||-1===r)&&e.raise("Invalid character class"),-1!==t&&-1!==r&&t>r&&e.raise("Range out of order in character class")}}},eD.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var r=e.current();(99===r||eX(r))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var n=e.current();return 93!==n&&(e.lastIntValue=n,e.advance(),!0)},eD.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)},eD.regexp_eatClassControlLetter=function(e){var t=e.current();return(!!eG(t)||95===t)&&(e.lastIntValue=t%32,e.advance(),!0)},eD.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1},eD.regexp_eatDecimalDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;eG(r=e.current());)e.lastIntValue=10*e.lastIntValue+(r-48),e.advance();return e.pos!==t},eD.regexp_eatHexDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;eK(r=e.current());)e.lastIntValue=16*e.lastIntValue+eJ(r),e.advance();return e.pos!==t},eD.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var r=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=64*t+8*r+e.lastIntValue:e.lastIntValue=8*t+r}else e.lastIntValue=t;return!0}return!1},eD.regexp_eatOctalDigit=function(e){var t=e.current();return eX(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)},eD.regexp_eatFixedHexDigits=function(e,t){var r=e.pos;e.lastIntValue=0;for(var n=0;n<t;++n){var i=e.current();if(!eK(i))return e.pos=r,!1;e.lastIntValue=16*e.lastIntValue+eJ(i),e.advance()}return!0};var eQ=function(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,e.options.locations&&(this.loc=new R(e,e.startLoc,e.endLoc)),e.options.ranges&&(this.range=[e.start,e.end])},eZ=er.prototype;function e0(e,t){return t?parseInt(e,8):parseFloat(e.replace(/_/g,""))}function e1(e){return"function"!=typeof BigInt?null:BigInt(e.replace(/_/g,""))}function e2(e){return e<=65535?String.fromCharCode(e):String.fromCharCode(((e-=65536)>>10)+55296,(1023&e)+56320)}eZ.next=function(e){!e&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new eQ(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},eZ.getToken=function(){return this.next(),new eQ(this)},"undefined"!=typeof Symbol&&(eZ[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===k.eof,value:t}}}}),eZ.curContext=function(){return this.context[this.context.length-1]},eZ.nextToken=function(){var e=this.curContext();return(e&&e.preserveSpace||this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)?this.finishToken(k.eof):e.override?e.override(this):void this.readToken(this.fullCharCodeAtPos())},eZ.readToken=function(e){return f(e,this.options.ecmaVersion>=6)||92===e?this.readWord():this.getTokenFromCode(e)},eZ.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);return e<=55295||e>=57344?e:(e<<10)+this.input.charCodeAt(this.pos+1)-0x35fdc00},eZ.skipBlockComment=function(){var e,t=this.options.onComment&&this.curPosition(),r=this.pos,n=this.input.indexOf("*/",this.pos+=2);if(-1===n&&this.raise(this.pos-2,"Unterminated comment"),this.pos=n+2,this.options.locations)for(C.lastIndex=r;(e=C.exec(this.input))&&e.index<this.pos;)++this.curLine,this.lineStart=e.index+e[0].length;this.options.onComment&&this.options.onComment(!0,this.input.slice(r+2,n),r,this.pos,t,this.curPosition())},eZ.skipLineComment=function(e){for(var t=this.pos,r=this.options.onComment&&this.curPosition(),n=this.input.charCodeAt(this.pos+=e);this.pos<this.input.length&&!S(n);)n=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(t+e,this.pos),t,this.pos,r,this.curPosition())},eZ.skipSpace=function(){n:for(;this.pos<this.input.length;){var e=this.input.charCodeAt(this.pos);switch(e){case 32:case 160:++this.pos;break;case 13:10===this.input.charCodeAt(this.pos+1)&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break n}break;default:if(e>8&&e<14||e>=5760&&E.test(String.fromCharCode(e)))++this.pos;else break n}}},eZ.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());
vendor: 7,912 bytes, line 156
156var r=this.type;this.type=e,this.value=t,this.updateContext(r)},eZ.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===e&&46===t?(this.pos+=3,this.finishToken(k.ellipsis)):(++this.pos,this.finishToken(k.dot))},eZ.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===e?this.finishOp(k.assign,2):this.finishOp(k.slash,1)},eZ.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),r=1,n=42===e?k.star:k.modulo;return(this.options.ecmaVersion>=7&&42===e&&42===t&&(++r,n=k.starstar,t=this.input.charCodeAt(this.pos+2)),61===t)?this.finishOp(k.assign,r+1):this.finishOp(n,r)},eZ.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e)return this.options.ecmaVersion>=12&&61===this.input.charCodeAt(this.pos+2)?this.finishOp(k.assign,3):this.finishOp(124===e?k.logicalOR:k.logicalAND,2);return 61===t?this.finishOp(k.assign,2):this.finishOp(124===e?k.bitwiseOR:k.bitwiseAND,1)},eZ.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(k.assign,2):this.finishOp(k.bitwiseXOR,1)},eZ.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?45===t&&!this.inModule&&62===this.input.charCodeAt(this.pos+2)&&(0===this.lastTokEnd||A.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(k.incDec,2):61===t?this.finishOp(k.assign,2):this.finishOp(k.plusMin,1)},eZ.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),r=1;return t===e?(r=62===e&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+r))?this.finishOp(k.assign,r+1):this.finishOp(k.bitShift,r):33!==t||60!==e||this.inModule||45!==this.input.charCodeAt(this.pos+2)||45!==this.input.charCodeAt(this.pos+3)?(61===t&&(r=2),this.finishOp(k.relational,r)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},eZ.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return 61===t?this.finishOp(k.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===e&&62===t&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(k.arrow)):this.finishOp(61===e?k.eq:k.prefix,1)},eZ.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(46===t){var r=this.input.charCodeAt(this.pos+2);if(r<48||r>57)return this.finishOp(k.questionDot,2)}if(63===t)return e>=12&&61===this.input.charCodeAt(this.pos+2)?this.finishOp(k.assign,3):this.finishOp(k.coalesce,2)}return this.finishOp(k.question,1)},eZ.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(k.parenL);case 41:return++this.pos,this.finishToken(k.parenR);case 59:return++this.pos,this.finishToken(k.semi);case 44:return++this.pos,this.finishToken(k.comma);case 91:return++this.pos,this.finishToken(k.bracketL);case 93:return++this.pos,this.finishToken(k.bracketR);case 123:return++this.pos,this.finishToken(k.braceL);case 125:return++this.pos,this.finishToken(k.braceR);case 58:return++this.pos,this.finishToken(k.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(k.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(120===t||88===t)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(111===t||79===t)return this.readRadixNumber(8);if(98===t||66===t)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(k.prefix,1)}this.raise(this.pos,"Unexpected character '"+e2(e)+"'")},eZ.finishOp=function(e,t){var r=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,r)},eZ.readRegexp=function(){for(var e,t,r=this.pos;;){this.pos>=this.input.length&&this.raise(r,"Unterminated regular expression");var n=this.input.charAt(this.pos);if(A.test(n)&&this.raise(r,"Unterminated regular expression"),e)e=!1;else{if("["===n)t=!0;else if("]"===n&&t)t=!1;else if("/"===n&&!t)break;e="\\"===n}++this.pos}var i=this.input.slice(r,this.pos);++this.pos;var a=this.pos,o=this.readWord1();this.containsEsc&&this.unexpected(a);var s=this.regexpState||(this.regexpState=new eF(this));s.reset(r,i,o),this.validateRegExpFlags(s),this.validateRegExpPattern(s);var l=null;try{l=new RegExp(i,o)}catch(e){}return this.finishToken(k.regexp,{pattern:i,flags:o,value:l})},eZ.readInt=function(e,t,r){for(var n=this.options.ecmaVersion>=12&&void 0===t,i=r&&48===this.input.charCodeAt(this.pos),a=this.pos,o=0,s=0,l=0,c=null==t?1/0:t;l<c;++l,++this.pos){var u=this.input.charCodeAt(this.pos),d=void 0;if(n&&95===u){i&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),95===s&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),0===l&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),s=u;continue}if((d=u>=97?u-97+10:u>=65?u-65+10:u>=48&&u<=57?u-48:1/0)>=e)break;s=u,o=o*e+d}return(n&&95===s&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===a||null!=t&&this.pos-a!==t)?null:o},eZ.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var r=this.readInt(e);return null==r&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&110===this.input.charCodeAt(this.pos)?(r=e1(this.input.slice(t,this.pos)),++this.pos):f(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(k.num,r)},eZ.readNumber=function(e){var t=this.pos;e||null!==this.readInt(10,void 0,!0)||this.raise(t,"Invalid number");var r=this.pos-t>=2&&48===this.input.charCodeAt(t);r&&this.strict&&this.raise(t,"Invalid number");var n=this.input.charCodeAt(this.pos);if(!r&&!e&&this.options.ecmaVersion>=11&&110===n){var i=e1(this.input.slice(t,this.pos));return++this.pos,f(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(k.num,i)}r&&/[89]/.test(this.input.slice(t,this.pos))&&(r=!1),46!==n||r||(++this.pos,this.readInt(10),n=this.input.charCodeAt(this.pos)),69!==n&&101!==n||r||((43===(n=this.input.charCodeAt(++this.pos))||45===n)&&++this.pos,null===this.readInt(10)&&this.raise(t,"Invalid number")),f(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var a=e0(this.input.slice(t,this.pos),r);return this.finishToken(k.num,a)},eZ.readCodePoint=function(){var e;if(123===this.input.charCodeAt(this.pos)){this.options.ecmaVersion<6&&this.unexpected();var t=++this.pos;e=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,e>1114111&&this.invalidStringToken(t,"Code point out of bounds")}else e=this.readHexChar(4);return e},eZ.readString=function(e){for(var t="",r=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var n=this.input.charCodeAt(this.pos);if(n===e)break;92===n?(t+=this.input.slice(r,this.pos),t+=this.readEscapedChar(!1),r=this.pos):(S(n,this.options.ecmaVersion>=10)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(r,this.pos++),this.finishToken(k.string,t)};var e5={};eZ.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}
156catch(e){if(e===e5)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1},eZ.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw e5;this.raise(e,t)},eZ.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var r=this.input.charCodeAt(this.pos);if(96===r||36===r&&123===this.input.charCodeAt(this.pos+1)){if(this.pos===this.start&&(this.type===k.template||this.type===k.invalidTemplate))if(36===r)return this.pos+=2,this.finishToken(k.dollarBraceL);else return++this.pos,this.finishToken(k.backQuote);return e+=this.input.slice(t,this.pos),this.finishToken(k.template,e)}if(92===r)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(S(r)){switch(e+=this.input.slice(t,this.pos),++this.pos,r){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(r)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},eZ.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if("{"!==this.input[this.pos+1])break;case"`":return this.finishToken(k.invalidTemplate,this.input.slice(this.start,this.pos))}this.raise(this.start,"Unterminated template")},eZ.readEscapedChar=function(e){var t=this.input.charCodeAt(++this.pos);switch(++this.pos,t){case 110:return"\n";case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return e2(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(e){var r=this.pos-1;return this.invalidStringToken(r,"Invalid escape sequence in template string"),null}default:if(t>=48&&t<=55){var n=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],i=parseInt(n,8);return i>255&&(i=parseInt(n=n.slice(0,-1),8)),this.pos+=n.length-1,t=this.input.charCodeAt(this.pos),("0"!==n||56===t||57===t)&&(this.strict||e)&&this.invalidStringToken(this.pos-1-n.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(i)}if(S(t))return"";return String.fromCharCode(t)}},eZ.readHexChar=function(e){var t=this.pos,r=this.readInt(16,e);return null===r&&this.invalidStringToken(t,"Bad character escape sequence"),r},eZ.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,r=this.pos,n=this.options.ecmaVersion>=6;this.pos<this.input.length;){var i=this.fullCharCodeAtPos();if(m(i,n))this.pos+=i<=65535?1:2;else if(92===i){this.containsEsc=!0,e+=this.input.slice(r,this.pos);var a=this.pos;117!==this.input.charCodeAt(++this.pos)&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var o=this.readCodePoint();(t?f:m)(o,n)||this.invalidStringToken(a,"Invalid Unicode escape"),e+=e2(o),r=this.pos}else break;t=!1}return e+this.input.slice(r,this.pos)},eZ.readWord=function(){var e=this.readWord1(),t=k.name;return this.keywords.test(e)&&(t=w[e]),this.finishToken(t,e)};var e3="7.4.1";function e4(e,t){return er.parse(e,t)}function e6(e,t,r){return er.parseExpressionAt(e,t,r)}function e9(e,t){return er.tokenizer(e,t)}er.acorn={Parser:er,version:e3,defaultOptions:D,Position:N,SourceLocation:R,getLineInfo:j,Node:ew,TokenType:g,tokTypes:k,keywordTypes:w,TokContext:eA,tokContexts:eC,isIdentifierChar:m,isIdentifierStart:f,Token:eQ,isNewLine:S,lineBreak:A,lineBreakG:C,nonASCIIwhitespace:E}},97472:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(58309);let i=[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],a=(0,n.A)("settings",i)},97765:(e,t,r)=>{"use strict";r.d(t,{P:()=>a});var n=r(2860);r(55729);var i=r(15553);let a=e=>{let{countdownSrc:t="https://public.wordup.com.tw/shop/assets/animation_timer.gif",countdownTitle:r,children:a}=e;return(0,n.FD)(n.FK,{children:[r&&(0,n.FD)("div",{style:{display:"flex",alignItems:"center",gap:"0.25rem"},children:[(0,n.Y)("img",{alt:"countdown",width:20,height:20,src:t}),(0,n.Y)(i.E,{variant:"label_s_500",color:"inherit",children:r})]}),a]})}},98115:(e,t,r)=>{"use strict";r.d(t,{A:()=>u});let n=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n};var i=r(52577),a=r(80090),o=r(64773),s=r(7310),l=r(83716),c=Object.prototype.hasOwnProperty;let u=function(e,t){var r=(0,a.A)(e),u=!r&&(0,i.A)(e),d=!r&&!u&&(0,o.A)(e),p=!r&&!u&&!d&&(0,l.A)(e),h=r||u||d||p,f=h?n(e.length,String):[],m=f.length;for(var g in e)(t||c.call(e,g))&&!(h&&("length"==g||d&&("offset"==g||"parent"==g)||p&&("buffer"==g||"byteLength"==g||"byteOffset"==g)||(0,s.A)(g,m)))&&f.push(g);return f}},98785:(e,t,r)=>{"use strict";r.d(t,{A:()=>
156o,B:()=>a});var n=r(11722),i=r(91206);function a(e){return(0,i.Ay)("MuiButton",e)}let o=(0,n.A)("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","colorPrimary","colorSecondary","colorSuccess","colorError","colorInfo","colorWarning","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","icon","iconSizeSmall","iconSizeMedium","iconSizeLarge","loading","loadingWrapper","loadingIconPlaceholder","loadingIndicator","loadingPositionCenter","loadingPositionStart","loadingPositionEnd"])},98986:(e,t,r)=>{"use strict";r.d(t,{x6:()=>n.x6,Zh:()=>F,Ru:()=>D,Bd:()=>n.Bd});var n=r(29733),i=r(99410);function a(e){return(a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function o(e,t){if("object"!=a(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=a(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function s(e){var t=o(e,"string");return"symbol"==a(t)?t:t+""}function l(e,t,r){return(t=s(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var c=r(55729),u=r(31179),d=r.n(u);function p(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function h(e){if(Array.isArray(e))return p(e)}function f(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function m(e,t){if(e){if("string"==typeof e)return p(e,t);var r=({}).toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?p(e,t):void 0}}function g(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function y(e){return h(e)||f(e)||m(e)||g()}function v(e){if(Array.isArray(e))return e}function b(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,a,o,s=[],l=!0,c=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=a.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=r.return&&(o=r.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}function w(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function x(e,t){return v(e)||b(e,t)||m(e,t)||w()}var k=r(1983);function A(e,t){if(null==e)return{};var r,n,i=(0,k.A)(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],-1===t.indexOf(r)&&({}).propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var C={defaultNS:"common",errorStackTraceLimit:0,i18n:{defaultLocale:"en",locales:["en"]},get initImmediate(){return"undefined"!=typeof window},interpolation:{escapeValue:!1},load:"currentOnly",localeExtension:"json",localePath:"./public/locales",localeStructure:"{{lng}}/{{ns}}",react:{useSuspense:!1},reloadOnPrerender:!1,serializeConfig:!0,use:[]},S=function(e){return Array.from(new Set(e))},E=["i18n"],_=["i18n"];function T(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function P(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};
156t%2?T(Object(r),!0).forEach(function(t){l(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):T(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var O=["backend","detection"],I=function(e){if("string"!=typeof(null==e?void 0:e.lng))throw Error("config.lng was not passed into createConfig");var t,r,n,i=e.i18n,o=A(e,E),s=C.i18n,l=P(P(P(P({},A(C,_)),o),s),i),c=l.defaultNS,u=l.lng,d=l.localeExtension,p=l.localePath,h=l.nonExplicitSupportedLngs,f=l.locales.filter(function(e){return"default"!==e});if("cimode"===u)return l;void 0===l.fallbackLng&&(l.fallbackLng=l.defaultLocale,"default"===l.fallbackLng&&(l.fallbackLng=x(f,1)[0]));var m=null==e||null==(t=e.interpolation)?void 0:t.prefix,g=null==e||null==(r=e.interpolation)?void 0:r.suffix,v=null!=m?m:"{{",b=null!=g?g:"}}";"string"!=typeof(null==e?void 0:e.localeStructure)&&(m||g)&&(l.localeStructure="".concat(v,"lng").concat(b,"/").concat(v,"ns").concat(b));var w=l.fallbackLng,k=l.localeStructure;if(h){var T=function(e,t){var r=x(t.split("-"),1)[0];return e[t]=[r],e};if("string"==typeof w)l.fallbackLng=l.locales.filter(function(e){return e.includes("-")}).reduce(T,{default:[w]});else if(Array.isArray(w))l.fallbackLng=l.locales.filter(function(e){return e.includes("-")}).reduce(T,{default:w});else if("object"===a(w))l.fallbackLng=Object.entries(l.fallbackLng).reduce(function(e,t){var r=x(t,2),n=r[0],i=r[1];return e[n]=n.includes("-")?S([n.split("-")[0]].concat(y(i))):i,e},w);else if("function"==typeof w)throw Error("If nonExplicitSupportedLngs is true, no functions are allowed for fallbackLng")}return(null==e||null==(n=e.use)?void 0:n.some(function(e){return"backend"===e.type}))||("string"==typeof p?l.backend={addPath:"".concat(p,"/").concat(k,".missing.").concat(d),loadPath:"".concat(p,"/").concat(k,".").concat(d)}:"function"==typeof p&&(l.backend={addPath:function(e,t){return p(e,t,!0)},loadPath:function(e,t){return p(e,t,!1)}})),"string"==typeof l.ns||Array.isArray(l.ns)||(l.ns=[c]),O.forEach(function(t){e[t]&&(l[t]=P(P({},l[t]),e[t]))}),l},M=r(31877);let L=function(e){void 0===e.ns&&(e.ns=[]);var t,r,n=M.Ay.createInstance(e);return n.isInitialized?t=Promise.resolve(M.Ay.t):(null==e||null==(r=e.use)||r.forEach(function(e){return n.use(e)}),"function"==typeof e.onPreInitI18next&&e.onPreInitI18next(n),t=n.init(e)),{i18n:n,initPromise:t}};var N=c.createElement;function R(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function j(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?R(Object(r),!0).forEach(function(t){l(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):R(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var D=null,F=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=function(r){var a,o,s=(r.pageProps||{})._nextI18Next,l=null!=(a=null==s?void 0:s.initialLocale)?a:null==r||null==(o=r.router)?void 0:o.locale,u=null==s?void 0:s.ns,d=(0,c.useMemo)(function(){if(!s&&!t)return null;var e,r=null!=t?t:null==s?void 0:s.userConfig;if(!r)throw Error("appWithTranslation was called without a next-i18next config");if(!(null!=r&&r.i18n))throw Error("appWithTranslation was called without config.i18n");if(!(null!=r&&null!=(e=r.i18n)&&e.defaultLocale))throw Error("config.i18n does not include a defaultLocale property");var n=(s||{}).initialI18nStore,i=null!=t&&t.resources?t.resources:n;l||(l=r.i18n.defaultLocale);var a=L(j(j({},I(j(j({},r),{},{lng:l}))),{},{lng:l,ns:u,resources:i})).i18n;return D=a,a},[s,l,t,u]);return null!==d?N(n.xC,{i18n:d},N(e,r)):N(e,(0,i.A)({key:l},r))};return d()(r,e)}},99034:(e,t,r)=>{"use strict";r.d(t,{x:()=>i});var n=r(88846);function i(e){for(var t=arguments.length,r=Array(t>1?t-1:0),i=1;i<t;i++)r[i-1]=arguments[i];let a=n.w.bind(null,e||r.find(e=>"object"==typeof e));return r.map(a)}},99410:(e,t,r)=>{"use strict";function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}
156).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}r.d(t,{A:()=>n})},99517:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=function(){}},99670:(e,t,r)=>{"use strict";r.d(t,{u:()=>n});let n=function(e){var t,r;let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i={currency:"TWD",...n};return"TWD"===i.currency&&void 0===i.digit&&(i.digit=0),void 0===i.locale&&(i.locale="zh-TW"),"NT"+new Intl.NumberFormat(i.locale,{style:"currency",currency:i.currency,maximumFractionDigits:null!=(t=i.digit)?t:0,minimumFractionDigits:null!=(r=i.digit)?r:0}).format(+e)}},99698:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e,n){r[++t]=[n,e]}),r}},99761:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s});var n=r(83855),i=r(2406),a=r(96848),o=r(96285);let s={trafficTracking:e=>(0,n.A)((0,o.V4)({wuAnonId:(0,i.lA)(),userId:a.Wp.getUserId(),...e})),linkUser:async e=>(0,n.A)((0,o.wN)({wuAnonId:(0,i.lA)(),userId:e}))}}},e=>{var t=t=>e(e.s=t);e.O(0,[6593,8792],()=>(t(97741),t(92352),t(77006))),_N_E=e.O()}]);
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.