@rainbow-robotics/preview-host 1.3.6-dev.8 → 1.3.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{AmrCapabilityControl.DylvnUEO.js → AmrCapabilityControl.BrB4gWci.js} +1 -1
- package/dist/assets/RbLocalizationProvider.CMEaJz_8.js +311 -0
- package/dist/assets/__federation_expose_App.BtK24QCB.js +1350 -0
- package/dist/assets/__federation_fn_import.DdkEuT6t.js +23 -0
- package/dist/assets/__federation_shared_@emotion/{styled.CajkAQAy.js → styled.ETfwMsQo.js} +1 -1
- package/dist/assets/__federation_shared_@tanstack/{react-query.DZtZx7JL.js → react-query.fVz8BOIk.js} +1 -1
- package/dist/assets/{cssMode.Dtrsp9Hl.js → cssMode.EEbNlNtF.js} +1 -1
- package/dist/assets/{emotion-styled-base.browser.esm.BLoY4bbE.js → emotion-styled-base.browser.esm.BIcjgOzg.js} +1 -1
- package/dist/assets/{freemarker2.CyJpVLMx.js → freemarker2.CnBD5I4p.js} +1 -1
- package/dist/assets/{handlebars.CsnXKzpH.js → handlebars.COGiavr-.js} +1 -1
- package/dist/assets/{html.Cs-v4IId.js → html.BigkG63T.js} +1 -1
- package/dist/assets/{htmlMode.BkLJ-g13.js → htmlMode.BFqQcR9K.js} +1 -1
- package/dist/assets/{index.B34TfqNB.js → index.1gxtOcyM.js} +1 -1
- package/dist/assets/index.BFyW4OKK.js +1 -0
- package/dist/assets/{MapInfo.CrdLZcke.js → index.D7QGPpBS.js} +6 -11
- package/dist/assets/{javascript.CnXk03IN.js → javascript.CmJH3eOS.js} +1 -1
- package/dist/assets/{jsonMode.DHUETSBC.js → jsonMode.XZLue_kY.js} +1 -1
- package/dist/assets/{liquid.ycj1GnlX.js → liquid.kUSJggwm.js} +1 -1
- package/dist/assets/{lspLanguageFeatures.qBXuaIUh.js → lspLanguageFeatures.DgJgA_Mi.js} +1 -1
- package/dist/assets/{mdx.DQv9SiE_.js → mdx.DuUa6LG4.js} +1 -1
- package/dist/assets/{python.CGG4dQnL.js → python.4mFHFFoP.js} +1 -1
- package/dist/assets/{razor.BfFBX4H4.js → razor.CVLwv3TS.js} +1 -1
- package/dist/assets/remoteEntry.js +1 -1
- package/dist/assets/{tsMode.BRgsBy91.js → tsMode.CXJykgGy.js} +1 -1
- package/dist/assets/{typescript.BTl_2OW3.js → typescript.DgyEkW4L.js} +1 -1
- package/dist/assets/useFileDownload.BFL8lywd.js +4753 -0
- package/dist/assets/{xml.CCn6EavV.js → xml.BEm17y6w.js} +1 -1
- package/dist/assets/{yaml.D2ikp_I-.js → yaml.CEKLGBGL.js} +1 -1
- package/dist/imgs/nexus/forms/gripper/gripper_23.png +0 -0
- package/dist/index.html +7 -8
- package/dist/plugin-shared/plugin-ui_react.js +1 -1
- package/package.json +1 -1
- package/dist/assets/RbLocalizationProvider.929YVAAi.js +0 -301
- package/dist/assets/__federation_expose_App.MoFBQejr.js +0 -1288
- package/dist/assets/__federation_fn_import.ByOnqCI5.js +0 -24
- package/dist/assets/index.BHxdk7pU.js +0 -1
- package/dist/assets/index.BkLy899B.js +0 -1
- package/dist/assets/useJsonFileDownload.DzAbJDyG.js +0 -4773
|
@@ -1,301 +0,0 @@
|
|
|
1
|
-
import{importShared as q}from"./__federation_fn_import.ByOnqCI5.js";import{j as Z}from"./jsx-runtime.CBqCNPYB.js";import{h as K6,E as X6,a as Z6,c as Q6}from"./emotion-styled-base.browser.esm.BLoY4bbE.js";import{c as Lp,r as tw,g as ka}from"./index.P6snMalu.js";var qm={exports:{}},vn={};/** @license React v16.13.1
|
|
2
|
-
* react-is.production.min.js
|
|
3
|
-
*
|
|
4
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
5
|
-
*
|
|
6
|
-
* This source code is licensed under the MIT license found in the
|
|
7
|
-
* LICENSE file in the root directory of this source tree.
|
|
8
|
-
*/var Ty;function PO(){if(Ty)return vn;Ty=1;var t=typeof Symbol=="function"&&Symbol.for,e=t?Symbol.for("react.element"):60103,n=t?Symbol.for("react.portal"):60106,r=t?Symbol.for("react.fragment"):60107,o=t?Symbol.for("react.strict_mode"):60108,a=t?Symbol.for("react.profiler"):60114,i=t?Symbol.for("react.provider"):60109,s=t?Symbol.for("react.context"):60110,l=t?Symbol.for("react.async_mode"):60111,u=t?Symbol.for("react.concurrent_mode"):60111,d=t?Symbol.for("react.forward_ref"):60112,f=t?Symbol.for("react.suspense"):60113,m=t?Symbol.for("react.suspense_list"):60120,v=t?Symbol.for("react.memo"):60115,g=t?Symbol.for("react.lazy"):60116,w=t?Symbol.for("react.block"):60121,y=t?Symbol.for("react.fundamental"):60117,_=t?Symbol.for("react.responder"):60118,S=t?Symbol.for("react.scope"):60119;function x(M){if(typeof M=="object"&&M!==null){var A=M.$$typeof;switch(A){case e:switch(M=M.type,M){case l:case u:case r:case a:case o:case f:return M;default:switch(M=M&&M.$$typeof,M){case s:case d:case g:case v:case i:return M;default:return A}}case n:return A}}}function C(M){return x(M)===u}return vn.AsyncMode=l,vn.ConcurrentMode=u,vn.ContextConsumer=s,vn.ContextProvider=i,vn.Element=e,vn.ForwardRef=d,vn.Fragment=r,vn.Lazy=g,vn.Memo=v,vn.Portal=n,vn.Profiler=a,vn.StrictMode=o,vn.Suspense=f,vn.isAsyncMode=function(M){return C(M)||x(M)===l},vn.isConcurrentMode=C,vn.isContextConsumer=function(M){return x(M)===s},vn.isContextProvider=function(M){return x(M)===i},vn.isElement=function(M){return typeof M=="object"&&M!==null&&M.$$typeof===e},vn.isForwardRef=function(M){return x(M)===d},vn.isFragment=function(M){return x(M)===r},vn.isLazy=function(M){return x(M)===g},vn.isMemo=function(M){return x(M)===v},vn.isPortal=function(M){return x(M)===n},vn.isProfiler=function(M){return x(M)===a},vn.isStrictMode=function(M){return x(M)===o},vn.isSuspense=function(M){return x(M)===f},vn.isValidElementType=function(M){return typeof M=="string"||typeof M=="function"||M===r||M===u||M===a||M===o||M===f||M===m||typeof M=="object"&&M!==null&&(M.$$typeof===g||M.$$typeof===v||M.$$typeof===i||M.$$typeof===s||M.$$typeof===d||M.$$typeof===y||M.$$typeof===_||M.$$typeof===S||M.$$typeof===w)},vn.typeOf=x,vn}var Ny;function AO(){return Ny||(Ny=1,qm.exports=PO()),qm.exports}var Um,Py;function IO(){if(Py)return Um;Py=1;var t=AO(),e={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},n={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},r={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};a[t.ForwardRef]=r,a[t.Memo]=o;function i(g){return t.isMemo(g)?o:a[g.$$typeof]||e}var s=Object.defineProperty,l=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,m=Object.prototype;function v(g,w,y){if(typeof w!="string"){if(m){var _=f(w);_&&_!==m&&v(g,_,y)}var S=l(w);u&&(S=S.concat(u(w)));for(var x=i(g),C=i(w),M=0;M<S.length;++M){var A=S[M];if(!n[A]&&!(y&&y[A])&&!(C&&C[A])&&!(x&&x[A])){var O=d(w,A);try{s(g,A,O)}catch{}}}}return g}return Um=v,Um}IO();var Mr=Z.Fragment,h=function(e,n,r){return K6.call(n,"css")?Z.jsx(X6,Z6(e,n),r):Z.jsx(e,n,r)},ne=function(e,n,r){return K6.call(n,"css")?Z.jsxs(X6,Z6(e,n),r):Z.jsxs(e,n,r)};function J6(t){var e,n,r="";if(typeof t=="string"||typeof t=="number")r+=t;else if(typeof t=="object")if(Array.isArray(t)){var o=t.length;for(e=0;e<o;e++)t[e]&&(n=J6(t[e]))&&(r&&(r+=" "),r+=n)}else for(n in t)t[n]&&(r&&(r+=" "),r+=n);return r}function y0(){for(var t,e,n=0,r="",o=arguments.length;n<o;n++)(t=arguments[n])&&(e=J6(t))&&(r&&(r+=" "),r+=e);return r}const OO=(t,e)=>{const n=new Array(t.length+e.length);for(let r=0;r<t.length;r++)n[r]=t[r];for(let r=0;r<e.length;r++)n[t.length+r]=e[r];return n},LO=(t,e)=>({classGroupId:t,validator:e}),e7=(t=new Map,e=null,n)=>({nextPart:t,validators:e,classGroupId:n}),_0="-",Ay=[],$O="arbitrary..",DO=t=>{const e=zO(t),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=t;return{getClassGroupId:i=>{if(i.startsWith("[")&&i.endsWith("]"))return BO(i);const s=i.split(_0),l=s[0]===""&&s.length>1?1:0;return t7(s,l,e)},getConflictingClassGroupIds:(i,s)=>{if(s){const l=r[i],u=n[i];return l?u?OO(u,l):l:u||Ay}return n[i]||Ay}}},t7=(t,e,n)=>{if(t.length-e===0)return n.classGroupId;const o=t[e],a=n.nextPart.get(o);if(a){const u=t7(t,e+1,a);if(u)return u}const i=n.validators;if(i===null)return;const s=e===0?t.join(_0):t.slice(e).join(_0),l=i.length;for(let u=0;u<l;u++){const d=i[u];if(d.validator(s))return d.classGroupId}},BO=t=>t.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const e=t.slice(1,-1),n=e.indexOf(":"),r=e.slice(0,n);return r?$O+r:void 0})(),zO=t=>{const{theme:e,classGroups:n}=t;return FO(n,e)},FO=(t,e)=>{const n=e7();for(const r in t){const o=t[r];nw(o,n,r,e)}return n},nw=(t,e,n,r)=>{const o=t.length;for(let a=0;a<o;a++){const i=t[a];VO(i,e,n,r)}},VO=(t,e,n,r)=>{if(typeof t=="string"){jO(t,e,n);return}if(typeof t=="function"){HO(t,e,n,r);return}WO(t,e,n,r)},jO=(t,e,n)=>{const r=t===""?e:n7(e,t);r.classGroupId=n},HO=(t,e,n,r)=>{if(qO(t)){nw(t(r),e,n,r);return}e.validators===null&&(e.validators=[]),e.validators.push(LO(n,t))},WO=(t,e,n,r)=>{const o=Object.entries(t),a=o.length;for(let i=0;i<a;i++){const[s,l]=o[i];nw(l,n7(e,s),n,r)}},n7=(t,e)=>{let n=t;const r=e.split(_0),o=r.length;for(let a=0;a<o;a++){const i=r[a];let s=n.nextPart.get(i);s||(s=e7(),n.nextPart.set(i,s)),n=s}return n},qO=t=>"isThemeGetter"in t&&t.isThemeGetter===!0,UO=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,n=Object.create(null),r=Object.create(null);const o=(a,i)=>{n[a]=i,e++,e>t&&(e=0,r=n,n=Object.create(null))};return{get(a){let i=n[a];if(i!==void 0)return i;if((i=r[a])!==void 0)return o(a,i),i},set(a,i){a in n?n[a]=i:o(a,i)}}},J2="!",Iy=":",YO=[],Oy=(t,e,n,r,o)=>({modifiers:t,hasImportantModifier:e,baseClassName:n,maybePostfixModifierPosition:r,isExternal:o}),GO=t=>{const{prefix:e,experimentalParseClassName:n}=t;let r=o=>{const a=[];let i=0,s=0,l=0,u;const d=o.length;for(let w=0;w<d;w++){const y=o[w];if(i===0&&s===0){if(y===Iy){a.push(o.slice(l,w)),l=w+1;continue}if(y==="/"){u=w;continue}}y==="["?i++:y==="]"?i--:y==="("?s++:y===")"&&s--}const f=a.length===0?o:o.slice(l);let m=f,v=!1;f.endsWith(J2)?(m=f.slice(0,-1),v=!0):f.startsWith(J2)&&(m=f.slice(1),v=!0);const g=u&&u>l?u-l:void 0;return Oy(a,v,m,g)};if(e){const o=e+Iy,a=r;r=i=>i.startsWith(o)?a(i.slice(o.length)):Oy(YO,!1,i,void 0,!0)}if(n){const o=r;r=a=>n({className:a,parseClassName:o})}return r},KO=t=>{const e=new Map;return t.orderSensitiveModifiers.forEach((n,r)=>{e.set(n,1e6+r)}),n=>{const r=[];let o=[];for(let a=0;a<n.length;a++){const i=n[a],s=i[0]==="[",l=e.has(i);s||l?(o.length>0&&(o.sort(),r.push(...o),o=[]),r.push(i)):o.push(i)}return o.length>0&&(o.sort(),r.push(...o)),r}},XO=t=>({cache:UO(t.cacheSize),parseClassName:GO(t),sortModifiers:KO(t),...DO(t)}),ZO=/\s+/,QO=(t,e)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o,sortModifiers:a}=e,i=[],s=t.trim().split(ZO);let l="";for(let u=s.length-1;u>=0;u-=1){const d=s[u],{isExternal:f,modifiers:m,hasImportantModifier:v,baseClassName:g,maybePostfixModifierPosition:w}=n(d);if(f){l=d+(l.length>0?" "+l:l);continue}let y=!!w,_=r(y?g.substring(0,w):g);if(!_){if(!y){l=d+(l.length>0?" "+l:l);continue}if(_=r(g),!_){l=d+(l.length>0?" "+l:l);continue}y=!1}const S=m.length===0?"":m.length===1?m[0]:a(m).join(":"),x=v?S+J2:S,C=x+_;if(i.indexOf(C)>-1)continue;i.push(C);const M=o(_,y);for(let A=0;A<M.length;++A){const O=M[A];i.push(x+O)}l=d+(l.length>0?" "+l:l)}return l},JO=(...t)=>{let e=0,n,r,o="";for(;e<t.length;)(n=t[e++])&&(r=r7(n))&&(o&&(o+=" "),o+=r);return o},r7=t=>{if(typeof t=="string")return t;let e,n="";for(let r=0;r<t.length;r++)t[r]&&(e=r7(t[r]))&&(n&&(n+=" "),n+=e);return n},eL=(t,...e)=>{let n,r,o,a;const i=l=>{const u=e.reduce((d,f)=>f(d),t());return n=XO(u),r=n.cache.get,o=n.cache.set,a=s,s(l)},s=l=>{const u=r(l);if(u)return u;const d=QO(l,n);return o(l,d),d};return a=i,(...l)=>a(JO(...l))},tL=[],rr=t=>{const e=n=>n[t]||tL;return e.isThemeGetter=!0,e},o7=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,a7=/^\((?:(\w[\w-]*):)?(.+)\)$/i,nL=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,rL=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,oL=/\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$/,aL=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,iL=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,sL=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,fs=t=>nL.test(t),Xt=t=>!!t&&!Number.isNaN(Number(t)),ps=t=>!!t&&Number.isInteger(Number(t)),Ym=t=>t.endsWith("%")&&Xt(t.slice(0,-1)),Ni=t=>rL.test(t),i7=()=>!0,lL=t=>oL.test(t)&&!aL.test(t),rw=()=>!1,cL=t=>iL.test(t),uL=t=>sL.test(t),dL=t=>!st(t)&&!lt(t),fL=t=>Us(t,c7,rw),st=t=>o7.test(t),ml=t=>Us(t,u7,lL),Ly=t=>Us(t,yL,Xt),pL=t=>Us(t,f7,i7),hL=t=>Us(t,d7,rw),$y=t=>Us(t,s7,rw),mL=t=>Us(t,l7,uL),$p=t=>Us(t,p7,cL),lt=t=>a7.test(t),cd=t=>Zl(t,u7),gL=t=>Zl(t,d7),Dy=t=>Zl(t,s7),vL=t=>Zl(t,c7),wL=t=>Zl(t,l7),Dp=t=>Zl(t,p7,!0),bL=t=>Zl(t,f7,!0),Us=(t,e,n)=>{const r=o7.exec(t);return r?r[1]?e(r[1]):n(r[2]):!1},Zl=(t,e,n=!1)=>{const r=a7.exec(t);return r?r[1]?e(r[1]):n:!1},s7=t=>t==="position"||t==="percentage",l7=t=>t==="image"||t==="url",c7=t=>t==="length"||t==="size"||t==="bg-size",u7=t=>t==="length",yL=t=>t==="number",d7=t=>t==="family-name",f7=t=>t==="number"||t==="weight",p7=t=>t==="shadow",_L=()=>{const t=rr("color"),e=rr("font"),n=rr("text"),r=rr("font-weight"),o=rr("tracking"),a=rr("leading"),i=rr("breakpoint"),s=rr("container"),l=rr("spacing"),u=rr("radius"),d=rr("shadow"),f=rr("inset-shadow"),m=rr("text-shadow"),v=rr("drop-shadow"),g=rr("blur"),w=rr("perspective"),y=rr("aspect"),_=rr("ease"),S=rr("animate"),x=()=>["auto","avoid","all","avoid-page","page","left","right","column"],C=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],M=()=>[...C(),lt,st],A=()=>["auto","hidden","clip","visible","scroll"],O=()=>["auto","contain","none"],D=()=>[lt,st,l],T=()=>[fs,"full","auto",...D()],R=()=>[ps,"none","subgrid",lt,st],$=()=>["auto",{span:["full",ps,lt,st]},ps,lt,st],P=()=>[ps,"auto",lt,st],I=()=>["auto","min","max","fr",lt,st],L=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],V=()=>["start","end","center","stretch","center-safe","end-safe"],F=()=>["auto",...D()],z=()=>[fs,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...D()],B=()=>[fs,"screen","full","dvw","lvw","svw","min","max","fit",...D()],Y=()=>[fs,"screen","full","lh","dvh","lvh","svh","min","max","fit",...D()],U=()=>[t,lt,st],le=()=>[...C(),Dy,$y,{position:[lt,st]}],J=()=>["no-repeat",{repeat:["","x","y","space","round"]}],re=()=>["auto","cover","contain",vL,fL,{size:[lt,st]}],te=()=>[Ym,cd,ml],oe=()=>["","none","full",u,lt,st],ee=()=>["",Xt,cd,ml],ue=()=>["solid","dashed","dotted","double"],fe=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],ye=()=>[Xt,Ym,Dy,$y],we=()=>["","none",g,lt,st],Ne=()=>["none",Xt,lt,st],Ie=()=>["none",Xt,lt,st],Pe=()=>[Xt,lt,st],he=()=>[fs,"full",...D()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Ni],breakpoint:[Ni],color:[i7],container:[Ni],"drop-shadow":[Ni],ease:["in","out","in-out"],font:[dL],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Ni],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Ni],shadow:[Ni],spacing:["px",Xt],text:[Ni],"text-shadow":[Ni],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",fs,st,lt,y]}],container:["container"],columns:[{columns:[Xt,st,lt,s]}],"break-after":[{"break-after":x()}],"break-before":[{"break-before":x()}],"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:M()}],overflow:[{overflow:A()}],"overflow-x":[{"overflow-x":A()}],"overflow-y":[{"overflow-y":A()}],overscroll:[{overscroll:O()}],"overscroll-x":[{"overscroll-x":O()}],"overscroll-y":[{"overscroll-y":O()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:T()}],"inset-x":[{"inset-x":T()}],"inset-y":[{"inset-y":T()}],start:[{"inset-s":T(),start:T()}],end:[{"inset-e":T(),end:T()}],"inset-bs":[{"inset-bs":T()}],"inset-be":[{"inset-be":T()}],top:[{top:T()}],right:[{right:T()}],bottom:[{bottom:T()}],left:[{left:T()}],visibility:["visible","invisible","collapse"],z:[{z:[ps,"auto",lt,st]}],basis:[{basis:[fs,"full","auto",s,...D()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[Xt,fs,"auto","initial","none",st]}],grow:[{grow:["",Xt,lt,st]}],shrink:[{shrink:["",Xt,lt,st]}],order:[{order:[ps,"first","last","none",lt,st]}],"grid-cols":[{"grid-cols":R()}],"col-start-end":[{col:$()}],"col-start":[{"col-start":P()}],"col-end":[{"col-end":P()}],"grid-rows":[{"grid-rows":R()}],"row-start-end":[{row:$()}],"row-start":[{"row-start":P()}],"row-end":[{"row-end":P()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":I()}],"auto-rows":[{"auto-rows":I()}],gap:[{gap:D()}],"gap-x":[{"gap-x":D()}],"gap-y":[{"gap-y":D()}],"justify-content":[{justify:[...L(),"normal"]}],"justify-items":[{"justify-items":[...V(),"normal"]}],"justify-self":[{"justify-self":["auto",...V()]}],"align-content":[{content:["normal",...L()]}],"align-items":[{items:[...V(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...V(),{baseline:["","last"]}]}],"place-content":[{"place-content":L()}],"place-items":[{"place-items":[...V(),"baseline"]}],"place-self":[{"place-self":["auto",...V()]}],p:[{p:D()}],px:[{px:D()}],py:[{py:D()}],ps:[{ps:D()}],pe:[{pe:D()}],pbs:[{pbs:D()}],pbe:[{pbe:D()}],pt:[{pt:D()}],pr:[{pr:D()}],pb:[{pb:D()}],pl:[{pl:D()}],m:[{m:F()}],mx:[{mx:F()}],my:[{my:F()}],ms:[{ms:F()}],me:[{me:F()}],mbs:[{mbs:F()}],mbe:[{mbe:F()}],mt:[{mt:F()}],mr:[{mr:F()}],mb:[{mb:F()}],ml:[{ml:F()}],"space-x":[{"space-x":D()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":D()}],"space-y-reverse":["space-y-reverse"],size:[{size:z()}],"inline-size":[{inline:["auto",...B()]}],"min-inline-size":[{"min-inline":["auto",...B()]}],"max-inline-size":[{"max-inline":["none",...B()]}],"block-size":[{block:["auto",...Y()]}],"min-block-size":[{"min-block":["auto",...Y()]}],"max-block-size":[{"max-block":["none",...Y()]}],w:[{w:[s,"screen",...z()]}],"min-w":[{"min-w":[s,"screen","none",...z()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[i]},...z()]}],h:[{h:["screen","lh",...z()]}],"min-h":[{"min-h":["screen","lh","none",...z()]}],"max-h":[{"max-h":["screen","lh",...z()]}],"font-size":[{text:["base",n,cd,ml]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,bL,pL]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Ym,st]}],"font-family":[{font:[gL,hL,e]}],"font-features":[{"font-features":[st]}],"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:[o,lt,st]}],"line-clamp":[{"line-clamp":[Xt,"none",lt,Ly]}],leading:[{leading:[a,...D()]}],"list-image":[{"list-image":["none",lt,st]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",lt,st]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:U()}],"text-color":[{text:U()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...ue(),"wavy"]}],"text-decoration-thickness":[{decoration:[Xt,"from-font","auto",lt,ml]}],"text-decoration-color":[{decoration:U()}],"underline-offset":[{"underline-offset":[Xt,"auto",lt,st]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:D()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",lt,st]}],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",lt,st]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:le()}],"bg-repeat":[{bg:J()}],"bg-size":[{bg:re()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},ps,lt,st],radial:["",lt,st],conic:[ps,lt,st]},wL,mL]}],"bg-color":[{bg:U()}],"gradient-from-pos":[{from:te()}],"gradient-via-pos":[{via:te()}],"gradient-to-pos":[{to:te()}],"gradient-from":[{from:U()}],"gradient-via":[{via:U()}],"gradient-to":[{to:U()}],rounded:[{rounded:oe()}],"rounded-s":[{"rounded-s":oe()}],"rounded-e":[{"rounded-e":oe()}],"rounded-t":[{"rounded-t":oe()}],"rounded-r":[{"rounded-r":oe()}],"rounded-b":[{"rounded-b":oe()}],"rounded-l":[{"rounded-l":oe()}],"rounded-ss":[{"rounded-ss":oe()}],"rounded-se":[{"rounded-se":oe()}],"rounded-ee":[{"rounded-ee":oe()}],"rounded-es":[{"rounded-es":oe()}],"rounded-tl":[{"rounded-tl":oe()}],"rounded-tr":[{"rounded-tr":oe()}],"rounded-br":[{"rounded-br":oe()}],"rounded-bl":[{"rounded-bl":oe()}],"border-w":[{border:ee()}],"border-w-x":[{"border-x":ee()}],"border-w-y":[{"border-y":ee()}],"border-w-s":[{"border-s":ee()}],"border-w-e":[{"border-e":ee()}],"border-w-bs":[{"border-bs":ee()}],"border-w-be":[{"border-be":ee()}],"border-w-t":[{"border-t":ee()}],"border-w-r":[{"border-r":ee()}],"border-w-b":[{"border-b":ee()}],"border-w-l":[{"border-l":ee()}],"divide-x":[{"divide-x":ee()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":ee()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ue(),"hidden","none"]}],"divide-style":[{divide:[...ue(),"hidden","none"]}],"border-color":[{border:U()}],"border-color-x":[{"border-x":U()}],"border-color-y":[{"border-y":U()}],"border-color-s":[{"border-s":U()}],"border-color-e":[{"border-e":U()}],"border-color-bs":[{"border-bs":U()}],"border-color-be":[{"border-be":U()}],"border-color-t":[{"border-t":U()}],"border-color-r":[{"border-r":U()}],"border-color-b":[{"border-b":U()}],"border-color-l":[{"border-l":U()}],"divide-color":[{divide:U()}],"outline-style":[{outline:[...ue(),"none","hidden"]}],"outline-offset":[{"outline-offset":[Xt,lt,st]}],"outline-w":[{outline:["",Xt,cd,ml]}],"outline-color":[{outline:U()}],shadow:[{shadow:["","none",d,Dp,$p]}],"shadow-color":[{shadow:U()}],"inset-shadow":[{"inset-shadow":["none",f,Dp,$p]}],"inset-shadow-color":[{"inset-shadow":U()}],"ring-w":[{ring:ee()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:U()}],"ring-offset-w":[{"ring-offset":[Xt,ml]}],"ring-offset-color":[{"ring-offset":U()}],"inset-ring-w":[{"inset-ring":ee()}],"inset-ring-color":[{"inset-ring":U()}],"text-shadow":[{"text-shadow":["none",m,Dp,$p]}],"text-shadow-color":[{"text-shadow":U()}],opacity:[{opacity:[Xt,lt,st]}],"mix-blend":[{"mix-blend":[...fe(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":fe()}],"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":[Xt]}],"mask-image-linear-from-pos":[{"mask-linear-from":ye()}],"mask-image-linear-to-pos":[{"mask-linear-to":ye()}],"mask-image-linear-from-color":[{"mask-linear-from":U()}],"mask-image-linear-to-color":[{"mask-linear-to":U()}],"mask-image-t-from-pos":[{"mask-t-from":ye()}],"mask-image-t-to-pos":[{"mask-t-to":ye()}],"mask-image-t-from-color":[{"mask-t-from":U()}],"mask-image-t-to-color":[{"mask-t-to":U()}],"mask-image-r-from-pos":[{"mask-r-from":ye()}],"mask-image-r-to-pos":[{"mask-r-to":ye()}],"mask-image-r-from-color":[{"mask-r-from":U()}],"mask-image-r-to-color":[{"mask-r-to":U()}],"mask-image-b-from-pos":[{"mask-b-from":ye()}],"mask-image-b-to-pos":[{"mask-b-to":ye()}],"mask-image-b-from-color":[{"mask-b-from":U()}],"mask-image-b-to-color":[{"mask-b-to":U()}],"mask-image-l-from-pos":[{"mask-l-from":ye()}],"mask-image-l-to-pos":[{"mask-l-to":ye()}],"mask-image-l-from-color":[{"mask-l-from":U()}],"mask-image-l-to-color":[{"mask-l-to":U()}],"mask-image-x-from-pos":[{"mask-x-from":ye()}],"mask-image-x-to-pos":[{"mask-x-to":ye()}],"mask-image-x-from-color":[{"mask-x-from":U()}],"mask-image-x-to-color":[{"mask-x-to":U()}],"mask-image-y-from-pos":[{"mask-y-from":ye()}],"mask-image-y-to-pos":[{"mask-y-to":ye()}],"mask-image-y-from-color":[{"mask-y-from":U()}],"mask-image-y-to-color":[{"mask-y-to":U()}],"mask-image-radial":[{"mask-radial":[lt,st]}],"mask-image-radial-from-pos":[{"mask-radial-from":ye()}],"mask-image-radial-to-pos":[{"mask-radial-to":ye()}],"mask-image-radial-from-color":[{"mask-radial-from":U()}],"mask-image-radial-to-color":[{"mask-radial-to":U()}],"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":C()}],"mask-image-conic-pos":[{"mask-conic":[Xt]}],"mask-image-conic-from-pos":[{"mask-conic-from":ye()}],"mask-image-conic-to-pos":[{"mask-conic-to":ye()}],"mask-image-conic-from-color":[{"mask-conic-from":U()}],"mask-image-conic-to-color":[{"mask-conic-to":U()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:le()}],"mask-repeat":[{mask:J()}],"mask-size":[{mask:re()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",lt,st]}],filter:[{filter:["","none",lt,st]}],blur:[{blur:we()}],brightness:[{brightness:[Xt,lt,st]}],contrast:[{contrast:[Xt,lt,st]}],"drop-shadow":[{"drop-shadow":["","none",v,Dp,$p]}],"drop-shadow-color":[{"drop-shadow":U()}],grayscale:[{grayscale:["",Xt,lt,st]}],"hue-rotate":[{"hue-rotate":[Xt,lt,st]}],invert:[{invert:["",Xt,lt,st]}],saturate:[{saturate:[Xt,lt,st]}],sepia:[{sepia:["",Xt,lt,st]}],"backdrop-filter":[{"backdrop-filter":["","none",lt,st]}],"backdrop-blur":[{"backdrop-blur":we()}],"backdrop-brightness":[{"backdrop-brightness":[Xt,lt,st]}],"backdrop-contrast":[{"backdrop-contrast":[Xt,lt,st]}],"backdrop-grayscale":[{"backdrop-grayscale":["",Xt,lt,st]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Xt,lt,st]}],"backdrop-invert":[{"backdrop-invert":["",Xt,lt,st]}],"backdrop-opacity":[{"backdrop-opacity":[Xt,lt,st]}],"backdrop-saturate":[{"backdrop-saturate":[Xt,lt,st]}],"backdrop-sepia":[{"backdrop-sepia":["",Xt,lt,st]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":D()}],"border-spacing-x":[{"border-spacing-x":D()}],"border-spacing-y":[{"border-spacing-y":D()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",lt,st]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[Xt,"initial",lt,st]}],ease:[{ease:["linear","initial",_,lt,st]}],delay:[{delay:[Xt,lt,st]}],animate:[{animate:["none",S,lt,st]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[w,lt,st]}],"perspective-origin":[{"perspective-origin":M()}],rotate:[{rotate:Ne()}],"rotate-x":[{"rotate-x":Ne()}],"rotate-y":[{"rotate-y":Ne()}],"rotate-z":[{"rotate-z":Ne()}],scale:[{scale:Ie()}],"scale-x":[{"scale-x":Ie()}],"scale-y":[{"scale-y":Ie()}],"scale-z":[{"scale-z":Ie()}],"scale-3d":["scale-3d"],skew:[{skew:Pe()}],"skew-x":[{"skew-x":Pe()}],"skew-y":[{"skew-y":Pe()}],transform:[{transform:[lt,st,"","none","gpu","cpu"]}],"transform-origin":[{origin:M()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:he()}],"translate-x":[{"translate-x":he()}],"translate-y":[{"translate-y":he()}],"translate-z":[{"translate-z":he()}],"translate-none":["translate-none"],accent:[{accent:U()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:U()}],"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",lt,st]}],"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":D()}],"scroll-mx":[{"scroll-mx":D()}],"scroll-my":[{"scroll-my":D()}],"scroll-ms":[{"scroll-ms":D()}],"scroll-me":[{"scroll-me":D()}],"scroll-mbs":[{"scroll-mbs":D()}],"scroll-mbe":[{"scroll-mbe":D()}],"scroll-mt":[{"scroll-mt":D()}],"scroll-mr":[{"scroll-mr":D()}],"scroll-mb":[{"scroll-mb":D()}],"scroll-ml":[{"scroll-ml":D()}],"scroll-p":[{"scroll-p":D()}],"scroll-px":[{"scroll-px":D()}],"scroll-py":[{"scroll-py":D()}],"scroll-ps":[{"scroll-ps":D()}],"scroll-pe":[{"scroll-pe":D()}],"scroll-pbs":[{"scroll-pbs":D()}],"scroll-pbe":[{"scroll-pbe":D()}],"scroll-pt":[{"scroll-pt":D()}],"scroll-pr":[{"scroll-pr":D()}],"scroll-pb":[{"scroll-pb":D()}],"scroll-pl":[{"scroll-pl":D()}],"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",lt,st]}],fill:[{fill:["none",...U()]}],"stroke-w":[{stroke:[Xt,cd,ml,Ly]}],stroke:[{stroke:["none",...U()]}],"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"]}},xL=eL(_L),Vl=t=>Number(t.replace(/,/gi,"")),qo=t=>{if(t=String(t??0),t.match(/[^0-9,.]/g))return t;if(t){const e=t.split(".");return e[0]=(e[0]??"").replace(/\B(?=(\d{3})+(?!\d))/g,","),e.join(".")}return"0"},Vi=t=>{const e=t.split(".");return e[0]=e[0].replace(/\B(?=(\d{3})+(?!\d))/g,","),e},rn=(t,e)=>(...n)=>{let o=`${n.reduce((s,l,u)=>{if(typeof l=="string")s+=`${l} `,n[u]=t[l];else if(typeof l=="object"){const d={};s+=Object.entries(l).reduce((f,[m,v])=>(t[m]&&(d[t[m]]=!!v),v&&(f+=` ${m} `),f),""),n[u]=d}return s},"")} ${y0(n)}`;e&&(o+=` ${e} ${y0([t[e]])} `,n.push(t[e]));const a=o.trim().split(" ");return a.filter((s,l)=>a.indexOf(s)===l).join(" ")};function se(...t){return xL(y0(t))}const x0=t=>{if(typeof t=="object"&&t!==null)return Array.isArray(t)?t.map(e=>e==="true"||e==="false"?e==="true":typeof e=="object"&&e!==null?x0(e):e):Object.entries(t).reduce((e,[n,r])=>r==="true"||r==="false"?{...e,[n]:r==="true"}:typeof r=="object"&&r!==null?{...e,[n]:x0(r)}:{...e,[n]:r},{})},she=t=>t?t.charAt(0).toUpperCase()+t.slice(1):"",lhe=t=>typeof t=="number"||!t||Number.isNaN(Number(t))||String(t??"")?.endsWith(".")?t:Number(t),che=t=>t*Math.PI/180,uhe=t=>t*180/Math.PI,dhe=t=>{if(t==null)return"-";if(t===0)return"0 Byte";const e=["Byte","KB","MB","GB","TB"],n=Math.min(Math.floor(Math.log(t)/Math.log(1024)),e.length-1),r=t/1024**n;return`${n===0?r:r.toFixed(2)} ${e[n]}`},By="data:image/svg+xml,%3csvg%20width='64'%20height='64'%20viewBox='0%200%2064%2064'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11%2023C11%2021.8954%2011.8954%2021%2013%2021H19C20.1046%2021%2021%2021.8954%2021%2023V41C21%2042.1046%2020.1046%2043%2019%2043H13C11.8954%2043%2011%2042.1046%2011%2041V23Z'%20fill='%23FB2C36'/%3e%3cpath%20d='M50.3086%2016.0078C53.4789%2016.1684%2056%2018.7898%2056%2022V42C56%2045.3137%2053.3137%2048%2050%2048H12C8.68629%2048%206%2045.3137%206%2042V22C6%2018.7898%208.52111%2016.1684%2011.6914%2016.0078L12%2016H50L50.3086%2016.0078ZM12%2019C10.3431%2019%209%2020.3431%209%2022V42C9%2043.6569%2010.3431%2045%2012%2045H50C51.6569%2045%2053%2043.6569%2053%2042V22C53%2020.3431%2051.6569%2019%2050%2019H12ZM59.5%2025C60.3284%2025%2061%2025.6716%2061%2026.5V37.5C61%2038.3284%2060.3284%2039%2059.5%2039C58.6716%2039%2058%2038.3284%2058%2037.5V26.5C58%2025.6716%2058.6716%2025%2059.5%2025Z'%20fill='%23FAFAFA'%20fill-opacity='0.3'/%3e%3c/svg%3e",SL=`<svg width="64" height="64" viewBox="0 0 64 64" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
9
|
-
<path d="M11 23C11 21.8954 11.8954 21 13 21H49C50.1046 21 51 21.8954 51 23V41C51 42.1046 50.1046 43 49 43H13C11.8954 43 11 42.1046 11 41V23Z" fill="#00C951"/>
|
|
10
|
-
<path d="M50.3086 16.0078C53.4789 16.1684 56 18.7898 56 22V42C56 45.3137 53.3137 48 50 48H12C8.68629 48 6 45.3137 6 42V22C6 18.7898 8.52111 16.1684 11.6914 16.0078L12 16H50L50.3086 16.0078ZM12 19C10.3431 19 9 20.3431 9 22V42C9 43.6569 10.3431 45 12 45H50C51.6569 45 53 43.6569 53 42V22C53 20.3431 51.6569 19 50 19H12ZM59.5 25C60.3284 25 61 25.6716 61 26.5V37.5C61 38.3284 60.3284 39 59.5 39C58.6716 39 58 38.3284 58 37.5V26.5C58 25.6716 58.6716 25 59.5 25Z" fill="#FAFAFA" fill-opacity="0.3"/>
|
|
11
|
-
</svg>
|
|
12
|
-
`,CL="data:image/svg+xml,%3csvg%20width='64'%20height='64'%20viewBox='0%200%2064%2064'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11%2023C11%2021.8954%2011.8954%2021%2013%2021H49C50.1046%2021%2051%2021.8954%2051%2023V41C51%2042.1046%2050.1046%2043%2049%2043H13C11.8954%2043%2011%2042.1046%2011%2041V23Z'%20fill='%2300C951'/%3e%3cpath%20d='M50.3086%2016.0078C53.4789%2016.1684%2056%2018.7898%2056%2022V42C56%2045.3137%2053.3137%2048%2050%2048H12C8.68629%2048%206%2045.3137%206%2042V22C6%2018.7898%208.52111%2016.1684%2011.6914%2016.0078L12%2016H50L50.3086%2016.0078ZM12%2019C10.3431%2019%209%2020.3431%209%2022V42C9%2043.6569%2010.3431%2045%2012%2045H50C51.6569%2045%2053%2043.6569%2053%2042V22C53%2020.3431%2051.6569%2019%2050%2019H12ZM59.5%2025C60.3284%2025%2061%2025.6716%2061%2026.5V37.5C61%2038.3284%2060.3284%2039%2059.5%2039C58.6716%2039%2058%2038.3284%2058%2037.5V26.5C58%2025.6716%2058.6716%2025%2059.5%2025Z'%20fill='%23FAFAFA'%20fill-opacity='0.3'/%3e%3c/svg%3e",EL="data:image/svg+xml,%3csvg%20width='64'%20height='64'%20viewBox='0%200%2064%2064'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11%2023C11%2021.8954%2011.8954%2021%2013%2021H29C30.1046%2021%2031%2021.8954%2031%2023V41C31%2042.1046%2030.1046%2043%2029%2043H13C11.8954%2043%2011%2042.1046%2011%2041V23Z'%20fill='%23FF6900'/%3e%3cpath%20d='M50.3086%2016.0078C53.4789%2016.1684%2056%2018.7898%2056%2022V42C56%2045.3137%2053.3137%2048%2050%2048H12C8.68629%2048%206%2045.3137%206%2042V22C6%2018.7898%208.52111%2016.1684%2011.6914%2016.0078L12%2016H50L50.3086%2016.0078ZM12%2019C10.3431%2019%209%2020.3431%209%2022V42C9%2043.6569%2010.3431%2045%2012%2045H50C51.6569%2045%2053%2043.6569%2053%2042V22C53%2020.3431%2051.6569%2019%2050%2019H12ZM59.5%2025C60.3284%2025%2061%2025.6716%2061%2026.5V37.5C61%2038.3284%2060.3284%2039%2059.5%2039C58.6716%2039%2058%2038.3284%2058%2037.5V26.5C58%2025.6716%2058.6716%2025%2059.5%2025Z'%20fill='%23FAFAFA'%20fill-opacity='0.3'/%3e%3c/svg%3e",ML="data:image/svg+xml,%3csvg%20width='64'%20height='64'%20viewBox='0%200%2064%2064'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M11%2023C11%2021.8954%2011.8954%2021%2013%2021H39C40.1046%2021%2041%2021.8954%2041%2023V41C41%2042.1046%2040.1046%2043%2039%2043H13C11.8954%2043%2011%2042.1046%2011%2041V23Z'%20fill='%23EAB308'/%3e%3cpath%20d='M50.3086%2016.0078C53.4789%2016.1684%2056%2018.7898%2056%2022V42C56%2045.3137%2053.3137%2048%2050%2048H12C8.68629%2048%206%2045.3137%206%2042V22C6%2018.7898%208.52111%2016.1684%2011.6914%2016.0078L12%2016H50L50.3086%2016.0078ZM12%2019C10.3431%2019%209%2020.3431%209%2022V42C9%2043.6569%2010.3431%2045%2012%2045H50C51.6569%2045%2053%2043.6569%2053%2042V22C53%2020.3431%2051.6569%2019%2050%2019H12ZM59.5%2025C60.3284%2025%2061%2025.6716%2061%2026.5V37.5C61%2038.3284%2060.3284%2039%2059.5%2039C58.6716%2039%2058%2038.3284%2058%2037.5V26.5C58%2025.6716%2058.6716%2025%2059.5%2025Z'%20fill='%23FAFAFA'%20fill-opacity='0.3'/%3e%3c/svg%3e",kL="data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12%2020H7.86671C7.33337%2020%206.93893%2019.7611%206.68337%2019.2833C6.42782%2018.8056%206.4556%2018.3444%206.76671%2017.9L16.7334%203.56666C16.9556%203.25555%2017.2445%203.03888%2017.6%202.91666C17.9556%202.79444%2018.3223%202.79999%2018.7%202.93333C19.0778%203.06666%2019.3556%203.29999%2019.5334%203.63333C19.7112%203.96666%2019.7778%204.32222%2019.7334%204.69999L18.6667%2013.3333H23.8334C24.4112%2013.3333%2024.8167%2013.5889%2025.05%2014.1C25.2834%2014.6111%2025.2112%2015.0889%2024.8334%2015.5333L13.8667%2028.6667C13.6223%2028.9556%2013.3223%2029.1444%2012.9667%2029.2333C12.6112%2029.3222%2012.2667%2029.2889%2011.9334%2029.1333C11.6%2028.9778%2011.3389%2028.7389%2011.15%2028.4167C10.9612%2028.0944%2010.8889%2027.7444%2010.9334%2027.3667L12%2020Z'%20fill='%23FAFAFA'/%3e%3cpath%20d='M17.2546%200.935429C17.866%200.783001%2018.4829%200.798845%2019.073%200.956913L19.3659%201.04773L19.6657%201.16785C20.3511%201.47811%2020.9228%201.98962%2021.2976%202.69227C21.6687%203.38806%2021.8111%204.1537%2021.7194%204.93348L21.7185%204.94519L20.9294%2011.3329H23.8337V13.3329H18.6667L19.7331%204.70008C19.7776%204.32233%2019.7107%203.96698%2019.5329%203.63367C19.3551%203.30034%2019.0777%203.06681%2018.6999%202.93348C18.3222%202.80018%2017.9558%202.79473%2017.6003%202.91687C17.2448%203.03908%2016.9553%203.25525%2016.7331%203.56629L6.76632%2017.9003C6.45548%2018.3445%206.42794%2018.8055%206.68331%2019.2831C6.90699%2019.7013%207.23706%2019.937%207.67355%2019.9891L7.86691%2019.9999H11.9997L10.9333%2027.3671L10.9226%2027.5067C10.9091%2027.8313%2010.9848%2028.1348%2011.1501%2028.4169C11.339%2028.739%2011.6%2028.9781%2011.9333%2029.1337C12.2666%2029.2892%2012.611%2029.3221%2012.9665%2029.2333C13.2776%2029.1555%2013.5462%2029.0012%2013.7722%2028.7704L13.8669%2028.6669L24.8337%2015.5331C25.2112%2015.0888%2025.2827%2014.6114%2025.0495%2014.1005C24.8453%2013.6532%2024.5097%2013.4014%2024.0417%2013.3456L23.8337%2013.3329V11.3329C24.4218%2011.3329%2025.0553%2011.4661%2025.6374%2011.8329C26.1498%2012.1558%2026.5169%2012.5941%2026.7683%2013.0653L26.8698%2013.2694L26.9577%2013.4794C27.1497%2013.9795%2027.2384%2014.5436%2027.1482%2015.1405C27.0469%2015.8102%2026.7423%2016.3698%2026.3679%2016.8143L15.4021%2029.9481L15.3933%2029.9589C14.8876%2030.5564%2014.2278%2030.9797%2013.4519%2031.1737C12.6495%2031.3743%2011.835%2031.2949%2011.0876%2030.9462C10.3807%2030.6163%209.81522%2030.0949%209.42452%2029.4286C9.01113%2028.7234%208.85268%2027.9343%208.94699%2027.1327L8.94991%2027.1063L8.95382%2027.08L9.68917%2021.9999H7.86691C7.29309%2021.9999%206.69041%2021.8678%206.13449%2021.5311C5.58047%2021.1955%205.18671%2020.7257%204.91964%2020.2264C4.64805%2019.7186%204.47659%2019.1183%204.51632%2018.4589C4.55605%2017.7995%204.79869%2017.2241%205.12863%2016.7528L15.0915%202.42469L15.0984%202.41492L15.1062%202.40418C15.566%201.76051%2016.1937%201.28524%2016.9499%201.02527L17.2546%200.935429Z'%20fill='%2309090B'/%3e%3c/svg%3e",RL="data:image/svg+xml,%3csvg%20width='32'%20height='32'%20viewBox='0%200%2032%2032'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M12%2020H7.86671C7.33337%2020%206.93893%2019.7611%206.68337%2019.2833C6.42782%2018.8056%206.4556%2018.3444%206.76671%2017.9L16.7334%203.56666C16.9556%203.25555%2017.2445%203.03888%2017.6%202.91666C17.9556%202.79444%2018.3223%202.79999%2018.7%202.93333C19.0778%203.06666%2019.3556%203.29999%2019.5334%203.63333C19.7112%203.96666%2019.7778%204.32222%2019.7334%204.69999L18.6667%2013.3333H23.8334C24.4112%2013.3333%2024.8167%2013.5889%2025.05%2014.1C25.2834%2014.6111%2025.2112%2015.0889%2024.8334%2015.5333L13.8667%2028.6667C13.6223%2028.9556%2013.3223%2029.1444%2012.9667%2029.2333C12.6112%2029.3222%2012.2667%2029.2889%2011.9334%2029.1333C11.6%2028.9778%2011.3389%2028.7389%2011.15%2028.4167C10.9612%2028.0944%2010.8889%2027.7444%2010.9334%2027.3667L12%2020Z'%20fill='%2309090B'/%3e%3cpath%20d='M17.2546%200.935429C17.866%200.783001%2018.4829%200.798845%2019.073%200.956913L19.3659%201.04773L19.6657%201.16785C20.3511%201.47811%2020.9228%201.98962%2021.2976%202.69227C21.6687%203.38806%2021.8111%204.1537%2021.7194%204.93348L21.7185%204.94519L20.9294%2011.3329H23.8337V13.3329H18.6667L19.7331%204.70008C19.7776%204.32233%2019.7107%203.96698%2019.5329%203.63367C19.3551%203.30034%2019.0777%203.06681%2018.6999%202.93348C18.3222%202.80018%2017.9558%202.79473%2017.6003%202.91687C17.2448%203.03908%2016.9553%203.25526%2016.7331%203.56629L6.76632%2017.9003C6.45548%2018.3445%206.42794%2018.8055%206.68331%2019.2831C6.90699%2019.7013%207.23706%2019.937%207.67355%2019.9891L7.86691%2019.9999H11.9997L10.9333%2027.3671L10.9226%2027.5067C10.9091%2027.8313%2010.9848%2028.1348%2011.1501%2028.4169C11.339%2028.739%2011.6%2028.9781%2011.9333%2029.1337C12.2666%2029.2892%2012.611%2029.3221%2012.9665%2029.2333C13.2776%2029.1555%2013.5462%2029.0012%2013.7722%2028.7704L13.8669%2028.6669L24.8337%2015.5331C25.2112%2015.0888%2025.2827%2014.6114%2025.0495%2014.1005C24.8453%2013.6532%2024.5097%2013.4014%2024.0417%2013.3456L23.8337%2013.3329V11.3329C24.4218%2011.3329%2025.0553%2011.4661%2025.6374%2011.8329C26.1498%2012.1558%2026.5169%2012.5941%2026.7683%2013.0653L26.8698%2013.2694L26.9577%2013.4794C27.1497%2013.9795%2027.2384%2014.5436%2027.1482%2015.1405C27.0469%2015.8102%2026.7423%2016.3698%2026.3679%2016.8143L15.4021%2029.9481L15.3933%2029.9589C14.8876%2030.5564%2014.2278%2030.9797%2013.4519%2031.1737C12.6495%2031.3743%2011.835%2031.2949%2011.0876%2030.9462C10.3807%2030.6163%209.81522%2030.0949%209.42452%2029.4286C9.01113%2028.7234%208.85268%2027.9343%208.94699%2027.1327L8.94991%2027.1063L8.95382%2027.08L9.68917%2021.9999H7.86691C7.29309%2021.9999%206.69041%2021.8678%206.13449%2021.5311C5.58047%2021.1955%205.18671%2020.7257%204.91964%2020.2264C4.64805%2019.7186%204.47659%2019.1183%204.51632%2018.4589C4.55605%2017.7995%204.79869%2017.2241%205.12863%2016.7528L15.0915%202.42469L15.0984%202.41492L15.1062%202.40418C15.566%201.76051%2016.1937%201.28524%2016.9499%201.02527L17.2546%200.935429Z'%20fill='white'/%3e%3c/svg%3e",zy=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,Fy=y0,me=(t,e)=>n=>{var r;if(e?.variants==null)return Fy(t,n?.class,n?.className);const{variants:o,defaultVariants:a}=e,i=Object.keys(o).map(u=>{const d=n?.[u],f=a?.[u];if(d===null)return null;const m=zy(d)||zy(f);return o[u][m]}),s=n&&Object.entries(n).reduce((u,d)=>{let[f,m]=d;return m===void 0||(u[f]=m),u},{}),l=e==null||(r=e.compoundVariants)===null||r===void 0?void 0:r.reduce((u,d)=>{let{class:f,className:m,...v}=d;return Object.entries(v).every(g=>{let[w,y]=g;return Array.isArray(y)?y.includes({...a,...s}[w]):{...a,...s}[w]===y})?[...u,f,m]:u},[]);return Fy(t,i,l,n?.class,n?.className)},TL=me("relative inline-block shrink-0",{variants:{size:{xs:"size-[1.125rem]",sm:"size-[1.3125rem]",md:"size-[1.5rem]",lg:"size-[1.875rem]"}},defaultVariants:{size:"md"}}),NL=me("pointer-events-none absolute top-1/4 left-1/4 z-[2] h-1/2 w-1/2"),fhe=me({variants:{status:{empty:"bg-fill-subtle w-0",critical:"bg-fill-danger w-2.5",low:"bg-fill-warning w-5",normal:"bg-accent-yellow w-7",full:"bg-fill-success w-10"}},defaultVariants:{status:"critical"}}),{useMemo:PL}=await q("react"),Vy=64,AL=t=>t==null||t===0?"empty":t<25?"critical":t<50?"low":t<75?"normal":"full",IL={empty:By,critical:By,low:EL,normal:ML,full:CL},jy=SL.match(/<path[^>]*d="([^"]+)"[^>]*fill="#FAFAFA"[^>]*fill-opacity="0\.3"/)?.[1],OL=()=>typeof document>"u"?!1:document.getElementById("rainbow-ui")?.getAttribute("data-theme")==="dark"||document.body.getAttribute("data-theme")==="dark";function phe({className:t,wrapperClassName:e,status:n,size:r="md",percent:o,charging:a=!1,borderColor:i,showPercentLabel:s=!1,percentLabelClassName:l,style:u,...d}){const f=o==null?void 0:Math.max(0,Math.min(o,100)),m=PL(()=>f===0&&typeof n<"u"?n:f!==void 0?AL(f):n??"critical",[n,f]),v=IL[m],g=i??"var(--color-border-subtle)",w=OL(),y=!!i||!w,_=w?kL:RL,S=s&&f!=null,x=`${Math.round(f??0)}%`,C=h("div",{"data-slot":"battery",role:"img","aria-label":`battery-${m}`,className:se(TL({size:r}),t),style:u,...d,children:ne("div",{"data-slot":"battery-icon",className:"absolute inset-0",children:[h("img",{"data-slot":"battery-base",src:v,alt:"","aria-hidden":!0,className:"pointer-events-none absolute inset-0 size-full"}),y&&jy&&h("svg",{"data-slot":"battery-border","aria-hidden":!0,viewBox:`0 0 ${Vy} ${Vy}`,className:"pointer-events-none absolute inset-0 z-[1] size-full",children:h("path",{d:jy,fill:g})}),a&&h("img",{"data-slot":"battery-charging",src:_,alt:"","aria-hidden":!0,className:NL()})]})});return S?ne("div",{"data-slot":"battery-wrapper",className:se("inline-flex items-center gap-1 align-middle",e),children:[C,h("div",{"data-slot":"battert-percent",className:se("text-fg-subtle typo-compact-xs-medium flex items-center justify-start",l),children:x})]}):C}const LL="_spinner_1h0pd_40",$L="_rotate_1h0pd_1",DL="_border_1h0pd_46",BL="_path_1h0pd_52",zL="_dash_1h0pd_1",FL={spinner:LL,rotate:$L,border:DL,path:BL,dash:zL},Gm=rn(FL,"rb-ui"),Ui=({className:t="",borderClassName:e,pathClassName:n,size:r=20})=>ne("svg",{className:Gm("spinner",t),viewBox:"0 0 50 50",width:r,height:r,stroke:"currentColor",children:[h("circle",{className:se(Gm("border"),e),cx:"25",cy:"25",r:"20",fill:"none"}),h("circle",{className:se(Gm("path"),n),cx:"25",cy:"25",r:"20",fill:"none"})]}),VL="_ripple_78a71_39",jL="_animate_78a71_44",HL={ripple:VL,animate:jL,"material-ripple":"_material-ripple_78a71_1"},{useRef:WL,useCallback:qL,useState:UL,useEffect:YL,memo:GL}=await q("react"),Bp={color:"#ddd",duration:500,maxSize:400,disabled:!1},KL=rn(HL,"rb-ui"),XL=({color:t=Bp.color,duration:e=Bp.duration,maxSize:n=Bp.maxSize,disabled:r=Bp.disabled,children:o})=>{const a=WL(null),[i,s]=UL(null),l=()=>{if(a.current){if(a.current.childElementCount>1)throw new Error("[Ripple]: Ripple 컴포넌트 사용할 시 Ripple 컴포넌트의 하위 자식 엘리먼트 갯수는 하나여야만 합니다. 그렇지 않을 시 Ripple은 작동하지 않습니다.");if(a.current.childElementCount===0)throw new Error("[Ripple]: Ripple 컴포넌트의 하위 자식 엘리먼트가 존재하지 않습니다. 하위 자식 엘리먼트가 없을 경우 Ripple은 작동하지 않습니다.");s(a.current.children[0])}},u=qL(d=>{if(!i||r)return;i.style.position="relative",i.style.overflow="hidden";const{clientX:f,clientY:m}=d,{left:v,top:g,width:w,height:y}=i.getBoundingClientRect(),_=document.createElement("jwripple"),S=w+y/2;_.classList.add("animate"),_.setAttribute("style",`
|
|
13
|
-
position: absolute;
|
|
14
|
-
top: ${m-g}px;
|
|
15
|
-
left: ${f-v}px;
|
|
16
|
-
z-index: 1;
|
|
17
|
-
min-width: 30px;
|
|
18
|
-
min-height: 30px;
|
|
19
|
-
max-width: ${n}px;
|
|
20
|
-
max-height: ${n}px;
|
|
21
|
-
width: ${S}px;
|
|
22
|
-
height: ${S}px;
|
|
23
|
-
background-color: ${t};
|
|
24
|
-
animation-duration: ${Math.abs(e)}ms;
|
|
25
|
-
border-radius: 50%;
|
|
26
|
-
opacity: 0;
|
|
27
|
-
cursor: pointer;
|
|
28
|
-
pointer-events: none;
|
|
29
|
-
transform-origin: center;
|
|
30
|
-
will-change: transform, opacity;
|
|
31
|
-
`),i.prepend(_),d.stopPropagation(),setTimeout(()=>{_.remove()},Math.abs(e)+200)},[i,t,e,r,n]);return YL(()=>{l()},[a]),h("div",{ref:a,className:KL("ripple"),onPointerDown:u,children:o})},Rr=GL(XL),h7=me(["relative inline-flex items-center justify-center whitespace-nowrap","transition-colors select-none"].join(" "),{variants:{size:{"3xs":"gap-0_5 px-1_5 typo-compact-2xs-semibold h-5 rounded-sm","2xs":"gap-0_5 px-1_5 typo-compact-xs-semibold h-6 rounded-sm",xs:"typo-compact-xs-semibold h-7 gap-1 rounded-md px-2",xs2:"typo-compact-xs2-semibold h-8 gap-1 rounded-md px-3",sm:"typo-compact-sm-semibold px-3_5 h-8 gap-1 rounded-md",md:"typo-compact-sm2-semibold h-10 gap-1 rounded-md px-4"},variant:{transparent:["bg-fill-transparent text-fg-default","hover:bg-fill-transparent-hovered","disabled:text-fg-disabled"].join(" "),outlined:["bg-fill-transparent text-fg-default","outline-border-subtle outline outline-1 outline-offset-[-1px]","hover:bg-fill-transparent-hovered","disabled:outline-border-disabled disabled:text-fg-disabled"].join(" "),soft:["bg-fill-subtler text-fg-default","hover:bg-fill-subtler-hovered","disabled:bg-fill-disabled disabled:text-fg-disabled"].join(" "),solid:["bg-fill-default text-fg-inverse","hover:bg-fill-default-hovered","disabled:bg-fill-disabled disabled:text-fg-disabled"].join(" "),inverse:["bg-fill-inverse text-fg-default","hover:bg-fill-inverse-hovered","disabled:bg-fill-inverse-disabled disabled:text-fg-inverse-disabled"].join(" "),inverseSoft:["bg-fill-inverse-subtle text-fg-default","hover:bg-fill-inverse-subtle-hovered","disabled:bg-fill-inverse-disabled disabled:text-fg-inverse-disabled"].join(" "),brand:["bg-fill-brand text-white","hover:bg-fill-brand-hovered","disabled:bg-fill-disabled disabled:text-fg-disabled"].join(" "),brandSoft:["bg-fill-brand-subtlest text-fg-brand","hover:bg-fill-brand-subtler","disabled:bg-fill-disabled disabled:text-fg-disabled"].join(" "),danger:["bg-fill-danger text-white","hover:bg-fill-danger-hovered","disabled:bg-fill-disabled disabled:text-fg-disabled"].join(" "),dangerSoft:["bg-fill-danger-subtler text-fg-danger","hover:bg-fill-danger-subtle","disabled:bg-fill-disabled disabled:text-fg-disabled"].join(" "),success:["bg-fill-success text-white","hover:bg-fill-success-hovered","disabled:bg-fill-disabled disabled:text-fg-disabled"].join(" "),successSoft:["bg-fill-success-subtler text-fg-success","hover:bg-fill-success-subtle","disabled:bg-fill-disabled disabled:text-fg-disabled"].join(" ")},disabled:{true:"pointer-events-none cursor-not-allowed",false:""}},defaultVariants:{size:"sm",variant:"solid"}}),Hy=me("inline-flex shrink-0 items-center justify-center [&_svg]:block [&_svg]:shrink-0 [&_svg]:leading-none",{variants:{size:{"3xs":"size-3","2xs":"size-3",xs:"size-3.5",xs2:"size-3.5",sm:"size-3.5",md:"size-4"},disabled:{true:"pointer-events-none cursor-not-allowed",false:""}},defaultVariants:{size:"sm",disabled:!1}}),ZL=me("inline-flex items-center justify-center",{variants:{size:{"3xs":"size-3","2xs":"size-3",xs:"size-3.5",xs2:"size-3.5",sm:"size-3.5",md:"size-4"}},defaultVariants:{size:"sm"}}),{forwardRef:QL,useCallback:Wy,useRef:JL}=await q("react"),Hr=QL(function({className:e,size:n,variant:r,type:o="button",leadingIcon:a,trailingIcon:i,ripple:s,detectDoubleClick:l,children:u,disabled:d,loading:f=!1,onClick:m,...v},g){const w=JL(null),y=Wy(()=>{l&&(window.clearTimeout(w.current??0),w.current=window.setTimeout(()=>{w.current=null},500))},[l]),_=Wy(S=>{w.current||(m?.(S),y())},[y,m]);return h(Rr,{"data-slot":"label-button-ripple",...s,disabled:d||!!s?.disabled||f,children:ne("button",{ref:g,"data-slot":"label-button","data-pad-focus":"true",className:se(h7({size:n,variant:r,disabled:!!d||f}),f&&"pointer-events-none",e),"aria-busy":f,disabled:d,type:o,onClick:_,onContextMenu:S=>{S.button!==2&&S.preventDefault()},...v,children:[f&&h("span",{"data-slot":"label-button-spinner",className:se("absolute top-1/2 left-1/2 inline-flex -translate-x-1/2 -translate-y-1/2 items-center justify-center",ZL({size:n})),children:h(Ui,{size:"100%"})}),a&&h("span",{"data-slot":"label-button-leading-icon","aria-hidden":!0,className:se(Hy({size:n,disabled:!!d||f}),f&&"invisible"),children:a}),!!u&&h("span",{"data-slot":"label-button-text",className:se("inline-flex items-center justify-center",f&&"invisible"),children:u}),i&&h("span",{"data-slot":"label-button-trailing-icon","aria-hidden":!0,className:se(Hy({size:n,disabled:!!d||f}),f&&"invisible"),children:i})]})})}),e$=me(["relative inline-flex shrink-0 items-center justify-center","transition-colors select-none"].join(" "),{variants:{size:{"3xs":"size-5 rounded-sm","2xs":"size-6 rounded-sm",xs:"size-7 rounded-md",xs2:"size-8 rounded-md",sm:"size-9 rounded-md",md:"size-10 rounded-md"},variant:{transparent:["bg-fill-transparent text-fg-default","hover:bg-fill-transparent-hovered","disabled:text-fg-disabled"].join(" "),outlined:["bg-fill-transparent text-fg-default","outline-border-subtle outline outline-1 outline-offset-[-1px]","hover:bg-fill-transparent-hovered","disabled:outline-border-disabled disabled:text-fg-disabled"].join(" "),soft:["bg-fill-subtler text-fg-default","hover:bg-fill-subtler-hovered","disabled:bg-fill-disabled disabled:text-fg-disabled"].join(" "),solid:["bg-fill-default text-fg-inverse","hover:bg-fill-default-hovered","disabled:bg-fill-disabled disabled:text-fg-disabled"].join(" "),inverse:["bg-fill-inverse text-fg-default","hover:bg-fill-inverse-hovered","disabled:bg-fill-inverse-disabled disabled:text-fg-inverse-disabled"].join(" "),inverseSoft:["bg-fill-inverse-subtle text-fg-inverse","hover:bg-fill-inverse-subtle-hovered","disabled:bg-fill-inverse-disabled disabled:text-fg-inverse-disabled"].join(" "),brand:["bg-fill-brand text-white","hover:bg-fill-brand-hovered","disabled:bg-fill-disabled disabled:text-fg-disabled"].join(" "),circle:["bg-fill-transparent text-fg-default rounded-full","outline-border-default outline outline-1 outline-offset-[-1px]","hover:bg-fill-transparent-hovered","disabled:outline-border-disabled disabled:text-fg-disabled"].join(" ")},disabled:{true:"cursor-not-allowed",false:""}},defaultVariants:{size:"sm",variant:"solid"}}),t$=me("inline-flex shrink-0 items-center justify-center [&_svg]:block [&_svg]:shrink-0 [&_svg]:leading-none",{variants:{size:{"3xs":"size-3.5","2xs":"size-3.5",xs:"size-4",xs2:"size-4",sm:"size-4",md:"size-5"},variant:{transparent:"",outlined:"",soft:"",solid:"",inverse:"",inverseSoft:"",brand:"",circle:""},disabled:{true:"pointer-events-none cursor-not-allowed",false:""}},compoundVariants:[{variant:"circle",className:"opacity-100",disabled:!0}],defaultVariants:{size:"sm",variant:"solid",disabled:!1}}),n$=me("inline-flex items-center justify-center",{variants:{size:{"3xs":"size-3.5","2xs":"size-3.5",xs:"size-4",xs2:"size-4",sm:"size-4",md:"size-5"},variant:{transparent:"text-fg-default",outlined:"text-fg-default",soft:"text-fg-default",solid:"text-fg-inverse",inverse:"text-fg-default",inverseSoft:"text-fg-inverse",brand:"text-fg-default",circle:"text-fg-default"},disabled:{true:"text-fg-disabled pointer-events-none cursor-not-allowed",false:""}},defaultVariants:{size:"sm",variant:"solid",disabled:!1}}),r$=me("",{variants:{variant:{transparent:"",outlined:"",soft:"",solid:"",inverse:"",inverseSoft:"stroke-fg-inverse-disabled",brand:"",circle:""},disabled:{true:"",false:""}},defaultVariants:{variant:"solid",disabled:!1}}),o$=me("",{variants:{variant:{transparent:"",outlined:"",soft:"",solid:"",inverse:"",inverseSoft:"stroke-fg-inverse",brand:"",circle:""},disabled:{true:"",false:""}},defaultVariants:{variant:"solid",disabled:!1}}),{forwardRef:a$,useCallback:qy,useRef:i$}=await q("react"),m7=a$(({className:t,size:e,variant:n,type:r="button",icon:o,children:a,ripple:i,detectDoubleClick:s,disabled:l,loading:u=!1,onClick:d,...f},m)=>{const v=o??a,g=i$(null),w=qy(()=>{s&&(window.clearTimeout(g.current??0),g.current=window.setTimeout(()=>{g.current=null},500))},[s]),y=qy(_=>{g.current||(d?.(_),w())},[w,d]);return h(Rr,{"data-slot":"icon-button-ripple",...i,disabled:l||!!i?.disabled||u,children:ne("button",{ref:m,className:se(e$({size:e,variant:n,disabled:!!l||u}),u&&"pointer-events-none",t),"aria-busy":u,disabled:l,type:r,onClick:y,...f,children:[u&&h("span",{"data-slot":"icon-button-spinner",className:se("absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2",n$({size:e,variant:n,disabled:!!l})),children:h(Ui,{size:"100%",borderClassName:r$({variant:n,disabled:!!l}),pathClassName:o$({variant:n,disabled:!!l})})}),v&&h("span",{"data-slot":"icon-button-icon","aria-hidden":!0,className:se(t$({size:e,variant:n,disabled:!!l||u}),u&&"invisible"),children:v})]})})});m7.displayName="RBIconButton";var jd={exports:{}};/**
|
|
32
|
-
* @license
|
|
33
|
-
* Lodash <https://lodash.com/>
|
|
34
|
-
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
35
|
-
* Released under MIT license <https://lodash.com/license>
|
|
36
|
-
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
37
|
-
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
38
|
-
*/var s$=jd.exports,Uy;function l$(){return Uy||(Uy=1,(function(t,e){(function(){var n,r="4.18.1",o=200,a="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",i="Expected a function",s="Invalid `variable` option passed into `_.template`",l="Invalid `imports` option passed into `_.template`",u="__lodash_hash_undefined__",d=500,f="__lodash_placeholder__",m=1,v=2,g=4,w=1,y=2,_=1,S=2,x=4,C=8,M=16,A=32,O=64,D=128,T=256,R=512,$=30,P="...",I=800,L=16,V=1,F=2,z=3,B=1/0,Y=9007199254740991,U=17976931348623157e292,le=NaN,J=4294967295,re=J-1,te=J>>>1,oe=[["ary",D],["bind",_],["bindKey",S],["curry",C],["curryRight",M],["flip",R],["partial",A],["partialRight",O],["rearg",T]],ee="[object Arguments]",ue="[object Array]",fe="[object AsyncFunction]",ye="[object Boolean]",we="[object Date]",Ne="[object DOMException]",Ie="[object Error]",Pe="[object Function]",he="[object GeneratorFunction]",ge="[object Map]",be="[object Number]",Ue="[object Null]",Ae="[object Object]",Ke="[object Promise]",Me="[object Proxy]",at="[object RegExp]",ut="[object Set]",mt="[object String]",Ft="[object Symbol]",cn="[object Undefined]",Sn="[object WeakMap]",Jn="[object WeakSet]",Gt="[object ArrayBuffer]",Tn="[object DataView]",Hn="[object Float32Array]",Rt="[object Float64Array]",Se="[object Int8Array]",qe="[object Int16Array]",wt="[object Int32Array]",un="[object Uint8Array]",on="[object Uint8ClampedArray]",Ot="[object Uint16Array]",ht="[object Uint32Array]",Ze=/\b__p \+= '';/g,Dt=/\b(__p \+=) '' \+/g,jt=/(__e\(.*?\)|\b__t\)) \+\n'';/g,rt=/&(?:amp|lt|gt|quot|#39);/g,en=/[&<>"']/g,Mn=RegExp(rt.source),_n=RegExp(en.source),Pn=/<%-([\s\S]+?)%>/g,In=/<%([\s\S]+?)%>/g,On=/<%=([\s\S]+?)%>/g,sr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Nn=/^\w*$/,Or=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,zn=/[\\^$.*+?()[\]{}|]/g,di=RegExp(zn.source),Jo=/^\s+/,Ki=/\s/,Xi=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ea=/\{\n\/\* \[wrapped with (.+)\] \*/,fi=/,? & /,ta=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Na=/[()=,{}\[\]\/\s]/,tl=/\\(\\)?/g,na=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ra=/\w*$/,Pa=/^[-+]0x[0-9a-f]+$/i,oa=/^0b[01]+$/i,Po=/^\[object .+?Constructor\]$/,Aa=/^0o[0-7]+$/i,pi=/^(?:0|[1-9]\d*)$/,hi=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ao=/($^)/,mi=/['\n\r\u2028\u2029\\]/g,Fn="\\ud800-\\udfff",Zi="\\u0300-\\u036f",gi="\\ufe20-\\ufe2f",Ia="\\u20d0-\\u20ff",vi=Zi+gi+Ia,ho="\\u2700-\\u27bf",mo="a-z\\xdf-\\xf6\\xf8-\\xff",Qi="\\xac\\xb1\\xd7\\xf7",aa="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",ia="\\u2000-\\u206f",wi=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Oa="A-Z\\xc0-\\xd6\\xd8-\\xde",La="\\ufe0e\\ufe0f",sa=Qi+aa+ia+wi,$a="['’]",Ji="["+Fn+"]",Da="["+sa+"]",E="["+vi+"]",H="\\d+",X="["+ho+"]",ie="["+mo+"]",Re="[^"+Fn+sa+H+ho+mo+Oa+"]",Ce="\\ud83c[\\udffb-\\udfff]",Be="(?:"+E+"|"+Ce+")",Ge="[^"+Fn+"]",vt="(?:\\ud83c[\\udde6-\\uddff]){2}",bt="[\\ud800-\\udbff][\\udc00-\\udfff]",Ct="["+Oa+"]",wn="\\u200d",br="(?:"+ie+"|"+Re+")",Lr="(?:"+Ct+"|"+Re+")",lr="(?:"+$a+"(?:d|ll|m|re|s|t|ve))?",Io="(?:"+$a+"(?:D|LL|M|RE|S|T|VE))?",Ur=Be+"?",Ba="["+La+"]?",la="(?:"+wn+"(?:"+[Ge,vt,bt].join("|")+")"+Ba+Ur+")*",es="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Oo="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",bi=Ba+Ur+la,zu="(?:"+[X,vt,bt].join("|")+")"+bi,Fu="(?:"+[Ge+E+"?",E,vt,bt,Ji].join("|")+")",Vu=RegExp($a,"g"),ju=RegExp(E,"g"),ts=RegExp(Ce+"(?="+Ce+")|"+Fu+bi,"g"),go=RegExp([Ct+"?"+ie+"+"+lr+"(?="+[Da,Ct,"$"].join("|")+")",Lr+"+"+Io+"(?="+[Da,Ct+br,"$"].join("|")+")",Ct+"?"+br+"+"+lr,Ct+"+"+Io,Oo,es,H,zu].join("|"),"g"),Ee=RegExp("["+wn+Fn+vi+La+"]"),ce=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,de=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],$e=-1,De={};De[Hn]=De[Rt]=De[Se]=De[qe]=De[wt]=De[un]=De[on]=De[Ot]=De[ht]=!0,De[ee]=De[ue]=De[Gt]=De[ye]=De[Tn]=De[we]=De[Ie]=De[Pe]=De[ge]=De[be]=De[Ae]=De[at]=De[ut]=De[mt]=De[Sn]=!1;var Je={};Je[ee]=Je[ue]=Je[Gt]=Je[Tn]=Je[ye]=Je[we]=Je[Hn]=Je[Rt]=Je[Se]=Je[qe]=Je[wt]=Je[ge]=Je[be]=Je[Ae]=Je[at]=Je[ut]=Je[mt]=Je[Ft]=Je[un]=Je[on]=Je[Ot]=Je[ht]=!0,Je[Ie]=Je[Pe]=Je[Sn]=!1;var dn={À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"},Wn={"&":"&","<":"<",">":">",'"':""","'":"'"},Yr={"&":"&","<":"<",">":">",""":'"',"'":"'"},cc={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},nl=parseFloat,ns=parseInt,rs=typeof Lp=="object"&&Lp&&Lp.Object===Object&&Lp,rl=typeof self=="object"&&self&&self.Object===Object&&self,Ln=rs||rl||Function("return this")(),Hu=e&&!e.nodeType&&e,yi=Hu&&!0&&t&&!t.nodeType&&t,ol=yi&&yi.exports===Hu,uc=ol&&rs.process,pr=(function(){try{var _e=yi&&yi.require&&yi.require("util").types;return _e||uc&&uc.binding&&uc.binding("util")}catch{}})(),dc=pr&&pr.isArrayBuffer,Gf=pr&&pr.isDate,os=pr&&pr.isMap,Kf=pr&&pr.isRegExp,fc=pr&&pr.isSet,al=pr&&pr.isTypedArray;function er(_e,ze,Le){switch(Le.length){case 0:return _e.call(ze);case 1:return _e.call(ze,Le[0]);case 2:return _e.call(ze,Le[0],Le[1]);case 3:return _e.call(ze,Le[0],Le[1],Le[2])}return _e.apply(ze,Le)}function pc(_e,ze,Le,ot){for(var $t=-1,pn=_e==null?0:_e.length;++$t<pn;){var tr=_e[$t];ze(ot,tr,Le(tr),_e)}return ot}function yr(_e,ze){for(var Le=-1,ot=_e==null?0:_e.length;++Le<ot&&ze(_e[Le],Le,_e)!==!1;);return _e}function Xf(_e,ze){for(var Le=_e==null?0:_e.length;Le--&&ze(_e[Le],Le,_e)!==!1;);return _e}function Wu(_e,ze){for(var Le=-1,ot=_e==null?0:_e.length;++Le<ot;)if(!ze(_e[Le],Le,_e))return!1;return!0}function Lo(_e,ze){for(var Le=-1,ot=_e==null?0:_e.length,$t=0,pn=[];++Le<ot;){var tr=_e[Le];ze(tr,Le,_e)&&(pn[$t++]=tr)}return pn}function cr(_e,ze){var Le=_e==null?0:_e.length;return!!Le&&_i(_e,ze,0)>-1}function hc(_e,ze,Le){for(var ot=-1,$t=_e==null?0:_e.length;++ot<$t;)if(Le(ze,_e[ot]))return!0;return!1}function xn(_e,ze){for(var Le=-1,ot=_e==null?0:_e.length,$t=Array(ot);++Le<ot;)$t[Le]=ze(_e[Le],Le,_e);return $t}function za(_e,ze){for(var Le=-1,ot=ze.length,$t=_e.length;++Le<ot;)_e[$t+Le]=ze[Le];return _e}function mc(_e,ze,Le,ot){var $t=-1,pn=_e==null?0:_e.length;for(ot&&pn&&(Le=_e[++$t]);++$t<pn;)Le=ze(Le,_e[$t],$t,_e);return Le}function gc(_e,ze,Le,ot){var $t=_e==null?0:_e.length;for(ot&&$t&&(Le=_e[--$t]);$t--;)Le=ze(Le,_e[$t],$t,_e);return Le}function vc(_e,ze){for(var Le=-1,ot=_e==null?0:_e.length;++Le<ot;)if(ze(_e[Le],Le,_e))return!0;return!1}var Zf=j("length");function wc(_e){return _e.split("")}function bc(_e){return _e.match(ta)||[]}function qu(_e,ze,Le){var ot;return Le(_e,function($t,pn,tr){if(ze($t,pn,tr))return ot=pn,!1}),ot}function il(_e,ze,Le,ot){for(var $t=_e.length,pn=Le+(ot?1:-1);ot?pn--:++pn<$t;)if(ze(_e[pn],pn,_e))return pn;return-1}function _i(_e,ze,Le){return ze===ze?wR(_e,ze,Le):il(_e,Yu,Le)}function Uu(_e,ze,Le,ot){for(var $t=Le-1,pn=_e.length;++$t<pn;)if(ot(_e[$t],ze))return $t;return-1}function Yu(_e){return _e!==_e}function k(_e,ze){var Le=_e==null?0:_e.length;return Le?ke(_e,ze)/Le:le}function j(_e){return function(ze){return ze==null?n:ze[_e]}}function G(_e){return function(ze){return _e==null?n:_e[ze]}}function ae(_e,ze,Le,ot,$t){return $t(_e,function(pn,tr,Cn){Le=ot?(ot=!1,pn):ze(Le,pn,tr,Cn)}),Le}function Te(_e,ze){var Le=_e.length;for(_e.sort(ze);Le--;)_e[Le]=_e[Le].value;return _e}function ke(_e,ze){for(var Le,ot=-1,$t=_e.length;++ot<$t;){var pn=ze(_e[ot]);pn!==n&&(Le=Le===n?pn:Le+pn)}return Le}function Fe(_e,ze){for(var Le=-1,ot=Array(_e);++Le<_e;)ot[Le]=ze(Le);return ot}function Ye(_e,ze){return xn(ze,function(Le){return[Le,_e[Le]]})}function _t(_e){return _e&&_e.slice(0,B3(_e)+1).replace(Jo,"")}function yt(_e){return function(ze){return _e(ze)}}function Lt(_e,ze){return xn(ze,function(Le){return _e[Le]})}function fn(_e,ze){return _e.has(ze)}function _r(_e,ze){for(var Le=-1,ot=_e.length;++Le<ot&&_i(ze,_e[Le],0)>-1;);return Le}function Gr(_e,ze){for(var Le=_e.length;Le--&&_i(ze,_e[Le],0)>-1;);return Le}function vo(_e,ze){for(var Le=_e.length,ot=0;Le--;)_e[Le]===ze&&++ot;return ot}var yc=G(dn),Qf=G(Wn);function Gu(_e){return"\\"+cc[_e]}function hR(_e,ze){return _e==null?n:_e[ze]}function _c(_e){return Ee.test(_e)}function mR(_e){return ce.test(_e)}function gR(_e){for(var ze,Le=[];!(ze=_e.next()).done;)Le.push(ze.value);return Le}function Kh(_e){var ze=-1,Le=Array(_e.size);return _e.forEach(function(ot,$t){Le[++ze]=[$t,ot]}),Le}function D3(_e,ze){return function(Le){return _e(ze(Le))}}function as(_e,ze){for(var Le=-1,ot=_e.length,$t=0,pn=[];++Le<ot;){var tr=_e[Le];(tr===ze||tr===f)&&(_e[Le]=f,pn[$t++]=Le)}return pn}function Jf(_e){var ze=-1,Le=Array(_e.size);return _e.forEach(function(ot){Le[++ze]=ot}),Le}function vR(_e){var ze=-1,Le=Array(_e.size);return _e.forEach(function(ot){Le[++ze]=[ot,ot]}),Le}function wR(_e,ze,Le){for(var ot=Le-1,$t=_e.length;++ot<$t;)if(_e[ot]===ze)return ot;return-1}function bR(_e,ze,Le){for(var ot=Le+1;ot--;)if(_e[ot]===ze)return ot;return ot}function xc(_e){return _c(_e)?_R(_e):Zf(_e)}function ca(_e){return _c(_e)?xR(_e):wc(_e)}function B3(_e){for(var ze=_e.length;ze--&&Ki.test(_e.charAt(ze)););return ze}var yR=G(Yr);function _R(_e){for(var ze=ts.lastIndex=0;ts.test(_e);)++ze;return ze}function xR(_e){return _e.match(ts)||[]}function SR(_e){return _e.match(go)||[]}var CR=(function _e(ze){ze=ze==null?Ln:Sc.defaults(Ln.Object(),ze,Sc.pick(Ln,de));var Le=ze.Array,ot=ze.Date,$t=ze.Error,pn=ze.Function,tr=ze.Math,Cn=ze.Object,Xh=ze.RegExp,ER=ze.String,$o=ze.TypeError,ep=Le.prototype,MR=pn.prototype,Cc=Cn.prototype,tp=ze["__core-js_shared__"],np=MR.toString,mn=Cc.hasOwnProperty,kR=0,z3=(function(){var c=/[^.]+$/.exec(tp&&tp.keys&&tp.keys.IE_PROTO||"");return c?"Symbol(src)_1."+c:""})(),rp=Cc.toString,RR=np.call(Cn),TR=Ln._,NR=Xh("^"+np.call(mn).replace(zn,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),op=ol?ze.Buffer:n,is=ze.Symbol,ap=ze.Uint8Array,F3=op?op.allocUnsafe:n,ip=D3(Cn.getPrototypeOf,Cn),V3=Cn.create,j3=Cc.propertyIsEnumerable,sp=ep.splice,H3=is?is.isConcatSpreadable:n,Ku=is?is.iterator:n,sl=is?is.toStringTag:n,lp=(function(){try{var c=fl(Cn,"defineProperty");return c({},"",{}),c}catch{}})(),PR=ze.clearTimeout!==Ln.clearTimeout&&ze.clearTimeout,AR=ot&&ot.now!==Ln.Date.now&&ot.now,IR=ze.setTimeout!==Ln.setTimeout&&ze.setTimeout,cp=tr.ceil,up=tr.floor,Zh=Cn.getOwnPropertySymbols,OR=op?op.isBuffer:n,W3=ze.isFinite,LR=ep.join,$R=D3(Cn.keys,Cn),nr=tr.max,xr=tr.min,DR=ot.now,BR=ze.parseInt,q3=tr.random,zR=ep.reverse,Qh=fl(ze,"DataView"),Xu=fl(ze,"Map"),Jh=fl(ze,"Promise"),Ec=fl(ze,"Set"),Zu=fl(ze,"WeakMap"),Qu=fl(Cn,"create"),dp=Zu&&new Zu,Mc={},FR=pl(Qh),VR=pl(Xu),jR=pl(Jh),HR=pl(Ec),WR=pl(Zu),fp=is?is.prototype:n,Ju=fp?fp.valueOf:n,U3=fp?fp.toString:n;function K(c){if(Vn(c)&&!Vt(c)&&!(c instanceof Jt)){if(c instanceof Do)return c;if(mn.call(c,"__wrapped__"))return Yb(c)}return new Do(c)}var kc=(function(){function c(){}return function(p){if(!$n(p))return{};if(V3)return V3(p);c.prototype=p;var b=new c;return c.prototype=n,b}})();function pp(){}function Do(c,p){this.__wrapped__=c,this.__actions__=[],this.__chain__=!!p,this.__index__=0,this.__values__=n}K.templateSettings={escape:Pn,evaluate:In,interpolate:On,variable:"",imports:{_:K}},K.prototype=pp.prototype,K.prototype.constructor=K,Do.prototype=kc(pp.prototype),Do.prototype.constructor=Do;function Jt(c){this.__wrapped__=c,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=J,this.__views__=[]}function qR(){var c=new Jt(this.__wrapped__);return c.__actions__=Kr(this.__actions__),c.__dir__=this.__dir__,c.__filtered__=this.__filtered__,c.__iteratees__=Kr(this.__iteratees__),c.__takeCount__=this.__takeCount__,c.__views__=Kr(this.__views__),c}function UR(){if(this.__filtered__){var c=new Jt(this);c.__dir__=-1,c.__filtered__=!0}else c=this.clone(),c.__dir__*=-1;return c}function YR(){var c=this.__wrapped__.value(),p=this.__dir__,b=Vt(c),N=p<0,W=b?c.length:0,Q=aN(0,W,this.__views__),pe=Q.start,ve=Q.end,xe=ve-pe,Ve=N?ve:pe-1,je=this.__iteratees__,We=je.length,Qe=0,dt=xr(xe,this.__takeCount__);if(!b||!N&&W==xe&&dt==xe)return gb(c,this.__actions__);var Tt=[];e:for(;xe--&&Qe<dt;){Ve+=p;for(var qt=-1,xt=c[Ve];++qt<We;){var Qt=je[qt],tn=Qt.iteratee,yo=Qt.type,Br=tn(xt);if(yo==F)xt=Br;else if(!Br){if(yo==V)continue e;break e}}Tt[Qe++]=xt}return Tt}Jt.prototype=kc(pp.prototype),Jt.prototype.constructor=Jt;function ll(c){var p=-1,b=c==null?0:c.length;for(this.clear();++p<b;){var N=c[p];this.set(N[0],N[1])}}function GR(){this.__data__=Qu?Qu(null):{},this.size=0}function KR(c){var p=this.has(c)&&delete this.__data__[c];return this.size-=p?1:0,p}function XR(c){var p=this.__data__;if(Qu){var b=p[c];return b===u?n:b}return mn.call(p,c)?p[c]:n}function ZR(c){var p=this.__data__;return Qu?p[c]!==n:mn.call(p,c)}function QR(c,p){var b=this.__data__;return this.size+=this.has(c)?0:1,b[c]=Qu&&p===n?u:p,this}ll.prototype.clear=GR,ll.prototype.delete=KR,ll.prototype.get=XR,ll.prototype.has=ZR,ll.prototype.set=QR;function xi(c){var p=-1,b=c==null?0:c.length;for(this.clear();++p<b;){var N=c[p];this.set(N[0],N[1])}}function JR(){this.__data__=[],this.size=0}function eT(c){var p=this.__data__,b=hp(p,c);if(b<0)return!1;var N=p.length-1;return b==N?p.pop():sp.call(p,b,1),--this.size,!0}function tT(c){var p=this.__data__,b=hp(p,c);return b<0?n:p[b][1]}function nT(c){return hp(this.__data__,c)>-1}function rT(c,p){var b=this.__data__,N=hp(b,c);return N<0?(++this.size,b.push([c,p])):b[N][1]=p,this}xi.prototype.clear=JR,xi.prototype.delete=eT,xi.prototype.get=tT,xi.prototype.has=nT,xi.prototype.set=rT;function Si(c){var p=-1,b=c==null?0:c.length;for(this.clear();++p<b;){var N=c[p];this.set(N[0],N[1])}}function oT(){this.size=0,this.__data__={hash:new ll,map:new(Xu||xi),string:new ll}}function aT(c){var p=Mp(this,c).delete(c);return this.size-=p?1:0,p}function iT(c){return Mp(this,c).get(c)}function sT(c){return Mp(this,c).has(c)}function lT(c,p){var b=Mp(this,c),N=b.size;return b.set(c,p),this.size+=b.size==N?0:1,this}Si.prototype.clear=oT,Si.prototype.delete=aT,Si.prototype.get=iT,Si.prototype.has=sT,Si.prototype.set=lT;function cl(c){var p=-1,b=c==null?0:c.length;for(this.__data__=new Si;++p<b;)this.add(c[p])}function cT(c){return this.__data__.set(c,u),this}function uT(c){return this.__data__.has(c)}cl.prototype.add=cl.prototype.push=cT,cl.prototype.has=uT;function ua(c){var p=this.__data__=new xi(c);this.size=p.size}function dT(){this.__data__=new xi,this.size=0}function fT(c){var p=this.__data__,b=p.delete(c);return this.size=p.size,b}function pT(c){return this.__data__.get(c)}function hT(c){return this.__data__.has(c)}function mT(c,p){var b=this.__data__;if(b instanceof xi){var N=b.__data__;if(!Xu||N.length<o-1)return N.push([c,p]),this.size=++b.size,this;b=this.__data__=new Si(N)}return b.set(c,p),this.size=b.size,this}ua.prototype.clear=dT,ua.prototype.delete=fT,ua.prototype.get=pT,ua.prototype.has=hT,ua.prototype.set=mT;function Y3(c,p){var b=Vt(c),N=!b&&hl(c),W=!b&&!N&&ds(c),Q=!b&&!N&&!W&&Pc(c),pe=b||N||W||Q,ve=pe?Fe(c.length,ER):[],xe=ve.length;for(var Ve in c)(p||mn.call(c,Ve))&&!(pe&&(Ve=="length"||W&&(Ve=="offset"||Ve=="parent")||Q&&(Ve=="buffer"||Ve=="byteLength"||Ve=="byteOffset")||Mi(Ve,xe)))&&ve.push(Ve);return ve}function G3(c){var p=c.length;return p?c[um(0,p-1)]:n}function gT(c,p){return kp(Kr(c),ul(p,0,c.length))}function vT(c){return kp(Kr(c))}function em(c,p,b){(b!==n&&!fa(c[p],b)||b===n&&!(p in c))&&Fa(c,p,b)}function ed(c,p,b){var N=c[p];(!(mn.call(c,p)&&fa(N,b))||b===n&&!(p in c))&&Fa(c,p,b)}function hp(c,p){for(var b=c.length;b--;)if(fa(c[b][0],p))return b;return-1}function wT(c,p,b,N){return ss(c,function(W,Q,pe){p(N,W,b(W),pe)}),N}function K3(c,p){return c&&ja(p,ur(p),c)}function bT(c,p){return c&&ja(p,Zr(p),c)}function Fa(c,p,b){p=="__proto__"&&lp?lp(c,p,{configurable:!0,enumerable:!0,value:b,writable:!0}):c[p]=b}function tm(c,p){for(var b=-1,N=p.length,W=Le(N),Q=c==null;++b<N;)W[b]=Q?n:$m(c,p[b]);return W}function ul(c,p,b){return c===c&&(b!==n&&(c=c<=b?c:b),p!==n&&(c=c>=p?c:p)),c}function Bo(c,p,b,N,W,Q){var pe,ve=p&m,xe=p&v,Ve=p&g;if(b&&(pe=W?b(c,N,W,Q):b(c)),pe!==n)return pe;if(!$n(c))return c;var je=Vt(c);if(je){if(pe=sN(c),!ve)return Kr(c,pe)}else{var We=Sr(c),Qe=We==Pe||We==he;if(ds(c))return bb(c,ve);if(We==Ae||We==ee||Qe&&!W){if(pe=xe||Qe?{}:Bb(c),!ve)return xe?XT(c,bT(pe,c)):KT(c,K3(pe,c))}else{if(!Je[We])return W?c:{};pe=lN(c,We,ve)}}Q||(Q=new ua);var dt=Q.get(c);if(dt)return dt;Q.set(c,pe),py(c)?c.forEach(function(xt){pe.add(Bo(xt,p,b,xt,c,Q))}):dy(c)&&c.forEach(function(xt,Qt){pe.set(Qt,Bo(xt,p,b,Qt,c,Q))});var Tt=Ve?xe?_m:ym:xe?Zr:ur,qt=je?n:Tt(c);return yr(qt||c,function(xt,Qt){qt&&(Qt=xt,xt=c[Qt]),ed(pe,Qt,Bo(xt,p,b,Qt,c,Q))}),pe}function yT(c){var p=ur(c);return function(b){return X3(b,c,p)}}function X3(c,p,b){var N=b.length;if(c==null)return!N;for(c=Cn(c);N--;){var W=b[N],Q=p[W],pe=c[W];if(pe===n&&!(W in c)||!Q(pe))return!1}return!0}function Z3(c,p,b){if(typeof c!="function")throw new $o(i);return sd(function(){c.apply(n,b)},p)}function td(c,p,b,N){var W=-1,Q=cr,pe=!0,ve=c.length,xe=[],Ve=p.length;if(!ve)return xe;b&&(p=xn(p,yt(b))),N?(Q=hc,pe=!1):p.length>=o&&(Q=fn,pe=!1,p=new cl(p));e:for(;++W<ve;){var je=c[W],We=b==null?je:b(je);if(je=N||je!==0?je:0,pe&&We===We){for(var Qe=Ve;Qe--;)if(p[Qe]===We)continue e;xe.push(je)}else Q(p,We,N)||xe.push(je)}return xe}var ss=Cb(Va),Q3=Cb(rm,!0);function _T(c,p){var b=!0;return ss(c,function(N,W,Q){return b=!!p(N,W,Q),b}),b}function mp(c,p,b){for(var N=-1,W=c.length;++N<W;){var Q=c[N],pe=p(Q);if(pe!=null&&(ve===n?pe===pe&&!bo(pe):b(pe,ve)))var ve=pe,xe=Q}return xe}function xT(c,p,b,N){var W=c.length;for(b=Ht(b),b<0&&(b=-b>W?0:W+b),N=N===n||N>W?W:Ht(N),N<0&&(N+=W),N=b>N?0:my(N);b<N;)c[b++]=p;return c}function J3(c,p){var b=[];return ss(c,function(N,W,Q){p(N,W,Q)&&b.push(N)}),b}function hr(c,p,b,N,W){var Q=-1,pe=c.length;for(b||(b=uN),W||(W=[]);++Q<pe;){var ve=c[Q];p>0&&b(ve)?p>1?hr(ve,p-1,b,N,W):za(W,ve):N||(W[W.length]=ve)}return W}var nm=Eb(),eb=Eb(!0);function Va(c,p){return c&&nm(c,p,ur)}function rm(c,p){return c&&eb(c,p,ur)}function gp(c,p){return Lo(p,function(b){return ki(c[b])})}function dl(c,p){p=cs(p,c);for(var b=0,N=p.length;c!=null&&b<N;)c=c[da(p[b++])];return b&&b==N?c:n}function tb(c,p,b){var N=p(c);return Vt(c)?N:za(N,b(c))}function $r(c){return c==null?c===n?cn:Ue:sl&&sl in Cn(c)?oN(c):vN(c)}function om(c,p){return c>p}function ST(c,p){return c!=null&&mn.call(c,p)}function CT(c,p){return c!=null&&p in Cn(c)}function ET(c,p,b){return c>=xr(p,b)&&c<nr(p,b)}function am(c,p,b){for(var N=b?hc:cr,W=c[0].length,Q=c.length,pe=Q,ve=Le(Q),xe=1/0,Ve=[];pe--;){var je=c[pe];pe&&p&&(je=xn(je,yt(p))),xe=xr(je.length,xe),ve[pe]=!b&&(p||W>=120&&je.length>=120)?new cl(pe&&je):n}je=c[0];var We=-1,Qe=ve[0];e:for(;++We<W&&Ve.length<xe;){var dt=je[We],Tt=p?p(dt):dt;if(dt=b||dt!==0?dt:0,!(Qe?fn(Qe,Tt):N(Ve,Tt,b))){for(pe=Q;--pe;){var qt=ve[pe];if(!(qt?fn(qt,Tt):N(c[pe],Tt,b)))continue e}Qe&&Qe.push(Tt),Ve.push(dt)}}return Ve}function MT(c,p,b,N){return Va(c,function(W,Q,pe){p(N,b(W),Q,pe)}),N}function nd(c,p,b){p=cs(p,c),c=jb(c,p);var N=c==null?c:c[da(Fo(p))];return N==null?n:er(N,c,b)}function nb(c){return Vn(c)&&$r(c)==ee}function kT(c){return Vn(c)&&$r(c)==Gt}function RT(c){return Vn(c)&&$r(c)==we}function rd(c,p,b,N,W){return c===p?!0:c==null||p==null||!Vn(c)&&!Vn(p)?c!==c&&p!==p:TT(c,p,b,N,rd,W)}function TT(c,p,b,N,W,Q){var pe=Vt(c),ve=Vt(p),xe=pe?ue:Sr(c),Ve=ve?ue:Sr(p);xe=xe==ee?Ae:xe,Ve=Ve==ee?Ae:Ve;var je=xe==Ae,We=Ve==Ae,Qe=xe==Ve;if(Qe&&ds(c)){if(!ds(p))return!1;pe=!0,je=!1}if(Qe&&!je)return Q||(Q=new ua),pe||Pc(c)?Lb(c,p,b,N,W,Q):nN(c,p,xe,b,N,W,Q);if(!(b&w)){var dt=je&&mn.call(c,"__wrapped__"),Tt=We&&mn.call(p,"__wrapped__");if(dt||Tt){var qt=dt?c.value():c,xt=Tt?p.value():p;return Q||(Q=new ua),W(qt,xt,b,N,Q)}}return Qe?(Q||(Q=new ua),rN(c,p,b,N,W,Q)):!1}function NT(c){return Vn(c)&&Sr(c)==ge}function im(c,p,b,N){var W=b.length,Q=W,pe=!N;if(c==null)return!Q;for(c=Cn(c);W--;){var ve=b[W];if(pe&&ve[2]?ve[1]!==c[ve[0]]:!(ve[0]in c))return!1}for(;++W<Q;){ve=b[W];var xe=ve[0],Ve=c[xe],je=ve[1];if(pe&&ve[2]){if(Ve===n&&!(xe in c))return!1}else{var We=new ua;if(N)var Qe=N(Ve,je,xe,c,p,We);if(!(Qe===n?rd(je,Ve,w|y,N,We):Qe))return!1}}return!0}function rb(c){if(!$n(c)||fN(c))return!1;var p=ki(c)?NR:Po;return p.test(pl(c))}function PT(c){return Vn(c)&&$r(c)==at}function AT(c){return Vn(c)&&Sr(c)==ut}function IT(c){return Vn(c)&&Ip(c.length)&&!!De[$r(c)]}function ob(c){return typeof c=="function"?c:c==null?Qr:typeof c=="object"?Vt(c)?sb(c[0],c[1]):ib(c):ky(c)}function sm(c){if(!id(c))return $R(c);var p=[];for(var b in Cn(c))mn.call(c,b)&&b!="constructor"&&p.push(b);return p}function OT(c){if(!$n(c))return gN(c);var p=id(c),b=[];for(var N in c)N=="constructor"&&(p||!mn.call(c,N))||b.push(N);return b}function lm(c,p){return c<p}function ab(c,p){var b=-1,N=Xr(c)?Le(c.length):[];return ss(c,function(W,Q,pe){N[++b]=p(W,Q,pe)}),N}function ib(c){var p=Sm(c);return p.length==1&&p[0][2]?Fb(p[0][0],p[0][1]):function(b){return b===c||im(b,c,p)}}function sb(c,p){return Em(c)&&zb(p)?Fb(da(c),p):function(b){var N=$m(b,c);return N===n&&N===p?Dm(b,c):rd(p,N,w|y)}}function vp(c,p,b,N,W){c!==p&&nm(p,function(Q,pe){if(W||(W=new ua),$n(Q))LT(c,p,pe,b,vp,N,W);else{var ve=N?N(km(c,pe),Q,pe+"",c,p,W):n;ve===n&&(ve=Q),em(c,pe,ve)}},Zr)}function LT(c,p,b,N,W,Q,pe){var ve=km(c,b),xe=km(p,b),Ve=pe.get(xe);if(Ve){em(c,b,Ve);return}var je=Q?Q(ve,xe,b+"",c,p,pe):n,We=je===n;if(We){var Qe=Vt(xe),dt=!Qe&&ds(xe),Tt=!Qe&&!dt&&Pc(xe);je=xe,Qe||dt||Tt?Vt(ve)?je=ve:qn(ve)?je=Kr(ve):dt?(We=!1,je=bb(xe,!0)):Tt?(We=!1,je=yb(xe,!0)):je=[]:ld(xe)||hl(xe)?(je=ve,hl(ve)?je=gy(ve):(!$n(ve)||ki(ve))&&(je=Bb(xe))):We=!1}We&&(pe.set(xe,je),W(je,xe,N,Q,pe),pe.delete(xe)),em(c,b,je)}function lb(c,p){var b=c.length;if(b)return p+=p<0?b:0,Mi(p,b)?c[p]:n}function cb(c,p,b){p.length?p=xn(p,function(Q){return Vt(Q)?function(pe){return dl(pe,Q.length===1?Q[0]:Q)}:Q}):p=[Qr];var N=-1;p=xn(p,yt(Et()));var W=ab(c,function(Q,pe,ve){var xe=xn(p,function(Ve){return Ve(Q)});return{criteria:xe,index:++N,value:Q}});return Te(W,function(Q,pe){return GT(Q,pe,b)})}function $T(c,p){return ub(c,p,function(b,N){return Dm(c,N)})}function ub(c,p,b){for(var N=-1,W=p.length,Q={};++N<W;){var pe=p[N],ve=dl(c,pe);b(ve,pe)&&od(Q,cs(pe,c),ve)}return Q}function DT(c){return function(p){return dl(p,c)}}function cm(c,p,b,N){var W=N?Uu:_i,Q=-1,pe=p.length,ve=c;for(c===p&&(p=Kr(p)),b&&(ve=xn(c,yt(b)));++Q<pe;)for(var xe=0,Ve=p[Q],je=b?b(Ve):Ve;(xe=W(ve,je,xe,N))>-1;)ve!==c&&sp.call(ve,xe,1),sp.call(c,xe,1);return c}function db(c,p){for(var b=c?p.length:0,N=b-1;b--;){var W=p[b];if(b==N||W!==Q){var Q=W;Mi(W)?sp.call(c,W,1):pm(c,W)}}return c}function um(c,p){return c+up(q3()*(p-c+1))}function BT(c,p,b,N){for(var W=-1,Q=nr(cp((p-c)/(b||1)),0),pe=Le(Q);Q--;)pe[N?Q:++W]=c,c+=b;return pe}function dm(c,p){var b="";if(!c||p<1||p>Y)return b;do p%2&&(b+=c),p=up(p/2),p&&(c+=c);while(p);return b}function Kt(c,p){return Rm(Vb(c,p,Qr),c+"")}function zT(c){return G3(Ac(c))}function FT(c,p){var b=Ac(c);return kp(b,ul(p,0,b.length))}function od(c,p,b,N){if(!$n(c))return c;p=cs(p,c);for(var W=-1,Q=p.length,pe=Q-1,ve=c;ve!=null&&++W<Q;){var xe=da(p[W]),Ve=b;if(xe==="__proto__"||xe==="constructor"||xe==="prototype")return c;if(W!=pe){var je=ve[xe];Ve=N?N(je,xe,ve):n,Ve===n&&(Ve=$n(je)?je:Mi(p[W+1])?[]:{})}ed(ve,xe,Ve),ve=ve[xe]}return c}var fb=dp?function(c,p){return dp.set(c,p),c}:Qr,VT=lp?function(c,p){return lp(c,"toString",{configurable:!0,enumerable:!1,value:zm(p),writable:!0})}:Qr;function jT(c){return kp(Ac(c))}function zo(c,p,b){var N=-1,W=c.length;p<0&&(p=-p>W?0:W+p),b=b>W?W:b,b<0&&(b+=W),W=p>b?0:b-p>>>0,p>>>=0;for(var Q=Le(W);++N<W;)Q[N]=c[N+p];return Q}function HT(c,p){var b;return ss(c,function(N,W,Q){return b=p(N,W,Q),!b}),!!b}function wp(c,p,b){var N=0,W=c==null?N:c.length;if(typeof p=="number"&&p===p&&W<=te){for(;N<W;){var Q=N+W>>>1,pe=c[Q];pe!==null&&!bo(pe)&&(b?pe<=p:pe<p)?N=Q+1:W=Q}return W}return fm(c,p,Qr,b)}function fm(c,p,b,N){var W=0,Q=c==null?0:c.length;if(Q===0)return 0;p=b(p);for(var pe=p!==p,ve=p===null,xe=bo(p),Ve=p===n;W<Q;){var je=up((W+Q)/2),We=b(c[je]),Qe=We!==n,dt=We===null,Tt=We===We,qt=bo(We);if(pe)var xt=N||Tt;else Ve?xt=Tt&&(N||Qe):ve?xt=Tt&&Qe&&(N||!dt):xe?xt=Tt&&Qe&&!dt&&(N||!qt):dt||qt?xt=!1:xt=N?We<=p:We<p;xt?W=je+1:Q=je}return xr(Q,re)}function pb(c,p){for(var b=-1,N=c.length,W=0,Q=[];++b<N;){var pe=c[b],ve=p?p(pe):pe;if(!b||!fa(ve,xe)){var xe=ve;Q[W++]=pe===0?0:pe}}return Q}function hb(c){return typeof c=="number"?c:bo(c)?le:+c}function wo(c){if(typeof c=="string")return c;if(Vt(c))return xn(c,wo)+"";if(bo(c))return U3?U3.call(c):"";var p=c+"";return p=="0"&&1/c==-B?"-0":p}function ls(c,p,b){var N=-1,W=cr,Q=c.length,pe=!0,ve=[],xe=ve;if(b)pe=!1,W=hc;else if(Q>=o){var Ve=p?null:eN(c);if(Ve)return Jf(Ve);pe=!1,W=fn,xe=new cl}else xe=p?[]:ve;e:for(;++N<Q;){var je=c[N],We=p?p(je):je;if(je=b||je!==0?je:0,pe&&We===We){for(var Qe=xe.length;Qe--;)if(xe[Qe]===We)continue e;p&&xe.push(We),ve.push(je)}else W(xe,We,b)||(xe!==ve&&xe.push(We),ve.push(je))}return ve}function pm(c,p){p=cs(p,c);var b=-1,N=p.length;if(!N)return!0;for(;++b<N;){var W=da(p[b]);if(W==="__proto__"&&!mn.call(c,"__proto__")||(W==="constructor"||W==="prototype")&&b<N-1)return!1}var Q=jb(c,p);return Q==null||delete Q[da(Fo(p))]}function mb(c,p,b,N){return od(c,p,b(dl(c,p)),N)}function bp(c,p,b,N){for(var W=c.length,Q=N?W:-1;(N?Q--:++Q<W)&&p(c[Q],Q,c););return b?zo(c,N?0:Q,N?Q+1:W):zo(c,N?Q+1:0,N?W:Q)}function gb(c,p){var b=c;return b instanceof Jt&&(b=b.value()),mc(p,function(N,W){return W.func.apply(W.thisArg,za([N],W.args))},b)}function hm(c,p,b){var N=c.length;if(N<2)return N?ls(c[0]):[];for(var W=-1,Q=Le(N);++W<N;)for(var pe=c[W],ve=-1;++ve<N;)ve!=W&&(Q[W]=td(Q[W]||pe,c[ve],p,b));return ls(hr(Q,1),p,b)}function vb(c,p,b){for(var N=-1,W=c.length,Q=p.length,pe={};++N<W;){var ve=N<Q?p[N]:n;b(pe,c[N],ve)}return pe}function mm(c){return qn(c)?c:[]}function gm(c){return typeof c=="function"?c:Qr}function cs(c,p){return Vt(c)?c:Em(c,p)?[c]:Ub(gn(c))}var WT=Kt;function us(c,p,b){var N=c.length;return b=b===n?N:b,!p&&b>=N?c:zo(c,p,b)}var wb=PR||function(c){return Ln.clearTimeout(c)};function bb(c,p){if(p)return c.slice();var b=c.length,N=F3?F3(b):new c.constructor(b);return c.copy(N),N}function vm(c){var p=new c.constructor(c.byteLength);return new ap(p).set(new ap(c)),p}function qT(c,p){var b=p?vm(c.buffer):c.buffer;return new c.constructor(b,c.byteOffset,c.byteLength)}function UT(c){var p=new c.constructor(c.source,ra.exec(c));return p.lastIndex=c.lastIndex,p}function YT(c){return Ju?Cn(Ju.call(c)):{}}function yb(c,p){var b=p?vm(c.buffer):c.buffer;return new c.constructor(b,c.byteOffset,c.length)}function _b(c,p){if(c!==p){var b=c!==n,N=c===null,W=c===c,Q=bo(c),pe=p!==n,ve=p===null,xe=p===p,Ve=bo(p);if(!ve&&!Ve&&!Q&&c>p||Q&&pe&&xe&&!ve&&!Ve||N&&pe&&xe||!b&&xe||!W)return 1;if(!N&&!Q&&!Ve&&c<p||Ve&&b&&W&&!N&&!Q||ve&&b&&W||!pe&&W||!xe)return-1}return 0}function GT(c,p,b){for(var N=-1,W=c.criteria,Q=p.criteria,pe=W.length,ve=b.length;++N<pe;){var xe=_b(W[N],Q[N]);if(xe){if(N>=ve)return xe;var Ve=b[N];return xe*(Ve=="desc"?-1:1)}}return c.index-p.index}function xb(c,p,b,N){for(var W=-1,Q=c.length,pe=b.length,ve=-1,xe=p.length,Ve=nr(Q-pe,0),je=Le(xe+Ve),We=!N;++ve<xe;)je[ve]=p[ve];for(;++W<pe;)(We||W<Q)&&(je[b[W]]=c[W]);for(;Ve--;)je[ve++]=c[W++];return je}function Sb(c,p,b,N){for(var W=-1,Q=c.length,pe=-1,ve=b.length,xe=-1,Ve=p.length,je=nr(Q-ve,0),We=Le(je+Ve),Qe=!N;++W<je;)We[W]=c[W];for(var dt=W;++xe<Ve;)We[dt+xe]=p[xe];for(;++pe<ve;)(Qe||W<Q)&&(We[dt+b[pe]]=c[W++]);return We}function Kr(c,p){var b=-1,N=c.length;for(p||(p=Le(N));++b<N;)p[b]=c[b];return p}function ja(c,p,b,N){var W=!b;b||(b={});for(var Q=-1,pe=p.length;++Q<pe;){var ve=p[Q],xe=N?N(b[ve],c[ve],ve,b,c):n;xe===n&&(xe=c[ve]),W?Fa(b,ve,xe):ed(b,ve,xe)}return b}function KT(c,p){return ja(c,Cm(c),p)}function XT(c,p){return ja(c,$b(c),p)}function yp(c,p){return function(b,N){var W=Vt(b)?pc:wT,Q=p?p():{};return W(b,c,Et(N,2),Q)}}function Rc(c){return Kt(function(p,b){var N=-1,W=b.length,Q=W>1?b[W-1]:n,pe=W>2?b[2]:n;for(Q=c.length>3&&typeof Q=="function"?(W--,Q):n,pe&&Dr(b[0],b[1],pe)&&(Q=W<3?n:Q,W=1),p=Cn(p);++N<W;){var ve=b[N];ve&&c(p,ve,N,Q)}return p})}function Cb(c,p){return function(b,N){if(b==null)return b;if(!Xr(b))return c(b,N);for(var W=b.length,Q=p?W:-1,pe=Cn(b);(p?Q--:++Q<W)&&N(pe[Q],Q,pe)!==!1;);return b}}function Eb(c){return function(p,b,N){for(var W=-1,Q=Cn(p),pe=N(p),ve=pe.length;ve--;){var xe=pe[c?ve:++W];if(b(Q[xe],xe,Q)===!1)break}return p}}function ZT(c,p,b){var N=p&_,W=ad(c);function Q(){var pe=this&&this!==Ln&&this instanceof Q?W:c;return pe.apply(N?b:this,arguments)}return Q}function Mb(c){return function(p){p=gn(p);var b=_c(p)?ca(p):n,N=b?b[0]:p.charAt(0),W=b?us(b,1).join(""):p.slice(1);return N[c]()+W}}function Tc(c){return function(p){return mc(Ey(Cy(p).replace(Vu,"")),c,"")}}function ad(c){return function(){var p=arguments;switch(p.length){case 0:return new c;case 1:return new c(p[0]);case 2:return new c(p[0],p[1]);case 3:return new c(p[0],p[1],p[2]);case 4:return new c(p[0],p[1],p[2],p[3]);case 5:return new c(p[0],p[1],p[2],p[3],p[4]);case 6:return new c(p[0],p[1],p[2],p[3],p[4],p[5]);case 7:return new c(p[0],p[1],p[2],p[3],p[4],p[5],p[6])}var b=kc(c.prototype),N=c.apply(b,p);return $n(N)?N:b}}function QT(c,p,b){var N=ad(c);function W(){for(var Q=arguments.length,pe=Le(Q),ve=Q,xe=Nc(W);ve--;)pe[ve]=arguments[ve];var Ve=Q<3&&pe[0]!==xe&&pe[Q-1]!==xe?[]:as(pe,xe);if(Q-=Ve.length,Q<b)return Pb(c,p,_p,W.placeholder,n,pe,Ve,n,n,b-Q);var je=this&&this!==Ln&&this instanceof W?N:c;return er(je,this,pe)}return W}function kb(c){return function(p,b,N){var W=Cn(p);if(!Xr(p)){var Q=Et(b,3);p=ur(p),b=function(ve){return Q(W[ve],ve,W)}}var pe=c(p,b,N);return pe>-1?W[Q?p[pe]:pe]:n}}function Rb(c){return Ei(function(p){var b=p.length,N=b,W=Do.prototype.thru;for(c&&p.reverse();N--;){var Q=p[N];if(typeof Q!="function")throw new $o(i);if(W&&!pe&&Ep(Q)=="wrapper")var pe=new Do([],!0)}for(N=pe?N:b;++N<b;){Q=p[N];var ve=Ep(Q),xe=ve=="wrapper"?xm(Q):n;xe&&Mm(xe[0])&&xe[1]==(D|C|A|T)&&!xe[4].length&&xe[9]==1?pe=pe[Ep(xe[0])].apply(pe,xe[3]):pe=Q.length==1&&Mm(Q)?pe[ve]():pe.thru(Q)}return function(){var Ve=arguments,je=Ve[0];if(pe&&Ve.length==1&&Vt(je))return pe.plant(je).value();for(var We=0,Qe=b?p[We].apply(this,Ve):je;++We<b;)Qe=p[We].call(this,Qe);return Qe}})}function _p(c,p,b,N,W,Q,pe,ve,xe,Ve){var je=p&D,We=p&_,Qe=p&S,dt=p&(C|M),Tt=p&R,qt=Qe?n:ad(c);function xt(){for(var Qt=arguments.length,tn=Le(Qt),yo=Qt;yo--;)tn[yo]=arguments[yo];if(dt)var Br=Nc(xt),_o=vo(tn,Br);if(N&&(tn=xb(tn,N,W,dt)),Q&&(tn=Sb(tn,Q,pe,dt)),Qt-=_o,dt&&Qt<Ve){var Un=as(tn,Br);return Pb(c,p,_p,xt.placeholder,b,tn,Un,ve,xe,Ve-Qt)}var pa=We?b:this,Ti=Qe?pa[c]:c;return Qt=tn.length,ve?tn=wN(tn,ve):Tt&&Qt>1&&tn.reverse(),je&&xe<Qt&&(tn.length=xe),this&&this!==Ln&&this instanceof xt&&(Ti=qt||ad(Ti)),Ti.apply(pa,tn)}return xt}function Tb(c,p){return function(b,N){return MT(b,c,p(N),{})}}function xp(c,p){return function(b,N){var W;if(b===n&&N===n)return p;if(b!==n&&(W=b),N!==n){if(W===n)return N;typeof b=="string"||typeof N=="string"?(b=wo(b),N=wo(N)):(b=hb(b),N=hb(N)),W=c(b,N)}return W}}function wm(c){return Ei(function(p){return p=xn(p,yt(Et())),Kt(function(b){var N=this;return c(p,function(W){return er(W,N,b)})})})}function Sp(c,p){p=p===n?" ":wo(p);var b=p.length;if(b<2)return b?dm(p,c):p;var N=dm(p,cp(c/xc(p)));return _c(p)?us(ca(N),0,c).join(""):N.slice(0,c)}function JT(c,p,b,N){var W=p&_,Q=ad(c);function pe(){for(var ve=-1,xe=arguments.length,Ve=-1,je=N.length,We=Le(je+xe),Qe=this&&this!==Ln&&this instanceof pe?Q:c;++Ve<je;)We[Ve]=N[Ve];for(;xe--;)We[Ve++]=arguments[++ve];return er(Qe,W?b:this,We)}return pe}function Nb(c){return function(p,b,N){return N&&typeof N!="number"&&Dr(p,b,N)&&(b=N=n),p=Ri(p),b===n?(b=p,p=0):b=Ri(b),N=N===n?p<b?1:-1:Ri(N),BT(p,b,N,c)}}function Cp(c){return function(p,b){return typeof p=="string"&&typeof b=="string"||(p=Vo(p),b=Vo(b)),c(p,b)}}function Pb(c,p,b,N,W,Q,pe,ve,xe,Ve){var je=p&C,We=je?pe:n,Qe=je?n:pe,dt=je?Q:n,Tt=je?n:Q;p|=je?A:O,p&=~(je?O:A),p&x||(p&=-4);var qt=[c,p,W,dt,We,Tt,Qe,ve,xe,Ve],xt=b.apply(n,qt);return Mm(c)&&Hb(xt,qt),xt.placeholder=N,Wb(xt,c,p)}function bm(c){var p=tr[c];return function(b,N){if(b=Vo(b),N=N==null?0:xr(Ht(N),292),N&&W3(b)){var W=(gn(b)+"e").split("e"),Q=p(W[0]+"e"+(+W[1]+N));return W=(gn(Q)+"e").split("e"),+(W[0]+"e"+(+W[1]-N))}return p(b)}}var eN=Ec&&1/Jf(new Ec([,-0]))[1]==B?function(c){return new Ec(c)}:jm;function Ab(c){return function(p){var b=Sr(p);return b==ge?Kh(p):b==ut?vR(p):Ye(p,c(p))}}function Ci(c,p,b,N,W,Q,pe,ve){var xe=p&S;if(!xe&&typeof c!="function")throw new $o(i);var Ve=N?N.length:0;if(Ve||(p&=-97,N=W=n),pe=pe===n?pe:nr(Ht(pe),0),ve=ve===n?ve:Ht(ve),Ve-=W?W.length:0,p&O){var je=N,We=W;N=W=n}var Qe=xe?n:xm(c),dt=[c,p,b,N,W,je,We,Q,pe,ve];if(Qe&&mN(dt,Qe),c=dt[0],p=dt[1],b=dt[2],N=dt[3],W=dt[4],ve=dt[9]=dt[9]===n?xe?0:c.length:nr(dt[9]-Ve,0),!ve&&p&(C|M)&&(p&=-25),!p||p==_)var Tt=ZT(c,p,b);else p==C||p==M?Tt=QT(c,p,ve):(p==A||p==(_|A))&&!W.length?Tt=JT(c,p,b,N):Tt=_p.apply(n,dt);var qt=Qe?fb:Hb;return Wb(qt(Tt,dt),c,p)}function Ib(c,p,b,N){return c===n||fa(c,Cc[b])&&!mn.call(N,b)?p:c}function Ob(c,p,b,N,W,Q){return $n(c)&&$n(p)&&(Q.set(p,c),vp(c,p,n,Ob,Q),Q.delete(p)),c}function tN(c){return ld(c)?n:c}function Lb(c,p,b,N,W,Q){var pe=b&w,ve=c.length,xe=p.length;if(ve!=xe&&!(pe&&xe>ve))return!1;var Ve=Q.get(c),je=Q.get(p);if(Ve&&je)return Ve==p&&je==c;var We=-1,Qe=!0,dt=b&y?new cl:n;for(Q.set(c,p),Q.set(p,c);++We<ve;){var Tt=c[We],qt=p[We];if(N)var xt=pe?N(qt,Tt,We,p,c,Q):N(Tt,qt,We,c,p,Q);if(xt!==n){if(xt)continue;Qe=!1;break}if(dt){if(!vc(p,function(Qt,tn){if(!fn(dt,tn)&&(Tt===Qt||W(Tt,Qt,b,N,Q)))return dt.push(tn)})){Qe=!1;break}}else if(!(Tt===qt||W(Tt,qt,b,N,Q))){Qe=!1;break}}return Q.delete(c),Q.delete(p),Qe}function nN(c,p,b,N,W,Q,pe){switch(b){case Tn:if(c.byteLength!=p.byteLength||c.byteOffset!=p.byteOffset)return!1;c=c.buffer,p=p.buffer;case Gt:return!(c.byteLength!=p.byteLength||!Q(new ap(c),new ap(p)));case ye:case we:case be:return fa(+c,+p);case Ie:return c.name==p.name&&c.message==p.message;case at:case mt:return c==p+"";case ge:var ve=Kh;case ut:var xe=N&w;if(ve||(ve=Jf),c.size!=p.size&&!xe)return!1;var Ve=pe.get(c);if(Ve)return Ve==p;N|=y,pe.set(c,p);var je=Lb(ve(c),ve(p),N,W,Q,pe);return pe.delete(c),je;case Ft:if(Ju)return Ju.call(c)==Ju.call(p)}return!1}function rN(c,p,b,N,W,Q){var pe=b&w,ve=ym(c),xe=ve.length,Ve=ym(p),je=Ve.length;if(xe!=je&&!pe)return!1;for(var We=xe;We--;){var Qe=ve[We];if(!(pe?Qe in p:mn.call(p,Qe)))return!1}var dt=Q.get(c),Tt=Q.get(p);if(dt&&Tt)return dt==p&&Tt==c;var qt=!0;Q.set(c,p),Q.set(p,c);for(var xt=pe;++We<xe;){Qe=ve[We];var Qt=c[Qe],tn=p[Qe];if(N)var yo=pe?N(tn,Qt,Qe,p,c,Q):N(Qt,tn,Qe,c,p,Q);if(!(yo===n?Qt===tn||W(Qt,tn,b,N,Q):yo)){qt=!1;break}xt||(xt=Qe=="constructor")}if(qt&&!xt){var Br=c.constructor,_o=p.constructor;Br!=_o&&"constructor"in c&&"constructor"in p&&!(typeof Br=="function"&&Br instanceof Br&&typeof _o=="function"&&_o instanceof _o)&&(qt=!1)}return Q.delete(c),Q.delete(p),qt}function Ei(c){return Rm(Vb(c,n,Xb),c+"")}function ym(c){return tb(c,ur,Cm)}function _m(c){return tb(c,Zr,$b)}var xm=dp?function(c){return dp.get(c)}:jm;function Ep(c){for(var p=c.name+"",b=Mc[p],N=mn.call(Mc,p)?b.length:0;N--;){var W=b[N],Q=W.func;if(Q==null||Q==c)return W.name}return p}function Nc(c){var p=mn.call(K,"placeholder")?K:c;return p.placeholder}function Et(){var c=K.iteratee||Fm;return c=c===Fm?ob:c,arguments.length?c(arguments[0],arguments[1]):c}function Mp(c,p){var b=c.__data__;return dN(p)?b[typeof p=="string"?"string":"hash"]:b.map}function Sm(c){for(var p=ur(c),b=p.length;b--;){var N=p[b],W=c[N];p[b]=[N,W,zb(W)]}return p}function fl(c,p){var b=hR(c,p);return rb(b)?b:n}function oN(c){var p=mn.call(c,sl),b=c[sl];try{c[sl]=n;var N=!0}catch{}var W=rp.call(c);return N&&(p?c[sl]=b:delete c[sl]),W}var Cm=Zh?function(c){return c==null?[]:(c=Cn(c),Lo(Zh(c),function(p){return j3.call(c,p)}))}:Hm,$b=Zh?function(c){for(var p=[];c;)za(p,Cm(c)),c=ip(c);return p}:Hm,Sr=$r;(Qh&&Sr(new Qh(new ArrayBuffer(1)))!=Tn||Xu&&Sr(new Xu)!=ge||Jh&&Sr(Jh.resolve())!=Ke||Ec&&Sr(new Ec)!=ut||Zu&&Sr(new Zu)!=Sn)&&(Sr=function(c){var p=$r(c),b=p==Ae?c.constructor:n,N=b?pl(b):"";if(N)switch(N){case FR:return Tn;case VR:return ge;case jR:return Ke;case HR:return ut;case WR:return Sn}return p});function aN(c,p,b){for(var N=-1,W=b.length;++N<W;){var Q=b[N],pe=Q.size;switch(Q.type){case"drop":c+=pe;break;case"dropRight":p-=pe;break;case"take":p=xr(p,c+pe);break;case"takeRight":c=nr(c,p-pe);break}}return{start:c,end:p}}function iN(c){var p=c.match(ea);return p?p[1].split(fi):[]}function Db(c,p,b){p=cs(p,c);for(var N=-1,W=p.length,Q=!1;++N<W;){var pe=da(p[N]);if(!(Q=c!=null&&b(c,pe)))break;c=c[pe]}return Q||++N!=W?Q:(W=c==null?0:c.length,!!W&&Ip(W)&&Mi(pe,W)&&(Vt(c)||hl(c)))}function sN(c){var p=c.length,b=new c.constructor(p);return p&&typeof c[0]=="string"&&mn.call(c,"index")&&(b.index=c.index,b.input=c.input),b}function Bb(c){return typeof c.constructor=="function"&&!id(c)?kc(ip(c)):{}}function lN(c,p,b){var N=c.constructor;switch(p){case Gt:return vm(c);case ye:case we:return new N(+c);case Tn:return qT(c,b);case Hn:case Rt:case Se:case qe:case wt:case un:case on:case Ot:case ht:return yb(c,b);case ge:return new N;case be:case mt:return new N(c);case at:return UT(c);case ut:return new N;case Ft:return YT(c)}}function cN(c,p){var b=p.length;if(!b)return c;var N=b-1;return p[N]=(b>1?"& ":"")+p[N],p=p.join(b>2?", ":" "),c.replace(Xi,`{
|
|
39
|
-
/* [wrapped with `+p+`] */
|
|
40
|
-
`)}function uN(c){return Vt(c)||hl(c)||!!(H3&&c&&c[H3])}function Mi(c,p){var b=typeof c;return p=p??Y,!!p&&(b=="number"||b!="symbol"&&pi.test(c))&&c>-1&&c%1==0&&c<p}function Dr(c,p,b){if(!$n(b))return!1;var N=typeof p;return(N=="number"?Xr(b)&&Mi(p,b.length):N=="string"&&p in b)?fa(b[p],c):!1}function Em(c,p){if(Vt(c))return!1;var b=typeof c;return b=="number"||b=="symbol"||b=="boolean"||c==null||bo(c)?!0:Nn.test(c)||!sr.test(c)||p!=null&&c in Cn(p)}function dN(c){var p=typeof c;return p=="string"||p=="number"||p=="symbol"||p=="boolean"?c!=="__proto__":c===null}function Mm(c){var p=Ep(c),b=K[p];if(typeof b!="function"||!(p in Jt.prototype))return!1;if(c===b)return!0;var N=xm(b);return!!N&&c===N[0]}function fN(c){return!!z3&&z3 in c}var pN=tp?ki:Wm;function id(c){var p=c&&c.constructor,b=typeof p=="function"&&p.prototype||Cc;return c===b}function zb(c){return c===c&&!$n(c)}function Fb(c,p){return function(b){return b==null?!1:b[c]===p&&(p!==n||c in Cn(b))}}function hN(c){var p=Pp(c,function(N){return b.size===d&&b.clear(),N}),b=p.cache;return p}function mN(c,p){var b=c[1],N=p[1],W=b|N,Q=W<(_|S|D),pe=N==D&&b==C||N==D&&b==T&&c[7].length<=p[8]||N==(D|T)&&p[7].length<=p[8]&&b==C;if(!(Q||pe))return c;N&_&&(c[2]=p[2],W|=b&_?0:x);var ve=p[3];if(ve){var xe=c[3];c[3]=xe?xb(xe,ve,p[4]):ve,c[4]=xe?as(c[3],f):p[4]}return ve=p[5],ve&&(xe=c[5],c[5]=xe?Sb(xe,ve,p[6]):ve,c[6]=xe?as(c[5],f):p[6]),ve=p[7],ve&&(c[7]=ve),N&D&&(c[8]=c[8]==null?p[8]:xr(c[8],p[8])),c[9]==null&&(c[9]=p[9]),c[0]=p[0],c[1]=W,c}function gN(c){var p=[];if(c!=null)for(var b in Cn(c))p.push(b);return p}function vN(c){return rp.call(c)}function Vb(c,p,b){return p=nr(p===n?c.length-1:p,0),function(){for(var N=arguments,W=-1,Q=nr(N.length-p,0),pe=Le(Q);++W<Q;)pe[W]=N[p+W];W=-1;for(var ve=Le(p+1);++W<p;)ve[W]=N[W];return ve[p]=b(pe),er(c,this,ve)}}function jb(c,p){return p.length<2?c:dl(c,zo(p,0,-1))}function wN(c,p){for(var b=c.length,N=xr(p.length,b),W=Kr(c);N--;){var Q=p[N];c[N]=Mi(Q,b)?W[Q]:n}return c}function km(c,p){if(!(p==="constructor"&&typeof c[p]=="function")&&p!="__proto__")return c[p]}var Hb=qb(fb),sd=IR||function(c,p){return Ln.setTimeout(c,p)},Rm=qb(VT);function Wb(c,p,b){var N=p+"";return Rm(c,cN(N,bN(iN(N),b)))}function qb(c){var p=0,b=0;return function(){var N=DR(),W=L-(N-b);if(b=N,W>0){if(++p>=I)return arguments[0]}else p=0;return c.apply(n,arguments)}}function kp(c,p){var b=-1,N=c.length,W=N-1;for(p=p===n?N:p;++b<p;){var Q=um(b,W),pe=c[Q];c[Q]=c[b],c[b]=pe}return c.length=p,c}var Ub=hN(function(c){var p=[];return c.charCodeAt(0)===46&&p.push(""),c.replace(Or,function(b,N,W,Q){p.push(W?Q.replace(tl,"$1"):N||b)}),p});function da(c){if(typeof c=="string"||bo(c))return c;var p=c+"";return p=="0"&&1/c==-B?"-0":p}function pl(c){if(c!=null){try{return np.call(c)}catch{}try{return c+""}catch{}}return""}function bN(c,p){return yr(oe,function(b){var N="_."+b[0];p&b[1]&&!cr(c,N)&&c.push(N)}),c.sort()}function Yb(c){if(c instanceof Jt)return c.clone();var p=new Do(c.__wrapped__,c.__chain__);return p.__actions__=Kr(c.__actions__),p.__index__=c.__index__,p.__values__=c.__values__,p}function yN(c,p,b){(b?Dr(c,p,b):p===n)?p=1:p=nr(Ht(p),0);var N=c==null?0:c.length;if(!N||p<1)return[];for(var W=0,Q=0,pe=Le(cp(N/p));W<N;)pe[Q++]=zo(c,W,W+=p);return pe}function _N(c){for(var p=-1,b=c==null?0:c.length,N=0,W=[];++p<b;){var Q=c[p];Q&&(W[N++]=Q)}return W}function xN(){var c=arguments.length;if(!c)return[];for(var p=Le(c-1),b=arguments[0],N=c;N--;)p[N-1]=arguments[N];return za(Vt(b)?Kr(b):[b],hr(p,1))}var SN=Kt(function(c,p){return qn(c)?td(c,hr(p,1,qn,!0)):[]}),CN=Kt(function(c,p){var b=Fo(p);return qn(b)&&(b=n),qn(c)?td(c,hr(p,1,qn,!0),Et(b,2)):[]}),EN=Kt(function(c,p){var b=Fo(p);return qn(b)&&(b=n),qn(c)?td(c,hr(p,1,qn,!0),n,b):[]});function MN(c,p,b){var N=c==null?0:c.length;return N?(p=b||p===n?1:Ht(p),zo(c,p<0?0:p,N)):[]}function kN(c,p,b){var N=c==null?0:c.length;return N?(p=b||p===n?1:Ht(p),p=N-p,zo(c,0,p<0?0:p)):[]}function RN(c,p){return c&&c.length?bp(c,Et(p,3),!0,!0):[]}function TN(c,p){return c&&c.length?bp(c,Et(p,3),!0):[]}function NN(c,p,b,N){var W=c==null?0:c.length;return W?(b&&typeof b!="number"&&Dr(c,p,b)&&(b=0,N=W),xT(c,p,b,N)):[]}function Gb(c,p,b){var N=c==null?0:c.length;if(!N)return-1;var W=b==null?0:Ht(b);return W<0&&(W=nr(N+W,0)),il(c,Et(p,3),W)}function Kb(c,p,b){var N=c==null?0:c.length;if(!N)return-1;var W=N-1;return b!==n&&(W=Ht(b),W=b<0?nr(N+W,0):xr(W,N-1)),il(c,Et(p,3),W,!0)}function Xb(c){var p=c==null?0:c.length;return p?hr(c,1):[]}function PN(c){var p=c==null?0:c.length;return p?hr(c,B):[]}function AN(c,p){var b=c==null?0:c.length;return b?(p=p===n?1:Ht(p),hr(c,p)):[]}function IN(c){for(var p=-1,b=c==null?0:c.length,N={};++p<b;){var W=c[p];Fa(N,W[0],W[1])}return N}function Zb(c){return c&&c.length?c[0]:n}function ON(c,p,b){var N=c==null?0:c.length;if(!N)return-1;var W=b==null?0:Ht(b);return W<0&&(W=nr(N+W,0)),_i(c,p,W)}function LN(c){var p=c==null?0:c.length;return p?zo(c,0,-1):[]}var $N=Kt(function(c){var p=xn(c,mm);return p.length&&p[0]===c[0]?am(p):[]}),DN=Kt(function(c){var p=Fo(c),b=xn(c,mm);return p===Fo(b)?p=n:b.pop(),b.length&&b[0]===c[0]?am(b,Et(p,2)):[]}),BN=Kt(function(c){var p=Fo(c),b=xn(c,mm);return p=typeof p=="function"?p:n,p&&b.pop(),b.length&&b[0]===c[0]?am(b,n,p):[]});function zN(c,p){return c==null?"":LR.call(c,p)}function Fo(c){var p=c==null?0:c.length;return p?c[p-1]:n}function FN(c,p,b){var N=c==null?0:c.length;if(!N)return-1;var W=N;return b!==n&&(W=Ht(b),W=W<0?nr(N+W,0):xr(W,N-1)),p===p?bR(c,p,W):il(c,Yu,W,!0)}function VN(c,p){return c&&c.length?lb(c,Ht(p)):n}var jN=Kt(Qb);function Qb(c,p){return c&&c.length&&p&&p.length?cm(c,p):c}function HN(c,p,b){return c&&c.length&&p&&p.length?cm(c,p,Et(b,2)):c}function WN(c,p,b){return c&&c.length&&p&&p.length?cm(c,p,n,b):c}var qN=Ei(function(c,p){var b=c==null?0:c.length,N=tm(c,p);return db(c,xn(p,function(W){return Mi(W,b)?+W:W}).sort(_b)),N});function UN(c,p){var b=[];if(!(c&&c.length))return b;var N=-1,W=[],Q=c.length;for(p=Et(p,3);++N<Q;){var pe=c[N];p(pe,N,c)&&(b.push(pe),W.push(N))}return db(c,W),b}function Tm(c){return c==null?c:zR.call(c)}function YN(c,p,b){var N=c==null?0:c.length;return N?(b&&typeof b!="number"&&Dr(c,p,b)?(p=0,b=N):(p=p==null?0:Ht(p),b=b===n?N:Ht(b)),zo(c,p,b)):[]}function GN(c,p){return wp(c,p)}function KN(c,p,b){return fm(c,p,Et(b,2))}function XN(c,p){var b=c==null?0:c.length;if(b){var N=wp(c,p);if(N<b&&fa(c[N],p))return N}return-1}function ZN(c,p){return wp(c,p,!0)}function QN(c,p,b){return fm(c,p,Et(b,2),!0)}function JN(c,p){var b=c==null?0:c.length;if(b){var N=wp(c,p,!0)-1;if(fa(c[N],p))return N}return-1}function eP(c){return c&&c.length?pb(c):[]}function tP(c,p){return c&&c.length?pb(c,Et(p,2)):[]}function nP(c){var p=c==null?0:c.length;return p?zo(c,1,p):[]}function rP(c,p,b){return c&&c.length?(p=b||p===n?1:Ht(p),zo(c,0,p<0?0:p)):[]}function oP(c,p,b){var N=c==null?0:c.length;return N?(p=b||p===n?1:Ht(p),p=N-p,zo(c,p<0?0:p,N)):[]}function aP(c,p){return c&&c.length?bp(c,Et(p,3),!1,!0):[]}function iP(c,p){return c&&c.length?bp(c,Et(p,3)):[]}var sP=Kt(function(c){return ls(hr(c,1,qn,!0))}),lP=Kt(function(c){var p=Fo(c);return qn(p)&&(p=n),ls(hr(c,1,qn,!0),Et(p,2))}),cP=Kt(function(c){var p=Fo(c);return p=typeof p=="function"?p:n,ls(hr(c,1,qn,!0),n,p)});function uP(c){return c&&c.length?ls(c):[]}function dP(c,p){return c&&c.length?ls(c,Et(p,2)):[]}function fP(c,p){return p=typeof p=="function"?p:n,c&&c.length?ls(c,n,p):[]}function Nm(c){if(!(c&&c.length))return[];var p=0;return c=Lo(c,function(b){if(qn(b))return p=nr(b.length,p),!0}),Fe(p,function(b){return xn(c,j(b))})}function Jb(c,p){if(!(c&&c.length))return[];var b=Nm(c);return p==null?b:xn(b,function(N){return er(p,n,N)})}var pP=Kt(function(c,p){return qn(c)?td(c,p):[]}),hP=Kt(function(c){return hm(Lo(c,qn))}),mP=Kt(function(c){var p=Fo(c);return qn(p)&&(p=n),hm(Lo(c,qn),Et(p,2))}),gP=Kt(function(c){var p=Fo(c);return p=typeof p=="function"?p:n,hm(Lo(c,qn),n,p)}),vP=Kt(Nm);function wP(c,p){return vb(c||[],p||[],ed)}function bP(c,p){return vb(c||[],p||[],od)}var yP=Kt(function(c){var p=c.length,b=p>1?c[p-1]:n;return b=typeof b=="function"?(c.pop(),b):n,Jb(c,b)});function ey(c){var p=K(c);return p.__chain__=!0,p}function _P(c,p){return p(c),c}function Rp(c,p){return p(c)}var xP=Ei(function(c){var p=c.length,b=p?c[0]:0,N=this.__wrapped__,W=function(Q){return tm(Q,c)};return p>1||this.__actions__.length||!(N instanceof Jt)||!Mi(b)?this.thru(W):(N=N.slice(b,+b+(p?1:0)),N.__actions__.push({func:Rp,args:[W],thisArg:n}),new Do(N,this.__chain__).thru(function(Q){return p&&!Q.length&&Q.push(n),Q}))});function SP(){return ey(this)}function CP(){return new Do(this.value(),this.__chain__)}function EP(){this.__values__===n&&(this.__values__=hy(this.value()));var c=this.__index__>=this.__values__.length,p=c?n:this.__values__[this.__index__++];return{done:c,value:p}}function MP(){return this}function kP(c){for(var p,b=this;b instanceof pp;){var N=Yb(b);N.__index__=0,N.__values__=n,p?W.__wrapped__=N:p=N;var W=N;b=b.__wrapped__}return W.__wrapped__=c,p}function RP(){var c=this.__wrapped__;if(c instanceof Jt){var p=c;return this.__actions__.length&&(p=new Jt(this)),p=p.reverse(),p.__actions__.push({func:Rp,args:[Tm],thisArg:n}),new Do(p,this.__chain__)}return this.thru(Tm)}function TP(){return gb(this.__wrapped__,this.__actions__)}var NP=yp(function(c,p,b){mn.call(c,b)?++c[b]:Fa(c,b,1)});function PP(c,p,b){var N=Vt(c)?Wu:_T;return b&&Dr(c,p,b)&&(p=n),N(c,Et(p,3))}function AP(c,p){var b=Vt(c)?Lo:J3;return b(c,Et(p,3))}var IP=kb(Gb),OP=kb(Kb);function LP(c,p){return hr(Tp(c,p),1)}function $P(c,p){return hr(Tp(c,p),B)}function DP(c,p,b){return b=b===n?1:Ht(b),hr(Tp(c,p),b)}function ty(c,p){var b=Vt(c)?yr:ss;return b(c,Et(p,3))}function ny(c,p){var b=Vt(c)?Xf:Q3;return b(c,Et(p,3))}var BP=yp(function(c,p,b){mn.call(c,b)?c[b].push(p):Fa(c,b,[p])});function zP(c,p,b,N){c=Xr(c)?c:Ac(c),b=b&&!N?Ht(b):0;var W=c.length;return b<0&&(b=nr(W+b,0)),Op(c)?b<=W&&c.indexOf(p,b)>-1:!!W&&_i(c,p,b)>-1}var FP=Kt(function(c,p,b){var N=-1,W=typeof p=="function",Q=Xr(c)?Le(c.length):[];return ss(c,function(pe){Q[++N]=W?er(p,pe,b):nd(pe,p,b)}),Q}),VP=yp(function(c,p,b){Fa(c,b,p)});function Tp(c,p){var b=Vt(c)?xn:ab;return b(c,Et(p,3))}function jP(c,p,b,N){return c==null?[]:(Vt(p)||(p=p==null?[]:[p]),b=N?n:b,Vt(b)||(b=b==null?[]:[b]),cb(c,p,b))}var HP=yp(function(c,p,b){c[b?0:1].push(p)},function(){return[[],[]]});function WP(c,p,b){var N=Vt(c)?mc:ae,W=arguments.length<3;return N(c,Et(p,4),b,W,ss)}function qP(c,p,b){var N=Vt(c)?gc:ae,W=arguments.length<3;return N(c,Et(p,4),b,W,Q3)}function UP(c,p){var b=Vt(c)?Lo:J3;return b(c,Ap(Et(p,3)))}function YP(c){var p=Vt(c)?G3:zT;return p(c)}function GP(c,p,b){(b?Dr(c,p,b):p===n)?p=1:p=Ht(p);var N=Vt(c)?gT:FT;return N(c,p)}function KP(c){var p=Vt(c)?vT:jT;return p(c)}function XP(c){if(c==null)return 0;if(Xr(c))return Op(c)?xc(c):c.length;var p=Sr(c);return p==ge||p==ut?c.size:sm(c).length}function ZP(c,p,b){var N=Vt(c)?vc:HT;return b&&Dr(c,p,b)&&(p=n),N(c,Et(p,3))}var QP=Kt(function(c,p){if(c==null)return[];var b=p.length;return b>1&&Dr(c,p[0],p[1])?p=[]:b>2&&Dr(p[0],p[1],p[2])&&(p=[p[0]]),cb(c,hr(p,1),[])}),Np=AR||function(){return Ln.Date.now()};function JP(c,p){if(typeof p!="function")throw new $o(i);return c=Ht(c),function(){if(--c<1)return p.apply(this,arguments)}}function ry(c,p,b){return p=b?n:p,p=c&&p==null?c.length:p,Ci(c,D,n,n,n,n,p)}function oy(c,p){var b;if(typeof p!="function")throw new $o(i);return c=Ht(c),function(){return--c>0&&(b=p.apply(this,arguments)),c<=1&&(p=n),b}}var Pm=Kt(function(c,p,b){var N=_;if(b.length){var W=as(b,Nc(Pm));N|=A}return Ci(c,N,p,b,W)}),ay=Kt(function(c,p,b){var N=_|S;if(b.length){var W=as(b,Nc(ay));N|=A}return Ci(p,N,c,b,W)});function iy(c,p,b){p=b?n:p;var N=Ci(c,C,n,n,n,n,n,p);return N.placeholder=iy.placeholder,N}function sy(c,p,b){p=b?n:p;var N=Ci(c,M,n,n,n,n,n,p);return N.placeholder=sy.placeholder,N}function ly(c,p,b){var N,W,Q,pe,ve,xe,Ve=0,je=!1,We=!1,Qe=!0;if(typeof c!="function")throw new $o(i);p=Vo(p)||0,$n(b)&&(je=!!b.leading,We="maxWait"in b,Q=We?nr(Vo(b.maxWait)||0,p):Q,Qe="trailing"in b?!!b.trailing:Qe);function dt(Un){var pa=N,Ti=W;return N=W=n,Ve=Un,pe=c.apply(Ti,pa),pe}function Tt(Un){return Ve=Un,ve=sd(Qt,p),je?dt(Un):pe}function qt(Un){var pa=Un-xe,Ti=Un-Ve,Ry=p-pa;return We?xr(Ry,Q-Ti):Ry}function xt(Un){var pa=Un-xe,Ti=Un-Ve;return xe===n||pa>=p||pa<0||We&&Ti>=Q}function Qt(){var Un=Np();if(xt(Un))return tn(Un);ve=sd(Qt,qt(Un))}function tn(Un){return ve=n,Qe&&N?dt(Un):(N=W=n,pe)}function yo(){ve!==n&&wb(ve),Ve=0,N=xe=W=ve=n}function Br(){return ve===n?pe:tn(Np())}function _o(){var Un=Np(),pa=xt(Un);if(N=arguments,W=this,xe=Un,pa){if(ve===n)return Tt(xe);if(We)return wb(ve),ve=sd(Qt,p),dt(xe)}return ve===n&&(ve=sd(Qt,p)),pe}return _o.cancel=yo,_o.flush=Br,_o}var eA=Kt(function(c,p){return Z3(c,1,p)}),tA=Kt(function(c,p,b){return Z3(c,Vo(p)||0,b)});function nA(c){return Ci(c,R)}function Pp(c,p){if(typeof c!="function"||p!=null&&typeof p!="function")throw new $o(i);var b=function(){var N=arguments,W=p?p.apply(this,N):N[0],Q=b.cache;if(Q.has(W))return Q.get(W);var pe=c.apply(this,N);return b.cache=Q.set(W,pe)||Q,pe};return b.cache=new(Pp.Cache||Si),b}Pp.Cache=Si;function Ap(c){if(typeof c!="function")throw new $o(i);return function(){var p=arguments;switch(p.length){case 0:return!c.call(this);case 1:return!c.call(this,p[0]);case 2:return!c.call(this,p[0],p[1]);case 3:return!c.call(this,p[0],p[1],p[2])}return!c.apply(this,p)}}function rA(c){return oy(2,c)}var oA=WT(function(c,p){p=p.length==1&&Vt(p[0])?xn(p[0],yt(Et())):xn(hr(p,1),yt(Et()));var b=p.length;return Kt(function(N){for(var W=-1,Q=xr(N.length,b);++W<Q;)N[W]=p[W].call(this,N[W]);return er(c,this,N)})}),Am=Kt(function(c,p){var b=as(p,Nc(Am));return Ci(c,A,n,p,b)}),cy=Kt(function(c,p){var b=as(p,Nc(cy));return Ci(c,O,n,p,b)}),aA=Ei(function(c,p){return Ci(c,T,n,n,n,p)});function iA(c,p){if(typeof c!="function")throw new $o(i);return p=p===n?p:Ht(p),Kt(c,p)}function sA(c,p){if(typeof c!="function")throw new $o(i);return p=p==null?0:nr(Ht(p),0),Kt(function(b){var N=b[p],W=us(b,0,p);return N&&za(W,N),er(c,this,W)})}function lA(c,p,b){var N=!0,W=!0;if(typeof c!="function")throw new $o(i);return $n(b)&&(N="leading"in b?!!b.leading:N,W="trailing"in b?!!b.trailing:W),ly(c,p,{leading:N,maxWait:p,trailing:W})}function cA(c){return ry(c,1)}function uA(c,p){return Am(gm(p),c)}function dA(){if(!arguments.length)return[];var c=arguments[0];return Vt(c)?c:[c]}function fA(c){return Bo(c,g)}function pA(c,p){return p=typeof p=="function"?p:n,Bo(c,g,p)}function hA(c){return Bo(c,m|g)}function mA(c,p){return p=typeof p=="function"?p:n,Bo(c,m|g,p)}function gA(c,p){return p==null||X3(c,p,ur(p))}function fa(c,p){return c===p||c!==c&&p!==p}var vA=Cp(om),wA=Cp(function(c,p){return c>=p}),hl=nb((function(){return arguments})())?nb:function(c){return Vn(c)&&mn.call(c,"callee")&&!j3.call(c,"callee")},Vt=Le.isArray,bA=dc?yt(dc):kT;function Xr(c){return c!=null&&Ip(c.length)&&!ki(c)}function qn(c){return Vn(c)&&Xr(c)}function yA(c){return c===!0||c===!1||Vn(c)&&$r(c)==ye}var ds=OR||Wm,_A=Gf?yt(Gf):RT;function xA(c){return Vn(c)&&c.nodeType===1&&!ld(c)}function SA(c){if(c==null)return!0;if(Xr(c)&&(Vt(c)||typeof c=="string"||typeof c.splice=="function"||ds(c)||Pc(c)||hl(c)))return!c.length;var p=Sr(c);if(p==ge||p==ut)return!c.size;if(id(c))return!sm(c).length;for(var b in c)if(mn.call(c,b))return!1;return!0}function CA(c,p){return rd(c,p)}function EA(c,p,b){b=typeof b=="function"?b:n;var N=b?b(c,p):n;return N===n?rd(c,p,n,b):!!N}function Im(c){if(!Vn(c))return!1;var p=$r(c);return p==Ie||p==Ne||typeof c.message=="string"&&typeof c.name=="string"&&!ld(c)}function MA(c){return typeof c=="number"&&W3(c)}function ki(c){if(!$n(c))return!1;var p=$r(c);return p==Pe||p==he||p==fe||p==Me}function uy(c){return typeof c=="number"&&c==Ht(c)}function Ip(c){return typeof c=="number"&&c>-1&&c%1==0&&c<=Y}function $n(c){var p=typeof c;return c!=null&&(p=="object"||p=="function")}function Vn(c){return c!=null&&typeof c=="object"}var dy=os?yt(os):NT;function kA(c,p){return c===p||im(c,p,Sm(p))}function RA(c,p,b){return b=typeof b=="function"?b:n,im(c,p,Sm(p),b)}function TA(c){return fy(c)&&c!=+c}function NA(c){if(pN(c))throw new $t(a);return rb(c)}function PA(c){return c===null}function AA(c){return c==null}function fy(c){return typeof c=="number"||Vn(c)&&$r(c)==be}function ld(c){if(!Vn(c)||$r(c)!=Ae)return!1;var p=ip(c);if(p===null)return!0;var b=mn.call(p,"constructor")&&p.constructor;return typeof b=="function"&&b instanceof b&&np.call(b)==RR}var Om=Kf?yt(Kf):PT;function IA(c){return uy(c)&&c>=-Y&&c<=Y}var py=fc?yt(fc):AT;function Op(c){return typeof c=="string"||!Vt(c)&&Vn(c)&&$r(c)==mt}function bo(c){return typeof c=="symbol"||Vn(c)&&$r(c)==Ft}var Pc=al?yt(al):IT;function OA(c){return c===n}function LA(c){return Vn(c)&&Sr(c)==Sn}function $A(c){return Vn(c)&&$r(c)==Jn}var DA=Cp(lm),BA=Cp(function(c,p){return c<=p});function hy(c){if(!c)return[];if(Xr(c))return Op(c)?ca(c):Kr(c);if(Ku&&c[Ku])return gR(c[Ku]());var p=Sr(c),b=p==ge?Kh:p==ut?Jf:Ac;return b(c)}function Ri(c){if(!c)return c===0?c:0;if(c=Vo(c),c===B||c===-B){var p=c<0?-1:1;return p*U}return c===c?c:0}function Ht(c){var p=Ri(c),b=p%1;return p===p?b?p-b:p:0}function my(c){return c?ul(Ht(c),0,J):0}function Vo(c){if(typeof c=="number")return c;if(bo(c))return le;if($n(c)){var p=typeof c.valueOf=="function"?c.valueOf():c;c=$n(p)?p+"":p}if(typeof c!="string")return c===0?c:+c;c=_t(c);var b=oa.test(c);return b||Aa.test(c)?ns(c.slice(2),b?2:8):Pa.test(c)?le:+c}function gy(c){return ja(c,Zr(c))}function zA(c){return c?ul(Ht(c),-Y,Y):c===0?c:0}function gn(c){return c==null?"":wo(c)}var FA=Rc(function(c,p){if(id(p)||Xr(p)){ja(p,ur(p),c);return}for(var b in p)mn.call(p,b)&&ed(c,b,p[b])}),vy=Rc(function(c,p){ja(p,Zr(p),c)}),wy=Rc(function(c,p,b,N){ja(p,Zr(p),c,N)}),Lm=Rc(function(c,p,b,N){ja(p,ur(p),c,N)}),VA=Ei(tm);function jA(c,p){var b=kc(c);return p==null?b:K3(b,p)}var HA=Kt(function(c,p){c=Cn(c);var b=-1,N=p.length,W=N>2?p[2]:n;for(W&&Dr(p[0],p[1],W)&&(N=1);++b<N;)for(var Q=p[b],pe=Zr(Q),ve=-1,xe=pe.length;++ve<xe;){var Ve=pe[ve],je=c[Ve];(je===n||fa(je,Cc[Ve])&&!mn.call(c,Ve))&&(c[Ve]=Q[Ve])}return c}),WA=Kt(function(c){return c.push(n,Ob),er(by,n,c)});function qA(c,p){return qu(c,Et(p,3),Va)}function UA(c,p){return qu(c,Et(p,3),rm)}function YA(c,p){return c==null?c:nm(c,Et(p,3),Zr)}function GA(c,p){return c==null?c:eb(c,Et(p,3),Zr)}function KA(c,p){return c&&Va(c,Et(p,3))}function XA(c,p){return c&&rm(c,Et(p,3))}function ZA(c){return c==null?[]:gp(c,ur(c))}function QA(c){return c==null?[]:gp(c,Zr(c))}function $m(c,p,b){var N=c==null?n:dl(c,p);return N===n?b:N}function JA(c,p){return c!=null&&Db(c,p,ST)}function Dm(c,p){return c!=null&&Db(c,p,CT)}var eI=Tb(function(c,p,b){p!=null&&typeof p.toString!="function"&&(p=rp.call(p)),c[p]=b},zm(Qr)),tI=Tb(function(c,p,b){p!=null&&typeof p.toString!="function"&&(p=rp.call(p)),mn.call(c,p)?c[p].push(b):c[p]=[b]},Et),nI=Kt(nd);function ur(c){return Xr(c)?Y3(c):sm(c)}function Zr(c){return Xr(c)?Y3(c,!0):OT(c)}function rI(c,p){var b={};return p=Et(p,3),Va(c,function(N,W,Q){Fa(b,p(N,W,Q),N)}),b}function oI(c,p){var b={};return p=Et(p,3),Va(c,function(N,W,Q){Fa(b,W,p(N,W,Q))}),b}var aI=Rc(function(c,p,b){vp(c,p,b)}),by=Rc(function(c,p,b,N){vp(c,p,b,N)}),iI=Ei(function(c,p){var b={};if(c==null)return b;var N=!1;p=xn(p,function(Q){return Q=cs(Q,c),N||(N=Q.length>1),Q}),ja(c,_m(c),b),N&&(b=Bo(b,m|v|g,tN));for(var W=p.length;W--;)pm(b,p[W]);return b});function sI(c,p){return yy(c,Ap(Et(p)))}var lI=Ei(function(c,p){return c==null?{}:$T(c,p)});function yy(c,p){if(c==null)return{};var b=xn(_m(c),function(N){return[N]});return p=Et(p),ub(c,b,function(N,W){return p(N,W[0])})}function cI(c,p,b){p=cs(p,c);var N=-1,W=p.length;for(W||(W=1,c=n);++N<W;){var Q=c==null?n:c[da(p[N])];Q===n&&(N=W,Q=b),c=ki(Q)?Q.call(c):Q}return c}function uI(c,p,b){return c==null?c:od(c,p,b)}function dI(c,p,b,N){return N=typeof N=="function"?N:n,c==null?c:od(c,p,b,N)}var _y=Ab(ur),xy=Ab(Zr);function fI(c,p,b){var N=Vt(c),W=N||ds(c)||Pc(c);if(p=Et(p,4),b==null){var Q=c&&c.constructor;W?b=N?new Q:[]:$n(c)?b=ki(Q)?kc(ip(c)):{}:b={}}return(W?yr:Va)(c,function(pe,ve,xe){return p(b,pe,ve,xe)}),b}function pI(c,p){return c==null?!0:pm(c,p)}function hI(c,p,b){return c==null?c:mb(c,p,gm(b))}function mI(c,p,b,N){return N=typeof N=="function"?N:n,c==null?c:mb(c,p,gm(b),N)}function Ac(c){return c==null?[]:Lt(c,ur(c))}function gI(c){return c==null?[]:Lt(c,Zr(c))}function vI(c,p,b){return b===n&&(b=p,p=n),b!==n&&(b=Vo(b),b=b===b?b:0),p!==n&&(p=Vo(p),p=p===p?p:0),ul(Vo(c),p,b)}function wI(c,p,b){return p=Ri(p),b===n?(b=p,p=0):b=Ri(b),c=Vo(c),ET(c,p,b)}function bI(c,p,b){if(b&&typeof b!="boolean"&&Dr(c,p,b)&&(p=b=n),b===n&&(typeof p=="boolean"?(b=p,p=n):typeof c=="boolean"&&(b=c,c=n)),c===n&&p===n?(c=0,p=1):(c=Ri(c),p===n?(p=c,c=0):p=Ri(p)),c>p){var N=c;c=p,p=N}if(b||c%1||p%1){var W=q3();return xr(c+W*(p-c+nl("1e-"+((W+"").length-1))),p)}return um(c,p)}var yI=Tc(function(c,p,b){return p=p.toLowerCase(),c+(b?Sy(p):p)});function Sy(c){return Bm(gn(c).toLowerCase())}function Cy(c){return c=gn(c),c&&c.replace(hi,yc).replace(ju,"")}function _I(c,p,b){c=gn(c),p=wo(p);var N=c.length;b=b===n?N:ul(Ht(b),0,N);var W=b;return b-=p.length,b>=0&&c.slice(b,W)==p}function xI(c){return c=gn(c),c&&_n.test(c)?c.replace(en,Qf):c}function SI(c){return c=gn(c),c&&di.test(c)?c.replace(zn,"\\$&"):c}var CI=Tc(function(c,p,b){return c+(b?"-":"")+p.toLowerCase()}),EI=Tc(function(c,p,b){return c+(b?" ":"")+p.toLowerCase()}),MI=Mb("toLowerCase");function kI(c,p,b){c=gn(c),p=Ht(p);var N=p?xc(c):0;if(!p||N>=p)return c;var W=(p-N)/2;return Sp(up(W),b)+c+Sp(cp(W),b)}function RI(c,p,b){c=gn(c),p=Ht(p);var N=p?xc(c):0;return p&&N<p?c+Sp(p-N,b):c}function TI(c,p,b){c=gn(c),p=Ht(p);var N=p?xc(c):0;return p&&N<p?Sp(p-N,b)+c:c}function NI(c,p,b){return b||p==null?p=0:p&&(p=+p),BR(gn(c).replace(Jo,""),p||0)}function PI(c,p,b){return(b?Dr(c,p,b):p===n)?p=1:p=Ht(p),dm(gn(c),p)}function AI(){var c=arguments,p=gn(c[0]);return c.length<3?p:p.replace(c[1],c[2])}var II=Tc(function(c,p,b){return c+(b?"_":"")+p.toLowerCase()});function OI(c,p,b){return b&&typeof b!="number"&&Dr(c,p,b)&&(p=b=n),b=b===n?J:b>>>0,b?(c=gn(c),c&&(typeof p=="string"||p!=null&&!Om(p))&&(p=wo(p),!p&&_c(c))?us(ca(c),0,b):c.split(p,b)):[]}var LI=Tc(function(c,p,b){return c+(b?" ":"")+Bm(p)});function $I(c,p,b){return c=gn(c),b=b==null?0:ul(Ht(b),0,c.length),p=wo(p),c.slice(b,b+p.length)==p}function DI(c,p,b){var N=K.templateSettings;b&&Dr(c,p,b)&&(p=n),c=gn(c),p=Lm({},p,N,Ib);var W=Lm({},p.imports,N.imports,Ib),Q=ur(W),pe=Lt(W,Q);yr(Q,function(xt){if(Na.test(xt))throw new $t(l)});var ve,xe,Ve=0,je=p.interpolate||Ao,We="__p += '",Qe=Xh((p.escape||Ao).source+"|"+je.source+"|"+(je===On?na:Ao).source+"|"+(p.evaluate||Ao).source+"|$","g"),dt="//# sourceURL="+(mn.call(p,"sourceURL")?(p.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++$e+"]")+`
|
|
41
|
-
`;c.replace(Qe,function(xt,Qt,tn,yo,Br,_o){return tn||(tn=yo),We+=c.slice(Ve,_o).replace(mi,Gu),Qt&&(ve=!0,We+=`' +
|
|
42
|
-
__e(`+Qt+`) +
|
|
43
|
-
'`),Br&&(xe=!0,We+=`';
|
|
44
|
-
`+Br+`;
|
|
45
|
-
__p += '`),tn&&(We+=`' +
|
|
46
|
-
((__t = (`+tn+`)) == null ? '' : __t) +
|
|
47
|
-
'`),Ve=_o+xt.length,xt}),We+=`';
|
|
48
|
-
`;var Tt=mn.call(p,"variable")&&p.variable;if(!Tt)We=`with (obj) {
|
|
49
|
-
`+We+`
|
|
50
|
-
}
|
|
51
|
-
`;else if(Na.test(Tt))throw new $t(s);We=(xe?We.replace(Ze,""):We).replace(Dt,"$1").replace(jt,"$1;"),We="function("+(Tt||"obj")+`) {
|
|
52
|
-
`+(Tt?"":`obj || (obj = {});
|
|
53
|
-
`)+"var __t, __p = ''"+(ve?", __e = _.escape":"")+(xe?`, __j = Array.prototype.join;
|
|
54
|
-
function print() { __p += __j.call(arguments, '') }
|
|
55
|
-
`:`;
|
|
56
|
-
`)+We+`return __p
|
|
57
|
-
}`;var qt=My(function(){return pn(Q,dt+"return "+We).apply(n,pe)});if(qt.source=We,Im(qt))throw qt;return qt}function BI(c){return gn(c).toLowerCase()}function zI(c){return gn(c).toUpperCase()}function FI(c,p,b){if(c=gn(c),c&&(b||p===n))return _t(c);if(!c||!(p=wo(p)))return c;var N=ca(c),W=ca(p),Q=_r(N,W),pe=Gr(N,W)+1;return us(N,Q,pe).join("")}function VI(c,p,b){if(c=gn(c),c&&(b||p===n))return c.slice(0,B3(c)+1);if(!c||!(p=wo(p)))return c;var N=ca(c),W=Gr(N,ca(p))+1;return us(N,0,W).join("")}function jI(c,p,b){if(c=gn(c),c&&(b||p===n))return c.replace(Jo,"");if(!c||!(p=wo(p)))return c;var N=ca(c),W=_r(N,ca(p));return us(N,W).join("")}function HI(c,p){var b=$,N=P;if($n(p)){var W="separator"in p?p.separator:W;b="length"in p?Ht(p.length):b,N="omission"in p?wo(p.omission):N}c=gn(c);var Q=c.length;if(_c(c)){var pe=ca(c);Q=pe.length}if(b>=Q)return c;var ve=b-xc(N);if(ve<1)return N;var xe=pe?us(pe,0,ve).join(""):c.slice(0,ve);if(W===n)return xe+N;if(pe&&(ve+=xe.length-ve),Om(W)){if(c.slice(ve).search(W)){var Ve,je=xe;for(W.global||(W=Xh(W.source,gn(ra.exec(W))+"g")),W.lastIndex=0;Ve=W.exec(je);)var We=Ve.index;xe=xe.slice(0,We===n?ve:We)}}else if(c.indexOf(wo(W),ve)!=ve){var Qe=xe.lastIndexOf(W);Qe>-1&&(xe=xe.slice(0,Qe))}return xe+N}function WI(c){return c=gn(c),c&&Mn.test(c)?c.replace(rt,yR):c}var qI=Tc(function(c,p,b){return c+(b?" ":"")+p.toUpperCase()}),Bm=Mb("toUpperCase");function Ey(c,p,b){return c=gn(c),p=b?n:p,p===n?mR(c)?SR(c):bc(c):c.match(p)||[]}var My=Kt(function(c,p){try{return er(c,n,p)}catch(b){return Im(b)?b:new $t(b)}}),UI=Ei(function(c,p){return yr(p,function(b){b=da(b),Fa(c,b,Pm(c[b],c))}),c});function YI(c){var p=c==null?0:c.length,b=Et();return c=p?xn(c,function(N){if(typeof N[1]!="function")throw new $o(i);return[b(N[0]),N[1]]}):[],Kt(function(N){for(var W=-1;++W<p;){var Q=c[W];if(er(Q[0],this,N))return er(Q[1],this,N)}})}function GI(c){return yT(Bo(c,m))}function zm(c){return function(){return c}}function KI(c,p){return c==null||c!==c?p:c}var XI=Rb(),ZI=Rb(!0);function Qr(c){return c}function Fm(c){return ob(typeof c=="function"?c:Bo(c,m))}function QI(c){return ib(Bo(c,m))}function JI(c,p){return sb(c,Bo(p,m))}var eO=Kt(function(c,p){return function(b){return nd(b,c,p)}}),tO=Kt(function(c,p){return function(b){return nd(c,b,p)}});function Vm(c,p,b){var N=ur(p),W=gp(p,N);b==null&&!($n(p)&&(W.length||!N.length))&&(b=p,p=c,c=this,W=gp(p,ur(p)));var Q=!($n(b)&&"chain"in b)||!!b.chain,pe=ki(c);return yr(W,function(ve){var xe=p[ve];c[ve]=xe,pe&&(c.prototype[ve]=function(){var Ve=this.__chain__;if(Q||Ve){var je=c(this.__wrapped__),We=je.__actions__=Kr(this.__actions__);return We.push({func:xe,args:arguments,thisArg:c}),je.__chain__=Ve,je}return xe.apply(c,za([this.value()],arguments))})}),c}function nO(){return Ln._===this&&(Ln._=TR),this}function jm(){}function rO(c){return c=Ht(c),Kt(function(p){return lb(p,c)})}var oO=wm(xn),aO=wm(Wu),iO=wm(vc);function ky(c){return Em(c)?j(da(c)):DT(c)}function sO(c){return function(p){return c==null?n:dl(c,p)}}var lO=Nb(),cO=Nb(!0);function Hm(){return[]}function Wm(){return!1}function uO(){return{}}function dO(){return""}function fO(){return!0}function pO(c,p){if(c=Ht(c),c<1||c>Y)return[];var b=J,N=xr(c,J);p=Et(p),c-=J;for(var W=Fe(N,p);++b<c;)p(b);return W}function hO(c){return Vt(c)?xn(c,da):bo(c)?[c]:Kr(Ub(gn(c)))}function mO(c){var p=++kR;return gn(c)+p}var gO=xp(function(c,p){return c+p},0),vO=bm("ceil"),wO=xp(function(c,p){return c/p},1),bO=bm("floor");function yO(c){return c&&c.length?mp(c,Qr,om):n}function _O(c,p){return c&&c.length?mp(c,Et(p,2),om):n}function xO(c){return k(c,Qr)}function SO(c,p){return k(c,Et(p,2))}function CO(c){return c&&c.length?mp(c,Qr,lm):n}function EO(c,p){return c&&c.length?mp(c,Et(p,2),lm):n}var MO=xp(function(c,p){return c*p},1),kO=bm("round"),RO=xp(function(c,p){return c-p},0);function TO(c){return c&&c.length?ke(c,Qr):0}function NO(c,p){return c&&c.length?ke(c,Et(p,2)):0}return K.after=JP,K.ary=ry,K.assign=FA,K.assignIn=vy,K.assignInWith=wy,K.assignWith=Lm,K.at=VA,K.before=oy,K.bind=Pm,K.bindAll=UI,K.bindKey=ay,K.castArray=dA,K.chain=ey,K.chunk=yN,K.compact=_N,K.concat=xN,K.cond=YI,K.conforms=GI,K.constant=zm,K.countBy=NP,K.create=jA,K.curry=iy,K.curryRight=sy,K.debounce=ly,K.defaults=HA,K.defaultsDeep=WA,K.defer=eA,K.delay=tA,K.difference=SN,K.differenceBy=CN,K.differenceWith=EN,K.drop=MN,K.dropRight=kN,K.dropRightWhile=RN,K.dropWhile=TN,K.fill=NN,K.filter=AP,K.flatMap=LP,K.flatMapDeep=$P,K.flatMapDepth=DP,K.flatten=Xb,K.flattenDeep=PN,K.flattenDepth=AN,K.flip=nA,K.flow=XI,K.flowRight=ZI,K.fromPairs=IN,K.functions=ZA,K.functionsIn=QA,K.groupBy=BP,K.initial=LN,K.intersection=$N,K.intersectionBy=DN,K.intersectionWith=BN,K.invert=eI,K.invertBy=tI,K.invokeMap=FP,K.iteratee=Fm,K.keyBy=VP,K.keys=ur,K.keysIn=Zr,K.map=Tp,K.mapKeys=rI,K.mapValues=oI,K.matches=QI,K.matchesProperty=JI,K.memoize=Pp,K.merge=aI,K.mergeWith=by,K.method=eO,K.methodOf=tO,K.mixin=Vm,K.negate=Ap,K.nthArg=rO,K.omit=iI,K.omitBy=sI,K.once=rA,K.orderBy=jP,K.over=oO,K.overArgs=oA,K.overEvery=aO,K.overSome=iO,K.partial=Am,K.partialRight=cy,K.partition=HP,K.pick=lI,K.pickBy=yy,K.property=ky,K.propertyOf=sO,K.pull=jN,K.pullAll=Qb,K.pullAllBy=HN,K.pullAllWith=WN,K.pullAt=qN,K.range=lO,K.rangeRight=cO,K.rearg=aA,K.reject=UP,K.remove=UN,K.rest=iA,K.reverse=Tm,K.sampleSize=GP,K.set=uI,K.setWith=dI,K.shuffle=KP,K.slice=YN,K.sortBy=QP,K.sortedUniq=eP,K.sortedUniqBy=tP,K.split=OI,K.spread=sA,K.tail=nP,K.take=rP,K.takeRight=oP,K.takeRightWhile=aP,K.takeWhile=iP,K.tap=_P,K.throttle=lA,K.thru=Rp,K.toArray=hy,K.toPairs=_y,K.toPairsIn=xy,K.toPath=hO,K.toPlainObject=gy,K.transform=fI,K.unary=cA,K.union=sP,K.unionBy=lP,K.unionWith=cP,K.uniq=uP,K.uniqBy=dP,K.uniqWith=fP,K.unset=pI,K.unzip=Nm,K.unzipWith=Jb,K.update=hI,K.updateWith=mI,K.values=Ac,K.valuesIn=gI,K.without=pP,K.words=Ey,K.wrap=uA,K.xor=hP,K.xorBy=mP,K.xorWith=gP,K.zip=vP,K.zipObject=wP,K.zipObjectDeep=bP,K.zipWith=yP,K.entries=_y,K.entriesIn=xy,K.extend=vy,K.extendWith=wy,Vm(K,K),K.add=gO,K.attempt=My,K.camelCase=yI,K.capitalize=Sy,K.ceil=vO,K.clamp=vI,K.clone=fA,K.cloneDeep=hA,K.cloneDeepWith=mA,K.cloneWith=pA,K.conformsTo=gA,K.deburr=Cy,K.defaultTo=KI,K.divide=wO,K.endsWith=_I,K.eq=fa,K.escape=xI,K.escapeRegExp=SI,K.every=PP,K.find=IP,K.findIndex=Gb,K.findKey=qA,K.findLast=OP,K.findLastIndex=Kb,K.findLastKey=UA,K.floor=bO,K.forEach=ty,K.forEachRight=ny,K.forIn=YA,K.forInRight=GA,K.forOwn=KA,K.forOwnRight=XA,K.get=$m,K.gt=vA,K.gte=wA,K.has=JA,K.hasIn=Dm,K.head=Zb,K.identity=Qr,K.includes=zP,K.indexOf=ON,K.inRange=wI,K.invoke=nI,K.isArguments=hl,K.isArray=Vt,K.isArrayBuffer=bA,K.isArrayLike=Xr,K.isArrayLikeObject=qn,K.isBoolean=yA,K.isBuffer=ds,K.isDate=_A,K.isElement=xA,K.isEmpty=SA,K.isEqual=CA,K.isEqualWith=EA,K.isError=Im,K.isFinite=MA,K.isFunction=ki,K.isInteger=uy,K.isLength=Ip,K.isMap=dy,K.isMatch=kA,K.isMatchWith=RA,K.isNaN=TA,K.isNative=NA,K.isNil=AA,K.isNull=PA,K.isNumber=fy,K.isObject=$n,K.isObjectLike=Vn,K.isPlainObject=ld,K.isRegExp=Om,K.isSafeInteger=IA,K.isSet=py,K.isString=Op,K.isSymbol=bo,K.isTypedArray=Pc,K.isUndefined=OA,K.isWeakMap=LA,K.isWeakSet=$A,K.join=zN,K.kebabCase=CI,K.last=Fo,K.lastIndexOf=FN,K.lowerCase=EI,K.lowerFirst=MI,K.lt=DA,K.lte=BA,K.max=yO,K.maxBy=_O,K.mean=xO,K.meanBy=SO,K.min=CO,K.minBy=EO,K.stubArray=Hm,K.stubFalse=Wm,K.stubObject=uO,K.stubString=dO,K.stubTrue=fO,K.multiply=MO,K.nth=VN,K.noConflict=nO,K.noop=jm,K.now=Np,K.pad=kI,K.padEnd=RI,K.padStart=TI,K.parseInt=NI,K.random=bI,K.reduce=WP,K.reduceRight=qP,K.repeat=PI,K.replace=AI,K.result=cI,K.round=kO,K.runInContext=_e,K.sample=YP,K.size=XP,K.snakeCase=II,K.some=ZP,K.sortedIndex=GN,K.sortedIndexBy=KN,K.sortedIndexOf=XN,K.sortedLastIndex=ZN,K.sortedLastIndexBy=QN,K.sortedLastIndexOf=JN,K.startCase=LI,K.startsWith=$I,K.subtract=RO,K.sum=TO,K.sumBy=NO,K.template=DI,K.times=pO,K.toFinite=Ri,K.toInteger=Ht,K.toLength=my,K.toLower=BI,K.toNumber=Vo,K.toSafeInteger=zA,K.toString=gn,K.toUpper=zI,K.trim=FI,K.trimEnd=VI,K.trimStart=jI,K.truncate=HI,K.unescape=WI,K.uniqueId=mO,K.upperCase=qI,K.upperFirst=Bm,K.each=ty,K.eachRight=ny,K.first=Zb,Vm(K,(function(){var c={};return Va(K,function(p,b){mn.call(K.prototype,b)||(c[b]=p)}),c})(),{chain:!1}),K.VERSION=r,yr(["bind","bindKey","curry","curryRight","partial","partialRight"],function(c){K[c].placeholder=K}),yr(["drop","take"],function(c,p){Jt.prototype[c]=function(b){b=b===n?1:nr(Ht(b),0);var N=this.__filtered__&&!p?new Jt(this):this.clone();return N.__filtered__?N.__takeCount__=xr(b,N.__takeCount__):N.__views__.push({size:xr(b,J),type:c+(N.__dir__<0?"Right":"")}),N},Jt.prototype[c+"Right"]=function(b){return this.reverse()[c](b).reverse()}}),yr(["filter","map","takeWhile"],function(c,p){var b=p+1,N=b==V||b==z;Jt.prototype[c]=function(W){var Q=this.clone();return Q.__iteratees__.push({iteratee:Et(W,3),type:b}),Q.__filtered__=Q.__filtered__||N,Q}}),yr(["head","last"],function(c,p){var b="take"+(p?"Right":"");Jt.prototype[c]=function(){return this[b](1).value()[0]}}),yr(["initial","tail"],function(c,p){var b="drop"+(p?"":"Right");Jt.prototype[c]=function(){return this.__filtered__?new Jt(this):this[b](1)}}),Jt.prototype.compact=function(){return this.filter(Qr)},Jt.prototype.find=function(c){return this.filter(c).head()},Jt.prototype.findLast=function(c){return this.reverse().find(c)},Jt.prototype.invokeMap=Kt(function(c,p){return typeof c=="function"?new Jt(this):this.map(function(b){return nd(b,c,p)})}),Jt.prototype.reject=function(c){return this.filter(Ap(Et(c)))},Jt.prototype.slice=function(c,p){c=Ht(c);var b=this;return b.__filtered__&&(c>0||p<0)?new Jt(b):(c<0?b=b.takeRight(-c):c&&(b=b.drop(c)),p!==n&&(p=Ht(p),b=p<0?b.dropRight(-p):b.take(p-c)),b)},Jt.prototype.takeRightWhile=function(c){return this.reverse().takeWhile(c).reverse()},Jt.prototype.toArray=function(){return this.take(J)},Va(Jt.prototype,function(c,p){var b=/^(?:filter|find|map|reject)|While$/.test(p),N=/^(?:head|last)$/.test(p),W=K[N?"take"+(p=="last"?"Right":""):p],Q=N||/^find/.test(p);W&&(K.prototype[p]=function(){var pe=this.__wrapped__,ve=N?[1]:arguments,xe=pe instanceof Jt,Ve=ve[0],je=xe||Vt(pe),We=function(Qt){var tn=W.apply(K,za([Qt],ve));return N&&Qe?tn[0]:tn};je&&b&&typeof Ve=="function"&&Ve.length!=1&&(xe=je=!1);var Qe=this.__chain__,dt=!!this.__actions__.length,Tt=Q&&!Qe,qt=xe&&!dt;if(!Q&&je){pe=qt?pe:new Jt(this);var xt=c.apply(pe,ve);return xt.__actions__.push({func:Rp,args:[We],thisArg:n}),new Do(xt,Qe)}return Tt&&qt?c.apply(this,ve):(xt=this.thru(We),Tt?N?xt.value()[0]:xt.value():xt)})}),yr(["pop","push","shift","sort","splice","unshift"],function(c){var p=ep[c],b=/^(?:push|sort|unshift)$/.test(c)?"tap":"thru",N=/^(?:pop|shift)$/.test(c);K.prototype[c]=function(){var W=arguments;if(N&&!this.__chain__){var Q=this.value();return p.apply(Vt(Q)?Q:[],W)}return this[b](function(pe){return p.apply(Vt(pe)?pe:[],W)})}}),Va(Jt.prototype,function(c,p){var b=K[p];if(b){var N=b.name+"";mn.call(Mc,N)||(Mc[N]=[]),Mc[N].push({name:p,func:b})}}),Mc[_p(n,S).name]=[{name:"wrapper",func:n}],Jt.prototype.clone=qR,Jt.prototype.reverse=UR,Jt.prototype.value=YR,K.prototype.at=xP,K.prototype.chain=SP,K.prototype.commit=CP,K.prototype.next=EP,K.prototype.plant=kP,K.prototype.reverse=RP,K.prototype.toJSON=K.prototype.valueOf=K.prototype.value=TP,K.prototype.first=K.prototype.head,Ku&&(K.prototype[Ku]=MP),K}),Sc=CR();yi?((yi.exports=Sc)._=Sc,Hu._=Sc):Ln._=Sc}).call(s$)})(jd,jd.exports)),jd.exports}var kn=l$();const c$=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",width:"1em",height:"1em",...t,children:[h("mask",{id:"a",width:"16",height:"16",x:"0",y:"0",maskUnits:"userSpaceOnUse",style:{maskType:"alpha"},children:h("path",{fill:"currentColor",d:"M2.054 5.055a.867.867 0 0 1 1.225 0L8 9.775l4.721-4.72a.867.867 0 0 1 1.226 1.225l-5.333 5.334a.867.867 0 0 1-1.226 0L2.054 6.28a.867.867 0 0 1 0-1.225"})}),h("g",{mask:"url(#a)",children:h("path",{fill:"currentColor",d:"M0 0h16v16H0z"})})]}),u$=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 26 26",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M8.213 3.336c-.55.55-.55 1.442 0 1.992l7.671 7.67-7.67 7.672a1.408 1.408 0 0 0 1.99 1.991l8.668-8.666c.55-.55.55-1.442 0-1.992l-8.667-8.667a1.41 1.41 0 0 0-1.992 0"})}),d$=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 26 26",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M17.787 3.336c.55.55.55 1.442 0 1.992l-7.671 7.67 7.67 7.672a1.409 1.409 0 0 1-1.99 1.991l-8.668-8.666a1.41 1.41 0 0 1 0-1.992l8.667-8.667c.55-.55 1.442-.55 1.992 0"})}),g7=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M13.113 4.387a.867.867 0 0 1 0 1.226l-6 6a.867.867 0 0 1-1.225 0l-3-3a.867.867 0 1 1 1.225-1.226L6.5 9.774l5.387-5.387a.867.867 0 0 1 1.226 0"})}),f$=(t={})=>h("svg",{fill:"currentColor","aria-label":"angles_left",viewBox:"0 0 14 14",width:"1em",height:"1em",...t,children:h("path",{d:"m6.679 11.775-3.884-4.26 3.882-4.262a.74.74 0 0 0 .195-.501.83.83 0 0 0-.227-.56c-.343-.277-.828-.25-1.109.058l-4.34 4.735a.74.74 0 0 0 0 1.002l4.313 4.763c.28.309.737.335 1.08.058.345-.246.37-.726.09-1.033m.645-4.79a.74.74 0 0 0 0 1.002l4.312 4.763c.281.309.738.335 1.081.058a.74.74 0 0 0 .06-1.061L8.923 7.514l3.881-4.26A.74.74 0 0 0 13 2.751a.83.83 0 0 0-.227-.56.775.775 0 0 0-1.08.058z"})}),p$=(t={})=>h("svg",{fill:"currentColor","aria-label":"angles_right",viewBox:"0 0 14 14",width:"1em",height:"1em",...t,children:h("path",{d:"M7.351 3.222 11.253 7.5l-3.899 4.25a.74.74 0 0 0-.196.5c0 .206.086.411.228.559a.783.783 0 0 0 1.086-.059L12.803 8a.733.733 0 0 0 0-1L8.472 2.25c-.283-.308-.741-.335-1.086-.058-.291.275-.317.752-.035 1.03M6.704 8a.733.733 0 0 0 0-1L2.343 2.25a.783.783 0 0 0-1.087-.059c-.317.276-.343.753-.06 1.03L5.097 7.5 1.2 11.75a.74.74 0 0 0-.197.5c0 .206.087.411.228.559a.783.783 0 0 0 1.086-.059z"})}),h$=(t={})=>h("svg",{fill:"currentColor","aria-label":"angle_left",viewBox:"0 0 14 14",width:"1em",height:"1em",...t,children:h("path",{d:"m8.699 12.766-4.493-4.75a.746.746 0 0 1 0-1.031l4.493-4.75a.757.757 0 0 1 1.065-.03.747.747 0 0 1 .03 1.06L5.761 7.5l4.031 4.235a.747.747 0 0 1-.03 1.06.76.76 0 0 1-1.064-.029"})}),m$=(t={})=>h("svg",{fill:"currentColor","aria-label":"angle_right",viewBox:"0 0 14 14",width:"1em",height:"1em",...t,children:h("path",{d:"m5.301 2.234 4.493 4.75a.746.746 0 0 1 0 1.032l-4.493 4.75a.757.757 0 0 1-1.065.029.747.747 0 0 1-.03-1.061l4.032-4.235-4.031-4.235a.745.745 0 0 1 .03-1.059.757.757 0 0 1 1.064.03"})}),Yy=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.529 5.529c.26-.26.682-.26.942 0L16 15.057l9.529-9.528a.667.667 0 1 1 .942.942L16.943 16l9.528 9.529a.667.667 0 1 1-.943.942L16 16.943 6.47 26.47a.667.667 0 0 1-.942-.942L15.057 16 5.53 6.471a.667.667 0 0 1 0-.942",clipRule:"evenodd"})}),Gy=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 400 400",width:"1em",height:"1em",...t,children:[h("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeOpacity:".9",strokeWidth:"16",d:"M35 262c125.529-121.062 293.006-54.715 326-46.482"}),h("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeOpacity:".9",strokeWidth:"16",d:"M343.69 143Q361 213.933 361 216.177c0 2.244-33.512 17.953-49 41.823"})]}),hhe=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",fillRule:"evenodd",d:"m10.667 6.134-.502-.355A4.24 4.24 0 0 0 7.715 5h-.612c-.405 0-.813.025-1.194.16-2.383.846-4.022 3.935-3.903 10.943.024 1.412.354 2.972 1.628 3.581A3.2 3.2 0 0 0 5.027 20a2.74 2.74 0 0 0 1.53-.437c.41-.268.77-.616 1.13-.964.444-.43.888-.86 1.424-1.138a4.1 4.1 0 0 1 1.89-.461H13c.658 0 1.306.158 1.89.46.536.279.98.709 1.425 1.139.36.348.72.696 1.128.964.39.256.895.437 1.531.437a3.2 3.2 0 0 0 1.393-.316c1.274-.609 1.604-2.17 1.628-3.581.119-7.008-1.52-10.097-3.903-10.942C17.71 5.025 17.3 5 16.897 5h-.612a4.24 4.24 0 0 0-2.45.78l-.502.354a2.31 2.31 0 0 1-2.666 0M16.75 9a.75.75 0 1 1 0 1.5.75.75 0 0 1 0-1.5m-9.25.25a.75.75 0 0 1 .75.75v.75H9a.75.75 0 0 1 0 1.5h-.75V13a.75.75 0 0 1-1.5 0v-.75H6a.75.75 0 0 1 0-1.5h.75V10a.75.75 0 0 1 .75-.75m11.5 2a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0m-3.75.75a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5m2.25.75a.75.75 0 1 0-1.5 0 .75.75 0 0 0 1.5 0",clipRule:"evenodd"})}),v7=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 10 2",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",fillRule:"evenodd",d:"M.133 1C.133.521.521.133 1 .133h8a.867.867 0 1 1 0 1.734H1A.867.867 0 0 1 .133 1",clipRule:"evenodd"})}),g$=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2.5",className:"lucide lucide-circle-x-icon lucide-circle-x",viewBox:"0 0 24 24",width:"1em",height:"1em",...t,children:[h("circle",{cx:"12",cy:"12",r:"10"}),h("path",{d:"m15 9-6 6M9 9l6 6"})]}),v$=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 20 20",width:"1em",height:"1em",...t,children:[h("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.667",d:"M4.167 9.287a5.12 5.12 0 1 1 10.24-.001 5.12 5.12 0 0 1-10.24.001",className:"stroke",clipRule:"evenodd"}),h("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.667",d:"m12.908 12.908 2.926 2.926",className:"stroke"})]}),w$=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"currentColor",d:"m18.776 17.89 7.494 7.495a.667.667 0 1 1-.943.943l-7.494-7.495z"}),h("path",{fill:"currentColor",fillRule:"evenodd",d:"M13.333 20a6.667 6.667 0 1 0 0-13.333 6.667 6.667 0 0 0 0 13.333m0 1.333a8 8 0 1 0 0-16 8 8 0 0 0 0 16",clipRule:"evenodd"})]}),b$=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 10 12",width:"1em",height:"1em",...t,children:[h("path",{fill:"currentColor",d:"M5.707 11.293a1 1 0 0 1-1.414 0L1.28 8.28A.75.75 0 0 1 1.81 7h6.38a.75.75 0 0 1 .53 1.28z",className:"inactive"}),h("path",{fill:"currentColor",fillOpacity:".16",d:"M4.293.707a1 1 0 0 1 1.414 0L8.72 3.72A.75.75 0 0 1 8.19 5H1.81a.75.75 0 0 1-.53-1.28z",className:"active"})]}),y$=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 10 12",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",fillOpacity:".16",d:"M5.707.707a1 1 0 0 0-1.414 0L1.28 3.72A.75.75 0 0 0 1.81 5h6.38a.75.75 0 0 0 .53-1.28zM4.293 11.293a1 1 0 0 0 1.414 0L8.72 8.28A.75.75 0 0 0 8.19 7H1.81a.75.75 0 0 0-.53 1.28z",className:"inactive"})}),_$=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 10 12",width:"1em",height:"1em",...t,children:[h("path",{fill:"currentColor",fillOpacity:".16",d:"M5.707 11.293a1 1 0 0 1-1.414 0L1.28 8.28A.75.75 0 0 1 1.81 7h6.38a.75.75 0 0 1 .53 1.28z",className:"active"}),h("path",{fill:"currentColor",d:"M4.293.707a1 1 0 0 1 1.414 0L8.72 3.72A.75.75 0 0 1 8.19 5H1.81a.75.75 0 0 1-.53-1.28z",className:"inactive"})]}),w7=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",width:"1em",height:"1em",...t,children:h("path",{d:"M5.317 2.367c1.105-2.212 4.26-2.212 5.366 0L16 13H0z"})}),x$=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 448 512",width:"1em",height:"1em",...t,children:h("path",{d:"M207.029 381.476 12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0"})}),S$=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 320 512",width:"1em",height:"1em",...t,children:h("path",{d:"M34.52 239.03 228.87 44.69c9.37-9.37 24.57-9.37 33.94 0l22.67 22.67c9.36 9.36 9.37 24.52.04 33.9L131.49 256l154.02 154.75c9.34 9.38 9.32 24.54-.04 33.9l-22.67 22.67c-9.37 9.37-24.57 9.37-33.94 0L34.52 272.97c-9.37-9.37-9.37-24.57 0-33.94"})}),C$=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 320 512",width:"1em",height:"1em",...t,children:h("path",{d:"M285.476 272.971 91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941"})}),E$=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 448 512",width:"1em",height:"1em",...t,children:h("path",{d:"m240.971 130.524 194.343 194.343c9.373 9.373 9.373 24.569 0 33.941l-22.667 22.667c-9.357 9.357-24.522 9.375-33.901.04L224 227.495 69.255 381.516c-9.379 9.335-24.544 9.317-33.901-.04l-22.667-22.667c-9.373-9.373-9.373-24.569 0-33.941L207.03 130.525c9.372-9.373 24.568-9.373 33.941-.001"})}),M$=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 18 12",width:"1em",height:"1em",...t,children:h("path",{stroke:"currentColor",strokeWidth:"2",d:"M15.86 1.999 9 8.859l-6.86-6.86"})}),k$=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 18 12",width:"1em",height:"1em",...t,children:h("path",{stroke:"currentColor",strokeWidth:"2",d:"m2.139 10.002 6.86-6.86 6.86 6.86"})}),R$=me("group text-fg-default relative inline-flex items-center justify-start select-none",{variants:{size:{xs:"gap-1",xs2:"gap-1",sm:"gap-1",md:"gap-1_5"},disabled:{true:"text-fg-disabled pointer-events-none cursor-not-allowed",false:"cursor-pointer"},readOnly:{true:"pointer-events-none cursor-not-allowed",false:""}},defaultVariants:{size:"sm",disabled:!1,readOnly:!1}}),T$=me("relative inline-flex shrink-0 cursor-pointer items-center justify-center overflow-visible",{variants:{size:{xs:"size-5",xs2:"size-6",sm:"size-7",md:"size-8"}},defaultVariants:{size:"sm"}}),N$=me("absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 rounded-sm duration-200 ease-out",{variants:{size:{xs:"size-3 border",xs2:"size-3.5 border",sm:"size-4 border",md:"size-5 border"},selectedState:{unselected:"",partial:"border-transparent",selected:"border-transparent"},disabled:{true:"border-disabled bg-fill-disabled border",false:""}},compoundVariants:[{selectedState:"unselected",disabled:!1,className:"bg-fill-control-surface border-subtle"},{selectedState:"unselected",disabled:!0,className:"bg-fill-disabled border-disabled"},{selectedState:"partial",disabled:!1,className:"bg-fill-brand"},{selectedState:"selected",disabled:!1,className:"bg-fill-brand"},{selectedState:"partial",disabled:!0,className:"bg-fill-disabled"},{selectedState:"selected",disabled:!0,className:"bg-fill-disabled"}],defaultVariants:{size:"sm",selectedState:"unselected",disabled:!1}}),P$=me("absolute top-1/2 left-1/2 m-auto inline-flex -translate-x-1/2 -translate-y-1/2 text-white duration-200 ease-out",{variants:{size:{xs:"size-3",xs2:"size-3.5",sm:"size-4",md:"size-5"},visible:{true:"scale-100 opacity-100",false:"scale-0 opacity-0"},disabled:{true:"text-fg-disabled",false:""}},defaultVariants:{size:"sm",visible:!1,disabled:!1}}),A$=me("absolute top-1/2 left-1/2 m-auto inline-flex -translate-x-1/2 -translate-y-1/2 text-white duration-200 ease-out",{variants:{size:{xs:"size-2.5",xs2:"size-3",sm:"size-3",md:"size-4"},visible:{true:"scale-100 opacity-100",false:"scale-0 opacity-0"},disabled:{true:"text-fg-disabled",false:""}},defaultVariants:{size:"sm",visible:!1,disabled:!1}}),I$=me("cursor-inherit inline-flex touch-manipulation items-center",{variants:{size:{xs:"typo-compact-xs-normal",xs2:"typo-compact-xs2-normal",sm:"typo-compact-xs2-normal",md:"typo-compact-sm2-normal"},disabled:{true:"text-fg-disabled",false:"text-fg-default"}},defaultVariants:{size:"sm",disabled:!1}}),O$=me("inline-flex items-center select-none"),{forwardRef:L$,useCallback:$$,useEffect:Ky,useId:D$,useImperativeHandle:B$,useMemo:Xy,useRef:z$}=await q("react"),ow=L$((t,e)=>{const{className:n="",name:r,size:o,checkValue:a=!0,unCheckValue:i=!1,value:s,children:l,disabled:u,readOnly:d,onChange:f,onBlur:m,onFocus:v,onClick:g,tabIndex:w,handleChange:y}=t,_=z$(null),S=D$(),x=Xy(()=>{if(!(typeof s>"u"))return Array.isArray(a)&&Array.isArray(s)?s.length===a.length&&s.every(O=>a.includes(O)):Array.isArray(s)?s.includes(a):s===a},[s,a]),C=Xy(()=>x?!1:Array.isArray(a)&&Array.isArray(s)?s.length!==a.length&&s.some(O=>a.includes(O)):!1,[x,a,s]),M=$$(O=>{const{name:D,checked:T}=O.target,R=`input[name="${D}"]`,$=document.querySelectorAll(R);if(Array.isArray(a)&&Array.isArray(s)){y?.(s.length>0?[]:a,D);return}if($.length>1||Array.isArray(s)){const P=document.querySelectorAll(`${R}:checked`);let I=[];const L=a,V=s?[...s]:void 0;for(let F=0;F<P.length;F+=1){const z=typeof a=="number"?Number(P[F].value):P[F].value;I.findIndex(Y=>Y===z)===-1&&I.push(z)}V&&typeof L<"u"&&V.push(L),I=V?V.filter(F=>I.includes(F)):kn.uniq(I),y?.(I,D)}else y?.(T?a:i,D);f?.(O)},[s,i,y,f,a]);Ky(()=>{const O=`input[name="${r||S}"]`;if(document.querySelectorAll(O).length>1||Array.isArray(s)){if(typeof a=="boolean")throw new Error("여러개의 동일한 name 값을 갖거나 data가 배열로 전달된 CheckBox는 boolean타입의 value를 받을 수 없습니다.")}else if(Array.isArray(s))throw new Error("단일의 name 값을 갖는 CheckBox는 배열 타입의 data를 가질 수 없습니다.")},[s,r,S,a]),Ky(()=>{_.current&&(_.current.indeterminate=C)},[C]),B$(e,()=>_.current);let A="unselected";return C?A="partial":x&&(A="selected"),h("div",{"data-slot":"checkbox-root",className:se(R$({size:o,disabled:u,readOnly:d}),n),children:ne("label",{"data-slot":"checkbox-label","data-pad-focus":"true",className:I$({size:o,disabled:u}),onClick:g,children:[h("input",{ref:_,type:"checkbox",name:Array.isArray(a)?S:r||S,value:String(a),checked:x,readOnly:d,disabled:u,tabIndex:w,onBlur:m,onFocus:v,onChange:M,className:"peer pointer-events-none sr-only"}),ne("span",{className:se("ico-check",T$({size:o})),children:[h("span",{"data-slot":"checkbox-surface",className:N$({size:o,selectedState:A,disabled:u})}),C?h(v7,{className:A$({size:o,visible:C,disabled:u})}):h(g7,{className:P$({size:o,visible:!!x,disabled:u})})]}),h("span",{className:se("text",O$()),children:l})]})})});ow.displayName="CheckBox";const F$=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"m20.583 3.003 6 .5a1 1 0 1 1-.166 1.993l-5.412-.452-2.322 3.483 2.354 3.925 5.38-.448a1 1 0 1 1 .166 1.992l-6 .5a1 1 0 0 1-.94-.482L16.933 9.5h-5.059a4 4 0 0 1-1.272 2.035L13 19h13a2 2 0 0 1 2 2v6a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-6a2 2 0 0 1 2-2h5l-2.194-6.582q-.391.08-.806.082a4 4 0 1 1 3.874-5h5.09l2.704-4.055.082-.108a1 1 0 0 1 .833-.334M6 27.001h20v-6H6zM8 6.5a2 2 0 1 0 0 4 2 2 0 0 0 0-4"})}),V$=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M29 23a1 1 0 0 1-2 0 11 11 0 0 0-18.777-7.777L5.425 18H11a1 1 0 1 1 0 2H3a1 1 0 0 1-1-1v-8a1 1 0 1 1 2 0v5.596l2.81-2.791A13 13 0 0 1 29 23"})}),j$=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M30 11v8a1 1 0 0 1-1 1h-8a1 1 0 0 1 0-2h5.575l-2.795-2.776A11 11 0 0 0 5 23a1 1 0 1 1-2 0 13 13 0 0 1 22.193-9.192L28 16.595V11a1 1 0 0 1 2 0"})}),H$=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M16.004 3.701c6.792 0 12.299 5.507 12.299 12.299s-5.507 12.298-12.299 12.298c-5.6 0-10.323-3.742-11.81-8.86a1 1 0 0 1 1.92-.558c1.245 4.287 5.204 7.418 9.89 7.418 5.688 0 10.299-4.61 10.299-10.298S21.692 5.701 16.004 5.701A10.27 10.27 0 0 0 8.45 9H11a1 1 0 0 1 0 2H6a1 1 0 0 1-1-1V5a1 1 0 0 1 2 0v2.623a12.27 12.27 0 0 1 9.004-3.922"})}),W$=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"m25.708 18.708-9 9a1 1 0 0 1-1.415 0l-9-9a1 1 0 1 1 1.415-1.415L15 24.586V5a1 1 0 1 1 2 0v19.586l7.293-7.293a1 1 0 1 1 1.415 1.415"})}),q$=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M28 16a1 1 0 0 1-1 1H7.414l7.294 7.292a1 1 0 0 1-1.415 1.415l-9-9a1 1 0 0 1 0-1.415l9-9a1 1 0 1 1 1.415 1.415L7.414 15H27a1 1 0 0 1 1 1"})}),U$=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M26 7v5a1 1 0 0 1-2 0V9.414L17.414 16 24 22.586V20a1 1 0 0 1 2 0v5a1 1 0 0 1-1 1h-5a1 1 0 0 1 0-2h2.586L16 17.414 9.414 24H12a1 1 0 0 1 0 2H7a1 1 0 0 1-1-1v-5a1 1 0 1 1 2 0v2.586L14.586 16 8 9.414V12a1 1 0 1 1-2 0V7a1 1 0 0 1 1-1h5a1 1 0 1 1 0 2H9.414L16 14.586 22.586 8H20a1 1 0 1 1 0-2h5a1 1 0 0 1 1 1"})}),Y$=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"m27.708 16.707-9 9a1 1 0 1 1-1.415-1.415L24.586 17H5a1 1 0 1 1 0-2h19.586l-7.293-7.293a1 1 0 0 1 1.415-1.415l9 9a1 1 0 0 1 0 1.415"})}),G$=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"m25.708 13.293-9-9a1 1 0 0 0-1.415 0l-9 9a1 1 0 1 0 1.415 1.415L15 7.414V27a1 1 0 1 0 2 0V7.414l7.293 7.294a1 1 0 1 0 1.415-1.415"})}),K$=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"m11.929 10.515 9.556 9.556a1 1 0 0 1-1.414 1.414l-9.556-9.556a1 1 0 1 1 1.414-1.414m-4.414 7.313a1 1 0 1 0 0 2.001h3.243l-5.365 5.363a1 1 0 1 0 1.415 1.415l5.364-5.365v3.243a1 1 0 0 0 2 0v-5.657a1 1 0 0 0-1-1zM25.193 5.393l-5.365 5.365.001-3.243a1 1 0 0 0-2.001 0v5.657a1 1 0 0 0 1 1h5.657a1 1 0 1 0 0-2.001h-3.243l5.365-5.363a1 1 0 0 0-1.415-1.415"})}),X$=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"m26.708 22.707-4 4a1 1 0 1 1-1.415-1.415L23.586 23H6a1 1 0 1 1 0-2h17.586l-2.293-2.293a1 1 0 1 1 1.415-1.415l4 4a1 1 0 0 1 0 1.415m-17.415-8a1 1 0 1 0 1.415-1.415L8.414 11H26a1 1 0 1 0 0-2H8.414l2.294-2.293a1 1 0 0 0-1.415-1.415l-4 4a1 1 0 0 0 0 1.415z"})}),Z$=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M27 6v6a1 1 0 0 1-2 0V8.414l-6.292 6.294a1 1 0 1 1-1.415-1.415L23.586 7H20a1 1 0 1 1 0-2h6a1 1 0 0 1 1 1M13.293 17.293 7 23.586V20a1 1 0 1 0-2 0v6a1 1 0 0 0 1 1h6a1 1 0 0 0 0-2H8.414l6.294-6.292a1 1 0 1 0-1.415-1.415"})}),aw=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M27 6H9.566a2.01 2.01 0 0 0-1.715.971l-6.708 8.514a1 1 0 0 0 0 1.03l6.708 8.514A2.01 2.01 0 0 0 9.566 26H27a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2m0 18H9.566l-6.4-8 6.4-8H27zm-13.707-5.707L15.586 16l-2.293-2.293a1 1 0 1 1 1.415-1.415L17 14.587l2.293-2.293a1 1 0 0 1 1.415 1.415L18.414 16l2.294 2.293a1 1 0 0 1-1.415 1.415L17 17.414l-2.292 2.293a1 1 0 0 1-1.415-1.415"})}),Q$=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("g",{clipPath:"url(#a)",children:h("path",{fill:"currentColor",d:"M15 7v6a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2m10-2h-6a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2M13 17H7a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2v-6a2 2 0 0 0-2-2m12 0h-6a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2v-6a2 2 0 0 0-2-2"})}),h("defs",{children:h("clipPath",{id:"a",children:h("path",{fill:"currentColor",d:"M0 0h32v32H0z"})})})]}),J$=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",viewBox:"0 0 24 24",width:"1em",height:"1em",...t,children:h("path",{d:"m12 3 8 4.5v9L12 21l-8-4.5v-9zM12 12l8-4.5M12 12v9M12 12 4 7.5"})}),eD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M28 15h-2v-2h2a1 1 0 0 1 0 2M4 13a1 1 0 0 0 0 2h2v-2zm22 7q0 .506-.05 1H28a1 1 0 0 1 0 2h-2.46a10 10 0 0 1-19.08 0H4a1 1 0 1 1 0-2h2.05q-.049-.494-.05-1v-1H4a1 1 0 1 1 0-2h2v-2h20v2h2a1 1 0 0 1 0 2h-2zm-9-2a1 1 0 0 0-2 0v8a1 1 0 0 0 2 0zM8.73 7.144A9.97 9.97 0 0 0 6.05 13h19.9a9.97 9.97 0 0 0-2.68-5.856l2.438-2.437a1 1 0 0 0-1.415-1.415L21.756 5.83a9.97 9.97 0 0 0-11.512 0L7.708 3.292a1 1 0 1 0-1.415 1.415z"})}),tD=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"currentColor",fillOpacity:".4",d:"M29 16c0 7.18-5.82 13-13 13S3 23.18 3 16 8.82 3 16 3s13 5.82 13 13"}),h("path",{fill:"currentColor",d:"M23 16a7 7 0 1 1-14 0 7 7 0 0 1 14 0"})]}),iw=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M26 4h-3V3a1 1 0 0 0-2 0v1H11V3a1 1 0 0 0-2 0v1H6a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2M9 6v1a1 1 0 0 0 2 0V6h10v1a1 1 0 0 0 2 0V6h3v4H6V6zm17 20H6V12h20z"})}),b7=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M31.471 9.125a1 1 0 0 0-1.026.049L26 12.13V9a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2v-3.125l4.445 2.964A1 1 0 0 0 31 23a1 1 0 0 0 1-1V10a1 1 0 0 0-.529-.875M24 23H4V9h20zm6-2.869-4-2.666v-2.93l4-2.66z"})}),nD=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"currentColor",d:"M12 10.612a1 1 0 0 1 1 1v.341a5.525 5.525 0 1 1-1.938 7.107 1 1 0 0 1 1.789-.895 3.526 3.526 0 1 0 1.268-4.553H15a1 1 0 0 1 0 2h-3a1 1 0 0 1-1-1v-3a1 1 0 0 1 1-1"}),h("path",{fill:"currentColor",fillRule:"evenodd",d:"M20 4a1 1 0 0 1 .831.445L22.535 7H26a3 3 0 0 1 3 3v14a3 3 0 0 1-3 3H6a3 3 0 0 1-3-3V10a3 3 0 0 1 3-3h3.464l1.705-2.555A1 1 0 0 1 12 4zm-9.168 4.555A1 1 0 0 1 10 9H6a1 1 0 0 0-1 1v14a1 1 0 0 0 1 1h20a1 1 0 0 0 1-1V10a1 1 0 0 0-1-1h-4a1 1 0 0 1-.832-.445L19.464 6h-6.929z",clipRule:"evenodd"})]}),y7=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"m26.708 12.708-10 10a1 1 0 0 1-1.415 0l-10-10A1 1 0 0 1 6 11h20a1 1 0 0 1 .708 1.707"})}),_7=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M22 6v20a1 1 0 0 1-1.707.708l-10-10a1 1 0 0 1 0-1.415l10-10a1 1 0 0 1 1.708.708"})}),x7=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"m22.708 16.708-10 10A1 1 0 0 1 11 26V6a1 1 0 0 1 1.707-.707l10 10a1 1 0 0 1 0 1.415"})}),S7=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M22 19H10a1 1 0 0 0-.707 1.707l6 6a1 1 0 0 0 1.415 0l6-6A1 1 0 0 0 22 19M9.076 12.383a1 1 0 0 1 .217-1.09l6-6a1 1 0 0 1 1.415 0l6 6A1 1 0 0 1 22 13H10a1 1 0 0 1-.924-.617"})}),C7=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M26.924 20.383A1 1 0 0 1 26 21H6a1.001 1.001 0 0 1-.707-1.707l10-10a1 1 0 0 1 1.415 0l10 10a1 1 0 0 1 .216 1.09"})}),rD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{stroke:"currentColor",strokeLinejoin:"round",strokeWidth:"2",d:"M6 17 20 2l-2 10 8 3-14 15 1-10z"})}),oD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"m26.731 15.683-14 15a1 1 0 0 1-1.711-.875l1.832-9.167-7.203-2.705a1 1 0 0 1-.375-1.625l14-15a1 1 0 0 1 1.71.875l-1.837 9.177 7.204 2.7a1 1 0 0 1 .375 1.62z"})}),aD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M21.708 12.293a1 1 0 0 1 0 1.415l-7 7a1 1 0 0 1-1.415 0l-3-3a1 1 0 0 1 1.415-1.415L14 18.586l6.293-6.293a1 1 0 0 1 1.415 0M29 16A13 13 0 1 1 16 3a13.014 13.014 0 0 1 13 13m-2 0a11 11 0 1 0-11 11 11.01 11.01 0 0 0 11-11"})}),Ys=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"m28.708 9.708-16 16a1 1 0 0 1-1.415 0l-7-7a1 1 0 1 1 1.415-1.415L12 23.586 27.293 8.293a1 1 0 1 1 1.415 1.415"})}),nh=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("g",{clipPath:"url(#a)",children:h("path",{fill:"currentColor",d:"m26.708 12.707-10 10a1 1 0 0 1-1.415 0l-10-10a1 1 0 1 1 1.415-1.415L16 20.586l9.293-9.294a1 1 0 0 1 1.631.325 1 1 0 0 1-.216 1.09"})}),h("defs",{children:h("clipPath",{id:"a",children:h("path",{fill:"currentColor",d:"M0 0h32v32H0z"})})})]}),rh=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("g",{clipPath:"url(#a)",children:h("path",{fill:"currentColor",d:"M20.708 25.292a1 1 0 0 1-1.415 1.415l-10-10a1 1 0 0 1 0-1.415l10-10a1 1 0 1 1 1.415 1.415L11.414 16z"})}),h("defs",{children:h("clipPath",{id:"a",children:h("path",{fill:"currentColor",d:"M0 0h32v32H0z"})})})]}),E7=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("g",{clipPath:"url(#a)",children:h("path",{fill:"currentColor",d:"M25.708 25.292a1 1 0 0 1-1.415 1.415l-10-10a1 1 0 0 1 0-1.415l10-10a1 1 0 1 1 1.415 1.415L16.414 16zM6.414 16l9.294-9.293a1 1 0 0 0-1.415-1.415l-10 10a1 1 0 0 0 0 1.415l10 10a1 1 0 0 0 1.415 0 1 1 0 0 0 0-1.415z"})}),h("defs",{children:h("clipPath",{id:"a",children:h("path",{fill:"currentColor",d:"M0 0h32v32H0z"})})})]}),Pu=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("g",{clipPath:"url(#a)",children:h("path",{fill:"currentColor",d:"m22.708 16.707-10 10a1 1 0 0 1-1.415 0 1 1 0 0 1 0-1.415L20.586 16l-9.293-9.293a1 1 0 1 1 1.415-1.415l10 10a1 1 0 0 1 0 1.415"})}),h("defs",{children:h("clipPath",{id:"a",children:h("path",{fill:"currentColor",d:"M0 0h32v32H0z"})})})]}),M7=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("g",{clipPath:"url(#a)",children:h("path",{fill:"currentColor",d:"M6.292 25.292A1.002 1.002 0 0 0 7 27a1 1 0 0 0 .707-.293l10-10a1 1 0 0 0 0-1.415l-10-10a1 1 0 1 0-1.415 1.415L15.586 16zM25.586 16l-9.294-9.293a1 1 0 0 1 1.415-1.415l10 10a1 1 0 0 1 0 1.415l-10 10a1 1 0 0 1-1.415 0 1 1 0 0 1 0-1.415z"})}),h("defs",{children:h("clipPath",{id:"a",children:h("path",{fill:"currentColor",d:"M0 0h32v32H0z"})})})]}),sw=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("g",{clipPath:"url(#a)",children:h("path",{fill:"currentColor",d:"M26.708 20.708a1 1 0 0 1-1.415 0L16 11.414l-9.292 9.294a1 1 0 0 1-1.415-1.415l10-10a1 1 0 0 1 1.415 0l10 10a1 1 0 0 1 0 1.415"})}),h("defs",{children:h("clipPath",{id:"a",children:h("path",{fill:"currentColor",d:"M0 0h32v32H0z"})})})]}),iD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M12.032 4.631a1 1 0 0 1 .718-1.22c2.132-.55 4.368-.55 6.5 0a1 1 0 1 1-.5 1.937 11 11 0 0 0-5.5 0 1 1 0 0 1-1.218-.717M6.724 6.893a13 13 0 0 0-3.25 5.625 1 1 0 1 0 1.927.533 11 11 0 0 1 2.75-4.761 1 1 0 0 0-1.427-1.397M5.4 18.943a1 1 0 1 0-1.927.536 13 13 0 0 0 3.25 5.625A1 1 0 0 0 8.15 23.7 11 11 0 0 1 5.4 18.944m13.349 7.71a11 11 0 0 1-5.5 0 1 1 0 1 0-.5 1.936c2.132.55 4.368.55 6.5 0a1 1 0 0 0-.5-1.936m9.081-8.403a1 1 0 0 0-1.231.698 11 11 0 0 1-2.75 4.76 1 1 0 0 0 1.427 1.4 13 13 0 0 0 3.25-5.624 1 1 0 0 0-.696-1.234M26.6 13.057a1 1 0 1 0 1.927-.534 13 13 0 0 0-3.25-5.625A1 1 0 1 0 23.85 8.3a11 11 0 0 1 2.749 4.756z"})}),sD=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"currentColor",fillOpacity:".4",d:"M16 3a13 13 0 1 0 13 13A13.013 13.013 0 0 0 16 3m0 24a11 11 0 1 1 11-11 11.01 11.01 0 0 1-11 11"}),h("path",{fill:"currentColor",d:"M3 16c0-3.073 1.068-5.9 2.852-8.125a1 1 0 0 1 1.56 1.25A10.95 10.95 0 0 0 5 16c0 6.075 4.925 11 11 11s11-4.925 11-11a1 1 0 1 1 2 0c0 7.18-5.82 13-13 13S3 23.18 3 16"})]}),lD=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{stroke:"currentColor",strokeLinecap:"round",strokeWidth:"2",d:"m12 20 4.21-4.21L20 12M12 12l4.21 4.21L20 20"}),h("circle",{cx:"16",cy:"16",r:"12",stroke:"currentColor",strokeWidth:"2"})]}),k7=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("g",{clipPath:"url(#a)",children:h("path",{fill:"currentColor",d:"M16 3a13 13 0 1 0 13 13A13.013 13.013 0 0 0 16 3m4.708 16.293a1 1 0 0 1-1.415 1.415L16 17.414l-3.293 3.293a1 1 0 0 1-1.415-1.415L14.587 16l-3.293-3.293a1 1 0 1 1 1.415-1.415L16 14.587l3.293-3.293a1 1 0 0 1 1.415 1.415L17.414 16z"})}),h("defs",{children:h("clipPath",{id:"a",children:h("path",{fill:"currentColor",d:"M0 0h32v32H0z"})})})]}),cD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M21 19a1 1 0 0 1-1 1h-8a1 1 0 1 1 0-2h8a1 1 0 0 1 1 1m-1-5h-8a1 1 0 0 0 0 2h8a1 1 0 1 0 0-2m7-8v21a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h4.533a5.99 5.99 0 0 1 8.935 0H25a2 2 0 0 1 2 2M12 8h8a4 4 0 1 0-8 0m13-2h-3.344A6 6 0 0 1 22 8v1a1 1 0 0 1-1 1H11a1 1 0 0 1-1-1V8c0-.681.116-1.358.344-2H7v21h18z"})}),uD=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("circle",{cx:"16",cy:"16",r:"12",stroke:"currentColor",strokeWidth:"2"}),h("rect",{width:"2",height:"8",x:"23",y:"16",fill:"currentColor",rx:"1",transform:"rotate(90 23 16)"}),h("rect",{width:"2",height:"9",x:"15",y:"9",fill:"currentColor",rx:"1"})]}),dD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M11.666 8.753 3.506 16l8.155 7.248a1.003 1.003 0 0 1-.225 1.65 1 1 0 0 1-1.102-.15L1.338 16.75a1 1 0 0 1 0-1.5l8.996-7.998a1.004 1.004 0 1 1 1.332 1.5m18.99 6.498-8.995-7.998a1 1 0 1 0-1.327 1.5L28.494 16l-8.155 7.248a1.003 1.003 0 0 0 .225 1.65 1 1 0 0 0 1.102-.15l8.996-7.998a1 1 0 0 0 0-1.5z"})}),fD=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"currentColor",d:"M16 4c6.627 0 12 5.373 12 12s-5.373 12-12 12S4 22.627 4 16 9.373 4 16 4m6.933 7.605a.93.93 0 0 0-1.312-.002l-7.448 7.449-3.707-3.708a.929.929 0 0 0-1.313 1.312l4.365 4.364a.927.927 0 0 0 1.311 0l8.105-8.104a.93.93 0 0 0-.001-1.312"}),h("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.855",d:"m9.81 16 4.363 4.364 8.104-8.104"})]}),R7=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M27 4H11a1 1 0 0 0-1 1v5H5a1 1 0 0 0-1 1v16a1 1 0 0 0 1 1h16a1 1 0 0 0 1-1v-5h5a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1m-7 22H6V12h14zm6-6h-4v-9a1 1 0 0 0-1-1h-9V6h14z"})}),pD=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",viewBox:"0 0 24 24",width:"1em",height:"1em",...t,children:[h("ellipse",{cx:"12",cy:"6",rx:"8",ry:"3"}),h("path",{d:"M4 6v12c0 1.66 3.58 3 8 3s8-1.34 8-3V6"})]}),T7=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M27 24a1 1 0 0 1 1 1v2a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1v-2a1 1 0 0 1 1-1zM19.559 10a2 2 0 0 1 1.897 1.367L25 22H7l3.544-10.633A2 2 0 0 1 12.442 10zM3.293 5.293a1 1 0 0 1 1.414 0l3 3a1 1 0 0 1-1.414 1.414l-3-3a1 1 0 0 1 0-1.414M27.293 5.293a1 1 0 0 1 1.414 1.414l-3 3a1 1 0 0 1-1.414-1.414zM16 1a1 1 0 0 1 1 1v4a1 1 0 0 1-2 0V2a1 1 0 0 1 1-1"})}),hD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M26 5H6a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h9v2h-3a1 1 0 0 0 0 2h8a1 1 0 0 0 0-2h-3v-2h9a3 3 0 0 0 3-3V8a3 3 0 0 0-3-3M6 7h20a1 1 0 0 1 1 1v10H5V8a1 1 0 0 1 1-1m20 16H6a1 1 0 0 1-1-1v-2h22v2a1 1 0 0 1-1 1"})}),mD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"m26.74 26.328-20-22a1 1 0 1 0-1.48 1.345L7 7.586V27a3 3 0 0 0 3 3h12a3 3 0 0 0 2.977-2.639l.283.311a1 1 0 1 0 1.48-1.344M23 27a1 1 0 0 1-1 1H10a1 1 0 0 1-1-1V9.786l14 15.4zM8.588 3a1 1 0 0 1 1-1H22a3 3 0 0 1 3 3v13.854a1 1 0 1 1-2 0V5a1 1 0 0 0-1-1H9.588a1 1 0 0 1-1-1"})}),N7=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M9.5 11.5a2 2 0 1 1-4 0 2 2 0 0 1 4 0m6.5-2a2 2 0 1 0 0 4 2 2 0 0 0 0-4m8.5 4a2 2 0 1 0 0-4 2 2 0 0 0 0 4m-17 5a2 2 0 1 0 0 4 2 2 0 0 0 0-4m8.5 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4m8.5 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4"})}),gD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M28.125 10.05 22.95 4.875a3 3 0 0 0-4.243 0L3.875 19.708a3 3 0 0 0 0 4.242l3.757 3.758a1 1 0 0 0 .71.292H27a1 1 0 1 0 0-2H16.412l11.713-11.707a3 3 0 0 0 0-4.243M13.585 26H8.756l-3.465-3.465a1 1 0 0 1 0-1.414L12 14.414 18.586 21zM26.71 12.875 20 19.586 13.414 13l6.71-6.707a1 1 0 0 1 1.416 0l5.172 5.172a1 1 0 0 1 0 1.414z"})}),P7=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",viewBox:"0 0 24 24",width:"1em",height:"1em",...t,children:[h("path",{d:"M9.88 9.88a3 3 0 1 0 4.24 4.24M10.73 5.08A10 10 0 0 1 12 5c7 0 10 7 10 7a13.2 13.2 0 0 1-1.67 2.68"}),h("path",{d:"M6.61 6.61A13.5 13.5 0 0 0 2 12s3 7 10 7a9.74 9.74 0 0 0 5.39-1.61M2 2l20 20"})]}),A7=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",viewBox:"0 0 24 24",width:"1em",height:"1em",...t,children:[h("path",{d:"M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7"}),h("circle",{cx:"12",cy:"12",r:"3"})]}),vD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"m26.708 10.293-7-7A1 1 0 0 0 19 3H7a2 2 0 0 0-2 2v22a2 2 0 0 0 2 2h18a2 2 0 0 0 2-2V11a1 1 0 0 0-.293-.707M20 6.413 23.586 10H20zM25 27H7V5h11v6a1 1 0 0 0 1 1h6zm-5.292-7.707a1 1 0 0 1 0 1.415l-3 3a1 1 0 0 1-1.415 0l-3-3a1 1 0 1 1 1.415-1.415L15 20.586V15a1 1 0 0 1 2 0v5.586l1.293-1.293a1 1 0 0 1 1.415 0"})}),wD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M5.345 6.25A1 1 0 0 0 5 7v21a1 1 0 0 0 2 0v-5.529c3.349-2.645 6.234-1.218 9.556.427 2.05 1.013 4.258 2.106 6.625 2.106 1.741 0 3.568-.594 5.478-2.25a1 1 0 0 0 .345-.75V7a1 1 0 0 0-1.659-.75c-3.5 3.029-6.465 1.561-9.901-.14-3.56-1.765-7.596-3.761-12.099.14M27 21.531c-3.349 2.645-6.234 1.218-9.556-.426-3.125-1.544-6.601-3.266-10.444-1.05V7.474c3.349-2.645 6.234-1.219 9.556.425C19.681 9.442 23.16 11.165 27 8.949z"})}),bD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M29 7v15a1 1 0 0 1-.345.75c-1.91 1.654-3.736 2.25-5.478 2.25-2.363 0-4.57-1.093-6.625-2.106C13.234 21.25 10.35 19.826 7 22.47V28a1 1 0 1 1-2 0V7a1 1 0 0 1 .346-.75c4.5-3.897 8.539-1.901 12.099-.14 3.43 1.698 6.404 3.165 9.9.14A1 1 0 0 1 29 7"})}),yD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M27.414 9 23 4.586A1.98 1.98 0 0 0 21.586 4H6a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2V10.414A1.98 1.98 0 0 0 27.414 9M21 26H11v-7h10zm5 0h-3v-7a2 2 0 0 0-2-2H11a2 2 0 0 0-2 2v7H6V6h15.586L26 10.414zM20 9a1 1 0 0 1-1 1h-7a1 1 0 1 1 0-2h7a1 1 0 0 1 1 1"})}),_D=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M27.414 9 23 4.586A1.98 1.98 0 0 0 21.586 4H6a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2V10.414A1.98 1.98 0 0 0 27.414 9M21 26H11v-7h10zm5 0h-3v-7a2 2 0 0 0-2-2H11a2 2 0 0 0-2 2v7H6V6h15.586L26 10.414zM20 9a1 1 0 0 1-1 1h-7a1 1 0 1 1 0-2h7a1 1 0 0 1 1 1"})}),xD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"m28.237 10.263-3.25-3.25a1.221 1.221 0 0 0-1.726 1.726l1.169 1.167h-.305c-5.282 0-6.581 3.12-7.625 5.625-.896 2.15-1.57 3.763-4.342 4.071a4.47 4.47 0 1 0 .028 2.446c4.402-.393 5.593-3.25 6.564-5.579.997-2.399 1.718-4.125 5.375-4.125h.305l-1.17 1.169a1.22 1.22 0 1 0 1.726 1.726l3.25-3.25a1.22 1.22 0 0 0 .001-1.726M7.875 22.906a2.031 2.031 0 1 1 0-4.062 2.031 2.031 0 0 1 0 4.062"})}),SD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M30.625 13.83A2 2 0 0 0 29 13h-2v-2a2 2 0 0 0-2-2h-8.666l-3.466-2.6a2 2 0 0 0-1.2-.4H5a2 2 0 0 0-2 2v18a1 1 0 0 0 1 1h22.388a1 1 0 0 0 .948-.684l3.562-10.683a2 2 0 0 0-.273-1.803M11.668 8l3.732 2.8a1 1 0 0 0 .6.2h9v2H8.721a2 2 0 0 0-1.897 1.367L5 19.838V8zm14 17H5.387L8.72 15H29z"})}),CD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M30.625 13.83A2 2 0 0 0 29 13h-2v-2a2 2 0 0 0-2-2h-8.666l-3.466-2.6a2 2 0 0 0-1.2-.4H5a2 2 0 0 0-2 2v18a1 1 0 0 0 1 1h22.388a1 1 0 0 0 .948-.684l3.562-10.683a2 2 0 0 0-.273-1.803M11.668 8l3.732 2.8a1 1 0 0 0 .6.2h9v2H8.721a2 2 0 0 0-1.897 1.367L5 19.838V8zm14 17H5.387L8.72 15H29z"})}),ED=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("circle",{cx:"16",cy:"16",r:"12",stroke:"currentColor",strokeWidth:"2"}),h("path",{stroke:"currentColor",strokeWidth:"2",d:"M4 16h24M15.5 4C9 12.5 9 19.5 16 28M16.5 4C23 12.5 23 19.5 16 28"})]}),MD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M30 15h-3.046A11.02 11.02 0 0 0 17 5.046V2a1 1 0 0 0-2 0v3.046A11.016 11.016 0 0 0 5.046 15H2a1 1 0 0 0 0 2h3.046A11.016 11.016 0 0 0 15 26.954V30a1 1 0 0 0 2 0v-3.046A11.02 11.02 0 0 0 26.954 17H30a1 1 0 0 0 0-2M16 25a9 9 0 1 1 9-9 9.01 9.01 0 0 1-9 9m0-14a5 5 0 1 0 0 10 5 5 0 0 0 0-10m0 8a3 3 0 1 1 0-5.999A3 3 0 0 1 16 19"})}),kD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M31.707 13.292a1 1 0 0 0-1.415 0L24 19.586 13.414 9l6.293-6.293a1.001 1.001 0 0 0-1.415-1.415L12 7.586a2 2 0 0 0-.353 2.351L9 12.587a2 2 0 0 0 0 2.827l.586.586-7.294 7.292a1 1 0 0 0 .392 1.657l9 3a1 1 0 0 0 1.024-.241L17 23.413l.586.586a2 2 0 0 0 2.828 0l2.648-2.648A2 2 0 0 0 25.414 21l6.293-6.293a1 1 0 0 0 0-1.415M11.73 25.856l-6.875-2.294L11 17.414 15.586 22zm7.27-3.27L10.414 14 13 11.414 21.586 20z"})}),RD=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[ne("g",{fill:"currentColor",clipPath:"url(#a)",children:[h("path",{d:"M10.333 5a1 1 0 1 1 0 2H6v19h20V7h-4.333a1 1 0 1 1 0-2H26a2 2 0 0 1 2 2v19a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V7a2 2 0 0 1 2-2z"}),h("path",{d:"M16 4a1 1 0 0 1 1 1v12.586l2.293-2.293a1 1 0 1 1 1.414 1.414l-4 4a1 1 0 0 1-1.414 0l-4-4a1 1 0 1 1 1.414-1.414L15 17.586V5a1 1 0 0 1 1-1"})]}),h("defs",{children:h("clipPath",{id:"a",children:h("path",{fill:"currentColor",d:"M0 0h32v32H0z"})})})]}),TD=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[ne("g",{fill:"currentColor",clipPath:"url(#a)",children:[h("path",{d:"M16.001 17a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3"}),h("path",{fillRule:"evenodd",d:"M16.001 13.5c4.565 0 6.8 4.368 6.894 4.553a1 1 0 0 1 0 .894c-.093.185-2.33 4.553-6.894 4.553-4.565 0-6.802-4.368-6.896-4.553a1 1 0 0 1 0-.894c.094-.185 2.331-4.553 6.896-4.553m0 2c-2.579 0-4.225 2.065-4.838 3 .613.935 2.26 3 4.838 3s4.224-2.065 4.837-3c-.611-.934-2.259-3-4.837-3",clipRule:"evenodd"}),h("path",{fillRule:"evenodd",d:"M26 4a2 2 0 0 1 2 2v20a2 2 0 0 1-1.796 1.99L26 28H6l-.204-.01a2 2 0 0 1-1.785-1.786L4 26V6a2 2 0 0 1 2-2zM6 11v15h20V11zm0-2h20V6H6z",clipRule:"evenodd"})]}),h("defs",{children:h("clipPath",{id:"a",children:h("path",{fill:"currentColor",d:"M0 0h32v32H0z"})})})]}),ND=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M16 3a13 13 0 1 0 13 13A13.013 13.013 0 0 0 16 3m-.5 6a1.5 1.5 0 1 1 0 3 1.5 1.5 0 0 1 0-3M17 23a2 2 0 0 1-2-2v-5a1 1 0 0 1 0-2 2 2 0 0 1 2 2v5a1 1 0 0 1 0 2"})}),PD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M16 3a13 13 0 1 0 13 13A13.013 13.013 0 0 0 16 3m0 24a11 11 0 1 1 11-11 11.01 11.01 0 0 1-11 11m2-5a1 1 0 0 1-1 1 2 2 0 0 1-2-2v-5a1 1 0 0 1 0-2 2 2 0 0 1 2 2v5a1 1 0 0 1 1 1m-4-11.5a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0"})}),AD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M26 18h-9v-6.101a5 5 0 1 0-2 0V18H6a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2v-6a2 2 0 0 0-2-2M13 7a3 3 0 1 1 6 0 3 3 0 0 1-6 0m13 19H6v-6h20z"})}),ID=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[ne("g",{clipPath:"url(#a)",children:[h("path",{fill:"currentColor",d:"M12 20H7.867q-.8 0-1.184-.717-.383-.716.084-1.383l9.966-14.333q.334-.467.867-.65a1.63 1.63 0 0 1 1.1.016q.567.2.833.7.267.501.2 1.067l-1.066 8.633h5.166q.867 0 1.217.767t-.217 1.433L13.867 28.667a1.7 1.7 0 0 1-.9.566 1.5 1.5 0 0 1-1.034-.1 1.75 1.75 0 0 1-.783-.716 1.64 1.64 0 0 1-.217-1.05z"}),h("path",{fill:"currentColor",d:"M17.255.935a3.6 3.6 0 0 1 1.818.022l.293.09.3.12c.685.311 1.257.823 1.631 1.525.372.696.514 1.462.422 2.242v.011l-.79 6.388h2.905v2h-5.167L19.733 4.7a1.78 1.78 0 0 0-.2-1.066 1.45 1.45 0 0 0-.833-.7 1.63 1.63 0 0 0-1.1-.017 1.74 1.74 0 0 0-.867.65L6.766 17.9q-.465.667-.083 1.383.336.628.99.706l.194.01H12l-1.067 7.368-.01.14q-.02.487.227.91.284.483.783.717a1.5 1.5 0 0 0 1.033.1q.467-.117.806-.464l.095-.103 10.967-13.134q.566-.667.215-1.432-.306-.672-1.007-.755l-.208-.013v-2c.588 0 1.221.133 1.803.5.513.323.88.761 1.131 1.232l.102.204.088.21c.192.5.28 1.065.19 1.662a3.4 3.4 0 0 1-.78 1.673L15.402 29.948l-.009.01a3.7 3.7 0 0 1-1.941 1.216 3.5 3.5 0 0 1-2.364-.228 3.75 3.75 0 0 1-1.664-1.517 3.65 3.65 0 0 1-.477-2.296l.003-.027.004-.026.735-5.08H7.867a3.3 3.3 0 0 1-1.733-.469 3.35 3.35 0 0 1-1.214-1.304 3.3 3.3 0 0 1-.404-1.768c.04-.66.283-1.235.612-1.706l9.963-14.328.007-.01.008-.01a3.74 3.74 0 0 1 1.844-1.38z"})]}),h("defs",{children:h("clipPath",{id:"a",children:h("path",{fill:"currentColor",d:"M0 0h32v32H0z"})})})]}),OD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M28 16a1 1 0 0 1-1 1H16a1 1 0 1 1 0-2h11a1 1 0 0 1 1 1M16 9h11a1 1 0 0 0 0-2H16a1 1 0 1 0 0 2m11 14H16a1 1 0 0 0 0 2h11a1 1 0 1 0 0-2M10.293 5.292 7 8.586 5.708 7.292a1 1 0 1 0-1.415 1.415l2 2a1 1 0 0 0 1.415 0l4-4a1 1 0 0 0-1.415-1.415m0 8L7 16.586l-1.292-1.294a1 1 0 0 0-1.415 1.415l2 2a1 1 0 0 0 1.415 0l4-4a1 1 0 0 0-1.415-1.415m0 8L7 24.586l-1.292-1.294A1 1 0 0 0 4 24a1 1 0 0 0 .293.707l2 2a1 1 0 0 0 1.415 0l4-4a1 1 0 0 0-1.415-1.415"})}),LD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M26 10H12V7a4 4 0 0 1 4-4c1.921 0 3.65 1.375 4.02 3.199a1 1 0 0 0 1.96-.398C21.415 3.02 18.9 1 16 1a6.006 6.006 0 0 0-6 6v3H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2V12a2 2 0 0 0-2-2M16 20.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3"})}),$D=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M26 10h-4V7a6 6 0 1 0-12 0v3H6a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2V12a2 2 0 0 0-2-2M16 20.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3M20 10h-8V7a4 4 0 1 1 8 0z"})}),DD=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("g",{clipPath:"url(#a)",children:h("path",{fill:"currentColor",d:"M25 4h-4.532a5.99 5.99 0 0 0-8.935 0H7a2 2 0 0 0-2 2v21a2 2 0 0 0 2 2h18a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2m-9 0a4 4 0 0 1 4 4h-8a4 4 0 0 1 4-4m4 16h-8a1 1 0 1 1 0-2h8a1 1 0 0 1 0 2m0-4h-8a1 1 0 1 1 0-2h8a1 1 0 0 1 0 2"})}),h("defs",{children:h("clipPath",{id:"a",children:h("path",{fill:"currentColor",d:"M0 0h32v32H0z"})})})]}),BD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M19 14a1 1 0 0 1-1 1h-8a1 1 0 1 1 0-2h8a1 1 0 0 1 1 1m9.708 14.708a1 1 0 0 1-1.415 0l-6.258-6.26a11.013 11.013 0 1 1 1.414-1.413l6.258 6.258a1 1 0 0 1 0 1.415M14 23a9 9 0 1 0-9-9 9.01 9.01 0 0 0 9 9"})}),zD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M19 14a1 1 0 0 1-1 1h-3v3a1 1 0 1 1-2 0v-3h-3a1 1 0 1 1 0-2h3v-3a1 1 0 0 1 2 0v3h3a1 1 0 0 1 1 1m9.708 14.708a1 1 0 0 1-1.415 0l-6.258-6.26a11.013 11.013 0 1 1 1.414-1.413l6.258 6.258a1 1 0 0 1 0 1.415M14 23a9 9 0 1 0-9-9 9.01 9.01 0 0 0 9 9"})}),FD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M16 8a5 5 0 1 0 0 10 5 5 0 0 0 0-10m0 8a3 3 0 1 1 0-5.999A3 3 0 0 1 16 16m0-14A11.013 11.013 0 0 0 5 13c0 3.925 1.814 8.085 5.25 12.031a31.8 31.8 0 0 0 5.181 4.788 1 1 0 0 0 1.148 0 31.8 31.8 0 0 0 5.171-4.788C25.181 21.085 27 16.925 27 13A11.01 11.01 0 0 0 16 2m0 25.75C13.934 26.125 7 20.156 7 13a9 9 0 0 1 18 0c0 7.154-6.934 13.125-9 14.75"})}),VD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M16 2A11.013 11.013 0 0 0 5 13c0 9.413 10 16.521 10.426 16.819a1 1 0 0 0 1.148 0C17 29.52 27 22.413 27 13A11.01 11.01 0 0 0 16 2m0 7a4 4 0 1 1 0 8 4 4 0 0 1 0-8"})}),jD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M28.615 6.211a1 1 0 0 0-.857-.181l-7.642 1.91-7.668-3.835a1 1 0 0 0-.69-.075l-8 2A1 1 0 0 0 3 7v18a1 1 0 0 0 1.242.97l7.642-1.91 7.668 3.835a1.02 1.02 0 0 0 .69.075l8-2A1 1 0 0 0 29 25V7a1 1 0 0 0-.385-.789M13 6.618l6 3v15.765l-6-3zM5 7.78l6-1.5V22.22l-6 1.5zM27 24.22l-6 1.5V9.78l6-1.5z"})}),HD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M28.615 6.211a1 1 0 0 0-.857-.181l-7.283 1.82a1 1 0 0 1-.69-.075l-7.337-3.67a1 1 0 0 0-.69-.075l-8 2A1 1 0 0 0 3 7v18a1 1 0 0 0 1.242.97l7.283-1.82a1 1 0 0 1 .69.076l7.337 3.669a1.02 1.02 0 0 0 .69.075l8-2A1 1 0 0 0 29 25V7a1 1 0 0 0-.385-.789M12 21.755c0 .135-.111.242-.242.275l-5.516 1.378A1 1 0 0 1 5 22.438V8.562a1 1 0 0 1 .757-.97l6.08-1.52a.13.13 0 0 1 .163.127zm15 1.683a1 1 0 0 1-.757.97l-6.08 1.52a.13.13 0 0 1-.163-.127V10.245c0-.135.111-.242.242-.274l5.515-1.379a1 1 0 0 1 1.243.97z"})}),WD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"m28.237 10.263-3.25-3.25a1.221 1.221 0 0 0-1.726 1.726l1.169 1.167h-.305c-5.282 0-6.581 3.12-7.625 5.625-.896 2.15-1.57 3.763-4.342 4.071a4.469 4.469 0 1 0 .028 2.446c4.402-.393 5.593-3.25 6.564-5.579.997-2.399 1.718-4.125 5.375-4.125h.305l-1.17 1.169a1.22 1.22 0 1 0 1.726 1.726l3.25-3.25a1.22 1.22 0 0 0 .001-1.726M7.875 22.906a2.031 2.031 0 1 1 0-4.062 2.031 2.031 0 0 1 0 4.062"})}),I7=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("g",{clipPath:"url(#a)",children:h("path",{fill:"currentColor",d:"M28 16a1 1 0 0 1-1 1H5a1 1 0 0 1 0-2h22a1 1 0 0 1 1 1"})}),h("defs",{children:h("clipPath",{id:"a",children:h("path",{fill:"currentColor",d:"M0 0h32v32H0z"})})})]}),qD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M26 5H6a3 3 0 0 0-3 3v14a3 3 0 0 0 3 3h20a3 3 0 0 0 3-3V8a3 3 0 0 0-3-3m1 17a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V8a1 1 0 0 1 1-1h20a1 1 0 0 1 1 1zm-6 6a1 1 0 0 1-1 1h-8a1 1 0 0 1 0-2h8a1 1 0 0 1 1 1"})}),UD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M27.98 16.648a11.999 11.999 0 0 1-23.72 1.854A12 12 0 0 1 15.35 4.018c.54-.03.822.613.535 1.07A8 8 0 0 0 26.91 16.113c.46-.286 1.1-.005 1.071.535"})}),YD=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("g",{clipPath:"url(#a)",children:h("path",{fill:"currentColor",d:"M12 17H8v3a1 1 0 0 1-1.707.708l-4-4a1 1 0 0 1 0-1.415l4-4A1 1 0 0 1 8 12v3h4a1 1 0 1 1 0 2m0-9h3v4a1 1 0 1 0 2 0V8h3a1 1 0 0 0 .708-1.707l-4-4a1 1 0 0 0-1.415 0l-4 4A1 1 0 0 0 12 8m17.708 7.293-4-4A1 1 0 0 0 24 12v3h-4a1 1 0 1 0 0 2h4v3a1 1 0 0 0 1.708.708l4-4a1 1 0 0 0 0-1.415M20 24h-3v-4a1 1 0 0 0-2 0v4h-3a1 1 0 0 0-.707 1.708l4 4a1 1 0 0 0 1.415 0l4-4A1 1 0 0 0 20 24"})}),h("defs",{children:h("clipPath",{id:"a",children:h("path",{fill:"currentColor",d:"M0 0h32v32H0z"})})})]}),GD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M29.666 13.276 7.676 5.125l-.02-.006A2 2 0 0 0 5.12 7.676l8.157 21.99A1.97 1.97 0 0 0 15.16 31h.037a1.97 1.97 0 0 0 1.876-1.411l.007-.025 2.73-9.75 9.75-2.73.025-.008a2 2 0 0 0 .078-3.797zM18.73 18.038a1 1 0 0 0-.692.692L15.162 29l-.007-.021L7 7l21.978 8.153.02.007z"})}),KD=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"currentColor",d:"M29.666 13.276 7.676 5.125l-.02-.006A2 2 0 0 0 5.12 7.676l8.157 21.99A1.97 1.97 0 0 0 15.16 31h.037a1.97 1.97 0 0 0 1.876-1.411l.007-.025 2.73-9.75 9.75-2.73.025-.008a2 2 0 0 0 .078-3.797zM18.73 18.038a1 1 0 0 0-.692.692L15.162 29l-.007-.021L7 7l21.978 8.153.02.007z"}),h("path",{fill:"currentColor",d:"m18.5 18.5-3.5 11L7 7l22.5 8z"})]}),XD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"m19.173 21.732-4.774-4.773H6.72a.93.93 0 0 1-.68-.28.93.93 0 0 1-.28-.68q0-.4.28-.68a.93.93 0 0 1 .68-.28h7.68l4.774-4.774a.92.92 0 0 1 .666-.293q.375 0 .667.293l5.067 5.067a.92.92 0 0 1 .293.666.92.92 0 0 1-.293.667l-5.067 5.067a.92.92 0 0 1-.667.293.92.92 0 0 1-.666-.293"})}),ZD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"m28.708 7.293-4-4a1 1 0 0 0-1.415 0l-12 12A1 1 0 0 0 11 16v4a1 1 0 0 0 1 1h4a1 1 0 0 0 .707-.292l12-12a1 1 0 0 0 0-1.415M15.586 19H13v-2.586l8-8L23.586 11zM25 9.586 22.414 7 24 5.414 26.586 8zM28 16v10a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h10a1 1 0 1 1 0 2H6v20h20V16a1 1 0 0 1 2 0"})}),QD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M25 21a4.01 4.01 0 0 0-3.875 3H9a4 4 0 1 1 0-8h12a5 5 0 1 0 0-10H9a1 1 0 0 0 0 2h12a3 3 0 0 1 0 6H9a6 6 0 1 0 0 12h12.125A4 4 0 1 0 25 21m0 6a2 2 0 1 1 0-4 2 2 0 0 1 0 4"})}),JD=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M25 4h-5a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h5a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2m0 22h-5V6h5zM12 4H7a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h5a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2m0 22H7V6h5z"})}),eB=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M27 6v20a2 2 0 0 1-2 2h-5a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h5a2 2 0 0 1 2 2M12 4H7a2 2 0 0 0-2 2v20a2 2 0 0 0 2 2h5a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2"})}),tB=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"m28.414 9.171-5.585-5.586a2 2 0 0 0-2.829 0L4.586 19A1.98 1.98 0 0 0 4 20.414V26a2 2 0 0 0 2 2h5.586A1.98 1.98 0 0 0 13 27.414L28.414 12a2 2 0 0 0 0-2.829M11.586 26H6v-5.586l11-11L22.586 15zM24 13.585 18.414 8l3-3L27 10.585z"})}),nB=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M29.05 14.311 11.04 3.294a2 2 0 0 0-2.767.688c-.178.304-.272.65-.273 1.002v22.032A1.993 1.993 0 0 0 10 29c.369 0 .73-.102 1.045-.294L29.05 17.69a1.977 1.977 0 0 0 0-3.375zM10 26.993V5l17.979 11z"})}),rB=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("g",{clipPath:"url(#a)",children:h("path",{fill:"currentColor",d:"M29.22 14.295c1.273.78 1.273 2.63 0 3.41L11.047 28.854C9.713 29.672 8 28.713 8 27.149V4.851c0-1.564 1.713-2.523 3.046-1.705z"})}),h("defs",{children:h("clipPath",{id:"a",children:h("path",{fill:"currentColor",d:"M0 0h32v32H0z"})})})]}),O7=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("g",{clipPath:"url(#a)",children:h("path",{fill:"currentColor",d:"M28 16a1 1 0 0 1-1 1H17v10a1 1 0 0 1-2 0V17H5a1 1 0 0 1 0-2h10V5a1 1 0 0 1 2 0v10h10a1 1 0 0 1 1 1"})}),h("defs",{children:h("clipPath",{id:"a",children:h("path",{fill:"currentColor",d:"M0 0h32v32H0z"})})})]}),oB=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M16 20.5a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9M7 11.5a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9M25 11.5a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9M16 2.5a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9"})}),aB=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("circle",{cx:"6",cy:"25",r:"3.5",fill:"currentColor"}),h("circle",{cx:"25",cy:"6",r:"3.5",fill:"currentColor"}),h("path",{stroke:"currentColor",strokeDasharray:"3 3",strokeLinecap:"round",strokeWidth:"2",d:"M6 21.5Q6 6 21.5 6"}),h("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M17 8.5 21.5 6 17 3.5"})]}),iB=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("circle",{cx:"6",cy:"25",r:"3.5",fill:"currentColor"}),h("circle",{cx:"25",cy:"6",r:"3.5",fill:"currentColor"}),h("path",{stroke:"currentColor",strokeLinecap:"round",strokeWidth:"2",d:"m8.5 22.5 14-14"}),h("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"m21 13 1.5-4.5L18 10"})]}),sB=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("g",{clipPath:"url(#a)",children:h("path",{fill:"currentColor",d:"M28 16v3a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h20a2 2 0 0 1 2 2M26 5H6a2 2 0 0 0-2 2v3a2 2 0 0 0 2 2h20a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2m-7 21h-2v-2a1 1 0 0 0-2 0v2h-2a1 1 0 0 0 0 2h2v2a1 1 0 0 0 2 0v-2h2a1 1 0 0 0 0-2"})}),h("defs",{children:h("clipPath",{id:"a",children:h("path",{fill:"currentColor",d:"M0 0h32v32H0z"})})})]}),lB=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M13 5H7a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2m0 8H7V7h6zm0 4H7a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2v-6a2 2 0 0 0-2-2m0 8H7v-6h6zM25 5h-6a2 2 0 0 0-2 2v6a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2m0 8h-6V7h6zm-8 9v-4a1 1 0 0 1 2 0v4a1 1 0 0 1-2 0m10-2a1 1 0 0 1-1 1h-3v5a1 1 0 0 1-1 1h-4a1 1 0 0 1 0-2h3v-7a1 1 0 0 1 2 0v1h3a1 1 0 0 1 1 1m0 4v2a1 1 0 0 1-2 0v-2a1 1 0 0 1 2 0"})}),cB=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("circle",{cx:"6",cy:"16",r:"3",fill:"currentColor"}),h("circle",{cx:"16",cy:"16",r:"3",fill:"currentColor",fillOpacity:".5"}),h("circle",{cx:"26",cy:"16",r:"3",fill:"currentColor",fillOpacity:".3"})]}),L7=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("g",{clipPath:"url(#a)",children:h("path",{fill:"currentColor",d:"M27 8a1 1 0 0 1 1 1v6a2 2 0 0 1-2 2H7.414l4.793 4.793a1 1 0 0 1-1.414 1.414L5 17.414a2 2 0 0 1 0-2.828l5.793-5.793a1 1 0 0 1 1.414 1.414L7.414 15H26V9a1 1 0 0 1 1-1"})}),h("defs",{children:h("clipPath",{id:"a",children:h("path",{fill:"currentColor",d:"M0 0h32v32H0z"})})})]}),uB=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("g",{clipPath:"url(#a)",children:h("path",{fill:"currentColor",fillRule:"evenodd",d:"m20.583 4.504 6 .5a1 1 0 1 1-.166 1.992l-5.412-.451-2.322 3.482 2.354 3.925 5.38-.448a1 1 0 1 1 .166 1.992l-6 .5a1 1 0 0 1-.94-.482L16.933 11h-5.059a4 4 0 0 1-1.272 2.035L16.16 26H26a1 1 0 0 1 0 2H6a1 1 0 1 1 0-2h7.983L8.806 13.918A4 4 0 1 1 11.874 9h5.09l2.704-4.055.082-.107a1 1 0 0 1 .833-.334M8 8a2 2 0 1 0 0 4 2 2 0 0 0 0-4",clipRule:"evenodd"})}),h("defs",{children:h("clipPath",{id:"a",children:h("path",{fill:"currentColor",d:"M0 0h32v32H0z"})})})]}),dB=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M6.13 23.111a1 1 0 0 1-.896-.657l-2.737-7.518a1 1 0 0 1 .598-1.282l7.518-2.736a1.001 1.001 0 0 1 1.249 1.363l-2.095 4.494a20.8 20.8 0 0 0 6.371 1.262c4.435.18 8.919-1.024 12.185-3.822a1 1 0 1 1 1.3 1.518c-3.734 3.2-8.75 4.497-13.565 4.302a22.8 22.8 0 0 1-7.139-1.444L7.08 22.535a1 1 0 0 1-.95.577"})}),ev=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M25.843 8.862a1 1 0 0 1 .897.658l2.736 7.517a1 1 0 0 1-.598 1.282l-7.517 2.737a1 1 0 0 1-1.25-1.364l2.096-4.494a20.8 20.8 0 0 0-6.372-1.261c-4.434-.18-8.918 1.023-12.184 3.822a1 1 0 1 1-1.3-1.519c3.733-3.2 8.75-4.497 13.565-4.301 2.462.1 4.907.592 7.138 1.443l1.84-3.943a1 1 0 0 1 .95-.577"})}),fB=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M19.716 14.141a1 1 0 0 1 .262-1.39l8.457-5.788a1 1 0 0 1 1.125 1.65l-8.459 5.788a.99.99 0 0 1-1.028.059 1 1 0 0 1-.357-.319m10.11 10.637a1 1 0 0 1-1.39.26L17 17.213l-5.314 3.635a4.5 4.5 0 1 1-1.125-1.65L15.23 16l-4.674-3.199a4.482 4.482 0 1 1 1.125-1.648l17.875 12.233a1 1 0 0 1 .27 1.392M10 22.5a2.5 2.5 0 1 0-5 0 2.5 2.5 0 0 0 5 0m-.732-11.234a2.5 2.5 0 1 0-3.535 0 2.48 2.48 0 0 0 3.535 0"})}),oh=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("g",{clipPath:"url(#a)",children:h("path",{fill:"currentColor",d:"m28.708 27.293-6.26-6.258a11.014 11.014 0 1 0-1.413 1.414l6.258 6.258a1.003 1.003 0 0 0 1.415 0 1 1 0 0 0 0-1.415M5 14a9 9 0 1 1 9 9 9.01 9.01 0 0 1-9-9"})}),h("defs",{children:h("clipPath",{id:"a",children:h("path",{fill:"currentColor",d:"M0 0h32v32H0z"})})})]}),pB=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M16 10a6 6 0 1 0 6 6 6.006 6.006 0 0 0-6-6m0 10a4 4 0 1 1 0-8 4 4 0 0 1 0 8m13.743-6.599a1 1 0 0 0-.487-.675l-3.729-2.125-.015-4.202a1 1 0 0 0-.353-.76 14 14 0 0 0-4.59-2.584 1 1 0 0 0-.808.074L16 5.23l-3.765-2.106a1 1 0 0 0-.809-.075 14 14 0 0 0-4.585 2.594 1 1 0 0 0-.354.759l-.018 4.206-3.729 2.125a1 1 0 0 0-.486.675 13.3 13.3 0 0 0 0 5.195 1 1 0 0 0 .486.675l3.729 2.125.015 4.202a1 1 0 0 0 .353.76 14 14 0 0 0 4.59 2.584 1 1 0 0 0 .808-.074L16 26.77l3.765 2.106a1.008 1.008 0 0 0 .809.073 14 14 0 0 0 4.585-2.592 1 1 0 0 0 .354-.759l.018-4.206 3.729-2.125a1 1 0 0 0 .486-.675c.34-1.713.338-3.477-.003-5.19m-1.875 4.364-3.572 2.031a1 1 0 0 0-.375.375c-.072.125-.148.258-.226.383a1 1 0 0 0-.152.526l-.02 4.031c-.96.754-2.029 1.357-3.17 1.788L16.75 24.89a1 1 0 0 0-.489-.125h-.478a1 1 0 0 0-.513.125l-3.605 2.013a12 12 0 0 1-3.18-1.779L8.471 21.1a1 1 0 0 0-.152-.527 7 7 0 0 1-.225-.383 1 1 0 0 0-.375-.383l-3.575-2.036a11.3 11.3 0 0 1 0-3.532l3.565-2.035a1 1 0 0 0 .375-.375c.072-.125.148-.258.226-.383.1-.157.152-.34.152-.526l.02-4.031c.96-.754 2.029-1.357 3.17-1.788L15.25 7.11a1 1 0 0 0 .512.125h.456a1 1 0 0 0 .512-.125l3.605-2.013a12 12 0 0 1 3.18 1.779l.014 4.025c0 .187.053.37.152.527.078.126.154.25.225.383.089.159.218.291.375.383l3.575 2.036a11.3 11.3 0 0 1 .006 3.536z"})}),hB=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("g",{clipPath:"url(#a)",children:h("path",{fill:"currentColor",d:"M10.5 17A3.5 3.5 0 0 1 8 20.354V27a1 1 0 1 1-2 0v-6.646a3.5 3.5 0 0 1 0-6.708V5a1 1 0 0 1 2 0v8.646A3.5 3.5 0 0 1 10.5 17M17 7.646V5a1 1 0 1 0-2 0v2.646a3.5 3.5 0 0 0 0 6.708V27a1 1 0 0 0 2 0V14.354a3.5 3.5 0 0 0 0-6.708m9 10V5a1 1 0 1 0-2 0v12.646a3.5 3.5 0 0 0 0 6.708V27a1 1 0 0 0 2 0v-2.646a3.5 3.5 0 0 0 0-6.708"})}),h("defs",{children:h("clipPath",{id:"a",children:h("path",{fill:"currentColor",d:"M0 0h32v32H0z"})})})]}),mB=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M13.949 22.684A1 1 0 0 1 13 24H3a1 1 0 0 1-.949-1.316l5-15a1 1 0 0 1 1.898 0zM26 9.5a6.5 6.5 0 1 0-6.5 6.5A6.507 6.507 0 0 0 26 9.5m2 8.5H17a1 1 0 0 0-1 1v7a1 1 0 0 0 1 1h11a1 1 0 0 0 1-1v-7a1 1 0 0 0-1-1"})}),gB=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"m17.708 16.708-5 5a1 1 0 0 1-1.415-1.415L14.586 17H3a1 1 0 0 1 0-2h11.586l-3.293-3.293a1 1 0 1 1 1.415-1.415l5 5a1 1 0 0 1 0 1.415M25 4h-8a1 1 0 1 0 0 2h7v20h-7a1 1 0 0 0 0 2h8a1 1 0 0 0 1-1V5a1 1 0 0 0-1-1"})}),vB=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"currentColor",d:"M3 28h8a1 1 0 0 0 0-2H4V6h7a1 1 0 1 0 0-2H3a1 1 0 0 0-1 1v22a1 1 0 0 0 1 1"}),h("path",{fill:"currentColor",d:"m20.707 10.293 5 5a1 1 0 0 1 0 1.415l-5 5a1 1 0 0 1-1.415-1.415L22.585 17H11a1 1 0 0 1 0-2h11.587l-3.294-3.293a1 1 0 0 1 1.415-1.415"})]}),wB=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M25 4a1 1 0 0 0-1 1v8.654L9.054 4.306A1.994 1.994 0 0 0 6 5.985v20.03a2 2 0 0 0 3.054 1.679L24 18.346V27a1 1 0 0 0 2 0V5a1 1 0 0 0-1-1M8 25.991V6.006l15.98 10z"})}),bB=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",viewBox:"0 0 24 24",width:"1em",height:"1em",...t,children:[h("circle",{cx:"12",cy:"12",r:"9"}),h("ellipse",{cx:"12",cy:"12",rx:"9",ry:"3.5"}),h("path",{d:"M12 3c3.5 3.5 4.5 7 4.5 9s-1 5.5-4.5 9"})]}),$7=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",width:"1em",height:"1em",...t,children:[h("path",{fill:"currentColor",fillOpacity:".3",d:"M11 9.5H5a.5.5 0 0 0-.354.854l3 3a.5.5 0 0 0 .708 0l3-3A.501.501 0 0 0 11 9.5"}),h("path",{fill:"currentColor",d:"M4.538 6.191a.5.5 0 0 1 .108-.545l3-3a.5.5 0 0 1 .708 0l3 3A.5.5 0 0 1 11 6.5H5a.5.5 0 0 1-.462-.309"})]}),D7=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",width:"1em",height:"1em",...t,children:[h("path",{fill:"currentColor",d:"M11 9.5H5a.5.5 0 0 0-.354.854l3 3a.5.5 0 0 0 .708 0l3-3A.501.501 0 0 0 11 9.5"}),h("path",{fill:"currentColor",fillOpacity:".3",d:"M4.538 6.191a.5.5 0 0 1 .108-.545l3-3a.5.5 0 0 1 .708 0l3 3A.5.5 0 0 1 11 6.5H5a.5.5 0 0 1-.462-.309"})]}),yB=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M25 5H7a2 2 0 0 0-2 2v18a2 2 0 0 0 2 2h18a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2m0 20H7V7h18z"})}),_B=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("rect",{width:"22",height:"22",x:"5",y:"5",fill:"currentColor",rx:"2"})}),xB=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"currentColor",d:"M25.906 15.717c0-.625.507-1.132 1.132-1.132h2.83a1.132 1.132 0 1 1 0 2.264h-2.83a1.13 1.13 0 0 1-1.132-1.132M1 15.717c0-.625.507-1.132 1.132-1.132h2.83a1.132 1.132 0 0 1 0 2.264h-2.83A1.13 1.13 0 0 1 1 15.717M15.717 6.094a1.13 1.13 0 0 1-1.132-1.132v-2.83a1.132 1.132 0 0 1 2.264 0v2.83c0 .625-.507 1.132-1.132 1.132M15.717 31a1.13 1.13 0 0 1-1.132-1.132v-2.83a1.132 1.132 0 0 1 2.264 0v2.83c0 .625-.507 1.132-1.132 1.132M23.237 8.538a1.13 1.13 0 0 1 .14-1.595l2.168-1.82A1.132 1.132 0 0 1 27 6.859l-2.168 1.82a1.13 1.13 0 0 1-1.595-.14M23.237 23.377a1.13 1.13 0 0 0 .14 1.595l2.168 1.819A1.132 1.132 0 1 0 27 25.056l-2.168-1.819a1.13 1.13 0 0 0-1.595.14M7.894 8.538a1.13 1.13 0 0 0-.14-1.595l-2.167-1.82A1.132 1.132 0 1 0 4.13 6.859L6.3 8.678c.48.401 1.193.339 1.595-.14M7.894 23.377c.402.479.34 1.193-.14 1.595L5.588 26.79a1.132 1.132 0 1 1-1.456-1.735L6.3 23.237a1.13 1.13 0 0 1 1.595.14"}),h("path",{stroke:"currentColor",strokeWidth:"2",d:"M15.717 26.905c.073 0 .132.06.132.133v2.83a.132.132 0 1 1-.264 0v-2.83c0-.073.059-.133.132-.133Zm-8.775-2.902a.132.132 0 0 1 .17.202l-2.168 1.82a.133.133 0 0 1-.186-.016.133.133 0 0 1 .016-.187zm17.06.017a.133.133 0 0 1 .188-.017l2.167 1.82c.056.046.064.13.017.186a.13.13 0 0 1-.186.015l-2.168-1.819a.13.13 0 0 1-.017-.185ZM15.718 9.925a5.793 5.793 0 1 1 0 11.585 5.793 5.793 0 0 1 0-11.585Zm-13.585 5.66h2.83c.073 0 .133.059.133.132s-.06.132-.133.132h-2.83a.132.132 0 1 1 0-.264Zm24.906 0h2.83a.132.132 0 0 1 0 .264h-2.83a.13.13 0 0 1-.133-.132c0-.073.06-.132.133-.132ZM4.758 5.906a.133.133 0 0 1 .186-.016l2.168 1.819c.056.047.063.13.016.187a.13.13 0 0 1-.186.015L4.774 6.093a.133.133 0 0 1-.016-.187Zm21.43-.016a.133.133 0 0 1 .186.016c.047.056.04.14-.017.187L24.19 7.91a.133.133 0 0 1-.186-.015.133.133 0 0 1 .017-.187zM15.717 2c.073 0 .131.059.132.132v2.83a.133.133 0 0 1-.132.133.133.133 0 0 1-.132-.133v-2.83c0-.073.059-.132.132-.132Z"})]}),SB=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"currentColor",d:"M5 20a1 1 0 0 1 1 1v5h5a1 1 0 1 1 0 2H5a1 1 0 0 1-1-1v-6a1 1 0 0 1 1-1M27 20a1 1 0 0 1 1 1v6a1 1 0 0 1-1 1h-6a1 1 0 1 1 0-2h5v-5a1 1 0 0 1 1-1"}),h("path",{fill:"currentColor",fillRule:"evenodd",d:"M21 10a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H11a1 1 0 0 1-1-1V11a1 1 0 0 1 1-1zm-9 10h8v-8h-8z",clipRule:"evenodd"}),h("path",{fill:"currentColor",d:"M11 4a1 1 0 1 1 0 2H6v5a1 1 0 1 1-2 0V5a1 1 0 0 1 1-1zM27 4a1 1 0 0 1 1 1v6a1 1 0 1 1-2 0V6h-5a1 1 0 1 1 0-2z"})]}),CB=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",fillRule:"evenodd",d:"M10 3a4 4 0 0 1 1 7.874V12a3 3 0 0 0 3 3h5a5 5 0 0 1 5 5v1.126A4.002 4.002 0 0 1 23 29a4 4 0 0 1-1-7.874V20a3 3 0 0 0-3-3h-5a4.98 4.98 0 0 1-3-1.001v5.127A4.002 4.002 0 0 1 10 29a4 4 0 0 1-1-7.874V10.874A4.002 4.002 0 0 1 10 3m0 20a2 2 0 1 0 0 4 2 2 0 0 0 0-4m13 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4M10 5a2 2 0 1 0 0 4 2 2 0 0 0 0-4",clipRule:"evenodd"})}),EB=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M27 6h-5V5a3 3 0 0 0-3-3h-6a3 3 0 0 0-3 3v1H5a1 1 0 0 0 0 2h1v18a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V8h1a1 1 0 1 0 0-2M12 5a1 1 0 0 1 1-1h6a1 1 0 0 1 1 1v1h-8zm12 21H8V8h16zM14 13v8a1 1 0 0 1-2 0v-8a1 1 0 0 1 2 0m6 0v8a1 1 0 0 1-2 0v-8a1 1 0 0 1 2 0"})}),MB=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M16 8c3.459 0 6.64.816 8.99 2.187C27.314 11.543 29 13.564 29 16c0 2.786-2.19 5.02-5.076 6.37a1 1 0 1 1-.848-1.811C25.677 19.342 27 17.635 27 16c0-1.43-1-2.909-3.019-4.086C21.988 10.751 19.17 10 16 10s-5.988.751-7.981 1.914C6 13.091 5 14.57 5 16s1 2.909 3.019 4.086c1.43.835 3.287 1.454 5.392 1.74l-2.118-2.119a1 1 0 1 1 1.414-1.414l4 4a1 1 0 0 1 .25.414l.015.062q.027.111.028.231-.001.084-.016.165a.993.993 0 0 1-.277.542l-4 4a1 1 0 1 1-1.414-1.414l2.416-2.417c-2.56-.275-4.878-1-6.698-2.062C4.686 20.457 3 18.436 3 16s1.686-4.457 4.01-5.813C9.36 8.816 12.542 8 16 8"})}),kB=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M28.865 26.5c-1.904-3.291-4.837-5.651-8.261-6.77a9 9 0 1 0-9.208 0c-3.423 1.117-6.357 3.477-8.26 6.77a1 1 0 1 0 1.73 1C7.221 23.43 11.384 21 16 21s8.779 2.43 11.134 6.5a1.003 1.003 0 0 0 1.379.389 1 1 0 0 0 .352-1.389M9 12a7 7 0 1 1 7 7 7.01 7.01 0 0 1-7-7"})}),RB=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M23.6 10.267a7.6 7.6 0 1 1-15.2 0 7.6 7.6 0 0 1 15.2 0M16 20.533c5.186 0 9.732 2.78 12.269 6.948.59.97-.174 2.119-1.31 2.119H5.04c-1.134 0-1.898-1.15-1.309-2.119 2.537-4.169 7.083-6.948 12.27-6.948"})}),TB=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M29.6 23.511 18.67 4.528a3.096 3.096 0 0 0-5.338 0L2.401 23.51a2.94 2.94 0 0 0 0 2.965A3.04 3.04 0 0 0 5.068 28H26.93a3.04 3.04 0 0 0 2.667-1.524 2.94 2.94 0 0 0 .002-2.965m-1.734 1.964a1.06 1.06 0 0 1-.935.525H5.07a1.06 1.06 0 0 1-.935-.525.95.95 0 0 1 0-.965L15.065 5.526a1.094 1.094 0 0 1 1.875 0L27.871 24.51a.95.95 0 0 1-.005.965M15 18v-5a1 1 0 0 1 2 0v5a1 1 0 1 1-2 0m2.5 4.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0"})}),NB=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M16 3a13 13 0 1 0 13 13A13.013 13.013 0 0 0 16 3m0 24a11 11 0 1 1 11-11 11.01 11.01 0 0 1-11 11m-1-10v-7a1 1 0 0 1 2 0v7a1 1 0 0 1-2 0m2.5 4.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0"})}),B7=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M29.6 23.511 18.67 4.527a3.096 3.096 0 0 0-5.338 0L2.401 23.511a2.94 2.94 0 0 0 0 2.965A3.04 3.04 0 0 0 5.068 28H26.93a3.05 3.05 0 0 0 2.667-1.524 2.94 2.94 0 0 0 .002-2.965M15 13a1 1 0 1 1 2 0v5a1 1 0 1 1-2 0zm1 11a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3"})}),PB=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{stroke:"currentColor",strokeLinecap:"round",strokeWidth:"2.25",d:"M12.312 20.102c2.438-2.183 5.25-2.123 7.813 0M8.375 16.042c4.876-4.331 10.502-4.213 15.63.002M5 11.542c6.978-5.958 15.034-5.791 22.378.014"}),h("circle",{cx:"16.25",cy:"24.25",r:"1.125",fill:"currentColor"})]}),AB=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("circle",{cx:"16.125",cy:"25.688",r:"1.125",fill:"currentColor"}),h("path",{stroke:"currentColor",strokeLinecap:"round",strokeWidth:"2.25",d:"M12.312 21.749c2.438-2.183 5.25-2.123 7.813 0M8.375 17.683c3.937-3.494 6.375-2.867 6.375-2.867M20.125 15.188s1.688.374 3.879 2.498M5 13.184c5.188-3.996 5.188-2.934 5.188-2.934M14.437 8.94c7.75-.752 12.94 4.264 12.94 4.264M5 5l21.5 21.75"})]}),wf=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"currentColor",d:"M25.708 24.293a1 1 0 0 1-1.415 1.415L16 17.414l-8.292 8.293a1 1 0 0 1-1.415-1.415L14.586 16 6.293 7.708a1 1 0 1 1 1.415-1.415L16 14.586l8.293-8.293a1 1 0 1 1 1.415 1.415L17.414 16z"})}),IB=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",className:"lucide lucide-bot-icon lucide-bot",viewBox:"0 0 24 24",width:"1em",height:"1em",...t,children:[h("path",{d:"M12 8V4H8"}),h("rect",{width:"16",height:"12",x:"4",y:"8",rx:"2"}),h("path",{d:"M2 14h2M20 14h2M15 13v2M9 13v2"})]}),OB=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",width:"1em",height:"1em",...t,children:[h("path",{fill:"none",stroke:"currentColor",strokeDasharray:"3,2",strokeLinecap:"round",d:"M35 23v50M35 73h50"}),h("path",{fill:"currentColor",fillOpacity:".72",d:"M35 23h50v50H35z"}),h("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.4",d:"M35 23 15 38v50h50l20-15V23z"}),h("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.4",d:"M15 38h50M65 38l20-15M65 38v50M85 23v50"})]}),LB=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",width:"1em",height:"1em",...t,children:[h("path",{fill:"none",stroke:"currentColor",strokeDasharray:"3,2",strokeLinecap:"round",d:"M35 23v50M35 23h50M35 73h50"}),h("path",{fill:"currentColor",fillOpacity:".72",d:"M15 88h50l20-15H35z"}),h("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.4",d:"M35 23 15 38v50h50l20-15V23z"}),h("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.4",d:"M15 38h50M65 38l20-15M65 38v50M85 23v50"})]}),$B=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",width:"1em",height:"1em",...t,children:[h("path",{fill:"none",stroke:"currentColor",strokeDasharray:"3,2",strokeLinecap:"round",d:"M35 23v50M35 23h50M35 73h50"}),h("path",{fill:"currentColor",fillOpacity:".72",d:"M15 38h50v50H15z"}),h("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.4",d:"M35 23 15 38v50h50l20-15V23z"}),h("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.4",d:"M15 38h50M65 38l20-15M65 38v50M85 23v50"})]}),DB=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",width:"1em",height:"1em",...t,children:[h("path",{fill:"none",stroke:"currentColor",strokeDasharray:"3,2",strokeLinecap:"round",d:"M35 23v50M35 23h50M35 73h50"}),h("path",{fill:"currentColor",fillOpacity:".72",d:"M15 38v50l20-15V23z"}),h("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.4",d:"M35 23 15 38v50h50l20-15V23z"}),h("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.4",d:"M15 38h50M65 38l20-15M65 38v50M85 23v50"})]}),BB=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",width:"1em",height:"1em",...t,children:[h("path",{fill:"none",stroke:"currentColor",strokeDasharray:"3,2",strokeLinecap:"round",d:"M35 23v50M35 23h50M35 73h50"}),h("path",{fill:"currentColor",fillOpacity:".72",d:"m65 38 20-15v50L65 88z"}),h("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.4",d:"M35 23 15 38v50h50l20-15V23z"}),h("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.4",d:"M15 38h50M65 38l20-15M65 38v50M85 23v50"})]}),zB=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 100 100",width:"1em",height:"1em",...t,children:[h("path",{fill:"none",stroke:"currentColor",strokeDasharray:"3,2",strokeLinecap:"round",d:"M35 23v50M35 23h50M35 73h50"}),h("path",{fill:"currentColor",fillOpacity:".72",d:"M15 38h50l20-15H35z"}),h("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.4",d:"M35 23 15 38v50h50l20-15V23z"}),h("path",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeWidth:"1.4",d:"M15 38h50M65 38l20-15M65 38v50M85 23v50"})]}),FB=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",className:"lucide lucide-usb-icon lucide-usb",viewBox:"0 0 24 24",width:"1em",height:"1em",...t,children:[h("circle",{cx:"10",cy:"7",r:"1"}),h("circle",{cx:"4",cy:"20",r:"1"}),h("path",{d:"M4.7 19.3 19 5M21 3l-3 1 2 2ZM9.26 7.68 5 12l2 5M10 14l5 2 3.5-3.5"}),h("path",{d:"m18 12 1-1 1 1-1 1Z"})]}),VB=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",className:"lucide lucide-wand-icon lucide-wand",viewBox:"0 0 24 24",width:"1em",height:"1em",...t,children:h("path",{d:"M15 4V2M15 16v-2M8 9h2M20 9h2M17.8 11.8 19 13M15 9h.01M17.8 6.2 19 5M3 21l9-9M12.2 6.2 11 5"})}),jB=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"3",className:"lucide lucide-wifi-icon lucide-wifi",viewBox:"0 0 24 24",width:"1em",height:"1em",...t,children:h("path",{d:"M12 20h.01M2 8.82a15 15 0 0 1 20 0M5 12.859a10 10 0 0 1 14 0M8.5 16.429a5 5 0 0 1 7 0"})}),HB=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",className:"lucide lucide-wifi-cog-icon lucide-wifi-cog",viewBox:"0 0 24 24",width:"1em",height:"1em",...t,children:[h("path",{d:"m14.305 19.53.923-.382M15.228 16.852l-.923-.383M16.852 15.228l-.383-.923M16.852 20.772l-.383.924M19.148 15.228l.383-.923M19.53 21.696l-.382-.924M2 7.82a15 15 0 0 1 20 0M20.772 16.852l.924-.383M20.772 19.148l.924.383M5 11.858a10 10 0 0 1 11.5-1.785M8.5 15.429a5 5 0 0 1 2.413-1.31"}),h("circle",{cx:"18",cy:"18",r:"3"})]}),mhe=Object.freeze(Object.defineProperty({__proto__:null,SvgAMR:F$,SvgArrowArcLeftBold:V$,SvgArrowArcRightBold:j$,SvgArrowCounterClockwiseBold:H$,SvgArrowDownBold:W$,SvgArrowLeftBold:q$,SvgArrowMove:U$,SvgArrowRightBold:Y$,SvgArrowUpBold:G$,SvgArrowsInSimpleBold:K$,SvgArrowsLeftRightBold:X$,SvgArrowsOutSimpleBold:Z$,SvgBackspace:aw,SvgBoardSolid:Q$,SvgBot:IB,SvgBox3D:J$,SvgBugBeetleSolid:eD,SvgBulletSolid:tD,SvgCalendarBlankBold:iw,SvgCameraBold:b7,SvgCameraResetBold:nD,SvgCaretDownSolid:y7,SvgCaretLeftSolid:_7,SvgCaretRightSolid:x7,SvgCaretUpDownSolid:S7,SvgCaretUpSolid:C7,SvgChargingBold:rD,SvgChargingSolid:oD,SvgCheckCircle:aD,SvgCheckedBold:Ys,SvgChevronDownBold:nh,SvgChevronLeftBold:rh,SvgChevronLeftEndBold:E7,SvgChevronRightBold:Pu,SvgChevronRightEndBold:M7,SvgChevronUpBold:sw,SvgCircleDashedBold:iD,SvgCircleProgressBold:sD,SvgCircleX:lD,SvgCircleXSolid:k7,SvgClipboardBold:cD,SvgClock:uD,SvgCodeSimpleBold:dD,SvgComplete:fD,SvgCopyBold:R7,SvgCubeBack:OB,SvgCubeBottom:LB,SvgCubeFront:$B,SvgCubeLeft:DB,SvgCubeRight:BB,SvgCubeTop:zB,SvgCylinder3D:pD,SvgDangerSolid:T7,SvgDesktopBold:hD,SvgDeviceMobileSlashBold:mD,SvgDotsSix:N7,SvgEraserBold:gD,SvgEyeBold:A7,SvgEyeSlashBold:P7,SvgFileArrowDownBold:vD,SvgFlagBold:wD,SvgFlagSolid:bD,SvgFloppyDiskBold:yD,SvgFloppyDiskRegular:_D,SvgFlowArrow:xD,SvgFolderOpenBold:SD,SvgFolderOpenRegular:CD,SvgGlobe:ED,SvgGpsFixBold:MD,SvgHighlighterBold:kD,SvgImportBold:RD,SvgImportPreviewBold:TD,SvgInfoSolid:ND,SvgInformationRegular:PD,SvgJoystickBold:AD,SvgLightningSolid:ID,SvgListChecksBold:OD,SvgLockOpenSolid:LD,SvgLockSolid:$D,SvgLogSolid:DD,SvgMagnifyingGlassMinusBold:BD,SvgMagnifyingGlassPlusBold:zD,SvgMapBold:jD,SvgMapPinBold:FD,SvgMapPinSolid:VD,SvgMapSolid:HD,SvgMapping:WD,SvgMinusBold:I7,SvgMonitorBold:qD,SvgMoon:UD,SvgMoveSolid:YD,SvgNavigationArrowBold:GD,SvgNavigationArrowSoild:KD,SvgNode:XD,SvgNotePencilBold:ZD,SvgPathBold:QD,SvgPauseBold:JD,SvgPauseSolid:eB,SvgPencilSimpleBold:tB,SvgPlayBold:nB,SvgPlaySolid:rB,SvgPlusBold:O7,SvgPointCloudSolid:oB,SvgPopupMoveJ:aB,SvgPopupMoveL:iB,SvgProgramSolid:sB,SvgQrCodeRegular:lB,SvgRecording:cB,SvgReturn:L7,SvgRobotArmBold:uB,SvgRotateLeft:dB,SvgRotateRight:ev,SvgScissorsBold:fB,SvgSearchBold:oh,SvgSettingBold:pB,SvgSettingSolid:hB,SvgShapesSolid:mB,SvgSignIn:gB,SvgSignOut:vB,SvgSkipForwardBold:wB,SvgSphere3D:bB,SvgStateASC:$7,SvgStateDESC:D7,SvgStopBold:yB,SvgStopSolid:_B,SvgSun:xB,SvgTopViewBold:SB,SvgTopologyBold:CB,SvgTrashBold:EB,SvgTurnLeft:MB,SvgUsb:FB,SvgUserBold:kB,SvgUserSolid:RB,SvgWand:VB,SvgWarning:TB,SvgWarningCircle:NB,SvgWarningSolid:B7,SvgWifi:PB,SvgWifiBold:jB,SvgWifiCog:HB,SvgWifiNone:AB,SvgXBold:wf},Symbol.toStringTag,{value:"Module"})),WB=me(["relative inline-flex","[&>label]:w-full","[&_.ico-check]:hidden","[&_.text]:relative","[&_.text]:inline-flex","[&_.text]:w-full","[&_.text]:items-center","[&_.text]:justify-center","[&_.text]:gap-1","[&_.text]:cursor-pointer","[&_.text]:transition-colors","[&_.text]:select-none","[&_.text]:rounded-md","[&_.text]:outline","[&_.text]:outline-1","[&_.text]:outline-offset-[-1px]","[&_.text]:bg-fill-transparent","[&_.text]:text-fg-default","[&_.text]:outline-border-default","[&_.text]:hover:bg-fill-transparent-hovered","[&_.label-text]:text-center","[&_.label-text]:typo-compact-xs-semibold","[&_[data-slot='check-label-button-icon']]:text-current","[&_.peer:checked~.text]:bg-fill-brand-subtler","[&_.peer:checked~.text]:text-fg-default","[&_.peer:checked~.text]:outline-border-brand-stronger","[&_.peer:checked~.text]:hover:bg-fill-brand-subtle","[&_.peer:disabled~.text]:bg-fill-transparent","[&_.peer:disabled~.text]:cursor-not-allowed","[&_.peer:disabled~.text]:text-fg-disabled","[&_.peer:disabled~.text]:outline-border-disabled","[&_.peer:disabled~.text]:hover:bg-fill-transparent","[&_.peer:checked:disabled~.text]:bg-fill-disabled","[&_.peer:checked:disabled~.text]:text-fg-disabled","[&_.peer:checked:disabled~.text]:outline-transparent","[&_.peer[readonly]~.text]:bg-fill-transparent","[&_.peer[readonly]~.text]:cursor-not-allowed","[&_.peer[readonly]~.text]:text-fg-default","[&_.peer[readonly]~.text]:outline-border-subtler","[&_.peer[readonly]~.text]:hover:bg-fill-transparent","[&_.peer:checked[readonly]~.text]:bg-fill-disabled","[&_.peer:checked[readonly]~.text]:text-fg-default","[&_.peer:checked[readonly]~.text]:outline-transparent"].join(" "),{variants:{size:{xs:["[&_.text]:min-h-7","[&_.text]:px-2","[&_.text]:py-1.5"].join(" "),xs2:["[&_.text]:min-h-8","[&_.text]:px-3","[&_.text]:py-2"].join(" "),sm:["[&_.text]:min-h-8","[&_.text]:px-3","[&_.text]:py-2"].join(" "),md:["[&_.text]:min-h-9","[&_.text]:px-3.5","[&_.text]:py-2.5"].join(" ")},disabled:{true:"pointer-events-none cursor-not-allowed",false:""}},defaultVariants:{size:"sm",disabled:!1}}),qB=me("inline-flex size-3.5 shrink-0 items-center justify-center text-current [&_svg]:size-full [&_svg]:shrink-0",{variants:{size:{xs:"size-3.5",xs2:"size-3.5",sm:"size-3.5",md:"size-4"},disabled:{true:"pointer-events-none cursor-not-allowed",false:""}},defaultVariants:{size:"sm",disabled:!1}}),{forwardRef:UB,useEffect:YB,useMemo:GB,useState:KB}=await q("react"),XB=UB(({className:t,children:e,rippleOption:n={disabled:!0},icon:r,size:o="sm",disabled:a,value:i,checkValue:s=!0,onChange:l,...u},d)=>{const f=GB(()=>{if(!(typeof i>"u"))return Array.isArray(s)&&Array.isArray(i)?i.length===s.length&&i.every(y=>s.includes(y)):Array.isArray(i)?i.includes(s):i===s},[s,i]),[m,v]=KB(!!f),g=typeof f=="boolean",w=g?f:m;return YB(()=>{typeof f=="boolean"&&v(f)},[f]),h(Rr,{"data-slot":"check-label-button-ripple",...n,children:h(ow,{"data-slot":"check-label-button",ref:d,size:o,disabled:a,value:i,checkValue:s,onChange:y=>{g||v(y.target.checked),l?.(y)},className:se(WB({size:o,disabled:a}),t),...u,children:ne(Mr,{children:[w&&h("span",{"data-slot":"check-label-button-icon",className:se(qB({size:o,disabled:a})),children:r??h(Ys,{})}),h("span",{"data-slot":"check-label-button-text",className:"label-text",children:e})]})})})});XB.displayName="RBCheckLabelButton";const ZB=me(["relative inline-flex","[&_.ico-check]:hidden","[&_.text]:inline-flex","[&_.text]:items-center","[&_.text]:justify-center","[&_.text]:cursor-pointer","[&_.text]:rounded-md","[&_.text]:text-fg-default","[&_.text]:transition-colors","[&_.text]:select-none","[&_.text]:outline","[&_.text]:outline-1","[&_.text]:outline-offset-[-1px]","[&_.text]:bg-fill-transparent","[&_.text]:outline-border-default","[&_.text]:hover:bg-fill-transparent-hovered","[&_[data-slot='check-icon-button-icon']]:text-current","[&_.peer:checked~.text]:bg-fill-brand-subtler","[&_.peer:checked~.text]:text-fg-default","[&_.peer:checked~.text]:outline-border-brand-stronger","[&_.peer:checked~.text]:hover:bg-fill-brand-subtle","[&_.peer:disabled~.text]:bg-fill-transparent","[&_.peer:disabled~.text]:cursor-not-allowed","[&_.peer:disabled~.text]:text-fg-disabled","[&_.peer:disabled~.text]:outline-border-disabled","[&_.peer:disabled~.text]:hover:bg-fill-transparent","[&_.peer:checked:disabled~.text]:bg-fill-disabled","[&_.peer:checked:disabled~.text]:text-fg-disabled","[&_.peer:checked:disabled~.text]:outline-transparent","[&_.peer[readonly]~.text]:bg-fill-transparent","[&_.peer[readonly]~.text]:cursor-not-allowed","[&_.peer[readonly]~.text]:text-fg-default","[&_.peer[readonly]~.text]:outline-border-subtler","[&_.peer[readonly]~.text]:hover:bg-fill-transparent","[&_.peer:checked[readonly]~.text]:bg-fill-disabled","[&_.peer:checked[readonly]~.text]:text-fg-default","[&_.peer:checked[readonly]~.text]:outline-transparent"].join(" "),{variants:{size:{xs:["[&_.text]:size-7"].join(" "),xs2:["[&_.text]:size-8"].join(" "),sm:["[&_.text]:size-9"].join(" "),md:["[&_.text]:size-10"].join(" ")},disabled:{false:"",true:"pointer-events-none cursor-not-allowed"}},defaultVariants:{size:"xs",disabled:!1}}),QB=me("inline-flex shrink-0 items-center justify-center text-current [&_svg]:block [&_svg]:shrink-0 [&_svg]:leading-none",{variants:{size:{xs:"size-4",xs2:"size-4",sm:"size-4",md:"size-5"},disabled:{false:"",true:""}},defaultVariants:{size:"xs",disabled:!1}}),{forwardRef:JB}=await q("react"),ez=JB(({className:t,children:e,rippleOption:n={disabled:!0},icon:r,size:o="sm",disabled:a,...i},s)=>h(Rr,{"data-slot":"check-icon-button-ripple",...n,children:h(ow,{"data-slot":"check-icon-button",ref:s,size:o,disabled:a,className:se(ZB({size:o,disabled:a}),t),...i,children:ne(Mr,{children:[r&&h("span",{"data-slot":"check-icon-button-icon",className:QB({size:o,disabled:a}),children:r}),h("span",{"data-slot":"check-icon-button-text",children:e})]})})}));ez.displayName="RBCheckIconButton";const tz=me(["relative inline-flex items-center justify-center bg-transparent whitespace-nowrap","transition-colors select-none"].join(" "),{variants:{size:{xs:"gap-0_5 typo-compact-xs-semibold",sm:"typo-compact-xs2-semibold gap-1",md:"typo-compact-sm2-semibold gap-1"},variant:{default:["text-fg-default","hover:text-fg-default-hovered","disabled:text-fg-disabled"].join(" "),brand:["text-fg-brand","hover:text-fg-brand-hovered","disabled:text-fg-disabled"].join(" ")},disabled:{true:"pointer-events-none cursor-not-allowed",false:""}},defaultVariants:{size:"sm",variant:"default"}}),Zy=me("inline-flex shrink-0 items-center justify-center [&_svg]:block [&_svg]:shrink-0 [&_svg]:leading-none",{variants:{size:{xs:"size-3.5",sm:"size-3.5",md:"size-4"},disabled:{true:"text-fg-disabled",false:""}},defaultVariants:{size:"sm"}}),{useCallback:Qy,useRef:nz}=await q("react");function ghe({className:t,size:e,variant:n,type:r="button",leadingIcon:o,trailingIcon:a,ripple:i,detectDoubleClick:s,children:l,disabled:u,onClick:d,...f}){const m=nz(null),v=Qy(()=>{s&&(window.clearTimeout(m.current??0),m.current=window.setTimeout(()=>{m.current=null},500))},[s]),g=Qy(w=>{m.current||(d?.(w),v())},[v,d]);return ne("button",{"data-slot":"inline-label-button",className:se(tz({size:e,variant:n,disabled:u}),t),disabled:u,type:r,onClick:g,...f,children:[o&&h("span",{"data-slot":"inline-label-button-leading-icon","aria-hidden":!0,className:se(Zy({size:e,disabled:u})),children:o}),h("span",{"data-slot":"inline-label-button-text",className:"inline-flex items-center justify-center",children:l}),a&&h("span",{"data-slot":"inline-label-button-trailing-icon","aria-hidden":!0,className:se(Zy({size:e,disabled:u})),children:a})]})}const rz=me("relative inline-flex w-full flex-col items-start",{variants:{type:{transparent:"",fill:"bg-alt-2 overflow-hidden rounded-md"}},defaultVariants:{type:"transparent"}}),oz=me("inline-flex h-9 w-full items-center justify-between text-left transition-colors",{variants:{type:{transparent:"px-2",fill:"px-3"},disabled:{false:"",true:"cursor-not-allowed"}},compoundVariants:[{type:"transparent",disabled:!1,className:"text-fg-default hover:text-fg-default-hovered cursor-pointer"},{type:"transparent",disabled:!0,className:"text-fg-disabled"},{type:"fill",disabled:!1,className:"bg-fill-subtlest text-fg-default hover:bg-fill-subtlest-hovered cursor-pointer"},{type:"fill",disabled:!0,className:"bg-fill-disabled text-fg-disabled"}],defaultVariants:{type:"transparent",disabled:!1}}),az=me("line-clamp-1 min-w-0 flex-1",{variants:{type:{transparent:"typo-compact-xs2-semibold",fill:"typo-compact-sm2-semibold"}},defaultVariants:{type:"transparent"}}),iz=me("relative inline-flex size-4 shrink-0 items-center justify-center overflow-hidden text-current",{variants:{direction:{down:"translate-y-px",up:""}},defaultVariants:{direction:"down"}}),sz=me("w-full overflow-hidden transition-[max-height] duration-200",{variants:{open:{true:"max-h-[100vh]",false:"max-h-0"}},defaultVariants:{open:!1}}),lz=me("text-fg-subtler w-full text-xs leading-4",{variants:{type:{transparent:"px-2 pb-3",fill:"px-0 pb-0"}},defaultVariants:{type:"transparent"}}),{useCallback:cz,useId:uz,useRef:dz,useState:fz}=await q("react"),pz=({className:t="",headerClassName:e,name:n,title:r,ripple:o={disabled:!0},icon:a,dividerColor:i,open:s,initialOpen:l,children:u,disabled:d=!1,type:f="transparent",handleOpenChange:m})=>{const v=dz(null),g=uz(),[w,y]=fz(!!l),_=typeof s=="boolean"?s:w,S=_,x=cz(C=>{const M=C.target;if(M){if(n){const A=document.querySelectorAll(`input[name="${n}"]`);Array.from(A).filter(D=>D.id!==M.id).forEach(D=>{D.checked=!1})}typeof s!="boolean"&&y(M.checked),m?.(M.checked,C)}},[m,n,s]);return ne("div",{"data-slot":"accord",className:se(rz({type:f}),t),children:[h("input",{ref:v,className:"hidden",tabIndex:-1,type:"checkbox",name:n,id:g,value:g,disabled:d,checked:_,onChange:x}),h("label",{htmlFor:g,className:"block w-full",children:h(Rr,{...o,disabled:d||o?.disabled,children:ne("div",{"data-slot":"accord-header",className:se(oz({type:f,disabled:d}),e),children:[h("span",{className:az({type:f}),children:r}),h("i",{className:iz({direction:S?"up":"down"}),children:a??(S?h(sw,{}):h(nh,{}))})]})})}),h("div",{"data-slot":"accord-content",className:sz({open:_}),children:h("div",{"data-slot":"accord-content-inner",className:lz({type:f}),children:u})})]})},{useId:hz}=await q("react"),vhe=({className:t,list:e,ripple:n,icon:r,isToggle:o,initialOpen:a=!1,handleClickAccordion:i})=>{const l=`accordion-group-${hz()}`;return h("div",{className:se("inline-flex w-full flex-col",t),children:(e??[]).map((u,d)=>{const f=u.key??d;return h(pz,{...u,icon:r,className:se("w-full",u.className),ripple:n??u.ripple,handleOpenChange:(m,v)=>i({status:m,key:f,e:v}),initialOpen:a,name:o?l:void 0},`${u.title}-${d}`)})})},mz=me("bg-border-subtle shrink-0",{variants:{orientation:{horizontal:"w-full",vertical:"h-full"},thickness:{thin:"",thick:""}},compoundVariants:[{orientation:"horizontal",thickness:"thin",className:"h-px"},{orientation:"horizontal",thickness:"thick",className:"h-0_5"},{orientation:"vertical",thickness:"thin",className:"w-px"},{orientation:"vertical",thickness:"thick",className:"w-0_5"}],defaultVariants:{orientation:"horizontal",thickness:"thin"}}),{forwardRef:gz,useMemo:vz}=await q("react");function wz(t,e,n){if(e===void 0)return{};const r=`${e/16}rem`;return n==="both"?t==="vertical"?{marginInline:r}:{marginBlock:r}:n==="top"?{marginTop:r}:n==="bottom"?{marginBottom:r}:n==="left"?{marginLeft:r}:{marginRight:r}}function bz(t,e){return typeof e=="number"?e:t==="thick"?2:1}function yz(t,e,n,r){const o=e==="soft"?"solid":e;return o==="solid"?t==="horizontal"?{height:n,backgroundColor:r}:{width:n,backgroundColor:r,height:"100%"}:t==="horizontal"?{height:0,borderTopWidth:n,borderTopStyle:o,borderTopColor:r}:{width:0,height:"100%",borderLeftWidth:n,borderLeftStyle:o,borderLeftColor:r}}const _z=gz(({className:t,type:e="horizontal",variant:n="solid",color:r,size:o,thickness:a="thin",spaceSize:i,spaceDirection:s="both",contentSpace:l=12,contentAlign:u="center",contentPosition:d,children:f,style:m},v)=>{const g=e,w=bz(a,o),y=wz(g,i,s),_=vz(()=>`${l/16}rem`,[l]),S=n==="dashed"||n==="dotted",x=n==="soft",C=se(mz({orientation:g,thickness:a}),S&&"bg-border-subtle bg-transparent",x&&"bg-border-subtler"),M=yz(g,n,w,r);if(g==="vertical")return h("div",{ref:v,"data-slot":"divider",role:"separator","aria-orientation":"vertical",className:se("inline-flex h-full",t),style:{...y,...m},children:h("div",{"data-slot":"divider-line",className:C,style:M})});const A=u==="left"?{paddingLeft:d}:u==="right"?{paddingRight:d}:{};return f?ne("div",{ref:v,"data-slot":"divider",role:"separator","aria-orientation":"horizontal",className:se("flex w-full items-center",t),style:{...y,...A,...m},children:[h("div",{"data-slot":"divider-line",className:C,style:{...M,width:u==="left"?_:"100%",flex:u==="left"?"0 0 auto":1}}),h("div",{"data-slot":"divider-content",className:"text-fg-subtle shrink-0",style:{paddingInline:_},children:f}),h("div",{"data-slot":"divider-line",className:C,style:{...M,width:u==="right"?_:"100%",flex:u==="right"?"0 0 auto":1}})]}):h("div",{ref:v,"data-slot":"divider",role:"separator","aria-orientation":"horizontal",className:se("w-full",t),style:{...y,...m},children:h("div",{"data-slot":"divider-line",className:C,style:{...M,width:"100%"}})})});_z.displayName="RBDivider";const{useState:xz,useEffect:Sz}=await q("react"),{createPortal:Cz}=await q("react-dom"),Ql=({children:t,id:e="portal-wrapper",container:n=null})=>{const[r,o]=xz(null);return Sz(()=>{if(n){o(n);return}if(e){let a=!1,i=document.getElementById(e);if(!i){a=!0;const s=document.createElement("div");s.setAttribute("id",e),document.body.appendChild(s),i=s}return o(i),()=>{a&&i?.parentNode&&i.parentNode.childElementCount===1&&i.parentNode.removeChild(i)}}},[n,e]),r&&Cz(t,r)},Ez=me(["fixed z-[10000] touch-none","inline-flex flex-col items-center justify-start gap-1","bg-overlay shadow-down-xl pb-1_5 rounded-md px-1.5 pt-1"].join(" ")),Mz=me("pointer-events-auto flex size-5 cursor-grab touch-none items-center justify-center select-none active:cursor-grabbing"),kz=me("text-fg-subtle size-5 shrink-0"),Rz=me("inline-flex flex-col items-start justify-center gap-1"),Tz=me("inline-flex items-stretch justify-start gap-1"),Jy=me("inline-flex w-12 flex-col items-start justify-start gap-1",{variants:{functionColumn:{true:"self-stretch",false:""}},defaultVariants:{functionColumn:!1}}),Km=me(["border-subtle w-full rounded-md border-t","flex flex-col items-center justify-center","text-center transition-colors select-none"].join(" "),{variants:{kind:{number:"bg-fill-subtler hover:bg-fill-subtler-hovered p-2_5 h-12",function:"bg-fill-subtlest hover:bg-fill-subtlest p-2_5 h-12",set:"bg-fill-subtlest hover:bg-fill-subtlest p-2_5 !h-auto min-h-24 flex-1 self-stretch",close:"bg-fill-subtle hover:bg-fill-subtle-hovered p-2_5 h-9 w-52"},disabled:{true:"pointer-events-none hidden opacity-40",false:""}},defaultVariants:{kind:"number",disabled:!1}}),Xm=me("text-fg-default self-stretch text-center",{variants:{kind:{number:"typo-body-sm-semibold",function:"typo-compact-xs-semibold",set:"typo-compact-xs-semibold",close:"typo-compact-xs-semibold"}},defaultVariants:{kind:"number"}}),Nz=me("text-fg-default inline-flex size-5 shrink-0 items-center justify-center [&_svg]:size-full"),{useCallback:Ha,useEffect:e_,useRef:ud,useState:t_}=await q("react"),Pz=[["7","4","1","-"],["8","5","2","0"],["9","6","3","."]],Az=["backspace","delete","set"],mr=16,zp=12,n_=(t,e,n)=>Math.min(Math.max(t,e),n),lw=({className:t,inputRef:e,useSet:n=!1,onSet:r,onClose:o,maxLength:a=99999999})=>{const i=ud(null),s=ud(null),l=ud({isDragging:!1,offsetX:0,offsetY:0}),u=ud(""),d=ud(null),[f,m]=t_(!1),[v,g]=t_(!1),w=Ha((T,R,$,P)=>{const I=Math.max(mr,window.innerWidth-$-mr),L=Math.max(mr,window.innerHeight-P-mr);return{left:n_(T,mr,I),top:n_(R,mr,L)}},[]),y=Ha((T,R,$,P)=>{const I=e?.current;if(!I)return!1;const L=I.getBoundingClientRect();return!(T+$<=L.left||T>=L.right||R+P<=L.top||R>=L.bottom)},[e]),_=Ha((T,R)=>{const $=e?.current;if(!$)return w(mr,mr,T,R);const P=$.getBoundingClientRect(),I=P.left-mr,L=window.innerWidth-P.right-mr,V=P.top-mr,F=window.innerHeight-P.bottom-mr,z=L>=I,B=P.top+R<=window.innerHeight-mr,Y=P.bottom-R>=mr;let U=z?P.right+zp:P.left-T-zp,le=P.top;z&&U+T>window.innerWidth-mr&&(U=P.left-T-zp),!z&&U<mr&&(U=P.right+zp),!B&&Y?le=P.bottom-R:!B&&!Y&&(le=F>=V?mr:P.bottom-R);const J=w(U,le,T,R);return localStorage.setItem("number-keypad-pos",JSON.stringify(J)),J},[w,e]),S=Ha(()=>{const T=i.current;if(!T)return null;const R=T.offsetWidth,$=T.offsetHeight,P=localStorage.getItem("number-keypad-pos");if(P){const I=JSON.parse(P);if(typeof I.left=="number"&&typeof I.top=="number"){const L=w(I.left,I.top,R,$);if(L.left===I.left&&L.top===I.top&&!y(L.left,L.top,R,$))return L}}return _(R,$)},[w,_,y]),x=Ha(T=>{const R=s.current,$=i.current;if(!R||!$)return;const P=$.getBoundingClientRect();l.current={isDragging:!0,offsetX:T.clientX-P.left,offsetY:T.clientY-P.top},R.setPointerCapture(T.pointerId),T.stopPropagation()},[]),C=Ha(T=>{const R=i.current;if(!l.current.isDragging||!R)return;let $=T.clientX-l.current.offsetX,P=T.clientY-l.current.offsetY;const I=window.innerWidth-R.offsetWidth,L=window.innerHeight-R.offsetHeight;$=Math.max(0,Math.min($,I)),P=Math.max(0,Math.min(P,L)),R.style.left=`${$}px`,R.style.top=`${P}px`},[]),M=Ha(T=>{const R=s.current,$=i.current;if(!l.current.isDragging||!R||!$)return;l.current.isDragging=!1,R.releasePointerCapture(T.pointerId);const P=$.style.left?Number($.style.left.replace("px","")):null,I=$.style.top?Number($.style.top.replace("px","")):null;localStorage.setItem("number-keypad-pos",JSON.stringify({left:P,top:I}))},[]),A=Ha((T,R)=>{const $=e?.current;if(!$)return;n&&($.dataset.tempNumberKeypadValue="1"),u.current=T,u.current!==d.current&&u.current.length>0&&n?$.style.color="var(--color-fg-warning)":$.style.color="";const P=$.ownerDocument.defaultView?.HTMLInputElement.prototype;Object.getOwnPropertyDescriptor(P,"value")?.set?.call($,T),$.dispatchEvent(new Event("input",{bubbles:!0})),R!==void 0&&requestAnimationFrame(()=>{$.setSelectionRange(R,R)})},[e,n]),O=Ha(T=>{const R=e?.current;if(!R)return;const P=n&&!!R.dataset.tempNumberKeypadValue?u.current:R.value,I=P.length,L=Math.min(R.selectionStart??I,I),V=Math.min(R.selectionEnd??I,I),F=u.current;if(T==="set"){r?.(F,R?.name),delete R.dataset.tempNumberKeypadValue,R.blur();return}if(T==="delete"){A("",0);return}if(T==="backspace"){if(L!==V){const Y=P.slice(0,L)+P.slice(V);A(Y,L);return}if(L===0)return;const B=P.slice(0,L-1)+P.slice(V);A(B,L-1);return}if(T==="."&&P.includes("."))return;if(T==="-"){u.current.startsWith("-")?A(u.current.slice(1),Math.max(0,L-1)):u.current==="0"?A("-",1):A(`-${u.current}`,L+1);return}if(P.length-(V-L)>=a)return;const z=P.slice(0,L)+T+P.slice(V);A(z,L+T.length)},[A,e,a,r,n]),D=Ha(T=>{e?.current&&(e.current.value=d.current??"",e.current.blur(),o?.())},[e,o]);return e_(()=>{const T=e?.current,R=()=>{!T||T.inputMode!=="none"||(d.current=T.value,n&&(T.dataset.tempNumberKeypadValue="1"),m(!0),setTimeout(()=>{const L=i.current,V=S();u.current=n?"":T.value,L&&V&&(L.style.left=`${V.left}px`,L.style.top=`${V.top}px`),g(!0)},100))},$=()=>{u.current=T.value,T.dataset.tempNumberKeypadValue&&u.current!==d.current&&u.current.length>0&&n?T.style.color="var(--color-fg-warning)":T.style.color=""},P=()=>{T&&(T.dataset.tempNumberKeypadValue?A(d.current??""):A(u.current??""),delete T.dataset.tempNumberKeypadValue,d.current=null,u.current="",T.style.color="",window.setTimeout(()=>{g(!1),m(!1)},100))},I=L=>{e?.current&&(L.key==="Escape"?(e.current.value=d.current??"",e.current.blur()):L.key==="Enter"&&(delete T.dataset.tempNumberKeypadValue,e.current.blur()))};if(T)return T.addEventListener("focus",R),T.addEventListener("blur",P),T.addEventListener("input",$),T.addEventListener("keydown",I),()=>{T.removeEventListener("focus",R),T.removeEventListener("blur",P),T.removeEventListener("input",$),T.removeEventListener("keydown",I)}},[A,S,e,n]),e_(()=>{if(!f)return;history.pushState({keyboard:!0},"");const T=R=>{R.state?.keyboard||(g(!1),m(!1),e?.current?.blur(),history.pushState({keyboard:!0},""))};return window.addEventListener("popstate",T),()=>{window.removeEventListener("popstate",T),history.state?.keyboard&&history.back()}},[e,f]),f?h(Ql,{id:"number-keypad",children:ne("div",{ref:i,"data-slot":"number-keypad",className:se(Ez(),!v&&"invisible",t),onMouseDown:T=>T.preventDefault(),onPointerDown:T=>T.preventDefault(),children:[h("div",{ref:s,"data-slot":"number-keypad-handle",onPointerDown:x,onPointerMove:C,onPointerUp:M,className:Mz(),children:h(N7,{className:kz()})}),ne("div",{"data-slot":"number-keypad-body",className:Rz(),children:[ne("div",{"data-slot":"number-keypad-grid",className:Tz(),children:[Pz.map((T,R)=>h("div",{"data-slot":"number-keypad-column",className:Jy(),children:T.map($=>h(Hr,{type:"button",variant:"transparent",size:"md",className:Km({kind:"number"}),onClick:P=>{P.stopPropagation(),P.preventDefault(),O($)},children:h("span",{className:Xm({kind:"number"}),children:$})},$))},`column-${R}`)),h("div",{"data-slot":"number-keypad-column",className:Jy({functionColumn:!0}),children:Az.map(T=>{const R=T==="set"?"set":"function",$=T==="set"&&!n;return h(Hr,{type:"button",variant:"transparent",size:"md",disabled:$,leadingIcon:T==="backspace"?h("span",{className:Nz(),children:h(aw,{})}):void 0,className:Km({kind:R,disabled:$}),onClick:P=>{P.stopPropagation(),P.preventDefault(),O(T)},children:T!=="backspace"&&h("span",{className:Xm({kind:R}),children:T==="delete"?"Del":"Set"})},T)})})]}),h(Hr,{type:"button",variant:"transparent",size:"sm",className:Km({kind:"close"}),onMouseDown:T=>{T.stopPropagation(),T.preventDefault(),D(T)},children:h("span",{className:Xm({kind:"close"}),children:"Close"})})]})]})}):null};lw.displayName="RBNumberKeypad";const Iz=me(["inline-flex w-96 items-center overflow-hidden","bg-fill-control-surface outline outline-1 outline-offset-[-1px]","transition-colors"].join(" "),{variants:{size:{xs2:"h-8 rounded-md",sm:"h-9 rounded-md",md:"h-10 rounded-md",lg:"h-12 rounded-lg"},variant:{default:"outline-border-default",success:"outline-border-success-stronger"},focus:{true:"outline-border-input-focused",false:""},error:{true:"outline-border-danger-stronger",false:""},readOnly:{true:"bg-fill-control-surface-disabled outline-border-disabled",false:""},disabled:{true:"bg-fill-control-surface-disabled text-fg-disabled outline-border-disabled pointer-events-none cursor-not-allowed",false:""}},compoundVariants:[{variant:"default",focus:!1,error:!1,readOnly:!1,disabled:!1,className:"[&:hover]:bg-fill-control-surface-hovered [&:hover]:outline-border-default [&:hover]:text-fg-subtler"},{variant:"success",focus:!1,error:!1,readOnly:!1,disabled:!1,className:"[&:hover]:bg-fill-control-surface [&:hover]:outline-border-success-stronger [&:hover]:text-fg-subtler"},{focus:!0,className:"[&:hover]:bg-fill-control-surface [&:hover]:outline-border-input-focused"},{error:!0,className:"[&:hover]:bg-fill-control-surface [&:hover]:outline-border-danger-stronger"},{readOnly:!0,className:"[&:hover]:bg-fill-control-surface-disabled [&:hover]:outline-border-disabled"},{disabled:!0,className:"[&:hover]:bg-fill-control-surface-disabled [&:hover]:outline-border-disabled"}],defaultVariants:{size:"md",variant:"default",focus:!1,error:!1,readOnly:!1,disabled:!1}}),Oz=me(["min-w-0 flex-1 border-none bg-transparent !shadow-[none] ring-0 outline-none","[&::-webkit-search-cancel-button]:hidden [&::-webkit-search-decoration]:hidden","placeholder:text-fg-subtler text-fg-default"].join(" "),{variants:{size:{xs2:"typo-compact-xs2-normal px-2_5",sm:"typo-compact-sm-normal px-2_5",md:"typo-compact-sm2-normal px-3",lg:"typo-compact-sm2-normal px-3"},variant:{default:"text-fg-default",success:"text-fg-default"},disabled:{true:"text-fg-disabled placeholder-text-fg-disabled",false:"text-fg-default"},hasReset:{true:"pr-0",false:""}},defaultVariants:{size:"md",variant:"default",hasReset:!1}}),Lz=me("text-fg-subtle shrink-0 items-center justify-center",{variants:{size:{xs2:"size-8",sm:"size-8",md:"size-10",lg:"size-12"}},defaultVariants:{size:"md"}}),$z=me("",{variants:{size:{xs2:"size-4",sm:"size-4",md:"size-5",lg:"size-5"}},defaultVariants:{size:"md"}});var hs={},gl={};/**
|
|
58
|
-
* @license React
|
|
59
|
-
* react-dom-server-legacy.browser.production.min.js
|
|
60
|
-
*
|
|
61
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
62
|
-
*
|
|
63
|
-
* This source code is licensed under the MIT license found in the
|
|
64
|
-
* LICENSE file in the root directory of this source tree.
|
|
65
|
-
*/var r_;function Dz(){if(r_)return gl;r_=1;var t=tw();function e(E){for(var H="https://reactjs.org/docs/error-decoder.html?invariant="+E,X=1;X<arguments.length;X++)H+="&args[]="+encodeURIComponent(arguments[X]);return"Minified React error #"+E+"; visit "+H+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var n=Object.prototype.hasOwnProperty,r=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,o={},a={};function i(E){return n.call(a,E)?!0:n.call(o,E)?!1:r.test(E)?a[E]=!0:(o[E]=!0,!1)}function s(E,H,X,ie,Re,Ce,Be){this.acceptsBooleans=H===2||H===3||H===4,this.attributeName=ie,this.attributeNamespace=Re,this.mustUseProperty=X,this.propertyName=E,this.type=H,this.sanitizeURL=Ce,this.removeEmptyString=Be}var l={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(E){l[E]=new s(E,0,!1,E,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(E){var H=E[0];l[H]=new s(H,1,!1,E[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(E){l[E]=new s(E,2,!1,E.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(E){l[E]=new s(E,2,!1,E,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(E){l[E]=new s(E,3,!1,E.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(E){l[E]=new s(E,3,!0,E,null,!1,!1)}),["capture","download"].forEach(function(E){l[E]=new s(E,4,!1,E,null,!1,!1)}),["cols","rows","size","span"].forEach(function(E){l[E]=new s(E,6,!1,E,null,!1,!1)}),["rowSpan","start"].forEach(function(E){l[E]=new s(E,5,!1,E.toLowerCase(),null,!1,!1)});var u=/[\-:]([a-z])/g;function d(E){return E[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(E){var H=E.replace(u,d);l[H]=new s(H,1,!1,E,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(E){var H=E.replace(u,d);l[H]=new s(H,1,!1,E,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(E){var H=E.replace(u,d);l[H]=new s(H,1,!1,E,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(E){l[E]=new s(E,1,!1,E.toLowerCase(),null,!1,!1)}),l.xlinkHref=new s("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(E){l[E]=new s(E,1,!1,E.toLowerCase(),null,!0,!0)});var f={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},m=["Webkit","ms","Moz","O"];Object.keys(f).forEach(function(E){m.forEach(function(H){H=H+E.charAt(0).toUpperCase()+E.substring(1),f[H]=f[E]})});var v=/["'&<>]/;function g(E){if(typeof E=="boolean"||typeof E=="number")return""+E;E=""+E;var H=v.exec(E);if(H){var X="",ie,Re=0;for(ie=H.index;ie<E.length;ie++){switch(E.charCodeAt(ie)){case 34:H=""";break;case 38:H="&";break;case 39:H="'";break;case 60:H="<";break;case 62:H=">";break;default:continue}Re!==ie&&(X+=E.substring(Re,ie)),Re=ie+1,X+=H}E=Re!==ie?X+E.substring(Re,ie):X}return E}var w=/([A-Z])/g,y=/^ms-/,_=Array.isArray;function S(E,H){return{insertionMode:E,selectedValue:H}}function x(E,H,X){switch(H){case"select":return S(1,X.value!=null?X.value:X.defaultValue);case"svg":return S(2,null);case"math":return S(3,null);case"foreignObject":return S(1,null);case"table":return S(4,null);case"thead":case"tbody":case"tfoot":return S(5,null);case"colgroup":return S(7,null);case"tr":return S(6,null)}return 4<=E.insertionMode||E.insertionMode===0?S(1,null):E}var C=new Map;function M(E,H,X){if(typeof X!="object")throw Error(e(62));H=!0;for(var ie in X)if(n.call(X,ie)){var Re=X[ie];if(Re!=null&&typeof Re!="boolean"&&Re!==""){if(ie.indexOf("--")===0){var Ce=g(ie);Re=g((""+Re).trim())}else{Ce=ie;var Be=C.get(Ce);Be!==void 0||(Be=g(Ce.replace(w,"-$1").toLowerCase().replace(y,"-ms-")),C.set(Ce,Be)),Ce=Be,Re=typeof Re=="number"?Re===0||n.call(f,ie)?""+Re:Re+"px":g((""+Re).trim())}H?(H=!1,E.push(' style="',Ce,":",Re)):E.push(";",Ce,":",Re)}}H||E.push('"')}function A(E,H,X,ie){switch(X){case"style":M(E,H,ie);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<X.length)||X[0]!=="o"&&X[0]!=="O"||X[1]!=="n"&&X[1]!=="N"){if(H=l.hasOwnProperty(X)?l[X]:null,H!==null){switch(typeof ie){case"function":case"symbol":return;case"boolean":if(!H.acceptsBooleans)return}switch(X=H.attributeName,H.type){case 3:ie&&E.push(" ",X,'=""');break;case 4:ie===!0?E.push(" ",X,'=""'):ie!==!1&&E.push(" ",X,'="',g(ie),'"');break;case 5:isNaN(ie)||E.push(" ",X,'="',g(ie),'"');break;case 6:!isNaN(ie)&&1<=ie&&E.push(" ",X,'="',g(ie),'"');break;default:H.sanitizeURL&&(ie=""+ie),E.push(" ",X,'="',g(ie),'"')}}else if(i(X)){switch(typeof ie){case"function":case"symbol":return;case"boolean":if(H=X.toLowerCase().slice(0,5),H!=="data-"&&H!=="aria-")return}E.push(" ",X,'="',g(ie),'"')}}}function O(E,H,X){if(H!=null){if(X!=null)throw Error(e(60));if(typeof H!="object"||!("__html"in H))throw Error(e(61));H=H.__html,H!=null&&E.push(""+H)}}function D(E){var H="";return t.Children.forEach(E,function(X){X!=null&&(H+=X)}),H}function T(E,H,X,ie){E.push(P(X));var Re=X=null,Ce;for(Ce in H)if(n.call(H,Ce)){var Be=H[Ce];if(Be!=null)switch(Ce){case"children":X=Be;break;case"dangerouslySetInnerHTML":Re=Be;break;default:A(E,ie,Ce,Be)}}return E.push(">"),O(E,Re,X),typeof X=="string"?(E.push(g(X)),null):X}var R=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,$=new Map;function P(E){var H=$.get(E);if(H===void 0){if(!R.test(E))throw Error(e(65,E));H="<"+E,$.set(E,H)}return H}function I(E,H,X,ie,Re){switch(H){case"select":E.push(P("select"));var Ce=null,Be=null;for(Ct in X)if(n.call(X,Ct)){var Ge=X[Ct];if(Ge!=null)switch(Ct){case"children":Ce=Ge;break;case"dangerouslySetInnerHTML":Be=Ge;break;case"defaultValue":case"value":break;default:A(E,ie,Ct,Ge)}}return E.push(">"),O(E,Be,Ce),Ce;case"option":Be=Re.selectedValue,E.push(P("option"));var vt=Ge=null,bt=null,Ct=null;for(Ce in X)if(n.call(X,Ce)){var wn=X[Ce];if(wn!=null)switch(Ce){case"children":Ge=wn;break;case"selected":bt=wn;break;case"dangerouslySetInnerHTML":Ct=wn;break;case"value":vt=wn;default:A(E,ie,Ce,wn)}}if(Be!=null)if(X=vt!==null?""+vt:D(Ge),_(Be)){for(ie=0;ie<Be.length;ie++)if(""+Be[ie]===X){E.push(' selected=""');break}}else""+Be===X&&E.push(' selected=""');else bt&&E.push(' selected=""');return E.push(">"),O(E,Ct,Ge),Ge;case"textarea":E.push(P("textarea")),Ct=Be=Ce=null;for(Ge in X)if(n.call(X,Ge)&&(vt=X[Ge],vt!=null))switch(Ge){case"children":Ct=vt;break;case"value":Ce=vt;break;case"defaultValue":Be=vt;break;case"dangerouslySetInnerHTML":throw Error(e(91));default:A(E,ie,Ge,vt)}if(Ce===null&&Be!==null&&(Ce=Be),E.push(">"),Ct!=null){if(Ce!=null)throw Error(e(92));if(_(Ct)&&1<Ct.length)throw Error(e(93));Ce=""+Ct}return typeof Ce=="string"&&Ce[0]===`
|
|
66
|
-
`&&E.push(`
|
|
67
|
-
`),Ce!==null&&E.push(g(""+Ce)),null;case"input":E.push(P("input")),vt=Ct=Ge=Ce=null;for(Be in X)if(n.call(X,Be)&&(bt=X[Be],bt!=null))switch(Be){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,"input"));case"defaultChecked":vt=bt;break;case"defaultValue":Ge=bt;break;case"checked":Ct=bt;break;case"value":Ce=bt;break;default:A(E,ie,Be,bt)}return Ct!==null?A(E,ie,"checked",Ct):vt!==null&&A(E,ie,"checked",vt),Ce!==null?A(E,ie,"value",Ce):Ge!==null&&A(E,ie,"value",Ge),E.push("/>"),null;case"menuitem":E.push(P("menuitem"));for(var br in X)if(n.call(X,br)&&(Ce=X[br],Ce!=null))switch(br){case"children":case"dangerouslySetInnerHTML":throw Error(e(400));default:A(E,ie,br,Ce)}return E.push(">"),null;case"title":E.push(P("title")),Ce=null;for(wn in X)if(n.call(X,wn)&&(Be=X[wn],Be!=null))switch(wn){case"children":Ce=Be;break;case"dangerouslySetInnerHTML":throw Error(e(434));default:A(E,ie,wn,Be)}return E.push(">"),Ce;case"listing":case"pre":E.push(P(H)),Be=Ce=null;for(vt in X)if(n.call(X,vt)&&(Ge=X[vt],Ge!=null))switch(vt){case"children":Ce=Ge;break;case"dangerouslySetInnerHTML":Be=Ge;break;default:A(E,ie,vt,Ge)}if(E.push(">"),Be!=null){if(Ce!=null)throw Error(e(60));if(typeof Be!="object"||!("__html"in Be))throw Error(e(61));X=Be.__html,X!=null&&(typeof X=="string"&&0<X.length&&X[0]===`
|
|
68
|
-
`?E.push(`
|
|
69
|
-
`,X):E.push(""+X))}return typeof Ce=="string"&&Ce[0]===`
|
|
70
|
-
`&&E.push(`
|
|
71
|
-
`),Ce;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":E.push(P(H));for(var Lr in X)if(n.call(X,Lr)&&(Ce=X[Lr],Ce!=null))switch(Lr){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,H));default:A(E,ie,Lr,Ce)}return E.push("/>"),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return T(E,X,H,ie);case"html":return Re.insertionMode===0&&E.push("<!DOCTYPE html>"),T(E,X,H,ie);default:if(H.indexOf("-")===-1&&typeof X.is!="string")return T(E,X,H,ie);E.push(P(H)),Be=Ce=null;for(bt in X)if(n.call(X,bt)&&(Ge=X[bt],Ge!=null))switch(bt){case"children":Ce=Ge;break;case"dangerouslySetInnerHTML":Be=Ge;break;case"style":M(E,ie,Ge);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:i(bt)&&typeof Ge!="function"&&typeof Ge!="symbol"&&E.push(" ",bt,'="',g(Ge),'"')}return E.push(">"),O(E,Be,Ce),Ce}}function L(E,H,X){if(E.push('<!--$?--><template id="'),X===null)throw Error(e(395));return E.push(X),E.push('"></template>')}function V(E,H,X,ie){switch(X.insertionMode){case 0:case 1:return E.push('<div hidden id="'),E.push(H.segmentPrefix),H=ie.toString(16),E.push(H),E.push('">');case 2:return E.push('<svg aria-hidden="true" style="display:none" id="'),E.push(H.segmentPrefix),H=ie.toString(16),E.push(H),E.push('">');case 3:return E.push('<math aria-hidden="true" style="display:none" id="'),E.push(H.segmentPrefix),H=ie.toString(16),E.push(H),E.push('">');case 4:return E.push('<table hidden id="'),E.push(H.segmentPrefix),H=ie.toString(16),E.push(H),E.push('">');case 5:return E.push('<table hidden><tbody id="'),E.push(H.segmentPrefix),H=ie.toString(16),E.push(H),E.push('">');case 6:return E.push('<table hidden><tr id="'),E.push(H.segmentPrefix),H=ie.toString(16),E.push(H),E.push('">');case 7:return E.push('<table hidden><colgroup id="'),E.push(H.segmentPrefix),H=ie.toString(16),E.push(H),E.push('">');default:throw Error(e(397))}}function F(E,H){switch(H.insertionMode){case 0:case 1:return E.push("</div>");case 2:return E.push("</svg>");case 3:return E.push("</math>");case 4:return E.push("</table>");case 5:return E.push("</tbody></table>");case 6:return E.push("</tr></table>");case 7:return E.push("</colgroup></table>");default:throw Error(e(397))}}var z=/[<\u2028\u2029]/g;function B(E){return JSON.stringify(E).replace(z,function(H){switch(H){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function Y(E,H){return H=H===void 0?"":H,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:H+"P:",segmentPrefix:H+"S:",boundaryPrefix:H+"B:",idPrefix:H,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:E}}function U(E,H,X,ie){return X.generateStaticMarkup?(E.push(g(H)),!1):(H===""?E=ie:(ie&&E.push("<!-- -->"),E.push(g(H)),E=!0),E)}var le=Object.assign,J=Symbol.for("react.element"),re=Symbol.for("react.portal"),te=Symbol.for("react.fragment"),oe=Symbol.for("react.strict_mode"),ee=Symbol.for("react.profiler"),ue=Symbol.for("react.provider"),fe=Symbol.for("react.context"),ye=Symbol.for("react.forward_ref"),we=Symbol.for("react.suspense"),Ne=Symbol.for("react.suspense_list"),Ie=Symbol.for("react.memo"),Pe=Symbol.for("react.lazy"),he=Symbol.for("react.scope"),ge=Symbol.for("react.debug_trace_mode"),be=Symbol.for("react.legacy_hidden"),Ue=Symbol.for("react.default_value"),Ae=Symbol.iterator;function Ke(E){if(E==null)return null;if(typeof E=="function")return E.displayName||E.name||null;if(typeof E=="string")return E;switch(E){case te:return"Fragment";case re:return"Portal";case ee:return"Profiler";case oe:return"StrictMode";case we:return"Suspense";case Ne:return"SuspenseList"}if(typeof E=="object")switch(E.$$typeof){case fe:return(E.displayName||"Context")+".Consumer";case ue:return(E._context.displayName||"Context")+".Provider";case ye:var H=E.render;return E=E.displayName,E||(E=H.displayName||H.name||"",E=E!==""?"ForwardRef("+E+")":"ForwardRef"),E;case Ie:return H=E.displayName||null,H!==null?H:Ke(E.type)||"Memo";case Pe:H=E._payload,E=E._init;try{return Ke(E(H))}catch{}}return null}var Me={};function at(E,H){if(E=E.contextTypes,!E)return Me;var X={},ie;for(ie in E)X[ie]=H[ie];return X}var ut=null;function mt(E,H){if(E!==H){E.context._currentValue2=E.parentValue,E=E.parent;var X=H.parent;if(E===null){if(X!==null)throw Error(e(401))}else{if(X===null)throw Error(e(401));mt(E,X)}H.context._currentValue2=H.value}}function Ft(E){E.context._currentValue2=E.parentValue,E=E.parent,E!==null&&Ft(E)}function cn(E){var H=E.parent;H!==null&&cn(H),E.context._currentValue2=E.value}function Sn(E,H){if(E.context._currentValue2=E.parentValue,E=E.parent,E===null)throw Error(e(402));E.depth===H.depth?mt(E,H):Sn(E,H)}function Jn(E,H){var X=H.parent;if(X===null)throw Error(e(402));E.depth===X.depth?mt(E,X):Jn(E,X),H.context._currentValue2=H.value}function Gt(E){var H=ut;H!==E&&(H===null?cn(E):E===null?Ft(H):H.depth===E.depth?mt(H,E):H.depth>E.depth?Sn(H,E):Jn(H,E),ut=E)}var Tn={isMounted:function(){return!1},enqueueSetState:function(E,H){E=E._reactInternals,E.queue!==null&&E.queue.push(H)},enqueueReplaceState:function(E,H){E=E._reactInternals,E.replace=!0,E.queue=[H]},enqueueForceUpdate:function(){}};function Hn(E,H,X,ie){var Re=E.state!==void 0?E.state:null;E.updater=Tn,E.props=X,E.state=Re;var Ce={queue:[],replace:!1};E._reactInternals=Ce;var Be=H.contextType;if(E.context=typeof Be=="object"&&Be!==null?Be._currentValue2:ie,Be=H.getDerivedStateFromProps,typeof Be=="function"&&(Be=Be(X,Re),Re=Be==null?Re:le({},Re,Be),E.state=Re),typeof H.getDerivedStateFromProps!="function"&&typeof E.getSnapshotBeforeUpdate!="function"&&(typeof E.UNSAFE_componentWillMount=="function"||typeof E.componentWillMount=="function"))if(H=E.state,typeof E.componentWillMount=="function"&&E.componentWillMount(),typeof E.UNSAFE_componentWillMount=="function"&&E.UNSAFE_componentWillMount(),H!==E.state&&Tn.enqueueReplaceState(E,E.state,null),Ce.queue!==null&&0<Ce.queue.length)if(H=Ce.queue,Be=Ce.replace,Ce.queue=null,Ce.replace=!1,Be&&H.length===1)E.state=H[0];else{for(Ce=Be?H[0]:E.state,Re=!0,Be=Be?1:0;Be<H.length;Be++){var Ge=H[Be];Ge=typeof Ge=="function"?Ge.call(E,Ce,X,ie):Ge,Ge!=null&&(Re?(Re=!1,Ce=le({},Ce,Ge)):le(Ce,Ge))}E.state=Ce}else Ce.queue=null}var Rt={id:1,overflow:""};function Se(E,H,X){var ie=E.id;E=E.overflow;var Re=32-qe(ie)-1;ie&=~(1<<Re),X+=1;var Ce=32-qe(H)+Re;if(30<Ce){var Be=Re-Re%5;return Ce=(ie&(1<<Be)-1).toString(32),ie>>=Be,Re-=Be,{id:1<<32-qe(H)+Re|X<<Re|ie,overflow:Ce+E}}return{id:1<<Ce|X<<Re|ie,overflow:E}}var qe=Math.clz32?Math.clz32:on,wt=Math.log,un=Math.LN2;function on(E){return E>>>=0,E===0?32:31-(wt(E)/un|0)|0}function Ot(E,H){return E===H&&(E!==0||1/E===1/H)||E!==E&&H!==H}var ht=typeof Object.is=="function"?Object.is:Ot,Ze=null,Dt=null,jt=null,rt=null,en=!1,Mn=!1,_n=0,Pn=null,In=0;function On(){if(Ze===null)throw Error(e(321));return Ze}function sr(){if(0<In)throw Error(e(312));return{memoizedState:null,queue:null,next:null}}function Nn(){return rt===null?jt===null?(en=!1,jt=rt=sr()):(en=!0,rt=jt):rt.next===null?(en=!1,rt=rt.next=sr()):(en=!0,rt=rt.next),rt}function Or(){Dt=Ze=null,Mn=!1,jt=null,In=0,rt=Pn=null}function zn(E,H){return typeof H=="function"?H(E):H}function di(E,H,X){if(Ze=On(),rt=Nn(),en){var ie=rt.queue;if(H=ie.dispatch,Pn!==null&&(X=Pn.get(ie),X!==void 0)){Pn.delete(ie),ie=rt.memoizedState;do ie=E(ie,X.action),X=X.next;while(X!==null);return rt.memoizedState=ie,[ie,H]}return[rt.memoizedState,H]}return E=E===zn?typeof H=="function"?H():H:X!==void 0?X(H):H,rt.memoizedState=E,E=rt.queue={last:null,dispatch:null},E=E.dispatch=Ki.bind(null,Ze,E),[rt.memoizedState,E]}function Jo(E,H){if(Ze=On(),rt=Nn(),H=H===void 0?null:H,rt!==null){var X=rt.memoizedState;if(X!==null&&H!==null){var ie=X[1];e:if(ie===null)ie=!1;else{for(var Re=0;Re<ie.length&&Re<H.length;Re++)if(!ht(H[Re],ie[Re])){ie=!1;break e}ie=!0}if(ie)return X[0]}}return E=E(),rt.memoizedState=[E,H],E}function Ki(E,H,X){if(25<=In)throw Error(e(301));if(E===Ze)if(Mn=!0,E={action:X,next:null},Pn===null&&(Pn=new Map),X=Pn.get(H),X===void 0)Pn.set(H,E);else{for(H=X;H.next!==null;)H=H.next;H.next=E}}function Xi(){throw Error(e(394))}function ea(){}var fi={readContext:function(E){return E._currentValue2},useContext:function(E){return On(),E._currentValue2},useMemo:Jo,useReducer:di,useRef:function(E){Ze=On(),rt=Nn();var H=rt.memoizedState;return H===null?(E={current:E},rt.memoizedState=E):H},useState:function(E){return di(zn,E)},useInsertionEffect:ea,useLayoutEffect:function(){},useCallback:function(E,H){return Jo(function(){return E},H)},useImperativeHandle:ea,useEffect:ea,useDebugValue:ea,useDeferredValue:function(E){return On(),E},useTransition:function(){return On(),[!1,Xi]},useId:function(){var E=Dt.treeContext,H=E.overflow;E=E.id,E=(E&~(1<<32-qe(E)-1)).toString(32)+H;var X=ta;if(X===null)throw Error(e(404));return H=_n++,E=":"+X.idPrefix+"R"+E,0<H&&(E+="H"+H.toString(32)),E+":"},useMutableSource:function(E,H){return On(),H(E._source)},useSyncExternalStore:function(E,H,X){if(X===void 0)throw Error(e(407));return X()}},ta=null,Na=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function tl(E){return console.error(E),null}function na(){}function ra(E,H,X,ie,Re,Ce,Be,Ge,vt){var bt=[],Ct=new Set;return H={destination:null,responseState:H,progressiveChunkSize:ie===void 0?12800:ie,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:Ct,pingedTasks:bt,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:Re===void 0?tl:Re,onAllReady:na,onShellReady:Be===void 0?na:Be,onShellError:na,onFatalError:na},X=oa(H,0,null,X,!1,!1),X.parentFlushed=!0,E=Pa(H,E,null,X,Ct,Me,null,Rt),bt.push(E),H}function Pa(E,H,X,ie,Re,Ce,Be,Ge){E.allPendingTasks++,X===null?E.pendingRootTasks++:X.pendingTasks++;var vt={node:H,ping:function(){var bt=E.pingedTasks;bt.push(vt),bt.length===1&&Qi(E)},blockedBoundary:X,blockedSegment:ie,abortSet:Re,legacyContext:Ce,context:Be,treeContext:Ge};return Re.add(vt),vt}function oa(E,H,X,ie,Re,Ce){return{status:0,id:-1,index:H,parentFlushed:!1,chunks:[],children:[],formatContext:ie,boundary:X,lastPushedText:Re,textEmbedded:Ce}}function Po(E,H){if(E=E.onError(H),E!=null&&typeof E!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof E+'" instead');return E}function Aa(E,H){var X=E.onShellError;X(H),X=E.onFatalError,X(H),E.destination!==null?(E.status=2,E.destination.destroy(H)):(E.status=1,E.fatalError=H)}function pi(E,H,X,ie,Re){for(Ze={},Dt=H,_n=0,E=X(ie,Re);Mn;)Mn=!1,_n=0,In+=1,rt=null,E=X(ie,Re);return Or(),E}function hi(E,H,X,ie){var Re=X.render(),Ce=ie.childContextTypes;if(Ce!=null){var Be=H.legacyContext;if(typeof X.getChildContext!="function")ie=Be;else{X=X.getChildContext();for(var Ge in X)if(!(Ge in Ce))throw Error(e(108,Ke(ie)||"Unknown",Ge));ie=le({},Be,X)}H.legacyContext=ie,Fn(E,H,Re),H.legacyContext=Be}else Fn(E,H,Re)}function Ao(E,H){if(E&&E.defaultProps){H=le({},H),E=E.defaultProps;for(var X in E)H[X]===void 0&&(H[X]=E[X]);return H}return H}function mi(E,H,X,ie,Re){if(typeof X=="function")if(X.prototype&&X.prototype.isReactComponent){Re=at(X,H.legacyContext);var Ce=X.contextType;Ce=new X(ie,typeof Ce=="object"&&Ce!==null?Ce._currentValue2:Re),Hn(Ce,X,ie,Re),hi(E,H,Ce,X)}else{Ce=at(X,H.legacyContext),Re=pi(E,H,X,ie,Ce);var Be=_n!==0;if(typeof Re=="object"&&Re!==null&&typeof Re.render=="function"&&Re.$$typeof===void 0)Hn(Re,X,ie,Ce),hi(E,H,Re,X);else if(Be){ie=H.treeContext,H.treeContext=Se(ie,1,0);try{Fn(E,H,Re)}finally{H.treeContext=ie}}else Fn(E,H,Re)}else if(typeof X=="string"){switch(Re=H.blockedSegment,Ce=I(Re.chunks,X,ie,E.responseState,Re.formatContext),Re.lastPushedText=!1,Be=Re.formatContext,Re.formatContext=x(Be,X,ie),gi(E,H,Ce),Re.formatContext=Be,X){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:Re.chunks.push("</",X,">")}Re.lastPushedText=!1}else{switch(X){case be:case ge:case oe:case ee:case te:Fn(E,H,ie.children);return;case Ne:Fn(E,H,ie.children);return;case he:throw Error(e(343));case we:e:{X=H.blockedBoundary,Re=H.blockedSegment,Ce=ie.fallback,ie=ie.children,Be=new Set;var Ge={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:Be,errorDigest:null},vt=oa(E,Re.chunks.length,Ge,Re.formatContext,!1,!1);Re.children.push(vt),Re.lastPushedText=!1;var bt=oa(E,0,null,Re.formatContext,!1,!1);bt.parentFlushed=!0,H.blockedBoundary=Ge,H.blockedSegment=bt;try{if(gi(E,H,ie),E.responseState.generateStaticMarkup||bt.lastPushedText&&bt.textEmbedded&&bt.chunks.push("<!-- -->"),bt.status=1,ho(Ge,bt),Ge.pendingTasks===0)break e}catch(Ct){bt.status=4,Ge.forceClientRender=!0,Ge.errorDigest=Po(E,Ct)}finally{H.blockedBoundary=X,H.blockedSegment=Re}H=Pa(E,Ce,X,vt,Be,H.legacyContext,H.context,H.treeContext),E.pingedTasks.push(H)}return}if(typeof X=="object"&&X!==null)switch(X.$$typeof){case ye:if(ie=pi(E,H,X.render,ie,Re),_n!==0){X=H.treeContext,H.treeContext=Se(X,1,0);try{Fn(E,H,ie)}finally{H.treeContext=X}}else Fn(E,H,ie);return;case Ie:X=X.type,ie=Ao(X,ie),mi(E,H,X,ie,Re);return;case ue:if(Re=ie.children,X=X._context,ie=ie.value,Ce=X._currentValue2,X._currentValue2=ie,Be=ut,ut=ie={parent:Be,depth:Be===null?0:Be.depth+1,context:X,parentValue:Ce,value:ie},H.context=ie,Fn(E,H,Re),E=ut,E===null)throw Error(e(403));ie=E.parentValue,E.context._currentValue2=ie===Ue?E.context._defaultValue:ie,E=ut=E.parent,H.context=E;return;case fe:ie=ie.children,ie=ie(X._currentValue2),Fn(E,H,ie);return;case Pe:Re=X._init,X=Re(X._payload),ie=Ao(X,ie),mi(E,H,X,ie,void 0);return}throw Error(e(130,X==null?X:typeof X,""))}}function Fn(E,H,X){if(H.node=X,typeof X=="object"&&X!==null){switch(X.$$typeof){case J:mi(E,H,X.type,X.props,X.ref);return;case re:throw Error(e(257));case Pe:var ie=X._init;X=ie(X._payload),Fn(E,H,X);return}if(_(X)){Zi(E,H,X);return}if(X===null||typeof X!="object"?ie=null:(ie=Ae&&X[Ae]||X["@@iterator"],ie=typeof ie=="function"?ie:null),ie&&(ie=ie.call(X))){if(X=ie.next(),!X.done){var Re=[];do Re.push(X.value),X=ie.next();while(!X.done);Zi(E,H,Re)}return}throw E=Object.prototype.toString.call(X),Error(e(31,E==="[object Object]"?"object with keys {"+Object.keys(X).join(", ")+"}":E))}typeof X=="string"?(ie=H.blockedSegment,ie.lastPushedText=U(H.blockedSegment.chunks,X,E.responseState,ie.lastPushedText)):typeof X=="number"&&(ie=H.blockedSegment,ie.lastPushedText=U(H.blockedSegment.chunks,""+X,E.responseState,ie.lastPushedText))}function Zi(E,H,X){for(var ie=X.length,Re=0;Re<ie;Re++){var Ce=H.treeContext;H.treeContext=Se(Ce,ie,Re);try{gi(E,H,X[Re])}finally{H.treeContext=Ce}}}function gi(E,H,X){var ie=H.blockedSegment.formatContext,Re=H.legacyContext,Ce=H.context;try{return Fn(E,H,X)}catch(vt){if(Or(),typeof vt=="object"&&vt!==null&&typeof vt.then=="function"){X=vt;var Be=H.blockedSegment,Ge=oa(E,Be.chunks.length,null,Be.formatContext,Be.lastPushedText,!0);Be.children.push(Ge),Be.lastPushedText=!1,E=Pa(E,H.node,H.blockedBoundary,Ge,H.abortSet,H.legacyContext,H.context,H.treeContext).ping,X.then(E,E),H.blockedSegment.formatContext=ie,H.legacyContext=Re,H.context=Ce,Gt(Ce)}else throw H.blockedSegment.formatContext=ie,H.legacyContext=Re,H.context=Ce,Gt(Ce),vt}}function Ia(E){var H=E.blockedBoundary;E=E.blockedSegment,E.status=3,mo(this,H,E)}function vi(E,H,X){var ie=E.blockedBoundary;E.blockedSegment.status=3,ie===null?(H.allPendingTasks--,H.status!==2&&(H.status=2,H.destination!==null&&H.destination.push(null))):(ie.pendingTasks--,ie.forceClientRender||(ie.forceClientRender=!0,E=X===void 0?Error(e(432)):X,ie.errorDigest=H.onError(E),ie.parentFlushed&&H.clientRenderedBoundaries.push(ie)),ie.fallbackAbortableTasks.forEach(function(Re){return vi(Re,H,X)}),ie.fallbackAbortableTasks.clear(),H.allPendingTasks--,H.allPendingTasks===0&&(ie=H.onAllReady,ie()))}function ho(E,H){if(H.chunks.length===0&&H.children.length===1&&H.children[0].boundary===null){var X=H.children[0];X.id=H.id,X.parentFlushed=!0,X.status===1&&ho(E,X)}else E.completedSegments.push(H)}function mo(E,H,X){if(H===null){if(X.parentFlushed){if(E.completedRootSegment!==null)throw Error(e(389));E.completedRootSegment=X}E.pendingRootTasks--,E.pendingRootTasks===0&&(E.onShellError=na,H=E.onShellReady,H())}else H.pendingTasks--,H.forceClientRender||(H.pendingTasks===0?(X.parentFlushed&&X.status===1&&ho(H,X),H.parentFlushed&&E.completedBoundaries.push(H),H.fallbackAbortableTasks.forEach(Ia,E),H.fallbackAbortableTasks.clear()):X.parentFlushed&&X.status===1&&(ho(H,X),H.completedSegments.length===1&&H.parentFlushed&&E.partialBoundaries.push(H)));E.allPendingTasks--,E.allPendingTasks===0&&(E=E.onAllReady,E())}function Qi(E){if(E.status!==2){var H=ut,X=Na.current;Na.current=fi;var ie=ta;ta=E.responseState;try{var Re=E.pingedTasks,Ce;for(Ce=0;Ce<Re.length;Ce++){var Be=Re[Ce],Ge=E,vt=Be.blockedSegment;if(vt.status===0){Gt(Be.context);try{Fn(Ge,Be,Be.node),Ge.responseState.generateStaticMarkup||vt.lastPushedText&&vt.textEmbedded&&vt.chunks.push("<!-- -->"),Be.abortSet.delete(Be),vt.status=1,mo(Ge,Be.blockedBoundary,vt)}catch(lr){if(Or(),typeof lr=="object"&&lr!==null&&typeof lr.then=="function"){var bt=Be.ping;lr.then(bt,bt)}else{Be.abortSet.delete(Be),vt.status=4;var Ct=Be.blockedBoundary,wn=lr,br=Po(Ge,wn);if(Ct===null?Aa(Ge,wn):(Ct.pendingTasks--,Ct.forceClientRender||(Ct.forceClientRender=!0,Ct.errorDigest=br,Ct.parentFlushed&&Ge.clientRenderedBoundaries.push(Ct))),Ge.allPendingTasks--,Ge.allPendingTasks===0){var Lr=Ge.onAllReady;Lr()}}}finally{}}}Re.splice(0,Ce),E.destination!==null&&sa(E,E.destination)}catch(lr){Po(E,lr),Aa(E,lr)}finally{ta=ie,Na.current=X,X===fi&&Gt(H)}}}function aa(E,H,X){switch(X.parentFlushed=!0,X.status){case 0:var ie=X.id=E.nextSegmentId++;return X.lastPushedText=!1,X.textEmbedded=!1,E=E.responseState,H.push('<template id="'),H.push(E.placeholderPrefix),E=ie.toString(16),H.push(E),H.push('"></template>');case 1:X.status=2;var Re=!0;ie=X.chunks;var Ce=0;X=X.children;for(var Be=0;Be<X.length;Be++){for(Re=X[Be];Ce<Re.index;Ce++)H.push(ie[Ce]);Re=ia(E,H,Re)}for(;Ce<ie.length-1;Ce++)H.push(ie[Ce]);return Ce<ie.length&&(Re=H.push(ie[Ce])),Re;default:throw Error(e(390))}}function ia(E,H,X){var ie=X.boundary;if(ie===null)return aa(E,H,X);if(ie.parentFlushed=!0,ie.forceClientRender)return E.responseState.generateStaticMarkup||(ie=ie.errorDigest,H.push("<!--$!-->"),H.push("<template"),ie&&(H.push(' data-dgst="'),ie=g(ie),H.push(ie),H.push('"')),H.push("></template>")),aa(E,H,X),E=E.responseState.generateStaticMarkup?!0:H.push("<!--/$-->"),E;if(0<ie.pendingTasks){ie.rootSegmentID=E.nextSegmentId++,0<ie.completedSegments.length&&E.partialBoundaries.push(ie);var Re=E.responseState,Ce=Re.nextSuspenseID++;return Re=Re.boundaryPrefix+Ce.toString(16),ie=ie.id=Re,L(H,E.responseState,ie),aa(E,H,X),H.push("<!--/$-->")}if(ie.byteSize>E.progressiveChunkSize)return ie.rootSegmentID=E.nextSegmentId++,E.completedBoundaries.push(ie),L(H,E.responseState,ie.id),aa(E,H,X),H.push("<!--/$-->");if(E.responseState.generateStaticMarkup||H.push("<!--$-->"),X=ie.completedSegments,X.length!==1)throw Error(e(391));return ia(E,H,X[0]),E=E.responseState.generateStaticMarkup?!0:H.push("<!--/$-->"),E}function wi(E,H,X){return V(H,E.responseState,X.formatContext,X.id),ia(E,H,X),F(H,X.formatContext)}function Oa(E,H,X){for(var ie=X.completedSegments,Re=0;Re<ie.length;Re++)La(E,H,X,ie[Re]);if(ie.length=0,E=E.responseState,ie=X.id,X=X.rootSegmentID,H.push(E.startInlineScript),E.sentCompleteBoundaryFunction?H.push('$RC("'):(E.sentCompleteBoundaryFunction=!0,H.push('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("')),ie===null)throw Error(e(395));return X=X.toString(16),H.push(ie),H.push('","'),H.push(E.segmentPrefix),H.push(X),H.push('")<\/script>')}function La(E,H,X,ie){if(ie.status===2)return!0;var Re=ie.id;if(Re===-1){if((ie.id=X.rootSegmentID)===-1)throw Error(e(392));return wi(E,H,ie)}return wi(E,H,ie),E=E.responseState,H.push(E.startInlineScript),E.sentCompleteSegmentFunction?H.push('$RS("'):(E.sentCompleteSegmentFunction=!0,H.push('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')),H.push(E.segmentPrefix),Re=Re.toString(16),H.push(Re),H.push('","'),H.push(E.placeholderPrefix),H.push(Re),H.push('")<\/script>')}function sa(E,H){try{var X=E.completedRootSegment;if(X!==null&&E.pendingRootTasks===0){ia(E,H,X),E.completedRootSegment=null;var ie=E.responseState.bootstrapChunks;for(X=0;X<ie.length-1;X++)H.push(ie[X]);X<ie.length&&H.push(ie[X])}var Re=E.clientRenderedBoundaries,Ce;for(Ce=0;Ce<Re.length;Ce++){var Be=Re[Ce];ie=H;var Ge=E.responseState,vt=Be.id,bt=Be.errorDigest,Ct=Be.errorMessage,wn=Be.errorComponentStack;if(ie.push(Ge.startInlineScript),Ge.sentClientRenderFunction?ie.push('$RX("'):(Ge.sentClientRenderFunction=!0,ie.push('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("')),vt===null)throw Error(e(395));if(ie.push(vt),ie.push('"'),bt||Ct||wn){ie.push(",");var br=B(bt||"");ie.push(br)}if(Ct||wn){ie.push(",");var Lr=B(Ct||"");ie.push(Lr)}if(wn){ie.push(",");var lr=B(wn);ie.push(lr)}if(!ie.push(")<\/script>")){E.destination=null,Ce++,Re.splice(0,Ce);return}}Re.splice(0,Ce);var Io=E.completedBoundaries;for(Ce=0;Ce<Io.length;Ce++)if(!Oa(E,H,Io[Ce])){E.destination=null,Ce++,Io.splice(0,Ce);return}Io.splice(0,Ce);var Ur=E.partialBoundaries;for(Ce=0;Ce<Ur.length;Ce++){var Ba=Ur[Ce];e:{Re=E,Be=H;var la=Ba.completedSegments;for(Ge=0;Ge<la.length;Ge++)if(!La(Re,Be,Ba,la[Ge])){Ge++,la.splice(0,Ge);var es=!1;break e}la.splice(0,Ge),es=!0}if(!es){E.destination=null,Ce++,Ur.splice(0,Ce);return}}Ur.splice(0,Ce);var Oo=E.completedBoundaries;for(Ce=0;Ce<Oo.length;Ce++)if(!Oa(E,H,Oo[Ce])){E.destination=null,Ce++,Oo.splice(0,Ce);return}Oo.splice(0,Ce)}finally{E.allPendingTasks===0&&E.pingedTasks.length===0&&E.clientRenderedBoundaries.length===0&&E.completedBoundaries.length===0&&H.push(null)}}function $a(E,H){try{var X=E.abortableTasks;X.forEach(function(ie){return vi(ie,E,H)}),X.clear(),E.destination!==null&&sa(E,E.destination)}catch(ie){Po(E,ie),Aa(E,ie)}}function Ji(){}function Da(E,H,X,ie){var Re=!1,Ce=null,Be="",Ge={push:function(bt){return bt!==null&&(Be+=bt),!0},destroy:function(bt){Re=!0,Ce=bt}},vt=!1;if(E=ra(E,Y(X,H?H.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,Ji,void 0,function(){vt=!0}),Qi(E),$a(E,ie),E.status===1)E.status=2,Ge.destroy(E.fatalError);else if(E.status!==2&&E.destination===null){E.destination=Ge;try{sa(E,Ge)}catch(bt){Po(E,bt),Aa(E,bt)}}if(Re)throw Ce;if(!vt)throw Error(e(426));return Be}return gl.renderToNodeStream=function(){throw Error(e(207))},gl.renderToStaticMarkup=function(E,H){return Da(E,H,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},gl.renderToStaticNodeStream=function(){throw Error(e(208))},gl.renderToString=function(E,H){return Da(E,H,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},gl.version="18.2.0",gl}var Fp={};/**
|
|
72
|
-
* @license React
|
|
73
|
-
* react-dom-server.browser.production.min.js
|
|
74
|
-
*
|
|
75
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
76
|
-
*
|
|
77
|
-
* This source code is licensed under the MIT license found in the
|
|
78
|
-
* LICENSE file in the root directory of this source tree.
|
|
79
|
-
*/var o_;function Bz(){if(o_)return Fp;o_=1;var t=tw();function e(k){for(var j="https://reactjs.org/docs/error-decoder.html?invariant="+k,G=1;G<arguments.length;G++)j+="&args[]="+encodeURIComponent(arguments[G]);return"Minified React error #"+k+"; visit "+j+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var n=null,r=0;function o(k,j){if(j.length!==0)if(512<j.length)0<r&&(k.enqueue(new Uint8Array(n.buffer,0,r)),n=new Uint8Array(512),r=0),k.enqueue(j);else{var G=n.length-r;G<j.length&&(G===0?k.enqueue(n):(n.set(j.subarray(0,G),r),k.enqueue(n),j=j.subarray(G)),n=new Uint8Array(512),r=0),n.set(j,r),r+=j.length}}function a(k,j){return o(k,j),!0}function i(k){n&&0<r&&(k.enqueue(new Uint8Array(n.buffer,0,r)),n=null,r=0)}var s=new TextEncoder;function l(k){return s.encode(k)}function u(k){return s.encode(k)}function d(k,j){typeof k.error=="function"?k.error(j):k.close()}var f=Object.prototype.hasOwnProperty,m=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,v={},g={};function w(k){return f.call(g,k)?!0:f.call(v,k)?!1:m.test(k)?g[k]=!0:(v[k]=!0,!1)}function y(k,j,G,ae,Te,ke,Fe){this.acceptsBooleans=j===2||j===3||j===4,this.attributeName=ae,this.attributeNamespace=Te,this.mustUseProperty=G,this.propertyName=k,this.type=j,this.sanitizeURL=ke,this.removeEmptyString=Fe}var _={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(k){_[k]=new y(k,0,!1,k,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(k){var j=k[0];_[j]=new y(j,1,!1,k[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(k){_[k]=new y(k,2,!1,k.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(k){_[k]=new y(k,2,!1,k,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(k){_[k]=new y(k,3,!1,k.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(k){_[k]=new y(k,3,!0,k,null,!1,!1)}),["capture","download"].forEach(function(k){_[k]=new y(k,4,!1,k,null,!1,!1)}),["cols","rows","size","span"].forEach(function(k){_[k]=new y(k,6,!1,k,null,!1,!1)}),["rowSpan","start"].forEach(function(k){_[k]=new y(k,5,!1,k.toLowerCase(),null,!1,!1)});var S=/[\-:]([a-z])/g;function x(k){return k[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(k){var j=k.replace(S,x);_[j]=new y(j,1,!1,k,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(k){var j=k.replace(S,x);_[j]=new y(j,1,!1,k,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(k){var j=k.replace(S,x);_[j]=new y(j,1,!1,k,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(k){_[k]=new y(k,1,!1,k.toLowerCase(),null,!1,!1)}),_.xlinkHref=new y("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(k){_[k]=new y(k,1,!1,k.toLowerCase(),null,!0,!0)});var C={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},M=["Webkit","ms","Moz","O"];Object.keys(C).forEach(function(k){M.forEach(function(j){j=j+k.charAt(0).toUpperCase()+k.substring(1),C[j]=C[k]})});var A=/["'&<>]/;function O(k){if(typeof k=="boolean"||typeof k=="number")return""+k;k=""+k;var j=A.exec(k);if(j){var G="",ae,Te=0;for(ae=j.index;ae<k.length;ae++){switch(k.charCodeAt(ae)){case 34:j=""";break;case 38:j="&";break;case 39:j="'";break;case 60:j="<";break;case 62:j=">";break;default:continue}Te!==ae&&(G+=k.substring(Te,ae)),Te=ae+1,G+=j}k=Te!==ae?G+k.substring(Te,ae):G}return k}var D=/([A-Z])/g,T=/^ms-/,R=Array.isArray,$=u("<script>"),P=u("<\/script>"),I=u('<script src="'),L=u('<script type="module" src="'),V=u('" async=""><\/script>'),F=/(<\/|<)(s)(cript)/gi;function z(k,j,G,ae){return""+j+(G==="s"?"\\u0073":"\\u0053")+ae}function B(k,j,G,ae,Te){k=k===void 0?"":k,j=j===void 0?$:u('<script nonce="'+O(j)+'">');var ke=[];if(G!==void 0&&ke.push(j,l((""+G).replace(F,z)),P),ae!==void 0)for(G=0;G<ae.length;G++)ke.push(I,l(O(ae[G])),V);if(Te!==void 0)for(ae=0;ae<Te.length;ae++)ke.push(L,l(O(Te[ae])),V);return{bootstrapChunks:ke,startInlineScript:j,placeholderPrefix:u(k+"P:"),segmentPrefix:u(k+"S:"),boundaryPrefix:k+"B:",idPrefix:k,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}function Y(k,j){return{insertionMode:k,selectedValue:j}}function U(k){return Y(k==="http://www.w3.org/2000/svg"?2:k==="http://www.w3.org/1998/Math/MathML"?3:0,null)}function le(k,j,G){switch(j){case"select":return Y(1,G.value!=null?G.value:G.defaultValue);case"svg":return Y(2,null);case"math":return Y(3,null);case"foreignObject":return Y(1,null);case"table":return Y(4,null);case"thead":case"tbody":case"tfoot":return Y(5,null);case"colgroup":return Y(7,null);case"tr":return Y(6,null)}return 4<=k.insertionMode||k.insertionMode===0?Y(1,null):k}var J=u("<!-- -->");function re(k,j,G,ae){return j===""?ae:(ae&&k.push(J),k.push(l(O(j))),!0)}var te=new Map,oe=u(' style="'),ee=u(":"),ue=u(";");function fe(k,j,G){if(typeof G!="object")throw Error(e(62));j=!0;for(var ae in G)if(f.call(G,ae)){var Te=G[ae];if(Te!=null&&typeof Te!="boolean"&&Te!==""){if(ae.indexOf("--")===0){var ke=l(O(ae));Te=l(O((""+Te).trim()))}else{ke=ae;var Fe=te.get(ke);Fe!==void 0||(Fe=u(O(ke.replace(D,"-$1").toLowerCase().replace(T,"-ms-"))),te.set(ke,Fe)),ke=Fe,Te=typeof Te=="number"?Te===0||f.call(C,ae)?l(""+Te):l(Te+"px"):l(O((""+Te).trim()))}j?(j=!1,k.push(oe,ke,ee,Te)):k.push(ue,ke,ee,Te)}}j||k.push(Ne)}var ye=u(" "),we=u('="'),Ne=u('"'),Ie=u('=""');function Pe(k,j,G,ae){switch(G){case"style":fe(k,j,ae);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<G.length)||G[0]!=="o"&&G[0]!=="O"||G[1]!=="n"&&G[1]!=="N"){if(j=_.hasOwnProperty(G)?_[G]:null,j!==null){switch(typeof ae){case"function":case"symbol":return;case"boolean":if(!j.acceptsBooleans)return}switch(G=l(j.attributeName),j.type){case 3:ae&&k.push(ye,G,Ie);break;case 4:ae===!0?k.push(ye,G,Ie):ae!==!1&&k.push(ye,G,we,l(O(ae)),Ne);break;case 5:isNaN(ae)||k.push(ye,G,we,l(O(ae)),Ne);break;case 6:!isNaN(ae)&&1<=ae&&k.push(ye,G,we,l(O(ae)),Ne);break;default:j.sanitizeURL&&(ae=""+ae),k.push(ye,G,we,l(O(ae)),Ne)}}else if(w(G)){switch(typeof ae){case"function":case"symbol":return;case"boolean":if(j=G.toLowerCase().slice(0,5),j!=="data-"&&j!=="aria-")return}k.push(ye,l(G),we,l(O(ae)),Ne)}}}var he=u(">"),ge=u("/>");function be(k,j,G){if(j!=null){if(G!=null)throw Error(e(60));if(typeof j!="object"||!("__html"in j))throw Error(e(61));j=j.__html,j!=null&&k.push(l(""+j))}}function Ue(k){var j="";return t.Children.forEach(k,function(G){G!=null&&(j+=G)}),j}var Ae=u(' selected=""');function Ke(k,j,G,ae){k.push(mt(G));var Te=G=null,ke;for(ke in j)if(f.call(j,ke)){var Fe=j[ke];if(Fe!=null)switch(ke){case"children":G=Fe;break;case"dangerouslySetInnerHTML":Te=Fe;break;default:Pe(k,ae,ke,Fe)}}return k.push(he),be(k,Te,G),typeof G=="string"?(k.push(l(O(G))),null):G}var Me=u(`
|
|
80
|
-
`),at=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,ut=new Map;function mt(k){var j=ut.get(k);if(j===void 0){if(!at.test(k))throw Error(e(65,k));j=u("<"+k),ut.set(k,j)}return j}var Ft=u("<!DOCTYPE html>");function cn(k,j,G,ae,Te){switch(j){case"select":k.push(mt("select"));var ke=null,Fe=null;for(Lt in G)if(f.call(G,Lt)){var Ye=G[Lt];if(Ye!=null)switch(Lt){case"children":ke=Ye;break;case"dangerouslySetInnerHTML":Fe=Ye;break;case"defaultValue":case"value":break;default:Pe(k,ae,Lt,Ye)}}return k.push(he),be(k,Fe,ke),ke;case"option":Fe=Te.selectedValue,k.push(mt("option"));var _t=Ye=null,yt=null,Lt=null;for(ke in G)if(f.call(G,ke)){var fn=G[ke];if(fn!=null)switch(ke){case"children":Ye=fn;break;case"selected":yt=fn;break;case"dangerouslySetInnerHTML":Lt=fn;break;case"value":_t=fn;default:Pe(k,ae,ke,fn)}}if(Fe!=null)if(G=_t!==null?""+_t:Ue(Ye),R(Fe)){for(ae=0;ae<Fe.length;ae++)if(""+Fe[ae]===G){k.push(Ae);break}}else""+Fe===G&&k.push(Ae);else yt&&k.push(Ae);return k.push(he),be(k,Lt,Ye),Ye;case"textarea":k.push(mt("textarea")),Lt=Fe=ke=null;for(Ye in G)if(f.call(G,Ye)&&(_t=G[Ye],_t!=null))switch(Ye){case"children":Lt=_t;break;case"value":ke=_t;break;case"defaultValue":Fe=_t;break;case"dangerouslySetInnerHTML":throw Error(e(91));default:Pe(k,ae,Ye,_t)}if(ke===null&&Fe!==null&&(ke=Fe),k.push(he),Lt!=null){if(ke!=null)throw Error(e(92));if(R(Lt)&&1<Lt.length)throw Error(e(93));ke=""+Lt}return typeof ke=="string"&&ke[0]===`
|
|
81
|
-
`&&k.push(Me),ke!==null&&k.push(l(O(""+ke))),null;case"input":k.push(mt("input")),_t=Lt=Ye=ke=null;for(Fe in G)if(f.call(G,Fe)&&(yt=G[Fe],yt!=null))switch(Fe){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,"input"));case"defaultChecked":_t=yt;break;case"defaultValue":Ye=yt;break;case"checked":Lt=yt;break;case"value":ke=yt;break;default:Pe(k,ae,Fe,yt)}return Lt!==null?Pe(k,ae,"checked",Lt):_t!==null&&Pe(k,ae,"checked",_t),ke!==null?Pe(k,ae,"value",ke):Ye!==null&&Pe(k,ae,"value",Ye),k.push(ge),null;case"menuitem":k.push(mt("menuitem"));for(var _r in G)if(f.call(G,_r)&&(ke=G[_r],ke!=null))switch(_r){case"children":case"dangerouslySetInnerHTML":throw Error(e(400));default:Pe(k,ae,_r,ke)}return k.push(he),null;case"title":k.push(mt("title")),ke=null;for(fn in G)if(f.call(G,fn)&&(Fe=G[fn],Fe!=null))switch(fn){case"children":ke=Fe;break;case"dangerouslySetInnerHTML":throw Error(e(434));default:Pe(k,ae,fn,Fe)}return k.push(he),ke;case"listing":case"pre":k.push(mt(j)),Fe=ke=null;for(_t in G)if(f.call(G,_t)&&(Ye=G[_t],Ye!=null))switch(_t){case"children":ke=Ye;break;case"dangerouslySetInnerHTML":Fe=Ye;break;default:Pe(k,ae,_t,Ye)}if(k.push(he),Fe!=null){if(ke!=null)throw Error(e(60));if(typeof Fe!="object"||!("__html"in Fe))throw Error(e(61));G=Fe.__html,G!=null&&(typeof G=="string"&&0<G.length&&G[0]===`
|
|
82
|
-
`?k.push(Me,l(G)):k.push(l(""+G)))}return typeof ke=="string"&&ke[0]===`
|
|
83
|
-
`&&k.push(Me),ke;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":k.push(mt(j));for(var Gr in G)if(f.call(G,Gr)&&(ke=G[Gr],ke!=null))switch(Gr){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,j));default:Pe(k,ae,Gr,ke)}return k.push(ge),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return Ke(k,G,j,ae);case"html":return Te.insertionMode===0&&k.push(Ft),Ke(k,G,j,ae);default:if(j.indexOf("-")===-1&&typeof G.is!="string")return Ke(k,G,j,ae);k.push(mt(j)),Fe=ke=null;for(yt in G)if(f.call(G,yt)&&(Ye=G[yt],Ye!=null))switch(yt){case"children":ke=Ye;break;case"dangerouslySetInnerHTML":Fe=Ye;break;case"style":fe(k,ae,Ye);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:w(yt)&&typeof Ye!="function"&&typeof Ye!="symbol"&&k.push(ye,l(yt),we,l(O(Ye)),Ne)}return k.push(he),be(k,Fe,ke),ke}}var Sn=u("</"),Jn=u(">"),Gt=u('<template id="'),Tn=u('"></template>'),Hn=u("<!--$-->"),Rt=u('<!--$?--><template id="'),Se=u('"></template>'),qe=u("<!--$!-->"),wt=u("<!--/$-->"),un=u("<template"),on=u('"'),Ot=u(' data-dgst="');u(' data-msg="'),u(' data-stck="');var ht=u("></template>");function Ze(k,j,G){if(o(k,Rt),G===null)throw Error(e(395));return o(k,G),a(k,Se)}var Dt=u('<div hidden id="'),jt=u('">'),rt=u("</div>"),en=u('<svg aria-hidden="true" style="display:none" id="'),Mn=u('">'),_n=u("</svg>"),Pn=u('<math aria-hidden="true" style="display:none" id="'),In=u('">'),On=u("</math>"),sr=u('<table hidden id="'),Nn=u('">'),Or=u("</table>"),zn=u('<table hidden><tbody id="'),di=u('">'),Jo=u("</tbody></table>"),Ki=u('<table hidden><tr id="'),Xi=u('">'),ea=u("</tr></table>"),fi=u('<table hidden><colgroup id="'),ta=u('">'),Na=u("</colgroup></table>");function tl(k,j,G,ae){switch(G.insertionMode){case 0:case 1:return o(k,Dt),o(k,j.segmentPrefix),o(k,l(ae.toString(16))),a(k,jt);case 2:return o(k,en),o(k,j.segmentPrefix),o(k,l(ae.toString(16))),a(k,Mn);case 3:return o(k,Pn),o(k,j.segmentPrefix),o(k,l(ae.toString(16))),a(k,In);case 4:return o(k,sr),o(k,j.segmentPrefix),o(k,l(ae.toString(16))),a(k,Nn);case 5:return o(k,zn),o(k,j.segmentPrefix),o(k,l(ae.toString(16))),a(k,di);case 6:return o(k,Ki),o(k,j.segmentPrefix),o(k,l(ae.toString(16))),a(k,Xi);case 7:return o(k,fi),o(k,j.segmentPrefix),o(k,l(ae.toString(16))),a(k,ta);default:throw Error(e(397))}}function na(k,j){switch(j.insertionMode){case 0:case 1:return a(k,rt);case 2:return a(k,_n);case 3:return a(k,On);case 4:return a(k,Or);case 5:return a(k,Jo);case 6:return a(k,ea);case 7:return a(k,Na);default:throw Error(e(397))}}var ra=u('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),Pa=u('$RS("'),oa=u('","'),Po=u('")<\/script>'),Aa=u('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),pi=u('$RC("'),hi=u('","'),Ao=u('")<\/script>'),mi=u('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'),Fn=u('$RX("'),Zi=u('"'),gi=u(")<\/script>"),Ia=u(","),vi=/[<\u2028\u2029]/g;function ho(k){return JSON.stringify(k).replace(vi,function(j){switch(j){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var mo=Object.assign,Qi=Symbol.for("react.element"),aa=Symbol.for("react.portal"),ia=Symbol.for("react.fragment"),wi=Symbol.for("react.strict_mode"),Oa=Symbol.for("react.profiler"),La=Symbol.for("react.provider"),sa=Symbol.for("react.context"),$a=Symbol.for("react.forward_ref"),Ji=Symbol.for("react.suspense"),Da=Symbol.for("react.suspense_list"),E=Symbol.for("react.memo"),H=Symbol.for("react.lazy"),X=Symbol.for("react.scope"),ie=Symbol.for("react.debug_trace_mode"),Re=Symbol.for("react.legacy_hidden"),Ce=Symbol.for("react.default_value"),Be=Symbol.iterator;function Ge(k){if(k==null)return null;if(typeof k=="function")return k.displayName||k.name||null;if(typeof k=="string")return k;switch(k){case ia:return"Fragment";case aa:return"Portal";case Oa:return"Profiler";case wi:return"StrictMode";case Ji:return"Suspense";case Da:return"SuspenseList"}if(typeof k=="object")switch(k.$$typeof){case sa:return(k.displayName||"Context")+".Consumer";case La:return(k._context.displayName||"Context")+".Provider";case $a:var j=k.render;return k=k.displayName,k||(k=j.displayName||j.name||"",k=k!==""?"ForwardRef("+k+")":"ForwardRef"),k;case E:return j=k.displayName||null,j!==null?j:Ge(k.type)||"Memo";case H:j=k._payload,k=k._init;try{return Ge(k(j))}catch{}}return null}var vt={};function bt(k,j){if(k=k.contextTypes,!k)return vt;var G={},ae;for(ae in k)G[ae]=j[ae];return G}var Ct=null;function wn(k,j){if(k!==j){k.context._currentValue=k.parentValue,k=k.parent;var G=j.parent;if(k===null){if(G!==null)throw Error(e(401))}else{if(G===null)throw Error(e(401));wn(k,G)}j.context._currentValue=j.value}}function br(k){k.context._currentValue=k.parentValue,k=k.parent,k!==null&&br(k)}function Lr(k){var j=k.parent;j!==null&&Lr(j),k.context._currentValue=k.value}function lr(k,j){if(k.context._currentValue=k.parentValue,k=k.parent,k===null)throw Error(e(402));k.depth===j.depth?wn(k,j):lr(k,j)}function Io(k,j){var G=j.parent;if(G===null)throw Error(e(402));k.depth===G.depth?wn(k,G):Io(k,G),j.context._currentValue=j.value}function Ur(k){var j=Ct;j!==k&&(j===null?Lr(k):k===null?br(j):j.depth===k.depth?wn(j,k):j.depth>k.depth?lr(j,k):Io(j,k),Ct=k)}var Ba={isMounted:function(){return!1},enqueueSetState:function(k,j){k=k._reactInternals,k.queue!==null&&k.queue.push(j)},enqueueReplaceState:function(k,j){k=k._reactInternals,k.replace=!0,k.queue=[j]},enqueueForceUpdate:function(){}};function la(k,j,G,ae){var Te=k.state!==void 0?k.state:null;k.updater=Ba,k.props=G,k.state=Te;var ke={queue:[],replace:!1};k._reactInternals=ke;var Fe=j.contextType;if(k.context=typeof Fe=="object"&&Fe!==null?Fe._currentValue:ae,Fe=j.getDerivedStateFromProps,typeof Fe=="function"&&(Fe=Fe(G,Te),Te=Fe==null?Te:mo({},Te,Fe),k.state=Te),typeof j.getDerivedStateFromProps!="function"&&typeof k.getSnapshotBeforeUpdate!="function"&&(typeof k.UNSAFE_componentWillMount=="function"||typeof k.componentWillMount=="function"))if(j=k.state,typeof k.componentWillMount=="function"&&k.componentWillMount(),typeof k.UNSAFE_componentWillMount=="function"&&k.UNSAFE_componentWillMount(),j!==k.state&&Ba.enqueueReplaceState(k,k.state,null),ke.queue!==null&&0<ke.queue.length)if(j=ke.queue,Fe=ke.replace,ke.queue=null,ke.replace=!1,Fe&&j.length===1)k.state=j[0];else{for(ke=Fe?j[0]:k.state,Te=!0,Fe=Fe?1:0;Fe<j.length;Fe++){var Ye=j[Fe];Ye=typeof Ye=="function"?Ye.call(k,ke,G,ae):Ye,Ye!=null&&(Te?(Te=!1,ke=mo({},ke,Ye)):mo(ke,Ye))}k.state=ke}else ke.queue=null}var es={id:1,overflow:""};function Oo(k,j,G){var ae=k.id;k=k.overflow;var Te=32-bi(ae)-1;ae&=~(1<<Te),G+=1;var ke=32-bi(j)+Te;if(30<ke){var Fe=Te-Te%5;return ke=(ae&(1<<Fe)-1).toString(32),ae>>=Fe,Te-=Fe,{id:1<<32-bi(j)+Te|G<<Te|ae,overflow:ke+k}}return{id:1<<ke|G<<Te|ae,overflow:k}}var bi=Math.clz32?Math.clz32:Vu,zu=Math.log,Fu=Math.LN2;function Vu(k){return k>>>=0,k===0?32:31-(zu(k)/Fu|0)|0}function ju(k,j){return k===j&&(k!==0||1/k===1/j)||k!==k&&j!==j}var ts=typeof Object.is=="function"?Object.is:ju,go=null,Ee=null,ce=null,de=null,$e=!1,De=!1,Je=0,dn=null,Wn=0;function Yr(){if(go===null)throw Error(e(321));return go}function cc(){if(0<Wn)throw Error(e(312));return{memoizedState:null,queue:null,next:null}}function nl(){return de===null?ce===null?($e=!1,ce=de=cc()):($e=!0,de=ce):de.next===null?($e=!1,de=de.next=cc()):($e=!0,de=de.next),de}function ns(){Ee=go=null,De=!1,ce=null,Wn=0,de=dn=null}function rs(k,j){return typeof j=="function"?j(k):j}function rl(k,j,G){if(go=Yr(),de=nl(),$e){var ae=de.queue;if(j=ae.dispatch,dn!==null&&(G=dn.get(ae),G!==void 0)){dn.delete(ae),ae=de.memoizedState;do ae=k(ae,G.action),G=G.next;while(G!==null);return de.memoizedState=ae,[ae,j]}return[de.memoizedState,j]}return k=k===rs?typeof j=="function"?j():j:G!==void 0?G(j):j,de.memoizedState=k,k=de.queue={last:null,dispatch:null},k=k.dispatch=Hu.bind(null,go,k),[de.memoizedState,k]}function Ln(k,j){if(go=Yr(),de=nl(),j=j===void 0?null:j,de!==null){var G=de.memoizedState;if(G!==null&&j!==null){var ae=G[1];e:if(ae===null)ae=!1;else{for(var Te=0;Te<ae.length&&Te<j.length;Te++)if(!ts(j[Te],ae[Te])){ae=!1;break e}ae=!0}if(ae)return G[0]}}return k=k(),de.memoizedState=[k,j],k}function Hu(k,j,G){if(25<=Wn)throw Error(e(301));if(k===go)if(De=!0,k={action:G,next:null},dn===null&&(dn=new Map),G=dn.get(j),G===void 0)dn.set(j,k);else{for(j=G;j.next!==null;)j=j.next;j.next=k}}function yi(){throw Error(e(394))}function ol(){}var uc={readContext:function(k){return k._currentValue},useContext:function(k){return Yr(),k._currentValue},useMemo:Ln,useReducer:rl,useRef:function(k){go=Yr(),de=nl();var j=de.memoizedState;return j===null?(k={current:k},de.memoizedState=k):j},useState:function(k){return rl(rs,k)},useInsertionEffect:ol,useLayoutEffect:function(){},useCallback:function(k,j){return Ln(function(){return k},j)},useImperativeHandle:ol,useEffect:ol,useDebugValue:ol,useDeferredValue:function(k){return Yr(),k},useTransition:function(){return Yr(),[!1,yi]},useId:function(){var k=Ee.treeContext,j=k.overflow;k=k.id,k=(k&~(1<<32-bi(k)-1)).toString(32)+j;var G=pr;if(G===null)throw Error(e(404));return j=Je++,k=":"+G.idPrefix+"R"+k,0<j&&(k+="H"+j.toString(32)),k+":"},useMutableSource:function(k,j){return Yr(),j(k._source)},useSyncExternalStore:function(k,j,G){if(G===void 0)throw Error(e(407));return G()}},pr=null,dc=t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function Gf(k){return console.error(k),null}function os(){}function Kf(k,j,G,ae,Te,ke,Fe,Ye,_t){var yt=[],Lt=new Set;return j={destination:null,responseState:j,progressiveChunkSize:ae===void 0?12800:ae,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:Lt,pingedTasks:yt,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:Te===void 0?Gf:Te,onAllReady:ke===void 0?os:ke,onShellReady:Fe===void 0?os:Fe,onShellError:Ye===void 0?os:Ye,onFatalError:_t===void 0?os:_t},G=al(j,0,null,G,!1,!1),G.parentFlushed=!0,k=fc(j,k,null,G,Lt,vt,null,es),yt.push(k),j}function fc(k,j,G,ae,Te,ke,Fe,Ye){k.allPendingTasks++,G===null?k.pendingRootTasks++:G.pendingTasks++;var _t={node:j,ping:function(){var yt=k.pingedTasks;yt.push(_t),yt.length===1&&Zf(k)},blockedBoundary:G,blockedSegment:ae,abortSet:Te,legacyContext:ke,context:Fe,treeContext:Ye};return Te.add(_t),_t}function al(k,j,G,ae,Te,ke){return{status:0,id:-1,index:j,parentFlushed:!1,chunks:[],children:[],formatContext:ae,boundary:G,lastPushedText:Te,textEmbedded:ke}}function er(k,j){if(k=k.onError(j),k!=null&&typeof k!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof k+'" instead');return k}function pc(k,j){var G=k.onShellError;G(j),G=k.onFatalError,G(j),k.destination!==null?(k.status=2,d(k.destination,j)):(k.status=1,k.fatalError=j)}function yr(k,j,G,ae,Te){for(go={},Ee=j,Je=0,k=G(ae,Te);De;)De=!1,Je=0,Wn+=1,de=null,k=G(ae,Te);return ns(),k}function Xf(k,j,G,ae){var Te=G.render(),ke=ae.childContextTypes;if(ke!=null){var Fe=j.legacyContext;if(typeof G.getChildContext!="function")ae=Fe;else{G=G.getChildContext();for(var Ye in G)if(!(Ye in ke))throw Error(e(108,Ge(ae)||"Unknown",Ye));ae=mo({},Fe,G)}j.legacyContext=ae,cr(k,j,Te),j.legacyContext=Fe}else cr(k,j,Te)}function Wu(k,j){if(k&&k.defaultProps){j=mo({},j),k=k.defaultProps;for(var G in k)j[G]===void 0&&(j[G]=k[G]);return j}return j}function Lo(k,j,G,ae,Te){if(typeof G=="function")if(G.prototype&&G.prototype.isReactComponent){Te=bt(G,j.legacyContext);var ke=G.contextType;ke=new G(ae,typeof ke=="object"&&ke!==null?ke._currentValue:Te),la(ke,G,ae,Te),Xf(k,j,ke,G)}else{ke=bt(G,j.legacyContext),Te=yr(k,j,G,ae,ke);var Fe=Je!==0;if(typeof Te=="object"&&Te!==null&&typeof Te.render=="function"&&Te.$$typeof===void 0)la(Te,G,ae,ke),Xf(k,j,Te,G);else if(Fe){ae=j.treeContext,j.treeContext=Oo(ae,1,0);try{cr(k,j,Te)}finally{j.treeContext=ae}}else cr(k,j,Te)}else if(typeof G=="string"){switch(Te=j.blockedSegment,ke=cn(Te.chunks,G,ae,k.responseState,Te.formatContext),Te.lastPushedText=!1,Fe=Te.formatContext,Te.formatContext=le(Fe,G,ae),xn(k,j,ke),Te.formatContext=Fe,G){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:Te.chunks.push(Sn,l(G),Jn)}Te.lastPushedText=!1}else{switch(G){case Re:case ie:case wi:case Oa:case ia:cr(k,j,ae.children);return;case Da:cr(k,j,ae.children);return;case X:throw Error(e(343));case Ji:e:{G=j.blockedBoundary,Te=j.blockedSegment,ke=ae.fallback,ae=ae.children,Fe=new Set;var Ye={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:Fe,errorDigest:null},_t=al(k,Te.chunks.length,Ye,Te.formatContext,!1,!1);Te.children.push(_t),Te.lastPushedText=!1;var yt=al(k,0,null,Te.formatContext,!1,!1);yt.parentFlushed=!0,j.blockedBoundary=Ye,j.blockedSegment=yt;try{if(xn(k,j,ae),yt.lastPushedText&&yt.textEmbedded&&yt.chunks.push(J),yt.status=1,gc(Ye,yt),Ye.pendingTasks===0)break e}catch(Lt){yt.status=4,Ye.forceClientRender=!0,Ye.errorDigest=er(k,Lt)}finally{j.blockedBoundary=G,j.blockedSegment=Te}j=fc(k,ke,G,_t,Fe,j.legacyContext,j.context,j.treeContext),k.pingedTasks.push(j)}return}if(typeof G=="object"&&G!==null)switch(G.$$typeof){case $a:if(ae=yr(k,j,G.render,ae,Te),Je!==0){G=j.treeContext,j.treeContext=Oo(G,1,0);try{cr(k,j,ae)}finally{j.treeContext=G}}else cr(k,j,ae);return;case E:G=G.type,ae=Wu(G,ae),Lo(k,j,G,ae,Te);return;case La:if(Te=ae.children,G=G._context,ae=ae.value,ke=G._currentValue,G._currentValue=ae,Fe=Ct,Ct=ae={parent:Fe,depth:Fe===null?0:Fe.depth+1,context:G,parentValue:ke,value:ae},j.context=ae,cr(k,j,Te),k=Ct,k===null)throw Error(e(403));ae=k.parentValue,k.context._currentValue=ae===Ce?k.context._defaultValue:ae,k=Ct=k.parent,j.context=k;return;case sa:ae=ae.children,ae=ae(G._currentValue),cr(k,j,ae);return;case H:Te=G._init,G=Te(G._payload),ae=Wu(G,ae),Lo(k,j,G,ae,void 0);return}throw Error(e(130,G==null?G:typeof G,""))}}function cr(k,j,G){if(j.node=G,typeof G=="object"&&G!==null){switch(G.$$typeof){case Qi:Lo(k,j,G.type,G.props,G.ref);return;case aa:throw Error(e(257));case H:var ae=G._init;G=ae(G._payload),cr(k,j,G);return}if(R(G)){hc(k,j,G);return}if(G===null||typeof G!="object"?ae=null:(ae=Be&&G[Be]||G["@@iterator"],ae=typeof ae=="function"?ae:null),ae&&(ae=ae.call(G))){if(G=ae.next(),!G.done){var Te=[];do Te.push(G.value),G=ae.next();while(!G.done);hc(k,j,Te)}return}throw k=Object.prototype.toString.call(G),Error(e(31,k==="[object Object]"?"object with keys {"+Object.keys(G).join(", ")+"}":k))}typeof G=="string"?(ae=j.blockedSegment,ae.lastPushedText=re(j.blockedSegment.chunks,G,k.responseState,ae.lastPushedText)):typeof G=="number"&&(ae=j.blockedSegment,ae.lastPushedText=re(j.blockedSegment.chunks,""+G,k.responseState,ae.lastPushedText))}function hc(k,j,G){for(var ae=G.length,Te=0;Te<ae;Te++){var ke=j.treeContext;j.treeContext=Oo(ke,ae,Te);try{xn(k,j,G[Te])}finally{j.treeContext=ke}}}function xn(k,j,G){var ae=j.blockedSegment.formatContext,Te=j.legacyContext,ke=j.context;try{return cr(k,j,G)}catch(_t){if(ns(),typeof _t=="object"&&_t!==null&&typeof _t.then=="function"){G=_t;var Fe=j.blockedSegment,Ye=al(k,Fe.chunks.length,null,Fe.formatContext,Fe.lastPushedText,!0);Fe.children.push(Ye),Fe.lastPushedText=!1,k=fc(k,j.node,j.blockedBoundary,Ye,j.abortSet,j.legacyContext,j.context,j.treeContext).ping,G.then(k,k),j.blockedSegment.formatContext=ae,j.legacyContext=Te,j.context=ke,Ur(ke)}else throw j.blockedSegment.formatContext=ae,j.legacyContext=Te,j.context=ke,Ur(ke),_t}}function za(k){var j=k.blockedBoundary;k=k.blockedSegment,k.status=3,vc(this,j,k)}function mc(k,j,G){var ae=k.blockedBoundary;k.blockedSegment.status=3,ae===null?(j.allPendingTasks--,j.status!==2&&(j.status=2,j.destination!==null&&j.destination.close())):(ae.pendingTasks--,ae.forceClientRender||(ae.forceClientRender=!0,k=G===void 0?Error(e(432)):G,ae.errorDigest=j.onError(k),ae.parentFlushed&&j.clientRenderedBoundaries.push(ae)),ae.fallbackAbortableTasks.forEach(function(Te){return mc(Te,j,G)}),ae.fallbackAbortableTasks.clear(),j.allPendingTasks--,j.allPendingTasks===0&&(ae=j.onAllReady,ae()))}function gc(k,j){if(j.chunks.length===0&&j.children.length===1&&j.children[0].boundary===null){var G=j.children[0];G.id=j.id,G.parentFlushed=!0,G.status===1&&gc(k,G)}else k.completedSegments.push(j)}function vc(k,j,G){if(j===null){if(G.parentFlushed){if(k.completedRootSegment!==null)throw Error(e(389));k.completedRootSegment=G}k.pendingRootTasks--,k.pendingRootTasks===0&&(k.onShellError=os,j=k.onShellReady,j())}else j.pendingTasks--,j.forceClientRender||(j.pendingTasks===0?(G.parentFlushed&&G.status===1&&gc(j,G),j.parentFlushed&&k.completedBoundaries.push(j),j.fallbackAbortableTasks.forEach(za,k),j.fallbackAbortableTasks.clear()):G.parentFlushed&&G.status===1&&(gc(j,G),j.completedSegments.length===1&&j.parentFlushed&&k.partialBoundaries.push(j)));k.allPendingTasks--,k.allPendingTasks===0&&(k=k.onAllReady,k())}function Zf(k){if(k.status!==2){var j=Ct,G=dc.current;dc.current=uc;var ae=pr;pr=k.responseState;try{var Te=k.pingedTasks,ke;for(ke=0;ke<Te.length;ke++){var Fe=Te[ke],Ye=k,_t=Fe.blockedSegment;if(_t.status===0){Ur(Fe.context);try{cr(Ye,Fe,Fe.node),_t.lastPushedText&&_t.textEmbedded&&_t.chunks.push(J),Fe.abortSet.delete(Fe),_t.status=1,vc(Ye,Fe.blockedBoundary,_t)}catch(vo){if(ns(),typeof vo=="object"&&vo!==null&&typeof vo.then=="function"){var yt=Fe.ping;vo.then(yt,yt)}else{Fe.abortSet.delete(Fe),_t.status=4;var Lt=Fe.blockedBoundary,fn=vo,_r=er(Ye,fn);if(Lt===null?pc(Ye,fn):(Lt.pendingTasks--,Lt.forceClientRender||(Lt.forceClientRender=!0,Lt.errorDigest=_r,Lt.parentFlushed&&Ye.clientRenderedBoundaries.push(Lt))),Ye.allPendingTasks--,Ye.allPendingTasks===0){var Gr=Ye.onAllReady;Gr()}}}finally{}}}Te.splice(0,ke),k.destination!==null&&Uu(k,k.destination)}catch(vo){er(k,vo),pc(k,vo)}finally{pr=ae,dc.current=G,G===uc&&Ur(j)}}}function wc(k,j,G){switch(G.parentFlushed=!0,G.status){case 0:var ae=G.id=k.nextSegmentId++;return G.lastPushedText=!1,G.textEmbedded=!1,k=k.responseState,o(j,Gt),o(j,k.placeholderPrefix),k=l(ae.toString(16)),o(j,k),a(j,Tn);case 1:G.status=2;var Te=!0;ae=G.chunks;var ke=0;G=G.children;for(var Fe=0;Fe<G.length;Fe++){for(Te=G[Fe];ke<Te.index;ke++)o(j,ae[ke]);Te=bc(k,j,Te)}for(;ke<ae.length-1;ke++)o(j,ae[ke]);return ke<ae.length&&(Te=a(j,ae[ke])),Te;default:throw Error(e(390))}}function bc(k,j,G){var ae=G.boundary;if(ae===null)return wc(k,j,G);if(ae.parentFlushed=!0,ae.forceClientRender)ae=ae.errorDigest,a(j,qe),o(j,un),ae&&(o(j,Ot),o(j,l(O(ae))),o(j,on)),a(j,ht),wc(k,j,G);else if(0<ae.pendingTasks){ae.rootSegmentID=k.nextSegmentId++,0<ae.completedSegments.length&&k.partialBoundaries.push(ae);var Te=k.responseState,ke=Te.nextSuspenseID++;Te=u(Te.boundaryPrefix+ke.toString(16)),ae=ae.id=Te,Ze(j,k.responseState,ae),wc(k,j,G)}else if(ae.byteSize>k.progressiveChunkSize)ae.rootSegmentID=k.nextSegmentId++,k.completedBoundaries.push(ae),Ze(j,k.responseState,ae.id),wc(k,j,G);else{if(a(j,Hn),G=ae.completedSegments,G.length!==1)throw Error(e(391));bc(k,j,G[0])}return a(j,wt)}function qu(k,j,G){return tl(j,k.responseState,G.formatContext,G.id),bc(k,j,G),na(j,G.formatContext)}function il(k,j,G){for(var ae=G.completedSegments,Te=0;Te<ae.length;Te++)_i(k,j,G,ae[Te]);if(ae.length=0,k=k.responseState,ae=G.id,G=G.rootSegmentID,o(j,k.startInlineScript),k.sentCompleteBoundaryFunction?o(j,pi):(k.sentCompleteBoundaryFunction=!0,o(j,Aa)),ae===null)throw Error(e(395));return G=l(G.toString(16)),o(j,ae),o(j,hi),o(j,k.segmentPrefix),o(j,G),a(j,Ao)}function _i(k,j,G,ae){if(ae.status===2)return!0;var Te=ae.id;if(Te===-1){if((ae.id=G.rootSegmentID)===-1)throw Error(e(392));return qu(k,j,ae)}return qu(k,j,ae),k=k.responseState,o(j,k.startInlineScript),k.sentCompleteSegmentFunction?o(j,Pa):(k.sentCompleteSegmentFunction=!0,o(j,ra)),o(j,k.segmentPrefix),Te=l(Te.toString(16)),o(j,Te),o(j,oa),o(j,k.placeholderPrefix),o(j,Te),a(j,Po)}function Uu(k,j){n=new Uint8Array(512),r=0;try{var G=k.completedRootSegment;if(G!==null&&k.pendingRootTasks===0){bc(k,j,G),k.completedRootSegment=null;var ae=k.responseState.bootstrapChunks;for(G=0;G<ae.length-1;G++)o(j,ae[G]);G<ae.length&&a(j,ae[G])}var Te=k.clientRenderedBoundaries,ke;for(ke=0;ke<Te.length;ke++){var Fe=Te[ke];ae=j;var Ye=k.responseState,_t=Fe.id,yt=Fe.errorDigest,Lt=Fe.errorMessage,fn=Fe.errorComponentStack;if(o(ae,Ye.startInlineScript),Ye.sentClientRenderFunction?o(ae,Fn):(Ye.sentClientRenderFunction=!0,o(ae,mi)),_t===null)throw Error(e(395));o(ae,_t),o(ae,Zi),(yt||Lt||fn)&&(o(ae,Ia),o(ae,l(ho(yt||"")))),(Lt||fn)&&(o(ae,Ia),o(ae,l(ho(Lt||"")))),fn&&(o(ae,Ia),o(ae,l(ho(fn)))),a(ae,gi)}Te.splice(0,ke);var _r=k.completedBoundaries;for(ke=0;ke<_r.length;ke++)il(k,j,_r[ke]);_r.splice(0,ke),i(j),n=new Uint8Array(512),r=0;var Gr=k.partialBoundaries;for(ke=0;ke<Gr.length;ke++){var vo=Gr[ke];e:{Te=k,Fe=j;var yc=vo.completedSegments;for(Ye=0;Ye<yc.length;Ye++)if(!_i(Te,Fe,vo,yc[Ye])){Ye++,yc.splice(0,Ye);var Qf=!1;break e}yc.splice(0,Ye),Qf=!0}if(!Qf){k.destination=null,ke++,Gr.splice(0,ke);return}}Gr.splice(0,ke);var Gu=k.completedBoundaries;for(ke=0;ke<Gu.length;ke++)il(k,j,Gu[ke]);Gu.splice(0,ke)}finally{i(j),k.allPendingTasks===0&&k.pingedTasks.length===0&&k.clientRenderedBoundaries.length===0&&k.completedBoundaries.length===0&&j.close()}}function Yu(k,j){try{var G=k.abortableTasks;G.forEach(function(ae){return mc(ae,k,j)}),G.clear(),k.destination!==null&&Uu(k,k.destination)}catch(ae){er(k,ae),pc(k,ae)}}return Fp.renderToReadableStream=function(k,j){return new Promise(function(G,ae){var Te,ke,Fe=new Promise(function(Lt,fn){ke=Lt,Te=fn}),Ye=Kf(k,B(j?j.identifierPrefix:void 0,j?j.nonce:void 0,j?j.bootstrapScriptContent:void 0,j?j.bootstrapScripts:void 0,j?j.bootstrapModules:void 0),U(j?j.namespaceURI:void 0),j?j.progressiveChunkSize:void 0,j?j.onError:void 0,ke,function(){var Lt=new ReadableStream({type:"bytes",pull:function(fn){if(Ye.status===1)Ye.status=2,d(fn,Ye.fatalError);else if(Ye.status!==2&&Ye.destination===null){Ye.destination=fn;try{Uu(Ye,fn)}catch(_r){er(Ye,_r),pc(Ye,_r)}}},cancel:function(){Yu(Ye)}},{highWaterMark:0});Lt.allReady=Fe,G(Lt)},function(Lt){Fe.catch(function(){}),ae(Lt)},Te);if(j&&j.signal){var _t=j.signal,yt=function(){Yu(Ye,_t.reason),_t.removeEventListener("abort",yt)};_t.addEventListener("abort",yt)}Zf(Ye)})},Fp.version="18.2.0",Fp}var a_;function zz(){if(a_)return hs;a_=1;var t,e;return t=Dz(),e=Bz(),hs.version=t.version,hs.renderToString=t.renderToString,hs.renderToStaticMarkup=t.renderToStaticMarkup,hs.renderToNodeStream=t.renderToNodeStream,hs.renderToStaticNodeStream=t.renderToStaticNodeStream,hs.renderToReadableStream=e.renderToReadableStream,hs}var Vp=zz(),Zm={exports:{}};/*!
|
|
84
|
-
Copyright (c) 2018 Jed Watson.
|
|
85
|
-
Licensed under the MIT License (MIT), see
|
|
86
|
-
http://jedwatson.github.io/classnames
|
|
87
|
-
*/var i_;function Fz(){return i_||(i_=1,(function(t){(function(){var e={}.hasOwnProperty;function n(){for(var a="",i=0;i<arguments.length;i++){var s=arguments[i];s&&(a=o(a,r.call(this,s)))}return a}function r(a){if(typeof a=="string"||typeof a=="number")return this&&this[a]||a;if(typeof a!="object")return"";if(Array.isArray(a))return n.apply(this,a);if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]"))return a.toString();var i="";for(var s in a)e.call(a,s)&&a[s]&&(i=o(i,this&&this[s]||s));return i}function o(a,i){return i?a?a+" "+i:a+i:a}t.exports?(n.default=n,t.exports=n):window.classNames=n})()})(Zm)),Zm.exports}var Vz=Fz();const jz=ka(Vz),Hz="_blind_2c8pd_308",Wz={blind:Hz},{createContext:qz,useCallback:Uz,useContext:Yz,useEffect:s_,useLayoutEffect:Gz,useMemo:l_,useState:Kz}=await q("react"),Xz=jz.bind(Wz),tv={theme:"light",setThemeData:t=>{}},c_=globalThis,z7=c_.__RB_CTX__??(c_.__RB_CTX__=qz(tv)),whe=({children:t,theme:e,onChangeTheme:n,variableModal:r})=>{const[o,a]=Kz(e??tv.theme),i=Uz(u=>{a(u),document.body.setAttribute("data-theme",u),n?.(u)},[n]),s=l_(()=>({...tv,theme:o,setThemeData:i,variableModal:r}),[o,i,r]),l=l_(()=>kn.debounce(()=>{const u=window.innerHeight*.01;document.body.style.setProperty("--vh",`${u}px`)},100),[]);return s_(()=>{e&&(a(e),document.body.setAttribute("data-theme",e))},[e]),s_(()=>{l()},[l]),Gz(()=>(l(),window.addEventListener("resize",l),()=>{window.removeEventListener("resize",l)}),[l]),ne(z7.Provider,{value:s,children:[h("div",{id:"rainbow-ui",className:Xz("rainbow-ui"),children:t}),h("div",{id:"portal-wrapper"})]})},ah=()=>Yz(z7),F7=()=>typeof window<"u",V7=()=>{if(!F7())return;const t=window.scrollY,e=document.body;e.setAttribute("data-fz",e.dataset.fz?`${Number(e.dataset.fz)+1}`:"1"),e.style.position!=="fixed"&&e.setAttribute("data-scroll-y",String(t)),e.style.overflow="hidden",e.style.touchAction="none",e.style.position="fixed",e.style.top=`-${e.dataset.scrollY}px`,e.style.left="0",e.style.width="100%"},j7=()=>{if(!F7())return;const t=document.body;t.dataset.fz&&Number(t.dataset.fz)>1?t.setAttribute("data-fz",`${Number(t.dataset.fz)-1}`):(t.removeAttribute("data-fz"),t.style.position="",t.style.top="",t.style.left="",t.style.width="",t.style.overflow="",t.style.paddingRight="",t.style.backgroundColor="",t.style.touchAction="",window.scrollTo(0,Number(t.dataset.scrollY)))},Zz=({text:t})=>{if(typeof navigator.clipboard>"u"){const e=document.createElement("textarea");e.value=t,e.style.position="fixed",e.style.opacity="0",document.body.appendChild(e),e.focus(),e.select();try{document.execCommand("copy")}finally{document.body.removeChild(e)}return}navigator.clipboard.writeText(t)},Qm=()=>!(navigator.userAgent.match(/iPhone|iPad|iPod/i)==null&&navigator.maxTouchPoints!=5),{forwardRef:Qz,useEffect:Jm,useImperativeHandle:Jz,useMemo:eF,useRef:eg,useState:jp}=await q("react"),tF=await q("react-simple-keyboard"),tg={default:["{copy} {paste} {close}","{variables} {quotes} {brace} {true} {false}","{spacer} ‘ 1 2 3 4 5 6 7 8 9 0 - = {bksp}","{tab} q w e r t y u i o p [ ] \\ {delete}","{lock} a s d f g h j k l ; ' _ {infinity}","{shift} z x c v b n m , . / {shift}","{left} {right} {space} {enter}"],shift:["{copy} {paste} {close}","{variables} {quotes} {brace} {true} {false}","{spacer} ~ ! @ # $ % ^ & * ( ) _ + {bksp}","{tab} Q W E R T Y U I O P { } | {delete}",'{lock} A S D F G H J K L : " _ {infinity}',"{shift} Z X C V B N M < > ? {shift}","{left} {right} {space} {enter}"]},nF={"{variables}":"Get Variable","{quotes}":'" "',"{brace}":"{ }","{true}":"True","{false}":"False","{bksp}":Vp.renderToStaticMarkup(h(aw,{})),"{tab}":"Tab","{delete}":"Delete","{lock}":"Lock","{infinity}":"∞","{shift}":"Shift","{space}":" ","{left}":Vp.renderToStaticMarkup(h(rh,{})),"{right}":Vp.renderToStaticMarkup(h(Pu,{})),"{enter}":Vp.renderToStaticMarkup(h(L7,{})),"{copy}":"Copy","{paste}":"Paste","{close}":"Close","{spacer}":" "},u_={"{infinity}":"-1","{true}":"True","{false}":"False","{quotes}":'""',"{brace}":"{}","{tab}":" "},rF=[{class:"btn-bksp",buttons:"{bksp}"},{class:"btn-infinity",buttons:"{infinity}"},{class:"btn-space",buttons:"{space}"},{class:"btn-nav",buttons:"{left} {right}"},{class:"btn-enter",buttons:"{enter}"},{class:"btn-shift",buttons:"{shift}"},{class:"btn-tab",buttons:"{tab}"},{class:"btn-spacer",buttons:"{spacer}"},{class:"btn-bookmark",buttons:"{variables} {quotes} {brace} {true} {false}"},{class:"btn-lock",buttons:"{lock}"},{class:"btn-delete",buttons:"{delete}"},{class:"btn-control",buttons:"{copy} {paste}"},{class:"btn-close",buttons:"{close}"}],cw=Qz(({className:t,inputRef:e,onKeyboardChange:n,onKeyboardKeyPress:r},o)=>{const a=eg(null),i=eg(null),s=eg(null),{variableModal:l}=ah(),[u,d]=jp(!1),[f,m]=jp("default"),[v,g]=jp(0),[w,y]=jp(!1),_=eF(()=>l?tg:{default:tg.default.map(P=>P.replace("{variables} ","")),shift:tg.shift.map(P=>P.replace("{variables} ",""))},[l]),S=(P,I)=>{const L=e.current;if(!L||document.activeElement!==L)return;Object.getOwnPropertyDescriptor(L instanceof HTMLInputElement?window.HTMLInputElement.prototype:window.HTMLTextAreaElement.prototype,"value")?.set?.call(L,P),a.current?.setInput(P),I!==void 0&&(L.setSelectionRange(I,I),a.current?.setCaretPosition(I)),L.dispatchEvent(new Event("input",{bubbles:!0}))},x=P=>{const I=e.current;if(!I||document.activeElement!==I)return;const L=I.selectionStart??0,V=P.length-(I.value?.length??0),F=L+V;n?.(P),S(P,F)},C=P=>{if(!e.current)return;const I=e.current,L=I.value;let V=I.selectionStart??L.length,F=I.selectionEnd??L.length;document.activeElement!==I&&L.length>0&&(V=L.length,F=L.length);const z=L.substring(0,V)+P+L.substring(F),B=V+P.length;S(z,B)},M=P=>{const I=e.current;if(!I)return;const L=I.selectionStart??I.value.length,V=P==="{left}"?Math.max(0,L-1):Math.min(I.value.length,L+1);I.focus(),I.setSelectionRange(V,V),a.current?.setCaretPosition(V)},A=()=>{const P=e.current;P&&(P.dispatchEvent(new KeyboardEvent("keydown",{key:"Enter",code:"Enter",bubbles:!0})),P.blur())},O=async P=>{if(r?.(P),P==="{copy}"){const I=e.current?.value??"";Zz({text:I})}else if(P==="{paste}"){try{const I=await navigator.clipboard.readText(),L=e.current?.value??"",V=e.current?.selectionStart??0,F=L.substring(0,V)+I+L.substring(V);console.log("paste",F,V+I.length),S(F,V+I.length)}catch(I){console.error("Paste failed",I)}return}else P==="{close}"?e.current?.blur():P==="{shift}"||P==="{lock}"?m(f==="default"?"shift":"default"):P==="{enter}"?A():P==="{left}"||P==="{right}"?M(P):P==="{delete}"?S("",0):P==="{variables}"?l&&y(!0):Object.keys(u_).includes(P)&&C(u_[P])},D=P=>{a.current=P,g(Date.now());const I=e.current;P?.setInput(I?.value??""),P?.setCaretPosition(I?.selectionStart??I?.value.length??0)};Jm(()=>{const P=e.current,I=()=>{P.inputMode==="none"&&d(!0)},L=()=>{window.setTimeout(()=>{document.activeElement!==P&&(d(!1),g(0))},100)},V=()=>{a.current?.setInput(P.value),a.current?.setCaretPosition(P.selectionStart??P.value.length??0)};if(P)return P.addEventListener("focus",I),P.addEventListener("blur",L),P.addEventListener("input",V),()=>{P.removeEventListener("focus",I),P.removeEventListener("blur",L),P.removeEventListener("input",V)}},[e]),Jm(()=>{if(!u)return;history.pushState({keyboard:!0},"");const P=I=>{I.state?.keyboard||(d(!1),e.current?.blur(),history.pushState({keyboard:!0},""))};return window.addEventListener("popstate",P),()=>{window.removeEventListener("popstate",P),history.state?.keyboard&&history.back()}},[u,e]),Jm(()=>{const P=document.getElementById("root"),I=i.current,L=v>0,V=()=>{if(!P)return;const B=document.activeElement;(B instanceof HTMLInputElement||B instanceof HTMLTextAreaElement)&&B.dataset.type==="program"||(P.style.transform="",P.style.transition="")};if(!P||!L||!e.current){V();return}const z=requestAnimationFrame(()=>{const B=e.current;if(!B){V();return}const Y=I?.getBoundingClientRect().height??window.innerHeight*.35,U=B.getBoundingClientRect(),J=window.innerHeight-Y,re=U.bottom-J;if(re<=0){V();return}s.current||(s.current={transform:P.style.transform,transition:P.style.transition});const te=s.current.transform.trim(),oe=Math.ceil(re+32);P.style.transform=[te,`translateY(-${oe}px)`].filter(Boolean).join(" "),P.style.transition=s.current.transition||"transform 0.3s ease"});return()=>{cancelAnimationFrame(z),V()}},[v,e]),Jz(o,()=>a.current);const T=P=>{y(P),P||window.setTimeout(()=>{e.current?.focus()},0)},R=P=>{T(!1);const I=e.current;!I||!P||(I.focus(),C(P))},$=u&&h(Ql,{id:"program-keypad",children:h(oF,{ref:i,className:se("RBProgramKeypad",t,{hidden:w}),onMouseDown:P=>{P.preventDefault(),P.stopPropagation()},onContextMenu:P=>{P.preventDefault(),P.stopPropagation()},onBlur:P=>{P.preventDefault(),P.stopPropagation(),d(!1)},children:h(tF,{keyboardRef:D,in:!0,syncInstanceInputs:!0,layout:_,display:nF,buttonTheme:rF,layoutName:f,onChange:x,onKeyPress:O,preventMouseDownDefault:!0,tabCharOnTab:!1})})});return ne(Mr,{children:[$,!!l&&w&&h(l,{open:w,onOpenChange:T,close:()=>T(!1),resolve:R})]})}),oF=Q6("div",{target:"ei27oh40"})({name:"1n1laod",styles:"background-color:var(--color-bg-overlay);color:var(--color-fg-default);position:fixed;bottom:0;left:0;width:100%;z-index:10000;pointer-events:auto;box-shadow:var(--shadow-up-xl);.simple-keyboard.hg-theme-default{background-color:var(--color-bg-overlay);width:min(100%, 64rem);margin:0 auto;padding:var(--spacing-1_5);gap:0.25rem;height:100%!important;border-radius:0;.hg-rows{display:flex!important;flex-direction:column!important;height:100%!important;gap:0.25rem;}.hg-row{display:flex;flex:1!important;gap:0.25rem;justify-content:flex-end;margin:0;}.hg-row:first-of-type{--bookmark-width:calc((100% - 1rem) / 5);}.hg-button{height:3rem;padding:0.625rem;width:3rem;background:var(--color-fill-subtler);color:var(--color-fg-default);border-radius:var(--radius-md);border-top:1px solid var(--color-border-subtle);border-bottom:0;margin:0;font-family:var(--font-sans);font-size:var(--text-compact-md);line-height:var(--leading-compact-md);letter-spacing:var(--tracking-compact-md);font-weight:var(--font-weight-semibold);display:flex;align-items:center;justify-content:center;transition:background-color 0.2s ease;&:active{background:var(--color-fill-subtlest);transform:translateY(1px);}&.hg-functionBtn{background-color:var(--color-fill-subtlest);color:white;}}.hg-button.hg-functionBtn{color:var(--color-fg-default);font-size:var(--text-compact-xs);line-height:var(--leading-compact-xs);letter-spacing:var(--tracking-compact-xs);font-weight:var(--font-weight-semibold);}.hg-button.btn-enter,.hg-button.btn-shift{width:11.5rem;flex:0 0 11.5rem!important;}.hg-button.btn-nav{font-size:var(--text-compact-lg);width:5.625rem;flex:0 0 5.625rem!important;}.hg-button.btn-space{background:var(--color-fill-subtler);flex:5!important;&:active{background:var(--color-fill-subtlest);transform:translateY(1px);}}.hg-button.btn-bookmark{height:2.25rem;flex:1 1 0!important;}.hg-button.btn-close{background-color:var(--color-fill-subtle);}.hg-button.btn-control,.hg-button.btn-close{height:2.25rem;padding:0.625rem;width:calc((var(--bookmark-width) - 0.5rem) / 3);flex:0 0 calc((var(--bookmark-width) - 0.5rem) / 3)!important;}.hg-button.btn-tab,.hg-button.btn-delete,.hg-button.btn-bksp{width:5.5rem;flex:0 0 5.5rem!important;}.hg-button.btn-spacer{width:5.5rem;flex:0 0 5.5rem!important;height:3rem;padding:0;color:transparent!important;font-size:0;background:transparent!important;border:0!important;box-shadow:none!important;pointer-events:none;}.hg-button.btn-lock,.hg-button.btn-infinity{width:7.5rem;flex:0 0 7.5rem!important;}.hg-button.btn-infinity{font-size:var(--text-compact-lg);}.hg-button.btn-bksp{font-size:var(--text-compact-md);}.hg-button svg{width:1.25rem;height:1.25rem;display:block;}}"});cw.displayName="RBProgramKeypad";const{useRef:aF,useMemo:iF,useState:d_,useCallback:Ic,useEffect:f_,forwardRef:sF,useImperativeHandle:lF}=await q("react"),uw=sF((t,e)=>{const{className:n="",size:r="md",variant:o,disabled:a,readOnly:i,error:s,type:l="text",useSetButton:u,hideBtnReset:d,prefixIcon:f,searchIcon:m=h(oh,{className:"size-4"}),resetIcon:v,handleChange:g,handleReset:w,handleEnter:y,validate:_,...S}=t,{value:x,...C}=S,M=aF(null),[A,O]=d_(!1),[D,T]=d_(String(x||C?.defaultValue||"")),R=iF(()=>({reset:A&&!d&&!!D&&!i,search:l==="search"}),[A,d,D,i,l]),$=Ic(z=>!z||!_?z:typeof _=="function"?_(z):_ instanceof RegExp?_.test(String(z))?z:D:z,[D,_]),P=Ic(()=>{const z=S.name;M.current.value="";const B={target:{...M.current,value:"",name:z}};M.current?.dispatchEvent(new Event("input",{bubbles:!0})),S.onChange?.(B),T(""),g?.("",z),w?.("",z,!0)},[S,g,w]),I=Ic(z=>{const{name:B}=z.target;let Y=z.target.value;if(Y===D){console.log("value === text");return}l!=="nx-number"&&(typeof S.value=="number"||l==="number")&&(Y=!Y||Number.isNaN(Number(Y))?void 0:Number(Y));const U=$(Y);z.target.value=String(U??""),g?.(U,B),S.onChange?.(z),M.current.value=String(U??""),U===""&&w?.("",B)},[D,$,g,S,w,l]),L=Ic((z,B)=>{O(B),B?S.onFocus?.(z):S.onBlur?.(z)},[S]),V=Ic(z=>{const{value:B="",name:Y}=z.target;y?.(B,Y),M.current?.blur()},[y]),F=Ic(z=>{z.key==="Enter"&&!z.nativeEvent.isComposing&&V(z),S.onKeyDown?.(z)},[S,V]);return f_(()=>{S.value!==D&&S.value!==void 0&&(T(S.value),M.current.value=String(S.value??""))},[S.value,D]),f_(()=>{M.current&&typeof M.current.scrollTo=="function"&&M.current.scrollTo(window.innerWidth,0)},[R.reset]),lF(e,()=>({...M.current,set value(z){M.current&&z!==M.current.value&&(M.current.value=z),T(z)},get value(){return M.current.value}})),ne("div",{"data-slot":"text-input",className:se(Iz({size:r,variant:o,focus:A,readOnly:i,disabled:a,error:s}),n),children:[R.search&&h("span",{"data-slot":"text-input-search-icon",className:"text-fg-subtle inline-flex shrink-0 items-center justify-center pl-2",children:m}),!R.search&&!!f&&h("span",{"data-slot":"text-input-prefix-icon",className:"text-fg-subtle inline-flex shrink-0 items-center justify-center pl-2",children:f}),h("input",{"data-slot":"text-input-field","data-type":l,ref:M,autoComplete:"off",readOnly:i,...C,type:l,inputMode:l==="program"||l==="nx-number"?"none":C.inputMode,className:Oz({size:r,variant:o,disabled:a}),"data-pad-focus":"true",defaultValue:S.defaultValue||D,onChange:I,onFocus:z=>L(z,!0),onBlur:z=>L(z,!1),onKeyDown:F}),R.reset&&h("button",{type:"button",tabIndex:-1,"data-slot":"text-input-clear-button",className:se(Lz({size:r}),"inline-flex",{}),onMouseDown:z=>{z.preventDefault(),P()},onTouchStart:P,children:v??h("span",{className:"inline-flex size-8 items-center justify-center",children:h(k7,{"aria-hidden":!0,className:$z({size:r})})})}),l==="program"&&h(cw,{inputRef:M}),l==="nx-number"&&h(lw,{inputRef:M,maxLength:S.maxLength,useSet:u,onSet:y})]})});uw.displayName="RBTextInput";const cF=me(["p-2_5 flex h-28 min-h-28 w-96 flex-col items-start gap-3 overflow-hidden","bg-fill-control-surface outline outline-1 outline-offset-[-1px]","rounded-md transition-colors"].join(" "),{variants:{size:{sm:"rounded-md",md:"rounded-md",lg:"rounded-lg"},variant:{default:"outline-border-default",success:"outline-border-success-stronger"},focus:{true:"outline-border-input-focused",false:""},error:{true:"outline-border-danger-stronger",false:""},readOnly:{true:"bg-fill-control-surface-disabled outline-border-disabled",false:""},disabled:{true:"bg-fill-control-surface-disabled outline-border-disabled pointer-events-none cursor-not-allowed",false:""}},compoundVariants:[{variant:"default",focus:!1,error:!1,readOnly:!1,disabled:!1,className:"[&:hover]:bg-fill-control-surface-hovered [&:hover]:outline-border-default"},{variant:"success",focus:!1,error:!1,readOnly:!1,disabled:!1,className:"[&:hover]:bg-fill-control-surface [&:hover]:outline-border-success-stronger"},{focus:!0,className:"[&:hover]:bg-fill-control-surface [&:hover]:outline-border-input-focused"},{error:!0,className:"[&:hover]:bg-fill-control-surface [&:hover]:outline-border-danger-stronger"},{readOnly:!0,className:"[&:hover]:bg-fill-control-surface-disabled [&:hover]:outline-border-disabled"},{disabled:!0,className:"[&:hover]:bg-fill-control-surface-disabled [&:hover]:outline-border-disabled"}],defaultVariants:{variant:"default",focus:!1,error:!1,readOnly:!1,disabled:!1}}),uF=me(["typo-body-xs2-normal w-full flex-1 resize-none border-none bg-transparent p-0 ring-0 outline-none","hover:text-fg-default hover:placeholder:text-fg-subtler"].join(" "),{variants:{size:{sm:"typo-compact-sm-normal px-2.5",md:"typo-compact-sm2-normal px-2.5",lg:"typo-compact-sm2-normal px-2.5"},variant:{default:"text-fg-default placeholder:text-fg-subtler",success:"text-fg-default placeholder:text-fg-subtler"},focus:{true:"placeholder:text-fg-subtler",false:""},error:{true:"placeholder:text-fg-subtler",false:""},readOnly:{true:"placeholder:text-fg-default",false:""},disabled:{true:"text-fg-disabled placeholder:text-fg-disabled",false:""}},defaultVariants:{variant:"default"}}),{forwardRef:dF,useCallback:p_,useEffect:h_,useImperativeHandle:fF,useRef:pF,useState:m_}=await q("react"),hF=dF(({className:t="",variant:e,disabled:n,readOnly:r,type:o="text",maxLength:a,error:i,variableModal:s,handleChange:l,...u},d)=>{const f=pF(null),[m,v]=m_(0),[g,w]=m_(!1),y=p_((S,x)=>{w(x),x?u.onFocus?.(S):u.onBlur?.(S)},[u]),_=p_(S=>{const{value:x,name:C}=S.target;l?.(x,C),u.onChange?.(S),v(x.length)},[l,u]);return h_(()=>{f.current&&v((f.current.value??"").length)},[]),h_(()=>{f.current&&f.current.value.length>a&&(f.current.value=f.current.value.slice(0,a),dispatchEvent(new Event("change",{bubbles:!0})))},[a]),fF(d,()=>f.current),ne("div",{"data-slot":"text-area",className:se(cF({variant:e,focus:g,readOnly:r,error:i,disabled:n}),t),children:[h("textarea",{"data-slot":"text-area-field",ref:f,...u,inputMode:o==="program"?"none":u.inputMode,disabled:n,readOnly:r,maxLength:a,onChange:_,onFocus:S=>y(S,!0),onBlur:S=>y(S,!1),className:uF({variant:e,focus:g,readOnly:r,error:i,disabled:n})}),!!a&&ne("p",{"data-slot":"text-area-count",className:"text-fg-subtler typo-body-xs2-normal p-0 text-right",children:[h("strong",{"data-slot":"text-area-count-current",className:"text-fg-default typo-body-xs2-medium",children:qo(m)}),"/",qo(a)]}),h(cw,{inputRef:f})]})});hF.displayName="RBTextArea";var D1={exports:{}},mF=D1.exports,g_;function bf(){return g_||(g_=1,(function(t,e){(function(n,r){t.exports=r()})(mF,(function(){var n=1e3,r=6e4,o=36e5,a="millisecond",i="second",s="minute",l="hour",u="day",d="week",f="month",m="quarter",v="year",g="date",w="Invalid Date",y=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,_=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,S={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(L){var V=["th","st","nd","rd"],F=L%100;return"["+L+(V[(F-20)%10]||V[F]||V[0])+"]"}},x=function(L,V,F){var z=String(L);return!z||z.length>=V?L:""+Array(V+1-z.length).join(F)+L},C={s:x,z:function(L){var V=-L.utcOffset(),F=Math.abs(V),z=Math.floor(F/60),B=F%60;return(V<=0?"+":"-")+x(z,2,"0")+":"+x(B,2,"0")},m:function L(V,F){if(V.date()<F.date())return-L(F,V);var z=12*(F.year()-V.year())+(F.month()-V.month()),B=V.clone().add(z,f),Y=F-B<0,U=V.clone().add(z+(Y?-1:1),f);return+(-(z+(F-B)/(Y?B-U:U-B))||0)},a:function(L){return L<0?Math.ceil(L)||0:Math.floor(L)},p:function(L){return{M:f,y:v,w:d,d:u,D:g,h:l,m:s,s:i,ms:a,Q:m}[L]||String(L||"").toLowerCase().replace(/s$/,"")},u:function(L){return L===void 0}},M="en",A={};A[M]=S;var O="$isDayjsObject",D=function(L){return L instanceof P||!(!L||!L[O])},T=function L(V,F,z){var B;if(!V)return M;if(typeof V=="string"){var Y=V.toLowerCase();A[Y]&&(B=Y),F&&(A[Y]=F,B=Y);var U=V.split("-");if(!B&&U.length>1)return L(U[0])}else{var le=V.name;A[le]=V,B=le}return!z&&B&&(M=B),B||!z&&M},R=function(L,V){if(D(L))return L.clone();var F=typeof V=="object"?V:{};return F.date=L,F.args=arguments,new P(F)},$=C;$.l=T,$.i=D,$.w=function(L,V){return R(L,{locale:V.$L,utc:V.$u,x:V.$x,$offset:V.$offset})};var P=(function(){function L(F){this.$L=T(F.locale,null,!0),this.parse(F),this.$x=this.$x||F.x||{},this[O]=!0}var V=L.prototype;return V.parse=function(F){this.$d=(function(z){var B=z.date,Y=z.utc;if(B===null)return new Date(NaN);if($.u(B))return new Date;if(B instanceof Date)return new Date(B);if(typeof B=="string"&&!/Z$/i.test(B)){var U=B.match(y);if(U){var le=U[2]-1||0,J=(U[7]||"0").substring(0,3);return Y?new Date(Date.UTC(U[1],le,U[3]||1,U[4]||0,U[5]||0,U[6]||0,J)):new Date(U[1],le,U[3]||1,U[4]||0,U[5]||0,U[6]||0,J)}}return new Date(B)})(F),this.init()},V.init=function(){var F=this.$d;this.$y=F.getFullYear(),this.$M=F.getMonth(),this.$D=F.getDate(),this.$W=F.getDay(),this.$H=F.getHours(),this.$m=F.getMinutes(),this.$s=F.getSeconds(),this.$ms=F.getMilliseconds()},V.$utils=function(){return $},V.isValid=function(){return this.$d.toString()!==w},V.isSame=function(F,z){var B=R(F);return this.startOf(z)<=B&&B<=this.endOf(z)},V.isAfter=function(F,z){return R(F)<this.startOf(z)},V.isBefore=function(F,z){return this.endOf(z)<R(F)},V.$g=function(F,z,B){return $.u(F)?this[z]:this.set(B,F)},V.unix=function(){return Math.floor(this.valueOf()/1e3)},V.valueOf=function(){return this.$d.getTime()},V.startOf=function(F,z){var B=this,Y=!!$.u(z)||z,U=$.p(F),le=function(ye,we){var Ne=$.w(B.$u?Date.UTC(B.$y,we,ye):new Date(B.$y,we,ye),B);return Y?Ne:Ne.endOf(u)},J=function(ye,we){return $.w(B.toDate()[ye].apply(B.toDate("s"),(Y?[0,0,0,0]:[23,59,59,999]).slice(we)),B)},re=this.$W,te=this.$M,oe=this.$D,ee="set"+(this.$u?"UTC":"");switch(U){case v:return Y?le(1,0):le(31,11);case f:return Y?le(1,te):le(0,te+1);case d:var ue=this.$locale().weekStart||0,fe=(re<ue?re+7:re)-ue;return le(Y?oe-fe:oe+(6-fe),te);case u:case g:return J(ee+"Hours",0);case l:return J(ee+"Minutes",1);case s:return J(ee+"Seconds",2);case i:return J(ee+"Milliseconds",3);default:return this.clone()}},V.endOf=function(F){return this.startOf(F,!1)},V.$set=function(F,z){var B,Y=$.p(F),U="set"+(this.$u?"UTC":""),le=(B={},B[u]=U+"Date",B[g]=U+"Date",B[f]=U+"Month",B[v]=U+"FullYear",B[l]=U+"Hours",B[s]=U+"Minutes",B[i]=U+"Seconds",B[a]=U+"Milliseconds",B)[Y],J=Y===u?this.$D+(z-this.$W):z;if(Y===f||Y===v){var re=this.clone().set(g,1);re.$d[le](J),re.init(),this.$d=re.set(g,Math.min(this.$D,re.daysInMonth())).$d}else le&&this.$d[le](J);return this.init(),this},V.set=function(F,z){return this.clone().$set(F,z)},V.get=function(F){return this[$.p(F)]()},V.add=function(F,z){var B,Y=this;F=Number(F);var U=$.p(z),le=function(te){var oe=R(Y);return $.w(oe.date(oe.date()+Math.round(te*F)),Y)};if(U===f)return this.set(f,this.$M+F);if(U===v)return this.set(v,this.$y+F);if(U===u)return le(1);if(U===d)return le(7);var J=(B={},B[s]=r,B[l]=o,B[i]=n,B)[U]||1,re=this.$d.getTime()+F*J;return $.w(re,this)},V.subtract=function(F,z){return this.add(-1*F,z)},V.format=function(F){var z=this,B=this.$locale();if(!this.isValid())return B.invalidDate||w;var Y=F||"YYYY-MM-DDTHH:mm:ssZ",U=$.z(this),le=this.$H,J=this.$m,re=this.$M,te=B.weekdays,oe=B.months,ee=B.meridiem,ue=function(we,Ne,Ie,Pe){return we&&(we[Ne]||we(z,Y))||Ie[Ne].slice(0,Pe)},fe=function(we){return $.s(le%12||12,we,"0")},ye=ee||function(we,Ne,Ie){var Pe=we<12?"AM":"PM";return Ie?Pe.toLowerCase():Pe};return Y.replace(_,(function(we,Ne){return Ne||(function(Ie){switch(Ie){case"YY":return String(z.$y).slice(-2);case"YYYY":return $.s(z.$y,4,"0");case"M":return re+1;case"MM":return $.s(re+1,2,"0");case"MMM":return ue(B.monthsShort,re,oe,3);case"MMMM":return ue(oe,re);case"D":return z.$D;case"DD":return $.s(z.$D,2,"0");case"d":return String(z.$W);case"dd":return ue(B.weekdaysMin,z.$W,te,2);case"ddd":return ue(B.weekdaysShort,z.$W,te,3);case"dddd":return te[z.$W];case"H":return String(le);case"HH":return $.s(le,2,"0");case"h":return fe(1);case"hh":return fe(2);case"a":return ye(le,J,!0);case"A":return ye(le,J,!1);case"m":return String(J);case"mm":return $.s(J,2,"0");case"s":return String(z.$s);case"ss":return $.s(z.$s,2,"0");case"SSS":return $.s(z.$ms,3,"0");case"Z":return U}return null})(we)||U.replace(":","")}))},V.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},V.diff=function(F,z,B){var Y,U=this,le=$.p(z),J=R(F),re=(J.utcOffset()-this.utcOffset())*r,te=this-J,oe=function(){return $.m(U,J)};switch(le){case v:Y=oe()/12;break;case f:Y=oe();break;case m:Y=oe()/3;break;case d:Y=(te-re)/6048e5;break;case u:Y=(te-re)/864e5;break;case l:Y=te/o;break;case s:Y=te/r;break;case i:Y=te/n;break;default:Y=te}return B?Y:$.a(Y)},V.daysInMonth=function(){return this.endOf(f).$D},V.$locale=function(){return A[this.$L]},V.locale=function(F,z){if(!F)return this.$L;var B=this.clone(),Y=T(F,z,!0);return Y&&(B.$L=Y),B},V.clone=function(){return $.w(this.$d,this)},V.toDate=function(){return new Date(this.valueOf())},V.toJSON=function(){return this.isValid()?this.toISOString():null},V.toISOString=function(){return this.$d.toISOString()},V.toString=function(){return this.$d.toUTCString()},L})(),I=P.prototype;return R.prototype=I,[["$ms",a],["$s",i],["$m",s],["$H",l],["$W",u],["$M",f],["$y",v],["$D",g]].forEach((function(L){I[L[1]]=function(V){return this.$g(V,L[0],L[1])}})),R.extend=function(L,V){return L.$i||(L(V,P,R),L.$i=!0),R},R.locale=T,R.isDayjs=D,R.unix=function(L){return R(1e3*L)},R.en=A[M],R.Ls=A,R.p={},R}))})(D1)),D1.exports}var gF=bf();const To=ka(gF);var B1={exports:{}},vF=B1.exports,v_;function wF(){return v_||(v_=1,(function(t,e){(function(n,r){t.exports=r()})(vF,(function(){return function(n,r){var o=r.prototype,a=o.format;o.format=function(i){var s=this,l=this.$locale();if(!this.isValid())return a.bind(this)(i);var u=this.$utils(),d=(i||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(f){switch(f){case"Q":return Math.ceil((s.$M+1)/3);case"Do":return l.ordinal(s.$D);case"gggg":return s.weekYear();case"GGGG":return s.isoWeekYear();case"wo":return l.ordinal(s.week(),"W");case"w":case"ww":return u.s(s.week(),f==="w"?1:2,"0");case"W":case"WW":return u.s(s.isoWeek(),f==="W"?1:2,"0");case"k":case"kk":return u.s(String(s.$H===0?24:s.$H),f==="k"?1:2,"0");case"X":return Math.floor(s.$d.getTime()/1e3);case"x":return s.$d.getTime();case"z":return"["+s.offsetName()+"]";case"zzz":return"["+s.offsetName("long")+"]";default:return f}}));return a.bind(this)(d)}}}))})(B1)),B1.exports}var bF=wF();const yF=ka(bF);var z1={exports:{}},_F=z1.exports,w_;function xF(){return w_||(w_=1,(function(t,e){(function(n,r){t.exports=r()})(_F,(function(){return function(n,r,o){r.prototype.isBetween=function(a,i,s,l){var u=o(a),d=o(i),f=(l=l||"()")[0]==="(",m=l[1]===")";return(f?this.isAfter(u,s):!this.isBefore(u,s))&&(m?this.isBefore(d,s):!this.isAfter(d,s))||(f?this.isBefore(u,s):!this.isAfter(u,s))&&(m?this.isAfter(d,s):!this.isBefore(d,s))}}}))})(z1)),z1.exports}var SF=xF();const CF=ka(SF);var F1={exports:{}},EF=F1.exports,b_;function MF(){return b_||(b_=1,(function(t,e){(function(n,r){t.exports=r()})(EF,(function(){return function(n,r,o){n=n||{};var a=r.prototype,i={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function s(u,d,f,m){return a.fromToBase(u,d,f,m)}o.en.relativeTime=i,a.fromToBase=function(u,d,f,m,v){for(var g,w,y,_=f.$locale().relativeTime||i,S=n.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],x=S.length,C=0;C<x;C+=1){var M=S[C];M.d&&(g=m?o(u).diff(f,M.d,!0):f.diff(u,M.d,!0));var A=(n.rounding||Math.round)(Math.abs(g));if(y=g>0,A<=M.r||!M.r){A<=1&&C>0&&(M=S[C-1]);var O=_[M.l];v&&(A=v(""+A)),w=typeof O=="string"?O.replace("%d",A):O(A,d,M.l,y);break}}if(d)return w;var D=y?_.future:_.past;return typeof D=="function"?D(w):D.replace("%s",w)},a.to=function(u,d){return s(u,d,this,!0)},a.from=function(u,d){return s(u,d,this)};var l=function(u){return u.$u?o.utc():o()};a.toNow=function(u){return this.to(l(this),u)},a.fromNow=function(u){return this.from(l(this),u)}}}))})(F1)),F1.exports}var kF=MF();const RF=ka(kF);var V1={exports:{}},TF=V1.exports,y_;function NF(){return y_||(y_=1,(function(t,e){(function(n,r){t.exports=r()})(TF,(function(){var n={year:0,month:1,day:2,hour:3,minute:4,second:5},r={};return function(o,a,i){var s,l=function(m,v,g){g===void 0&&(g={});var w=new Date(m),y=(function(_,S){S===void 0&&(S={});var x=S.timeZoneName||"short",C=_+"|"+x,M=r[C];return M||(M=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:_,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:x}),r[C]=M),M})(v,g);return y.formatToParts(w)},u=function(m,v){for(var g=l(m,v),w=[],y=0;y<g.length;y+=1){var _=g[y],S=_.type,x=_.value,C=n[S];C>=0&&(w[C]=parseInt(x,10))}var M=w[3],A=M===24?0:M,O=w[0]+"-"+w[1]+"-"+w[2]+" "+A+":"+w[4]+":"+w[5]+":000",D=+m;return(i.utc(O).valueOf()-(D-=D%1e3))/6e4},d=a.prototype;d.tz=function(m,v){m===void 0&&(m=s);var g,w=this.utcOffset(),y=this.toDate(),_=y.toLocaleString("en-US",{timeZone:m}),S=Math.round((y-new Date(_))/1e3/60),x=15*-Math.round(y.getTimezoneOffset()/15)-S;if(!Number(x))g=this.utcOffset(0,v);else if(g=i(_,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(x,!0),v){var C=g.utcOffset();g=g.add(w-C,"minute")}return g.$x.$timezone=m,g},d.offsetName=function(m){var v=this.$x.$timezone||i.tz.guess(),g=l(this.valueOf(),v,{timeZoneName:m}).find((function(w){return w.type.toLowerCase()==="timezonename"}));return g&&g.value};var f=d.startOf;d.startOf=function(m,v){if(!this.$x||!this.$x.$timezone)return f.call(this,m,v);var g=i(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return f.call(g,m,v).tz(this.$x.$timezone,!0)},i.tz=function(m,v,g){var w=g&&v,y=g||v||s,_=u(+i(),y);if(typeof m!="string")return i(m).tz(y);var S=(function(A,O,D){var T=A-60*O*1e3,R=u(T,D);if(O===R)return[T,O];var $=u(T-=60*(R-O)*1e3,D);return R===$?[T,R]:[A-60*Math.min(R,$)*1e3,Math.max(R,$)]})(i.utc(m,w).valueOf(),_,y),x=S[0],C=S[1],M=i(x).utcOffset(C);return M.$x.$timezone=y,M},i.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},i.tz.setDefault=function(m){s=m}}}))})(V1)),V1.exports}var PF=NF();const AF=ka(PF);var j1={exports:{}},IF=j1.exports,__;function OF(){return __||(__=1,(function(t,e){(function(n,r){t.exports=r()})(IF,(function(){function n(){return n=Object.assign||function(r){for(var o=1;o<arguments.length;o++){var a=arguments[o];for(var i in a)Object.prototype.hasOwnProperty.call(a,i)&&(r[i]=a[i])}return r},n.apply(this,arguments)}return function(r,o,a){a.updateLocale=function(i,s){var l=a.Ls[i];if(l)return(s?Object.keys(s):[]).forEach((function(u){l[u]&&s[u]&&typeof l[u]=="object"&&typeof s[u]=="object"&&!Array.isArray(l[u])?l[u]=n({},l[u],s[u]):l[u]=s[u]})),l}}}))})(j1)),j1.exports}var LF=OF();const $F=ka(LF);var H1={exports:{}},DF=H1.exports,x_;function BF(){return x_||(x_=1,(function(t,e){(function(n,r){t.exports=r()})(DF,(function(){var n="minute",r=/[+-]\d\d(?::?\d\d)?/g,o=/([+-]|\d\d)/g;return function(a,i,s){var l=i.prototype;s.utc=function(w){var y={date:w,utc:!0,args:arguments};return new i(y)},l.utc=function(w){var y=s(this.toDate(),{locale:this.$L,utc:!0});return w?y.add(this.utcOffset(),n):y},l.local=function(){return s(this.toDate(),{locale:this.$L,utc:!1})};var u=l.parse;l.parse=function(w){w.utc&&(this.$u=!0),this.$utils().u(w.$offset)||(this.$offset=w.$offset),u.call(this,w)};var d=l.init;l.init=function(){if(this.$u){var w=this.$d;this.$y=w.getUTCFullYear(),this.$M=w.getUTCMonth(),this.$D=w.getUTCDate(),this.$W=w.getUTCDay(),this.$H=w.getUTCHours(),this.$m=w.getUTCMinutes(),this.$s=w.getUTCSeconds(),this.$ms=w.getUTCMilliseconds()}else d.call(this)};var f=l.utcOffset;l.utcOffset=function(w,y){var _=this.$utils().u;if(_(w))return this.$u?0:_(this.$offset)?f.call(this):this.$offset;if(typeof w=="string"&&(w=(function(M){M===void 0&&(M="");var A=M.match(r);if(!A)return null;var O=(""+A[0]).match(o)||["-",0,0],D=O[0],T=60*+O[1]+ +O[2];return T===0?0:D==="+"?T:-T})(w),w===null))return this;var S=Math.abs(w)<=16?60*w:w;if(S===0)return this.utc(y);var x=this.clone();if(y)return x.$offset=S,x.$u=!1,x;var C=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(x=this.local().add(S+C,n)).$offset=S,x.$x.$localOffset=C,x};var m=l.format;l.format=function(w){var y=w||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return m.call(this,y)},l.valueOf=function(){var w=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*w},l.isUTC=function(){return!!this.$u},l.toISOString=function(){return this.toDate().toISOString()},l.toString=function(){return this.toDate().toUTCString()};var v=l.toDate;l.toDate=function(w){return w==="s"&&this.$offset?s(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():v.call(this)};var g=l.diff;l.diff=function(w,y,_){if(w&&this.$u===w.$u)return g.call(this,w,y,_);var S=this.local(),x=s(w).local();return g.call(S,x,y,_)}}}))})(H1)),H1.exports}var zF=BF();const FF=ka(zF);var W1={exports:{}},VF=W1.exports,S_;function jF(){return S_||(S_=1,(function(t,e){(function(n,r){t.exports=r()})(VF,(function(){return{name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(n){var r=["th","st","nd","rd"],o=n%100;return"["+n+(r[(o-20)%10]||r[o]||r[0])+"]"}}}))})(W1)),W1.exports}jF();var q1={exports:{}},HF=q1.exports,C_;function WF(){return C_||(C_=1,(function(t,e){(function(n,r){t.exports=r(bf())})(HF,(function(n){function r(i){return i&&typeof i=="object"&&"default"in i?i:{default:i}}var o=r(n),a={name:"ko",weekdays:"일요일_월요일_화요일_수요일_목요일_금요일_토요일".split("_"),weekdaysShort:"일_월_화_수_목_금_토".split("_"),weekdaysMin:"일_월_화_수_목_금_토".split("_"),months:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),monthsShort:"1월_2월_3월_4월_5월_6월_7월_8월_9월_10월_11월_12월".split("_"),ordinal:function(i){return i+"일"},formats:{LT:"A h:mm",LTS:"A h:mm:ss",L:"YYYY.MM.DD.",LL:"YYYY년 MMMM D일",LLL:"YYYY년 MMMM D일 A h:mm",LLLL:"YYYY년 MMMM D일 dddd A h:mm",l:"YYYY.MM.DD.",ll:"YYYY년 MMMM D일",lll:"YYYY년 MMMM D일 A h:mm",llll:"YYYY년 MMMM D일 dddd A h:mm"},meridiem:function(i){return i<12?"오전":"오후"},relativeTime:{future:"%s 후",past:"%s 전",s:"몇 초",m:"1분",mm:"%d분",h:"한 시간",hh:"%d시간",d:"하루",dd:"%d일",M:"한 달",MM:"%d달",y:"일 년",yy:"%d년"}};return o.default.locale(a,null,!0),a}))})(q1)),q1.exports}WF();var U1={exports:{}},qF=U1.exports,E_;function UF(){return E_||(E_=1,(function(t,e){(function(n,r){t.exports=r(bf())})(qF,(function(n){function r(i){return i&&typeof i=="object"&&"default"in i?i:{default:i}}var o=r(n),a={name:"pt",weekdays:"domingo_segunda-feira_terça-feira_quarta-feira_quinta-feira_sexta-feira_sábado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_sab".split("_"),weekdaysMin:"Do_2ª_3ª_4ª_5ª_6ª_Sa".split("_"),months:"janeiro_fevereiro_março_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(i){return i+"º"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [às] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [às] HH:mm"},relativeTime:{future:"em %s",past:"há %s",s:"alguns segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um mês",MM:"%d meses",y:"um ano",yy:"%d anos"}};return o.default.locale(a,null,!0),a}))})(U1)),U1.exports}UF();var Y1={exports:{}},YF=Y1.exports,M_;function GF(){return M_||(M_=1,(function(t,e){(function(n,r){t.exports=r(bf())})(YF,(function(n){function r(i){return i&&typeof i=="object"&&"default"in i?i:{default:i}}var o=r(n),a={name:"zh-cn",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"周日_周一_周二_周三_周四_周五_周六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(i,s){return s==="W"?i+"周":i+"日"},weekStart:1,yearStart:4,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日Ah点mm分",LLLL:"YYYY年M月D日ddddAh点mm分",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s内",past:"%s前",s:"几秒",m:"1 分钟",mm:"%d 分钟",h:"1 小时",hh:"%d 小时",d:"1 天",dd:"%d 天",M:"1 个月",MM:"%d 个月",y:"1 年",yy:"%d 年"},meridiem:function(i,s){var l=100*i+s;return l<600?"凌晨":l<900?"早上":l<1100?"上午":l<1300?"中午":l<1800?"下午":"晚上"}};return o.default.locale(a,null,!0),a}))})(Y1)),Y1.exports}GF();var G1={exports:{}},KF=G1.exports,k_;function XF(){return k_||(k_=1,(function(t,e){(function(n,r){t.exports=r(bf())})(KF,(function(n){function r(i){return i&&typeof i=="object"&&"default"in i?i:{default:i}}var o=r(n),a={name:"zh-tw",weekdays:"星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),weekdaysShort:"週日_週一_週二_週三_週四_週五_週六".split("_"),weekdaysMin:"日_一_二_三_四_五_六".split("_"),months:"一月_二月_三月_四月_五月_六月_七月_八月_九月_十月_十一月_十二月".split("_"),monthsShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),ordinal:function(i,s){return s==="W"?i+"週":i+"日"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY/MM/DD",LL:"YYYY年M月D日",LLL:"YYYY年M月D日 HH:mm",LLLL:"YYYY年M月D日dddd HH:mm",l:"YYYY/M/D",ll:"YYYY年M月D日",lll:"YYYY年M月D日 HH:mm",llll:"YYYY年M月D日dddd HH:mm"},relativeTime:{future:"%s內",past:"%s前",s:"幾秒",m:"1 分鐘",mm:"%d 分鐘",h:"1 小時",hh:"%d 小時",d:"1 天",dd:"%d 天",M:"1 個月",MM:"%d 個月",y:"1 年",yy:"%d 年"},meridiem:function(i,s){var l=100*i+s;return l<600?"凌晨":l<900?"早上":l<1100?"上午":l<1300?"中午":l<1800?"下午":"晚上"}};return o.default.locale(a,null,!0),a}))})(G1)),G1.exports}XF();const ZF={name:"en",relativeTime:{future:"in %s",past:"%s ago",s:"1 seconds",ss:"%d seconds",m:"1 min",mm:"%d min",h:"1 hour",hh:"%d hours",d:"1 day",dd:"%d days",w:"1 week",ww:"%d weeks",M:"1 month",MM:"%d months",y:"1 year",yy:"%d years"}},QF={name:"ko",relativeTime:{future:"%s 이후",past:"%s 전",s:"1 초",ss:"%d 초",m:"1 분",mm:"%d 분",h:"1 시간",hh:"%d 시간",d:"1 일",dd:"%d 일",w:"1 주",ww:"%d 주",M:"1 달",MM:"%d 달",y:"1 년",yy:"%d 년"}},JF={name:"ja",relativeTime:{future:"%s後",past:"%s前",s:"1秒",ss:"%d秒",m:"1分钟",mm:"%d分",h:"一時間",hh:"%d時間",d:"一日",dd:"%d日",w:"一週間",ww:"%d週間",M:"一か月",MM:"%dか月",y:"一年",yy:"%d年"}},eV={name:"pt",relativeTime:{future:"%s depois",past:"%s atrás",s:"1 segundo",ss:"%d segundo",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",w:"uma semana",ww:"%d semanas",M:"há um mês",MM:"%d meses",y:"um ano",yy:"%d anos"}},tV={name:"zh-Hans",relativeTime:{future:"%s後",past:"%s前",s:"1秒",ss:"%d秒",m:"1分钟",mm:"%d分钟",h:"一小时",hh:"%d小时",d:"一天",dd:"%d天",w:"一周",ww:"%d周",M:"一个月",MM:"%d个月",y:"一年",yy:"%d年"}},nV={name:"zh-Hant",relativeTime:{future:"%s後",past:"%s前",s:"1秒",ss:"%d秒",m:"1分鐘",mm:"%d分鐘",h:"一小時",hh:"%d小時",d:"一天",dd:"%d天",w:"一週",ww:"%d週",M:"一個月",MM:"%d個月",y:"一年",yy:"%d年"}},rV={thresholds:[{l:"s",r:1},{l:"ss",r:59,d:"second"},{l:"m",r:1},{l:"mm",r:59,d:"minute"},{l:"h",r:1},{l:"hh",r:23,d:"hour"},{l:"d",r:1},{l:"dd",r:6,d:"day"},{l:"w",r:1},{l:"ww",r:3,d:"week"},{l:"M",r:1},{l:"MM",r:11,d:"month"},{l:"y",r:1},{l:"yy",d:"year"}],rounding:Math.floor};To.extend(FF);To.extend(AF);To.extend(CF);To.extend(yF);To.extend(RF,rV);To.extend($F);To.updateLocale("en",ZF);To.updateLocale("ko",QF);To.updateLocale("pt",eV);To.updateLocale("zh-cn",tV);To.updateLocale("zh-tw",nV);To.updateLocale("ja",JF);const xa=t=>To(t),oV=7,dw=t=>{switch(t){case"zh-Hant":return"zh-cn";case"zh-Hans":return"zh-tw";default:return t}},H7="YYYY-MM-DD",bhe=()=>xa(xa().format(H7)),aV=t=>+xa(t).unix(),rf=t=>+xa(String(t).length===13?t:t*1e3),yhe=(t,e)=>xa(t).utc().format(e),W7=(t,e=H7,n="en")=>(n=dw(n),xa(typeof t=="string"?t:rf(t)).locale(n).format(e)),iV=(t,e="en")=>(e=dw(e),t=rf(t),xa(t).locale(e).fromNow()),sV=(t,e)=>{t=rf(t);const n=xa(),r=xa(t);return Math.floor(r.diff(n,e,!0))},_he=(t,e="en")=>{e=dw(e);const n=typeof t=="string"?aV(t):t,r=Math.abs(sV(n,"day")),o=new Date().getFullYear(),a=xa(rf(n)).format("YYYY"),i=r>=oV;let s=e==="ko"?"YYYY년 MM월 DD일":"MMM D, YYYY";return Number(o)===Number(a)&&(s=e==="ko"?"MM월 DD일":"MMM D"),i?xa(rf(n)).format(s):iV(n,e)},lV=await q("react");function R_(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function Gs(...t){return e=>{let n=!1;const r=t.map(o=>{const a=R_(o,e);return!n&&typeof a=="function"&&(n=!0),a});if(n)return()=>{for(let o=0;o<r.length;o++){const a=r[o];typeof a=="function"?a():R_(t[o],null)}}}}function ln(...t){return lV.useCallback(Gs(...t),t)}const jr=await q("react");var cV=Symbol.for("react.lazy"),S0=jr[" use ".trim().toString()];function uV(t){return typeof t=="object"&&t!==null&&"then"in t}function q7(t){return t!=null&&typeof t=="object"&&"$$typeof"in t&&t.$$typeof===cV&&"_payload"in t&&uV(t._payload)}function U7(t){const e=fV(t),n=jr.forwardRef((r,o)=>{let{children:a,...i}=r;q7(a)&&typeof S0=="function"&&(a=S0(a._payload));const s=jr.Children.toArray(a),l=s.find(hV);if(l){const u=l.props.children,d=s.map(f=>f===l?jr.Children.count(u)>1?jr.Children.only(null):jr.isValidElement(u)?u.props.children:null:f);return Z.jsx(e,{...i,ref:o,children:jr.isValidElement(u)?jr.cloneElement(u,void 0,d):null})}return Z.jsx(e,{...i,ref:o,children:a})});return n.displayName=`${t}.Slot`,n}var dV=U7("Slot");function fV(t){const e=jr.forwardRef((n,r)=>{let{children:o,...a}=n;if(q7(o)&&typeof S0=="function"&&(o=S0(o._payload)),jr.isValidElement(o)){const i=gV(o),s=mV(a,o.props);return o.type!==jr.Fragment&&(s.ref=r?Gs(r,i):i),jr.cloneElement(o,s)}return jr.Children.count(o)>1?jr.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}var pV=Symbol("radix.slottable");function hV(t){return jr.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===pV}function mV(t,e){const n={...e};for(const r in e){const o=t[r],a=e[r];/^on[A-Z]/.test(r)?o&&a?n[r]=(...s)=>{const l=a(...s);return o(...s),l}:o&&(n[r]=o):r==="style"?n[r]={...o,...a}:r==="className"&&(n[r]=[o,a].filter(Boolean).join(" "))}return{...t,...n}}function gV(t){let e=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning;return n?t.ref:(e=Object.getOwnPropertyDescriptor(t,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning,n?t.props.ref:t.props.ref||t.ref)}const Di=await q("react");function vV(t,e){const n=Di.createContext(e),r=a=>{const{children:i,...s}=a,l=Di.useMemo(()=>s,Object.values(s));return Z.jsx(n.Provider,{value:l,children:i})};r.displayName=t+"Provider";function o(a){const i=Di.useContext(n);if(i)return i;if(e!==void 0)return e;throw new Error(`\`${a}\` must be used within \`${t}\``)}return[r,o]}function Ko(t,e=[]){let n=[];function r(a,i){const s=Di.createContext(i),l=n.length;n=[...n,i];const u=f=>{const{scope:m,children:v,...g}=f,w=m?.[t]?.[l]||s,y=Di.useMemo(()=>g,Object.values(g));return Z.jsx(w.Provider,{value:y,children:v})};u.displayName=a+"Provider";function d(f,m){const v=m?.[t]?.[l]||s,g=Di.useContext(v);if(g)return g;if(i!==void 0)return i;throw new Error(`\`${f}\` must be used within \`${a}\``)}return[u,d]}const o=()=>{const a=n.map(i=>Di.createContext(i));return function(s){const l=s?.[t]||a;return Di.useMemo(()=>({[`__scope${t}`]:{...s,[t]:l}}),[s,l])}};return o.scopeName=t,[r,wV(o,...e)]}function wV(...t){const e=t[0];if(t.length===1)return e;const n=()=>{const r=t.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(a){const i=r.reduce((s,{useScope:l,scopeName:u})=>{const f=l(a)[`__scope${u}`];return{...s,...f}},{});return Di.useMemo(()=>({[`__scope${e.scopeName}`]:i}),[i])}};return n.scopeName=e.scopeName,n}const ro=await q("react");function T_(t){const e=bV(t),n=ro.forwardRef((r,o)=>{const{children:a,...i}=r,s=ro.Children.toArray(a),l=s.find(_V);if(l){const u=l.props.children,d=s.map(f=>f===l?ro.Children.count(u)>1?ro.Children.only(null):ro.isValidElement(u)?u.props.children:null:f);return Z.jsx(e,{...i,ref:o,children:ro.isValidElement(u)?ro.cloneElement(u,void 0,d):null})}return Z.jsx(e,{...i,ref:o,children:a})});return n.displayName=`${t}.Slot`,n}function bV(t){const e=ro.forwardRef((n,r)=>{const{children:o,...a}=n;if(ro.isValidElement(o)){const i=SV(o),s=xV(a,o.props);return o.type!==ro.Fragment&&(s.ref=r?Gs(r,i):i),ro.cloneElement(o,s)}return ro.Children.count(o)>1?ro.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}var yV=Symbol("radix.slottable");function _V(t){return ro.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===yV}function xV(t,e){const n={...e};for(const r in e){const o=t[r],a=e[r];/^on[A-Z]/.test(r)?o&&a?n[r]=(...s)=>{const l=a(...s);return o(...s),l}:o&&(n[r]=o):r==="style"?n[r]={...o,...a}:r==="className"&&(n[r]=[o,a].filter(Boolean).join(" "))}return{...t,...n}}function SV(t){let e=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning;return n?t.ref:(e=Object.getOwnPropertyDescriptor(t,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning,n?t.props.ref:t.props.ref||t.ref)}const vl=await q("react");function ih(t){const e=t+"CollectionProvider",[n,r]=Ko(e),[o,a]=n(e,{collectionRef:{current:null},itemMap:new Map}),i=w=>{const{scope:y,children:_}=w,S=vl.useRef(null),x=vl.useRef(new Map).current;return Z.jsx(o,{scope:y,itemMap:x,collectionRef:S,children:_})};i.displayName=e;const s=t+"CollectionSlot",l=T_(s),u=vl.forwardRef((w,y)=>{const{scope:_,children:S}=w,x=a(s,_),C=ln(y,x.collectionRef);return Z.jsx(l,{ref:C,children:S})});u.displayName=s;const d=t+"CollectionItemSlot",f="data-radix-collection-item",m=T_(d),v=vl.forwardRef((w,y)=>{const{scope:_,children:S,...x}=w,C=vl.useRef(null),M=ln(y,C),A=a(d,_);return vl.useEffect(()=>(A.itemMap.set(C,{ref:C,...x}),()=>void A.itemMap.delete(C))),Z.jsx(m,{[f]:"",ref:M,children:S})});v.displayName=d;function g(w){const y=a(t+"CollectionConsumer",w);return vl.useCallback(()=>{const S=y.collectionRef.current;if(!S)return[];const x=Array.from(S.querySelectorAll(`[${f}]`));return Array.from(y.itemMap.values()).sort((A,O)=>x.indexOf(A.ref.current)-x.indexOf(O.ref.current))},[y.collectionRef,y.itemMap])}return[{Provider:i,Slot:u,ItemSlot:v},g,r]}await q("react");const Y7=await q("react");var CV=Y7.createContext(void 0);function Jl(t){const e=Y7.useContext(CV);return t||e||"ltr"}function it(t,e,{checkForDefaultPrevented:n=!0}={}){return function(o){if(t?.(o),n===!1||!o.defaultPrevented)return e?.(o)}}const EV=await q("react");var ji=globalThis?.document?EV.useLayoutEffect:()=>{};const G7=await q("react");var MV=G7[" useId ".trim().toString()]||(()=>{}),kV=0;function Uo(t){const[e,n]=G7.useState(MV());return ji(()=>{n(r=>r??String(kV++))},[t]),t||(e?`radix-${e}`:"")}const oo=await q("react");function RV(t){const e=TV(t),n=oo.forwardRef((r,o)=>{const{children:a,...i}=r,s=oo.Children.toArray(a),l=s.find(PV);if(l){const u=l.props.children,d=s.map(f=>f===l?oo.Children.count(u)>1?oo.Children.only(null):oo.isValidElement(u)?u.props.children:null:f);return Z.jsx(e,{...i,ref:o,children:oo.isValidElement(u)?oo.cloneElement(u,void 0,d):null})}return Z.jsx(e,{...i,ref:o,children:a})});return n.displayName=`${t}.Slot`,n}function TV(t){const e=oo.forwardRef((n,r)=>{const{children:o,...a}=n;if(oo.isValidElement(o)){const i=IV(o),s=AV(a,o.props);return o.type!==oo.Fragment&&(s.ref=r?Gs(r,i):i),oo.cloneElement(o,s)}return oo.Children.count(o)>1?oo.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}var NV=Symbol("radix.slottable");function PV(t){return oo.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===NV}function AV(t,e){const n={...e};for(const r in e){const o=t[r],a=e[r];/^on[A-Z]/.test(r)?o&&a?n[r]=(...s)=>{const l=a(...s);return o(...s),l}:o&&(n[r]=o):r==="style"?n[r]={...o,...a}:r==="className"&&(n[r]=[o,a].filter(Boolean).join(" "))}return{...t,...n}}function IV(t){let e=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning;return n?t.ref:(e=Object.getOwnPropertyDescriptor(t,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning,n?t.props.ref:t.props.ref||t.ref)}const OV=await q("react"),LV=await q("react-dom");var $V=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Wt=$V.reduce((t,e)=>{const n=RV(`Primitive.${e}`),r=OV.forwardRef((o,a)=>{const{asChild:i,...s}=o,l=i?n:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),Z.jsx(l,{...s,ref:a})});return r.displayName=`Primitive.${e}`,{...t,[e]:r}},{});function K7(t,e){t&&LV.flushSync(()=>t.dispatchEvent(e))}const ng=await q("react");function vr(t){const e=ng.useRef(t);return ng.useEffect(()=>{e.current=t}),ng.useMemo(()=>(...n)=>e.current?.(...n),[])}const DV=await q("react");function BV(t,e=globalThis?.document){const n=vr(t);DV.useEffect(()=>{const r=o=>{o.key==="Escape"&&n(o)};return e.addEventListener("keydown",r,{capture:!0}),()=>e.removeEventListener("keydown",r,{capture:!0})},[n,e])}const gr=await q("react");var zV="DismissableLayer",nv="dismissableLayer.update",FV="dismissableLayer.pointerDownOutside",VV="dismissableLayer.focusOutside",N_,X7=gr.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),fw=gr.forwardRef((t,e)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:o,onFocusOutside:a,onInteractOutside:i,onDismiss:s,...l}=t,u=gr.useContext(X7),[d,f]=gr.useState(null),m=d?.ownerDocument??globalThis?.document,[,v]=gr.useState({}),g=ln(e,O=>f(O)),w=Array.from(u.layers),[y]=[...u.layersWithOutsidePointerEventsDisabled].slice(-1),_=w.indexOf(y),S=d?w.indexOf(d):-1,x=u.layersWithOutsidePointerEventsDisabled.size>0,C=S>=_,M=WV(O=>{const D=O.target,T=[...u.branches].some(R=>R.contains(D));!C||T||(o?.(O),i?.(O),O.defaultPrevented||s?.())},m),A=qV(O=>{const D=O.target;[...u.branches].some(R=>R.contains(D))||(a?.(O),i?.(O),O.defaultPrevented||s?.())},m);return BV(O=>{S===u.layers.size-1&&(r?.(O),!O.defaultPrevented&&s&&(O.preventDefault(),s()))},m),gr.useEffect(()=>{if(d)return n&&(u.layersWithOutsidePointerEventsDisabled.size===0&&(N_=m.body.style.pointerEvents,m.body.style.pointerEvents="none"),u.layersWithOutsidePointerEventsDisabled.add(d)),u.layers.add(d),P_(),()=>{n&&u.layersWithOutsidePointerEventsDisabled.size===1&&(m.body.style.pointerEvents=N_)}},[d,m,n,u]),gr.useEffect(()=>()=>{d&&(u.layers.delete(d),u.layersWithOutsidePointerEventsDisabled.delete(d),P_())},[d,u]),gr.useEffect(()=>{const O=()=>v({});return document.addEventListener(nv,O),()=>document.removeEventListener(nv,O)},[]),Z.jsx(Wt.div,{...l,ref:g,style:{pointerEvents:x?C?"auto":"none":void 0,...t.style},onFocusCapture:it(t.onFocusCapture,A.onFocusCapture),onBlurCapture:it(t.onBlurCapture,A.onBlurCapture),onPointerDownCapture:it(t.onPointerDownCapture,M.onPointerDownCapture)})});fw.displayName=zV;var jV="DismissableLayerBranch",HV=gr.forwardRef((t,e)=>{const n=gr.useContext(X7),r=gr.useRef(null),o=ln(e,r);return gr.useEffect(()=>{const a=r.current;if(a)return n.branches.add(a),()=>{n.branches.delete(a)}},[n.branches]),Z.jsx(Wt.div,{...t,ref:o})});HV.displayName=jV;function WV(t,e=globalThis?.document){const n=vr(t),r=gr.useRef(!1),o=gr.useRef(()=>{});return gr.useEffect(()=>{const a=s=>{if(s.target&&!r.current){let l=function(){Z7(FV,n,u,{discrete:!0})};const u={originalEvent:s};s.pointerType==="touch"?(e.removeEventListener("click",o.current),o.current=l,e.addEventListener("click",o.current,{once:!0})):l()}else e.removeEventListener("click",o.current);r.current=!1},i=window.setTimeout(()=>{e.addEventListener("pointerdown",a)},0);return()=>{window.clearTimeout(i),e.removeEventListener("pointerdown",a),e.removeEventListener("click",o.current)}},[e,n]),{onPointerDownCapture:()=>r.current=!0}}function qV(t,e=globalThis?.document){const n=vr(t),r=gr.useRef(!1);return gr.useEffect(()=>{const o=a=>{a.target&&!r.current&&Z7(VV,n,{originalEvent:a},{discrete:!1})};return e.addEventListener("focusin",o),()=>e.removeEventListener("focusin",o)},[e,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function P_(){const t=new CustomEvent(nv);document.dispatchEvent(t)}function Z7(t,e,n,{discrete:r}){const o=n.originalEvent.target,a=new CustomEvent(t,{bubbles:!1,cancelable:!0,detail:n});e&&o.addEventListener(t,e,{once:!0}),r?K7(o,a):o.dispatchEvent(a)}const UV=await q("react");var rg=0;function Q7(){UV.useEffect(()=>{const t=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",t[0]??A_()),document.body.insertAdjacentElement("beforeend",t[1]??A_()),rg++,()=>{rg===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),rg--}},[])}function A_(){const t=document.createElement("span");return t.setAttribute("data-radix-focus-guard",""),t.tabIndex=0,t.style.outline="none",t.style.opacity="0",t.style.position="fixed",t.style.pointerEvents="none",t}const wl=await q("react");var og="focusScope.autoFocusOnMount",ag="focusScope.autoFocusOnUnmount",I_={bubbles:!1,cancelable:!0},YV="FocusScope",pw=wl.forwardRef((t,e)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:a,...i}=t,[s,l]=wl.useState(null),u=vr(o),d=vr(a),f=wl.useRef(null),m=ln(e,w=>l(w)),v=wl.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;wl.useEffect(()=>{if(r){let w=function(x){if(v.paused||!s)return;const C=x.target;s.contains(C)?f.current=C:Es(f.current,{select:!0})},y=function(x){if(v.paused||!s)return;const C=x.relatedTarget;C!==null&&(s.contains(C)||Es(f.current,{select:!0}))},_=function(x){if(document.activeElement===document.body)for(const M of x)M.removedNodes.length>0&&Es(s)};document.addEventListener("focusin",w),document.addEventListener("focusout",y);const S=new MutationObserver(_);return s&&S.observe(s,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",w),document.removeEventListener("focusout",y),S.disconnect()}}},[r,s,v.paused]),wl.useEffect(()=>{if(s){L_.add(v);const w=document.activeElement;if(!s.contains(w)){const _=new CustomEvent(og,I_);s.addEventListener(og,u),s.dispatchEvent(_),_.defaultPrevented||(GV(JV(J7(s)),{select:!0}),document.activeElement===w&&Es(s))}return()=>{s.removeEventListener(og,u),setTimeout(()=>{const _=new CustomEvent(ag,I_);s.addEventListener(ag,d),s.dispatchEvent(_),_.defaultPrevented||Es(w??document.body,{select:!0}),s.removeEventListener(ag,d),L_.remove(v)},0)}}},[s,u,d,v]);const g=wl.useCallback(w=>{if(!n&&!r||v.paused)return;const y=w.key==="Tab"&&!w.altKey&&!w.ctrlKey&&!w.metaKey,_=document.activeElement;if(y&&_){const S=w.currentTarget,[x,C]=KV(S);x&&C?!w.shiftKey&&_===C?(w.preventDefault(),n&&Es(x,{select:!0})):w.shiftKey&&_===x&&(w.preventDefault(),n&&Es(C,{select:!0})):_===S&&w.preventDefault()}},[n,r,v.paused]);return Z.jsx(Wt.div,{tabIndex:-1,...i,ref:m,onKeyDown:g})});pw.displayName=YV;function GV(t,{select:e=!1}={}){const n=document.activeElement;for(const r of t)if(Es(r,{select:e}),document.activeElement!==n)return}function KV(t){const e=J7(t),n=O_(e,t),r=O_(e.reverse(),t);return[n,r]}function J7(t){const e=[],n=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const o=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||o?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)e.push(n.currentNode);return e}function O_(t,e){for(const n of t)if(!XV(n,{upTo:e}))return n}function XV(t,{upTo:e}){if(getComputedStyle(t).visibility==="hidden")return!0;for(;t;){if(e!==void 0&&t===e)return!1;if(getComputedStyle(t).display==="none")return!0;t=t.parentElement}return!1}function ZV(t){return t instanceof HTMLInputElement&&"select"in t}function Es(t,{select:e=!1}={}){if(t&&t.focus){const n=document.activeElement;t.focus({preventScroll:!0}),t!==n&&ZV(t)&&e&&t.select()}}var L_=QV();function QV(){let t=[];return{add(e){const n=t[0];e!==n&&n?.pause(),t=$_(t,e),t.unshift(e)},remove(e){t=$_(t,e),t[0]?.resume()}}}function $_(t,e){const n=[...t],r=n.indexOf(e);return r!==-1&&n.splice(r,1),n}function JV(t){return t.filter(e=>e.tagName!=="A")}const ej=["top","right","bottom","left"],Vs=Math.min,Mo=Math.max,C0=Math.round,Hp=Math.floor,ri=t=>({x:t,y:t}),tj={left:"right",right:"left",bottom:"top",top:"bottom"};function rv(t,e,n){return Mo(t,Vs(e,n))}function Hi(t,e){return typeof t=="function"?t(e):t}function Wi(t){return t.split("-")[0]}function Au(t){return t.split("-")[1]}function hw(t){return t==="x"?"y":"x"}function mw(t){return t==="y"?"height":"width"}function Qa(t){const e=t[0];return e==="t"||e==="b"?"y":"x"}function gw(t){return hw(Qa(t))}function nj(t,e,n){n===void 0&&(n=!1);const r=Au(t),o=gw(t),a=mw(o);let i=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return e.reference[a]>e.floating[a]&&(i=E0(i)),[i,E0(i)]}function rj(t){const e=E0(t);return[ov(t),e,ov(e)]}function ov(t){return t.includes("start")?t.replace("start","end"):t.replace("end","start")}const D_=["left","right"],B_=["right","left"],oj=["top","bottom"],aj=["bottom","top"];function ij(t,e,n){switch(t){case"top":case"bottom":return n?e?B_:D_:e?D_:B_;case"left":case"right":return e?oj:aj;default:return[]}}function sj(t,e,n,r){const o=Au(t);let a=ij(Wi(t),n==="start",r);return o&&(a=a.map(i=>i+"-"+o),e&&(a=a.concat(a.map(ov)))),a}function E0(t){const e=Wi(t);return tj[e]+t.slice(e.length)}function lj(t){return{top:0,right:0,bottom:0,left:0,...t}}function e8(t){return typeof t!="number"?lj(t):{top:t,right:t,bottom:t,left:t}}function M0(t){const{x:e,y:n,width:r,height:o}=t;return{width:r,height:o,top:n,left:e,right:e+r,bottom:n+o,x:e,y:n}}function z_(t,e,n){let{reference:r,floating:o}=t;const a=Qa(e),i=gw(e),s=mw(i),l=Wi(e),u=a==="y",d=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,m=r[s]/2-o[s]/2;let v;switch(l){case"top":v={x:d,y:r.y-o.height};break;case"bottom":v={x:d,y:r.y+r.height};break;case"right":v={x:r.x+r.width,y:f};break;case"left":v={x:r.x-o.width,y:f};break;default:v={x:r.x,y:r.y}}switch(Au(e)){case"start":v[i]-=m*(n&&u?-1:1);break;case"end":v[i]+=m*(n&&u?-1:1);break}return v}async function cj(t,e){var n;e===void 0&&(e={});const{x:r,y:o,platform:a,rects:i,elements:s,strategy:l}=t,{boundary:u="clippingAncestors",rootBoundary:d="viewport",elementContext:f="floating",altBoundary:m=!1,padding:v=0}=Hi(e,t),g=e8(v),y=s[m?f==="floating"?"reference":"floating":f],_=M0(await a.getClippingRect({element:(n=await(a.isElement==null?void 0:a.isElement(y)))==null||n?y:y.contextElement||await(a.getDocumentElement==null?void 0:a.getDocumentElement(s.floating)),boundary:u,rootBoundary:d,strategy:l})),S=f==="floating"?{x:r,y:o,width:i.floating.width,height:i.floating.height}:i.reference,x=await(a.getOffsetParent==null?void 0:a.getOffsetParent(s.floating)),C=await(a.isElement==null?void 0:a.isElement(x))?await(a.getScale==null?void 0:a.getScale(x))||{x:1,y:1}:{x:1,y:1},M=M0(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:S,offsetParent:x,strategy:l}):S);return{top:(_.top-M.top+g.top)/C.y,bottom:(M.bottom-_.bottom+g.bottom)/C.y,left:(_.left-M.left+g.left)/C.x,right:(M.right-_.right+g.right)/C.x}}const uj=50,dj=async(t,e,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:a=[],platform:i}=n,s=i.detectOverflow?i:{...i,detectOverflow:cj},l=await(i.isRTL==null?void 0:i.isRTL(e));let u=await i.getElementRects({reference:t,floating:e,strategy:o}),{x:d,y:f}=z_(u,r,l),m=r,v=0;const g={};for(let w=0;w<a.length;w++){const y=a[w];if(!y)continue;const{name:_,fn:S}=y,{x,y:C,data:M,reset:A}=await S({x:d,y:f,initialPlacement:r,placement:m,strategy:o,middlewareData:g,rects:u,platform:s,elements:{reference:t,floating:e}});d=x??d,f=C??f,g[_]={...g[_],...M},A&&v<uj&&(v++,typeof A=="object"&&(A.placement&&(m=A.placement),A.rects&&(u=A.rects===!0?await i.getElementRects({reference:t,floating:e,strategy:o}):A.rects),{x:d,y:f}=z_(u,m,l)),w=-1)}return{x:d,y:f,placement:m,strategy:o,middlewareData:g}},fj=t=>({name:"arrow",options:t,async fn(e){const{x:n,y:r,placement:o,rects:a,platform:i,elements:s,middlewareData:l}=e,{element:u,padding:d=0}=Hi(t,e)||{};if(u==null)return{};const f=e8(d),m={x:n,y:r},v=gw(o),g=mw(v),w=await i.getDimensions(u),y=v==="y",_=y?"top":"left",S=y?"bottom":"right",x=y?"clientHeight":"clientWidth",C=a.reference[g]+a.reference[v]-m[v]-a.floating[g],M=m[v]-a.reference[v],A=await(i.getOffsetParent==null?void 0:i.getOffsetParent(u));let O=A?A[x]:0;(!O||!await(i.isElement==null?void 0:i.isElement(A)))&&(O=s.floating[x]||a.floating[g]);const D=C/2-M/2,T=O/2-w[g]/2-1,R=Vs(f[_],T),$=Vs(f[S],T),P=R,I=O-w[g]-$,L=O/2-w[g]/2+D,V=rv(P,L,I),F=!l.arrow&&Au(o)!=null&&L!==V&&a.reference[g]/2-(L<P?R:$)-w[g]/2<0,z=F?L<P?L-P:L-I:0;return{[v]:m[v]+z,data:{[v]:V,centerOffset:L-V-z,...F&&{alignmentOffset:z}},reset:F}}}),pj=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,r;const{placement:o,middlewareData:a,rects:i,initialPlacement:s,platform:l,elements:u}=e,{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:m,fallbackStrategy:v="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:w=!0,...y}=Hi(t,e);if((n=a.arrow)!=null&&n.alignmentOffset)return{};const _=Wi(o),S=Qa(s),x=Wi(s)===s,C=await(l.isRTL==null?void 0:l.isRTL(u.floating)),M=m||(x||!w?[E0(s)]:rj(s)),A=g!=="none";!m&&A&&M.push(...sj(s,w,g,C));const O=[s,...M],D=await l.detectOverflow(e,y),T=[];let R=((r=a.flip)==null?void 0:r.overflows)||[];if(d&&T.push(D[_]),f){const L=nj(o,i,C);T.push(D[L[0]],D[L[1]])}if(R=[...R,{placement:o,overflows:T}],!T.every(L=>L<=0)){var $,P;const L=((($=a.flip)==null?void 0:$.index)||0)+1,V=O[L];if(V&&(!(f==="alignment"?S!==Qa(V):!1)||R.every(B=>Qa(B.placement)===S?B.overflows[0]>0:!0)))return{data:{index:L,overflows:R},reset:{placement:V}};let F=(P=R.filter(z=>z.overflows[0]<=0).sort((z,B)=>z.overflows[1]-B.overflows[1])[0])==null?void 0:P.placement;if(!F)switch(v){case"bestFit":{var I;const z=(I=R.filter(B=>{if(A){const Y=Qa(B.placement);return Y===S||Y==="y"}return!0}).map(B=>[B.placement,B.overflows.filter(Y=>Y>0).reduce((Y,U)=>Y+U,0)]).sort((B,Y)=>B[1]-Y[1])[0])==null?void 0:I[0];z&&(F=z);break}case"initialPlacement":F=s;break}if(o!==F)return{reset:{placement:F}}}return{}}}};function F_(t,e){return{top:t.top-e.height,right:t.right-e.width,bottom:t.bottom-e.height,left:t.left-e.width}}function V_(t){return ej.some(e=>t[e]>=0)}const hj=function(t){return t===void 0&&(t={}),{name:"hide",options:t,async fn(e){const{rects:n,platform:r}=e,{strategy:o="referenceHidden",...a}=Hi(t,e);switch(o){case"referenceHidden":{const i=await r.detectOverflow(e,{...a,elementContext:"reference"}),s=F_(i,n.reference);return{data:{referenceHiddenOffsets:s,referenceHidden:V_(s)}}}case"escaped":{const i=await r.detectOverflow(e,{...a,altBoundary:!0}),s=F_(i,n.floating);return{data:{escapedOffsets:s,escaped:V_(s)}}}default:return{}}}}},t8=new Set(["left","top"]);async function mj(t,e){const{placement:n,platform:r,elements:o}=t,a=await(r.isRTL==null?void 0:r.isRTL(o.floating)),i=Wi(n),s=Au(n),l=Qa(n)==="y",u=t8.has(i)?-1:1,d=a&&l?-1:1,f=Hi(e,t);let{mainAxis:m,crossAxis:v,alignmentAxis:g}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return s&&typeof g=="number"&&(v=s==="end"?g*-1:g),l?{x:v*d,y:m*u}:{x:m*u,y:v*d}}const gj=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,r;const{x:o,y:a,placement:i,middlewareData:s}=e,l=await mj(e,t);return i===((n=s.offset)==null?void 0:n.placement)&&(r=s.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:a+l.y,data:{...l,placement:i}}}}},vj=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:r,placement:o,platform:a}=e,{mainAxis:i=!0,crossAxis:s=!1,limiter:l={fn:_=>{let{x:S,y:x}=_;return{x:S,y:x}}},...u}=Hi(t,e),d={x:n,y:r},f=await a.detectOverflow(e,u),m=Qa(Wi(o)),v=hw(m);let g=d[v],w=d[m];if(i){const _=v==="y"?"top":"left",S=v==="y"?"bottom":"right",x=g+f[_],C=g-f[S];g=rv(x,g,C)}if(s){const _=m==="y"?"top":"left",S=m==="y"?"bottom":"right",x=w+f[_],C=w-f[S];w=rv(x,w,C)}const y=l.fn({...e,[v]:g,[m]:w});return{...y,data:{x:y.x-n,y:y.y-r,enabled:{[v]:i,[m]:s}}}}}},wj=function(t){return t===void 0&&(t={}),{options:t,fn(e){const{x:n,y:r,placement:o,rects:a,middlewareData:i}=e,{offset:s=0,mainAxis:l=!0,crossAxis:u=!0}=Hi(t,e),d={x:n,y:r},f=Qa(o),m=hw(f);let v=d[m],g=d[f];const w=Hi(s,e),y=typeof w=="number"?{mainAxis:w,crossAxis:0}:{mainAxis:0,crossAxis:0,...w};if(l){const x=m==="y"?"height":"width",C=a.reference[m]-a.floating[x]+y.mainAxis,M=a.reference[m]+a.reference[x]-y.mainAxis;v<C?v=C:v>M&&(v=M)}if(u){var _,S;const x=m==="y"?"width":"height",C=t8.has(Wi(o)),M=a.reference[f]-a.floating[x]+(C&&((_=i.offset)==null?void 0:_[f])||0)+(C?0:y.crossAxis),A=a.reference[f]+a.reference[x]+(C?0:((S=i.offset)==null?void 0:S[f])||0)-(C?y.crossAxis:0);g<M?g=M:g>A&&(g=A)}return{[m]:v,[f]:g}}}},bj=function(t){return t===void 0&&(t={}),{name:"size",options:t,async fn(e){var n,r;const{placement:o,rects:a,platform:i,elements:s}=e,{apply:l=()=>{},...u}=Hi(t,e),d=await i.detectOverflow(e,u),f=Wi(o),m=Au(o),v=Qa(o)==="y",{width:g,height:w}=a.floating;let y,_;f==="top"||f==="bottom"?(y=f,_=m===(await(i.isRTL==null?void 0:i.isRTL(s.floating))?"start":"end")?"left":"right"):(_=f,y=m==="end"?"top":"bottom");const S=w-d.top-d.bottom,x=g-d.left-d.right,C=Vs(w-d[y],S),M=Vs(g-d[_],x),A=!e.middlewareData.shift;let O=C,D=M;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(D=x),(r=e.middlewareData.shift)!=null&&r.enabled.y&&(O=S),A&&!m){const R=Mo(d.left,0),$=Mo(d.right,0),P=Mo(d.top,0),I=Mo(d.bottom,0);v?D=g-2*(R!==0||$!==0?R+$:Mo(d.left,d.right)):O=w-2*(P!==0||I!==0?P+I:Mo(d.top,d.bottom))}await l({...e,availableWidth:D,availableHeight:O});const T=await i.getDimensions(s.floating);return g!==T.width||w!==T.height?{reset:{rects:!0}}:{}}}};function sh(){return typeof window<"u"}function Iu(t){return n8(t)?(t.nodeName||"").toLowerCase():"#document"}function ko(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function li(t){var e;return(e=(n8(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function n8(t){return sh()?t instanceof Node||t instanceof ko(t).Node:!1}function Sa(t){return sh()?t instanceof Element||t instanceof ko(t).Element:!1}function Yi(t){return sh()?t instanceof HTMLElement||t instanceof ko(t).HTMLElement:!1}function j_(t){return!sh()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof ko(t).ShadowRoot}function yf(t){const{overflow:e,overflowX:n,overflowY:r,display:o}=Ca(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&o!=="inline"&&o!=="contents"}function yj(t){return/^(table|td|th)$/.test(Iu(t))}function lh(t){try{if(t.matches(":popover-open"))return!0}catch{}try{return t.matches(":modal")}catch{return!1}}const _j=/transform|translate|scale|rotate|perspective|filter/,xj=/paint|layout|strict|content/,bl=t=>!!t&&t!=="none";let ig;function vw(t){const e=Sa(t)?Ca(t):t;return bl(e.transform)||bl(e.translate)||bl(e.scale)||bl(e.rotate)||bl(e.perspective)||!ww()&&(bl(e.backdropFilter)||bl(e.filter))||_j.test(e.willChange||"")||xj.test(e.contain||"")}function Sj(t){let e=js(t);for(;Yi(e)&&!bu(e);){if(vw(e))return e;if(lh(e))return null;e=js(e)}return null}function ww(){return ig==null&&(ig=typeof CSS<"u"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),ig}function bu(t){return/^(html|body|#document)$/.test(Iu(t))}function Ca(t){return ko(t).getComputedStyle(t)}function ch(t){return Sa(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function js(t){if(Iu(t)==="html")return t;const e=t.assignedSlot||t.parentNode||j_(t)&&t.host||li(t);return j_(e)?e.host:e}function r8(t){const e=js(t);return bu(e)?t.ownerDocument?t.ownerDocument.body:t.body:Yi(e)&&yf(e)?e:r8(e)}function of(t,e,n){var r;e===void 0&&(e=[]),n===void 0&&(n=!0);const o=r8(t),a=o===((r=t.ownerDocument)==null?void 0:r.body),i=ko(o);if(a){const s=av(i);return e.concat(i,i.visualViewport||[],yf(o)?o:[],s&&n?of(s):[])}else return e.concat(o,of(o,[],n))}function av(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function o8(t){const e=Ca(t);let n=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const o=Yi(t),a=o?t.offsetWidth:n,i=o?t.offsetHeight:r,s=C0(n)!==a||C0(r)!==i;return s&&(n=a,r=i),{width:n,height:r,$:s}}function bw(t){return Sa(t)?t:t.contextElement}function uu(t){const e=bw(t);if(!Yi(e))return ri(1);const n=e.getBoundingClientRect(),{width:r,height:o,$:a}=o8(e);let i=(a?C0(n.width):n.width)/r,s=(a?C0(n.height):n.height)/o;return(!i||!Number.isFinite(i))&&(i=1),(!s||!Number.isFinite(s))&&(s=1),{x:i,y:s}}const Cj=ri(0);function a8(t){const e=ko(t);return!ww()||!e.visualViewport?Cj:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Ej(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==ko(t)?!1:e}function jl(t,e,n,r){e===void 0&&(e=!1),n===void 0&&(n=!1);const o=t.getBoundingClientRect(),a=bw(t);let i=ri(1);e&&(r?Sa(r)&&(i=uu(r)):i=uu(t));const s=Ej(a,n,r)?a8(a):ri(0);let l=(o.left+s.x)/i.x,u=(o.top+s.y)/i.y,d=o.width/i.x,f=o.height/i.y;if(a){const m=ko(a),v=r&&Sa(r)?ko(r):r;let g=m,w=av(g);for(;w&&r&&v!==g;){const y=uu(w),_=w.getBoundingClientRect(),S=Ca(w),x=_.left+(w.clientLeft+parseFloat(S.paddingLeft))*y.x,C=_.top+(w.clientTop+parseFloat(S.paddingTop))*y.y;l*=y.x,u*=y.y,d*=y.x,f*=y.y,l+=x,u+=C,g=ko(w),w=av(g)}}return M0({width:d,height:f,x:l,y:u})}function uh(t,e){const n=ch(t).scrollLeft;return e?e.left+n:jl(li(t)).left+n}function i8(t,e){const n=t.getBoundingClientRect(),r=n.left+e.scrollLeft-uh(t,n),o=n.top+e.scrollTop;return{x:r,y:o}}function Mj(t){let{elements:e,rect:n,offsetParent:r,strategy:o}=t;const a=o==="fixed",i=li(r),s=e?lh(e.floating):!1;if(r===i||s&&a)return n;let l={scrollLeft:0,scrollTop:0},u=ri(1);const d=ri(0),f=Yi(r);if((f||!f&&!a)&&((Iu(r)!=="body"||yf(i))&&(l=ch(r)),f)){const v=jl(r);u=uu(r),d.x=v.x+r.clientLeft,d.y=v.y+r.clientTop}const m=i&&!f&&!a?i8(i,l):ri(0);return{width:n.width*u.x,height:n.height*u.y,x:n.x*u.x-l.scrollLeft*u.x+d.x+m.x,y:n.y*u.y-l.scrollTop*u.y+d.y+m.y}}function kj(t){return Array.from(t.getClientRects())}function Rj(t){const e=li(t),n=ch(t),r=t.ownerDocument.body,o=Mo(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),a=Mo(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+uh(t);const s=-n.scrollTop;return Ca(r).direction==="rtl"&&(i+=Mo(e.clientWidth,r.clientWidth)-o),{width:o,height:a,x:i,y:s}}const H_=25;function Tj(t,e){const n=ko(t),r=li(t),o=n.visualViewport;let a=r.clientWidth,i=r.clientHeight,s=0,l=0;if(o){a=o.width,i=o.height;const d=ww();(!d||d&&e==="fixed")&&(s=o.offsetLeft,l=o.offsetTop)}const u=uh(r);if(u<=0){const d=r.ownerDocument,f=d.body,m=getComputedStyle(f),v=d.compatMode==="CSS1Compat"&&parseFloat(m.marginLeft)+parseFloat(m.marginRight)||0,g=Math.abs(r.clientWidth-f.clientWidth-v);g<=H_&&(a-=g)}else u<=H_&&(a+=u);return{width:a,height:i,x:s,y:l}}function Nj(t,e){const n=jl(t,!0,e==="fixed"),r=n.top+t.clientTop,o=n.left+t.clientLeft,a=Yi(t)?uu(t):ri(1),i=t.clientWidth*a.x,s=t.clientHeight*a.y,l=o*a.x,u=r*a.y;return{width:i,height:s,x:l,y:u}}function W_(t,e,n){let r;if(e==="viewport")r=Tj(t,n);else if(e==="document")r=Rj(li(t));else if(Sa(e))r=Nj(e,n);else{const o=a8(t);r={x:e.x-o.x,y:e.y-o.y,width:e.width,height:e.height}}return M0(r)}function s8(t,e){const n=js(t);return n===e||!Sa(n)||bu(n)?!1:Ca(n).position==="fixed"||s8(n,e)}function Pj(t,e){const n=e.get(t);if(n)return n;let r=of(t,[],!1).filter(s=>Sa(s)&&Iu(s)!=="body"),o=null;const a=Ca(t).position==="fixed";let i=a?js(t):t;for(;Sa(i)&&!bu(i);){const s=Ca(i),l=vw(i);!l&&s.position==="fixed"&&(o=null),(a?!l&&!o:!l&&s.position==="static"&&!!o&&(o.position==="absolute"||o.position==="fixed")||yf(i)&&!l&&s8(t,i))?r=r.filter(d=>d!==i):o=s,i=js(i)}return e.set(t,r),r}function Aj(t){let{element:e,boundary:n,rootBoundary:r,strategy:o}=t;const i=[...n==="clippingAncestors"?lh(e)?[]:Pj(e,this._c):[].concat(n),r],s=W_(e,i[0],o);let l=s.top,u=s.right,d=s.bottom,f=s.left;for(let m=1;m<i.length;m++){const v=W_(e,i[m],o);l=Mo(v.top,l),u=Vs(v.right,u),d=Vs(v.bottom,d),f=Mo(v.left,f)}return{width:u-f,height:d-l,x:f,y:l}}function Ij(t){const{width:e,height:n}=o8(t);return{width:e,height:n}}function Oj(t,e,n){const r=Yi(e),o=li(e),a=n==="fixed",i=jl(t,!0,a,e);let s={scrollLeft:0,scrollTop:0};const l=ri(0);function u(){l.x=uh(o)}if(r||!r&&!a)if((Iu(e)!=="body"||yf(o))&&(s=ch(e)),r){const v=jl(e,!0,a,e);l.x=v.x+e.clientLeft,l.y=v.y+e.clientTop}else o&&u();a&&!r&&o&&u();const d=o&&!r&&!a?i8(o,s):ri(0),f=i.left+s.scrollLeft-l.x-d.x,m=i.top+s.scrollTop-l.y-d.y;return{x:f,y:m,width:i.width,height:i.height}}function sg(t){return Ca(t).position==="static"}function q_(t,e){if(!Yi(t)||Ca(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return li(t)===n&&(n=n.ownerDocument.body),n}function l8(t,e){const n=ko(t);if(lh(t))return n;if(!Yi(t)){let o=js(t);for(;o&&!bu(o);){if(Sa(o)&&!sg(o))return o;o=js(o)}return n}let r=q_(t,e);for(;r&&yj(r)&&sg(r);)r=q_(r,e);return r&&bu(r)&&sg(r)&&!vw(r)?n:r||Sj(t)||n}const Lj=async function(t){const e=this.getOffsetParent||l8,n=this.getDimensions,r=await n(t.floating);return{reference:Oj(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function $j(t){return Ca(t).direction==="rtl"}const Dj={convertOffsetParentRelativeRectToViewportRelativeRect:Mj,getDocumentElement:li,getClippingRect:Aj,getOffsetParent:l8,getElementRects:Lj,getClientRects:kj,getDimensions:Ij,getScale:uu,isElement:Sa,isRTL:$j};function c8(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function Bj(t,e){let n=null,r;const o=li(t);function a(){var s;clearTimeout(r),(s=n)==null||s.disconnect(),n=null}function i(s,l){s===void 0&&(s=!1),l===void 0&&(l=1),a();const u=t.getBoundingClientRect(),{left:d,top:f,width:m,height:v}=u;if(s||e(),!m||!v)return;const g=Hp(f),w=Hp(o.clientWidth-(d+m)),y=Hp(o.clientHeight-(f+v)),_=Hp(d),x={rootMargin:-g+"px "+-w+"px "+-y+"px "+-_+"px",threshold:Mo(0,Vs(1,l))||1};let C=!0;function M(A){const O=A[0].intersectionRatio;if(O!==l){if(!C)return i();O?i(!1,O):r=setTimeout(()=>{i(!1,1e-7)},1e3)}O===1&&!c8(u,t.getBoundingClientRect())&&i(),C=!1}try{n=new IntersectionObserver(M,{...x,root:o.ownerDocument})}catch{n=new IntersectionObserver(M,x)}n.observe(t)}return i(!0),a}function u8(t,e,n,r){r===void 0&&(r={});const{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:s=typeof IntersectionObserver=="function",animationFrame:l=!1}=r,u=bw(t),d=o||a?[...u?of(u):[],...e?of(e):[]]:[];d.forEach(_=>{o&&_.addEventListener("scroll",n,{passive:!0}),a&&_.addEventListener("resize",n)});const f=u&&s?Bj(u,n):null;let m=-1,v=null;i&&(v=new ResizeObserver(_=>{let[S]=_;S&&S.target===u&&v&&e&&(v.unobserve(e),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var x;(x=v)==null||x.observe(e)})),n()}),u&&!l&&v.observe(u),e&&v.observe(e));let g,w=l?jl(t):null;l&&y();function y(){const _=jl(t);w&&!c8(w,_)&&n(),w=_,g=requestAnimationFrame(y)}return n(),()=>{var _;d.forEach(S=>{o&&S.removeEventListener("scroll",n),a&&S.removeEventListener("resize",n)}),f?.(),(_=v)==null||_.disconnect(),v=null,l&&cancelAnimationFrame(g)}}const zj=gj,Fj=vj,Vj=pj,jj=bj,Hj=hj,U_=fj,Wj=wj,qj=(t,e,n)=>{const r=new Map,o={platform:Dj,...n},a={...o.platform,_c:r};return dj(t,e,{...o,platform:a})},Cr=await q("react"),{useLayoutEffect:Uj}=await q("react"),Yj=await q("react-dom");var Gj=typeof document<"u",Kj=function(){},K1=Gj?Uj:Kj;function k0(t,e){if(t===e)return!0;if(typeof t!=typeof e)return!1;if(typeof t=="function"&&t.toString()===e.toString())return!0;let n,r,o;if(t&&e&&typeof t=="object"){if(Array.isArray(t)){if(n=t.length,n!==e.length)return!1;for(r=n;r--!==0;)if(!k0(t[r],e[r]))return!1;return!0}if(o=Object.keys(t),n=o.length,n!==Object.keys(e).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(e,o[r]))return!1;for(r=n;r--!==0;){const a=o[r];if(!(a==="_owner"&&t.$$typeof)&&!k0(t[a],e[a]))return!1}return!0}return t!==t&&e!==e}function d8(t){return typeof window>"u"?1:(t.ownerDocument.defaultView||window).devicePixelRatio||1}function Y_(t,e){const n=d8(t);return Math.round(e*n)/n}function lg(t){const e=Cr.useRef(t);return K1(()=>{e.current=t}),e}function f8(t){t===void 0&&(t={});const{placement:e="bottom",strategy:n="absolute",middleware:r=[],platform:o,elements:{reference:a,floating:i}={},transform:s=!0,whileElementsMounted:l,open:u}=t,[d,f]=Cr.useState({x:0,y:0,strategy:n,placement:e,middlewareData:{},isPositioned:!1}),[m,v]=Cr.useState(r);k0(m,r)||v(r);const[g,w]=Cr.useState(null),[y,_]=Cr.useState(null),S=Cr.useCallback(B=>{B!==A.current&&(A.current=B,w(B))},[]),x=Cr.useCallback(B=>{B!==O.current&&(O.current=B,_(B))},[]),C=a||g,M=i||y,A=Cr.useRef(null),O=Cr.useRef(null),D=Cr.useRef(d),T=l!=null,R=lg(l),$=lg(o),P=lg(u),I=Cr.useCallback(()=>{if(!A.current||!O.current)return;const B={placement:e,strategy:n,middleware:m};$.current&&(B.platform=$.current),qj(A.current,O.current,B).then(Y=>{const U={...Y,isPositioned:P.current!==!1};L.current&&!k0(D.current,U)&&(D.current=U,Yj.flushSync(()=>{f(U)}))})},[m,e,n,$,P]);K1(()=>{u===!1&&D.current.isPositioned&&(D.current.isPositioned=!1,f(B=>({...B,isPositioned:!1})))},[u]);const L=Cr.useRef(!1);K1(()=>(L.current=!0,()=>{L.current=!1}),[]),K1(()=>{if(C&&(A.current=C),M&&(O.current=M),C&&M){if(R.current)return R.current(C,M,I);I()}},[C,M,I,R,T]);const V=Cr.useMemo(()=>({reference:A,floating:O,setReference:S,setFloating:x}),[S,x]),F=Cr.useMemo(()=>({reference:C,floating:M}),[C,M]),z=Cr.useMemo(()=>{const B={position:n,left:0,top:0};if(!F.floating)return B;const Y=Y_(F.floating,d.x),U=Y_(F.floating,d.y);return s?{...B,transform:"translate("+Y+"px, "+U+"px)",...d8(F.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:Y,top:U}},[n,s,F.floating,d.x,d.y]);return Cr.useMemo(()=>({...d,update:I,refs:V,elements:F,floatingStyles:z}),[d,I,V,F,z])}const Xj=t=>{function e(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:t,fn(n){const{element:r,padding:o}=typeof t=="function"?t(n):t;return r&&e(r)?r.current!=null?U_({element:r.current,padding:o}).fn(n):{}:r?U_({element:r,padding:o}).fn(n):{}}}},p8=(t,e)=>{const n=zj(t);return{name:n.name,fn:n.fn,options:[t,e]}},h8=(t,e)=>{const n=Fj(t);return{name:n.name,fn:n.fn,options:[t,e]}},Zj=(t,e)=>({fn:Wj(t).fn,options:[t,e]}),m8=(t,e)=>{const n=Vj(t);return{name:n.name,fn:n.fn,options:[t,e]}},g8=(t,e)=>{const n=jj(t);return{name:n.name,fn:n.fn,options:[t,e]}},Qj=(t,e)=>{const n=Hj(t);return{name:n.name,fn:n.fn,options:[t,e]}},Jj=(t,e)=>{const n=Xj(t);return{name:n.name,fn:n.fn,options:[t,e]}},eH=await q("react");var tH="Arrow",v8=eH.forwardRef((t,e)=>{const{children:n,width:r=10,height:o=5,...a}=t;return Z.jsx(Wt.svg,{...a,ref:e,width:r,height:o,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:t.asChild?n:Z.jsx("polygon",{points:"0,0 30,0 15,10"})})});v8.displayName=tH;var nH=v8;const rH=await q("react");function yw(t){const[e,n]=rH.useState(void 0);return ji(()=>{if(t){n({width:t.offsetWidth,height:t.offsetHeight});const r=new ResizeObserver(o=>{if(!Array.isArray(o)||!o.length)return;const a=o[0];let i,s;if("borderBoxSize"in a){const l=a.borderBoxSize,u=Array.isArray(l)?l[0]:l;i=u.inlineSize,s=u.blockSize}else i=t.offsetWidth,s=t.offsetHeight;n({width:i,height:s})});return r.observe(t,{box:"border-box"}),()=>r.unobserve(t)}else n(void 0)},[t]),e}const Ja=await q("react");var _w="Popper",[w8,b8]=Ko(_w),[oH,y8]=w8(_w),_8=t=>{const{__scopePopper:e,children:n}=t,[r,o]=Ja.useState(null);return Z.jsx(oH,{scope:e,anchor:r,onAnchorChange:o,children:n})};_8.displayName=_w;var x8="PopperAnchor",S8=Ja.forwardRef((t,e)=>{const{__scopePopper:n,virtualRef:r,...o}=t,a=y8(x8,n),i=Ja.useRef(null),s=ln(e,i),l=Ja.useRef(null);return Ja.useEffect(()=>{const u=l.current;l.current=r?.current||i.current,u!==l.current&&a.onAnchorChange(l.current)}),r?null:Z.jsx(Wt.div,{...o,ref:s})});S8.displayName=x8;var xw="PopperContent",[aH,iH]=w8(xw),C8=Ja.forwardRef((t,e)=>{const{__scopePopper:n,side:r="bottom",sideOffset:o=0,align:a="center",alignOffset:i=0,arrowPadding:s=0,avoidCollisions:l=!0,collisionBoundary:u=[],collisionPadding:d=0,sticky:f="partial",hideWhenDetached:m=!1,updatePositionStrategy:v="optimized",onPlaced:g,...w}=t,y=y8(xw,n),[_,S]=Ja.useState(null),x=ln(e,ue=>S(ue)),[C,M]=Ja.useState(null),A=yw(C),O=A?.width??0,D=A?.height??0,T=r+(a!=="center"?"-"+a:""),R=typeof d=="number"?d:{top:0,right:0,bottom:0,left:0,...d},$=Array.isArray(u)?u:[u],P=$.length>0,I={padding:R,boundary:$.filter(lH),altBoundary:P},{refs:L,floatingStyles:V,placement:F,isPositioned:z,middlewareData:B}=f8({strategy:"fixed",placement:T,whileElementsMounted:(...ue)=>u8(...ue,{animationFrame:v==="always"}),elements:{reference:y.anchor},middleware:[p8({mainAxis:o+D,alignmentAxis:i}),l&&h8({mainAxis:!0,crossAxis:!1,limiter:f==="partial"?Zj():void 0,...I}),l&&m8({...I}),g8({...I,apply:({elements:ue,rects:fe,availableWidth:ye,availableHeight:we})=>{const{width:Ne,height:Ie}=fe.reference,Pe=ue.floating.style;Pe.setProperty("--radix-popper-available-width",`${ye}px`),Pe.setProperty("--radix-popper-available-height",`${we}px`),Pe.setProperty("--radix-popper-anchor-width",`${Ne}px`),Pe.setProperty("--radix-popper-anchor-height",`${Ie}px`)}}),C&&Jj({element:C,padding:s}),cH({arrowWidth:O,arrowHeight:D}),m&&Qj({strategy:"referenceHidden",...I})]}),[Y,U]=k8(F),le=vr(g);ji(()=>{z&&le?.()},[z,le]);const J=B.arrow?.x,re=B.arrow?.y,te=B.arrow?.centerOffset!==0,[oe,ee]=Ja.useState();return ji(()=>{_&&ee(window.getComputedStyle(_).zIndex)},[_]),Z.jsx("div",{ref:L.setFloating,"data-radix-popper-content-wrapper":"",style:{...V,transform:z?V.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:oe,"--radix-popper-transform-origin":[B.transformOrigin?.x,B.transformOrigin?.y].join(" "),...B.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:t.dir,children:Z.jsx(aH,{scope:n,placedSide:Y,onArrowChange:M,arrowX:J,arrowY:re,shouldHideArrow:te,children:Z.jsx(Wt.div,{"data-side":Y,"data-align":U,...w,ref:x,style:{...w.style,animation:z?void 0:"none"}})})})});C8.displayName=xw;var E8="PopperArrow",sH={top:"bottom",right:"left",bottom:"top",left:"right"},M8=Ja.forwardRef(function(e,n){const{__scopePopper:r,...o}=e,a=iH(E8,r),i=sH[a.placedSide];return Z.jsx("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0},children:Z.jsx(nH,{...o,ref:n,style:{...o.style,display:"block"}})})});M8.displayName=E8;function lH(t){return t!==null}var cH=t=>({name:"transformOrigin",options:t,fn(e){const{placement:n,rects:r,middlewareData:o}=e,i=o.arrow?.centerOffset!==0,s=i?0:t.arrowWidth,l=i?0:t.arrowHeight,[u,d]=k8(n),f={start:"0%",center:"50%",end:"100%"}[d],m=(o.arrow?.x??0)+s/2,v=(o.arrow?.y??0)+l/2;let g="",w="";return u==="bottom"?(g=i?f:`${m}px`,w=`${-l}px`):u==="top"?(g=i?f:`${m}px`,w=`${r.floating.height+l}px`):u==="right"?(g=`${-l}px`,w=i?f:`${v}px`):u==="left"&&(g=`${r.floating.width+l}px`,w=i?f:`${v}px`),{data:{x:g,y:w}}}});function k8(t){const[e,n="center"]=t.split("-");return[e,n]}var R8=_8,uH=S8,dH=C8,fH=M8;const G_=await q("react"),pH=await q("react-dom");var hH="Portal",Sw=G_.forwardRef((t,e)=>{const{container:n,...r}=t,[o,a]=G_.useState(!1);ji(()=>a(!0),[]);const i=n||o&&globalThis?.document?.body;return i?pH.createPortal(Z.jsx(Wt.div,{...r,ref:e}),i):null});Sw.displayName=hH;const Ms=await q("react"),mH=await q("react");function gH(t,e){return mH.useReducer((n,r)=>e[n][r]??n,t)}var No=t=>{const{present:e,children:n}=t,r=vH(e),o=typeof n=="function"?n({present:r.isPresent}):Ms.Children.only(n),a=ln(r.ref,wH(o));return typeof n=="function"||r.isPresent?Ms.cloneElement(o,{ref:a}):null};No.displayName="Presence";function vH(t){const[e,n]=Ms.useState(),r=Ms.useRef(null),o=Ms.useRef(t),a=Ms.useRef("none"),i=t?"mounted":"unmounted",[s,l]=gH(i,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return Ms.useEffect(()=>{const u=Wp(r.current);a.current=s==="mounted"?u:"none"},[s]),ji(()=>{const u=r.current,d=o.current;if(d!==t){const m=a.current,v=Wp(u);t?l("MOUNT"):v==="none"||u?.display==="none"?l("UNMOUNT"):l(d&&m!==v?"ANIMATION_OUT":"UNMOUNT"),o.current=t}},[t,l]),ji(()=>{if(e){let u;const d=e.ownerDocument.defaultView??window,f=v=>{const w=Wp(r.current).includes(CSS.escape(v.animationName));if(v.target===e&&w&&(l("ANIMATION_END"),!o.current)){const y=e.style.animationFillMode;e.style.animationFillMode="forwards",u=d.setTimeout(()=>{e.style.animationFillMode==="forwards"&&(e.style.animationFillMode=y)})}},m=v=>{v.target===e&&(a.current=Wp(r.current))};return e.addEventListener("animationstart",m),e.addEventListener("animationcancel",f),e.addEventListener("animationend",f),()=>{d.clearTimeout(u),e.removeEventListener("animationstart",m),e.removeEventListener("animationcancel",f),e.removeEventListener("animationend",f)}}else l("ANIMATION_END")},[e,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:Ms.useCallback(u=>{r.current=u?getComputedStyle(u):null,n(u)},[])}}function Wp(t){return t?.animationName||"none"}function wH(t){let e=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning;return n?t.ref:(e=Object.getOwnPropertyDescriptor(t,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning,n?t.props.ref:t.props.ref||t.ref)}const Is=await q("react");var bH=Is[" useInsertionEffect ".trim().toString()]||ji;function Xo({prop:t,defaultProp:e,onChange:n=()=>{},caller:r}){const[o,a,i]=yH({defaultProp:e,onChange:n}),s=t!==void 0,l=s?t:o;{const d=Is.useRef(t!==void 0);Is.useEffect(()=>{const f=d.current;f!==s&&console.warn(`${r} is changing from ${f?"controlled":"uncontrolled"} to ${s?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),d.current=s},[s,r])}const u=Is.useCallback(d=>{if(s){const f=_H(d)?d(t):d;f!==t&&i.current?.(f)}else a(d)},[s,t,a,i]);return[l,u]}function yH({defaultProp:t,onChange:e}){const[n,r]=Is.useState(t),o=Is.useRef(n),a=Is.useRef(e);return bH(()=>{a.current=e},[e]),Is.useEffect(()=>{o.current!==n&&(a.current?.(n),o.current=n)},[n,o]),[n,r,a]}function _H(t){return typeof t=="function"}await q("react");const xo=await q("react");var cg="rovingFocusGroup.onEntryFocus",xH={bubbles:!1,cancelable:!0},_f="RovingFocusGroup",[iv,T8,SH]=ih(_f),[CH,Ks]=Ko(_f,[SH]),[EH,MH]=CH(_f),N8=xo.forwardRef((t,e)=>Z.jsx(iv.Provider,{scope:t.__scopeRovingFocusGroup,children:Z.jsx(iv.Slot,{scope:t.__scopeRovingFocusGroup,children:Z.jsx(kH,{...t,ref:e})})}));N8.displayName=_f;var kH=xo.forwardRef((t,e)=>{const{__scopeRovingFocusGroup:n,orientation:r,loop:o=!1,dir:a,currentTabStopId:i,defaultCurrentTabStopId:s,onCurrentTabStopIdChange:l,onEntryFocus:u,preventScrollOnEntryFocus:d=!1,...f}=t,m=xo.useRef(null),v=ln(e,m),g=Jl(a),[w,y]=Xo({prop:i,defaultProp:s??null,onChange:l,caller:_f}),[_,S]=xo.useState(!1),x=vr(u),C=T8(n),M=xo.useRef(!1),[A,O]=xo.useState(0);return xo.useEffect(()=>{const D=m.current;if(D)return D.addEventListener(cg,x),()=>D.removeEventListener(cg,x)},[x]),Z.jsx(EH,{scope:n,orientation:r,dir:g,loop:o,currentTabStopId:w,onItemFocus:xo.useCallback(D=>y(D),[y]),onItemShiftTab:xo.useCallback(()=>S(!0),[]),onFocusableItemAdd:xo.useCallback(()=>O(D=>D+1),[]),onFocusableItemRemove:xo.useCallback(()=>O(D=>D-1),[]),children:Z.jsx(Wt.div,{tabIndex:_||A===0?-1:0,"data-orientation":r,...f,ref:v,style:{outline:"none",...t.style},onMouseDown:it(t.onMouseDown,()=>{M.current=!0}),onFocus:it(t.onFocus,D=>{const T=!M.current;if(D.target===D.currentTarget&&T&&!_){const R=new CustomEvent(cg,xH);if(D.currentTarget.dispatchEvent(R),!R.defaultPrevented){const $=C().filter(F=>F.focusable),P=$.find(F=>F.active),I=$.find(F=>F.id===w),V=[P,I,...$].filter(Boolean).map(F=>F.ref.current);I8(V,d)}}M.current=!1}),onBlur:it(t.onBlur,()=>S(!1))})})}),P8="RovingFocusGroupItem",A8=xo.forwardRef((t,e)=>{const{__scopeRovingFocusGroup:n,focusable:r=!0,active:o=!1,tabStopId:a,children:i,...s}=t,l=Uo(),u=a||l,d=MH(P8,n),f=d.currentTabStopId===u,m=T8(n),{onFocusableItemAdd:v,onFocusableItemRemove:g,currentTabStopId:w}=d;return xo.useEffect(()=>{if(r)return v(),()=>g()},[r,v,g]),Z.jsx(iv.ItemSlot,{scope:n,id:u,focusable:r,active:o,children:Z.jsx(Wt.span,{tabIndex:f?0:-1,"data-orientation":d.orientation,...s,ref:e,onMouseDown:it(t.onMouseDown,y=>{r?d.onItemFocus(u):y.preventDefault()}),onFocus:it(t.onFocus,()=>d.onItemFocus(u)),onKeyDown:it(t.onKeyDown,y=>{if(y.key==="Tab"&&y.shiftKey){d.onItemShiftTab();return}if(y.target!==y.currentTarget)return;const _=NH(y,d.orientation,d.dir);if(_!==void 0){if(y.metaKey||y.ctrlKey||y.altKey||y.shiftKey)return;y.preventDefault();let x=m().filter(C=>C.focusable).map(C=>C.ref.current);if(_==="last")x.reverse();else if(_==="prev"||_==="next"){_==="prev"&&x.reverse();const C=x.indexOf(y.currentTarget);x=d.loop?PH(x,C+1):x.slice(C+1)}setTimeout(()=>I8(x))}}),children:typeof i=="function"?i({isCurrentTabStop:f,hasTabStop:w!=null}):i})})});A8.displayName=P8;var RH={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function TH(t,e){return e!=="rtl"?t:t==="ArrowLeft"?"ArrowRight":t==="ArrowRight"?"ArrowLeft":t}function NH(t,e,n){const r=TH(t.key,n);if(!(e==="vertical"&&["ArrowLeft","ArrowRight"].includes(r))&&!(e==="horizontal"&&["ArrowUp","ArrowDown"].includes(r)))return RH[r]}function I8(t,e=!1){const n=document.activeElement;for(const r of t)if(r===n||(r.focus({preventScroll:e}),document.activeElement!==n))return}function PH(t,e){return t.map((n,r)=>t[(e+r)%t.length])}var dh=N8,fh=A8;const ao=await q("react");function AH(t){const e=IH(t),n=ao.forwardRef((r,o)=>{const{children:a,...i}=r,s=ao.Children.toArray(a),l=s.find(LH);if(l){const u=l.props.children,d=s.map(f=>f===l?ao.Children.count(u)>1?ao.Children.only(null):ao.isValidElement(u)?u.props.children:null:f);return Z.jsx(e,{...i,ref:o,children:ao.isValidElement(u)?ao.cloneElement(u,void 0,d):null})}return Z.jsx(e,{...i,ref:o,children:a})});return n.displayName=`${t}.Slot`,n}function IH(t){const e=ao.forwardRef((n,r)=>{const{children:o,...a}=n;if(ao.isValidElement(o)){const i=DH(o),s=$H(a,o.props);return o.type!==ao.Fragment&&(s.ref=r?Gs(r,i):i),ao.cloneElement(o,s)}return ao.Children.count(o)>1?ao.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}var OH=Symbol("radix.slottable");function LH(t){return ao.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===OH}function $H(t,e){const n={...e};for(const r in e){const o=t[r],a=e[r];/^on[A-Z]/.test(r)?o&&a?n[r]=(...s)=>{const l=a(...s);return o(...s),l}:o&&(n[r]=o):r==="style"?n[r]={...o,...a}:r==="className"&&(n[r]=[o,a].filter(Boolean).join(" "))}return{...t,...n}}function DH(t){let e=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning;return n?t.ref:(e=Object.getOwnPropertyDescriptor(t,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning,n?t.props.ref:t.props.ref||t.ref)}var BH=function(t){if(typeof document>"u")return null;var e=Array.isArray(t)?t[0]:t;return e.ownerDocument.body},Oc=new WeakMap,qp=new WeakMap,Up={},ug=0,O8=function(t){return t&&(t.host||O8(t.parentNode))},zH=function(t,e){return e.map(function(n){if(t.contains(n))return n;var r=O8(n);return r&&t.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",t,". Doing nothing"),null)}).filter(function(n){return!!n})},FH=function(t,e,n,r){var o=zH(e,Array.isArray(t)?t:[t]);Up[n]||(Up[n]=new WeakMap);var a=Up[n],i=[],s=new Set,l=new Set(o),u=function(f){!f||s.has(f)||(s.add(f),u(f.parentNode))};o.forEach(u);var d=function(f){!f||l.has(f)||Array.prototype.forEach.call(f.children,function(m){if(s.has(m))d(m);else try{var v=m.getAttribute(r),g=v!==null&&v!=="false",w=(Oc.get(m)||0)+1,y=(a.get(m)||0)+1;Oc.set(m,w),a.set(m,y),i.push(m),w===1&&g&&qp.set(m,!0),y===1&&m.setAttribute(n,"true"),g||m.setAttribute(r,"true")}catch(_){console.error("aria-hidden: cannot operate on ",m,_)}})};return d(e),s.clear(),ug++,function(){i.forEach(function(f){var m=Oc.get(f)-1,v=a.get(f)-1;Oc.set(f,m),a.set(f,v),m||(qp.has(f)||f.removeAttribute(r),qp.delete(f)),v||f.removeAttribute(n)}),ug--,ug||(Oc=new WeakMap,Oc=new WeakMap,qp=new WeakMap,Up={})}},L8=function(t,e,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(t)?t:[t]),o=BH(t);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live], script"))),FH(r,o,n,"aria-hidden")):function(){return null}},Za=function(){return Za=Object.assign||function(e){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Za.apply(this,arguments)};function $8(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]]);return n}function VH(t,e,n){if(n||arguments.length===2)for(var r=0,o=e.length,a;r<o;r++)(a||!(r in e))&&(a||(a=Array.prototype.slice.call(e,0,r)),a[r]=e[r]);return t.concat(a||Array.prototype.slice.call(e))}var X1="right-scroll-bar-position",Z1="width-before-scroll-bar",jH="with-scroll-bars-hidden",HH="--removed-body-scroll-bar-size";function dg(t,e){return typeof t=="function"?t(e):t&&(t.current=e),t}const{useState:WH}=await q("react");function qH(t,e){var n=WH(function(){return{value:t,callback:e,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=e,n.facade}const K_=await q("react");var UH=typeof window<"u"?K_.useLayoutEffect:K_.useEffect,X_=new WeakMap;function YH(t,e){var n=qH(null,function(r){return t.forEach(function(o){return dg(o,r)})});return UH(function(){var r=X_.get(n);if(r){var o=new Set(r),a=new Set(t),i=n.current;o.forEach(function(s){a.has(s)||dg(s,null)}),a.forEach(function(s){o.has(s)||dg(s,i)})}X_.set(n,t)},[t]),n}function GH(t){return t}function KH(t,e){e===void 0&&(e=GH);var n=[],r=!1,o={read:function(){if(r)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return n.length?n[n.length-1]:t},useMedium:function(a){var i=e(a,r);return n.push(i),function(){n=n.filter(function(s){return s!==i})}},assignSyncMedium:function(a){for(r=!0;n.length;){var i=n;n=[],i.forEach(a)}n={push:function(s){return a(s)},filter:function(){return n}}},assignMedium:function(a){r=!0;var i=[];if(n.length){var s=n;n=[],s.forEach(a),i=n}var l=function(){var d=i;i=[],d.forEach(a)},u=function(){return Promise.resolve().then(l)};u(),n={push:function(d){i.push(d),u()},filter:function(d){return i=i.filter(d),n}}}};return o}function XH(t){t===void 0&&(t={});var e=KH(null);return e.options=Za({async:!0,ssr:!1},t),e}const ZH=await q("react");var D8=function(t){var e=t.sideCar,n=$8(t,["sideCar"]);if(!e)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var r=e.read();if(!r)throw new Error("Sidecar medium not found");return ZH.createElement(r,Za({},n))};D8.isSideCarExport=!0;function QH(t,e){return t.useMedium(e),D8}var B8=XH();const Pi=await q("react");var fg=function(){},ph=Pi.forwardRef(function(t,e){var n=Pi.useRef(null),r=Pi.useState({onScrollCapture:fg,onWheelCapture:fg,onTouchMoveCapture:fg}),o=r[0],a=r[1],i=t.forwardProps,s=t.children,l=t.className,u=t.removeScrollBar,d=t.enabled,f=t.shards,m=t.sideCar,v=t.noRelative,g=t.noIsolation,w=t.inert,y=t.allowPinchZoom,_=t.as,S=_===void 0?"div":_,x=t.gapMode,C=$8(t,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),M=m,A=YH([n,e]),O=Za(Za({},C),o);return Pi.createElement(Pi.Fragment,null,d&&Pi.createElement(M,{sideCar:B8,removeScrollBar:u,shards:f,noRelative:v,noIsolation:g,inert:w,setCallbacks:a,allowPinchZoom:!!y,lockRef:n,gapMode:x}),i?Pi.cloneElement(Pi.Children.only(s),Za(Za({},O),{ref:A})):Pi.createElement(S,Za({},O,{className:l,ref:A}),s))});ph.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};ph.classNames={fullWidth:Z1,zeroRight:X1};var JH=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function eW(){if(!document)return null;var t=document.createElement("style");t.type="text/css";var e=JH();return e&&t.setAttribute("nonce",e),t}function tW(t,e){t.styleSheet?t.styleSheet.cssText=e:t.appendChild(document.createTextNode(e))}function nW(t){var e=document.head||document.getElementsByTagName("head")[0];e.appendChild(t)}var rW=function(){var t=0,e=null;return{add:function(n){t==0&&(e=eW())&&(tW(e,n),nW(e)),t++},remove:function(){t--,!t&&e&&(e.parentNode&&e.parentNode.removeChild(e),e=null)}}};const oW=await q("react");var aW=function(){var t=rW();return function(e,n){oW.useEffect(function(){return t.add(e),function(){t.remove()}},[e&&n])}},z8=function(){var t=aW(),e=function(n){var r=n.styles,o=n.dynamic;return t(r,o),null};return e},iW={left:0,top:0,right:0,gap:0},pg=function(t){return parseInt(t||"",10)||0},sW=function(t){var e=window.getComputedStyle(document.body),n=e[t==="padding"?"paddingLeft":"marginLeft"],r=e[t==="padding"?"paddingTop":"marginTop"],o=e[t==="padding"?"paddingRight":"marginRight"];return[pg(n),pg(r),pg(o)]},lW=function(t){if(t===void 0&&(t="margin"),typeof window>"u")return iW;var e=sW(t),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:e[0],top:e[1],right:e[2],gap:Math.max(0,r-n+e[2]-e[0])}};const sv=await q("react");var cW=z8(),du="data-scroll-locked",uW=function(t,e,n,r){var o=t.left,a=t.top,i=t.right,s=t.gap;return n===void 0&&(n="margin"),`
|
|
88
|
-
.`.concat(jH,` {
|
|
89
|
-
overflow: hidden `).concat(r,`;
|
|
90
|
-
padding-right: `).concat(s,"px ").concat(r,`;
|
|
91
|
-
}
|
|
92
|
-
body[`).concat(du,`] {
|
|
93
|
-
overflow: hidden `).concat(r,`;
|
|
94
|
-
overscroll-behavior: contain;
|
|
95
|
-
`).concat([e&&"position: relative ".concat(r,";"),n==="margin"&&`
|
|
96
|
-
padding-left: `.concat(o,`px;
|
|
97
|
-
padding-top: `).concat(a,`px;
|
|
98
|
-
padding-right: `).concat(i,`px;
|
|
99
|
-
margin-left:0;
|
|
100
|
-
margin-top:0;
|
|
101
|
-
margin-right: `).concat(s,"px ").concat(r,`;
|
|
102
|
-
`),n==="padding"&&"padding-right: ".concat(s,"px ").concat(r,";")].filter(Boolean).join(""),`
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.`).concat(X1,` {
|
|
106
|
-
right: `).concat(s,"px ").concat(r,`;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
.`).concat(Z1,` {
|
|
110
|
-
margin-right: `).concat(s,"px ").concat(r,`;
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
.`).concat(X1," .").concat(X1,` {
|
|
114
|
-
right: 0 `).concat(r,`;
|
|
115
|
-
}
|
|
116
|
-
|
|
117
|
-
.`).concat(Z1," .").concat(Z1,` {
|
|
118
|
-
margin-right: 0 `).concat(r,`;
|
|
119
|
-
}
|
|
120
|
-
|
|
121
|
-
body[`).concat(du,`] {
|
|
122
|
-
`).concat(HH,": ").concat(s,`px;
|
|
123
|
-
}
|
|
124
|
-
`)},Z_=function(){var t=parseInt(document.body.getAttribute(du)||"0",10);return isFinite(t)?t:0},dW=function(){sv.useEffect(function(){return document.body.setAttribute(du,(Z_()+1).toString()),function(){var t=Z_()-1;t<=0?document.body.removeAttribute(du):document.body.setAttribute(du,t.toString())}},[])},fW=function(t){var e=t.noRelative,n=t.noImportant,r=t.gapMode,o=r===void 0?"margin":r;dW();var a=sv.useMemo(function(){return lW(o)},[o]);return sv.createElement(cW,{styles:uW(a,!e,o,n?"":"!important")})},lv=!1;if(typeof window<"u")try{var Yp=Object.defineProperty({},"passive",{get:function(){return lv=!0,!0}});window.addEventListener("test",Yp,Yp),window.removeEventListener("test",Yp,Yp)}catch{lv=!1}var Lc=lv?{passive:!1}:!1,pW=function(t){return t.tagName==="TEXTAREA"},F8=function(t,e){if(!(t instanceof Element))return!1;var n=window.getComputedStyle(t);return n[e]!=="hidden"&&!(n.overflowY===n.overflowX&&!pW(t)&&n[e]==="visible")},hW=function(t){return F8(t,"overflowY")},mW=function(t){return F8(t,"overflowX")},Q_=function(t,e){var n=e.ownerDocument,r=e;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var o=V8(t,r);if(o){var a=j8(t,r),i=a[1],s=a[2];if(i>s)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},gW=function(t){var e=t.scrollTop,n=t.scrollHeight,r=t.clientHeight;return[e,n,r]},vW=function(t){var e=t.scrollLeft,n=t.scrollWidth,r=t.clientWidth;return[e,n,r]},V8=function(t,e){return t==="v"?hW(e):mW(e)},j8=function(t,e){return t==="v"?gW(e):vW(e)},wW=function(t,e){return t==="h"&&e==="rtl"?-1:1},bW=function(t,e,n,r,o){var a=wW(t,window.getComputedStyle(e).direction),i=a*r,s=n.target,l=e.contains(s),u=!1,d=i>0,f=0,m=0;do{if(!s)break;var v=j8(t,s),g=v[0],w=v[1],y=v[2],_=w-y-a*g;(g||_)&&V8(t,s)&&(f+=_,m+=g);var S=s.parentNode;s=S&&S.nodeType===Node.DOCUMENT_FRAGMENT_NODE?S.host:S}while(!l&&s!==document.body||l&&(e.contains(s)||e===s));return(d&&Math.abs(f)<1||!d&&Math.abs(m)<1)&&(u=!0),u};const or=await q("react");var Gp=function(t){return"changedTouches"in t?[t.changedTouches[0].clientX,t.changedTouches[0].clientY]:[0,0]},J_=function(t){return[t.deltaX,t.deltaY]},e4=function(t){return t&&"current"in t?t.current:t},yW=function(t,e){return t[0]===e[0]&&t[1]===e[1]},_W=function(t){return`
|
|
125
|
-
.block-interactivity-`.concat(t,` {pointer-events: none;}
|
|
126
|
-
.allow-interactivity-`).concat(t,` {pointer-events: all;}
|
|
127
|
-
`)},xW=0,$c=[];function SW(t){var e=or.useRef([]),n=or.useRef([0,0]),r=or.useRef(),o=or.useState(xW++)[0],a=or.useState(z8)[0],i=or.useRef(t);or.useEffect(function(){i.current=t},[t]),or.useEffect(function(){if(t.inert){document.body.classList.add("block-interactivity-".concat(o));var w=VH([t.lockRef.current],(t.shards||[]).map(e4),!0).filter(Boolean);return w.forEach(function(y){return y.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),w.forEach(function(y){return y.classList.remove("allow-interactivity-".concat(o))})}}},[t.inert,t.lockRef.current,t.shards]);var s=or.useCallback(function(w,y){if("touches"in w&&w.touches.length===2||w.type==="wheel"&&w.ctrlKey)return!i.current.allowPinchZoom;var _=Gp(w),S=n.current,x="deltaX"in w?w.deltaX:S[0]-_[0],C="deltaY"in w?w.deltaY:S[1]-_[1],M,A=w.target,O=Math.abs(x)>Math.abs(C)?"h":"v";if("touches"in w&&O==="h"&&A.type==="range")return!1;var D=window.getSelection(),T=D&&D.anchorNode,R=T?T===A||T.contains(A):!1;if(R)return!1;var $=Q_(O,A);if(!$)return!0;if($?M=O:(M=O==="v"?"h":"v",$=Q_(O,A)),!$)return!1;if(!r.current&&"changedTouches"in w&&(x||C)&&(r.current=M),!M)return!0;var P=r.current||M;return bW(P,y,w,P==="h"?x:C)},[]),l=or.useCallback(function(w){var y=w;if(!(!$c.length||$c[$c.length-1]!==a)){var _="deltaY"in y?J_(y):Gp(y),S=e.current.filter(function(M){return M.name===y.type&&(M.target===y.target||y.target===M.shadowParent)&&yW(M.delta,_)})[0];if(S&&S.should){y.cancelable&&y.preventDefault();return}if(!S){var x=(i.current.shards||[]).map(e4).filter(Boolean).filter(function(M){return M.contains(y.target)}),C=x.length>0?s(y,x[0]):!i.current.noIsolation;C&&y.cancelable&&y.preventDefault()}}},[]),u=or.useCallback(function(w,y,_,S){var x={name:w,delta:y,target:_,should:S,shadowParent:CW(_)};e.current.push(x),setTimeout(function(){e.current=e.current.filter(function(C){return C!==x})},1)},[]),d=or.useCallback(function(w){n.current=Gp(w),r.current=void 0},[]),f=or.useCallback(function(w){u(w.type,J_(w),w.target,s(w,t.lockRef.current))},[]),m=or.useCallback(function(w){u(w.type,Gp(w),w.target,s(w,t.lockRef.current))},[]);or.useEffect(function(){return $c.push(a),t.setCallbacks({onScrollCapture:f,onWheelCapture:f,onTouchMoveCapture:m}),document.addEventListener("wheel",l,Lc),document.addEventListener("touchmove",l,Lc),document.addEventListener("touchstart",d,Lc),function(){$c=$c.filter(function(w){return w!==a}),document.removeEventListener("wheel",l,Lc),document.removeEventListener("touchmove",l,Lc),document.removeEventListener("touchstart",d,Lc)}},[]);var v=t.removeScrollBar,g=t.inert;return or.createElement(or.Fragment,null,g?or.createElement(a,{styles:_W(o)}):null,v?or.createElement(fW,{noRelative:t.noRelative,gapMode:t.gapMode}):null)}function CW(t){for(var e=null;t!==null;)t instanceof ShadowRoot&&(e=t.host,t=t.host),t=t.parentNode;return e}const EW=QH(B8,SW),t4=await q("react");var Cw=t4.forwardRef(function(t,e){return t4.createElement(ph,Za({},t,{ref:e,sideCar:EW}))});Cw.classNames=ph.classNames;const St=await q("react");var cv=["Enter"," "],MW=["ArrowDown","PageUp","Home"],H8=["ArrowUp","PageDown","End"],kW=[...MW,...H8],RW={ltr:[...cv,"ArrowRight"],rtl:[...cv,"ArrowLeft"]},TW={ltr:["ArrowLeft"],rtl:["ArrowRight"]},xf="Menu",[af,NW,PW]=ih(xf),[ec,Ew]=Ko(xf,[PW,b8,Ks]),Sf=b8(),W8=Ks(),[q8,Xs]=ec(xf),[AW,Cf]=ec(xf),U8=t=>{const{__scopeMenu:e,open:n=!1,children:r,dir:o,onOpenChange:a,modal:i=!0}=t,s=Sf(e),[l,u]=St.useState(null),d=St.useRef(!1),f=vr(a),m=Jl(o);return St.useEffect(()=>{const v=()=>{d.current=!0,document.addEventListener("pointerdown",g,{capture:!0,once:!0}),document.addEventListener("pointermove",g,{capture:!0,once:!0})},g=()=>d.current=!1;return document.addEventListener("keydown",v,{capture:!0}),()=>{document.removeEventListener("keydown",v,{capture:!0}),document.removeEventListener("pointerdown",g,{capture:!0}),document.removeEventListener("pointermove",g,{capture:!0})}},[]),Z.jsx(R8,{...s,children:Z.jsx(q8,{scope:e,open:n,onOpenChange:f,content:l,onContentChange:u,children:Z.jsx(AW,{scope:e,onClose:St.useCallback(()=>f(!1),[f]),isUsingKeyboardRef:d,dir:m,modal:i,children:r})})})};U8.displayName=xf;var IW="MenuAnchor",Mw=St.forwardRef((t,e)=>{const{__scopeMenu:n,...r}=t,o=Sf(n);return Z.jsx(uH,{...o,...r,ref:e})});Mw.displayName=IW;var kw="MenuPortal",[OW,Y8]=ec(kw,{forceMount:void 0}),G8=t=>{const{__scopeMenu:e,forceMount:n,children:r,container:o}=t,a=Xs(kw,e);return Z.jsx(OW,{scope:e,forceMount:n,children:Z.jsx(No,{present:n||a.open,children:Z.jsx(Sw,{asChild:!0,container:o,children:r})})})};G8.displayName=kw;var Yo="MenuContent",[LW,Rw]=ec(Yo),K8=St.forwardRef((t,e)=>{const n=Y8(Yo,t.__scopeMenu),{forceMount:r=n.forceMount,...o}=t,a=Xs(Yo,t.__scopeMenu),i=Cf(Yo,t.__scopeMenu);return Z.jsx(af.Provider,{scope:t.__scopeMenu,children:Z.jsx(No,{present:r||a.open,children:Z.jsx(af.Slot,{scope:t.__scopeMenu,children:i.modal?Z.jsx($W,{...o,ref:e}):Z.jsx(DW,{...o,ref:e})})})})}),$W=St.forwardRef((t,e)=>{const n=Xs(Yo,t.__scopeMenu),r=St.useRef(null),o=ln(e,r);return St.useEffect(()=>{const a=r.current;if(a)return L8(a)},[]),Z.jsx(Tw,{...t,ref:o,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:it(t.onFocusOutside,a=>a.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)})}),DW=St.forwardRef((t,e)=>{const n=Xs(Yo,t.__scopeMenu);return Z.jsx(Tw,{...t,ref:e,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)})}),BW=AH("MenuContent.ScrollLock"),Tw=St.forwardRef((t,e)=>{const{__scopeMenu:n,loop:r=!1,trapFocus:o,onOpenAutoFocus:a,onCloseAutoFocus:i,disableOutsidePointerEvents:s,onEntryFocus:l,onEscapeKeyDown:u,onPointerDownOutside:d,onFocusOutside:f,onInteractOutside:m,onDismiss:v,disableOutsideScroll:g,...w}=t,y=Xs(Yo,n),_=Cf(Yo,n),S=Sf(n),x=W8(n),C=NW(n),[M,A]=St.useState(null),O=St.useRef(null),D=ln(e,O,y.onContentChange),T=St.useRef(0),R=St.useRef(""),$=St.useRef(0),P=St.useRef(null),I=St.useRef("right"),L=St.useRef(0),V=g?Cw:St.Fragment,F=g?{as:BW,allowPinchZoom:!0}:void 0,z=Y=>{const U=R.current+Y,le=C().filter(ue=>!ue.disabled),J=document.activeElement,re=le.find(ue=>ue.ref.current===J)?.textValue,te=le.map(ue=>ue.textValue),oe=XW(te,U,re),ee=le.find(ue=>ue.textValue===oe)?.ref.current;(function ue(fe){R.current=fe,window.clearTimeout(T.current),fe!==""&&(T.current=window.setTimeout(()=>ue(""),1e3))})(U),ee&&setTimeout(()=>ee.focus())};St.useEffect(()=>()=>window.clearTimeout(T.current),[]),Q7();const B=St.useCallback(Y=>I.current===P.current?.side&&QW(Y,P.current?.area),[]);return Z.jsx(LW,{scope:n,searchRef:R,onItemEnter:St.useCallback(Y=>{B(Y)&&Y.preventDefault()},[B]),onItemLeave:St.useCallback(Y=>{B(Y)||(O.current?.focus(),A(null))},[B]),onTriggerLeave:St.useCallback(Y=>{B(Y)&&Y.preventDefault()},[B]),pointerGraceTimerRef:$,onPointerGraceIntentChange:St.useCallback(Y=>{P.current=Y},[]),children:Z.jsx(V,{...F,children:Z.jsx(pw,{asChild:!0,trapped:o,onMountAutoFocus:it(a,Y=>{Y.preventDefault(),O.current?.focus({preventScroll:!0})}),onUnmountAutoFocus:i,children:Z.jsx(fw,{asChild:!0,disableOutsidePointerEvents:s,onEscapeKeyDown:u,onPointerDownOutside:d,onFocusOutside:f,onInteractOutside:m,onDismiss:v,children:Z.jsx(dh,{asChild:!0,...x,dir:_.dir,orientation:"vertical",loop:r,currentTabStopId:M,onCurrentTabStopIdChange:A,onEntryFocus:it(l,Y=>{_.isUsingKeyboardRef.current||Y.preventDefault()}),preventScrollOnEntryFocus:!0,children:Z.jsx(dH,{role:"menu","aria-orientation":"vertical","data-state":f9(y.open),"data-radix-menu-content":"",dir:_.dir,...S,...w,ref:D,style:{outline:"none",...w.style},onKeyDown:it(w.onKeyDown,Y=>{const le=Y.target.closest("[data-radix-menu-content]")===Y.currentTarget,J=Y.ctrlKey||Y.altKey||Y.metaKey,re=Y.key.length===1;le&&(Y.key==="Tab"&&Y.preventDefault(),!J&&re&&z(Y.key));const te=O.current;if(Y.target!==te||!kW.includes(Y.key))return;Y.preventDefault();const ee=C().filter(ue=>!ue.disabled).map(ue=>ue.ref.current);H8.includes(Y.key)&&ee.reverse(),GW(ee)}),onBlur:it(t.onBlur,Y=>{Y.currentTarget.contains(Y.target)||(window.clearTimeout(T.current),R.current="")}),onPointerMove:it(t.onPointerMove,sf(Y=>{const U=Y.target,le=L.current!==Y.clientX;if(Y.currentTarget.contains(U)&&le){const J=Y.clientX>L.current?"right":"left";I.current=J,L.current=Y.clientX}}))})})})})})})});K8.displayName=Yo;var zW="MenuGroup",Nw=St.forwardRef((t,e)=>{const{__scopeMenu:n,...r}=t;return Z.jsx(Wt.div,{role:"group",...r,ref:e})});Nw.displayName=zW;var FW="MenuLabel",X8=St.forwardRef((t,e)=>{const{__scopeMenu:n,...r}=t;return Z.jsx(Wt.div,{...r,ref:e})});X8.displayName=FW;var R0="MenuItem",n4="menu.itemSelect",hh=St.forwardRef((t,e)=>{const{disabled:n=!1,onSelect:r,...o}=t,a=St.useRef(null),i=Cf(R0,t.__scopeMenu),s=Rw(R0,t.__scopeMenu),l=ln(e,a),u=St.useRef(!1),d=()=>{const f=a.current;if(!n&&f){const m=new CustomEvent(n4,{bubbles:!0,cancelable:!0});f.addEventListener(n4,v=>r?.(v),{once:!0}),K7(f,m),m.defaultPrevented?u.current=!1:i.onClose()}};return Z.jsx(Z8,{...o,ref:l,disabled:n,onClick:it(t.onClick,d),onPointerDown:f=>{t.onPointerDown?.(f),u.current=!0},onPointerUp:it(t.onPointerUp,f=>{u.current||f.currentTarget?.click()}),onKeyDown:it(t.onKeyDown,f=>{const m=s.searchRef.current!=="";n||m&&f.key===" "||cv.includes(f.key)&&(f.currentTarget.click(),f.preventDefault())})})});hh.displayName=R0;var Z8=St.forwardRef((t,e)=>{const{__scopeMenu:n,disabled:r=!1,textValue:o,...a}=t,i=Rw(R0,n),s=W8(n),l=St.useRef(null),u=ln(e,l),[d,f]=St.useState(!1),[m,v]=St.useState("");return St.useEffect(()=>{const g=l.current;g&&v((g.textContent??"").trim())},[a.children]),Z.jsx(af.ItemSlot,{scope:n,disabled:r,textValue:o??m,children:Z.jsx(fh,{asChild:!0,...s,focusable:!r,children:Z.jsx(Wt.div,{role:"menuitem","data-highlighted":d?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0,...a,ref:u,onPointerMove:it(t.onPointerMove,sf(g=>{r?i.onItemLeave(g):(i.onItemEnter(g),g.defaultPrevented||g.currentTarget.focus({preventScroll:!0}))})),onPointerLeave:it(t.onPointerLeave,sf(g=>i.onItemLeave(g))),onFocus:it(t.onFocus,()=>f(!0)),onBlur:it(t.onBlur,()=>f(!1))})})})}),VW="MenuCheckboxItem",Q8=St.forwardRef((t,e)=>{const{checked:n=!1,onCheckedChange:r,...o}=t;return Z.jsx(r9,{scope:t.__scopeMenu,checked:n,children:Z.jsx(hh,{role:"menuitemcheckbox","aria-checked":T0(n)?"mixed":n,...o,ref:e,"data-state":Iw(n),onSelect:it(o.onSelect,()=>r?.(T0(n)?!0:!n),{checkForDefaultPrevented:!1})})})});Q8.displayName=VW;var J8="MenuRadioGroup",[jW,HW]=ec(J8,{value:void 0,onValueChange:()=>{}}),e9=St.forwardRef((t,e)=>{const{value:n,onValueChange:r,...o}=t,a=vr(r);return Z.jsx(jW,{scope:t.__scopeMenu,value:n,onValueChange:a,children:Z.jsx(Nw,{...o,ref:e})})});e9.displayName=J8;var t9="MenuRadioItem",n9=St.forwardRef((t,e)=>{const{value:n,...r}=t,o=HW(t9,t.__scopeMenu),a=n===o.value;return Z.jsx(r9,{scope:t.__scopeMenu,checked:a,children:Z.jsx(hh,{role:"menuitemradio","aria-checked":a,...r,ref:e,"data-state":Iw(a),onSelect:it(r.onSelect,()=>o.onValueChange?.(n),{checkForDefaultPrevented:!1})})})});n9.displayName=t9;var Pw="MenuItemIndicator",[r9,WW]=ec(Pw,{checked:!1}),o9=St.forwardRef((t,e)=>{const{__scopeMenu:n,forceMount:r,...o}=t,a=WW(Pw,n);return Z.jsx(No,{present:r||T0(a.checked)||a.checked===!0,children:Z.jsx(Wt.span,{...o,ref:e,"data-state":Iw(a.checked)})})});o9.displayName=Pw;var qW="MenuSeparator",a9=St.forwardRef((t,e)=>{const{__scopeMenu:n,...r}=t;return Z.jsx(Wt.div,{role:"separator","aria-orientation":"horizontal",...r,ref:e})});a9.displayName=qW;var UW="MenuArrow",i9=St.forwardRef((t,e)=>{const{__scopeMenu:n,...r}=t,o=Sf(n);return Z.jsx(fH,{...o,...r,ref:e})});i9.displayName=UW;var Aw="MenuSub",[YW,s9]=ec(Aw),l9=t=>{const{__scopeMenu:e,children:n,open:r=!1,onOpenChange:o}=t,a=Xs(Aw,e),i=Sf(e),[s,l]=St.useState(null),[u,d]=St.useState(null),f=vr(o);return St.useEffect(()=>(a.open===!1&&f(!1),()=>f(!1)),[a.open,f]),Z.jsx(R8,{...i,children:Z.jsx(q8,{scope:e,open:r,onOpenChange:f,content:u,onContentChange:d,children:Z.jsx(YW,{scope:e,contentId:Uo(),triggerId:Uo(),trigger:s,onTriggerChange:l,children:n})})})};l9.displayName=Aw;var Hd="MenuSubTrigger",c9=St.forwardRef((t,e)=>{const n=Xs(Hd,t.__scopeMenu),r=Cf(Hd,t.__scopeMenu),o=s9(Hd,t.__scopeMenu),a=Rw(Hd,t.__scopeMenu),i=St.useRef(null),{pointerGraceTimerRef:s,onPointerGraceIntentChange:l}=a,u={__scopeMenu:t.__scopeMenu},d=St.useCallback(()=>{i.current&&window.clearTimeout(i.current),i.current=null},[]);return St.useEffect(()=>d,[d]),St.useEffect(()=>{const f=s.current;return()=>{window.clearTimeout(f),l(null)}},[s,l]),Z.jsx(Mw,{asChild:!0,...u,children:Z.jsx(Z8,{id:o.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":o.contentId,"data-state":f9(n.open),...t,ref:Gs(e,o.onTriggerChange),onClick:f=>{t.onClick?.(f),!(t.disabled||f.defaultPrevented)&&(f.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:it(t.onPointerMove,sf(f=>{a.onItemEnter(f),!f.defaultPrevented&&!t.disabled&&!n.open&&!i.current&&(a.onPointerGraceIntentChange(null),i.current=window.setTimeout(()=>{n.onOpenChange(!0),d()},100))})),onPointerLeave:it(t.onPointerLeave,sf(f=>{d();const m=n.content?.getBoundingClientRect();if(m){const v=n.content?.dataset.side,g=v==="right",w=g?-5:5,y=m[g?"left":"right"],_=m[g?"right":"left"];a.onPointerGraceIntentChange({area:[{x:f.clientX+w,y:f.clientY},{x:y,y:m.top},{x:_,y:m.top},{x:_,y:m.bottom},{x:y,y:m.bottom}],side:v}),window.clearTimeout(s.current),s.current=window.setTimeout(()=>a.onPointerGraceIntentChange(null),300)}else{if(a.onTriggerLeave(f),f.defaultPrevented)return;a.onPointerGraceIntentChange(null)}})),onKeyDown:it(t.onKeyDown,f=>{const m=a.searchRef.current!=="";t.disabled||m&&f.key===" "||RW[r.dir].includes(f.key)&&(n.onOpenChange(!0),n.content?.focus(),f.preventDefault())})})})});c9.displayName=Hd;var u9="MenuSubContent",d9=St.forwardRef((t,e)=>{const n=Y8(Yo,t.__scopeMenu),{forceMount:r=n.forceMount,...o}=t,a=Xs(Yo,t.__scopeMenu),i=Cf(Yo,t.__scopeMenu),s=s9(u9,t.__scopeMenu),l=St.useRef(null),u=ln(e,l);return Z.jsx(af.Provider,{scope:t.__scopeMenu,children:Z.jsx(No,{present:r||a.open,children:Z.jsx(af.Slot,{scope:t.__scopeMenu,children:Z.jsx(Tw,{id:s.contentId,"aria-labelledby":s.triggerId,...o,ref:u,align:"start",side:i.dir==="rtl"?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:d=>{i.isUsingKeyboardRef.current&&l.current?.focus(),d.preventDefault()},onCloseAutoFocus:d=>d.preventDefault(),onFocusOutside:it(t.onFocusOutside,d=>{d.target!==s.trigger&&a.onOpenChange(!1)}),onEscapeKeyDown:it(t.onEscapeKeyDown,d=>{i.onClose(),d.preventDefault()}),onKeyDown:it(t.onKeyDown,d=>{const f=d.currentTarget.contains(d.target),m=TW[i.dir].includes(d.key);f&&m&&(a.onOpenChange(!1),s.trigger?.focus(),d.preventDefault())})})})})})});d9.displayName=u9;function f9(t){return t?"open":"closed"}function T0(t){return t==="indeterminate"}function Iw(t){return T0(t)?"indeterminate":t?"checked":"unchecked"}function GW(t){const e=document.activeElement;for(const n of t)if(n===e||(n.focus(),document.activeElement!==e))return}function KW(t,e){return t.map((n,r)=>t[(e+r)%t.length])}function XW(t,e,n){const o=e.length>1&&Array.from(e).every(u=>u===e[0])?e[0]:e,a=n?t.indexOf(n):-1;let i=KW(t,Math.max(a,0));o.length===1&&(i=i.filter(u=>u!==n));const l=i.find(u=>u.toLowerCase().startsWith(o.toLowerCase()));return l!==n?l:void 0}function ZW(t,e){const{x:n,y:r}=t;let o=!1;for(let a=0,i=e.length-1;a<e.length;i=a++){const s=e[a],l=e[i],u=s.x,d=s.y,f=l.x,m=l.y;d>r!=m>r&&n<(f-u)*(r-d)/(m-d)+u&&(o=!o)}return o}function QW(t,e){if(!e)return!1;const n={x:t.clientX,y:t.clientY};return ZW(n,e)}function sf(t){return e=>e.pointerType==="mouse"?t(e):void 0}var p9=U8,h9=Mw,m9=G8,g9=K8,v9=Nw,w9=X8,b9=hh,y9=Q8,_9=e9,x9=n9,S9=o9,C9=a9,E9=i9,M9=l9,k9=c9,R9=d9;const An=await q("react");var Ef="Menubar",[uv,JW,eq]=ih(Ef),[T9]=Ko(Ef,[eq,Ks]),Ar=Ew(),N9=Ks(),[tq,Ow]=T9(Ef),P9=An.forwardRef((t,e)=>{const{__scopeMenubar:n,value:r,onValueChange:o,defaultValue:a,loop:i=!0,dir:s,...l}=t,u=Jl(s),d=N9(n),[f,m]=Xo({prop:r,onChange:o,defaultProp:a??"",caller:Ef}),[v,g]=An.useState(null);return Z.jsx(tq,{scope:n,value:f,onMenuOpen:An.useCallback(w=>{m(w),g(w)},[m]),onMenuClose:An.useCallback(()=>m(""),[m]),onMenuToggle:An.useCallback(w=>{m(y=>y?"":w),g(w)},[m]),dir:u,loop:i,children:Z.jsx(uv.Provider,{scope:n,children:Z.jsx(uv.Slot,{scope:n,children:Z.jsx(dh,{asChild:!0,...d,orientation:"horizontal",loop:i,dir:u,currentTabStopId:v,onCurrentTabStopIdChange:g,children:Z.jsx(Wt.div,{role:"menubar",...l,ref:e})})})})})});P9.displayName=Ef;var Lw="MenubarMenu",[nq,A9]=T9(Lw),I9=t=>{const{__scopeMenubar:e,value:n,...r}=t,o=Uo(),a=n||o||"LEGACY_REACT_AUTO_VALUE",i=Ow(Lw,e),s=Ar(e),l=An.useRef(null),u=An.useRef(!1),d=i.value===a;return An.useEffect(()=>{d||(u.current=!1)},[d]),Z.jsx(nq,{scope:e,value:a,triggerId:Uo(),triggerRef:l,contentId:Uo(),wasKeyboardTriggerOpenRef:u,children:Z.jsx(p9,{...s,open:d,onOpenChange:f=>{f||i.onMenuClose()},modal:!1,dir:i.dir,...r})})};I9.displayName=Lw;var dv="MenubarTrigger",O9=An.forwardRef((t,e)=>{const{__scopeMenubar:n,disabled:r=!1,...o}=t,a=N9(n),i=Ar(n),s=Ow(dv,n),l=A9(dv,n),u=An.useRef(null),d=ln(e,u,l.triggerRef),[f,m]=An.useState(!1),v=s.value===l.value;return Z.jsx(uv.ItemSlot,{scope:n,value:l.value,disabled:r,children:Z.jsx(fh,{asChild:!0,...a,focusable:!r,tabStopId:l.value,children:Z.jsx(h9,{asChild:!0,...i,children:Z.jsx(Wt.button,{type:"button",role:"menuitem",id:l.triggerId,"aria-haspopup":"menu","aria-expanded":v,"aria-controls":v?l.contentId:void 0,"data-highlighted":f?"":void 0,"data-state":v?"open":"closed","data-disabled":r?"":void 0,disabled:r,...o,ref:d,onPointerDown:it(t.onPointerDown,g=>{!r&&g.button===0&&g.ctrlKey===!1&&(s.onMenuOpen(l.value),v||g.preventDefault())}),onPointerEnter:it(t.onPointerEnter,()=>{!!s.value&&!v&&(s.onMenuOpen(l.value),u.current?.focus())}),onKeyDown:it(t.onKeyDown,g=>{r||(["Enter"," "].includes(g.key)&&s.onMenuToggle(l.value),g.key==="ArrowDown"&&s.onMenuOpen(l.value),["Enter"," ","ArrowDown"].includes(g.key)&&(l.wasKeyboardTriggerOpenRef.current=!0,g.preventDefault()))}),onFocus:it(t.onFocus,()=>m(!0)),onBlur:it(t.onBlur,()=>m(!1))})})})})});O9.displayName=dv;var rq="MenubarPortal",L9=t=>{const{__scopeMenubar:e,...n}=t,r=Ar(e);return Z.jsx(m9,{...r,...n})};L9.displayName=rq;var fv="MenubarContent",$9=An.forwardRef((t,e)=>{const{__scopeMenubar:n,align:r="start",...o}=t,a=Ar(n),i=Ow(fv,n),s=A9(fv,n),l=JW(n),u=An.useRef(!1);return Z.jsx(g9,{id:s.contentId,"aria-labelledby":s.triggerId,"data-radix-menubar-content":"",...a,...o,ref:e,align:r,onCloseAutoFocus:it(t.onCloseAutoFocus,d=>{!!!i.value&&!u.current&&s.triggerRef.current?.focus(),u.current=!1,d.preventDefault()}),onFocusOutside:it(t.onFocusOutside,d=>{const f=d.target;l().some(v=>v.ref.current?.contains(f))&&d.preventDefault()}),onInteractOutside:it(t.onInteractOutside,()=>{u.current=!0}),onEntryFocus:d=>{s.wasKeyboardTriggerOpenRef.current||d.preventDefault()},onKeyDown:it(t.onKeyDown,d=>{if(["ArrowRight","ArrowLeft"].includes(d.key)){const f=d.target,m=f.hasAttribute("data-radix-menubar-subtrigger"),v=f.closest("[data-radix-menubar-content]")!==d.currentTarget,w=(i.dir==="rtl"?"ArrowRight":"ArrowLeft")===d.key;if(!w&&m||v&&w)return;let S=l().filter(M=>!M.disabled).map(M=>M.value);w&&S.reverse();const x=S.indexOf(s.value);S=i.loop?gq(S,x+1):S.slice(x+1);const[C]=S;C&&i.onMenuOpen(C)}},{checkForDefaultPrevented:!1}),style:{...t.style,"--radix-menubar-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-menubar-content-available-width":"var(--radix-popper-available-width)","--radix-menubar-content-available-height":"var(--radix-popper-available-height)","--radix-menubar-trigger-width":"var(--radix-popper-anchor-width)","--radix-menubar-trigger-height":"var(--radix-popper-anchor-height)"}})});$9.displayName=fv;var oq="MenubarGroup",D9=An.forwardRef((t,e)=>{const{__scopeMenubar:n,...r}=t,o=Ar(n);return Z.jsx(v9,{...o,...r,ref:e})});D9.displayName=oq;var aq="MenubarLabel",B9=An.forwardRef((t,e)=>{const{__scopeMenubar:n,...r}=t,o=Ar(n);return Z.jsx(w9,{...o,...r,ref:e})});B9.displayName=aq;var iq="MenubarItem",z9=An.forwardRef((t,e)=>{const{__scopeMenubar:n,...r}=t,o=Ar(n);return Z.jsx(b9,{...o,...r,ref:e})});z9.displayName=iq;var sq="MenubarCheckboxItem",F9=An.forwardRef((t,e)=>{const{__scopeMenubar:n,...r}=t,o=Ar(n);return Z.jsx(y9,{...o,...r,ref:e})});F9.displayName=sq;var lq="MenubarRadioGroup",V9=An.forwardRef((t,e)=>{const{__scopeMenubar:n,...r}=t,o=Ar(n);return Z.jsx(_9,{...o,...r,ref:e})});V9.displayName=lq;var cq="MenubarRadioItem",j9=An.forwardRef((t,e)=>{const{__scopeMenubar:n,...r}=t,o=Ar(n);return Z.jsx(x9,{...o,...r,ref:e})});j9.displayName=cq;var uq="MenubarItemIndicator",H9=An.forwardRef((t,e)=>{const{__scopeMenubar:n,...r}=t,o=Ar(n);return Z.jsx(S9,{...o,...r,ref:e})});H9.displayName=uq;var dq="MenubarSeparator",W9=An.forwardRef((t,e)=>{const{__scopeMenubar:n,...r}=t,o=Ar(n);return Z.jsx(C9,{...o,...r,ref:e})});W9.displayName=dq;var fq="MenubarArrow",pq=An.forwardRef((t,e)=>{const{__scopeMenubar:n,...r}=t,o=Ar(n);return Z.jsx(E9,{...o,...r,ref:e})});pq.displayName=fq;var q9="MenubarSub",U9=t=>{const{__scopeMenubar:e,children:n,open:r,onOpenChange:o,defaultOpen:a}=t,i=Ar(e),[s,l]=Xo({prop:r,defaultProp:a??!1,onChange:o,caller:q9});return Z.jsx(M9,{...i,open:s,onOpenChange:l,children:n})};U9.displayName=q9;var hq="MenubarSubTrigger",Y9=An.forwardRef((t,e)=>{const{__scopeMenubar:n,...r}=t,o=Ar(n);return Z.jsx(k9,{"data-radix-menubar-subtrigger":"",...o,...r,ref:e})});Y9.displayName=hq;var mq="MenubarSubContent",G9=An.forwardRef((t,e)=>{const{__scopeMenubar:n,...r}=t,o=Ar(n);return Z.jsx(R9,{...o,"data-radix-menubar-content":"",...r,ref:e,style:{...t.style,"--radix-menubar-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-menubar-content-available-width":"var(--radix-popper-available-width)","--radix-menubar-content-available-height":"var(--radix-popper-available-height)","--radix-menubar-trigger-width":"var(--radix-popper-anchor-width)","--radix-menubar-trigger-height":"var(--radix-popper-anchor-height)"}})});G9.displayName=mq;function gq(t,e){return t.map((n,r)=>t[(e+r)%t.length])}var vq=P9,wq=I9,bq=O9,K9=L9,yq=$9,_q=D9,xq=B9,Sq=z9,Cq=F9,Eq=V9,Mq=j9,X9=H9,kq=W9,Rq=U9,Tq=Y9,Nq=G9;/**
|
|
128
|
-
* @license lucide-react v0.486.0 - ISC
|
|
129
|
-
*
|
|
130
|
-
* This source code is licensed under the ISC license.
|
|
131
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
132
|
-
*/const Pq=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Aq=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,n,r)=>r?r.toUpperCase():n.toLowerCase()),r4=t=>{const e=Aq(t);return e.charAt(0).toUpperCase()+e.slice(1)},Z9=(...t)=>t.filter((e,n,r)=>!!e&&e.trim()!==""&&r.indexOf(e)===n).join(" ").trim();/**
|
|
133
|
-
* @license lucide-react v0.486.0 - ISC
|
|
134
|
-
*
|
|
135
|
-
* This source code is licensed under the ISC license.
|
|
136
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
137
|
-
*/var Iq={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"};/**
|
|
138
|
-
* @license lucide-react v0.486.0 - ISC
|
|
139
|
-
*
|
|
140
|
-
* This source code is licensed under the ISC license.
|
|
141
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
142
|
-
*/const{forwardRef:Oq,createElement:o4}=await q("react"),Lq=Oq(({color:t="currentColor",size:e=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:o="",children:a,iconNode:i,...s},l)=>o4("svg",{ref:l,...Iq,width:e,height:e,stroke:t,strokeWidth:r?Number(n)*24/Number(e):n,className:Z9("lucide",o),...s},[...i.map(([u,d])=>o4(u,d)),...Array.isArray(a)?a:[a]]));/**
|
|
143
|
-
* @license lucide-react v0.486.0 - ISC
|
|
144
|
-
*
|
|
145
|
-
* This source code is licensed under the ISC license.
|
|
146
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
147
|
-
*/const{forwardRef:$q,createElement:Dq}=await q("react"),Q9=(t,e)=>{const n=$q(({className:r,...o},a)=>Dq(Lq,{ref:a,iconNode:e,className:Z9(`lucide-${Pq(r4(t))}`,`lucide-${t}`,r),...o}));return n.displayName=r4(t),n};/**
|
|
148
|
-
* @license lucide-react v0.486.0 - ISC
|
|
149
|
-
*
|
|
150
|
-
* This source code is licensed under the ISC license.
|
|
151
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
152
|
-
*/const Bq=[["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"}]],zq=Q9("rotate-cw",Bq);/**
|
|
153
|
-
* @license lucide-react v0.486.0 - ISC
|
|
154
|
-
*
|
|
155
|
-
* This source code is licensed under the ISC license.
|
|
156
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
157
|
-
*/const Fq=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],J9=Q9("x",Fq);function $w(t,[e,n]){return Math.min(n,Math.max(e,t))}const Mt=await q("react"),Vq=await q("react");function jq(t,e){return Vq.useReducer((n,r)=>e[n][r]??n,t)}var Dw="ScrollArea",[eS]=Ko(Dw),[Hq,Zo]=eS(Dw),tS=Mt.forwardRef((t,e)=>{const{__scopeScrollArea:n,type:r="hover",dir:o,scrollHideDelay:a=600,...i}=t,[s,l]=Mt.useState(null),[u,d]=Mt.useState(null),[f,m]=Mt.useState(null),[v,g]=Mt.useState(null),[w,y]=Mt.useState(null),[_,S]=Mt.useState(0),[x,C]=Mt.useState(0),[M,A]=Mt.useState(!1),[O,D]=Mt.useState(!1),T=ln(e,$=>l($)),R=Jl(o);return Z.jsx(Hq,{scope:n,type:r,dir:R,scrollHideDelay:a,scrollArea:s,viewport:u,onViewportChange:d,content:f,onContentChange:m,scrollbarX:v,onScrollbarXChange:g,scrollbarXEnabled:M,onScrollbarXEnabledChange:A,scrollbarY:w,onScrollbarYChange:y,scrollbarYEnabled:O,onScrollbarYEnabledChange:D,onCornerWidthChange:S,onCornerHeightChange:C,children:Z.jsx(Wt.div,{dir:R,...i,ref:T,style:{position:"relative","--radix-scroll-area-corner-width":_+"px","--radix-scroll-area-corner-height":x+"px",...t.style}})})});tS.displayName=Dw;var nS="ScrollAreaViewport",rS=Mt.forwardRef((t,e)=>{const{__scopeScrollArea:n,children:r,nonce:o,...a}=t,i=Zo(nS,n),s=Mt.useRef(null),l=ln(e,s,i.onViewportChange);return Z.jsxs(Z.Fragment,{children:[Z.jsx("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"},nonce:o}),Z.jsx(Wt.div,{"data-radix-scroll-area-viewport":"",...a,ref:l,style:{overflowX:i.scrollbarXEnabled?"scroll":"hidden",overflowY:i.scrollbarYEnabled?"scroll":"hidden",...t.style},children:Z.jsx("div",{ref:i.onContentChange,style:{minWidth:"100%",display:"table"},children:r})})]})});rS.displayName=nS;var ci="ScrollAreaScrollbar",oS=Mt.forwardRef((t,e)=>{const{forceMount:n,...r}=t,o=Zo(ci,t.__scopeScrollArea),{onScrollbarXEnabledChange:a,onScrollbarYEnabledChange:i}=o,s=t.orientation==="horizontal";return Mt.useEffect(()=>(s?a(!0):i(!0),()=>{s?a(!1):i(!1)}),[s,a,i]),o.type==="hover"?Z.jsx(Wq,{...r,ref:e,forceMount:n}):o.type==="scroll"?Z.jsx(qq,{...r,ref:e,forceMount:n}):o.type==="auto"?Z.jsx(aS,{...r,ref:e,forceMount:n}):o.type==="always"?Z.jsx(Bw,{...r,ref:e}):null});oS.displayName=ci;var Wq=Mt.forwardRef((t,e)=>{const{forceMount:n,...r}=t,o=Zo(ci,t.__scopeScrollArea),[a,i]=Mt.useState(!1);return Mt.useEffect(()=>{const s=o.scrollArea;let l=0;if(s){const u=()=>{window.clearTimeout(l),i(!0)},d=()=>{l=window.setTimeout(()=>i(!1),o.scrollHideDelay)};return s.addEventListener("pointerenter",u),s.addEventListener("pointerleave",d),()=>{window.clearTimeout(l),s.removeEventListener("pointerenter",u),s.removeEventListener("pointerleave",d)}}},[o.scrollArea,o.scrollHideDelay]),Z.jsx(No,{present:n||a,children:Z.jsx(aS,{"data-state":a?"visible":"hidden",...r,ref:e})})}),qq=Mt.forwardRef((t,e)=>{const{forceMount:n,...r}=t,o=Zo(ci,t.__scopeScrollArea),a=t.orientation==="horizontal",i=gh(()=>l("SCROLL_END"),100),[s,l]=jq("hidden",{hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}});return Mt.useEffect(()=>{if(s==="idle"){const u=window.setTimeout(()=>l("HIDE"),o.scrollHideDelay);return()=>window.clearTimeout(u)}},[s,o.scrollHideDelay,l]),Mt.useEffect(()=>{const u=o.viewport,d=a?"scrollLeft":"scrollTop";if(u){let f=u[d];const m=()=>{const v=u[d];f!==v&&(l("SCROLL"),i()),f=v};return u.addEventListener("scroll",m),()=>u.removeEventListener("scroll",m)}},[o.viewport,a,l,i]),Z.jsx(No,{present:n||s!=="hidden",children:Z.jsx(Bw,{"data-state":s==="hidden"?"hidden":"visible",...r,ref:e,onPointerEnter:it(t.onPointerEnter,()=>l("POINTER_ENTER")),onPointerLeave:it(t.onPointerLeave,()=>l("POINTER_LEAVE"))})})}),aS=Mt.forwardRef((t,e)=>{const n=Zo(ci,t.__scopeScrollArea),{forceMount:r,...o}=t,[a,i]=Mt.useState(!1),s=t.orientation==="horizontal",l=gh(()=>{if(n.viewport){const u=n.viewport.offsetWidth<n.viewport.scrollWidth,d=n.viewport.offsetHeight<n.viewport.scrollHeight;i(s?u:d)}},10);return yu(n.viewport,l),yu(n.content,l),Z.jsx(No,{present:r||a,children:Z.jsx(Bw,{"data-state":a?"visible":"hidden",...o,ref:e})})}),Bw=Mt.forwardRef((t,e)=>{const{orientation:n="vertical",...r}=t,o=Zo(ci,t.__scopeScrollArea),a=Mt.useRef(null),i=Mt.useRef(0),[s,l]=Mt.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),u=uS(s.viewport,s.content),d={...r,sizes:s,onSizesChange:l,hasThumb:u>0&&u<1,onThumbChange:m=>a.current=m,onThumbPointerUp:()=>i.current=0,onThumbPointerDown:m=>i.current=m};function f(m,v){return Zq(m,i.current,s,v)}return n==="horizontal"?Z.jsx(Uq,{...d,ref:e,onThumbPositionChange:()=>{if(o.viewport&&a.current){const m=o.viewport.scrollLeft,v=a4(m,s,o.dir);a.current.style.transform=`translate3d(${v}px, 0, 0)`}},onWheelScroll:m=>{o.viewport&&(o.viewport.scrollLeft=m)},onDragScroll:m=>{o.viewport&&(o.viewport.scrollLeft=f(m,o.dir))}}):n==="vertical"?Z.jsx(Yq,{...d,ref:e,onThumbPositionChange:()=>{if(o.viewport&&a.current){const m=o.viewport.scrollTop,v=a4(m,s);a.current.style.transform=`translate3d(0, ${v}px, 0)`}},onWheelScroll:m=>{o.viewport&&(o.viewport.scrollTop=m)},onDragScroll:m=>{o.viewport&&(o.viewport.scrollTop=f(m))}}):null}),Uq=Mt.forwardRef((t,e)=>{const{sizes:n,onSizesChange:r,...o}=t,a=Zo(ci,t.__scopeScrollArea),[i,s]=Mt.useState(),l=Mt.useRef(null),u=ln(e,l,a.onScrollbarXChange);return Mt.useEffect(()=>{l.current&&s(getComputedStyle(l.current))},[l]),Z.jsx(sS,{"data-orientation":"horizontal",...o,ref:u,sizes:n,style:{bottom:0,left:a.dir==="rtl"?"var(--radix-scroll-area-corner-width)":0,right:a.dir==="ltr"?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":mh(n)+"px",...t.style},onThumbPointerDown:d=>t.onThumbPointerDown(d.x),onDragScroll:d=>t.onDragScroll(d.x),onWheelScroll:(d,f)=>{if(a.viewport){const m=a.viewport.scrollLeft+d.deltaX;t.onWheelScroll(m),fS(m,f)&&d.preventDefault()}},onResize:()=>{l.current&&a.viewport&&i&&r({content:a.viewport.scrollWidth,viewport:a.viewport.offsetWidth,scrollbar:{size:l.current.clientWidth,paddingStart:P0(i.paddingLeft),paddingEnd:P0(i.paddingRight)}})}})}),Yq=Mt.forwardRef((t,e)=>{const{sizes:n,onSizesChange:r,...o}=t,a=Zo(ci,t.__scopeScrollArea),[i,s]=Mt.useState(),l=Mt.useRef(null),u=ln(e,l,a.onScrollbarYChange);return Mt.useEffect(()=>{l.current&&s(getComputedStyle(l.current))},[l]),Z.jsx(sS,{"data-orientation":"vertical",...o,ref:u,sizes:n,style:{top:0,right:a.dir==="ltr"?0:void 0,left:a.dir==="rtl"?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":mh(n)+"px",...t.style},onThumbPointerDown:d=>t.onThumbPointerDown(d.y),onDragScroll:d=>t.onDragScroll(d.y),onWheelScroll:(d,f)=>{if(a.viewport){const m=a.viewport.scrollTop+d.deltaY;t.onWheelScroll(m),fS(m,f)&&d.preventDefault()}},onResize:()=>{l.current&&a.viewport&&i&&r({content:a.viewport.scrollHeight,viewport:a.viewport.offsetHeight,scrollbar:{size:l.current.clientHeight,paddingStart:P0(i.paddingTop),paddingEnd:P0(i.paddingBottom)}})}})}),[Gq,iS]=eS(ci),sS=Mt.forwardRef((t,e)=>{const{__scopeScrollArea:n,sizes:r,hasThumb:o,onThumbChange:a,onThumbPointerUp:i,onThumbPointerDown:s,onThumbPositionChange:l,onDragScroll:u,onWheelScroll:d,onResize:f,...m}=t,v=Zo(ci,n),[g,w]=Mt.useState(null),y=ln(e,T=>w(T)),_=Mt.useRef(null),S=Mt.useRef(""),x=v.viewport,C=r.content-r.viewport,M=vr(d),A=vr(l),O=gh(f,10);function D(T){if(_.current){const R=T.clientX-_.current.left,$=T.clientY-_.current.top;u({x:R,y:$})}}return Mt.useEffect(()=>{const T=R=>{const $=R.target;g?.contains($)&&M(R,C)};return document.addEventListener("wheel",T,{passive:!1}),()=>document.removeEventListener("wheel",T,{passive:!1})},[x,g,C,M]),Mt.useEffect(A,[r,A]),yu(g,O),yu(v.content,O),Z.jsx(Gq,{scope:n,scrollbar:g,hasThumb:o,onThumbChange:vr(a),onThumbPointerUp:vr(i),onThumbPositionChange:A,onThumbPointerDown:vr(s),children:Z.jsx(Wt.div,{...m,ref:y,style:{position:"absolute",...m.style},onPointerDown:it(t.onPointerDown,T=>{T.button===0&&(T.target.setPointerCapture(T.pointerId),_.current=g.getBoundingClientRect(),S.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",v.viewport&&(v.viewport.style.scrollBehavior="auto"),D(T))}),onPointerMove:it(t.onPointerMove,D),onPointerUp:it(t.onPointerUp,T=>{const R=T.target;R.hasPointerCapture(T.pointerId)&&R.releasePointerCapture(T.pointerId),document.body.style.webkitUserSelect=S.current,v.viewport&&(v.viewport.style.scrollBehavior=""),_.current=null})})})}),N0="ScrollAreaThumb",lS=Mt.forwardRef((t,e)=>{const{forceMount:n,...r}=t,o=iS(N0,t.__scopeScrollArea);return Z.jsx(No,{present:n||o.hasThumb,children:Z.jsx(Kq,{ref:e,...r})})}),Kq=Mt.forwardRef((t,e)=>{const{__scopeScrollArea:n,style:r,...o}=t,a=Zo(N0,n),i=iS(N0,n),{onThumbPositionChange:s}=i,l=ln(e,f=>i.onThumbChange(f)),u=Mt.useRef(void 0),d=gh(()=>{u.current&&(u.current(),u.current=void 0)},100);return Mt.useEffect(()=>{const f=a.viewport;if(f){const m=()=>{if(d(),!u.current){const v=Qq(f,s);u.current=v,s()}};return s(),f.addEventListener("scroll",m),()=>f.removeEventListener("scroll",m)}},[a.viewport,d,s]),Z.jsx(Wt.div,{"data-state":i.hasThumb?"visible":"hidden",...o,ref:l,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...r},onPointerDownCapture:it(t.onPointerDownCapture,f=>{const v=f.target.getBoundingClientRect(),g=f.clientX-v.left,w=f.clientY-v.top;i.onThumbPointerDown({x:g,y:w})}),onPointerUp:it(t.onPointerUp,i.onThumbPointerUp)})});lS.displayName=N0;var zw="ScrollAreaCorner",cS=Mt.forwardRef((t,e)=>{const n=Zo(zw,t.__scopeScrollArea),r=!!(n.scrollbarX&&n.scrollbarY);return n.type!=="scroll"&&r?Z.jsx(Xq,{...t,ref:e}):null});cS.displayName=zw;var Xq=Mt.forwardRef((t,e)=>{const{__scopeScrollArea:n,...r}=t,o=Zo(zw,n),[a,i]=Mt.useState(0),[s,l]=Mt.useState(0),u=!!(a&&s);return yu(o.scrollbarX,()=>{const d=o.scrollbarX?.offsetHeight||0;o.onCornerHeightChange(d),l(d)}),yu(o.scrollbarY,()=>{const d=o.scrollbarY?.offsetWidth||0;o.onCornerWidthChange(d),i(d)}),u?Z.jsx(Wt.div,{...r,ref:e,style:{width:a,height:s,position:"absolute",right:o.dir==="ltr"?0:void 0,left:o.dir==="rtl"?0:void 0,bottom:0,...t.style}}):null});function P0(t){return t?parseInt(t,10):0}function uS(t,e){const n=t/e;return isNaN(n)?0:n}function mh(t){const e=uS(t.viewport,t.content),n=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,r=(t.scrollbar.size-n)*e;return Math.max(r,18)}function Zq(t,e,n,r="ltr"){const o=mh(n),a=o/2,i=e||a,s=o-i,l=n.scrollbar.paddingStart+i,u=n.scrollbar.size-n.scrollbar.paddingEnd-s,d=n.content-n.viewport,f=r==="ltr"?[0,d]:[d*-1,0];return dS([l,u],f)(t)}function a4(t,e,n="ltr"){const r=mh(e),o=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,a=e.scrollbar.size-o,i=e.content-e.viewport,s=a-r,l=n==="ltr"?[0,i]:[i*-1,0],u=$w(t,l);return dS([0,i],[0,s])(u)}function dS(t,e){return n=>{if(t[0]===t[1]||e[0]===e[1])return e[0];const r=(e[1]-e[0])/(t[1]-t[0]);return e[0]+r*(n-t[0])}}function fS(t,e){return t>0&&t<e}var Qq=(t,e=()=>{})=>{let n={left:t.scrollLeft,top:t.scrollTop},r=0;return(function o(){const a={left:t.scrollLeft,top:t.scrollTop},i=n.left!==a.left,s=n.top!==a.top;(i||s)&&e(),n=a,r=window.requestAnimationFrame(o)})(),()=>window.cancelAnimationFrame(r)};function gh(t,e){const n=vr(t),r=Mt.useRef(0);return Mt.useEffect(()=>()=>window.clearTimeout(r.current),[]),Mt.useCallback(()=>{window.clearTimeout(r.current),r.current=window.setTimeout(n,e)},[n,e])}function yu(t,e){const n=vr(e);ji(()=>{let r=0;if(t){const o=new ResizeObserver(()=>{cancelAnimationFrame(r),r=window.requestAnimationFrame(n)});return o.observe(t),()=>{window.cancelAnimationFrame(r),o.unobserve(t)}}},[t,n])}var Jq=tS,eU=rS,tU=cS;const nU=await q("react"),{useState:rU}=await q("react");function xhe({className:t,viewportClassName:e,children:n,...r}){return ne(Jq,{"data-slot":"scroll-area",className:se("relative",t),...r,children:[h(eU,{"data-slot":"scroll-area-viewport",className:se("focus-visible:ring-ring/50 size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:outline-1",e),children:n}),h(oU,{}),h(tU,{})]})}function oU({className:t,orientation:e="vertical",...n}){const{theme:r}=ah()??{theme:"light"},[o,a]=rU(r);return nU.useLayoutEffect(()=>{const i=r||document.body.getAttribute("data-theme");i&&a(i)},[r]),h(oS,{"data-slot":"scroll-area-scrollbar",orientation:e,className:se("flex touch-none p-px transition-colors select-none",e==="vertical"&&"h-full w-2 border-l border-l-transparent",e==="horizontal"&&"h-2.5 flex-col border-t border-t-transparent",t),...n,children:h(lS,{"data-slot":"scroll-area-thumb",className:se("bg-border relative flex-1 rounded-full",{"bg-border-subtle":o==="dark"})})})}const i4=await q("react");function pS(t){const e=i4.useRef({value:t,previous:t});return i4.useMemo(()=>(e.current.value!==t&&(e.current.previous=e.current.value,e.current.value=t),e.current.previous),[t])}const Bn=await q("react");var hS=["PageUp","PageDown"],mS=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],gS={"from-left":["Home","PageDown","ArrowDown","ArrowLeft"],"from-right":["Home","PageDown","ArrowDown","ArrowRight"],"from-bottom":["Home","PageDown","ArrowDown","ArrowLeft"],"from-top":["Home","PageDown","ArrowUp","ArrowLeft"]},Ou="Slider",[pv,aU,iU]=ih(Ou),[vS]=Ko(Ou,[iU]),[sU,vh]=vS(Ou),wS=Bn.forwardRef((t,e)=>{const{name:n,min:r=0,max:o=100,step:a=1,orientation:i="horizontal",disabled:s=!1,minStepsBetweenThumbs:l=0,defaultValue:u=[r],value:d,onValueChange:f=()=>{},onValueCommit:m=()=>{},inverted:v=!1,form:g,...w}=t,y=Bn.useRef(new Set),_=Bn.useRef(0),x=i==="horizontal"?lU:cU,[C=[],M]=Xo({prop:d,defaultProp:u,onChange:$=>{[...y.current][_.current]?.focus(),f($)}}),A=Bn.useRef(C);function O($){const P=hU(C,$);R($,P)}function D($){R($,_.current)}function T(){const $=A.current[_.current];C[_.current]!==$&&m(C)}function R($,P,{commit:I}={commit:!1}){const L=wU(a),V=bU(Math.round(($-r)/a)*a+r,L),F=$w(V,[r,o]);M((z=[])=>{const B=fU(z,F,P);if(vU(B,l*a)){_.current=B.indexOf(F);const Y=String(B)!==String(z);return Y&&I&&m(B),Y?B:z}else return z})}return Z.jsx(sU,{scope:t.__scopeSlider,name:n,disabled:s,min:r,max:o,valueIndexToChangeRef:_,thumbs:y.current,values:C,orientation:i,form:g,children:Z.jsx(pv.Provider,{scope:t.__scopeSlider,children:Z.jsx(pv.Slot,{scope:t.__scopeSlider,children:Z.jsx(x,{"aria-disabled":s,"data-disabled":s?"":void 0,...w,ref:e,onPointerDown:it(w.onPointerDown,()=>{s||(A.current=C)}),min:r,max:o,inverted:v,onSlideStart:s?void 0:O,onSlideMove:s?void 0:D,onSlideEnd:s?void 0:T,onHomeKeyDown:()=>!s&&R(r,0,{commit:!0}),onEndKeyDown:()=>!s&&R(o,C.length-1,{commit:!0}),onStepKeyDown:({event:$,direction:P})=>{if(!s){const V=hS.includes($.key)||$.shiftKey&&mS.includes($.key)?10:1,F=_.current,z=C[F],B=a*V*P;R(z+B,F,{commit:!0})}}})})})})});wS.displayName=Ou;var[bS,yS]=vS(Ou,{startEdge:"left",endEdge:"right",size:"width",direction:1}),lU=Bn.forwardRef((t,e)=>{const{min:n,max:r,dir:o,inverted:a,onSlideStart:i,onSlideMove:s,onSlideEnd:l,onStepKeyDown:u,...d}=t,[f,m]=Bn.useState(null),v=ln(e,x=>m(x)),g=Bn.useRef(void 0),w=Jl(o),y=w==="ltr",_=y&&!a||!y&&a;function S(x){const C=g.current||f.getBoundingClientRect(),M=[0,C.width],O=Fw(M,_?[n,r]:[r,n]);return g.current=C,O(x-C.left)}return Z.jsx(bS,{scope:t.__scopeSlider,startEdge:_?"left":"right",endEdge:_?"right":"left",direction:_?1:-1,size:"width",children:Z.jsx(_S,{dir:w,"data-orientation":"horizontal",...d,ref:v,style:{...d.style,"--radix-slider-thumb-transform":"translateX(-50%)"},onSlideStart:x=>{const C=S(x.clientX);i?.(C)},onSlideMove:x=>{const C=S(x.clientX);s?.(C)},onSlideEnd:()=>{g.current=void 0,l?.()},onStepKeyDown:x=>{const M=gS[_?"from-left":"from-right"].includes(x.key);u?.({event:x,direction:M?-1:1})}})})}),cU=Bn.forwardRef((t,e)=>{const{min:n,max:r,inverted:o,onSlideStart:a,onSlideMove:i,onSlideEnd:s,onStepKeyDown:l,...u}=t,d=Bn.useRef(null),f=ln(e,d),m=Bn.useRef(void 0),v=!o;function g(w){const y=m.current||d.current.getBoundingClientRect(),_=[0,y.height],x=Fw(_,v?[r,n]:[n,r]);return m.current=y,x(w-y.top)}return Z.jsx(bS,{scope:t.__scopeSlider,startEdge:v?"bottom":"top",endEdge:v?"top":"bottom",size:"height",direction:v?1:-1,children:Z.jsx(_S,{"data-orientation":"vertical",...u,ref:f,style:{...u.style,"--radix-slider-thumb-transform":"translateY(50%)"},onSlideStart:w=>{const y=g(w.clientY);a?.(y)},onSlideMove:w=>{const y=g(w.clientY);i?.(y)},onSlideEnd:()=>{m.current=void 0,s?.()},onStepKeyDown:w=>{const _=gS[v?"from-bottom":"from-top"].includes(w.key);l?.({event:w,direction:_?-1:1})}})})}),_S=Bn.forwardRef((t,e)=>{const{__scopeSlider:n,onSlideStart:r,onSlideMove:o,onSlideEnd:a,onHomeKeyDown:i,onEndKeyDown:s,onStepKeyDown:l,...u}=t,d=vh(Ou,n);return Z.jsx(Wt.span,{...u,ref:e,onKeyDown:it(t.onKeyDown,f=>{f.key==="Home"?(i(f),f.preventDefault()):f.key==="End"?(s(f),f.preventDefault()):hS.concat(mS).includes(f.key)&&(l(f),f.preventDefault())}),onPointerDown:it(t.onPointerDown,f=>{const m=f.target;m.setPointerCapture(f.pointerId),f.preventDefault(),d.thumbs.has(m)?m.focus():r(f)}),onPointerMove:it(t.onPointerMove,f=>{f.target.hasPointerCapture(f.pointerId)&&o(f)}),onPointerUp:it(t.onPointerUp,f=>{const m=f.target;m.hasPointerCapture(f.pointerId)&&(m.releasePointerCapture(f.pointerId),a(f))})})}),xS="SliderTrack",SS=Bn.forwardRef((t,e)=>{const{__scopeSlider:n,...r}=t,o=vh(xS,n);return Z.jsx(Wt.span,{"data-disabled":o.disabled?"":void 0,"data-orientation":o.orientation,...r,ref:e})});SS.displayName=xS;var hv="SliderRange",CS=Bn.forwardRef((t,e)=>{const{__scopeSlider:n,...r}=t,o=vh(hv,n),a=yS(hv,n),i=Bn.useRef(null),s=ln(e,i),l=o.values.length,u=o.values.map(m=>kS(m,o.min,o.max)),d=l>1?Math.min(...u):0,f=100-Math.max(...u);return Z.jsx(Wt.span,{"data-orientation":o.orientation,"data-disabled":o.disabled?"":void 0,...r,ref:s,style:{...t.style,[a.startEdge]:d+"%",[a.endEdge]:f+"%"}})});CS.displayName=hv;var mv="SliderThumb",ES=Bn.forwardRef((t,e)=>{const n=aU(t.__scopeSlider),[r,o]=Bn.useState(null),a=ln(e,s=>o(s)),i=Bn.useMemo(()=>r?n().findIndex(s=>s.ref.current===r):-1,[n,r]);return Z.jsx(uU,{...t,ref:a,index:i})}),uU=Bn.forwardRef((t,e)=>{const{__scopeSlider:n,index:r,name:o,...a}=t,i=vh(mv,n),s=yS(mv,n),[l,u]=Bn.useState(null),d=ln(e,S=>u(S)),f=l?i.form||!!l.closest("form"):!0,m=yw(l),v=i.values[r],g=v===void 0?0:kS(v,i.min,i.max),w=pU(r,i.values.length),y=m?.[s.size],_=y?mU(y,g,s.direction):0;return Bn.useEffect(()=>{if(l)return i.thumbs.add(l),()=>{i.thumbs.delete(l)}},[l,i.thumbs]),Z.jsxs("span",{style:{transform:"var(--radix-slider-thumb-transform)",position:"absolute",[s.startEdge]:`calc(${g}% + ${_}px)`},children:[Z.jsx(pv.ItemSlot,{scope:t.__scopeSlider,children:Z.jsx(Wt.span,{role:"slider","aria-label":t["aria-label"]||w,"aria-valuemin":i.min,"aria-valuenow":v,"aria-valuemax":i.max,"aria-orientation":i.orientation,"data-orientation":i.orientation,"data-disabled":i.disabled?"":void 0,tabIndex:i.disabled?void 0:0,...a,ref:d,style:v===void 0?{display:"none"}:t.style,onFocus:it(t.onFocus,()=>{i.valueIndexToChangeRef.current=r})})}),f&&Z.jsx(MS,{name:o??(i.name?i.name+(i.values.length>1?"[]":""):void 0),form:i.form,value:v},r)]})});ES.displayName=mv;var dU="RadioBubbleInput",MS=Bn.forwardRef(({__scopeSlider:t,value:e,...n},r)=>{const o=Bn.useRef(null),a=ln(o,r),i=pS(e);return Bn.useEffect(()=>{const s=o.current;if(!s)return;const l=window.HTMLInputElement.prototype,d=Object.getOwnPropertyDescriptor(l,"value").set;if(i!==e&&d){const f=new Event("input",{bubbles:!0});d.call(s,e),s.dispatchEvent(f)}},[i,e]),Z.jsx(Wt.input,{style:{display:"none"},...n,ref:a,defaultValue:e})});MS.displayName=dU;function fU(t=[],e,n){const r=[...t];return r[n]=e,r.sort((o,a)=>o-a)}function kS(t,e,n){const a=100/(n-e)*(t-e);return $w(a,[0,100])}function pU(t,e){return e>2?`Value ${t+1} of ${e}`:e===2?["Minimum","Maximum"][t]:void 0}function hU(t,e){if(t.length===1)return 0;const n=t.map(o=>Math.abs(o-e)),r=Math.min(...n);return n.indexOf(r)}function mU(t,e,n){const r=t/2,a=Fw([0,50],[0,r]);return(r-a(e)*n)*n}function gU(t){return t.slice(0,-1).map((e,n)=>t[n+1]-e)}function vU(t,e){if(e>0){const n=gU(t);return Math.min(...n)>=e}return!0}function Fw(t,e){return n=>{if(t[0]===t[1]||e[0]===e[1])return e[0];const r=(e[1]-e[0])/(t[1]-t[0]);return e[0]+r*(n-t[0])}}function wU(t){return(String(t).split(".")[1]||"").length}function bU(t,e){const n=Math.pow(10,e);return Math.round(t*n)/n}var yU=wS,_U=SS,xU=CS,SU=ES;await q("react");const io=await q("react");function CU(t){const e=EU(t),n=io.forwardRef((r,o)=>{const{children:a,...i}=r,s=io.Children.toArray(a),l=s.find(kU);if(l){const u=l.props.children,d=s.map(f=>f===l?io.Children.count(u)>1?io.Children.only(null):io.isValidElement(u)?u.props.children:null:f);return Z.jsx(e,{...i,ref:o,children:io.isValidElement(u)?io.cloneElement(u,void 0,d):null})}return Z.jsx(e,{...i,ref:o,children:a})});return n.displayName=`${t}.Slot`,n}function EU(t){const e=io.forwardRef((n,r)=>{const{children:o,...a}=n;if(io.isValidElement(o)){const i=TU(o),s=RU(a,o.props);return o.type!==io.Fragment&&(s.ref=r?Gs(r,i):i),io.cloneElement(o,s)}return io.Children.count(o)>1?io.Children.only(null):null});return e.displayName=`${t}.SlotClone`,e}var MU=Symbol("radix.slottable");function kU(t){return io.isValidElement(t)&&typeof t.type=="function"&&"__radixId"in t.type&&t.type.__radixId===MU}function RU(t,e){const n={...e};for(const r in e){const o=t[r],a=e[r];/^on[A-Z]/.test(r)?o&&a?n[r]=(...s)=>{const l=a(...s);return o(...s),l}:o&&(n[r]=o):r==="style"?n[r]={...o,...a}:r==="className"&&(n[r]=[o,a].filter(Boolean).join(" "))}return{...t,...n}}function TU(t){let e=Object.getOwnPropertyDescriptor(t.props,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning;return n?t.ref:(e=Object.getOwnPropertyDescriptor(t,"ref")?.get,n=e&&"isReactWarning"in e&&e.isReactWarning,n?t.props.ref:t.props.ref||t.ref)}const Yn=await q("react");var wh="Dialog",[RS]=Ko(wh),[NU,Ra]=RS(wh),TS=t=>{const{__scopeDialog:e,children:n,open:r,defaultOpen:o,onOpenChange:a,modal:i=!0}=t,s=Yn.useRef(null),l=Yn.useRef(null),[u,d]=Xo({prop:r,defaultProp:o??!1,onChange:a,caller:wh});return Z.jsx(NU,{scope:e,triggerRef:s,contentRef:l,contentId:Uo(),titleId:Uo(),descriptionId:Uo(),open:u,onOpenChange:d,onOpenToggle:Yn.useCallback(()=>d(f=>!f),[d]),modal:i,children:n})};TS.displayName=wh;var NS="DialogTrigger",PS=Yn.forwardRef((t,e)=>{const{__scopeDialog:n,...r}=t,o=Ra(NS,n),a=ln(e,o.triggerRef);return Z.jsx(Wt.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":Hw(o.open),...r,ref:a,onClick:it(t.onClick,o.onOpenToggle)})});PS.displayName=NS;var Vw="DialogPortal",[PU,AS]=RS(Vw,{forceMount:void 0}),IS=t=>{const{__scopeDialog:e,forceMount:n,children:r,container:o}=t,a=Ra(Vw,e);return Z.jsx(PU,{scope:e,forceMount:n,children:Yn.Children.map(r,i=>Z.jsx(No,{present:n||a.open,children:Z.jsx(Sw,{asChild:!0,container:o,children:i})}))})};IS.displayName=Vw;var A0="DialogOverlay",OS=Yn.forwardRef((t,e)=>{const n=AS(A0,t.__scopeDialog),{forceMount:r=n.forceMount,...o}=t,a=Ra(A0,t.__scopeDialog);return a.modal?Z.jsx(No,{present:r||a.open,children:Z.jsx(IU,{...o,ref:e})}):null});OS.displayName=A0;var AU=CU("DialogOverlay.RemoveScroll"),IU=Yn.forwardRef((t,e)=>{const{__scopeDialog:n,...r}=t,o=Ra(A0,n);return Z.jsx(Cw,{as:AU,allowPinchZoom:!0,shards:[o.contentRef],children:Z.jsx(Wt.div,{"data-state":Hw(o.open),...r,ref:e,style:{pointerEvents:"auto",...r.style}})})}),Hl="DialogContent",LS=Yn.forwardRef((t,e)=>{const n=AS(Hl,t.__scopeDialog),{forceMount:r=n.forceMount,...o}=t,a=Ra(Hl,t.__scopeDialog);return Z.jsx(No,{present:r||a.open,children:a.modal?Z.jsx(OU,{...o,ref:e}):Z.jsx(LU,{...o,ref:e})})});LS.displayName=Hl;var OU=Yn.forwardRef((t,e)=>{const n=Ra(Hl,t.__scopeDialog),r=Yn.useRef(null),o=ln(e,n.contentRef,r);return Yn.useEffect(()=>{const a=r.current;if(a)return L8(a)},[]),Z.jsx($S,{...t,ref:o,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:it(t.onCloseAutoFocus,a=>{a.preventDefault(),n.triggerRef.current?.focus()}),onPointerDownOutside:it(t.onPointerDownOutside,a=>{const i=a.detail.originalEvent,s=i.button===0&&i.ctrlKey===!0;(i.button===2||s)&&a.preventDefault()}),onFocusOutside:it(t.onFocusOutside,a=>a.preventDefault())})}),LU=Yn.forwardRef((t,e)=>{const n=Ra(Hl,t.__scopeDialog),r=Yn.useRef(!1),o=Yn.useRef(!1);return Z.jsx($S,{...t,ref:e,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:a=>{t.onCloseAutoFocus?.(a),a.defaultPrevented||(r.current||n.triggerRef.current?.focus(),a.preventDefault()),r.current=!1,o.current=!1},onInteractOutside:a=>{t.onInteractOutside?.(a),a.defaultPrevented||(r.current=!0,a.detail.originalEvent.type==="pointerdown"&&(o.current=!0));const i=a.target;n.triggerRef.current?.contains(i)&&a.preventDefault(),a.detail.originalEvent.type==="focusin"&&o.current&&a.preventDefault()}})}),$S=Yn.forwardRef((t,e)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:o,onCloseAutoFocus:a,...i}=t,s=Ra(Hl,n),l=Yn.useRef(null),u=ln(e,l);return Q7(),Z.jsxs(Z.Fragment,{children:[Z.jsx(pw,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:o,onUnmountAutoFocus:a,children:Z.jsx(fw,{role:"dialog",id:s.contentId,"aria-describedby":s.descriptionId,"aria-labelledby":s.titleId,"data-state":Hw(s.open),...i,ref:u,onDismiss:()=>s.onOpenChange(!1)})}),Z.jsxs(Z.Fragment,{children:[Z.jsx($U,{titleId:s.titleId}),Z.jsx(BU,{contentRef:l,descriptionId:s.descriptionId})]})]})}),jw="DialogTitle",DS=Yn.forwardRef((t,e)=>{const{__scopeDialog:n,...r}=t,o=Ra(jw,n);return Z.jsx(Wt.h2,{id:o.titleId,...r,ref:e})});DS.displayName=jw;var BS="DialogDescription",zS=Yn.forwardRef((t,e)=>{const{__scopeDialog:n,...r}=t,o=Ra(BS,n);return Z.jsx(Wt.p,{id:o.descriptionId,...r,ref:e})});zS.displayName=BS;var FS="DialogClose",VS=Yn.forwardRef((t,e)=>{const{__scopeDialog:n,...r}=t,o=Ra(FS,n);return Z.jsx(Wt.button,{type:"button",...r,ref:e,onClick:it(t.onClick,()=>o.onOpenChange(!1))})});VS.displayName=FS;function Hw(t){return t?"open":"closed"}var jS="DialogTitleWarning",[She,HS]=vV(jS,{contentName:Hl,titleName:jw,docsSlug:"dialog"}),$U=({titleId:t})=>{const e=HS(jS),n=`\`${e.contentName}\` requires a \`${e.titleName}\` for the component to be accessible for screen reader users.
|
|
158
|
-
|
|
159
|
-
If you want to hide the \`${e.titleName}\`, you can wrap it with our VisuallyHidden component.
|
|
160
|
-
|
|
161
|
-
For more information, see https://radix-ui.com/primitives/docs/components/${e.docsSlug}`;return Yn.useEffect(()=>{t&&(document.getElementById(t)||console.error(n))},[n,t]),null},DU="DialogDescriptionWarning",BU=({contentRef:t,descriptionId:e})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${HS(DU).contentName}}.`;return Yn.useEffect(()=>{const o=t.current?.getAttribute("aria-describedby");e&&o&&(document.getElementById(e)||console.warn(r))},[r,t,e]),null},Mf=TS,Ww=PS,kf=IS,Rf=OS,Tf=LS,Nf=DS,Pf=zS,tc=VS;const zU=await q("react");function FU({...t}){return h(Mf,{"data-slot":"dialog",...t})}function VU({...t}){return h(kf,{"data-slot":"dialog-portal",...t})}const WS=zU.forwardRef(({className:t,...e},n)=>h(Rf,{"data-slot":"dialog-overlay",className:se("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50 will-change-[opacity]",t),...e,ref:n}));WS.displayName="ShadDialogOverlay";function jU({className:t,children:e,container:n,...r}){return ne(VU,{"data-slot":"dialog-portal",container:n||document.querySelector(".modal-container"),children:[h(WS,{onContextMenu:o=>o.preventDefault()}),ne(Tf,{"data-slot":"dialog-content",className:se("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 will-change-transform sm:max-w-xl",t),...r,children:[e,ne(tc,{"data-slot":"dialog-close",className:"btn-dialog-close text-fg-subtle hover:bg-fill-control-surface-hovered hover:text-fg-default focus-visible:outline-border-stronger absolute top-4 right-4 inline-flex size-6 cursor-pointer items-center justify-center rounded-xs opacity-80 transition-colors focus-visible:outline focus-visible:outline-1 focus-visible:outline-offset-[-1px] disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",tabIndex:-1,children:[h(J9,{}),h("span",{className:"sr-only",children:"Close"})]})]})]})}function HU({className:t,...e}){return h("div",{"data-slot":"dialog-header",className:se("text-default flex flex-col gap-2 text-center sm:text-left",t),...e})}function WU({className:t,...e}){return h("div",{"data-slot":"dialog-footer",className:se("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",t),...e})}function hg({className:t,...e}){return h(Nf,{"data-slot":"dialog-title",className:se("text-lg leading-none font-semibold",t),...e})}function mg({className:t,...e}){return h(Pf,{"data-slot":"dialog-description",className:se("text-muted-foreground text-sm",t),...e})}function qU(t){if(typeof document>"u")return;let e=document.head||document.getElementsByTagName("head")[0],n=document.createElement("style");n.type="text/css",e.appendChild(n),n.styleSheet?n.styleSheet.cssText=t:n.appendChild(document.createTextNode(t))}const UU=await q("react"),nt=await q("react"),{useLayoutEffect:YU,useEffect:GU,useMemo:KU}=nt,qS=nt.createContext({drawerRef:{current:null},overlayRef:{current:null},onPress:()=>{},onRelease:()=>{},onDrag:()=>{},onNestedDrag:()=>{},onNestedOpenChange:()=>{},onNestedRelease:()=>{},openProp:void 0,dismissible:!1,isOpen:!1,isDragging:!1,keyboardIsOpen:{current:!1},snapPointsOffset:null,snapPoints:null,handleOnly:!1,modal:!1,shouldFade:!1,activeSnapPoint:null,onOpenChange:()=>{},setActiveSnapPoint:()=>{},closeDrawer:()=>{},direction:"bottom",shouldAnimate:{current:!0},shouldScaleBackground:!1,setBackgroundColorOnScale:!0,noBodyStyles:!1,container:null,autoFocus:!1}),Af=()=>{const t=nt.useContext(qS);if(!t)throw new Error("useDrawerContext must be used within a Drawer.Root");return t};qU(`[data-vaul-drawer]{touch-action:none;will-change:transform;transition:transform .5s cubic-bezier(.32, .72, 0, 1);animation-duration:.5s;animation-timing-function:cubic-bezier(0.32,0.72,0,1)}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=bottom][data-state=open]{animation-name:slideFromBottom}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=bottom][data-state=closed]{animation-name:slideToBottom}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=top][data-state=open]{animation-name:slideFromTop}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=top][data-state=closed]{animation-name:slideToTop}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=left][data-state=open]{animation-name:slideFromLeft}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=left][data-state=closed]{animation-name:slideToLeft}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=right][data-state=open]{animation-name:slideFromRight}[data-vaul-drawer][data-vaul-snap-points=false][data-vaul-drawer-direction=right][data-state=closed]{animation-name:slideToRight}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=bottom]{transform:translate3d(0,var(--initial-transform,100%),0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=top]{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=left]{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}[data-vaul-drawer][data-vaul-snap-points=true][data-vaul-drawer-direction=right]{transform:translate3d(var(--initial-transform,100%),0,0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=top]{transform:translate3d(0,var(--snap-point-height,0),0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=bottom]{transform:translate3d(0,var(--snap-point-height,0),0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=left]{transform:translate3d(var(--snap-point-height,0),0,0)}[data-vaul-drawer][data-vaul-delayed-snap-points=true][data-vaul-drawer-direction=right]{transform:translate3d(var(--snap-point-height,0),0,0)}[data-vaul-overlay][data-vaul-snap-points=false]{animation-duration:.5s;animation-timing-function:cubic-bezier(0.32,0.72,0,1)}[data-vaul-overlay][data-vaul-snap-points=false][data-state=open]{animation-name:fadeIn}[data-vaul-overlay][data-state=closed]{animation-name:fadeOut}[data-vaul-animate=false]{animation:none!important}[data-vaul-overlay][data-vaul-snap-points=true]{opacity:0;transition:opacity .5s cubic-bezier(.32, .72, 0, 1)}[data-vaul-overlay][data-vaul-snap-points=true]{opacity:1}[data-vaul-drawer]:not([data-vaul-custom-container=true])::after{content:'';position:absolute;background:inherit;background-color:inherit}[data-vaul-drawer][data-vaul-drawer-direction=top]::after{top:initial;bottom:100%;left:0;right:0;height:200%}[data-vaul-drawer][data-vaul-drawer-direction=bottom]::after{top:100%;bottom:initial;left:0;right:0;height:200%}[data-vaul-drawer][data-vaul-drawer-direction=left]::after{left:initial;right:100%;top:0;bottom:0;width:200%}[data-vaul-drawer][data-vaul-drawer-direction=right]::after{left:100%;right:initial;top:0;bottom:0;width:200%}[data-vaul-overlay][data-vaul-snap-points=true]:not([data-vaul-snap-points-overlay=true]):not(
|
|
162
|
-
[data-state=closed]
|
|
163
|
-
){opacity:0}[data-vaul-overlay][data-vaul-snap-points-overlay=true]{opacity:1}[data-vaul-handle]{display:block;position:relative;opacity:.7;background:#e2e2e4;margin-left:auto;margin-right:auto;height:5px;width:32px;border-radius:1rem;touch-action:pan-y}[data-vaul-handle]:active,[data-vaul-handle]:hover{opacity:1}[data-vaul-handle-hitarea]{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:max(100%,2.75rem);height:max(100%,2.75rem);touch-action:inherit}@media (hover:hover) and (pointer:fine){[data-vaul-drawer]{user-select:none}}@media (pointer:fine){[data-vaul-handle-hitarea]:{width:100%;height:100%}}@keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes fadeOut{to{opacity:0}}@keyframes slideFromBottom{from{transform:translate3d(0,var(--initial-transform,100%),0)}to{transform:translate3d(0,0,0)}}@keyframes slideToBottom{to{transform:translate3d(0,var(--initial-transform,100%),0)}}@keyframes slideFromTop{from{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}to{transform:translate3d(0,0,0)}}@keyframes slideToTop{to{transform:translate3d(0,calc(var(--initial-transform,100%) * -1),0)}}@keyframes slideFromLeft{from{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}to{transform:translate3d(0,0,0)}}@keyframes slideToLeft{to{transform:translate3d(calc(var(--initial-transform,100%) * -1),0,0)}}@keyframes slideFromRight{from{transform:translate3d(var(--initial-transform,100%),0,0)}to{transform:translate3d(0,0,0)}}@keyframes slideToRight{to{transform:translate3d(var(--initial-transform,100%),0,0)}}`);function XU(){const t=navigator.userAgent;return typeof window<"u"&&(/Firefox/.test(t)&&/Mobile/.test(t)||/FxiOS/.test(t))}function ZU(){return qw(/^Mac/)}function QU(){return qw(/^iPhone/)}function s4(){return/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}function JU(){return qw(/^iPad/)||ZU()&&navigator.maxTouchPoints>1}function US(){return QU()||JU()}function qw(t){return typeof window<"u"&&window.navigator!=null?t.test(window.navigator.platform):void 0}const eY=24,tY=typeof window<"u"?YU:GU;function l4(...t){return(...e)=>{for(let n of t)typeof n=="function"&&n(...e)}}const gg=typeof document<"u"&&window.visualViewport;function c4(t){let e=window.getComputedStyle(t);return/(auto|scroll)/.test(e.overflow+e.overflowX+e.overflowY)}function YS(t){for(c4(t)&&(t=t.parentElement);t&&!c4(t);)t=t.parentElement;return t||document.scrollingElement||document.documentElement}const nY=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);let Kp=0,vg;function rY(t={}){let{isDisabled:e}=t;tY(()=>{if(!e)return Kp++,Kp===1&&US()&&(vg=oY()),()=>{Kp--,Kp===0&&vg?.()}},[e])}function oY(){let t,e=0,n=f=>{t=YS(f.target),!(t===document.documentElement&&t===document.body)&&(e=f.changedTouches[0].pageY)},r=f=>{if(!t||t===document.documentElement||t===document.body){f.preventDefault();return}let m=f.changedTouches[0].pageY,v=t.scrollTop,g=t.scrollHeight-t.clientHeight;g!==0&&((v<=0&&m>e||v>=g&&m<e)&&f.preventDefault(),e=m)},o=f=>{let m=f.target;gv(m)&&m!==document.activeElement&&(f.preventDefault(),m.style.transform="translateY(-2000px)",m.focus(),requestAnimationFrame(()=>{m.style.transform=""}))},a=f=>{let m=f.target;gv(m)&&(m.style.transform="translateY(-2000px)",requestAnimationFrame(()=>{m.style.transform="",gg&&(gg.height<window.innerHeight?requestAnimationFrame(()=>{u4(m)}):gg.addEventListener("resize",()=>u4(m),{once:!0}))}))},i=()=>{window.scrollTo(0,0)},s=window.pageXOffset,l=window.pageYOffset,u=l4(aY(document.documentElement,"paddingRight",`${window.innerWidth-document.documentElement.clientWidth}px`));window.scrollTo(0,0);let d=l4(dd(document,"touchstart",n,{passive:!1,capture:!0}),dd(document,"touchmove",r,{passive:!1,capture:!0}),dd(document,"touchend",o,{passive:!1,capture:!0}),dd(document,"focus",a,!0),dd(window,"scroll",i));return()=>{u(),d(),window.scrollTo(s,l)}}function aY(t,e,n){let r=t.style[e];return t.style[e]=n,()=>{t.style[e]=r}}function dd(t,e,n,r){return t.addEventListener(e,n,r),()=>{t.removeEventListener(e,n,r)}}function u4(t){let e=document.scrollingElement||document.documentElement;for(;t&&t!==e;){let n=YS(t);if(n!==document.documentElement&&n!==document.body&&n!==t){let r=n.getBoundingClientRect().top,o=t.getBoundingClientRect().top,a=t.getBoundingClientRect().bottom;const i=n.getBoundingClientRect().bottom+eY;a>i&&(n.scrollTop+=o-r)}t=n.parentElement}}function gv(t){return t instanceof HTMLInputElement&&!nY.has(t.type)||t instanceof HTMLTextAreaElement||t instanceof HTMLElement&&t.isContentEditable}function iY(t,e){typeof t=="function"?t(e):t!=null&&(t.current=e)}function sY(...t){return e=>t.forEach(n=>iY(n,e))}function GS(...t){return UU.useCallback(sY(...t),t)}const KS=new WeakMap;function ar(t,e,n=!1){if(!t||!(t instanceof HTMLElement))return;let r={};Object.entries(e).forEach(([o,a])=>{if(o.startsWith("--")){t.style.setProperty(o,a);return}r[o]=t.style[o],t.style[o]=a}),!n&&KS.set(t,r)}function lY(t,e){if(!t||!(t instanceof HTMLElement))return;let n=KS.get(t);n&&(t.style[e]=n[e])}const Kn=t=>{switch(t){case"top":case"bottom":return!0;case"left":case"right":return!1;default:return t}};function Xp(t,e){if(!t)return null;const n=window.getComputedStyle(t),r=n.transform||n.webkitTransform||n.mozTransform;let o=r.match(/^matrix3d\((.+)\)$/);return o?parseFloat(o[1].split(", ")[Kn(e)?13:12]):(o=r.match(/^matrix\((.+)\)$/),o?parseFloat(o[1].split(", ")[Kn(e)?5:4]):null)}function cY(t){return 8*(Math.log(t+1)-2)}function wg(t,e){if(!t)return()=>{};const n=t.style.cssText;return Object.assign(t.style,e),()=>{t.style.cssText=n}}function uY(...t){return(...e)=>{for(const n of t)typeof n=="function"&&n(...e)}}const Dn={DURATION:.5,EASE:[.32,.72,0,1]},XS=.4,dY=.25,fY=100,ZS=8,yl=16,vv=26,bg="vaul-dragging";function QS(t){const e=nt.useRef(t);return nt.useEffect(()=>{e.current=t}),nt.useMemo(()=>(...n)=>e.current==null?void 0:e.current.call(e,...n),[])}function pY({defaultProp:t,onChange:e}){const n=nt.useState(t),[r]=n,o=nt.useRef(r),a=QS(e);return nt.useEffect(()=>{o.current!==r&&(a(r),o.current=r)},[r,o,a]),n}function JS({prop:t,defaultProp:e,onChange:n=()=>{}}){const[r,o]=pY({defaultProp:e,onChange:n}),a=t!==void 0,i=a?t:r,s=QS(n),l=nt.useCallback(u=>{if(a){const f=typeof u=="function"?u(t):u;f!==t&&s(f)}else o(u)},[a,t,o,s]);return[i,l]}function hY({activeSnapPointProp:t,setActiveSnapPointProp:e,snapPoints:n,drawerRef:r,overlayRef:o,fadeFromIndex:a,onSnapPointChange:i,direction:s="bottom",container:l,snapToSequentialPoint:u}){const[d,f]=JS({prop:t,defaultProp:n?.[0],onChange:e}),[m,v]=nt.useState(typeof window<"u"?{innerWidth:window.innerWidth,innerHeight:window.innerHeight}:void 0);nt.useEffect(()=>{function O(){v({innerWidth:window.innerWidth,innerHeight:window.innerHeight})}return window.addEventListener("resize",O),()=>window.removeEventListener("resize",O)},[]);const g=nt.useMemo(()=>d===n?.[n.length-1]||null,[n,d]),w=nt.useMemo(()=>{var O;return(O=n?.findIndex(D=>D===d))!=null?O:null},[n,d]),y=n&&n.length>0&&(a||a===0)&&!Number.isNaN(a)&&n[a]===d||!n,_=nt.useMemo(()=>{const O=l?{width:l.getBoundingClientRect().width,height:l.getBoundingClientRect().height}:typeof window<"u"?{width:window.innerWidth,height:window.innerHeight}:{width:0,height:0};var D;return(D=n?.map(T=>{const R=typeof T=="string";let $=0;if(R&&($=parseInt(T,10)),Kn(s)){const I=R?$:m?T*O.height:0;return m?s==="bottom"?O.height-I:-O.height+I:I}const P=R?$:m?T*O.width:0;return m?s==="right"?O.width-P:-O.width+P:P}))!=null?D:[]},[n,m,l]),S=nt.useMemo(()=>w!==null?_?.[w]:null,[_,w]),x=nt.useCallback(O=>{var D;const T=(D=_?.findIndex(R=>R===O))!=null?D:null;i(T),ar(r.current,{transition:`transform ${Dn.DURATION}s cubic-bezier(${Dn.EASE.join(",")})`,transform:Kn(s)?`translate3d(0, ${O}px, 0)`:`translate3d(${O}px, 0, 0)`}),_&&T!==_.length-1&&a!==void 0&&T!==a&&T<a?ar(o.current,{transition:`opacity ${Dn.DURATION}s cubic-bezier(${Dn.EASE.join(",")})`,opacity:"0"}):ar(o.current,{transition:`opacity ${Dn.DURATION}s cubic-bezier(${Dn.EASE.join(",")})`,opacity:"1"}),f(n?.[Math.max(T,0)])},[r.current,n,_,a,o,f]);nt.useEffect(()=>{if(d||t){var O;const D=(O=n?.findIndex(T=>T===t||T===d))!=null?O:-1;_&&D!==-1&&typeof _[D]=="number"&&x(_[D])}},[d,t,n,_,x]);function C({draggedDistance:O,closeDrawer:D,velocity:T,dismissible:R}){if(a===void 0)return;const $=s==="bottom"||s==="right"?(S??0)-O:(S??0)+O,P=w===a-1,I=w===0,L=O>0;if(P&&ar(o.current,{transition:`opacity ${Dn.DURATION}s cubic-bezier(${Dn.EASE.join(",")})`}),!u&&T>2&&!L){R?D():x(_[0]);return}if(!u&&T>2&&L&&_&&n){x(_[n.length-1]);return}const V=_?.reduce((z,B)=>typeof z!="number"||typeof B!="number"?z:Math.abs(B-$)<Math.abs(z-$)?B:z),F=Kn(s)?window.innerHeight:window.innerWidth;if(T>XS&&Math.abs(O)<F*.4){const z=L?1:-1;if(z>0&&g&&n){x(_[n.length-1]);return}if(I&&z<0&&R&&D(),w===null)return;x(_[w+z]);return}x(V)}function M({draggedDistance:O}){if(S===null)return;const D=s==="bottom"||s==="right"?S-O:S+O;(s==="bottom"||s==="right")&&D<_[_.length-1]||(s==="top"||s==="left")&&D>_[_.length-1]||ar(r.current,{transform:Kn(s)?`translate3d(0, ${D}px, 0)`:`translate3d(${D}px, 0, 0)`})}function A(O,D){if(!n||typeof w!="number"||!_||a===void 0)return null;const T=w===a-1;if(w>=a&&D)return 0;if(T&&!D)return 1;if(!y&&!T)return null;const $=T?w+1:w-1,P=T?_[$]-_[$-1]:_[$+1]-_[$],I=O/Math.abs(P);return T?1-I:I}return{isLastSnapPoint:g,activeSnapPoint:d,shouldFade:y,getPercentageDragged:A,setActiveSnapPoint:f,activeSnapPointIndex:w,onRelease:C,onDrag:M,snapPointsOffset:_}}const mY=()=>()=>{};function gY(){const{direction:t,isOpen:e,shouldScaleBackground:n,setBackgroundColorOnScale:r,noBodyStyles:o}=Af(),a=nt.useRef(null),i=KU(()=>document.body.style.backgroundColor,[]);function s(){return(window.innerWidth-vv)/window.innerWidth}nt.useEffect(()=>{if(e&&n){a.current&&clearTimeout(a.current);const l=document.querySelector("[data-vaul-drawer-wrapper]")||document.querySelector("[vaul-drawer-wrapper]");if(!l)return;uY(r&&!o?wg(document.body,{background:"black"}):mY,wg(l,{transformOrigin:Kn(t)?"top":"left",transitionProperty:"transform, border-radius",transitionDuration:`${Dn.DURATION}s`,transitionTimingFunction:`cubic-bezier(${Dn.EASE.join(",")})`}));const u=wg(l,{borderRadius:`${ZS}px`,overflow:"hidden",...Kn(t)?{transform:`scale(${s()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`}:{transform:`scale(${s()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`}});return()=>{u(),a.current=window.setTimeout(()=>{i?document.body.style.background=i:document.body.style.removeProperty("background")},Dn.DURATION*1e3)}}},[e,n,i])}let fd=null;function vY({isOpen:t,modal:e,nested:n,hasBeenOpened:r,preventScrollRestoration:o,noBodyStyles:a}){const[i,s]=nt.useState(()=>typeof window<"u"?window.location.href:""),l=nt.useRef(0),u=nt.useCallback(()=>{if(s4()&&fd===null&&t&&!a){fd={position:document.body.style.position,top:document.body.style.top,left:document.body.style.left,height:document.body.style.height,right:"unset"};const{scrollX:f,innerHeight:m}=window;document.body.style.setProperty("position","fixed","important"),Object.assign(document.body.style,{top:`${-l.current}px`,left:`${-f}px`,right:"0px",height:"auto"}),window.setTimeout(()=>window.requestAnimationFrame(()=>{const v=m-window.innerHeight;v&&l.current>=m&&(document.body.style.top=`${-(l.current+v)}px`)}),300)}},[t]),d=nt.useCallback(()=>{if(s4()&&fd!==null&&!a){const f=-parseInt(document.body.style.top,10),m=-parseInt(document.body.style.left,10);Object.assign(document.body.style,fd),window.requestAnimationFrame(()=>{if(o&&i!==window.location.href){s(window.location.href);return}window.scrollTo(m,f)}),fd=null}},[i]);return nt.useEffect(()=>{function f(){l.current=window.scrollY}return f(),window.addEventListener("scroll",f),()=>{window.removeEventListener("scroll",f)}},[]),nt.useEffect(()=>{if(e)return()=>{typeof document>"u"||document.querySelector("[data-vaul-drawer]")||d()}},[e,d]),nt.useEffect(()=>{n||!r||(t?(!window.matchMedia("(display-mode: standalone)").matches&&u(),e||window.setTimeout(()=>{d()},500)):d())},[t,r,i,e,n,u,d]),{restorePositionSetting:d}}function wY({open:t,onOpenChange:e,children:n,onDrag:r,onRelease:o,snapPoints:a,shouldScaleBackground:i=!1,setBackgroundColorOnScale:s=!0,closeThreshold:l=dY,scrollLockTimeout:u=fY,dismissible:d=!0,handleOnly:f=!1,fadeFromIndex:m=a&&a.length-1,activeSnapPoint:v,setActiveSnapPoint:g,fixed:w,modal:y=!0,onClose:_,nested:S,noBodyStyles:x=!1,direction:C="bottom",defaultOpen:M=!1,disablePreventScroll:A=!0,snapToSequentialPoint:O=!1,preventScrollRestoration:D=!1,repositionInputs:T=!0,onAnimationEnd:R,container:$,autoFocus:P=!1}){var I,L;const[V=!1,F]=JS({defaultProp:M,prop:t,onChange:Ze=>{e?.(Ze),!Ze&&!S&&Jn(),setTimeout(()=>{R?.(Ze)},Dn.DURATION*1e3),Ze&&!y&&typeof window<"u"&&window.requestAnimationFrame(()=>{document.body.style.pointerEvents="auto"}),Ze||(document.body.style.pointerEvents="auto")}}),[z,B]=nt.useState(!1),[Y,U]=nt.useState(!1),[le,J]=nt.useState(!1),re=nt.useRef(null),te=nt.useRef(null),oe=nt.useRef(null),ee=nt.useRef(null),ue=nt.useRef(null),fe=nt.useRef(!1),ye=nt.useRef(null),we=nt.useRef(0),Ne=nt.useRef(!1),Ie=nt.useRef(!M),Pe=nt.useRef(0),he=nt.useRef(null),ge=nt.useRef(((I=he.current)==null?void 0:I.getBoundingClientRect().height)||0),be=nt.useRef(((L=he.current)==null?void 0:L.getBoundingClientRect().width)||0),Ue=nt.useRef(0),Ae=nt.useCallback(Ze=>{a&&Ze===mt.length-1&&(te.current=new Date)},[]),{activeSnapPoint:Ke,activeSnapPointIndex:Me,setActiveSnapPoint:at,onRelease:ut,snapPointsOffset:mt,onDrag:Ft,shouldFade:cn,getPercentageDragged:Sn}=hY({snapPoints:a,activeSnapPointProp:v,setActiveSnapPointProp:g,drawerRef:he,fadeFromIndex:m,overlayRef:re,onSnapPointChange:Ae,direction:C,container:$,snapToSequentialPoint:O});rY({isDisabled:!V||Y||!y||le||!z||!T||!A});const{restorePositionSetting:Jn}=vY({isOpen:V,modal:y,nested:S??!1,hasBeenOpened:z,preventScrollRestoration:D,noBodyStyles:x});function Gt(){return(window.innerWidth-vv)/window.innerWidth}function Tn(Ze){var Dt,jt;!d&&!a||he.current&&!he.current.contains(Ze.target)||(ge.current=((Dt=he.current)==null?void 0:Dt.getBoundingClientRect().height)||0,be.current=((jt=he.current)==null?void 0:jt.getBoundingClientRect().width)||0,U(!0),oe.current=new Date,US()&&window.addEventListener("touchend",()=>fe.current=!1,{once:!0}),Ze.target.setPointerCapture(Ze.pointerId),we.current=Kn(C)?Ze.pageY:Ze.pageX)}function Hn(Ze,Dt){var jt;let rt=Ze;const en=(jt=window.getSelection())==null?void 0:jt.toString(),Mn=he.current?Xp(he.current,C):null,_n=new Date;if(rt.tagName==="SELECT"||rt.hasAttribute("data-vaul-no-drag")||rt.closest("[data-vaul-no-drag]"))return!1;if(C==="right"||C==="left")return!0;if(te.current&&_n.getTime()-te.current.getTime()<500)return!1;if(Mn!==null&&(C==="bottom"?Mn>0:Mn<0))return!0;if(en&&en.length>0)return!1;if(ue.current&&_n.getTime()-ue.current.getTime()<u&&Mn===0||Dt)return ue.current=_n,!1;for(;rt;){if(rt.scrollHeight>rt.clientHeight){if(rt.scrollTop!==0)return ue.current=new Date,!1;if(rt.getAttribute("role")==="dialog")return!0}rt=rt.parentNode}return!0}function Rt(Ze){if(he.current&&Y){const Dt=C==="bottom"||C==="right"?1:-1,jt=(we.current-(Kn(C)?Ze.pageY:Ze.pageX))*Dt,rt=jt>0,en=a&&!d&&!rt;if(en&&Me===0)return;const Mn=Math.abs(jt),_n=document.querySelector("[data-vaul-drawer-wrapper]"),Pn=C==="bottom"||C==="top"?ge.current:be.current;let In=Mn/Pn;const On=Sn(Mn,rt);if(On!==null&&(In=On),en&&In>=1||!fe.current&&!Hn(Ze.target,rt))return;if(he.current.classList.add(bg),fe.current=!0,ar(he.current,{transition:"none"}),ar(re.current,{transition:"none"}),a&&Ft({draggedDistance:jt}),rt&&!a){const Nn=cY(jt),Or=Math.min(Nn*-1,0)*Dt;ar(he.current,{transform:Kn(C)?`translate3d(0, ${Or}px, 0)`:`translate3d(${Or}px, 0, 0)`});return}const sr=1-In;if((cn||m&&Me===m-1)&&(r?.(Ze,In),ar(re.current,{opacity:`${sr}`,transition:"none"},!0)),_n&&re.current&&i){const Nn=Math.min(Gt()+In*(1-Gt()),1),Or=8-In*8,zn=Math.max(0,14-In*14);ar(_n,{borderRadius:`${Or}px`,transform:Kn(C)?`scale(${Nn}) translate3d(0, ${zn}px, 0)`:`scale(${Nn}) translate3d(${zn}px, 0, 0)`,transition:"none"},!0)}if(!a){const Nn=Mn*Dt;ar(he.current,{transform:Kn(C)?`translate3d(0, ${Nn}px, 0)`:`translate3d(${Nn}px, 0, 0)`})}}}nt.useEffect(()=>{window.requestAnimationFrame(()=>{Ie.current=!0})},[]),nt.useEffect(()=>{var Ze;function Dt(){if(!he.current||!T)return;const jt=document.activeElement;if(gv(jt)||Ne.current){var rt;const en=((rt=window.visualViewport)==null?void 0:rt.height)||0,Mn=window.innerHeight;let _n=Mn-en;const Pn=he.current.getBoundingClientRect().height||0,In=Pn>Mn*.8;Ue.current||(Ue.current=Pn);const On=he.current.getBoundingClientRect().top;if(Math.abs(Pe.current-_n)>60&&(Ne.current=!Ne.current),a&&a.length>0&&mt&&Me){const sr=mt[Me]||0;_n+=sr}if(Pe.current=_n,Pn>en||Ne.current){const sr=he.current.getBoundingClientRect().height;let Nn=sr;sr>en&&(Nn=en-(In?On:vv)),w?he.current.style.height=`${sr-Math.max(_n,0)}px`:he.current.style.height=`${Math.max(Nn,en-On)}px`}else XU()||(he.current.style.height=`${Ue.current}px`);a&&a.length>0&&!Ne.current?he.current.style.bottom="0px":he.current.style.bottom=`${Math.max(_n,0)}px`}}return(Ze=window.visualViewport)==null||Ze.addEventListener("resize",Dt),()=>{var jt;return(jt=window.visualViewport)==null?void 0:jt.removeEventListener("resize",Dt)}},[Me,a,mt]);function Se(Ze){wt(),_?.(),Ze||F(!1),setTimeout(()=>{a&&at(a[0])},Dn.DURATION*1e3)}function qe(){if(!he.current)return;const Ze=document.querySelector("[data-vaul-drawer-wrapper]"),Dt=Xp(he.current,C);ar(he.current,{transform:"translate3d(0, 0, 0)",transition:`transform ${Dn.DURATION}s cubic-bezier(${Dn.EASE.join(",")})`}),ar(re.current,{transition:`opacity ${Dn.DURATION}s cubic-bezier(${Dn.EASE.join(",")})`,opacity:"1"}),i&&Dt&&Dt>0&&V&&ar(Ze,{borderRadius:`${ZS}px`,overflow:"hidden",...Kn(C)?{transform:`scale(${Gt()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`,transformOrigin:"top"}:{transform:`scale(${Gt()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`,transformOrigin:"left"},transitionProperty:"transform, border-radius",transitionDuration:`${Dn.DURATION}s`,transitionTimingFunction:`cubic-bezier(${Dn.EASE.join(",")})`},!0)}function wt(){!Y||!he.current||(he.current.classList.remove(bg),fe.current=!1,U(!1),ee.current=new Date)}function un(Ze){if(!Y||!he.current)return;he.current.classList.remove(bg),fe.current=!1,U(!1),ee.current=new Date;const Dt=Xp(he.current,C);if(!Ze||!Hn(Ze.target,!1)||!Dt||Number.isNaN(Dt)||oe.current===null)return;const jt=ee.current.getTime()-oe.current.getTime(),rt=we.current-(Kn(C)?Ze.pageY:Ze.pageX),en=Math.abs(rt)/jt;if(en>.05&&(J(!0),setTimeout(()=>{J(!1)},200)),a){ut({draggedDistance:rt*(C==="bottom"||C==="right"?1:-1),closeDrawer:Se,velocity:en,dismissible:d}),o?.(Ze,!0);return}if(C==="bottom"||C==="right"?rt>0:rt<0){qe(),o?.(Ze,!0);return}if(en>XS){Se(),o?.(Ze,!1);return}var Mn;const _n=Math.min((Mn=he.current.getBoundingClientRect().height)!=null?Mn:0,window.innerHeight);var Pn;const In=Math.min((Pn=he.current.getBoundingClientRect().width)!=null?Pn:0,window.innerWidth),On=C==="left"||C==="right";if(Math.abs(Dt)>=(On?In:_n)*l){Se(),o?.(Ze,!1);return}o?.(Ze,!0),qe()}nt.useEffect(()=>(V&&(ar(document.documentElement,{scrollBehavior:"auto"}),te.current=new Date),()=>{lY(document.documentElement,"scrollBehavior")}),[V]);function on(Ze){const Dt=Ze?(window.innerWidth-yl)/window.innerWidth:1,jt=Ze?-yl:0;ye.current&&window.clearTimeout(ye.current),ar(he.current,{transition:`transform ${Dn.DURATION}s cubic-bezier(${Dn.EASE.join(",")})`,transform:Kn(C)?`scale(${Dt}) translate3d(0, ${jt}px, 0)`:`scale(${Dt}) translate3d(${jt}px, 0, 0)`}),!Ze&&he.current&&(ye.current=setTimeout(()=>{const rt=Xp(he.current,C);ar(he.current,{transition:"none",transform:Kn(C)?`translate3d(0, ${rt}px, 0)`:`translate3d(${rt}px, 0, 0)`})},500))}function Ot(Ze,Dt){if(Dt<0)return;const jt=(window.innerWidth-yl)/window.innerWidth,rt=jt+Dt*(1-jt),en=-yl+Dt*yl;ar(he.current,{transform:Kn(C)?`scale(${rt}) translate3d(0, ${en}px, 0)`:`scale(${rt}) translate3d(${en}px, 0, 0)`,transition:"none"})}function ht(Ze,Dt){const jt=Kn(C)?window.innerHeight:window.innerWidth,rt=Dt?(jt-yl)/jt:1,en=Dt?-yl:0;Dt&&ar(he.current,{transition:`transform ${Dn.DURATION}s cubic-bezier(${Dn.EASE.join(",")})`,transform:Kn(C)?`scale(${rt}) translate3d(0, ${en}px, 0)`:`scale(${rt}) translate3d(${en}px, 0, 0)`})}return nt.useEffect(()=>{y||window.requestAnimationFrame(()=>{document.body.style.pointerEvents="auto"})},[y]),nt.createElement(Mf,{defaultOpen:M,onOpenChange:Ze=>{!d&&!Ze||(Ze?B(!0):Se(!0),F(Ze))},open:V},nt.createElement(qS.Provider,{value:{activeSnapPoint:Ke,snapPoints:a,setActiveSnapPoint:at,drawerRef:he,overlayRef:re,onOpenChange:e,onPress:Tn,onRelease:un,onDrag:Rt,dismissible:d,shouldAnimate:Ie,handleOnly:f,isOpen:V,isDragging:Y,shouldFade:cn,closeDrawer:Se,onNestedDrag:Ot,onNestedOpenChange:on,onNestedRelease:ht,keyboardIsOpen:Ne,modal:y,snapPointsOffset:mt,activeSnapPointIndex:Me,direction:C,shouldScaleBackground:i,setBackgroundColorOnScale:s,noBodyStyles:x,container:$,autoFocus:P}},n))}const eC=nt.forwardRef(function({...t},e){const{overlayRef:n,snapPoints:r,onRelease:o,shouldFade:a,isOpen:i,modal:s,shouldAnimate:l}=Af(),u=GS(e,n),d=r&&r.length>0;if(!s)return null;const f=nt.useCallback(m=>o(m),[o]);return nt.createElement(Rf,{onMouseUp:f,ref:u,"data-vaul-overlay":"","data-vaul-snap-points":i&&d?"true":"false","data-vaul-snap-points-overlay":i&&a?"true":"false","data-vaul-animate":l?.current?"true":"false",...t})});eC.displayName="Drawer.Overlay";const tC=nt.forwardRef(function({onPointerDownOutside:t,style:e,onOpenAutoFocus:n,...r},o){const{drawerRef:a,onPress:i,onRelease:s,onDrag:l,keyboardIsOpen:u,snapPointsOffset:d,activeSnapPointIndex:f,modal:m,isOpen:v,direction:g,snapPoints:w,container:y,handleOnly:_,shouldAnimate:S,autoFocus:x}=Af(),[C,M]=nt.useState(!1),A=GS(o,a),O=nt.useRef(null),D=nt.useRef(null),T=nt.useRef(!1),R=w&&w.length>0;gY();const $=(I,L,V=0)=>{if(T.current)return!0;const F=Math.abs(I.y),z=Math.abs(I.x),B=z>F,Y=["bottom","right"].includes(L)?1:-1;if(L==="left"||L==="right"){if(!(I.x*Y<0)&&z>=0&&z<=V)return B}else if(!(I.y*Y<0)&&F>=0&&F<=V)return!B;return T.current=!0,!0};nt.useEffect(()=>{R&&window.requestAnimationFrame(()=>{M(!0)})},[]);function P(I){O.current=null,T.current=!1,s(I)}return nt.createElement(Tf,{"data-vaul-drawer-direction":g,"data-vaul-drawer":"","data-vaul-delayed-snap-points":C?"true":"false","data-vaul-snap-points":v&&R?"true":"false","data-vaul-custom-container":y?"true":"false","data-vaul-animate":S?.current?"true":"false",...r,ref:A,style:d&&d.length>0?{"--snap-point-height":`${d[f??0]}px`,...e}:e,onPointerDown:I=>{_||(r.onPointerDown==null||r.onPointerDown.call(r,I),O.current={x:I.pageX,y:I.pageY},i(I))},onOpenAutoFocus:I=>{n?.(I),x||I.preventDefault()},onPointerDownOutside:I=>{if(t?.(I),!m||I.defaultPrevented){I.preventDefault();return}u.current&&(u.current=!1)},onFocusOutside:I=>{if(!m){I.preventDefault();return}},onPointerMove:I=>{if(D.current=I,_||(r.onPointerMove==null||r.onPointerMove.call(r,I),!O.current))return;const L=I.pageY-O.current.y,V=I.pageX-O.current.x,F=I.pointerType==="touch"?10:2;$({x:V,y:L},g,F)?l(I):(Math.abs(V)>F||Math.abs(L)>F)&&(O.current=null)},onPointerUp:I=>{r.onPointerUp==null||r.onPointerUp.call(r,I),O.current=null,T.current=!1,s(I)},onPointerOut:I=>{r.onPointerOut==null||r.onPointerOut.call(r,I),P(D.current)},onContextMenu:I=>{r.onContextMenu==null||r.onContextMenu.call(r,I),D.current&&P(D.current)}})});tC.displayName="Drawer.Content";const bY=250,yY=120,_Y=nt.forwardRef(function({preventCycle:t=!1,children:e,...n},r){const{closeDrawer:o,isDragging:a,snapPoints:i,activeSnapPoint:s,setActiveSnapPoint:l,dismissible:u,handleOnly:d,isOpen:f,onPress:m,onDrag:v}=Af(),g=nt.useRef(null),w=nt.useRef(!1);function y(){if(w.current){x();return}window.setTimeout(()=>{_()},yY)}function _(){if(a||t||w.current){x();return}if(x(),!i||i.length===0){u||o();return}if(s===i[i.length-1]&&u){o();return}const M=i.findIndex(O=>O===s);if(M===-1)return;const A=i[M+1];l(A)}function S(){g.current=window.setTimeout(()=>{w.current=!0},bY)}function x(){g.current&&window.clearTimeout(g.current),w.current=!1}return nt.createElement("div",{onClick:y,onPointerCancel:x,onPointerDown:C=>{d&&m(C),S()},onPointerMove:C=>{d&&v(C)},ref:r,"data-vaul-drawer-visible":f?"true":"false","data-vaul-handle":"","aria-hidden":"true",...n},nt.createElement("span",{"data-vaul-handle-hitarea":"","aria-hidden":"true"},e))});_Y.displayName="Drawer.Handle";function xY(t){const e=Af(),{container:n=e.container,...r}=t;return nt.createElement(kf,{container:n,...r})}const Wr={Root:wY,Content:tC,Overlay:eC,Trigger:Ww,Portal:xY,Close:tc,Title:Nf,Description:Pf};function SY({...t}){return h(Wr.Root,{"data-slot":"drawer",...t})}function CY({...t}){return h(Wr.Portal,{"data-slot":"drawer-portal",...t})}function EY({className:t,...e}){return h(Wr.Overlay,{"data-slot":"drawer-overlay",className:se("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",t),...e})}function MY({className:t,children:e,container:n,...r}){return ne(CY,{"data-slot":"drawer-portal",container:n||document.querySelector(".modal-container"),children:[h(EY,{}),ne(Wr.Content,{"data-slot":"drawer-content",className:se("group/drawer-content bg-background fixed z-50 flex h-auto flex-col","data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:max-h-[80vh] data-[vaul-drawer-direction=top]:rounded-b-lg data-[vaul-drawer-direction=top]:border-b","data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=bottom]:rounded-t-lg data-[vaul-drawer-direction=bottom]:border-t","data-[vaul-drawer-direction=right]:inset-y-0 data-[vaul-drawer-direction=right]:right-0 data-[vaul-drawer-direction=right]:w-3/4 data-[vaul-drawer-direction=right]:border-l data-[vaul-drawer-direction=right]:sm:max-w-sm","data-[vaul-drawer-direction=left]:inset-y-0 data-[vaul-drawer-direction=left]:left-0 data-[vaul-drawer-direction=left]:w-3/4 data-[vaul-drawer-direction=left]:border-r data-[vaul-drawer-direction=left]:sm:max-w-sm",t),...r,children:[h("div",{className:"bg-muted mx-auto mt-4 hidden h-2 w-[100px] shrink-0 rounded-full group-data-[vaul-drawer-direction=bottom]/drawer-content:block"}),e]})]})}function kY({className:t,...e}){return h("div",{"data-slot":"drawer-header",className:se("flex flex-col gap-1.5 p-4",t),...e})}function RY({className:t,...e}){return h("div",{"data-slot":"drawer-footer",className:se("mt-auto flex flex-col gap-2 p-4",t),...e})}function TY({className:t,...e}){return h(Wr.Title,{"data-slot":"drawer-title",className:se("text-foreground font-semibold",t),...e})}function NY({className:t,...e}){return h(Wr.Description,{"data-slot":"drawer-description",className:se("text-muted-foreground text-sm",t),...e})}function PY({...t}){return h(Mf,{"data-slot":"sheet",...t})}function AY({...t}){return h(kf,{"data-slot":"sheet-portal",...t})}function IY({className:t,...e}){return h(Rf,{"data-slot":"sheet-overlay",className:se("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",t),...e})}function OY({className:t,children:e,side:n="right",container:r,...o}){return ne(AY,{container:r||document.querySelector(".modal-container"),children:[h(IY,{}),ne(Tf,{"data-slot":"sheet-content",className:se("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",n==="right"&&"data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 border-l sm:max-w-sm",n==="left"&&"data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 border-r sm:max-w-sm",n==="top"&&"data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b",n==="bottom"&&"data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t",t),...o,children:[e,ne(tc,{"data-slot":"sheet-close",className:"ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none",children:[h(J9,{className:"size-4"}),h("span",{className:"sr-only",children:"Close"})]})]})]})}function LY({className:t,...e}){return h("div",{"data-slot":"sheet-header",className:se("flex flex-col gap-1.5 p-4",t),...e})}function $Y({className:t,...e}){return h("div",{"data-slot":"sheet-footer",className:se("mt-auto flex flex-col gap-2 p-4",t),...e})}function DY({className:t,...e}){return h(Nf,{"data-slot":"sheet-title",className:se("text-foreground font-semibold",t),...e})}function BY({className:t,...e}){return h(Pf,{"data-slot":"sheet-description",className:se("text-muted-foreground text-sm",t),...e})}const Uw=6048e5,zY=864e5,d4=Symbol.for("constructDateFrom");function fr(t,e){return typeof t=="function"?t(e):t&&typeof t=="object"&&d4 in t?t[d4](e):t instanceof Date?new t.constructor(e):new Date(e)}function yn(t,e){return fr(e||t,t)}function Vr(t,e,n){const r=yn(t,n?.in);return isNaN(e)?fr(n?.in||t,NaN):(e&&r.setDate(r.getDate()+e),r)}function Ea(t,e,n){const r=yn(t,n?.in);if(isNaN(e))return fr(n?.in||t,NaN);if(!e)return r;const o=r.getDate(),a=fr(n?.in||t,r.getTime());a.setMonth(r.getMonth()+e+1,0);const i=a.getDate();return o>=i?a:(r.setFullYear(a.getFullYear(),a.getMonth(),o),r)}let FY={};function If(){return FY}function ai(t,e){const n=If(),r=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,o=yn(t,e?.in),a=o.getDay(),i=(a<r?7:0)+a-r;return o.setDate(o.getDate()-i),o.setHours(0,0,0,0),o}function Wl(t,e){return ai(t,{...e,weekStartsOn:1})}function nC(t,e){const n=yn(t,e?.in),r=n.getFullYear(),o=fr(n,0);o.setFullYear(r+1,0,4),o.setHours(0,0,0,0);const a=Wl(o),i=fr(n,0);i.setFullYear(r,0,4),i.setHours(0,0,0,0);const s=Wl(i);return n.getTime()>=a.getTime()?r+1:n.getTime()>=s.getTime()?r:r-1}function I0(t){const e=yn(t),n=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return n.setUTCFullYear(e.getFullYear()),+t-+n}function Lu(t,...e){const n=fr.bind(null,t||e.find(r=>typeof r=="object"));return e.map(n)}function _u(t,e){const n=yn(t,e?.in);return n.setHours(0,0,0,0),n}function ei(t,e,n){const[r,o]=Lu(n?.in,t,e),a=_u(r),i=_u(o),s=+a-I0(a),l=+i-I0(i);return Math.round((s-l)/zY)}function VY(t,e){const n=nC(t,e),r=fr(t,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),Wl(r)}function wv(t,e,n){return Vr(t,e*7,n)}function jY(t,e,n){return Ea(t,e*12,n)}function HY(t,e){let n,r=e?.in;return t.forEach(o=>{!r&&typeof o=="object"&&(r=fr.bind(null,o));const a=yn(o,r);(!n||n<a||isNaN(+a))&&(n=a)}),fr(r,n||NaN)}function WY(t,e){let n,r=e?.in;return t.forEach(o=>{!r&&typeof o=="object"&&(r=fr.bind(null,o));const a=yn(o,r);(!n||n>a||isNaN(+a))&&(n=a)}),fr(r,n||NaN)}function lo(t,e,n){const[r,o]=Lu(n?.in,t,e);return+_u(r)==+_u(o)}function Yw(t){return t instanceof Date||typeof t=="object"&&Object.prototype.toString.call(t)==="[object Date]"}function qY(t){return!(!Yw(t)&&typeof t!="number"||isNaN(+yn(t)))}function lf(t,e,n){const[r,o]=Lu(n?.in,t,e),a=r.getFullYear()-o.getFullYear(),i=r.getMonth()-o.getMonth();return a*12+i}function UY(t,e,n){const[r,o]=Lu(n?.in,t,e),a=ai(r,n),i=ai(o,n),s=+a-I0(a),l=+i-I0(i);return Math.round((s-l)/Uw)}function Gw(t,e){const n=yn(t,e?.in),r=n.getMonth();return n.setFullYear(n.getFullYear(),r+1,0),n.setHours(23,59,59,999),n}function co(t,e){const n=yn(t,e?.in);return n.setDate(1),n.setHours(0,0,0,0),n}function rC(t,e){const n=yn(t,e?.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}function Kw(t,e){const n=If(),r=e?.weekStartsOn??e?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,o=yn(t,e?.in),a=o.getDay(),i=(a<r?-7:0)+6-(a-r);return o.setDate(o.getDate()+i),o.setHours(23,59,59,999),o}function oC(t,e){return Kw(t,{...e,weekStartsOn:1})}const YY={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"}},GY=(t,e,n)=>{let r;const o=YY[t];return typeof o=="string"?r=o:e===1?r=o.one:r=o.other.replace("{{count}}",e.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r};function yg(t){return(e={})=>{const n=e.width?String(e.width):t.defaultWidth;return t.formats[n]||t.formats[t.defaultWidth]}}const KY={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},XY={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},ZY={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},QY={date:yg({formats:KY,defaultWidth:"full"}),time:yg({formats:XY,defaultWidth:"full"}),dateTime:yg({formats:ZY,defaultWidth:"full"})},JY={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},eG=(t,e,n,r)=>JY[t];function pd(t){return(e,n)=>{const r=n?.context?String(n.context):"standalone";let o;if(r==="formatting"&&t.formattingValues){const i=t.defaultFormattingWidth||t.defaultWidth,s=n?.width?String(n.width):i;o=t.formattingValues[s]||t.formattingValues[i]}else{const i=t.defaultWidth,s=n?.width?String(n.width):t.defaultWidth;o=t.values[s]||t.values[i]}const a=t.argumentCallback?t.argumentCallback(e):e;return o[a]}}const tG={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},nG={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},rG={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"]},oG={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"]},aG={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"}},iG={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"}},sG=(t,e)=>{const n=Number(t),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},lG={ordinalNumber:sG,era:pd({values:tG,defaultWidth:"wide"}),quarter:pd({values:nG,defaultWidth:"wide",argumentCallback:t=>t-1}),month:pd({values:rG,defaultWidth:"wide"}),day:pd({values:oG,defaultWidth:"wide"}),dayPeriod:pd({values:aG,defaultWidth:"wide",formattingValues:iG,defaultFormattingWidth:"wide"})};function hd(t){return(e,n={})=>{const r=n.width,o=r&&t.matchPatterns[r]||t.matchPatterns[t.defaultMatchWidth],a=e.match(o);if(!a)return null;const i=a[0],s=r&&t.parsePatterns[r]||t.parsePatterns[t.defaultParseWidth],l=Array.isArray(s)?uG(s,f=>f.test(i)):cG(s,f=>f.test(i));let u;u=t.valueCallback?t.valueCallback(l):l,u=n.valueCallback?n.valueCallback(u):u;const d=e.slice(i.length);return{value:u,rest:d}}}function cG(t,e){for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&e(t[n]))return n}function uG(t,e){for(let n=0;n<t.length;n++)if(e(t[n]))return n}function dG(t){return(e,n={})=>{const r=e.match(t.matchPattern);if(!r)return null;const o=r[0],a=e.match(t.parsePattern);if(!a)return null;let i=t.valueCallback?t.valueCallback(a[0]):a[0];i=n.valueCallback?n.valueCallback(i):i;const s=e.slice(o.length);return{value:i,rest:s}}}const fG=/^(\d+)(th|st|nd|rd)?/i,pG=/\d+/i,hG={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},mG={any:[/^b/i,/^(a|c)/i]},gG={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},vG={any:[/1/i,/2/i,/3/i,/4/i]},wG={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},bG={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]},yG={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},_G={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]},xG={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},SG={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}},CG={ordinalNumber:dG({matchPattern:fG,parsePattern:pG,valueCallback:t=>parseInt(t,10)}),era:hd({matchPatterns:hG,defaultMatchWidth:"wide",parsePatterns:mG,defaultParseWidth:"any"}),quarter:hd({matchPatterns:gG,defaultMatchWidth:"wide",parsePatterns:vG,defaultParseWidth:"any",valueCallback:t=>t+1}),month:hd({matchPatterns:wG,defaultMatchWidth:"wide",parsePatterns:bG,defaultParseWidth:"any"}),day:hd({matchPatterns:yG,defaultMatchWidth:"wide",parsePatterns:_G,defaultParseWidth:"any"}),dayPeriod:hd({matchPatterns:xG,defaultMatchWidth:"any",parsePatterns:SG,defaultParseWidth:"any"})},aC={code:"en-US",formatDistance:GY,formatLong:QY,formatRelative:eG,localize:lG,match:CG,options:{weekStartsOn:0,firstWeekContainsDate:1}};function EG(t,e){const n=yn(t,e?.in);return ei(n,rC(n))+1}function iC(t,e){const n=yn(t,e?.in),r=+Wl(n)-+VY(n);return Math.round(r/Uw)+1}function sC(t,e){const n=yn(t,e?.in),r=n.getFullYear(),o=If(),a=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??o.firstWeekContainsDate??o.locale?.options?.firstWeekContainsDate??1,i=fr(e?.in||t,0);i.setFullYear(r+1,0,a),i.setHours(0,0,0,0);const s=ai(i,e),l=fr(e?.in||t,0);l.setFullYear(r,0,a),l.setHours(0,0,0,0);const u=ai(l,e);return+n>=+s?r+1:+n>=+u?r:r-1}function MG(t,e){const n=If(),r=e?.firstWeekContainsDate??e?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,o=sC(t,e),a=fr(e?.in||t,0);return a.setFullYear(o,0,r),a.setHours(0,0,0,0),ai(a,e)}function lC(t,e){const n=yn(t,e?.in),r=+ai(n,e)-+MG(n,e);return Math.round(r/Uw)+1}function bn(t,e){const n=t<0?"-":"",r=Math.abs(t).toString().padStart(e,"0");return n+r}const ms={y(t,e){const n=t.getFullYear(),r=n>0?n:1-n;return bn(e==="yy"?r%100:r,e.length)},M(t,e){const n=t.getMonth();return e==="M"?String(n+1):bn(n+1,2)},d(t,e){return bn(t.getDate(),e.length)},a(t,e){const n=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h(t,e){return bn(t.getHours()%12||12,e.length)},H(t,e){return bn(t.getHours(),e.length)},m(t,e){return bn(t.getMinutes(),e.length)},s(t,e){return bn(t.getSeconds(),e.length)},S(t,e){const n=e.length,r=t.getMilliseconds(),o=Math.trunc(r*Math.pow(10,n-3));return bn(o,e.length)}},Dc={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},f4={G:function(t,e,n){const r=t.getFullYear()>0?1:0;switch(e){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});case"GGGG":default:return n.era(r,{width:"wide"})}},y:function(t,e,n){if(e==="yo"){const r=t.getFullYear(),o=r>0?r:1-r;return n.ordinalNumber(o,{unit:"year"})}return ms.y(t,e)},Y:function(t,e,n,r){const o=sC(t,r),a=o>0?o:1-o;if(e==="YY"){const i=a%100;return bn(i,2)}return e==="Yo"?n.ordinalNumber(a,{unit:"year"}):bn(a,e.length)},R:function(t,e){const n=nC(t);return bn(n,e.length)},u:function(t,e){const n=t.getFullYear();return bn(n,e.length)},Q:function(t,e,n){const r=Math.ceil((t.getMonth()+1)/3);switch(e){case"Q":return String(r);case"QQ":return bn(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(t,e,n){const r=Math.ceil((t.getMonth()+1)/3);switch(e){case"q":return String(r);case"qq":return bn(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(t,e,n){const r=t.getMonth();switch(e){case"M":case"MM":return ms.M(t,e);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(t,e,n){const r=t.getMonth();switch(e){case"L":return String(r+1);case"LL":return bn(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(t,e,n,r){const o=lC(t,r);return e==="wo"?n.ordinalNumber(o,{unit:"week"}):bn(o,e.length)},I:function(t,e,n){const r=iC(t);return e==="Io"?n.ordinalNumber(r,{unit:"week"}):bn(r,e.length)},d:function(t,e,n){return e==="do"?n.ordinalNumber(t.getDate(),{unit:"date"}):ms.d(t,e)},D:function(t,e,n){const r=EG(t);return e==="Do"?n.ordinalNumber(r,{unit:"dayOfYear"}):bn(r,e.length)},E:function(t,e,n){const r=t.getDay();switch(e){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});case"EEEE":default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(t,e,n,r){const o=t.getDay(),a=(o-r.weekStartsOn+8)%7||7;switch(e){case"e":return String(a);case"ee":return bn(a,2);case"eo":return n.ordinalNumber(a,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});case"eeee":default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(t,e,n,r){const o=t.getDay(),a=(o-r.weekStartsOn+8)%7||7;switch(e){case"c":return String(a);case"cc":return bn(a,e.length);case"co":return n.ordinalNumber(a,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});case"cccc":default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(t,e,n){const r=t.getDay(),o=r===0?7:r;switch(e){case"i":return String(o);case"ii":return bn(o,e.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});case"iiii":default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(t,e,n){const o=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},b:function(t,e,n){const r=t.getHours();let o;switch(r===12?o=Dc.noon:r===0?o=Dc.midnight:o=r/12>=1?"pm":"am",e){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(t,e,n){const r=t.getHours();let o;switch(r>=17?o=Dc.evening:r>=12?o=Dc.afternoon:r>=4?o=Dc.morning:o=Dc.night,e){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(t,e,n){if(e==="ho"){let r=t.getHours()%12;return r===0&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return ms.h(t,e)},H:function(t,e,n){return e==="Ho"?n.ordinalNumber(t.getHours(),{unit:"hour"}):ms.H(t,e)},K:function(t,e,n){const r=t.getHours()%12;return e==="Ko"?n.ordinalNumber(r,{unit:"hour"}):bn(r,e.length)},k:function(t,e,n){let r=t.getHours();return r===0&&(r=24),e==="ko"?n.ordinalNumber(r,{unit:"hour"}):bn(r,e.length)},m:function(t,e,n){return e==="mo"?n.ordinalNumber(t.getMinutes(),{unit:"minute"}):ms.m(t,e)},s:function(t,e,n){return e==="so"?n.ordinalNumber(t.getSeconds(),{unit:"second"}):ms.s(t,e)},S:function(t,e){return ms.S(t,e)},X:function(t,e,n){const r=t.getTimezoneOffset();if(r===0)return"Z";switch(e){case"X":return h4(r);case"XXXX":case"XX":return Pl(r);case"XXXXX":case"XXX":default:return Pl(r,":")}},x:function(t,e,n){const r=t.getTimezoneOffset();switch(e){case"x":return h4(r);case"xxxx":case"xx":return Pl(r);case"xxxxx":case"xxx":default:return Pl(r,":")}},O:function(t,e,n){const r=t.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+p4(r,":");case"OOOO":default:return"GMT"+Pl(r,":")}},z:function(t,e,n){const r=t.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+p4(r,":");case"zzzz":default:return"GMT"+Pl(r,":")}},t:function(t,e,n){const r=Math.trunc(+t/1e3);return bn(r,e.length)},T:function(t,e,n){return bn(+t,e.length)}};function p4(t,e=""){const n=t>0?"-":"+",r=Math.abs(t),o=Math.trunc(r/60),a=r%60;return a===0?n+String(o):n+String(o)+e+bn(a,2)}function h4(t,e){return t%60===0?(t>0?"-":"+")+bn(Math.abs(t)/60,2):Pl(t,e)}function Pl(t,e=""){const n=t>0?"-":"+",r=Math.abs(t),o=bn(Math.trunc(r/60),2),a=bn(r%60,2);return n+o+e+a}const m4=(t,e)=>{switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});case"PPPP":default:return e.date({width:"full"})}},cC=(t,e)=>{switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});case"pppp":default:return e.time({width:"full"})}},kG=(t,e)=>{const n=t.match(/(P+)(p+)?/)||[],r=n[1],o=n[2];if(!o)return m4(t,e);let a;switch(r){case"P":a=e.dateTime({width:"short"});break;case"PP":a=e.dateTime({width:"medium"});break;case"PPP":a=e.dateTime({width:"long"});break;case"PPPP":default:a=e.dateTime({width:"full"});break}return a.replace("{{date}}",m4(r,e)).replace("{{time}}",cC(o,e))},RG={p:cC,P:kG},TG=/^D+$/,NG=/^Y+$/,PG=["D","DD","YY","YYYY"];function AG(t){return TG.test(t)}function IG(t){return NG.test(t)}function OG(t,e,n){const r=LG(t,e,n);if(console.warn(r),PG.includes(t))throw new RangeError(r)}function LG(t,e,n){const r=t[0]==="Y"?"years":"days of the month";return`Use \`${t.toLowerCase()}\` instead of \`${t}\` (in \`${e}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}const $G=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,DG=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,BG=/^'([^]*?)'?$/,zG=/''/g,FG=/[a-zA-Z]/;function nc(t,e,n){const r=If(),o=n?.locale??r.locale??aC,a=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,i=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,s=yn(t,n?.in);if(!qY(s))throw new RangeError("Invalid time value");let l=e.match(DG).map(d=>{const f=d[0];if(f==="p"||f==="P"){const m=RG[f];return m(d,o.formatLong)}return d}).join("").match($G).map(d=>{if(d==="''")return{isToken:!1,value:"'"};const f=d[0];if(f==="'")return{isToken:!1,value:VG(d)};if(f4[f])return{isToken:!0,value:d};if(f.match(FG))throw new RangeError("Format string contains an unescaped latin alphabet character `"+f+"`");return{isToken:!1,value:d}});o.localize.preprocessor&&(l=o.localize.preprocessor(s,l));const u={firstWeekContainsDate:a,weekStartsOn:i,locale:o};return l.map(d=>{if(!d.isToken)return d.value;const f=d.value;(!n?.useAdditionalWeekYearTokens&&IG(f)||!n?.useAdditionalDayOfYearTokens&&AG(f))&&OG(f,e,String(t));const m=f4[f[0]];return m(s,f,o.localize,u)}).join("")}function VG(t){const e=t.match(BG);return e?e[1].replace(zG,"'"):t}function jG(t,e){const n=yn(t,e?.in),r=n.getFullYear(),o=n.getMonth(),a=fr(n,0);return a.setFullYear(r,o+1,0),a.setHours(0,0,0,0),a.getDate()}function HG(t){return Math.trunc(+yn(t)/1e3)}function WG(t,e){const n=yn(t,e?.in),r=n.getMonth();return n.setFullYear(n.getFullYear(),r+1,0),n.setHours(0,0,0,0),yn(n,e?.in)}function qG(t,e){const n=yn(t,e?.in);return UY(WG(n,e),co(n,e),e)+1}function bv(t,e){return+yn(t)>+yn(e)}function uC(t,e){return+yn(t)<+yn(e)}function Xw(t,e,n){const[r,o]=Lu(n?.in,t,e);return r.getFullYear()===o.getFullYear()&&r.getMonth()===o.getMonth()}function UG(t,e,n){const[r,o]=Lu(n?.in,t,e);return r.getFullYear()===o.getFullYear()}function _g(t,e,n){return Vr(t,-e,n)}function xg(t,e,n){const r=yn(t,n?.in),o=r.getFullYear(),a=r.getDate(),i=fr(t,0);i.setFullYear(o,e,15),i.setHours(0,0,0,0);const s=jG(i);return r.setMonth(e,Math.min(a,s)),r}function g4(t,e,n){const r=yn(t,n?.in);return isNaN(+r)?fr(t,NaN):(r.setFullYear(e),r)}const{createContext:rc,useContext:oc,useState:cf,forwardRef:YG,useEffect:bh,useRef:GG,useLayoutEffect:KG}=await q("react");var Nt=function(){return Nt=Object.assign||function(e){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},Nt.apply(this,arguments)};function XG(t,e){var n={};for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&e.indexOf(r)<0&&(n[r]=t[r]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(t);o<r.length;o++)e.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(t,r[o])&&(n[r[o]]=t[r[o]]);return n}function dC(t,e,n){for(var r=0,o=e.length,a;r<o;r++)(a||!(r in e))&&(a||(a=Array.prototype.slice.call(e,0,r)),a[r]=e[r]);return t.concat(a||Array.prototype.slice.call(e))}function Of(t){return t.mode==="multiple"}function Lf(t){return t.mode==="range"}function yh(t){return t.mode==="single"}var ZG={root:"rdp",multiple_months:"rdp-multiple_months",with_weeknumber:"rdp-with_weeknumber",vhidden:"rdp-vhidden",button_reset:"rdp-button_reset",button:"rdp-button",caption:"rdp-caption",caption_start:"rdp-caption_start",caption_end:"rdp-caption_end",caption_between:"rdp-caption_between",caption_label:"rdp-caption_label",caption_dropdowns:"rdp-caption_dropdowns",dropdown:"rdp-dropdown",dropdown_month:"rdp-dropdown_month",dropdown_year:"rdp-dropdown_year",dropdown_icon:"rdp-dropdown_icon",months:"rdp-months",month:"rdp-month",table:"rdp-table",tbody:"rdp-tbody",tfoot:"rdp-tfoot",head:"rdp-head",head_row:"rdp-head_row",head_cell:"rdp-head_cell",nav:"rdp-nav",nav_button:"rdp-nav_button",nav_button_previous:"rdp-nav_button_previous",nav_button_next:"rdp-nav_button_next",nav_icon:"rdp-nav_icon",row:"rdp-row",weeknumber:"rdp-weeknumber",cell:"rdp-cell",day:"rdp-day",day_today:"rdp-day_today",day_outside:"rdp-day_outside",day_selected:"rdp-day_selected",day_disabled:"rdp-day_disabled",day_hidden:"rdp-day_hidden",day_range_start:"rdp-day_range_start",day_range_end:"rdp-day_range_end",day_range_middle:"rdp-day_range_middle"};function QG(t,e){return nc(t,"LLLL y",e)}function JG(t,e){return nc(t,"d",e)}function eK(t,e){return nc(t,"LLLL",e)}function tK(t){return"".concat(t)}function nK(t,e){return nc(t,"cccccc",e)}function rK(t,e){return nc(t,"yyyy",e)}var oK=Object.freeze({__proto__:null,formatCaption:QG,formatDay:JG,formatMonthCaption:eK,formatWeekNumber:tK,formatWeekdayName:nK,formatYearCaption:rK}),aK=function(t,e,n){return nc(t,"do MMMM (EEEE)",n)},iK=function(){return"Month: "},sK=function(){return"Go to next month"},lK=function(){return"Go to previous month"},cK=function(t,e){return nc(t,"cccc",e)},uK=function(t){return"Week n. ".concat(t)},dK=function(){return"Year: "},fK=Object.freeze({__proto__:null,labelDay:aK,labelMonthDropdown:iK,labelNext:sK,labelPrevious:lK,labelWeekNumber:uK,labelWeekday:cK,labelYearDropdown:dK});function pK(){var t="buttons",e=ZG,n=aC,r={},o={},a=1,i={},s=new Date;return{captionLayout:t,classNames:e,formatters:oK,labels:fK,locale:n,modifiersClassNames:r,modifiers:o,numberOfMonths:a,styles:i,today:s,mode:"default"}}function hK(t){var e=t.fromYear,n=t.toYear,r=t.fromMonth,o=t.toMonth,a=t.fromDate,i=t.toDate;return r?a=co(r):e&&(a=new Date(e,0,1)),o?i=Gw(o):n&&(i=new Date(n,11,31)),{fromDate:a?_u(a):void 0,toDate:i?_u(i):void 0}}var fC=rc(void 0);function mK(t){var e,n=t.initialProps,r=pK(),o=hK(n),a=o.fromDate,i=o.toDate,s=(e=n.captionLayout)!==null&&e!==void 0?e:r.captionLayout;s!=="buttons"&&(!a||!i)&&(s="buttons");var l;(yh(n)||Of(n)||Lf(n))&&(l=n.onSelect);var u=Nt(Nt(Nt({},r),n),{captionLayout:s,classNames:Nt(Nt({},r.classNames),n.classNames),components:Nt({},n.components),formatters:Nt(Nt({},r.formatters),n.formatters),fromDate:a,labels:Nt(Nt({},r.labels),n.labels),mode:n.mode||r.mode,modifiers:Nt(Nt({},r.modifiers),n.modifiers),modifiersClassNames:Nt(Nt({},r.modifiersClassNames),n.modifiersClassNames),onSelect:l,styles:Nt(Nt({},r.styles),n.styles),toDate:i});return Z.jsx(fC.Provider,{value:u,children:t.children})}function Rn(){var t=oc(fC);if(!t)throw new Error("useDayPicker must be used within a DayPickerProvider.");return t}function pC(t){var e=Rn(),n=e.locale,r=e.classNames,o=e.styles,a=e.formatters.formatCaption;return Z.jsx("div",{className:r.caption_label,style:o.caption_label,"aria-live":"polite",role:"presentation",id:t.id,children:a(t.displayMonth,{locale:n})})}function gK(t){return Z.jsx("svg",Nt({width:"8px",height:"8px",viewBox:"0 0 120 120","data-testid":"iconDropdown"},t,{children:Z.jsx("path",{d:"M4.22182541,48.2218254 C8.44222828,44.0014225 15.2388494,43.9273804 19.5496459,47.9996989 L19.7781746,48.2218254 L60,88.443 L100.221825,48.2218254 C104.442228,44.0014225 111.238849,43.9273804 115.549646,47.9996989 L115.778175,48.2218254 C119.998577,52.4422283 120.07262,59.2388494 116.000301,63.5496459 L115.778175,63.7781746 L67.7781746,111.778175 C63.5577717,115.998577 56.7611506,116.07262 52.4503541,112.000301 L52.2218254,111.778175 L4.22182541,63.7781746 C-0.0739418023,59.4824074 -0.0739418023,52.5175926 4.22182541,48.2218254 Z",fill:"currentColor",fillRule:"nonzero"})}))}function hC(t){var e,n,r=t.onChange,o=t.value,a=t.children,i=t.caption,s=t.className,l=t.style,u=Rn(),d=(n=(e=u.components)===null||e===void 0?void 0:e.IconDropdown)!==null&&n!==void 0?n:gK;return Z.jsxs("div",{className:s,style:l,children:[Z.jsx("span",{className:u.classNames.vhidden,children:t["aria-label"]}),Z.jsx("select",{name:t.name,"aria-label":t["aria-label"],className:u.classNames.dropdown,style:u.styles.dropdown,value:o,onChange:r,children:a}),Z.jsxs("div",{className:u.classNames.caption_label,style:u.styles.caption_label,"aria-hidden":"true",children:[i,Z.jsx(d,{className:u.classNames.dropdown_icon,style:u.styles.dropdown_icon})]})]})}function vK(t){var e,n=Rn(),r=n.fromDate,o=n.toDate,a=n.styles,i=n.locale,s=n.formatters.formatMonthCaption,l=n.classNames,u=n.components,d=n.labels.labelMonthDropdown;if(!r)return Z.jsx(Z.Fragment,{});if(!o)return Z.jsx(Z.Fragment,{});var f=[];if(UG(r,o))for(var m=co(r),v=r.getMonth();v<=o.getMonth();v++)f.push(xg(m,v));else for(var m=co(new Date),v=0;v<=11;v++)f.push(xg(m,v));var g=function(y){var _=Number(y.target.value),S=xg(co(t.displayMonth),_);t.onChange(S)},w=(e=u?.Dropdown)!==null&&e!==void 0?e:hC;return Z.jsx(w,{name:"months","aria-label":d(),className:l.dropdown_month,style:a.dropdown_month,onChange:g,value:t.displayMonth.getMonth(),caption:s(t.displayMonth,{locale:i}),children:f.map(function(y){return Z.jsx("option",{value:y.getMonth(),children:s(y,{locale:i})},y.getMonth())})})}function wK(t){var e,n=t.displayMonth,r=Rn(),o=r.fromDate,a=r.toDate,i=r.locale,s=r.styles,l=r.classNames,u=r.components,d=r.formatters.formatYearCaption,f=r.labels.labelYearDropdown,m=[];if(!o)return Z.jsx(Z.Fragment,{});if(!a)return Z.jsx(Z.Fragment,{});for(var v=o.getFullYear(),g=a.getFullYear(),w=v;w<=g;w++)m.push(g4(rC(new Date),w));var y=function(S){var x=g4(co(n),Number(S.target.value));t.onChange(x)},_=(e=u?.Dropdown)!==null&&e!==void 0?e:hC;return Z.jsx(_,{name:"years","aria-label":f(),className:l.dropdown_year,style:s.dropdown_year,onChange:y,value:n.getFullYear(),caption:d(n,{locale:i}),children:m.map(function(S){return Z.jsx("option",{value:S.getFullYear(),children:d(S,{locale:i})},S.getFullYear())})})}function bK(t,e){var n=cf(t),r=n[0],o=n[1],a=e===void 0?r:e;return[a,o]}function yK(t){var e=t.month,n=t.defaultMonth,r=t.today,o=e||n||r||new Date,a=t.toDate,i=t.fromDate,s=t.numberOfMonths,l=s===void 0?1:s;if(a&&lf(a,o)<0){var u=-1*(l-1);o=Ea(a,u)}return i&&lf(o,i)<0&&(o=i),co(o)}function _K(){var t=Rn(),e=yK(t),n=bK(e,t.month),r=n[0],o=n[1],a=function(i){var s;if(!t.disableNavigation){var l=co(i);o(l),(s=t.onMonthChange)===null||s===void 0||s.call(t,l)}};return[r,a]}function xK(t,e){for(var n=e.reverseMonths,r=e.numberOfMonths,o=co(t),a=co(Ea(o,r)),i=lf(a,o),s=[],l=0;l<i;l++){var u=Ea(o,l);s.push(u)}return n&&(s=s.reverse()),s}function SK(t,e){if(!e.disableNavigation){var n=e.toDate,r=e.pagedNavigation,o=e.numberOfMonths,a=o===void 0?1:o,i=r?a:1,s=co(t);if(!n)return Ea(s,i);var l=lf(n,t);if(!(l<a))return Ea(s,i)}}function CK(t,e){if(!e.disableNavigation){var n=e.fromDate,r=e.pagedNavigation,o=e.numberOfMonths,a=o===void 0?1:o,i=r?a:1,s=co(t);if(!n)return Ea(s,-i);var l=lf(s,n);if(!(l<=0))return Ea(s,-i)}}var mC=rc(void 0);function EK(t){var e=Rn(),n=_K(),r=n[0],o=n[1],a=xK(r,e),i=SK(r,e),s=CK(r,e),l=function(f){return a.some(function(m){return Xw(f,m)})},u=function(f,m){l(f)||(m&&uC(f,m)?o(Ea(f,1+e.numberOfMonths*-1)):o(f))},d={currentMonth:r,displayMonths:a,goToMonth:o,goToDate:u,previousMonth:s,nextMonth:i,isDateDisplayed:l};return Z.jsx(mC.Provider,{value:d,children:t.children})}function $f(){var t=oc(mC);if(!t)throw new Error("useNavigation must be used within a NavigationProvider");return t}function v4(t){var e,n=Rn(),r=n.classNames,o=n.styles,a=n.components,i=$f().goToMonth,s=function(d){i(Ea(d,t.displayIndex?-t.displayIndex:0))},l=(e=a?.CaptionLabel)!==null&&e!==void 0?e:pC,u=Z.jsx(l,{id:t.id,displayMonth:t.displayMonth});return Z.jsxs("div",{className:r.caption_dropdowns,style:o.caption_dropdowns,children:[Z.jsx("div",{className:r.vhidden,children:u}),Z.jsx(vK,{onChange:s,displayMonth:t.displayMonth}),Z.jsx(wK,{onChange:s,displayMonth:t.displayMonth})]})}function MK(t){return Z.jsx("svg",Nt({width:"16px",height:"16px",viewBox:"0 0 120 120"},t,{children:Z.jsx("path",{d:"M69.490332,3.34314575 C72.6145263,0.218951416 77.6798462,0.218951416 80.8040405,3.34314575 C83.8617626,6.40086786 83.9268205,11.3179931 80.9992143,14.4548388 L80.8040405,14.6568542 L35.461,60 L80.8040405,105.343146 C83.8617626,108.400868 83.9268205,113.317993 80.9992143,116.454839 L80.8040405,116.656854 C77.7463184,119.714576 72.8291931,119.779634 69.6923475,116.852028 L69.490332,116.656854 L18.490332,65.6568542 C15.4326099,62.5991321 15.367552,57.6820069 18.2951583,54.5451612 L18.490332,54.3431458 L69.490332,3.34314575 Z",fill:"currentColor",fillRule:"nonzero"})}))}function kK(t){return Z.jsx("svg",Nt({width:"16px",height:"16px",viewBox:"0 0 120 120"},t,{children:Z.jsx("path",{d:"M49.8040405,3.34314575 C46.6798462,0.218951416 41.6145263,0.218951416 38.490332,3.34314575 C35.4326099,6.40086786 35.367552,11.3179931 38.2951583,14.4548388 L38.490332,14.6568542 L83.8333725,60 L38.490332,105.343146 C35.4326099,108.400868 35.367552,113.317993 38.2951583,116.454839 L38.490332,116.656854 C41.5480541,119.714576 46.4651794,119.779634 49.602025,116.852028 L49.8040405,116.656854 L100.804041,65.6568542 C103.861763,62.5991321 103.926821,57.6820069 100.999214,54.5451612 L100.804041,54.3431458 L49.8040405,3.34314575 Z",fill:"currentColor"})}))}var uf=YG(function(t,e){var n=Rn(),r=n.classNames,o=n.styles,a=[r.button_reset,r.button];t.className&&a.push(t.className);var i=a.join(" "),s=Nt(Nt({},o.button_reset),o.button);return t.style&&Object.assign(s,t.style),Z.jsx("button",Nt({},t,{ref:e,type:"button",className:i,style:s}))});function RK(t){var e,n,r=Rn(),o=r.dir,a=r.locale,i=r.classNames,s=r.styles,l=r.labels,u=l.labelPrevious,d=l.labelNext,f=r.components;if(!t.nextMonth&&!t.previousMonth)return Z.jsx(Z.Fragment,{});var m=u(t.previousMonth,{locale:a}),v=[i.nav_button,i.nav_button_previous].join(" "),g=d(t.nextMonth,{locale:a}),w=[i.nav_button,i.nav_button_next].join(" "),y=(e=f?.IconRight)!==null&&e!==void 0?e:kK,_=(n=f?.IconLeft)!==null&&n!==void 0?n:MK;return Z.jsxs("div",{className:i.nav,style:s.nav,children:[!t.hidePrevious&&Z.jsx(uf,{name:"previous-month","aria-label":m,className:v,style:s.nav_button_previous,disabled:!t.previousMonth,onClick:t.onPreviousClick,children:o==="rtl"?Z.jsx(y,{className:i.nav_icon,style:s.nav_icon}):Z.jsx(_,{className:i.nav_icon,style:s.nav_icon})}),!t.hideNext&&Z.jsx(uf,{name:"next-month","aria-label":g,className:w,style:s.nav_button_next,disabled:!t.nextMonth,onClick:t.onNextClick,children:o==="rtl"?Z.jsx(_,{className:i.nav_icon,style:s.nav_icon}):Z.jsx(y,{className:i.nav_icon,style:s.nav_icon})})]})}function w4(t){var e=Rn().numberOfMonths,n=$f(),r=n.previousMonth,o=n.nextMonth,a=n.goToMonth,i=n.displayMonths,s=i.findIndex(function(g){return Xw(t.displayMonth,g)}),l=s===0,u=s===i.length-1,d=e>1&&(l||!u),f=e>1&&(u||!l),m=function(){r&&a(r)},v=function(){o&&a(o)};return Z.jsx(RK,{displayMonth:t.displayMonth,hideNext:d,hidePrevious:f,nextMonth:o,previousMonth:r,onPreviousClick:m,onNextClick:v})}function TK(t){var e,n=Rn(),r=n.classNames,o=n.disableNavigation,a=n.styles,i=n.captionLayout,s=n.components,l=(e=s?.CaptionLabel)!==null&&e!==void 0?e:pC,u;return o?u=Z.jsx(l,{id:t.id,displayMonth:t.displayMonth}):i==="dropdown"?u=Z.jsx(v4,{displayMonth:t.displayMonth,id:t.id}):i==="dropdown-buttons"?u=Z.jsxs(Z.Fragment,{children:[Z.jsx(v4,{displayMonth:t.displayMonth,displayIndex:t.displayIndex,id:t.id}),Z.jsx(w4,{displayMonth:t.displayMonth,displayIndex:t.displayIndex,id:t.id})]}):u=Z.jsxs(Z.Fragment,{children:[Z.jsx(l,{id:t.id,displayMonth:t.displayMonth,displayIndex:t.displayIndex}),Z.jsx(w4,{displayMonth:t.displayMonth,id:t.id})]}),Z.jsx("div",{className:r.caption,style:a.caption,children:u})}function NK(t){var e=Rn(),n=e.footer,r=e.styles,o=e.classNames.tfoot;return n?Z.jsx("tfoot",{className:o,style:r.tfoot,children:Z.jsx("tr",{children:Z.jsx("td",{colSpan:8,children:n})})}):Z.jsx(Z.Fragment,{})}function PK(t,e,n){for(var r=n?Wl(new Date):ai(new Date,{locale:t,weekStartsOn:e}),o=[],a=0;a<7;a++){var i=Vr(r,a);o.push(i)}return o}function AK(){var t=Rn(),e=t.classNames,n=t.styles,r=t.showWeekNumber,o=t.locale,a=t.weekStartsOn,i=t.ISOWeek,s=t.formatters.formatWeekdayName,l=t.labels.labelWeekday,u=PK(o,a,i);return Z.jsxs("tr",{style:n.head_row,className:e.head_row,children:[r&&Z.jsx("td",{style:n.head_cell,className:e.head_cell}),u.map(function(d,f){return Z.jsx("th",{scope:"col",className:e.head_cell,style:n.head_cell,"aria-label":l(d,{locale:o}),children:s(d,{locale:o})},f)})]})}function IK(){var t,e=Rn(),n=e.classNames,r=e.styles,o=e.components,a=(t=o?.HeadRow)!==null&&t!==void 0?t:AK;return Z.jsx("thead",{style:r.head,className:n.head,children:Z.jsx(a,{})})}function OK(t){var e=Rn(),n=e.locale,r=e.formatters.formatDay;return Z.jsx(Z.Fragment,{children:r(t.date,{locale:n})})}var Zw=rc(void 0);function LK(t){if(!Of(t.initialProps)){var e={selected:void 0,modifiers:{disabled:[]}};return Z.jsx(Zw.Provider,{value:e,children:t.children})}return Z.jsx($K,{initialProps:t.initialProps,children:t.children})}function $K(t){var e=t.initialProps,n=t.children,r=e.selected,o=e.min,a=e.max,i=function(u,d,f){var m,v;(m=e.onDayClick)===null||m===void 0||m.call(e,u,d,f);var g=!!(d.selected&&o&&r?.length===o);if(!g){var w=!!(!d.selected&&a&&r?.length===a);if(!w){var y=r?dC([],r):[];if(d.selected){var _=y.findIndex(function(S){return lo(u,S)});y.splice(_,1)}else y.push(u);(v=e.onSelect)===null||v===void 0||v.call(e,y,u,d,f)}}},s={disabled:[]};r&&s.disabled.push(function(u){var d=a&&r.length>a-1,f=r.some(function(m){return lo(m,u)});return!!(d&&!f)});var l={selected:r,onDayClick:i,modifiers:s};return Z.jsx(Zw.Provider,{value:l,children:n})}function Qw(){var t=oc(Zw);if(!t)throw new Error("useSelectMultiple must be used within a SelectMultipleProvider");return t}function DK(t,e){var n=e||{},r=n.from,o=n.to;return r&&o?lo(o,t)&&lo(r,t)?void 0:lo(o,t)?{from:o,to:void 0}:lo(r,t)?void 0:bv(r,t)?{from:t,to:o}:{from:r,to:t}:o?bv(t,o)?{from:o,to:t}:{from:t,to:o}:r?uC(t,r)?{from:t,to:r}:{from:r,to:t}:{from:t,to:void 0}}var Jw=rc(void 0);function BK(t){if(!Lf(t.initialProps)){var e={selected:void 0,modifiers:{range_start:[],range_end:[],range_middle:[],disabled:[]}};return Z.jsx(Jw.Provider,{value:e,children:t.children})}return Z.jsx(zK,{initialProps:t.initialProps,children:t.children})}function zK(t){var e=t.initialProps,n=t.children,r=e.selected,o=r||{},a=o.from,i=o.to,s=e.min,l=e.max,u=function(v,g,w){var y,_;(y=e.onDayClick)===null||y===void 0||y.call(e,v,g,w);var S=DK(v,r);(_=e.onSelect)===null||_===void 0||_.call(e,S,v,g,w)},d={range_start:[],range_end:[],range_middle:[],disabled:[]};if(a?(d.range_start=[a],i?(d.range_end=[i],lo(a,i)||(d.range_middle=[{after:a,before:i}])):d.range_end=[a]):i&&(d.range_start=[i],d.range_end=[i]),s&&(a&&!i&&d.disabled.push({after:_g(a,s-1),before:Vr(a,s-1)}),a&&i&&d.disabled.push({after:a,before:Vr(a,s-1)}),!a&&i&&d.disabled.push({after:_g(i,s-1),before:Vr(i,s-1)})),l){if(a&&!i&&(d.disabled.push({before:Vr(a,-l+1)}),d.disabled.push({after:Vr(a,l-1)})),a&&i){var f=ei(i,a)+1,m=l-f;d.disabled.push({before:_g(a,m)}),d.disabled.push({after:Vr(i,m)})}!a&&i&&(d.disabled.push({before:Vr(i,-l+1)}),d.disabled.push({after:Vr(i,l-1)}))}return Z.jsx(Jw.Provider,{value:{selected:r,onDayClick:u,modifiers:d},children:n})}function e3(){var t=oc(Jw);if(!t)throw new Error("useSelectRange must be used within a SelectRangeProvider");return t}function Q1(t){return Array.isArray(t)?dC([],t):t!==void 0?[t]:[]}function FK(t){var e={};return Object.entries(t).forEach(function(n){var r=n[0],o=n[1];e[r]=Q1(o)}),e}var Ma;(function(t){t.Outside="outside",t.Disabled="disabled",t.Selected="selected",t.Hidden="hidden",t.Today="today",t.RangeStart="range_start",t.RangeEnd="range_end",t.RangeMiddle="range_middle"})(Ma||(Ma={}));var VK=Ma.Selected,Ai=Ma.Disabled,jK=Ma.Hidden,HK=Ma.Today,Sg=Ma.RangeEnd,Cg=Ma.RangeMiddle,Eg=Ma.RangeStart,WK=Ma.Outside;function qK(t,e,n){var r,o=(r={},r[VK]=Q1(t.selected),r[Ai]=Q1(t.disabled),r[jK]=Q1(t.hidden),r[HK]=[t.today],r[Sg]=[],r[Cg]=[],r[Eg]=[],r[WK]=[],r);return t.fromDate&&o[Ai].push({before:t.fromDate}),t.toDate&&o[Ai].push({after:t.toDate}),Of(t)?o[Ai]=o[Ai].concat(e.modifiers[Ai]):Lf(t)&&(o[Ai]=o[Ai].concat(n.modifiers[Ai]),o[Eg]=n.modifiers[Eg],o[Cg]=n.modifiers[Cg],o[Sg]=n.modifiers[Sg]),o}var gC=rc(void 0);function UK(t){var e=Rn(),n=Qw(),r=e3(),o=qK(e,n,r),a=FK(e.modifiers),i=Nt(Nt({},o),a);return Z.jsx(gC.Provider,{value:i,children:t.children})}function vC(){var t=oc(gC);if(!t)throw new Error("useModifiers must be used within a ModifiersProvider");return t}function YK(t){return!!(t&&typeof t=="object"&&"before"in t&&"after"in t)}function GK(t){return!!(t&&typeof t=="object"&&"from"in t)}function KK(t){return!!(t&&typeof t=="object"&&"after"in t)}function XK(t){return!!(t&&typeof t=="object"&&"before"in t)}function ZK(t){return!!(t&&typeof t=="object"&&"dayOfWeek"in t)}function QK(t,e){var n,r=e.from,o=e.to;if(r&&o){var a=ei(o,r)<0;a&&(n=[o,r],r=n[0],o=n[1]);var i=ei(t,r)>=0&&ei(o,t)>=0;return i}return o?lo(o,t):r?lo(r,t):!1}function JK(t){return Yw(t)}function eX(t){return Array.isArray(t)&&t.every(Yw)}function tX(t,e){return e.some(function(n){if(typeof n=="boolean")return n;if(JK(n))return lo(t,n);if(eX(n))return n.includes(t);if(GK(n))return QK(t,n);if(ZK(n))return n.dayOfWeek.includes(t.getDay());if(YK(n)){var r=ei(n.before,t),o=ei(n.after,t),a=r>0,i=o<0,s=bv(n.before,n.after);return s?i&&a:a||i}return KK(n)?ei(t,n.after)>0:XK(n)?ei(n.before,t)>0:typeof n=="function"?n(t):!1})}function t3(t,e,n){var r=Object.keys(e).reduce(function(a,i){var s=e[i];return tX(t,s)&&a.push(i),a},[]),o={};return r.forEach(function(a){return o[a]=!0}),n&&!Xw(t,n)&&(o.outside=!0),o}function nX(t,e){for(var n=co(t[0]),r=Gw(t[t.length-1]),o,a,i=n;i<=r;){var s=t3(i,e),l=!s.disabled&&!s.hidden;if(!l){i=Vr(i,1);continue}if(s.selected)return i;s.today&&!a&&(a=i),o||(o=i),i=Vr(i,1)}return a||o}var rX=365;function wC(t,e){var n=e.moveBy,r=e.direction,o=e.context,a=e.modifiers,i=e.retry,s=i===void 0?{count:0,lastFocused:t}:i,l=o.weekStartsOn,u=o.fromDate,d=o.toDate,f=o.locale,m={day:Vr,week:wv,month:Ea,year:jY,startOfWeek:function(y){return o.ISOWeek?Wl(y):ai(y,{locale:f,weekStartsOn:l})},endOfWeek:function(y){return o.ISOWeek?oC(y):Kw(y,{locale:f,weekStartsOn:l})}},v=m[n](t,r==="after"?1:-1);r==="before"&&u?v=HY([u,v]):r==="after"&&d&&(v=WY([d,v]));var g=!0;if(a){var w=t3(v,a);g=!w.disabled&&!w.hidden}return g?v:s.count>rX?s.lastFocused:wC(v,{moveBy:n,direction:r,context:o,modifiers:a,retry:Nt(Nt({},s),{count:s.count+1})})}var bC=rc(void 0);function oX(t){var e=$f(),n=vC(),r=cf(),o=r[0],a=r[1],i=cf(),s=i[0],l=i[1],u=nX(e.displayMonths,n),d=o??(s&&e.isDateDisplayed(s))?s:u,f=function(){l(o),a(void 0)},m=function(y){a(y)},v=Rn(),g=function(y,_){if(o){var S=wC(o,{moveBy:y,direction:_,context:v,modifiers:n});lo(o,S)||(e.goToDate(S,o),m(S))}},w={focusedDay:o,focusTarget:d,blur:f,focus:m,focusDayAfter:function(){return g("day","after")},focusDayBefore:function(){return g("day","before")},focusWeekAfter:function(){return g("week","after")},focusWeekBefore:function(){return g("week","before")},focusMonthBefore:function(){return g("month","before")},focusMonthAfter:function(){return g("month","after")},focusYearBefore:function(){return g("year","before")},focusYearAfter:function(){return g("year","after")},focusStartOfWeek:function(){return g("startOfWeek","before")},focusEndOfWeek:function(){return g("endOfWeek","after")}};return Z.jsx(bC.Provider,{value:w,children:t.children})}function n3(){var t=oc(bC);if(!t)throw new Error("useFocusContext must be used within a FocusProvider");return t}function aX(t,e){var n=vC(),r=t3(t,n,e);return r}var r3=rc(void 0);function iX(t){if(!yh(t.initialProps)){var e={selected:void 0};return Z.jsx(r3.Provider,{value:e,children:t.children})}return Z.jsx(sX,{initialProps:t.initialProps,children:t.children})}function sX(t){var e=t.initialProps,n=t.children,r=function(a,i,s){var l,u,d;if((l=e.onDayClick)===null||l===void 0||l.call(e,a,i,s),i.selected&&!e.required){(u=e.onSelect)===null||u===void 0||u.call(e,void 0,a,i,s);return}(d=e.onSelect)===null||d===void 0||d.call(e,a,a,i,s)},o={selected:e.selected,onDayClick:r};return Z.jsx(r3.Provider,{value:o,children:n})}function yC(){var t=oc(r3);if(!t)throw new Error("useSelectSingle must be used within a SelectSingleProvider");return t}function lX(t,e){var n=Rn(),r=yC(),o=Qw(),a=e3(),i=n3(),s=i.focusDayAfter,l=i.focusDayBefore,u=i.focusWeekAfter,d=i.focusWeekBefore,f=i.blur,m=i.focus,v=i.focusMonthBefore,g=i.focusMonthAfter,w=i.focusYearBefore,y=i.focusYearAfter,_=i.focusStartOfWeek,S=i.focusEndOfWeek,x=function(z){var B,Y,U,le;yh(n)?(B=r.onDayClick)===null||B===void 0||B.call(r,t,e,z):Of(n)?(Y=o.onDayClick)===null||Y===void 0||Y.call(o,t,e,z):Lf(n)?(U=a.onDayClick)===null||U===void 0||U.call(a,t,e,z):(le=n.onDayClick)===null||le===void 0||le.call(n,t,e,z)},C=function(z){var B;m(t),(B=n.onDayFocus)===null||B===void 0||B.call(n,t,e,z)},M=function(z){var B;f(),(B=n.onDayBlur)===null||B===void 0||B.call(n,t,e,z)},A=function(z){var B;(B=n.onDayMouseEnter)===null||B===void 0||B.call(n,t,e,z)},O=function(z){var B;(B=n.onDayMouseLeave)===null||B===void 0||B.call(n,t,e,z)},D=function(z){var B;(B=n.onDayPointerEnter)===null||B===void 0||B.call(n,t,e,z)},T=function(z){var B;(B=n.onDayPointerLeave)===null||B===void 0||B.call(n,t,e,z)},R=function(z){var B;(B=n.onDayTouchCancel)===null||B===void 0||B.call(n,t,e,z)},$=function(z){var B;(B=n.onDayTouchEnd)===null||B===void 0||B.call(n,t,e,z)},P=function(z){var B;(B=n.onDayTouchMove)===null||B===void 0||B.call(n,t,e,z)},I=function(z){var B;(B=n.onDayTouchStart)===null||B===void 0||B.call(n,t,e,z)},L=function(z){var B;(B=n.onDayKeyUp)===null||B===void 0||B.call(n,t,e,z)},V=function(z){var B;switch(z.key){case"ArrowLeft":z.preventDefault(),z.stopPropagation(),n.dir==="rtl"?s():l();break;case"ArrowRight":z.preventDefault(),z.stopPropagation(),n.dir==="rtl"?l():s();break;case"ArrowDown":z.preventDefault(),z.stopPropagation(),u();break;case"ArrowUp":z.preventDefault(),z.stopPropagation(),d();break;case"PageUp":z.preventDefault(),z.stopPropagation(),z.shiftKey?w():v();break;case"PageDown":z.preventDefault(),z.stopPropagation(),z.shiftKey?y():g();break;case"Home":z.preventDefault(),z.stopPropagation(),_();break;case"End":z.preventDefault(),z.stopPropagation(),S();break}(B=n.onDayKeyDown)===null||B===void 0||B.call(n,t,e,z)},F={onClick:x,onFocus:C,onBlur:M,onKeyDown:V,onKeyUp:L,onMouseEnter:A,onMouseLeave:O,onPointerEnter:D,onPointerLeave:T,onTouchCancel:R,onTouchEnd:$,onTouchMove:P,onTouchStart:I};return F}function cX(){var t=Rn(),e=yC(),n=Qw(),r=e3(),o=yh(t)?e.selected:Of(t)?n.selected:Lf(t)?r.selected:void 0;return o}function uX(t){return Object.values(Ma).includes(t)}function dX(t,e){var n=[t.classNames.day];return Object.keys(e).forEach(function(r){var o=t.modifiersClassNames[r];if(o)n.push(o);else if(uX(r)){var a=t.classNames["day_".concat(r)];a&&n.push(a)}}),n}function fX(t,e){var n=Nt({},t.styles.day);return Object.keys(e).forEach(function(r){var o;n=Nt(Nt({},n),(o=t.modifiersStyles)===null||o===void 0?void 0:o[r])}),n}function _C(t,e,n){var r,o,a,i=Rn(),s=n3(),l=aX(t,e),u=lX(t,l),d=cX(),f=!!(i.onDayClick||i.mode!=="default");bh(function(){var A;l.outside||s.focusedDay&&f&&lo(s.focusedDay,t)&&((A=n.current)===null||A===void 0||A.focus())},[s.focusedDay,t,n,f,l.outside]);var m=dX(i,l).join(" "),v=fX(i,l),g=!!(l.outside&&!i.showOutsideDays||l.hidden),w=(a=(o=i.components)===null||o===void 0?void 0:o.DayContent)!==null&&a!==void 0?a:OK,y=Z.jsx(w,{date:t,displayMonth:e,activeModifiers:l}),_={style:v,className:m,children:y,role:"gridcell"},S=s.focusTarget&&lo(s.focusTarget,t)&&!l.outside,x=s.focusedDay&&lo(s.focusedDay,t),C=Nt(Nt(Nt({},_),(r={disabled:l.disabled,role:"gridcell"},r["aria-selected"]=l.selected,r.tabIndex=x||S?0:-1,r)),u),M={isButton:f,isHidden:g,activeModifiers:l,selectedDays:d,buttonProps:C,divProps:_};return M}function pX(t){var e=GG(null),n=_C(t.date,t.displayMonth,e);return n.isHidden?Z.jsx("div",{role:"gridcell"}):n.isButton?Z.jsx(uf,Nt({name:"day",ref:e},n.buttonProps)):Z.jsx("div",Nt({},n.divProps))}function hX(t){var e=t.number,n=t.dates,r=Rn(),o=r.onWeekNumberClick,a=r.styles,i=r.classNames,s=r.locale,l=r.labels.labelWeekNumber,u=r.formatters.formatWeekNumber,d=u(Number(e),{locale:s});if(!o)return Z.jsx("span",{className:i.weeknumber,style:a.weeknumber,children:d});var f=l(Number(e),{locale:s}),m=function(v){o(e,n,v)};return Z.jsx(uf,{name:"week-number","aria-label":f,className:i.weeknumber,style:a.weeknumber,onClick:m,children:d})}function mX(t){var e,n,r=Rn(),o=r.styles,a=r.classNames,i=r.showWeekNumber,s=r.components,l=(e=s?.Day)!==null&&e!==void 0?e:pX,u=(n=s?.WeekNumber)!==null&&n!==void 0?n:hX,d;return i&&(d=Z.jsx("td",{className:a.cell,style:o.cell,children:Z.jsx(u,{number:t.weekNumber,dates:t.dates})})),Z.jsxs("tr",{className:a.row,style:o.row,children:[d,t.dates.map(function(f){return Z.jsx("td",{className:a.cell,style:o.cell,role:"presentation",children:Z.jsx(l,{displayMonth:t.displayMonth,date:f})},HG(f))})]})}function b4(t,e,n){for(var r=n?.ISOWeek?oC(e):Kw(e,n),o=n?.ISOWeek?Wl(t):ai(t,n),a=ei(r,o),i=[],s=0;s<=a;s++)i.push(Vr(o,s));var l=i.reduce(function(u,d){var f=n?.ISOWeek?iC(d):lC(d,n),m=u.find(function(v){return v.weekNumber===f});return m?(m.dates.push(d),u):(u.push({weekNumber:f,dates:[d]}),u)},[]);return l}function gX(t,e){var n=b4(co(t),Gw(t),e);if(e?.useFixedWeeks){var r=qG(t,e);if(r<6){var o=n[n.length-1],a=o.dates[o.dates.length-1],i=wv(a,6-r),s=b4(wv(a,1),i,e);n.push.apply(n,s)}}return n}function vX(t){var e,n,r,o=Rn(),a=o.locale,i=o.classNames,s=o.styles,l=o.hideHead,u=o.fixedWeeks,d=o.components,f=o.weekStartsOn,m=o.firstWeekContainsDate,v=o.ISOWeek,g=gX(t.displayMonth,{useFixedWeeks:!!u,ISOWeek:v,locale:a,weekStartsOn:f,firstWeekContainsDate:m}),w=(e=d?.Head)!==null&&e!==void 0?e:IK,y=(n=d?.Row)!==null&&n!==void 0?n:mX,_=(r=d?.Footer)!==null&&r!==void 0?r:NK;return Z.jsxs("table",{id:t.id,className:i.table,style:s.table,role:"grid","aria-labelledby":t["aria-labelledby"],children:[!l&&Z.jsx(w,{}),Z.jsx("tbody",{className:i.tbody,style:s.tbody,children:g.map(function(S){return Z.jsx(y,{displayMonth:t.displayMonth,dates:S.dates,weekNumber:S.weekNumber},S.weekNumber)})}),Z.jsx(_,{displayMonth:t.displayMonth})]})}function wX(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}var bX=wX()?KG:bh,Mg=!1,yX=0;function y4(){return"react-day-picker-".concat(++yX)}function _X(t){var e,n=t??(Mg?y4():null),r=cf(n),o=r[0],a=r[1];return bX(function(){o===null&&a(y4())},[]),bh(function(){Mg===!1&&(Mg=!0)},[]),(e=t??o)!==null&&e!==void 0?e:void 0}function xX(t){var e,n,r=Rn(),o=r.dir,a=r.classNames,i=r.styles,s=r.components,l=$f().displayMonths,u=_X(r.id?"".concat(r.id,"-").concat(t.displayIndex):void 0),d=r.id?"".concat(r.id,"-grid-").concat(t.displayIndex):void 0,f=[a.month],m=i.month,v=t.displayIndex===0,g=t.displayIndex===l.length-1,w=!v&&!g;o==="rtl"&&(e=[v,g],g=e[0],v=e[1]),v&&(f.push(a.caption_start),m=Nt(Nt({},m),i.caption_start)),g&&(f.push(a.caption_end),m=Nt(Nt({},m),i.caption_end)),w&&(f.push(a.caption_between),m=Nt(Nt({},m),i.caption_between));var y=(n=s?.Caption)!==null&&n!==void 0?n:TK;return Z.jsxs("div",{className:f.join(" "),style:m,children:[Z.jsx(y,{id:u,displayMonth:t.displayMonth,displayIndex:t.displayIndex}),Z.jsx(vX,{id:d,"aria-labelledby":u,displayMonth:t.displayMonth})]},t.displayIndex)}function SX(t){var e=Rn(),n=e.classNames,r=e.styles;return Z.jsx("div",{className:n.months,style:r.months,children:t.children})}function CX(t){var e,n,r=t.initialProps,o=Rn(),a=n3(),i=$f(),s=cf(!1),l=s[0],u=s[1];bh(function(){o.initialFocus&&a.focusTarget&&(l||(a.focus(a.focusTarget),u(!0)))},[o.initialFocus,l,a.focus,a.focusTarget,a]);var d=[o.classNames.root,o.className];o.numberOfMonths>1&&d.push(o.classNames.multiple_months),o.showWeekNumber&&d.push(o.classNames.with_weeknumber);var f=Nt(Nt({},o.styles.root),o.style),m=Object.keys(r).filter(function(g){return g.startsWith("data-")}).reduce(function(g,w){var y;return Nt(Nt({},g),(y={},y[w]=r[w],y))},{}),v=(n=(e=r.components)===null||e===void 0?void 0:e.Months)!==null&&n!==void 0?n:SX;return Z.jsx("div",Nt({className:d.join(" "),style:f,dir:o.dir,id:o.id,nonce:r.nonce,title:r.title,lang:r.lang},m,{children:Z.jsx(v,{children:i.displayMonths.map(function(g,w){return Z.jsx(xX,{displayIndex:w,displayMonth:g},w)})})}))}function EX(t){var e=t.children,n=XG(t,["children"]);return Z.jsx(mK,{initialProps:n,children:Z.jsx(EK,{children:Z.jsx(iX,{initialProps:n,children:Z.jsx(LK,{initialProps:n,children:Z.jsx(BK,{initialProps:n,children:Z.jsx(UK,{children:Z.jsx(oX,{children:e})})})})})})})}function MX(t){return Z.jsx(EX,Nt({},t,{children:Z.jsx(CX,{initialProps:t})}))}const xC=await q("react");xC.createContext({});xC.createContext({});const Ol=await q("react");var _h="Switch",[kX]=Ko(_h),[RX,TX]=kX(_h),SC=Ol.forwardRef((t,e)=>{const{__scopeSwitch:n,name:r,checked:o,defaultChecked:a,required:i,disabled:s,value:l="on",onCheckedChange:u,form:d,...f}=t,[m,v]=Ol.useState(null),g=ln(e,x=>v(x)),w=Ol.useRef(!1),y=m?d||!!m.closest("form"):!0,[_,S]=Xo({prop:o,defaultProp:a??!1,onChange:u,caller:_h});return Z.jsxs(RX,{scope:n,checked:_,disabled:s,children:[Z.jsx(Wt.button,{type:"button",role:"switch","aria-checked":_,"aria-required":i,"data-state":kC(_),"data-disabled":s?"":void 0,disabled:s,value:l,...f,ref:g,onClick:it(t.onClick,x=>{S(C=>!C),y&&(w.current=x.isPropagationStopped(),w.current||x.stopPropagation())})}),y&&Z.jsx(MC,{control:m,bubbles:!w.current,name:r,value:l,checked:_,required:i,disabled:s,form:d,style:{transform:"translateX(-100%)"}})]})});SC.displayName=_h;var CC="SwitchThumb",EC=Ol.forwardRef((t,e)=>{const{__scopeSwitch:n,...r}=t,o=TX(CC,n);return Z.jsx(Wt.span,{"data-state":kC(o.checked),"data-disabled":o.disabled?"":void 0,...r,ref:e})});EC.displayName=CC;var NX="SwitchBubbleInput",MC=Ol.forwardRef(({__scopeSwitch:t,control:e,checked:n,bubbles:r=!0,...o},a)=>{const i=Ol.useRef(null),s=ln(i,a),l=pS(n),u=yw(e);return Ol.useEffect(()=>{const d=i.current;if(!d)return;const f=window.HTMLInputElement.prototype,v=Object.getOwnPropertyDescriptor(f,"checked").set;if(l!==n&&v){const g=new Event("click",{bubbles:r});v.call(d,n),d.dispatchEvent(g)}},[l,n,r]),Z.jsx("input",{type:"checkbox","aria-hidden":!0,defaultChecked:n,...o,tabIndex:-1,ref:s,style:{...o.style,...u,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})});MC.displayName=NX;function kC(t){return t?"checked":"unchecked"}var PX=SC,AX=EC;const IX=await q("react"),OX=me("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}}),LX=IX.forwardRef(({className:t,variant:e,size:n,asChild:r=!1,...o},a)=>h(r?dV:"button",{"data-slot":"button",className:se(OX({variant:e,size:n,className:t})),ref:a,...o}));LX.displayName="ForwardedShadButton";const Tr=await q("react");var xh="DropdownMenu",[$X]=Ko(xh,[Ew]),Ir=Ew(),[DX,RC]=$X(xh),TC=t=>{const{__scopeDropdownMenu:e,children:n,dir:r,open:o,defaultOpen:a,onOpenChange:i,modal:s=!0}=t,l=Ir(e),u=Tr.useRef(null),[d,f]=Xo({prop:o,defaultProp:a??!1,onChange:i,caller:xh});return Z.jsx(DX,{scope:e,triggerId:Uo(),triggerRef:u,contentId:Uo(),open:d,onOpenChange:f,onOpenToggle:Tr.useCallback(()=>f(m=>!m),[f]),modal:s,children:Z.jsx(p9,{...l,open:d,onOpenChange:f,dir:r,modal:s,children:n})})};TC.displayName=xh;var NC="DropdownMenuTrigger",PC=Tr.forwardRef((t,e)=>{const{__scopeDropdownMenu:n,disabled:r=!1,...o}=t,a=RC(NC,n),i=Ir(n);return Z.jsx(h9,{asChild:!0,...i,children:Z.jsx(Wt.button,{type:"button",id:a.triggerId,"aria-haspopup":"menu","aria-expanded":a.open,"aria-controls":a.open?a.contentId:void 0,"data-state":a.open?"open":"closed","data-disabled":r?"":void 0,disabled:r,...o,ref:Gs(e,a.triggerRef),onPointerDown:it(t.onPointerDown,s=>{!r&&s.button===0&&s.ctrlKey===!1&&(a.onOpenToggle(),a.open||s.preventDefault())}),onKeyDown:it(t.onKeyDown,s=>{r||(["Enter"," "].includes(s.key)&&a.onOpenToggle(),s.key==="ArrowDown"&&a.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(s.key)&&s.preventDefault())})})})});PC.displayName=NC;var BX="DropdownMenuPortal",AC=t=>{const{__scopeDropdownMenu:e,...n}=t,r=Ir(e);return Z.jsx(m9,{...r,...n})};AC.displayName=BX;var IC="DropdownMenuContent",OC=Tr.forwardRef((t,e)=>{const{__scopeDropdownMenu:n,...r}=t,o=RC(IC,n),a=Ir(n),i=Tr.useRef(!1);return Z.jsx(g9,{id:o.contentId,"aria-labelledby":o.triggerId,...a,...r,ref:e,onCloseAutoFocus:it(t.onCloseAutoFocus,s=>{i.current||o.triggerRef.current?.focus(),i.current=!1,s.preventDefault()}),onInteractOutside:it(t.onInteractOutside,s=>{const l=s.detail.originalEvent,u=l.button===0&&l.ctrlKey===!0,d=l.button===2||u;(!o.modal||d)&&(i.current=!0)}),style:{...t.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});OC.displayName=IC;var zX="DropdownMenuGroup",LC=Tr.forwardRef((t,e)=>{const{__scopeDropdownMenu:n,...r}=t,o=Ir(n);return Z.jsx(v9,{...o,...r,ref:e})});LC.displayName=zX;var FX="DropdownMenuLabel",$C=Tr.forwardRef((t,e)=>{const{__scopeDropdownMenu:n,...r}=t,o=Ir(n);return Z.jsx(w9,{...o,...r,ref:e})});$C.displayName=FX;var VX="DropdownMenuItem",DC=Tr.forwardRef((t,e)=>{const{__scopeDropdownMenu:n,...r}=t,o=Ir(n);return Z.jsx(b9,{...o,...r,ref:e})});DC.displayName=VX;var jX="DropdownMenuCheckboxItem",BC=Tr.forwardRef((t,e)=>{const{__scopeDropdownMenu:n,...r}=t,o=Ir(n);return Z.jsx(y9,{...o,...r,ref:e})});BC.displayName=jX;var HX="DropdownMenuRadioGroup",zC=Tr.forwardRef((t,e)=>{const{__scopeDropdownMenu:n,...r}=t,o=Ir(n);return Z.jsx(_9,{...o,...r,ref:e})});zC.displayName=HX;var WX="DropdownMenuRadioItem",FC=Tr.forwardRef((t,e)=>{const{__scopeDropdownMenu:n,...r}=t,o=Ir(n);return Z.jsx(x9,{...o,...r,ref:e})});FC.displayName=WX;var qX="DropdownMenuItemIndicator",VC=Tr.forwardRef((t,e)=>{const{__scopeDropdownMenu:n,...r}=t,o=Ir(n);return Z.jsx(S9,{...o,...r,ref:e})});VC.displayName=qX;var UX="DropdownMenuSeparator",jC=Tr.forwardRef((t,e)=>{const{__scopeDropdownMenu:n,...r}=t,o=Ir(n);return Z.jsx(C9,{...o,...r,ref:e})});jC.displayName=UX;var YX="DropdownMenuArrow",GX=Tr.forwardRef((t,e)=>{const{__scopeDropdownMenu:n,...r}=t,o=Ir(n);return Z.jsx(E9,{...o,...r,ref:e})});GX.displayName=YX;var KX=t=>{const{__scopeDropdownMenu:e,children:n,open:r,onOpenChange:o,defaultOpen:a}=t,i=Ir(e),[s,l]=Xo({prop:r,defaultProp:a??!1,onChange:o,caller:"DropdownMenuSub"});return Z.jsx(M9,{...i,open:s,onOpenChange:l,children:n})},XX="DropdownMenuSubTrigger",HC=Tr.forwardRef((t,e)=>{const{__scopeDropdownMenu:n,...r}=t,o=Ir(n);return Z.jsx(k9,{...o,...r,ref:e})});HC.displayName=XX;var ZX="DropdownMenuSubContent",WC=Tr.forwardRef((t,e)=>{const{__scopeDropdownMenu:n,...r}=t,o=Ir(n);return Z.jsx(R9,{...o,...r,ref:e,style:{...t.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}})});WC.displayName=ZX;var QX=TC,JX=PC,eZ=AC,tZ=OC,nZ=LC,rZ=$C,oZ=DC,aZ=BC,iZ=zC,sZ=FC,qC=VC,lZ=jC,cZ=KX,uZ=HC,dZ=WC;const fu=await q("react");var Sh="Tabs",[fZ]=Ko(Sh,[Ks]),UC=Ks(),[pZ,o3]=fZ(Sh),YC=fu.forwardRef((t,e)=>{const{__scopeTabs:n,value:r,onValueChange:o,defaultValue:a,orientation:i="horizontal",dir:s,activationMode:l="automatic",...u}=t,d=Jl(s),[f,m]=Xo({prop:r,onChange:o,defaultProp:a??"",caller:Sh});return Z.jsx(pZ,{scope:n,baseId:Uo(),value:f,onValueChange:m,orientation:i,dir:d,activationMode:l,children:Z.jsx(Wt.div,{dir:d,"data-orientation":i,...u,ref:e})})});YC.displayName=Sh;var GC="TabsList",KC=fu.forwardRef((t,e)=>{const{__scopeTabs:n,loop:r=!0,...o}=t,a=o3(GC,n),i=UC(n);return Z.jsx(dh,{asChild:!0,...i,orientation:a.orientation,dir:a.dir,loop:r,children:Z.jsx(Wt.div,{role:"tablist","aria-orientation":a.orientation,...o,ref:e})})});KC.displayName=GC;var XC="TabsTrigger",ZC=fu.forwardRef((t,e)=>{const{__scopeTabs:n,value:r,disabled:o=!1,...a}=t,i=o3(XC,n),s=UC(n),l=eE(i.baseId,r),u=tE(i.baseId,r),d=r===i.value;return Z.jsx(fh,{asChild:!0,...s,focusable:!o,active:d,children:Z.jsx(Wt.button,{type:"button",role:"tab","aria-selected":d,"aria-controls":u,"data-state":d?"active":"inactive","data-disabled":o?"":void 0,disabled:o,id:l,...a,ref:e,onMouseDown:it(t.onMouseDown,f=>{!o&&f.button===0&&f.ctrlKey===!1?i.onValueChange(r):f.preventDefault()}),onKeyDown:it(t.onKeyDown,f=>{[" ","Enter"].includes(f.key)&&i.onValueChange(r)}),onFocus:it(t.onFocus,()=>{const f=i.activationMode!=="manual";!d&&!o&&f&&i.onValueChange(r)})})})});ZC.displayName=XC;var QC="TabsContent",JC=fu.forwardRef((t,e)=>{const{__scopeTabs:n,value:r,forceMount:o,children:a,...i}=t,s=o3(QC,n),l=eE(s.baseId,r),u=tE(s.baseId,r),d=r===s.value,f=fu.useRef(d);return fu.useEffect(()=>{const m=requestAnimationFrame(()=>f.current=!1);return()=>cancelAnimationFrame(m)},[]),Z.jsx(No,{present:o||d,children:({present:m})=>Z.jsx(Wt.div,{"data-state":d?"active":"inactive","data-orientation":s.orientation,role:"tabpanel","aria-labelledby":l,hidden:!m,id:u,tabIndex:0,...i,ref:e,style:{...t.style,animationDuration:f.current?"0s":void 0},children:m&&a})})});JC.displayName=QC;function eE(t,e){return`${t}-trigger-${e}`}function tE(t,e){return`${t}-content-${e}`}var hZ=YC,mZ=KC,gZ=ZC,vZ=JC;const wZ=await q("react");var nE="Toggle",a3=wZ.forwardRef((t,e)=>{const{pressed:n,defaultPressed:r,onPressedChange:o,...a}=t,[i,s]=Xo({prop:n,onChange:o,defaultProp:r??!1,caller:nE});return Z.jsx(Wt.button,{type:"button","aria-pressed":i,"data-state":i?"on":"off","data-disabled":t.disabled?"":void 0,...a,ref:e,onClick:it(t.onClick,()=>{t.disabled||s(!i)})})});a3.displayName=nE;var Che=a3;const ba=await q("react");var Zs="ToggleGroup",[rE]=Ko(Zs,[Ks]),oE=Ks(),i3=ba.forwardRef((t,e)=>{const{type:n,...r}=t;if(n==="single"){const o=r;return Z.jsx(bZ,{...o,ref:e})}if(n==="multiple"){const o=r;return Z.jsx(yZ,{...o,ref:e})}throw new Error(`Missing prop \`type\` expected on \`${Zs}\``)});i3.displayName=Zs;var[aE,iE]=rE(Zs),bZ=ba.forwardRef((t,e)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},...a}=t,[i,s]=Xo({prop:n,defaultProp:r??"",onChange:o,caller:Zs});return Z.jsx(aE,{scope:t.__scopeToggleGroup,type:"single",value:ba.useMemo(()=>i?[i]:[],[i]),onItemActivate:s,onItemDeactivate:ba.useCallback(()=>s(""),[s]),children:Z.jsx(sE,{...a,ref:e})})}),yZ=ba.forwardRef((t,e)=>{const{value:n,defaultValue:r,onValueChange:o=()=>{},...a}=t,[i,s]=Xo({prop:n,defaultProp:r??[],onChange:o,caller:Zs}),l=ba.useCallback(d=>s((f=[])=>[...f,d]),[s]),u=ba.useCallback(d=>s((f=[])=>f.filter(m=>m!==d)),[s]);return Z.jsx(aE,{scope:t.__scopeToggleGroup,type:"multiple",value:i,onItemActivate:l,onItemDeactivate:u,children:Z.jsx(sE,{...a,ref:e})})});i3.displayName=Zs;var[_Z,xZ]=rE(Zs),sE=ba.forwardRef((t,e)=>{const{__scopeToggleGroup:n,disabled:r=!1,rovingFocus:o=!0,orientation:a,dir:i,loop:s=!0,...l}=t,u=oE(n),d=Jl(i),f={role:"group",dir:d,...l};return Z.jsx(_Z,{scope:n,rovingFocus:o,disabled:r,children:o?Z.jsx(dh,{asChild:!0,...u,orientation:a,dir:d,loop:s,children:Z.jsx(Wt.div,{...f,ref:e})}):Z.jsx(Wt.div,{...f,ref:e})})}),O0="ToggleGroupItem",lE=ba.forwardRef((t,e)=>{const n=iE(O0,t.__scopeToggleGroup),r=xZ(O0,t.__scopeToggleGroup),o=oE(t.__scopeToggleGroup),a=n.value.includes(t.value),i=r.disabled||t.disabled,s={...t,pressed:a,disabled:i},l=ba.useRef(null);return r.rovingFocus?Z.jsx(fh,{asChild:!0,...o,focusable:!i,active:a,ref:l,children:Z.jsx(_4,{...s,ref:e})}):Z.jsx(_4,{...s,ref:e})});lE.displayName=O0;var _4=ba.forwardRef((t,e)=>{const{__scopeToggleGroup:n,value:r,...o}=t,a=iE(O0,n),i={role:"radio","aria-checked":t.pressed,"aria-pressed":void 0},s=a.type==="single"?i:void 0;return Z.jsx(a3,{...s,...o,ref:e,onPressedChange:l=>{l?a.onItemActivate(r):a.onItemDeactivate(r)}})}),SZ=i3,CZ=lE;const EZ=await q("react");EZ.createContext({size:"default",variant:"default"});const MZ=await q("react"),{createContext:kZ,useLayoutEffect:RZ,useRef:so,forwardRef:cE,createElement:xu,useContext:uE,useImperativeHandle:dE,useState:pu,useCallback:no,useEffect:Ll,useMemo:TZ}=await q("react"),Ch=kZ(null);Ch.displayName="PanelGroupContext";const jn={group:"data-panel-group",groupDirection:"data-panel-group-direction",groupId:"data-panel-group-id",panel:"data-panel",panelCollapsible:"data-panel-collapsible",panelId:"data-panel-id",panelSize:"data-panel-size",resizeHandle:"data-resize-handle",resizeHandleActive:"data-resize-handle-active",resizeHandleEnabled:"data-panel-resize-handle-enabled",resizeHandleId:"data-panel-resize-handle-id",resizeHandleState:"data-resize-handle-state"},s3=10,$l=RZ,x4=MZ.useId,NZ=typeof x4=="function"?x4:()=>null;let PZ=0;function l3(t=null){const e=NZ(),n=so(t||e||null);return n.current===null&&(n.current=""+PZ++),t??n.current}function fE({children:t,className:e="",collapsedSize:n,collapsible:r,defaultSize:o,forwardedRef:a,id:i,maxSize:s,minSize:l,onCollapse:u,onExpand:d,onResize:f,order:m,style:v,tagName:g="div",...w}){const y=uE(Ch);if(y===null)throw Error("Panel components must be rendered within a PanelGroup container");const{collapsePanel:_,expandPanel:S,getPanelSize:x,getPanelStyle:C,groupId:M,isPanelCollapsed:A,reevaluatePanelConstraints:O,registerPanel:D,resizePanel:T,unregisterPanel:R}=y,$=l3(i),P=so({callbacks:{onCollapse:u,onExpand:d,onResize:f},constraints:{collapsedSize:n,collapsible:r,defaultSize:o,maxSize:s,minSize:l},id:$,idIsFromProps:i!==void 0,order:m});so({didLogMissingDefaultSizeWarning:!1}),$l(()=>{const{callbacks:L,constraints:V}=P.current,F={...V};P.current.id=$,P.current.idIsFromProps=i!==void 0,P.current.order=m,L.onCollapse=u,L.onExpand=d,L.onResize=f,V.collapsedSize=n,V.collapsible=r,V.defaultSize=o,V.maxSize=s,V.minSize=l,(F.collapsedSize!==V.collapsedSize||F.collapsible!==V.collapsible||F.maxSize!==V.maxSize||F.minSize!==V.minSize)&&O(P.current,F)}),$l(()=>{const L=P.current;return D(L),()=>{R(L)}},[m,$,D,R]),dE(a,()=>({collapse:()=>{_(P.current)},expand:L=>{S(P.current,L)},getId(){return $},getSize(){return x(P.current)},isCollapsed(){return A(P.current)},isExpanded(){return!A(P.current)},resize:L=>{T(P.current,L)}}),[_,S,x,A,$,T]);const I=C(P.current,o);return xu(g,{...w,children:t,className:e,id:$,style:{...I,...v},[jn.groupId]:M,[jn.panel]:"",[jn.panelCollapsible]:r||void 0,[jn.panelId]:$,[jn.panelSize]:parseFloat(""+I.flexGrow).toFixed(1)})}const pE=cE((t,e)=>xu(fE,{...t,forwardedRef:e}));fE.displayName="Panel";pE.displayName="forwardRef(Panel)";let yv=null,J1=-1,Ts=null;function AZ(t,e,n){const r=(e&wE)!==0,o=(e&bE)!==0,a=(e&yE)!==0,i=(e&_E)!==0;if(e){if(r)return a?"se-resize":i?"ne-resize":"e-resize";if(o)return a?"sw-resize":i?"nw-resize":"w-resize";if(a)return"s-resize";if(i)return"n-resize"}switch(t){case"horizontal":return"ew-resize";case"intersection":return"move";case"vertical":return"ns-resize"}}function IZ(){Ts!==null&&(document.head.removeChild(Ts),yv=null,Ts=null,J1=-1)}function kg(t,e,n){var r,o;const a=AZ(t,e);if(yv!==a){if(yv=a,Ts===null&&(Ts=document.createElement("style"),document.head.appendChild(Ts)),J1>=0){var i;(i=Ts.sheet)===null||i===void 0||i.removeRule(J1)}J1=(r=(o=Ts.sheet)===null||o===void 0?void 0:o.insertRule(`*{cursor: ${a} !important;}`))!==null&&r!==void 0?r:-1}}function hE(t){return t.type==="keydown"}function mE(t){return t.type.startsWith("pointer")}function gE(t){return t.type.startsWith("mouse")}function Eh(t){if(mE(t)){if(t.isPrimary)return{x:t.clientX,y:t.clientY}}else if(gE(t))return{x:t.clientX,y:t.clientY};return{x:1/0,y:1/0}}function OZ(){if(typeof matchMedia=="function")return matchMedia("(pointer:coarse)").matches?"coarse":"fine"}function LZ(t,e,n){return t.x<e.x+e.width&&t.x+t.width>e.x&&t.y<e.y+e.height&&t.y+t.height>e.y}function $Z(t,e){if(t===e)throw new Error("Cannot compare node with itself");const n={a:E4(t),b:E4(e)};let r;for(;n.a.at(-1)===n.b.at(-1);)t=n.a.pop(),e=n.b.pop(),r=t;Yt(r,"Stacking order can only be calculated for elements with a common ancestor");const o={a:C4(S4(n.a)),b:C4(S4(n.b))};if(o.a===o.b){const a=r.childNodes,i={a:n.a.at(-1),b:n.b.at(-1)};let s=a.length;for(;s--;){const l=a[s];if(l===i.a)return 1;if(l===i.b)return-1}}return Math.sign(o.a-o.b)}const DZ=/\b(?:position|zIndex|opacity|transform|webkitTransform|mixBlendMode|filter|webkitFilter|isolation)\b/;function BZ(t){var e;const n=getComputedStyle((e=vE(t))!==null&&e!==void 0?e:t).display;return n==="flex"||n==="inline-flex"}function zZ(t){const e=getComputedStyle(t);return!!(e.position==="fixed"||e.zIndex!=="auto"&&(e.position!=="static"||BZ(t))||+e.opacity<1||"transform"in e&&e.transform!=="none"||"webkitTransform"in e&&e.webkitTransform!=="none"||"mixBlendMode"in e&&e.mixBlendMode!=="normal"||"filter"in e&&e.filter!=="none"||"webkitFilter"in e&&e.webkitFilter!=="none"||"isolation"in e&&e.isolation==="isolate"||DZ.test(e.willChange)||e.webkitOverflowScrolling==="touch")}function S4(t){let e=t.length;for(;e--;){const n=t[e];if(Yt(n,"Missing node"),zZ(n))return n}return null}function C4(t){return t&&Number(getComputedStyle(t).zIndex)||0}function E4(t){const e=[];for(;t;)e.push(t),t=vE(t);return e}function vE(t){const{parentNode:e}=t;return e&&e instanceof ShadowRoot?e.host:e}const wE=1,bE=2,yE=4,_E=8,FZ=OZ()==="coarse";let ya=[],hu=!1,Ns=new Map,Mh=new Map;const df=new Set;function VZ(t,e,n,r,o){var a;const{ownerDocument:i}=e,s={direction:n,element:e,hitAreaMargins:r,setResizeHandlerState:o},l=(a=Ns.get(i))!==null&&a!==void 0?a:0;return Ns.set(i,l+1),df.add(s),L0(),function(){var d;Mh.delete(t),df.delete(s);const f=(d=Ns.get(i))!==null&&d!==void 0?d:1;if(Ns.set(i,f-1),L0(),f===1&&Ns.delete(i),ya.includes(s)){const m=ya.indexOf(s);m>=0&&ya.splice(m,1),kh(),o("up",!0,null)}}}function jZ(t){const{target:e}=t,{x:n,y:r}=Eh(t);hu=!0,c3({target:e,x:n,y:r}),L0(),ya.length>0&&($0("down",t),kh(),t.preventDefault(),xE(e)||t.stopImmediatePropagation())}function Rg(t){const{x:e,y:n}=Eh(t);if(hu&&t.type!=="pointerleave"&&t.buttons===0&&(hu=!1,$0("up",t)),!hu){const{target:r}=t;c3({target:r,x:e,y:n})}$0("move",t),kh(),ya.length>0&&t.preventDefault()}function Tg(t){const{target:e}=t,{x:n,y:r}=Eh(t);Mh.clear(),hu=!1,ya.length>0&&(t.preventDefault(),xE(e)||t.stopImmediatePropagation()),$0("up",t),c3({target:e,x:n,y:r}),kh(),L0()}function xE(t){let e=t;for(;e;){if(e.hasAttribute(jn.resizeHandle))return!0;e=e.parentElement}return!1}function c3({target:t,x:e,y:n}){ya.splice(0);let r=null;(t instanceof HTMLElement||t instanceof SVGElement)&&(r=t),df.forEach(o=>{const{element:a,hitAreaMargins:i}=o,s=a.getBoundingClientRect(),{bottom:l,left:u,right:d,top:f}=s,m=FZ?i.coarse:i.fine;if(e>=u-m&&e<=d+m&&n>=f-m&&n<=l+m){if(r!==null&&document.contains(r)&&a!==r&&!a.contains(r)&&!r.contains(a)&&$Z(r,a)>0){let g=r,w=!1;for(;g&&!g.contains(a);){if(LZ(g.getBoundingClientRect(),s)){w=!0;break}g=g.parentElement}if(w)return}ya.push(o)}})}function Ng(t,e){Mh.set(t,e)}function kh(){let t=!1,e=!1;ya.forEach(r=>{const{direction:o}=r;o==="horizontal"?t=!0:e=!0});let n=0;Mh.forEach(r=>{n|=r}),t&&e?kg("intersection",n):t?kg("horizontal",n):e?kg("vertical",n):IZ()}let Pg;function L0(){var t;(t=Pg)===null||t===void 0||t.abort(),Pg=new AbortController;const e={capture:!0,signal:Pg.signal};df.size&&(hu?(ya.length>0&&Ns.forEach((n,r)=>{const{body:o}=r;n>0&&(o.addEventListener("contextmenu",Tg,e),o.addEventListener("pointerleave",Rg,e),o.addEventListener("pointermove",Rg,e))}),Ns.forEach((n,r)=>{const{body:o}=r;o.addEventListener("pointerup",Tg,e),o.addEventListener("pointercancel",Tg,e)})):Ns.forEach((n,r)=>{const{body:o}=r;n>0&&(o.addEventListener("pointerdown",jZ,e),o.addEventListener("pointermove",Rg,e))}))}function $0(t,e){df.forEach(n=>{const{setResizeHandlerState:r}=n,o=ya.includes(n);r(t,o,e)})}function HZ(){const[t,e]=pu(0);return no(()=>e(n=>n+1),[])}function Yt(t,e){if(!t)throw console.error(e),Error(e)}function ql(t,e,n=s3){return t.toFixed(n)===e.toFixed(n)?0:t>e?1:-1}function Bi(t,e,n=s3){return ql(t,e,n)===0}function Co(t,e,n){return ql(t,e,n)===0}function WZ(t,e,n){if(t.length!==e.length)return!1;for(let r=0;r<t.length;r++){const o=t[r],a=e[r];if(!Co(o,a,n))return!1}return!0}function lu({panelConstraints:t,panelIndex:e,size:n}){const r=t[e];Yt(r!=null,`Panel constraints not found for index ${e}`);let{collapsedSize:o=0,collapsible:a,maxSize:i=100,minSize:s=0}=r;if(ql(n,s)<0)if(a){const l=(o+s)/2;ql(n,l)<0?n=o:n=s}else n=s;return n=Math.min(i,n),n=parseFloat(n.toFixed(s3)),n}function Wd({delta:t,initialLayout:e,panelConstraints:n,pivotIndices:r,prevLayout:o,trigger:a}){if(Co(t,0))return e;const i=[...e],[s,l]=r;Yt(s!=null,"Invalid first pivot index"),Yt(l!=null,"Invalid second pivot index");let u=0;if(a==="keyboard"){{const f=t<0?l:s,m=n[f];Yt(m,`Panel constraints not found for index ${f}`);const{collapsedSize:v=0,collapsible:g,minSize:w=0}=m;if(g){const y=e[f];if(Yt(y!=null,`Previous layout not found for panel index ${f}`),Co(y,v)){const _=w-y;ql(_,Math.abs(t))>0&&(t=t<0?0-_:_)}}}{const f=t<0?s:l,m=n[f];Yt(m,`No panel constraints found for index ${f}`);const{collapsedSize:v=0,collapsible:g,minSize:w=0}=m;if(g){const y=e[f];if(Yt(y!=null,`Previous layout not found for panel index ${f}`),Co(y,w)){const _=y-v;ql(_,Math.abs(t))>0&&(t=t<0?0-_:_)}}}}{const f=t<0?1:-1;let m=t<0?l:s,v=0;for(;;){const w=e[m];Yt(w!=null,`Previous layout not found for panel index ${m}`);const _=lu({panelConstraints:n,panelIndex:m,size:100})-w;if(v+=_,m+=f,m<0||m>=n.length)break}const g=Math.min(Math.abs(t),Math.abs(v));t=t<0?0-g:g}{let m=t<0?s:l;for(;m>=0&&m<n.length;){const v=Math.abs(t)-Math.abs(u),g=e[m];Yt(g!=null,`Previous layout not found for panel index ${m}`);const w=g-v,y=lu({panelConstraints:n,panelIndex:m,size:w});if(!Co(g,y)&&(u+=g-y,i[m]=y,u.toFixed(3).localeCompare(Math.abs(t).toFixed(3),void 0,{numeric:!0})>=0))break;t<0?m--:m++}}if(WZ(o,i))return o;{const f=t<0?l:s,m=e[f];Yt(m!=null,`Previous layout not found for panel index ${f}`);const v=m+u,g=lu({panelConstraints:n,panelIndex:f,size:v});if(i[f]=g,!Co(g,v)){let w=v-g,_=t<0?l:s;for(;_>=0&&_<n.length;){const S=i[_];Yt(S!=null,`Previous layout not found for panel index ${_}`);const x=S+w,C=lu({panelConstraints:n,panelIndex:_,size:x});if(Co(S,C)||(w-=C-S,i[_]=C),Co(w,0))break;t>0?_--:_++}}}const d=i.reduce((f,m)=>m+f,0);return Co(d,100)?i:o}function qZ({layout:t,panelsArray:e,pivotIndices:n}){let r=0,o=100,a=0,i=0;const s=n[0];Yt(s!=null,"No pivot index found"),e.forEach((f,m)=>{const{constraints:v}=f,{maxSize:g=100,minSize:w=0}=v;m===s?(r=w,o=g):(a+=w,i+=g)});const l=Math.min(o,100-a),u=Math.max(r,100-i),d=t[s];return{valueMax:l,valueMin:u,valueNow:d}}function ff(t,e=document){return Array.from(e.querySelectorAll(`[${jn.resizeHandleId}][data-panel-group-id="${t}"]`))}function SE(t,e,n=document){const o=ff(t,n).findIndex(a=>a.getAttribute(jn.resizeHandleId)===e);return o??null}function CE(t,e,n){const r=SE(t,e,n);return r!=null?[r,r+1]:[-1,-1]}function UZ(t){return t instanceof HTMLElement?!0:typeof t=="object"&&t!==null&&"tagName"in t&&"getAttribute"in t}function EE(t,e=document){if(UZ(e)&&e.dataset.panelGroupId==t)return e;const n=e.querySelector(`[data-panel-group][data-panel-group-id="${t}"]`);return n||null}function Rh(t,e=document){const n=e.querySelector(`[${jn.resizeHandleId}="${t}"]`);return n||null}function YZ(t,e,n,r=document){var o,a,i,s;const l=Rh(e,r),u=ff(t,r),d=l?u.indexOf(l):-1,f=(o=(a=n[d])===null||a===void 0?void 0:a.id)!==null&&o!==void 0?o:null,m=(i=(s=n[d+1])===null||s===void 0?void 0:s.id)!==null&&i!==void 0?i:null;return[f,m]}function GZ({committedValuesRef:t,eagerValuesRef:e,groupId:n,layout:r,panelDataArray:o,panelGroupElement:a,setLayout:i}){so({didWarnAboutMissingResizeHandle:!1}),$l(()=>{if(!a)return;const s=ff(n,a);for(let l=0;l<o.length-1;l++){const{valueMax:u,valueMin:d,valueNow:f}=qZ({layout:r,panelsArray:o,pivotIndices:[l,l+1]}),m=s[l];if(m!=null){const v=o[l];Yt(v,`No panel data found for index "${l}"`),m.setAttribute("aria-controls",v.id),m.setAttribute("aria-valuemax",""+Math.round(u)),m.setAttribute("aria-valuemin",""+Math.round(d)),m.setAttribute("aria-valuenow",f!=null?""+Math.round(f):"")}}return()=>{s.forEach((l,u)=>{l.removeAttribute("aria-controls"),l.removeAttribute("aria-valuemax"),l.removeAttribute("aria-valuemin"),l.removeAttribute("aria-valuenow")})}},[n,r,o,a]),Ll(()=>{if(!a)return;const s=e.current;Yt(s,"Eager values not found");const{panelDataArray:l}=s,u=EE(n,a);Yt(u!=null,`No group found for id "${n}"`);const d=ff(n,a);Yt(d,`No resize handles found for group id "${n}"`);const f=d.map(m=>{const v=m.getAttribute(jn.resizeHandleId);Yt(v,"Resize handle element has no handle id attribute");const[g,w]=YZ(n,v,l,a);if(g==null||w==null)return()=>{};const y=_=>{if(!_.defaultPrevented)switch(_.key){case"Enter":{_.preventDefault();const S=l.findIndex(x=>x.id===g);if(S>=0){const x=l[S];Yt(x,`No panel data found for index ${S}`);const C=r[S],{collapsedSize:M=0,collapsible:A,minSize:O=0}=x.constraints;if(C!=null&&A){const D=Wd({delta:Co(C,M)?O-M:M-C,initialLayout:r,panelConstraints:l.map(T=>T.constraints),pivotIndices:CE(n,v,a),prevLayout:r,trigger:"keyboard"});r!==D&&i(D)}}break}}};return m.addEventListener("keydown",y),()=>{m.removeEventListener("keydown",y)}});return()=>{f.forEach(m=>m())}},[a,t,e,n,r,o,i])}function M4(t,e){if(t.length!==e.length)return!1;for(let n=0;n<t.length;n++)if(t[n]!==e[n])return!1;return!0}function ME(t,e){const n=t==="horizontal",{x:r,y:o}=Eh(e);return n?r:o}function KZ(t,e,n,r,o){const a=n==="horizontal",i=Rh(e,o);Yt(i,`No resize handle element found for id "${e}"`);const s=i.getAttribute(jn.groupId);Yt(s,"Resize handle element has no group id attribute");let{initialCursorPosition:l}=r;const u=ME(n,t),d=EE(s,o);Yt(d,`No group element found for id "${s}"`);const f=d.getBoundingClientRect(),m=a?f.width:f.height;return(u-l)/m*100}function XZ(t,e,n,r,o,a){if(hE(t)){const i=n==="horizontal";let s=0;t.shiftKey?s=100:o!=null?s=o:s=10;let l=0;switch(t.key){case"ArrowDown":l=i?0:s;break;case"ArrowLeft":l=i?-s:0;break;case"ArrowRight":l=i?s:0;break;case"ArrowUp":l=i?0:-s;break;case"End":l=100;break;case"Home":l=-100;break}return l}else return r==null?0:KZ(t,e,n,r,a)}function ZZ({panelDataArray:t}){const e=Array(t.length),n=t.map(a=>a.constraints);let r=0,o=100;for(let a=0;a<t.length;a++){const i=n[a];Yt(i,`Panel constraints not found for index ${a}`);const{defaultSize:s}=i;s!=null&&(r++,e[a]=s,o-=s)}for(let a=0;a<t.length;a++){const i=n[a];Yt(i,`Panel constraints not found for index ${a}`);const{defaultSize:s}=i;if(s!=null)continue;const l=t.length-r,u=o/l;r++,e[a]=u,o-=u}return e}function Bc(t,e,n){e.forEach((r,o)=>{const a=t[o];Yt(a,`Panel data not found for index ${o}`);const{callbacks:i,constraints:s,id:l}=a,{collapsedSize:u=0,collapsible:d}=s,f=n[l];if(f==null||r!==f){n[l]=r;const{onCollapse:m,onExpand:v,onResize:g}=i;g&&g(r,f),d&&(m||v)&&(v&&(f==null||Bi(f,u))&&!Bi(r,u)&&v(),m&&(f==null||!Bi(f,u))&&Bi(r,u)&&m())}})}function Zp(t,e){if(t.length!==e.length)return!1;for(let n=0;n<t.length;n++)if(t[n]!=e[n])return!1;return!0}function QZ({defaultSize:t,dragState:e,layout:n,panelData:r,panelIndex:o,precision:a=3}){const i=n[o];let s;return i==null?s=t!=null?t.toFixed(a):"1":r.length===1?s="1":s=i.toFixed(a),{flexBasis:0,flexGrow:s,flexShrink:1,overflow:"hidden",pointerEvents:e!==null?"none":void 0}}function JZ(t,e=10){let n=null;return(...o)=>{n!==null&&clearTimeout(n),n=setTimeout(()=>{t(...o)},e)}}function k4(t){try{if(typeof localStorage<"u")t.getItem=e=>localStorage.getItem(e),t.setItem=(e,n)=>{localStorage.setItem(e,n)};else throw new Error("localStorage not supported in this environment")}catch(e){console.error(e),t.getItem=()=>null,t.setItem=()=>{}}}function kE(t){return`react-resizable-panels:${t}`}function RE(t){return t.map(e=>{const{constraints:n,id:r,idIsFromProps:o,order:a}=e;return o?r:a?`${a}:${JSON.stringify(n)}`:JSON.stringify(n)}).sort((e,n)=>e.localeCompare(n)).join(",")}function TE(t,e){try{const n=kE(t),r=e.getItem(n);if(r){const o=JSON.parse(r);if(typeof o=="object"&&o!=null)return o}}catch{}return null}function eQ(t,e,n){var r,o;const a=(r=TE(t,n))!==null&&r!==void 0?r:{},i=RE(e);return(o=a[i])!==null&&o!==void 0?o:null}function tQ(t,e,n,r,o){var a;const i=kE(t),s=RE(e),l=(a=TE(t,o))!==null&&a!==void 0?a:{};l[s]={expandToSizes:Object.fromEntries(n.entries()),layout:r};try{o.setItem(i,JSON.stringify(l))}catch(u){console.error(u)}}function R4({layout:t,panelConstraints:e}){const n=[...t],r=n.reduce((a,i)=>a+i,0);if(n.length!==e.length)throw Error(`Invalid ${e.length} panel layout: ${n.map(a=>`${a}%`).join(", ")}`);if(!Co(r,100)&&n.length>0)for(let a=0;a<e.length;a++){const i=n[a];Yt(i!=null,`No layout data found for index ${a}`);const s=100/r*i;n[a]=s}let o=0;for(let a=0;a<e.length;a++){const i=n[a];Yt(i!=null,`No layout data found for index ${a}`);const s=lu({panelConstraints:e,panelIndex:a,size:i});i!=s&&(o+=i-s,n[a]=s)}if(!Co(o,0))for(let a=0;a<e.length;a++){const i=n[a];Yt(i!=null,`No layout data found for index ${a}`);const s=i+o,l=lu({panelConstraints:e,panelIndex:a,size:s});if(i!==l&&(o-=l-i,n[a]=l,Co(o,0)))break}return n}const nQ=100,qd={getItem:t=>(k4(qd),qd.getItem(t)),setItem:(t,e)=>{k4(qd),qd.setItem(t,e)}},T4={};function NE({autoSaveId:t=null,children:e,className:n="",direction:r,forwardedRef:o,id:a=null,onLayout:i=null,keyboardResizeBy:s=null,storage:l=qd,style:u,tagName:d="div",...f}){const m=l3(a),v=so(null),[g,w]=pu(null),[y,_]=pu([]),S=HZ(),x=so({}),C=so(new Map),M=so(0),A=so({autoSaveId:t,direction:r,dragState:g,id:m,keyboardResizeBy:s,onLayout:i,storage:l}),O=so({layout:y,panelDataArray:[],panelDataArrayChanged:!1});so({didLogIdAndOrderWarning:!1,didLogPanelConstraintsWarning:!1,prevPanelIds:[]}),dE(o,()=>({getId:()=>A.current.id,getLayout:()=>{const{layout:re}=O.current;return re},setLayout:re=>{const{onLayout:te}=A.current,{layout:oe,panelDataArray:ee}=O.current,ue=R4({layout:re,panelConstraints:ee.map(fe=>fe.constraints)});M4(oe,ue)||(_(ue),O.current.layout=ue,te&&te(ue),Bc(ee,ue,x.current))}}),[]),$l(()=>{A.current.autoSaveId=t,A.current.direction=r,A.current.dragState=g,A.current.id=m,A.current.onLayout=i,A.current.storage=l}),GZ({committedValuesRef:A,eagerValuesRef:O,groupId:m,layout:y,panelDataArray:O.current.panelDataArray,setLayout:_,panelGroupElement:v.current}),Ll(()=>{const{panelDataArray:re}=O.current;if(t){if(y.length===0||y.length!==re.length)return;let te=T4[t];te==null&&(te=JZ(tQ,nQ),T4[t]=te);const oe=[...re],ee=new Map(C.current);te(t,oe,ee,y,l)}},[t,y,l]),Ll(()=>{});const D=no(re=>{const{onLayout:te}=A.current,{layout:oe,panelDataArray:ee}=O.current;if(re.constraints.collapsible){const ue=ee.map(Ne=>Ne.constraints),{collapsedSize:fe=0,panelSize:ye,pivotIndices:we}=_l(ee,re,oe);if(Yt(ye!=null,`Panel size not found for panel "${re.id}"`),!Bi(ye,fe)){C.current.set(re.id,ye);const Ie=ou(ee,re)===ee.length-1?ye-fe:fe-ye,Pe=Wd({delta:Ie,initialLayout:oe,panelConstraints:ue,pivotIndices:we,prevLayout:oe,trigger:"imperative-api"});Zp(oe,Pe)||(_(Pe),O.current.layout=Pe,te&&te(Pe),Bc(ee,Pe,x.current))}}},[]),T=no((re,te)=>{const{onLayout:oe}=A.current,{layout:ee,panelDataArray:ue}=O.current;if(re.constraints.collapsible){const fe=ue.map(he=>he.constraints),{collapsedSize:ye=0,panelSize:we=0,minSize:Ne=0,pivotIndices:Ie}=_l(ue,re,ee),Pe=te??Ne;if(Bi(we,ye)){const he=C.current.get(re.id),ge=he!=null&&he>=Pe?he:Pe,Ue=ou(ue,re)===ue.length-1?we-ge:ge-we,Ae=Wd({delta:Ue,initialLayout:ee,panelConstraints:fe,pivotIndices:Ie,prevLayout:ee,trigger:"imperative-api"});Zp(ee,Ae)||(_(Ae),O.current.layout=Ae,oe&&oe(Ae),Bc(ue,Ae,x.current))}}},[]),R=no(re=>{const{layout:te,panelDataArray:oe}=O.current,{panelSize:ee}=_l(oe,re,te);return Yt(ee!=null,`Panel size not found for panel "${re.id}"`),ee},[]),$=no((re,te)=>{const{panelDataArray:oe}=O.current,ee=ou(oe,re);return QZ({defaultSize:te,dragState:g,layout:y,panelData:oe,panelIndex:ee})},[g,y]),P=no(re=>{const{layout:te,panelDataArray:oe}=O.current,{collapsedSize:ee=0,collapsible:ue,panelSize:fe}=_l(oe,re,te);return Yt(fe!=null,`Panel size not found for panel "${re.id}"`),ue===!0&&Bi(fe,ee)},[]),I=no(re=>{const{layout:te,panelDataArray:oe}=O.current,{collapsedSize:ee=0,collapsible:ue,panelSize:fe}=_l(oe,re,te);return Yt(fe!=null,`Panel size not found for panel "${re.id}"`),!ue||ql(fe,ee)>0},[]),L=no(re=>{const{panelDataArray:te}=O.current;te.push(re),te.sort((oe,ee)=>{const ue=oe.order,fe=ee.order;return ue==null&&fe==null?0:ue==null?-1:fe==null?1:ue-fe}),O.current.panelDataArrayChanged=!0,S()},[S]);$l(()=>{if(O.current.panelDataArrayChanged){O.current.panelDataArrayChanged=!1;const{autoSaveId:re,onLayout:te,storage:oe}=A.current,{layout:ee,panelDataArray:ue}=O.current;let fe=null;if(re){const we=eQ(re,ue,oe);we&&(C.current=new Map(Object.entries(we.expandToSizes)),fe=we.layout)}fe==null&&(fe=ZZ({panelDataArray:ue}));const ye=R4({layout:fe,panelConstraints:ue.map(we=>we.constraints)});M4(ee,ye)||(_(ye),O.current.layout=ye,te&&te(ye),Bc(ue,ye,x.current))}}),$l(()=>{const re=O.current;return()=>{re.layout=[]}},[]);const V=no(re=>{let te=!1;const oe=v.current;return oe&&window.getComputedStyle(oe,null).getPropertyValue("direction")==="rtl"&&(te=!0),function(ue){ue.preventDefault();const fe=v.current;if(!fe)return()=>null;const{direction:ye,dragState:we,id:Ne,keyboardResizeBy:Ie,onLayout:Pe}=A.current,{layout:he,panelDataArray:ge}=O.current,{initialLayout:be}=we??{},Ue=CE(Ne,re,fe);let Ae=XZ(ue,re,ye,we,Ie,fe);const Ke=ye==="horizontal";Ke&&te&&(Ae=-Ae);const Me=ge.map(mt=>mt.constraints),at=Wd({delta:Ae,initialLayout:be??he,panelConstraints:Me,pivotIndices:Ue,prevLayout:he,trigger:hE(ue)?"keyboard":"mouse-or-touch"}),ut=!Zp(he,at);(mE(ue)||gE(ue))&&M.current!=Ae&&(M.current=Ae,!ut&&Ae!==0?Ke?Ng(re,Ae<0?wE:bE):Ng(re,Ae<0?yE:_E):Ng(re,0)),ut&&(_(at),O.current.layout=at,Pe&&Pe(at),Bc(ge,at,x.current))}},[]),F=no((re,te)=>{const{onLayout:oe}=A.current,{layout:ee,panelDataArray:ue}=O.current,fe=ue.map(he=>he.constraints),{panelSize:ye,pivotIndices:we}=_l(ue,re,ee);Yt(ye!=null,`Panel size not found for panel "${re.id}"`);const Ie=ou(ue,re)===ue.length-1?ye-te:te-ye,Pe=Wd({delta:Ie,initialLayout:ee,panelConstraints:fe,pivotIndices:we,prevLayout:ee,trigger:"imperative-api"});Zp(ee,Pe)||(_(Pe),O.current.layout=Pe,oe&&oe(Pe),Bc(ue,Pe,x.current))},[]),z=no((re,te)=>{const{layout:oe,panelDataArray:ee}=O.current,{collapsedSize:ue=0,collapsible:fe}=te,{collapsedSize:ye=0,collapsible:we,maxSize:Ne=100,minSize:Ie=0}=re.constraints,{panelSize:Pe}=_l(ee,re,oe);Pe!=null&&(fe&&we&&Bi(Pe,ue)?Bi(ue,ye)||F(re,ye):Pe<Ie?F(re,Ie):Pe>Ne&&F(re,Ne))},[F]),B=no((re,te)=>{const{direction:oe}=A.current,{layout:ee}=O.current;if(!v.current)return;const ue=Rh(re,v.current);Yt(ue,`Drag handle element not found for id "${re}"`);const fe=ME(oe,te);w({dragHandleId:re,dragHandleRect:ue.getBoundingClientRect(),initialCursorPosition:fe,initialLayout:ee})},[]),Y=no(()=>{w(null)},[]),U=no(re=>{const{panelDataArray:te}=O.current,oe=ou(te,re);oe>=0&&(te.splice(oe,1),delete x.current[re.id],O.current.panelDataArrayChanged=!0,S())},[S]),le=TZ(()=>({collapsePanel:D,direction:r,dragState:g,expandPanel:T,getPanelSize:R,getPanelStyle:$,groupId:m,isPanelCollapsed:P,isPanelExpanded:I,reevaluatePanelConstraints:z,registerPanel:L,registerResizeHandle:V,resizePanel:F,startDragging:B,stopDragging:Y,unregisterPanel:U,panelGroupElement:v.current}),[D,g,r,T,R,$,m,P,I,z,L,V,F,B,Y,U]),J={display:"flex",flexDirection:r==="horizontal"?"row":"column",height:"100%",overflow:"hidden",width:"100%"};return xu(Ch.Provider,{value:le},xu(d,{...f,children:e,className:n,id:a,ref:v,style:{...J,...u},[jn.group]:"",[jn.groupDirection]:r,[jn.groupId]:m}))}const PE=cE((t,e)=>xu(NE,{...t,forwardedRef:e}));NE.displayName="PanelGroup";PE.displayName="forwardRef(PanelGroup)";function ou(t,e){return t.findIndex(n=>n===e||n.id===e.id)}function _l(t,e,n){const r=ou(t,e),a=r===t.length-1?[r-1,r]:[r,r+1],i=n[r];return{...e.constraints,panelSize:i,pivotIndices:a}}function rQ({disabled:t,handleId:e,resizeHandler:n,panelGroupElement:r}){Ll(()=>{if(t||n==null||r==null)return;const o=Rh(e,r);if(o==null)return;const a=i=>{if(!i.defaultPrevented)switch(i.key){case"ArrowDown":case"ArrowLeft":case"ArrowRight":case"ArrowUp":case"End":case"Home":{i.preventDefault(),n(i);break}case"F6":{i.preventDefault();const s=o.getAttribute(jn.groupId);Yt(s,`No group element found for id "${s}"`);const l=ff(s,r),u=SE(s,e,r);Yt(u!==null,`No resize element found for id "${e}"`);const d=i.shiftKey?u>0?u-1:l.length-1:u+1<l.length?u+1:0;l[d].focus();break}}};return o.addEventListener("keydown",a),()=>{o.removeEventListener("keydown",a)}},[r,t,e,n])}function AE({children:t=null,className:e="",disabled:n=!1,hitAreaMargins:r,id:o,onBlur:a,onClick:i,onDragging:s,onFocus:l,onPointerDown:u,onPointerUp:d,style:f={},tabIndex:m=0,tagName:v="div",...g}){var w,y;const _=so(null),S=so({onClick:i,onDragging:s,onPointerDown:u,onPointerUp:d});Ll(()=>{S.current.onClick=i,S.current.onDragging=s,S.current.onPointerDown=u,S.current.onPointerUp=d});const x=uE(Ch);if(x===null)throw Error("PanelResizeHandle components must be rendered within a PanelGroup container");const{direction:C,groupId:M,registerResizeHandle:A,startDragging:O,stopDragging:D,panelGroupElement:T}=x,R=l3(o),[$,P]=pu("inactive"),[I,L]=pu(!1),[V,F]=pu(null),z=so({state:$});$l(()=>{z.current.state=$}),Ll(()=>{if(n)F(null);else{const le=A(R);F(()=>le)}},[n,R,A]);const B=(w=r?.coarse)!==null&&w!==void 0?w:15,Y=(y=r?.fine)!==null&&y!==void 0?y:5;return Ll(()=>{if(n||V==null)return;const le=_.current;Yt(le,"Element ref not attached");let J=!1;return VZ(R,le,C,{coarse:B,fine:Y},(te,oe,ee)=>{if(!oe){P("inactive");return}switch(te){case"down":{P("drag"),J=!1,Yt(ee,'Expected event to be defined for "down" action'),O(R,ee);const{onDragging:ue,onPointerDown:fe}=S.current;ue?.(!0),fe?.();break}case"move":{const{state:ue}=z.current;J=!0,ue!=="drag"&&P("hover"),Yt(ee,'Expected event to be defined for "move" action'),V(ee);break}case"up":{P("hover"),D();const{onClick:ue,onDragging:fe,onPointerUp:ye}=S.current;fe?.(!1),ye?.(),J||ue?.();break}}})},[B,C,n,Y,A,R,V,O,D]),rQ({disabled:n,handleId:R,resizeHandler:V,panelGroupElement:T}),xu(v,{...g,children:t,className:e,id:o,onBlur:()=>{L(!1),a?.()},onFocus:()=>{L(!0),l?.()},ref:_,role:"separator",style:{...{touchAction:"none",userSelect:"none"},...f},tabIndex:m,[jn.groupDirection]:C,[jn.groupId]:M,[jn.resizeHandle]:"",[jn.resizeHandleActive]:$==="drag"?"pointer":I?"keyboard":void 0,[jn.resizeHandleEnabled]:!n,[jn.resizeHandleId]:R,[jn.resizeHandleState]:$})}AE.displayName="PanelResizeHandle";await q("react");const oQ=await q("react");await q("react-dom");var aQ=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],iQ=aQ.reduce((t,e)=>{const n=U7(`Primitive.${e}`),r=oQ.forwardRef((o,a)=>{const{asChild:i,...s}=o,l=i?n:e;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),Z.jsx(l,{...s,ref:a})});return r.displayName=`Primitive.${e}`,{...t,[e]:r}},{});const sQ=await q("react");var lQ=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"}),cQ="VisuallyHidden",Dl=sQ.forwardRef((t,e)=>Z.jsx(iQ.span,{...t,ref:e,style:{...lQ,...t.style}}));Dl.displayName=cQ;const{useLayoutEffect:uQ,useState:dQ}=await q("react"),fQ=({className:t,type:e,open:n,onOpenChange:r,header:o,footer:a,children:i,hideCloseButton:s,dialogContainer:l,handleInteractOutside:u})=>{const d=e.split("-")[0];return h(PY,{open:n,onOpenChange:r,children:ne(OY,{className:se(t,{"[&>button:last-child]:hidden":s}),side:d,container:l,onInteractOutside:u,children:[!!o&&ne(LY,{children:[!!o.title&&h(DY,{children:o.title}),!!o.description&&h(BY,{children:o.description})]}),i,!!a&&h($Y,{children:a})]})})},ac=({className:t,open:e,type:n="dialog",dialogContainer:r,children:o,enableDimClose:a=!0,header:i,hideCloseButton:s,footer:l,snapshotCnt:u,onOpenChange:d,disableAutoFocus:f=!1,allowOutSideElementEvent:m})=>{const{theme:v}=ah()??{theme:"light"},[g,w]=dQ(v),y=_=>{a||_.preventDefault()};return uQ(()=>{const _=v||document.body.getAttribute("data-theme");_&&w(_)},[v]),n==="drawer"?h(SY,{open:e,onOpenChange:d,children:ne(MY,{className:se(t),container:r,onInteractOutside:y,children:[!!i&&ne(kY,{children:[!!i.title&&h(TY,{children:i.title}),!!i.description&&h(NY,{children:i.description})]}),o,!!l&&h(RY,{children:l})]})}):n==="dialog"?ne(FU,{open:e,modal:!m,onOpenChange:d,children:[ne(jU,{...f&&{onOpenAutoFocus:_=>_.preventDefault()},className:se({"[&>button:last-child]:hidden":s,"bg-overlay border-subtle block overflow-hidden rounded-lg border-1 !border-solid p-0 shadow-[0px_0px_2px_0px_rgba(9,9,11,0.20)]":g==="dark","[&_[data-slot='dialog-close']]:text-fg-subtle [&_[data-slot='dialog-close']]:top-3 [&_[data-slot='dialog-close']]:right-3":g==="dark"},t),container:r,"data-pad-scope":"modal",onInteractOutside:y,children:[i?ne(HU,{className:se({"h-auto gap-0.5 pt-3 pr-16 pb-2 pl-4 text-left":g==="dark","pt-4":i.description}),children:[i.title?h(hg,{className:se({"text-fg-default typo-title-01-bold":g==="dark"}),children:i.title}):h(Dl,{children:h(hg,{})}),i.description?h(mg,{className:se({"text-fg-subtle typo-compact-xs-normal":g==="dark"}),children:i.description}):h(Dl,{children:h(mg,{})})]}):ne(Dl,{children:[h(hg,{}),h(mg,{})]}),o,!!l&&h(WU,{className:se({"p-4":g==="dark"}),children:l})]}),m&&h("div",{className:"pointer-events-none fixed inset-0 z-40 bg-black/40"})]}):h(fQ,{className:t,type:n,header:i,footer:l,open:e,enableDimClose:a,hideCloseButton:s,dialogContainer:r,onOpenChange:d,handleInteractOutside:y,children:o})};var tt={},Ud={exports:{}},pQ=Ud.exports,N4;function hQ(){return N4||(N4=1,(function(t,e){(function(n,r){var o="1.0.41",a="",i="?",s="function",l="undefined",u="object",d="string",f="major",m="model",v="name",g="type",w="vendor",y="version",_="architecture",S="console",x="mobile",C="tablet",M="smarttv",A="wearable",O="embedded",D=500,T="Amazon",R="Apple",$="ASUS",P="BlackBerry",I="Browser",L="Chrome",V="Edge",F="Firefox",z="Google",B="Honor",Y="Huawei",U="Lenovo",le="LG",J="Microsoft",re="Motorola",te="Nvidia",oe="OnePlus",ee="Opera",ue="OPPO",fe="Samsung",ye="Sharp",we="Sony",Ne="Xiaomi",Ie="Zebra",Pe="Facebook",he="Chromium OS",ge="Mac OS",be=" Browser",Ue=function(Rt,Se){var qe={};for(var wt in Rt)Se[wt]&&Se[wt].length%2===0?qe[wt]=Se[wt].concat(Rt[wt]):qe[wt]=Rt[wt];return qe},Ae=function(Rt){for(var Se={},qe=0;qe<Rt.length;qe++)Se[Rt[qe].toUpperCase()]=Rt[qe];return Se},Ke=function(Rt,Se){return typeof Rt===d?Me(Se).indexOf(Me(Rt))!==-1:!1},Me=function(Rt){return Rt.toLowerCase()},at=function(Rt){return typeof Rt===d?Rt.replace(/[^\d\.]/g,a).split(".")[0]:r},ut=function(Rt,Se){if(typeof Rt===d)return Rt=Rt.replace(/^\s\s*/,a),typeof Se===l?Rt:Rt.substring(0,D)},mt=function(Rt,Se){for(var qe=0,wt,un,on,Ot,ht,Ze;qe<Se.length&&!ht;){var Dt=Se[qe],jt=Se[qe+1];for(wt=un=0;wt<Dt.length&&!ht&&Dt[wt];)if(ht=Dt[wt++].exec(Rt),ht)for(on=0;on<jt.length;on++)Ze=ht[++un],Ot=jt[on],typeof Ot===u&&Ot.length>0?Ot.length===2?typeof Ot[1]==s?this[Ot[0]]=Ot[1].call(this,Ze):this[Ot[0]]=Ot[1]:Ot.length===3?typeof Ot[1]===s&&!(Ot[1].exec&&Ot[1].test)?this[Ot[0]]=Ze?Ot[1].call(this,Ze,Ot[2]):r:this[Ot[0]]=Ze?Ze.replace(Ot[1],Ot[2]):r:Ot.length===4&&(this[Ot[0]]=Ze?Ot[3].call(this,Ze.replace(Ot[1],Ot[2])):r):this[Ot]=Ze||r;qe+=2}},Ft=function(Rt,Se){for(var qe in Se)if(typeof Se[qe]===u&&Se[qe].length>0){for(var wt=0;wt<Se[qe].length;wt++)if(Ke(Se[qe][wt],Rt))return qe===i?r:qe}else if(Ke(Se[qe],Rt))return qe===i?r:qe;return Se.hasOwnProperty("*")?Se["*"]:Rt},cn={"1.0":"/8",1.2:"/1",1.3:"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},Sn={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"},Jn={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[y,[v,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[y,[v,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[v,y],[/opios[\/ ]+([\w\.]+)/i],[y,[v,ee+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[y,[v,ee+" GX"]],[/\bopr\/([\w\.]+)/i],[y,[v,ee]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[y,[v,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[y,[v,"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],[v,y],[/quark(?:pc)?\/([-\w\.]+)/i],[y,[v,"Quark"]],[/\bddg\/([\w\.]+)/i],[y,[v,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[y,[v,"UC"+I]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[y,[v,"WeChat"]],[/konqueror\/([\w\.]+)/i],[y,[v,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[y,[v,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[y,[v,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[y,[v,"Smart Lenovo "+I]],[/(avast|avg)\/([\w\.]+)/i],[[v,/(.+)/,"$1 Secure "+I],y],[/\bfocus\/([\w\.]+)/i],[y,[v,F+" Focus"]],[/\bopt\/([\w\.]+)/i],[y,[v,ee+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[y,[v,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[y,[v,"Dolphin"]],[/coast\/([\w\.]+)/i],[y,[v,ee+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[y,[v,"MIUI"+be]],[/fxios\/([\w\.-]+)/i],[y,[v,F]],[/\bqihoobrowser\/?([\w\.]*)/i],[y,[v,"360"]],[/\b(qq)\/([\w\.]+)/i],[[v,/(.+)/,"$1Browser"],y],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[v,/(.+)/,"$1"+be],y],[/samsungbrowser\/([\w\.]+)/i],[y,[v,fe+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[y,[v,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[v,"Sogou Mobile"],y],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[v,y],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[v],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[y,v],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[v,Pe],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],[v,y],[/\bgsa\/([\w\.]+) .*safari\//i],[y,[v,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[y,[v,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[y,[v,L+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[v,L+" WebView"],y],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[y,[v,"Android "+I]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[v,y],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[y,[v,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[y,v],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[v,[y,Ft,cn]],[/(webkit|khtml)\/([\w\.]+)/i],[v,y],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[v,"Netscape"],y],[/(wolvic|librewolf)\/([\w\.]+)/i],[v,y],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[y,[v,F+" 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],[v,[y,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[v,[y,/master.|lts./,""]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[_,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[_,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[_,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[_,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[_,"arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[[_,/ower/,a,Me]],[/ sun4\w[;\)]/i],[[_,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[[_,Me]]],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],[m,[w,fe],[g,C]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[m,[w,fe],[g,x]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[m,[w,R],[g,x]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[m,[w,R],[g,C]],[/(macintosh);/i],[m,[w,R]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[m,[w,ye],[g,x]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[m,[w,B],[g,C]],[/honor([-\w ]+)[;\)]/i],[m,[w,B],[g,x]],[/\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],[m,[w,Y],[g,C]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[m,[w,Y],[g,x]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[m,/_/g," "],[w,Ne],[g,C]],[/\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],[[m,/_/g," "],[w,Ne],[g,x]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[m,[w,ue],[g,x]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[m,[w,Ft,{OnePlus:["304","403","203"],"*":ue}],[g,C]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[m,[w,"Vivo"],[g,x]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[m,[w,"Realme"],[g,x]],[/\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],[m,[w,re],[g,x]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[m,[w,re],[g,C]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[m,[w,le],[g,C]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv|watch)\w+)/i,/\blg-?([\d\w]+) bui/i],[m,[w,le],[g,x]],[/(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],[m,[w,U],[g,C]],[/(nokia) (t[12][01])/i],[w,m,[g,C]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[m,/_/g," "],[g,x],[w,"Nokia"]],[/(pixel (c|tablet))\b/i],[m,[w,z],[g,C]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[m,[w,z],[g,x]],[/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],[m,[w,we],[g,x]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[m,"Xperia Tablet"],[w,we],[g,C]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[m,[w,oe],[g,x]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[m,[w,T],[g,C]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[m,/(.+)/g,"Fire Phone $1"],[w,T],[g,x]],[/(playbook);[-\w\),; ]+(rim)/i],[m,w,[g,C]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[m,[w,P],[g,x]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[m,[w,$],[g,C]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[m,[w,$],[g,x]],[/(nexus 9)/i],[m,[w,"HTC"],[g,C]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[w,[m,/_/g," "],[g,x]],[/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],[m,[w,"TCL"],[g,C]],[/(itel) ((\w+))/i],[[w,Me],m,[g,Ft,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[m,[w,"Acer"],[g,C]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[m,[w,"Meizu"],[g,x]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[m,[w,"Ulefone"],[g,x]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[m,[w,"Energizer"],[g,x]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[m,[w,"Cat"],[g,x]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[m,[w,"Smartfren"],[g,x]],[/droid.+; (a(?:015|06[35]|142p?))/i],[m,[w,"Nothing"],[g,x]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[m,[w,"Archos"],[g,C]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[m,[w,"Archos"],[g,x]],[/(imo) (tab \w+)/i,/(infinix) (x1101b?)/i],[w,m,[g,C]],[/(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],[w,m,[g,x]],[/(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],[w,m,[g,C]],[/(surface duo)/i],[m,[w,J],[g,C]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[m,[w,"Fairphone"],[g,x]],[/(u304aa)/i],[m,[w,"AT&T"],[g,x]],[/\bsie-(\w*)/i],[m,[w,"Siemens"],[g,x]],[/\b(rct\w+) b/i],[m,[w,"RCA"],[g,C]],[/\b(venue[\d ]{2,7}) b/i],[m,[w,"Dell"],[g,C]],[/\b(q(?:mv|ta)\w+) b/i],[m,[w,"Verizon"],[g,C]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[m,[w,"Barnes & Noble"],[g,C]],[/\b(tm\d{3}\w+) b/i],[m,[w,"NuVision"],[g,C]],[/\b(k88) b/i],[m,[w,"ZTE"],[g,C]],[/\b(nx\d{3}j) b/i],[m,[w,"ZTE"],[g,x]],[/\b(gen\d{3}) b.+49h/i],[m,[w,"Swiss"],[g,x]],[/\b(zur\d{3}) b/i],[m,[w,"Swiss"],[g,C]],[/\b((zeki)?tb.*\b) b/i],[m,[w,"Zeki"],[g,C]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[w,"Dragon Touch"],m,[g,C]],[/\b(ns-?\w{0,9}) b/i],[m,[w,"Insignia"],[g,C]],[/\b((nxa|next)-?\w{0,9}) b/i],[m,[w,"NextBook"],[g,C]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[w,"Voice"],m,[g,x]],[/\b(lvtel\-)?(v1[12]) b/i],[[w,"LvTel"],m,[g,x]],[/\b(ph-1) /i],[m,[w,"Essential"],[g,x]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[m,[w,"Envizen"],[g,C]],[/\b(trio[-\w\. ]+) b/i],[m,[w,"MachSpeed"],[g,C]],[/\btu_(1491) b/i],[m,[w,"Rotor"],[g,C]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[m,[w,te],[g,C]],[/(sprint) (\w+)/i],[w,m,[g,x]],[/(kin\.[onetw]{3})/i],[[m,/\./g," "],[w,J],[g,x]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[m,[w,Ie],[g,C]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[m,[w,Ie],[g,x]],[/smart-tv.+(samsung)/i],[w,[g,M]],[/hbbtv.+maple;(\d+)/i],[[m,/^/,"SmartTV"],[w,fe],[g,M]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[w,le],[g,M]],[/(apple) ?tv/i],[w,[m,R+" TV"],[g,M]],[/crkey/i],[[m,L+"cast"],[w,z],[g,M]],[/droid.+aft(\w+)( bui|\))/i],[m,[w,T],[g,M]],[/(shield \w+ tv)/i],[m,[w,te],[g,M]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[m,[w,ye],[g,M]],[/(bravia[\w ]+)( bui|\))/i],[m,[w,we],[g,M]],[/(mi(tv|box)-?\w+) bui/i],[m,[w,Ne],[g,M]],[/Hbbtv.*(technisat) (.*);/i],[w,m,[g,M]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[w,ut],[m,ut],[g,M]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[m,[g,M]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[g,M]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[w,m,[g,S]],[/droid.+; (shield)( bui|\))/i],[m,[w,te],[g,S]],[/(playstation \w+)/i],[m,[w,we],[g,S]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[m,[w,J],[g,S]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[m,[w,fe],[g,A]],[/((pebble))app/i,/(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[w,m,[g,A]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[m,[w,ue],[g,A]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[m,[w,R],[g,A]],[/(opwwe\d{3})/i],[m,[w,oe],[g,A]],[/(moto 360)/i],[m,[w,re],[g,A]],[/(smartwatch 3)/i],[m,[w,we],[g,A]],[/(g watch r)/i],[m,[w,le],[g,A]],[/droid.+; (wt63?0{2,3})\)/i],[m,[w,Ie],[g,A]],[/droid.+; (glass) \d/i],[m,[w,z],[g,A]],[/(pico) (4|neo3(?: link|pro)?)/i],[w,m,[g,A]],[/; (quest( \d| pro)?)/i],[m,[w,Pe],[g,A]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[w,[g,O]],[/(aeobc)\b/i],[m,[w,T],[g,O]],[/(homepod).+mac os/i],[m,[w,R],[g,O]],[/windows iot/i],[[g,O]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[m,[g,x]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[m,[g,C]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[g,C]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[g,x]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[m,[w,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[y,[v,V+"HTML"]],[/(arkweb)\/([\w\.]+)/i],[v,y],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[y,[v,"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],[v,y],[/ladybird\//i],[[v,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[y,v]],os:[[/microsoft (windows) (vista|xp)/i],[v,y],[/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i],[v,[y,Ft,Sn]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[y,Ft,Sn],[v,"Windows"]],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[y,/_/g,"."],[v,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[v,ge],[y,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[y,v],[/(ubuntu) ([\w\.]+) like android/i],[[v,/(.+)/,"$1 Touch"],y],[/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/; ]?([\d\.]*)/i],[v,y],[/\(bb(10);/i],[y,[v,P]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[y,[v,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[y,[v,F+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[y,[v,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[y,[v,"watchOS"]],[/crkey\/([\d\.]+)/i],[y,[v,L+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[v,he],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],[v,y],[/(sunos) ?([\w\.\d]*)/i],[[v,"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],[v,y]]},Gt=function(Rt,Se){if(typeof Rt===u&&(Se=Rt,Rt=r),!(this instanceof Gt))return new Gt(Rt,Se).getResult();var qe=typeof n!==l&&n.navigator?n.navigator:r,wt=Rt||(qe&&qe.userAgent?qe.userAgent:a),un=qe&&qe.userAgentData?qe.userAgentData:r,on=Se?Ue(Jn,Se):Jn,Ot=qe&&qe.userAgent==wt;return this.getBrowser=function(){var ht={};return ht[v]=r,ht[y]=r,mt.call(ht,wt,on.browser),ht[f]=at(ht[y]),Ot&&qe&&qe.brave&&typeof qe.brave.isBrave==s&&(ht[v]="Brave"),ht},this.getCPU=function(){var ht={};return ht[_]=r,mt.call(ht,wt,on.cpu),ht},this.getDevice=function(){var ht={};return ht[w]=r,ht[m]=r,ht[g]=r,mt.call(ht,wt,on.device),Ot&&!ht[g]&&un&&un.mobile&&(ht[g]=x),Ot&&ht[m]=="Macintosh"&&qe&&typeof qe.standalone!==l&&qe.maxTouchPoints&&qe.maxTouchPoints>2&&(ht[m]="iPad",ht[g]=C),ht},this.getEngine=function(){var ht={};return ht[v]=r,ht[y]=r,mt.call(ht,wt,on.engine),ht},this.getOS=function(){var ht={};return ht[v]=r,ht[y]=r,mt.call(ht,wt,on.os),Ot&&!ht[v]&&un&&un.platform&&un.platform!="Unknown"&&(ht[v]=un.platform.replace(/chrome os/i,he).replace(/macos/i,ge)),ht},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 wt},this.setUA=function(ht){return wt=typeof ht===d&&ht.length>D?ut(ht,D):ht,this},this.setUA(wt),this};Gt.VERSION=o,Gt.BROWSER=Ae([v,y,f]),Gt.CPU=Ae([_]),Gt.DEVICE=Ae([m,w,g,S,x,M,C,A,O]),Gt.ENGINE=Gt.OS=Ae([v,y]),t.exports&&(e=t.exports=Gt),e.UAParser=Gt;var Tn=typeof n!==l&&(n.jQuery||n.Zepto);if(Tn&&!Tn.ua){var Hn=new Gt;Tn.ua=Hn.getResult(),Tn.ua.get=function(){return Hn.getUA()},Tn.ua.set=function(Rt){Hn.setUA(Rt);var Se=Hn.getResult();for(var qe in Se)Tn.ua[qe]=Se[qe]}}})(typeof window=="object"?window:pQ)})(Ud,Ud.exports)),Ud.exports}var P4;function mQ(){if(P4)return tt;P4=1,Object.defineProperty(tt,"__esModule",{value:!0});function t(Ee){return Ee&&typeof Ee=="object"&&"default"in Ee?Ee.default:Ee}var e=tw(),n=t(e),r=hQ(),o=new r,a=o.getBrowser(),i=o.getCPU(),s=o.getDevice(),l=o.getEngine(),u=o.getOS(),d=o.getUA(),f=function(ce){return o.setUA(ce)},m=function(ce){if(!ce){console.error("No userAgent string was provided");return}var de=new r(ce);return{UA:de,browser:de.getBrowser(),cpu:de.getCPU(),device:de.getDevice(),engine:de.getEngine(),os:de.getOS(),ua:de.getUA(),setUserAgent:function(De){return de.setUA(De)}}},v=Object.freeze({ClientUAInstance:o,browser:a,cpu:i,device:s,engine:l,os:u,ua:d,setUa:f,parseUserAgent:m});function g(Ee,ce){var de=Object.keys(Ee);if(Object.getOwnPropertySymbols){var $e=Object.getOwnPropertySymbols(Ee);ce&&($e=$e.filter(function(De){return Object.getOwnPropertyDescriptor(Ee,De).enumerable})),de.push.apply(de,$e)}return de}function w(Ee){for(var ce=1;ce<arguments.length;ce++){var de=arguments[ce]!=null?arguments[ce]:{};ce%2?g(Object(de),!0).forEach(function($e){C(Ee,$e,de[$e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(Ee,Object.getOwnPropertyDescriptors(de)):g(Object(de)).forEach(function($e){Object.defineProperty(Ee,$e,Object.getOwnPropertyDescriptor(de,$e))})}return Ee}function y(Ee){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?y=function(ce){return typeof ce}:y=function(ce){return ce&&typeof Symbol=="function"&&ce.constructor===Symbol&&ce!==Symbol.prototype?"symbol":typeof ce},y(Ee)}function _(Ee,ce){if(!(Ee instanceof ce))throw new TypeError("Cannot call a class as a function")}function S(Ee,ce){for(var de=0;de<ce.length;de++){var $e=ce[de];$e.enumerable=$e.enumerable||!1,$e.configurable=!0,"value"in $e&&($e.writable=!0),Object.defineProperty(Ee,$e.key,$e)}}function x(Ee,ce,de){return ce&&S(Ee.prototype,ce),Ee}function C(Ee,ce,de){return ce in Ee?Object.defineProperty(Ee,ce,{value:de,enumerable:!0,configurable:!0,writable:!0}):Ee[ce]=de,Ee}function M(){return M=Object.assign||function(Ee){for(var ce=1;ce<arguments.length;ce++){var de=arguments[ce];for(var $e in de)Object.prototype.hasOwnProperty.call(de,$e)&&(Ee[$e]=de[$e])}return Ee},M.apply(this,arguments)}function A(Ee,ce){if(typeof ce!="function"&&ce!==null)throw new TypeError("Super expression must either be null or a function");Ee.prototype=Object.create(ce&&ce.prototype,{constructor:{value:Ee,writable:!0,configurable:!0}}),ce&&D(Ee,ce)}function O(Ee){return O=Object.setPrototypeOf?Object.getPrototypeOf:function(de){return de.__proto__||Object.getPrototypeOf(de)},O(Ee)}function D(Ee,ce){return D=Object.setPrototypeOf||function($e,De){return $e.__proto__=De,$e},D(Ee,ce)}function T(Ee,ce){if(Ee==null)return{};var de={},$e=Object.keys(Ee),De,Je;for(Je=0;Je<$e.length;Je++)De=$e[Je],!(ce.indexOf(De)>=0)&&(de[De]=Ee[De]);return de}function R(Ee,ce){if(Ee==null)return{};var de=T(Ee,ce),$e,De;if(Object.getOwnPropertySymbols){var Je=Object.getOwnPropertySymbols(Ee);for(De=0;De<Je.length;De++)$e=Je[De],!(ce.indexOf($e)>=0)&&Object.prototype.propertyIsEnumerable.call(Ee,$e)&&(de[$e]=Ee[$e])}return de}function $(Ee){if(Ee===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Ee}function P(Ee,ce){if(ce&&(typeof ce=="object"||typeof ce=="function"))return ce;if(ce!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return $(Ee)}function I(Ee,ce){return L(Ee)||V(Ee,ce)||F(Ee,ce)||B()}function L(Ee){if(Array.isArray(Ee))return Ee}function V(Ee,ce){var de=Ee==null?null:typeof Symbol<"u"&&Ee[Symbol.iterator]||Ee["@@iterator"];if(de!=null){var $e=[],De=!0,Je=!1,dn,Wn;try{for(de=de.call(Ee);!(De=(dn=de.next()).done)&&($e.push(dn.value),!(ce&&$e.length===ce));De=!0);}catch(Yr){Je=!0,Wn=Yr}finally{try{!De&&de.return!=null&&de.return()}finally{if(Je)throw Wn}}return $e}}function F(Ee,ce){if(Ee){if(typeof Ee=="string")return z(Ee,ce);var de=Object.prototype.toString.call(Ee).slice(8,-1);if(de==="Object"&&Ee.constructor&&(de=Ee.constructor.name),de==="Map"||de==="Set")return Array.from(Ee);if(de==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(de))return z(Ee,ce)}}function z(Ee,ce){(ce==null||ce>Ee.length)&&(ce=Ee.length);for(var de=0,$e=new Array(ce);de<ce;de++)$e[de]=Ee[de];return $e}function B(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
164
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Y={Mobile:"mobile",Tablet:"tablet",SmartTv:"smarttv",Console:"console",Wearable:"wearable",Embedded:"embedded",Browser:void 0},U={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"},le={IOS:"iOS",Android:"Android",WindowsPhone:"Windows Phone",Windows:"Windows",MAC_OS:"Mac OS"},J={isMobile:!1,isTablet:!1,isBrowser:!1,isSmartTV:!1,isConsole:!1,isWearable:!1},re=function(ce){switch(ce){case Y.Mobile:return{isMobile:!0};case Y.Tablet:return{isTablet:!0};case Y.SmartTv:return{isSmartTV:!0};case Y.Console:return{isConsole:!0};case Y.Wearable:return{isWearable:!0};case Y.Browser:return{isBrowser:!0};case Y.Embedded:return{isEmbedded:!0};default:return J}},te=function(ce){return f(ce)},oe=function(ce){var de=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"none";return ce||de},ee=function(){return typeof window<"u"&&(window.navigator||navigator)?window.navigator||navigator:!1},ue=function(ce){var de=ee();return de&&de.platform&&(de.platform.indexOf(ce)!==-1||de.platform==="MacIntel"&&de.maxTouchPoints>1&&!window.MSStream)},fe=function(ce,de,$e,De,Je){return{isBrowser:ce,browserMajorVersion:oe(de.major),browserFullVersion:oe(de.version),browserName:oe(de.name),engineName:oe($e.name),engineVersion:oe($e.version),osName:oe(De.name),osVersion:oe(De.version),userAgent:oe(Je)}},ye=function(ce,de,$e,De){return w({},ce,{vendor:oe(de.vendor),model:oe(de.model),os:oe($e.name),osVersion:oe($e.version),ua:oe(De)})},we=function(ce,de,$e,De){return{isSmartTV:ce,engineName:oe(de.name),engineVersion:oe(de.version),osName:oe($e.name),osVersion:oe($e.version),userAgent:oe(De)}},Ne=function(ce,de,$e,De){return{isConsole:ce,engineName:oe(de.name),engineVersion:oe(de.version),osName:oe($e.name),osVersion:oe($e.version),userAgent:oe(De)}},Ie=function(ce,de,$e,De){return{isWearable:ce,engineName:oe(de.name),engineVersion:oe(de.version),osName:oe($e.name),osVersion:oe($e.version),userAgent:oe(De)}},Pe=function(ce,de,$e,De,Je){return{isEmbedded:ce,vendor:oe(de.vendor),model:oe(de.model),engineName:oe($e.name),engineVersion:oe($e.version),osName:oe(De.name),osVersion:oe(De.version),userAgent:oe(Je)}};function he(Ee){var ce=Ee?m(Ee):v,de=ce.device,$e=ce.browser,De=ce.engine,Je=ce.os,dn=ce.ua,Wn=re(de.type),Yr=Wn.isBrowser,cc=Wn.isMobile,nl=Wn.isTablet,ns=Wn.isSmartTV,rs=Wn.isConsole,rl=Wn.isWearable,Ln=Wn.isEmbedded;if(Yr)return fe(Yr,$e,De,Je,dn);if(ns)return we(ns,De,Je,dn);if(rs)return Ne(rs,De,Je,dn);if(cc||nl)return ye(Wn,de,Je,dn);if(rl)return Ie(rl,De,Je,dn);if(Ln)return Pe(Ln,de,De,Je,dn)}var ge=function(ce){var de=ce.type;return de===Y.Mobile},be=function(ce){var de=ce.type;return de===Y.Tablet},Ue=function(ce){var de=ce.type;return de===Y.Mobile||de===Y.Tablet},Ae=function(ce){var de=ce.type;return de===Y.SmartTv},Ke=function(ce){var de=ce.type;return de===Y.Browser},Me=function(ce){var de=ce.type;return de===Y.Wearable},at=function(ce){var de=ce.type;return de===Y.Console},ut=function(ce){var de=ce.type;return de===Y.Embedded},mt=function(ce){var de=ce.vendor;return oe(de)},Ft=function(ce){var de=ce.model;return oe(de)},cn=function(ce){var de=ce.type;return oe(de,"browser")},Sn=function(ce){var de=ce.name;return de===le.Android},Jn=function(ce){var de=ce.name;return de===le.Windows},Gt=function(ce){var de=ce.name;return de===le.MAC_OS},Tn=function(ce){var de=ce.name;return de===le.WindowsPhone},Hn=function(ce){var de=ce.name;return de===le.IOS},Rt=function(ce){var de=ce.version;return oe(de)},Se=function(ce){var de=ce.name;return oe(de)},qe=function(ce){var de=ce.name;return de===U.Chrome},wt=function(ce){var de=ce.name;return de===U.Firefox},un=function(ce){var de=ce.name;return de===U.Chromium},on=function(ce){var de=ce.name;return de===U.Edge},Ot=function(ce){var de=ce.name;return de===U.Yandex},ht=function(ce){var de=ce.name;return de===U.Safari||de===U.MobileSafari},Ze=function(ce){var de=ce.name;return de===U.MobileSafari},Dt=function(ce){var de=ce.name;return de===U.Opera},jt=function(ce){var de=ce.name;return de===U.InternetExplorer||de===U.Ie},rt=function(ce){var de=ce.name;return de===U.MIUI},en=function(ce){var de=ce.name;return de===U.SamsungBrowser},Mn=function(ce){var de=ce.version;return oe(de)},_n=function(ce){var de=ce.major;return oe(de)},Pn=function(ce){var de=ce.name;return oe(de)},In=function(ce){var de=ce.name;return oe(de)},On=function(ce){var de=ce.version;return oe(de)},sr=function(){var ce=ee(),de=ce&&ce.userAgent&&ce.userAgent.toLowerCase();return typeof de=="string"?/electron/.test(de):!1},Nn=function(ce){return typeof ce=="string"&&ce.indexOf("Edg/")!==-1},Or=function(){var ce=ee();return ce&&(/iPad|iPhone|iPod/.test(ce.platform)||ce.platform==="MacIntel"&&ce.maxTouchPoints>1)&&!window.MSStream},zn=function(){return ue("iPad")},di=function(){return ue("iPhone")},Jo=function(){return ue("iPod")},Ki=function(ce){return oe(ce)};function Xi(Ee){var ce=Ee||v,de=ce.device,$e=ce.browser,De=ce.os,Je=ce.engine,dn=ce.ua;return{isSmartTV:Ae(de),isConsole:at(de),isWearable:Me(de),isEmbedded:ut(de),isMobileSafari:Ze($e)||zn(),isChromium:un($e),isMobile:Ue(de)||zn(),isMobileOnly:ge(de),isTablet:be(de)||zn(),isBrowser:Ke(de),isDesktop:Ke(de),isAndroid:Sn(De),isWinPhone:Tn(De),isIOS:Hn(De)||zn(),isChrome:qe($e),isFirefox:wt($e),isSafari:ht($e),isOpera:Dt($e),isIE:jt($e),osVersion:Rt(De),osName:Se(De),fullBrowserVersion:Mn($e),browserVersion:_n($e),browserName:Pn($e),mobileVendor:mt(de),mobileModel:Ft(de),engineName:In(Je),engineVersion:On(Je),getUA:Ki(dn),isEdge:on($e)||Nn(dn),isYandex:Ot($e),deviceType:cn(de),isIOS13:Or(),isIPad13:zn(),isIPhone13:di(),isIPod13:Jo(),isElectron:sr(),isEdgeChromium:Nn(dn),isLegacyEdge:on($e)&&!Nn(dn),isWindows:Jn(De),isMacOs:Gt(De),isMIUI:rt($e),isSamsungBrowser:en($e)}}var ea=Ae(s),fi=at(s),ta=Me(s),Na=ut(s),tl=Ze(a)||zn(),na=un(a),ra=Ue(s)||zn(),Pa=ge(s),oa=be(s)||zn(),Po=Ke(s),Aa=Ke(s),pi=Sn(u),hi=Tn(u),Ao=Hn(u)||zn(),mi=qe(a),Fn=wt(a),Zi=ht(a),gi=Dt(a),Ia=jt(a),vi=Rt(u),ho=Se(u),mo=Mn(a),Qi=_n(a),aa=Pn(a),ia=mt(s),wi=Ft(s),Oa=In(l),La=On(l),sa=Ki(d),$a=on(a)||Nn(d),Ji=Ot(a),Da=cn(s),E=Or(),H=zn(),X=di(),ie=Jo(),Re=sr(),Ce=Nn(d),Be=on(a)&&!Nn(d),Ge=Jn(u),vt=Gt(u),bt=rt(a),Ct=en(a),wn=function(ce){if(!ce||typeof ce!="string"){console.error("No valid user agent string was provided");return}var de=m(ce),$e=de.device,De=de.browser,Je=de.os,dn=de.engine,Wn=de.ua;return Xi({device:$e,browser:De,os:Je,engine:dn,ua:Wn})},br=function(ce){var de=ce.renderWithFragment,$e=ce.children,De=R(ce,["renderWithFragment","children"]);return pi?de?n.createElement(e.Fragment,null,$e):n.createElement("div",De,$e):null},Lr=function(ce){var de=ce.renderWithFragment,$e=ce.children,De=R(ce,["renderWithFragment","children"]);return Po?de?n.createElement(e.Fragment,null,$e):n.createElement("div",De,$e):null},lr=function(ce){var de=ce.renderWithFragment,$e=ce.children,De=R(ce,["renderWithFragment","children"]);return Ia?de?n.createElement(e.Fragment,null,$e):n.createElement("div",De,$e):null},Io=function(ce){var de=ce.renderWithFragment,$e=ce.children,De=R(ce,["renderWithFragment","children"]);return Ao?de?n.createElement(e.Fragment,null,$e):n.createElement("div",De,$e):null},Ur=function(ce){var de=ce.renderWithFragment,$e=ce.children,De=R(ce,["renderWithFragment","children"]);return ra?de?n.createElement(e.Fragment,null,$e):n.createElement("div",De,$e):null},Ba=function(ce){var de=ce.renderWithFragment,$e=ce.children,De=R(ce,["renderWithFragment","children"]);return oa?de?n.createElement(e.Fragment,null,$e):n.createElement("div",De,$e):null},la=function(ce){var de=ce.renderWithFragment,$e=ce.children,De=R(ce,["renderWithFragment","children"]);return hi?de?n.createElement(e.Fragment,null,$e):n.createElement("div",De,$e):null},es=function(ce){var de=ce.renderWithFragment,$e=ce.children;ce.viewClassName,ce.style;var De=R(ce,["renderWithFragment","children","viewClassName","style"]);return Pa?de?n.createElement(e.Fragment,null,$e):n.createElement("div",De,$e):null},Oo=function(ce){var de=ce.renderWithFragment,$e=ce.children,De=R(ce,["renderWithFragment","children"]);return ea?de?n.createElement(e.Fragment,null,$e):n.createElement("div",De,$e):null},bi=function(ce){var de=ce.renderWithFragment,$e=ce.children,De=R(ce,["renderWithFragment","children"]);return fi?de?n.createElement(e.Fragment,null,$e):n.createElement("div",De,$e):null},zu=function(ce){var de=ce.renderWithFragment,$e=ce.children,De=R(ce,["renderWithFragment","children"]);return ta?de?n.createElement(e.Fragment,null,$e):n.createElement("div",De,$e):null},Fu=function(ce){var de=ce.renderWithFragment,$e=ce.children;ce.viewClassName,ce.style;var De=ce.condition,Je=R(ce,["renderWithFragment","children","viewClassName","style","condition"]);return De?de?n.createElement(e.Fragment,null,$e):n.createElement("div",Je,$e):null};function Vu(Ee){return(function(ce){A(de,ce);function de($e){var De;return _(this,de),De=P(this,O(de).call(this,$e)),De.isEventListenerAdded=!1,De.handleOrientationChange=De.handleOrientationChange.bind($(De)),De.onOrientationChange=De.onOrientationChange.bind($(De)),De.onPageLoad=De.onPageLoad.bind($(De)),De.state={isLandscape:!1,isPortrait:!1},De}return x(de,[{key:"handleOrientationChange",value:function(){this.isEventListenerAdded||(this.isEventListenerAdded=!0);var De=window.innerWidth>window.innerHeight?90:0;this.setState({isPortrait:De===0,isLandscape:De===90})}},{key:"onOrientationChange",value:function(){this.handleOrientationChange()}},{key:"onPageLoad",value:function(){this.handleOrientationChange()}},{key:"componentDidMount",value:function(){(typeof window>"u"?"undefined":y(window))!==void 0&&ra&&(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 n.createElement(Ee,M({},this.props,{isLandscape:this.state.isLandscape,isPortrait:this.state.isPortrait}))}}]),de})(n.Component)}function ju(){var Ee=e.useState(function(){var Je=window.innerWidth>window.innerHeight?90:0;return{isPortrait:Je===0,isLandscape:Je===90,orientation:Je===0?"portrait":"landscape"}}),ce=I(Ee,2),de=ce[0],$e=ce[1],De=e.useCallback(function(){var Je=window.innerWidth>window.innerHeight?90:0,dn={isPortrait:Je===0,isLandscape:Je===90,orientation:Je===0?"portrait":"landscape"};de.orientation!==dn.orientation&&$e(dn)},[de.orientation]);return e.useEffect(function(){return(typeof window>"u"?"undefined":y(window))!==void 0&&ra&&(De(),window.addEventListener("load",De,!1),window.addEventListener("resize",De,!1)),function(){window.removeEventListener("resize",De,!1),window.removeEventListener("load",De,!1)}},[De]),de}function ts(Ee){var ce=Ee||window.navigator.userAgent;return m(ce)}function go(Ee){var ce=Ee||window.navigator.userAgent,de=ts(ce),$e=Xi(de);return[$e,de]}return tt.AndroidView=br,tt.BrowserTypes=U,tt.BrowserView=Lr,tt.ConsoleView=bi,tt.CustomView=Fu,tt.IEView=lr,tt.IOSView=Io,tt.MobileOnlyView=es,tt.MobileView=Ur,tt.OsTypes=le,tt.SmartTVView=Oo,tt.TabletView=Ba,tt.WearableView=zu,tt.WinPhoneView=la,tt.browserName=aa,tt.browserVersion=Qi,tt.deviceDetect=he,tt.deviceType=Da,tt.engineName=Oa,tt.engineVersion=La,tt.fullBrowserVersion=mo,tt.getSelectorsByUserAgent=wn,tt.getUA=sa,tt.isAndroid=pi,tt.isBrowser=Po,tt.isChrome=mi,tt.isChromium=na,tt.isConsole=fi,tt.isDesktop=Aa,tt.isEdge=$a,tt.isEdgeChromium=Ce,tt.isElectron=Re,tt.isEmbedded=Na,tt.isFirefox=Fn,tt.isIE=Ia,tt.isIOS=Ao,tt.isIOS13=E,tt.isIPad13=H,tt.isIPhone13=X,tt.isIPod13=ie,tt.isLegacyEdge=Be,tt.isMIUI=bt,tt.isMacOs=vt,tt.isMobile=ra,tt.isMobileOnly=Pa,tt.isMobileSafari=tl,tt.isOpera=gi,tt.isSafari=Zi,tt.isSamsungBrowser=Ct,tt.isSmartTV=ea,tt.isTablet=oa,tt.isWearable=ta,tt.isWinPhone=hi,tt.isWindows=Ge,tt.isYandex=Ji,tt.mobileModel=wi,tt.mobileVendor=ia,tt.osName=ho,tt.osVersion=vi,tt.parseUserAgent=m,tt.setUserAgent=te,tt.useDeviceData=ts,tt.useDeviceSelectors=go,tt.useMobileOrientation=ju,tt.withOrientationChange=Vu,tt}var So=mQ(),Qp={},A4;function gQ(){if(A4)return Qp;A4=1,Qp.match=a,Qp.parse=i;var t=/(?:(only|not)?\s*([^\s\(\)]+)(?:\s*and)?\s*)?(.+)?/i,e=/\(\s*([^\s\:\)]+)\s*(?:\:\s*([^\s\)]+))?\s*\)/,n=/^(?:(min|max)-)?(.+)/,r=/(em|rem|px|cm|mm|in|pt|pc)?$/,o=/(dpi|dpcm|dppx)?$/;function a(d,f){return i(d).some(function(m){var v=m.inverse,g=m.type==="all"||f.type===m.type;if(g&&v||!(g||v))return!1;var w=m.expressions.every(function(y){var _=y.feature,S=y.modifier,x=y.value,C=f[_];if(!C)return!1;switch(_){case"orientation":case"scan":return C.toLowerCase()===x.toLowerCase();case"width":case"height":case"device-width":case"device-height":x=u(x),C=u(C);break;case"resolution":x=l(x),C=l(C);break;case"aspect-ratio":case"device-aspect-ratio":case"device-pixel-ratio":x=s(x),C=s(C);break;case"grid":case"color":case"color-index":case"monochrome":x=parseInt(x,10)||1,C=parseInt(C,10)||0;break}switch(S){case"min":return C>=x;case"max":return C<=x;default:return C===x}});return w&&!v||!w&&v})}function i(d){return d.split(",").map(function(f){f=f.trim();var m=f.match(t),v=m[1],g=m[2],w=m[3]||"",y={};return y.inverse=!!v&&v.toLowerCase()==="not",y.type=g?g.toLowerCase():"all",w=w.match(/\([^\)]+\)/g)||[],y.expressions=w.map(function(_){var S=_.match(e),x=S[1].toLowerCase().match(n);return{modifier:x[1],feature:x[2],value:S[2]}}),y})}function s(d){var f=Number(d),m;return f||(m=d.match(/^(\d+)\s*\/\s*(\d+)$/),f=m[1]/m[2]),f}function l(d){var f=parseFloat(d),m=String(d).match(o)[1];switch(m){case"dpcm":return f/2.54;case"dppx":return f*96;default:return f}}function u(d){var f=parseFloat(d),m=String(d).match(r)[1];switch(m){case"em":return f*16;case"rem":return f*16;case"cm":return f*96/2.54;case"mm":return f*96/2.54/10;case"in":return f*96;case"pt":return f*72;case"pc":return f*72/12;default:return f}}return Qp}var Ag,I4;function vQ(){if(I4)return Ag;I4=1;var t=gQ().match,e=typeof window<"u"?window.matchMedia:null;function n(o,a,i){var s=this,l;e&&!i&&(l=e.call(window,o)),l?(this.matches=l.matches,this.media=l.media,l.addListener(f)):(this.matches=t(o,a),this.media=o),this.addListener=u,this.removeListener=d,this.dispose=m;function u(v){l&&l.addListener(v)}function d(v){l&&l.removeListener(v)}function f(v){s.matches=v.matches,s.media=v.media}function m(){l&&l.removeListener(f)}}function r(o,a,i){return new n(o,a,i)}return Ag=r,Ag}var wQ=vQ();const bQ=ka(wQ);var yQ=/[A-Z]/g,_Q=/^ms-/,Ig={};function xQ(t){return"-"+t.toLowerCase()}function IE(t){if(Ig.hasOwnProperty(t))return Ig[t];var e=t.replace(yQ,xQ);return Ig[t]=_Q.test(e)?"-"+e:e}function SQ(t,e){if(t===e)return!0;if(!t||!e)return!1;const n=Object.keys(t),r=Object.keys(e),o=n.length;if(r.length!==o)return!1;for(let a=0;a<o;a++){const i=n[a];if(t[i]!==e[i]||!Object.prototype.hasOwnProperty.call(e,i))return!1}return!0}var Og={exports:{}},Lg,O4;function CQ(){if(O4)return Lg;O4=1;var t="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Lg=t,Lg}var $g,L4;function EQ(){if(L4)return $g;L4=1;var t=CQ();function e(){}function n(){}return n.resetWarningCache=e,$g=function(){function r(i,s,l,u,d,f){if(f!==t){var m=new 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 m.name="Invariant Violation",m}}r.isRequired=r;function o(){return r}var a={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:e};return a.PropTypes=a,a},$g}var $4;function MQ(){return $4||($4=1,Og.exports=EQ()()),Og.exports}var kQ=MQ();const hn=ka(kQ),{createContext:RQ,useRef:TQ,useEffect:Ul,useContext:NQ,useState:Th}=await q("react"),Fr=hn.oneOfType([hn.string,hn.number]),OE={all:hn.bool,grid:hn.bool,aural:hn.bool,braille:hn.bool,handheld:hn.bool,print:hn.bool,projection:hn.bool,screen:hn.bool,tty:hn.bool,tv:hn.bool,embossed:hn.bool},PQ={orientation:hn.oneOf(["portrait","landscape"]),scan:hn.oneOf(["progressive","interlace"]),aspectRatio:hn.string,deviceAspectRatio:hn.string,height:Fr,deviceHeight:Fr,width:Fr,deviceWidth:Fr,color:hn.bool,colorIndex:hn.bool,monochrome:hn.bool,resolution:Fr,type:Object.keys(OE)},{type:Ehe,...AQ}=PQ,IQ={minAspectRatio:hn.string,maxAspectRatio:hn.string,minDeviceAspectRatio:hn.string,maxDeviceAspectRatio:hn.string,minHeight:Fr,maxHeight:Fr,minDeviceHeight:Fr,maxDeviceHeight:Fr,minWidth:Fr,maxWidth:Fr,minDeviceWidth:Fr,maxDeviceWidth:Fr,minColor:hn.number,maxColor:hn.number,minColorIndex:hn.number,maxColorIndex:hn.number,minMonochrome:hn.number,maxMonochrome:hn.number,minResolution:Fr,maxResolution:Fr,...AQ},OQ={...OE,...IQ};var LQ={all:OQ};const $Q=t=>`not ${t}`,DQ=(t,e)=>{const n=IE(t);return typeof e=="number"&&(e=`${e}px`),e===!0?n:e===!1?$Q(n):`(${n}: ${e})`},BQ=t=>t.join(" and "),zQ=t=>{const e=[];return Object.keys(LQ.all).forEach(n=>{const r=t[n];r!=null&&e.push(DQ(n,r))}),BQ(e)},FQ=RQ(void 0),VQ=t=>t.query||zQ(t),D4=t=>t?Object.keys(t).reduce((n,r)=>(n[IE(r)]=t[r],n),{}):void 0,LE=()=>{const t=TQ(!1);return Ul(()=>{t.current=!0},[]),t.current},jQ=t=>{const e=NQ(FQ),n=()=>D4(t)||D4(e),[r,o]=Th(n);return Ul(()=>{const a=n();SQ(r,a)||o(a)},[t,e]),r},HQ=t=>{const e=()=>VQ(t),[n,r]=Th(e);return Ul(()=>{const o=e();n!==o&&r(o)},[t]),n},WQ=(t,e)=>{const n=()=>bQ(t,e||{},!!e),[r,o]=Th(n),a=LE();return Ul(()=>{if(a){const i=n();return o(i),()=>{i&&i.dispose()}}},[t,e]),r},qQ=t=>{const[e,n]=Th(t.matches);return Ul(()=>{const r=o=>{n(o.matches)};return t.addListener(r),n(t.matches),()=>{t.removeListener(r)}},[t]),e},md=(t,e,n)=>{const r=jQ(e),o=HQ(t);if(!o)throw new Error("Invalid or missing MediaQuery!");const a=WQ(o,r),i=qQ(a);return LE(),Ul(()=>{},[i]),Ul(()=>()=>{a&&a.dispose()},[]),i},{useEffect:UQ,useMemo:YQ,useState:GQ}=await q("react"),u3=(t={})=>{const{isDesktop:e="(min-width: 1400px)",isBigTablet:n="screen and (min-width: 1024px) and (max-width: 1400px)",isSmallTablet:r="screen and (min-width: 768px) and (max-width: 1023px)",isMobile:o="(max-width: 767px)",isFold:a="(max-width: 359px)"}=t,i=md({query:e}),s=md({query:n}),l=md({query:r}),u=md({query:o}),d=md({query:a}),[f,m]=GQ(!1),v=YQ(()=>({isDesktop:f?i:So.isDesktop,isBigTablet:f?s:s&&(So.isTablet||Qm()),isSmallTablet:f?l:l&&(So.isTablet||Qm()),isMobile:f?u:So.isMobile,isFold:!!d,deviceDetect:{isDesktop:So.isDesktop,isTablet:So.isTablet||Qm(),isMobile:So.isMobile,isIOS:So.isIOS,isAndroid:So.isAndroid,isMacOs:So.isMacOs}}),[f,i,s,l,u,d]);return UQ(()=>{m(!0)},[]),v},{useEffect:KQ}=await q("react"),Df=(t,e,n)=>{KQ(()=>{const r=o=>{const a=t&&"current"in t?t?.current:t;!a||a.contains(o.target)||e(o)};return document.addEventListener(n?.event||"click",r),n?.offTouchEvent||document.addEventListener("touchstart",r),()=>{document.removeEventListener(n?.event||"click",r),document.removeEventListener("touchstart",r)}},[t,e,n])};function XQ(t){return""}function ZQ(t){var e=t==null?0:t.length;return e?t[e-1]:void 0}var QQ=0;function $E(t){var e=++QQ;return XQ()+e}class JQ{_modalList=[];observeFunction=null;set modalList(e){const n=[...e];this._modalList=n,this.observeFunction?.(n),n.length===1?window.addEventListener("keyup",this.handleKeyPressEvent):n.length===0&&window.removeEventListener("keyup",this.handleKeyPressEvent)}get modalList(){return this._modalList}handleKeyPressEvent=e=>{if(e.code==="Escape"){const n=this.modalList[this.modalList.length-1];this.closeModal(n.id)}};checkModal(e){const{onlyLastCheck:n}=e,r=this.modalList.length;if("componentName"in e){const{componentName:o}=e;return n?r>0&&o?this.modalList[r-1].props.componentName===o:!1:this.modalList.some(a=>a.props.componentName===o)}else{const{modalId:o}=e;return n?r>0&&o?this.modalList[r-1].props.id===o:!1:this.modalList.some(a=>a.props.id===o)}}deleteModal(e){const n=this.modalList.find(o=>o.id===e);if(!n)return;const r=this.modalList.filter(o=>o.id!==e);this.modalList=r,n.props.onClose?.({})}closeModal(e){const n=this.modalList.find(r=>r.id===e);n&&(n.close?n.close(n.id):this.deleteModal(e))}resolveModal({modal:e,result:n,useClose:r}){e.resolve(n),r&&this.closeModal(e.id)}resetModal(){this.modalList=[]}makeProps(e){return{...e||{}}}openModal=({component:e,props:n,options:r})=>new Promise((o,a)=>{const i={id:"",props:n,component:e,resolve:o,reject:a},s=[...this.modalList],l=r?.componentName??e.name??n?.componentName;i.id=r?.id||$E(),i.props=this.makeProps({...n,snapshotCnt:s.length,componentName:l});let u=[...s,i];if(i.props.isAlone&&(u=[i]),!i.props.isToggle&&!i.props.isAlone){let d=this.checkModal(r?.id?{modalId:i.id,onlyLastCheck:!0}:{componentName:l,onlyLastCheck:!0});if(n?.duplicateCheck&&(d=this.checkModal(r?.id?{modalId:i.id}:{componentName:l})),d)return}u&&(this.modalList=u),i.props.onOpen&&i.props.onOpen({...i})});observe({observeFunction:e}){this.observeFunction=e}unobserve(){this.observeFunction=null}}const Os=new JQ,DE=()=>({modal:Os.openModal,closeModal:t=>{Os.closeModal(t)},checkModal:t=>Os.checkModal(t),resetModal:()=>{Os.resetModal()}});function BE(t,e){return function(){return t.apply(e,arguments)}}const{toString:eJ}=Object.prototype,{getPrototypeOf:d3}=Object,{iterator:Nh,toStringTag:zE}=Symbol,Ph=(t=>e=>{const n=eJ.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Ta=t=>(t=t.toLowerCase(),e=>Ph(e)===t),Ah=t=>e=>typeof e===t,{isArray:$u}=Array,Su=Ah("undefined");function Bf(t){return t!==null&&!Su(t)&&t.constructor!==null&&!Su(t.constructor)&&uo(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const FE=Ta("ArrayBuffer");function tJ(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&FE(t.buffer),e}const nJ=Ah("string"),uo=Ah("function"),VE=Ah("number"),zf=t=>t!==null&&typeof t=="object",rJ=t=>t===!0||t===!1,e0=t=>{if(Ph(t)!=="object")return!1;const e=d3(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(zE in t)&&!(Nh in t)},oJ=t=>{if(!zf(t)||Bf(t))return!1;try{return Object.keys(t).length===0&&Object.getPrototypeOf(t)===Object.prototype}catch{return!1}},aJ=Ta("Date"),iJ=Ta("File"),sJ=t=>!!(t&&typeof t.uri<"u"),lJ=t=>t&&typeof t.getParts<"u",cJ=Ta("Blob"),uJ=Ta("FileList"),dJ=t=>zf(t)&&uo(t.pipe);function fJ(){return typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{}}const B4=fJ(),z4=typeof B4.FormData<"u"?B4.FormData:void 0,pJ=t=>{let e;return t&&(z4&&t instanceof z4||uo(t.append)&&((e=Ph(t))==="formdata"||e==="object"&&uo(t.toString)&&t.toString()==="[object FormData]"))},hJ=Ta("URLSearchParams"),[mJ,gJ,vJ,wJ]=["ReadableStream","Request","Response","Headers"].map(Ta),bJ=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ff(t,e,{allOwnKeys:n=!1}={}){if(t===null||typeof t>"u")return;let r,o;if(typeof t!="object"&&(t=[t]),$u(t))for(r=0,o=t.length;r<o;r++)e.call(null,t[r],r,t);else{if(Bf(t))return;const a=n?Object.getOwnPropertyNames(t):Object.keys(t),i=a.length;let s;for(r=0;r<i;r++)s=a[r],e.call(null,t[s],s,t)}}function jE(t,e){if(Bf(t))return null;e=e.toLowerCase();const n=Object.keys(t);let r=n.length,o;for(;r-- >0;)if(o=n[r],e===o.toLowerCase())return o;return null}const Il=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,HE=t=>!Su(t)&&t!==Il;function _v(){const{caseless:t,skipUndefined:e}=HE(this)&&this||{},n={},r=(o,a)=>{if(a==="__proto__"||a==="constructor"||a==="prototype")return;const i=t&&jE(n,a)||a;e0(n[i])&&e0(o)?n[i]=_v(n[i],o):e0(o)?n[i]=_v({},o):$u(o)?n[i]=o.slice():(!e||!Su(o))&&(n[i]=o)};for(let o=0,a=arguments.length;o<a;o++)arguments[o]&&Ff(arguments[o],r);return n}const yJ=(t,e,n,{allOwnKeys:r}={})=>(Ff(e,(o,a)=>{n&&uo(o)?Object.defineProperty(t,a,{value:BE(o,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(t,a,{value:o,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),t),_J=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),xJ=(t,e,n,r)=>{t.prototype=Object.create(e.prototype,r),Object.defineProperty(t.prototype,"constructor",{value:t,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},SJ=(t,e,n,r)=>{let o,a,i;const s={};if(e=e||{},t==null)return e;do{for(o=Object.getOwnPropertyNames(t),a=o.length;a-- >0;)i=o[a],(!r||r(i,t,e))&&!s[i]&&(e[i]=t[i],s[i]=!0);t=n!==!1&&d3(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},CJ=(t,e,n)=>{t=String(t),(n===void 0||n>t.length)&&(n=t.length),n-=e.length;const r=t.indexOf(e,n);return r!==-1&&r===n},EJ=t=>{if(!t)return null;if($u(t))return t;let e=t.length;if(!VE(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},MJ=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&d3(Uint8Array)),kJ=(t,e)=>{const r=(t&&t[Nh]).call(t);let o;for(;(o=r.next())&&!o.done;){const a=o.value;e.call(t,a[0],a[1])}},RJ=(t,e)=>{let n;const r=[];for(;(n=t.exec(e))!==null;)r.push(n);return r},TJ=Ta("HTMLFormElement"),NJ=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,o){return r.toUpperCase()+o}),F4=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),PJ=Ta("RegExp"),WE=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};Ff(n,(o,a)=>{let i;(i=e(o,a,t))!==!1&&(r[a]=i||o)}),Object.defineProperties(t,r)},AJ=t=>{WE(t,(e,n)=>{if(uo(t)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=t[n];if(uo(r)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},IJ=(t,e)=>{const n={},r=o=>{o.forEach(a=>{n[a]=!0})};return $u(t)?r(t):r(String(t).split(e)),n},OJ=()=>{},LJ=(t,e)=>t!=null&&Number.isFinite(t=+t)?t:e;function $J(t){return!!(t&&uo(t.append)&&t[zE]==="FormData"&&t[Nh])}const DJ=t=>{const e=new Array(10),n=(r,o)=>{if(zf(r)){if(e.indexOf(r)>=0)return;if(Bf(r))return r;if(!("toJSON"in r)){e[o]=r;const a=$u(r)?[]:{};return Ff(r,(i,s)=>{const l=n(i,o+1);!Su(l)&&(a[s]=l)}),e[o]=void 0,a}}return r};return n(t,0)},BJ=Ta("AsyncFunction"),zJ=t=>t&&(zf(t)||uo(t))&&uo(t.then)&&uo(t.catch),qE=((t,e)=>t?setImmediate:e?((n,r)=>(Il.addEventListener("message",({source:o,data:a})=>{o===Il&&a===n&&r.length&&r.shift()()},!1),o=>{r.push(o),Il.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",uo(Il.postMessage)),FJ=typeof queueMicrotask<"u"?queueMicrotask.bind(Il):typeof process<"u"&&process.nextTick||qE,VJ=t=>t!=null&&uo(t[Nh]),Oe={isArray:$u,isArrayBuffer:FE,isBuffer:Bf,isFormData:pJ,isArrayBufferView:tJ,isString:nJ,isNumber:VE,isBoolean:rJ,isObject:zf,isPlainObject:e0,isEmptyObject:oJ,isReadableStream:mJ,isRequest:gJ,isResponse:vJ,isHeaders:wJ,isUndefined:Su,isDate:aJ,isFile:iJ,isReactNativeBlob:sJ,isReactNative:lJ,isBlob:cJ,isRegExp:PJ,isFunction:uo,isStream:dJ,isURLSearchParams:hJ,isTypedArray:MJ,isFileList:uJ,forEach:Ff,merge:_v,extend:yJ,trim:bJ,stripBOM:_J,inherits:xJ,toFlatObject:SJ,kindOf:Ph,kindOfTest:Ta,endsWith:CJ,toArray:EJ,forEachEntry:kJ,matchAll:RJ,isHTMLForm:TJ,hasOwnProperty:F4,hasOwnProp:F4,reduceDescriptors:WE,freezeMethods:AJ,toObjectSet:IJ,toCamelCase:NJ,noop:OJ,toFiniteNumber:LJ,findKey:jE,global:Il,isContextDefined:HE,isSpecCompliantForm:$J,toJSONObject:DJ,isAsyncFn:BJ,isThenable:zJ,setImmediate:qE,asap:FJ,isIterable:VJ};let Pt=class UE extends Error{static from(e,n,r,o,a,i){const s=new UE(e.message,n||e.code,r,o,a);return s.cause=e,s.name=e.name,e.status!=null&&s.status==null&&(s.status=e.status),i&&Object.assign(s,i),s}constructor(e,n,r,o,a){super(e),Object.defineProperty(this,"message",{value:e,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,n&&(this.code=n),r&&(this.config=r),o&&(this.request=o),a&&(this.response=a,this.status=a.status)}toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:Oe.toJSONObject(this.config),code:this.code,status:this.status}}};Pt.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE";Pt.ERR_BAD_OPTION="ERR_BAD_OPTION";Pt.ECONNABORTED="ECONNABORTED";Pt.ETIMEDOUT="ETIMEDOUT";Pt.ERR_NETWORK="ERR_NETWORK";Pt.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS";Pt.ERR_DEPRECATED="ERR_DEPRECATED";Pt.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE";Pt.ERR_BAD_REQUEST="ERR_BAD_REQUEST";Pt.ERR_CANCELED="ERR_CANCELED";Pt.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT";Pt.ERR_INVALID_URL="ERR_INVALID_URL";const jJ=null;function xv(t){return Oe.isPlainObject(t)||Oe.isArray(t)}function YE(t){return Oe.endsWith(t,"[]")?t.slice(0,-2):t}function Dg(t,e,n){return t?t.concat(e).map(function(o,a){return o=YE(o),!n&&a?"["+o+"]":o}).join(n?".":""):e}function HJ(t){return Oe.isArray(t)&&!t.some(xv)}const WJ=Oe.toFlatObject(Oe,{},null,function(e){return/^is[A-Z]/.test(e)});function Ih(t,e,n){if(!Oe.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,n=Oe.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(w,y){return!Oe.isUndefined(y[w])});const r=n.metaTokens,o=n.visitor||d,a=n.dots,i=n.indexes,l=(n.Blob||typeof Blob<"u"&&Blob)&&Oe.isSpecCompliantForm(e);if(!Oe.isFunction(o))throw new TypeError("visitor must be a function");function u(g){if(g===null)return"";if(Oe.isDate(g))return g.toISOString();if(Oe.isBoolean(g))return g.toString();if(!l&&Oe.isBlob(g))throw new Pt("Blob is not supported. Use a Buffer instead.");return Oe.isArrayBuffer(g)||Oe.isTypedArray(g)?l&&typeof Blob=="function"?new Blob([g]):Buffer.from(g):g}function d(g,w,y){let _=g;if(Oe.isReactNative(e)&&Oe.isReactNativeBlob(g))return e.append(Dg(y,w,a),u(g)),!1;if(g&&!y&&typeof g=="object"){if(Oe.endsWith(w,"{}"))w=r?w:w.slice(0,-2),g=JSON.stringify(g);else if(Oe.isArray(g)&&HJ(g)||(Oe.isFileList(g)||Oe.endsWith(w,"[]"))&&(_=Oe.toArray(g)))return w=YE(w),_.forEach(function(x,C){!(Oe.isUndefined(x)||x===null)&&e.append(i===!0?Dg([w],C,a):i===null?w:w+"[]",u(x))}),!1}return xv(g)?!0:(e.append(Dg(y,w,a),u(g)),!1)}const f=[],m=Object.assign(WJ,{defaultVisitor:d,convertValue:u,isVisitable:xv});function v(g,w){if(!Oe.isUndefined(g)){if(f.indexOf(g)!==-1)throw Error("Circular reference detected in "+w.join("."));f.push(g),Oe.forEach(g,function(_,S){(!(Oe.isUndefined(_)||_===null)&&o.call(e,_,Oe.isString(S)?S.trim():S,w,m))===!0&&v(_,w?w.concat(S):[S])}),f.pop()}}if(!Oe.isObject(t))throw new TypeError("data must be an object");return v(t),e}function V4(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(r){return e[r]})}function f3(t,e){this._pairs=[],t&&Ih(t,this,e)}const GE=f3.prototype;GE.append=function(e,n){this._pairs.push([e,n])};GE.toString=function(e){const n=e?function(r){return e.call(this,r,V4)}:V4;return this._pairs.map(function(o){return n(o[0])+"="+n(o[1])},"").join("&")};function qJ(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function KE(t,e,n){if(!e)return t;const r=n&&n.encode||qJ,o=Oe.isFunction(n)?{serialize:n}:n,a=o&&o.serialize;let i;if(a?i=a(e,o):i=Oe.isURLSearchParams(e)?e.toString():new f3(e,o).toString(r),i){const s=t.indexOf("#");s!==-1&&(t=t.slice(0,s)),t+=(t.indexOf("?")===-1?"?":"&")+i}return t}class j4{constructor(){this.handlers=[]}use(e,n,r){return this.handlers.push({fulfilled:e,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){Oe.forEach(this.handlers,function(r){r!==null&&e(r)})}}const p3={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0},UJ=typeof URLSearchParams<"u"?URLSearchParams:f3,YJ=typeof FormData<"u"?FormData:null,GJ=typeof Blob<"u"?Blob:null,KJ={isBrowser:!0,classes:{URLSearchParams:UJ,FormData:YJ,Blob:GJ},protocols:["http","https","file","blob","url","data"]},h3=typeof window<"u"&&typeof document<"u",Sv=typeof navigator=="object"&&navigator||void 0,XJ=h3&&(!Sv||["ReactNative","NativeScript","NS"].indexOf(Sv.product)<0),ZJ=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",QJ=h3&&window.location.href||"http://localhost",JJ=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:h3,hasStandardBrowserEnv:XJ,hasStandardBrowserWebWorkerEnv:ZJ,navigator:Sv,origin:QJ},Symbol.toStringTag,{value:"Module"})),Er={...JJ,...KJ};function eee(t,e){return Ih(t,new Er.classes.URLSearchParams,{visitor:function(n,r,o,a){return Er.isNode&&Oe.isBuffer(n)?(this.append(r,n.toString("base64")),!1):a.defaultVisitor.apply(this,arguments)},...e})}function tee(t){return Oe.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function nee(t){const e={},n=Object.keys(t);let r;const o=n.length;let a;for(r=0;r<o;r++)a=n[r],e[a]=t[a];return e}function XE(t){function e(n,r,o,a){let i=n[a++];if(i==="__proto__")return!0;const s=Number.isFinite(+i),l=a>=n.length;return i=!i&&Oe.isArray(o)?o.length:i,l?(Oe.hasOwnProp(o,i)?o[i]=[o[i],r]:o[i]=r,!s):((!o[i]||!Oe.isObject(o[i]))&&(o[i]=[]),e(n,r,o[i],a)&&Oe.isArray(o[i])&&(o[i]=nee(o[i])),!s)}if(Oe.isFormData(t)&&Oe.isFunction(t.entries)){const n={};return Oe.forEachEntry(t,(r,o)=>{e(tee(r),o,n,0)}),n}return null}function ree(t,e,n){if(Oe.isString(t))try{return(e||JSON.parse)(t),Oe.trim(t)}catch(r){if(r.name!=="SyntaxError")throw r}return(n||JSON.stringify)(t)}const Vf={transitional:p3,adapter:["xhr","http","fetch"],transformRequest:[function(e,n){const r=n.getContentType()||"",o=r.indexOf("application/json")>-1,a=Oe.isObject(e);if(a&&Oe.isHTMLForm(e)&&(e=new FormData(e)),Oe.isFormData(e))return o?JSON.stringify(XE(e)):e;if(Oe.isArrayBuffer(e)||Oe.isBuffer(e)||Oe.isStream(e)||Oe.isFile(e)||Oe.isBlob(e)||Oe.isReadableStream(e))return e;if(Oe.isArrayBufferView(e))return e.buffer;if(Oe.isURLSearchParams(e))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let s;if(a){if(r.indexOf("application/x-www-form-urlencoded")>-1)return eee(e,this.formSerializer).toString();if((s=Oe.isFileList(e))||r.indexOf("multipart/form-data")>-1){const l=this.env&&this.env.FormData;return Ih(s?{"files[]":e}:e,l&&new l,this.formSerializer)}}return a||o?(n.setContentType("application/json",!1),ree(e)):e}],transformResponse:[function(e){const n=this.transitional||Vf.transitional,r=n&&n.forcedJSONParsing,o=this.responseType==="json";if(Oe.isResponse(e)||Oe.isReadableStream(e))return e;if(e&&Oe.isString(e)&&(r&&!this.responseType||o)){const i=!(n&&n.silentJSONParsing)&&o;try{return JSON.parse(e,this.parseReviver)}catch(s){if(i)throw s.name==="SyntaxError"?Pt.from(s,Pt.ERR_BAD_RESPONSE,this,null,this.response):s}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Er.classes.FormData,Blob:Er.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Oe.forEach(["delete","get","head","post","put","patch"],t=>{Vf.headers[t]={}});const oee=Oe.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),aee=t=>{const e={};let n,r,o;return t&&t.split(`
|
|
165
|
-
`).forEach(function(i){o=i.indexOf(":"),n=i.substring(0,o).trim().toLowerCase(),r=i.substring(o+1).trim(),!(!n||e[n]&&oee[n])&&(n==="set-cookie"?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)}),e},H4=Symbol("internals");function gd(t){return t&&String(t).trim().toLowerCase()}function t0(t){return t===!1||t==null?t:Oe.isArray(t)?t.map(t0):String(t).replace(/[\r\n]+$/,"")}function iee(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(t);)e[r[1]]=r[2];return e}const see=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function Bg(t,e,n,r,o){if(Oe.isFunction(r))return r.call(this,e,n);if(o&&(e=n),!!Oe.isString(e)){if(Oe.isString(r))return e.indexOf(r)!==-1;if(Oe.isRegExp(r))return r.test(e)}}function lee(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,n,r)=>n.toUpperCase()+r)}function cee(t,e){const n=Oe.toCamelCase(" "+e);["get","set","has"].forEach(r=>{Object.defineProperty(t,r+n,{value:function(o,a,i){return this[r].call(this,e,o,a,i)},configurable:!0})})}let fo=class{constructor(e){e&&this.set(e)}set(e,n,r){const o=this;function a(s,l,u){const d=gd(l);if(!d)throw new Error("header name must be a non-empty string");const f=Oe.findKey(o,d);(!f||o[f]===void 0||u===!0||u===void 0&&o[f]!==!1)&&(o[f||l]=t0(s))}const i=(s,l)=>Oe.forEach(s,(u,d)=>a(u,d,l));if(Oe.isPlainObject(e)||e instanceof this.constructor)i(e,n);else if(Oe.isString(e)&&(e=e.trim())&&!see(e))i(aee(e),n);else if(Oe.isObject(e)&&Oe.isIterable(e)){let s={},l,u;for(const d of e){if(!Oe.isArray(d))throw TypeError("Object iterator must return a key-value pair");s[u=d[0]]=(l=s[u])?Oe.isArray(l)?[...l,d[1]]:[l,d[1]]:d[1]}i(s,n)}else e!=null&&a(n,e,r);return this}get(e,n){if(e=gd(e),e){const r=Oe.findKey(this,e);if(r){const o=this[r];if(!n)return o;if(n===!0)return iee(o);if(Oe.isFunction(n))return n.call(this,o,r);if(Oe.isRegExp(n))return n.exec(o);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,n){if(e=gd(e),e){const r=Oe.findKey(this,e);return!!(r&&this[r]!==void 0&&(!n||Bg(this,this[r],r,n)))}return!1}delete(e,n){const r=this;let o=!1;function a(i){if(i=gd(i),i){const s=Oe.findKey(r,i);s&&(!n||Bg(r,r[s],s,n))&&(delete r[s],o=!0)}}return Oe.isArray(e)?e.forEach(a):a(e),o}clear(e){const n=Object.keys(this);let r=n.length,o=!1;for(;r--;){const a=n[r];(!e||Bg(this,this[a],a,e,!0))&&(delete this[a],o=!0)}return o}normalize(e){const n=this,r={};return Oe.forEach(this,(o,a)=>{const i=Oe.findKey(r,a);if(i){n[i]=t0(o),delete n[a];return}const s=e?lee(a):String(a).trim();s!==a&&delete n[a],n[s]=t0(o),r[s]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const n=Object.create(null);return Oe.forEach(this,(r,o)=>{r!=null&&r!==!1&&(n[o]=e&&Oe.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,n])=>e+": "+n).join(`
|
|
166
|
-
`)}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...n){const r=new this(e);return n.forEach(o=>r.set(o)),r}static accessor(e){const r=(this[H4]=this[H4]={accessors:{}}).accessors,o=this.prototype;function a(i){const s=gd(i);r[s]||(cee(o,i),r[s]=!0)}return Oe.isArray(e)?e.forEach(a):a(e),this}};fo.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);Oe.reduceDescriptors(fo.prototype,({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(r){this[n]=r}}});Oe.freezeMethods(fo);function zg(t,e){const n=this||Vf,r=e||n,o=fo.from(r.headers);let a=r.data;return Oe.forEach(t,function(s){a=s.call(n,a,o.normalize(),e?e.status:void 0)}),o.normalize(),a}function ZE(t){return!!(t&&t.__CANCEL__)}let jf=class extends Pt{constructor(e,n,r){super(e??"canceled",Pt.ERR_CANCELED,n,r),this.name="CanceledError",this.__CANCEL__=!0}};function QE(t,e,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?t(n):e(new Pt("Request failed with status code "+n.status,[Pt.ERR_BAD_REQUEST,Pt.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function uee(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function dee(t,e){t=t||10;const n=new Array(t),r=new Array(t);let o=0,a=0,i;return e=e!==void 0?e:1e3,function(l){const u=Date.now(),d=r[a];i||(i=u),n[o]=l,r[o]=u;let f=a,m=0;for(;f!==o;)m+=n[f++],f=f%t;if(o=(o+1)%t,o===a&&(a=(a+1)%t),u-i<e)return;const v=d&&u-d;return v?Math.round(m*1e3/v):void 0}}function fee(t,e){let n=0,r=1e3/e,o,a;const i=(u,d=Date.now())=>{n=d,o=null,a&&(clearTimeout(a),a=null),t(...u)};return[(...u)=>{const d=Date.now(),f=d-n;f>=r?i(u,d):(o=u,a||(a=setTimeout(()=>{a=null,i(o)},r-f)))},()=>o&&i(o)]}const D0=(t,e,n=3)=>{let r=0;const o=dee(50,250);return fee(a=>{const i=a.loaded,s=a.lengthComputable?a.total:void 0,l=i-r,u=o(l),d=i<=s;r=i;const f={loaded:i,total:s,progress:s?i/s:void 0,bytes:l,rate:u||void 0,estimated:u&&s&&d?(s-i)/u:void 0,event:a,lengthComputable:s!=null,[e?"download":"upload"]:!0};t(f)},n)},W4=(t,e)=>{const n=t!=null;return[r=>e[0]({lengthComputable:n,total:t,loaded:r}),e[1]]},q4=t=>(...e)=>Oe.asap(()=>t(...e)),pee=Er.hasStandardBrowserEnv?((t,e)=>n=>(n=new URL(n,Er.origin),t.protocol===n.protocol&&t.host===n.host&&(e||t.port===n.port)))(new URL(Er.origin),Er.navigator&&/(msie|trident)/i.test(Er.navigator.userAgent)):()=>!0,hee=Er.hasStandardBrowserEnv?{write(t,e,n,r,o,a,i){if(typeof document>"u")return;const s=[`${t}=${encodeURIComponent(e)}`];Oe.isNumber(n)&&s.push(`expires=${new Date(n).toUTCString()}`),Oe.isString(r)&&s.push(`path=${r}`),Oe.isString(o)&&s.push(`domain=${o}`),a===!0&&s.push("secure"),Oe.isString(i)&&s.push(`SameSite=${i}`),document.cookie=s.join("; ")},read(t){if(typeof document>"u")return null;const e=document.cookie.match(new RegExp("(?:^|; )"+t+"=([^;]*)"));return e?decodeURIComponent(e[1]):null},remove(t){this.write(t,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function mee(t){return typeof t!="string"?!1:/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function gee(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function JE(t,e,n){let r=!mee(e);return t&&(r||n==!1)?gee(t,e):e}const U4=t=>t instanceof fo?{...t}:t;function Yl(t,e){e=e||{};const n={};function r(u,d,f,m){return Oe.isPlainObject(u)&&Oe.isPlainObject(d)?Oe.merge.call({caseless:m},u,d):Oe.isPlainObject(d)?Oe.merge({},d):Oe.isArray(d)?d.slice():d}function o(u,d,f,m){if(Oe.isUndefined(d)){if(!Oe.isUndefined(u))return r(void 0,u,f,m)}else return r(u,d,f,m)}function a(u,d){if(!Oe.isUndefined(d))return r(void 0,d)}function i(u,d){if(Oe.isUndefined(d)){if(!Oe.isUndefined(u))return r(void 0,u)}else return r(void 0,d)}function s(u,d,f){if(f in e)return r(u,d);if(f in t)return r(void 0,u)}const l={url:a,method:a,data:a,baseURL:i,transformRequest:i,transformResponse:i,paramsSerializer:i,timeout:i,timeoutMessage:i,withCredentials:i,withXSRFToken:i,adapter:i,responseType:i,xsrfCookieName:i,xsrfHeaderName:i,onUploadProgress:i,onDownloadProgress:i,decompress:i,maxContentLength:i,maxBodyLength:i,beforeRedirect:i,transport:i,httpAgent:i,httpsAgent:i,cancelToken:i,socketPath:i,responseEncoding:i,validateStatus:s,headers:(u,d,f)=>o(U4(u),U4(d),f,!0)};return Oe.forEach(Object.keys({...t,...e}),function(d){if(d==="__proto__"||d==="constructor"||d==="prototype")return;const f=Oe.hasOwnProp(l,d)?l[d]:o,m=f(t[d],e[d],d);Oe.isUndefined(m)&&f!==s||(n[d]=m)}),n}const eM=t=>{const e=Yl({},t);let{data:n,withXSRFToken:r,xsrfHeaderName:o,xsrfCookieName:a,headers:i,auth:s}=e;if(e.headers=i=fo.from(i),e.url=KE(JE(e.baseURL,e.url,e.allowAbsoluteUrls),t.params,t.paramsSerializer),s&&i.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):""))),Oe.isFormData(n)){if(Er.hasStandardBrowserEnv||Er.hasStandardBrowserWebWorkerEnv)i.setContentType(void 0);else if(Oe.isFunction(n.getHeaders)){const l=n.getHeaders(),u=["content-type","content-length"];Object.entries(l).forEach(([d,f])=>{u.includes(d.toLowerCase())&&i.set(d,f)})}}if(Er.hasStandardBrowserEnv&&(r&&Oe.isFunction(r)&&(r=r(e)),r||r!==!1&&pee(e.url))){const l=o&&a&&hee.read(a);l&&i.set(o,l)}return e},vee=typeof XMLHttpRequest<"u",wee=vee&&function(t){return new Promise(function(n,r){const o=eM(t);let a=o.data;const i=fo.from(o.headers).normalize();let{responseType:s,onUploadProgress:l,onDownloadProgress:u}=o,d,f,m,v,g;function w(){v&&v(),g&&g(),o.cancelToken&&o.cancelToken.unsubscribe(d),o.signal&&o.signal.removeEventListener("abort",d)}let y=new XMLHttpRequest;y.open(o.method.toUpperCase(),o.url,!0),y.timeout=o.timeout;function _(){if(!y)return;const x=fo.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders()),M={data:!s||s==="text"||s==="json"?y.responseText:y.response,status:y.status,statusText:y.statusText,headers:x,config:t,request:y};QE(function(O){n(O),w()},function(O){r(O),w()},M),y=null}"onloadend"in y?y.onloadend=_:y.onreadystatechange=function(){!y||y.readyState!==4||y.status===0&&!(y.responseURL&&y.responseURL.indexOf("file:")===0)||setTimeout(_)},y.onabort=function(){y&&(r(new Pt("Request aborted",Pt.ECONNABORTED,t,y)),y=null)},y.onerror=function(C){const M=C&&C.message?C.message:"Network Error",A=new Pt(M,Pt.ERR_NETWORK,t,y);A.event=C||null,r(A),y=null},y.ontimeout=function(){let C=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const M=o.transitional||p3;o.timeoutErrorMessage&&(C=o.timeoutErrorMessage),r(new Pt(C,M.clarifyTimeoutError?Pt.ETIMEDOUT:Pt.ECONNABORTED,t,y)),y=null},a===void 0&&i.setContentType(null),"setRequestHeader"in y&&Oe.forEach(i.toJSON(),function(C,M){y.setRequestHeader(M,C)}),Oe.isUndefined(o.withCredentials)||(y.withCredentials=!!o.withCredentials),s&&s!=="json"&&(y.responseType=o.responseType),u&&([m,g]=D0(u,!0),y.addEventListener("progress",m)),l&&y.upload&&([f,v]=D0(l),y.upload.addEventListener("progress",f),y.upload.addEventListener("loadend",v)),(o.cancelToken||o.signal)&&(d=x=>{y&&(r(!x||x.type?new jf(null,t,y):x),y.abort(),y=null)},o.cancelToken&&o.cancelToken.subscribe(d),o.signal&&(o.signal.aborted?d():o.signal.addEventListener("abort",d)));const S=uee(o.url);if(S&&Er.protocols.indexOf(S)===-1){r(new Pt("Unsupported protocol "+S+":",Pt.ERR_BAD_REQUEST,t));return}y.send(a||null)})},bee=(t,e)=>{const{length:n}=t=t?t.filter(Boolean):[];if(e||n){let r=new AbortController,o;const a=function(u){if(!o){o=!0,s();const d=u instanceof Error?u:this.reason;r.abort(d instanceof Pt?d:new jf(d instanceof Error?d.message:d))}};let i=e&&setTimeout(()=>{i=null,a(new Pt(`timeout of ${e}ms exceeded`,Pt.ETIMEDOUT))},e);const s=()=>{t&&(i&&clearTimeout(i),i=null,t.forEach(u=>{u.unsubscribe?u.unsubscribe(a):u.removeEventListener("abort",a)}),t=null)};t.forEach(u=>u.addEventListener("abort",a));const{signal:l}=r;return l.unsubscribe=()=>Oe.asap(s),l}},yee=function*(t,e){let n=t.byteLength;if(n<e){yield t;return}let r=0,o;for(;r<n;)o=r+e,yield t.slice(r,o),r=o},_ee=async function*(t,e){for await(const n of xee(t))yield*yee(n,e)},xee=async function*(t){if(t[Symbol.asyncIterator]){yield*t;return}const e=t.getReader();try{for(;;){const{done:n,value:r}=await e.read();if(n)break;yield r}}finally{await e.cancel()}},Y4=(t,e,n,r)=>{const o=_ee(t,e);let a=0,i,s=l=>{i||(i=!0,r&&r(l))};return new ReadableStream({async pull(l){try{const{done:u,value:d}=await o.next();if(u){s(),l.close();return}let f=d.byteLength;if(n){let m=a+=f;n(m)}l.enqueue(new Uint8Array(d))}catch(u){throw s(u),u}},cancel(l){return s(l),o.return()}},{highWaterMark:2})},G4=64*1024,{isFunction:Jp}=Oe,See=(({Request:t,Response:e})=>({Request:t,Response:e}))(Oe.global),{ReadableStream:K4,TextEncoder:X4}=Oe.global,Z4=(t,...e)=>{try{return!!t(...e)}catch{return!1}},Cee=t=>{t=Oe.merge.call({skipUndefined:!0},See,t);const{fetch:e,Request:n,Response:r}=t,o=e?Jp(e):typeof fetch=="function",a=Jp(n),i=Jp(r);if(!o)return!1;const s=o&&Jp(K4),l=o&&(typeof X4=="function"?(g=>w=>g.encode(w))(new X4):async g=>new Uint8Array(await new n(g).arrayBuffer())),u=a&&s&&Z4(()=>{let g=!1;const w=new K4,y=new n(Er.origin,{body:w,method:"POST",get duplex(){return g=!0,"half"}}).headers.has("Content-Type");return w.cancel(),g&&!y}),d=i&&s&&Z4(()=>Oe.isReadableStream(new r("").body)),f={stream:d&&(g=>g.body)};o&&["text","arrayBuffer","blob","formData","stream"].forEach(g=>{!f[g]&&(f[g]=(w,y)=>{let _=w&&w[g];if(_)return _.call(w);throw new Pt(`Response type '${g}' is not supported`,Pt.ERR_NOT_SUPPORT,y)})});const m=async g=>{if(g==null)return 0;if(Oe.isBlob(g))return g.size;if(Oe.isSpecCompliantForm(g))return(await new n(Er.origin,{method:"POST",body:g}).arrayBuffer()).byteLength;if(Oe.isArrayBufferView(g)||Oe.isArrayBuffer(g))return g.byteLength;if(Oe.isURLSearchParams(g)&&(g=g+""),Oe.isString(g))return(await l(g)).byteLength},v=async(g,w)=>{const y=Oe.toFiniteNumber(g.getContentLength());return y??m(w)};return async g=>{let{url:w,method:y,data:_,signal:S,cancelToken:x,timeout:C,onDownloadProgress:M,onUploadProgress:A,responseType:O,headers:D,withCredentials:T="same-origin",fetchOptions:R}=eM(g),$=e||fetch;O=O?(O+"").toLowerCase():"text";let P=bee([S,x&&x.toAbortSignal()],C),I=null;const L=P&&P.unsubscribe&&(()=>{P.unsubscribe()});let V;try{if(A&&u&&y!=="get"&&y!=="head"&&(V=await v(D,_))!==0){let le=new n(w,{method:"POST",body:_,duplex:"half"}),J;if(Oe.isFormData(_)&&(J=le.headers.get("content-type"))&&D.setContentType(J),le.body){const[re,te]=W4(V,D0(q4(A)));_=Y4(le.body,G4,re,te)}}Oe.isString(T)||(T=T?"include":"omit");const F=a&&"credentials"in n.prototype,z={...R,signal:P,method:y.toUpperCase(),headers:D.normalize().toJSON(),body:_,duplex:"half",credentials:F?T:void 0};I=a&&new n(w,z);let B=await(a?$(I,R):$(w,z));const Y=d&&(O==="stream"||O==="response");if(d&&(M||Y&&L)){const le={};["status","statusText","headers"].forEach(oe=>{le[oe]=B[oe]});const J=Oe.toFiniteNumber(B.headers.get("content-length")),[re,te]=M&&W4(J,D0(q4(M),!0))||[];B=new r(Y4(B.body,G4,re,()=>{te&&te(),L&&L()}),le)}O=O||"text";let U=await f[Oe.findKey(f,O)||"text"](B,g);return!Y&&L&&L(),await new Promise((le,J)=>{QE(le,J,{data:U,headers:fo.from(B.headers),status:B.status,statusText:B.statusText,config:g,request:I})})}catch(F){throw L&&L(),F&&F.name==="TypeError"&&/Load failed|fetch/i.test(F.message)?Object.assign(new Pt("Network Error",Pt.ERR_NETWORK,g,I,F&&F.response),{cause:F.cause||F}):Pt.from(F,F&&F.code,g,I,F&&F.response)}}},Eee=new Map,tM=t=>{let e=t&&t.env||{};const{fetch:n,Request:r,Response:o}=e,a=[r,o,n];let i=a.length,s=i,l,u,d=Eee;for(;s--;)l=a[s],u=d.get(l),u===void 0&&d.set(l,u=s?new Map:Cee(e)),d=u;return u};tM();const m3={http:jJ,xhr:wee,fetch:{get:tM}};Oe.forEach(m3,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const Q4=t=>`- ${t}`,Mee=t=>Oe.isFunction(t)||t===null||t===!1;function kee(t,e){t=Oe.isArray(t)?t:[t];const{length:n}=t;let r,o;const a={};for(let i=0;i<n;i++){r=t[i];let s;if(o=r,!Mee(r)&&(o=m3[(s=String(r)).toLowerCase()],o===void 0))throw new Pt(`Unknown adapter '${s}'`);if(o&&(Oe.isFunction(o)||(o=o.get(e))))break;a[s||"#"+i]=o}if(!o){const i=Object.entries(a).map(([l,u])=>`adapter ${l} `+(u===!1?"is not supported by the environment":"is not available in the build"));let s=n?i.length>1?`since :
|
|
167
|
-
`+i.map(Q4).join(`
|
|
168
|
-
`):" "+Q4(i[0]):"as no adapter specified";throw new Pt("There is no suitable adapter to dispatch the request "+s,"ERR_NOT_SUPPORT")}return o}const nM={getAdapter:kee,adapters:m3};function Fg(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new jf(null,t)}function J4(t){return Fg(t),t.headers=fo.from(t.headers),t.data=zg.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),nM.getAdapter(t.adapter||Vf.adapter,t)(t).then(function(r){return Fg(t),r.data=zg.call(t,t.transformResponse,r),r.headers=fo.from(r.headers),r},function(r){return ZE(r)||(Fg(t),r&&r.response&&(r.response.data=zg.call(t,t.transformResponse,r.response),r.response.headers=fo.from(r.response.headers))),Promise.reject(r)})}const rM="1.14.0",Oh={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{Oh[t]=function(r){return typeof r===t||"a"+(e<1?"n ":" ")+t}});const e5={};Oh.transitional=function(e,n,r){function o(a,i){return"[Axios v"+rM+"] Transitional option '"+a+"'"+i+(r?". "+r:"")}return(a,i,s)=>{if(e===!1)throw new Pt(o(i," has been removed"+(n?" in "+n:"")),Pt.ERR_DEPRECATED);return n&&!e5[i]&&(e5[i]=!0,console.warn(o(i," has been deprecated since v"+n+" and will be removed in the near future"))),e?e(a,i,s):!0}};Oh.spelling=function(e){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${e}`),!0)};function Ree(t,e,n){if(typeof t!="object")throw new Pt("options must be an object",Pt.ERR_BAD_OPTION_VALUE);const r=Object.keys(t);let o=r.length;for(;o-- >0;){const a=r[o],i=e[a];if(i){const s=t[a],l=s===void 0||i(s,a,t);if(l!==!0)throw new Pt("option "+a+" must be "+l,Pt.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new Pt("Unknown option "+a,Pt.ERR_BAD_OPTION)}}const n0={assertOptions:Ree,validators:Oh},jo=n0.validators;let Bl=class{constructor(e){this.defaults=e||{},this.interceptors={request:new j4,response:new j4}}async request(e,n){try{return await this._request(e,n)}catch(r){if(r instanceof Error){let o={};Error.captureStackTrace?Error.captureStackTrace(o):o=new Error;const a=o.stack?o.stack.replace(/^.+\n/,""):"";try{r.stack?a&&!String(r.stack).endsWith(a.replace(/^.+\n.+\n/,""))&&(r.stack+=`
|
|
169
|
-
`+a):r.stack=a}catch{}}throw r}}_request(e,n){typeof e=="string"?(n=n||{},n.url=e):n=e||{},n=Yl(this.defaults,n);const{transitional:r,paramsSerializer:o,headers:a}=n;r!==void 0&&n0.assertOptions(r,{silentJSONParsing:jo.transitional(jo.boolean),forcedJSONParsing:jo.transitional(jo.boolean),clarifyTimeoutError:jo.transitional(jo.boolean),legacyInterceptorReqResOrdering:jo.transitional(jo.boolean)},!1),o!=null&&(Oe.isFunction(o)?n.paramsSerializer={serialize:o}:n0.assertOptions(o,{encode:jo.function,serialize:jo.function},!0)),n.allowAbsoluteUrls!==void 0||(this.defaults.allowAbsoluteUrls!==void 0?n.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:n.allowAbsoluteUrls=!0),n0.assertOptions(n,{baseUrl:jo.spelling("baseURL"),withXsrfToken:jo.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let i=a&&Oe.merge(a.common,a[n.method]);a&&Oe.forEach(["delete","get","head","post","put","patch","common"],g=>{delete a[g]}),n.headers=fo.concat(i,a);const s=[];let l=!0;this.interceptors.request.forEach(function(w){if(typeof w.runWhen=="function"&&w.runWhen(n)===!1)return;l=l&&w.synchronous;const y=n.transitional||p3;y&&y.legacyInterceptorReqResOrdering?s.unshift(w.fulfilled,w.rejected):s.push(w.fulfilled,w.rejected)});const u=[];this.interceptors.response.forEach(function(w){u.push(w.fulfilled,w.rejected)});let d,f=0,m;if(!l){const g=[J4.bind(this),void 0];for(g.unshift(...s),g.push(...u),m=g.length,d=Promise.resolve(n);f<m;)d=d.then(g[f++],g[f++]);return d}m=s.length;let v=n;for(;f<m;){const g=s[f++],w=s[f++];try{v=g(v)}catch(y){w.call(this,y);break}}try{d=J4.call(this,v)}catch(g){return Promise.reject(g)}for(f=0,m=u.length;f<m;)d=d.then(u[f++],u[f++]);return d}getUri(e){e=Yl(this.defaults,e);const n=JE(e.baseURL,e.url,e.allowAbsoluteUrls);return KE(n,e.params,e.paramsSerializer)}};Oe.forEach(["delete","get","head","options"],function(e){Bl.prototype[e]=function(n,r){return this.request(Yl(r||{},{method:e,url:n,data:(r||{}).data}))}});Oe.forEach(["post","put","patch"],function(e){function n(r){return function(a,i,s){return this.request(Yl(s||{},{method:e,headers:r?{"Content-Type":"multipart/form-data"}:{},url:a,data:i}))}}Bl.prototype[e]=n(),Bl.prototype[e+"Form"]=n(!0)});let Tee=class oM{constructor(e){if(typeof e!="function")throw new TypeError("executor must be a function.");let n;this.promise=new Promise(function(a){n=a});const r=this;this.promise.then(o=>{if(!r._listeners)return;let a=r._listeners.length;for(;a-- >0;)r._listeners[a](o);r._listeners=null}),this.promise.then=o=>{let a;const i=new Promise(s=>{r.subscribe(s),a=s}).then(o);return i.cancel=function(){r.unsubscribe(a)},i},e(function(a,i,s){r.reason||(r.reason=new jf(a,i,s),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const n=this._listeners.indexOf(e);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const e=new AbortController,n=r=>{e.abort(r)};return this.subscribe(n),e.signal.unsubscribe=()=>this.unsubscribe(n),e.signal}static source(){let e;return{token:new oM(function(o){e=o}),cancel:e}}};function Nee(t){return function(n){return t.apply(null,n)}}function Pee(t){return Oe.isObject(t)&&t.isAxiosError===!0}const Cv={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Cv).forEach(([t,e])=>{Cv[e]=t});function aM(t){const e=new Bl(t),n=BE(Bl.prototype.request,e);return Oe.extend(n,Bl.prototype,e,{allOwnKeys:!0}),Oe.extend(n,e,null,{allOwnKeys:!0}),n.create=function(o){return aM(Yl(t,o))},n}const Gn=aM(Vf);Gn.Axios=Bl;Gn.CanceledError=jf;Gn.CancelToken=Tee;Gn.isCancel=ZE;Gn.VERSION=rM;Gn.toFormData=Ih;Gn.AxiosError=Pt;Gn.Cancel=Gn.CanceledError;Gn.all=function(e){return Promise.all(e)};Gn.spread=Nee;Gn.isAxiosError=Pee;Gn.mergeConfig=Yl;Gn.AxiosHeaders=fo;Gn.formToJSON=t=>XE(Oe.isHTMLForm(t)?new FormData(t):t);Gn.getAdapter=nM.getAdapter;Gn.HttpStatusCode=Cv;Gn.default=Gn;const{Axios:The,AxiosError:Nhe,CanceledError:Phe,isCancel:Ahe,CancelToken:Ihe,VERSION:Ohe,all:Lhe,Cancel:$he,isAxiosError:Dhe,spread:Bhe,toFormData:zhe,AxiosHeaders:Fhe,HttpStatusCode:Vhe,formToJSON:jhe,getAdapter:Hhe,mergeConfig:Whe}=Gn;/*! js-cookie v3.0.5 | MIT */function e1(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)t[r]=n[r]}return t}var Aee={read:function(t){return t[0]==='"'&&(t=t.slice(1,-1)),t.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(t){return encodeURIComponent(t).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decodeURIComponent)}};function Ev(t,e){function n(o,a,i){if(!(typeof document>"u")){i=e1({},e,i),typeof i.expires=="number"&&(i.expires=new Date(Date.now()+i.expires*864e5)),i.expires&&(i.expires=i.expires.toUTCString()),o=encodeURIComponent(o).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var s="";for(var l in i)i[l]&&(s+="; "+l,i[l]!==!0&&(s+="="+i[l].split(";")[0]));return document.cookie=o+"="+t.write(a,o)+s}}function r(o){if(!(typeof document>"u"||arguments.length&&!o)){for(var a=document.cookie?document.cookie.split("; "):[],i={},s=0;s<a.length;s++){var l=a[s].split("="),u=l.slice(1).join("=");try{var d=decodeURIComponent(l[0]);if(i[d]=t.read(u,d),o===d)break}catch{}}return o?i[o]:i}}return Object.create({set:n,get:r,remove:function(o,a){n(o,"",e1({},a,{expires:-1}))},withAttributes:function(o){return Ev(this.converter,e1({},this.attributes,o))},withConverter:function(o){return Ev(e1({},this.converter,o),this.attributes)}},{attributes:{value:Object.freeze(e)},converter:{value:Object.freeze(t)}})}var Iee=Ev(Aee,{path:"/"});const Hf={onRequest({config:t,cookie:e}){return t},onResponse({response:t}){return t?.data},async onResponseError({error:t,cookie:e}){return Promise.reject(t)}},{QueryClient:Oee}=await q("@tanstack/react-query"),Lee=new Oee({defaultOptions:{queries:{refetchOnWindowFocus:!1}}}),$ee=(t,e)=>!t||!e||t.endsWith(e)?t:`${t}${e}`,Wf=(t,e,n)=>{const r=Iee,{baseURL:o,withCredentials:a=!1,timeout:i=6e4}=t,s=Gn.create({...t,baseURL:o,withCredentials:a,timeout:i});return s.interceptors.request.use(l=>(l.baseURL&&(l.baseURL=$ee(l.baseURL,n)),e.onRequest?.({config:l,cookie:r}),l)),s.interceptors.response.use(l=>e.onResponse({response:l,cookie:r}),l=>e.onResponseError?.({error:l,cookie:r})),s},Dee=`http://${window.location.hostname}:undefined`,Bee=`http://${window.location.hostname}:undefined`,iM=`http://${window.location.hostname}:undefined`;Wf({baseURL:""},Hf);Wf({baseURL:Dee},Hf);Wf({baseURL:Bee},Hf);const sM=Wf({baseURL:`${iM}/amr`},Hf,"/amr"),Lh=Wf({baseURL:`${iM}/common`},Hf,"/common"),{useQuery:qhe}=await q("@tanstack/react-query"),{useMemo:Uhe}=await q("react"),{useQuery:Yhe}=await q("@tanstack/react-query"),{useMemo:Ghe}=await q("react"),{useMemo:Khe}=await q("react"),{useQuery:Xhe}=await q("@tanstack/react-query"),zee="/robot-component-list",Fee=async(t,e)=>{try{return await Lh.get(zee,e?{baseURL:e,params:{be_service:t}}:{params:{be_service:t}})}catch(n){throw console.error(n),n}},{useMemo:Zhe}=await q("react"),{useQuery:Qhe}=await q("@tanstack/react-query"),Vee="/get-robot-info",jee=async t=>{try{return await Lh.get(Vee,t?{baseURL:t}:void 0)}catch(e){throw console.error(e),e}},{useQuery:Jhe}=await q("@tanstack/react-query"),Hee="/common/robot-model",Wee=[Hee],qee=600*1e3,Uee=async t=>{const[e,n]=await Promise.all([jee(t),Fee("amr",t)]),r=e.info?.robotModel??e.modelInfo?.model;if(r)return r;const a=[...e.info?.components??[],...e.modelInfo?.components??[]].find(i=>n.includes(i));if(!a)throw new Error("AMR robot_model을 찾을 수 없습니다.");return a},Yee=t=>Lee.fetchQuery({queryKey:[...Wee,""],queryFn:()=>Uee(t),staleTime:qee}),{useQuery:eme}=await q("@tanstack/react-query"),{useMemo:tme}=await q("react"),{useMemo:nme}=await q("react"),{useQuery:rme}=await q("@tanstack/react-query"),{useMemo:ome}=await q("react"),{useQuery:ame}=await q("@tanstack/react-query"),{useQuery:ime}=await q("@tanstack/react-query"),{useMemo:sme}=await q("react"),{useQuery:lme}=await q("@tanstack/react-query"),{useMemo:cme}=await q("react"),{useQuery:ume}=await q("@tanstack/react-query"),{useMemo:dme}=await q("react"),{useQuery:fme}=await q("@tanstack/react-query"),{useMemo:pme}=await q("react"),{useQuery:hme}=await q("@tanstack/react-query"),{useMemo:mme}=await q("react"),{useQuery:gme}=await q("@tanstack/react-query"),{useMemo:vme}=await q("react"),{useQuery:wme}=await q("@tanstack/react-query"),{useMemo:bme}=await q("react"),{useQuery:yme}=await q("@tanstack/react-query"),{useMemo:_me}=await q("react"),{useQuery:Gee}=await q("@tanstack/react-query"),{useMemo:Kee}=await q("react"),t5="/getState",xme=(t={},e,n="")=>{const r=Kee(()=>[t5,e,n],[e,n]);return{...Gee({queryKey:r,queryFn:()=>Lh.get(t5,void 0),...t}),queryKey:r}},{useMemo:Sme}=await q("react"),{useQuery:Cme}=await q("@tanstack/react-query"),{useQuery:Eme}=await q("@tanstack/react-query"),{useMemo:Mme}=await q("react"),{useQuery:kme}=await q("@tanstack/react-query"),{useMemo:Rme}=await q("react"),{useQuery:Tme}=await q("@tanstack/react-query"),{useMemo:Nme}=await q("react");/**
|
|
170
|
-
* @remix-run/router v1.23.2
|
|
171
|
-
*
|
|
172
|
-
* Copyright (c) Remix Software Inc.
|
|
173
|
-
*
|
|
174
|
-
* This source code is licensed under the MIT license found in the
|
|
175
|
-
* LICENSE.md file in the root directory of this source tree.
|
|
176
|
-
*
|
|
177
|
-
* @license MIT
|
|
178
|
-
*/function Mv(){return Mv=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},Mv.apply(this,arguments)}var kv;(function(t){t.Pop="POP",t.Push="PUSH",t.Replace="REPLACE"})(kv||(kv={}));function kr(t,e){if(t===!1||t===null||typeof t>"u")throw new Error(e)}function g3(t,e){if(!t){typeof console<"u"&&console.warn(e);try{throw new Error(e)}catch{}}}function Pme(t){let{pathname:e="/",search:n="",hash:r=""}=t;return n&&n!=="?"&&(e+=n.charAt(0)==="?"?n:"?"+n),r&&r!=="#"&&(e+=r.charAt(0)==="#"?r:"#"+r),e}function $h(t){let e={};if(t){let n=t.indexOf("#");n>=0&&(e.hash=t.substr(n),t=t.substr(0,n));let r=t.indexOf("?");r>=0&&(e.search=t.substr(r),t=t.substr(0,r)),t&&(e.pathname=t)}return e}var n5;(function(t){t.data="data",t.deferred="deferred",t.redirect="redirect",t.error="error"})(n5||(n5={}));function Xee(t,e,n){return n===void 0&&(n="/"),Zee(t,e,n)}function Zee(t,e,n,r){let o=typeof e=="string"?$h(e):e,a=uM(o.pathname||"/",n);if(a==null)return null;let i=lM(t);Qee(i);let s=null;for(let l=0;s==null&&l<i.length;++l){let u=ute(a);s=ste(i[l],u)}return s}function lM(t,e,n,r){e===void 0&&(e=[]),n===void 0&&(n=[]),r===void 0&&(r="");let o=(a,i,s)=>{let l={relativePath:s===void 0?a.path||"":s,caseSensitive:a.caseSensitive===!0,childrenIndex:i,route:a};l.relativePath.startsWith("/")&&(kr(l.relativePath.startsWith(r),'Absolute route path "'+l.relativePath+'" nested under path '+('"'+r+'" is not valid. An absolute child route path ')+"must start with the combined path of all its parent routes."),l.relativePath=l.relativePath.slice(r.length));let u=Bs([r,l.relativePath]),d=n.concat(l);a.children&&a.children.length>0&&(kr(a.index!==!0,"Index routes must not have child routes. Please remove "+('all child routes from route path "'+u+'".')),lM(a.children,e,d,u)),!(a.path==null&&!a.index)&&e.push({path:u,score:ate(u,a.index),routesMeta:d})};return t.forEach((a,i)=>{var s;if(a.path===""||!((s=a.path)!=null&&s.includes("?")))o(a,i);else for(let l of cM(a.path))o(a,i,l)}),e}function cM(t){let e=t.split("/");if(e.length===0)return[];let[n,...r]=e,o=n.endsWith("?"),a=n.replace(/\?$/,"");if(r.length===0)return o?[a,""]:[a];let i=cM(r.join("/")),s=[];return s.push(...i.map(l=>l===""?a:[a,l].join("/"))),o&&s.push(...i),s.map(l=>t.startsWith("/")&&l===""?"/":l)}function Qee(t){t.sort((e,n)=>e.score!==n.score?n.score-e.score:ite(e.routesMeta.map(r=>r.childrenIndex),n.routesMeta.map(r=>r.childrenIndex)))}const Jee=/^:[\w-]+$/,ete=3,tte=2,nte=1,rte=10,ote=-2,r5=t=>t==="*";function ate(t,e){let n=t.split("/"),r=n.length;return n.some(r5)&&(r+=ote),e&&(r+=tte),n.filter(o=>!r5(o)).reduce((o,a)=>o+(Jee.test(a)?ete:a===""?nte:rte),r)}function ite(t,e){return t.length===e.length&&t.slice(0,-1).every((r,o)=>r===e[o])?t[t.length-1]-e[e.length-1]:0}function ste(t,e,n){let{routesMeta:r}=t,o={},a="/",i=[];for(let s=0;s<r.length;++s){let l=r[s],u=s===r.length-1,d=a==="/"?e:e.slice(a.length)||"/",f=lte({path:l.relativePath,caseSensitive:l.caseSensitive,end:u},d),m=l.route;if(!f)return null;Object.assign(o,f.params),i.push({params:o,pathname:Bs([a,f.pathname]),pathnameBase:mte(Bs([a,f.pathnameBase])),route:m}),f.pathnameBase!=="/"&&(a=Bs([a,f.pathnameBase]))}return i}function lte(t,e){typeof t=="string"&&(t={path:t,caseSensitive:!1,end:!0});let[n,r]=cte(t.path,t.caseSensitive,t.end),o=e.match(n);if(!o)return null;let a=o[0],i=a.replace(/(.)\/+$/,"$1"),s=o.slice(1);return{params:r.reduce((u,d,f)=>{let{paramName:m,isOptional:v}=d;if(m==="*"){let w=s[f]||"";i=a.slice(0,a.length-w.length).replace(/(.)\/+$/,"$1")}const g=s[f];return v&&!g?u[m]=void 0:u[m]=(g||"").replace(/%2F/g,"/"),u},{}),pathname:a,pathnameBase:i,pattern:t}}function cte(t,e,n){e===void 0&&(e=!1),n===void 0&&(n=!0),g3(t==="*"||!t.endsWith("*")||t.endsWith("/*"),'Route path "'+t+'" will be treated as if it were '+('"'+t.replace(/\*$/,"/*")+'" because the `*` character must ')+"always follow a `/` in the pattern. To get rid of this warning, "+('please change the route path to "'+t.replace(/\*$/,"/*")+'".'));let r=[],o="^"+t.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(i,s,l)=>(r.push({paramName:s,isOptional:l!=null}),l?"/?([^\\/]+)?":"/([^\\/]+)"));return t.endsWith("*")?(r.push({paramName:"*"}),o+=t==="*"||t==="/*"?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":t!==""&&t!=="/"&&(o+="(?:(?=\\/|$))"),[new RegExp(o,e?void 0:"i"),r]}function ute(t){try{return t.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(e){return g3(!1,'The URL path "'+t+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent '+("encoding ("+e+").")),t}}function uM(t,e){if(e==="/")return t;if(!t.toLowerCase().startsWith(e.toLowerCase()))return null;let n=e.endsWith("/")?e.length-1:e.length,r=t.charAt(n);return r&&r!=="/"?null:t.slice(n)||"/"}const dte=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,fte=t=>dte.test(t);function pte(t,e){e===void 0&&(e="/");let{pathname:n,search:r="",hash:o=""}=typeof t=="string"?$h(t):t,a;if(n)if(fte(n))a=n;else{if(n.includes("//")){let i=n;n=n.replace(/\/\/+/g,"/"),g3(!1,"Pathnames cannot have embedded double slashes - normalizing "+(i+" -> "+n))}n.startsWith("/")?a=o5(n.substring(1),"/"):a=o5(n,e)}else a=e;return{pathname:a,search:gte(r),hash:vte(o)}}function o5(t,e){let n=e.replace(/\/+$/,"").split("/");return t.split("/").forEach(o=>{o===".."?n.length>1&&n.pop():o!=="."&&n.push(o)}),n.length>1?n.join("/"):"/"}function Vg(t,e,n,r){return"Cannot include a '"+t+"' character in a manually specified "+("`to."+e+"` field ["+JSON.stringify(r)+"]. Please separate it out to the ")+("`to."+n+"` field. Alternatively you may provide the full path as ")+'a string in <Link to="..."> and the router will parse it for you.'}function hte(t){return t.filter((e,n)=>n===0||e.route.path&&e.route.path.length>0)}function v3(t,e){let n=hte(t);return e?n.map((r,o)=>o===n.length-1?r.pathname:r.pathnameBase):n.map(r=>r.pathnameBase)}function w3(t,e,n,r){r===void 0&&(r=!1);let o;typeof t=="string"?o=$h(t):(o=Mv({},t),kr(!o.pathname||!o.pathname.includes("?"),Vg("?","pathname","search",o)),kr(!o.pathname||!o.pathname.includes("#"),Vg("#","pathname","hash",o)),kr(!o.search||!o.search.includes("#"),Vg("#","search","hash",o)));let a=t===""||o.pathname==="",i=a?"/":o.pathname,s;if(i==null)s=n;else{let f=e.length-1;if(!r&&i.startsWith("..")){let m=i.split("/");for(;m[0]==="..";)m.shift(),f-=1;o.pathname=m.join("/")}s=f>=0?e[f]:"/"}let l=pte(o,s),u=i&&i!=="/"&&i.endsWith("/"),d=(a||i===".")&&n.endsWith("/");return!l.pathname.endsWith("/")&&(u||d)&&(l.pathname+="/"),l}const Bs=t=>t.join("/").replace(/\/\/+/g,"/"),mte=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),gte=t=>!t||t==="?"?"":t.startsWith("?")?t:"?"+t,vte=t=>!t||t==="#"?"":t.startsWith("#")?t:"#"+t;class wte extends Error{}function bte(t){return t!=null&&typeof t.status=="number"&&typeof t.statusText=="string"&&typeof t.internal=="boolean"&&"data"in t}const dM=["post","put","patch","delete"];new Set(dM);const yte=["get",...dM];new Set(yte);/**
|
|
179
|
-
* React Router v6.30.3
|
|
180
|
-
*
|
|
181
|
-
* Copyright (c) Remix Software Inc.
|
|
182
|
-
*
|
|
183
|
-
* This source code is licensed under the MIT license found in the
|
|
184
|
-
* LICENSE.md file in the root directory of this source tree.
|
|
185
|
-
*
|
|
186
|
-
* @license MIT
|
|
187
|
-
*/const pt=await q("react");function B0(){return B0=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},B0.apply(this,arguments)}const b3=pt.createContext(null),_te=pt.createContext(null),a5=pt.createContext(null),ic=pt.createContext(null),y3=pt.createContext(null),ui=pt.createContext({outlet:null,matches:[],isDataRoute:!1}),fM=pt.createContext(null);function Ame(t,e){let{relative:n}=e===void 0?{}:e;Du()||kr(!1);let{basename:r,navigator:o}=pt.useContext(ic),{hash:a,pathname:i,search:s}=Ete(t,{relative:n}),l=i;return r!=="/"&&(l=i==="/"?r:Bs([r,i])),o.createHref({pathname:l,search:s,hash:a})}function Du(){return pt.useContext(y3)!=null}function Dh(){return Du()||kr(!1),pt.useContext(y3).location}function pM(t){pt.useContext(ic).static||pt.useLayoutEffect(t)}function xte(){let{isDataRoute:t}=pt.useContext(ui);return t?$te():Ste()}function Ste(){Du()||kr(!1);let t=pt.useContext(b3),{basename:e,future:n,navigator:r}=pt.useContext(ic),{matches:o}=pt.useContext(ui),{pathname:a}=Dh(),i=JSON.stringify(v3(o,n.v7_relativeSplatPath)),s=pt.useRef(!1);return pM(()=>{s.current=!0}),pt.useCallback(function(u,d){if(d===void 0&&(d={}),!s.current)return;if(typeof u=="number"){r.go(u);return}let f=w3(u,JSON.parse(i),a,d.relative==="path");t==null&&e!=="/"&&(f.pathname=f.pathname==="/"?e:Bs([e,f.pathname])),(d.replace?r.replace:r.push)(f,d.state,d)},[e,r,i,a,t])}const hM=pt.createContext(null);function Ime(){return pt.useContext(hM)}function Cte(t){let e=pt.useContext(ui).outlet;return e&&pt.createElement(hM.Provider,{value:t},e)}function Ome(){let{matches:t}=pt.useContext(ui),e=t[t.length-1];return e?e.params:{}}function Ete(t,e){let{relative:n}=e===void 0?{}:e,{future:r}=pt.useContext(ic),{matches:o}=pt.useContext(ui),{pathname:a}=Dh(),i=JSON.stringify(v3(o,r.v7_relativeSplatPath));return pt.useMemo(()=>w3(t,JSON.parse(i),a,n==="path"),[t,i,a,n])}function Lme(t,e){return Mte(t)}function Mte(t,e,n,r){Du()||kr(!1);let{navigator:o}=pt.useContext(ic),{matches:a}=pt.useContext(ui),i=a[a.length-1],s=i?i.params:{};i&&i.pathname;let l=i?i.pathnameBase:"/";i&&i.route;let u=Dh(),d;d=u;let f=d.pathname||"/",m=f;if(l!=="/"){let w=l.replace(/^\//,"").split("/");m="/"+f.replace(/^\//,"").split("/").slice(w.length).join("/")}let v=Xee(t,{pathname:m});return Pte(v&&v.map(w=>Object.assign({},w,{params:Object.assign({},s,w.params),pathname:Bs([l,o.encodeLocation?o.encodeLocation(w.pathname).pathname:w.pathname]),pathnameBase:w.pathnameBase==="/"?l:Bs([l,o.encodeLocation?o.encodeLocation(w.pathnameBase).pathname:w.pathnameBase])})),a,n,r)}function kte(){let t=Lte(),e=bte(t)?t.status+" "+t.statusText:t instanceof Error?t.message:JSON.stringify(t),n=t instanceof Error?t.stack:null,o={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return pt.createElement(pt.Fragment,null,pt.createElement("h2",null,"Unexpected Application Error!"),pt.createElement("h3",{style:{fontStyle:"italic"}},e),n?pt.createElement("pre",{style:o},n):null,null)}const Rte=pt.createElement(kte,null);class Tte extends pt.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,n){return n.location!==e.location||n.revalidation!=="idle"&&e.revalidation==="idle"?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:e.error!==void 0?e.error:n.error,location:n.location,revalidation:e.revalidation||n.revalidation}}componentDidCatch(e,n){console.error("React Router caught the following error during render",e,n)}render(){return this.state.error!==void 0?pt.createElement(ui.Provider,{value:this.props.routeContext},pt.createElement(fM.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function Nte(t){let{routeContext:e,match:n,children:r}=t,o=pt.useContext(b3);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),pt.createElement(ui.Provider,{value:e},r)}function Pte(t,e,n,r){var o;if(e===void 0&&(e=[]),n===void 0&&(n=null),r===void 0&&(r=null),t==null){var a;if(!n)return null;if(n.errors)t=n.matches;else if((a=r)!=null&&a.v7_partialHydration&&e.length===0&&!n.initialized&&n.matches.length>0)t=n.matches;else return null}let i=t,s=(o=n)==null?void 0:o.errors;if(s!=null){let d=i.findIndex(f=>f.route.id&&s?.[f.route.id]!==void 0);d>=0||kr(!1),i=i.slice(0,Math.min(i.length,d+1))}let l=!1,u=-1;if(n&&r&&r.v7_partialHydration)for(let d=0;d<i.length;d++){let f=i[d];if((f.route.HydrateFallback||f.route.hydrateFallbackElement)&&(u=d),f.route.id){let{loaderData:m,errors:v}=n,g=f.route.loader&&m[f.route.id]===void 0&&(!v||v[f.route.id]===void 0);if(f.route.lazy||g){l=!0,u>=0?i=i.slice(0,u+1):i=[i[0]];break}}}return i.reduceRight((d,f,m)=>{let v,g=!1,w=null,y=null;n&&(v=s&&f.route.id?s[f.route.id]:void 0,w=f.route.errorElement||Rte,l&&(u<0&&m===0?(Dte("route-fallback"),g=!0,y=null):u===m&&(g=!0,y=f.route.hydrateFallbackElement||null)));let _=e.concat(i.slice(0,m+1)),S=()=>{let x;return v?x=w:g?x=y:f.route.Component?x=pt.createElement(f.route.Component,null):f.route.element?x=f.route.element:x=d,pt.createElement(Nte,{match:f,routeContext:{outlet:d,matches:_,isDataRoute:n!=null},children:x})};return n&&(f.route.ErrorBoundary||f.route.errorElement||m===0)?pt.createElement(Tte,{location:n.location,revalidation:n.revalidation,component:w,error:v,children:S(),routeContext:{outlet:null,matches:_,isDataRoute:!0}}):S()},null)}var mM=(function(t){return t.UseBlocker="useBlocker",t.UseRevalidator="useRevalidator",t.UseNavigateStable="useNavigate",t})(mM||{}),gM=(function(t){return t.UseBlocker="useBlocker",t.UseLoaderData="useLoaderData",t.UseActionData="useActionData",t.UseRouteError="useRouteError",t.UseNavigation="useNavigation",t.UseRouteLoaderData="useRouteLoaderData",t.UseMatches="useMatches",t.UseRevalidator="useRevalidator",t.UseNavigateStable="useNavigate",t.UseRouteId="useRouteId",t})(gM||{});function Ate(t){let e=pt.useContext(b3);return e||kr(!1),e}function Ite(t){let e=pt.useContext(_te);return e||kr(!1),e}function Ote(t){let e=pt.useContext(ui);return e||kr(!1),e}function vM(t){let e=Ote(),n=e.matches[e.matches.length-1];return n.route.id||kr(!1),n.route.id}function Lte(){var t;let e=pt.useContext(fM),n=Ite(),r=vM();return e!==void 0?e:(t=n.errors)==null?void 0:t[r]}function $te(){let{router:t}=Ate(mM.UseNavigateStable),e=vM(gM.UseNavigateStable),n=pt.useRef(!1);return pM(()=>{n.current=!0}),pt.useCallback(function(o,a){a===void 0&&(a={}),n.current&&(typeof o=="number"?t.navigate(o):t.navigate(o,B0({fromRouteId:e},a)))},[t,e])}const i5={};function Dte(t,e,n){i5[t]||(i5[t]=!0)}const Bte="startTransition";pt[Bte];function $me(t){let{to:e,replace:n,state:r,relative:o}=t;Du()||kr(!1);let{future:a,static:i}=pt.useContext(ic),{matches:s}=pt.useContext(ui),{pathname:l}=Dh(),u=xte(),d=w3(e,v3(s,a.v7_relativeSplatPath),l,o==="path"),f=JSON.stringify(d);return pt.useEffect(()=>u(JSON.parse(f),{replace:n,state:r,relative:o}),[u,f,o,n,r]),null}function Dme(t){return Cte(t.context)}function Bme(t){let{basename:e="/",children:n=null,location:r,navigationType:o=kv.Pop,navigator:a,static:i=!1,future:s}=t;Du()&&kr(!1);let l=e.replace(/^\/*/,"/"),u=pt.useMemo(()=>({basename:l,navigator:a,static:i,future:B0({v7_relativeSplatPath:!1},s)}),[l,s,a,i]);typeof r=="string"&&(r=$h(r));let{pathname:d="/",search:f="",hash:m="",state:v=null,key:g="default"}=r,w=pt.useMemo(()=>{let y=uM(d,l);return y==null?null:{location:{pathname:y,search:f,hash:m,state:v,key:g},navigationType:o}},[l,d,f,m,v,g,o]);return w==null?null:pt.createElement(ic.Provider,{value:u},pt.createElement(y3.Provider,{children:n,value:w}))}var Ho=(function(t){return t[t.pending=0]="pending",t[t.success=1]="success",t[t.error=2]="error",t})(Ho||{});const zte=new Promise(()=>{});class zme extends pt.Component{constructor(e){super(e),this.state={error:null}}static getDerivedStateFromError(e){return{error:e}}componentDidCatch(e,n){console.error("<Await> caught the following error during render",e,n)}render(){let{children:e,errorElement:n,resolve:r}=this.props,o=null,a=Ho.pending;if(!(r instanceof Promise))a=Ho.success,o=Promise.resolve(),Object.defineProperty(o,"_tracked",{get:()=>!0}),Object.defineProperty(o,"_data",{get:()=>r});else if(this.state.error){a=Ho.error;let i=this.state.error;o=Promise.reject().catch(()=>{}),Object.defineProperty(o,"_tracked",{get:()=>!0}),Object.defineProperty(o,"_error",{get:()=>i})}else r._tracked?(o=r,a="_error"in o?Ho.error:"_data"in o?Ho.success:Ho.pending):(a=Ho.pending,Object.defineProperty(r,"_tracked",{get:()=>!0}),o=r.then(i=>Object.defineProperty(r,"_data",{get:()=>i}),i=>Object.defineProperty(r,"_error",{get:()=>i})));if(a===Ho.error&&o._error instanceof wte)throw zte;if(a===Ho.error&&!n)throw o._error;if(a===Ho.error)return pt.createElement(a5.Provider,{value:o,children:n});if(a===Ho.success)return pt.createElement(a5.Provider,{value:o,children:e});throw o}}const{useQuery:Fme}=await q("@tanstack/react-query"),{useEffect:Vme}=await q("react"),jme=t=>localStorage.getItem(t),Hme=(t,e)=>{localStorage.setItem(t,e)},Wme=t=>{localStorage.removeItem(t)},{useQuery:qme}=await q("@tanstack/react-query"),{useMemo:Ume}=await q("react"),{useQuery:Fte}=await q("@tanstack/react-query"),{useMemo:Vte}=await q("react"),s5="/{robot_model}/setting/getSettingCategory",Yme=(t,e={},n)=>{const r=Vte(()=>[s5,t.level,t.robotType,n],[n,t.level,t.robotType]);return{...Fte({queryKey:r,queryFn:async()=>{const a=await Yee(n),i=s5.replace("{robot_model}",a);return await sM.get(i,{params:{robotType:t.robotType,level:t.level}})},enabled:!!t.robotType&&typeof t.level=="number"&&!Number.isNaN(t.level),...e}),queryKey:r}},{useQuery:Gme}=await q("@tanstack/react-query"),{useMemo:Kme}=await q("react"),{useQuery:Xme}=await q("@tanstack/react-query"),{useEffect:Zme,useRef:Qme}=await q("react");var sn;(function(t){t.assertEqual=o=>{};function e(o){}t.assertIs=e;function n(o){throw new Error}t.assertNever=n,t.arrayToEnum=o=>{const a={};for(const i of o)a[i]=i;return a},t.getValidEnumValues=o=>{const a=t.objectKeys(o).filter(s=>typeof o[o[s]]!="number"),i={};for(const s of a)i[s]=o[s];return t.objectValues(i)},t.objectValues=o=>t.objectKeys(o).map(function(a){return o[a]}),t.objectKeys=typeof Object.keys=="function"?o=>Object.keys(o):o=>{const a=[];for(const i in o)Object.prototype.hasOwnProperty.call(o,i)&&a.push(i);return a},t.find=(o,a)=>{for(const i of o)if(a(i))return i},t.isInteger=typeof Number.isInteger=="function"?o=>Number.isInteger(o):o=>typeof o=="number"&&Number.isFinite(o)&&Math.floor(o)===o;function r(o,a=" | "){return o.map(i=>typeof i=="string"?`'${i}'`:i).join(a)}t.joinValues=r,t.jsonStringifyReplacer=(o,a)=>typeof a=="bigint"?a.toString():a})(sn||(sn={}));var l5;(function(t){t.mergeShapes=(e,n)=>({...e,...n})})(l5||(l5={}));const ct=sn.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),ks=t=>{switch(typeof t){case"undefined":return ct.undefined;case"string":return ct.string;case"number":return Number.isNaN(t)?ct.nan:ct.number;case"boolean":return ct.boolean;case"function":return ct.function;case"bigint":return ct.bigint;case"symbol":return ct.symbol;case"object":return Array.isArray(t)?ct.array:t===null?ct.null:t.then&&typeof t.then=="function"&&t.catch&&typeof t.catch=="function"?ct.promise:typeof Map<"u"&&t instanceof Map?ct.map:typeof Set<"u"&&t instanceof Set?ct.set:typeof Date<"u"&&t instanceof Date?ct.date:ct.object;default:return ct.unknown}},Xe=sn.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class qi extends Error{get errors(){return this.issues}constructor(e){super(),this.issues=[],this.addIssue=r=>{this.issues=[...this.issues,r]},this.addIssues=(r=[])=>{this.issues=[...this.issues,...r]};const n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=e}format(e){const n=e||function(a){return a.message},r={_errors:[]},o=a=>{for(const i of a.issues)if(i.code==="invalid_union")i.unionErrors.map(o);else if(i.code==="invalid_return_type")o(i.returnTypeError);else if(i.code==="invalid_arguments")o(i.argumentsError);else if(i.path.length===0)r._errors.push(n(i));else{let s=r,l=0;for(;l<i.path.length;){const u=i.path[l];l===i.path.length-1?(s[u]=s[u]||{_errors:[]},s[u]._errors.push(n(i))):s[u]=s[u]||{_errors:[]},s=s[u],l++}}};return o(this),r}static assert(e){if(!(e instanceof qi))throw new Error(`Not a ZodError: ${e}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,sn.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(e=n=>n.message){const n={},r=[];for(const o of this.issues)if(o.path.length>0){const a=o.path[0];n[a]=n[a]||[],n[a].push(e(o))}else r.push(e(o));return{formErrors:r,fieldErrors:n}}get formErrors(){return this.flatten()}}qi.create=t=>new qi(t);const Rv=(t,e)=>{let n;switch(t.code){case Xe.invalid_type:t.received===ct.undefined?n="Required":n=`Expected ${t.expected}, received ${t.received}`;break;case Xe.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(t.expected,sn.jsonStringifyReplacer)}`;break;case Xe.unrecognized_keys:n=`Unrecognized key(s) in object: ${sn.joinValues(t.keys,", ")}`;break;case Xe.invalid_union:n="Invalid input";break;case Xe.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${sn.joinValues(t.options)}`;break;case Xe.invalid_enum_value:n=`Invalid enum value. Expected ${sn.joinValues(t.options)}, received '${t.received}'`;break;case Xe.invalid_arguments:n="Invalid function arguments";break;case Xe.invalid_return_type:n="Invalid function return type";break;case Xe.invalid_date:n="Invalid date";break;case Xe.invalid_string:typeof t.validation=="object"?"includes"in t.validation?(n=`Invalid input: must include "${t.validation.includes}"`,typeof t.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${t.validation.position}`)):"startsWith"in t.validation?n=`Invalid input: must start with "${t.validation.startsWith}"`:"endsWith"in t.validation?n=`Invalid input: must end with "${t.validation.endsWith}"`:sn.assertNever(t.validation):t.validation!=="regex"?n=`Invalid ${t.validation}`:n="Invalid";break;case Xe.too_small:t.type==="array"?n=`Array must contain ${t.exact?"exactly":t.inclusive?"at least":"more than"} ${t.minimum} element(s)`:t.type==="string"?n=`String must contain ${t.exact?"exactly":t.inclusive?"at least":"over"} ${t.minimum} character(s)`:t.type==="number"?n=`Number must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${t.minimum}`:t.type==="bigint"?n=`Number must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${t.minimum}`:t.type==="date"?n=`Date must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(t.minimum))}`:n="Invalid input";break;case Xe.too_big:t.type==="array"?n=`Array must contain ${t.exact?"exactly":t.inclusive?"at most":"less than"} ${t.maximum} element(s)`:t.type==="string"?n=`String must contain ${t.exact?"exactly":t.inclusive?"at most":"under"} ${t.maximum} character(s)`:t.type==="number"?n=`Number must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:t.type==="bigint"?n=`BigInt must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:t.type==="date"?n=`Date must be ${t.exact?"exactly":t.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(t.maximum))}`:n="Invalid input";break;case Xe.custom:n="Invalid input";break;case Xe.invalid_intersection_types:n="Intersection results could not be merged";break;case Xe.not_multiple_of:n=`Number must be a multiple of ${t.multipleOf}`;break;case Xe.not_finite:n="Number must be finite";break;default:n=e.defaultError,sn.assertNever(t)}return{message:n}};let jte=Rv;function Hte(){return jte}const Wte=t=>{const{data:e,path:n,errorMaps:r,issueData:o}=t,a=[...n,...o.path||[]],i={...o,path:a};if(o.message!==void 0)return{...o,path:a,message:o.message};let s="";const l=r.filter(u=>!!u).slice().reverse();for(const u of l)s=u(i,{data:e,defaultError:s}).message;return{...o,path:a,message:s}};function et(t,e){const n=Hte(),r=Wte({issueData:e,data:t.data,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,n,n===Rv?void 0:Rv].filter(o=>!!o)});t.common.issues.push(r)}class Ro{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(e,n){const r=[];for(const o of n){if(o.status==="aborted")return Bt;o.status==="dirty"&&e.dirty(),r.push(o.value)}return{status:e.value,value:r}}static async mergeObjectAsync(e,n){const r=[];for(const o of n){const a=await o.key,i=await o.value;r.push({key:a,value:i})}return Ro.mergeObjectSync(e,r)}static mergeObjectSync(e,n){const r={};for(const o of n){const{key:a,value:i}=o;if(a.status==="aborted"||i.status==="aborted")return Bt;a.status==="dirty"&&e.dirty(),i.status==="dirty"&&e.dirty(),a.value!=="__proto__"&&(typeof i.value<"u"||o.alwaysSet)&&(r[a.value]=i.value)}return{status:e.value,value:r}}}const Bt=Object.freeze({status:"aborted"}),Yd=t=>({status:"dirty",value:t}),Qo=t=>({status:"valid",value:t}),c5=t=>t.status==="aborted",u5=t=>t.status==="dirty",Cu=t=>t.status==="valid",z0=t=>typeof Promise<"u"&&t instanceof Promise;var ft;(function(t){t.errToObj=e=>typeof e=="string"?{message:e}:e||{},t.toString=e=>typeof e=="string"?e:e?.message})(ft||(ft={}));class Hs{constructor(e,n,r,o){this._cachedPath=[],this.parent=e,this.data=n,this._path=r,this._key=o}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const d5=(t,e)=>{if(Cu(e))return{success:!0,data:e.value};if(!t.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const n=new qi(t.common.issues);return this._error=n,this._error}}};function Zt(t){if(!t)return{};const{errorMap:e,invalid_type_error:n,required_error:r,description:o}=t;if(e&&(n||r))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return e?{errorMap:e,description:o}:{errorMap:(i,s)=>{const{message:l}=t;return i.code==="invalid_enum_value"?{message:l??s.defaultError}:typeof s.data>"u"?{message:l??r??s.defaultError}:i.code!=="invalid_type"?{message:s.defaultError}:{message:l??n??s.defaultError}},description:o}}class an{get description(){return this._def.description}_getType(e){return ks(e.data)}_getOrReturnCtx(e,n){return n||{common:e.parent.common,data:e.data,parsedType:ks(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new Ro,ctx:{common:e.parent.common,data:e.data,parsedType:ks(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){const n=this._parse(e);if(z0(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(e){const n=this._parse(e);return Promise.resolve(n)}parse(e,n){const r=this.safeParse(e,n);if(r.success)return r.data;throw r.error}safeParse(e,n){const r={common:{issues:[],async:n?.async??!1,contextualErrorMap:n?.errorMap},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:ks(e)},o=this._parseSync({data:e,path:r.path,parent:r});return d5(r,o)}"~validate"(e){const n={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:ks(e)};if(!this["~standard"].async)try{const r=this._parseSync({data:e,path:[],parent:n});return Cu(r)?{value:r.value}:{issues:n.common.issues}}catch(r){r?.message?.toLowerCase()?.includes("encountered")&&(this["~standard"].async=!0),n.common={issues:[],async:!0}}return this._parseAsync({data:e,path:[],parent:n}).then(r=>Cu(r)?{value:r.value}:{issues:n.common.issues})}async parseAsync(e,n){const r=await this.safeParseAsync(e,n);if(r.success)return r.data;throw r.error}async safeParseAsync(e,n){const r={common:{issues:[],contextualErrorMap:n?.errorMap,async:!0},path:n?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:ks(e)},o=this._parse({data:e,path:r.path,parent:r}),a=await(z0(o)?o:Promise.resolve(o));return d5(r,a)}refine(e,n){const r=o=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(o):n;return this._refinement((o,a)=>{const i=e(o),s=()=>a.addIssue({code:Xe.custom,...r(o)});return typeof Promise<"u"&&i instanceof Promise?i.then(l=>l?!0:(s(),!1)):i?!0:(s(),!1)})}refinement(e,n){return this._refinement((r,o)=>e(r)?!0:(o.addIssue(typeof n=="function"?n(r,o):n),!1))}_refinement(e){return new Mu({schema:this,typeName:zt.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:n=>this["~validate"](n)}}optional(){return zs.create(this,this._def)}nullable(){return ku.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return oi.create(this)}promise(){return H0.create(this,this._def)}or(e){return V0.create([this,e],this._def)}and(e){return j0.create(this,e,this._def)}transform(e){return new Mu({...Zt(this._def),schema:this,typeName:zt.ZodEffects,effect:{type:"transform",transform:e}})}default(e){const n=typeof e=="function"?e:()=>e;return new Nv({...Zt(this._def),innerType:this,defaultValue:n,typeName:zt.ZodDefault})}brand(){return new pne({typeName:zt.ZodBranded,type:this,...Zt(this._def)})}catch(e){const n=typeof e=="function"?e:()=>e;return new Pv({...Zt(this._def),innerType:this,catchValue:n,typeName:zt.ZodCatch})}describe(e){const n=this.constructor;return new n({...this._def,description:e})}pipe(e){return _3.create(this,e)}readonly(){return Av.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const qte=/^c[^\s-]{8,}$/i,Ute=/^[0-9a-z]+$/,Yte=/^[0-9A-HJKMNP-TV-Z]{26}$/i,Gte=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,Kte=/^[a-z0-9_-]{21}$/i,Xte=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,Zte=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,Qte=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,Jte="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let jg;const ene=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,tne=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,nne=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,rne=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,one=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,ane=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,wM="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",ine=new RegExp(`^${wM}$`);function bM(t){let e="[0-5]\\d";t.precision?e=`${e}\\.\\d{${t.precision}}`:t.precision==null&&(e=`${e}(\\.\\d+)?`);const n=t.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${e})${n}`}function sne(t){return new RegExp(`^${bM(t)}$`)}function lne(t){let e=`${wM}T${bM(t)}`;const n=[];return n.push(t.local?"Z?":"Z"),t.offset&&n.push("([+-]\\d{2}:?\\d{2})"),e=`${e}(${n.join("|")})`,new RegExp(`^${e}$`)}function cne(t,e){return!!((e==="v4"||!e)&&ene.test(t)||(e==="v6"||!e)&&nne.test(t))}function une(t,e){if(!Xte.test(t))return!1;try{const[n]=t.split(".");if(!n)return!1;const r=n.replace(/-/g,"+").replace(/_/g,"/").padEnd(n.length+(4-n.length%4)%4,"="),o=JSON.parse(atob(r));return!(typeof o!="object"||o===null||"typ"in o&&o?.typ!=="JWT"||!o.alg||e&&o.alg!==e)}catch{return!1}}function dne(t,e){return!!((e==="v4"||!e)&&tne.test(t)||(e==="v6"||!e)&&rne.test(t))}class Ls extends an{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==ct.string){const a=this._getOrReturnCtx(e);return et(a,{code:Xe.invalid_type,expected:ct.string,received:a.parsedType}),Bt}const r=new Ro;let o;for(const a of this._def.checks)if(a.kind==="min")e.data.length<a.value&&(o=this._getOrReturnCtx(e,o),et(o,{code:Xe.too_small,minimum:a.value,type:"string",inclusive:!0,exact:!1,message:a.message}),r.dirty());else if(a.kind==="max")e.data.length>a.value&&(o=this._getOrReturnCtx(e,o),et(o,{code:Xe.too_big,maximum:a.value,type:"string",inclusive:!0,exact:!1,message:a.message}),r.dirty());else if(a.kind==="length"){const i=e.data.length>a.value,s=e.data.length<a.value;(i||s)&&(o=this._getOrReturnCtx(e,o),i?et(o,{code:Xe.too_big,maximum:a.value,type:"string",inclusive:!0,exact:!0,message:a.message}):s&&et(o,{code:Xe.too_small,minimum:a.value,type:"string",inclusive:!0,exact:!0,message:a.message}),r.dirty())}else if(a.kind==="email")Qte.test(e.data)||(o=this._getOrReturnCtx(e,o),et(o,{validation:"email",code:Xe.invalid_string,message:a.message}),r.dirty());else if(a.kind==="emoji")jg||(jg=new RegExp(Jte,"u")),jg.test(e.data)||(o=this._getOrReturnCtx(e,o),et(o,{validation:"emoji",code:Xe.invalid_string,message:a.message}),r.dirty());else if(a.kind==="uuid")Gte.test(e.data)||(o=this._getOrReturnCtx(e,o),et(o,{validation:"uuid",code:Xe.invalid_string,message:a.message}),r.dirty());else if(a.kind==="nanoid")Kte.test(e.data)||(o=this._getOrReturnCtx(e,o),et(o,{validation:"nanoid",code:Xe.invalid_string,message:a.message}),r.dirty());else if(a.kind==="cuid")qte.test(e.data)||(o=this._getOrReturnCtx(e,o),et(o,{validation:"cuid",code:Xe.invalid_string,message:a.message}),r.dirty());else if(a.kind==="cuid2")Ute.test(e.data)||(o=this._getOrReturnCtx(e,o),et(o,{validation:"cuid2",code:Xe.invalid_string,message:a.message}),r.dirty());else if(a.kind==="ulid")Yte.test(e.data)||(o=this._getOrReturnCtx(e,o),et(o,{validation:"ulid",code:Xe.invalid_string,message:a.message}),r.dirty());else if(a.kind==="url")try{new URL(e.data)}catch{o=this._getOrReturnCtx(e,o),et(o,{validation:"url",code:Xe.invalid_string,message:a.message}),r.dirty()}else a.kind==="regex"?(a.regex.lastIndex=0,a.regex.test(e.data)||(o=this._getOrReturnCtx(e,o),et(o,{validation:"regex",code:Xe.invalid_string,message:a.message}),r.dirty())):a.kind==="trim"?e.data=e.data.trim():a.kind==="includes"?e.data.includes(a.value,a.position)||(o=this._getOrReturnCtx(e,o),et(o,{code:Xe.invalid_string,validation:{includes:a.value,position:a.position},message:a.message}),r.dirty()):a.kind==="toLowerCase"?e.data=e.data.toLowerCase():a.kind==="toUpperCase"?e.data=e.data.toUpperCase():a.kind==="startsWith"?e.data.startsWith(a.value)||(o=this._getOrReturnCtx(e,o),et(o,{code:Xe.invalid_string,validation:{startsWith:a.value},message:a.message}),r.dirty()):a.kind==="endsWith"?e.data.endsWith(a.value)||(o=this._getOrReturnCtx(e,o),et(o,{code:Xe.invalid_string,validation:{endsWith:a.value},message:a.message}),r.dirty()):a.kind==="datetime"?lne(a).test(e.data)||(o=this._getOrReturnCtx(e,o),et(o,{code:Xe.invalid_string,validation:"datetime",message:a.message}),r.dirty()):a.kind==="date"?ine.test(e.data)||(o=this._getOrReturnCtx(e,o),et(o,{code:Xe.invalid_string,validation:"date",message:a.message}),r.dirty()):a.kind==="time"?sne(a).test(e.data)||(o=this._getOrReturnCtx(e,o),et(o,{code:Xe.invalid_string,validation:"time",message:a.message}),r.dirty()):a.kind==="duration"?Zte.test(e.data)||(o=this._getOrReturnCtx(e,o),et(o,{validation:"duration",code:Xe.invalid_string,message:a.message}),r.dirty()):a.kind==="ip"?cne(e.data,a.version)||(o=this._getOrReturnCtx(e,o),et(o,{validation:"ip",code:Xe.invalid_string,message:a.message}),r.dirty()):a.kind==="jwt"?une(e.data,a.alg)||(o=this._getOrReturnCtx(e,o),et(o,{validation:"jwt",code:Xe.invalid_string,message:a.message}),r.dirty()):a.kind==="cidr"?dne(e.data,a.version)||(o=this._getOrReturnCtx(e,o),et(o,{validation:"cidr",code:Xe.invalid_string,message:a.message}),r.dirty()):a.kind==="base64"?one.test(e.data)||(o=this._getOrReturnCtx(e,o),et(o,{validation:"base64",code:Xe.invalid_string,message:a.message}),r.dirty()):a.kind==="base64url"?ane.test(e.data)||(o=this._getOrReturnCtx(e,o),et(o,{validation:"base64url",code:Xe.invalid_string,message:a.message}),r.dirty()):sn.assertNever(a);return{status:r.value,value:e.data}}_regex(e,n,r){return this.refinement(o=>e.test(o),{validation:n,code:Xe.invalid_string,...ft.errToObj(r)})}_addCheck(e){return new Ls({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...ft.errToObj(e)})}url(e){return this._addCheck({kind:"url",...ft.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...ft.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...ft.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...ft.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...ft.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...ft.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...ft.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...ft.errToObj(e)})}base64url(e){return this._addCheck({kind:"base64url",...ft.errToObj(e)})}jwt(e){return this._addCheck({kind:"jwt",...ft.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...ft.errToObj(e)})}cidr(e){return this._addCheck({kind:"cidr",...ft.errToObj(e)})}datetime(e){return typeof e=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:"datetime",precision:typeof e?.precision>"u"?null:e?.precision,offset:e?.offset??!1,local:e?.local??!1,...ft.errToObj(e?.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){return typeof e=="string"?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck({kind:"time",precision:typeof e?.precision>"u"?null:e?.precision,...ft.errToObj(e?.message)})}duration(e){return this._addCheck({kind:"duration",...ft.errToObj(e)})}regex(e,n){return this._addCheck({kind:"regex",regex:e,...ft.errToObj(n)})}includes(e,n){return this._addCheck({kind:"includes",value:e,position:n?.position,...ft.errToObj(n?.message)})}startsWith(e,n){return this._addCheck({kind:"startsWith",value:e,...ft.errToObj(n)})}endsWith(e,n){return this._addCheck({kind:"endsWith",value:e,...ft.errToObj(n)})}min(e,n){return this._addCheck({kind:"min",value:e,...ft.errToObj(n)})}max(e,n){return this._addCheck({kind:"max",value:e,...ft.errToObj(n)})}length(e,n){return this._addCheck({kind:"length",value:e,...ft.errToObj(n)})}nonempty(e){return this.min(1,ft.errToObj(e))}trim(){return new Ls({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new Ls({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new Ls({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(e=>e.kind==="datetime")}get isDate(){return!!this._def.checks.find(e=>e.kind==="date")}get isTime(){return!!this._def.checks.find(e=>e.kind==="time")}get isDuration(){return!!this._def.checks.find(e=>e.kind==="duration")}get isEmail(){return!!this._def.checks.find(e=>e.kind==="email")}get isURL(){return!!this._def.checks.find(e=>e.kind==="url")}get isEmoji(){return!!this._def.checks.find(e=>e.kind==="emoji")}get isUUID(){return!!this._def.checks.find(e=>e.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(e=>e.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(e=>e.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(e=>e.kind==="cuid2")}get isULID(){return!!this._def.checks.find(e=>e.kind==="ulid")}get isIP(){return!!this._def.checks.find(e=>e.kind==="ip")}get isCIDR(){return!!this._def.checks.find(e=>e.kind==="cidr")}get isBase64(){return!!this._def.checks.find(e=>e.kind==="base64")}get isBase64url(){return!!this._def.checks.find(e=>e.kind==="base64url")}get minLength(){let e=null;for(const n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxLength(){let e=null;for(const n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e}}Ls.create=t=>new Ls({checks:[],typeName:zt.ZodString,coerce:t?.coerce??!1,...Zt(t)});function fne(t,e){const n=(t.toString().split(".")[1]||"").length,r=(e.toString().split(".")[1]||"").length,o=n>r?n:r,a=Number.parseInt(t.toFixed(o).replace(".","")),i=Number.parseInt(e.toFixed(o).replace(".",""));return a%i/10**o}class pf extends an{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==ct.number){const a=this._getOrReturnCtx(e);return et(a,{code:Xe.invalid_type,expected:ct.number,received:a.parsedType}),Bt}let r;const o=new Ro;for(const a of this._def.checks)a.kind==="int"?sn.isInteger(e.data)||(r=this._getOrReturnCtx(e,r),et(r,{code:Xe.invalid_type,expected:"integer",received:"float",message:a.message}),o.dirty()):a.kind==="min"?(a.inclusive?e.data<a.value:e.data<=a.value)&&(r=this._getOrReturnCtx(e,r),et(r,{code:Xe.too_small,minimum:a.value,type:"number",inclusive:a.inclusive,exact:!1,message:a.message}),o.dirty()):a.kind==="max"?(a.inclusive?e.data>a.value:e.data>=a.value)&&(r=this._getOrReturnCtx(e,r),et(r,{code:Xe.too_big,maximum:a.value,type:"number",inclusive:a.inclusive,exact:!1,message:a.message}),o.dirty()):a.kind==="multipleOf"?fne(e.data,a.value)!==0&&(r=this._getOrReturnCtx(e,r),et(r,{code:Xe.not_multiple_of,multipleOf:a.value,message:a.message}),o.dirty()):a.kind==="finite"?Number.isFinite(e.data)||(r=this._getOrReturnCtx(e,r),et(r,{code:Xe.not_finite,message:a.message}),o.dirty()):sn.assertNever(a);return{status:o.value,value:e.data}}gte(e,n){return this.setLimit("min",e,!0,ft.toString(n))}gt(e,n){return this.setLimit("min",e,!1,ft.toString(n))}lte(e,n){return this.setLimit("max",e,!0,ft.toString(n))}lt(e,n){return this.setLimit("max",e,!1,ft.toString(n))}setLimit(e,n,r,o){return new pf({...this._def,checks:[...this._def.checks,{kind:e,value:n,inclusive:r,message:ft.toString(o)}]})}_addCheck(e){return new pf({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:ft.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:ft.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:ft.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:ft.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:ft.toString(e)})}multipleOf(e,n){return this._addCheck({kind:"multipleOf",value:e,message:ft.toString(n)})}finite(e){return this._addCheck({kind:"finite",message:ft.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:ft.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:ft.toString(e)})}get minValue(){let e=null;for(const n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxValue(){let e=null;for(const n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e}get isInt(){return!!this._def.checks.find(e=>e.kind==="int"||e.kind==="multipleOf"&&sn.isInteger(e.value))}get isFinite(){let e=null,n=null;for(const r of this._def.checks){if(r.kind==="finite"||r.kind==="int"||r.kind==="multipleOf")return!0;r.kind==="min"?(n===null||r.value>n)&&(n=r.value):r.kind==="max"&&(e===null||r.value<e)&&(e=r.value)}return Number.isFinite(n)&&Number.isFinite(e)}}pf.create=t=>new pf({checks:[],typeName:zt.ZodNumber,coerce:t?.coerce||!1,...Zt(t)});class hf extends an{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){if(this._def.coerce)try{e.data=BigInt(e.data)}catch{return this._getInvalidInput(e)}if(this._getType(e)!==ct.bigint)return this._getInvalidInput(e);let r;const o=new Ro;for(const a of this._def.checks)a.kind==="min"?(a.inclusive?e.data<a.value:e.data<=a.value)&&(r=this._getOrReturnCtx(e,r),et(r,{code:Xe.too_small,type:"bigint",minimum:a.value,inclusive:a.inclusive,message:a.message}),o.dirty()):a.kind==="max"?(a.inclusive?e.data>a.value:e.data>=a.value)&&(r=this._getOrReturnCtx(e,r),et(r,{code:Xe.too_big,type:"bigint",maximum:a.value,inclusive:a.inclusive,message:a.message}),o.dirty()):a.kind==="multipleOf"?e.data%a.value!==BigInt(0)&&(r=this._getOrReturnCtx(e,r),et(r,{code:Xe.not_multiple_of,multipleOf:a.value,message:a.message}),o.dirty()):sn.assertNever(a);return{status:o.value,value:e.data}}_getInvalidInput(e){const n=this._getOrReturnCtx(e);return et(n,{code:Xe.invalid_type,expected:ct.bigint,received:n.parsedType}),Bt}gte(e,n){return this.setLimit("min",e,!0,ft.toString(n))}gt(e,n){return this.setLimit("min",e,!1,ft.toString(n))}lte(e,n){return this.setLimit("max",e,!0,ft.toString(n))}lt(e,n){return this.setLimit("max",e,!1,ft.toString(n))}setLimit(e,n,r,o){return new hf({...this._def,checks:[...this._def.checks,{kind:e,value:n,inclusive:r,message:ft.toString(o)}]})}_addCheck(e){return new hf({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:ft.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:ft.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:ft.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:ft.toString(e)})}multipleOf(e,n){return this._addCheck({kind:"multipleOf",value:e,message:ft.toString(n)})}get minValue(){let e=null;for(const n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e}get maxValue(){let e=null;for(const n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e}}hf.create=t=>new hf({checks:[],typeName:zt.ZodBigInt,coerce:t?.coerce??!1,...Zt(t)});class f5 extends an{_parse(e){if(this._def.coerce&&(e.data=!!e.data),this._getType(e)!==ct.boolean){const r=this._getOrReturnCtx(e);return et(r,{code:Xe.invalid_type,expected:ct.boolean,received:r.parsedType}),Bt}return Qo(e.data)}}f5.create=t=>new f5({typeName:zt.ZodBoolean,coerce:t?.coerce||!1,...Zt(t)});class F0 extends an{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==ct.date){const a=this._getOrReturnCtx(e);return et(a,{code:Xe.invalid_type,expected:ct.date,received:a.parsedType}),Bt}if(Number.isNaN(e.data.getTime())){const a=this._getOrReturnCtx(e);return et(a,{code:Xe.invalid_date}),Bt}const r=new Ro;let o;for(const a of this._def.checks)a.kind==="min"?e.data.getTime()<a.value&&(o=this._getOrReturnCtx(e,o),et(o,{code:Xe.too_small,message:a.message,inclusive:!0,exact:!1,minimum:a.value,type:"date"}),r.dirty()):a.kind==="max"?e.data.getTime()>a.value&&(o=this._getOrReturnCtx(e,o),et(o,{code:Xe.too_big,message:a.message,inclusive:!0,exact:!1,maximum:a.value,type:"date"}),r.dirty()):sn.assertNever(a);return{status:r.value,value:new Date(e.data.getTime())}}_addCheck(e){return new F0({...this._def,checks:[...this._def.checks,e]})}min(e,n){return this._addCheck({kind:"min",value:e.getTime(),message:ft.toString(n)})}max(e,n){return this._addCheck({kind:"max",value:e.getTime(),message:ft.toString(n)})}get minDate(){let e=null;for(const n of this._def.checks)n.kind==="min"&&(e===null||n.value>e)&&(e=n.value);return e!=null?new Date(e):null}get maxDate(){let e=null;for(const n of this._def.checks)n.kind==="max"&&(e===null||n.value<e)&&(e=n.value);return e!=null?new Date(e):null}}F0.create=t=>new F0({checks:[],coerce:t?.coerce||!1,typeName:zt.ZodDate,...Zt(t)});class p5 extends an{_parse(e){if(this._getType(e)!==ct.symbol){const r=this._getOrReturnCtx(e);return et(r,{code:Xe.invalid_type,expected:ct.symbol,received:r.parsedType}),Bt}return Qo(e.data)}}p5.create=t=>new p5({typeName:zt.ZodSymbol,...Zt(t)});class h5 extends an{_parse(e){if(this._getType(e)!==ct.undefined){const r=this._getOrReturnCtx(e);return et(r,{code:Xe.invalid_type,expected:ct.undefined,received:r.parsedType}),Bt}return Qo(e.data)}}h5.create=t=>new h5({typeName:zt.ZodUndefined,...Zt(t)});class m5 extends an{_parse(e){if(this._getType(e)!==ct.null){const r=this._getOrReturnCtx(e);return et(r,{code:Xe.invalid_type,expected:ct.null,received:r.parsedType}),Bt}return Qo(e.data)}}m5.create=t=>new m5({typeName:zt.ZodNull,...Zt(t)});class g5 extends an{constructor(){super(...arguments),this._any=!0}_parse(e){return Qo(e.data)}}g5.create=t=>new g5({typeName:zt.ZodAny,...Zt(t)});class v5 extends an{constructor(){super(...arguments),this._unknown=!0}_parse(e){return Qo(e.data)}}v5.create=t=>new v5({typeName:zt.ZodUnknown,...Zt(t)});class Ws extends an{_parse(e){const n=this._getOrReturnCtx(e);return et(n,{code:Xe.invalid_type,expected:ct.never,received:n.parsedType}),Bt}}Ws.create=t=>new Ws({typeName:zt.ZodNever,...Zt(t)});class w5 extends an{_parse(e){if(this._getType(e)!==ct.undefined){const r=this._getOrReturnCtx(e);return et(r,{code:Xe.invalid_type,expected:ct.void,received:r.parsedType}),Bt}return Qo(e.data)}}w5.create=t=>new w5({typeName:zt.ZodVoid,...Zt(t)});class oi extends an{_parse(e){const{ctx:n,status:r}=this._processInputParams(e),o=this._def;if(n.parsedType!==ct.array)return et(n,{code:Xe.invalid_type,expected:ct.array,received:n.parsedType}),Bt;if(o.exactLength!==null){const i=n.data.length>o.exactLength.value,s=n.data.length<o.exactLength.value;(i||s)&&(et(n,{code:i?Xe.too_big:Xe.too_small,minimum:s?o.exactLength.value:void 0,maximum:i?o.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:o.exactLength.message}),r.dirty())}if(o.minLength!==null&&n.data.length<o.minLength.value&&(et(n,{code:Xe.too_small,minimum:o.minLength.value,type:"array",inclusive:!0,exact:!1,message:o.minLength.message}),r.dirty()),o.maxLength!==null&&n.data.length>o.maxLength.value&&(et(n,{code:Xe.too_big,maximum:o.maxLength.value,type:"array",inclusive:!0,exact:!1,message:o.maxLength.message}),r.dirty()),n.common.async)return Promise.all([...n.data].map((i,s)=>o.type._parseAsync(new Hs(n,i,n.path,s)))).then(i=>Ro.mergeArray(r,i));const a=[...n.data].map((i,s)=>o.type._parseSync(new Hs(n,i,n.path,s)));return Ro.mergeArray(r,a)}get element(){return this._def.type}min(e,n){return new oi({...this._def,minLength:{value:e,message:ft.toString(n)}})}max(e,n){return new oi({...this._def,maxLength:{value:e,message:ft.toString(n)}})}length(e,n){return new oi({...this._def,exactLength:{value:e,message:ft.toString(n)}})}nonempty(e){return this.min(1,e)}}oi.create=(t,e)=>new oi({type:t,minLength:null,maxLength:null,exactLength:null,typeName:zt.ZodArray,...Zt(e)});function au(t){if(t instanceof Xn){const e={};for(const n in t.shape){const r=t.shape[n];e[n]=zs.create(au(r))}return new Xn({...t._def,shape:()=>e})}else return t instanceof oi?new oi({...t._def,type:au(t.element)}):t instanceof zs?zs.create(au(t.unwrap())):t instanceof ku?ku.create(au(t.unwrap())):t instanceof Gl?Gl.create(t.items.map(e=>au(e))):t}class Xn extends an{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const e=this._def.shape(),n=sn.objectKeys(e);return this._cached={shape:e,keys:n},this._cached}_parse(e){if(this._getType(e)!==ct.object){const u=this._getOrReturnCtx(e);return et(u,{code:Xe.invalid_type,expected:ct.object,received:u.parsedType}),Bt}const{status:r,ctx:o}=this._processInputParams(e),{shape:a,keys:i}=this._getCached(),s=[];if(!(this._def.catchall instanceof Ws&&this._def.unknownKeys==="strip"))for(const u in o.data)i.includes(u)||s.push(u);const l=[];for(const u of i){const d=a[u],f=o.data[u];l.push({key:{status:"valid",value:u},value:d._parse(new Hs(o,f,o.path,u)),alwaysSet:u in o.data})}if(this._def.catchall instanceof Ws){const u=this._def.unknownKeys;if(u==="passthrough")for(const d of s)l.push({key:{status:"valid",value:d},value:{status:"valid",value:o.data[d]}});else if(u==="strict")s.length>0&&(et(o,{code:Xe.unrecognized_keys,keys:s}),r.dirty());else if(u!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const u=this._def.catchall;for(const d of s){const f=o.data[d];l.push({key:{status:"valid",value:d},value:u._parse(new Hs(o,f,o.path,d)),alwaysSet:d in o.data})}}return o.common.async?Promise.resolve().then(async()=>{const u=[];for(const d of l){const f=await d.key,m=await d.value;u.push({key:f,value:m,alwaysSet:d.alwaysSet})}return u}).then(u=>Ro.mergeObjectSync(r,u)):Ro.mergeObjectSync(r,l)}get shape(){return this._def.shape()}strict(e){return ft.errToObj,new Xn({...this._def,unknownKeys:"strict",...e!==void 0?{errorMap:(n,r)=>{const o=this._def.errorMap?.(n,r).message??r.defaultError;return n.code==="unrecognized_keys"?{message:ft.errToObj(e).message??o}:{message:o}}}:{}})}strip(){return new Xn({...this._def,unknownKeys:"strip"})}passthrough(){return new Xn({...this._def,unknownKeys:"passthrough"})}extend(e){return new Xn({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new Xn({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:zt.ZodObject})}setKey(e,n){return this.augment({[e]:n})}catchall(e){return new Xn({...this._def,catchall:e})}pick(e){const n={};for(const r of sn.objectKeys(e))e[r]&&this.shape[r]&&(n[r]=this.shape[r]);return new Xn({...this._def,shape:()=>n})}omit(e){const n={};for(const r of sn.objectKeys(this.shape))e[r]||(n[r]=this.shape[r]);return new Xn({...this._def,shape:()=>n})}deepPartial(){return au(this)}partial(e){const n={};for(const r of sn.objectKeys(this.shape)){const o=this.shape[r];e&&!e[r]?n[r]=o:n[r]=o.optional()}return new Xn({...this._def,shape:()=>n})}required(e){const n={};for(const r of sn.objectKeys(this.shape))if(e&&!e[r])n[r]=this.shape[r];else{let a=this.shape[r];for(;a instanceof zs;)a=a._def.innerType;n[r]=a}return new Xn({...this._def,shape:()=>n})}keyof(){return yM(sn.objectKeys(this.shape))}}Xn.create=(t,e)=>new Xn({shape:()=>t,unknownKeys:"strip",catchall:Ws.create(),typeName:zt.ZodObject,...Zt(e)});Xn.strictCreate=(t,e)=>new Xn({shape:()=>t,unknownKeys:"strict",catchall:Ws.create(),typeName:zt.ZodObject,...Zt(e)});Xn.lazycreate=(t,e)=>new Xn({shape:t,unknownKeys:"strip",catchall:Ws.create(),typeName:zt.ZodObject,...Zt(e)});class V0 extends an{_parse(e){const{ctx:n}=this._processInputParams(e),r=this._def.options;function o(a){for(const s of a)if(s.result.status==="valid")return s.result;for(const s of a)if(s.result.status==="dirty")return n.common.issues.push(...s.ctx.common.issues),s.result;const i=a.map(s=>new qi(s.ctx.common.issues));return et(n,{code:Xe.invalid_union,unionErrors:i}),Bt}if(n.common.async)return Promise.all(r.map(async a=>{const i={...n,common:{...n.common,issues:[]},parent:null};return{result:await a._parseAsync({data:n.data,path:n.path,parent:i}),ctx:i}})).then(o);{let a;const i=[];for(const l of r){const u={...n,common:{...n.common,issues:[]},parent:null},d=l._parseSync({data:n.data,path:n.path,parent:u});if(d.status==="valid")return d;d.status==="dirty"&&!a&&(a={result:d,ctx:u}),u.common.issues.length&&i.push(u.common.issues)}if(a)return n.common.issues.push(...a.ctx.common.issues),a.result;const s=i.map(l=>new qi(l));return et(n,{code:Xe.invalid_union,unionErrors:s}),Bt}}get options(){return this._def.options}}V0.create=(t,e)=>new V0({options:t,typeName:zt.ZodUnion,...Zt(e)});function Tv(t,e){const n=ks(t),r=ks(e);if(t===e)return{valid:!0,data:t};if(n===ct.object&&r===ct.object){const o=sn.objectKeys(e),a=sn.objectKeys(t).filter(s=>o.indexOf(s)!==-1),i={...t,...e};for(const s of a){const l=Tv(t[s],e[s]);if(!l.valid)return{valid:!1};i[s]=l.data}return{valid:!0,data:i}}else if(n===ct.array&&r===ct.array){if(t.length!==e.length)return{valid:!1};const o=[];for(let a=0;a<t.length;a++){const i=t[a],s=e[a],l=Tv(i,s);if(!l.valid)return{valid:!1};o.push(l.data)}return{valid:!0,data:o}}else return n===ct.date&&r===ct.date&&+t==+e?{valid:!0,data:t}:{valid:!1}}class j0 extends an{_parse(e){const{status:n,ctx:r}=this._processInputParams(e),o=(a,i)=>{if(c5(a)||c5(i))return Bt;const s=Tv(a.value,i.value);return s.valid?((u5(a)||u5(i))&&n.dirty(),{status:n.value,value:s.data}):(et(r,{code:Xe.invalid_intersection_types}),Bt)};return r.common.async?Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then(([a,i])=>o(a,i)):o(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}}j0.create=(t,e,n)=>new j0({left:t,right:e,typeName:zt.ZodIntersection,...Zt(n)});class Gl extends an{_parse(e){const{status:n,ctx:r}=this._processInputParams(e);if(r.parsedType!==ct.array)return et(r,{code:Xe.invalid_type,expected:ct.array,received:r.parsedType}),Bt;if(r.data.length<this._def.items.length)return et(r,{code:Xe.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),Bt;!this._def.rest&&r.data.length>this._def.items.length&&(et(r,{code:Xe.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());const a=[...r.data].map((i,s)=>{const l=this._def.items[s]||this._def.rest;return l?l._parse(new Hs(r,i,r.path,s)):null}).filter(i=>!!i);return r.common.async?Promise.all(a).then(i=>Ro.mergeArray(n,i)):Ro.mergeArray(n,a)}get items(){return this._def.items}rest(e){return new Gl({...this._def,rest:e})}}Gl.create=(t,e)=>{if(!Array.isArray(t))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new Gl({items:t,typeName:zt.ZodTuple,rest:null,...Zt(e)})};class b5 extends an{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:n,ctx:r}=this._processInputParams(e);if(r.parsedType!==ct.map)return et(r,{code:Xe.invalid_type,expected:ct.map,received:r.parsedType}),Bt;const o=this._def.keyType,a=this._def.valueType,i=[...r.data.entries()].map(([s,l],u)=>({key:o._parse(new Hs(r,s,r.path,[u,"key"])),value:a._parse(new Hs(r,l,r.path,[u,"value"]))}));if(r.common.async){const s=new Map;return Promise.resolve().then(async()=>{for(const l of i){const u=await l.key,d=await l.value;if(u.status==="aborted"||d.status==="aborted")return Bt;(u.status==="dirty"||d.status==="dirty")&&n.dirty(),s.set(u.value,d.value)}return{status:n.value,value:s}})}else{const s=new Map;for(const l of i){const u=l.key,d=l.value;if(u.status==="aborted"||d.status==="aborted")return Bt;(u.status==="dirty"||d.status==="dirty")&&n.dirty(),s.set(u.value,d.value)}return{status:n.value,value:s}}}}b5.create=(t,e,n)=>new b5({valueType:e,keyType:t,typeName:zt.ZodMap,...Zt(n)});class mf extends an{_parse(e){const{status:n,ctx:r}=this._processInputParams(e);if(r.parsedType!==ct.set)return et(r,{code:Xe.invalid_type,expected:ct.set,received:r.parsedType}),Bt;const o=this._def;o.minSize!==null&&r.data.size<o.minSize.value&&(et(r,{code:Xe.too_small,minimum:o.minSize.value,type:"set",inclusive:!0,exact:!1,message:o.minSize.message}),n.dirty()),o.maxSize!==null&&r.data.size>o.maxSize.value&&(et(r,{code:Xe.too_big,maximum:o.maxSize.value,type:"set",inclusive:!0,exact:!1,message:o.maxSize.message}),n.dirty());const a=this._def.valueType;function i(l){const u=new Set;for(const d of l){if(d.status==="aborted")return Bt;d.status==="dirty"&&n.dirty(),u.add(d.value)}return{status:n.value,value:u}}const s=[...r.data.values()].map((l,u)=>a._parse(new Hs(r,l,r.path,u)));return r.common.async?Promise.all(s).then(l=>i(l)):i(s)}min(e,n){return new mf({...this._def,minSize:{value:e,message:ft.toString(n)}})}max(e,n){return new mf({...this._def,maxSize:{value:e,message:ft.toString(n)}})}size(e,n){return this.min(e,n).max(e,n)}nonempty(e){return this.min(1,e)}}mf.create=(t,e)=>new mf({valueType:t,minSize:null,maxSize:null,typeName:zt.ZodSet,...Zt(e)});class y5 extends an{get schema(){return this._def.getter()}_parse(e){const{ctx:n}=this._processInputParams(e);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}}y5.create=(t,e)=>new y5({getter:t,typeName:zt.ZodLazy,...Zt(e)});class _5 extends an{_parse(e){if(e.data!==this._def.value){const n=this._getOrReturnCtx(e);return et(n,{received:n.data,code:Xe.invalid_literal,expected:this._def.value}),Bt}return{status:"valid",value:e.data}}get value(){return this._def.value}}_5.create=(t,e)=>new _5({value:t,typeName:zt.ZodLiteral,...Zt(e)});function yM(t,e){return new Eu({values:t,typeName:zt.ZodEnum,...Zt(e)})}class Eu extends an{_parse(e){if(typeof e.data!="string"){const n=this._getOrReturnCtx(e),r=this._def.values;return et(n,{expected:sn.joinValues(r),received:n.parsedType,code:Xe.invalid_type}),Bt}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(e.data)){const n=this._getOrReturnCtx(e),r=this._def.values;return et(n,{received:n.data,code:Xe.invalid_enum_value,options:r}),Bt}return Qo(e.data)}get options(){return this._def.values}get enum(){const e={};for(const n of this._def.values)e[n]=n;return e}get Values(){const e={};for(const n of this._def.values)e[n]=n;return e}get Enum(){const e={};for(const n of this._def.values)e[n]=n;return e}extract(e,n=this._def){return Eu.create(e,{...this._def,...n})}exclude(e,n=this._def){return Eu.create(this.options.filter(r=>!e.includes(r)),{...this._def,...n})}}Eu.create=yM;class x5 extends an{_parse(e){const n=sn.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(e);if(r.parsedType!==ct.string&&r.parsedType!==ct.number){const o=sn.objectValues(n);return et(r,{expected:sn.joinValues(o),received:r.parsedType,code:Xe.invalid_type}),Bt}if(this._cache||(this._cache=new Set(sn.getValidEnumValues(this._def.values))),!this._cache.has(e.data)){const o=sn.objectValues(n);return et(r,{received:r.data,code:Xe.invalid_enum_value,options:o}),Bt}return Qo(e.data)}get enum(){return this._def.values}}x5.create=(t,e)=>new x5({values:t,typeName:zt.ZodNativeEnum,...Zt(e)});class H0 extends an{unwrap(){return this._def.type}_parse(e){const{ctx:n}=this._processInputParams(e);if(n.parsedType!==ct.promise&&n.common.async===!1)return et(n,{code:Xe.invalid_type,expected:ct.promise,received:n.parsedType}),Bt;const r=n.parsedType===ct.promise?n.data:Promise.resolve(n.data);return Qo(r.then(o=>this._def.type.parseAsync(o,{path:n.path,errorMap:n.common.contextualErrorMap})))}}H0.create=(t,e)=>new H0({type:t,typeName:zt.ZodPromise,...Zt(e)});class Mu extends an{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===zt.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){const{status:n,ctx:r}=this._processInputParams(e),o=this._def.effect||null,a={addIssue:i=>{et(r,i),i.fatal?n.abort():n.dirty()},get path(){return r.path}};if(a.addIssue=a.addIssue.bind(a),o.type==="preprocess"){const i=o.transform(r.data,a);if(r.common.async)return Promise.resolve(i).then(async s=>{if(n.value==="aborted")return Bt;const l=await this._def.schema._parseAsync({data:s,path:r.path,parent:r});return l.status==="aborted"?Bt:l.status==="dirty"||n.value==="dirty"?Yd(l.value):l});{if(n.value==="aborted")return Bt;const s=this._def.schema._parseSync({data:i,path:r.path,parent:r});return s.status==="aborted"?Bt:s.status==="dirty"||n.value==="dirty"?Yd(s.value):s}}if(o.type==="refinement"){const i=s=>{const l=o.refinement(s,a);if(r.common.async)return Promise.resolve(l);if(l instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return s};if(r.common.async===!1){const s=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return s.status==="aborted"?Bt:(s.status==="dirty"&&n.dirty(),i(s.value),{status:n.value,value:s.value})}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(s=>s.status==="aborted"?Bt:(s.status==="dirty"&&n.dirty(),i(s.value).then(()=>({status:n.value,value:s.value}))))}if(o.type==="transform")if(r.common.async===!1){const i=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!Cu(i))return Bt;const s=o.transform(i.value,a);if(s instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:n.value,value:s}}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(i=>Cu(i)?Promise.resolve(o.transform(i.value,a)).then(s=>({status:n.value,value:s})):Bt);sn.assertNever(o)}}Mu.create=(t,e,n)=>new Mu({schema:t,typeName:zt.ZodEffects,effect:e,...Zt(n)});Mu.createWithPreprocess=(t,e,n)=>new Mu({schema:e,effect:{type:"preprocess",transform:t},typeName:zt.ZodEffects,...Zt(n)});class zs extends an{_parse(e){return this._getType(e)===ct.undefined?Qo(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}zs.create=(t,e)=>new zs({innerType:t,typeName:zt.ZodOptional,...Zt(e)});class ku extends an{_parse(e){return this._getType(e)===ct.null?Qo(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}ku.create=(t,e)=>new ku({innerType:t,typeName:zt.ZodNullable,...Zt(e)});class Nv extends an{_parse(e){const{ctx:n}=this._processInputParams(e);let r=n.data;return n.parsedType===ct.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:n.path,parent:n})}removeDefault(){return this._def.innerType}}Nv.create=(t,e)=>new Nv({innerType:t,typeName:zt.ZodDefault,defaultValue:typeof e.default=="function"?e.default:()=>e.default,...Zt(e)});class Pv extends an{_parse(e){const{ctx:n}=this._processInputParams(e),r={...n,common:{...n.common,issues:[]}},o=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return z0(o)?o.then(a=>({status:"valid",value:a.status==="valid"?a.value:this._def.catchValue({get error(){return new qi(r.common.issues)},input:r.data})})):{status:"valid",value:o.status==="valid"?o.value:this._def.catchValue({get error(){return new qi(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}}Pv.create=(t,e)=>new Pv({innerType:t,typeName:zt.ZodCatch,catchValue:typeof e.catch=="function"?e.catch:()=>e.catch,...Zt(e)});class S5 extends an{_parse(e){if(this._getType(e)!==ct.nan){const r=this._getOrReturnCtx(e);return et(r,{code:Xe.invalid_type,expected:ct.nan,received:r.parsedType}),Bt}return{status:"valid",value:e.data}}}S5.create=t=>new S5({typeName:zt.ZodNaN,...Zt(t)});class pne extends an{_parse(e){const{ctx:n}=this._processInputParams(e),r=n.data;return this._def.type._parse({data:r,path:n.path,parent:n})}unwrap(){return this._def.type}}class _3 extends an{_parse(e){const{status:n,ctx:r}=this._processInputParams(e);if(r.common.async)return(async()=>{const a=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return a.status==="aborted"?Bt:a.status==="dirty"?(n.dirty(),Yd(a.value)):this._def.out._parseAsync({data:a.value,path:r.path,parent:r})})();{const o=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return o.status==="aborted"?Bt:o.status==="dirty"?(n.dirty(),{status:"dirty",value:o.value}):this._def.out._parseSync({data:o.value,path:r.path,parent:r})}}static create(e,n){return new _3({in:e,out:n,typeName:zt.ZodPipeline})}}class Av extends an{_parse(e){const n=this._def.innerType._parse(e),r=o=>(Cu(o)&&(o.value=Object.freeze(o.value)),o);return z0(n)?n.then(o=>r(o)):r(n)}unwrap(){return this._def.innerType}}Av.create=(t,e)=>new Av({innerType:t,typeName:zt.ZodReadonly,...Zt(e)});var zt;(function(t){t.ZodString="ZodString",t.ZodNumber="ZodNumber",t.ZodNaN="ZodNaN",t.ZodBigInt="ZodBigInt",t.ZodBoolean="ZodBoolean",t.ZodDate="ZodDate",t.ZodSymbol="ZodSymbol",t.ZodUndefined="ZodUndefined",t.ZodNull="ZodNull",t.ZodAny="ZodAny",t.ZodUnknown="ZodUnknown",t.ZodNever="ZodNever",t.ZodVoid="ZodVoid",t.ZodArray="ZodArray",t.ZodObject="ZodObject",t.ZodUnion="ZodUnion",t.ZodDiscriminatedUnion="ZodDiscriminatedUnion",t.ZodIntersection="ZodIntersection",t.ZodTuple="ZodTuple",t.ZodRecord="ZodRecord",t.ZodMap="ZodMap",t.ZodSet="ZodSet",t.ZodFunction="ZodFunction",t.ZodLazy="ZodLazy",t.ZodLiteral="ZodLiteral",t.ZodEnum="ZodEnum",t.ZodEffects="ZodEffects",t.ZodNativeEnum="ZodNativeEnum",t.ZodOptional="ZodOptional",t.ZodNullable="ZodNullable",t.ZodDefault="ZodDefault",t.ZodCatch="ZodCatch",t.ZodPromise="ZodPromise",t.ZodBranded="ZodBranded",t.ZodPipeline="ZodPipeline",t.ZodReadonly="ZodReadonly"})(zt||(zt={}));const zr=Ls.create;Ws.create;oi.create;const hne=Xn.create;V0.create;j0.create;Gl.create;Eu.create;H0.create;zs.create;ku.create;const{useQuery:Jme}=await q("@tanstack/react-query"),{useMemo:ege}=await q("react");hne({LIMIT_V:zr({required_error:"필수입니다"}).nonempty("필수입니다"),LIMIT_W:zr({required_error:"필수입니다"}).nonempty("필수입니다"),LIMIT_V_ACC:zr({required_error:"필수입니다"}).nonempty("필수입니다"),LIMIT_V_DCC:zr({required_error:"필수입니다"}).nonempty("필수입니다"),LIMIT_W_ACC:zr({required_error:"필수입니다"}).nonempty("필수입니다"),LIMIT_PIVOT_W:zr({required_error:"필수입니다"}).nonempty("필수입니다"),ST_V:zr({required_error:"필수입니다"}).nonempty("필수입니다"),ED_V:zr({required_error:"필수입니다"}).nonempty("필수입니다"),DRIVE_T:zr({required_error:"필수입니다"}).nonempty("필수입니다"),DRIVE_H:zr({required_error:"필수입니다"}).nonempty("필수입니다"),DRIVE_A:zr({required_error:"필수입니다"}).nonempty("필수입니다"),DRIVE_B:zr({required_error:"필수입니다"}).nonempty("필수입니다"),DRIVE_L:zr({required_error:"필수입니다"}).nonempty("필수입니다"),DRIVE_K:zr({required_error:"필수입니다"}).nonempty("필수입니다"),DRIVE_EPS:zr({required_error:"필수입니다"}).nonempty("필수입니다")});const{useQuery:tge}=await q("@tanstack/react-query"),{useMemo:nge}=await q("react"),{useQuery:rge}=await q("@tanstack/react-query"),{useQuery:oge}=await q("@tanstack/react-query"),{useQuery:age}=await q("@tanstack/react-query"),{useQuery:ige}=await q("@tanstack/react-query"),{useQuery:sge}=await q("@tanstack/react-query"),{useQuery:lge}=await q("@tanstack/react-query"),{useQuery:cge}=await q("@tanstack/react-query"),{useQuery:uge}=await q("@tanstack/react-query"),{useQuery:dge}=await q("@tanstack/react-query"),{useCallback:fge}=await q("react"),{useQuery:pge}=await q("@tanstack/react-query"),{useQuery:hge}=await q("@tanstack/react-query"),{useQuery:mge}=await q("@tanstack/react-query"),{useRef:gge}=await q("react"),{useQuery:vge}=await q("@tanstack/react-query"),{useMemo:wge}=await q("react"),{useQuery:bge}=await q("@tanstack/react-query"),{useMemo:yge}=await q("react"),{useQuery:_ge}=await q("@tanstack/react-query"),{useMemo:xge}=await q("react"),{useQuery:Sge}=await q("@tanstack/react-query"),{useMemo:Cge}=await q("react"),{useMemo:Ege}=await q("react"),{useQuery:Mge}=await q("@tanstack/react-query"),{useQuery:kge}=await q("@tanstack/react-query"),{useMemo:Rge}=await q("react"),{useMemo:Tge}=await q("react"),{useQuery:Nge}=await q("@tanstack/react-query"),{useQuery:Pge}=await q("@tanstack/react-query"),{useMemo:Age}=await q("react"),{useQuery:Ige}=await q("@tanstack/react-query"),{useQuery:Oge}=await q("@tanstack/react-query"),{useQuery:Lge}=await q("@tanstack/react-query"),{useQuery:$ge}=await q("@tanstack/react-query"),{useMemo:Dge}=await q("react"),{useQuery:Bge}=await q("@tanstack/react-query"),{useMemo:zge}=await q("react"),{useMemo:Fge}=await q("react"),{useQuery:Vge}=await q("@tanstack/react-query"),{useCallback:jge}=await q("react"),{useQuery:Hge}=await q("@tanstack/react-query"),{useCallback:Wge}=await q("react"),{useQuery:qge}=await q("@tanstack/react-query"),{useEffect:Uge,useRef:Yge}=await q("react"),{useEffect:Gge,useRef:Kge}=await q("react"),{useQuery:Xge}=await q("@tanstack/react-query"),{useMemo:mne}=await q("react"),{useQuery:gne}=await q("@tanstack/react-query"),_M="/{robot_model}/program/getVersion",vne=async({robot_model:t,baseURL:e})=>{if(!t)throw new Error("robot_model is required to fetch AMR program version");const n=_M.replace("{robot_model}",t);return sM.get(n,{})},wne=({robot_model:t,baseURL:e})=>[_M,t,e??""],Zge=(t,e={},n)=>{const{robot_model:r,enabled:o=!0}=t,{enabled:a=!0,...i}=e,s=mne(()=>wne({robot_model:r,baseURL:n}),[n,r]);return{...gne({queryKey:s,queryFn:()=>vne({...t,baseURL:n}),enabled:!!r&&o&&a,staleTime:1e3,gcTime:60*1e3,...i}),queryKey:s}},{useEffect:Qge,useRef:Jge}=await q("react"),{useQuery:e2e}=await q("@tanstack/react-query"),{useQuery:t2e}=await q("@tanstack/react-query"),{useQuery:n2e}=await q("@tanstack/react-query"),{useQuery:r2e}=await q("@tanstack/react-query"),{useQuery:o2e}=await q("@tanstack/react-query"),{keepPreviousData:a2e,useQuery:i2e}=await q("@tanstack/react-query"),{useMemo:s2e}=await q("react"),{keepPreviousData:l2e,useQuery:c2e}=await q("@tanstack/react-query"),{useMemo:u2e}=await q("react"),{useQuery:d2e}=await q("@tanstack/react-query"),{useMemo:f2e}=await q("react"),{useQuery:p2e}=await q("@tanstack/react-query"),{useMemo:h2e}=await q("react"),{useMemo:m2e}=await q("react"),{useQuery:g2e}=await q("@tanstack/react-query"),{useMemo:v2e}=await q("react"),{useMemo:w2e}=await q("react"),{useMemo:b2e}=await q("react"),bne="_btn_m6csy_40",yne="_loading_m6csy_75",_ne="_text_m6csy_78",xne="_fullsize_m6csy_87",Sne="_large_m6csy_111",Cne="_medium_m6csy_115",Ene="_small_m6csy_120",Mne="_tiny_m6csy_126",kne={btn:bne,loading:yne,text:_ne,"loading-spinner":"_loading-spinner_m6csy_81",fullsize:xne,large:Sne,medium:Cne,small:Ene,tiny:Mne},{useCallback:C5,useRef:Rne}=await q("react"),Hg=rn(kne,"rb-ui"),Bh=({className:t="",type:e="button",children:n,size:r,color:o="primary",ripple:a,detectDoubleClick:i,disabled:s,loading:l=!1,onClick:u,...d})=>{const f=Rne(null),m=C5(()=>{i&&(window.clearTimeout(f.current??0),f.current=window.setTimeout(()=>{f.current=null},500))},[i]),v=C5(g=>{f.current||(u?.(g),m())},[m,u]);return h(Rr,{...a,disabled:s||!!a?.disabled,children:ne("button",{type:e,className:Hg(t,r,o,"btn",{loading:l}),disabled:s,onClick:v,...d,children:[l&&h("span",{className:Hg("loading-spinner"),children:h(Ui,{})}),h("span",{className:Hg("text"),children:n})]})})},Tne={"error-boundary":"_error-boundary_1wa6f_1"},Nne=await q("react"),Pne=rn(Tne,"rb-ui");class qf extends Nne.Component{constructor(e){super(e),this.state={hasError:!1,fallback:e.fallback??h("div",{className:Pne("error-boundary"),children:h(Ui,{})})}}static getDerivedStateFromError(e){return{hasError:!0,error:e}}componentDidCatch(e,n){}render(){return this.state.hasError?this.state.fallback:this.props.children}}const Ane={"no-data":"_no-data_1m5b1_40","no-data-icon":"_no-data-icon_1m5b1_46","no-data-text":"_no-data-text_1m5b1_56","no-data-action":"_no-data-action_1m5b1_66"},Wg=rn(Ane,"rb-ui"),Uf=({className:t,nullText:e="no data",children:n,style:r})=>ne("div",{className:Wg("no-data",t),style:r,children:[h("span",{className:Wg("no-data-icon"),children:n}),h("div",{className:Wg("no-data-text"),children:e})]}),{createElement:y2e,useCallback:_2e,useEffect:x2e,useMemo:S2e,useRef:C2e,useState:E2e}=await q("react"),Ine="_loading_1eo8r_40",One={loading:Ine},{cloneElement:Lne,useMemo:$ne}=await q("react"),E5=rn(One,"rb-ui"),M2e=({list:t,loadingElement:e=h(Ui,{size:40}),loadingWrapperClassName:n,skeletonElement:r,skeletonCnt:o=3,noDataMsg:a,noDataMsgClassName:i,loading:s=!1,errorFallback:l,children:u})=>{const d=$ne(()=>!t||s?r?Array.from({length:o}).map((f,m)=>Lne(r,{...r.props,key:m})):h("div",{className:E5("loading",n),children:e}):t.length===0?typeof a=="object"?a:h(Uf,{className:E5("no-data",i),nullText:a}):t.map((f,m)=>u({item:f,index:m})),[t,s,r,n,e,o,a,i,u]);return h(qf,{fallback:!l||e,children:d})},{createElement:k2e}=await q("react"),{useCallback:R2e,useEffect:T2e,useId:N2e,useRef:P2e,useMemo:A2e}=await q("react"),{useId:I2e}=await q("react");function M5(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function x3(t,e){t===void 0&&(t={}),e===void 0&&(e={});const n=["__proto__","constructor","prototype"];Object.keys(e).filter(r=>n.indexOf(r)<0).forEach(r=>{typeof t[r]>"u"?t[r]=e[r]:M5(e[r])&&M5(t[r])&&Object.keys(e[r]).length>0&&x3(t[r],e[r])})}const xM={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function Qs(){const t=typeof document<"u"?document:{};return x3(t,xM),t}const Dne={document:xM,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(t){return typeof setTimeout>"u"?(t(),null):setTimeout(t,0)},cancelAnimationFrame(t){typeof setTimeout>"u"||clearTimeout(t)}};function qr(){const t=typeof window<"u"?window:{};return x3(t,Dne),t}function Bne(t){return t===void 0&&(t=""),t.trim().split(" ").filter(e=>!!e.trim())}function zne(t){const e=t;Object.keys(e).forEach(n=>{try{e[n]=null}catch{}try{delete e[n]}catch{}})}function SM(t,e){return e===void 0&&(e=0),setTimeout(t,e)}function zl(){return Date.now()}function Fne(t){const e=qr();let n;return e.getComputedStyle&&(n=e.getComputedStyle(t,null)),!n&&t.currentStyle&&(n=t.currentStyle),n||(n=t.style),n}function Vne(t,e){e===void 0&&(e="x");const n=qr();let r,o,a;const i=Fne(t);return n.WebKitCSSMatrix?(o=i.transform||i.webkitTransform,o.split(",").length>6&&(o=o.split(", ").map(s=>s.replace(",",".")).join(", ")),a=new n.WebKitCSSMatrix(o==="none"?"":o)):(a=i.MozTransform||i.OTransform||i.MsTransform||i.msTransform||i.transform||i.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),r=a.toString().split(",")),e==="x"&&(n.WebKitCSSMatrix?o=a.m41:r.length===16?o=parseFloat(r[12]):o=parseFloat(r[4])),e==="y"&&(n.WebKitCSSMatrix?o=a.m42:r.length===16?o=parseFloat(r[13]):o=parseFloat(r[5])),o||0}function t1(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function jne(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function Eo(){const t=Object(arguments.length<=0?void 0:arguments[0]),e=["__proto__","constructor","prototype"];for(let n=1;n<arguments.length;n+=1){const r=n<0||arguments.length<=n?void 0:arguments[n];if(r!=null&&!jne(r)){const o=Object.keys(Object(r)).filter(a=>e.indexOf(a)<0);for(let a=0,i=o.length;a<i;a+=1){const s=o[a],l=Object.getOwnPropertyDescriptor(r,s);l!==void 0&&l.enumerable&&(t1(t[s])&&t1(r[s])?r[s].__swiper__?t[s]=r[s]:Eo(t[s],r[s]):!t1(t[s])&&t1(r[s])?(t[s]={},r[s].__swiper__?t[s]=r[s]:Eo(t[s],r[s])):t[s]=r[s])}}}return t}function Gd(t,e,n){t.style.setProperty(e,n)}function CM(t){let{swiper:e,targetPosition:n,side:r}=t;const o=qr(),a=-e.translate;let i=null,s;const l=e.params.speed;e.wrapperEl.style.scrollSnapType="none",o.cancelAnimationFrame(e.cssModeFrameID);const u=n>a?"next":"prev",d=(m,v)=>u==="next"&&m>=v||u==="prev"&&m<=v,f=()=>{s=new Date().getTime(),i===null&&(i=s);const m=Math.max(Math.min((s-i)/l,1),0),v=.5-Math.cos(m*Math.PI)/2;let g=a+v*(n-a);if(d(g,n)&&(g=n),e.wrapperEl.scrollTo({[r]:g}),d(g,n)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[r]:g})}),o.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=o.requestAnimationFrame(f)};f()}function EM(t){return t.querySelector(".swiper-slide-transform")||t.shadowRoot&&t.shadowRoot.querySelector(".swiper-slide-transform")||t}function wa(t,e){e===void 0&&(e="");const n=qr(),r=[...t.children];return n.HTMLSlotElement&&t instanceof HTMLSlotElement&&r.push(...t.assignedElements()),e?r.filter(o=>o.matches(e)):r}function Hne(t,e){const n=[e];for(;n.length>0;){const r=n.shift();if(t===r)return!0;n.push(...r.children,...r.shadowRoot?r.shadowRoot.children:[],...r.assignedElements?r.assignedElements():[])}}function Wne(t,e){const n=qr();let r=e.contains(t);return!r&&n.HTMLSlotElement&&e instanceof HTMLSlotElement&&(r=[...e.assignedElements()].includes(t),r||(r=Hne(t,e))),r}function W0(t){try{console.warn(t);return}catch{}}function Ru(t,e){e===void 0&&(e=[]);const n=document.createElement(t);return n.classList.add(...Array.isArray(e)?e:Bne(e)),n}function qne(t,e){const n=[];for(;t.previousElementSibling;){const r=t.previousElementSibling;e?r.matches(e)&&n.push(r):n.push(r),t=r}return n}function Une(t,e){const n=[];for(;t.nextElementSibling;){const r=t.nextElementSibling;e?r.matches(e)&&n.push(r):n.push(r),t=r}return n}function $s(t,e){return qr().getComputedStyle(t,null).getPropertyValue(e)}function q0(t){let e=t,n;if(e){for(n=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(n+=1);return n}}function MM(t,e){const n=[];let r=t.parentElement;for(;r;)e?r.matches(e)&&n.push(r):n.push(r),r=r.parentElement;return n}function r0(t,e){function n(r){r.target===t&&(e.call(t,r),t.removeEventListener("transitionend",n))}e&&t.addEventListener("transitionend",n)}function Iv(t,e,n){const r=qr();return t[e==="width"?"offsetWidth":"offsetHeight"]+parseFloat(r.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-right":"margin-top"))+parseFloat(r.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-left":"margin-bottom"))}function dr(t){return(Array.isArray(t)?t:[t]).filter(e=>!!e)}function Tu(t,e){e===void 0&&(e=""),typeof trustedTypes<"u"?t.innerHTML=trustedTypes.createPolicy("html",{createHTML:n=>n}).createHTML(e):t.innerHTML=e}function Yne(t){let{swiper:e,extendParams:n,on:r,emit:o}=t;n({virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}});let a;const i=Qs();e.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]};const s=i.createElement("div");function l(g,w){const y=e.params.virtual;if(y.cache&&e.virtual.cache[w])return e.virtual.cache[w];let _;return y.renderSlide?(_=y.renderSlide.call(e,g,w),typeof _=="string"&&(Tu(s,_),_=s.children[0])):e.isElement?_=Ru("swiper-slide"):_=Ru("div",e.params.slideClass),_.setAttribute("data-swiper-slide-index",w),y.renderSlide||Tu(_,g),y.cache&&(e.virtual.cache[w]=_),_}function u(g,w,y){const{slidesPerView:_,slidesPerGroup:S,centeredSlides:x,loop:C,initialSlide:M}=e.params;if(w&&!C&&M>0)return;const{addSlidesBefore:A,addSlidesAfter:O}=e.params.virtual,{from:D,to:T,slides:R,slidesGrid:$,offset:P}=e.virtual;e.params.cssMode||e.updateActiveIndex();const I=typeof y>"u"?e.activeIndex||0:y;let L;e.rtlTranslate?L="right":L=e.isHorizontal()?"left":"top";let V,F;x?(V=Math.floor(_/2)+S+O,F=Math.floor(_/2)+S+A):(V=_+(S-1)+O,F=(C?_:S)+A);let z=I-F,B=I+V;C||(z=Math.max(z,0),B=Math.min(B,R.length-1));let Y=(e.slidesGrid[z]||0)-(e.slidesGrid[0]||0);C&&I>=F?(z-=F,x||(Y+=e.slidesGrid[0])):C&&I<F&&(z=-F,x&&(Y+=e.slidesGrid[0])),Object.assign(e.virtual,{from:z,to:B,offset:Y,slidesGrid:e.slidesGrid,slidesBefore:F,slidesAfter:V});function U(){e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),o("virtualUpdate")}if(D===z&&T===B&&!g){e.slidesGrid!==$&&Y!==P&&e.slides.forEach(ee=>{ee.style[L]=`${Y-Math.abs(e.cssOverflowAdjustment())}px`}),e.updateProgress(),o("virtualUpdate");return}if(e.params.virtual.renderExternal){e.params.virtual.renderExternal.call(e,{offset:Y,from:z,to:B,slides:(function(){const ue=[];for(let fe=z;fe<=B;fe+=1)ue.push(R[fe]);return ue})()}),e.params.virtual.renderExternalUpdate?U():o("virtualUpdate");return}const le=[],J=[],re=ee=>{let ue=ee;return ee<0?ue=R.length+ee:ue>=R.length&&(ue=ue-R.length),ue};if(g)e.slides.filter(ee=>ee.matches(`.${e.params.slideClass}, swiper-slide`)).forEach(ee=>{ee.remove()});else for(let ee=D;ee<=T;ee+=1)if(ee<z||ee>B){const ue=re(ee);e.slides.filter(fe=>fe.matches(`.${e.params.slideClass}[data-swiper-slide-index="${ue}"], swiper-slide[data-swiper-slide-index="${ue}"]`)).forEach(fe=>{fe.remove()})}const te=C?-R.length:0,oe=C?R.length*2:R.length;for(let ee=te;ee<oe;ee+=1)if(ee>=z&&ee<=B){const ue=re(ee);typeof T>"u"||g?J.push(ue):(ee>T&&J.push(ue),ee<D&&le.push(ue))}if(J.forEach(ee=>{e.slidesEl.append(l(R[ee],ee))}),C)for(let ee=le.length-1;ee>=0;ee-=1){const ue=le[ee];e.slidesEl.prepend(l(R[ue],ue))}else le.sort((ee,ue)=>ue-ee),le.forEach(ee=>{e.slidesEl.prepend(l(R[ee],ee))});wa(e.slidesEl,".swiper-slide, swiper-slide").forEach(ee=>{ee.style[L]=`${Y-Math.abs(e.cssOverflowAdjustment())}px`}),U()}function d(g){if(typeof g=="object"&&"length"in g)for(let w=0;w<g.length;w+=1)g[w]&&e.virtual.slides.push(g[w]);else e.virtual.slides.push(g);u(!0)}function f(g){const w=e.activeIndex;let y=w+1,_=1;if(Array.isArray(g)){for(let S=0;S<g.length;S+=1)g[S]&&e.virtual.slides.unshift(g[S]);y=w+g.length,_=g.length}else e.virtual.slides.unshift(g);if(e.params.virtual.cache){const S=e.virtual.cache,x={};Object.keys(S).forEach(C=>{const M=S[C],A=M.getAttribute("data-swiper-slide-index");A&&M.setAttribute("data-swiper-slide-index",parseInt(A,10)+_),x[parseInt(C,10)+_]=M}),e.virtual.cache=x}u(!0),e.slideTo(y,0)}function m(g){if(typeof g>"u"||g===null)return;let w=e.activeIndex;if(Array.isArray(g))for(let y=g.length-1;y>=0;y-=1)e.params.virtual.cache&&(delete e.virtual.cache[g[y]],Object.keys(e.virtual.cache).forEach(_=>{_>g&&(e.virtual.cache[_-1]=e.virtual.cache[_],e.virtual.cache[_-1].setAttribute("data-swiper-slide-index",_-1),delete e.virtual.cache[_])})),e.virtual.slides.splice(g[y],1),g[y]<w&&(w-=1),w=Math.max(w,0);else e.params.virtual.cache&&(delete e.virtual.cache[g],Object.keys(e.virtual.cache).forEach(y=>{y>g&&(e.virtual.cache[y-1]=e.virtual.cache[y],e.virtual.cache[y-1].setAttribute("data-swiper-slide-index",y-1),delete e.virtual.cache[y])})),e.virtual.slides.splice(g,1),g<w&&(w-=1),w=Math.max(w,0);u(!0),e.slideTo(w,0)}function v(){e.virtual.slides=[],e.params.virtual.cache&&(e.virtual.cache={}),u(!0),e.slideTo(0,0)}r("beforeInit",()=>{if(!e.params.virtual.enabled)return;let g;if(typeof e.passedParams.virtual.slides>"u"){const w=[...e.slidesEl.children].filter(y=>y.matches(`.${e.params.slideClass}, swiper-slide`));w&&w.length&&(e.virtual.slides=[...w],g=!0,w.forEach((y,_)=>{y.setAttribute("data-swiper-slide-index",_),e.virtual.cache[_]=y,y.remove()}))}g||(e.virtual.slides=e.params.virtual.slides),e.classNames.push(`${e.params.containerModifierClass}virtual`),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0,u(!1,!0)}),r("setTranslate",()=>{e.params.virtual.enabled&&(e.params.cssMode&&!e._immediateVirtual?(clearTimeout(a),a=setTimeout(()=>{u()},100)):u())}),r("init update resize",()=>{e.params.virtual.enabled&&e.params.cssMode&&Gd(e.wrapperEl,"--swiper-virtual-size",`${e.virtualSize}px`)}),Object.assign(e.virtual,{appendSlide:d,prependSlide:f,removeSlide:m,removeAllSlides:v,update:u})}function kM(t,e,n,r){return t.params.createElements&&Object.keys(r).forEach(o=>{if(!n[o]&&n.auto===!0){let a=wa(t.el,`.${r[o]}`)[0];a||(a=Ru("div",r[o]),a.className=r[o],t.el.append(a)),n[o]=a,e[o]=a}}),n}function Gne(t){let{swiper:e,extendParams:n,on:r,emit:o}=t;n({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,prevEl:null};function a(g){let w;return g&&typeof g=="string"&&e.isElement&&(w=e.el.querySelector(g)||e.hostEl.querySelector(g),w)?w:(g&&(typeof g=="string"&&(w=[...document.querySelectorAll(g)]),e.params.uniqueNavElements&&typeof g=="string"&&w&&w.length>1&&e.el.querySelectorAll(g).length===1?w=e.el.querySelector(g):w&&w.length===1&&(w=w[0])),g&&!w?g:w)}function i(g,w){const y=e.params.navigation;g=dr(g),g.forEach(_=>{_&&(_.classList[w?"add":"remove"](...y.disabledClass.split(" ")),_.tagName==="BUTTON"&&(_.disabled=w),e.params.watchOverflow&&e.enabled&&_.classList[e.isLocked?"add":"remove"](y.lockClass))})}function s(){const{nextEl:g,prevEl:w}=e.navigation;if(e.params.loop){i(w,!1),i(g,!1);return}i(w,e.isBeginning&&!e.params.rewind),i(g,e.isEnd&&!e.params.rewind)}function l(g){g.preventDefault(),!(e.isBeginning&&!e.params.loop&&!e.params.rewind)&&(e.slidePrev(),o("navigationPrev"))}function u(g){g.preventDefault(),!(e.isEnd&&!e.params.loop&&!e.params.rewind)&&(e.slideNext(),o("navigationNext"))}function d(){const g=e.params.navigation;if(e.params.navigation=kM(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(g.nextEl||g.prevEl))return;let w=a(g.nextEl),y=a(g.prevEl);Object.assign(e.navigation,{nextEl:w,prevEl:y}),w=dr(w),y=dr(y);const _=(S,x)=>{S&&S.addEventListener("click",x==="next"?u:l),!e.enabled&&S&&S.classList.add(...g.lockClass.split(" "))};w.forEach(S=>_(S,"next")),y.forEach(S=>_(S,"prev"))}function f(){let{nextEl:g,prevEl:w}=e.navigation;g=dr(g),w=dr(w);const y=(_,S)=>{_.removeEventListener("click",S==="next"?u:l),_.classList.remove(...e.params.navigation.disabledClass.split(" "))};g.forEach(_=>y(_,"next")),w.forEach(_=>y(_,"prev"))}r("init",()=>{e.params.navigation.enabled===!1?v():(d(),s())}),r("toEdge fromEdge lock unlock",()=>{s()}),r("destroy",()=>{f()}),r("enable disable",()=>{let{nextEl:g,prevEl:w}=e.navigation;if(g=dr(g),w=dr(w),e.enabled){s();return}[...g,...w].filter(y=>!!y).forEach(y=>y.classList.add(e.params.navigation.lockClass))}),r("click",(g,w)=>{let{nextEl:y,prevEl:_}=e.navigation;y=dr(y),_=dr(_);const S=w.target;let x=_.includes(S)||y.includes(S);if(e.isElement&&!x){const C=w.path||w.composedPath&&w.composedPath();C&&(x=C.find(M=>y.includes(M)||_.includes(M)))}if(e.params.navigation.hideOnClick&&!x){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===S||e.pagination.el.contains(S)))return;let C;y.length?C=y[0].classList.contains(e.params.navigation.hiddenClass):_.length&&(C=_[0].classList.contains(e.params.navigation.hiddenClass)),o(C===!0?"navigationShow":"navigationHide"),[...y,..._].filter(M=>!!M).forEach(M=>M.classList.toggle(e.params.navigation.hiddenClass))}});const m=()=>{e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")),d(),s()},v=()=>{e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")),f()};Object.assign(e.navigation,{enable:m,disable:v,update:s,init:d,destroy:f})}function vd(t){return t===void 0&&(t=""),`.${t.trim().replace(/([\.:!+\/()[\]])/g,"\\$1").replace(/ /g,".")}`}function Kne(t){let{swiper:e,extendParams:n,on:r,emit:o}=t;const a="swiper-pagination";n({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:S=>S,formatFractionTotal:S=>S,bulletClass:`${a}-bullet`,bulletActiveClass:`${a}-bullet-active`,modifierClass:`${a}-`,currentClass:`${a}-current`,totalClass:`${a}-total`,hiddenClass:`${a}-hidden`,progressbarFillClass:`${a}-progressbar-fill`,progressbarOppositeClass:`${a}-progressbar-opposite`,clickableClass:`${a}-clickable`,lockClass:`${a}-lock`,horizontalClass:`${a}-horizontal`,verticalClass:`${a}-vertical`,paginationDisabledClass:`${a}-disabled`}}),e.pagination={el:null,bullets:[]};let i,s=0;function l(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&e.pagination.el.length===0}function u(S,x){const{bulletActiveClass:C}=e.params.pagination;S&&(S=S[`${x==="prev"?"previous":"next"}ElementSibling`],S&&(S.classList.add(`${C}-${x}`),S=S[`${x==="prev"?"previous":"next"}ElementSibling`],S&&S.classList.add(`${C}-${x}-${x}`)))}function d(S,x,C){if(S=S%C,x=x%C,x===S+1)return"next";if(x===S-1)return"previous"}function f(S){const x=S.target.closest(vd(e.params.pagination.bulletClass));if(!x)return;S.preventDefault();const C=q0(x)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===C)return;const M=d(e.realIndex,C,e.slides.length);M==="next"?e.slideNext():M==="previous"?e.slidePrev():e.slideToLoop(C)}else e.slideTo(C)}function m(){const S=e.rtl,x=e.params.pagination;if(l())return;let C=e.pagination.el;C=dr(C);let M,A;const O=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,D=e.params.loop?Math.ceil(O/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(A=e.previousRealIndex||0,M=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):typeof e.snapIndex<"u"?(M=e.snapIndex,A=e.previousSnapIndex):(A=e.previousIndex||0,M=e.activeIndex||0),x.type==="bullets"&&e.pagination.bullets&&e.pagination.bullets.length>0){const T=e.pagination.bullets;let R,$,P;if(x.dynamicBullets&&(i=Iv(T[0],e.isHorizontal()?"width":"height"),C.forEach(I=>{I.style[e.isHorizontal()?"width":"height"]=`${i*(x.dynamicMainBullets+4)}px`}),x.dynamicMainBullets>1&&A!==void 0&&(s+=M-(A||0),s>x.dynamicMainBullets-1?s=x.dynamicMainBullets-1:s<0&&(s=0)),R=Math.max(M-s,0),$=R+(Math.min(T.length,x.dynamicMainBullets)-1),P=($+R)/2),T.forEach(I=>{const L=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(V=>`${x.bulletActiveClass}${V}`)].map(V=>typeof V=="string"&&V.includes(" ")?V.split(" "):V).flat();I.classList.remove(...L)}),C.length>1)T.forEach(I=>{const L=q0(I);L===M?I.classList.add(...x.bulletActiveClass.split(" ")):e.isElement&&I.setAttribute("part","bullet"),x.dynamicBullets&&(L>=R&&L<=$&&I.classList.add(...`${x.bulletActiveClass}-main`.split(" ")),L===R&&u(I,"prev"),L===$&&u(I,"next"))});else{const I=T[M];if(I&&I.classList.add(...x.bulletActiveClass.split(" ")),e.isElement&&T.forEach((L,V)=>{L.setAttribute("part",V===M?"bullet-active":"bullet")}),x.dynamicBullets){const L=T[R],V=T[$];for(let F=R;F<=$;F+=1)T[F]&&T[F].classList.add(...`${x.bulletActiveClass}-main`.split(" "));u(L,"prev"),u(V,"next")}}if(x.dynamicBullets){const I=Math.min(T.length,x.dynamicMainBullets+4),L=(i*I-i)/2-P*i,V=S?"right":"left";T.forEach(F=>{F.style[e.isHorizontal()?V:"top"]=`${L}px`})}}C.forEach((T,R)=>{if(x.type==="fraction"&&(T.querySelectorAll(vd(x.currentClass)).forEach($=>{$.textContent=x.formatFractionCurrent(M+1)}),T.querySelectorAll(vd(x.totalClass)).forEach($=>{$.textContent=x.formatFractionTotal(D)})),x.type==="progressbar"){let $;x.progressbarOpposite?$=e.isHorizontal()?"vertical":"horizontal":$=e.isHorizontal()?"horizontal":"vertical";const P=(M+1)/D;let I=1,L=1;$==="horizontal"?I=P:L=P,T.querySelectorAll(vd(x.progressbarFillClass)).forEach(V=>{V.style.transform=`translate3d(0,0,0) scaleX(${I}) scaleY(${L})`,V.style.transitionDuration=`${e.params.speed}ms`})}x.type==="custom"&&x.renderCustom?(Tu(T,x.renderCustom(e,M+1,D)),R===0&&o("paginationRender",T)):(R===0&&o("paginationRender",T),o("paginationUpdate",T)),e.params.watchOverflow&&e.enabled&&T.classList[e.isLocked?"add":"remove"](x.lockClass)})}function v(){const S=e.params.pagination;if(l())return;const x=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length;let C=e.pagination.el;C=dr(C);let M="";if(S.type==="bullets"){let A=e.params.loop?Math.ceil(x/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&A>x&&(A=x);for(let O=0;O<A;O+=1)S.renderBullet?M+=S.renderBullet.call(e,O,S.bulletClass):M+=`<${S.bulletElement} ${e.isElement?'part="bullet"':""} class="${S.bulletClass}"></${S.bulletElement}>`}S.type==="fraction"&&(S.renderFraction?M=S.renderFraction.call(e,S.currentClass,S.totalClass):M=`<span class="${S.currentClass}"></span> / <span class="${S.totalClass}"></span>`),S.type==="progressbar"&&(S.renderProgressbar?M=S.renderProgressbar.call(e,S.progressbarFillClass):M=`<span class="${S.progressbarFillClass}"></span>`),e.pagination.bullets=[],C.forEach(A=>{S.type!=="custom"&&Tu(A,M||""),S.type==="bullets"&&e.pagination.bullets.push(...A.querySelectorAll(vd(S.bulletClass)))}),S.type!=="custom"&&o("paginationRender",C[0])}function g(){e.params.pagination=kM(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const S=e.params.pagination;if(!S.el)return;let x;typeof S.el=="string"&&e.isElement&&(x=e.el.querySelector(S.el)),!x&&typeof S.el=="string"&&(x=[...document.querySelectorAll(S.el)]),x||(x=S.el),!(!x||x.length===0)&&(e.params.uniqueNavElements&&typeof S.el=="string"&&Array.isArray(x)&&x.length>1&&(x=[...e.el.querySelectorAll(S.el)],x.length>1&&(x=x.find(C=>MM(C,".swiper")[0]===e.el))),Array.isArray(x)&&x.length===1&&(x=x[0]),Object.assign(e.pagination,{el:x}),x=dr(x),x.forEach(C=>{S.type==="bullets"&&S.clickable&&C.classList.add(...(S.clickableClass||"").split(" ")),C.classList.add(S.modifierClass+S.type),C.classList.add(e.isHorizontal()?S.horizontalClass:S.verticalClass),S.type==="bullets"&&S.dynamicBullets&&(C.classList.add(`${S.modifierClass}${S.type}-dynamic`),s=0,S.dynamicMainBullets<1&&(S.dynamicMainBullets=1)),S.type==="progressbar"&&S.progressbarOpposite&&C.classList.add(S.progressbarOppositeClass),S.clickable&&C.addEventListener("click",f),e.enabled||C.classList.add(S.lockClass)}))}function w(){const S=e.params.pagination;if(l())return;let x=e.pagination.el;x&&(x=dr(x),x.forEach(C=>{C.classList.remove(S.hiddenClass),C.classList.remove(S.modifierClass+S.type),C.classList.remove(e.isHorizontal()?S.horizontalClass:S.verticalClass),S.clickable&&(C.classList.remove(...(S.clickableClass||"").split(" ")),C.removeEventListener("click",f))})),e.pagination.bullets&&e.pagination.bullets.forEach(C=>C.classList.remove(...S.bulletActiveClass.split(" ")))}r("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const S=e.params.pagination;let{el:x}=e.pagination;x=dr(x),x.forEach(C=>{C.classList.remove(S.horizontalClass,S.verticalClass),C.classList.add(e.isHorizontal()?S.horizontalClass:S.verticalClass)})}),r("init",()=>{e.params.pagination.enabled===!1?_():(g(),v(),m())}),r("activeIndexChange",()=>{typeof e.snapIndex>"u"&&m()}),r("snapIndexChange",()=>{m()}),r("snapGridLengthChange",()=>{v(),m()}),r("destroy",()=>{w()}),r("enable disable",()=>{let{el:S}=e.pagination;S&&(S=dr(S),S.forEach(x=>x.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),r("lock unlock",()=>{m()}),r("click",(S,x)=>{const C=x.target,M=dr(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&M&&M.length>0&&!C.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&C===e.navigation.nextEl||e.navigation.prevEl&&C===e.navigation.prevEl))return;const A=M[0].classList.contains(e.params.pagination.hiddenClass);o(A===!0?"paginationShow":"paginationHide"),M.forEach(O=>O.classList.toggle(e.params.pagination.hiddenClass))}});const y=()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:S}=e.pagination;S&&(S=dr(S),S.forEach(x=>x.classList.remove(e.params.pagination.paginationDisabledClass))),g(),v(),m()},_=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:S}=e.pagination;S&&(S=dr(S),S.forEach(x=>x.classList.add(e.params.pagination.paginationDisabledClass))),w()};Object.assign(e.pagination,{enable:y,disable:_,render:v,update:m,init:g,destroy:w})}function Xne(t){let{swiper:e,extendParams:n,emit:r,once:o}=t;n({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}});function a(){if(e.params.cssMode)return;const l=e.getTranslate();e.setTranslate(l),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})}function i(){if(e.params.cssMode)return;const{touchEventsData:l,touches:u}=e;l.velocities.length===0&&l.velocities.push({position:u[e.isHorizontal()?"startX":"startY"],time:l.touchStartTime}),l.velocities.push({position:u[e.isHorizontal()?"currentX":"currentY"],time:zl()})}function s(l){let{currentPos:u}=l;if(e.params.cssMode)return;const{params:d,wrapperEl:f,rtlTranslate:m,snapGrid:v,touchEventsData:g}=e,y=zl()-g.touchStartTime;if(u<-e.minTranslate()){e.slideTo(e.activeIndex);return}if(u>-e.maxTranslate()){e.slides.length<v.length?e.slideTo(v.length-1):e.slideTo(e.slides.length-1);return}if(d.freeMode.momentum){if(g.velocities.length>1){const D=g.velocities.pop(),T=g.velocities.pop(),R=D.position-T.position,$=D.time-T.time;e.velocity=R/$,e.velocity/=2,Math.abs(e.velocity)<d.freeMode.minimumVelocity&&(e.velocity=0),($>150||zl()-D.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=d.freeMode.momentumVelocityRatio,g.velocities.length=0;let _=1e3*d.freeMode.momentumRatio;const S=e.velocity*_;let x=e.translate+S;m&&(x=-x);let C=!1,M;const A=Math.abs(e.velocity)*20*d.freeMode.momentumBounceRatio;let O;if(x<e.maxTranslate())d.freeMode.momentumBounce?(x+e.maxTranslate()<-A&&(x=e.maxTranslate()-A),M=e.maxTranslate(),C=!0,g.allowMomentumBounce=!0):x=e.maxTranslate(),d.loop&&d.centeredSlides&&(O=!0);else if(x>e.minTranslate())d.freeMode.momentumBounce?(x-e.minTranslate()>A&&(x=e.minTranslate()+A),M=e.minTranslate(),C=!0,g.allowMomentumBounce=!0):x=e.minTranslate(),d.loop&&d.centeredSlides&&(O=!0);else if(d.freeMode.sticky){let D;for(let T=0;T<v.length;T+=1)if(v[T]>-x){D=T;break}Math.abs(v[D]-x)<Math.abs(v[D-1]-x)||e.swipeDirection==="next"?x=v[D]:x=v[D-1],x=-x}if(O&&o("transitionEnd",()=>{e.loopFix()}),e.velocity!==0){if(m?_=Math.abs((-x-e.translate)/e.velocity):_=Math.abs((x-e.translate)/e.velocity),d.freeMode.sticky){const D=Math.abs((m?-x:x)-e.translate),T=e.slidesSizesGrid[e.activeIndex];D<T?_=d.speed:D<2*T?_=d.speed*1.5:_=d.speed*2.5}}else if(d.freeMode.sticky){e.slideToClosest();return}d.freeMode.momentumBounce&&C?(e.updateProgress(M),e.setTransition(_),e.setTranslate(x),e.transitionStart(!0,e.swipeDirection),e.animating=!0,r0(f,()=>{!e||e.destroyed||!g.allowMomentumBounce||(r("momentumBounce"),e.setTransition(d.speed),setTimeout(()=>{e.setTranslate(M),r0(f,()=>{!e||e.destroyed||e.transitionEnd()})},0))})):e.velocity?(r("_freeModeNoMomentumRelease"),e.updateProgress(x),e.setTransition(_),e.setTranslate(x),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,r0(f,()=>{!e||e.destroyed||e.transitionEnd()}))):e.updateProgress(x),e.updateActiveIndex(),e.updateSlidesClasses()}else if(d.freeMode.sticky){e.slideToClosest();return}else d.freeMode&&r("_freeModeNoMomentumRelease");(!d.freeMode.momentum||y>=d.longSwipesMs)&&(r("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}Object.assign(e,{freeMode:{onTouchStart:a,onTouchMove:i,onTouchEnd:s}})}function Zne(t){const{effect:e,swiper:n,on:r,setTranslate:o,setTransition:a,overwriteParams:i,perspective:s,recreateShadows:l,getEffectParams:u}=t;r("beforeInit",()=>{if(n.params.effect!==e)return;n.classNames.push(`${n.params.containerModifierClass}${e}`),s&&s()&&n.classNames.push(`${n.params.containerModifierClass}3d`);const f=i?i():{};Object.assign(n.params,f),Object.assign(n.originalParams,f)}),r("setTranslate _virtualUpdated",()=>{n.params.effect===e&&o()}),r("setTransition",(f,m)=>{n.params.effect===e&&a(m)}),r("transitionEnd",()=>{if(n.params.effect===e&&l){if(!u||!u().slideShadows)return;n.slides.forEach(f=>{f.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(m=>m.remove())}),l()}});let d;r("virtualUpdate",()=>{n.params.effect===e&&(n.slides.length||(d=!0),requestAnimationFrame(()=>{d&&n.slides&&n.slides.length&&(o(),d=!1)}))})}function Qne(t,e){const n=EM(e);return n!==e&&(n.style.backfaceVisibility="hidden",n.style["-webkit-backface-visibility"]="hidden"),n}function Jne(t){let{swiper:e,duration:n,transformElements:r}=t;const{activeIndex:o}=e;if(e.params.virtualTranslate&&n!==0){let a=!1,i;i=r,i.forEach(s=>{r0(s,()=>{if(a||!e||e.destroyed)return;a=!0,e.animating=!1;const l=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});e.wrapperEl.dispatchEvent(l)})})}}function ere(t){let{swiper:e,extendParams:n,on:r}=t;n({fadeEffect:{crossFade:!1}}),Zne({effect:"fade",swiper:e,on:r,setTranslate:()=>{const{slides:i}=e,s=e.params.fadeEffect;for(let l=0;l<i.length;l+=1){const u=e.slides[l];let f=-u.swiperSlideOffset;e.params.virtualTranslate||(f-=e.translate);let m=0;e.isHorizontal()||(m=f,f=0);const v=e.params.fadeEffect.crossFade?Math.max(1-Math.abs(u.progress),0):1+Math.min(Math.max(u.progress,-1),0),g=Qne(s,u);g.style.opacity=v,g.style.transform=`translate3d(${f}px, ${m}px, 0px)`}},setTransition:i=>{const s=e.slides.map(l=>EM(l));s.forEach(l=>{l.style.transitionDuration=`${i}ms`}),Jne({swiper:e,duration:i,transformElements:s})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})}let qg;function tre(){const t=qr(),e=Qs();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}}function RM(){return qg||(qg=tre()),qg}let Ug;function nre(t){let{userAgent:e}=t===void 0?{}:t;const n=RM(),r=qr(),o=r.navigator.platform,a=e||r.navigator.userAgent,i={ios:!1,android:!1},s=r.screen.width,l=r.screen.height,u=a.match(/(Android);?[\s\/]+([\d.]+)?/);let d=a.match(/(iPad).*OS\s([\d_]+)/);const f=a.match(/(iPod)(.*OS\s([\d_]+))?/),m=!d&&a.match(/(iPhone\sOS|iOS)\s([\d_]+)/),v=o==="Win32";let g=o==="MacIntel";const w=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!d&&g&&n.touch&&w.indexOf(`${s}x${l}`)>=0&&(d=a.match(/(Version)\/([\d.]+)/),d||(d=[0,1,"13_0_0"]),g=!1),u&&!v&&(i.os="android",i.android=!0),(d||m||f)&&(i.os="ios",i.ios=!0),i}function TM(t){return t===void 0&&(t={}),Ug||(Ug=nre(t)),Ug}let Yg;function rre(){const t=qr(),e=TM();let n=!1;function r(){const s=t.navigator.userAgent.toLowerCase();return s.indexOf("safari")>=0&&s.indexOf("chrome")<0&&s.indexOf("android")<0}if(r()){const s=String(t.navigator.userAgent);if(s.includes("Version/")){const[l,u]=s.split("Version/")[1].split(" ")[0].split(".").map(d=>Number(d));n=l<16||l===16&&u<2}}const o=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent),a=r(),i=a||o&&e.ios;return{isSafari:n||a,needPerspectiveFix:n,need3dFix:i,isWebView:o}}function NM(){return Yg||(Yg=rre()),Yg}function ore(t){let{swiper:e,on:n,emit:r}=t;const o=qr();let a=null,i=null;const s=()=>{!e||e.destroyed||!e.initialized||(r("beforeResize"),r("resize"))},l=()=>{!e||e.destroyed||!e.initialized||(a=new ResizeObserver(f=>{i=o.requestAnimationFrame(()=>{const{width:m,height:v}=e;let g=m,w=v;f.forEach(y=>{let{contentBoxSize:_,contentRect:S,target:x}=y;x&&x!==e.el||(g=S?S.width:(_[0]||_).inlineSize,w=S?S.height:(_[0]||_).blockSize)}),(g!==m||w!==v)&&s()})}),a.observe(e.el))},u=()=>{i&&o.cancelAnimationFrame(i),a&&a.unobserve&&e.el&&(a.unobserve(e.el),a=null)},d=()=>{!e||e.destroyed||!e.initialized||r("orientationchange")};n("init",()=>{if(e.params.resizeObserver&&typeof o.ResizeObserver<"u"){l();return}o.addEventListener("resize",s),o.addEventListener("orientationchange",d)}),n("destroy",()=>{u(),o.removeEventListener("resize",s),o.removeEventListener("orientationchange",d)})}function are(t){let{swiper:e,extendParams:n,on:r,emit:o}=t;const a=[],i=qr(),s=function(d,f){f===void 0&&(f={});const m=i.MutationObserver||i.WebkitMutationObserver,v=new m(g=>{if(e.__preventObserver__)return;if(g.length===1){o("observerUpdate",g[0]);return}const w=function(){o("observerUpdate",g[0])};i.requestAnimationFrame?i.requestAnimationFrame(w):i.setTimeout(w,0)});v.observe(d,{attributes:typeof f.attributes>"u"?!0:f.attributes,childList:e.isElement||(typeof f.childList>"u"?!0:f).childList,characterData:typeof f.characterData>"u"?!0:f.characterData}),a.push(v)},l=()=>{if(e.params.observer){if(e.params.observeParents){const d=MM(e.hostEl);for(let f=0;f<d.length;f+=1)s(d[f])}s(e.hostEl,{childList:e.params.observeSlideChildren}),s(e.wrapperEl,{attributes:!1})}},u=()=>{a.forEach(d=>{d.disconnect()}),a.splice(0,a.length)};n({observer:!1,observeParents:!1,observeSlideChildren:!1}),r("init",l),r("destroy",u)}var ire={on(t,e,n){const r=this;if(!r.eventsListeners||r.destroyed||typeof e!="function")return r;const o=n?"unshift":"push";return t.split(" ").forEach(a=>{r.eventsListeners[a]||(r.eventsListeners[a]=[]),r.eventsListeners[a][o](e)}),r},once(t,e,n){const r=this;if(!r.eventsListeners||r.destroyed||typeof e!="function")return r;function o(){r.off(t,o),o.__emitterProxy&&delete o.__emitterProxy;for(var a=arguments.length,i=new Array(a),s=0;s<a;s++)i[s]=arguments[s];e.apply(r,i)}return o.__emitterProxy=e,r.on(t,o,n)},onAny(t,e){const n=this;if(!n.eventsListeners||n.destroyed||typeof t!="function")return n;const r=e?"unshift":"push";return n.eventsAnyListeners.indexOf(t)<0&&n.eventsAnyListeners[r](t),n},offAny(t){const e=this;if(!e.eventsListeners||e.destroyed||!e.eventsAnyListeners)return e;const n=e.eventsAnyListeners.indexOf(t);return n>=0&&e.eventsAnyListeners.splice(n,1),e},off(t,e){const n=this;return!n.eventsListeners||n.destroyed||!n.eventsListeners||t.split(" ").forEach(r=>{typeof e>"u"?n.eventsListeners[r]=[]:n.eventsListeners[r]&&n.eventsListeners[r].forEach((o,a)=>{(o===e||o.__emitterProxy&&o.__emitterProxy===e)&&n.eventsListeners[r].splice(a,1)})}),n},emit(){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsListeners)return t;let e,n,r;for(var o=arguments.length,a=new Array(o),i=0;i<o;i++)a[i]=arguments[i];return typeof a[0]=="string"||Array.isArray(a[0])?(e=a[0],n=a.slice(1,a.length),r=t):(e=a[0].events,n=a[0].data,r=a[0].context||t),n.unshift(r),(Array.isArray(e)?e:e.split(" ")).forEach(l=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(u=>{u.apply(r,[l,...n])}),t.eventsListeners&&t.eventsListeners[l]&&t.eventsListeners[l].forEach(u=>{u.apply(r,n)})}),t}};function sre(){const t=this;let e,n;const r=t.el;typeof t.params.width<"u"&&t.params.width!==null?e=t.params.width:e=r.clientWidth,typeof t.params.height<"u"&&t.params.height!==null?n=t.params.height:n=r.clientHeight,!(e===0&&t.isHorizontal()||n===0&&t.isVertical())&&(e=e-parseInt($s(r,"padding-left")||0,10)-parseInt($s(r,"padding-right")||0,10),n=n-parseInt($s(r,"padding-top")||0,10)-parseInt($s(r,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(n)&&(n=0),Object.assign(t,{width:e,height:n,size:t.isHorizontal()?e:n}))}function lre(){const t=this;function e(R,$){return parseFloat(R.getPropertyValue(t.getDirectionLabel($))||0)}const n=t.params,{wrapperEl:r,slidesEl:o,size:a,rtlTranslate:i,wrongRTL:s}=t,l=t.virtual&&n.virtual.enabled,u=l?t.virtual.slides.length:t.slides.length,d=wa(o,`.${t.params.slideClass}, swiper-slide`),f=l?t.virtual.slides.length:d.length;let m=[];const v=[],g=[];let w=n.slidesOffsetBefore;typeof w=="function"&&(w=n.slidesOffsetBefore.call(t));let y=n.slidesOffsetAfter;typeof y=="function"&&(y=n.slidesOffsetAfter.call(t));const _=t.snapGrid.length,S=t.slidesGrid.length;let x=n.spaceBetween,C=-w,M=0,A=0;if(typeof a>"u")return;typeof x=="string"&&x.indexOf("%")>=0?x=parseFloat(x.replace("%",""))/100*a:typeof x=="string"&&(x=parseFloat(x)),t.virtualSize=-x,d.forEach(R=>{i?R.style.marginLeft="":R.style.marginRight="",R.style.marginBottom="",R.style.marginTop=""}),n.centeredSlides&&n.cssMode&&(Gd(r,"--swiper-centered-offset-before",""),Gd(r,"--swiper-centered-offset-after",""));const O=n.grid&&n.grid.rows>1&&t.grid;O?t.grid.initSlides(d):t.grid&&t.grid.unsetSlides();let D;const T=n.slidesPerView==="auto"&&n.breakpoints&&Object.keys(n.breakpoints).filter(R=>typeof n.breakpoints[R].slidesPerView<"u").length>0;for(let R=0;R<f;R+=1){D=0;let $;if(d[R]&&($=d[R]),O&&t.grid.updateSlide(R,$,d),!(d[R]&&$s($,"display")==="none")){if(n.slidesPerView==="auto"){T&&(d[R].style[t.getDirectionLabel("width")]="");const P=getComputedStyle($),I=$.style.transform,L=$.style.webkitTransform;if(I&&($.style.transform="none"),L&&($.style.webkitTransform="none"),n.roundLengths)D=t.isHorizontal()?Iv($,"width"):Iv($,"height");else{const V=e(P,"width"),F=e(P,"padding-left"),z=e(P,"padding-right"),B=e(P,"margin-left"),Y=e(P,"margin-right"),U=P.getPropertyValue("box-sizing");if(U&&U==="border-box")D=V+B+Y;else{const{clientWidth:le,offsetWidth:J}=$;D=V+F+z+B+Y+(J-le)}}I&&($.style.transform=I),L&&($.style.webkitTransform=L),n.roundLengths&&(D=Math.floor(D))}else D=(a-(n.slidesPerView-1)*x)/n.slidesPerView,n.roundLengths&&(D=Math.floor(D)),d[R]&&(d[R].style[t.getDirectionLabel("width")]=`${D}px`);d[R]&&(d[R].swiperSlideSize=D),g.push(D),n.centeredSlides?(C=C+D/2+M/2+x,M===0&&R!==0&&(C=C-a/2-x),R===0&&(C=C-a/2-x),Math.abs(C)<1/1e3&&(C=0),n.roundLengths&&(C=Math.floor(C)),A%n.slidesPerGroup===0&&m.push(C),v.push(C)):(n.roundLengths&&(C=Math.floor(C)),(A-Math.min(t.params.slidesPerGroupSkip,A))%t.params.slidesPerGroup===0&&m.push(C),v.push(C),C=C+D+x),t.virtualSize+=D+x,M=D,A+=1}}if(t.virtualSize=Math.max(t.virtualSize,a)+y,i&&s&&(n.effect==="slide"||n.effect==="coverflow")&&(r.style.width=`${t.virtualSize+x}px`),n.setWrapperSize&&(r.style[t.getDirectionLabel("width")]=`${t.virtualSize+x}px`),O&&t.grid.updateWrapperSize(D,m),!n.centeredSlides){const R=[];for(let $=0;$<m.length;$+=1){let P=m[$];n.roundLengths&&(P=Math.floor(P)),m[$]<=t.virtualSize-a&&R.push(P)}m=R,Math.floor(t.virtualSize-a)-Math.floor(m[m.length-1])>1&&m.push(t.virtualSize-a)}if(l&&n.loop){const R=g[0]+x;if(n.slidesPerGroup>1){const $=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/n.slidesPerGroup),P=R*n.slidesPerGroup;for(let I=0;I<$;I+=1)m.push(m[m.length-1]+P)}for(let $=0;$<t.virtual.slidesBefore+t.virtual.slidesAfter;$+=1)n.slidesPerGroup===1&&m.push(m[m.length-1]+R),v.push(v[v.length-1]+R),t.virtualSize+=R}if(m.length===0&&(m=[0]),x!==0){const R=t.isHorizontal()&&i?"marginLeft":t.getDirectionLabel("marginRight");d.filter(($,P)=>!n.cssMode||n.loop?!0:P!==d.length-1).forEach($=>{$.style[R]=`${x}px`})}if(n.centeredSlides&&n.centeredSlidesBounds){let R=0;g.forEach(P=>{R+=P+(x||0)}),R-=x;const $=R>a?R-a:0;m=m.map(P=>P<=0?-w:P>$?$+y:P)}if(n.centerInsufficientSlides){let R=0;g.forEach(P=>{R+=P+(x||0)}),R-=x;const $=(n.slidesOffsetBefore||0)+(n.slidesOffsetAfter||0);if(R+$<a){const P=(a-R-$)/2;m.forEach((I,L)=>{m[L]=I-P}),v.forEach((I,L)=>{v[L]=I+P})}}if(Object.assign(t,{slides:d,snapGrid:m,slidesGrid:v,slidesSizesGrid:g}),n.centeredSlides&&n.cssMode&&!n.centeredSlidesBounds){Gd(r,"--swiper-centered-offset-before",`${-m[0]}px`),Gd(r,"--swiper-centered-offset-after",`${t.size/2-g[g.length-1]/2}px`);const R=-t.snapGrid[0],$=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(P=>P+R),t.slidesGrid=t.slidesGrid.map(P=>P+$)}if(f!==u&&t.emit("slidesLengthChange"),m.length!==_&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),v.length!==S&&t.emit("slidesGridLengthChange"),n.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!l&&!n.cssMode&&(n.effect==="slide"||n.effect==="fade")){const R=`${n.containerModifierClass}backface-hidden`,$=t.el.classList.contains(R);f<=n.maxBackfaceHiddenSlides?$||t.el.classList.add(R):$&&t.el.classList.remove(R)}}function cre(t){const e=this,n=[],r=e.virtual&&e.params.virtual.enabled;let o=0,a;typeof t=="number"?e.setTransition(t):t===!0&&e.setTransition(e.params.speed);const i=s=>r?e.slides[e.getSlideIndexByData(s)]:e.slides[s];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(s=>{n.push(s)});else for(a=0;a<Math.ceil(e.params.slidesPerView);a+=1){const s=e.activeIndex+a;if(s>e.slides.length&&!r)break;n.push(i(s))}else n.push(i(e.activeIndex));for(a=0;a<n.length;a+=1)if(typeof n[a]<"u"){const s=n[a].offsetHeight;o=s>o?s:o}(o||o===0)&&(e.wrapperEl.style.height=`${o}px`)}function ure(){const t=this,e=t.slides,n=t.isElement?t.isHorizontal()?t.wrapperEl.offsetLeft:t.wrapperEl.offsetTop:0;for(let r=0;r<e.length;r+=1)e[r].swiperSlideOffset=(t.isHorizontal()?e[r].offsetLeft:e[r].offsetTop)-n-t.cssOverflowAdjustment()}const k5=(t,e,n)=>{e&&!t.classList.contains(n)?t.classList.add(n):!e&&t.classList.contains(n)&&t.classList.remove(n)};function dre(t){t===void 0&&(t=this&&this.translate||0);const e=this,n=e.params,{slides:r,rtlTranslate:o,snapGrid:a}=e;if(r.length===0)return;typeof r[0].swiperSlideOffset>"u"&&e.updateSlidesOffset();let i=-t;o&&(i=t),e.visibleSlidesIndexes=[],e.visibleSlides=[];let s=n.spaceBetween;typeof s=="string"&&s.indexOf("%")>=0?s=parseFloat(s.replace("%",""))/100*e.size:typeof s=="string"&&(s=parseFloat(s));for(let l=0;l<r.length;l+=1){const u=r[l];let d=u.swiperSlideOffset;n.cssMode&&n.centeredSlides&&(d-=r[0].swiperSlideOffset);const f=(i+(n.centeredSlides?e.minTranslate():0)-d)/(u.swiperSlideSize+s),m=(i-a[0]+(n.centeredSlides?e.minTranslate():0)-d)/(u.swiperSlideSize+s),v=-(i-d),g=v+e.slidesSizesGrid[l],w=v>=0&&v<=e.size-e.slidesSizesGrid[l],y=v>=0&&v<e.size-1||g>1&&g<=e.size||v<=0&&g>=e.size;y&&(e.visibleSlides.push(u),e.visibleSlidesIndexes.push(l)),k5(u,y,n.slideVisibleClass),k5(u,w,n.slideFullyVisibleClass),u.progress=o?-f:f,u.originalProgress=o?-m:m}}function fre(t){const e=this;if(typeof t>"u"){const d=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*d||0}const n=e.params,r=e.maxTranslate()-e.minTranslate();let{progress:o,isBeginning:a,isEnd:i,progressLoop:s}=e;const l=a,u=i;if(r===0)o=0,a=!0,i=!0;else{o=(t-e.minTranslate())/r;const d=Math.abs(t-e.minTranslate())<1,f=Math.abs(t-e.maxTranslate())<1;a=d||o<=0,i=f||o>=1,d&&(o=0),f&&(o=1)}if(n.loop){const d=e.getSlideIndexByData(0),f=e.getSlideIndexByData(e.slides.length-1),m=e.slidesGrid[d],v=e.slidesGrid[f],g=e.slidesGrid[e.slidesGrid.length-1],w=Math.abs(t);w>=m?s=(w-m)/g:s=(w+g-v)/g,s>1&&(s-=1)}Object.assign(e,{progress:o,progressLoop:s,isBeginning:a,isEnd:i}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&e.updateSlidesProgress(t),a&&!l&&e.emit("reachBeginning toEdge"),i&&!u&&e.emit("reachEnd toEdge"),(l&&!a||u&&!i)&&e.emit("fromEdge"),e.emit("progress",o)}const Gg=(t,e,n)=>{e&&!t.classList.contains(n)?t.classList.add(n):!e&&t.classList.contains(n)&&t.classList.remove(n)};function pre(){const t=this,{slides:e,params:n,slidesEl:r,activeIndex:o}=t,a=t.virtual&&n.virtual.enabled,i=t.grid&&n.grid&&n.grid.rows>1,s=f=>wa(r,`.${n.slideClass}${f}, swiper-slide${f}`)[0];let l,u,d;if(a)if(n.loop){let f=o-t.virtual.slidesBefore;f<0&&(f=t.virtual.slides.length+f),f>=t.virtual.slides.length&&(f-=t.virtual.slides.length),l=s(`[data-swiper-slide-index="${f}"]`)}else l=s(`[data-swiper-slide-index="${o}"]`);else i?(l=e.find(f=>f.column===o),d=e.find(f=>f.column===o+1),u=e.find(f=>f.column===o-1)):l=e[o];l&&(i||(d=Une(l,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!d&&(d=e[0]),u=qne(l,`.${n.slideClass}, swiper-slide`)[0],n.loop&&!u===0&&(u=e[e.length-1]))),e.forEach(f=>{Gg(f,f===l,n.slideActiveClass),Gg(f,f===d,n.slideNextClass),Gg(f,f===u,n.slidePrevClass)}),t.emitSlidesClasses()}const o0=(t,e)=>{if(!t||t.destroyed||!t.params)return;const n=()=>t.isElement?"swiper-slide":`.${t.params.slideClass}`,r=e.closest(n());if(r){let o=r.querySelector(`.${t.params.lazyPreloaderClass}`);!o&&t.isElement&&(r.shadowRoot?o=r.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{r.shadowRoot&&(o=r.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`),o&&o.remove())})),o&&o.remove()}},Kg=(t,e)=>{if(!t.slides[e])return;const n=t.slides[e].querySelector('[loading="lazy"]');n&&n.removeAttribute("loading")},Ov=t=>{if(!t||t.destroyed||!t.params)return;let e=t.params.lazyPreloadPrevNext;const n=t.slides.length;if(!n||!e||e<0)return;e=Math.min(e,n);const r=t.params.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(t.params.slidesPerView),o=t.activeIndex;if(t.params.grid&&t.params.grid.rows>1){const i=o,s=[i-e];s.push(...Array.from({length:e}).map((l,u)=>i+r+u)),t.slides.forEach((l,u)=>{s.includes(l.column)&&Kg(t,u)});return}const a=o+r-1;if(t.params.rewind||t.params.loop)for(let i=o-e;i<=a+e;i+=1){const s=(i%n+n)%n;(s<o||s>a)&&Kg(t,s)}else for(let i=Math.max(o-e,0);i<=Math.min(a+e,n-1);i+=1)i!==o&&(i>a||i<o)&&Kg(t,i)};function hre(t){const{slidesGrid:e,params:n}=t,r=t.rtlTranslate?t.translate:-t.translate;let o;for(let a=0;a<e.length;a+=1)typeof e[a+1]<"u"?r>=e[a]&&r<e[a+1]-(e[a+1]-e[a])/2?o=a:r>=e[a]&&r<e[a+1]&&(o=a+1):r>=e[a]&&(o=a);return n.normalizeSlideIndex&&(o<0||typeof o>"u")&&(o=0),o}function mre(t){const e=this,n=e.rtlTranslate?e.translate:-e.translate,{snapGrid:r,params:o,activeIndex:a,realIndex:i,snapIndex:s}=e;let l=t,u;const d=v=>{let g=v-e.virtual.slidesBefore;return g<0&&(g=e.virtual.slides.length+g),g>=e.virtual.slides.length&&(g-=e.virtual.slides.length),g};if(typeof l>"u"&&(l=hre(e)),r.indexOf(n)>=0)u=r.indexOf(n);else{const v=Math.min(o.slidesPerGroupSkip,l);u=v+Math.floor((l-v)/o.slidesPerGroup)}if(u>=r.length&&(u=r.length-1),l===a&&!e.params.loop){u!==s&&(e.snapIndex=u,e.emit("snapIndexChange"));return}if(l===a&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=d(l);return}const f=e.grid&&o.grid&&o.grid.rows>1;let m;if(e.virtual&&o.virtual.enabled&&o.loop)m=d(l);else if(f){const v=e.slides.find(w=>w.column===l);let g=parseInt(v.getAttribute("data-swiper-slide-index"),10);Number.isNaN(g)&&(g=Math.max(e.slides.indexOf(v),0)),m=Math.floor(g/o.grid.rows)}else if(e.slides[l]){const v=e.slides[l].getAttribute("data-swiper-slide-index");v?m=parseInt(v,10):m=l}else m=l;Object.assign(e,{previousSnapIndex:s,snapIndex:u,previousRealIndex:i,realIndex:m,previousIndex:a,activeIndex:l}),e.initialized&&Ov(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(i!==m&&e.emit("realIndexChange"),e.emit("slideChange"))}function gre(t,e){const n=this,r=n.params;let o=t.closest(`.${r.slideClass}, swiper-slide`);!o&&n.isElement&&e&&e.length>1&&e.includes(t)&&[...e.slice(e.indexOf(t)+1,e.length)].forEach(s=>{!o&&s.matches&&s.matches(`.${r.slideClass}, swiper-slide`)&&(o=s)});let a=!1,i;if(o){for(let s=0;s<n.slides.length;s+=1)if(n.slides[s]===o){a=!0,i=s;break}}if(o&&a)n.clickedSlide=o,n.virtual&&n.params.virtual.enabled?n.clickedIndex=parseInt(o.getAttribute("data-swiper-slide-index"),10):n.clickedIndex=i;else{n.clickedSlide=void 0,n.clickedIndex=void 0;return}r.slideToClickedSlide&&n.clickedIndex!==void 0&&n.clickedIndex!==n.activeIndex&&n.slideToClickedSlide()}var vre={updateSize:sre,updateSlides:lre,updateAutoHeight:cre,updateSlidesOffset:ure,updateSlidesProgress:dre,updateProgress:fre,updateSlidesClasses:pre,updateActiveIndex:mre,updateClickedSlide:gre};function wre(t){t===void 0&&(t=this.isHorizontal()?"x":"y");const e=this,{params:n,rtlTranslate:r,translate:o,wrapperEl:a}=e;if(n.virtualTranslate)return r?-o:o;if(n.cssMode)return o;let i=Vne(a,t);return i+=e.cssOverflowAdjustment(),r&&(i=-i),i||0}function bre(t,e){const n=this,{rtlTranslate:r,params:o,wrapperEl:a,progress:i}=n;let s=0,l=0;const u=0;n.isHorizontal()?s=r?-t:t:l=t,o.roundLengths&&(s=Math.floor(s),l=Math.floor(l)),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?s:l,o.cssMode?a[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-s:-l:o.virtualTranslate||(n.isHorizontal()?s-=n.cssOverflowAdjustment():l-=n.cssOverflowAdjustment(),a.style.transform=`translate3d(${s}px, ${l}px, ${u}px)`);let d;const f=n.maxTranslate()-n.minTranslate();f===0?d=0:d=(t-n.minTranslate())/f,d!==i&&n.updateProgress(t),n.emit("setTranslate",n.translate,e)}function yre(){return-this.snapGrid[0]}function _re(){return-this.snapGrid[this.snapGrid.length-1]}function xre(t,e,n,r,o){t===void 0&&(t=0),e===void 0&&(e=this.params.speed),n===void 0&&(n=!0),r===void 0&&(r=!0);const a=this,{params:i,wrapperEl:s}=a;if(a.animating&&i.preventInteractionOnTransition)return!1;const l=a.minTranslate(),u=a.maxTranslate();let d;if(r&&t>l?d=l:r&&t<u?d=u:d=t,a.updateProgress(d),i.cssMode){const f=a.isHorizontal();if(e===0)s[f?"scrollLeft":"scrollTop"]=-d;else{if(!a.support.smoothScroll)return CM({swiper:a,targetPosition:-d,side:f?"left":"top"}),!0;s.scrollTo({[f?"left":"top"]:-d,behavior:"smooth"})}return!0}return e===0?(a.setTransition(0),a.setTranslate(d),n&&(a.emit("beforeTransitionStart",e,o),a.emit("transitionEnd"))):(a.setTransition(e),a.setTranslate(d),n&&(a.emit("beforeTransitionStart",e,o),a.emit("transitionStart")),a.animating||(a.animating=!0,a.onTranslateToWrapperTransitionEnd||(a.onTranslateToWrapperTransitionEnd=function(m){!a||a.destroyed||m.target===this&&(a.wrapperEl.removeEventListener("transitionend",a.onTranslateToWrapperTransitionEnd),a.onTranslateToWrapperTransitionEnd=null,delete a.onTranslateToWrapperTransitionEnd,a.animating=!1,n&&a.emit("transitionEnd"))}),a.wrapperEl.addEventListener("transitionend",a.onTranslateToWrapperTransitionEnd))),!0}var Sre={getTranslate:wre,setTranslate:bre,minTranslate:yre,maxTranslate:_re,translateTo:xre};function Cre(t,e){const n=this;n.params.cssMode||(n.wrapperEl.style.transitionDuration=`${t}ms`,n.wrapperEl.style.transitionDelay=t===0?"0ms":""),n.emit("setTransition",t,e)}function PM(t){let{swiper:e,runCallbacks:n,direction:r,step:o}=t;const{activeIndex:a,previousIndex:i}=e;let s=r;s||(a>i?s="next":a<i?s="prev":s="reset"),e.emit(`transition${o}`),n&&s==="reset"?e.emit(`slideResetTransition${o}`):n&&a!==i&&(e.emit(`slideChangeTransition${o}`),s==="next"?e.emit(`slideNextTransition${o}`):e.emit(`slidePrevTransition${o}`))}function Ere(t,e){t===void 0&&(t=!0);const n=this,{params:r}=n;r.cssMode||(r.autoHeight&&n.updateAutoHeight(),PM({swiper:n,runCallbacks:t,direction:e,step:"Start"}))}function Mre(t,e){t===void 0&&(t=!0);const n=this,{params:r}=n;n.animating=!1,!r.cssMode&&(n.setTransition(0),PM({swiper:n,runCallbacks:t,direction:e,step:"End"}))}var kre={setTransition:Cre,transitionStart:Ere,transitionEnd:Mre};function Rre(t,e,n,r,o){t===void 0&&(t=0),n===void 0&&(n=!0),typeof t=="string"&&(t=parseInt(t,10));const a=this;let i=t;i<0&&(i=0);const{params:s,snapGrid:l,slidesGrid:u,previousIndex:d,activeIndex:f,rtlTranslate:m,wrapperEl:v,enabled:g}=a;if(!g&&!r&&!o||a.destroyed||a.animating&&s.preventInteractionOnTransition)return!1;typeof e>"u"&&(e=a.params.speed);const w=Math.min(a.params.slidesPerGroupSkip,i);let y=w+Math.floor((i-w)/a.params.slidesPerGroup);y>=l.length&&(y=l.length-1);const _=-l[y];if(s.normalizeSlideIndex)for(let O=0;O<u.length;O+=1){const D=-Math.floor(_*100),T=Math.floor(u[O]*100),R=Math.floor(u[O+1]*100);typeof u[O+1]<"u"?D>=T&&D<R-(R-T)/2?i=O:D>=T&&D<R&&(i=O+1):D>=T&&(i=O)}if(a.initialized&&i!==f&&(!a.allowSlideNext&&(m?_>a.translate&&_>a.minTranslate():_<a.translate&&_<a.minTranslate())||!a.allowSlidePrev&&_>a.translate&&_>a.maxTranslate()&&(f||0)!==i))return!1;i!==(d||0)&&n&&a.emit("beforeSlideChangeStart"),a.updateProgress(_);let S;i>f?S="next":i<f?S="prev":S="reset";const x=a.virtual&&a.params.virtual.enabled;if(!(x&&o)&&(m&&-_===a.translate||!m&&_===a.translate))return a.updateActiveIndex(i),s.autoHeight&&a.updateAutoHeight(),a.updateSlidesClasses(),s.effect!=="slide"&&a.setTranslate(_),S!=="reset"&&(a.transitionStart(n,S),a.transitionEnd(n,S)),!1;if(s.cssMode){const O=a.isHorizontal(),D=m?_:-_;if(e===0)x&&(a.wrapperEl.style.scrollSnapType="none",a._immediateVirtual=!0),x&&!a._cssModeVirtualInitialSet&&a.params.initialSlide>0?(a._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{v[O?"scrollLeft":"scrollTop"]=D})):v[O?"scrollLeft":"scrollTop"]=D,x&&requestAnimationFrame(()=>{a.wrapperEl.style.scrollSnapType="",a._immediateVirtual=!1});else{if(!a.support.smoothScroll)return CM({swiper:a,targetPosition:D,side:O?"left":"top"}),!0;v.scrollTo({[O?"left":"top"]:D,behavior:"smooth"})}return!0}const A=NM().isSafari;return x&&!o&&A&&a.isElement&&a.virtual.update(!1,!1,i),a.setTransition(e),a.setTranslate(_),a.updateActiveIndex(i),a.updateSlidesClasses(),a.emit("beforeTransitionStart",e,r),a.transitionStart(n,S),e===0?a.transitionEnd(n,S):a.animating||(a.animating=!0,a.onSlideToWrapperTransitionEnd||(a.onSlideToWrapperTransitionEnd=function(D){!a||a.destroyed||D.target===this&&(a.wrapperEl.removeEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.onSlideToWrapperTransitionEnd=null,delete a.onSlideToWrapperTransitionEnd,a.transitionEnd(n,S))}),a.wrapperEl.addEventListener("transitionend",a.onSlideToWrapperTransitionEnd)),!0}function Tre(t,e,n,r){t===void 0&&(t=0),n===void 0&&(n=!0),typeof t=="string"&&(t=parseInt(t,10));const o=this;if(o.destroyed)return;typeof e>"u"&&(e=o.params.speed);const a=o.grid&&o.params.grid&&o.params.grid.rows>1;let i=t;if(o.params.loop)if(o.virtual&&o.params.virtual.enabled)i=i+o.virtual.slidesBefore;else{let s;if(a){const m=i*o.params.grid.rows;s=o.slides.find(v=>v.getAttribute("data-swiper-slide-index")*1===m).column}else s=o.getSlideIndexByData(i);const l=a?Math.ceil(o.slides.length/o.params.grid.rows):o.slides.length,{centeredSlides:u}=o.params;let d=o.params.slidesPerView;d==="auto"?d=o.slidesPerViewDynamic():(d=Math.ceil(parseFloat(o.params.slidesPerView,10)),u&&d%2===0&&(d=d+1));let f=l-s<d;if(u&&(f=f||s<Math.ceil(d/2)),r&&u&&o.params.slidesPerView!=="auto"&&!a&&(f=!1),f){const m=u?s<o.activeIndex?"prev":"next":s-o.activeIndex-1<o.params.slidesPerView?"next":"prev";o.loopFix({direction:m,slideTo:!0,activeSlideIndex:m==="next"?s+1:s-l+1,slideRealIndex:m==="next"?o.realIndex:void 0})}if(a){const m=i*o.params.grid.rows;i=o.slides.find(v=>v.getAttribute("data-swiper-slide-index")*1===m).column}else i=o.getSlideIndexByData(i)}return requestAnimationFrame(()=>{o.slideTo(i,e,n,r)}),o}function Nre(t,e,n){e===void 0&&(e=!0);const r=this,{enabled:o,params:a,animating:i}=r;if(!o||r.destroyed)return r;typeof t>"u"&&(t=r.params.speed);let s=a.slidesPerGroup;a.slidesPerView==="auto"&&a.slidesPerGroup===1&&a.slidesPerGroupAuto&&(s=Math.max(r.slidesPerViewDynamic("current",!0),1));const l=r.activeIndex<a.slidesPerGroupSkip?1:s,u=r.virtual&&a.virtual.enabled;if(a.loop){if(i&&!u&&a.loopPreventsSliding)return!1;if(r.loopFix({direction:"next"}),r._clientLeft=r.wrapperEl.clientLeft,r.activeIndex===r.slides.length-1&&a.cssMode)return requestAnimationFrame(()=>{r.slideTo(r.activeIndex+l,t,e,n)}),!0}return a.rewind&&r.isEnd?r.slideTo(0,t,e,n):r.slideTo(r.activeIndex+l,t,e,n)}function Pre(t,e,n){e===void 0&&(e=!0);const r=this,{params:o,snapGrid:a,slidesGrid:i,rtlTranslate:s,enabled:l,animating:u}=r;if(!l||r.destroyed)return r;typeof t>"u"&&(t=r.params.speed);const d=r.virtual&&o.virtual.enabled;if(o.loop){if(u&&!d&&o.loopPreventsSliding)return!1;r.loopFix({direction:"prev"}),r._clientLeft=r.wrapperEl.clientLeft}const f=s?r.translate:-r.translate;function m(S){return S<0?-Math.floor(Math.abs(S)):Math.floor(S)}const v=m(f),g=a.map(S=>m(S)),w=o.freeMode&&o.freeMode.enabled;let y=a[g.indexOf(v)-1];if(typeof y>"u"&&(o.cssMode||w)){let S;a.forEach((x,C)=>{v>=x&&(S=C)}),typeof S<"u"&&(y=w?a[S]:a[S>0?S-1:S])}let _=0;if(typeof y<"u"&&(_=i.indexOf(y),_<0&&(_=r.activeIndex-1),o.slidesPerView==="auto"&&o.slidesPerGroup===1&&o.slidesPerGroupAuto&&(_=_-r.slidesPerViewDynamic("previous",!0)+1,_=Math.max(_,0))),o.rewind&&r.isBeginning){const S=r.params.virtual&&r.params.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1;return r.slideTo(S,t,e,n)}else if(o.loop&&r.activeIndex===0&&o.cssMode)return requestAnimationFrame(()=>{r.slideTo(_,t,e,n)}),!0;return r.slideTo(_,t,e,n)}function Are(t,e,n){e===void 0&&(e=!0);const r=this;if(!r.destroyed)return typeof t>"u"&&(t=r.params.speed),r.slideTo(r.activeIndex,t,e,n)}function Ire(t,e,n,r){e===void 0&&(e=!0),r===void 0&&(r=.5);const o=this;if(o.destroyed)return;typeof t>"u"&&(t=o.params.speed);let a=o.activeIndex;const i=Math.min(o.params.slidesPerGroupSkip,a),s=i+Math.floor((a-i)/o.params.slidesPerGroup),l=o.rtlTranslate?o.translate:-o.translate;if(l>=o.snapGrid[s]){const u=o.snapGrid[s],d=o.snapGrid[s+1];l-u>(d-u)*r&&(a+=o.params.slidesPerGroup)}else{const u=o.snapGrid[s-1],d=o.snapGrid[s];l-u<=(d-u)*r&&(a-=o.params.slidesPerGroup)}return a=Math.max(a,0),a=Math.min(a,o.slidesGrid.length-1),o.slideTo(a,t,e,n)}function Ore(){const t=this;if(t.destroyed)return;const{params:e,slidesEl:n}=t,r=e.slidesPerView==="auto"?t.slidesPerViewDynamic():e.slidesPerView;let o=t.getSlideIndexWhenGrid(t.clickedIndex),a;const i=t.isElement?"swiper-slide":`.${e.slideClass}`,s=t.grid&&t.params.grid&&t.params.grid.rows>1;if(e.loop){if(t.animating)return;a=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?t.slideToLoop(a):o>(s?(t.slides.length-r)/2-(t.params.grid.rows-1):t.slides.length-r)?(t.loopFix(),o=t.getSlideIndex(wa(n,`${i}[data-swiper-slide-index="${a}"]`)[0]),SM(()=>{t.slideTo(o)})):t.slideTo(o)}else t.slideTo(o)}var Lre={slideTo:Rre,slideToLoop:Tre,slideNext:Nre,slidePrev:Pre,slideReset:Are,slideToClosest:Ire,slideToClickedSlide:Ore};function $re(t,e){const n=this,{params:r,slidesEl:o}=n;if(!r.loop||n.virtual&&n.params.virtual.enabled)return;const a=()=>{wa(o,`.${r.slideClass}, swiper-slide`).forEach((v,g)=>{v.setAttribute("data-swiper-slide-index",g)})},i=()=>{const m=wa(o,`.${r.slideBlankClass}`);m.forEach(v=>{v.remove()}),m.length>0&&(n.recalcSlides(),n.updateSlides())},s=n.grid&&r.grid&&r.grid.rows>1;r.loopAddBlankSlides&&(r.slidesPerGroup>1||s)&&i();const l=r.slidesPerGroup*(s?r.grid.rows:1),u=n.slides.length%l!==0,d=s&&n.slides.length%r.grid.rows!==0,f=m=>{for(let v=0;v<m;v+=1){const g=n.isElement?Ru("swiper-slide",[r.slideBlankClass]):Ru("div",[r.slideClass,r.slideBlankClass]);n.slidesEl.append(g)}};if(u){if(r.loopAddBlankSlides){const m=l-n.slides.length%l;f(m),n.recalcSlides(),n.updateSlides()}else W0("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");a()}else if(d){if(r.loopAddBlankSlides){const m=r.grid.rows-n.slides.length%r.grid.rows;f(m),n.recalcSlides(),n.updateSlides()}else W0("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");a()}else a();n.loopFix({slideRealIndex:t,direction:r.centeredSlides?void 0:"next",initial:e})}function Dre(t){let{slideRealIndex:e,slideTo:n=!0,direction:r,setTranslate:o,activeSlideIndex:a,initial:i,byController:s,byMousewheel:l}=t===void 0?{}:t;const u=this;if(!u.params.loop)return;u.emit("beforeLoopFix");const{slides:d,allowSlidePrev:f,allowSlideNext:m,slidesEl:v,params:g}=u,{centeredSlides:w,initialSlide:y}=g;if(u.allowSlidePrev=!0,u.allowSlideNext=!0,u.virtual&&g.virtual.enabled){n&&(!g.centeredSlides&&u.snapIndex===0?u.slideTo(u.virtual.slides.length,0,!1,!0):g.centeredSlides&&u.snapIndex<g.slidesPerView?u.slideTo(u.virtual.slides.length+u.snapIndex,0,!1,!0):u.snapIndex===u.snapGrid.length-1&&u.slideTo(u.virtual.slidesBefore,0,!1,!0)),u.allowSlidePrev=f,u.allowSlideNext=m,u.emit("loopFix");return}let _=g.slidesPerView;_==="auto"?_=u.slidesPerViewDynamic():(_=Math.ceil(parseFloat(g.slidesPerView,10)),w&&_%2===0&&(_=_+1));const S=g.slidesPerGroupAuto?_:g.slidesPerGroup;let x=w?Math.max(S,Math.ceil(_/2)):S;x%S!==0&&(x+=S-x%S),x+=g.loopAdditionalSlides,u.loopedSlides=x;const C=u.grid&&g.grid&&g.grid.rows>1;d.length<_+x||u.params.effect==="cards"&&d.length<_+x*2?W0("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled or not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):C&&g.grid.fill==="row"&&W0("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const M=[],A=[],O=C?Math.ceil(d.length/g.grid.rows):d.length,D=i&&O-y<_&&!w;let T=D?y:u.activeIndex;typeof a>"u"?a=u.getSlideIndex(d.find(F=>F.classList.contains(g.slideActiveClass))):T=a;const R=r==="next"||!r,$=r==="prev"||!r;let P=0,I=0;const V=(C?d[a].column:a)+(w&&typeof o>"u"?-_/2+.5:0);if(V<x){P=Math.max(x-V,S);for(let F=0;F<x-V;F+=1){const z=F-Math.floor(F/O)*O;if(C){const B=O-z-1;for(let Y=d.length-1;Y>=0;Y-=1)d[Y].column===B&&M.push(Y)}else M.push(O-z-1)}}else if(V+_>O-x){I=Math.max(V-(O-x*2),S),D&&(I=Math.max(I,_-O+y+1));for(let F=0;F<I;F+=1){const z=F-Math.floor(F/O)*O;C?d.forEach((B,Y)=>{B.column===z&&A.push(Y)}):A.push(z)}}if(u.__preventObserver__=!0,requestAnimationFrame(()=>{u.__preventObserver__=!1}),u.params.effect==="cards"&&d.length<_+x*2&&(A.includes(a)&&A.splice(A.indexOf(a),1),M.includes(a)&&M.splice(M.indexOf(a),1)),$&&M.forEach(F=>{d[F].swiperLoopMoveDOM=!0,v.prepend(d[F]),d[F].swiperLoopMoveDOM=!1}),R&&A.forEach(F=>{d[F].swiperLoopMoveDOM=!0,v.append(d[F]),d[F].swiperLoopMoveDOM=!1}),u.recalcSlides(),g.slidesPerView==="auto"?u.updateSlides():C&&(M.length>0&&$||A.length>0&&R)&&u.slides.forEach((F,z)=>{u.grid.updateSlide(z,F,u.slides)}),g.watchSlidesProgress&&u.updateSlidesOffset(),n){if(M.length>0&&$){if(typeof e>"u"){const F=u.slidesGrid[T],B=u.slidesGrid[T+P]-F;l?u.setTranslate(u.translate-B):(u.slideTo(T+Math.ceil(P),0,!1,!0),o&&(u.touchEventsData.startTranslate=u.touchEventsData.startTranslate-B,u.touchEventsData.currentTranslate=u.touchEventsData.currentTranslate-B))}else if(o){const F=C?M.length/g.grid.rows:M.length;u.slideTo(u.activeIndex+F,0,!1,!0),u.touchEventsData.currentTranslate=u.translate}}else if(A.length>0&&R)if(typeof e>"u"){const F=u.slidesGrid[T],B=u.slidesGrid[T-I]-F;l?u.setTranslate(u.translate-B):(u.slideTo(T-I,0,!1,!0),o&&(u.touchEventsData.startTranslate=u.touchEventsData.startTranslate-B,u.touchEventsData.currentTranslate=u.touchEventsData.currentTranslate-B))}else{const F=C?A.length/g.grid.rows:A.length;u.slideTo(u.activeIndex-F,0,!1,!0)}}if(u.allowSlidePrev=f,u.allowSlideNext=m,u.controller&&u.controller.control&&!s){const F={slideRealIndex:e,direction:r,setTranslate:o,activeSlideIndex:a,byController:!0};Array.isArray(u.controller.control)?u.controller.control.forEach(z=>{!z.destroyed&&z.params.loop&&z.loopFix({...F,slideTo:z.params.slidesPerView===g.slidesPerView?n:!1})}):u.controller.control instanceof u.constructor&&u.controller.control.params.loop&&u.controller.control.loopFix({...F,slideTo:u.controller.control.params.slidesPerView===g.slidesPerView?n:!1})}u.emit("loopFix")}function Bre(){const t=this,{params:e,slidesEl:n}=t;if(!e.loop||!n||t.virtual&&t.params.virtual.enabled)return;t.recalcSlides();const r=[];t.slides.forEach(o=>{const a=typeof o.swiperSlideIndex>"u"?o.getAttribute("data-swiper-slide-index")*1:o.swiperSlideIndex;r[a]=o}),t.slides.forEach(o=>{o.removeAttribute("data-swiper-slide-index")}),r.forEach(o=>{n.append(o)}),t.recalcSlides(),t.slideTo(t.realIndex,0)}var zre={loopCreate:$re,loopFix:Dre,loopDestroy:Bre};function Fre(t){const e=this;if(!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)return;const n=e.params.touchEventsTarget==="container"?e.el:e.wrapperEl;e.isElement&&(e.__preventObserver__=!0),n.style.cursor="move",n.style.cursor=t?"grabbing":"grab",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1})}function Vre(){const t=this;t.params.watchOverflow&&t.isLocked||t.params.cssMode||(t.isElement&&(t.__preventObserver__=!0),t[t.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1}))}var jre={setGrabCursor:Fre,unsetGrabCursor:Vre};function Hre(t,e){e===void 0&&(e=this);function n(r){if(!r||r===Qs()||r===qr())return null;r.assignedSlot&&(r=r.assignedSlot);const o=r.closest(t);return!o&&!r.getRootNode?null:o||n(r.getRootNode().host)}return n(e)}function R5(t,e,n){const r=qr(),{params:o}=t,a=o.edgeSwipeDetection,i=o.edgeSwipeThreshold;return a&&(n<=i||n>=r.innerWidth-i)?a==="prevent"?(e.preventDefault(),!0):!1:!0}function Wre(t){const e=this,n=Qs();let r=t;r.originalEvent&&(r=r.originalEvent);const o=e.touchEventsData;if(r.type==="pointerdown"){if(o.pointerId!==null&&o.pointerId!==r.pointerId)return;o.pointerId=r.pointerId}else r.type==="touchstart"&&r.targetTouches.length===1&&(o.touchId=r.targetTouches[0].identifier);if(r.type==="touchstart"){R5(e,r,r.targetTouches[0].pageX);return}const{params:a,touches:i,enabled:s}=e;if(!s||!a.simulateTouch&&r.pointerType==="mouse"||e.animating&&a.preventInteractionOnTransition)return;!e.animating&&a.cssMode&&a.loop&&e.loopFix();let l=r.target;if(a.touchEventsTarget==="wrapper"&&!Wne(l,e.wrapperEl)||"which"in r&&r.which===3||"button"in r&&r.button>0||o.isTouched&&o.isMoved)return;const u=!!a.noSwipingClass&&a.noSwipingClass!=="",d=r.composedPath?r.composedPath():r.path;u&&r.target&&r.target.shadowRoot&&d&&(l=d[0]);const f=a.noSwipingSelector?a.noSwipingSelector:`.${a.noSwipingClass}`,m=!!(r.target&&r.target.shadowRoot);if(a.noSwiping&&(m?Hre(f,l):l.closest(f))){e.allowClick=!0;return}if(a.swipeHandler&&!l.closest(a.swipeHandler))return;i.currentX=r.pageX,i.currentY=r.pageY;const v=i.currentX,g=i.currentY;if(!R5(e,r,v))return;Object.assign(o,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),i.startX=v,i.startY=g,o.touchStartTime=zl(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,a.threshold>0&&(o.allowThresholdMove=!1);let w=!0;l.matches(o.focusableElements)&&(w=!1,l.nodeName==="SELECT"&&(o.isTouched=!1)),n.activeElement&&n.activeElement.matches(o.focusableElements)&&n.activeElement!==l&&(r.pointerType==="mouse"||r.pointerType!=="mouse"&&!l.matches(o.focusableElements))&&n.activeElement.blur();const y=w&&e.allowTouchMove&&a.touchStartPreventDefault;(a.touchStartForcePreventDefault||y)&&!l.isContentEditable&&r.preventDefault(),a.freeMode&&a.freeMode.enabled&&e.freeMode&&e.animating&&!a.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",r)}function qre(t){const e=Qs(),n=this,r=n.touchEventsData,{params:o,touches:a,rtlTranslate:i,enabled:s}=n;if(!s||!o.simulateTouch&&t.pointerType==="mouse")return;let l=t;if(l.originalEvent&&(l=l.originalEvent),l.type==="pointermove"&&(r.touchId!==null||l.pointerId!==r.pointerId))return;let u;if(l.type==="touchmove"){if(u=[...l.changedTouches].find(M=>M.identifier===r.touchId),!u||u.identifier!==r.touchId)return}else u=l;if(!r.isTouched){r.startMoving&&r.isScrolling&&n.emit("touchMoveOpposite",l);return}const d=u.pageX,f=u.pageY;if(l.preventedByNestedSwiper){a.startX=d,a.startY=f;return}if(!n.allowTouchMove){l.target.matches(r.focusableElements)||(n.allowClick=!1),r.isTouched&&(Object.assign(a,{startX:d,startY:f,currentX:d,currentY:f}),r.touchStartTime=zl());return}if(o.touchReleaseOnEdges&&!o.loop)if(n.isVertical()){if(f<a.startY&&n.translate<=n.maxTranslate()||f>a.startY&&n.translate>=n.minTranslate()){r.isTouched=!1,r.isMoved=!1;return}}else{if(i&&(d>a.startX&&-n.translate<=n.maxTranslate()||d<a.startX&&-n.translate>=n.minTranslate()))return;if(!i&&(d<a.startX&&n.translate<=n.maxTranslate()||d>a.startX&&n.translate>=n.minTranslate()))return}if(e.activeElement&&e.activeElement.matches(r.focusableElements)&&e.activeElement!==l.target&&l.pointerType!=="mouse"&&e.activeElement.blur(),e.activeElement&&l.target===e.activeElement&&l.target.matches(r.focusableElements)){r.isMoved=!0,n.allowClick=!1;return}r.allowTouchCallbacks&&n.emit("touchMove",l),a.previousX=a.currentX,a.previousY=a.currentY,a.currentX=d,a.currentY=f;const m=a.currentX-a.startX,v=a.currentY-a.startY;if(n.params.threshold&&Math.sqrt(m**2+v**2)<n.params.threshold)return;if(typeof r.isScrolling>"u"){let M;n.isHorizontal()&&a.currentY===a.startY||n.isVertical()&&a.currentX===a.startX?r.isScrolling=!1:m*m+v*v>=25&&(M=Math.atan2(Math.abs(v),Math.abs(m))*180/Math.PI,r.isScrolling=n.isHorizontal()?M>o.touchAngle:90-M>o.touchAngle)}if(r.isScrolling&&n.emit("touchMoveOpposite",l),typeof r.startMoving>"u"&&(a.currentX!==a.startX||a.currentY!==a.startY)&&(r.startMoving=!0),r.isScrolling||l.type==="touchmove"&&r.preventTouchMoveFromPointerMove){r.isTouched=!1;return}if(!r.startMoving)return;n.allowClick=!1,!o.cssMode&&l.cancelable&&l.preventDefault(),o.touchMoveStopPropagation&&!o.nested&&l.stopPropagation();let g=n.isHorizontal()?m:v,w=n.isHorizontal()?a.currentX-a.previousX:a.currentY-a.previousY;o.oneWayMovement&&(g=Math.abs(g)*(i?1:-1),w=Math.abs(w)*(i?1:-1)),a.diff=g,g*=o.touchRatio,i&&(g=-g,w=-w);const y=n.touchesDirection;n.swipeDirection=g>0?"prev":"next",n.touchesDirection=w>0?"prev":"next";const _=n.params.loop&&!o.cssMode,S=n.touchesDirection==="next"&&n.allowSlideNext||n.touchesDirection==="prev"&&n.allowSlidePrev;if(!r.isMoved){if(_&&S&&n.loopFix({direction:n.swipeDirection}),r.startTranslate=n.getTranslate(),n.setTransition(0),n.animating){const M=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});n.wrapperEl.dispatchEvent(M)}r.allowMomentumBounce=!1,o.grabCursor&&(n.allowSlideNext===!0||n.allowSlidePrev===!0)&&n.setGrabCursor(!0),n.emit("sliderFirstMove",l)}if(new Date().getTime(),o._loopSwapReset!==!1&&r.isMoved&&r.allowThresholdMove&&y!==n.touchesDirection&&_&&S&&Math.abs(g)>=1){Object.assign(a,{startX:d,startY:f,currentX:d,currentY:f,startTranslate:r.currentTranslate}),r.loopSwapReset=!0,r.startTranslate=r.currentTranslate;return}n.emit("sliderMove",l),r.isMoved=!0,r.currentTranslate=g+r.startTranslate;let x=!0,C=o.resistanceRatio;if(o.touchReleaseOnEdges&&(C=0),g>0?(_&&S&&r.allowThresholdMove&&r.currentTranslate>(o.centeredSlides?n.minTranslate()-n.slidesSizesGrid[n.activeIndex+1]-(o.slidesPerView!=="auto"&&n.slides.length-o.slidesPerView>=2?n.slidesSizesGrid[n.activeIndex+1]+n.params.spaceBetween:0)-n.params.spaceBetween:n.minTranslate())&&n.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),r.currentTranslate>n.minTranslate()&&(x=!1,o.resistance&&(r.currentTranslate=n.minTranslate()-1+(-n.minTranslate()+r.startTranslate+g)**C))):g<0&&(_&&S&&r.allowThresholdMove&&r.currentTranslate<(o.centeredSlides?n.maxTranslate()+n.slidesSizesGrid[n.slidesSizesGrid.length-1]+n.params.spaceBetween+(o.slidesPerView!=="auto"&&n.slides.length-o.slidesPerView>=2?n.slidesSizesGrid[n.slidesSizesGrid.length-1]+n.params.spaceBetween:0):n.maxTranslate())&&n.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:n.slides.length-(o.slidesPerView==="auto"?n.slidesPerViewDynamic():Math.ceil(parseFloat(o.slidesPerView,10)))}),r.currentTranslate<n.maxTranslate()&&(x=!1,o.resistance&&(r.currentTranslate=n.maxTranslate()+1-(n.maxTranslate()-r.startTranslate-g)**C))),x&&(l.preventedByNestedSwiper=!0),!n.allowSlideNext&&n.swipeDirection==="next"&&r.currentTranslate<r.startTranslate&&(r.currentTranslate=r.startTranslate),!n.allowSlidePrev&&n.swipeDirection==="prev"&&r.currentTranslate>r.startTranslate&&(r.currentTranslate=r.startTranslate),!n.allowSlidePrev&&!n.allowSlideNext&&(r.currentTranslate=r.startTranslate),o.threshold>0)if(Math.abs(g)>o.threshold||r.allowThresholdMove){if(!r.allowThresholdMove){r.allowThresholdMove=!0,a.startX=a.currentX,a.startY=a.currentY,r.currentTranslate=r.startTranslate,a.diff=n.isHorizontal()?a.currentX-a.startX:a.currentY-a.startY;return}}else{r.currentTranslate=r.startTranslate;return}!o.followFinger||o.cssMode||((o.freeMode&&o.freeMode.enabled&&n.freeMode||o.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),o.freeMode&&o.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(r.currentTranslate),n.setTranslate(r.currentTranslate))}function Ure(t){const e=this,n=e.touchEventsData;let r=t;r.originalEvent&&(r=r.originalEvent);let o;if(r.type==="touchend"||r.type==="touchcancel"){if(o=[...r.changedTouches].find(M=>M.identifier===n.touchId),!o||o.identifier!==n.touchId)return}else{if(n.touchId!==null||r.pointerId!==n.pointerId)return;o=r}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(r.type)&&!(["pointercancel","contextmenu"].includes(r.type)&&(e.browser.isSafari||e.browser.isWebView)))return;n.pointerId=null,n.touchId=null;const{params:i,touches:s,rtlTranslate:l,slidesGrid:u,enabled:d}=e;if(!d||!i.simulateTouch&&r.pointerType==="mouse")return;if(n.allowTouchCallbacks&&e.emit("touchEnd",r),n.allowTouchCallbacks=!1,!n.isTouched){n.isMoved&&i.grabCursor&&e.setGrabCursor(!1),n.isMoved=!1,n.startMoving=!1;return}i.grabCursor&&n.isMoved&&n.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);const f=zl(),m=f-n.touchStartTime;if(e.allowClick){const M=r.path||r.composedPath&&r.composedPath();e.updateClickedSlide(M&&M[0]||r.target,M),e.emit("tap click",r),m<300&&f-n.lastClickTime<300&&e.emit("doubleTap doubleClick",r)}if(n.lastClickTime=zl(),SM(()=>{e.destroyed||(e.allowClick=!0)}),!n.isTouched||!n.isMoved||!e.swipeDirection||s.diff===0&&!n.loopSwapReset||n.currentTranslate===n.startTranslate&&!n.loopSwapReset){n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;return}n.isTouched=!1,n.isMoved=!1,n.startMoving=!1;let v;if(i.followFinger?v=l?e.translate:-e.translate:v=-n.currentTranslate,i.cssMode)return;if(i.freeMode&&i.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:v});return}const g=v>=-e.maxTranslate()&&!e.params.loop;let w=0,y=e.slidesSizesGrid[0];for(let M=0;M<u.length;M+=M<i.slidesPerGroupSkip?1:i.slidesPerGroup){const A=M<i.slidesPerGroupSkip-1?1:i.slidesPerGroup;typeof u[M+A]<"u"?(g||v>=u[M]&&v<u[M+A])&&(w=M,y=u[M+A]-u[M]):(g||v>=u[M])&&(w=M,y=u[u.length-1]-u[u.length-2])}let _=null,S=null;i.rewind&&(e.isBeginning?S=i.virtual&&i.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(_=0));const x=(v-u[w])/y,C=w<i.slidesPerGroupSkip-1?1:i.slidesPerGroup;if(m>i.longSwipesMs){if(!i.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(x>=i.longSwipesRatio?e.slideTo(i.rewind&&e.isEnd?_:w+C):e.slideTo(w)),e.swipeDirection==="prev"&&(x>1-i.longSwipesRatio?e.slideTo(w+C):S!==null&&x<0&&Math.abs(x)>i.longSwipesRatio?e.slideTo(S):e.slideTo(w))}else{if(!i.shortSwipes){e.slideTo(e.activeIndex);return}e.navigation&&(r.target===e.navigation.nextEl||r.target===e.navigation.prevEl)?r.target===e.navigation.nextEl?e.slideTo(w+C):e.slideTo(w):(e.swipeDirection==="next"&&e.slideTo(_!==null?_:w+C),e.swipeDirection==="prev"&&e.slideTo(S!==null?S:w))}}function T5(){const t=this,{params:e,el:n}=t;if(n&&n.offsetWidth===0)return;e.breakpoints&&t.setBreakpoint();const{allowSlideNext:r,allowSlidePrev:o,snapGrid:a}=t,i=t.virtual&&t.params.virtual.enabled;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses();const s=i&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides&&!s?t.slideTo(t.slides.length-1,0,!1,!0):t.params.loop&&!i?t.slideToLoop(t.realIndex,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0),t.autoplay&&t.autoplay.running&&t.autoplay.paused&&(clearTimeout(t.autoplay.resizeTimeout),t.autoplay.resizeTimeout=setTimeout(()=>{t.autoplay&&t.autoplay.running&&t.autoplay.paused&&t.autoplay.resume()},500)),t.allowSlidePrev=o,t.allowSlideNext=r,t.params.watchOverflow&&a!==t.snapGrid&&t.checkOverflow()}function Yre(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function Gre(){const t=this,{wrapperEl:e,rtlTranslate:n,enabled:r}=t;if(!r)return;t.previousTranslate=t.translate,t.isHorizontal()?t.translate=-e.scrollLeft:t.translate=-e.scrollTop,t.translate===0&&(t.translate=0),t.updateActiveIndex(),t.updateSlidesClasses();let o;const a=t.maxTranslate()-t.minTranslate();a===0?o=0:o=(t.translate-t.minTranslate())/a,o!==t.progress&&t.updateProgress(n?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}function Kre(t){const e=this;o0(e,t.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function Xre(){const t=this;t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}const AM=(t,e)=>{const n=Qs(),{params:r,el:o,wrapperEl:a,device:i}=t,s=!!r.nested,l=e==="on"?"addEventListener":"removeEventListener",u=e;!o||typeof o=="string"||(n[l]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:s}),o[l]("touchstart",t.onTouchStart,{passive:!1}),o[l]("pointerdown",t.onTouchStart,{passive:!1}),n[l]("touchmove",t.onTouchMove,{passive:!1,capture:s}),n[l]("pointermove",t.onTouchMove,{passive:!1,capture:s}),n[l]("touchend",t.onTouchEnd,{passive:!0}),n[l]("pointerup",t.onTouchEnd,{passive:!0}),n[l]("pointercancel",t.onTouchEnd,{passive:!0}),n[l]("touchcancel",t.onTouchEnd,{passive:!0}),n[l]("pointerout",t.onTouchEnd,{passive:!0}),n[l]("pointerleave",t.onTouchEnd,{passive:!0}),n[l]("contextmenu",t.onTouchEnd,{passive:!0}),(r.preventClicks||r.preventClicksPropagation)&&o[l]("click",t.onClick,!0),r.cssMode&&a[l]("scroll",t.onScroll),r.updateOnWindowResize?t[u](i.ios||i.android?"resize orientationchange observerUpdate":"resize observerUpdate",T5,!0):t[u]("observerUpdate",T5,!0),o[l]("load",t.onLoad,{capture:!0}))};function Zre(){const t=this,{params:e}=t;t.onTouchStart=Wre.bind(t),t.onTouchMove=qre.bind(t),t.onTouchEnd=Ure.bind(t),t.onDocumentTouchStart=Xre.bind(t),e.cssMode&&(t.onScroll=Gre.bind(t)),t.onClick=Yre.bind(t),t.onLoad=Kre.bind(t),AM(t,"on")}function Qre(){AM(this,"off")}var Jre={attachEvents:Zre,detachEvents:Qre};const N5=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function eoe(){const t=this,{realIndex:e,initialized:n,params:r,el:o}=t,a=r.breakpoints;if(!a||a&&Object.keys(a).length===0)return;const i=Qs(),s=r.breakpointsBase==="window"||!r.breakpointsBase?r.breakpointsBase:"container",l=["window","container"].includes(r.breakpointsBase)||!r.breakpointsBase?t.el:i.querySelector(r.breakpointsBase),u=t.getBreakpoint(a,s,l);if(!u||t.currentBreakpoint===u)return;const f=(u in a?a[u]:void 0)||t.originalParams,m=N5(t,r),v=N5(t,f),g=t.params.grabCursor,w=f.grabCursor,y=r.enabled;m&&!v?(o.classList.remove(`${r.containerModifierClass}grid`,`${r.containerModifierClass}grid-column`),t.emitContainerClasses()):!m&&v&&(o.classList.add(`${r.containerModifierClass}grid`),(f.grid.fill&&f.grid.fill==="column"||!f.grid.fill&&r.grid.fill==="column")&&o.classList.add(`${r.containerModifierClass}grid-column`),t.emitContainerClasses()),g&&!w?t.unsetGrabCursor():!g&&w&&t.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(A=>{if(typeof f[A]>"u")return;const O=r[A]&&r[A].enabled,D=f[A]&&f[A].enabled;O&&!D&&t[A].disable(),!O&&D&&t[A].enable()});const _=f.direction&&f.direction!==r.direction,S=r.loop&&(f.slidesPerView!==r.slidesPerView||_),x=r.loop;_&&n&&t.changeDirection(),Eo(t.params,f);const C=t.params.enabled,M=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),y&&!C?t.disable():!y&&C&&t.enable(),t.currentBreakpoint=u,t.emit("_beforeBreakpoint",f),n&&(S?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!x&&M?(t.loopCreate(e),t.updateSlides()):x&&!M&&t.loopDestroy()),t.emit("breakpoint",f)}function toe(t,e,n){if(e===void 0&&(e="window"),!t||e==="container"&&!n)return;let r=!1;const o=qr(),a=e==="window"?o.innerHeight:n.clientHeight,i=Object.keys(t).map(s=>{if(typeof s=="string"&&s.indexOf("@")===0){const l=parseFloat(s.substr(1));return{value:a*l,point:s}}return{value:s,point:s}});i.sort((s,l)=>parseInt(s.value,10)-parseInt(l.value,10));for(let s=0;s<i.length;s+=1){const{point:l,value:u}=i[s];e==="window"?o.matchMedia(`(min-width: ${u}px)`).matches&&(r=l):u<=n.clientWidth&&(r=l)}return r||"max"}var noe={setBreakpoint:eoe,getBreakpoint:toe};function roe(t,e){const n=[];return t.forEach(r=>{typeof r=="object"?Object.keys(r).forEach(o=>{r[o]&&n.push(e+o)}):typeof r=="string"&&n.push(e+r)}),n}function ooe(){const t=this,{classNames:e,params:n,rtl:r,el:o,device:a}=t,i=roe(["initialized",n.direction,{"free-mode":t.params.freeMode&&n.freeMode.enabled},{autoheight:n.autoHeight},{rtl:r},{grid:n.grid&&n.grid.rows>1},{"grid-column":n.grid&&n.grid.rows>1&&n.grid.fill==="column"},{android:a.android},{ios:a.ios},{"css-mode":n.cssMode},{centered:n.cssMode&&n.centeredSlides},{"watch-progress":n.watchSlidesProgress}],n.containerModifierClass);e.push(...i),o.classList.add(...e),t.emitContainerClasses()}function aoe(){const t=this,{el:e,classNames:n}=t;!e||typeof e=="string"||(e.classList.remove(...n),t.emitContainerClasses())}var ioe={addClasses:ooe,removeClasses:aoe};function soe(){const t=this,{isLocked:e,params:n}=t,{slidesOffsetBefore:r}=n;if(r){const o=t.slides.length-1,a=t.slidesGrid[o]+t.slidesSizesGrid[o]+r*2;t.isLocked=t.size>a}else t.isLocked=t.snapGrid.length===1;n.allowSlideNext===!0&&(t.allowSlideNext=!t.isLocked),n.allowSlidePrev===!0&&(t.allowSlidePrev=!t.isLocked),e&&e!==t.isLocked&&(t.isEnd=!1),e!==t.isLocked&&t.emit(t.isLocked?"lock":"unlock")}var loe={checkOverflow:soe},Lv={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",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,loopAddBlankSlides:!0,loopAdditionalSlides:0,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",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function coe(t,e){return function(r){r===void 0&&(r={});const o=Object.keys(r)[0],a=r[o];if(typeof a!="object"||a===null){Eo(e,r);return}if(t[o]===!0&&(t[o]={enabled:!0}),o==="navigation"&&t[o]&&t[o].enabled&&!t[o].prevEl&&!t[o].nextEl&&(t[o].auto=!0),["pagination","scrollbar"].indexOf(o)>=0&&t[o]&&t[o].enabled&&!t[o].el&&(t[o].auto=!0),!(o in t&&"enabled"in a)){Eo(e,r);return}typeof t[o]=="object"&&!("enabled"in t[o])&&(t[o].enabled=!0),t[o]||(t[o]={enabled:!1}),Eo(e,r)}}const Xg={eventsEmitter:ire,update:vre,translate:Sre,transition:kre,slide:Lre,loop:zre,grabCursor:jre,events:Jre,breakpoints:noe,checkOverflow:loe,classes:ioe},Zg={};let S3=class $i{constructor(){let e,n;for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];o.length===1&&o[0].constructor&&Object.prototype.toString.call(o[0]).slice(8,-1)==="Object"?n=o[0]:[e,n]=o,n||(n={}),n=Eo({},n),e&&!n.el&&(n.el=e);const i=Qs();if(n.el&&typeof n.el=="string"&&i.querySelectorAll(n.el).length>1){const d=[];return i.querySelectorAll(n.el).forEach(f=>{const m=Eo({},n,{el:f});d.push(new $i(m))}),d}const s=this;s.__swiper__=!0,s.support=RM(),s.device=TM({userAgent:n.userAgent}),s.browser=NM(),s.eventsListeners={},s.eventsAnyListeners=[],s.modules=[...s.__modules__],n.modules&&Array.isArray(n.modules)&&s.modules.push(...n.modules);const l={};s.modules.forEach(d=>{d({params:n,swiper:s,extendParams:coe(n,l),on:s.on.bind(s),once:s.once.bind(s),off:s.off.bind(s),emit:s.emit.bind(s)})});const u=Eo({},Lv,l);return s.params=Eo({},u,Zg,n),s.originalParams=Eo({},s.params),s.passedParams=Eo({},n),s.params&&s.params.on&&Object.keys(s.params.on).forEach(d=>{s.on(d,s.params.on[d])}),s.params&&s.params.onAny&&s.onAny(s.params.onAny),Object.assign(s,{enabled:s.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return s.params.direction==="horizontal"},isVertical(){return s.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:s.params.allowSlideNext,allowSlidePrev:s.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:s.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:s.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),s.emit("_swiper"),s.params.init&&s.init(),s}getDirectionLabel(e){return this.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]}getSlideIndex(e){const{slidesEl:n,params:r}=this,o=wa(n,`.${r.slideClass}, swiper-slide`),a=q0(o[0]);return q0(e)-a}getSlideIndexByData(e){return this.getSlideIndex(this.slides.find(n=>n.getAttribute("data-swiper-slide-index")*1===e))}getSlideIndexWhenGrid(e){return this.grid&&this.params.grid&&this.params.grid.rows>1&&(this.params.grid.fill==="column"?e=Math.floor(e/this.params.grid.rows):this.params.grid.fill==="row"&&(e=e%Math.ceil(this.slides.length/this.params.grid.rows))),e}recalcSlides(){const e=this,{slidesEl:n,params:r}=e;e.slides=wa(n,`.${r.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,n){const r=this;e=Math.min(Math.max(e,0),1);const o=r.minTranslate(),i=(r.maxTranslate()-o)*e+o;r.translateTo(i,typeof n>"u"?0:n),r.updateActiveIndex(),r.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const n=e.el.className.split(" ").filter(r=>r.indexOf("swiper")===0||r.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",n.join(" "))}getSlideClasses(e){const n=this;return n.destroyed?"":e.className.split(" ").filter(r=>r.indexOf("swiper-slide")===0||r.indexOf(n.params.slideClass)===0).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const n=[];e.slides.forEach(r=>{const o=e.getSlideClasses(r);n.push({slideEl:r,classNames:o}),e.emit("_slideClass",r,o)}),e.emit("_slideClasses",n)}slidesPerViewDynamic(e,n){e===void 0&&(e="current"),n===void 0&&(n=!1);const r=this,{params:o,slides:a,slidesGrid:i,slidesSizesGrid:s,size:l,activeIndex:u}=r;let d=1;if(typeof o.slidesPerView=="number")return o.slidesPerView;if(o.centeredSlides){let f=a[u]?Math.ceil(a[u].swiperSlideSize):0,m;for(let v=u+1;v<a.length;v+=1)a[v]&&!m&&(f+=Math.ceil(a[v].swiperSlideSize),d+=1,f>l&&(m=!0));for(let v=u-1;v>=0;v-=1)a[v]&&!m&&(f+=a[v].swiperSlideSize,d+=1,f>l&&(m=!0))}else if(e==="current")for(let f=u+1;f<a.length;f+=1)(n?i[f]+s[f]-i[u]<l:i[f]-i[u]<l)&&(d+=1);else for(let f=u-1;f>=0;f-=1)i[u]-i[f]<l&&(d+=1);return d}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:n,params:r}=e;r.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach(i=>{i.complete&&o0(e,i)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function o(){const i=e.rtlTranslate?e.translate*-1:e.translate,s=Math.min(Math.max(i,e.maxTranslate()),e.minTranslate());e.setTranslate(s),e.updateActiveIndex(),e.updateSlidesClasses()}let a;if(r.freeMode&&r.freeMode.enabled&&!r.cssMode)o(),r.autoHeight&&e.updateAutoHeight();else{if((r.slidesPerView==="auto"||r.slidesPerView>1)&&e.isEnd&&!r.centeredSlides){const i=e.virtual&&r.virtual.enabled?e.virtual.slides:e.slides;a=e.slideTo(i.length-1,0,!1,!0)}else a=e.slideTo(e.activeIndex,0,!1,!0);a||o()}r.watchOverflow&&n!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,n){n===void 0&&(n=!0);const r=this,o=r.params.direction;return e||(e=o==="horizontal"?"vertical":"horizontal"),e===o||e!=="horizontal"&&e!=="vertical"||(r.el.classList.remove(`${r.params.containerModifierClass}${o}`),r.el.classList.add(`${r.params.containerModifierClass}${e}`),r.emitContainerClasses(),r.params.direction=e,r.slides.forEach(a=>{e==="vertical"?a.style.width="":a.style.height=""}),r.emit("changeDirection"),n&&r.update()),r}changeLanguageDirection(e){const n=this;n.rtl&&e==="rtl"||!n.rtl&&e==="ltr"||(n.rtl=e==="rtl",n.rtlTranslate=n.params.direction==="horizontal"&&n.rtl,n.rtl?(n.el.classList.add(`${n.params.containerModifierClass}rtl`),n.el.dir="rtl"):(n.el.classList.remove(`${n.params.containerModifierClass}rtl`),n.el.dir="ltr"),n.update())}mount(e){const n=this;if(n.mounted)return!0;let r=e||n.params.el;if(typeof r=="string"&&(r=document.querySelector(r)),!r)return!1;r.swiper=n,r.parentNode&&r.parentNode.host&&r.parentNode.host.nodeName===n.params.swiperElementNodeName.toUpperCase()&&(n.isElement=!0);const o=()=>`.${(n.params.wrapperClass||"").trim().split(" ").join(".")}`;let i=r&&r.shadowRoot&&r.shadowRoot.querySelector?r.shadowRoot.querySelector(o()):wa(r,o())[0];return!i&&n.params.createElements&&(i=Ru("div",n.params.wrapperClass),r.append(i),wa(r,`.${n.params.slideClass}`).forEach(s=>{i.append(s)})),Object.assign(n,{el:r,wrapperEl:i,slidesEl:n.isElement&&!r.parentNode.host.slideSlots?r.parentNode.host:i,hostEl:n.isElement?r.parentNode.host:r,mounted:!0,rtl:r.dir.toLowerCase()==="rtl"||$s(r,"direction")==="rtl",rtlTranslate:n.params.direction==="horizontal"&&(r.dir.toLowerCase()==="rtl"||$s(r,"direction")==="rtl"),wrongRTL:$s(i,"display")==="-webkit-box"}),!0}init(e){const n=this;if(n.initialized||n.mount(e)===!1)return n;n.emit("beforeInit"),n.params.breakpoints&&n.setBreakpoint(),n.addClasses(),n.updateSize(),n.updateSlides(),n.params.watchOverflow&&n.checkOverflow(),n.params.grabCursor&&n.enabled&&n.setGrabCursor(),n.params.loop&&n.virtual&&n.params.virtual.enabled?n.slideTo(n.params.initialSlide+n.virtual.slidesBefore,0,n.params.runCallbacksOnInit,!1,!0):n.slideTo(n.params.initialSlide,0,n.params.runCallbacksOnInit,!1,!0),n.params.loop&&n.loopCreate(void 0,!0),n.attachEvents();const o=[...n.el.querySelectorAll('[loading="lazy"]')];return n.isElement&&o.push(...n.hostEl.querySelectorAll('[loading="lazy"]')),o.forEach(a=>{a.complete?o0(n,a):a.addEventListener("load",i=>{o0(n,i.target)})}),Ov(n),n.initialized=!0,Ov(n),n.emit("init"),n.emit("afterInit"),n}destroy(e,n){e===void 0&&(e=!0),n===void 0&&(n=!0);const r=this,{params:o,el:a,wrapperEl:i,slides:s}=r;return typeof r.params>"u"||r.destroyed||(r.emit("beforeDestroy"),r.initialized=!1,r.detachEvents(),o.loop&&r.loopDestroy(),n&&(r.removeClasses(),a&&typeof a!="string"&&a.removeAttribute("style"),i&&i.removeAttribute("style"),s&&s.length&&s.forEach(l=>{l.classList.remove(o.slideVisibleClass,o.slideFullyVisibleClass,o.slideActiveClass,o.slideNextClass,o.slidePrevClass),l.removeAttribute("style"),l.removeAttribute("data-swiper-slide-index")})),r.emit("destroy"),Object.keys(r.eventsListeners).forEach(l=>{r.off(l)}),e!==!1&&(r.el&&typeof r.el!="string"&&(r.el.swiper=null),zne(r)),r.destroyed=!0),null}static extendDefaults(e){Eo(Zg,e)}static get extendedDefaults(){return Zg}static get defaults(){return Lv}static installModule(e){$i.prototype.__modules__||($i.prototype.__modules__=[]);const n=$i.prototype.__modules__;typeof e=="function"&&n.indexOf(e)<0&&n.push(e)}static use(e){return Array.isArray(e)?(e.forEach(n=>$i.installModule(n)),$i):($i.installModule(e),$i)}};Object.keys(Xg).forEach(t=>{Object.keys(Xg[t]).forEach(e=>{S3.prototype[e]=Xg[t][e]})});S3.use([ore,are]);const IM=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","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","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","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 Kl(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"&&!t.__swiper__}function mu(t,e){const n=["__proto__","constructor","prototype"];Object.keys(e).filter(r=>n.indexOf(r)<0).forEach(r=>{typeof t[r]>"u"?t[r]=e[r]:Kl(e[r])&&Kl(t[r])&&Object.keys(e[r]).length>0?e[r].__swiper__?t[r]=e[r]:mu(t[r],e[r]):t[r]=e[r]})}function OM(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function LM(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el>"u"}function $M(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el>"u"}function DM(t){t===void 0&&(t="");const e=t.split(" ").map(r=>r.trim()).filter(r=>!!r),n=[];return e.forEach(r=>{n.indexOf(r)<0&&n.push(r)}),n.join(" ")}function uoe(t){return t===void 0&&(t=""),t?t.includes("swiper-wrapper")?t:`swiper-wrapper ${t}`:"swiper-wrapper"}function doe(t){let{swiper:e,slides:n,passedParams:r,changedParams:o,nextEl:a,prevEl:i,scrollbarEl:s,paginationEl:l}=t;const u=o.filter(T=>T!=="children"&&T!=="direction"&&T!=="wrapperClass"),{params:d,pagination:f,navigation:m,scrollbar:v,virtual:g,thumbs:w}=e;let y,_,S,x,C,M,A,O;o.includes("thumbs")&&r.thumbs&&r.thumbs.swiper&&!r.thumbs.swiper.destroyed&&d.thumbs&&(!d.thumbs.swiper||d.thumbs.swiper.destroyed)&&(y=!0),o.includes("controller")&&r.controller&&r.controller.control&&d.controller&&!d.controller.control&&(_=!0),o.includes("pagination")&&r.pagination&&(r.pagination.el||l)&&(d.pagination||d.pagination===!1)&&f&&!f.el&&(S=!0),o.includes("scrollbar")&&r.scrollbar&&(r.scrollbar.el||s)&&(d.scrollbar||d.scrollbar===!1)&&v&&!v.el&&(x=!0),o.includes("navigation")&&r.navigation&&(r.navigation.prevEl||i)&&(r.navigation.nextEl||a)&&(d.navigation||d.navigation===!1)&&m&&!m.prevEl&&!m.nextEl&&(C=!0);const D=T=>{e[T]&&(e[T].destroy(),T==="navigation"?(e.isElement&&(e[T].prevEl.remove(),e[T].nextEl.remove()),d[T].prevEl=void 0,d[T].nextEl=void 0,e[T].prevEl=void 0,e[T].nextEl=void 0):(e.isElement&&e[T].el.remove(),d[T].el=void 0,e[T].el=void 0))};o.includes("loop")&&e.isElement&&(d.loop&&!r.loop?M=!0:!d.loop&&r.loop?A=!0:O=!0),u.forEach(T=>{if(Kl(d[T])&&Kl(r[T]))Object.assign(d[T],r[T]),(T==="navigation"||T==="pagination"||T==="scrollbar")&&"enabled"in r[T]&&!r[T].enabled&&D(T);else{const R=r[T];(R===!0||R===!1)&&(T==="navigation"||T==="pagination"||T==="scrollbar")?R===!1&&D(T):d[T]=r[T]}}),u.includes("controller")&&!_&&e.controller&&e.controller.control&&d.controller&&d.controller.control&&(e.controller.control=d.controller.control),o.includes("children")&&n&&g&&d.virtual.enabled?(g.slides=n,g.update(!0)):o.includes("virtual")&&g&&d.virtual.enabled&&(n&&(g.slides=n),g.update(!0)),o.includes("children")&&n&&d.loop&&(O=!0),y&&w.init()&&w.update(!0),_&&(e.controller.control=d.controller.control),S&&(e.isElement&&(!l||typeof l=="string")&&(l=document.createElement("div"),l.classList.add("swiper-pagination"),l.part.add("pagination"),e.el.appendChild(l)),l&&(d.pagination.el=l),f.init(),f.render(),f.update()),x&&(e.isElement&&(!s||typeof s=="string")&&(s=document.createElement("div"),s.classList.add("swiper-scrollbar"),s.part.add("scrollbar"),e.el.appendChild(s)),s&&(d.scrollbar.el=s),v.init(),v.updateSize(),v.setTranslate()),C&&(e.isElement&&((!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-button-next"),Tu(a,e.hostEl.constructor.nextButtonSvg),a.part.add("button-next"),e.el.appendChild(a)),(!i||typeof i=="string")&&(i=document.createElement("div"),i.classList.add("swiper-button-prev"),Tu(i,e.hostEl.constructor.prevButtonSvg),i.part.add("button-prev"),e.el.appendChild(i))),a&&(d.navigation.nextEl=a),i&&(d.navigation.prevEl=i),m.init(),m.update()),o.includes("allowSlideNext")&&(e.allowSlideNext=r.allowSlideNext),o.includes("allowSlidePrev")&&(e.allowSlidePrev=r.allowSlidePrev),o.includes("direction")&&e.changeDirection(r.direction,!1),(M||O)&&e.loopDestroy(),(A||O)&&e.loopCreate(),e.update()}function foe(t,e){t===void 0&&(t={}),e===void 0&&(e=!0);const n={on:{}},r={},o={};mu(n,Lv),n._emitClasses=!0,n.init=!1;const a={},i=IM.map(l=>l.replace(/_/,"")),s=Object.assign({},t);return Object.keys(s).forEach(l=>{typeof t[l]>"u"||(i.indexOf(l)>=0?Kl(t[l])?(n[l]={},o[l]={},mu(n[l],t[l]),mu(o[l],t[l])):(n[l]=t[l],o[l]=t[l]):l.search(/on[A-Z]/)===0&&typeof t[l]=="function"?e?r[`${l[2].toLowerCase()}${l.substr(3)}`]=t[l]:n.on[`${l[2].toLowerCase()}${l.substr(3)}`]=t[l]:a[l]=t[l])}),["navigation","pagination","scrollbar"].forEach(l=>{n[l]===!0&&(n[l]={}),n[l]===!1&&delete n[l]}),{params:n,passedParams:o,rest:a,events:r}}function poe(t,e){let{el:n,nextEl:r,prevEl:o,paginationEl:a,scrollbarEl:i,swiper:s}=t;OM(e)&&r&&o&&(s.params.navigation.nextEl=r,s.originalParams.navigation.nextEl=r,s.params.navigation.prevEl=o,s.originalParams.navigation.prevEl=o),LM(e)&&a&&(s.params.pagination.el=a,s.originalParams.pagination.el=a),$M(e)&&i&&(s.params.scrollbar.el=i,s.originalParams.scrollbar.el=i),s.init(n)}function hoe(t,e,n,r,o){const a=[];if(!e)return a;const i=l=>{a.indexOf(l)<0&&a.push(l)};if(n&&r){const l=r.map(o),u=n.map(o);l.join("")!==u.join("")&&i("children"),r.length!==n.length&&i("children")}return IM.filter(l=>l[0]==="_").map(l=>l.replace(/_/,"")).forEach(l=>{if(l in t&&l in e)if(Kl(t[l])&&Kl(e[l])){const u=Object.keys(t[l]),d=Object.keys(e[l]);u.length!==d.length?i(l):(u.forEach(f=>{t[l][f]!==e[l][f]&&i(l)}),d.forEach(f=>{t[l][f]!==e[l][f]&&i(l)}))}else t[l]!==e[l]&&i(l)}),a}const moe=t=>{!t||t.destroyed||!t.params.virtual||t.params.virtual&&!t.params.virtual.enabled||(t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.emit("_virtualUpdated"),t.parallax&&t.params.parallax&&t.params.parallax.enabled&&t.parallax.setTranslate())},Zn=await q("react"),{useEffect:$v,useLayoutEffect:goe,useContext:O2e,createContext:BM,forwardRef:zM,useState:Zd,useRef:Xa}=Zn;function U0(){return U0=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},U0.apply(this,arguments)}function FM(t){return t.type&&t.type.displayName&&t.type.displayName.includes("SwiperSlide")}function VM(t){const e=[];return Zn.Children.toArray(t).forEach(n=>{FM(n)?e.push(n):n.props&&n.props.children&&VM(n.props.children).forEach(r=>e.push(r))}),e}function voe(t){const e=[],n={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return Zn.Children.toArray(t).forEach(r=>{if(FM(r))e.push(r);else if(r.props&&r.props.slot&&n[r.props.slot])n[r.props.slot].push(r);else if(r.props&&r.props.children){const o=VM(r.props.children);o.length>0?o.forEach(a=>e.push(a)):n["container-end"].push(r)}else n["container-end"].push(r)}),{slides:e,slots:n}}function woe(t,e,n){if(!n)return null;const r=d=>{let f=d;return d<0?f=e.length+d:f>=e.length&&(f=f-e.length),f},o=t.isHorizontal()?{[t.rtlTranslate?"right":"left"]:`${n.offset}px`}:{top:`${n.offset}px`},{from:a,to:i}=n,s=t.params.loop?-e.length:0,l=t.params.loop?e.length*2:e.length,u=[];for(let d=s;d<l;d+=1)d>=a&&d<=i&&u.push(e[r(d)]);return u.map((d,f)=>Zn.cloneElement(d,{swiper:t,style:o,key:d.props.virtualIndex||d.key||`slide-${f}`}))}function Qd(t,e){return typeof window>"u"?$v(t,e):goe(t,e)}const P5=BM(null),boe=BM(null),zh=zM(function(t,e){let{className:n,tag:r="div",wrapperTag:o="div",children:a,onSwiper:i,...s}=t===void 0?{}:t,l=!1;const[u,d]=Zd("swiper"),[f,m]=Zd(null),[v,g]=Zd(!1),w=Xa(!1),y=Xa(null),_=Xa(null),S=Xa(null),x=Xa(null),C=Xa(null),M=Xa(null),A=Xa(null),O=Xa(null),{params:D,passedParams:T,rest:R,events:$}=foe(s),{slides:P,slots:I}=voe(a),L=()=>{g(!v)};Object.assign(D.on,{_containerClasses(Y,U){d(U)}});const V=()=>{Object.assign(D.on,$),l=!0;const Y={...D};if(delete Y.wrapperClass,_.current=new S3(Y),_.current.virtual&&_.current.params.virtual.enabled){_.current.virtual.slides=P;const U={cache:!1,slides:P,renderExternal:m,renderExternalUpdate:!1};mu(_.current.params.virtual,U),mu(_.current.originalParams.virtual,U)}};y.current||V(),_.current&&_.current.on("_beforeBreakpoint",L);const F=()=>{l||!$||!_.current||Object.keys($).forEach(Y=>{_.current.on(Y,$[Y])})},z=()=>{!$||!_.current||Object.keys($).forEach(Y=>{_.current.off(Y,$[Y])})};$v(()=>()=>{_.current&&_.current.off("_beforeBreakpoint",L)}),$v(()=>{!w.current&&_.current&&(_.current.emitSlidesClasses(),w.current=!0)}),Qd(()=>{if(e&&(e.current=y.current),!!y.current)return _.current.destroyed&&V(),poe({el:y.current,nextEl:C.current,prevEl:M.current,paginationEl:A.current,scrollbarEl:O.current,swiper:_.current},D),i&&!_.current.destroyed&&i(_.current),()=>{_.current&&!_.current.destroyed&&_.current.destroy(!0,!1)}},[]),Qd(()=>{F();const Y=hoe(T,S.current,P,x.current,U=>U.key);return S.current=T,x.current=P,Y.length&&_.current&&!_.current.destroyed&&doe({swiper:_.current,slides:P,passedParams:T,changedParams:Y,nextEl:C.current,prevEl:M.current,scrollbarEl:O.current,paginationEl:A.current}),()=>{z()}}),Qd(()=>{moe(_.current)},[f]);function B(){return D.virtual?woe(_.current,P,f):P.map((Y,U)=>Zn.cloneElement(Y,{swiper:_.current,swiperSlideIndex:U}))}return Zn.createElement(r,U0({ref:y,className:DM(`${u}${n?` ${n}`:""}`)},R),Zn.createElement(boe.Provider,{value:_.current},I["container-start"],Zn.createElement(o,{className:uoe(D.wrapperClass)},I["wrapper-start"],B(),I["wrapper-end"]),OM(D)&&Zn.createElement(Zn.Fragment,null,Zn.createElement("div",{ref:M,className:"swiper-button-prev"}),Zn.createElement("div",{ref:C,className:"swiper-button-next"})),$M(D)&&Zn.createElement("div",{ref:O,className:"swiper-scrollbar"}),LM(D)&&Zn.createElement("div",{ref:A,className:"swiper-pagination"}),I["container-end"]))});zh.displayName="Swiper";const Fh=zM(function(t,e){let{tag:n="div",children:r,className:o="",swiper:a,zoom:i,lazy:s,virtualIndex:l,swiperSlideIndex:u,...d}=t===void 0?{}:t;const f=Xa(null),[m,v]=Zd("swiper-slide"),[g,w]=Zd(!1);function y(C,M,A){M===f.current&&v(A)}Qd(()=>{if(typeof u<"u"&&(f.current.swiperSlideIndex=u),e&&(e.current=f.current),!(!f.current||!a)){if(a.destroyed){m!=="swiper-slide"&&v("swiper-slide");return}return a.on("_slideClass",y),()=>{a&&a.off("_slideClass",y)}}}),Qd(()=>{a&&f.current&&!a.destroyed&&v(a.getSlideClasses(f.current))},[a]);const _={isActive:m.indexOf("swiper-slide-active")>=0,isVisible:m.indexOf("swiper-slide-visible")>=0,isPrev:m.indexOf("swiper-slide-prev")>=0,isNext:m.indexOf("swiper-slide-next")>=0},S=()=>typeof r=="function"?r(_):r,x=()=>{w(!0)};return Zn.createElement(n,U0({ref:f,className:DM(`${m}${o?` ${o}`:""}`),"data-swiper-slide-index":l,onLoad:x},d),i&&Zn.createElement(P5.Provider,{value:_},Zn.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof i=="number"?i:void 0},S(),s&&!g&&Zn.createElement("div",{className:"swiper-lazy-preloader"}))),!i&&Zn.createElement(P5.Provider,{value:_},S(),s&&!g&&Zn.createElement("div",{className:"swiper-lazy-preloader"})))});Fh.displayName="SwiperSlide";const yoe={"carousel-wrapper":"_carousel-wrapper_3oi1q_39","carousel-navigation":"_carousel-navigation_3oi1q_43","carousel-swiper":"_carousel-swiper_3oi1q_46","nav-prev-btn":"_nav-prev-btn_3oi1q_100","nav-next-btn":"_nav-next-btn_3oi1q_103","carousel-pagination":"_carousel-pagination_3oi1q_116"},{forwardRef:_oe,useImperativeHandle:xoe}=await q("react"),{Children:Soe,useCallback:A5,useEffect:Coe,useMemo:I5,useRef:O5,useState:L5}=await q("react"),zc=rn(yoe,"rb-ui"),$5=Fh,Eoe=zh,Moe=_oe(({className:t,isLoading:e=!1,skeletonCount:n=3,skeletonElement:r=null,children:o,modules:a=[],effect:i="slide",spaceBetween:s=10,breakpoints:l,slidesPerView:u=1,threshold:d=5,longSwipesMs:f=1e3,initialSlide:m=0,speed:v=1e3,loop:g=!0,autoplay:w=!1,allowTouchMove:y=!0,navigation:_=!1,pagination:S=!1,prevButton:x=h(d$,{}),nextButton:C=h(u$,{}),onSlideChangeTransitionEnd:M,handleOnSlideChangeTransitionEnd:A,onSlideChange:O,onSwiper:D,onUpdate:T,onPrevButtonClick:R,onNextButtonClick:$,...P},I)=>{const L=O5(null),V=O5(null),F=!!P.virtual,[z,B]=L5(),[Y,U]=L5(),le=I5(()=>e?Array.from({length:n},(oe,ee)=>h($5,{virtualIndex:F?ee:void 0,children:r},`slide-item-${ee}`)):Soe.toArray(o).map((oe,ee)=>h($5,{virtualIndex:F?ee:void 0,children:oe},`slide-item-${ee}`)),[e,o,n,r,F]),J=I5(()=>String(Math.random()).replace(".",""),[]),re=A5(oe=>{const ee=(u==="auto"?1:u)-1;return oe===0?"first":oe===le.length-1-ee?"last":"middle"},[u,le]),te=A5(oe=>{L.current=oe,D?.(oe)},[D]);return Coe(()=>{L.current&&_&&(L.current.navigation.prevEl=z,L.current.navigation.nextEl=Y)},[_,Y,z]),xoe(I,()=>L.current),ne("div",{className:zc("carousel-wrapper",t),children:[h("div",{className:zc("carousel-swiper"),children:h(Eoe,{modules:[Gne,Kne,Xne,ere,...F?[Yne]:[],...a],effect:i,slidesPerView:u,initialSlide:m,speed:v,threshold:d,longSwipesMs:f,loop:g,autoplay:w,allowTouchMove:y,breakpoints:l,spaceBetween:s,onSlideChangeTransitionEnd:oe=>{M?.(oe);const{realIndex:ee,activeIndex:ue,previousIndex:fe}=oe,ye=re(ee);A?.({realIndex:ee,position:ye,direction:ue-fe>0?"next":"prev"})},onSlideChange:O,onSwiper:te,onUpdate:T,navigation:_?{prevEl:z,nextEl:Y,...typeof _=="boolean"?{}:_}:!1,pagination:S?{clickable:!0,el:`#pagination-${J}`,...typeof S=="boolean"?{}:S}:!1,...P,style:{...P.style,width:u==="auto"?"auto":""},children:le})}),_&&ne("div",{className:zc("carousel-navigation"),children:[h("button",{ref:B,className:zc("nav-prev-btn"),onClick:R,children:x}),h("button",{ref:U,className:zc("nav-next-btn"),onClick:$,children:C})]}),S&&h("div",{ref:V,id:`pagination-${J}`,className:zc("carousel-pagination")})]})});Moe.displayName="Carousel";const koe="_checkbox_49j8a_40",Roe="_readonly_49j8a_52",Toe="_disabled_49j8a_56",Noe="_icon_49j8a_60",Poe="_check_49j8a_40",Aoe="_partial_49j8a_134",Ioe="_text_49j8a_137",Ooe="_small_49j8a_174",Loe={checkbox:koe,readonly:Roe,disabled:Toe,"ico-check":"_ico-check_49j8a_60",icon:Noe,check:Poe,partial:Aoe,text:Ioe,small:Ooe},{forwardRef:$oe,useCallback:Doe,useEffect:D5,useId:Boe,useImperativeHandle:zoe,useMemo:B5,useRef:Foe}=await q("react"),Fc=rn(Loe,"rb-ui"),jM=$oe((t,e)=>{const{className:n="",name:r,size:o="normal",checkValue:a=!0,unCheckValue:i=!1,value:s,children:l,disabled:u,readOnly:d,onChange:f,onBlur:m,onFocus:v,handleChange:g}=t,w=Foe(null),y=Boe(),_=B5(()=>{if(!(typeof s>"u"))return Array.isArray(a)&&Array.isArray(s)?s.length===a.length&&s.every(C=>a.includes(C)):Array.isArray(s)?s.includes(a):s===a},[s,a]),S=B5(()=>_?!1:Array.isArray(a)&&Array.isArray(s)?s.length!==a.length&&s.some(C=>a.includes(C)):!1,[_,a,s]),x=Doe(C=>{const{name:M,checked:A}=C.target,O=`input[name="${M}"]`,D=document.querySelectorAll(O);if(Array.isArray(a)&&Array.isArray(s)){g?.(s.length>0?[]:a,M);return}if(D.length>1||Array.isArray(s)){const T=document.querySelectorAll(`${O}:checked`);let R=[];const $=a,P=s?[...s]:void 0;for(let I=0;I<T.length;I+=1){const L=typeof a=="number"?Number(T[I].value):T[I].value;R.findIndex(F=>F===L)===-1&&R.push(L)}P&&typeof $<"u"&&P.push($),R=P?P.filter(I=>R.includes(I)):kn.uniq(R),g?.(R,M)}else g?.(A?a:i,M);f?.(C)},[s,i,g,f,a]);return D5(()=>{const C=`input[name="${r||y}"]`;if(document.querySelectorAll(C).length>1||Array.isArray(s)){if(typeof a=="boolean")throw new Error("여러개의 동일한 name 값을 갖거나 data가 배열로 전달된 CheckBox는 boolean타입의 value를 받을 수 없습니다.")}else if(Array.isArray(s))throw new Error("단일의 name 값을 갖는 CheckBox는 배열 타입의 data를 가질 수 없습니다.")},[s,r,y,a]),D5(()=>{w.current&&(w.current.indeterminate=S)},[S]),zoe(e,()=>w.current),h("div",{className:Fc(n,"checkbox",o,{readonly:d,disabled:u,"not-allow":d||u}),children:ne("label",{children:[h("input",{ref:w,type:"checkbox",name:Array.isArray(a)?y:r||y,value:String(a),checked:_,readOnly:d,disabled:u,onBlur:m,onFocus:v,onChange:x}),h("span",{className:Fc("ico-check"),children:h("i",{className:Fc("icon"),children:S?h(v7,{className:Fc("partial")}):h(g7,{className:Fc("check")})})}),h("span",{className:Fc("text"),children:l})]})})});jM.displayName="CheckBox";const Voe={"check-button":"_check-button_18j0k_39","check-button-text":"_check-button-text_18j0k_44"},{forwardRef:joe}=await q("react"),z5=rn(Voe,"rb-ui"),Hoe=joe(({className:t="",children:e,rippleOption:n={disabled:!0},...r},o)=>h(Rr,{...n,children:h(jM,{ref:o,className:z5(t,"check-button"),...r,children:h("div",{className:z5("check-button-text"),children:e})})}));Hoe.displayName="CheckButton";const Woe="_disabled_1utli_44",qoe="_slider_1utli_44",Uoe="_range_1utli_39",Yoe="_track_1utli_112",Goe={"range-input":"_range-input_1utli_39",disabled:Woe,slider:qoe,range:Uoe,"range-area":"_range-area_1utli_53",track:Yoe,"input-box":"_input-box_1utli_139"},{forwardRef:Koe,useCallback:n1,useEffect:F5,useImperativeHandle:Xoe,useMemo:Zoe,useRef:wd,useState:Qoe}=await q("react"),Wa=rn(Goe,"rb-ui"),Joe=Koe((t,e)=>{const{className:n="",value:r,name:o,min:a,max:i,step:s=1,thumbSize:l=26,sliderHeight:u=6,thumbBorderColor:d,thumbColor:f,trackColor:m,rangeColor:v,showTextInput:g=!0,handleChange:w,onChange:y}=t,_=wd([a,i]),S=wd(null),x=wd(null),C=wd(null),M=wd(null),[A,O]=Qoe([a,i]),D=Zoe(()=>A.map(I=>(I-a)/(i-a)*100),[A,a,i]),T=n1(()=>{!C.current||!M.current||(C.current.value=qo(A[0]),M.current.value=qo(A[1]),C.current.style.width=`${C.current.scrollWidth}px`,M.current.style.width=`${M.current.scrollWidth}px`)},[A]),R=n1(I=>{I.key==="Enter"&&!I.nativeEvent.isComposing&&(C.current.blur(),M.current.blur())},[]),$=n1((I,L,V=!1)=>{if(g&&(!C.current||!M.current))return;const{value:F}=L.target;if(I==="left"){let z=Math.min(Vl(F),A[1]-s);z=z>a?z:a,O([z,A[1]]),V&&w?.([z,A[1]],o),C.current.value=qo(z)}else{let z=Math.max(Vl(F),A[0]+s);z=z<=i?z:i,O([A[0],z]),V&&w?.([A[0],z],o),M.current.value=qo(z)}y?.(L),T()},[y,g,T,w,o,A,s,a,i]),P=n1(()=>{A.some((I,L)=>I!==_.current[L])&&(_.current=[...A],w?.(A,o))},[A,o,w]);return F5(()=>{T()},[T]),F5(()=>{typeof r<"u"&&(O(r),_.current=[...r])},[r]),Xoe(e,()=>({focus:S.current.focus})),ne("div",{className:Wa("range-input",n,{disabled:a===i}),style:{"--mri-thumb-size":`${l}px`,"--mri-slider-height":`${u}px`,"--mri-thumb-border-color":d,"--mri-thumb-color":f,"--mri-track-color":m,"--mri-range-color":v},children:[h("div",{className:Wa("range-area"),children:ne("div",{children:[h("input",{ref:S,type:"range",value:A[0],min:a,max:i,step:s,onChange:I=>$("left",I),onMouseUp:P,onMouseLeave:P,onTouchEnd:P}),h("input",{ref:x,type:"range",value:A[1],id:"input-right",min:a,max:i,step:s,onChange:I=>$("right",I),onMouseUp:P,onMouseLeave:P,onTouchEnd:P}),ne("div",{className:Wa("slider"),children:[h("div",{className:Wa("track")}),h("div",{className:Wa("range"),style:{left:`${D[0]}%`,right:`${100-D[1]}%`}}),h("div",{className:Wa("thumb","left"),style:{left:`${D[0]}%`}}),h("div",{className:Wa("thumb","right"),style:{right:`${100-D[1]}%`}})]})]})}),g&&ne("div",{className:Wa("range-input"),children:[ne("div",{className:Wa("input-box"),children:[h("label",{htmlFor:"rangeMinInput",children:"min"}),h("input",{ref:C,type:"text",inputMode:"numeric",defaultValue:A[0],disabled:a===i,onBlur:I=>$("left",I,!0),onKeyDown:R})]}),ne("div",{className:Wa("input-box"),children:[h("label",{htmlFor:"rangeMaxInput",children:"max"}),h("input",{ref:M,type:"text",inputMode:"numeric",defaultValue:A[1],disabled:a===i,onBlur:I=>$("right",I,!0),onKeyDown:R})]})]})]})});Joe.displayName="MultiRangeInput";/*!
|
|
188
|
-
* decimal.js v10.6.0
|
|
189
|
-
* An arbitrary-precision Decimal type for JavaScript.
|
|
190
|
-
* https://github.com/MikeMcl/decimal.js
|
|
191
|
-
* Copyright (c) 2025 Michael Mclaughlin <M8ch88l@gmail.com>
|
|
192
|
-
* MIT Licence
|
|
193
|
-
*/var cu=9e15,Js=1e9,Dv="0123456789abcdef",Y0="2.3025850929940456840179914546843642076011014886287729760333279009675726096773524802359972050895982983419677840422862486334095254650828067566662873690987816894829072083255546808437998948262331985283935053089653777326288461633662222876982198867465436674744042432743651550489343149393914796194044002221051017141748003688084012647080685567743216228355220114804663715659121373450747856947683463616792101806445070648000277502684916746550586856935673420670581136429224554405758925724208241314695689016758940256776311356919292033376587141660230105703089634572075440370847469940168269282808481184289314848524948644871927809676271275775397027668605952496716674183485704422507197965004714951050492214776567636938662976979522110718264549734772662425709429322582798502585509785265383207606726317164309505995087807523710333101197857547331541421808427543863591778117054309827482385045648019095610299291824318237525357709750539565187697510374970888692180205189339507238539205144634197265287286965110862571492198849978748873771345686209167058",G0="3.1415926535897932384626433832795028841971693993751058209749445923078164062862089986280348253421170679821480865132823066470938446095505822317253594081284811174502841027019385211055596446229489549303819644288109756659334461284756482337867831652712019091456485669234603486104543266482133936072602491412737245870066063155881748815209209628292540917153643678925903600113305305488204665213841469519415116094330572703657595919530921861173819326117931051185480744623799627495673518857527248912279381830119491298336733624406566430860213949463952247371907021798609437027705392171762931767523846748184676694051320005681271452635608277857713427577896091736371787214684409012249534301465495853710507922796892589235420199561121290219608640344181598136297747713099605187072113499999983729780499510597317328160963185950244594553469083026425223082533446850352619311881710100031378387528865875332083814206171776691473035982534904287554687311595628638823537875937519577818577805321712268066130019278766111959092164201989380952572010654858632789",Bv={precision:20,rounding:4,modulo:1,toExpNeg:-7,toExpPos:21,minE:-cu,maxE:cu,crypto:!1},HM,zi,It=!0,Vh="[DecimalError] ",qs=Vh+"Invalid argument: ",WM=Vh+"Precision limit exceeded",qM=Vh+"crypto unavailable",UM="[object Decimal]",Nr=Math.floor,ir=Math.pow,eae=/^0b([01]+(\.[01]*)?|\.[01]+)(p[+-]?\d+)?$/i,tae=/^0x([0-9a-f]+(\.[0-9a-f]*)?|\.[0-9a-f]+)(p[+-]?\d+)?$/i,nae=/^0o([0-7]+(\.[0-7]*)?|\.[0-7]+)(p[+-]?\d+)?$/i,YM=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,_a=1e7,kt=7,rae=9007199254740991,oae=Y0.length-1,zv=G0.length-1,He={toStringTag:UM};He.absoluteValue=He.abs=function(){var t=new this.constructor(this);return t.s<0&&(t.s=1),gt(t)};He.ceil=function(){return gt(new this.constructor(this),this.e+1,2)};He.clampedTo=He.clamp=function(t,e){var n,r=this,o=r.constructor;if(t=new o(t),e=new o(e),!t.s||!e.s)return new o(NaN);if(t.gt(e))throw Error(qs+e);return n=r.cmp(t),n<0?t:r.cmp(e)>0?e:new o(r)};He.comparedTo=He.cmp=function(t){var e,n,r,o,a=this,i=a.d,s=(t=new a.constructor(t)).d,l=a.s,u=t.s;if(!i||!s)return!l||!u?NaN:l!==u?l:i===s?0:!i^l<0?1:-1;if(!i[0]||!s[0])return i[0]?l:s[0]?-u:0;if(l!==u)return l;if(a.e!==t.e)return a.e>t.e^l<0?1:-1;for(r=i.length,o=s.length,e=0,n=r<o?r:o;e<n;++e)if(i[e]!==s[e])return i[e]>s[e]^l<0?1:-1;return r===o?0:r>o^l<0?1:-1};He.cosine=He.cos=function(){var t,e,n=this,r=n.constructor;return n.d?n.d[0]?(t=r.precision,e=r.rounding,r.precision=t+Math.max(n.e,n.sd())+kt,r.rounding=1,n=aae(r,QM(r,n)),r.precision=t,r.rounding=e,gt(zi==2||zi==3?n.neg():n,t,e,!0)):new r(1):new r(NaN)};He.cubeRoot=He.cbrt=function(){var t,e,n,r,o,a,i,s,l,u,d=this,f=d.constructor;if(!d.isFinite()||d.isZero())return new f(d);for(It=!1,a=d.s*ir(d.s*d,1/3),!a||Math.abs(a)==1/0?(n=wr(d.d),t=d.e,(a=(t-n.length+1)%3)&&(n+=a==1||a==-2?"0":"00"),a=ir(n,1/3),t=Nr((t+1)/3)-(t%3==(t<0?-1:2)),a==1/0?n="5e"+t:(n=a.toExponential(),n=n.slice(0,n.indexOf("e")+1)+t),r=new f(n),r.s=d.s):r=new f(a.toString()),i=(t=f.precision)+3;;)if(s=r,l=s.times(s).times(s),u=l.plus(d),r=En(u.plus(d).times(s),u.plus(l),i+2,1),wr(s.d).slice(0,i)===(n=wr(r.d)).slice(0,i))if(n=n.slice(i-3,i+1),n=="9999"||!o&&n=="4999"){if(!o&&(gt(s,t+1,0),s.times(s).times(s).eq(d))){r=s;break}i+=4,o=1}else{(!+n||!+n.slice(1)&&n.charAt(0)=="5")&&(gt(r,t+1,1),e=!r.times(r).times(r).eq(d));break}return It=!0,gt(r,t,f.rounding,e)};He.decimalPlaces=He.dp=function(){var t,e=this.d,n=NaN;if(e){if(t=e.length-1,n=(t-Nr(this.e/kt))*kt,t=e[t],t)for(;t%10==0;t/=10)n--;n<0&&(n=0)}return n};He.dividedBy=He.div=function(t){return En(this,new this.constructor(t))};He.dividedToIntegerBy=He.divToInt=function(t){var e=this,n=e.constructor;return gt(En(e,new n(t),0,1,1),n.precision,n.rounding)};He.equals=He.eq=function(t){return this.cmp(t)===0};He.floor=function(){return gt(new this.constructor(this),this.e+1,3)};He.greaterThan=He.gt=function(t){return this.cmp(t)>0};He.greaterThanOrEqualTo=He.gte=function(t){var e=this.cmp(t);return e==1||e===0};He.hyperbolicCosine=He.cosh=function(){var t,e,n,r,o,a=this,i=a.constructor,s=new i(1);if(!a.isFinite())return new i(a.s?1/0:NaN);if(a.isZero())return s;n=i.precision,r=i.rounding,i.precision=n+Math.max(a.e,a.sd())+4,i.rounding=1,o=a.d.length,o<32?(t=Math.ceil(o/3),e=(1/Hh(4,t)).toString()):(t=16,e="2.3283064365386962890625e-10"),a=Nu(i,1,a.times(e),new i(1),!0);for(var l,u=t,d=new i(8);u--;)l=a.times(a),a=s.minus(l.times(d.minus(l.times(d))));return gt(a,i.precision=n,i.rounding=r,!0)};He.hyperbolicSine=He.sinh=function(){var t,e,n,r,o=this,a=o.constructor;if(!o.isFinite()||o.isZero())return new a(o);if(e=a.precision,n=a.rounding,a.precision=e+Math.max(o.e,o.sd())+4,a.rounding=1,r=o.d.length,r<3)o=Nu(a,2,o,o,!0);else{t=1.4*Math.sqrt(r),t=t>16?16:t|0,o=o.times(1/Hh(5,t)),o=Nu(a,2,o,o,!0);for(var i,s=new a(5),l=new a(16),u=new a(20);t--;)i=o.times(o),o=o.times(s.plus(i.times(l.times(i).plus(u))))}return a.precision=e,a.rounding=n,gt(o,e,n,!0)};He.hyperbolicTangent=He.tanh=function(){var t,e,n=this,r=n.constructor;return n.isFinite()?n.isZero()?new r(n):(t=r.precision,e=r.rounding,r.precision=t+7,r.rounding=1,En(n.sinh(),n.cosh(),r.precision=t,r.rounding=e)):new r(n.s)};He.inverseCosine=He.acos=function(){var t=this,e=t.constructor,n=t.abs().cmp(1),r=e.precision,o=e.rounding;return n!==-1?n===0?t.isNeg()?ti(e,r,o):new e(0):new e(NaN):t.isZero()?ti(e,r+4,o).times(.5):(e.precision=r+6,e.rounding=1,t=new e(1).minus(t).div(t.plus(1)).sqrt().atan(),e.precision=r,e.rounding=o,t.times(2))};He.inverseHyperbolicCosine=He.acosh=function(){var t,e,n=this,r=n.constructor;return n.lte(1)?new r(n.eq(1)?0:NaN):n.isFinite()?(t=r.precision,e=r.rounding,r.precision=t+Math.max(Math.abs(n.e),n.sd())+4,r.rounding=1,It=!1,n=n.times(n).minus(1).sqrt().plus(n),It=!0,r.precision=t,r.rounding=e,n.ln()):new r(n)};He.inverseHyperbolicSine=He.asinh=function(){var t,e,n=this,r=n.constructor;return!n.isFinite()||n.isZero()?new r(n):(t=r.precision,e=r.rounding,r.precision=t+2*Math.max(Math.abs(n.e),n.sd())+6,r.rounding=1,It=!1,n=n.times(n).plus(1).sqrt().plus(n),It=!0,r.precision=t,r.rounding=e,n.ln())};He.inverseHyperbolicTangent=He.atanh=function(){var t,e,n,r,o=this,a=o.constructor;return o.isFinite()?o.e>=0?new a(o.abs().eq(1)?o.s/0:o.isZero()?o:NaN):(t=a.precision,e=a.rounding,r=o.sd(),Math.max(r,t)<2*-o.e-1?gt(new a(o),t,e,!0):(a.precision=n=r-o.e,o=En(o.plus(1),new a(1).minus(o),n+t,1),a.precision=t+4,a.rounding=1,o=o.ln(),a.precision=t,a.rounding=e,o.times(.5))):new a(NaN)};He.inverseSine=He.asin=function(){var t,e,n,r,o=this,a=o.constructor;return o.isZero()?new a(o):(e=o.abs().cmp(1),n=a.precision,r=a.rounding,e!==-1?e===0?(t=ti(a,n+4,r).times(.5),t.s=o.s,t):new a(NaN):(a.precision=n+6,a.rounding=1,o=o.div(new a(1).minus(o.times(o)).sqrt().plus(1)).atan(),a.precision=n,a.rounding=r,o.times(2)))};He.inverseTangent=He.atan=function(){var t,e,n,r,o,a,i,s,l,u=this,d=u.constructor,f=d.precision,m=d.rounding;if(u.isFinite()){if(u.isZero())return new d(u);if(u.abs().eq(1)&&f+4<=zv)return i=ti(d,f+4,m).times(.25),i.s=u.s,i}else{if(!u.s)return new d(NaN);if(f+4<=zv)return i=ti(d,f+4,m).times(.5),i.s=u.s,i}for(d.precision=s=f+10,d.rounding=1,n=Math.min(28,s/kt+2|0),t=n;t;--t)u=u.div(u.times(u).plus(1).sqrt().plus(1));for(It=!1,e=Math.ceil(s/kt),r=1,l=u.times(u),i=new d(u),o=u;t!==-1;)if(o=o.times(l),a=i.minus(o.div(r+=2)),o=o.times(l),i=a.plus(o.div(r+=2)),i.d[e]!==void 0)for(t=e;i.d[t]===a.d[t]&&t--;);return n&&(i=i.times(2<<n-1)),It=!0,gt(i,d.precision=f,d.rounding=m,!0)};He.isFinite=function(){return!!this.d};He.isInteger=He.isInt=function(){return!!this.d&&Nr(this.e/kt)>this.d.length-2};He.isNaN=function(){return!this.s};He.isNegative=He.isNeg=function(){return this.s<0};He.isPositive=He.isPos=function(){return this.s>0};He.isZero=function(){return!!this.d&&this.d[0]===0};He.lessThan=He.lt=function(t){return this.cmp(t)<0};He.lessThanOrEqualTo=He.lte=function(t){return this.cmp(t)<1};He.logarithm=He.log=function(t){var e,n,r,o,a,i,s,l,u=this,d=u.constructor,f=d.precision,m=d.rounding,v=5;if(t==null)t=new d(10),e=!0;else{if(t=new d(t),n=t.d,t.s<0||!n||!n[0]||t.eq(1))return new d(NaN);e=t.eq(10)}if(n=u.d,u.s<0||!n||!n[0]||u.eq(1))return new d(n&&!n[0]?-1/0:u.s!=1?NaN:n?0:1/0);if(e)if(n.length>1)a=!0;else{for(o=n[0];o%10===0;)o/=10;a=o!==1}if(It=!1,s=f+v,i=Ds(u,s),r=e?K0(d,s+10):Ds(t,s),l=En(i,r,s,1),gf(l.d,o=f,m))do if(s+=10,i=Ds(u,s),r=e?K0(d,s+10):Ds(t,s),l=En(i,r,s,1),!a){+wr(l.d).slice(o+1,o+15)+1==1e14&&(l=gt(l,f+1,0));break}while(gf(l.d,o+=10,m));return It=!0,gt(l,f,m)};He.minus=He.sub=function(t){var e,n,r,o,a,i,s,l,u,d,f,m,v=this,g=v.constructor;if(t=new g(t),!v.d||!t.d)return!v.s||!t.s?t=new g(NaN):v.d?t.s=-t.s:t=new g(t.d||v.s!==t.s?v:NaN),t;if(v.s!=t.s)return t.s=-t.s,v.plus(t);if(u=v.d,m=t.d,s=g.precision,l=g.rounding,!u[0]||!m[0]){if(m[0])t.s=-t.s;else if(u[0])t=new g(v);else return new g(l===3?-0:0);return It?gt(t,s,l):t}if(n=Nr(t.e/kt),d=Nr(v.e/kt),u=u.slice(),a=d-n,a){for(f=a<0,f?(e=u,a=-a,i=m.length):(e=m,n=d,i=u.length),r=Math.max(Math.ceil(s/kt),i)+2,a>r&&(a=r,e.length=1),e.reverse(),r=a;r--;)e.push(0);e.reverse()}else{for(r=u.length,i=m.length,f=r<i,f&&(i=r),r=0;r<i;r++)if(u[r]!=m[r]){f=u[r]<m[r];break}a=0}for(f&&(e=u,u=m,m=e,t.s=-t.s),i=u.length,r=m.length-i;r>0;--r)u[i++]=0;for(r=m.length;r>a;){if(u[--r]<m[r]){for(o=r;o&&u[--o]===0;)u[o]=_a-1;--u[o],u[r]+=_a}u[r]-=m[r]}for(;u[--i]===0;)u.pop();for(;u[0]===0;u.shift())--n;return u[0]?(t.d=u,t.e=jh(u,n),It?gt(t,s,l):t):new g(l===3?-0:0)};He.modulo=He.mod=function(t){var e,n=this,r=n.constructor;return t=new r(t),!n.d||!t.s||t.d&&!t.d[0]?new r(NaN):!t.d||n.d&&!n.d[0]?gt(new r(n),r.precision,r.rounding):(It=!1,r.modulo==9?(e=En(n,t.abs(),0,3,1),e.s*=t.s):e=En(n,t,0,r.modulo,1),e=e.times(t),It=!0,n.minus(e))};He.naturalExponential=He.exp=function(){return Fv(this)};He.naturalLogarithm=He.ln=function(){return Ds(this)};He.negated=He.neg=function(){var t=new this.constructor(this);return t.s=-t.s,gt(t)};He.plus=He.add=function(t){var e,n,r,o,a,i,s,l,u,d,f=this,m=f.constructor;if(t=new m(t),!f.d||!t.d)return!f.s||!t.s?t=new m(NaN):f.d||(t=new m(t.d||f.s===t.s?f:NaN)),t;if(f.s!=t.s)return t.s=-t.s,f.minus(t);if(u=f.d,d=t.d,s=m.precision,l=m.rounding,!u[0]||!d[0])return d[0]||(t=new m(f)),It?gt(t,s,l):t;if(a=Nr(f.e/kt),r=Nr(t.e/kt),u=u.slice(),o=a-r,o){for(o<0?(n=u,o=-o,i=d.length):(n=d,r=a,i=u.length),a=Math.ceil(s/kt),i=a>i?a+1:i+1,o>i&&(o=i,n.length=1),n.reverse();o--;)n.push(0);n.reverse()}for(i=u.length,o=d.length,i-o<0&&(o=i,n=d,d=u,u=n),e=0;o;)e=(u[--o]=u[o]+d[o]+e)/_a|0,u[o]%=_a;for(e&&(u.unshift(e),++r),i=u.length;u[--i]==0;)u.pop();return t.d=u,t.e=jh(u,r),It?gt(t,s,l):t};He.precision=He.sd=function(t){var e,n=this;if(t!==void 0&&t!==!!t&&t!==1&&t!==0)throw Error(qs+t);return n.d?(e=GM(n.d),t&&n.e+1>e&&(e=n.e+1)):e=NaN,e};He.round=function(){var t=this,e=t.constructor;return gt(new e(t),t.e+1,e.rounding)};He.sine=He.sin=function(){var t,e,n=this,r=n.constructor;return n.isFinite()?n.isZero()?new r(n):(t=r.precision,e=r.rounding,r.precision=t+Math.max(n.e,n.sd())+kt,r.rounding=1,n=sae(r,QM(r,n)),r.precision=t,r.rounding=e,gt(zi>2?n.neg():n,t,e,!0)):new r(NaN)};He.squareRoot=He.sqrt=function(){var t,e,n,r,o,a,i=this,s=i.d,l=i.e,u=i.s,d=i.constructor;if(u!==1||!s||!s[0])return new d(!u||u<0&&(!s||s[0])?NaN:s?i:1/0);for(It=!1,u=Math.sqrt(+i),u==0||u==1/0?(e=wr(s),(e.length+l)%2==0&&(e+="0"),u=Math.sqrt(e),l=Nr((l+1)/2)-(l<0||l%2),u==1/0?e="5e"+l:(e=u.toExponential(),e=e.slice(0,e.indexOf("e")+1)+l),r=new d(e)):r=new d(u.toString()),n=(l=d.precision)+3;;)if(a=r,r=a.plus(En(i,a,n+2,1)).times(.5),wr(a.d).slice(0,n)===(e=wr(r.d)).slice(0,n))if(e=e.slice(n-3,n+1),e=="9999"||!o&&e=="4999"){if(!o&&(gt(a,l+1,0),a.times(a).eq(i))){r=a;break}n+=4,o=1}else{(!+e||!+e.slice(1)&&e.charAt(0)=="5")&&(gt(r,l+1,1),t=!r.times(r).eq(i));break}return It=!0,gt(r,l,d.rounding,t)};He.tangent=He.tan=function(){var t,e,n=this,r=n.constructor;return n.isFinite()?n.isZero()?new r(n):(t=r.precision,e=r.rounding,r.precision=t+10,r.rounding=1,n=n.sin(),n.s=1,n=En(n,new r(1).minus(n.times(n)).sqrt(),t+10,0),r.precision=t,r.rounding=e,gt(zi==2||zi==4?n.neg():n,t,e,!0)):new r(NaN)};He.times=He.mul=function(t){var e,n,r,o,a,i,s,l,u,d=this,f=d.constructor,m=d.d,v=(t=new f(t)).d;if(t.s*=d.s,!m||!m[0]||!v||!v[0])return new f(!t.s||m&&!m[0]&&!v||v&&!v[0]&&!m?NaN:!m||!v?t.s/0:t.s*0);for(n=Nr(d.e/kt)+Nr(t.e/kt),l=m.length,u=v.length,l<u&&(a=m,m=v,v=a,i=l,l=u,u=i),a=[],i=l+u,r=i;r--;)a.push(0);for(r=u;--r>=0;){for(e=0,o=l+r;o>r;)s=a[o]+v[r]*m[o-r-1]+e,a[o--]=s%_a|0,e=s/_a|0;a[o]=(a[o]+e)%_a|0}for(;!a[--i];)a.pop();return e?++n:a.shift(),t.d=a,t.e=jh(a,n),It?gt(t,f.precision,f.rounding):t};He.toBinary=function(t,e){return C3(this,2,t,e)};He.toDecimalPlaces=He.toDP=function(t,e){var n=this,r=n.constructor;return n=new r(n),t===void 0?n:(po(t,0,Js),e===void 0?e=r.rounding:po(e,0,8),gt(n,t+n.e+1,e))};He.toExponential=function(t,e){var n,r=this,o=r.constructor;return t===void 0?n=ii(r,!0):(po(t,0,Js),e===void 0?e=o.rounding:po(e,0,8),r=gt(new o(r),t+1,e),n=ii(r,!0,t+1)),r.isNeg()&&!r.isZero()?"-"+n:n};He.toFixed=function(t,e){var n,r,o=this,a=o.constructor;return t===void 0?n=ii(o):(po(t,0,Js),e===void 0?e=a.rounding:po(e,0,8),r=gt(new a(o),t+o.e+1,e),n=ii(r,!1,t+r.e+1)),o.isNeg()&&!o.isZero()?"-"+n:n};He.toFraction=function(t){var e,n,r,o,a,i,s,l,u,d,f,m,v=this,g=v.d,w=v.constructor;if(!g)return new w(v);if(u=n=new w(1),r=l=new w(0),e=new w(r),a=e.e=GM(g)-v.e-1,i=a%kt,e.d[0]=ir(10,i<0?kt+i:i),t==null)t=a>0?e:u;else{if(s=new w(t),!s.isInt()||s.lt(u))throw Error(qs+s);t=s.gt(e)?a>0?e:u:s}for(It=!1,s=new w(wr(g)),d=w.precision,w.precision=a=g.length*kt*2;f=En(s,e,0,1,1),o=n.plus(f.times(r)),o.cmp(t)!=1;)n=r,r=o,o=u,u=l.plus(f.times(o)),l=o,o=e,e=s.minus(f.times(o)),s=o;return o=En(t.minus(n),r,0,1,1),l=l.plus(o.times(u)),n=n.plus(o.times(r)),l.s=u.s=v.s,m=En(u,r,a,1).minus(v).abs().cmp(En(l,n,a,1).minus(v).abs())<1?[u,r]:[l,n],w.precision=d,It=!0,m};He.toHexadecimal=He.toHex=function(t,e){return C3(this,16,t,e)};He.toNearest=function(t,e){var n=this,r=n.constructor;if(n=new r(n),t==null){if(!n.d)return n;t=new r(1),e=r.rounding}else{if(t=new r(t),e===void 0?e=r.rounding:po(e,0,8),!n.d)return t.s?n:t;if(!t.d)return t.s&&(t.s=n.s),t}return t.d[0]?(It=!1,n=En(n,t,0,e,1).times(t),It=!0,gt(n)):(t.s=n.s,n=t),n};He.toNumber=function(){return+this};He.toOctal=function(t,e){return C3(this,8,t,e)};He.toPower=He.pow=function(t){var e,n,r,o,a,i,s=this,l=s.constructor,u=+(t=new l(t));if(!s.d||!t.d||!s.d[0]||!t.d[0])return new l(ir(+s,u));if(s=new l(s),s.eq(1))return s;if(r=l.precision,a=l.rounding,t.eq(1))return gt(s,r,a);if(e=Nr(t.e/kt),e>=t.d.length-1&&(n=u<0?-u:u)<=rae)return o=KM(l,s,n,r),t.s<0?new l(1).div(o):gt(o,r,a);if(i=s.s,i<0){if(e<t.d.length-1)return new l(NaN);if((t.d[e]&1)==0&&(i=1),s.e==0&&s.d[0]==1&&s.d.length==1)return s.s=i,s}return n=ir(+s,u),e=n==0||!isFinite(n)?Nr(u*(Math.log("0."+wr(s.d))/Math.LN10+s.e+1)):new l(n+"").e,e>l.maxE+1||e<l.minE-1?new l(e>0?i/0:0):(It=!1,l.rounding=s.s=1,n=Math.min(12,(e+"").length),o=Fv(t.times(Ds(s,r+n)),r),o.d&&(o=gt(o,r+5,1),gf(o.d,r,a)&&(e=r+10,o=gt(Fv(t.times(Ds(s,e+n)),e),e+5,1),+wr(o.d).slice(r+1,r+15)+1==1e14&&(o=gt(o,r+1,0)))),o.s=i,It=!0,l.rounding=a,gt(o,r,a))};He.toPrecision=function(t,e){var n,r=this,o=r.constructor;return t===void 0?n=ii(r,r.e<=o.toExpNeg||r.e>=o.toExpPos):(po(t,1,Js),e===void 0?e=o.rounding:po(e,0,8),r=gt(new o(r),t,e),n=ii(r,t<=r.e||r.e<=o.toExpNeg,t)),r.isNeg()&&!r.isZero()?"-"+n:n};He.toSignificantDigits=He.toSD=function(t,e){var n=this,r=n.constructor;return t===void 0?(t=r.precision,e=r.rounding):(po(t,1,Js),e===void 0?e=r.rounding:po(e,0,8)),gt(new r(n),t,e)};He.toString=function(){var t=this,e=t.constructor,n=ii(t,t.e<=e.toExpNeg||t.e>=e.toExpPos);return t.isNeg()&&!t.isZero()?"-"+n:n};He.truncated=He.trunc=function(){return gt(new this.constructor(this),this.e+1,1)};He.valueOf=He.toJSON=function(){var t=this,e=t.constructor,n=ii(t,t.e<=e.toExpNeg||t.e>=e.toExpPos);return t.isNeg()?"-"+n:n};function wr(t){var e,n,r,o=t.length-1,a="",i=t[0];if(o>0){for(a+=i,e=1;e<o;e++)r=t[e]+"",n=kt-r.length,n&&(a+=Rs(n)),a+=r;i=t[e],r=i+"",n=kt-r.length,n&&(a+=Rs(n))}else if(i===0)return"0";for(;i%10===0;)i/=10;return a+i}function po(t,e,n){if(t!==~~t||t<e||t>n)throw Error(qs+t)}function gf(t,e,n,r){var o,a,i,s;for(a=t[0];a>=10;a/=10)--e;return--e<0?(e+=kt,o=0):(o=Math.ceil((e+1)/kt),e%=kt),a=ir(10,kt-e),s=t[o]%a|0,r==null?e<3?(e==0?s=s/100|0:e==1&&(s=s/10|0),i=n<4&&s==99999||n>3&&s==49999||s==5e4||s==0):i=(n<4&&s+1==a||n>3&&s+1==a/2)&&(t[o+1]/a/100|0)==ir(10,e-2)-1||(s==a/2||s==0)&&(t[o+1]/a/100|0)==0:e<4?(e==0?s=s/1e3|0:e==1?s=s/100|0:e==2&&(s=s/10|0),i=(r||n<4)&&s==9999||!r&&n>3&&s==4999):i=((r||n<4)&&s+1==a||!r&&n>3&&s+1==a/2)&&(t[o+1]/a/1e3|0)==ir(10,e-3)-1,i}function a0(t,e,n){for(var r,o=[0],a,i=0,s=t.length;i<s;){for(a=o.length;a--;)o[a]*=e;for(o[0]+=Dv.indexOf(t.charAt(i++)),r=0;r<o.length;r++)o[r]>n-1&&(o[r+1]===void 0&&(o[r+1]=0),o[r+1]+=o[r]/n|0,o[r]%=n)}return o.reverse()}function aae(t,e){var n,r,o;if(e.isZero())return e;r=e.d.length,r<32?(n=Math.ceil(r/3),o=(1/Hh(4,n)).toString()):(n=16,o="2.3283064365386962890625e-10"),t.precision+=n,e=Nu(t,1,e.times(o),new t(1));for(var a=n;a--;){var i=e.times(e);e=i.times(i).minus(i).times(8).plus(1)}return t.precision-=n,e}var En=(function(){function t(r,o,a){var i,s=0,l=r.length;for(r=r.slice();l--;)i=r[l]*o+s,r[l]=i%a|0,s=i/a|0;return s&&r.unshift(s),r}function e(r,o,a,i){var s,l;if(a!=i)l=a>i?1:-1;else for(s=l=0;s<a;s++)if(r[s]!=o[s]){l=r[s]>o[s]?1:-1;break}return l}function n(r,o,a,i){for(var s=0;a--;)r[a]-=s,s=r[a]<o[a]?1:0,r[a]=s*i+r[a]-o[a];for(;!r[0]&&r.length>1;)r.shift()}return function(r,o,a,i,s,l){var u,d,f,m,v,g,w,y,_,S,x,C,M,A,O,D,T,R,$,P,I=r.constructor,L=r.s==o.s?1:-1,V=r.d,F=o.d;if(!V||!V[0]||!F||!F[0])return new I(!r.s||!o.s||(V?F&&V[0]==F[0]:!F)?NaN:V&&V[0]==0||!F?L*0:L/0);for(l?(v=1,d=r.e-o.e):(l=_a,v=kt,d=Nr(r.e/v)-Nr(o.e/v)),$=F.length,T=V.length,_=new I(L),S=_.d=[],f=0;F[f]==(V[f]||0);f++);if(F[f]>(V[f]||0)&&d--,a==null?(A=a=I.precision,i=I.rounding):s?A=a+(r.e-o.e)+1:A=a,A<0)S.push(1),g=!0;else{if(A=A/v+2|0,f=0,$==1){for(m=0,F=F[0],A++;(f<T||m)&&A--;f++)O=m*l+(V[f]||0),S[f]=O/F|0,m=O%F|0;g=m||f<T}else{for(m=l/(F[0]+1)|0,m>1&&(F=t(F,m,l),V=t(V,m,l),$=F.length,T=V.length),D=$,x=V.slice(0,$),C=x.length;C<$;)x[C++]=0;P=F.slice(),P.unshift(0),R=F[0],F[1]>=l/2&&++R;do m=0,u=e(F,x,$,C),u<0?(M=x[0],$!=C&&(M=M*l+(x[1]||0)),m=M/R|0,m>1?(m>=l&&(m=l-1),w=t(F,m,l),y=w.length,C=x.length,u=e(w,x,y,C),u==1&&(m--,n(w,$<y?P:F,y,l))):(m==0&&(u=m=1),w=F.slice()),y=w.length,y<C&&w.unshift(0),n(x,w,C,l),u==-1&&(C=x.length,u=e(F,x,$,C),u<1&&(m++,n(x,$<C?P:F,C,l))),C=x.length):u===0&&(m++,x=[0]),S[f++]=m,u&&x[0]?x[C++]=V[D]||0:(x=[V[D]],C=1);while((D++<T||x[0]!==void 0)&&A--);g=x[0]!==void 0}S[0]||S.shift()}if(v==1)_.e=d,HM=g;else{for(f=1,m=S[0];m>=10;m/=10)f++;_.e=f+d*v-1,gt(_,s?a+_.e+1:a,i,g)}return _}})();function gt(t,e,n,r){var o,a,i,s,l,u,d,f,m,v=t.constructor;e:if(e!=null){if(f=t.d,!f)return t;for(o=1,s=f[0];s>=10;s/=10)o++;if(a=e-o,a<0)a+=kt,i=e,d=f[m=0],l=d/ir(10,o-i-1)%10|0;else if(m=Math.ceil((a+1)/kt),s=f.length,m>=s)if(r){for(;s++<=m;)f.push(0);d=l=0,o=1,a%=kt,i=a-kt+1}else break e;else{for(d=s=f[m],o=1;s>=10;s/=10)o++;a%=kt,i=a-kt+o,l=i<0?0:d/ir(10,o-i-1)%10|0}if(r=r||e<0||f[m+1]!==void 0||(i<0?d:d%ir(10,o-i-1)),u=n<4?(l||r)&&(n==0||n==(t.s<0?3:2)):l>5||l==5&&(n==4||r||n==6&&(a>0?i>0?d/ir(10,o-i):0:f[m-1])%10&1||n==(t.s<0?8:7)),e<1||!f[0])return f.length=0,u?(e-=t.e+1,f[0]=ir(10,(kt-e%kt)%kt),t.e=-e||0):f[0]=t.e=0,t;if(a==0?(f.length=m,s=1,m--):(f.length=m+1,s=ir(10,kt-a),f[m]=i>0?(d/ir(10,o-i)%ir(10,i)|0)*s:0),u)for(;;)if(m==0){for(a=1,i=f[0];i>=10;i/=10)a++;for(i=f[0]+=s,s=1;i>=10;i/=10)s++;a!=s&&(t.e++,f[0]==_a&&(f[0]=1));break}else{if(f[m]+=s,f[m]!=_a)break;f[m--]=0,s=1}for(a=f.length;f[--a]===0;)f.pop()}return It&&(t.e>v.maxE?(t.d=null,t.e=NaN):t.e<v.minE&&(t.e=0,t.d=[0])),t}function ii(t,e,n){if(!t.isFinite())return ZM(t);var r,o=t.e,a=wr(t.d),i=a.length;return e?(n&&(r=n-i)>0?a=a.charAt(0)+"."+a.slice(1)+Rs(r):i>1&&(a=a.charAt(0)+"."+a.slice(1)),a=a+(t.e<0?"e":"e+")+t.e):o<0?(a="0."+Rs(-o-1)+a,n&&(r=n-i)>0&&(a+=Rs(r))):o>=i?(a+=Rs(o+1-i),n&&(r=n-o-1)>0&&(a=a+"."+Rs(r))):((r=o+1)<i&&(a=a.slice(0,r)+"."+a.slice(r)),n&&(r=n-i)>0&&(o+1===i&&(a+="."),a+=Rs(r))),a}function jh(t,e){var n=t[0];for(e*=kt;n>=10;n/=10)e++;return e}function K0(t,e,n){if(e>oae)throw It=!0,n&&(t.precision=n),Error(WM);return gt(new t(Y0),e,1,!0)}function ti(t,e,n){if(e>zv)throw Error(WM);return gt(new t(G0),e,n,!0)}function GM(t){var e=t.length-1,n=e*kt+1;if(e=t[e],e){for(;e%10==0;e/=10)n--;for(e=t[0];e>=10;e/=10)n++}return n}function Rs(t){for(var e="";t--;)e+="0";return e}function KM(t,e,n,r){var o,a=new t(1),i=Math.ceil(r/kt+4);for(It=!1;;){if(n%2&&(a=a.times(e),j5(a.d,i)&&(o=!0)),n=Nr(n/2),n===0){n=a.d.length-1,o&&a.d[n]===0&&++a.d[n];break}e=e.times(e),j5(e.d,i)}return It=!0,a}function V5(t){return t.d[t.d.length-1]&1}function XM(t,e,n){for(var r,o,a=new t(e[0]),i=0;++i<e.length;){if(o=new t(e[i]),!o.s){a=o;break}r=a.cmp(o),(r===n||r===0&&a.s===n)&&(a=o)}return a}function Fv(t,e){var n,r,o,a,i,s,l,u=0,d=0,f=0,m=t.constructor,v=m.rounding,g=m.precision;if(!t.d||!t.d[0]||t.e>17)return new m(t.d?t.d[0]?t.s<0?0:1/0:1:t.s?t.s<0?0:t:NaN);for(e==null?(It=!1,l=g):l=e,s=new m(.03125);t.e>-2;)t=t.times(s),f+=5;for(r=Math.log(ir(2,f))/Math.LN10*2+5|0,l+=r,n=a=i=new m(1),m.precision=l;;){if(a=gt(a.times(t),l,1),n=n.times(++d),s=i.plus(En(a,n,l,1)),wr(s.d).slice(0,l)===wr(i.d).slice(0,l)){for(o=f;o--;)i=gt(i.times(i),l,1);if(e==null)if(u<3&&gf(i.d,l-r,v,u))m.precision=l+=10,n=a=s=new m(1),d=0,u++;else return gt(i,m.precision=g,v,It=!0);else return m.precision=g,i}i=s}}function Ds(t,e){var n,r,o,a,i,s,l,u,d,f,m,v=1,g=10,w=t,y=w.d,_=w.constructor,S=_.rounding,x=_.precision;if(w.s<0||!y||!y[0]||!w.e&&y[0]==1&&y.length==1)return new _(y&&!y[0]?-1/0:w.s!=1?NaN:y?0:w);if(e==null?(It=!1,d=x):d=e,_.precision=d+=g,n=wr(y),r=n.charAt(0),Math.abs(a=w.e)<15e14){for(;r<7&&r!=1||r==1&&n.charAt(1)>3;)w=w.times(t),n=wr(w.d),r=n.charAt(0),v++;a=w.e,r>1?(w=new _("0."+n),a++):w=new _(r+"."+n.slice(1))}else return u=K0(_,d+2,x).times(a+""),w=Ds(new _(r+"."+n.slice(1)),d-g).plus(u),_.precision=x,e==null?gt(w,x,S,It=!0):w;for(f=w,l=i=w=En(w.minus(1),w.plus(1),d,1),m=gt(w.times(w),d,1),o=3;;){if(i=gt(i.times(m),d,1),u=l.plus(En(i,new _(o),d,1)),wr(u.d).slice(0,d)===wr(l.d).slice(0,d))if(l=l.times(2),a!==0&&(l=l.plus(K0(_,d+2,x).times(a+""))),l=En(l,new _(v),d,1),e==null)if(gf(l.d,d-g,S,s))_.precision=d+=g,u=i=w=En(f.minus(1),f.plus(1),d,1),m=gt(w.times(w),d,1),o=s=1;else return gt(l,_.precision=x,S,It=!0);else return _.precision=x,l;l=u,o+=2}}function ZM(t){return String(t.s*t.s/0)}function i0(t,e){var n,r,o;for((n=e.indexOf("."))>-1&&(e=e.replace(".","")),(r=e.search(/e/i))>0?(n<0&&(n=r),n+=+e.slice(r+1),e=e.substring(0,r)):n<0&&(n=e.length),r=0;e.charCodeAt(r)===48;r++);for(o=e.length;e.charCodeAt(o-1)===48;--o);if(e=e.slice(r,o),e){if(o-=r,t.e=n=n-r-1,t.d=[],r=(n+1)%kt,n<0&&(r+=kt),r<o){for(r&&t.d.push(+e.slice(0,r)),o-=kt;r<o;)t.d.push(+e.slice(r,r+=kt));e=e.slice(r),r=kt-e.length}else r-=o;for(;r--;)e+="0";t.d.push(+e),It&&(t.e>t.constructor.maxE?(t.d=null,t.e=NaN):t.e<t.constructor.minE&&(t.e=0,t.d=[0]))}else t.e=0,t.d=[0];return t}function iae(t,e){var n,r,o,a,i,s,l,u,d;if(e.indexOf("_")>-1){if(e=e.replace(/(\d)_(?=\d)/g,"$1"),YM.test(e))return i0(t,e)}else if(e==="Infinity"||e==="NaN")return+e||(t.s=NaN),t.e=NaN,t.d=null,t;if(tae.test(e))n=16,e=e.toLowerCase();else if(eae.test(e))n=2;else if(nae.test(e))n=8;else throw Error(qs+e);for(a=e.search(/p/i),a>0?(l=+e.slice(a+1),e=e.substring(2,a)):e=e.slice(2),a=e.indexOf("."),i=a>=0,r=t.constructor,i&&(e=e.replace(".",""),s=e.length,a=s-a,o=KM(r,new r(n),a,a*2)),u=a0(e,n,_a),d=u.length-1,a=d;u[a]===0;--a)u.pop();return a<0?new r(t.s*0):(t.e=jh(u,d),t.d=u,It=!1,i&&(t=En(t,o,s*4)),l&&(t=t.times(Math.abs(l)<54?ir(2,l):Ut.pow(2,l))),It=!0,t)}function sae(t,e){var n,r=e.d.length;if(r<3)return e.isZero()?e:Nu(t,2,e,e);n=1.4*Math.sqrt(r),n=n>16?16:n|0,e=e.times(1/Hh(5,n)),e=Nu(t,2,e,e);for(var o,a=new t(5),i=new t(16),s=new t(20);n--;)o=e.times(e),e=e.times(a.plus(o.times(i.times(o).minus(s))));return e}function Nu(t,e,n,r,o){var a,i,s,l,u=t.precision,d=Math.ceil(u/kt);for(It=!1,l=n.times(n),s=new t(r);;){if(i=En(s.times(l),new t(e++*e++),u,1),s=o?r.plus(i):r.minus(i),r=En(i.times(l),new t(e++*e++),u,1),i=s.plus(r),i.d[d]!==void 0){for(a=d;i.d[a]===s.d[a]&&a--;);if(a==-1)break}a=s,s=r,r=i,i=a}return It=!0,i.d.length=d+1,i}function Hh(t,e){for(var n=t;--e;)n*=t;return n}function QM(t,e){var n,r=e.s<0,o=ti(t,t.precision,1),a=o.times(.5);if(e=e.abs(),e.lte(a))return zi=r?4:1,e;if(n=e.divToInt(o),n.isZero())zi=r?3:2;else{if(e=e.minus(n.times(o)),e.lte(a))return zi=V5(n)?r?2:3:r?4:1,e;zi=V5(n)?r?1:4:r?3:2}return e.minus(o).abs()}function C3(t,e,n,r){var o,a,i,s,l,u,d,f,m,v=t.constructor,g=n!==void 0;if(g?(po(n,1,Js),r===void 0?r=v.rounding:po(r,0,8)):(n=v.precision,r=v.rounding),!t.isFinite())d=ZM(t);else{for(d=ii(t),i=d.indexOf("."),g?(o=2,e==16?n=n*4-3:e==8&&(n=n*3-2)):o=e,i>=0&&(d=d.replace(".",""),m=new v(1),m.e=d.length-i,m.d=a0(ii(m),10,o),m.e=m.d.length),f=a0(d,10,o),a=l=f.length;f[--l]==0;)f.pop();if(!f[0])d=g?"0p+0":"0";else{if(i<0?a--:(t=new v(t),t.d=f,t.e=a,t=En(t,m,n,r,0,o),f=t.d,a=t.e,u=HM),i=f[n],s=o/2,u=u||f[n+1]!==void 0,u=r<4?(i!==void 0||u)&&(r===0||r===(t.s<0?3:2)):i>s||i===s&&(r===4||u||r===6&&f[n-1]&1||r===(t.s<0?8:7)),f.length=n,u)for(;++f[--n]>o-1;)f[n]=0,n||(++a,f.unshift(1));for(l=f.length;!f[l-1];--l);for(i=0,d="";i<l;i++)d+=Dv.charAt(f[i]);if(g){if(l>1)if(e==16||e==8){for(i=e==16?4:3,--l;l%i;l++)d+="0";for(f=a0(d,o,e),l=f.length;!f[l-1];--l);for(i=1,d="1.";i<l;i++)d+=Dv.charAt(f[i])}else d=d.charAt(0)+"."+d.slice(1);d=d+(a<0?"p":"p+")+a}else if(a<0){for(;++a;)d="0"+d;d="0."+d}else if(++a>l)for(a-=l;a--;)d+="0";else a<l&&(d=d.slice(0,a)+"."+d.slice(a))}d=(e==16?"0x":e==2?"0b":e==8?"0o":"")+d}return t.s<0?"-"+d:d}function j5(t,e){if(t.length>e)return t.length=e,!0}function lae(t){return new this(t).abs()}function cae(t){return new this(t).acos()}function uae(t){return new this(t).acosh()}function dae(t,e){return new this(t).plus(e)}function fae(t){return new this(t).asin()}function pae(t){return new this(t).asinh()}function hae(t){return new this(t).atan()}function mae(t){return new this(t).atanh()}function gae(t,e){t=new this(t),e=new this(e);var n,r=this.precision,o=this.rounding,a=r+4;return!t.s||!e.s?n=new this(NaN):!t.d&&!e.d?(n=ti(this,a,1).times(e.s>0?.25:.75),n.s=t.s):!e.d||t.isZero()?(n=e.s<0?ti(this,r,o):new this(0),n.s=t.s):!t.d||e.isZero()?(n=ti(this,a,1).times(.5),n.s=t.s):e.s<0?(this.precision=a,this.rounding=1,n=this.atan(En(t,e,a,1)),e=ti(this,a,1),this.precision=r,this.rounding=o,n=t.s<0?n.minus(e):n.plus(e)):n=this.atan(En(t,e,a,1)),n}function vae(t){return new this(t).cbrt()}function wae(t){return gt(t=new this(t),t.e+1,2)}function bae(t,e,n){return new this(t).clamp(e,n)}function yae(t){if(!t||typeof t!="object")throw Error(Vh+"Object expected");var e,n,r,o=t.defaults===!0,a=["precision",1,Js,"rounding",0,8,"toExpNeg",-cu,0,"toExpPos",0,cu,"maxE",0,cu,"minE",-cu,0,"modulo",0,9];for(e=0;e<a.length;e+=3)if(n=a[e],o&&(this[n]=Bv[n]),(r=t[n])!==void 0)if(Nr(r)===r&&r>=a[e+1]&&r<=a[e+2])this[n]=r;else throw Error(qs+n+": "+r);if(n="crypto",o&&(this[n]=Bv[n]),(r=t[n])!==void 0)if(r===!0||r===!1||r===0||r===1)if(r)if(typeof crypto<"u"&&crypto&&(crypto.getRandomValues||crypto.randomBytes))this[n]=!0;else throw Error(qM);else this[n]=!1;else throw Error(qs+n+": "+r);return this}function _ae(t){return new this(t).cos()}function xae(t){return new this(t).cosh()}function JM(t){var e,n,r;function o(a){var i,s,l,u=this;if(!(u instanceof o))return new o(a);if(u.constructor=o,H5(a)){u.s=a.s,It?!a.d||a.e>o.maxE?(u.e=NaN,u.d=null):a.e<o.minE?(u.e=0,u.d=[0]):(u.e=a.e,u.d=a.d.slice()):(u.e=a.e,u.d=a.d?a.d.slice():a.d);return}if(l=typeof a,l==="number"){if(a===0){u.s=1/a<0?-1:1,u.e=0,u.d=[0];return}if(a<0?(a=-a,u.s=-1):u.s=1,a===~~a&&a<1e7){for(i=0,s=a;s>=10;s/=10)i++;It?i>o.maxE?(u.e=NaN,u.d=null):i<o.minE?(u.e=0,u.d=[0]):(u.e=i,u.d=[a]):(u.e=i,u.d=[a]);return}if(a*0!==0){a||(u.s=NaN),u.e=NaN,u.d=null;return}return i0(u,a.toString())}if(l==="string")return(s=a.charCodeAt(0))===45?(a=a.slice(1),u.s=-1):(s===43&&(a=a.slice(1)),u.s=1),YM.test(a)?i0(u,a):iae(u,a);if(l==="bigint")return a<0?(a=-a,u.s=-1):u.s=1,i0(u,a.toString());throw Error(qs+a)}if(o.prototype=He,o.ROUND_UP=0,o.ROUND_DOWN=1,o.ROUND_CEIL=2,o.ROUND_FLOOR=3,o.ROUND_HALF_UP=4,o.ROUND_HALF_DOWN=5,o.ROUND_HALF_EVEN=6,o.ROUND_HALF_CEIL=7,o.ROUND_HALF_FLOOR=8,o.EUCLID=9,o.config=o.set=yae,o.clone=JM,o.isDecimal=H5,o.abs=lae,o.acos=cae,o.acosh=uae,o.add=dae,o.asin=fae,o.asinh=pae,o.atan=hae,o.atanh=mae,o.atan2=gae,o.cbrt=vae,o.ceil=wae,o.clamp=bae,o.cos=_ae,o.cosh=xae,o.div=Sae,o.exp=Cae,o.floor=Eae,o.hypot=Mae,o.ln=kae,o.log=Rae,o.log10=Nae,o.log2=Tae,o.max=Pae,o.min=Aae,o.mod=Iae,o.mul=Oae,o.pow=Lae,o.random=$ae,o.round=Dae,o.sign=Bae,o.sin=zae,o.sinh=Fae,o.sqrt=Vae,o.sub=jae,o.sum=Hae,o.tan=Wae,o.tanh=qae,o.trunc=Uae,t===void 0&&(t={}),t&&t.defaults!==!0)for(r=["precision","rounding","toExpNeg","toExpPos","maxE","minE","modulo","crypto"],e=0;e<r.length;)t.hasOwnProperty(n=r[e++])||(t[n]=this[n]);return o.config(t),o}function Sae(t,e){return new this(t).div(e)}function Cae(t){return new this(t).exp()}function Eae(t){return gt(t=new this(t),t.e+1,3)}function Mae(){var t,e,n=new this(0);for(It=!1,t=0;t<arguments.length;)if(e=new this(arguments[t++]),e.d)n.d&&(n=n.plus(e.times(e)));else{if(e.s)return It=!0,new this(1/0);n=e}return It=!0,n.sqrt()}function H5(t){return t instanceof Ut||t&&t.toStringTag===UM||!1}function kae(t){return new this(t).ln()}function Rae(t,e){return new this(t).log(e)}function Tae(t){return new this(t).log(2)}function Nae(t){return new this(t).log(10)}function Pae(){return XM(this,arguments,-1)}function Aae(){return XM(this,arguments,1)}function Iae(t,e){return new this(t).mod(e)}function Oae(t,e){return new this(t).mul(e)}function Lae(t,e){return new this(t).pow(e)}function $ae(t){var e,n,r,o,a=0,i=new this(1),s=[];if(t===void 0?t=this.precision:po(t,1,Js),r=Math.ceil(t/kt),this.crypto)if(crypto.getRandomValues)for(e=crypto.getRandomValues(new Uint32Array(r));a<r;)o=e[a],o>=429e7?e[a]=crypto.getRandomValues(new Uint32Array(1))[0]:s[a++]=o%1e7;else if(crypto.randomBytes){for(e=crypto.randomBytes(r*=4);a<r;)o=e[a]+(e[a+1]<<8)+(e[a+2]<<16)+((e[a+3]&127)<<24),o>=214e7?crypto.randomBytes(4).copy(e,a):(s.push(o%1e7),a+=4);a=r/4}else throw Error(qM);else for(;a<r;)s[a++]=Math.random()*1e7|0;for(r=s[--a],t%=kt,r&&t&&(o=ir(10,kt-t),s[a]=(r/o|0)*o);s[a]===0;a--)s.pop();if(a<0)n=0,s=[0];else{for(n=-1;s[0]===0;n-=kt)s.shift();for(r=1,o=s[0];o>=10;o/=10)r++;r<kt&&(n-=kt-r)}return i.e=n,i.d=s,i}function Dae(t){return gt(t=new this(t),t.e+1,this.rounding)}function Bae(t){return t=new this(t),t.d?t.d[0]?t.s:0*t.s:t.s||NaN}function zae(t){return new this(t).sin()}function Fae(t){return new this(t).sinh()}function Vae(t){return new this(t).sqrt()}function jae(t,e){return new this(t).sub(e)}function Hae(){var t=0,e=arguments,n=new this(e[t]);for(It=!1;n.s&&++t<e.length;)n=n.plus(e[t]);return It=!0,gt(n,this.precision,this.rounding)}function Wae(t){return new this(t).tan()}function qae(t){return new this(t).tanh()}function Uae(t){return gt(t=new this(t),t.e+1,1)}He[Symbol.for("nodejs.util.inspect.custom")]=He.toString;He[Symbol.toStringTag]="Decimal";var Ut=He.constructor=JM(Bv);Y0=new Ut(Y0);G0=new Ut(G0);const Yae="_horizontal_cm4wx_98",Gae="_error_cm4wx_134",ek={"number-input":"_number-input_cm4wx_39","number-inp-cont":"_number-inp-cont_cm4wx_56","number-btn-area":"_number-btn-area_cm4wx_67","number-btn":"_number-btn_cm4wx_67",horizontal:Yae,"button-horizontal":"_button-horizontal_cm4wx_125",error:Gae},Kae=rn(ek,"rb-ui"),r1=({type:t,disabled:e,rippleOption:n,onMouseDown:r,onMouseUp:o,onClick:a,children:i})=>h(Rr,{...n,disabled:e||n?.disabled,children:h("button",{type:"button","data-type":t,className:Kae("number-btn",t),disabled:e,onMouseDown:()=>r(t),onMouseUp:()=>o(t),onMouseOut:()=>o(),onClick:()=>a(t),children:i})}),{forwardRef:Xae}=await q("react"),s0=Xae(({value:t,isDirect:e,useComma:n=!0,onChange:r,onFocus:o,onBlur:a,...i},s)=>{const l=n?Vi(t??"").join("."):t??"";return h("input",{...i,ref:s,type:"text",inputMode:"decimal",value:l,readOnly:!e,onChange:r,onFocus:o,onBlur:a})});s0.displayName="NumberInputField";const{forwardRef:Zae,useRef:gs,useEffect:o1,useState:W5,useCallback:vs,useMemo:Qae,useImperativeHandle:Jae}=await q("react"),bd=rn(ek,"rb-ui"),eie=t=>{const e=t?.target?.value;return kn.replace(e,/^0+[\d,]/gm,o=>kn.last(o)).replace(/[^\d.-]/g,"")},tie=Zae(({className:t="",step:e=1,error:n,isDirect:r=!0,increaseStep:o,decreaseStep:a,maxLength:i,arrowUpElement:s=h(k$,{}),arrowDownElement:l=h(M$,{}),rippleOption:u,hideButton:d,useComma:f=!0,buttonPosition:m="vertical",handleChange:v,...g},w)=>{const{value:y,readOnly:_,disabled:S,min:x,max:C="9999999999999",digit:M=18,onFocus:A,onBlur:O}=g,D=gs(null),T=gs(!1),R=gs(""),$=gs(null),P=gs(null),I=gs(0),L=gs(0),V=gs(1e3),[F,z]=W5(y??""),[B,Y]=W5(!1),U=Qae(()=>S||new Ut(x??0).cmp(new Ut(C))>0,[S,C,x]),le=vs((we,Ne,Ie)=>Ie==="up"?new Ut(we||0).add(new Ut($.current?.increase??Ne??1)).toDP(M,Ut.ROUND_DOWN).toString():new Ut(we||0).sub(new Ut($.current?.decrease??Ne??1)).toDP(M,Ut.ROUND_DOWN).toString(),[M]),J=vs(we=>typeof we>"u"||!we||U?"":we.endsWith(".")?we:typeof x<"u"&&new Ut(Number(we)).lt(new Ut(x))?String(x):typeof C<"u"&&new Ut(Vl(we||"")).gt(new Ut(C))?String(C):we,[x,C,U]),re=vs(we=>U?"":we.endsWith(".")?we:J(we),[U,J]),te=vs(({type:we,e:Ne})=>{if(!D.current||U)return;const{value:Ie,name:Pe}=D.current,he=eie({target:{value:Ie}}),ge=M?new RegExp(`^-?[0-9]*[.]{0,1}[0-9]{0,${M}}$`,"gm"):/^-?\d{0,18}$/;he.match(ge)&&(typeof i<"u"&&(he||"").split(".")[0].replace(/[^0-9]/g,"").length>Number(i)||(D.current.value=f?Vi(he??"").join("."):he??"",R.current!==he&&(v?.(he,Pe,{type:we}),Ne&&g.onChange?.(Ne),R.current=he),z(he)))},[U,M,i,v,g,f]),oe=vs((we,Ne)=>{if(D.current)if(Y(Ne),Ne)A?.(we);else{const Ie=re(D.current.value);D.current.value=f?Vi(Ie).join("."):Ie,te({}),O?.(we)}},[A,re,te,O,f]),ee=vs(we=>{if(U||_){T.current=!1,window.clearTimeout(I.current);return}R.current=le(R.current??"0",P.current,we),R.current=J(R.current??"0"),z(String(R.current)),v?.(R.current,g.name,{type:we}),T.current&&(window.clearTimeout(L.current),L.current=window.setTimeout(()=>{ee(we),V.current>100&&(V.current-=V.current/5)},V.current))},[le,J,U,v,g.name,_]),ue=vs(we=>{if(U||_){T.current=!1,window.clearTimeout(I.current);return}I.current=window.setTimeout(()=>{T.current=!0,ee(we)},500)},[U,ee,_]),fe=vs(we=>{if(U||_){T.current=!1,window.clearTimeout(I.current);return}T.current=!1,V.current=500,window.clearTimeout(I.current),we&&te({type:we})},[U,te,_]);return o1(()=>{const we=y?String(y).replace(/,/g,""):"";R.current=we},[y]),o1(()=>{if(typeof y<"u"){const we=String(y).replace(/,/g,"");z(we),D.current&&(D.current.value=f?Vi(we).join("."):we)}},[y,f]),o1(()=>{P.current=e},[e]),o1(()=>{$.current={increase:o,decrease:a}},[o,a]),Jae(w,()=>D.current),h("div",{className:bd("number-input",`button-${d?"vertical":m}`,t,{focus:B,readonly:_,disabled:S,error:n}),children:ne("div",{className:bd("number-inp-cont"),children:[!d&&h(Mr,{children:m==="horizontal"?ne(Mr,{children:[h("div",{className:bd("number-btn-area","horizontal"),children:h(r1,{type:"down",disabled:U||x===F,rippleOption:u,onMouseDown:ue,onMouseUp:fe,onClick:ee,children:l})}),h(s0,{...g,ref:D,value:F??"",useComma:f,isDirect:r,onChange:we=>te({e:we}),onFocus:we=>oe(we,!0),onBlur:we=>oe(we,!1)}),h("div",{className:bd("number-btn-area","horizontal"),children:h(r1,{type:"up",disabled:U||C===F,rippleOption:u,onMouseDown:ue,onMouseUp:fe,onClick:ee,children:s})})]}):ne(Mr,{children:[h(s0,{...g,ref:D,value:F??"",useComma:f,isDirect:r,onChange:we=>te({e:we}),onFocus:we=>oe(we,!0),onBlur:we=>oe(we,!1)}),ne("div",{className:bd("number-btn-area","vertical"),children:[h(r1,{type:"up",disabled:U||C===F,rippleOption:u,onMouseDown:ue,onMouseUp:fe,onClick:ee,children:s}),h(r1,{type:"down",disabled:U||x===F,rippleOption:u,onMouseDown:ue,onMouseUp:fe,onClick:ee,children:l})]})]})}),d&&h(s0,{...g,ref:D,value:F??"",useComma:f,isDirect:r,onChange:we=>te({e:we}),onFocus:we=>oe(we,!0),onBlur:we=>oe(we,!1)})]})})});tie.displayName="NumberInput";const nie="_readonly_lth3f_55",rie="_disabled_lth3f_59",oie="_icon_lth3f_63",aie="_text_lth3f_156",iie="_small_lth3f_191",sie={"radio-box":"_radio-box_lth3f_39",readonly:nie,disabled:rie,"ico-check":"_ico-check_lth3f_63",icon:oie,text:aie,small:iie},{forwardRef:lie,useCallback:cie,useImperativeHandle:uie,useMemo:die,useRef:fie}=await q("react"),a1=rn(sie,"rb-ui"),tk=lie(({className:t="",children:e,size:n="normal",checkValue:r,value:o,handleChange:a,...i},s)=>{const l=fie(null),u=die(()=>{if(o)return o===r},[o,r]),d=cie(f=>{const{name:m,value:v}=f.target;(typeof r=="number"?Number(v)===r:v===r)&&a?.(r,m),i.onChange?.(f)},[a,i,r]);return uie(s,()=>l.current),h("div",{className:a1("radio-box",t,n,{readonly:i?.readOnly,disabled:i?.disabled,"not-allow":i?.readOnly||i?.disabled,checked:u}),children:ne("label",{children:[h("input",{ref:l,...i,type:"radio",value:r,checked:u,onChange:d}),h("span",{className:a1("ico-check"),children:h("i",{className:a1("icon")})}),h("span",{className:a1("text"),children:e})]})})});tk.displayName="RadioBox";const pie={"radio-button":"_radio-button_12hgr_41","radio-button-text":"_radio-button-text_12hgr_48"},{forwardRef:hie}=await q("react"),q5=rn(pie,"rb-ui"),mie=hie(({className:t="",children:e,rippleOption:n={disabled:!0},...r},o)=>h(Rr,{...n,children:h(tk,{ref:o,className:q5(t,"radio-button"),...r,children:h("div",{className:q5("radio-button-text"),children:e})})}));mie.displayName="RadioButton";const gie="_top_ot3bh_49",vie="_bottom_ot3bh_52",wie="_hd_ot3bh_141",bie="_label_ot3bh_149",yie={"select-drop-box":"_select-drop-box_ot3bh_40","select-option-slide":"_select-option-slide_ot3bh_1",top:gie,bottom:vie,"drop-box-contents":"_drop-box-contents_ot3bh_55","scroll-area":"_scroll-area_ot3bh_69","search-area":"_search-area_ot3bh_89","ico-search":"_ico-search_ot3bh_103","ico-reset":"_ico-reset_ot3bh_107",hd:wie,label:bie,"btn-close":"_btn-close_ot3bh_162"},{Children:_ie,forwardRef:xie,useCallback:yd,useEffect:i1,useImperativeHandle:Sie,useMemo:U5,useRef:Y5,useState:G5}=await q("react"),qa=rn(yie,"rb-ui"),s1=10,nk=xie((t,e)=>{const{className:n,children:r,label:o,inputEl:a,parentEl:i,maxHeight:s=200,search:l,searchText:u="",searchPlaceholder:d,noDataMsg:f,direction:m="bottom",showCloseBtn:v,whenScrollCloseDropBox:g,setOpen:w,handleSearchTextChange:y,handleKeyPress:_}=t,S=Y5(null),x=Y5(null),{isMobile:C}=u3(),[M,A]=G5(!1),[O,D]=G5(m),T=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",T+"px");const R=U5(()=>_ie.map(r,z=>z).length===0,[r]),$=U5(()=>C?o||v:!1,[C,o,v]),P=yd((z,B)=>{const Y=window.scrollY,U=window.scrollY+window.innerHeight;m==="top"&&z-B+s1<Y?D("bottom"):m==="bottom"&&z+s+s1>U&&D("top")},[m,s]),I=yd(z=>{if(!z)return;const{clientWidth:B,clientHeight:Y}=z,U=z.getBoundingClientRect(),J=document.body.style.position==="fixed"&&!!document.body.style.top&&Number(document.body.style.top.replace("px",""))<0?Number(document.body.style.top.replace("px",""))*-1:window.scrollY,re=U.top+J,{left:te}=U;let oe=`min-width:${B}px;`;const ee=S.current.clientHeight??0;switch(P(U.top+window.scrollY,ee),O){case"top":oe+=`top: ${re-ee-s1}px; left: ${te}px;`;break;case"bottom":oe+=`top: ${re+Y+s1}px; left: ${te}px;`;break}return oe},[P,O]),L=yd(z=>{const{value:B}=z.target;y(B)},[y]),V=yd(()=>{y("")},[y]),F=yd(()=>{a&&a.blur(),w(!1)},[a,w]);return i1(()=>{const z=S.current,B=x.current,Y=I(i);if(z&&B){const U=B.querySelector(".active");typeof B.scrollTo=="function"&&B.scrollTo(0,U?.offsetTop??0),z.setAttribute("style",Y)}},[I,i]),i1(()=>{if(x){const z=x.current,B=z.querySelector(".match");B&&([...z.children].map(Y=>Y.classList.remove("match")),B.classList.add("match"),z.scrollTo(0,B.offsetTop))}},[u,x]),i1(()=>{const z=()=>{window.innerWidth<800||(w(!1),a&&a.blur())};return window.removeEventListener("resize",z),window.addEventListener("resize",z),g&&(window.removeEventListener("scroll",z),window.addEventListener("scroll",z)),()=>{window.removeEventListener("scroll",z),window.removeEventListener("resize",z)}},[a,w,g]),i1(()=>(C&&V7(),()=>{C&&j7()}),[C]),Sie(e,()=>S.current),ne("div",{ref:S,role:"button",tabIndex:-1,className:qa(n,O,"select-drop-box",C?"":"desktop"),children:[h("div",{className:qa("dim"),onClick:F}),ne("div",{className:qa("drop-box-contents"),children:[$&&ne("div",{className:qa("hd"),children:[o&&h("label",{className:qa("label"),children:o}),v&&h("button",{type:"button",className:qa("btn-close"),onClick:F,children:h(Yy,{})})]}),l&&ne("div",{className:qa("search-area"),children:[h(w$,{className:qa("ico-search")}),h("input",{type:"search",placeholder:d,value:u,onChange:L,onKeyDown:_,onFocus:()=>A(!0),onBlur:()=>A(!1)}),h("button",{type:"button",style:{display:M&&u?"block":"none"},onMouseDown:V,children:h(Yy,{className:qa("ico-reset")})})]}),h("div",{ref:x,className:qa("scroll-area"),children:R?f:r})]})]})});nk.displayName="SelectDropBox";const Cie="_placeholder_obecl_55",Eie="_readonly_obecl_61",Mie="_focus_obecl_67",kie="_open_obecl_71",Rie="_value_obecl_94",Tie={"select-box":"_select-box_obecl_40",placeholder:Cie,"not-allow":"_not-allow_obecl_58",readonly:Eie,focus:Mie,open:kie,"ico-arrow":"_ico-arrow_obecl_71",value:Rie,"no-data":"_no-data_obecl_155"},Nie={"select-modal-drop-box":"_select-modal-drop-box_c1y39_40","modal-box-contents":"_modal-box-contents_c1y39_40"},{useEffect:Pie,useRef:Aie}=await q("react"),K5=rn(Nie),Iie=({className:t,children:e,...n})=>{const r=Aie(null);return Pie(()=>{setTimeout(()=>{if(r.current&&n.open){const o=r.current.querySelector(".active");typeof r.current.scrollTo=="function"&&r.current.scrollTo(0,o?.offsetTop??0)}},50)},[n.open]),h(ac,{className:K5("select-modal-drop-box",t),...n,children:h("div",{ref:r,className:K5("modal-box-contents"),children:e})})},{Children:Oie,cloneElement:Lie,useCallback:Vc,useEffect:Qg,useMemo:l1,useRef:c1,useState:_d,forwardRef:$ie,useImperativeHandle:Die}=await q("react"),u1=rn(Tie,"rb-ui"),Bie=$ie((t,e)=>{const{className:n="",children:r,name:o,value:a,error:i,search:s,mobileLabel:l,placeholder:u,disabled:d,readOnly:f,dropBoxClassName:m,modalBoxClassName:v,selectArrow:g=h(c$,{}),keepDropDown:w,searchPlaceholder:y="Search",showCloseBtn:_,whenScrollCloseDropBox:S,enableModal:x,noDataMsg:C=h(Uf,{className:u1("no-data")}),onClick:M,handleChange:A,...O}=t,D=c1(null),T=c1(null),R=c1(null),$=c1(Date.now()),[P,I]=_d(a),[L,V]=_d(""),[F,z]=_d(""),[B,Y]=_d(!1),[U,le]=_d(!1),J=l1(()=>{const Ie=({value:ge})=>{d||(I(ge),A?.(ge,o),D.current.value=String(ge),O.onChange?.({target:D.current}),w||Y(!1))},Pe=ge=>(ge??[]).flatMap(be=>{if(!be?.props)return[];if(be.type?.displayName==="Option"){let Ue;return be.props.text||(typeof be.props.label=="string"?Ue=be.props.label:typeof be.props.children=="string"?Ue=be.props.children:Ue=be.props.value.toString()),Lie(be,{...be.props,text:Ue.toLowerCase(),selectedValue:P,searchText:L,handleChange:Ie})}return Array.isArray(be.props.children)?Pe(be.props.children):[]}),he=Oie.map(r,ge=>ge);return Pe(he)},[r,d,A,w,o,L,P,O]),re=l1(()=>J.filter(Ie=>Ie.props.text.toLowerCase().includes(F.toLowerCase())),[J,F]),te=l1(()=>J.find(Ie=>{const Pe=Ie.props.value;return Pe===P||Pe===a}),[J,P,a]),oe=l1(()=>{if(!te){const he=J[0]?.props;return{text:u??he?.label??he?.children??"",isPlaceholder:!!u}}const{label:Ie,children:Pe}=te.props;return{text:Ie??Pe??"",isPlaceholder:!1}},[te,J,u]),ee=Vc(()=>{const Ie=Date.now();if(Ie-$.current<300){$.current=Ie;return}if(M)M();else{if(d||f)return;Y(he=>!he),$.current=Ie}},[d,f,M]),ue=Vc(Ie=>{V(Ie),z(Ie)},[]),fe=Vc(()=>{if(!B){Y(!0);return}const Ie=J.find(Pe=>Pe.props.text.includes(L.toLowerCase()));if(Ie){const Pe=Ie.props;I(Pe.value),A?.(Pe.value,o),D.current.value=String(Pe.value||""),O.onChange?.({target:D.current}),Y(!1),D.current.blur()}},[A,O,o,B,J,L]),ye=Vc(Ie=>{let Pe;const he=J.findIndex(be=>{const Ue=be.props;return L?Ue.text===L:Ue.value===P});Ie==="down"?Pe=he+1>=J.length?J[0]:J[he+1]:Pe=he<=0?J[J.length-1]:J[he-1];const ge=Pe.props.text;V(ge)},[J,P,L]),we=Vc(Ie=>{Ie.key==="Enter"&&!Ie.nativeEvent.isComposing?fe():Ie.key==="ArrowDown"?(ye("down"),Ie.preventDefault()):Ie.key==="ArrowUp"&&(ye("up"),Ie.preventDefault())},[fe,ye]),Ne=Vc((Ie,Pe)=>{le(Pe),Pe?O.onFocus?.(Ie):O.onBlur?.(Ie)},[O]);return Df(T,Ie=>{},{offTouchEvent:!0}),Qg(()=>{if(J.length&&!u&&!te){const Pe=J[0].props.value;I(D.current?.value??Pe)}},[u,te,J]),Qg(()=>{typeof a<"u"&&I(a)},[a]),Qg(()=>{B||V("")},[B]),Die(e,()=>(D.current.handleClickSelectBox=ee,{...D.current,get value(){return D.current.value},set value(Ie){I(Pe=>typeof Pe=="string"&&Pe===Ie||typeof Pe=="number"&&Pe===Number(Ie)||typeof Pe=="boolean"&&String(Pe)===String(Ie)?Pe:Ie),D.current.value=Ie}})),ne(Mr,{children:[h("div",{ref:T,className:u1("select-box",n,{open:B,focus:U,disabled:d,error:i,readonly:f,placeholder:oe.isPlaceholder,"not-allow":d}),onClick:ee,children:ne("label",{className:"h-inherit relative box-border block w-full overflow-hidden",children:[h("div",{className:u1("value",{placeholder:oe.isPlaceholder}),children:h("span",{children:oe.text})}),h("input",{...O,ref:D,type:"text",value:P??D.current?.value??"",name:o,readOnly:!0,onFocus:Ie=>Ne(Ie,!0),onBlur:Ie=>Ne(Ie,!1),onKeyDown:we}),h("i",{className:u1("ico-arrow"),children:g})]})}),x&&h(Iie,{className:v,type:"dialog",open:B,hideCloseButton:!0,onOpenChange:Y,children:re}),!x&&B&&h(Ql,{children:h(nk,{ref:R,className:m,label:l,inputEl:D.current,parentEl:T.current,setOpen:Y,search:s,searchText:L,searchPlaceholder:y,showCloseBtn:_,whenScrollCloseDropBox:S,noDataMsg:C,handleSearchTextChange:ue,handleKeyPress:we,children:re})})]})});Bie.displayName="SelectBox";const zie="_option_1nygb_40",Fie="_active_1nygb_57",Vie="_match_1nygb_65",jie="_hide_1nygb_68",Hie="_disabled_1nygb_71",Wie={option:zie,active:Fie,match:Vie,hide:jie,disabled:Hie},{useCallback:qie,useMemo:Uie}=await q("react"),Yie=rn(Wie,"rb-ui"),Gie=({className:t="",text:e,value:n,label:r,children:o,selectedValue:a="",searchText:i="",disabled:s,handleChange:l})=>{const u=Uie(()=>i?kn.lowerCase(e).includes(kn.lowerCase(i)):!1,[e,i]),d=qie(f=>{f.button===2||s||l?.({label:r??o,value:n})},[o,s,l,n,r]);return h("div",{className:Yie(t,"option",{active:a===n,match:u,disabled:s}),role:"button",tabIndex:-1,onMouseDown:d,children:o})};Gie.displayName="Option";const Kie="_error_k6i01_44",Xie="_filled_k6i01_51",Zie={"text-area":"_text-area_k6i01_39",error:Kie,filled:Xie,"text-count":"_text-count_k6i01_83"},{forwardRef:Qie,useCallback:Jie,useEffect:X5,useImperativeHandle:ese,useRef:tse,useState:nse}=await q("react"),Z5=rn(Zie,"rb-ui"),rse=Qie(({className:t="",maxLength:e,error:n,handleChange:r,...o},a)=>{const i=tse(null),[s,l]=nse(0),u=Jie(d=>{const{value:f,name:m}=d.target;r?.(f,m),o.onChange?.(d),l(f.length)},[r,o]);return X5(()=>{i.current&&l((i.current.value??"").length)},[]),X5(()=>{i.current&&i.current.value.length>e&&(i.current.value=i.current.value.slice(0,e),dispatchEvent(new Event("change",{bubbles:!0})))},[e]),ese(a,()=>i.current),ne("div",{className:Z5(t,"text-area",{error:n}),children:[h("textarea",{ref:i,...o,maxLength:e,onChange:u}),!!e&&ne("p",{className:Z5("text-count"),children:[h("strong",{children:qo(s)}),"/",qo(e)]})]})});rse.displayName="TextArea";const ose="_focus_svlhq_78",ase="_filled_svlhq_81",ise="_disabled_svlhq_88",sse="_error_svlhq_96",lse="_search_svlhq_103",cse={"rb-text-input":"_rb-text-input_svlhq_40",focus:ose,filled:ase,disabled:ise,error:sse,search:lse,"ico-prefix":"_ico-prefix_svlhq_103","input-area":"_input-area_svlhq_106","ico-reset":"_ico-reset_svlhq_135"},{useRef:use,useMemo:dse,useState:Q5,useCallback:jc,useEffect:J5,forwardRef:fse,useImperativeHandle:pse}=await q("react"),xd=rn(cse,"rb-ui"),rk=fse((t,e)=>{const{className:n="",error:r,info:o,hideBtnReset:a,prefixIcon:i,searchIcon:s=h(v$,{className:"ico-search"}),resetIcon:l=h(g$,{}),handleChange:u,handleReset:d,handleEnter:f,validate:m,...v}=t,{value:g,...w}=v,y=use(null),[_,S]=Q5(!1),[x,C]=Q5(String(g||w?.defaultValue||"")),M=dse(()=>{const{type:P,readOnly:I}=v;return{reset:_&&!a&&!!x&&!I,search:P==="search"}},[v,x,_,a]),A=jc(P=>!P||!m?P:typeof m=="function"?m(P):m instanceof RegExp?m.test(String(P))?P:x:P,[x,m]),O=jc(()=>{const P=v.name;y.current.value="";const I={target:{...y.current,value:"",name:P}};v.onChange?.(I),C(""),u?.("",P),d?.("",P,!0)},[v,u,d]),D=jc(P=>{const{name:I}=P.target;let L=P.target.value;if(L===x)return;(typeof v.value=="number"||v.type==="number")&&(L=!L||Number.isNaN(Number(L))?void 0:Number(L));const V=A(L);P.target.value=String(V??""),u?.(V,I),v.onChange?.(P),C(V??""),y.current.value=String(V??""),V===""&&d?.("",I)},[x,A,u,v,d]),T=jc((P,I)=>{S(I),I?v.onFocus?.(P):v.onBlur?.(P)},[v]),R=jc(P=>{const{value:I="",name:L}=P.target;f?.(I,L),y.current?.blur()},[f]),$=jc(P=>{P.key==="Enter"&&!P.nativeEvent.isComposing&&R(P),v.onKeyDown?.(P)},[v,R]);return J5(()=>{v.value!==x&&v.value!==void 0&&(C(v.value),y.current.value=String(v.value??""))},[v.value,x]),J5(()=>{y.current&&typeof y.current.scrollTo=="function"&&y.current.scrollTo(window.innerWidth,0)},[M.reset]),pse(e,()=>({...y.current,set value(P){P!==y.current.value&&(y.current.value=P),C(P)},get value(){return y.current.value}})),h("div",{className:xd("rb-text-input",n,v.type,{focus:_,filled:!!x,readonly:v.readOnly,disabled:v.disabled,required:v.required,error:r,info:o}),children:ne("div",{className:xd("input-area"),children:[M.search&&h("span",{className:xd("ico-prefix"),children:s}),!M.search&&!!i&&h("span",{className:xd("ico-prefix"),children:i}),M.reset&&h("button",{className:xd("ico-reset"),onMouseDown:O,onTouchStart:O,children:l}),h("input",{ref:y,...w,defaultValue:v.defaultValue||x,onChange:D,onFocus:P=>T(P,!0),onBlur:P=>T(P,!1),onKeyDown:$})]})})});rk.displayName="TextInput";const hse="_vstack_iu452_40",mse="_hstack_iu452_43",ok={vstack:hse,hstack:mse,"rb-inline-flex":"_rb-inline-flex_iu452_46","rb-flex":"_rb-flex_iu452_49","justify-content-center":"_justify-content-center_iu452_53","justify-content-start":"_justify-content-start_iu452_57","justify-content-end":"_justify-content-end_iu452_61","justify-content-space-between":"_justify-content-space-between_iu452_65","justify-content-space-around":"_justify-content-space-around_iu452_69","justify-content-space-evenly":"_justify-content-space-evenly_iu452_73","justify-content-stretch":"_justify-content-stretch_iu452_77","justify-content-flex-start":"_justify-content-flex-start_iu452_81","justify-content-flex-end":"_justify-content-flex-end_iu452_85","justify-content-left":"_justify-content-left_iu452_89","justify-content-right":"_justify-content-right_iu452_93","justify-content-normal":"_justify-content-normal_iu452_97","justify-content-revert":"_justify-content-revert_iu452_101","justify-content-revert-layer":"_justify-content-revert-layer_iu452_105","justify-content-initial":"_justify-content-initial_iu452_109","justify-content-inherit":"_justify-content-inherit_iu452_113","justify-self-center":"_justify-self-center_iu452_117","justify-self-start":"_justify-self-start_iu452_120","justify-self-end":"_justify-self-end_iu452_123","justify-self-stretch":"_justify-self-stretch_iu452_126","justify-self-flex-start":"_justify-self-flex-start_iu452_129","justify-self-flex-end":"_justify-self-flex-end_iu452_132","justify-self-left":"_justify-self-left_iu452_135","justify-self-right":"_justify-self-right_iu452_138","justify-self-normal":"_justify-self-normal_iu452_141","justify-self-baseline":"_justify-self-baseline_iu452_144","justify-self-revert":"_justify-self-revert_iu452_147","justify-self-revert-layer":"_justify-self-revert-layer_iu452_150","justify-self-initial":"_justify-self-initial_iu452_153","justify-self-inherit":"_justify-self-inherit_iu452_156","justify-items-center":"_justify-items-center_iu452_159","justify-items-start":"_justify-items-start_iu452_162","justify-items-end":"_justify-items-end_iu452_165","justify-items-stretch":"_justify-items-stretch_iu452_168","justify-items-flex-start":"_justify-items-flex-start_iu452_171","justify-items-flex-end":"_justify-items-flex-end_iu452_174","justify-items-left":"_justify-items-left_iu452_177","justify-items-right":"_justify-items-right_iu452_180","justify-items-normal":"_justify-items-normal_iu452_183","justify-items-baseline":"_justify-items-baseline_iu452_186","justify-items-legacy":"_justify-items-legacy_iu452_189","justify-items-self-start":"_justify-items-self-start_iu452_192","justify-items-self-end":"_justify-items-self-end_iu452_195","justify-items-initial":"_justify-items-initial_iu452_198","justify-items-inherit":"_justify-items-inherit_iu452_201","align-items-start":"_align-items-start_iu452_204","align-items-center":"_align-items-center_iu452_208","align-items-end":"_align-items-end_iu452_212","align-items-stretch":"_align-items-stretch_iu452_216","align-items-flex-start":"_align-items-flex-start_iu452_220","align-items-flex-end":"_align-items-flex-end_iu452_224","align-items-left":"_align-items-left_iu452_228","align-items-right":"_align-items-right_iu452_232","align-items-normal":"_align-items-normal_iu452_236","align-items-revert":"_align-items-revert_iu452_240","align-items-revert-layer":"_align-items-revert-layer_iu452_244","align-items-baseline":"_align-items-baseline_iu452_247","align-items-self-start":"_align-items-self-start_iu452_251","align-items-self-end":"_align-items-self-end_iu452_255","align-items-initial":"_align-items-initial_iu452_259","align-items-inherit":"_align-items-inherit_iu452_263","align-self-baseline":"_align-self-baseline_iu452_267","align-self-center":"_align-self-center_iu452_270","align-self-start":"_align-self-start_iu452_273","align-self-end":"_align-self-end_iu452_276","align-self-stretch":"_align-self-stretch_iu452_279","align-self-flex-start":"_align-self-flex-start_iu452_282","align-self-flex-end":"_align-self-flex-end_iu452_285","align-self-left":"_align-self-left_iu452_288","align-self-right":"_align-self-right_iu452_291","align-self-normal":"_align-self-normal_iu452_294","align-self-revert":"_align-self-revert_iu452_297","align-self-revert-layer":"_align-self-revert-layer_iu452_300","align-self-initial":"_align-self-initial_iu452_303","align-self-inherit":"_align-self-inherit_iu452_306","align-content-center":"_align-content-center_iu452_309","align-content-start":"_align-content-start_iu452_312","align-content-end":"_align-content-end_iu452_315","align-content-space-between":"_align-content-space-between_iu452_318","align-content-space-around":"_align-content-space-around_iu452_321","align-content-space-evenly":"_align-content-space-evenly_iu452_324","align-content-stretch":"_align-content-stretch_iu452_327","align-content-flex-start":"_align-content-flex-start_iu452_330","align-content-flex-end":"_align-content-flex-end_iu452_333","align-content-left":"_align-content-left_iu452_336","align-content-right":"_align-content-right_iu452_339","align-content-normal":"_align-content-normal_iu452_342","align-content-revert":"_align-content-revert_iu452_345","align-content-revert-layer":"_align-content-revert-layer_iu452_348","align-content-initial":"_align-content-initial_iu452_351","align-content-inherit":"_align-content-inherit_iu452_354","column-gap-1":"_column-gap-1_iu452_357","row-gap-1":"_row-gap-1_iu452_360","column-gap-2":"_column-gap-2_iu452_363","row-gap-2":"_row-gap-2_iu452_366","column-gap-3":"_column-gap-3_iu452_369","row-gap-3":"_row-gap-3_iu452_372","column-gap-4":"_column-gap-4_iu452_375","row-gap-4":"_row-gap-4_iu452_378","column-gap-5":"_column-gap-5_iu452_381","row-gap-5":"_row-gap-5_iu452_384","column-gap-6":"_column-gap-6_iu452_387","row-gap-6":"_row-gap-6_iu452_390","column-gap-7":"_column-gap-7_iu452_393","row-gap-7":"_row-gap-7_iu452_396","column-gap-8":"_column-gap-8_iu452_399","row-gap-8":"_row-gap-8_iu452_402","column-gap-9":"_column-gap-9_iu452_405","row-gap-9":"_row-gap-9_iu452_408","column-gap-10":"_column-gap-10_iu452_411","row-gap-10":"_row-gap-10_iu452_414","column-gap-11":"_column-gap-11_iu452_417","row-gap-11":"_row-gap-11_iu452_420","column-gap-12":"_column-gap-12_iu452_423","row-gap-12":"_row-gap-12_iu452_426","column-gap-13":"_column-gap-13_iu452_429","row-gap-13":"_row-gap-13_iu452_432","column-gap-14":"_column-gap-14_iu452_435","row-gap-14":"_row-gap-14_iu452_438","column-gap-15":"_column-gap-15_iu452_441","row-gap-15":"_row-gap-15_iu452_444","column-gap-16":"_column-gap-16_iu452_447","row-gap-16":"_row-gap-16_iu452_450","column-gap-17":"_column-gap-17_iu452_453","row-gap-17":"_row-gap-17_iu452_456","column-gap-18":"_column-gap-18_iu452_459","row-gap-18":"_row-gap-18_iu452_462","column-gap-19":"_column-gap-19_iu452_465","row-gap-19":"_row-gap-19_iu452_468","column-gap-20":"_column-gap-20_iu452_471","row-gap-20":"_row-gap-20_iu452_474","column-gap-21":"_column-gap-21_iu452_477","row-gap-21":"_row-gap-21_iu452_480","column-gap-22":"_column-gap-22_iu452_483","row-gap-22":"_row-gap-22_iu452_486","column-gap-23":"_column-gap-23_iu452_489","row-gap-23":"_row-gap-23_iu452_492","column-gap-24":"_column-gap-24_iu452_495","row-gap-24":"_row-gap-24_iu452_498","column-gap-25":"_column-gap-25_iu452_501","row-gap-25":"_row-gap-25_iu452_504","column-gap-26":"_column-gap-26_iu452_507","row-gap-26":"_row-gap-26_iu452_510","column-gap-27":"_column-gap-27_iu452_513","row-gap-27":"_row-gap-27_iu452_516","column-gap-28":"_column-gap-28_iu452_519","row-gap-28":"_row-gap-28_iu452_522","column-gap-29":"_column-gap-29_iu452_525","row-gap-29":"_row-gap-29_iu452_528","column-gap-30":"_column-gap-30_iu452_531","row-gap-30":"_row-gap-30_iu452_534","column-gap-31":"_column-gap-31_iu452_537","row-gap-31":"_row-gap-31_iu452_540","column-gap-32":"_column-gap-32_iu452_543","row-gap-32":"_row-gap-32_iu452_546","column-gap-33":"_column-gap-33_iu452_549","row-gap-33":"_row-gap-33_iu452_552","column-gap-34":"_column-gap-34_iu452_555","row-gap-34":"_row-gap-34_iu452_558","column-gap-35":"_column-gap-35_iu452_561","row-gap-35":"_row-gap-35_iu452_564","column-gap-36":"_column-gap-36_iu452_567","row-gap-36":"_row-gap-36_iu452_570","column-gap-37":"_column-gap-37_iu452_573","row-gap-37":"_row-gap-37_iu452_576","column-gap-38":"_column-gap-38_iu452_579","row-gap-38":"_row-gap-38_iu452_582","column-gap-39":"_column-gap-39_iu452_585","row-gap-39":"_row-gap-39_iu452_588","column-gap-40":"_column-gap-40_iu452_591","row-gap-40":"_row-gap-40_iu452_594","column-gap-41":"_column-gap-41_iu452_597","row-gap-41":"_row-gap-41_iu452_600","column-gap-42":"_column-gap-42_iu452_603","row-gap-42":"_row-gap-42_iu452_606","column-gap-43":"_column-gap-43_iu452_609","row-gap-43":"_row-gap-43_iu452_612","column-gap-44":"_column-gap-44_iu452_615","row-gap-44":"_row-gap-44_iu452_618","column-gap-45":"_column-gap-45_iu452_621","row-gap-45":"_row-gap-45_iu452_624","column-gap-46":"_column-gap-46_iu452_627","row-gap-46":"_row-gap-46_iu452_630","column-gap-47":"_column-gap-47_iu452_633","row-gap-47":"_row-gap-47_iu452_636","column-gap-48":"_column-gap-48_iu452_639","row-gap-48":"_row-gap-48_iu452_642","column-gap-49":"_column-gap-49_iu452_645","row-gap-49":"_row-gap-49_iu452_648","column-gap-50":"_column-gap-50_iu452_651","row-gap-50":"_row-gap-50_iu452_654","column-gap-51":"_column-gap-51_iu452_657","row-gap-51":"_row-gap-51_iu452_660","column-gap-52":"_column-gap-52_iu452_663","row-gap-52":"_row-gap-52_iu452_666","column-gap-53":"_column-gap-53_iu452_669","row-gap-53":"_row-gap-53_iu452_672","column-gap-54":"_column-gap-54_iu452_675","row-gap-54":"_row-gap-54_iu452_678","column-gap-55":"_column-gap-55_iu452_681","row-gap-55":"_row-gap-55_iu452_684","column-gap-56":"_column-gap-56_iu452_687","row-gap-56":"_row-gap-56_iu452_690","column-gap-57":"_column-gap-57_iu452_693","row-gap-57":"_row-gap-57_iu452_696","column-gap-58":"_column-gap-58_iu452_699","row-gap-58":"_row-gap-58_iu452_702","column-gap-59":"_column-gap-59_iu452_705","row-gap-59":"_row-gap-59_iu452_708","column-gap-60":"_column-gap-60_iu452_711","row-gap-60":"_row-gap-60_iu452_714","column-gap-61":"_column-gap-61_iu452_717","row-gap-61":"_row-gap-61_iu452_720","column-gap-62":"_column-gap-62_iu452_723","row-gap-62":"_row-gap-62_iu452_726","column-gap-63":"_column-gap-63_iu452_729","row-gap-63":"_row-gap-63_iu452_732","column-gap-64":"_column-gap-64_iu452_735","row-gap-64":"_row-gap-64_iu452_738","column-gap-65":"_column-gap-65_iu452_741","row-gap-65":"_row-gap-65_iu452_744","column-gap-66":"_column-gap-66_iu452_747","row-gap-66":"_row-gap-66_iu452_750","column-gap-67":"_column-gap-67_iu452_753","row-gap-67":"_row-gap-67_iu452_756","column-gap-68":"_column-gap-68_iu452_759","row-gap-68":"_row-gap-68_iu452_762","column-gap-69":"_column-gap-69_iu452_765","row-gap-69":"_row-gap-69_iu452_768","column-gap-70":"_column-gap-70_iu452_771","row-gap-70":"_row-gap-70_iu452_774","column-gap-71":"_column-gap-71_iu452_777","row-gap-71":"_row-gap-71_iu452_780","column-gap-72":"_column-gap-72_iu452_783","row-gap-72":"_row-gap-72_iu452_786","column-gap-73":"_column-gap-73_iu452_789","row-gap-73":"_row-gap-73_iu452_792","column-gap-74":"_column-gap-74_iu452_795","row-gap-74":"_row-gap-74_iu452_798","column-gap-75":"_column-gap-75_iu452_801","row-gap-75":"_row-gap-75_iu452_804","column-gap-76":"_column-gap-76_iu452_807","row-gap-76":"_row-gap-76_iu452_810","column-gap-77":"_column-gap-77_iu452_813","row-gap-77":"_row-gap-77_iu452_816","column-gap-78":"_column-gap-78_iu452_819","row-gap-78":"_row-gap-78_iu452_822","column-gap-79":"_column-gap-79_iu452_825","row-gap-79":"_row-gap-79_iu452_828","column-gap-80":"_column-gap-80_iu452_831","row-gap-80":"_row-gap-80_iu452_834","column-gap-81":"_column-gap-81_iu452_837","row-gap-81":"_row-gap-81_iu452_840","column-gap-82":"_column-gap-82_iu452_843","row-gap-82":"_row-gap-82_iu452_846","column-gap-83":"_column-gap-83_iu452_849","row-gap-83":"_row-gap-83_iu452_852","column-gap-84":"_column-gap-84_iu452_855","row-gap-84":"_row-gap-84_iu452_858","column-gap-85":"_column-gap-85_iu452_861","row-gap-85":"_row-gap-85_iu452_864","column-gap-86":"_column-gap-86_iu452_867","row-gap-86":"_row-gap-86_iu452_870","column-gap-87":"_column-gap-87_iu452_873","row-gap-87":"_row-gap-87_iu452_876","column-gap-88":"_column-gap-88_iu452_879","row-gap-88":"_row-gap-88_iu452_882","column-gap-89":"_column-gap-89_iu452_885","row-gap-89":"_row-gap-89_iu452_888","column-gap-90":"_column-gap-90_iu452_891","row-gap-90":"_row-gap-90_iu452_894","column-gap-91":"_column-gap-91_iu452_897","row-gap-91":"_row-gap-91_iu452_900","column-gap-92":"_column-gap-92_iu452_903","row-gap-92":"_row-gap-92_iu452_906","column-gap-93":"_column-gap-93_iu452_909","row-gap-93":"_row-gap-93_iu452_912","column-gap-94":"_column-gap-94_iu452_915","row-gap-94":"_row-gap-94_iu452_918","column-gap-95":"_column-gap-95_iu452_921","row-gap-95":"_row-gap-95_iu452_924","column-gap-96":"_column-gap-96_iu452_927","row-gap-96":"_row-gap-96_iu452_930","column-gap-97":"_column-gap-97_iu452_933","row-gap-97":"_row-gap-97_iu452_936","column-gap-98":"_column-gap-98_iu452_939","row-gap-98":"_row-gap-98_iu452_942","column-gap-99":"_column-gap-99_iu452_945","row-gap-99":"_row-gap-99_iu452_948","column-gap-100":"_column-gap-100_iu452_951","row-gap-100":"_row-gap-100_iu452_954","column-gap-101":"_column-gap-101_iu452_957","row-gap-101":"_row-gap-101_iu452_960","column-gap-102":"_column-gap-102_iu452_963","row-gap-102":"_row-gap-102_iu452_966","column-gap-103":"_column-gap-103_iu452_969","row-gap-103":"_row-gap-103_iu452_972","column-gap-104":"_column-gap-104_iu452_975","row-gap-104":"_row-gap-104_iu452_978","column-gap-105":"_column-gap-105_iu452_981","row-gap-105":"_row-gap-105_iu452_984","column-gap-106":"_column-gap-106_iu452_987","row-gap-106":"_row-gap-106_iu452_990","column-gap-107":"_column-gap-107_iu452_993","row-gap-107":"_row-gap-107_iu452_996","column-gap-108":"_column-gap-108_iu452_999","row-gap-108":"_row-gap-108_iu452_1002","column-gap-109":"_column-gap-109_iu452_1005","row-gap-109":"_row-gap-109_iu452_1008","column-gap-110":"_column-gap-110_iu452_1011","row-gap-110":"_row-gap-110_iu452_1014","column-gap-111":"_column-gap-111_iu452_1017","row-gap-111":"_row-gap-111_iu452_1020","column-gap-112":"_column-gap-112_iu452_1023","row-gap-112":"_row-gap-112_iu452_1026","column-gap-113":"_column-gap-113_iu452_1029","row-gap-113":"_row-gap-113_iu452_1032","column-gap-114":"_column-gap-114_iu452_1035","row-gap-114":"_row-gap-114_iu452_1038","column-gap-115":"_column-gap-115_iu452_1041","row-gap-115":"_row-gap-115_iu452_1044","column-gap-116":"_column-gap-116_iu452_1047","row-gap-116":"_row-gap-116_iu452_1050","column-gap-117":"_column-gap-117_iu452_1053","row-gap-117":"_row-gap-117_iu452_1056","column-gap-118":"_column-gap-118_iu452_1059","row-gap-118":"_row-gap-118_iu452_1062","column-gap-119":"_column-gap-119_iu452_1065","row-gap-119":"_row-gap-119_iu452_1068","column-gap-120":"_column-gap-120_iu452_1071","row-gap-120":"_row-gap-120_iu452_1074","column-gap-121":"_column-gap-121_iu452_1077","row-gap-121":"_row-gap-121_iu452_1080","column-gap-122":"_column-gap-122_iu452_1083","row-gap-122":"_row-gap-122_iu452_1086","column-gap-123":"_column-gap-123_iu452_1089","row-gap-123":"_row-gap-123_iu452_1092","column-gap-124":"_column-gap-124_iu452_1095","row-gap-124":"_row-gap-124_iu452_1098","column-gap-125":"_column-gap-125_iu452_1101","row-gap-125":"_row-gap-125_iu452_1104","column-gap-126":"_column-gap-126_iu452_1107","row-gap-126":"_row-gap-126_iu452_1110","column-gap-127":"_column-gap-127_iu452_1113","row-gap-127":"_row-gap-127_iu452_1116","column-gap-128":"_column-gap-128_iu452_1119","row-gap-128":"_row-gap-128_iu452_1122","column-gap-129":"_column-gap-129_iu452_1125","row-gap-129":"_row-gap-129_iu452_1128","column-gap-130":"_column-gap-130_iu452_1131","row-gap-130":"_row-gap-130_iu452_1134","column-gap-131":"_column-gap-131_iu452_1137","row-gap-131":"_row-gap-131_iu452_1140","column-gap-132":"_column-gap-132_iu452_1143","row-gap-132":"_row-gap-132_iu452_1146","column-gap-133":"_column-gap-133_iu452_1149","row-gap-133":"_row-gap-133_iu452_1152","column-gap-134":"_column-gap-134_iu452_1155","row-gap-134":"_row-gap-134_iu452_1158","column-gap-135":"_column-gap-135_iu452_1161","row-gap-135":"_row-gap-135_iu452_1164","column-gap-136":"_column-gap-136_iu452_1167","row-gap-136":"_row-gap-136_iu452_1170","column-gap-137":"_column-gap-137_iu452_1173","row-gap-137":"_row-gap-137_iu452_1176","column-gap-138":"_column-gap-138_iu452_1179","row-gap-138":"_row-gap-138_iu452_1182","column-gap-139":"_column-gap-139_iu452_1185","row-gap-139":"_row-gap-139_iu452_1188","column-gap-140":"_column-gap-140_iu452_1191","row-gap-140":"_row-gap-140_iu452_1194","column-gap-141":"_column-gap-141_iu452_1197","row-gap-141":"_row-gap-141_iu452_1200","column-gap-142":"_column-gap-142_iu452_1203","row-gap-142":"_row-gap-142_iu452_1206","column-gap-143":"_column-gap-143_iu452_1209","row-gap-143":"_row-gap-143_iu452_1212","column-gap-144":"_column-gap-144_iu452_1215","row-gap-144":"_row-gap-144_iu452_1218","column-gap-145":"_column-gap-145_iu452_1221","row-gap-145":"_row-gap-145_iu452_1224","column-gap-146":"_column-gap-146_iu452_1227","row-gap-146":"_row-gap-146_iu452_1230","column-gap-147":"_column-gap-147_iu452_1233","row-gap-147":"_row-gap-147_iu452_1236","column-gap-148":"_column-gap-148_iu452_1239","row-gap-148":"_row-gap-148_iu452_1242","column-gap-149":"_column-gap-149_iu452_1245","row-gap-149":"_row-gap-149_iu452_1248","column-gap-150":"_column-gap-150_iu452_1251","row-gap-150":"_row-gap-150_iu452_1254","column-gap-151":"_column-gap-151_iu452_1257","row-gap-151":"_row-gap-151_iu452_1260","column-gap-152":"_column-gap-152_iu452_1263","row-gap-152":"_row-gap-152_iu452_1266","column-gap-153":"_column-gap-153_iu452_1269","row-gap-153":"_row-gap-153_iu452_1272","column-gap-154":"_column-gap-154_iu452_1275","row-gap-154":"_row-gap-154_iu452_1278","column-gap-155":"_column-gap-155_iu452_1281","row-gap-155":"_row-gap-155_iu452_1284","column-gap-156":"_column-gap-156_iu452_1287","row-gap-156":"_row-gap-156_iu452_1290","column-gap-157":"_column-gap-157_iu452_1293","row-gap-157":"_row-gap-157_iu452_1296","column-gap-158":"_column-gap-158_iu452_1299","row-gap-158":"_row-gap-158_iu452_1302","column-gap-159":"_column-gap-159_iu452_1305","row-gap-159":"_row-gap-159_iu452_1308","column-gap-160":"_column-gap-160_iu452_1311","row-gap-160":"_row-gap-160_iu452_1314","column-gap-161":"_column-gap-161_iu452_1317","row-gap-161":"_row-gap-161_iu452_1320","column-gap-162":"_column-gap-162_iu452_1323","row-gap-162":"_row-gap-162_iu452_1326","column-gap-163":"_column-gap-163_iu452_1329","row-gap-163":"_row-gap-163_iu452_1332","column-gap-164":"_column-gap-164_iu452_1335","row-gap-164":"_row-gap-164_iu452_1338","column-gap-165":"_column-gap-165_iu452_1341","row-gap-165":"_row-gap-165_iu452_1344","column-gap-166":"_column-gap-166_iu452_1347","row-gap-166":"_row-gap-166_iu452_1350","column-gap-167":"_column-gap-167_iu452_1353","row-gap-167":"_row-gap-167_iu452_1356","column-gap-168":"_column-gap-168_iu452_1359","row-gap-168":"_row-gap-168_iu452_1362","column-gap-169":"_column-gap-169_iu452_1365","row-gap-169":"_row-gap-169_iu452_1368","column-gap-170":"_column-gap-170_iu452_1371","row-gap-170":"_row-gap-170_iu452_1374","column-gap-171":"_column-gap-171_iu452_1377","row-gap-171":"_row-gap-171_iu452_1380","column-gap-172":"_column-gap-172_iu452_1383","row-gap-172":"_row-gap-172_iu452_1386","column-gap-173":"_column-gap-173_iu452_1389","row-gap-173":"_row-gap-173_iu452_1392","column-gap-174":"_column-gap-174_iu452_1395","row-gap-174":"_row-gap-174_iu452_1398","column-gap-175":"_column-gap-175_iu452_1401","row-gap-175":"_row-gap-175_iu452_1404","column-gap-176":"_column-gap-176_iu452_1407","row-gap-176":"_row-gap-176_iu452_1410","column-gap-177":"_column-gap-177_iu452_1413","row-gap-177":"_row-gap-177_iu452_1416","column-gap-178":"_column-gap-178_iu452_1419","row-gap-178":"_row-gap-178_iu452_1422","column-gap-179":"_column-gap-179_iu452_1425","row-gap-179":"_row-gap-179_iu452_1428","column-gap-180":"_column-gap-180_iu452_1431","row-gap-180":"_row-gap-180_iu452_1434","column-gap-181":"_column-gap-181_iu452_1437","row-gap-181":"_row-gap-181_iu452_1440","column-gap-182":"_column-gap-182_iu452_1443","row-gap-182":"_row-gap-182_iu452_1446","column-gap-183":"_column-gap-183_iu452_1449","row-gap-183":"_row-gap-183_iu452_1452","column-gap-184":"_column-gap-184_iu452_1455","row-gap-184":"_row-gap-184_iu452_1458","column-gap-185":"_column-gap-185_iu452_1461","row-gap-185":"_row-gap-185_iu452_1464","column-gap-186":"_column-gap-186_iu452_1467","row-gap-186":"_row-gap-186_iu452_1470","column-gap-187":"_column-gap-187_iu452_1473","row-gap-187":"_row-gap-187_iu452_1476","column-gap-188":"_column-gap-188_iu452_1479","row-gap-188":"_row-gap-188_iu452_1482","column-gap-189":"_column-gap-189_iu452_1485","row-gap-189":"_row-gap-189_iu452_1488","column-gap-190":"_column-gap-190_iu452_1491","row-gap-190":"_row-gap-190_iu452_1494","column-gap-191":"_column-gap-191_iu452_1497","row-gap-191":"_row-gap-191_iu452_1500","column-gap-192":"_column-gap-192_iu452_1503","row-gap-192":"_row-gap-192_iu452_1506","column-gap-193":"_column-gap-193_iu452_1509","row-gap-193":"_row-gap-193_iu452_1512","column-gap-194":"_column-gap-194_iu452_1515","row-gap-194":"_row-gap-194_iu452_1518","column-gap-195":"_column-gap-195_iu452_1521","row-gap-195":"_row-gap-195_iu452_1524","column-gap-196":"_column-gap-196_iu452_1527","row-gap-196":"_row-gap-196_iu452_1530","column-gap-197":"_column-gap-197_iu452_1533","row-gap-197":"_row-gap-197_iu452_1536","column-gap-198":"_column-gap-198_iu452_1539","row-gap-198":"_row-gap-198_iu452_1542","column-gap-199":"_column-gap-199_iu452_1545","row-gap-199":"_row-gap-199_iu452_1548","column-gap-200":"_column-gap-200_iu452_1551","row-gap-200":"_row-gap-200_iu452_1554","column-gap-201":"_column-gap-201_iu452_1557","row-gap-201":"_row-gap-201_iu452_1560","column-gap-202":"_column-gap-202_iu452_1563","row-gap-202":"_row-gap-202_iu452_1566","column-gap-203":"_column-gap-203_iu452_1569","row-gap-203":"_row-gap-203_iu452_1572","column-gap-204":"_column-gap-204_iu452_1575","row-gap-204":"_row-gap-204_iu452_1578","column-gap-205":"_column-gap-205_iu452_1581","row-gap-205":"_row-gap-205_iu452_1584","column-gap-206":"_column-gap-206_iu452_1587","row-gap-206":"_row-gap-206_iu452_1590","column-gap-207":"_column-gap-207_iu452_1593","row-gap-207":"_row-gap-207_iu452_1596","column-gap-208":"_column-gap-208_iu452_1599","row-gap-208":"_row-gap-208_iu452_1602","column-gap-209":"_column-gap-209_iu452_1605","row-gap-209":"_row-gap-209_iu452_1608","column-gap-210":"_column-gap-210_iu452_1611","row-gap-210":"_row-gap-210_iu452_1614","column-gap-211":"_column-gap-211_iu452_1617","row-gap-211":"_row-gap-211_iu452_1620","column-gap-212":"_column-gap-212_iu452_1623","row-gap-212":"_row-gap-212_iu452_1626","column-gap-213":"_column-gap-213_iu452_1629","row-gap-213":"_row-gap-213_iu452_1632","column-gap-214":"_column-gap-214_iu452_1635","row-gap-214":"_row-gap-214_iu452_1638","column-gap-215":"_column-gap-215_iu452_1641","row-gap-215":"_row-gap-215_iu452_1644","column-gap-216":"_column-gap-216_iu452_1647","row-gap-216":"_row-gap-216_iu452_1650","column-gap-217":"_column-gap-217_iu452_1653","row-gap-217":"_row-gap-217_iu452_1656","column-gap-218":"_column-gap-218_iu452_1659","row-gap-218":"_row-gap-218_iu452_1662","column-gap-219":"_column-gap-219_iu452_1665","row-gap-219":"_row-gap-219_iu452_1668","column-gap-220":"_column-gap-220_iu452_1671","row-gap-220":"_row-gap-220_iu452_1674","column-gap-221":"_column-gap-221_iu452_1677","row-gap-221":"_row-gap-221_iu452_1680","column-gap-222":"_column-gap-222_iu452_1683","row-gap-222":"_row-gap-222_iu452_1686","column-gap-223":"_column-gap-223_iu452_1689","row-gap-223":"_row-gap-223_iu452_1692","column-gap-224":"_column-gap-224_iu452_1695","row-gap-224":"_row-gap-224_iu452_1698","column-gap-225":"_column-gap-225_iu452_1701","row-gap-225":"_row-gap-225_iu452_1704","column-gap-226":"_column-gap-226_iu452_1707","row-gap-226":"_row-gap-226_iu452_1710","column-gap-227":"_column-gap-227_iu452_1713","row-gap-227":"_row-gap-227_iu452_1716","column-gap-228":"_column-gap-228_iu452_1719","row-gap-228":"_row-gap-228_iu452_1722","column-gap-229":"_column-gap-229_iu452_1725","row-gap-229":"_row-gap-229_iu452_1728","column-gap-230":"_column-gap-230_iu452_1731","row-gap-230":"_row-gap-230_iu452_1734","column-gap-231":"_column-gap-231_iu452_1737","row-gap-231":"_row-gap-231_iu452_1740","column-gap-232":"_column-gap-232_iu452_1743","row-gap-232":"_row-gap-232_iu452_1746","column-gap-233":"_column-gap-233_iu452_1749","row-gap-233":"_row-gap-233_iu452_1752","column-gap-234":"_column-gap-234_iu452_1755","row-gap-234":"_row-gap-234_iu452_1758","column-gap-235":"_column-gap-235_iu452_1761","row-gap-235":"_row-gap-235_iu452_1764","column-gap-236":"_column-gap-236_iu452_1767","row-gap-236":"_row-gap-236_iu452_1770","column-gap-237":"_column-gap-237_iu452_1773","row-gap-237":"_row-gap-237_iu452_1776","column-gap-238":"_column-gap-238_iu452_1779","row-gap-238":"_row-gap-238_iu452_1782","column-gap-239":"_column-gap-239_iu452_1785","row-gap-239":"_row-gap-239_iu452_1788","column-gap-240":"_column-gap-240_iu452_1791","row-gap-240":"_row-gap-240_iu452_1794","column-gap-241":"_column-gap-241_iu452_1797","row-gap-241":"_row-gap-241_iu452_1800","column-gap-242":"_column-gap-242_iu452_1803","row-gap-242":"_row-gap-242_iu452_1806","column-gap-243":"_column-gap-243_iu452_1809","row-gap-243":"_row-gap-243_iu452_1812","column-gap-244":"_column-gap-244_iu452_1815","row-gap-244":"_row-gap-244_iu452_1818","column-gap-245":"_column-gap-245_iu452_1821","row-gap-245":"_row-gap-245_iu452_1824","column-gap-246":"_column-gap-246_iu452_1827","row-gap-246":"_row-gap-246_iu452_1830","column-gap-247":"_column-gap-247_iu452_1833","row-gap-247":"_row-gap-247_iu452_1836","column-gap-248":"_column-gap-248_iu452_1839","row-gap-248":"_row-gap-248_iu452_1842","column-gap-249":"_column-gap-249_iu452_1845","row-gap-249":"_row-gap-249_iu452_1848","column-gap-250":"_column-gap-250_iu452_1851","row-gap-250":"_row-gap-250_iu452_1854","column-gap-251":"_column-gap-251_iu452_1857","row-gap-251":"_row-gap-251_iu452_1860","column-gap-252":"_column-gap-252_iu452_1863","row-gap-252":"_row-gap-252_iu452_1866","column-gap-253":"_column-gap-253_iu452_1869","row-gap-253":"_row-gap-253_iu452_1872","column-gap-254":"_column-gap-254_iu452_1875","row-gap-254":"_row-gap-254_iu452_1878","column-gap-255":"_column-gap-255_iu452_1881","row-gap-255":"_row-gap-255_iu452_1884","column-gap-256":"_column-gap-256_iu452_1887","row-gap-256":"_row-gap-256_iu452_1890","column-gap-257":"_column-gap-257_iu452_1893","row-gap-257":"_row-gap-257_iu452_1896","column-gap-258":"_column-gap-258_iu452_1899","row-gap-258":"_row-gap-258_iu452_1902","column-gap-259":"_column-gap-259_iu452_1905","row-gap-259":"_row-gap-259_iu452_1908","column-gap-260":"_column-gap-260_iu452_1911","row-gap-260":"_row-gap-260_iu452_1914","column-gap-261":"_column-gap-261_iu452_1917","row-gap-261":"_row-gap-261_iu452_1920","column-gap-262":"_column-gap-262_iu452_1923","row-gap-262":"_row-gap-262_iu452_1926","column-gap-263":"_column-gap-263_iu452_1929","row-gap-263":"_row-gap-263_iu452_1932","column-gap-264":"_column-gap-264_iu452_1935","row-gap-264":"_row-gap-264_iu452_1938","column-gap-265":"_column-gap-265_iu452_1941","row-gap-265":"_row-gap-265_iu452_1944","column-gap-266":"_column-gap-266_iu452_1947","row-gap-266":"_row-gap-266_iu452_1950","column-gap-267":"_column-gap-267_iu452_1953","row-gap-267":"_row-gap-267_iu452_1956","column-gap-268":"_column-gap-268_iu452_1959","row-gap-268":"_row-gap-268_iu452_1962","column-gap-269":"_column-gap-269_iu452_1965","row-gap-269":"_row-gap-269_iu452_1968","column-gap-270":"_column-gap-270_iu452_1971","row-gap-270":"_row-gap-270_iu452_1974","column-gap-271":"_column-gap-271_iu452_1977","row-gap-271":"_row-gap-271_iu452_1980","column-gap-272":"_column-gap-272_iu452_1983","row-gap-272":"_row-gap-272_iu452_1986","column-gap-273":"_column-gap-273_iu452_1989","row-gap-273":"_row-gap-273_iu452_1992","column-gap-274":"_column-gap-274_iu452_1995","row-gap-274":"_row-gap-274_iu452_1998","column-gap-275":"_column-gap-275_iu452_2001","row-gap-275":"_row-gap-275_iu452_2004","column-gap-276":"_column-gap-276_iu452_2007","row-gap-276":"_row-gap-276_iu452_2010","column-gap-277":"_column-gap-277_iu452_2013","row-gap-277":"_row-gap-277_iu452_2016","column-gap-278":"_column-gap-278_iu452_2019","row-gap-278":"_row-gap-278_iu452_2022","column-gap-279":"_column-gap-279_iu452_2025","row-gap-279":"_row-gap-279_iu452_2028","column-gap-280":"_column-gap-280_iu452_2031","row-gap-280":"_row-gap-280_iu452_2034","column-gap-281":"_column-gap-281_iu452_2037","row-gap-281":"_row-gap-281_iu452_2040","column-gap-282":"_column-gap-282_iu452_2043","row-gap-282":"_row-gap-282_iu452_2046","column-gap-283":"_column-gap-283_iu452_2049","row-gap-283":"_row-gap-283_iu452_2052","column-gap-284":"_column-gap-284_iu452_2055","row-gap-284":"_row-gap-284_iu452_2058","column-gap-285":"_column-gap-285_iu452_2061","row-gap-285":"_row-gap-285_iu452_2064","column-gap-286":"_column-gap-286_iu452_2067","row-gap-286":"_row-gap-286_iu452_2070","column-gap-287":"_column-gap-287_iu452_2073","row-gap-287":"_row-gap-287_iu452_2076","column-gap-288":"_column-gap-288_iu452_2079","row-gap-288":"_row-gap-288_iu452_2082","column-gap-289":"_column-gap-289_iu452_2085","row-gap-289":"_row-gap-289_iu452_2088","column-gap-290":"_column-gap-290_iu452_2091","row-gap-290":"_row-gap-290_iu452_2094","column-gap-291":"_column-gap-291_iu452_2097","row-gap-291":"_row-gap-291_iu452_2100","column-gap-292":"_column-gap-292_iu452_2103","row-gap-292":"_row-gap-292_iu452_2106","column-gap-293":"_column-gap-293_iu452_2109","row-gap-293":"_row-gap-293_iu452_2112","column-gap-294":"_column-gap-294_iu452_2115","row-gap-294":"_row-gap-294_iu452_2118","column-gap-295":"_column-gap-295_iu452_2121","row-gap-295":"_row-gap-295_iu452_2124","column-gap-296":"_column-gap-296_iu452_2127","row-gap-296":"_row-gap-296_iu452_2130","column-gap-297":"_column-gap-297_iu452_2133","row-gap-297":"_row-gap-297_iu452_2136","column-gap-298":"_column-gap-298_iu452_2139","row-gap-298":"_row-gap-298_iu452_2142","column-gap-299":"_column-gap-299_iu452_2145","row-gap-299":"_row-gap-299_iu452_2148","column-gap-300":"_column-gap-300_iu452_2151","row-gap-300":"_row-gap-300_iu452_2154","column-gap-301":"_column-gap-301_iu452_2157","row-gap-301":"_row-gap-301_iu452_2160","column-gap-302":"_column-gap-302_iu452_2163","row-gap-302":"_row-gap-302_iu452_2166","column-gap-303":"_column-gap-303_iu452_2169","row-gap-303":"_row-gap-303_iu452_2172","column-gap-304":"_column-gap-304_iu452_2175","row-gap-304":"_row-gap-304_iu452_2178","column-gap-305":"_column-gap-305_iu452_2181","row-gap-305":"_row-gap-305_iu452_2184","column-gap-306":"_column-gap-306_iu452_2187","row-gap-306":"_row-gap-306_iu452_2190","column-gap-307":"_column-gap-307_iu452_2193","row-gap-307":"_row-gap-307_iu452_2196","column-gap-308":"_column-gap-308_iu452_2199","row-gap-308":"_row-gap-308_iu452_2202","column-gap-309":"_column-gap-309_iu452_2205","row-gap-309":"_row-gap-309_iu452_2208","column-gap-310":"_column-gap-310_iu452_2211","row-gap-310":"_row-gap-310_iu452_2214","column-gap-311":"_column-gap-311_iu452_2217","row-gap-311":"_row-gap-311_iu452_2220","column-gap-312":"_column-gap-312_iu452_2223","row-gap-312":"_row-gap-312_iu452_2226","column-gap-313":"_column-gap-313_iu452_2229","row-gap-313":"_row-gap-313_iu452_2232","column-gap-314":"_column-gap-314_iu452_2235","row-gap-314":"_row-gap-314_iu452_2238","column-gap-315":"_column-gap-315_iu452_2241","row-gap-315":"_row-gap-315_iu452_2244","column-gap-316":"_column-gap-316_iu452_2247","row-gap-316":"_row-gap-316_iu452_2250","column-gap-317":"_column-gap-317_iu452_2253","row-gap-317":"_row-gap-317_iu452_2256","column-gap-318":"_column-gap-318_iu452_2259","row-gap-318":"_row-gap-318_iu452_2262","column-gap-319":"_column-gap-319_iu452_2265","row-gap-319":"_row-gap-319_iu452_2268","column-gap-320":"_column-gap-320_iu452_2271","row-gap-320":"_row-gap-320_iu452_2274","column-gap-321":"_column-gap-321_iu452_2277","row-gap-321":"_row-gap-321_iu452_2280","column-gap-322":"_column-gap-322_iu452_2283","row-gap-322":"_row-gap-322_iu452_2286","column-gap-323":"_column-gap-323_iu452_2289","row-gap-323":"_row-gap-323_iu452_2292","column-gap-324":"_column-gap-324_iu452_2295","row-gap-324":"_row-gap-324_iu452_2298","column-gap-325":"_column-gap-325_iu452_2301","row-gap-325":"_row-gap-325_iu452_2304","column-gap-326":"_column-gap-326_iu452_2307","row-gap-326":"_row-gap-326_iu452_2310","column-gap-327":"_column-gap-327_iu452_2313","row-gap-327":"_row-gap-327_iu452_2316","column-gap-328":"_column-gap-328_iu452_2319","row-gap-328":"_row-gap-328_iu452_2322","column-gap-329":"_column-gap-329_iu452_2325","row-gap-329":"_row-gap-329_iu452_2328","column-gap-330":"_column-gap-330_iu452_2331","row-gap-330":"_row-gap-330_iu452_2334","column-gap-331":"_column-gap-331_iu452_2337","row-gap-331":"_row-gap-331_iu452_2340","column-gap-332":"_column-gap-332_iu452_2343","row-gap-332":"_row-gap-332_iu452_2346","column-gap-333":"_column-gap-333_iu452_2349","row-gap-333":"_row-gap-333_iu452_2352","column-gap-334":"_column-gap-334_iu452_2355","row-gap-334":"_row-gap-334_iu452_2358","column-gap-335":"_column-gap-335_iu452_2361","row-gap-335":"_row-gap-335_iu452_2364","column-gap-336":"_column-gap-336_iu452_2367","row-gap-336":"_row-gap-336_iu452_2370","column-gap-337":"_column-gap-337_iu452_2373","row-gap-337":"_row-gap-337_iu452_2376","column-gap-338":"_column-gap-338_iu452_2379","row-gap-338":"_row-gap-338_iu452_2382","column-gap-339":"_column-gap-339_iu452_2385","row-gap-339":"_row-gap-339_iu452_2388","column-gap-340":"_column-gap-340_iu452_2391","row-gap-340":"_row-gap-340_iu452_2394","column-gap-341":"_column-gap-341_iu452_2397","row-gap-341":"_row-gap-341_iu452_2400","column-gap-342":"_column-gap-342_iu452_2403","row-gap-342":"_row-gap-342_iu452_2406","column-gap-343":"_column-gap-343_iu452_2409","row-gap-343":"_row-gap-343_iu452_2412","column-gap-344":"_column-gap-344_iu452_2415","row-gap-344":"_row-gap-344_iu452_2418","column-gap-345":"_column-gap-345_iu452_2421","row-gap-345":"_row-gap-345_iu452_2424","column-gap-346":"_column-gap-346_iu452_2427","row-gap-346":"_row-gap-346_iu452_2430","column-gap-347":"_column-gap-347_iu452_2433","row-gap-347":"_row-gap-347_iu452_2436","column-gap-348":"_column-gap-348_iu452_2439","row-gap-348":"_row-gap-348_iu452_2442","column-gap-349":"_column-gap-349_iu452_2445","row-gap-349":"_row-gap-349_iu452_2448","column-gap-350":"_column-gap-350_iu452_2451","row-gap-350":"_row-gap-350_iu452_2454","column-gap-351":"_column-gap-351_iu452_2457","row-gap-351":"_row-gap-351_iu452_2460","column-gap-352":"_column-gap-352_iu452_2463","row-gap-352":"_row-gap-352_iu452_2466","column-gap-353":"_column-gap-353_iu452_2469","row-gap-353":"_row-gap-353_iu452_2472","column-gap-354":"_column-gap-354_iu452_2475","row-gap-354":"_row-gap-354_iu452_2478","column-gap-355":"_column-gap-355_iu452_2481","row-gap-355":"_row-gap-355_iu452_2484","column-gap-356":"_column-gap-356_iu452_2487","row-gap-356":"_row-gap-356_iu452_2490","column-gap-357":"_column-gap-357_iu452_2493","row-gap-357":"_row-gap-357_iu452_2496","column-gap-358":"_column-gap-358_iu452_2499","row-gap-358":"_row-gap-358_iu452_2502","column-gap-359":"_column-gap-359_iu452_2505","row-gap-359":"_row-gap-359_iu452_2508","column-gap-360":"_column-gap-360_iu452_2511","row-gap-360":"_row-gap-360_iu452_2514","column-gap-361":"_column-gap-361_iu452_2517","row-gap-361":"_row-gap-361_iu452_2520","column-gap-362":"_column-gap-362_iu452_2523","row-gap-362":"_row-gap-362_iu452_2526","column-gap-363":"_column-gap-363_iu452_2529","row-gap-363":"_row-gap-363_iu452_2532","column-gap-364":"_column-gap-364_iu452_2535","row-gap-364":"_row-gap-364_iu452_2538","column-gap-365":"_column-gap-365_iu452_2541","row-gap-365":"_row-gap-365_iu452_2544","column-gap-366":"_column-gap-366_iu452_2547","row-gap-366":"_row-gap-366_iu452_2550","column-gap-367":"_column-gap-367_iu452_2553","row-gap-367":"_row-gap-367_iu452_2556","column-gap-368":"_column-gap-368_iu452_2559","row-gap-368":"_row-gap-368_iu452_2562","column-gap-369":"_column-gap-369_iu452_2565","row-gap-369":"_row-gap-369_iu452_2568","column-gap-370":"_column-gap-370_iu452_2571","row-gap-370":"_row-gap-370_iu452_2574","column-gap-371":"_column-gap-371_iu452_2577","row-gap-371":"_row-gap-371_iu452_2580","column-gap-372":"_column-gap-372_iu452_2583","row-gap-372":"_row-gap-372_iu452_2586","column-gap-373":"_column-gap-373_iu452_2589","row-gap-373":"_row-gap-373_iu452_2592","column-gap-374":"_column-gap-374_iu452_2595","row-gap-374":"_row-gap-374_iu452_2598","column-gap-375":"_column-gap-375_iu452_2601","row-gap-375":"_row-gap-375_iu452_2604","column-gap-376":"_column-gap-376_iu452_2607","row-gap-376":"_row-gap-376_iu452_2610","column-gap-377":"_column-gap-377_iu452_2613","row-gap-377":"_row-gap-377_iu452_2616","column-gap-378":"_column-gap-378_iu452_2619","row-gap-378":"_row-gap-378_iu452_2622","column-gap-379":"_column-gap-379_iu452_2625","row-gap-379":"_row-gap-379_iu452_2628","column-gap-380":"_column-gap-380_iu452_2631","row-gap-380":"_row-gap-380_iu452_2634","column-gap-381":"_column-gap-381_iu452_2637","row-gap-381":"_row-gap-381_iu452_2640","column-gap-382":"_column-gap-382_iu452_2643","row-gap-382":"_row-gap-382_iu452_2646","column-gap-383":"_column-gap-383_iu452_2649","row-gap-383":"_row-gap-383_iu452_2652","column-gap-384":"_column-gap-384_iu452_2655","row-gap-384":"_row-gap-384_iu452_2658","column-gap-385":"_column-gap-385_iu452_2661","row-gap-385":"_row-gap-385_iu452_2664","column-gap-386":"_column-gap-386_iu452_2667","row-gap-386":"_row-gap-386_iu452_2670","column-gap-387":"_column-gap-387_iu452_2673","row-gap-387":"_row-gap-387_iu452_2676","column-gap-388":"_column-gap-388_iu452_2679","row-gap-388":"_row-gap-388_iu452_2682","column-gap-389":"_column-gap-389_iu452_2685","row-gap-389":"_row-gap-389_iu452_2688","column-gap-390":"_column-gap-390_iu452_2691","row-gap-390":"_row-gap-390_iu452_2694","column-gap-391":"_column-gap-391_iu452_2697","row-gap-391":"_row-gap-391_iu452_2700","column-gap-392":"_column-gap-392_iu452_2703","row-gap-392":"_row-gap-392_iu452_2706","column-gap-393":"_column-gap-393_iu452_2709","row-gap-393":"_row-gap-393_iu452_2712","column-gap-394":"_column-gap-394_iu452_2715","row-gap-394":"_row-gap-394_iu452_2718","column-gap-395":"_column-gap-395_iu452_2721","row-gap-395":"_row-gap-395_iu452_2724","column-gap-396":"_column-gap-396_iu452_2727","row-gap-396":"_row-gap-396_iu452_2730","column-gap-397":"_column-gap-397_iu452_2733","row-gap-397":"_row-gap-397_iu452_2736","column-gap-398":"_column-gap-398_iu452_2739","row-gap-398":"_row-gap-398_iu452_2742","column-gap-399":"_column-gap-399_iu452_2745","row-gap-399":"_row-gap-399_iu452_2748","column-gap-400":"_column-gap-400_iu452_2751","row-gap-400":"_row-gap-400_iu452_2754","column-gap-401":"_column-gap-401_iu452_2757","row-gap-401":"_row-gap-401_iu452_2760","column-gap-402":"_column-gap-402_iu452_2763","row-gap-402":"_row-gap-402_iu452_2766","column-gap-403":"_column-gap-403_iu452_2769","row-gap-403":"_row-gap-403_iu452_2772","column-gap-404":"_column-gap-404_iu452_2775","row-gap-404":"_row-gap-404_iu452_2778","column-gap-405":"_column-gap-405_iu452_2781","row-gap-405":"_row-gap-405_iu452_2784","column-gap-406":"_column-gap-406_iu452_2787","row-gap-406":"_row-gap-406_iu452_2790","column-gap-407":"_column-gap-407_iu452_2793","row-gap-407":"_row-gap-407_iu452_2796","column-gap-408":"_column-gap-408_iu452_2799","row-gap-408":"_row-gap-408_iu452_2802","column-gap-409":"_column-gap-409_iu452_2805","row-gap-409":"_row-gap-409_iu452_2808","column-gap-410":"_column-gap-410_iu452_2811","row-gap-410":"_row-gap-410_iu452_2814","column-gap-411":"_column-gap-411_iu452_2817","row-gap-411":"_row-gap-411_iu452_2820","column-gap-412":"_column-gap-412_iu452_2823","row-gap-412":"_row-gap-412_iu452_2826","column-gap-413":"_column-gap-413_iu452_2829","row-gap-413":"_row-gap-413_iu452_2832","column-gap-414":"_column-gap-414_iu452_2835","row-gap-414":"_row-gap-414_iu452_2838","column-gap-415":"_column-gap-415_iu452_2841","row-gap-415":"_row-gap-415_iu452_2844","column-gap-416":"_column-gap-416_iu452_2847","row-gap-416":"_row-gap-416_iu452_2850","column-gap-417":"_column-gap-417_iu452_2853","row-gap-417":"_row-gap-417_iu452_2856","column-gap-418":"_column-gap-418_iu452_2859","row-gap-418":"_row-gap-418_iu452_2862","column-gap-419":"_column-gap-419_iu452_2865","row-gap-419":"_row-gap-419_iu452_2868","column-gap-420":"_column-gap-420_iu452_2871","row-gap-420":"_row-gap-420_iu452_2874","column-gap-421":"_column-gap-421_iu452_2877","row-gap-421":"_row-gap-421_iu452_2880","column-gap-422":"_column-gap-422_iu452_2883","row-gap-422":"_row-gap-422_iu452_2886","column-gap-423":"_column-gap-423_iu452_2889","row-gap-423":"_row-gap-423_iu452_2892","column-gap-424":"_column-gap-424_iu452_2895","row-gap-424":"_row-gap-424_iu452_2898","column-gap-425":"_column-gap-425_iu452_2901","row-gap-425":"_row-gap-425_iu452_2904","column-gap-426":"_column-gap-426_iu452_2907","row-gap-426":"_row-gap-426_iu452_2910","column-gap-427":"_column-gap-427_iu452_2913","row-gap-427":"_row-gap-427_iu452_2916","column-gap-428":"_column-gap-428_iu452_2919","row-gap-428":"_row-gap-428_iu452_2922","column-gap-429":"_column-gap-429_iu452_2925","row-gap-429":"_row-gap-429_iu452_2928","column-gap-430":"_column-gap-430_iu452_2931","row-gap-430":"_row-gap-430_iu452_2934","column-gap-431":"_column-gap-431_iu452_2937","row-gap-431":"_row-gap-431_iu452_2940","column-gap-432":"_column-gap-432_iu452_2943","row-gap-432":"_row-gap-432_iu452_2946","column-gap-433":"_column-gap-433_iu452_2949","row-gap-433":"_row-gap-433_iu452_2952","column-gap-434":"_column-gap-434_iu452_2955","row-gap-434":"_row-gap-434_iu452_2958","column-gap-435":"_column-gap-435_iu452_2961","row-gap-435":"_row-gap-435_iu452_2964","column-gap-436":"_column-gap-436_iu452_2967","row-gap-436":"_row-gap-436_iu452_2970","column-gap-437":"_column-gap-437_iu452_2973","row-gap-437":"_row-gap-437_iu452_2976","column-gap-438":"_column-gap-438_iu452_2979","row-gap-438":"_row-gap-438_iu452_2982","column-gap-439":"_column-gap-439_iu452_2985","row-gap-439":"_row-gap-439_iu452_2988","column-gap-440":"_column-gap-440_iu452_2991","row-gap-440":"_row-gap-440_iu452_2994","column-gap-441":"_column-gap-441_iu452_2997","row-gap-441":"_row-gap-441_iu452_3000","column-gap-442":"_column-gap-442_iu452_3003","row-gap-442":"_row-gap-442_iu452_3006","column-gap-443":"_column-gap-443_iu452_3009","row-gap-443":"_row-gap-443_iu452_3012","column-gap-444":"_column-gap-444_iu452_3015","row-gap-444":"_row-gap-444_iu452_3018","column-gap-445":"_column-gap-445_iu452_3021","row-gap-445":"_row-gap-445_iu452_3024","column-gap-446":"_column-gap-446_iu452_3027","row-gap-446":"_row-gap-446_iu452_3030","column-gap-447":"_column-gap-447_iu452_3033","row-gap-447":"_row-gap-447_iu452_3036","column-gap-448":"_column-gap-448_iu452_3039","row-gap-448":"_row-gap-448_iu452_3042","column-gap-449":"_column-gap-449_iu452_3045","row-gap-449":"_row-gap-449_iu452_3048","column-gap-450":"_column-gap-450_iu452_3051","row-gap-450":"_row-gap-450_iu452_3054","column-gap-451":"_column-gap-451_iu452_3057","row-gap-451":"_row-gap-451_iu452_3060","column-gap-452":"_column-gap-452_iu452_3063","row-gap-452":"_row-gap-452_iu452_3066","column-gap-453":"_column-gap-453_iu452_3069","row-gap-453":"_row-gap-453_iu452_3072","column-gap-454":"_column-gap-454_iu452_3075","row-gap-454":"_row-gap-454_iu452_3078","column-gap-455":"_column-gap-455_iu452_3081","row-gap-455":"_row-gap-455_iu452_3084","column-gap-456":"_column-gap-456_iu452_3087","row-gap-456":"_row-gap-456_iu452_3090","column-gap-457":"_column-gap-457_iu452_3093","row-gap-457":"_row-gap-457_iu452_3096","column-gap-458":"_column-gap-458_iu452_3099","row-gap-458":"_row-gap-458_iu452_3102","column-gap-459":"_column-gap-459_iu452_3105","row-gap-459":"_row-gap-459_iu452_3108","column-gap-460":"_column-gap-460_iu452_3111","row-gap-460":"_row-gap-460_iu452_3114","column-gap-461":"_column-gap-461_iu452_3117","row-gap-461":"_row-gap-461_iu452_3120","column-gap-462":"_column-gap-462_iu452_3123","row-gap-462":"_row-gap-462_iu452_3126","column-gap-463":"_column-gap-463_iu452_3129","row-gap-463":"_row-gap-463_iu452_3132","column-gap-464":"_column-gap-464_iu452_3135","row-gap-464":"_row-gap-464_iu452_3138","column-gap-465":"_column-gap-465_iu452_3141","row-gap-465":"_row-gap-465_iu452_3144","column-gap-466":"_column-gap-466_iu452_3147","row-gap-466":"_row-gap-466_iu452_3150","column-gap-467":"_column-gap-467_iu452_3153","row-gap-467":"_row-gap-467_iu452_3156","column-gap-468":"_column-gap-468_iu452_3159","row-gap-468":"_row-gap-468_iu452_3162","column-gap-469":"_column-gap-469_iu452_3165","row-gap-469":"_row-gap-469_iu452_3168","column-gap-470":"_column-gap-470_iu452_3171","row-gap-470":"_row-gap-470_iu452_3174","column-gap-471":"_column-gap-471_iu452_3177","row-gap-471":"_row-gap-471_iu452_3180","column-gap-472":"_column-gap-472_iu452_3183","row-gap-472":"_row-gap-472_iu452_3186","column-gap-473":"_column-gap-473_iu452_3189","row-gap-473":"_row-gap-473_iu452_3192","column-gap-474":"_column-gap-474_iu452_3195","row-gap-474":"_row-gap-474_iu452_3198","column-gap-475":"_column-gap-475_iu452_3201","row-gap-475":"_row-gap-475_iu452_3204","column-gap-476":"_column-gap-476_iu452_3207","row-gap-476":"_row-gap-476_iu452_3210","column-gap-477":"_column-gap-477_iu452_3213","row-gap-477":"_row-gap-477_iu452_3216","column-gap-478":"_column-gap-478_iu452_3219","row-gap-478":"_row-gap-478_iu452_3222","column-gap-479":"_column-gap-479_iu452_3225","row-gap-479":"_row-gap-479_iu452_3228","column-gap-480":"_column-gap-480_iu452_3231","row-gap-480":"_row-gap-480_iu452_3234","column-gap-481":"_column-gap-481_iu452_3237","row-gap-481":"_row-gap-481_iu452_3240","column-gap-482":"_column-gap-482_iu452_3243","row-gap-482":"_row-gap-482_iu452_3246","column-gap-483":"_column-gap-483_iu452_3249","row-gap-483":"_row-gap-483_iu452_3252","column-gap-484":"_column-gap-484_iu452_3255","row-gap-484":"_row-gap-484_iu452_3258","column-gap-485":"_column-gap-485_iu452_3261","row-gap-485":"_row-gap-485_iu452_3264","column-gap-486":"_column-gap-486_iu452_3267","row-gap-486":"_row-gap-486_iu452_3270","column-gap-487":"_column-gap-487_iu452_3273","row-gap-487":"_row-gap-487_iu452_3276","column-gap-488":"_column-gap-488_iu452_3279","row-gap-488":"_row-gap-488_iu452_3282","column-gap-489":"_column-gap-489_iu452_3285","row-gap-489":"_row-gap-489_iu452_3288","column-gap-490":"_column-gap-490_iu452_3291","row-gap-490":"_row-gap-490_iu452_3294","column-gap-491":"_column-gap-491_iu452_3297","row-gap-491":"_row-gap-491_iu452_3300","column-gap-492":"_column-gap-492_iu452_3303","row-gap-492":"_row-gap-492_iu452_3306","column-gap-493":"_column-gap-493_iu452_3309","row-gap-493":"_row-gap-493_iu452_3312","column-gap-494":"_column-gap-494_iu452_3315","row-gap-494":"_row-gap-494_iu452_3318","column-gap-495":"_column-gap-495_iu452_3321","row-gap-495":"_row-gap-495_iu452_3324","column-gap-496":"_column-gap-496_iu452_3327","row-gap-496":"_row-gap-496_iu452_3330","column-gap-497":"_column-gap-497_iu452_3333","row-gap-497":"_row-gap-497_iu452_3336","column-gap-498":"_column-gap-498_iu452_3339","row-gap-498":"_row-gap-498_iu452_3342","column-gap-499":"_column-gap-499_iu452_3345","row-gap-499":"_row-gap-499_iu452_3348","column-gap-500":"_column-gap-500_iu452_3351","row-gap-500":"_row-gap-500_iu452_3354"},{createElement:gse,forwardRef:vse}=await q("react"),wse=rn(ok,"rb-ui"),Go=vse(({id:t,className:e,inline:n,justifyContent:r,justifyItems:o,justifySelf:a,alignItems:i,alignSelf:s,alignContent:l,columnGap:u,rowGap:d,gap:f,style:m={},children:v,tag:g="div",...w},y)=>{const _=({directionGap:S,gap:x})=>S?typeof S=="number"&&S>0&&S<=500:typeof x=="number"&&x>0&&x<=500;return gse(g,{...w,ref:y,id:t,className:wse("hstack",e,{"rb-inline-flex":n,"rb-flex":!n,[`justify-content-${r}`]:r,[`justify-items-${o}`]:o,[`justify-self-${a}`]:a,[`align-items-${i}`]:i,[`align-self-${s}`]:s,[`align-content-${l}`]:l,[`column-gap-${u??f}`]:_({directionGap:u,gap:f}),[`row-gap-${d??f}`]:_({directionGap:d,gap:f})}),style:{...m,gap:_({gap:f})?void 0:f,columnGap:_({directionGap:u})?void 0:u,rowGap:_({directionGap:d})?void 0:d}},v)});Go.displayName="HStack";const{createElement:bse,forwardRef:yse}=await q("react"),_se=rn(ok,"rb-ui"),Xl=yse(({id:t,className:e,inline:n,justifyContent:r,justifyItems:o,justifySelf:a,alignItems:i,alignSelf:s,alignContent:l,gap:u,columnGap:d,rowGap:f,style:m={},children:v,tag:g="div",...w},y)=>{const _=(S,x)=>S?typeof S=="number"&&S>0&&S<=500:typeof x=="number"&&x>0&&x<=500;return bse(g,{ref:y,...w,id:t,className:_se("vstack",e,{"inline-flex":n,flex:!n,[`justify-content-${r}`]:r,[`justify-items-${o}`]:o,[`justify-self-${a}`]:a,[`align-items-${i}`]:i,[`align-self-${s}`]:s,[`align-content-${l}`]:l,[`column-gap-${d??u}`]:_(d,u),[`row-gap-${f??u}`]:_(f,u)}),style:{...m,gap:!_(u)&&u,columnGap:!_(d)&&d,rowGap:!_(f)&&f}},v)});Xl.displayName="VStack";const{useCallback:L2e,useEffect:$2e,useMemo:D2e,useRef:B2e,useState:z2e}=await q("react"),xse="_table_1h1za_40",E3={table:xse,"no-data":"_no-data_1h1za_44","sticky-thead":"_sticky-thead_1h1za_71","th-block":"_th-block_1h1za_95","enable-sorting":"_enable-sorting_1h1za_116","ico-sorting":"_ico-sorting_1h1za_120","table-loading":"_table-loading_1h1za_131","no-data-tr":"_no-data-tr_1h1za_112","table-no-data":"_table-no-data_1h1za_145","table-row":"_table-row_1h1za_157","table-checkbox":"_table-checkbox_1h1za_157","expend-table-cell":"_expend-table-cell_1h1za_160","expend-controller":"_expend-controller_1h1za_165","td-expend":"_td-expend_1h1za_168","td-expend-inner":"_td-expend-inner_1h1za_173"},{useCallback:Sse,useState:Cse}=await q("react"),Ese=rn(E3,"rb-ui"),ak=({className:t="",children:e,fieldId:n,size:r="",colSpan:o,rowSpan:a,expend:i,expendOpen:s,handleExpendToggle:l,onClick:u})=>{const[d,f]=Cse(s),m=Sse(async v=>{if(u?.(v),!!i)try{f(g=>!g)}catch(g){console.error(g)}finally{setTimeout(()=>{l?.(!d)},10)}},[i,d,u,l]);return h("td",{className:Ese(t,n,{"expend-controller":i,"expend-open":i&&s}),colSpan:o,rowSpan:a,style:{width:r},onClick:m,children:h(qf,{children:e})})};ak.displayName="TdColumn";const{Children:Vv,Fragment:Mse,isValidElement:ik,useMemo:Jg,useState:ex}=await q("react"),ws=rn(E3,"rb-ui"),jv=t=>{let e=[];return Vv.forEach(t,n=>{if(ik(n)){const r=n;r.type===Mse?e=[...e,...jv(r.props.children)]:typeof n.type=="function"&&(n.type.name==="TdColumn"||n.type.displayName==="TdColumn")?e.push(n):e=[...e,...jv(r.props.children)]}}),e},F2e=({className:t="",list:e,children:n,loadingElement:r=h(Ui,{}),errorFallback:o,noDataMsg:a,hideThead:i,stickyThead:s=!1,sortUpElement:l=h(_$,{}),sortDownElement:u=h(b$,{}),sortNormalElement:d=h(y$,{}),loading:f})=>{const[m,v]=ex(!1),[g,w]=ex(null),y=Jg(()=>{const C=(e||[]).length>0?e?.[0]:{};return jv(n({item:C,index:0}))},[n,e]),_=Jg(()=>{const C=y?.map(M=>{const A=M;return{className:A.props?.className??"",label:A.props?.label??"",fieldId:A.props?.fieldId,enableSorting:typeof A.props?.sortValue<"u"||!!A.props?.handleClickSort,handleClickSort:A.props?.handleClickSort,thColSpan:A.props?.thColSpan,thRowSpan:A.props?.thRowSpan,rowSpan:A.props?.rowSpan,colSpan:A.props?.colSpan,size:A.props?.size,order:A.props?.order??""}});return C?C.filter(M=>typeof M.label<"u").map(M=>g?.fieldId?{...M,order:g?.fieldId===M.fieldId?g?.order:""}:M):[]},[y,g]),S=Jg(()=>{const{fieldId:C,order:M}=g??{};if(!M)return e;const O=e.map((D,T)=>Vv.map(n({item:D,index:T}),R=>{if(ik(R)){const $=R;return $.type===ak?R:Vv.toArray($.props.children)}return[]})).reduce((D,T)=>{const R=T.find($=>$.props.fieldId===C);return D.push(R.props?.sortValue??0),D},[]);return kn.orderBy(e.map((D,T)=>({...D,sortValue:O[T]})),["sortValue"],[M])},[e,g,n]),x=async C=>{let M="desc";const{order:A,index:O,fieldId:D,enableSorting:T,handleClickSort:R}=C;if(!T||m)return;A==="desc"?M="asc":A==="asc"&&(M="");const $={index:O,order:M,fieldId:D};if(w($),R)try{v(!0),await R($)}finally{v(!1)}};return h(qf,{fallback:o,children:h("div",{className:ws("table",t,{"no-data":!!e&&e.length===0,loading:!e||m||f,"sticky-thead":s}),children:ne("table",{children:[!i&&h("thead",{children:h("tr",{children:_.map((C,M)=>h("th",{className:ws(C.fieldId,C.className,{"enable-sorting":C.enableSorting}),rowSpan:C.thRowSpan??C.rowSpan,colSpan:C.thColSpan??C.colSpan,style:{width:C.size},onClick:()=>x({...C,index:M}),children:ne("div",{className:ws("th-block"),children:[C.label,!!C.enableSorting&&ne("span",{className:ws("ico-sorting"),children:[C.order!=="desc"&&C.order!=="asc"&&d,C.order==="desc"&&u,C.order==="asc"&&l]})]})},`th-${C.fieldId??M}`))})}),ne("tbody",{children:[(!e||m||f)&&h("tr",{className:ws("loading-tr"),children:h("td",{colSpan:_.length,children:h("div",{className:ws("table-loading"),children:r})})}),!!e&&!f&&!m&&(e.length>0?S.map((C,M)=>n({item:C,index:M})):h("tr",{className:ws("no-data-tr"),children:h("td",{colSpan:_.length,children:typeof a=="object"?a:h(Uf,{className:ws("table-no-data"),nullText:a})})}))]})]})})})},sk=t=>new Promise(e=>setTimeout(e,t)),V2e=(t,e)=>{t||(t=""),e||(e="");const n=t.replace(/^v/,"").split(".").map(Number),r=e.replace(/^v/,"").split(".").map(Number),o=Math.max(n.length,r.length);for(let a=0;a<o;a++){const i=n[a]??0,s=r[a]??0;if(i>s)return 1;if(i<s)return-1}return 0},{useCallback:tx,useEffect:nx,useMemo:rx,useRef:kse,useState:Rse}=await q("react"),e2=rn(E3,"rb-ui"),Tse=({className:t="",children:e,expendOpen:n=!1,handleExpendChange:r,beforeExpendOpen:o,onClick:a})=>{const i=kse(null),[s,l]=Rse(n),u=tx(v=>{if(i.current){const g=typeof v=="boolean"?v:!s,w=i.current.firstChild;w&&(w.style.maxHeight=g?`${w.scrollHeight}px`:"0px")}},[i,s]),d=tx(async()=>{try{o&&!s&&(await o(),await sk(10))}catch(v){console.error(v)}finally{l(!s),r?.(!s)}},[s,r,o]),f=rx(()=>{const v=w=>w.flatMap(y=>y?.props?y.type?.displayName==="TdColumn"?{...y,props:{...y.props,handleExpendToggle:d,expendOpen:s}}:Array.isArray(y.props.children)?v(y.props.children):[]:[]),g=Array.isArray(e)?e:[e];return v(g)},[e,s,d]),m=rx(()=>{const v=w=>w.flatMap(y=>{if(y?.props){if(y.type?.displayName==="TdExpend")return y;if(Array.isArray(y.props.children))return v(y.props.children)}}),g=Array.isArray(e)?e:[e];return v(g).filter(w=>w)[0]},[e]);return nx(()=>{u(s)},[s,u]),nx(()=>{typeof n<"u"&&l(n)},[n]),ne(Mr,{children:[h("tr",{className:e2(t,"table-row"),onClick:a,children:f}),!!m&&h("tr",{className:e2("expend-tr"),children:h("td",{ref:i,className:e2("expend-table-cell",{open:s}),colSpan:f.length,children:m})})]})};Tse.displayName="TableRow";const Nse="_tooltip_14ta1_40",Pse="_open_14ta1_100",Ase="_top_14ta1_112",Ise="_bottom_14ta1_119",Ose="_left_14ta1_123",Lse="_right_14ta1_130",$se={tooltip:Nse,"tooltip-shadow":"_tooltip-shadow_14ta1_43","tooltip-arrow":"_tooltip-arrow_14ta1_50","tooltip-arrow-icon":"_tooltip-arrow-icon_14ta1_59","tooltip-text":"_tooltip-text_14ta1_67","speech-bubble":"_speech-bubble_14ta1_77",open:Pse,"tooltip-pop-fade":"_tooltip-pop-fade_14ta1_1",top:Ase,bottom:Ise,left:Ose,right:Lse},{useCallback:bs,useEffect:t2,useMemo:ox,useRef:Hc,useState:n2}=await q("react"),Dse=t=>new Promise(e=>setTimeout(e,t)),xl=rn($se,"rb-ui"),j2e=({className:t="",anchorId:e,width:n=200,space:r=4,place:o="bottom",events:a=["hover"],arrowPosition:i=0,hideArrow:s,tooltipPosition:l,tooltipColor:u,tooltipTextColor:d,tooltipBoxShadow:f,tooltipBorderRadius:m,open:v,whenWindowScrollClose:g,children:w})=>{const y=Hc(null),_=Hc(null),S=Hc(null),x=Hc(null),C=Hc(0),M=Hc(!1),[A,O]=n2(!1),[D,T]=n2(o),[R,$]=n2(!!v),P=ox(()=>{const J=[...a],re=J.findIndex(te=>te==="hover");return re!==-1&&!So.isMobile&&J.splice(re,0,"mouseover","mouseout"),J},[a]),I=bs(()=>{if(_.current)return _.current;const J=document.querySelector(`#${e}`);J&&(_.current=J)},[e]),L=bs((J,re)=>{if(!_.current)return;const{scrollY:te,innerHeight:oe}=window,ee=te,ue=te+oe,{top:fe}=_.current.getBoundingClientRect();return ee>J&&fe>0?J+fe:ue<J+re?ue-re-10:J},[]),V=bs((J,re)=>{const{scrollX:te,innerWidth:oe}=window,ee=te,ue=te+oe;return ee>J?ee+r:ue<J+re?ue-re-r:J},[r]),F=bs(J=>{const{targetTop:re,targetLeft:te,targetWidth:oe,targetHeight:ee,tooltipHeight:ue,arrowWidth:fe,arrowHeight:ye}=J;return scrollY+re-ue-ye-r<scrollY&&o==="top"?"bottom":scrollY+re+ee+ye+r>scrollY+innerHeight&&o==="bottom"?"top":te-fe-r<100&&o==="left"?"right":innerWidth-(scrollX+te+oe+fe+r+10)<100&&o==="right"?"left":te+scrollX<scrollX?"right":o},[o,r]),z=bs(()=>{if(!y.current||!_.current)return{targetTop:0,targetLeft:0,targetWidth:0,targetHeight:0,arrowWidth:0,arrowHeight:0,tooltipWidth:0,tooltipHeight:0,scrollX:0,scrollY:0,innerWidth:0,innerHeight:0};const{top:J,left:re,height:te,width:oe}=_.current.getBoundingClientRect(),{offsetHeight:ee,offsetWidth:ue}=y.current,{clientWidth:fe=0,clientHeight:ye=0}=S.current??{},{scrollX:we,scrollY:Ne,innerWidth:Ie,innerHeight:Pe}=window,{position:he,top:ge,left:be}=document.body.style,Ue=he==="fixed"?Number(ge.replace("px",""))*-1:0,Ae=he==="fixed"?Number(be.replace("px",""))*-1:0;return{targetTop:J,targetLeft:re,targetWidth:oe,targetHeight:te,arrowWidth:fe,arrowHeight:ye,tooltipWidth:ue,tooltipHeight:ee,scrollX:Ae||we,scrollY:Ue||Ne,innerWidth:Ie,innerHeight:Pe}},[]),B=bs(async()=>{if(!_.current||!y.current)return;const{targetTop:J,targetLeft:re,targetWidth:te,targetHeight:oe,arrowWidth:ee,arrowHeight:ue,tooltipWidth:fe,tooltipHeight:ye,scrollX:we,scrollY:Ne,innerWidth:Ie,innerHeight:Pe}=z(),{top:he=0,left:ge=0}=l??{},be=i||0,Ue=F({targetTop:J,targetLeft:re,targetWidth:te,targetHeight:oe,arrowWidth:ee,arrowHeight:ue,tooltipWidth:fe,tooltipHeight:ye,scrollX:we,scrollY:Ne,innerWidth:Ie,innerHeight:Pe});T(Ue);let Ae="",Ke="",Me="";switch(Ue){case"top":Ae+=`
|
|
194
|
-
top: ${he+Ne+J-ye-ue-r}px;
|
|
195
|
-
left: ${V(ge+we+re+te/2-fe/2,fe)}px;
|
|
196
|
-
`,Ke+=`
|
|
197
|
-
top: ${he+Ne+J-ue-r-1}px;
|
|
198
|
-
left: ${be+we+re+te/2-ee/2}px;
|
|
199
|
-
`;break;case"left":Ae+=`
|
|
200
|
-
top: ${L(he+Ne+J-(ye-oe)/2,ye)}px;
|
|
201
|
-
left: ${V(ge+we+re-fe-ue-r,fe)}px;
|
|
202
|
-
max-width: ${re-ee-r}px;
|
|
203
|
-
`,Ke+=`
|
|
204
|
-
top: ${be+Ne+J+oe/2-ee/2}px;
|
|
205
|
-
left: ${ge+we+re-ee-r}px;
|
|
206
|
-
`;break;case"right":Ae+=`
|
|
207
|
-
top: ${L(he+Ne+J-(ye-oe)/2,ye)}px;
|
|
208
|
-
left: ${ge+we+re+te+ee+r}px;
|
|
209
|
-
max-width: ${Ie-(we+re+te+ee+r+10)}px;
|
|
210
|
-
`,Ke+=`
|
|
211
|
-
top: ${be+Ne+J+oe/2-ue/2}px;
|
|
212
|
-
left: ${ge+we+re+te+r}px;
|
|
213
|
-
`;break;case"bottom":default:Ae+=`
|
|
214
|
-
top: ${he+Ne+J+oe+ue+r}px;
|
|
215
|
-
left: ${V(ge+we+re+te/2-fe/2,fe)}px;
|
|
216
|
-
`,Ke+=`
|
|
217
|
-
transform: rotate(0deg);
|
|
218
|
-
top: ${he+Ne+J+oe+r}px;
|
|
219
|
-
left: ${be+we+re+te/2-ee/2}px;
|
|
220
|
-
`;break}if(Me+=`
|
|
221
|
-
${Ae}
|
|
222
|
-
width: ${fe}px;
|
|
223
|
-
height: ${ye}px;
|
|
224
|
-
`,y.current.setAttribute("style",Ae),x.current.setAttribute("style",Me),S.current&&S.current.setAttribute("style",Ke),C.current===2)return C.current=0,$(!0);await Dse(20),C.current+=1,B()},[i,r,l,F,V,L,z]),Y=ox(()=>kn.debounce(J=>{J.type!=="click"&&M.current||(J.type==="click"&&(J.preventDefault(),M.current=!0),J.type==="mouseout"?$(!1):C.current===0&&B(),J.preventDefault())},100),[B]),U=bs(()=>{!_.current||typeof v=="boolean"||P.forEach(J=>{_.current.addEventListener(J,Y)})},[v,P,Y]),le=bs(()=>{_.current&&P.forEach(J=>{_.current.removeEventListener(J,Y)})},[P,Y]);return Df(y,J=>{if(typeof v=="boolean")return;const re=_.current;re&&!re.contains(J.target)&&(M.current=!1,$(!1))}),t2(()=>(I(),U(),()=>{le()}),[B,I,U,le]),t2(()=>{const J=kn.throttle(()=>{$(!1)},30);return window.removeEventListener("resize",J),window.addEventListener("resize",J),g&&(window.removeEventListener("scroll",J),window.addEventListener("scroll",J)),()=>{window.removeEventListener("resize",J),window.removeEventListener("scroll",J)}},[g,B]),t2(()=>{v&&A&&B(),$(v)},[A,v,B]),h(Ql,{id:"tooltip",children:ne("div",{ref:()=>{A||O(!0)},className:xl("tooltip",t,D,{open:R}),style:{visibility:R?"visible":"hidden","--tooltip-color":u,"--tooltip-text-color":d,"--tooltip-box-shadow":f,"--tooltip-border-radius":m},children:[h("div",{ref:x,className:xl("tooltip-shadow")}),!s&&h("div",{ref:S,className:xl("tooltip-arrow"),children:h("span",{children:h(w7,{className:xl("tooltip-arrow-icon")})})}),h("div",{ref:y,className:xl("tooltip-text"),children:h("div",{className:xl("speech-bubble-wrap"),children:h("div",{className:xl("speech-bubble"),style:{width:n},children:h("div",{children:w})})})})]})})},lk=t=>{window.cacheImgs||(window.cacheImgs={}),Array.isArray(t)||(t=[t]),t.forEach(e=>{if(e&&!window.cacheImgs[e]){const n=new Image;n.src=e;const r=Object.entries(window.cacheImgs);if(r.length>200){r.sort((a,i)=>a[1].index-i[1].index);const o=r[0][0];delete window.cacheImgs[o],window.cacheImgs=r.slice(1,r.length).reduce((a,i)=>({...a,[i[0]]:{...i[1],index:i[1].index-1}}),{})}window.cacheImgs[e]={image:n,index:r.length}}})},Bse="_loading_fcm70_43",ck={"virtual-scroll":"_virtual-scroll_fcm70_39",loading:Bse,"virtual-item":"_virtual-item_fcm70_46","no-data":"_no-data_fcm70_49"},{cloneElement:ax,createElement:zse,memo:uk,useCallback:Jd,useEffect:X0,useMemo:Wc,useRef:iu,useState:Kd}=await q("react"),l0=rn(ck,"rb-ui"),dk=uk(({gapY:t,index:e,resizeObserver:n,children:r,heightList:o,updateHeight:a})=>{const i=iu(null),[s,l]=Kd({position:"absolute",width:"100%",top:(i.current?.offsetHeight??0+t)*e,left:0,zIndex:1,visibility:o[e]?"visible":"hidden"}),u=Jd(()=>{if(i.current){const f=i.current.offsetHeight;a(f,e)}},[e,a]),d=Jd(()=>{if(o[e]){const f=o.slice(0,e).reduce((m,v)=>m+v,0);l(m=>({...m,left:0,top:f+t,visibility:"visible"}))}else u()},[t,o,e,u]);return X0(()=>{d()},[d]),X0(()=>{const f=i.current;return n.observe(f),()=>{n.unobserve(f)}},[n]),h("div",{ref:i,"data-index":e,className:l0("virtual-item"),style:s,children:r})});dk.displayName="VirtualItem";const Fse=({className:t="",scrollTarget:e,list:n,preloadCnt:r=5,itemHeight:o,gapY:a=0,loading:i,loadingElement:s=h(Ui,{}),skeletonElement:l,skeletonCnt:u=3,noDataMsg:d,element:f})=>{const m=iu(null),v=iu(null),g=iu(0),w=iu(0),y=iu({startIndex:0,endIndex:50}),[_]=Kd(!!n),[S,x]=Kd([]),[C,M]=Kd({startIndex:0,endIndex:50}),[A,O]=Kd({containerWidth:m.current?.clientWidth??0,gapY:typeof a=="number"?a:a(m.current?.clientWidth??0)}),D=Wc(()=>zse(f),[f]),T=Wc(()=>new ResizeObserver(z=>{for(const B of z){const{clientWidth:Y,offsetHeight:U,dataset:le}=B.target,J=Number(le.index??-1);J===-1?O({containerWidth:Y??0,gapY:typeof a=="number"?a:a(Y??0)}):x(re=>re.map((te,oe)=>oe===J?U:te))}}),[a]),R=Wc(()=>i||!n,[i,n]),$=Wc(()=>!n&&!l?[]:R?Array.from({length:u}).map(()=>{}):n.slice(C.startIndex,C.endIndex),[n,l,C,u,R]),P=Wc(()=>{const z=typeof o=="number"?o:o(A.containerWidth);return S.filter(Y=>!!Y).length?Math.max(...S.filter(Y=>!!Y)):z},[S,o,A.containerWidth]),I=Wc(()=>{const z=n?n.length:u;return z>0&&S.length===z?S.reduce((B,Y)=>B+Y+A.gapY,0):P>0?P*z:0},[n,u,S,P,A.gapY]),L=Jd(()=>{const z=e?"current"in e?e.current:e:null,B=z?z.scrollTop:window.scrollY,Y=z?z.offsetHeight:window.innerHeight,U=S.reduce((re,te)=>{const oe=(re[re.length-1]??0)+te;return re.push(oe),re},[]);let le=U.findIndex(re=>re>=B),J=U.findIndex(re=>re>=B+Y);return le===-1?le=y.current.startIndex:(le=le-10-r,le=P&&le>0?le:0),J===-1?J=y.current.endIndex:(J=J+10+r,J=P&&J>0?J:50),{startIndex:le,endIndex:J}},[e,S,P,r]),V=Jd((z,B)=>{!n&&!l||x(Y=>(Y[B]=z,Y.slice(0,n?n.length:u)))},[n,l,u]),F=Jd(()=>{const z=e?"current"in e?e.current:e:null,B=z?z.scrollTop:window.scrollY,Y=Date.now(),U=B-w.current,le=U>0,J=Math.abs(U);v.current!==null&&cancelAnimationFrame(v.current),v.current=requestAnimationFrame(()=>{const re=L();if(J>0&&B>0&&(le&&re.endIndex<y.current.endIndex||!le&&re.startIndex>y.current.startIndex)){cancelAnimationFrame(v.current),v.current=null;return}if(le&&J>P?re.endIndex+=Math.floor(J/P):!le&&J>P&&(re.startIndex-=Math.floor(J/P),re.startIndex<=0&&(re.startIndex=0)),Y-g.current>=200||B<=0||J===0){M(re),w.current=B,y.current={...re},g.current=Y,v.current=null;return}else J>=P*(r/2)?(M(re),w.current=B,y.current={...re},g.current=Y,v.current=null):(y.current.endIndex-re.endIndex>r||re.startIndex-y.current.startIndex>r)&&(M(re),w.current=B,g.current=Y,y.current={...re})})},[L,P,r,e]);return X0(()=>{T.observe(m.current)},[m,T]),X0(()=>{if(typeof window<"u"&&m.current){const z=e?"current"in e?e.current:e:window;return F(),z.removeEventListener("scroll",F),z.addEventListener("scroll",F),()=>{v.current!==null&&cancelAnimationFrame(v.current),z.removeEventListener("scroll",F)}}},[e,v,F]),ne("div",{ref:m,className:l0(t,"virtual-scroll",{"no-data":n&&!n.length}),style:{height:I,minHeight:_&&!n?"100000px":0},children:[R&&!l&&h("div",{className:l0("loading"),children:s}),!R&&n.length===0&&(typeof d=="object"?d:h(Uf,{className:l0("no-msg-comp"),nullText:d})),$.map((z,B)=>{const Y=C.startIndex+B;return h(dk,{...A,index:Y,resizeObserver:T,heightList:S,updateHeight:V,children:h("div",{children:n?ax(D,{item:z,imageCacher:lk,index:Y}):ax(l,{})})},`${Y}-${A.containerWidth}-${n?"":"skeleton"}`)})]})};uk(Fse);const Z0=await q("react"),{cloneElement:Vse,createElement:jse,memo:fk,useCallback:Hv,useEffect:r2,useMemo:qc,useRef:Sl,useState:ef}=Z0;typeof window>"u"&&(Z0.useLayoutEffect=Z0.useEffect);const c0=rn(ck,"rb-ui"),pk=fk(({width:t,gapX:e,gapY:n,rowIndex:r,columnIndex:o,startIndex:a,children:i})=>{const[s,l]=ef(),[u,d]=ef({position:"absolute",width:t,top:(s?.offsetHeight??0+n)*(a+o),left:r?(t+e)*r:0,zIndex:1}),f=Hv(()=>{if(s){const m=s.offsetHeight;d(v=>({...v,width:t,left:r?(t+e)*r:0,top:(m+n)*(a+o),visibility:"visible"}))}},[s,t,r,e,n,a,o]);return Z0.useLayoutEffect(()=>{f()},[f]),h("div",{ref:l,className:c0("virtual-item"),style:u,children:i})});pk.displayName="VirtualItem";const Hse=({list:t,className:e="",scrollTarget:n,preloadRowCnt:r=2,itemWidth:o,itemHeight:a,gapX:i,gapY:s,loading:l,loadingElement:u=h(Ui,{}),skeletonElement:d,skeletonCnt:f=3,noDataMsg:m,element:v})=>{const g=Sl(null),w=Sl(null),y=Sl(0),_=Sl(0),S=Sl(0),x=Sl(0),C=Sl({startIndex:0,endIndex:10}),[M]=ef(!!t),[A,O]=ef({startIndex:0,endIndex:10}),[D,T]=ef({containerWidth:g.current?.clientWidth??0,width:typeof o=="number"?o:o(g.current?.clientWidth??0),gapX:typeof i=="number"?i:i(g.current?.clientWidth??0),gapY:typeof s=="number"?s:s(g.current?.clientWidth??0)}),R=qc(()=>{if(!(typeof window>"u"))return new ResizeObserver(B=>{for(const Y of B){const{clientWidth:U}=Y.target;T({containerWidth:U??0,width:typeof o=="number"?o:o(U??0),gapX:typeof i=="number"?i:i(U??0),gapY:typeof s=="number"?s:s(U??0)})}})},[i,s,o]),$=qc(()=>l||!t,[l,t]),P=qc(()=>{const B=U=>{const{containerWidth:le,width:J}=D,re=parseInt((le/J).toString()),te=Math.ceil(U.length/re)||0,oe=new Array(te);for(let ee=0;ee<te;ee++)oe[ee]=U.slice(ee*re,(ee+1)*re).map(ue=>ue);return oe},Y=Array.from({length:f}).map(()=>{});return B($?Y:t)},[t,$,D,f]),I=qc(()=>P.slice(A.startIndex,A.endIndex),[A,P]),L=qc(()=>{const B=typeof a=="number"?a:a(D.containerWidth);if(g.current){const Y=Array.from(g.current.children);Y.length&&(g.current.style.minHeight="");const U=Math.max(...Y.map(le=>(le.offsetHeight??0)+D.gapY),0)||B||0;return y.current=U,U}return B||0},[P,I,D,a]),V=qc(()=>{if(!(!t&&!d))return L>0?P.length*L:0},[t,d,L,P.length]),F=Hv(()=>{const B=n?"current"in n?n.current:n:null,Y=B?B.scrollTop:window.scrollY,U=B?B.offsetHeight:window.innerHeight,le=B?B.scrollHeight:document.body.scrollHeight,J=_.current>Y?0:Math.floor((Y-_.current)/L)-r,re=Math.ceil((Y+U)/L)+r;return le===Y+U?{startIndex:C.current.startIndex,endIndex:C.current.endIndex}:{startIndex:L&&J>=0?J:0,endIndex:!L||!re?10:re}},[L,r,n]),z=Hv(()=>{const B=n?"current"in n?n.current:n:null,Y=B?B.scrollTop:window.scrollY,U=Date.now(),le=Y-x.current,J=le>0,re=J?le:le*-1;w.current!==null&&cancelAnimationFrame(w.current),w.current=requestAnimationFrame(()=>{const te=F();if(re>0&&Y>0&&(J&&te.endIndex<C.current.endIndex||!J&&te.startIndex>C.current.startIndex)){cancelAnimationFrame(w.current),w.current=null;return}if(J&&re>L?te.endIndex+=Math.floor(re/L):!J&&re>L&&(te.startIndex-=Math.floor(re/L),te.startIndex<=0&&(te.startIndex=0)),U-S.current>=200||Y<=0||re===0){O(te),x.current=Y,C.current={...te},S.current=U,w.current=null;return}else if(re>=L*(r/2)){O(te),x.current=Y,S.current=U,C.current={...te},w.current=null;return}else(C.current.endIndex-te.endIndex>r||te.startIndex-C.current.startIndex>r)&&(O(te),x.current=Y,S.current=U,C.current={...te})})},[F,L,r,n]);return r2(()=>{if(R){const B=g.current;return R.observe(B),()=>{B&&R.unobserve(B)}}},[g,R]),r2(()=>{if(g.current){const{top:B}=g.current.getBoundingClientRect();_.current=window.scrollY+B}},[]),r2(()=>{if(typeof window<"u"&&g.current){const B=n?"current"in n?n.current:n:window;return z(),B?.removeEventListener("scroll",z),B?.addEventListener("scroll",z),()=>{w.current!==null&&cancelAnimationFrame(w.current),B?.removeEventListener("scroll",z)}}},[n,w,z]),ne("div",{ref:g,className:c0(e,"virtual-scroll",{"no-data":!!t&&!t.length}),style:{height:V,minHeight:M&&!I.length?"9999999px":0},children:[$&&!d&&h("div",{className:c0("loading"),children:u}),!$&&t.length===0&&(typeof m=="object"?m:h(Uf,{className:c0("no-msg-comp"),nullText:m})),I.map((B,Y)=>B.map((U,le)=>{const J=(A.startIndex+Y)*B.length+le,re=Y*B.length+le;return h(pk,{...D,rowIndex:le,columnIndex:Y,startIndex:A.startIndex,children:h("div",{children:Vse(t?jse(v,{item:U,imageCacher:lk,index:J}):d,{})})},`${re}-${D.containerWidth}${$?"skeleton":""}`)}))]})};fk(Hse);const Wse="_joystick_1umsx_40",qse="_disabled_1umsx_48",Use="_stick_1umsx_177",Yse={joystick:Wse,disabled:qse,"joystick-inner":"_joystick-inner_1umsx_55","direction-icons":"_direction-icons_1umsx_83","icon-top":"_icon-top_1umsx_77","icon-bottom":"_icon-bottom_1umsx_80","icon-left":"_icon-left_1umsx_71","icon-right":"_icon-right_1umsx_74","curved-icons":"_curved-icons_1umsx_130","icon-curved-top":"_icon-curved-top_1umsx_163","icon-curved-bottom":"_icon-curved-bottom_1umsx_168","stick-area":"_stick-area_1umsx_177","stick-area-inner":"_stick-area-inner_1umsx_187",stick:Use},{useRef:Ii,useCallback:Cl,useId:Gse,useEffect:ix}=await q("react"),Jr=rn(Yse),Kse=({className:t,type:e="direction",size:n=100,stickColor:r="radial-gradient(circle at 25px 25px, #444444, #141414)",stickAreaColor:o="#878787",throttleThreshold:a=.05,throttleDuration:i,xOnly:s=!1,yOnly:l=!1,disableDiagonal:u=!1,disabled:d=!1,keepMoveEventInterval:f,paddingSize:m=10,style:v,onStart:g,onMove:w,onEnd:y})=>{const _=Ii(null),S=Ii(null),x=Ii(null),C=Ii(null),M=Ii(null),A=Ii(null),O=Ii(null),D=Ii({x:0,y:0}),T=Ii({type:"none",startPosition:{x:0,y:0},normalizedDistance:{x:0,y:0},rotate:{radian:0,degree:0},distance:{x:0,y:0},direction:{x:"center",y:"center"},time:Date.now()}),R=Gse().replace(/:/g,""),$=({clientX:U,clientY:le})=>{if(!S.current)return;const{width:J,top:re,left:te}=S.current.getBoundingClientRect(),oe=J/2,ee=U-te-oe,ue=le-re-oe;S.current.style.transform=`translate3d(${ee}px, ${ue}px, 0px)`,_.current.style.transition=""},P=Cl(()=>{S.current&&(S.current.style.transform="translate3d(0px, 0px, 0px)",S.current.classList.remove("left","right","top","bottom","center"))},[]),I=Cl(({clientX:U,clientY:le})=>{if(!_.current||!x.current)return;const re=x.current.offsetWidth/2,te={x:U-T.current.startPosition.x,y:le-T.current.startPosition.y};u?Math.abs(te.x)>Math.abs(te.y)?te.y=0:Math.abs(te.x)<Math.abs(te.y)?te.x=0:(te.x=0,te.y=0):s?te.y=0:l&&(te.x=0);const oe=Math.hypot(te.x,te.y);if(oe>re){const Ie=re/oe;te.x*=Ie,te.y*=Ie}const ee={x:Math.abs(te.x)>3?te.x>0?"right":"left":"center",y:Math.abs(te.y)>3?te.y>0?"bottom":"top":"center"},ue=Math.atan2(te.x,-te.y);let fe=ue*180/Math.PI;fe<0&&(fe+=360);const ye={radian:ue,degree:fe},we={x:te.x/re,y:-te.y/re},Ne=Math.hypot(we.x-D.current.x,we.y-D.current.y);return{direction:ee,distance:te,normalizedDistance:we,movementRatio:Ne,rotate:ye}},[u,s,l]),L=Cl(({clientX:U,clientY:le})=>{if(!_.current||!x.current)return;const{direction:J,distance:re,rotate:te,normalizedDistance:oe,movementRatio:ee}=I({clientX:U,clientY:le});return _.current.style.transform=`translate3d(${re.x}px, ${re.y}px, 0px)`,S.current.classList.remove("left","right","top","bottom","center"),S.current.classList.add(J.x,J.y),{direction:J,distance:{x:re.x,y:-re.y},rotate:te,normalizedDistance:oe,movementRatio:ee}},[I]),V=Cl(()=>{_.current&&(_.current.style.transition="transform 0.2s ease-out",_.current.style.transform="translate3d(0px, 0px, 0px)")},[]),F=Cl(()=>{const le=Date.now()-T.current.time;if(!O.current||["none","end"].includes(T.current.type)||le<i)return;const J=O.current;J.preventDefault(),J.stopPropagation();const{clientX:re,clientY:te}=J,{distance:oe,direction:ee,rotate:ue,normalizedDistance:fe,movementRatio:ye}=L({clientX:re,clientY:te});T.current={...T.current,type:"move",rotate:ue,distance:oe,normalizedDistance:fe,direction:ee,time:Date.now()};const we={...T.current,event:J,targets:{joystick:S.current,stickArea:x.current,stick:_.current}};ye>=a&&(D.current=fe,w?.(we)),console.log("keepMoveEventInterval",f),f&&(window.clearInterval(M.current),M.current=window.setInterval(()=>{console.log("moveEventIntervalIdRef.current",M.current),console.log("moveStatusRef.current",T.current),T.current.type==="move"&&w?.(we)},f))},[a,i,w,L,f]),z=Cl(U=>{window.clearInterval(M.current),!["none","end"].includes(T.current.type)&&(U.target instanceof Element&&U.target.releasePointerCapture?.(U.pointerId),U.preventDefault(),U.stopPropagation(),T.current.type="end",setTimeout(()=>{T.current.type="none"},100),P(),V(),S.current.classList.remove("active"),window.clearInterval(M.current),O.current=null,y?.({type:"end",...T.current,direction:{x:"center",y:"center"},normalizedDistance:{x:0,y:0},rotate:{degree:0,radian:0},distance:{x:0,y:0},event:U,targets:{joystick:S.current,stickArea:x.current,stick:_.current}}))},[R,y,P,V]),B=U=>{if(U.button===2||d||["start","move","end"].includes(T.current.type))return;C.current=`${R}-${U.pointerId}`,U.currentTarget.setPointerCapture(U.pointerId),U.stopPropagation(),U.preventDefault();const{clientX:le,clientY:J}=U;T.current.type="start",T.current.startPosition={x:le,y:J},S.current.classList.add("active"),$({clientX:le,clientY:J}),g?.({...T.current,event:U,targets:{joystick:S.current,stickArea:x.current,stick:_.current},distance:{x:0,y:0},normalizedDistance:{x:0,y:0},rotate:{radian:0,degree:0},startPosition:{x:le,y:J},direction:{x:"center",y:"center"}})},Y=Cl(U=>{O.current=U.nativeEvent,C.current===`${R}-${U.pointerId}`&&(A.current&&cancelAnimationFrame(A.current),A.current=requestAnimationFrame(F))},[F,R]);return ix(()=>{const U=le=>{z(le)};return window.addEventListener("pointerup",U),()=>{window.removeEventListener("pointerup",U)}},[R,z]),ix(()=>{const U=M.current;return()=>{window.clearInterval(U)}},[]),h("div",{className:Jr("joystick",t,{disabled:d}),style:{...v,"--joy-stick-size":`${n+m*2}px`,"--joy-stick-color":r,"--joy-stick-area-color":o},onContextMenu:U=>U.preventDefault(),children:ne("div",{ref:S,className:Jr("joystick-inner"),style:{padding:m},children:[h("div",{ref:x,className:Jr("stick-area"),style:{padding:m},onPointerDownCapture:B,onPointerUpCapture:z,onPointerMove:Y,children:ne("span",{className:Jr("stick-area-inner"),children:[e==="direction"&&ne("div",{className:Jr("direction-icons"),children:[h("span",{className:Jr("icon-top"),children:h(E$,{})}),h("span",{className:Jr("icon-bottom"),children:h(x$,{})}),h("span",{className:Jr("icon-left"),children:h(S$,{})}),h("span",{className:Jr("icon-right"),children:h(C$,{})}),h("span",{className:Jr("icon-curved-top")})]}),e==="curved"&&ne("div",{className:Jr("curved-icons"),children:[h("span",{className:Jr("icon-curved-top"),children:h(Gy,{})}),h("span",{className:Jr("icon-curved-bottom"),children:h(Gy,{})})]})]})}),h("div",{ref:_,className:Jr("stick")})]})})},Xse="_border_b2cyl_50",Zse={"white-button":"_white-button_b2cyl_40",border:Xse},Qse=rn(Zse),hk=({className:t,outline:e,ripple:n,...r})=>h(Bh,{className:Qse(t,"white-button",{border:e}),ripple:{color:"#9d9d9d",...n},...r}),{useMemo:H2e}=await q("react"),{useState:sx,useEffect:o2,useRef:ys,useCallback:d1}=await q("react"),Jse=({className:t,initStatus:e=!0,hideErrorMessage:n,label:r,lebelPosition:o="top",loading:a,loadingMessage:i="Connecting...",disconnectedMessage:s=`Disconnected
|
|
225
|
-
연결할 수 없습니다`,...l})=>{const[u,d]=sx(""),f=ys(null),m=ys(null),v=ys(""),g=ys([]),w=ys(null),y=ys({iceUfrag:"",icePwd:"",medias:[]}),_=ys([]),S=2e3,x=ys(e),[C,M]=sx(a??!1),A=he=>JSON.parse(`"${he}"`),O=he=>he!==null?he.split(", ").map(ge=>{const be=ge.match(/^<(.+?)>; rel="ice-server"(; username="(.*?)"; credential="(.*?)"; credential-type="password")?/i);if(!be)return{urls:[]};const Ue={urls:[be[1]]};return be[3]!==void 0&&(Ue.username=A(be[3]),Ue.credential=A(be[4]),Ue.credentialType="password"),Ue}):[],D=d1(he=>{fetch(he,{method:"DELETE"}).catch(()=>{})},[]),T=d1(()=>{f.current!==null&&(f.current.onicecandidate=null,f.current.oniceconnectionstatechange=null,f.current.ontrack=null,f.current.close(),f.current=null)},[]),R=he=>{const ge={iceUfrag:"",icePwd:"",medias:[]};for(const be of he.split(`\r
|
|
226
|
-
`))be.startsWith("m=")?ge.medias.push(be.slice(2)):ge.iceUfrag===""&&be.startsWith("a=ice-ufrag:")?ge.iceUfrag=be.slice(12):ge.icePwd===""&&be.startsWith("a=ice-pwd:")&&(ge.icePwd=be.slice(10));return ge},$=he=>{const ge=he.split(" ").slice(3);for(let be=96;be<=127;be++)if(!ge.includes(be.toString()))return be.toString();throw Error("unable to find a free payload type")},P=he=>{const ge=he.split(`\r
|
|
227
|
-
`);let be=$(ge[0]);return ge[0]+=` ${be}`,ge.splice(ge.length-1,0,`a=rtpmap:${be} PCMU/8000/2`),ge.splice(ge.length-1,0,`a=rtcp-fb:${be} transport-cc`),be=$(ge[0]),ge[0]+=` ${be}`,ge.splice(ge.length-1,0,`a=rtpmap:${be} PCMA/8000/2`),ge.splice(ge.length-1,0,`a=rtcp-fb:${be} transport-cc`),ge.join(`\r
|
|
228
|
-
`)},I=he=>{const ge=he.split(`\r
|
|
229
|
-
`);let be=$(ge[0]);return ge[0]+=` ${be}`,ge.splice(ge.length-1,0,`a=rtpmap:${be} multiopus/48000/3`),ge.splice(ge.length-1,0,`a=fmtp:${be} channel_mapping=0,2,1;num_streams=2;coupled_streams=1`),ge.splice(ge.length-1,0,`a=rtcp-fb:${be} transport-cc`),be=$(ge[0]),ge[0]+=` ${be}`,ge.splice(ge.length-1,0,`a=rtpmap:${be} multiopus/48000/4`),ge.splice(ge.length-1,0,`a=fmtp:${be} channel_mapping=0,1,2,3;num_streams=2;coupled_streams=2`),ge.splice(ge.length-1,0,`a=rtcp-fb:${be} transport-cc`),be=$(ge[0]),ge[0]+=` ${be}`,ge.splice(ge.length-1,0,`a=rtpmap:${be} multiopus/48000/5`),ge.splice(ge.length-1,0,`a=fmtp:${be} channel_mapping=0,4,1,2,3;num_streams=3;coupled_streams=2`),ge.splice(ge.length-1,0,`a=rtcp-fb:${be} transport-cc`),be=$(ge[0]),ge[0]+=` ${be}`,ge.splice(ge.length-1,0,`a=rtpmap:${be} multiopus/48000/6`),ge.splice(ge.length-1,0,`a=fmtp:${be} channel_mapping=0,4,1,2,3,5;num_streams=4;coupled_streams=2`),ge.splice(ge.length-1,0,`a=rtcp-fb:${be} transport-cc`),be=$(ge[0]),ge[0]+=` ${be}`,ge.splice(ge.length-1,0,`a=rtpmap:${be} multiopus/48000/7`),ge.splice(ge.length-1,0,`a=fmtp:${be} channel_mapping=0,4,1,2,3,5,6;num_streams=4;coupled_streams=4`),ge.splice(ge.length-1,0,`a=rtcp-fb:${be} transport-cc`),be=$(ge[0]),ge[0]+=` ${be}`,ge.splice(ge.length-1,0,`a=rtpmap:${be} multiopus/48000/8`),ge.splice(ge.length-1,0,`a=fmtp:${be} channel_mapping=0,6,1,4,5,2,3,7;num_streams=5;coupled_streams=4`),ge.splice(ge.length-1,0,`a=rtcp-fb:${be} transport-cc`),ge.join(`\r
|
|
230
|
-
`)},L=he=>{const ge=he.split(`\r
|
|
231
|
-
`);let be=$(ge[0]);return ge[0]+=` ${be}`,ge.splice(ge.length-1,0,`a=rtpmap:${be} L16/8000/2`),ge.splice(ge.length-1,0,`a=rtcp-fb:${be} transport-cc`),be=$(ge[0]),ge[0]+=` ${be}`,ge.splice(ge.length-1,0,`a=rtpmap:${be} L16/16000/2`),ge.splice(ge.length-1,0,`a=rtcp-fb:${be} transport-cc`),be=$(ge[0]),ge[0]+=` ${be}`,ge.splice(ge.length-1,0,`a=rtpmap:${be} L16/48000/2`),ge.splice(ge.length-1,0,`a=rtcp-fb:${be} transport-cc`),ge.join(`\r
|
|
232
|
-
`)},V=he=>{let ge="";const be=he.split(`\r
|
|
233
|
-
`);for(let Ue=0;Ue<be.length;Ue++)if(be[Ue].startsWith("a=rtpmap:")&&be[Ue].toLowerCase().includes("opus/")){ge=be[Ue].slice(9).split(" ")[0];break}if(ge==="")return he;for(let Ue=0;Ue<be.length;Ue++)be[Ue].startsWith("a=fmtp:"+ge+" ")&&(be[Ue].includes("stereo")||(be[Ue]+=";stereo=1"),be[Ue].includes("sprop-stereo")||(be[Ue]+=";sprop-stereo=1"));return be.join(`\r
|
|
234
|
-
`)},F=he=>{const ge=he.split("m=");for(let be=0;be<ge.length;be++)if(ge[be].startsWith("audio")){ge[be]=V(ge[be]),g.current.includes("pcma/8000/2")&&(ge[be]=P(ge[be])),g.current.includes("multiopus/48000/6")&&(ge[be]=I(ge[be])),g.current.includes("L16/48000/2")&&(ge[be]=L(ge[be]));break}return ge.join("m=")},z=(he,ge)=>{const be={};for(const Ke of ge){const Me=Ke.sdpMLineIndex;be[Me]===void 0&&(be[Me]=[]),be[Me].push(Ke)}let Ue="a=ice-ufrag:"+he.iceUfrag+`\r
|
|
235
|
-
a=ice-pwd:`+he.icePwd+`\r
|
|
236
|
-
`,Ae=0;for(const Ke of he.medias){if(be[Ae]!==void 0){Ue+="m="+Ke+`\r
|
|
237
|
-
a=mid:`+Ae+`\r
|
|
238
|
-
`;for(const Me of be[Ae])Ue+="a="+Me.candidate+`\r
|
|
239
|
-
`}Ae++}return Ue},B=(he,ge)=>new Promise(be=>{const Ue=new RTCPeerConnection({iceServers:[]});Ue.addTransceiver("audio",{direction:"recvonly"}),Ue.createOffer().then(Ae=>{if(Ae.sdp==null){be(!1);return}if(Ae.sdp.includes(" "+he)){be(!1);return}const Ke=Ae.sdp?.split("m=audio"),Me=Ke[1].split(`\r
|
|
240
|
-
`);return Me[0]+=" 118",Me.splice(Me.length-1,0,"a=rtpmap:118 "+he),ge!==void 0&&Me.splice(Me.length-1,0,"a=fmtp:118 "+ge),Ke[1]=Me.join(`\r
|
|
241
|
-
`),Ae.sdp=Ke.join("m=audio"),Ue.setLocalDescription(Ae)}).then(()=>Ue.setRemoteDescription(new RTCSessionDescription({type:"answer",sdp:`v=0\r
|
|
242
|
-
o=- 6539324223450680508 0 IN IP4 0.0.0.0\r
|
|
243
|
-
s=-\r
|
|
244
|
-
t=0 0\r
|
|
245
|
-
a=fingerprint:sha-256 0D:9F:78:15:42:B5:4B:E6:E2:94:3E:5B:37:78:E1:4B:54:59:A3:36:3A:E5:05:EB:27:EE:8F:D2:2D:41:29:25\r
|
|
246
|
-
m=audio 9 UDP/TLS/RTP/SAVPF 118\r
|
|
247
|
-
c=IN IP4 0.0.0.0\r
|
|
248
|
-
a=ice-pwd:7c3bf4770007e7432ee4ea4d697db675\r
|
|
249
|
-
a=ice-ufrag:29e036dc\r
|
|
250
|
-
a=sendonly\r
|
|
251
|
-
a=rtcp-mux\r
|
|
252
|
-
a=rtpmap:118 `+he+`\r
|
|
253
|
-
`+(ge!==void 0?"a=fmtp:118 "+ge+`\r
|
|
254
|
-
`:"")}))).then(()=>{be(!0)}).catch(Ae=>{be(!1)}).finally(()=>{Ue.close()})}),Y=he=>{if(w.current===null){if(d(s),M(a??!1),v.current){const ge=v.current;v.current="",D(ge)}T(),w.current=window.setTimeout(()=>{w.current=null,fe()},S),_.current=[],l.onError?.(he)}},U=he=>{!x.current||v.current===""||fetch(v.current+window.location.search,{method:"PATCH",headers:{"Content-Type":"application/trickle-ice-sdpfrag","If-Match":"*"},body:z(y.current,he)}).then(ge=>{switch(ge.status){case 204:break;case 404:throw new Error("stream not found");default:throw new Error(`bad status code ${ge.status}`)}}).catch(ge=>{Y(ge.toString())})},le=he=>{!x.current||w.current!==null||he.candidate!==null&&(v.current===""?_.current.push(he.candidate):U([he.candidate]))},J=he=>{!x.current||w.current!==null||f.current==null||f.current.setRemoteDescription(new RTCSessionDescription({type:"answer",sdp:he})).then(()=>{_.current.length!==0&&(U(_.current),_.current=[])}).catch(ge=>{Y(ge.toString())})},re=he=>{fetch(new URL(l.url+"/whep")+window.location.search,{method:"POST",headers:{"Content-Type":"application/sdp"},body:he.sdp}).then(ge=>{const be=ge.headers.get("location"),Ue=be?new URL(be,l.url).toString():"";switch(ge.status){case 201:case 200:break;case 404:throw new Error("stream not found");case 400:return ge.json().then(Ae=>{throw new Error(Ae.error)});default:throw new Error(`bad status code ${ge.status}`)}if(!x.current||f.current==null){Ue&&D(Ue);return}return l.onSuccess?.(),Ue&&(v.current=Ue),ge.text().then(Ae=>J(Ae))}).catch(ge=>{console.log(ge),Y(ge.toString())})},te=()=>{!x.current||f.current==null||f.current.createOffer().then(he=>{he.sdp==null||f.current==null||(he.sdp=F(he.sdp),y.current=R(he.sdp),f.current.setLocalDescription(he).then(()=>{re(he)}).catch(ge=>{Y(ge.toString())}))}).catch(he=>{Y(he.toString())})},oe=()=>{!x.current||w.current!==null||f.current==null||f.current.iceConnectionState==="disconnected"&&Y("peer connection closed")},ee=he=>{x.current&&(d(""),M(!1),m.current&&(m.current.srcObject=he.streams[0]))},ue=()=>{x.current&&fetch(new URL(l.url+"/whep")+window.location.search,{method:"OPTIONS"}).then(he=>{if(!x.current)return;f.current||(f.current=new RTCPeerConnection({iceServers:O(he.headers.get("Link"))}));const ge="sendrecv";f.current.addTransceiver("video",{direction:ge}),f.current.addTransceiver("audio",{direction:ge}),f.current.onicecandidate=be=>le(be),f.current.oniceconnectionstatechange=()=>oe(),f.current.ontrack=be=>ee(be),te()}).catch(he=>{Y(he.toString())})},fe=()=>{x.current&&(ue(),M(!0))},ye=(he,ge)=>(he=he||"",["1","yes","true"].includes(he.toLowerCase())?!0:["0","no","false"].includes(he.toLowerCase())?!1:ge),we=()=>{const he=new URLSearchParams(window.location.search);m.current&&(m.current.controls=ye(he.get("controls"),!1),m.current.muted=ye(he.get("muted"),!0),m.current.autoplay=ye(he.get("autoplay"),!0),m.current.playsInline=ye(he.get("playsinline"),!0))},Ne=()=>{Promise.all([["pcma/8000/2"],["multiopus/48000/6","channel_mapping=0,4,1,2,3,5;num_streams=4;coupled_streams=2"],["L16/48000/2"]].map(he=>B(he[0],he[1]).then(ge=>ge?he[0]:!1))).then(he=>he.filter(ge=>ge!==!1)).then(he=>{g.current=he,fe()})},Ie=d1(()=>{v.current&&(D(v.current),v.current=""),T(),_.current=[],we(),Ne()},[T,D,l.url]),Pe=d1(()=>{x.current=!1,v.current&&(D(v.current),v.current=""),T(),m.current&&m.current.srcObject&&(m.current.srcObject.getTracks().forEach(ge=>ge.stop()),m.current.srcObject=null),M(!1),d(""),_.current=[]},[T,D]);return o2(()=>()=>{x.current=!1,w.current!==null&&(window.clearTimeout(w.current),w.current=null),Pe()},[Pe]),o2(()=>{x.current=e,e?Ie():Pe()},[Pe,Ie,e]),o2(()=>{M(a??!1)},[a]),ne("div",{className:se("cam-box","relative","flex","items-center","justify-center","bg-black/40",t),style:{width:l.width,height:l.height},children:[h("video",{ref:m,className:se("video","w-full","h-full")}),C&&!u&&h(b6,{className:"absolute inset-0 z-2 h-full justify-center",type:"icon",icon:h(Ui,{className:"text-white",size:"3rem"}),message:i}),!!u&&!n&&h(b6,{className:"absolute inset-0 z-1 h-full justify-center",type:"icon",icon:h(b7,{className:"text-fg-subtlest size-5"}),message:u})]})};Jse.displayName="WebRTCVideo";var Uc={},a2,lx;function ele(){return lx||(lx=1,a2=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then}),a2}var i2={},_s={},cx;function sc(){if(cx)return _s;cx=1;let t;const e=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];return _s.getSymbolSize=function(r){if(!r)throw new Error('"version" cannot be null or undefined');if(r<1||r>40)throw new Error('"version" should be in range from 1 to 40');return r*4+17},_s.getSymbolTotalCodewords=function(r){return e[r]},_s.getBCHDigit=function(n){let r=0;for(;n!==0;)r++,n>>>=1;return r},_s.setToSJISFunction=function(r){if(typeof r!="function")throw new Error('"toSJISFunc" is not a valid function.');t=r},_s.isKanjiModeEnabled=function(){return typeof t<"u"},_s.toSJIS=function(r){return t(r)},_s}var s2={},ux;function M3(){return ux||(ux=1,(function(t){t.L={bit:1},t.M={bit:0},t.Q={bit:3},t.H={bit:2};function e(n){if(typeof n!="string")throw new Error("Param is not a string");switch(n.toLowerCase()){case"l":case"low":return t.L;case"m":case"medium":return t.M;case"q":case"quartile":return t.Q;case"h":case"high":return t.H;default:throw new Error("Unknown EC Level: "+n)}}t.isValid=function(r){return r&&typeof r.bit<"u"&&r.bit>=0&&r.bit<4},t.from=function(r,o){if(t.isValid(r))return r;try{return e(r)}catch{return o}}})(s2)),s2}var l2,dx;function tle(){if(dx)return l2;dx=1;function t(){this.buffer=[],this.length=0}return t.prototype={get:function(e){const n=Math.floor(e/8);return(this.buffer[n]>>>7-e%8&1)===1},put:function(e,n){for(let r=0;r<n;r++)this.putBit((e>>>n-r-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(e){const n=Math.floor(this.length/8);this.buffer.length<=n&&this.buffer.push(0),e&&(this.buffer[n]|=128>>>this.length%8),this.length++}},l2=t,l2}var c2,fx;function nle(){if(fx)return c2;fx=1;function t(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}return t.prototype.set=function(e,n,r,o){const a=e*this.size+n;this.data[a]=r,o&&(this.reservedBit[a]=!0)},t.prototype.get=function(e,n){return this.data[e*this.size+n]},t.prototype.xor=function(e,n,r){this.data[e*this.size+n]^=r},t.prototype.isReserved=function(e,n){return this.reservedBit[e*this.size+n]},c2=t,c2}var u2={},px;function rle(){return px||(px=1,(function(t){const e=sc().getSymbolSize;t.getRowColCoords=function(r){if(r===1)return[];const o=Math.floor(r/7)+2,a=e(r),i=a===145?26:Math.ceil((a-13)/(2*o-2))*2,s=[a-7];for(let l=1;l<o-1;l++)s[l]=s[l-1]-i;return s.push(6),s.reverse()},t.getPositions=function(r){const o=[],a=t.getRowColCoords(r),i=a.length;for(let s=0;s<i;s++)for(let l=0;l<i;l++)s===0&&l===0||s===0&&l===i-1||s===i-1&&l===0||o.push([a[s],a[l]]);return o}})(u2)),u2}var d2={},hx;function ole(){if(hx)return d2;hx=1;const t=sc().getSymbolSize,e=7;return d2.getPositions=function(r){const o=t(r);return[[0,0],[o-e,0],[0,o-e]]},d2}var f2={},mx;function ale(){return mx||(mx=1,(function(t){t.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const e={N1:3,N2:3,N3:40,N4:10};t.isValid=function(o){return o!=null&&o!==""&&!isNaN(o)&&o>=0&&o<=7},t.from=function(o){return t.isValid(o)?parseInt(o,10):void 0},t.getPenaltyN1=function(o){const a=o.size;let i=0,s=0,l=0,u=null,d=null;for(let f=0;f<a;f++){s=l=0,u=d=null;for(let m=0;m<a;m++){let v=o.get(f,m);v===u?s++:(s>=5&&(i+=e.N1+(s-5)),u=v,s=1),v=o.get(m,f),v===d?l++:(l>=5&&(i+=e.N1+(l-5)),d=v,l=1)}s>=5&&(i+=e.N1+(s-5)),l>=5&&(i+=e.N1+(l-5))}return i},t.getPenaltyN2=function(o){const a=o.size;let i=0;for(let s=0;s<a-1;s++)for(let l=0;l<a-1;l++){const u=o.get(s,l)+o.get(s,l+1)+o.get(s+1,l)+o.get(s+1,l+1);(u===4||u===0)&&i++}return i*e.N2},t.getPenaltyN3=function(o){const a=o.size;let i=0,s=0,l=0;for(let u=0;u<a;u++){s=l=0;for(let d=0;d<a;d++)s=s<<1&2047|o.get(u,d),d>=10&&(s===1488||s===93)&&i++,l=l<<1&2047|o.get(d,u),d>=10&&(l===1488||l===93)&&i++}return i*e.N3},t.getPenaltyN4=function(o){let a=0;const i=o.data.length;for(let l=0;l<i;l++)a+=o.data[l];return Math.abs(Math.ceil(a*100/i/5)-10)*e.N4};function n(r,o,a){switch(r){case t.Patterns.PATTERN000:return(o+a)%2===0;case t.Patterns.PATTERN001:return o%2===0;case t.Patterns.PATTERN010:return a%3===0;case t.Patterns.PATTERN011:return(o+a)%3===0;case t.Patterns.PATTERN100:return(Math.floor(o/2)+Math.floor(a/3))%2===0;case t.Patterns.PATTERN101:return o*a%2+o*a%3===0;case t.Patterns.PATTERN110:return(o*a%2+o*a%3)%2===0;case t.Patterns.PATTERN111:return(o*a%3+(o+a)%2)%2===0;default:throw new Error("bad maskPattern:"+r)}}t.applyMask=function(o,a){const i=a.size;for(let s=0;s<i;s++)for(let l=0;l<i;l++)a.isReserved(l,s)||a.xor(l,s,n(o,l,s))},t.getBestMask=function(o,a){const i=Object.keys(t.Patterns).length;let s=0,l=1/0;for(let u=0;u<i;u++){a(u),t.applyMask(u,o);const d=t.getPenaltyN1(o)+t.getPenaltyN2(o)+t.getPenaltyN3(o)+t.getPenaltyN4(o);t.applyMask(u,o),d<l&&(l=d,s=u)}return s}})(f2)),f2}var f1={},gx;function mk(){if(gx)return f1;gx=1;const t=M3(),e=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],n=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];return f1.getBlocksCount=function(o,a){switch(a){case t.L:return e[(o-1)*4+0];case t.M:return e[(o-1)*4+1];case t.Q:return e[(o-1)*4+2];case t.H:return e[(o-1)*4+3];default:return}},f1.getTotalCodewordsCount=function(o,a){switch(a){case t.L:return n[(o-1)*4+0];case t.M:return n[(o-1)*4+1];case t.Q:return n[(o-1)*4+2];case t.H:return n[(o-1)*4+3];default:return}},f1}var p2={},Sd={},vx;function ile(){if(vx)return Sd;vx=1;const t=new Uint8Array(512),e=new Uint8Array(256);return(function(){let r=1;for(let o=0;o<255;o++)t[o]=r,e[r]=o,r<<=1,r&256&&(r^=285);for(let o=255;o<512;o++)t[o]=t[o-255]})(),Sd.log=function(r){if(r<1)throw new Error("log("+r+")");return e[r]},Sd.exp=function(r){return t[r]},Sd.mul=function(r,o){return r===0||o===0?0:t[e[r]+e[o]]},Sd}var wx;function sle(){return wx||(wx=1,(function(t){const e=ile();t.mul=function(r,o){const a=new Uint8Array(r.length+o.length-1);for(let i=0;i<r.length;i++)for(let s=0;s<o.length;s++)a[i+s]^=e.mul(r[i],o[s]);return a},t.mod=function(r,o){let a=new Uint8Array(r);for(;a.length-o.length>=0;){const i=a[0];for(let l=0;l<o.length;l++)a[l]^=e.mul(o[l],i);let s=0;for(;s<a.length&&a[s]===0;)s++;a=a.slice(s)}return a},t.generateECPolynomial=function(r){let o=new Uint8Array([1]);for(let a=0;a<r;a++)o=t.mul(o,new Uint8Array([1,e.exp(a)]));return o}})(p2)),p2}var h2,bx;function lle(){if(bx)return h2;bx=1;const t=sle();function e(n){this.genPoly=void 0,this.degree=n,this.degree&&this.initialize(this.degree)}return e.prototype.initialize=function(r){this.degree=r,this.genPoly=t.generateECPolynomial(this.degree)},e.prototype.encode=function(r){if(!this.genPoly)throw new Error("Encoder not initialized");const o=new Uint8Array(r.length+this.degree);o.set(r);const a=t.mod(o,this.genPoly),i=this.degree-a.length;if(i>0){const s=new Uint8Array(this.degree);return s.set(a,i),s}return a},h2=e,h2}var m2={},g2={},v2={},yx;function gk(){return yx||(yx=1,v2.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40}),v2}var Ua={},_x;function vk(){if(_x)return Ua;_x=1;const t="[0-9]+",e="[A-Z $%*+\\-./:]+";let n="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";n=n.replace(/u/g,"\\u");const r="(?:(?![A-Z0-9 $%*+\\-./:]|"+n+`)(?:.|[\r
|
|
255
|
-
]))+`;Ua.KANJI=new RegExp(n,"g"),Ua.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),Ua.BYTE=new RegExp(r,"g"),Ua.NUMERIC=new RegExp(t,"g"),Ua.ALPHANUMERIC=new RegExp(e,"g");const o=new RegExp("^"+n+"$"),a=new RegExp("^"+t+"$"),i=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");return Ua.testKanji=function(l){return o.test(l)},Ua.testNumeric=function(l){return a.test(l)},Ua.testAlphanumeric=function(l){return i.test(l)},Ua}var xx;function lc(){return xx||(xx=1,(function(t){const e=gk(),n=vk();t.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},t.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},t.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},t.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},t.MIXED={bit:-1},t.getCharCountIndicator=function(a,i){if(!a.ccBits)throw new Error("Invalid mode: "+a);if(!e.isValid(i))throw new Error("Invalid version: "+i);return i>=1&&i<10?a.ccBits[0]:i<27?a.ccBits[1]:a.ccBits[2]},t.getBestModeForData=function(a){return n.testNumeric(a)?t.NUMERIC:n.testAlphanumeric(a)?t.ALPHANUMERIC:n.testKanji(a)?t.KANJI:t.BYTE},t.toString=function(a){if(a&&a.id)return a.id;throw new Error("Invalid mode")},t.isValid=function(a){return a&&a.bit&&a.ccBits};function r(o){if(typeof o!="string")throw new Error("Param is not a string");switch(o.toLowerCase()){case"numeric":return t.NUMERIC;case"alphanumeric":return t.ALPHANUMERIC;case"kanji":return t.KANJI;case"byte":return t.BYTE;default:throw new Error("Unknown mode: "+o)}}t.from=function(a,i){if(t.isValid(a))return a;try{return r(a)}catch{return i}}})(g2)),g2}var Sx;function cle(){return Sx||(Sx=1,(function(t){const e=sc(),n=mk(),r=M3(),o=lc(),a=gk(),i=7973,s=e.getBCHDigit(i);function l(m,v,g){for(let w=1;w<=40;w++)if(v<=t.getCapacity(w,g,m))return w}function u(m,v){return o.getCharCountIndicator(m,v)+4}function d(m,v){let g=0;return m.forEach(function(w){const y=u(w.mode,v);g+=y+w.getBitsLength()}),g}function f(m,v){for(let g=1;g<=40;g++)if(d(m,g)<=t.getCapacity(g,v,o.MIXED))return g}t.from=function(v,g){return a.isValid(v)?parseInt(v,10):g},t.getCapacity=function(v,g,w){if(!a.isValid(v))throw new Error("Invalid QR Code version");typeof w>"u"&&(w=o.BYTE);const y=e.getSymbolTotalCodewords(v),_=n.getTotalCodewordsCount(v,g),S=(y-_)*8;if(w===o.MIXED)return S;const x=S-u(w,v);switch(w){case o.NUMERIC:return Math.floor(x/10*3);case o.ALPHANUMERIC:return Math.floor(x/11*2);case o.KANJI:return Math.floor(x/13);case o.BYTE:default:return Math.floor(x/8)}},t.getBestVersionForData=function(v,g){let w;const y=r.from(g,r.M);if(Array.isArray(v)){if(v.length>1)return f(v,y);if(v.length===0)return 1;w=v[0]}else w=v;return l(w.mode,w.getLength(),y)},t.getEncodedBits=function(v){if(!a.isValid(v)||v<7)throw new Error("Invalid QR Code version");let g=v<<12;for(;e.getBCHDigit(g)-s>=0;)g^=i<<e.getBCHDigit(g)-s;return v<<12|g}})(m2)),m2}var w2={},Cx;function ule(){if(Cx)return w2;Cx=1;const t=sc(),e=1335,n=21522,r=t.getBCHDigit(e);return w2.getEncodedBits=function(a,i){const s=a.bit<<3|i;let l=s<<10;for(;t.getBCHDigit(l)-r>=0;)l^=e<<t.getBCHDigit(l)-r;return(s<<10|l)^n},w2}var b2={},y2,Ex;function dle(){if(Ex)return y2;Ex=1;const t=lc();function e(n){this.mode=t.NUMERIC,this.data=n.toString()}return e.getBitsLength=function(r){return 10*Math.floor(r/3)+(r%3?r%3*3+1:0)},e.prototype.getLength=function(){return this.data.length},e.prototype.getBitsLength=function(){return e.getBitsLength(this.data.length)},e.prototype.write=function(r){let o,a,i;for(o=0;o+3<=this.data.length;o+=3)a=this.data.substr(o,3),i=parseInt(a,10),r.put(i,10);const s=this.data.length-o;s>0&&(a=this.data.substr(o),i=parseInt(a,10),r.put(i,s*3+1))},y2=e,y2}var _2,Mx;function fle(){if(Mx)return _2;Mx=1;const t=lc(),e=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function n(r){this.mode=t.ALPHANUMERIC,this.data=r}return n.getBitsLength=function(o){return 11*Math.floor(o/2)+6*(o%2)},n.prototype.getLength=function(){return this.data.length},n.prototype.getBitsLength=function(){return n.getBitsLength(this.data.length)},n.prototype.write=function(o){let a;for(a=0;a+2<=this.data.length;a+=2){let i=e.indexOf(this.data[a])*45;i+=e.indexOf(this.data[a+1]),o.put(i,11)}this.data.length%2&&o.put(e.indexOf(this.data[a]),6)},_2=n,_2}var x2,kx;function ple(){if(kx)return x2;kx=1;const t=lc();function e(n){this.mode=t.BYTE,typeof n=="string"?this.data=new TextEncoder().encode(n):this.data=new Uint8Array(n)}return e.getBitsLength=function(r){return r*8},e.prototype.getLength=function(){return this.data.length},e.prototype.getBitsLength=function(){return e.getBitsLength(this.data.length)},e.prototype.write=function(n){for(let r=0,o=this.data.length;r<o;r++)n.put(this.data[r],8)},x2=e,x2}var S2,Rx;function hle(){if(Rx)return S2;Rx=1;const t=lc(),e=sc();function n(r){this.mode=t.KANJI,this.data=r}return n.getBitsLength=function(o){return o*13},n.prototype.getLength=function(){return this.data.length},n.prototype.getBitsLength=function(){return n.getBitsLength(this.data.length)},n.prototype.write=function(r){let o;for(o=0;o<this.data.length;o++){let a=e.toSJIS(this.data[o]);if(a>=33088&&a<=40956)a-=33088;else if(a>=57408&&a<=60351)a-=49472;else throw new Error("Invalid SJIS character: "+this.data[o]+`
|
|
256
|
-
Make sure your charset is UTF-8`);a=(a>>>8&255)*192+(a&255),r.put(a,13)}},S2=n,S2}var C2={exports:{}},Tx;function mle(){return Tx||(Tx=1,(function(t){var e={single_source_shortest_paths:function(n,r,o){var a={},i={};i[r]=0;var s=e.PriorityQueue.make();s.push(r,0);for(var l,u,d,f,m,v,g,w,y;!s.empty();){l=s.pop(),u=l.value,f=l.cost,m=n[u]||{};for(d in m)m.hasOwnProperty(d)&&(v=m[d],g=f+v,w=i[d],y=typeof i[d]>"u",(y||w>g)&&(i[d]=g,s.push(d,g),a[d]=u))}if(typeof o<"u"&&typeof i[o]>"u"){var _=["Could not find a path from ",r," to ",o,"."].join("");throw new Error(_)}return a},extract_shortest_path_from_predecessor_list:function(n,r){for(var o=[],a=r;a;)o.push(a),n[a],a=n[a];return o.reverse(),o},find_path:function(n,r,o){var a=e.single_source_shortest_paths(n,r,o);return e.extract_shortest_path_from_predecessor_list(a,o)},PriorityQueue:{make:function(n){var r=e.PriorityQueue,o={},a;n=n||{};for(a in r)r.hasOwnProperty(a)&&(o[a]=r[a]);return o.queue=[],o.sorter=n.sorter||r.default_sorter,o},default_sorter:function(n,r){return n.cost-r.cost},push:function(n,r){var o={value:n,cost:r};this.queue.push(o),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};t.exports=e})(C2)),C2.exports}var Nx;function gle(){return Nx||(Nx=1,(function(t){const e=lc(),n=dle(),r=fle(),o=ple(),a=hle(),i=vk(),s=sc(),l=mle();function u(_){return unescape(encodeURIComponent(_)).length}function d(_,S,x){const C=[];let M;for(;(M=_.exec(x))!==null;)C.push({data:M[0],index:M.index,mode:S,length:M[0].length});return C}function f(_){const S=d(i.NUMERIC,e.NUMERIC,_),x=d(i.ALPHANUMERIC,e.ALPHANUMERIC,_);let C,M;return s.isKanjiModeEnabled()?(C=d(i.BYTE,e.BYTE,_),M=d(i.KANJI,e.KANJI,_)):(C=d(i.BYTE_KANJI,e.BYTE,_),M=[]),S.concat(x,C,M).sort(function(O,D){return O.index-D.index}).map(function(O){return{data:O.data,mode:O.mode,length:O.length}})}function m(_,S){switch(S){case e.NUMERIC:return n.getBitsLength(_);case e.ALPHANUMERIC:return r.getBitsLength(_);case e.KANJI:return a.getBitsLength(_);case e.BYTE:return o.getBitsLength(_)}}function v(_){return _.reduce(function(S,x){const C=S.length-1>=0?S[S.length-1]:null;return C&&C.mode===x.mode?(S[S.length-1].data+=x.data,S):(S.push(x),S)},[])}function g(_){const S=[];for(let x=0;x<_.length;x++){const C=_[x];switch(C.mode){case e.NUMERIC:S.push([C,{data:C.data,mode:e.ALPHANUMERIC,length:C.length},{data:C.data,mode:e.BYTE,length:C.length}]);break;case e.ALPHANUMERIC:S.push([C,{data:C.data,mode:e.BYTE,length:C.length}]);break;case e.KANJI:S.push([C,{data:C.data,mode:e.BYTE,length:u(C.data)}]);break;case e.BYTE:S.push([{data:C.data,mode:e.BYTE,length:u(C.data)}])}}return S}function w(_,S){const x={},C={start:{}};let M=["start"];for(let A=0;A<_.length;A++){const O=_[A],D=[];for(let T=0;T<O.length;T++){const R=O[T],$=""+A+T;D.push($),x[$]={node:R,lastCount:0},C[$]={};for(let P=0;P<M.length;P++){const I=M[P];x[I]&&x[I].node.mode===R.mode?(C[I][$]=m(x[I].lastCount+R.length,R.mode)-m(x[I].lastCount,R.mode),x[I].lastCount+=R.length):(x[I]&&(x[I].lastCount=R.length),C[I][$]=m(R.length,R.mode)+4+e.getCharCountIndicator(R.mode,S))}}M=D}for(let A=0;A<M.length;A++)C[M[A]].end=0;return{map:C,table:x}}function y(_,S){let x;const C=e.getBestModeForData(_);if(x=e.from(S,C),x!==e.BYTE&&x.bit<C.bit)throw new Error('"'+_+'" cannot be encoded with mode '+e.toString(x)+`.
|
|
257
|
-
Suggested mode is: `+e.toString(C));switch(x===e.KANJI&&!s.isKanjiModeEnabled()&&(x=e.BYTE),x){case e.NUMERIC:return new n(_);case e.ALPHANUMERIC:return new r(_);case e.KANJI:return new a(_);case e.BYTE:return new o(_)}}t.fromArray=function(S){return S.reduce(function(x,C){return typeof C=="string"?x.push(y(C,null)):C.data&&x.push(y(C.data,C.mode)),x},[])},t.fromString=function(S,x){const C=f(S,s.isKanjiModeEnabled()),M=g(C),A=w(M,x),O=l.find_path(A.map,"start","end"),D=[];for(let T=1;T<O.length-1;T++)D.push(A.table[O[T]].node);return t.fromArray(v(D))},t.rawSplit=function(S){return t.fromArray(f(S,s.isKanjiModeEnabled()))}})(b2)),b2}var Px;function vle(){if(Px)return i2;Px=1;const t=sc(),e=M3(),n=tle(),r=nle(),o=rle(),a=ole(),i=ale(),s=mk(),l=lle(),u=cle(),d=ule(),f=lc(),m=gle();function v(A,O){const D=A.size,T=a.getPositions(O);for(let R=0;R<T.length;R++){const $=T[R][0],P=T[R][1];for(let I=-1;I<=7;I++)if(!($+I<=-1||D<=$+I))for(let L=-1;L<=7;L++)P+L<=-1||D<=P+L||(I>=0&&I<=6&&(L===0||L===6)||L>=0&&L<=6&&(I===0||I===6)||I>=2&&I<=4&&L>=2&&L<=4?A.set($+I,P+L,!0,!0):A.set($+I,P+L,!1,!0))}}function g(A){const O=A.size;for(let D=8;D<O-8;D++){const T=D%2===0;A.set(D,6,T,!0),A.set(6,D,T,!0)}}function w(A,O){const D=o.getPositions(O);for(let T=0;T<D.length;T++){const R=D[T][0],$=D[T][1];for(let P=-2;P<=2;P++)for(let I=-2;I<=2;I++)P===-2||P===2||I===-2||I===2||P===0&&I===0?A.set(R+P,$+I,!0,!0):A.set(R+P,$+I,!1,!0)}}function y(A,O){const D=A.size,T=u.getEncodedBits(O);let R,$,P;for(let I=0;I<18;I++)R=Math.floor(I/3),$=I%3+D-8-3,P=(T>>I&1)===1,A.set(R,$,P,!0),A.set($,R,P,!0)}function _(A,O,D){const T=A.size,R=d.getEncodedBits(O,D);let $,P;for($=0;$<15;$++)P=(R>>$&1)===1,$<6?A.set($,8,P,!0):$<8?A.set($+1,8,P,!0):A.set(T-15+$,8,P,!0),$<8?A.set(8,T-$-1,P,!0):$<9?A.set(8,15-$-1+1,P,!0):A.set(8,15-$-1,P,!0);A.set(T-8,8,1,!0)}function S(A,O){const D=A.size;let T=-1,R=D-1,$=7,P=0;for(let I=D-1;I>0;I-=2)for(I===6&&I--;;){for(let L=0;L<2;L++)if(!A.isReserved(R,I-L)){let V=!1;P<O.length&&(V=(O[P]>>>$&1)===1),A.set(R,I-L,V),$--,$===-1&&(P++,$=7)}if(R+=T,R<0||D<=R){R-=T,T=-T;break}}}function x(A,O,D){const T=new n;D.forEach(function(L){T.put(L.mode.bit,4),T.put(L.getLength(),f.getCharCountIndicator(L.mode,A)),L.write(T)});const R=t.getSymbolTotalCodewords(A),$=s.getTotalCodewordsCount(A,O),P=(R-$)*8;for(T.getLengthInBits()+4<=P&&T.put(0,4);T.getLengthInBits()%8!==0;)T.putBit(0);const I=(P-T.getLengthInBits())/8;for(let L=0;L<I;L++)T.put(L%2?17:236,8);return C(T,A,O)}function C(A,O,D){const T=t.getSymbolTotalCodewords(O),R=s.getTotalCodewordsCount(O,D),$=T-R,P=s.getBlocksCount(O,D),I=T%P,L=P-I,V=Math.floor(T/P),F=Math.floor($/P),z=F+1,B=V-F,Y=new l(B);let U=0;const le=new Array(P),J=new Array(P);let re=0;const te=new Uint8Array(A.buffer);for(let ye=0;ye<P;ye++){const we=ye<L?F:z;le[ye]=te.slice(U,U+we),J[ye]=Y.encode(le[ye]),U+=we,re=Math.max(re,we)}const oe=new Uint8Array(T);let ee=0,ue,fe;for(ue=0;ue<re;ue++)for(fe=0;fe<P;fe++)ue<le[fe].length&&(oe[ee++]=le[fe][ue]);for(ue=0;ue<B;ue++)for(fe=0;fe<P;fe++)oe[ee++]=J[fe][ue];return oe}function M(A,O,D,T){let R;if(Array.isArray(A))R=m.fromArray(A);else if(typeof A=="string"){let V=O;if(!V){const F=m.rawSplit(A);V=u.getBestVersionForData(F,D)}R=m.fromString(A,V||40)}else throw new Error("Invalid data");const $=u.getBestVersionForData(R,D);if(!$)throw new Error("The amount of data is too big to be stored in a QR Code");if(!O)O=$;else if(O<$)throw new Error(`
|
|
258
|
-
The chosen QR Code version cannot contain this amount of data.
|
|
259
|
-
Minimum version required to store current data is: `+$+`.
|
|
260
|
-
`);const P=x(O,D,R),I=t.getSymbolSize(O),L=new r(I);return v(L,O),g(L),w(L,O),_(L,D,0),O>=7&&y(L,O),S(L,P),isNaN(T)&&(T=i.getBestMask(L,_.bind(null,L,D))),i.applyMask(T,L),_(L,D,T),{modules:L,version:O,errorCorrectionLevel:D,maskPattern:T,segments:R}}return i2.create=function(O,D){if(typeof O>"u"||O==="")throw new Error("No input text");let T=e.M,R,$;return typeof D<"u"&&(T=e.from(D.errorCorrectionLevel,e.M),R=u.from(D.version),$=i.from(D.maskPattern),D.toSJISFunc&&t.setToSJISFunction(D.toSJISFunc)),M(O,R,T,$)},i2}var E2={},M2={},Ax;function wk(){return Ax||(Ax=1,(function(t){function e(n){if(typeof n=="number"&&(n=n.toString()),typeof n!="string")throw new Error("Color should be defined as hex string");let r=n.slice().replace("#","").split("");if(r.length<3||r.length===5||r.length>8)throw new Error("Invalid hex color: "+n);(r.length===3||r.length===4)&&(r=Array.prototype.concat.apply([],r.map(function(a){return[a,a]}))),r.length===6&&r.push("F","F");const o=parseInt(r.join(""),16);return{r:o>>24&255,g:o>>16&255,b:o>>8&255,a:o&255,hex:"#"+r.slice(0,6).join("")}}t.getOptions=function(r){r||(r={}),r.color||(r.color={});const o=typeof r.margin>"u"||r.margin===null||r.margin<0?4:r.margin,a=r.width&&r.width>=21?r.width:void 0,i=r.scale||4;return{width:a,scale:a?4:i,margin:o,color:{dark:e(r.color.dark||"#000000ff"),light:e(r.color.light||"#ffffffff")},type:r.type,rendererOpts:r.rendererOpts||{}}},t.getScale=function(r,o){return o.width&&o.width>=r+o.margin*2?o.width/(r+o.margin*2):o.scale},t.getImageWidth=function(r,o){const a=t.getScale(r,o);return Math.floor((r+o.margin*2)*a)},t.qrToImageData=function(r,o,a){const i=o.modules.size,s=o.modules.data,l=t.getScale(i,a),u=Math.floor((i+a.margin*2)*l),d=a.margin*l,f=[a.color.light,a.color.dark];for(let m=0;m<u;m++)for(let v=0;v<u;v++){let g=(m*u+v)*4,w=a.color.light;if(m>=d&&v>=d&&m<u-d&&v<u-d){const y=Math.floor((m-d)/l),_=Math.floor((v-d)/l);w=f[s[y*i+_]?1:0]}r[g++]=w.r,r[g++]=w.g,r[g++]=w.b,r[g]=w.a}}})(M2)),M2}var Ix;function wle(){return Ix||(Ix=1,(function(t){const e=wk();function n(o,a,i){o.clearRect(0,0,a.width,a.height),a.style||(a.style={}),a.height=i,a.width=i,a.style.height=i+"px",a.style.width=i+"px"}function r(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}t.render=function(a,i,s){let l=s,u=i;typeof l>"u"&&(!i||!i.getContext)&&(l=i,i=void 0),i||(u=r()),l=e.getOptions(l);const d=e.getImageWidth(a.modules.size,l),f=u.getContext("2d"),m=f.createImageData(d,d);return e.qrToImageData(m.data,a,l),n(f,u,d),f.putImageData(m,0,0),u},t.renderToDataURL=function(a,i,s){let l=s;typeof l>"u"&&(!i||!i.getContext)&&(l=i,i=void 0),l||(l={});const u=t.render(a,i,l),d=l.type||"image/png",f=l.rendererOpts||{};return u.toDataURL(d,f.quality)}})(E2)),E2}var k2={},Ox;function ble(){if(Ox)return k2;Ox=1;const t=wk();function e(o,a){const i=o.a/255,s=a+'="'+o.hex+'"';return i<1?s+" "+a+'-opacity="'+i.toFixed(2).slice(1)+'"':s}function n(o,a,i){let s=o+a;return typeof i<"u"&&(s+=" "+i),s}function r(o,a,i){let s="",l=0,u=!1,d=0;for(let f=0;f<o.length;f++){const m=Math.floor(f%a),v=Math.floor(f/a);!m&&!u&&(u=!0),o[f]?(d++,f>0&&m>0&&o[f-1]||(s+=u?n("M",m+i,.5+v+i):n("m",l,0),l=0,u=!1),m+1<a&&o[f+1]||(s+=n("h",d),d=0)):l++}return s}return k2.render=function(a,i,s){const l=t.getOptions(i),u=a.modules.size,d=a.modules.data,f=u+l.margin*2,m=l.color.light.a?"<path "+e(l.color.light,"fill")+' d="M0 0h'+f+"v"+f+'H0z"/>':"",v="<path "+e(l.color.dark,"stroke")+' d="'+r(d,u,l.margin)+'"/>',g='viewBox="0 0 '+f+" "+f+'"',y='<svg xmlns="http://www.w3.org/2000/svg" '+(l.width?'width="'+l.width+'" height="'+l.width+'" ':"")+g+' shape-rendering="crispEdges">'+m+v+`</svg>
|
|
261
|
-
`;return typeof s=="function"&&s(null,y),y},k2}var Lx;function yle(){if(Lx)return Uc;Lx=1;const t=ele(),e=vle(),n=wle(),r=ble();function o(a,i,s,l,u){const d=[].slice.call(arguments,1),f=d.length,m=typeof d[f-1]=="function";if(!m&&!t())throw new Error("Callback required as last argument");if(m){if(f<2)throw new Error("Too few arguments provided");f===2?(u=s,s=i,i=l=void 0):f===3&&(i.getContext&&typeof u>"u"?(u=l,l=void 0):(u=l,l=s,s=i,i=void 0))}else{if(f<1)throw new Error("Too few arguments provided");return f===1?(s=i,i=l=void 0):f===2&&!i.getContext&&(l=s,s=i,i=void 0),new Promise(function(v,g){try{const w=e.create(s,l);v(a(w,i,l))}catch(w){g(w)}})}try{const v=e.create(s,l);u(null,a(v,i,l))}catch(v){u(v)}}return Uc.create=e.create,Uc.toCanvas=o.bind(null,n.render),Uc.toDataURL=o.bind(null,n.renderToDataURL),Uc.toString=o.bind(null,function(a,i,s){return r.render(a,s)}),Uc}yle();const{useCallback:W2e,useEffect:q2e,useState:U2e}=await q("react"),{useCallback:Y2e,useEffect:G2e,useId:K2e,useRef:X2e,useState:Z2e}=await q("react"),{useCallback:Q2e,useEffect:J2e,useId:eve,useRef:tve,useState:nve}=await q("react"),_le="_selected_621ky_62",xle={"inbox-pagination":"_inbox-pagination_621ky_41","pagination-page":"_pagination-page_621ky_54",selected:_le,"pagination-next":"_pagination-next_621ky_65","pagination-prev":"_pagination-prev_621ky_65","pagination-next-double":"_pagination-next-double_621ky_65","pagination-prev-double":"_pagination-prev-double_621ky_65"},{useMemo:Cd}=await q("react"),Yc=rn(xle),rve=({className:t,currPage:e=1,listSize:n=20,pageSize:r=5,totalCount:o=0,handlePageChange:a})=>{const i=Cd(()=>{const f=o/n;return f%1===0?f:Math.floor(f)+1},[n,o]),s=Cd(()=>Array.from({length:o},(f,m)=>Array.from({length:r},(v,g)=>m*r+g+1)),[r,o]),l=Cd(()=>(s.find(f=>f.includes(e))??[]).filter(f=>f<=i),[e,s,i]),u=Cd(()=>{const f=l[0]??1;return Math.max(1,f-1)},[l]),d=Cd(()=>{const f=l[l.length-1]??i;return Math.min(i,f+1)},[l,i]);return ne("ul",{className:Yc(t,"inbox-pagination"),children:[h("li",{children:h("button",{className:Yc("pagination-prev-double"),type:"button",disabled:e===1,onClick:()=>a(u),children:h(f$,{})})}),h("li",{children:h("button",{className:Yc("pagination-prev"),type:"button",disabled:e===1,onClick:()=>a(e-1),children:h(h$,{})})}),l.map(f=>h("li",{children:h("button",{className:Yc("pagination-page",e===f&&"selected"),type:"button",onClick:()=>a(f),children:f})},f)),h("li",{children:h("button",{className:Yc("pagination-next"),type:"button",disabled:!(e<i),onClick:()=>a(e+1),children:h(m$,{})})}),h("li",{children:h("button",{className:Yc("pagination-next-double"),type:"button",disabled:e===i,onClick:()=>a(d),children:h(p$,{})})})]})},{useEffect:ove,useRef:ave,useState:ive}=await q("react"),Sle="_inner_16agd_43",Cle="_left_16agd_50",Ele="_right_16agd_53",Mle="_disabled_16agd_87",kle={"joystick-with-buttons":"_joystick-with-buttons_16agd_40",inner:Sle,left:Cle,right:Ele,"btn-group":"_btn-group_16agd_61","btn-group-item":"_btn-group-item_16agd_69",disabled:Mle,"joy-stick-container":"_joy-stick-container_16agd_95","joy-stick":"_joy-stick_16agd_95","hide-joystick":"_hide-joystick_16agd_110","transition-disabled":"_transition-disabled_16agd_115"},{useCallback:Rle,useEffect:$x,useMemo:Dx,useRef:R2,useState:Bx}=await q("react"),Gc=rn(kle),sve=({className:t,joystickType:e,disableDiagonal:n,xOnly:r,yOnly:o,buttonsDirection:a,buttons:i,hideJoystick:s,onJoystickMove:l})=>{const u=R2(null),d=R2([]),f=R2({timeoutId:[],animationFrameId:[]}),{isMobile:m,isSmallTablet:v}=u3(),[g,w]=Bx(!s),[y,_]=Bx(!1),S=Dx(()=>{const D=i?.length??0;return D>=4?{oneObjectDeg:35,initDeg:a==="left"?-5:5}:D===3?{oneObjectDeg:40,initDeg:a==="left"?15:-15}:{oneObjectDeg:45,initDeg:a==="left"?25:-25}},[i?.length,a]),x=Dx(()=>m?80:v?100:110,[m,v]),C=D=>{_(!0),l?.({isMoving:!0,type:e,data:D})},M=D=>{l?.({isMoving:!0,type:e,data:D})},A=D=>{_(!1),l?.({isMoving:!1,type:e,data:D})},O=Rle(({oneObjectDeg:D,initDeg:T})=>{if(!u.current)return;const R=u.current.getBoundingClientRect(),$=R.width/2,P=R.height/2,I=R.width/2;s?(f.current.animationFrameId.forEach(L=>{cancelAnimationFrame(L)}),f.current.timeoutId.forEach(L=>{clearTimeout(L)}),d.current?.forEach((L,V)=>{if(!L)return;const F=L,z=F.offsetWidth,B=20;F&&(a==="left"?(F.style.left=`${z*V+B*(V+1)}px`,F.style.transform="translateY(-100%)"):(F.style.left=`calc(100% - ${z*V+B*(V+1)}px)`,F.style.transform="translateX(-100%) translateY(-100%)"),F.style.top=`calc(100% - ${B}px)`,F.style.transition="",F.style.opacity="1")})):d.current?.forEach((L,V)=>{const F=L;if(F){const z=(T-90)*(Math.PI/180),B=a==="left"?(T-90+V*D)*(Math.PI/180):(T-90-V*D)*(Math.PI/180);let Y=z,U=.1,le=.06;const J=.85,re=.02,te=$+Math.cos(z)*I,oe=P+Math.sin(z)*I;F.style.position="absolute",F.style.left=`${te-F.clientWidth/2}px`,F.style.top=`${oe-F.clientHeight/2}px`,F.style.opacity=`${U}`,F.style.transform="scale(0.98)";const ee=()=>{if(s)return;const ue=B-Y;le+=ue*re,le*=J,Y+=le,U+=.03,U=Math.min(U,1);const fe=.98+(1-Math.abs(ue)/Math.PI)*.02,ye=$+Math.cos(Y)*I,we=P+Math.sin(Y)*I;F.style.left=`${ye-F.clientWidth/2}px`,F.style.top=`${we-F.clientHeight/2}px`,F.style.opacity=`${U}`,F.style.transform=`scale(${fe})`,F.style.transition="none",Math.abs(ue)>.002||Math.abs(le)>.002?f.current.animationFrameId[V]=requestAnimationFrame(ee):(F.style.opacity="1",F.style.transform="scale(1)",F.style.transition="")};f.current.timeoutId[V]=window.setTimeout(()=>{f.current.animationFrameId[V]=requestAnimationFrame(ee)},V*60)}})},[s,a]);return $x(()=>{O(S)},[O,S,x]),$x(()=>{setTimeout(()=>{w(!0)},200)},[]),h("div",{className:Gc(t,"joystick-with-buttons",{"hide-joystick":s,"transition-disabled":!g}),children:ne("div",{className:Gc("inner",a),children:[h("div",{ref:u,className:Gc("btn-group"),children:i?.map((D,T)=>h("div",{ref:R=>{d.current[T]=R},className:Gc("btn-group-item",{disabled:y}),onClick:R=>{R.stopPropagation()},children:D.element},T))}),h("div",{className:Gc("joy-stick-container"),style:{width:x,height:x},children:h(Kse,{className:Gc("joy-stick"),type:e,size:x,disableDiagonal:n,xOnly:r,yOnly:o,paddingSize:30,keepMoveEventInterval:200,onStart:C,onMove:M,onEnd:A})})]})})},Tle=({className:t,containerId:e,open:n,onOpenChange:r,title:o,content:a,buttonText:i="확인",buttonClassName:s,snapshotCnt:l,resolve:u,onConfirm:d})=>{const f=()=>{u(!0),d?.()};return h(ac,{className:se("w-fit","min-w-[25rem]","max-w-[95vw]",t),open:n,onOpenChange:r,type:"dialog",dialogContainer:e?document.getElementById(e):void 0,snapshotCnt:l,hideCloseButton:!0,enableDimClose:!1,header:o?{title:o}:void 0,footer:h(Bh,{className:se("h-[2.5rem] text-[1rem] font-medium",s),onClick:f,children:i}),children:h("div",{className:"whitespace-pre-wrap",children:a})})},Nle=({className:t,open:e,onOpenChange:n,title:r,content:o,buttonText:a={yes:"확인",no:"취소"},buttonClassName:i,buttonWrapperClassName:s,snapshotCnt:l,containerId:u,onConfirm:d,onCancel:f,resolve:m})=>{const v=()=>{d?.(),m(!0)},g=()=>{f?.(),m(!1)};return h(ac,{className:se("w-fit","min-w-[25rem]","max-w-[95vw]",t),open:e,onOpenChange:n,type:"dialog",snapshotCnt:l,dialogContainer:u?document.getElementById(u):void 0,hideCloseButton:!0,enableDimClose:!1,header:r?{title:r}:void 0,footer:ne(Go,{className:se("btn-wrapper",s),alignItems:"center",gap:8,children:[h(hk,{className:se("h-[2.5rem] px-[1rem] text-[1rem] font-medium",i?.no),onClick:g,children:a.no}),h(Bh,{className:se("h-[2.5rem] px-[1rem] text-[1rem] font-medium",i?.yes),autoFocus:!0,onClick:v,children:a.yes})]}),children:h("div",{className:"text-default text-center whitespace-pre-wrap",children:o})})},{cloneElement:Ple,useState:Ale}=await q("react"),Ile=({className:t,open:e,onOpenChange:n,title:r,content:o,placeholder:a,inputType:i="text",inputElement:s,autoFocus:l=!1,value:u,buttonText:d={yes:"확인",no:"취소"},buttonClassName:f,buttonWrapperClassName:m,containerId:v,snapshotCnt:g,resolve:w,close:y})=>{const[_,S]=Ale(u||"");return h(ac,{className:se("w-fit","min-w-[25rem]","max-w-[95vw]",t),open:e,onOpenChange:n,type:"dialog",snapshotCnt:g,dialogContainer:v?document.getElementById(v):void 0,hideCloseButton:!0,enableDimClose:!1,header:r?{title:r}:void 0,footer:ne(Go,{className:se("btn-wrapper",m),alignItems:"center",gap:8,children:[h(hk,{className:se("h-[2.5rem] text-[1rem] font-medium",f?.no),onClick:()=>y(),children:d.no}),h(Bh,{className:se("h-[2.5rem] text-[1rem] font-medium",f?.yes),onClick:()=>w(_),children:d.yes})]}),children:ne(Xl,{gap:16,children:[h("div",{children:o}),s?Ple(s,{value:_,handleChange:S,tabIndex:l?0:-1,placeholder:a,type:i}):h(rk,{className:se("w-full"),type:i,tabIndex:l?0:-1,placeholder:a,value:_,handleChange:S})]})})},{useMemo:lve}=await q("react"),Ole="_spin_tbvd8_59",Lle={"count-down":"_count-down_tbvd8_40","count-down-text":"_count-down-text_tbvd8_45","count-down-refresh-img":"_count-down-refresh-img_tbvd8_49",spin:Ole},{useRef:T2,useCallback:Ed,useEffect:$le,useState:Dle,forwardRef:Ble,useImperativeHandle:zle}=await q("react"),N2=rn(Lle),Fle=Ble(({className:t,remainSeconds:e=10,initialPlay:n,loop:r,refreshIconClassName:o,textClassName:a,onStart:i,onComplete:s},l)=>{const u=T2(null),d=T2(null),f=T2(e),[m,v]=Dle(!1),g=Ed(x=>{x<0||(f.current=x,d.current.textContent=x.toString())},[]),w=Ed(()=>{g(e)},[e,g]),y=Ed(()=>{u.current&&window.clearInterval(u.current)},[]),_=Ed(()=>{u.current&&window.clearInterval(u.current),f.current===e&&i?.(),u.current=window.setInterval(()=>{g(f.current-1),f.current<=0&&(r?(v(!0),setTimeout(()=>{v(!1)},1e3),w()):y(),s?.())},1e3)},[r,e,i,s,w,y,g]),S=Ed(()=>{v(!0),setTimeout(()=>{v(!1)},1e3),w(),_()},[w,_]);return $le(()=>(d.current.textContent=f.current.toString(),n&&_(),()=>{u.current&&window.clearInterval(u.current)}),[]),zle(l,()=>({restart:S,stop:y,start:_,reset:w})),h(Go,{className:N2(t,"count-down"),justifyContent:"center",alignItems:"center",children:ne("button",{onClick:S,children:[h(zq,{className:N2("count-down-refresh-img",o,{spin:m})}),h("span",{ref:d,className:N2("count-down-text",a)})]})})});Fle.displayName="CountDown";const zx=5177,Vle=()=>{if(typeof window>"u")return"";const t=window.__RB_ASSETS_BASE_URL__;if(t)return t;const{protocol:e,hostname:n}=window.location;return e==="file:"||!n?`http://127.0.0.1:${zx}`:`${e}//${n}:${zx}`},k3=t=>{const e=t.startsWith("/")?t:`/${t}`;return`${Vle()}${e}`},Fx=t=>k3(`/imgs${t.startsWith("/")?t:`/${t}`}`),cve=t=>k3(`/models${t}`),uve=t=>k3(`/data/joint${t}`),{useEffect:dve}=await q("react"),jle="_readonly_1w1i8_46",Hle="_input_1w1i8_49",Wle={"side-number-input":"_side-number-input_1w1i8_40",readonly:jle,"number-btn":"_number-btn_1w1i8_46",input:Hle},{forwardRef:qle,useCallback:ha,useEffect:Md,useImperativeHandle:Ule,useMemo:Yle,useRef:Ya,useState:Vx}=await q("react"),p1=rn(Wle,"rb-ui"),Gle=t=>{const e=t?.target?.value;return kn.replace(e,/^0+[\d,]/gm,o=>kn.last(o)).replace(/[^\d.-]/g,"")},Kle=qle(({className:t="",inputClassName:e="",step:n=1,error:r,isDirect:o=!0,increaseStep:a,decreaseStep:i,maxLength:s,increaseElement:l="+",decreaseElement:u="-",detectDobleClick:d,rippleOption:f,notAllowedEmptyValue:m,inputDisabled:v,disableAutoAccel:g,disableLongPress:w,handleChange:y,onButtonPointerDown:_,onButtonPointerUp:S,handleEnter:x,...C},M)=>{const{value:A,readOnly:O,disabled:D,min:T,max:R="9999999999999",digit:$=18,onFocus:P,onBlur:I}=C,L=Ya(null),V=Ya(!1),F=Ya(!1),z=Ya({up:0,down:0}),B=Ya(""),Y=Ya(null),U=Ya(null),le=Ya(0),J=Ya(0),re=Ya(1e3),[te,oe]=Vx(A??""),[ee,ue]=Vx(!1),fe=Yle(()=>D||new Ut(T??0).cmp(new Ut(R))>0,[D,R,T]),ye=ha((Me,at,ut)=>at===0?Me:ut==="up"?new Ut(Me||0).add(new Ut(Y.current?.increase??at??1)).toDP($,Ut.ROUND_DOWN).toString():new Ut(Me||0).sub(new Ut(Y.current?.decrease??at??1)).toDP($,Ut.ROUND_DOWN).toString(),[$]),we=ha(Me=>typeof Me>"u"||!Me||fe?"":Me.endsWith(".")?Me:typeof T<"u"&&new Ut(Number(Me)).lt(new Ut(T))?String(T):typeof R<"u"&&new Ut(Vl(Me||"")).gt(new Ut(R))?String(R):Me,[T,R,fe]),Ne=ha(Me=>fe?"":Me.endsWith(".")?Me:we(Me),[fe,we]),Ie=ha(({type:Me,e:at})=>{if(!L.current||fe)return;const{value:ut,name:mt}=L.current,Ft=Gle({target:{value:ut}}),cn=$?new RegExp(`^-?[0-9]*[.]{0,1}[0-9]{0,${$}}$`,"gm"):/^-?\d{0,18}$/;Ft.match(cn)&&(typeof s<"u"&&(Ft||"").split(".")[0].replace(/[^0-9]/g,"").length>Number(s)||(L.current.value=Vi(Ft??"").join("."),B.current!==Ft&&(y?.(Ft,mt,{type:Me}),at&&C.onChange?.(at),B.current=Ft),oe(Ft)))},[fe,$,s,y,C]),Pe=ha((Me,at)=>{L.current&&(ue(at),at?P?.(Me):(L.current.value=Ne(L.current.value),m&&!Me.target.value&&(L.current.value=C.value),Ie({}),I?.(Me)))},[P,Ne,m,C.value,Ie,I]),he=ha(Me=>{if(fe||O){V.current=!1,window.clearTimeout(le.current);return}B.current=ye(B.current??"0",U.current,Me),B.current=we(B.current??"0"),oe(String(B.current)),y?.(B.current,C.name,{type:Me}),_?.(Me),window.clearTimeout(J.current),J.current=window.setTimeout(()=>{V.current&&(he(Me),re.current>100&&!g&&(re.current-=re.current/5))},re.current)},[_,ye,we,fe,y,C.name,g,O]),ge=ha(Me=>{const{value:at="",name:ut}=Me.target;m&&!at&&(Me.target.value=C.value),x?.(at,ut),Me.target.blur()},[x,C.value,m]),be=ha(Me=>{Me.key==="Enter"&&!Me.nativeEvent.isComposing&&ge(Me),C.onKeyDown?.(Me)},[C,ge]),Ue=ha((Me,at)=>{if(!(Date.now()-z.current[Me]<500&&d)){if(fe||O){V.current=!1,window.clearTimeout(le.current);return}z.current[Me]=Date.now(),he(Me),w||(le.current=window.setTimeout(()=>{V.current=!0,he(Me)},re.current)),F.current=!0}},[d,fe,O,he,w]),Ae=ha((Me,at)=>{if(fe||O||!F.current){V.current=!1,window.clearTimeout(le.current);return}V.current=!1,F.current=!1,window.clearTimeout(le.current),Me&&S?.(Me,at),Me&&Ie({type:Me})},[fe,Ie,O,S]),Ke=ha(()=>{V.current=!1,window.clearTimeout(le.current),window.clearTimeout(J.current)},[]);return Md(()=>{B.current=A??""},[A]),Md(()=>{typeof A<"u"&&oe(A)},[A]),Md(()=>{U.current=n},[n]),Md(()=>{Y.current={increase:a,decrease:i}},[a,i]),Ule(M,()=>L.current),Md(()=>{const Me=at=>{at.type==="contextmenu"&&V.current&&at.preventDefault()};return window.addEventListener("contextmenu",Me),window.addEventListener("pointerup",Me),window.addEventListener("pointercancel",Me),()=>{window.removeEventListener("contextmenu",Me),window.removeEventListener("pointerup",Me),window.removeEventListener("pointercancel",Me)}},[Ke]),ne(Go,{className:p1("side-number-input",{focus:ee,readonly:O,disabled:D,error:r},t),alignItems:"center",justifyContent:"center",children:[h(Rr,{...f,disabled:fe||f?.disabled,children:h("button",{type:"button","data-type":"down",className:p1("number-btn","down"),disabled:fe||R===te,onPointerDown:Me=>{Ue("down",Me)},onPointerUp:Me=>{Ae("down",Me)},onPointerLeave:Me=>{Me.currentTarget.hasPointerCapture?.(Me.pointerId)||Ae(void 0,Me)},onPointerCancel:Me=>{Ae(void 0,Me)},onLostPointerCapture:Me=>{Ae(void 0,Me)},onContextMenu:Me=>{Me.preventDefault()},children:u})}),h("input",{...C,className:p1("input",{focus:ee,readonly:O,disabled:D,error:r},e),ref:L,type:"text",value:Vi(te??"").join(".")??"",readOnly:!o,disabled:D||v,onChange:Me=>Ie({e:Me}),onFocus:Me=>Pe(Me,!0),onBlur:Me=>Pe(Me,!1),onKeyDown:be,onContextMenu:Me=>{Me.preventDefault()}}),h(Rr,{...f,disabled:fe||f?.disabled,children:h("button",{type:"button","data-type":"up",className:p1("number-btn","up"),disabled:fe||T===te,onPointerDown:Me=>{Ue("up",Me)},onPointerUp:Me=>{Ae("up",Me)},onPointerLeave:Me=>{Me.currentTarget.hasPointerCapture?.(Me.pointerId)||Ae(void 0,Me)},onPointerCancel:Me=>{Ae(void 0,Me)},onLostPointerCapture:Me=>{Ae(void 0,Me)},onContextMenu:Me=>{Me.preventDefault()},children:l})})]})});Kle.displayName="SideNumberInput";const{useCallback:h1}=await q("react"),fve=({alertComponent:t,confirmComponent:e,promptComponent:n,options:r}={})=>{const{modal:o,closeModal:a}=DE(),i=h1(async({modalId:d,componentName:f,...m})=>o({component:t??Tle,props:{...m,containerId:r?.containerId},options:{id:d,componentName:f??kn.uniqueId()}}),[o,t,r?.containerId]),s=h1(async({modalId:d,componentName:f,...m})=>o({component:e??Nle,props:{...m,containerId:r?.containerId},options:{id:d,componentName:f??kn.uniqueId()}}),[o,e,r?.containerId]),l=h1(async({modalId:d,componentName:f,...m})=>o({component:n??Ile,props:{...m,containerId:r?.containerId},options:{id:d,componentName:f??kn.uniqueId()}}),[o,n,r?.containerId]),u=h1(d=>{a(d)},[a]);return{alertDialog:i,confirmDialog:s,promptDialog:l,closeDialog:u}},{useCallback:m1}=await q("react"),pve=({alertComponent:t,confirmComponent:e,promptComponent:n}={})=>{const{modal:r,closeModal:o}=DE(),a=m1(async({modalId:u,componentName:d,...f})=>r({component:t??Xde,props:f,options:{id:u,componentName:d??kn.uniqueId()}}),[r,t]),i=m1(async({modalId:u,componentName:d,...f})=>r({component:e??Zde,props:f,options:{id:u,componentName:d??kn.uniqueId()}}),[r,e]),s=m1(async({modalId:u,componentName:d,...f})=>r({component:n??rfe,props:f,options:{id:u,componentName:d??kn.uniqueId()}}),[r,n]),l=m1(u=>{o(u)},[o]);return{alertDialog:a,confirmDialog:i,promptDialog:s,closeDialog:l}},si=Object.create(null);si.open="0";si.close="1";si.ping="2";si.pong="3";si.message="4";si.upgrade="5";si.noop="6";const u0=Object.create(null);Object.keys(si).forEach(t=>{u0[si[t]]=t});const Wv={type:"error",data:"parser error"},bk=typeof Blob=="function"||typeof Blob<"u"&&Object.prototype.toString.call(Blob)==="[object BlobConstructor]",yk=typeof ArrayBuffer=="function",_k=t=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):t&&t.buffer instanceof ArrayBuffer,R3=({type:t,data:e},n,r)=>bk&&e instanceof Blob?n?r(e):jx(e,r):yk&&(e instanceof ArrayBuffer||_k(e))?n?r(e):jx(new Blob([e]),r):r(si[t]+(e||"")),jx=(t,e)=>{const n=new FileReader;return n.onload=function(){const r=n.result.split(",")[1];e("b"+(r||""))},n.readAsDataURL(t)};function Hx(t){return t instanceof Uint8Array?t:t instanceof ArrayBuffer?new Uint8Array(t):new Uint8Array(t.buffer,t.byteOffset,t.byteLength)}let P2;function Xle(t,e){if(bk&&t.data instanceof Blob)return t.data.arrayBuffer().then(Hx).then(e);if(yk&&(t.data instanceof ArrayBuffer||_k(t.data)))return e(Hx(t.data));R3(t,!1,n=>{P2||(P2=new TextEncoder),e(P2.encode(n))})}const Wx="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Xd=typeof Uint8Array>"u"?[]:new Uint8Array(256);for(let t=0;t<Wx.length;t++)Xd[Wx.charCodeAt(t)]=t;const Zle=t=>{let e=t.length*.75,n=t.length,r,o=0,a,i,s,l;t[t.length-1]==="="&&(e--,t[t.length-2]==="="&&e--);const u=new ArrayBuffer(e),d=new Uint8Array(u);for(r=0;r<n;r+=4)a=Xd[t.charCodeAt(r)],i=Xd[t.charCodeAt(r+1)],s=Xd[t.charCodeAt(r+2)],l=Xd[t.charCodeAt(r+3)],d[o++]=a<<2|i>>4,d[o++]=(i&15)<<4|s>>2,d[o++]=(s&3)<<6|l&63;return u},Qle=typeof ArrayBuffer=="function",T3=(t,e)=>{if(typeof t!="string")return{type:"message",data:xk(t,e)};const n=t.charAt(0);return n==="b"?{type:"message",data:Jle(t.substring(1),e)}:u0[n]?t.length>1?{type:u0[n],data:t.substring(1)}:{type:u0[n]}:Wv},Jle=(t,e)=>{if(Qle){const n=Zle(t);return xk(n,e)}else return{base64:!0,data:t}},xk=(t,e)=>{switch(e){case"blob":return t instanceof Blob?t:new Blob([t]);case"arraybuffer":default:return t instanceof ArrayBuffer?t:t.buffer}},Sk="",ece=(t,e)=>{const n=t.length,r=new Array(n);let o=0;t.forEach((a,i)=>{R3(a,!1,s=>{r[i]=s,++o===n&&e(r.join(Sk))})})},tce=(t,e)=>{const n=t.split(Sk),r=[];for(let o=0;o<n.length;o++){const a=T3(n[o],e);if(r.push(a),a.type==="error")break}return r};function nce(){return new TransformStream({transform(t,e){Xle(t,n=>{const r=n.length;let o;if(r<126)o=new Uint8Array(1),new DataView(o.buffer).setUint8(0,r);else if(r<65536){o=new Uint8Array(3);const a=new DataView(o.buffer);a.setUint8(0,126),a.setUint16(1,r)}else{o=new Uint8Array(9);const a=new DataView(o.buffer);a.setUint8(0,127),a.setBigUint64(1,BigInt(r))}t.data&&typeof t.data!="string"&&(o[0]|=128),e.enqueue(o),e.enqueue(n)})}})}let A2;function g1(t){return t.reduce((e,n)=>e+n.length,0)}function v1(t,e){if(t[0].length===e)return t.shift();const n=new Uint8Array(e);let r=0;for(let o=0;o<e;o++)n[o]=t[0][r++],r===t[0].length&&(t.shift(),r=0);return t.length&&r<t[0].length&&(t[0]=t[0].slice(r)),n}function rce(t,e){A2||(A2=new TextDecoder);const n=[];let r=0,o=-1,a=!1;return new TransformStream({transform(i,s){for(n.push(i);;){if(r===0){if(g1(n)<1)break;const l=v1(n,1);a=(l[0]&128)===128,o=l[0]&127,o<126?r=3:o===126?r=1:r=2}else if(r===1){if(g1(n)<2)break;const l=v1(n,2);o=new DataView(l.buffer,l.byteOffset,l.length).getUint16(0),r=3}else if(r===2){if(g1(n)<8)break;const l=v1(n,8),u=new DataView(l.buffer,l.byteOffset,l.length),d=u.getUint32(0);if(d>Math.pow(2,21)-1){s.enqueue(Wv);break}o=d*Math.pow(2,32)+u.getUint32(4),r=3}else{if(g1(n)<o)break;const l=v1(n,o);s.enqueue(T3(a?l:A2.decode(l),e)),r=0}if(o===0||o>t){s.enqueue(Wv);break}}}})}const Ck=4;function Qn(t){if(t)return oce(t)}function oce(t){for(var e in Qn.prototype)t[e]=Qn.prototype[e];return t}Qn.prototype.on=Qn.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks["$"+t]=this._callbacks["$"+t]||[]).push(e),this};Qn.prototype.once=function(t,e){function n(){this.off(t,n),e.apply(this,arguments)}return n.fn=e,this.on(t,n),this};Qn.prototype.off=Qn.prototype.removeListener=Qn.prototype.removeAllListeners=Qn.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},arguments.length==0)return this._callbacks={},this;var n=this._callbacks["$"+t];if(!n)return this;if(arguments.length==1)return delete this._callbacks["$"+t],this;for(var r,o=0;o<n.length;o++)if(r=n[o],r===e||r.fn===e){n.splice(o,1);break}return n.length===0&&delete this._callbacks["$"+t],this};Qn.prototype.emit=function(t){this._callbacks=this._callbacks||{};for(var e=new Array(arguments.length-1),n=this._callbacks["$"+t],r=1;r<arguments.length;r++)e[r-1]=arguments[r];if(n){n=n.slice(0);for(var r=0,o=n.length;r<o;++r)n[r].apply(this,e)}return this};Qn.prototype.emitReserved=Qn.prototype.emit;Qn.prototype.listeners=function(t){return this._callbacks=this._callbacks||{},this._callbacks["$"+t]||[]};Qn.prototype.hasListeners=function(t){return!!this.listeners(t).length};const Wh=typeof Promise=="function"&&typeof Promise.resolve=="function"?e=>Promise.resolve().then(e):(e,n)=>n(e,0),Wo=typeof self<"u"?self:typeof window<"u"?window:Function("return this")(),ace="arraybuffer";function Ek(t,...e){return e.reduce((n,r)=>(t.hasOwnProperty(r)&&(n[r]=t[r]),n),{})}const ice=Wo.setTimeout,sce=Wo.clearTimeout;function qh(t,e){e.useNativeTimers?(t.setTimeoutFn=ice.bind(Wo),t.clearTimeoutFn=sce.bind(Wo)):(t.setTimeoutFn=Wo.setTimeout.bind(Wo),t.clearTimeoutFn=Wo.clearTimeout.bind(Wo))}const lce=1.33;function cce(t){return typeof t=="string"?uce(t):Math.ceil((t.byteLength||t.size)*lce)}function uce(t){let e=0,n=0;for(let r=0,o=t.length;r<o;r++)e=t.charCodeAt(r),e<128?n+=1:e<2048?n+=2:e<55296||e>=57344?n+=3:(r++,n+=4);return n}function Mk(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}function dce(t){let e="";for(let n in t)t.hasOwnProperty(n)&&(e.length&&(e+="&"),e+=encodeURIComponent(n)+"="+encodeURIComponent(t[n]));return e}function fce(t){let e={},n=t.split("&");for(let r=0,o=n.length;r<o;r++){let a=n[r].split("=");e[decodeURIComponent(a[0])]=decodeURIComponent(a[1])}return e}class pce extends Error{constructor(e,n,r){super(e),this.description=n,this.context=r,this.type="TransportError"}}class N3 extends Qn{constructor(e){super(),this.writable=!1,qh(this,e),this.opts=e,this.query=e.query,this.socket=e.socket,this.supportsBinary=!e.forceBase64}onError(e,n,r){return super.emitReserved("error",new pce(e,n,r)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return(this.readyState==="opening"||this.readyState==="open")&&(this.doClose(),this.onClose()),this}send(e){this.readyState==="open"&&this.write(e)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(e){const n=T3(e,this.socket.binaryType);this.onPacket(n)}onPacket(e){super.emitReserved("packet",e)}onClose(e){this.readyState="closed",super.emitReserved("close",e)}pause(e){}createUri(e,n={}){return e+"://"+this._hostname()+this._port()+this.opts.path+this._query(n)}_hostname(){const e=this.opts.hostname;return e.indexOf(":")===-1?e:"["+e+"]"}_port(){return this.opts.port&&(this.opts.secure&&Number(this.opts.port)!==443||!this.opts.secure&&Number(this.opts.port)!==80)?":"+this.opts.port:""}_query(e){const n=dce(e);return n.length?"?"+n:""}}class hce extends N3{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(e){this.readyState="pausing";const n=()=>{this.readyState="paused",e()};if(this._polling||!this.writable){let r=0;this._polling&&(r++,this.once("pollComplete",function(){--r||n()})),this.writable||(r++,this.once("drain",function(){--r||n()}))}else n()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(e){const n=r=>{if(this.readyState==="opening"&&r.type==="open"&&this.onOpen(),r.type==="close")return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(r)};tce(e,this.socket.binaryType).forEach(n),this.readyState!=="closed"&&(this._polling=!1,this.emitReserved("pollComplete"),this.readyState==="open"&&this._poll())}doClose(){const e=()=>{this.write([{type:"close"}])};this.readyState==="open"?e():this.once("open",e)}write(e){this.writable=!1,ece(e,n=>{this.doWrite(n,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const e=this.opts.secure?"https":"http",n=this.query||{};return this.opts.timestampRequests!==!1&&(n[this.opts.timestampParam]=Mk()),!this.supportsBinary&&!n.sid&&(n.b64=1),this.createUri(e,n)}}let kk=!1;try{kk=typeof XMLHttpRequest<"u"&&"withCredentials"in new XMLHttpRequest}catch{}const mce=kk;function gce(){}class vce extends hce{constructor(e){if(super(e),typeof location<"u"){const n=location.protocol==="https:";let r=location.port;r||(r=n?"443":"80"),this.xd=typeof location<"u"&&e.hostname!==location.hostname||r!==e.port}}doWrite(e,n){const r=this.request({method:"POST",data:e});r.on("success",n),r.on("error",(o,a)=>{this.onError("xhr post error",o,a)})}doPoll(){const e=this.request();e.on("data",this.onData.bind(this)),e.on("error",(n,r)=>{this.onError("xhr poll error",n,r)}),this.pollXhr=e}}let gu=class d0 extends Qn{constructor(e,n,r){super(),this.createRequest=e,qh(this,r),this._opts=r,this._method=r.method||"GET",this._uri=n,this._data=r.data!==void 0?r.data:null,this._create()}_create(){var e;const n=Ek(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");n.xdomain=!!this._opts.xd;const r=this._xhr=this.createRequest(n);try{r.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders){r.setDisableHeaderCheck&&r.setDisableHeaderCheck(!0);for(let o in this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(o)&&r.setRequestHeader(o,this._opts.extraHeaders[o])}}catch{}if(this._method==="POST")try{r.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch{}try{r.setRequestHeader("Accept","*/*")}catch{}(e=this._opts.cookieJar)===null||e===void 0||e.addCookies(r),"withCredentials"in r&&(r.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(r.timeout=this._opts.requestTimeout),r.onreadystatechange=()=>{var o;r.readyState===3&&((o=this._opts.cookieJar)===null||o===void 0||o.parseCookies(r.getResponseHeader("set-cookie"))),r.readyState===4&&(r.status===200||r.status===1223?this._onLoad():this.setTimeoutFn(()=>{this._onError(typeof r.status=="number"?r.status:0)},0))},r.send(this._data)}catch(o){this.setTimeoutFn(()=>{this._onError(o)},0);return}typeof document<"u"&&(this._index=d0.requestsCount++,d0.requests[this._index]=this)}_onError(e){this.emitReserved("error",e,this._xhr),this._cleanup(!0)}_cleanup(e){if(!(typeof this._xhr>"u"||this._xhr===null)){if(this._xhr.onreadystatechange=gce,e)try{this._xhr.abort()}catch{}typeof document<"u"&&delete d0.requests[this._index],this._xhr=null}}_onLoad(){const e=this._xhr.responseText;e!==null&&(this.emitReserved("data",e),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}};gu.requestsCount=0;gu.requests={};if(typeof document<"u"){if(typeof attachEvent=="function")attachEvent("onunload",qx);else if(typeof addEventListener=="function"){const t="onpagehide"in Wo?"pagehide":"unload";addEventListener(t,qx,!1)}}function qx(){for(let t in gu.requests)gu.requests.hasOwnProperty(t)&&gu.requests[t].abort()}const wce=(function(){const t=Rk({xdomain:!1});return t&&t.responseType!==null})();class bce extends vce{constructor(e){super(e);const n=e&&e.forceBase64;this.supportsBinary=wce&&!n}request(e={}){return Object.assign(e,{xd:this.xd},this.opts),new gu(Rk,this.uri(),e)}}function Rk(t){const e=t.xdomain;try{if(typeof XMLHttpRequest<"u"&&(!e||mce))return new XMLHttpRequest}catch{}if(!e)try{return new Wo[["Active"].concat("Object").join("X")]("Microsoft.XMLHTTP")}catch{}}const Tk=typeof navigator<"u"&&typeof navigator.product=="string"&&navigator.product.toLowerCase()==="reactnative";class yce extends N3{get name(){return"websocket"}doOpen(){const e=this.uri(),n=this.opts.protocols,r=Tk?{}:Ek(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(r.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(e,n,r)}catch(o){return this.emitReserved("error",o)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=e=>this.onClose({description:"websocket connection closed",context:e}),this.ws.onmessage=e=>this.onData(e.data),this.ws.onerror=e=>this.onError("websocket error",e)}write(e){this.writable=!1;for(let n=0;n<e.length;n++){const r=e[n],o=n===e.length-1;R3(r,this.supportsBinary,a=>{try{this.doWrite(r,a)}catch{}o&&Wh(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){typeof this.ws<"u"&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){const e=this.opts.secure?"wss":"ws",n=this.query||{};return this.opts.timestampRequests&&(n[this.opts.timestampParam]=Mk()),this.supportsBinary||(n.b64=1),this.createUri(e,n)}}const I2=Wo.WebSocket||Wo.MozWebSocket;class _ce extends yce{createSocket(e,n,r){return Tk?new I2(e,n,r):n?new I2(e,n):new I2(e)}doWrite(e,n){this.ws.send(n)}}class xce extends N3{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(e){return this.emitReserved("error",e)}this._transport.closed.then(()=>{this.onClose()}).catch(e=>{this.onError("webtransport error",e)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(e=>{const n=rce(Number.MAX_SAFE_INTEGER,this.socket.binaryType),r=e.readable.pipeThrough(n).getReader(),o=nce();o.readable.pipeTo(e.writable),this._writer=o.writable.getWriter();const a=()=>{r.read().then(({done:s,value:l})=>{s||(this.onPacket(l),a())}).catch(s=>{})};a();const i={type:"open"};this.query.sid&&(i.data=`{"sid":"${this.query.sid}"}`),this._writer.write(i).then(()=>this.onOpen())})})}write(e){this.writable=!1;for(let n=0;n<e.length;n++){const r=e[n],o=n===e.length-1;this._writer.write(r).then(()=>{o&&Wh(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var e;(e=this._transport)===null||e===void 0||e.close()}}const Sce={websocket:_ce,webtransport:xce,polling:bce},Cce=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,Ece=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function qv(t){if(t.length>8e3)throw"URI too long";const e=t,n=t.indexOf("["),r=t.indexOf("]");n!=-1&&r!=-1&&(t=t.substring(0,n)+t.substring(n,r).replace(/:/g,";")+t.substring(r,t.length));let o=Cce.exec(t||""),a={},i=14;for(;i--;)a[Ece[i]]=o[i]||"";return n!=-1&&r!=-1&&(a.source=e,a.host=a.host.substring(1,a.host.length-1).replace(/;/g,":"),a.authority=a.authority.replace("[","").replace("]","").replace(/;/g,":"),a.ipv6uri=!0),a.pathNames=Mce(a,a.path),a.queryKey=kce(a,a.query),a}function Mce(t,e){const n=/\/{2,9}/g,r=e.replace(n,"/").split("/");return(e.slice(0,1)=="/"||e.length===0)&&r.splice(0,1),e.slice(-1)=="/"&&r.splice(r.length-1,1),r}function kce(t,e){const n={};return e.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(r,o,a){o&&(n[o]=a)}),n}const Uv=typeof addEventListener=="function"&&typeof removeEventListener=="function",f0=[];Uv&&addEventListener("offline",()=>{f0.forEach(t=>t())},!1);class Fs extends Qn{constructor(e,n){if(super(),this.binaryType=ace,this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,e&&typeof e=="object"&&(n=e,e=null),e){const r=qv(e);n.hostname=r.host,n.secure=r.protocol==="https"||r.protocol==="wss",n.port=r.port,r.query&&(n.query=r.query)}else n.host&&(n.hostname=qv(n.host).host);qh(this,n),this.secure=n.secure!=null?n.secure:typeof location<"u"&&location.protocol==="https:",n.hostname&&!n.port&&(n.port=this.secure?"443":"80"),this.hostname=n.hostname||(typeof location<"u"?location.hostname:"localhost"),this.port=n.port||(typeof location<"u"&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={},n.transports.forEach(r=>{const o=r.prototype.name;this.transports.push(o),this._transportsByName[o]=r}),this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},n),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),typeof this.opts.query=="string"&&(this.opts.query=fce(this.opts.query)),Uv&&(this.opts.closeOnBeforeunload&&(this._beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this._beforeunloadEventListener,!1)),this.hostname!=="localhost"&&(this._offlineEventListener=()=>{this._onClose("transport close",{description:"network connection lost"})},f0.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(e){const n=Object.assign({},this.opts.query);n.EIO=Ck,n.transport=e,this.id&&(n.sid=this.id);const r=Object.assign({},this.opts,{query:n,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[e]);return new this._transportsByName[e](r)}_open(){if(this.transports.length===0){this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);return}const e=this.opts.rememberUpgrade&&Fs.priorWebsocketSuccess&&this.transports.indexOf("websocket")!==-1?"websocket":this.transports[0];this.readyState="opening";const n=this.createTransport(e);n.open(),this.setTransport(n)}setTransport(e){this.transport&&this.transport.removeAllListeners(),this.transport=e,e.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",n=>this._onClose("transport close",n))}onOpen(){this.readyState="open",Fs.priorWebsocketSuccess=this.transport.name==="websocket",this.emitReserved("open"),this.flush()}_onPacket(e){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing")switch(this.emitReserved("packet",e),this.emitReserved("heartbeat"),e.type){case"open":this.onHandshake(JSON.parse(e.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":const n=new Error("server error");n.code=e.data,this._onError(n);break;case"message":this.emitReserved("data",e.data),this.emitReserved("message",e.data);break}}onHandshake(e){this.emitReserved("handshake",e),this.id=e.sid,this.transport.query.sid=e.sid,this._pingInterval=e.pingInterval,this._pingTimeout=e.pingTimeout,this._maxPayload=e.maxPayload,this.onOpen(),this.readyState!=="closed"&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);const e=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+e,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},e),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,this.writeBuffer.length===0?this.emitReserved("drain"):this.flush()}flush(){if(this.readyState!=="closed"&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const e=this._getWritablePackets();this.transport.send(e),this._prevBufferLen=e.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&this.transport.name==="polling"&&this.writeBuffer.length>1))return this.writeBuffer;let n=1;for(let r=0;r<this.writeBuffer.length;r++){const o=this.writeBuffer[r].data;if(o&&(n+=cce(o)),r>0&&n>this._maxPayload)return this.writeBuffer.slice(0,r);n+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;const e=Date.now()>this._pingTimeoutTime;return e&&(this._pingTimeoutTime=0,Wh(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),e}write(e,n,r){return this._sendPacket("message",e,n,r),this}send(e,n,r){return this._sendPacket("message",e,n,r),this}_sendPacket(e,n,r,o){if(typeof n=="function"&&(o=n,n=void 0),typeof r=="function"&&(o=r,r=null),this.readyState==="closing"||this.readyState==="closed")return;r=r||{},r.compress=r.compress!==!1;const a={type:e,data:n,options:r};this.emitReserved("packetCreate",a),this.writeBuffer.push(a),o&&this.once("flush",o),this.flush()}close(){const e=()=>{this._onClose("forced close"),this.transport.close()},n=()=>{this.off("upgrade",n),this.off("upgradeError",n),e()},r=()=>{this.once("upgrade",n),this.once("upgradeError",n)};return(this.readyState==="opening"||this.readyState==="open")&&(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?r():e()}):this.upgrading?r():e()),this}_onError(e){if(Fs.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&this.readyState==="opening")return this.transports.shift(),this._open();this.emitReserved("error",e),this._onClose("transport error",e)}_onClose(e,n){if(this.readyState==="opening"||this.readyState==="open"||this.readyState==="closing"){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),Uv&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){const r=f0.indexOf(this._offlineEventListener);r!==-1&&f0.splice(r,1)}this.readyState="closed",this.id=null,this.emitReserved("close",e,n),this.writeBuffer=[],this._prevBufferLen=0}}}Fs.protocol=Ck;class Rce extends Fs{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),this.readyState==="open"&&this.opts.upgrade)for(let e=0;e<this._upgrades.length;e++)this._probe(this._upgrades[e])}_probe(e){let n=this.createTransport(e),r=!1;Fs.priorWebsocketSuccess=!1;const o=()=>{r||(n.send([{type:"ping",data:"probe"}]),n.once("packet",f=>{if(!r)if(f.type==="pong"&&f.data==="probe"){if(this.upgrading=!0,this.emitReserved("upgrading",n),!n)return;Fs.priorWebsocketSuccess=n.name==="websocket",this.transport.pause(()=>{r||this.readyState!=="closed"&&(d(),this.setTransport(n),n.send([{type:"upgrade"}]),this.emitReserved("upgrade",n),n=null,this.upgrading=!1,this.flush())})}else{const m=new Error("probe error");m.transport=n.name,this.emitReserved("upgradeError",m)}}))};function a(){r||(r=!0,d(),n.close(),n=null)}const i=f=>{const m=new Error("probe error: "+f);m.transport=n.name,a(),this.emitReserved("upgradeError",m)};function s(){i("transport closed")}function l(){i("socket closed")}function u(f){n&&f.name!==n.name&&a()}const d=()=>{n.removeListener("open",o),n.removeListener("error",i),n.removeListener("close",s),this.off("close",l),this.off("upgrading",u)};n.once("open",o),n.once("error",i),n.once("close",s),this.once("close",l),this.once("upgrading",u),this._upgrades.indexOf("webtransport")!==-1&&e!=="webtransport"?this.setTimeoutFn(()=>{r||n.open()},200):n.open()}onHandshake(e){this._upgrades=this._filterUpgrades(e.upgrades),super.onHandshake(e)}_filterUpgrades(e){const n=[];for(let r=0;r<e.length;r++)~this.transports.indexOf(e[r])&&n.push(e[r]);return n}}let Tce=class extends Rce{constructor(e,n={}){const r=typeof e=="object"?e:n;(!r.transports||r.transports&&typeof r.transports[0]=="string")&&(r.transports=(r.transports||["polling","websocket","webtransport"]).map(o=>Sce[o]).filter(o=>!!o)),super(e,r)}};function Nce(t,e="",n){let r=t;n=n||typeof location<"u"&&location,t==null&&(t=n.protocol+"//"+n.host),typeof t=="string"&&(t.charAt(0)==="/"&&(t.charAt(1)==="/"?t=n.protocol+t:t=n.host+t),/^(https?|wss?):\/\//.test(t)||(typeof n<"u"?t=n.protocol+"//"+t:t="https://"+t),r=qv(t)),r.port||(/^(http|ws)$/.test(r.protocol)?r.port="80":/^(http|ws)s$/.test(r.protocol)&&(r.port="443")),r.path=r.path||"/";const a=r.host.indexOf(":")!==-1?"["+r.host+"]":r.host;return r.id=r.protocol+"://"+a+":"+r.port+e,r.href=r.protocol+"://"+a+(n&&n.port===r.port?"":":"+r.port),r}const Pce=typeof ArrayBuffer=="function",Ace=t=>typeof ArrayBuffer.isView=="function"?ArrayBuffer.isView(t):t.buffer instanceof ArrayBuffer,Nk=Object.prototype.toString,Ice=typeof Blob=="function"||typeof Blob<"u"&&Nk.call(Blob)==="[object BlobConstructor]",Oce=typeof File=="function"||typeof File<"u"&&Nk.call(File)==="[object FileConstructor]";function P3(t){return Pce&&(t instanceof ArrayBuffer||Ace(t))||Ice&&t instanceof Blob||Oce&&t instanceof File}function p0(t,e){if(!t||typeof t!="object")return!1;if(Array.isArray(t)){for(let n=0,r=t.length;n<r;n++)if(p0(t[n]))return!0;return!1}if(P3(t))return!0;if(t.toJSON&&typeof t.toJSON=="function"&&arguments.length===1)return p0(t.toJSON(),!0);for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&p0(t[n]))return!0;return!1}function Lce(t){const e=[],n=t.data,r=t;return r.data=Yv(n,e),r.attachments=e.length,{packet:r,buffers:e}}function Yv(t,e){if(!t)return t;if(P3(t)){const n={_placeholder:!0,num:e.length};return e.push(t),n}else if(Array.isArray(t)){const n=new Array(t.length);for(let r=0;r<t.length;r++)n[r]=Yv(t[r],e);return n}else if(typeof t=="object"&&!(t instanceof Date)){const n={};for(const r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=Yv(t[r],e));return n}return t}function $ce(t,e){return t.data=Gv(t.data,e),delete t.attachments,t}function Gv(t,e){if(!t)return t;if(t&&t._placeholder===!0){if(typeof t.num=="number"&&t.num>=0&&t.num<e.length)return e[t.num];throw new Error("illegal attachments")}else if(Array.isArray(t))for(let n=0;n<t.length;n++)t[n]=Gv(t[n],e);else if(typeof t=="object")for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(t[n]=Gv(t[n],e));return t}const Dce=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"];var nn;(function(t){t[t.CONNECT=0]="CONNECT",t[t.DISCONNECT=1]="DISCONNECT",t[t.EVENT=2]="EVENT",t[t.ACK=3]="ACK",t[t.CONNECT_ERROR=4]="CONNECT_ERROR",t[t.BINARY_EVENT=5]="BINARY_EVENT",t[t.BINARY_ACK=6]="BINARY_ACK"})(nn||(nn={}));class Bce{constructor(e){this.replacer=e}encode(e){return(e.type===nn.EVENT||e.type===nn.ACK)&&p0(e)?this.encodeAsBinary({type:e.type===nn.EVENT?nn.BINARY_EVENT:nn.BINARY_ACK,nsp:e.nsp,data:e.data,id:e.id}):[this.encodeAsString(e)]}encodeAsString(e){let n=""+e.type;return(e.type===nn.BINARY_EVENT||e.type===nn.BINARY_ACK)&&(n+=e.attachments+"-"),e.nsp&&e.nsp!=="/"&&(n+=e.nsp+","),e.id!=null&&(n+=e.id),e.data!=null&&(n+=JSON.stringify(e.data,this.replacer)),n}encodeAsBinary(e){const n=Lce(e),r=this.encodeAsString(n.packet),o=n.buffers;return o.unshift(r),o}}class A3 extends Qn{constructor(e){super(),this.opts=Object.assign({reviver:void 0,maxAttachments:10},typeof e=="function"?{reviver:e}:e)}add(e){let n;if(typeof e=="string"){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");n=this.decodeString(e);const r=n.type===nn.BINARY_EVENT;r||n.type===nn.BINARY_ACK?(n.type=r?nn.EVENT:nn.ACK,this.reconstructor=new zce(n),n.attachments===0&&super.emitReserved("decoded",n)):super.emitReserved("decoded",n)}else if(P3(e)||e.base64)if(this.reconstructor)n=this.reconstructor.takeBinaryData(e),n&&(this.reconstructor=null,super.emitReserved("decoded",n));else throw new Error("got binary data when not reconstructing a packet");else throw new Error("Unknown type: "+e)}decodeString(e){let n=0;const r={type:Number(e.charAt(0))};if(nn[r.type]===void 0)throw new Error("unknown packet type "+r.type);if(r.type===nn.BINARY_EVENT||r.type===nn.BINARY_ACK){const a=n+1;for(;e.charAt(++n)!=="-"&&n!=e.length;);const i=e.substring(a,n);if(i!=Number(i)||e.charAt(n)!=="-")throw new Error("Illegal attachments");const s=Number(i);if(!Fce(s)||s<0)throw new Error("Illegal attachments");if(s>this.opts.maxAttachments)throw new Error("too many attachments");r.attachments=s}if(e.charAt(n+1)==="/"){const a=n+1;for(;++n&&!(e.charAt(n)===","||n===e.length););r.nsp=e.substring(a,n)}else r.nsp="/";const o=e.charAt(n+1);if(o!==""&&Number(o)==o){const a=n+1;for(;++n;){const i=e.charAt(n);if(i==null||Number(i)!=i){--n;break}if(n===e.length)break}r.id=Number(e.substring(a,n+1))}if(e.charAt(++n)){const a=this.tryParse(e.substr(n));if(A3.isPayloadValid(r.type,a))r.data=a;else throw new Error("invalid payload")}return r}tryParse(e){try{return JSON.parse(e,this.opts.reviver)}catch{return!1}}static isPayloadValid(e,n){switch(e){case nn.CONNECT:return Ux(n);case nn.DISCONNECT:return n===void 0;case nn.CONNECT_ERROR:return typeof n=="string"||Ux(n);case nn.EVENT:case nn.BINARY_EVENT:return Array.isArray(n)&&(typeof n[0]=="number"||typeof n[0]=="string"&&Dce.indexOf(n[0])===-1);case nn.ACK:case nn.BINARY_ACK:return Array.isArray(n)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class zce{constructor(e){this.packet=e,this.buffers=[],this.reconPack=e}takeBinaryData(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){const n=$ce(this.reconPack,this.buffers);return this.finishedReconstruction(),n}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const Fce=Number.isInteger||function(t){return typeof t=="number"&&isFinite(t)&&Math.floor(t)===t};function Ux(t){return Object.prototype.toString.call(t)==="[object Object]"}const Vce=Object.freeze(Object.defineProperty({__proto__:null,Decoder:A3,Encoder:Bce,get PacketType(){return nn}},Symbol.toStringTag,{value:"Module"}));function va(t,e,n){return t.on(e,n),function(){t.off(e,n)}}const jce=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class Pk extends Qn{constructor(e,n,r){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=e,this.nsp=n,r&&r.auth&&(this.auth=r.auth),this._opts=Object.assign({},r),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const e=this.io;this.subs=[va(e,"open",this.onopen.bind(this)),va(e,"packet",this.onpacket.bind(this)),va(e,"error",this.onerror.bind(this)),va(e,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected?this:(this.subEvents(),this.io._reconnecting||this.io.open(),this.io._readyState==="open"&&this.onopen(),this)}open(){return this.connect()}send(...e){return e.unshift("message"),this.emit.apply(this,e),this}emit(e,...n){var r,o,a;if(jce.hasOwnProperty(e))throw new Error('"'+e.toString()+'" is a reserved event name');if(n.unshift(e),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(n),this;const i={type:nn.EVENT,data:n};if(i.options={},i.options.compress=this.flags.compress!==!1,typeof n[n.length-1]=="function"){const d=this.ids++,f=n.pop();this._registerAckCallback(d,f),i.id=d}const s=(o=(r=this.io.engine)===null||r===void 0?void 0:r.transport)===null||o===void 0?void 0:o.writable,l=this.connected&&!(!((a=this.io.engine)===null||a===void 0)&&a._hasPingExpired());return this.flags.volatile&&!s||(l?(this.notifyOutgoingListeners(i),this.packet(i)):this.sendBuffer.push(i)),this.flags={},this}_registerAckCallback(e,n){var r;const o=(r=this.flags.timeout)!==null&&r!==void 0?r:this._opts.ackTimeout;if(o===void 0){this.acks[e]=n;return}const a=this.io.setTimeoutFn(()=>{delete this.acks[e];for(let s=0;s<this.sendBuffer.length;s++)this.sendBuffer[s].id===e&&this.sendBuffer.splice(s,1);n.call(this,new Error("operation has timed out"))},o),i=(...s)=>{this.io.clearTimeoutFn(a),n.apply(this,s)};i.withError=!0,this.acks[e]=i}emitWithAck(e,...n){return new Promise((r,o)=>{const a=(i,s)=>i?o(i):r(s);a.withError=!0,n.push(a),this.emit(e,...n)})}_addToQueue(e){let n;typeof e[e.length-1]=="function"&&(n=e.pop());const r={id:this._queueSeq++,tryCount:0,pending:!1,args:e,flags:Object.assign({fromQueue:!0},this.flags)};e.push((o,...a)=>(this._queue[0],o!==null?r.tryCount>this._opts.retries&&(this._queue.shift(),n&&n(o)):(this._queue.shift(),n&&n(null,...a)),r.pending=!1,this._drainQueue())),this._queue.push(r),this._drainQueue()}_drainQueue(e=!1){if(!this.connected||this._queue.length===0)return;const n=this._queue[0];n.pending&&!e||(n.pending=!0,n.tryCount++,this.flags=n.flags,this.emit.apply(this,n.args))}packet(e){e.nsp=this.nsp,this.io._packet(e)}onopen(){typeof this.auth=="function"?this.auth(e=>{this._sendConnectPacket(e)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(e){this.packet({type:nn.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},e):e})}onerror(e){this.connected||this.emitReserved("connect_error",e)}onclose(e,n){this.connected=!1,delete this.id,this.emitReserved("disconnect",e,n),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach(e=>{if(!this.sendBuffer.some(r=>String(r.id)===e)){const r=this.acks[e];delete this.acks[e],r.withError&&r.call(this,new Error("socket has been disconnected"))}})}onpacket(e){if(e.nsp===this.nsp)switch(e.type){case nn.CONNECT:e.data&&e.data.sid?this.onconnect(e.data.sid,e.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case nn.EVENT:case nn.BINARY_EVENT:this.onevent(e);break;case nn.ACK:case nn.BINARY_ACK:this.onack(e);break;case nn.DISCONNECT:this.ondisconnect();break;case nn.CONNECT_ERROR:this.destroy();const r=new Error(e.data.message);r.data=e.data.data,this.emitReserved("connect_error",r);break}}onevent(e){const n=e.data||[];e.id!=null&&n.push(this.ack(e.id)),this.connected?this.emitEvent(n):this.receiveBuffer.push(Object.freeze(n))}emitEvent(e){if(this._anyListeners&&this._anyListeners.length){const n=this._anyListeners.slice();for(const r of n)r.apply(this,e)}super.emit.apply(this,e),this._pid&&e.length&&typeof e[e.length-1]=="string"&&(this._lastOffset=e[e.length-1])}ack(e){const n=this;let r=!1;return function(...o){r||(r=!0,n.packet({type:nn.ACK,id:e,data:o}))}}onack(e){const n=this.acks[e.id];typeof n=="function"&&(delete this.acks[e.id],n.withError&&e.data.unshift(null),n.apply(this,e.data))}onconnect(e,n){this.id=e,this.recovered=n&&this._pid===n,this._pid=n,this.connected=!0,this.emitBuffered(),this._drainQueue(!0),this.emitReserved("connect")}emitBuffered(){this.receiveBuffer.forEach(e=>this.emitEvent(e)),this.receiveBuffer=[],this.sendBuffer.forEach(e=>{this.notifyOutgoingListeners(e),this.packet(e)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(e=>e()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:nn.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(e){return this.flags.compress=e,this}get volatile(){return this.flags.volatile=!0,this}timeout(e){return this.flags.timeout=e,this}onAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(e),this}prependAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(e),this}offAny(e){if(!this._anyListeners)return this;if(e){const n=this._anyListeners;for(let r=0;r<n.length;r++)if(e===n[r])return n.splice(r,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(e),this}prependAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(e),this}offAnyOutgoing(e){if(!this._anyOutgoingListeners)return this;if(e){const n=this._anyOutgoingListeners;for(let r=0;r<n.length;r++)if(e===n[r])return n.splice(r,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(e){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const n=this._anyOutgoingListeners.slice();for(const r of n)r.apply(this,e.data)}}}function Bu(t){t=t||{},this.ms=t.min||100,this.max=t.max||1e4,this.factor=t.factor||2,this.jitter=t.jitter>0&&t.jitter<=1?t.jitter:0,this.attempts=0}Bu.prototype.duration=function(){var t=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var e=Math.random(),n=Math.floor(e*this.jitter*t);t=(Math.floor(e*10)&1)==0?t-n:t+n}return Math.min(t,this.max)|0};Bu.prototype.reset=function(){this.attempts=0};Bu.prototype.setMin=function(t){this.ms=t};Bu.prototype.setMax=function(t){this.max=t};Bu.prototype.setJitter=function(t){this.jitter=t};class Kv extends Qn{constructor(e,n){var r;super(),this.nsps={},this.subs=[],e&&typeof e=="object"&&(n=e,e=void 0),n=n||{},n.path=n.path||"/socket.io",this.opts=n,qh(this,n),this.reconnection(n.reconnection!==!1),this.reconnectionAttempts(n.reconnectionAttempts||1/0),this.reconnectionDelay(n.reconnectionDelay||1e3),this.reconnectionDelayMax(n.reconnectionDelayMax||5e3),this.randomizationFactor((r=n.randomizationFactor)!==null&&r!==void 0?r:.5),this.backoff=new Bu({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(n.timeout==null?2e4:n.timeout),this._readyState="closed",this.uri=e;const o=n.parser||Vce;this.encoder=new o.Encoder,this.decoder=new o.Decoder,this._autoConnect=n.autoConnect!==!1,this._autoConnect&&this.open()}reconnection(e){return arguments.length?(this._reconnection=!!e,e||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(e){return e===void 0?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}reconnectionDelay(e){var n;return e===void 0?this._reconnectionDelay:(this._reconnectionDelay=e,(n=this.backoff)===null||n===void 0||n.setMin(e),this)}randomizationFactor(e){var n;return e===void 0?this._randomizationFactor:(this._randomizationFactor=e,(n=this.backoff)===null||n===void 0||n.setJitter(e),this)}reconnectionDelayMax(e){var n;return e===void 0?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,(n=this.backoff)===null||n===void 0||n.setMax(e),this)}timeout(e){return arguments.length?(this._timeout=e,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&this.backoff.attempts===0&&this.reconnect()}open(e){if(~this._readyState.indexOf("open"))return this;this.engine=new Tce(this.uri,this.opts);const n=this.engine,r=this;this._readyState="opening",this.skipReconnect=!1;const o=va(n,"open",function(){r.onopen(),e&&e()}),a=s=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",s),e?e(s):this.maybeReconnectOnOpen()},i=va(n,"error",a);if(this._timeout!==!1){const s=this._timeout,l=this.setTimeoutFn(()=>{o(),a(new Error("timeout")),n.close()},s);this.opts.autoUnref&&l.unref(),this.subs.push(()=>{this.clearTimeoutFn(l)})}return this.subs.push(o),this.subs.push(i),this}connect(e){return this.open(e)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const e=this.engine;this.subs.push(va(e,"ping",this.onping.bind(this)),va(e,"data",this.ondata.bind(this)),va(e,"error",this.onerror.bind(this)),va(e,"close",this.onclose.bind(this)),va(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){try{this.decoder.add(e)}catch(n){this.onclose("parse error",n)}}ondecoded(e){Wh(()=>{this.emitReserved("packet",e)},this.setTimeoutFn)}onerror(e){this.emitReserved("error",e)}socket(e,n){let r=this.nsps[e];return r?this._autoConnect&&!r.active&&r.connect():(r=new Pk(this,e,n),this.nsps[e]=r),r}_destroy(e){const n=Object.keys(this.nsps);for(const r of n)if(this.nsps[r].active)return;this._close()}_packet(e){const n=this.encoder.encode(e);for(let r=0;r<n.length;r++)this.engine.write(n[r],e.options)}cleanup(){this.subs.forEach(e=>e()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(e,n){var r;this.cleanup(),(r=this.engine)===null||r===void 0||r.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",e,n),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const e=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const n=this.backoff.duration();this._reconnecting=!0;const r=this.setTimeoutFn(()=>{e.skipReconnect||(this.emitReserved("reconnect_attempt",e.backoff.attempts),!e.skipReconnect&&e.open(o=>{o?(e._reconnecting=!1,e.reconnect(),this.emitReserved("reconnect_error",o)):e.onreconnect()}))},n);this.opts.autoUnref&&r.unref(),this.subs.push(()=>{this.clearTimeoutFn(r)})}}onreconnect(){const e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}const kd={};function h0(t,e){typeof t=="object"&&(e=t,t=void 0),e=e||{};const n=Nce(t,e.path||"/socket.io"),r=n.source,o=n.id,a=n.path,i=kd[o]&&a in kd[o].nsps,s=e.forceNew||e["force new connection"]||e.multiplex===!1||i;let l;return s?l=new Kv(r,e):(kd[o]||(kd[o]=new Kv(r,e)),l=kd[o]),n.query&&!e.query&&(e.query=n.queryKey),l.socket(n.path,e)}Object.assign(h0,{Manager:Kv,Socket:Pk,io:h0,connect:h0});var O2,Yx;function Hce(){if(Yx)return O2;Yx=1;var t=typeof Element<"u",e=typeof Map=="function",n=typeof Set=="function",r=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function o(a,i){if(a===i)return!0;if(a&&i&&typeof a=="object"&&typeof i=="object"){if(a.constructor!==i.constructor)return!1;var s,l,u;if(Array.isArray(a)){if(s=a.length,s!=i.length)return!1;for(l=s;l--!==0;)if(!o(a[l],i[l]))return!1;return!0}var d;if(e&&a instanceof Map&&i instanceof Map){if(a.size!==i.size)return!1;for(d=a.entries();!(l=d.next()).done;)if(!i.has(l.value[0]))return!1;for(d=a.entries();!(l=d.next()).done;)if(!o(l.value[1],i.get(l.value[0])))return!1;return!0}if(n&&a instanceof Set&&i instanceof Set){if(a.size!==i.size)return!1;for(d=a.entries();!(l=d.next()).done;)if(!i.has(l.value[0]))return!1;return!0}if(r&&ArrayBuffer.isView(a)&&ArrayBuffer.isView(i)){if(s=a.length,s!=i.length)return!1;for(l=s;l--!==0;)if(a[l]!==i[l])return!1;return!0}if(a.constructor===RegExp)return a.source===i.source&&a.flags===i.flags;if(a.valueOf!==Object.prototype.valueOf&&typeof a.valueOf=="function"&&typeof i.valueOf=="function")return a.valueOf()===i.valueOf();if(a.toString!==Object.prototype.toString&&typeof a.toString=="function"&&typeof i.toString=="function")return a.toString()===i.toString();if(u=Object.keys(a),s=u.length,s!==Object.keys(i).length)return!1;for(l=s;l--!==0;)if(!Object.prototype.hasOwnProperty.call(i,u[l]))return!1;if(t&&a instanceof Element)return!1;for(l=s;l--!==0;)if(!((u[l]==="_owner"||u[l]==="__v"||u[l]==="__o")&&a.$$typeof)&&!o(a[u[l]],i[u[l]]))return!1;return!0}return a!==a&&i!==i}return O2=function(i,s){try{return o(i,s)}catch(l){if((l.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw l}},O2}var Wce=Hce();const qce=ka(Wce),{createContext:Uce,useCallback:ga,useContext:I3,useEffect:Fl,useLayoutEffect:Yce,useMemo:Gce,useRef:Fi,useState:Ps}=await q("react"),m0={connected:null,realConnected:null,isInitialConnecting:!0,socketId:null,getSocketId:()=>null,setSocketUrl:()=>{},socketEventOn:()=>{},socketEventOff:()=>{},socketEventEmit:()=>{},setPrevResponse:()=>{},getPrevResponse:()=>null},Uh=Uce(m0),mve=({url:t,socketOptions:e={},children:n,loadingElement:r})=>{const{transports:o=["websocket","polling"],reconnectionAttempts:a=1/0,reconnectionDelay:i=1e3,reconnectionDelayMax:s=5e3,timeout:l=2e4,...u}=e,d=Fi(null),f=Fi({}),m=Fi({}),v=Fi({}),[g,w]=Ps(t),[y,_]=Ps(m0.realConnected),[S,x]=Ps(m0.connected),[C,M]=Ps(m0.isInitialConnecting),[A,O]=Ps(null);Fl(()=>{w(t)},[t]);const D=ga(B=>{w(B)},[]),T=ga((B,Y)=>{Object.values(f.current[B]??{}).forEach(U=>{U(Y)})},[]),R=ga((B,Y)=>{d.current?.emit(B,Y)},[]),$=ga(({topic:B,id:Y,subscribePayload:U},le)=>{if(f.current[B]||(f.current[B]={}),!d.current?.hasListeners(B)){const J={topic:B,...U??{}};U&&Object.keys(U).length>0&&(v.current[B]=U),R("subscribe",J),d.current?.on(B,re=>{T(B,re)})}f.current[B][Y]=le},[R,T]),P=ga(({topic:B,id:Y})=>{if(f.current[B]?.[Y]&&(delete f.current[B][Y],Object.keys(f.current[B]).length===0)){d.current?.off(B);const U=v.current[B],le=U?{topic:B,...U}:{topic:B};R("unsubscribe",le),delete v.current[B]}},[R]),I=ga((B,Y)=>m.current[B]?.[Y],[]),L=ga((B,Y)=>{m.current[B]={raw:Y,parsed:x0(Y)}},[]),V=ga(()=>d.current?.id??null,[]),F=ga(()=>{d.current&&(d.current.disconnect(),d.current=null),d.current=h0(g,{transports:o,reconnectionAttempts:a,reconnectionDelay:i,reconnectionDelayMax:s,timeout:l,...u}),Object.keys(f.current).forEach(B=>{Object.keys(f.current[B]??{}).length>0&&d.current?.on(B,Y=>{T(B,Y)})}),d.current.on("connect",()=>{console.log("Socket.io connected"),x(!0),_(!0),O(d.current?.id??null),T("connect","connected")}),d.current.on("disconnect",B=>{console.log("Socket.io disconnected",B),_(!1),T("disconnect","disconnected")}),d.current.io.on("reconnect",B=>{console.log("Socket.io reconnect",B),T("reconnect",B),Object.keys(f.current).forEach(Y=>{if(Object.keys(f.current[Y])?.length){const U={topic:Y,...v.current[Y]??{}};R("subscribe",U),d.current?.emit("subscribe",U)}})}),d.current.io.on("reconnect_attempt",B=>{console.log("Socket.io reconnect_attempt",B),B>3&&x(!1),T("reconnect_attempt",B)}),d.current.io.on("reconnect_error",B=>{T("reconnect_error",B)}),d.current.io.on("reconnect_failed",()=>{console.error("Socket.io reconnect_failed"),x(!1),_(!1),T("reconnect_failed","reconnect_failed")}),d.current.on("error",B=>{console.error("Socket.io error: ",B),T("error",B)})},[T,a,i,s,JSON.stringify(u),JSON.stringify(o),g]),z=Gce(()=>({connected:S,realConnected:y,isInitialConnecting:C,socketId:A,getSocketId:V,setSocketUrl:D,socketEventOn:$,socketEventOff:P,socketEventEmit:R,setPrevResponse:L,getPrevResponse:I}),[S,y,C,A,V,D,$,P,R,L,I]);return Yce(()=>{F()},[F]),Fl(()=>{!S&&m.current&&Object.keys(m.current).forEach(B=>{R(B,void 0),L(B,void 0)})},[S,L,R]),Fl(()=>{S&&M(!1)},[S]),h(Uh.Provider,{value:z,children:n})},gve=()=>{const{connected:t,realConnected:e,socketEventEmit:n,setSocketUrl:r,socketId:o,getSocketId:a}=I3(Uh);return{connected:t,realConnected:e,socketEventEmit:n,setSocketUrl:r,socketId:o,getSocketId:a}},Kce=t=>{const{socketEventOn:e,socketEventOff:n,setPrevResponse:r,getPrevResponse:o}=I3(Uh),a=Fi({options:t.options,callback:t.callback}),[i]=Ps(kn.uniqueId()),{topic:s}=t;Fl(()=>{a.current={options:t.options,callback:t.callback}},[t]),Fl(()=>{if(!t.options?.disabled)return e({topic:s,id:i,subscribePayload:t.options?.subscribePayload},l=>{const{options:u,callback:d}=a.current;u?.prevData,r(s,l);const f=x0(l);d?.(f)}),()=>{n({topic:s,id:i})}},[o,r,n,e,s,i,t.options?.disabled,t.options?.subscribePayload])},vve=(t,e={})=>{const{realConnected:n,isInitialConnecting:r,getPrevResponse:o,setPrevResponse:a}=I3(Uh),[i,s]=Ps(!o(t,"parsed")&&!!e.defaultValue),l=n?o(t,"parsed")??e.defaultValue:e.defaultValue,[u,d]=Ps(e.selector?e.selector(l):l),f=Fi(u),m=Fi(i),v=Fi(e);f.current=u,m.current=i,v.current=e;const g=ga(S=>{e.disabled||(d(e.selector?e.selector(S):S),a(t,S),s(!1))},[a,t,e]),w=e.throttleMs??0,y=Fi({timer:null,pending:null,hasPending:!1}),_=ga(S=>{const x=e.selector?e.selector(S):S;!e.disableDuplicateCheck&&qce(x,f.current)&&!m.current||(d(x),x&&s(!1))},[e]);return Fl(()=>{const S=y.current;return()=>{S.timer&&clearTimeout(S.timer)}},[]),Kce({topic:t,callback:S=>{if(w<=0){_(S);return}const x=y.current;x.pending=S,x.hasPending=!0,!x.timer&&(x.timer=setTimeout(()=>{x.timer=null,x.hasPending&&(x.hasPending=!1,_(x.pending),x.pending=null)},w))},options:{...e,prevData:u,subscribePayload:e.subscribePayload}}),Fl(()=>{if(!n){const S=v.current,x=S.defaultValue===void 0?void 0:S.selector?S.selector(S.defaultValue):S.defaultValue;d(x),a(t,void 0),s(S.defaultValue!==void 0)}},[n,a,t]),{data:u,changeData:g,loading:!u&&!r,isDefaultData:i}},{useRef:wve}=await q("react"),{useMutation:bve}=await q("@tanstack/react-query"),{useMutation:yve}=await q("@tanstack/react-query"),{useMutation:_ve}=await q("@tanstack/react-query"),{useMutation:xve}=await q("@tanstack/react-query"),{useMutation:Sve}=await q("@tanstack/react-query"),{useMutation:Cve}=await q("@tanstack/react-query"),{useMutation:Eve}=await q("@tanstack/react-query"),{useMutation:Mve}=await q("@tanstack/react-query"),{useMutation:kve}=await q("@tanstack/react-query"),{useCallback:Rve}=await q("react"),{useCallback:Tve}=await q("react"),{useMutation:Nve}=await q("@tanstack/react-query"),{useMutation:Pve,useQueryClient:Ave}=await q("@tanstack/react-query"),{useMutation:Ive,useQueryClient:Ove}=await q("@tanstack/react-query"),{useMutation:Lve,useQueryClient:$ve}=await q("@tanstack/react-query"),{useMutation:Dve}=await q("@tanstack/react-query"),{useMutation:Bve}=await q("@tanstack/react-query"),{useMutation:zve}=await q("@tanstack/react-query"),{useMutation:Fve}=await q("@tanstack/react-query"),{useMutation:Vve}=await q("@tanstack/react-query"),{useMutation:jve}=await q("@tanstack/react-query"),{useMutation:Hve}=await q("@tanstack/react-query"),{useMutation:Wve}=await q("@tanstack/react-query"),{useMutation:qve}=await q("@tanstack/react-query"),{useMutation:Uve}=await q("@tanstack/react-query"),{useMutation:Yve}=await q("@tanstack/react-query"),{useMutation:Gve}=await q("@tanstack/react-query"),{useMutation:Kve}=await q("@tanstack/react-query"),{useMutation:Xve}=await q("@tanstack/react-query"),{useMutation:Zve}=await q("@tanstack/react-query"),{useMutation:Qve}=await q("@tanstack/react-query"),{useMutation:Jve}=await q("@tanstack/react-query"),{useMutation:ewe}=await q("@tanstack/react-query"),{useMutation:twe}=await q("@tanstack/react-query"),{useMutation:nwe}=await q("@tanstack/react-query"),{useMutation:rwe}=await q("@tanstack/react-query"),{useMutation:owe}=await q("@tanstack/react-query"),{useMutation:awe}=await q("@tanstack/react-query"),{useMutation:iwe}=await q("@tanstack/react-query"),{useMutation:swe}=await q("@tanstack/react-query"),{useMutation:lwe}=await q("@tanstack/react-query"),{useMutation:cwe}=await q("@tanstack/react-query"),{useMutation:uwe}=await q("@tanstack/react-query"),{useMutation:dwe}=await q("@tanstack/react-query"),{useMutation:fwe}=await q("@tanstack/react-query"),{useMutation:pwe}=await q("@tanstack/react-query"),{useMutation:hwe}=await q("@tanstack/react-query"),{useMutation:mwe}=await q("@tanstack/react-query"),{useMutation:gwe}=await q("@tanstack/react-query"),{useMutation:vwe}=await q("@tanstack/react-query"),{useMutation:wwe}=await q("@tanstack/react-query"),{useMutation:bwe}=await q("@tanstack/react-query"),{useMutation:ywe}=await q("@tanstack/react-query"),{useMutation:_we}=await q("@tanstack/react-query"),{useMutation:xwe}=await q("@tanstack/react-query"),{useMutation:Xce}=await q("@tanstack/react-query"),Zce="/setUrl",Swe=()=>Xce({mutationFn:t=>Lh.post(Zce,t)}),{useMutation:Cwe}=await q("@tanstack/react-query"),{useMutation:Ewe}=await q("@tanstack/react-query"),{useCallback:Mwe}=await q("react"),{useMutation:kwe}=await q("@tanstack/react-query"),{useCallback:Rwe}=await q("react"),{useMutation:Twe}=await q("@tanstack/react-query"),{useCallback:Nwe}=await q("react"),{useMutation:Pwe}=await q("@tanstack/react-query"),{useCallback:Awe}=await q("react"),{useMutation:Iwe}=await q("@tanstack/react-query"),{useCallback:Owe}=await q("react"),{useMutation:Lwe}=await q("@tanstack/react-query"),{useCallback:$we}=await q("react"),{useMutation:Dwe}=await q("@tanstack/react-query"),{useCallback:Bwe}=await q("react"),{useMutation:zwe}=await q("@tanstack/react-query"),{useMutation:Fwe}=await q("@tanstack/react-query"),{useMutation:Vwe}=await q("@tanstack/react-query"),{useMutation:jwe}=await q("@tanstack/react-query"),{useMutation:Hwe}=await q("@tanstack/react-query"),{useMutation:Wwe}=await q("@tanstack/react-query"),{useMutation:qwe}=await q("@tanstack/react-query"),{useMutation:Uwe}=await q("@tanstack/react-query"),{useMutation:Ywe}=await q("@tanstack/react-query"),{useCallback:Gwe}=await q("react"),{useMutation:Kwe}=await q("@tanstack/react-query"),{useCallback:Xwe}=await q("react"),{useEffect:Zwe,useRef:Qwe,useState:Jwe}=await q("react"),{useMutation:e3e}=await q("@tanstack/react-query"),{useEffect:t3e,useRef:n3e,useState:r3e}=await q("react"),{useMutation:o3e}=await q("@tanstack/react-query"),{useMutation:a3e}=await q("@tanstack/react-query"),{useMutation:i3e}=await q("@tanstack/react-query"),{useMutation:s3e}=await q("@tanstack/react-query"),{useEffect:l3e,useMemo:c3e,useState:u3e}=await q("react"),{useMemo:d3e}=await q("react"),Qce={moveState:{autoMove:"stop",moveId:"",moveResult:"",dockMove:"",jogMove:"none",obs:"none",pathState:"none",step:0,multiId:"",multiState:""},pose:{x:0,y:0,rz:0},vel:{vx:0,vy:0,wz:0},curNode:{id:"",name:"",state:"",pose:{x:0,y:0,rz:0}},goalNode:{id:"",name:"",state:"",pose:{x:0,y:0,rz:0}}},Jce=t=>({...t,pose:{x:String(t.pose.x),y:String(t.pose.y),rz:String(t.pose.rz)}});Jce(Qce);const{useCallback:f3e,useMemo:p3e}=await q("react"),{useMemo:h3e}=await q("react"),{useRef:m3e}=await q("react"),{useCallback:g3e,useEffect:v3e,useRef:w3e,useState:b3e}=await q("react"),{useCallback:y3e}=await q("react"),{useCallback:_3e}=await q("react"),{useEffect:Gx,useState:eue}=await q("react"),tue=t=>{const[e,n]=eue("");return Gx(()=>{},[e,t]),Gx(()=>{let r="",o;const a=i=>{clearTimeout(o);const s=document.activeElement;if(!(s&&(s.tagName==="INPUT"||s.tagName==="TEXTAREA"||s.tagName==="SELECT"||s.contentEditable==="true"))){if(i.key==="Enter"){n(r.trim()),r="";return}/^[a-zA-Z0-9\-_]$/.test(i.key)&&(r+=i.key),o=setTimeout(()=>{n(r.trim()),r=""},100)}};return window.addEventListener("keydown",a),()=>window.removeEventListener("keydown",a)},[]),{barCodeValue:e}},{useMemo:x3e}=await q("react"),{useEffect:S3e,useRef:C3e,useCallback:E3e}=await q("react"),{useRef:nue,useState:rue}=await q("react"),M3e=({onFiles:t,accept:e,multiple:n=!0,onRejected:r})=>{const o=nue(null),[a,i]=rue(!1),s=v=>{const g=n?v:v.slice(0,1);if(g.length===0)return;if(!e||e.length===0){t(g);return}const w=e.map(S=>S.toLowerCase()),y=g.filter(S=>w.some(x=>S.name.toLowerCase().endsWith(x))),_=g.filter(S=>!y.includes(S));_.length>0&&r?.(_),y.length>0&&t(y)},l=v=>{v.preventDefault(),v.stopPropagation(),i(!0)},u=v=>{v.preventDefault(),v.stopPropagation(),i(!1)},d=v=>{v.preventDefault(),v.stopPropagation(),i(!1),s(Array.from(v.dataTransfer.files))},f=()=>o.current?.click(),m={ref:o,type:"file",multiple:n,accept:e?.join(","),style:{display:"none"},onChange:v=>{s(Array.from(v.target.files??[])),v.target.value=""}};return{isDragging:a,dropProps:{onDragOver:l,onDragLeave:u,onDrop:d},inputProps:m,open:f}},oue={"popover-area":"_popover-area_y74pu_40","btn-popover":"_btn-popover_y74pu_45","popover-element-wrap":"_popover-element-wrap_y74pu_59","popover-element":"_popover-element_y74pu_59"},{cloneElement:aue,forwardRef:iue,useCallback:Rd,useEffect:sue,useImperativeHandle:lue,useMemo:Kx,useRef:Xx,useState:Zx}=await q("react"),w1=rn(oue,"rb-ui"),Qx=[],O3=iue(({id:t,className:e="",popoverAreaClassName:n,popoverElementClassName:r,anchorId:o,detectDoubleClick:a,popoverElement:i,popoverStyle:s={top:0,left:0,zIndex:1},popoverAnimation:l={name:"pop-fade",duration:200},ripple:u,disabled:d=!1,excludeOutSideIds:f=Qx,whenWindowScrollClose:m,children:v,onClick:g,onClose:w},y)=>{const _=Xx(null),S=Xx(!1),[x,C]=Zx(!1),[M,A]=Zx(""),O=Kx(()=>x?M==="enter"||M==="leave"?{animationName:l.name,animationDuration:`${l.duration}ms`,animationTimingFunction:l.timingFunc||"ease",animationDirection:M==="leave"?"reverse":"normal",animationFillMode:M==="leave"?"forwards":"normal"}:{}:{},[l,x,M]),D=Rd(L=>new Promise(V=>setTimeout(V,L)),[]),T=Rd(async()=>{!o||M==="leave"||(A(""),await D(10),A("leave"),await D(l.duration),C(!1),w?.())},[o,M,l.duration,D,w]),R=Rd(async()=>{o&&(C(!0),A("enter"),await D(l.duration),A(""))},[o,l.duration,D]),$=Rd(()=>{x?T():R()},[x,T,R]),P=Rd(async L=>{d||S.current&&a||(S.current=!0,setTimeout(()=>{S.current=!1},500),$(),g?.(L))},[a,d,$,g]),I=Kx(()=>{const L=typeof i?.type=="string"?void 0:{close:T};return h("div",{className:w1("popover-element-wrap",r),children:x&&h("div",{className:w1("popover-element",M),style:{...s,...O},children:aue(i??h(Mr,{}),L)})})},[O,T,x,i,r,s,M]);return Df(_,L=>{const V=[...f,o].filter(z=>!!z).concat(Qx).map(z=>document.querySelector(`#${z}`)).filter(z=>z),F=L.target;document.body.contains(F)&&(F.closest('[data-slot="select-drop-box"]')||V.some(z=>z?.contains(F))||x&&T())},{event:"mouseup"}),sue(()=>{const L=()=>{C(!1),A("")};return x&&m&&window.addEventListener("scroll",L),()=>{window.removeEventListener("scroll",L)}},[m,x]),lue(y,()=>({close:T,open:R})),ne("div",{ref:_,id:t,className:w1("popover-area",n),children:[h(Rr,{...u,disabled:d||u?.disabled,children:h("button",{className:w1("btn-popover",e,x&&"open",d&&"pointer-events-none cursor-not-allowed"),"data-pad-focus":"true",disabled:d,onClick:P,children:v})}),o?h(Ql,{id:o,children:I}):null]})});O3.displayName="PopoverButton";function Ak({className:t,onCancel:e,onConfirm:n,onReset:r,labels:o}){return ne(Go,{className:se("w-full p-4",t),justifyContent:"space-between",alignItems:"center",children:[h(Hr,{variant:"transparent",size:"sm",onClick:r,children:o?.reset??"Reset"}),ne(Go,{inline:!0,alignItems:"center",gap:4,children:[h(Hr,{className:"light:bg-fill-subtlest",variant:"soft",size:"sm",onClick:e,children:o?.cancel??"Cancel"}),h(Hr,{variant:"brand",size:"sm",onClick:n,children:o?.confirm??"Confirm"})]})]})}const cue=me(["inline-flex items-center overflow-hidden","bg-fill-control-surface outline outline-1 outline-offset-[-1px]","transition-colors"].join(" "),{variants:{size:{xs2:"px-2_5 h-8 rounded-md",sm:"px-2_5 h-9 rounded-md",md:"h-10 rounded-md px-3",lg:"h-12 rounded-lg px-3"},variant:{default:"outline-border-default"},focus:{true:"outline-border-input-focused",false:""},error:{true:"outline-border-danger-stronger",false:""},readOnly:{true:"bg-fill-control-surface-disabled outline-border-disabled",false:""},disabled:{true:"bg-fill-control-surface-disabled outline-border-disabled hover:bg-fill-control-surface-disabled text-fg-disabled pointer-events-none cursor-not-allowed",false:""}},compoundVariants:[{variant:"default",focus:!1,error:!1,readOnly:!1,disabled:!1,className:"[&:hover]:bg-fill-control-surface-hovered [&:hover]:outline-border-default"},{focus:!0,className:"[&:hover]:bg-fill-control-surface [&:hover]:outline-border-input-focused"},{error:!0,className:"[&:hover]:bg-fill-control-surface [&:hover]:outline-border-danger-stronger"},{readOnly:!0,className:"[&:hover]:bg-fill-control-surface-disabled [&:hover]:outline-border-disabled"},{disabled:!0,className:"[&:hover]:bg-fill-control-surface-disabled [&:hover]:outline-border-disabled"}],defaultVariants:{size:"md",variant:"default",focus:!1,error:!1,readOnly:!1,disabled:!1}}),uue=me("flex-1 truncate text-left",{variants:{size:{xs2:"typo-compact-xs2-normal pr-1",sm:"typo-compact-sm-normal pr-1",md:"typo-compact-sm2-normal pr-1_5",lg:"typo-compact-sm2-normal pr-2"},placeholder:{true:"text-fg-subtler font-normal",false:"text-fg-default font-medium"},disabled:{true:"text-fg-disabled",false:""}},defaultVariants:{size:"md",placeholder:!0,disabled:!1}}),due=me("inline-flex shrink-0 items-center justify-center",{variants:{size:{xs2:"size-4",sm:"size-4",md:"size-5",lg:"size-5"},disabled:{true:"text-fg-disabled",false:"text-fg-default"}},defaultVariants:{size:"md",disabled:!1}}),fue=me(["absolute left-0 z-[999999] max-w-0","bg-overlay outline-border-subtle rounded-md outline outline-1 outline-offset-[-1px]","shadow-down-xs","overflow-x-hidden"].join(" "),{variants:{mode:{default:"no-scrollbar max-h-60 overflow-y-auto p-1",empty:"p-1_5 h-48 max-h-56",loading:"p-1_5 h-48 max-h-56"}},defaultVariants:{mode:"default"}}),pue=me("text-center",{variants:{size:{xs2:"typo-compact-xs2-normal",sm:"typo-compact-sm-normal",md:"typo-compact-sm2-normal",lg:"typo-compact-sm2-normal"}},defaultVariants:{size:"md"}}),hue=me("inline-flex h-9 w-full items-center overflow-hidden rounded-sm px-3",{variants:{selected:{true:"",false:""},disabled:{true:"",false:""},hovered:{true:"bg-fill-transparent-hovered",false:"bg-fill-transparent"}},compoundVariants:[{selected:!1,disabled:!1,hovered:!1,className:"text-fg-subtler font-normal"},{selected:!1,disabled:!1,hovered:!0,className:"text-fg-default font-normal"},{selected:!0,disabled:!1,className:"text-fg-default font-semibold"},{selected:!1,disabled:!0,className:"text-fg-disabled font-normal"},{selected:!0,disabled:!0,className:"text-fg-disabled font-semibold"}],defaultVariants:{selected:!1,disabled:!1,hovered:!1}}),mue=me("line-clamp-1 flex-1 pr-4 text-left",{variants:{size:{xs2:"typo-compact-xs2-normal",sm:"typo-compact-xs2-normal",md:"typo-compact-xs2-normal",lg:"typo-compact-xs2-normal"}},defaultVariants:{size:"md"}}),{useCallback:gue,useMemo:vue,useState:wue}=await q("react"),Xv=({className:t="",size:e="md",text:n,value:r,label:o,children:a,description:i,selectedValue:s="",searchText:l="",enableGamepadFocus:u,disabled:d,handleChange:f})=>{const m=s===r,[v,g]=wue(!1),w=vue(()=>l?kn.lowerCase(n).includes(kn.lowerCase(l)):!1,[n,l]),y=gue(_=>{_.button===2||d||f?.({label:o??a,value:r})},[a,d,f,r,o]);return h("div",{"data-slot":"select-option",className:se(hue({selected:m,disabled:!!d,hovered:!d&&(w||v)}),i&&"h-auto min-h-9 overflow-visible py-2",t,{active:m}),role:"button","data-pad-focus":u&&!d?"true":"false",tabIndex:-1,onClick:y,onMouseEnter:()=>{d||g(!0)},onMouseLeave:()=>g(!1),children:ne("div",{"data-slot":"select-option-content",className:"flex min-w-0 flex-1 items-center gap-2",children:[ne("div",{"data-slot":"select-option-text",className:se("min-w-0 flex-1",mue({size:e}),i&&"line-clamp-none"),children:[a,i&&h("div",{"data-slot":"select-option-description",className:"typo-compact-xs-normal text-fg-subtle",children:i})]}),m&&h(Ys,{"aria-hidden":!0,"data-slot":"select-option-check",className:se("size-4 shrink-0",d?"text-fg-disabled":"text-fg-default")})]})})};Xv.displayName="Option";const Ik=me("",{variants:{size:{xs2:"typo-compact-xs-normal",sm:"typo-compact-xs2-normal",md:"typo-compact-sm2-normal",lg:"typo-compact-sm2-normal",xl:"typo-compact-lg-normal"}},defaultVariants:{size:"md"}}),L3=({className:t,nullText:e="no data",children:n,style:r,size:o})=>ne("div",{"data-slot":"no-data",className:se("text-fg-subtle flex flex-col items-center justify-center gap-1",t,Ik({size:o})),style:r,children:[h("span",{"data-slot":"no-data-icon",className:"inline-flex items-center justify-center",children:n}),h("div",{"data-slot":"no-data-text",children:e})]}),{useEffect:bue,useRef:yue,useMemo:_ue,Children:xue}=await q("react"),Sue=({className:t,children:e,size:n,noDataMsg:r=h(L3,{className:se(Ik({size:n}),"flex h-full w-full items-center justify-center")}),...o})=>{const a=yue(null),i=_ue(()=>xue.map(e,s=>s).length===0,[e]);return bue(()=>{setTimeout(()=>{const s=document.querySelector('[data-slot="dialog-content"]');if(s&&o.open){const l=s.querySelector(".active");typeof s.scrollTo=="function"&&s.scrollTo(0,l?.offsetTop??0)}},50)},[o.open]),h(ac,{"data-slot":"select-modal-drop-box",className:se("bg-overlay shadow-down-xs border-subtle max-h-[calc(var(--vh,1vh)*50)] w-min max-w-[90vw] min-w-80 overflow-y-auto p-1 outline-hidden",t),...o,children:h("div",{ref:a,"data-slot":"select-modal-drop-box-list",className:se(i?"flex min-h-60 items-stretch":""),children:i?r:e})})},{Children:Cue,forwardRef:Eue,useCallback:L2,useEffect:El,useImperativeHandle:Mue,useMemo:Jx,useRef:e6}=await q("react"),kue=4,Ok=Eue((t,e)=>{const{className:n,theme:r,size:o,children:a,label:i,inputEl:s,parentEl:l,maxHeight:u=200,search:d,searchText:f="",searchPlaceholder:m,noDataMsg:v=h(L3,{className:se(pue({size:o}),"flex h-full w-full items-center justify-center")}),direction:g="bottom",showCloseBtn:w,whenScrollCloseDropBox:y,setOpen:_,handleSearchTextChange:S,handleKeyPress:x}=t,C=e6(null),M=e6(null),{isMobile:A}=u3(),O=g==="top"?"top-start":"bottom-start",{refs:D,floatingStyles:T,update:R}=f8({placement:O,strategy:"fixed",whileElementsMounted:u8,middleware:[p8(kue),m8({fallbackPlacements:g==="top"?["bottom-start"]:["top-start"]}),h8({padding:8}),g8({apply({availableHeight:z,rects:B,elements:Y}){const U=Math.min(u,Math.max(120,z));Object.assign(Y.floating.style,{minWidth:`${B.reference.width}px`,maxHeight:`${U}px`})}})]}),$=window.innerHeight*.01;document.documentElement.style.setProperty("--vh",$+"px");const P=Jx(()=>Cue.map(a,z=>z).length===0,[a]),I=Jx(()=>A?i||w:!1,[A,i,w]),L=L2(z=>{const{value:B}=z.target;S(B)},[S]),V=L2(()=>{S("")},[S]),F=L2(()=>{s&&s.blur(),_(!1)},[s,_]);return El(()=>{const z=M.current;if(z){const B=z.querySelector(".active");if(B&&typeof z.scrollTo=="function"){const Y=B.getBoundingClientRect().top-z.getBoundingClientRect().top+z.scrollTop;z.scrollTo(0,Y)}}},[l]),El(()=>{if(M){const z=M.current,B=z.querySelector(".match");B&&([...z.children].map(Y=>Y.classList.remove("match")),B.classList.add("match"),z.scrollTo(0,B.offsetTop))}},[f,M]),El(()=>{const z=()=>{window.innerWidth<800||(_(!1),s&&s.blur())};return window.removeEventListener("resize",z),window.addEventListener("resize",z),y&&(window.removeEventListener("scroll",z),window.addEventListener("scroll",z)),()=>{window.removeEventListener("scroll",z),window.removeEventListener("resize",z)}},[s,_,y]),El(()=>(A&&V7(),()=>{A&&j7()}),[A]),Mue(e,()=>C.current),El(()=>{D.setReference(l)},[l,D]),El(()=>{const B=(U=>{const le=[];let J=U?.parentElement??null;for(;J;){const re=window.getComputedStyle(J),te=re.overflowY,oe=re.overflowX;(/(auto|scroll|overlay)/.test(te)||/(auto|scroll|overlay)/.test(oe))&&le.push(J),J=J.parentElement}return le.push(window),le})(l),Y=()=>{R()};return B.forEach(U=>U.addEventListener("scroll",Y,{passive:!0})),window.addEventListener("resize",Y,{passive:!0}),()=>{B.forEach(U=>U.removeEventListener("scroll",Y)),window.removeEventListener("resize",Y)}},[l,R]),El(()=>{let z=0;const B=()=>{R(),z=window.requestAnimationFrame(B)};return z=window.requestAnimationFrame(B),()=>{window.cancelAnimationFrame(z)}},[R]),ne("div",{ref:z=>{C.current=z,D.setFloating(z)},"data-slot":"select-drop-box","data-pad-scope":"dropdown-box","data-theme":r,role:"button",tabIndex:-1,className:se(fue({mode:P?"empty":"default"}),"!fixed !top-0 !left-0 flex flex-col",n),style:T,onKeyDown:x,children:[I&&ne("div",{"data-slot":"select-drop-box-header",className:"border-subtle flex items-center gap-2 border-b px-2 py-2",children:[i&&h("label",{"data-slot":"select-drop-box-label",className:"text-fg-default flex-1 text-sm font-medium",children:i}),w&&h("button",{type:"button","data-slot":"select-drop-box-close",className:"text-fg-subtle ml-auto px-2 text-sm",onClick:F,children:h(wf,{})})]}),d&&h("div",{"data-slot":"select-drop-box-search",className:"border-subtle border-b p-1",children:h(uw,{type:"text",size:o,className:"w-full",placeholder:m,value:f,prefixIcon:h(oh,{className:"text-fg-subtle size-4"}),onChange:L,onKeyDown:x,handleReset:V})}),h("div",{ref:M,"data-slot":"select-drop-box-list",className:se("min-h-0 overflow-y-auto",P?"flex flex-1 items-stretch":""),children:P?v:a})]})});Ok.displayName="SelectDropBox";const{Children:Rue,cloneElement:Tue,useCallback:Kc,useEffect:b1,useMemo:y1,useRef:_1,useState:Ml,forwardRef:Nue,useImperativeHandle:Pue}=await q("react"),Zv=Nue((t,e)=>{const{className:n="",size:r="md",children:o,name:a,value:i,error:s,search:l,mobileLabel:u,placeholder:d,disabled:f,readOnly:m,dropBoxClassName:v,modalBoxClassName:g,selectArrow:w=h(nh,{}),keepDropDown:y,searchPlaceholder:_="Search",showCloseBtn:S,whenScrollCloseDropBox:x,enableModal:C=!So.isDesktop,enableGamepadFocus:M=!0,noDataMsg:A,onClick:O,handleChange:D,...T}=t,R=_1(null),$=_1(null),P=_1(null),I=_1(Date.now()),[L,V]=Ml(i),[F,z]=Ml(""),[B,Y]=Ml(""),[U,le]=Ml(!1),[J,re]=Ml(!1),[te,oe]=Ml(null),[ee,ue]=Ml(null),fe=y1(()=>{const Ae=({value:at})=>{f||(V(at),D?.(at,a),R.current.value=String(at),T.onChange?.({target:R.current}),y||le(!1))},Ke=at=>(at??[]).flatMap(ut=>{if(!ut?.props)return[];if(ut.type?.displayName==="Option"){let mt;return ut.props.text||(typeof ut.props.label=="string"?mt=ut.props.label:typeof ut.props.children=="string"?mt=ut.props.children:mt=ut.props.value.toString()),Tue(ut,{...ut.props,size:r,text:mt.toLowerCase(),selectedValue:L,searchText:F,handleChange:Ae,enableGamepadFocus:M})}return Array.isArray(ut.props.children)?Ke(ut.props.children):[]}),Me=Rue.map(o,at=>at);return Ke(Me)},[o,f,D,a,T,y,r,L,F,M]),ye=y1(()=>fe.filter(Ae=>Ae.props.text.toLowerCase().includes(B.toLowerCase())),[fe,B]),we=y1(()=>fe.find(Ae=>{const Ke=Ae.props.value;return Ke===L||Ke===i}),[fe,L,i]),Ne=y1(()=>{if(!we){const Me=fe[0]?.props;return{text:d??Me?.label??Me?.children??"",isPlaceholder:!!d}}const{label:Ae,children:Ke}=we.props;return{text:Ae??Ke??"",isPlaceholder:!1}},[we,fe,d]),Ie=Kc(()=>{const Ae=Date.now();if(Ae-I.current<300){I.current=Ae;return}if(O)O();else{if(f||m)return;const Me=$.current?.closest("[data-theme]")?.getAttribute("data-theme");oe(Me),le(at=>!at),I.current=Ae}},[f,m,O]),Pe=Kc(Ae=>{z(Ae),Y(Ae)},[]),he=Kc(()=>{if(!U){le(!0);return}const Ae=fe.find(Ke=>Ke.props.text.includes(F.toLowerCase()));if(Ae){const Ke=Ae.props;V(Ke.value),D?.(Ke.value,a),R.current.value=String(Ke.value||""),T.onChange?.({target:R.current}),le(!1),R.current.blur()}},[D,T,a,U,fe,F]),ge=Kc(Ae=>{let Ke;const Me=fe.findIndex(ut=>{const mt=ut.props;return F?mt.text===F:mt.value===L});Ae==="down"?Ke=Me+1>=fe.length?fe[0]:fe[Me+1]:Ke=Me<=0?fe[fe.length-1]:fe[Me-1];const at=Ke.props.text;z(at)},[fe,L,F]),be=Kc(Ae=>{Ae.key==="Enter"&&!Ae.nativeEvent.isComposing?he():Ae.key==="ArrowDown"?(ge("down"),Ae.preventDefault()):Ae.key==="ArrowUp"&&(ge("up"),Ae.preventDefault())},[he,ge]),Ue=Kc((Ae,Ke)=>{re(Ke),Ke?T.onFocus?.(Ae):T.onBlur?.(Ae)},[T]);return Df($,Ae=>{!("button"in Ae&&Ae.button===2)&&!P.current?.contains(Ae.target)&&le(!1)},{offTouchEvent:!0}),b1(()=>{if(fe.length&&!d&&!we){const Ke=fe[0].props.value;V(R.current?.value??Ke)}},[d,we,fe]),b1(()=>{typeof i<"u"&&V(i)},[i]),b1(()=>{U||(z(""),Y(""))},[U]),b1(()=>{if(!U){ue(null);return}const Ae=$.current?.closest('[data-slot="dialog-content"]');ue(Ae instanceof HTMLElement?Ae:null)},[U]),Pue(e,()=>(R.current.handleClickSelectBox=Ie,{...R.current,get value(){return R.current.value},set value(Ae){V(Ke=>typeof Ke=="string"&&Ke===Ae||typeof Ke=="number"&&Ke===Number(Ae)||typeof Ke=="boolean"&&String(Ke)===String(Ae)?Ke:Ae),R.current.value=Ae}})),ne(Mr,{children:[h("div",{ref:$,"data-slot":"select-box",className:se(cue({size:r,variant:"default",focus:J,error:s,disabled:f,readOnly:m}),n),onClick:Ie,children:ne("label",{"data-slot":"select-box-control",className:"relative flex w-full min-w-0 items-center",children:[h("div",{"data-slot":"select-box-value",className:uue({size:r,placeholder:Ne.isPlaceholder,disabled:f}),children:h("span",{children:Ne.text})}),h("input",{...T,ref:R,type:"text",value:L??R.current?.value??"",name:a,readOnly:!0,className:"sr-only","data-pad-focus":M?"true":"false",onFocus:Ae=>Ue(Ae,!0),onBlur:Ae=>Ue(Ae,!1),onKeyDown:be}),h("span",{"data-slot":"select-box-icon",className:se(due({size:r,disabled:f}),"transition-transform duration-200",U&&"rotate-180"),children:w})]})}),C&&h(Sue,{className:g,type:"dialog",open:U,size:r,hideCloseButton:!0,onOpenChange:le,noDataMsg:A,children:ye}),!C&&U&&h(Ql,{container:ee,children:h(Ok,{ref:P,className:v,size:r,label:u,inputEl:R.current,parentEl:$.current,theme:te,setOpen:le,search:l,searchText:F,searchPlaceholder:_,showCloseBtn:S,whenScrollCloseDropBox:x,noDataMsg:A,handleSearchTextChange:Pe,handleKeyPress:be,children:ye})})]})});Zv.displayName="RBSelectBox";const Aue=me("inline-flex w-full items-start gap-2",{defaultVariants:{controlPlacement:"start",size:"default",tone:"default",type:"default"},compoundVariants:[{className:"outline-border-danger-stronger",tone:"invalid",type:"box"}],variants:{controlPlacement:{end:"justify-between",start:"justify-start"},size:{default:"",sm:"gap-1.5"},tone:{default:"",disabled:"",invalid:""},type:{box:"bg-raised outline-border-subtle p-2_5 rounded-md outline outline-1 outline-offset-[-1px]",default:""}}}),Iue=me("focus-visible:ring-border-stronger data-[state=checked]:bg-fill-brand data-[state=unchecked]:bg-fill-subtler relative inline-flex shrink-0 items-center rounded-full border border-transparent outline-hidden transition-colors focus-visible:ring-2 disabled:pointer-events-none",{variants:{size:{default:"h-5 w-9",sm:"h-4 w-7"},tone:{default:"",disabled:"data-[state=checked]:bg-fill-subtler data-[state=unchecked]:bg-fill-subtler",invalid:"border-danger-stronger"}},defaultVariants:{size:"default",tone:"default"}}),Oue=me(["absolute top-1/2 left-0 -translate-y-1/2","data-[state=unchecked]:translate-x-0.5","pointer-events-none rounded-full transition-transform"].join(" "),{variants:{size:{default:"size-4 data-[state=checked]:translate-x-4",sm:"size-3 data-[state=checked]:translate-x-3"},tone:{default:"data-[state=checked]:bg-fg-static-white bg-white",disabled:"bg-fg-disabled data-[state=checked]:!bg-fg-disabled",invalid:""}},defaultVariants:{size:"default",tone:"default"}}),Lue=me("gap-0_5 inline-flex min-w-0 flex-1 flex-col"),$ue=me("text-fg-default",{defaultVariants:{size:"default",tone:"default"},variants:{size:{default:"typo-compact-sm-medium",sm:"typo-compact-xs-semibold"},tone:{default:"",disabled:"text-fg-disabled",invalid:"text-fg-danger"}}}),Due=me("text-fg-default",{defaultVariants:{size:"default",tone:"default"},variants:{size:{default:"typo-compact-sm-normal",sm:"typo-compact-xs-normal"},tone:{default:"",disabled:"text-fg-disabled",invalid:""}}});function t6({className:t,disabled:e=!1,invalid:n=!1,size:r="default",...o}){const a=e?"disabled":n?"invalid":"default";return h(PX,{"data-slot":"switch","data-size":r,"data-tone":a,"data-pad-focus":"true",disabled:e,className:se(Iue({tone:a,size:r}),t),...o,children:h(AX,{"data-slot":"switch-thumb",className:Oue({size:r,tone:a})})})}const{useCallback:Xc,useMemo:n6,useState:$2}=await q("react"),Bue=Array.from({length:24},(t,e)=>String(e).padStart(2,"0")),zue=Array.from({length:60},(t,e)=>String(e).padStart(2,"0")),r6=t=>Number(t.hour)*60+Number(t.minute);function Lk({pickerType:t="range",setTimeEnabled:e,startTime:n,endTime:r,onEndTimeChange:o,onSetTimeChange:a,onStartTimeChange:i,selectedDate:s,setSelectedDate:l,enforceTimeOrder:u=!0,labels:d}){const[f,m]=$2(!1),[v,g]=$2(n??{hour:"00",minute:"00"}),[w,y]=$2(r??{hour:"00",minute:"00"}),_=e??f,S=t==="range"?"min-w-[84px]":"min-w-[76px]",x=Xc(P=>P?{hour:String(P.getHours()).padStart(2,"0"),minute:String(P.getMinutes()).padStart(2,"0")}:{hour:"00",minute:"00"},[]),C=n6(()=>n??(s?.from?x(s.from):v),[x,v,s?.from,n]),M=n6(()=>r??(s?.to?x(s.to):w),[r,x,w,s?.to]),A=Xc((P,I,L)=>{const V=r6(I),F=r6(L);return u?P==="from"&&V>F?{start:I,end:I}:P==="to"&&V<F?{start:I,end:I}:{start:P==="from"?I:L,end:P==="to"?I:L}:{start:P==="from"?I:L,end:P==="to"?I:L}},[u]),O=Xc((P,I,L)=>{if(!l||!s)return;const V=L?new Date(L):void 0;V&&(V.setHours(Number(I.hour),Number(I.minute),0,0),l({...s,[P]:V}))},[s,l]),D=Xc(P=>{a?.(P),e===void 0&&m(P)},[a,e]),T=Xc(P=>{const I=A("from",P,M);i?.(I.start),o?.(I.end),l&&s?.from?(O("from",I.start,s.from),s.to&&O("to",I.end,s.to)):(g(I.start),y(I.end))},[o,i,M,s,l,A,O]),R=Xc(P=>{const I=A("to",P,C);i?.(I.start),o?.(I.end),l&&s?.to?(s.from&&O("from",I.start,s.from),O("to",I.end,s.to)):(g(I.start),y(I.end))},[o,i,C,s,l,A,O]),$=t==="range"?[{label:d?.from??"From",time:C,onChange:T},{label:d?.to??"To",time:M,onChange:R}]:[{label:d?.from??"Time",time:C,onChange:T}];return h("div",{"data-slot":"footer-time",className:"border-subtle flex w-full flex-col items-start border-t",children:ne("div",{"data-slot":"footer-time-content",className:se("w-full px-4 py-3",t==="range"?"inline-flex items-center justify-between gap-4":"flex flex-wrap items-start gap-2"),children:[t==="range"?ne("label",{"data-slot":"footer-time-set-time",className:"inline-flex shrink-0 items-center gap-2",children:[h(t6,{checked:_,onCheckedChange:D}),h("span",{className:"typo-compact-sm-medium text-fg-default whitespace-nowrap",children:d?.setTime??"Set Time"})]}):ne("label",{"data-slot":"footer-time-set-time",className:"inline-flex shrink-0 items-center gap-2",children:[h(t6,{checked:_,onCheckedChange:D}),h("span",{className:"typo-compact-sm-medium text-fg-default whitespace-nowrap",children:d?.setTime??"Set Time"})]}),h("div",{"data-slot":"footer-time-time-rows",className:se("flex w-full items-center",t==="range"?"justify-end gap-4":"flex-col gap-1"),children:$.map(({label:P,time:I,onChange:L})=>ne("div",{"data-slot":"footer-time-row",className:se("inline-flex items-center",t==="range"?"shrink-0 gap-2":"w-full justify-between"),children:[h("div",{className:"typo-compact-sm-medium text-fg-subtler text-center whitespace-nowrap",children:P}),ne("div",{className:"inline-flex items-center gap-2",children:[h(Zv,{"data-slot":"footer-time-hour-select",className:se("w-fit",S),size:"sm",value:I.hour,disabled:!_,readOnly:!_,placeholder:I.hour,handleChange:V=>L({...I,hour:String(V??"00")}),children:Bue.map(V=>h(Xv,{value:V,children:V},V))}),h(Zv,{"data-slot":"footer-time-minute-select",className:se("w-fit",S),size:"sm",value:I.minute,disabled:!_,readOnly:!_,placeholder:I.minute,handleChange:V=>L({...I,minute:String(V??"00")}),children:zue.map(V=>h(Xv,{value:V,children:V},V))})]})]},P))})]})})}function $k({label:t,onClick:e}){return h(Hr,{className:"light:bg-fill-subtlest",size:"xs",variant:"soft",onClick:e,children:t})}const Dk=me(["gap-1_5 inline-flex min-w-72 items-center overflow-hidden","outline outline-1 outline-offset-[-1px]","transition-colors"].join(" "),{variants:{size:{xs2:"h-8 rounded-md px-2",sm:"h-9 rounded-md px-2",md:"px-2_5 h-10 rounded-md",lg:"px-2_5 h-12 rounded-lg"},variant:{default:"bg-fill-control-surface outline-border-default"},focus:{true:"outline-border-input-focused",false:""},error:{true:"outline-border-danger-stronger",false:""},readOnly:{true:"bg-fill-control-surface-disabled outline-border-disabled",false:""},disabled:{true:"bg-fill-control-surface-disabled outline-border-disabled pointer-events-none cursor-not-allowed",false:""},interactive:{true:"cursor-pointer",false:"cursor-default"}},compoundVariants:[{variant:"default",focus:!1,error:!1,readOnly:!1,disabled:!1,className:"[&:hover]:bg-fill-control-surface-hovered [&:hover]:outline-border-default"},{focus:!0,className:"[&:hover]:bg-fill-control-surface-hovered [&:hover]:outline-border-input-focused"},{error:!0,className:"[&:hover]:bg-fill-control-surface [&:hover]:outline-border-danger-stronger"},{readOnly:!0,className:"[&:hover]:bg-fill-control-surface-disabled [&:hover]:outline-border-disabled"},{disabled:!0,className:"[&:hover]:bg-fill-control-surface-disabled [&:hover]:outline-border-disabled"}],defaultVariants:{size:"md",variant:"default",focus:!1,error:!1,readOnly:!1,disabled:!1,interactive:!0}}),Bk=me("inline-flex shrink-0 items-center justify-center [&_svg]:block [&_svg]:shrink-0 [&_svg]:leading-none",{variants:{size:{xs2:"size-4",sm:"size-4",md:"size-5",lg:"size-5"},disabled:{true:"text-fg-disabled",false:"text-fg-subtlest"}},defaultVariants:{size:"md",disabled:!1}}),zk=me("inline-flex min-w-0 flex-1 items-center gap-1 overflow-hidden whitespace-nowrap"),g0=me("truncate",{variants:{size:{xs2:"typo-compact-xs2-normal",sm:"typo-compact-xs2-medium",md:"typo-compact-sm2-medium",lg:"typo-compact-sm2-medium"},tone:{default:"text-fg-default",placeholder:"text-fg-subtler font-normal"},disabled:{true:"text-fg-disabled",false:""}},compoundVariants:[{tone:"placeholder",disabled:!0,className:"text-fg-disabled"}],defaultVariants:{size:"md",tone:"default",disabled:!1}}),Fue=me("",{variants:{size:{xs2:"typo-compact-xs2-normal",sm:"typo-compact-xs2-normal",md:"typo-compact-sm2-medium",lg:"typo-compact-sm2-medium"},disabled:{true:"text-fg-disabled",false:"text-fg-subtler"}},defaultVariants:{size:"md",disabled:!1}}),Fk=me(["bg-overlay relative z-[1]","shadow-up-lg inline-flex flex-col overflow-visible","outline-border-subtle rounded-md outline outline-1 outline-offset-[-2px]"].join(" "),{variants:{pickerType:{basic:"max-w-72",range:"min-w-140"}},defaultVariants:{pickerType:"basic"}}),Vue=me("py-1_5 inline-flex w-full items-start justify-between"),jue=me("inline-flex flex-1 flex-col items-start justify-start p-3"),Hue=me("typo-compact-sm-medium inline-flex size-5 items-center justify-center text-center",{variants:{weekend:{true:"text-fg-danger",false:"text-fg-default"}},defaultVariants:{weekend:!1}}),kl=me(["typo-compact-sm-medium relative flex h-9 flex-1 items-center justify-center px-2 text-center","transition-colors"].join(" "),{variants:{state:{default:"bg-fill-transparent text-fg-default hover:bg-fill-transparent-hovered rounded-md",disabled:"bg-fill-transparent text-fg-disabled pointer-events-none !cursor-default rounded-md",single:"bg-fill-brand text-fg-default hover:!bg-fill-brand-hovered rounded-md font-semibold",rangeStart:"bg-fill-brand hover:!bg-fill-brand-hovered rounded-none! rounded-l-md! font-medium text-white",rangeMiddle:"bg-fill-subtlest text-fg-default rounded-none!",rangeEnd:"bg-fill-brand hover:!bg-fill-brand-hovered rounded-none! rounded-r-md! font-medium text-white"}},defaultVariants:{state:"default"}}),{useRef:Wue}=await q("react");function que(t){const e=Wue(null),n=_C(t.date,t.displayMonth,e);if(n.isHidden)return h("div",{role:"gridcell"});if(!n.isButton)return h("div",{...n.divProps});const r=n.activeModifiers.outside,o=n.buttonProps["aria-selected"]===!0||n.buttonProps["aria-selected"]==="true"||n.activeModifiers.selected||n.activeModifiers.range_start||n.activeModifiers.range_end||n.activeModifiers.range_middle,a=r||n.activeModifiers.range_start||n.activeModifiers.range_end||n.activeModifiers.range_middle,i=n.buttonProps.className?.replace(a?/\bday_selected\b/g:/$^/,"").replace(r||o?/\bday_range_start\b|\bday_range_end\b|\bday_range_middle\b|\bday_today\b/g:/$^/,"").replace(/\s+/g," ").trim();return h(uf,{ref:e,...n.buttonProps,className:i,"aria-selected":r?void 0:n.buttonProps["aria-selected"],disabled:n.buttonProps.disabled||r})}function Vk({classNames:t,showOutsideDays:e=!0,...n}){return h(MX,{showOutsideDays:e,className:"cursor-default",classNames:{months:se(Vue(),n.mode==="range"?"gap-0":"justify-center"),month:jue(),caption:"bg-fill-transparent relative inline-flex h-8 w-full items-center justify-center px-8",caption_label:"typo-compact-sm-semibold text-fg-default pointer-events-none",nav:"flex items-center gap-1",nav_button:se(h7({variant:"transparent",size:"xs"}),"absolute top-1/2 size-5 -translate-y-1/2 p-0"),nav_button_previous:"left-0",nav_button_next:"right-0",table:"w-full border-collapse",head_row:"inline-flex h-10 w-full items-center justify-center",head_cell:se("flex h-9 flex-1 items-center justify-center overflow-hidden px-2",Hue(),"[&:first-child]:text-fg-danger [&:last-child]:text-fg-danger"),row:"inline-flex h-10 w-full items-center justify-center",cell:se("relative flex h-9 flex-1 items-center justify-center overflow-hidden p-0 text-center focus-within:relative focus-within:z-20",n.mode==="range"?"[&:has(>.day-range-end)]:rounded-r-md! [&:has(>.day-range-start)]:rounded-l-md! first:[&:has([aria-selected])]:rounded-l-md! last:[&:has([aria-selected])]:rounded-r-md!":"[&:has([aria-selected])]:rounded-md!"),day:se(kl({state:"default"}),"h-9 w-full flex-none px-0"),day_range_start:se(kl({state:"rangeStart"}),"h-9 w-full flex-none px-0 text-white!"),day_range_end:se(kl({state:"rangeEnd"}),"h-9 w-full flex-none px-0 text-white!"),day_selected:se(kl({state:"single"}),"h-9 w-full flex-none px-0"),day_today:"[&:not([aria-selected=true])]:!bg-fill-default [&:not([aria-selected=true])]:hover:!bg-fill-default [&:not([aria-selected=true])]:rounded-full! [&:not([aria-selected=true])]:!text-fg-inverse",day_outside:se(kl({state:"disabled"}),"!bg-fill-transparent hover:!bg-fill-transparent aria-selected:text-fg-disabled"),day_disabled:se(kl({state:"disabled"}),"h-9 w-full flex-none px-0"),day_range_middle:se(kl({state:"rangeMiddle"}),"h-9 w-full flex-none rounded-none! px-0 hover:text-white!"),day_hidden:"invisible",...t},components:{Day:que,IconLeft:({className:r,...o})=>h(rh,{className:se("size-4",r),...o}),IconRight:({className:r,...o})=>h(Pu,{className:se("size-4",r),...o})},...n})}const{useCallback:Td,useEffect:o6,useId:Uue,useRef:Yue,useState:ma}=await q("react"),Gue=[{key:"today",label:"Today"},{key:"month-ago",label:"1 month ago"},{key:"year-ago",label:"1 year ago"}],su=()=>({hour:"00",minute:"00"}),Zc=t=>t?{hour:String(t.getHours()).padStart(2,"0"),minute:String(t.getMinutes()).padStart(2,"0")}:su(),x1=t=>!!(t&&(t.getHours()!==0||t.getMinutes()!==0)),a6=(t,e)=>{const n=new Date(t);return n.setHours(Number(e.hour),Number(e.minute),0,0),n},eo=t=>Array.isArray(t)?t[0]:t,xs=t=>Array.isArray(t)?t[1]:t,i6=(t,e,n,r,o)=>{if(!t)return e;const a=W7(t.getTime());return n?`${a} ${r.hour}:${r.minute}`:a},k3e=({className:t,showType:e="popover",value:n,name:r,disabled:o,readOnly:a,size:i="md",variant:s="default",error:l=!1,showPresets:u=!0,showFooter:d=!0,placeholder:f,handleChange:m})=>{const v=Yue(null),g=Uue().replace(/:/g,""),[w,y]=ma(!1),[_,S]=ma(!1),[x,C]=ma(eo(n)?new Date(eo(n)):void 0),[M,A]=ma(eo(n)?new Date(eo(n)):void 0),[O,D]=ma(eo(n)?new Date(eo(n)):new Date),[T,R]=ma(x1(eo(n)?new Date(eo(n)):void 0)||x1(xs(n)?new Date(xs(n)):void 0)),[$,P]=ma(T),[I,L]=ma(Zc(eo(n)?new Date(eo(n)):void 0)),[V,F]=ma(Zc(eo(n)?new Date(eo(n)):void 0)),[z,B]=ma(Zc(xs(n)?new Date(xs(n)):void 0)),[Y,U]=ma(Zc(xs(n)?new Date(xs(n)):void 0)),le=typeof f=="string"?f:"Select date",J=()=>{e==="popover"||o||y(!0)},re=ye=>{ye.key==="Enter"&&(v.current?.open(),y(!0))},te=Td(()=>{y(!1),v.current?.close()},[]),oe=Td(()=>{if(M){const ye=$?a6(M,V):a6(M,su());C(ye),R($),L(V),m?.(ye.getTime(),void 0,r??"")}te()},[m,te,r,M,V,$]),ee=Td(()=>{C(void 0),A(void 0),R(!1),P(!1),L(su()),F(su()),B(su()),U(su()),m?.(void 0,void 0,r??"")},[m,r]),ue=Td(ye=>{const we=new Date,Ne=new Date(we);switch(ye){case"today":break;case"month-ago":Ne.setMonth(we.getMonth()-1);break;case"year-ago":Ne.setFullYear(we.getFullYear()-1);break}A(Ne),D(Ne)},[]),fe=Td(()=>ne(Xl,{className:se(Fk({pickerType:"basic"})),children:[u&&h("div",{"data-slot":"date-input-presets",className:"border-subtle inline-flex w-full flex-wrap items-start justify-center gap-1 border-b px-3 py-4",children:Gue.map(ye=>h($k,{label:ye.label,onClick:()=>ue(ye.key)},ye.key))}),h(Vk,{"data-slot":"date-input-calendar",month:O,selected:M,mode:"single",numberOfMonths:1,onMonthChange:D,onSelect:ye=>{A(ye),ye&&D(ye)}}),d&&h(Lk,{"data-slot":"date-input-footer-time",pickerType:"basic",setTimeEnabled:$,startTime:V,endTime:Y,onSetTimeChange:P,onStartTimeChange:F,onEndTimeChange:U}),h(Ak,{"data-slot":"date-input-footer-button",onReset:ee,onCancel:te,onConfirm:oe})]}),[oe,te,ue,ee,Y,M,V,$,O,d,u]);return o6(()=>{const ye=eo(n)?new Date(eo(n)):void 0,we=xs(n)?new Date(xs(n)):void 0,Ne=x1(ye)||x1(we),Ie=Zc(ye),Pe=Zc(we);C(ye),A(ye),D(ye??new Date),R(Ne),P(Ne),L(Ie),F(Ie),B(Pe),U(Pe)},[n]),o6(()=>{w||(A(x),D(x??new Date),P(T),F(I),U(z))},[w,x,z,I,T]),ne(Mr,{children:[ne(O3,{ref:v,disabled:o,anchorId:e==="popover"&&!o?`date-input-popover-${g}`:void 0,className:se("inline-block"),ripple:{disabled:!0},popoverStyle:{top:"10px",left:"0"},popoverElement:h(fe,{}),onClose:()=>y(!1),onClick:J,children:[ne("div",{"data-slot":"date-input",className:se(Dk({size:i,variant:s,focus:_||w,error:l,readOnly:a,disabled:o,interactive:!o&&!a}),t),children:[h("span",{"data-slot":"date-input-icon","aria-hidden":!0,className:Bk({size:i,disabled:o}),children:h(iw,{})}),h("span",{"data-slot":"date-input-content",className:zk(),children:h("input",{"data-slot":"date-input-input",type:"text",readOnly:!0,disabled:o,value:i6(x,"",T,I),placeholder:i6(void 0,le,!1,I),onFocus:()=>S(!0),onBlur:()=>S(!1),onKeyDown:re,className:se("w-full min-w-0",g0({size:i,tone:x?"default":"placeholder",disabled:o}))})})]}),e==="popover"&&h("div",{id:`date-input-popover-${g}`})]}),e==="modal"&&h(ac,{className:se("w-auto border-none p-0"),open:w,hideCloseButton:!0,onOpenChange:y,children:h(fe,{})})]})},{useCallback:Nd,useEffect:s6,useId:Kue,useRef:Xue,useState:Ga}=await q("react"),l6=[{key:"last-24-hours",label:"Last 24 hours"},{key:"last-3-days",label:"Last 3 days"},{key:"last-week",label:"Last week"},{key:"last-month",label:"Last month"},{key:"last-3-month",label:"Last 3 month"}],Al=()=>({hour:"00",minute:"00"}),Qc=t=>t?{hour:String(t.getHours()).padStart(2,"0"),minute:String(t.getMinutes()).padStart(2,"0")}:Al(),S1=t=>!!(t&&(t.getHours()!==0||t.getMinutes()!==0)),C1=(t,e)=>{const n=new Date(t);return n.setHours(Number(e.hour),Number(e.minute),0,0),n},c6=(t,e)=>!t||!e?!1:t.getFullYear()===e.getFullYear()&&t.getMonth()===e.getMonth()&&t.getDate()===e.getDate(),u6=(t,e,n,r)=>{if(!t)return e;const o=W7(t.getTime());return n?`${o} ${r.hour}:${r.minute}`:o},R3e=({className:t,calendarPanelClassName:e,showType:n="popover",value:r,name:o,min:a,max:i,placeholder:s,disabled:l,disabledDates:u,readOnly:d,size:f="md",variant:m="default",error:v=!1,showPresets:g=!0,showFooter:w=!0,handleChange:y,presets:_})=>{const S=Xue(null),x=Kue().replace(/:/g,""),[C,M]=Ga(!1),[A]=Ga(!1),[O,D]=Ga({from:r?.[0]?new Date(r[0]):void 0,to:r?.[1]?new Date(r?.[1]):void 0}),[T,R]=Ga({from:r?.[0]?new Date(r[0]):void 0,to:r?.[1]?new Date(r?.[1]):void 0}),[$,P]=Ga(S1(r?.[0]?new Date(r[0]):void 0)||S1(r?.[1]?new Date(r[1]):void 0)),[I,L]=Ga($),[V,F]=Ga(Qc(r?.[0]?new Date(r[0]):void 0)),[z,B]=Ga(Qc(r?.[1]?new Date(r[1]):void 0)),[Y,U]=Ga(Qc(r?.[0]?new Date(r[0]):void 0)),[le,J]=Ga(Qc(r?.[1]?new Date(r[1]):void 0)),re=!!(O?.from||O?.to),te=typeof s=="string"?s:s?.start||s?.end||"Select date",oe=()=>{l||M(!0)},ee=Nd(()=>{M(!1),S.current?.close()},[]),ue=Nd(()=>{if(T.from){const Ne=T.to??T.from,Ie=I?C1(T.from,Y):C1(T.from,Al()),Pe=I?C1(Ne,le):C1(Ne,Al());D({from:Ie,to:Pe}),P(I),F(Y),B(le),y?.(Ie.getTime(),Pe.getTime(),o??"")}ee()},[y,ee,o,le,T.from,T.to,Y,I]),fe=Nd(()=>{const Ne={from:void 0,to:void 0};D(Ne),R(Ne),P(!1),L(!1),F(Al()),B(Al()),U(Al()),J(Al()),y?.(void 0,void 0,o??"")},[y,o]),ye=Nd(Ne=>{const Ie=new Date,Pe=new Date(Ie),he=new Date(Ie);switch(Ne){case"last-24-hours":he.setDate(Ie.getDate()-1);break;case"last-3-days":he.setDate(Ie.getDate()-3);break;case"last-week":he.setDate(Ie.getDate()-7);break;case"last-month":he.setMonth(Ie.getMonth()-1);break;case"last-3-month":he.setMonth(Ie.getMonth()-3);break}R({from:he,to:Pe})},[]),we=Nd(()=>ne(Xl,{className:se(Fk({pickerType:"range"}),e),children:[g&&h("div",{"data-slot":"data-input-presets",className:"border-subtle inline-flex w-full flex-wrap items-start justify-center gap-1 border-b px-3 py-4",children:(_?l6.filter(Ne=>_.includes(Ne.key)):l6).map(Ne=>h($k,{label:Ne.label,onClick:()=>ye(Ne.key)},Ne.key))}),h(Vk,{"data-slot":"data-input-calendar",selected:T,mode:"range",numberOfMonths:2,min:a,max:i,disabled:u,initialFocus:!0,defaultMonth:T?.from,onSelect:(Ne,Ie)=>{let Pe;Ne?T.from&&!T.to&&c6(T.from,Ie)?Pe={from:T.from,to:Ie}:Pe={from:Ne.from,to:Ne.to}:Pe={from:void 0,to:void 0},R(Pe)}}),w&&h(Lk,{"data-slot":"date-input-footer-time",pickerType:"range",setTimeEnabled:I,startTime:Y,endTime:le,onSetTimeChange:L,onStartTimeChange:U,onEndTimeChange:J,enforceTimeOrder:!T.to||c6(T.from,T.to),min:a,max:i}),h(Ak,{"data-slot":"date-input-footer-button",onReset:fe,onCancel:ee,onConfirm:ue})]}),[e,ye,ee,ue,fe,u,i,a,_,le,T,Y,I,w,g]);return s6(()=>{const Ne={from:r?.[0]?new Date(r[0]):void 0,to:r?.[1]?new Date(r[1]):void 0},Ie=S1(Ne.from)||S1(Ne.to),Pe=Qc(Ne.from),he=Qc(Ne.to);D(Ne),R(Ne),P(Ie),L(Ie),F(Pe),B(he),U(Pe),J(he)},[r]),s6(()=>{C||(R(O),L($),U(V),J(z))},[C,O,z,V,$]),ne(Mr,{children:[ne(O3,{ref:S,disabled:l,anchorId:n==="popover"&&!l?`date-input-popover-${x}`:void 0,className:"inline-block",ripple:{disabled:!0},popoverStyle:{top:"10px",left:"0"},popoverElement:h(we,{}),onClose:()=>M(!1),onClick:oe,children:[ne("div",{"data-slot":"date-input",className:se(Dk({size:f,variant:m,focus:A||C,error:v,readOnly:d,disabled:l,interactive:!l&&!d}),t),children:[h("span",{"data-slot":"date-input-icon","aria-hidden":!0,className:Bk({size:f,disabled:l}),children:h(iw,{})}),h("span",{"data-slot":"date-input-content",className:zk(),children:re?ne(Mr,{children:[h("span",{"data-slot":"date-input-value",className:g0({size:f,tone:O?.from?"default":"placeholder",disabled:l}),children:u6(O?.from,te,$,V)}),h("span",{"data-slot":"date-input-separator",className:Fue({size:f,disabled:l}),children:"~"}),h("span",{"data-slot":"date-input-value",className:g0({size:f,tone:O?.to?"default":"placeholder",disabled:l}),children:u6(O?.to,te,$,z)})]}):h("span",{"data-slot":"date-input-value",className:g0({size:f,tone:"placeholder",disabled:l}),children:te})})]}),n==="popover"&&h("div",{id:`date-input-popover-${x}`})]}),n==="modal"&&h(ac,{className:se("w-auto max-w-fit border-none p-0"),open:C,hideCloseButton:!0,onOpenChange:M,children:h(we,{})})]})},Zue=me("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 bg-dim fixed inset-0 z-50"),Que=me("bg-overlay data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 shadow-down-md fixed top-1/2 left-1/2 z-50 inline-flex max-w-[95vw] -translate-x-1/2 -translate-y-1/2 flex-col overflow-hidden rounded-lg outline-hidden transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{variants:{size:{sm:"max-h-[25rem] min-h-40 w-[22.5rem]",md:"max-h-[35rem] w-[30rem]",lg:"max-h-[35rem] w-[34.375rem]"}},defaultVariants:{size:"lg"}}),Jue=me("gap-0_5 relative flex flex-col items-start self-stretch px-4 pt-4 pr-16 pb-2"),ede=me("flex items-center justify-end gap-4 self-stretch p-4"),tde=me("text-fg-default typo-title-01-bold"),nde=me("text-fg-subtle typo-compact-sm-normal"),rde=me("text-fg-subtle hover:bg-fill-transparent-hovered hover:text-fg-default focus-visible:outline-border-stronger absolute top-3 right-3 inline-flex size-7 items-center justify-center rounded-[3px] outline-hidden transition-colors focus-visible:outline focus-visible:outline-1"),{forwardRef:$3,useEffect:ode,useId:ade,useRef:ide}=await q("react"),Q0=new Map,sde=300;function lde(t,e){Q0.set(t,e)}function d6(t){Q0.delete(t)}function cde(){const t=Array.from(Q0.values());if(Q0.clear(),t.length===0){Os.resetModal();return}t.forEach(e=>e()),setTimeout(()=>{const e=document.querySelectorAll('[data-slot="dialog-content"][data-state="closed"]'),n=Array.from(e).flatMap(r=>r.getAnimations().map(o=>o.finished));if(n.length===0){Os.resetModal();return}Promise.allSettled(n).then(()=>{Os.resetModal()})},sde)}function ude({...t}){const e=ade(),n=ide(t.onOpenChange);return n.current=t.onOpenChange,ode(()=>(t.open?lde(e,()=>n.current?.(!1)):d6(e),()=>d6(e)),[e,t.open]),h(Mf,{"data-slot":"dialog",...t})}function T3e({...t}){return h(Ww,{"data-slot":"dialog-trigger",...t})}function dde({...t}){return h(kf,{"data-slot":"dialog-portal",...t})}function N3e({...t}){return h(tc,{"data-slot":"dialog-close",...t})}function fde({closeAllLabel:t}){return Os.modalList.length<=1?null:h("button",{type:"button","aria-label":"dialog-all-close",className:"text-fg-default typo-compact-sm-semibold border-fg-subtler bg-fg-inverse pointer-events-auto fixed top-4 right-4 z-50 h-8 w-20 cursor-pointer rounded-md border p-1",onClick:cde,children:h("span",{children:t})})}const jk=$3(({className:t,...e},n)=>h(Rf,{ref:n,"data-slot":"dialog-overlay",className:se(Zue(),t),...e}));jk.displayName="RBDialogOverlay";function pde({className:t,children:e,container:n,showCloseButton:r=!0,size:o="lg",closeAllLabel:a,...i}){const s=n??(typeof document<"u"?document.querySelector(".modal-container")??void 0:void 0);return ne(dde,{container:s,children:[h(jk,{onContextMenu:l=>l.preventDefault()}),h(fde,{closeAllLabel:a}),ne(Tf,{"data-slot":"dialog-content","data-size":o,className:se(Que({size:o}),t),...i,children:[e,r&&ne(tc,{"data-slot":"dialog-close",className:rde(),tabIndex:-1,children:[h(wf,{className:"size-4"}),h("span",{className:"sr-only",children:"Close"})]})]})]})}function hde({className:t,...e}){return h("div",{"data-slot":"dialog-header",className:se(Jue(),t),...e})}function mde({className:t,...e}){return h("div",{"data-slot":"dialog-footer",className:se(ede(),t),...e})}const v0=$3(({className:t,...e},n)=>h(Nf,{ref:n,"data-slot":"dialog-title",className:se(tde(),t),...e}));v0.displayName="RBDialogTitle";const w0=$3(({className:t,...e},n)=>h(Pf,{ref:n,"data-slot":"dialog-description",className:se(nde(),t),...e}));w0.displayName="RBDialogDescription";const gde=me("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 bg-dim fixed inset-0 z-50"),vde=me("bg-raised border-subtle data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex h-auto flex-col overflow-hidden transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{defaultVariants:{side:"bottom"},variants:{side:{top:"data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 w-full rounded-b-xl border-b",bottom:"data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 w-full rounded-t-xl border-t",left:"data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full w-3/4 max-w-96 rounded-r-xl border-r",right:"data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full w-3/4 max-w-96 rounded-l-xl border-l"}}}),wde=me("bg-fg-default h-1 w-28 rounded-full"),bde=me("flex items-center justify-center self-stretch pt-4"),yde=me("gap-0_5 flex flex-col p-4"),_de=me("mt-auto flex flex-col items-stretch gap-2 self-stretch p-4"),xde=me("text-fg-default typo-title-01-medium"),Sde=me("text-fg-subtle typo-compact-sm-normal"),Cde=me("flex flex-col gap-3 self-stretch overflow-hidden px-4 pt-4"),Ede=me("text-fg-default hover:text-fg-default-hovered focus-visible:outline-border-stronger absolute top-4 right-4 inline-flex size-4 items-center justify-center rounded-xs outline-hidden transition-colors focus-visible:outline focus-visible:outline-1");function Mde({side:t,...e}){return h(Wr.Root,{"data-slot":"drawer",...e,direction:t??e.direction})}function P3e({...t}){return h(Wr.Trigger,{"data-slot":"drawer-trigger",...t})}function A3e({...t}){return h(Wr.Close,{"data-slot":"drawer-close",...t})}function kde({...t}){return h(Wr.Portal,{"data-slot":"drawer-portal",...t})}function Rde({className:t,...e}){return h(Wr.Overlay,{"data-slot":"drawer-overlay",className:se(gde(),t),...e})}function Tde({className:t,children:e,side:n="bottom",showHandle:r,showCloseButton:o=!1,...a}){const i=r??n==="bottom";return ne(kde,{children:[h(Rde,{}),ne(Wr.Content,{"data-slot":"drawer-content","data-position":n,className:se(vde({side:n}),t),...a,children:[n==="bottom"&&i&&h("div",{className:bde(),children:h("div",{className:wde()})}),e,o&&ne(Wr.Close,{className:Ede(),children:[h(wf,{}),h("span",{className:"sr-only",children:"Close"})]})]})]})}function Nde({className:t,...e}){return h("div",{"data-slot":"drawer-header",className:se(yde(),t),...e})}function I3e({className:t,...e}){return h("div",{"data-slot":"drawer-body",className:se(Cde(),t),...e})}function Pde({className:t,...e}){return h("div",{"data-slot":"drawer-footer",className:se(_de(),t),...e})}function Ade({className:t,...e}){return h(Wr.Title,{"data-slot":"drawer-title",className:se(xde(),t),...e})}function Ide({className:t,...e}){return h(Wr.Description,{"data-slot":"drawer-description",className:se(Sde(),t),...e})}const Ode=me("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 bg-dim fixed inset-0 z-50"),Lde=me("bg-raised outline-border-subtle data-[state=open]:animate-in data-[state=closed]:animate-out fixed z-50 flex flex-col gap-4 p-4 outline outline-1 outline-offset-[-1px] transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500",{defaultVariants:{side:"right"},variants:{side:{bottom:"data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom shadow-up-lg inset-x-0 bottom-0 h-[520px] max-h-[80vh]",left:"data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full max-w-[90vw] shadow-[0px_4px_6px_-4px_rgba(0,0,0,0.10)] shadow-lg",right:"data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right shadow-up-lg inset-y-0 right-0 h-full max-w-[90vw]",top:"data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-[520px] max-h-[80vh] shadow-[0px_4px_6px_-4px_rgba(0,0,0,0.10)] shadow-lg"}}}),$de=me("gap-0_5 flex flex-col"),Dde=me("mt-auto flex flex-col items-stretch gap-2 overflow-hidden"),Bde=me("text-fg-default typo-title-01-medium"),zde=me("text-fg-subtle typo-compact-sm-normal"),Fde=me("text-fg-default hover:text-fg-default-hovered focus-visible:outline-border-stronger absolute top-4 right-4 inline-flex size-4 items-center justify-center rounded-xs outline-hidden transition-colors focus-visible:outline focus-visible:outline-1");function Vde({...t}){return h(Mf,{"data-slot":"sheet",...t})}function O3e({...t}){return h(Ww,{"data-slot":"sheet-trigger",...t})}function L3e({...t}){return h(tc,{"data-slot":"sheet-close",...t})}function jde({...t}){return h(kf,{"data-slot":"sheet-portal",...t})}function Hde({className:t,...e}){return h(Rf,{"data-slot":"sheet-overlay",className:se(Ode(),t),...e})}function Wde({className:t,children:e,side:n="right",showCloseButton:r=!0,...o}){return ne(jde,{children:[h(Hde,{}),ne(Tf,{"data-slot":"sheet-content","data-position":n,className:se(Lde({side:n}),t),...o,children:[e,r&&ne(tc,{className:Fde(),children:[h(wf,{}),h("span",{className:"sr-only",children:"Close"})]})]})]})}function qde({className:t,...e}){return h("div",{"data-slot":"sheet-header",className:se($de(),t),...e})}function Ude({className:t,...e}){return h("div",{"data-slot":"sheet-footer",className:se(Dde(),t),...e})}function Yde({className:t,...e}){return h(Nf,{"data-slot":"sheet-title",className:se(Bde(),t),...e})}function Gde({className:t,...e}){return h(Pf,{"data-slot":"sheet-description",className:se(zde(),t),...e})}const Kde=({className:t,type:e,open:n,onOpenChange:r,header:o,footer:a,children:i,hideCloseButton:s,handleInteractOutside:l})=>{const u=e.split("-")[0];return h(Vde,{open:n,onOpenChange:r,children:ne(Wde,{className:se(t,{"[&>button:last-child]:hidden":s}),side:u,onInteractOutside:l,children:[!!o&&ne(qde,{children:[!!o.title&&h(Yde,{children:o.title}),!!o.description&&h(Gde,{children:o.description})]}),i,!!a&&h(Ude,{children:a})]})})},Yh=({className:t,open:e,type:n="dialog",dialogContainer:r,children:o,enableDimClose:a=!0,header:i,hideCloseButton:s,footer:l,gamePadType:u="modal",onOpenChange:d,disableAutoFocus:f=!1,closeAllButtonLabel:m="Close All"})=>{const v=g=>{a||g.preventDefault()};return n==="drawer"?h(Mde,{open:e,onOpenChange:d,children:ne(Tde,{className:se(t),onInteractOutside:v,children:[!!i&&ne(Nde,{children:[!!i.title&&h(Ade,{children:i.title}),!!i.description&&h(Ide,{children:i.description})]}),o,!!l&&h(Pde,{children:l})]})}):n==="dialog"?h(ude,{open:e,onOpenChange:d,children:ne(pde,{...f&&{onOpenAutoFocus:g=>g.preventDefault()},className:se(t),container:r,"data-pad-scope":u,showCloseButton:!s,closeAllLabel:m,onInteractOutside:v,children:[i?ne(hde,{children:[i.title?h(v0,{children:i.title}):h(Dl,{children:h(v0,{})}),i.description?h(w0,{children:i.description}):h(Dl,{children:h(w0,{})})]}):ne(Dl,{children:[h(v0,{}),h(w0,{})]}),o,!!l&&h(mde,{children:l})]})}):h(Kde,{className:t,type:n,header:i,footer:l,open:e,enableDimClose:a,hideCloseButton:s,onOpenChange:d,handleInteractOutside:v,children:o})},Xde=({className:t,containerId:e,open:n,onOpenChange:r,title:o,content:a,contentClassName:i,buttonText:s="확인",snapshotCnt:l,resolve:u,onConfirm:d})=>{const f=()=>{u(!0),d?.()};return h(Yh,{"data-slot":"alert-modal",className:se("w-fit","min-w-[25rem]","max-w-[95vw]",t),open:n,onOpenChange:r,type:"dialog",dialogContainer:e?document.getElementById(e):void 0,snapshotCnt:l,hideCloseButton:!0,enableDimClose:!1,gamePadType:"dialog",header:o?{title:o}:void 0,footer:h(Hr,{variant:"brand",onClick:f,children:s}),children:h("div",{"data-slot":"alert-modal-content",className:se("text-body-xs2-normal text-fg-default px-4 py-3 whitespace-pre-wrap",i),children:a})})},Zde=({className:t,open:e,onOpenChange:n,title:r,description:o,content:a,contentClassName:i,buttonText:s={yes:"Confirm",no:"Cancel"},buttonClassName:l,buttonWrapperClassName:u,snapshotCnt:d,containerId:f,onConfirm:m,onCancel:v,resolve:g})=>{const w=()=>{m?.(),g(!0)},y=()=>{v?.(),g(!1)};return h(Yh,{"data-slot":"confirm-modal",className:se("w-fit","min-w-[25rem]","max-w-[95vw]",t),open:e,onOpenChange:n,type:"dialog",snapshotCnt:d,dialogContainer:f?document.getElementById(f):void 0,hideCloseButton:!0,enableDimClose:!1,gamePadType:"dialog",header:r||o?{title:r,description:o}:void 0,footer:ne(Go,{"data-slot":"confirm-modal-button-wrapper",className:se("btn-wrapper",u),alignItems:"center",gap:8,children:[h(Hr,{variant:"outlined",className:se(l?.no),onClick:y,children:s.no}),h(Hr,{variant:"brand",className:se(l?.yes),autoFocus:!0,onClick:w,children:s.yes})]}),children:h("div",{"data-slot":"confirm-modal-content",className:se("text-body-xs2-normal text-fg-default px-4 py-3 whitespace-pre-wrap",i),children:a})})},Qde={default:"text-fg-subtle",error:"text-fg-danger",success:"text-fg-success"};function Jde({className:t,helperText:e,helperTone:n="default"}){return e?h("div",{"data-slot":"text-helper",className:se("pt-1_5 w-full",t),children:h("div",{"data-slot":"text-helper-message",className:se("typo-compact-xs-normal",Qde[n]),children:e})}):null}function efe({className:t,label:e,description:n,required:r=!1,children:o}){return!e&&!n&&!o?null:ne("div",{"data-slot":"text-label",className:se("gap-0_5 flex w-full flex-col",t),children:[e&&ne("div",{"data-slot":"text-label-heading",className:"gap-0_5 typo-compact-xs-semibold inline-flex items-start",children:[h("span",{"data-slot":"text-label-text",className:"text-fg-default",children:e}),r&&h("span",{"data-slot":"text-label-required",className:"text-fg-information",children:"*"})]}),n&&h("div",{"data-slot":"text-label-description",className:"text-fg-subtle typo-compact-xs-normal",children:n}),o&&h("div",{className:"pt-1","data-slot":"text-label-children",children:o})]})}function tfe({className:t="",labelClassName:e="",helperClassName:n="",label:r,description:o,required:a=!1,helperText:i,helperTone:s="default",children:l}){return h("div",{"data-slot":"text-field",className:se("w-full",t),children:ne(efe,{className:e,label:r,description:o,required:a,children:[h("div",{"data-slot":"text-field-control",children:l}),h(Jde,{className:n,helperText:i,helperTone:s})]})})}const{cloneElement:nfe,useState:f6}=await q("react"),rfe=({className:t,open:e,onOpenChange:n,title:r,content:o,contentClassName:a,placeholder:i,inputType:s="text",inputElement:l,label:u,description:d,required:f=!1,helperText:m,helperTone:v="default",autoFocus:g=!1,value:w,buttonText:y={yes:"Confirm",no:"Cancel"},buttonClassName:_,buttonWrapperClassName:S,containerId:x,snapshotCnt:C,resolve:M,close:A})=>{const[O,D]=f6(w||""),[T,R]=f6(!1),$=s==="password"&&T?"text":s;return h(Yh,{"data-slot":"prompt-modal",className:se("w-fit","min-w-[25rem]","max-w-[95vw]",t),open:e,onOpenChange:n,type:"dialog",snapshotCnt:C,dialogContainer:x?document.getElementById(x):void 0,hideCloseButton:!0,enableDimClose:!1,gamePadType:"dialog",header:r?{title:r}:void 0,footer:ne(Go,{"data-slot":"prompt-modal-button-wrapper",className:se("btn-wrapper",S),alignItems:"center",gap:8,children:[h(Hr,{variant:"outlined",className:se(_?.no),onClick:()=>M(null),children:y.no}),h(Hr,{variant:"brand",className:se(_?.yes),onClick:()=>M(O),children:y.yes})]}),children:ne(Xl,{children:[o&&h("div",{"data-slot":"prompt-modal-content",className:se("text-body-xs2-normal text-fg-default px-4 py-3 whitespace-pre-wrap",a),children:o}),l?h("div",{"data-slot":"prompt-modal-input",className:"w-full px-4 py-2",children:nfe(l,{value:O,handleChange:D,tabIndex:g?0:-1,placeholder:i,type:s})}):h("div",{"data-slot":"prompt-modal-input",className:"w-full px-4 py-2",children:h(tfe,{label:u,description:d,required:f,helperText:m,helperTone:v,children:ne("div",{className:"relative w-full",children:[h(uw,{className:se("w-full",s==="password"&&"pr-10"),type:$,tabIndex:g?0:-1,placeholder:i,value:O,handleChange:D,handleEnter:()=>M(O)}),s==="password"&&h("button",{type:"button",className:"text-fg-subtle hover:text-fg-default absolute top-1/2 right-4 -translate-y-1/2",onClick:()=>R(P=>!P),children:T?h(P7,{className:"size-4"}):h(A7,{className:"size-4"})})]})})})]})})},ofe=me("gap-2_5 inline-flex items-center justify-center pt-4"),D2=me("gap-0_5 flex items-center justify-start"),E1=me("py-0_5 inline-flex size-6 shrink-0 items-center justify-center rounded-sm transition-colors duration-200 ease-out",{variants:{disabled:{true:"bg-fill-transparent text-fg-disabled pointer-events-none",false:"bg-fill-transparent text-fg-default hover:bg-fill-transparent-hovered"}},defaultVariants:{disabled:!1}}),M1=me("inline-flex size-3.5 items-center justify-center"),afe=me("inline-flex size-6 shrink-0 flex-col items-center justify-center rounded-md transition-colors duration-200 ease-out",{variants:{selected:{true:"text-fg-default outline-border-default outline outline-1 outline-offset-[-1px]",false:"text-fg-subtler hover:bg-fill-subtler-hovered"}},defaultVariants:{selected:!1}}),ife=me("inline-flex h-5 w-7 items-center justify-center text-center text-xs leading-4 font-semibold"),{useMemo:Pd}=await q("react"),$3e=({className:t,currPage:e=1,listSize:n=20,pageSize:r=5,totalCount:o=0,handlePageChange:a})=>{const i=Pd(()=>{const f=o/n;return f%1===0?f:Math.floor(f)+1},[n,o]),s=Pd(()=>{const f=Math.ceil(i/r);return Array.from({length:f},(m,v)=>Array.from({length:r},(g,w)=>v*r+w+1))},[r,i]),l=Pd(()=>{const f=(s.find(m=>m.includes(e))??[]).filter(m=>m<=i);return f.length===0?[1]:f},[e,s,i]),u=Pd(()=>{const f=l[0]??1;return Math.max(1,f-1)},[l]),d=Pd(()=>{const f=l[l.length-1]??i;return Math.min(i,f+1)},[l,i]);return ne("div",{"data-slot":"pagination",className:se(ofe(),t),children:[ne("div",{"data-slot":"pagination-prev-group",className:D2(),children:[h("button",{"data-slot":"pagination-prev-double",className:E1({disabled:e===1}),type:"button",disabled:e===1,onClick:()=>a(u),children:h("span",{"data-slot":"pagination-nav-icon",className:M1(),children:h(E7,{})})}),h("button",{"data-slot":"pagination-prev",className:E1({disabled:e===1}),type:"button",disabled:e===1,onClick:()=>a(e-1),children:h("span",{"data-slot":"pagination-nav-icon",className:M1(),children:h(rh,{})})})]}),h("div",{"data-slot":"pagination-pages",className:D2(),children:l.map(f=>h("button",{"data-slot":"pagination-page",className:afe({selected:e===f}),type:"button",onClick:()=>a(f),children:h("span",{"data-slot":"pagination-page-text",className:ife(),children:f})},f))}),ne("div",{"data-slot":"pagination-next-group",className:D2(),children:[h("button",{"data-slot":"pagination-next",className:E1({disabled:!(e<i)}),type:"button",disabled:!(e<i),onClick:()=>a(e+1),children:h("span",{"data-slot":"pagination-nav-icon",className:M1(),children:h(Pu,{})})}),h("button",{"data-slot":"pagination-next-double",className:E1({disabled:e===i||i===0}),type:"button",disabled:e===i||i===0,onClick:()=>a(d),children:h("span",{"data-slot":"pagination-nav-icon",className:M1(),children:h(M7,{})})})]})]})},sfe=me(["inline-flex w-48 items-center gap-1 overflow-hidden","bg-fill-control-surface outline outline-1 outline-offset-[-1px]","transition-colors"].join(" "),{variants:{size:{xs2:"h-8 rounded-md px-0.5",sm:"h-9 rounded-md px-0.5",md:"h-10 rounded-md px-0.5",lg:"h-12 rounded-lg px-1"},variant:{default:"outline-border-default",success:"outline-border-success-stronger"},focus:{true:"outline-border-input-focused",false:""},error:{true:"outline-border-danger-stronger",false:""},readOnly:{true:"bg-fill-control-surface-disabled outline-border-disabled",false:""},disabled:{true:"bg-fill-control-surface-disabled outline-border-disabled pointer-events-none cursor-not-allowed",false:""},inputDisabled:{true:"bg-fill-control-surface-disabled outline-border-disabled",false:""}},compoundVariants:[{variant:"default",focus:!1,error:!1,readOnly:!1,disabled:!1,inputDisabled:!1,className:"[&:hover]:bg-fill-control-surface-hovered [&:hover]:outline-border-default"},{variant:"success",focus:!1,error:!1,readOnly:!1,disabled:!1,inputDisabled:!1,className:"[&:hover]:bg-fill-control-surface [&:hover]:outline-border-success-stronger"},{focus:!0,className:"[&:hover]:bg-fill-control-surface [&:hover]:outline-border-input-focused"},{error:!0,className:"[&:hover]:bg-fill-control-surface [&:hover]:outline-border-danger-stronger"},{readOnly:!0,className:"[&:hover]:bg-fill-control-surface-disabled [&:hover]:outline-border-disabled"},{disabled:!0,className:"[&:hover]:bg-fill-control-surface-disabled [&:hover]:outline-border-disabled"},{inputDisabled:!0,className:"[&:hover]:bg-fill-control-surface-disabled [&:hover]:outline-border-disabled"}],defaultVariants:{size:"md",variant:"default",focus:!1,error:!1,readOnly:!1,disabled:!1,inputDisabled:!1}}),p6=me("bg-fill-transparent touch-action-none inline-flex shrink-0 items-center justify-center rounded-sm transition-[background-color] [&_*]:pointer-events-none",{variants:{size:{xs2:"size-7",sm:"size-8",md:"size-9",lg:"size-10"},disabledLike:{true:"cursor-not-allowed",false:"cursor-pointer"},pressed:{true:"scale-90",false:""}},defaultVariants:{size:"md",disabledLike:!1,pressed:!1}}),h6=me("",{variants:{size:{xs2:"size-3.5",sm:"size-3.5",md:"size-4",lg:"size-4"},disabledLike:{true:"text-fg-disabled",false:"text-fg-default"},pressed:{true:"scale-90",false:""}},compoundVariants:[{disabledLike:!1,pressed:!0,className:"transform transition-transform"}],defaultVariants:{size:"md",disabledLike:!1,pressed:!1}}),lfe=me(["w-full border-none bg-transparent text-center ring-0 outline-none","placeholder:text-fg-subtler appearance-none [&::-webkit-inner-spin-button]:appearance-none [&::-webkit-outer-spin-button]:appearance-none"].join(" "),{variants:{size:{xs2:"typo-compact-xs2-semibold",sm:"typo-compact-sm-normal",md:"typo-compact-sm2-normal",lg:"typo-compact-sm2-normal"},variant:{default:"text-fg-default",success:"text-fg-default"},focus:{true:"placeholder:text-fg-subtler",false:""},error:{true:"placeholder:text-fg-subtler",false:""},readOnly:{true:"placeholder:text-fg-default",false:""},disabled:{true:"text-fg-disabled placeholder:text-fg-disabled",false:""},inputDisabled:{true:"text-fg-disabled placeholder:text-fg-disabled",false:""}},defaultVariants:{size:"md",variant:"default"}}),{forwardRef:cfe,useCallback:to,useEffect:Jc,useImperativeHandle:ufe,useMemo:dfe,useRef:Ka,useState:B2}=await q("react"),ffe=t=>{const e=t?.target?.value;return kn.replace(e,/^0+[\d,]/gm,o=>kn.last(o)).replace(/[^\d.-]/g,"")},pfe=cfe(({className:t="",type:e,size:n,variant:r,step:o=1,error:a,isDirect:i=!0,increaseStep:s,decreaseStep:l,maxLength:u,increaseElement:d,decreaseElement:f,detectDobleClick:m,useSetButton:v,notAllowedEmptyValue:g,inputDisabled:w,disableAutoAccel:y,disableLongPress:_,fixedDigit:S,initialLongPressDelay:x=300,enableArrowKeys:C,enableWheel:M,handleChange:A,onButtonPointerDown:O,onButtonPointerUp:D,handleEnter:T,...R},$)=>{const{value:P,readOnly:I,disabled:L,min:V,max:F="9999999999999",digit:z=18,onFocus:B,onBlur:Y}=R,U=Ka(null),le=Ka(!1),J=Ka(!1),re=Ka({up:0,down:0}),te=Ka(""),oe=Ka(null),ee=Ka(null),ue=Ka(0),fe=Ka(0),ye=Ka(x),[we,Ne]=B2(P??""),[Ie,Pe]=B2(!1),[he,ge]=B2(null),be=dfe(()=>L||new Ut(V??0).cmp(new Ut(F))>0,[L,F,V]),Ue=to((Se,qe,wt)=>{if(qe===0)return Se;const un=wt==="up"?new Ut(Se||0).add(new Ut(oe.current?.increase??qe??1)).toDP(z,Ut.ROUND_DOWN):new Ut(Se||0).sub(new Ut(oe.current?.decrease??qe??1)).toDP(z,Ut.ROUND_DOWN);return S!==void 0?un.toFixed(S):un.toString()},[z,S]),Ae=to(Se=>typeof Se>"u"||!Se||be?"":Se.endsWith(".")?Se:typeof V<"u"&&new Ut(Number(Se)).lt(new Ut(V))?String(V):typeof F<"u"&&new Ut(Vl(Se||"")).gt(new Ut(F))?String(F):Se,[V,F,be]),Ke=to(Se=>be?"":Se.endsWith(".")?Se:Ae(Se),[be,Ae]),Me=to(Se=>{const qe=U.current;qe&&(qe.value=Vi(Se??"").join("."),delete qe.dataset.tempNumberKeypadValue,qe.dispatchEvent(new Event("input",{bubbles:!0})))},[]),at=to(({type:Se,e:qe})=>{if(!U.current||be)return;const{value:wt,name:un}=U.current,on=ffe({target:{value:wt}}),Ot=z?new RegExp(`^-?[0-9]*[.]{0,1}[0-9]{0,${z}}$`,"gm"):/^-?\d{0,18}$/;on.match(Ot)&&(typeof u<"u"&&(on||"").split(".")[0].replace(/[^0-9]/g,"").length>Number(u)||(U.current.value=Vi(on??"").join("."),te.current!==on&&(A?.(on,un,{type:Se}),qe&&R.onChange?.(qe),te.current=on),Ne(on)))},[be,z,u,A,R]),ut=to((Se,qe)=>{U.current&&(Pe(qe),qe?B?.(Se):(U.current.value=Ke(U.current.value),g&&!Se.target.value&&(U.current.value=R.value),at({}),Y?.(Se)))},[B,Ke,g,R.value,at,Y]),mt=to(Se=>{if(be||I){le.current=!1,window.clearTimeout(ue.current);return}te.current=Ue(te.current??"0",ee.current,Se),te.current=Ae(te.current??"0"),Ne(String(te.current)),Me(te.current),A?.(te.current,R.name,{type:Se}),window.clearTimeout(fe.current),fe.current=window.setTimeout(()=>{le.current&&(mt(Se),ye.current>50&&!y&&(ye.current-=ye.current/6))},ye.current)},[Ue,Ae,be,A,R.name,y,I,Me]),Ft=to(Se=>{const{value:qe="",name:wt}=Se.target;g&&!qe&&(Se.target.value=R.value),T?.(qe,wt),Se.target.blur()},[T,R.value,g]),cn=to(Se=>{if(Se.key==="Enter"&&!Se.nativeEvent.isComposing)Ft(Se);else if(C&&(Se.key==="ArrowUp"||Se.key==="ArrowDown")&&(Se.preventDefault(),!be&&!I)){const qe=Se.key==="ArrowUp"?"up":"down";te.current=Ue(te.current??"0",ee.current,qe),te.current=Ae(te.current??"0"),Ne(String(te.current)),Me(te.current),A?.(te.current,R.name,{type:qe})}R.onKeyDown?.(Se)},[R,Ft,C,be,I,Ue,Ae,A,Me]);Jc(()=>{const Se=U.current;if(!Se||!M)return;const qe=wt=>{if(be||I)return;wt.preventDefault();const un=wt.deltaY<0?"up":"down";te.current=Ue(te.current??"0",ee.current,un),te.current=Ae(te.current??"0"),Ne(String(te.current)),Me(te.current),A?.(te.current,R.name,{type:un})};return Se.addEventListener("wheel",qe,{passive:!1}),()=>Se.removeEventListener("wheel",qe)},[M,be,I,Ue,Ae,A,R.name,Me]);const Sn=to((Se,qe)=>{if(!(Date.now()-re.current[Se]<500&&m)){if(be||I){le.current=!1,window.clearTimeout(ue.current);return}re.current[Se]=Date.now(),ge(Se),mt(Se),O?.(Se,qe),_||(ue.current=window.setTimeout(()=>{le.current=!0,mt(Se)},ye.current)),J.current=!0}},[m,be,I,mt,_,O]),Jn=to(Se=>{Se&&Se.currentTarget.hasPointerCapture?.(Se.pointerId)&&Se.currentTarget.releasePointerCapture?.(Se.pointerId)},[]);to((Se,qe=20)=>{const wt=Se.currentTarget.getBoundingClientRect();return Se.clientX<wt.left-qe||Se.clientX>wt.right+qe||Se.clientY<wt.top-qe||Se.clientY>wt.bottom+qe},[]);const Gt=to((Se,qe)=>{if(be||I||!J.current){le.current=!1,window.clearTimeout(ue.current),J.current&&Se&&D?.(Se,qe);return}le.current=!1,J.current=!1,ge(null),window.clearTimeout(ue.current),ye.current=x,Se&&D?.(Se,qe),Se&&at({type:Se})},[be,at,I,D,x]),Tn=to(()=>{le.current=!1,ge(null),window.clearTimeout(ue.current),window.clearTimeout(fe.current),ye.current=x},[x]);Jc(()=>{te.current=P??""},[P]),Jc(()=>{typeof P<"u"&&Ne(P)},[P]),Jc(()=>{ee.current=o},[o]),Jc(()=>{oe.current={increase:s,decrease:l}},[s,l]),ufe($,()=>U.current),Jc(()=>{const Se=qe=>{qe.type==="contextmenu"&&(le.current||J.current)&&qe.preventDefault()};return window.addEventListener("contextmenu",Se),window.addEventListener("pointerup",Se),window.addEventListener("pointercancel",Se),()=>{window.removeEventListener("contextmenu",Se),window.removeEventListener("pointerup",Se),window.removeEventListener("pointercancel",Se)}},[Tn]);const Hn=f??h(I7,{"aria-hidden":!0,className:h6({size:n,disabledLike:be||V===we,pressed:he==="down"})}),Rt=d??h(O7,{"aria-hidden":!0,className:h6({size:n,disabledLike:be||F===we,pressed:he==="up"})});return ne(Go,{"data-slot":"side-number-input",className:se(sfe({size:n,variant:r,focus:Ie,readOnly:I,disabled:L,error:a,inputDisabled:w}),t),alignItems:"center",justifyContent:"space-between",onContextMenu:Se=>{Se.target instanceof HTMLInputElement||Se.preventDefault()},children:[h("button",{type:"button","data-slot":"side-number-input-decrease","data-type":"down",className:p6({size:n,disabledLike:be||F===we,pressed:he==="down"}),disabled:be||F===we,onPointerDown:Se=>{Se.preventDefault(),Se.currentTarget.setPointerCapture?.(Se.pointerId),Sn("down",Se)},onPointerMove:Se=>{J.current&&Se.currentTarget.hasPointerCapture?.(Se.pointerId)},onPointerUp:Se=>{Gt("down",Se),Jn(Se)},onPointerCancel:Se=>{Gt("down",Se),Jn(Se)},onLostPointerCapture:Se=>{Gt("down",Se)},onContextMenu:Se=>{Se.preventDefault()},children:Hn}),h("input",{...R,type:"text",inputMode:e==="nx-number"?"none":void 0,"data-slot":"side-number-input-field",className:lfe({size:n,variant:r,focus:Ie,readOnly:I,disabled:L,error:a,inputDisabled:w}),ref:U,value:Vi(we??"").join(".")??"",readOnly:!i,disabled:L||w,onChange:Se=>at({e:Se}),onFocus:Se=>ut(Se,!0),onBlur:Se=>ut(Se,!1),onKeyDown:cn,onContextMenu:Se=>{Se.preventDefault()}}),h("button",{type:"button","data-slot":"side-number-input-increase","data-type":"up",className:p6({size:n,disabledLike:be||V===we,pressed:he==="up"}),disabled:be||V===we,onPointerDown:Se=>{Se.preventDefault(),Se.currentTarget.setPointerCapture?.(Se.pointerId),Sn("up",Se)},onPointerMove:Se=>{J.current&&Se.currentTarget.hasPointerCapture?.(Se.pointerId)},onPointerUp:Se=>{Gt("up",Se),Jn(Se)},onPointerCancel:Se=>{Gt("up",Se),Jn(Se)},onLostPointerCapture:Se=>{Gt("up",Se)},onContextMenu:Se=>{Se.preventDefault()},children:Rt}),e==="nx-number"&&h(lw,{inputRef:U,maxLength:Number(u),useSet:v,onSet:T})]})});pfe.displayName="SideNumberInput";const hfe=me("group inline-flex items-center select-none",{variants:{size:{sm:"gap-1",md:"gap-1_5"},checked:{true:"",false:""},disabled:{true:"pointer-events-none cursor-not-allowed",false:"cursor-pointer"},readOnly:{true:"pointer-events-none cursor-not-allowed",false:""}},defaultVariants:{size:"sm",checked:!1,disabled:!1,readOnly:!1}}),mfe=me("relative inline-flex shrink-0 items-center justify-center rounded-full border transition-[background-color,border-color] duration-200 ease-out",{variants:{size:{sm:"size-4",md:"size-5"},checked:{true:"",false:""},disabled:{true:"",false:""}},compoundVariants:[{checked:!1,disabled:!1,className:"border-subtle bg-fill-control-surface"},{checked:!0,disabled:!1,className:"bg-fill-brand border-transparent"},{checked:!1,disabled:!0,className:"bg-fill-disabled border-disabled"},{checked:!0,disabled:!0,className:"bg-fill-disabled border-none"}],defaultVariants:{size:"sm",checked:!1,disabled:!1}}),gfe=me("rounded-full transition-[opacity,transform,background-color] duration-200 ease-out",{variants:{size:{sm:"size-1.5",md:"size-2"},checked:{true:"",false:""},disabled:{true:"",false:""}},compoundVariants:[{checked:!0,disabled:!1,className:"bg-fg-static-white scale-100 opacity-100"},{checked:!1,disabled:!1,className:"bg-fg-static-white scale-0 opacity-0"},{checked:!0,disabled:!0,className:"bg-fg-disabled scale-100"},{checked:!1,disabled:!0,className:"bg-fg-disabled scale-0 opacity-0"}],defaultVariants:{size:"sm",checked:!1,disabled:!1}}),vfe=me("",{variants:{size:{sm:"typo-compact-xs2-normal",md:"typo-compact-sm2-normal"},disabled:{true:"text-fg-disabled",false:"text-fg-default"}},defaultVariants:{size:"sm",disabled:!1}}),wfe=me(["relative inline-flex","[&_[data-slot='radio-check']]:hidden","[&_[data-slot='radio-text']]:inline-flex","[&_[data-slot='radio-text']]:items-center","[&_[data-slot='radio-text']]:justify-center","[&_[data-slot='radio-text']]:gap-1","[&_[data-slot='radio-text']]:cursor-pointer","[&_[data-slot='radio-text']]:rounded-md","[&_[data-slot='radio-text']]:bg-fill-transparent","[&_[data-slot='radio-text']]:text-fg-default","[&_[data-slot='radio-text']]:outline","[&_[data-slot='radio-text']]:outline-1","[&_[data-slot='radio-text']]:outline-offset-[-1px]","[&_[data-slot='radio-text']]:outline-border-default","[&_[data-slot='radio-text']]:transition-colors","[&_[data-slot='radio-text']]:hover:bg-fill-transparent-hovered","[&_.peer:checked~[data-slot='radio-text']]:bg-fill-subtler","[&_.peer:checked~[data-slot='radio-text']]:text-fg-default","[&_.peer:checked~[data-slot='radio-text']]:outline-transparent","[&_.peer:checked~[data-slot='radio-text']]:hover:bg-fill-subtler-hovered","[&_.peer:disabled~[data-slot='radio-text']]:bg-fill-transparent","[&_.peer:disabled~[data-slot='radio-text']]:cursor-not-allowed","[&_.peer:disabled~[data-slot='radio-text']]:text-fg-disabled","[&_.peer:disabled~[data-slot='radio-text']]:outline-border-disabled","[&_.peer:disabled~[data-slot='radio-text']]:hover:bg-fill-transparent","[&_.peer:checked:disabled~[data-slot='radio-text']]:bg-fill-disabled","[&_.peer:checked:disabled~[data-slot='radio-text']]:text-fg-disabled","[&_.peer:checked:disabled~[data-slot='radio-text']]:outline-transparent","[&_.peer[readonly]~[data-slot='radio-text']]:bg-fill-transparent","[&_.peer[readonly]~[data-slot='radio-text']]:cursor-not-allowed","[&_.peer[readonly]~[data-slot='radio-text']]:text-fg-default","[&_.peer[readonly]~[data-slot='radio-text']]:outline-border-subtler","[&_.peer[readonly]~[data-slot='radio-text']]:hover:bg-fill-transparent","[&_.peer:checked[readonly]~[data-slot='radio-text']]:bg-fill-disabled","[&_.peer:checked[readonly]~[data-slot='radio-text']]:text-fg-default","[&_.peer:checked[readonly]~[data-slot='radio-text']]:outline-transparent"].join(" "),{variants:{size:{sm:["[&_[data-slot='radio-text']]:min-h-7","[&_[data-slot='radio-text']]:px-2","[&_[data-slot='radio-text']]:typo-compact-xs-semibold"].join(" "),md:["[&_[data-slot='radio-text']]:min-h-8","[&_[data-slot='radio-text']]:px-3","[&_[data-slot='radio-text']]:typo-compact-xs-semibold"].join(" ")},disabled:{true:"pointer-events-none cursor-not-allowed",false:""}},defaultVariants:{size:"sm",disabled:!1}}),{forwardRef:bfe,useCallback:yfe,useImperativeHandle:_fe,useMemo:xfe,useRef:Sfe}=await q("react"),Hk=bfe(({className:t="",children:e,size:n,disabled:r,readOnly:o,checkValue:a,value:i,handleChange:s,...l},u)=>{const d=Sfe(null),f=xfe(()=>{if(!(typeof i>"u"))return i===a},[i,a]),m=yfe(v=>{const{name:g,value:w}=v.target;(typeof a=="number"?Number(w)===a:w===a)&&s?.(a,g),l.onChange?.(v)},[s,l,a]);return _fe(u,()=>d.current),ne("label",{"data-slot":"radio-root",className:se(hfe({size:n,checked:f,disabled:r,readOnly:o}),t),children:[h("input",{ref:d,...l,type:"radio",value:a,checked:f,readOnly:o,disabled:r,onChange:m,className:"peer sr-only"}),h("span",{"data-slot":"radio-check",className:mfe({size:n,checked:f,disabled:r}),children:h("i",{"data-slot":"radio-icon",className:gfe({size:n,checked:f,disabled:r})})}),e&&h("span",{"data-slot":"radio-text",className:vfe({size:n,disabled:r}),children:e})]})});Hk.displayName="RBRadioBox";const{forwardRef:Cfe}=await q("react"),Efe=Cfe(({className:t="",children:e,rippleOption:n={disabled:!0},size:r="sm",disabled:o,...a},i)=>h(Rr,{...n,children:h(Hk,{ref:i,size:r,disabled:o,className:se(wfe({size:r,disabled:o}),t),...a,children:e})}));Efe.displayName="RBRadioButton";const Wk=me("block",{variants:{swipeContent:{true:"swipe-content",false:""}},defaultVariants:{swipeContent:!1}}),qk=me("relative isolate",{variants:{hasScrollMask:{true:"overflow-hidden",false:""}},defaultVariants:{hasScrollMask:!1}}),Uk=me("relative overflow-x-auto overflow-y-visible whitespace-nowrap [scrollbar-width:none] [&::-webkit-scrollbar]:hidden"),Mfe=me("border-subtle inline-flex items-end border-b",{variants:{size:{sm:"gap-3",md:"gap-3_5",lg:"gap-4"}},defaultVariants:{size:"md"}}),kfe=me("px-0_5 relative -mb-px inline-flex shrink-0 items-center justify-center border-b text-center transition-colors",{variants:{size:{sm:"typo-compact-sm-semibold h-8",md:"typo-compact-sm2-semibold h-10",lg:"typo-compact-lg-semibold h-12"},selected:{true:"",false:"border-transparent"},disabled:{true:"pointer-events-none cursor-not-allowed",false:"cursor-pointer"},slider:{true:"",false:""}},compoundVariants:[{selected:!0,disabled:!1,slider:!1,className:"text-fg-default z-[1] border-transparent"},{selected:!1,disabled:!1,className:"text-fg-subtler"},{selected:!0,disabled:!0,slider:!1,className:"text-fg-disabled z-[1] border-transparent"},{selected:!1,disabled:!0,className:"text-fg-disabled"},{selected:!0,disabled:!1,slider:!0,className:"text-fg-default z-[1] border-transparent"},{selected:!0,disabled:!0,slider:!0,className:"text-fg-disabled z-[1] border-transparent"}],defaultVariants:{size:"md",selected:!1,disabled:!1,slider:!1}}),Rfe=me("bg-fill-default pointer-events-none absolute bottom-[-1px] left-0 z-[1] h-[1px] transition-[transform,width] duration-200",{variants:{visible:{true:"",false:"opacity-0"}},defaultVariants:{visible:!0}}),b0=me("max-w-full",{variants:{hasContent:{true:"pt-2",false:""},swipeContent:{true:"[&_.swiper-wrapper]:!transition-property-[transform]",false:""}},defaultVariants:{hasContent:!0,swipeContent:!1}}),vu=me("",{variants:{active:{true:"block",false:"hidden"},disabled:{true:"",false:""},swipeContent:{true:"block",false:""}},defaultVariants:{active:!1,disabled:!1,swipeContent:!1}}),D3e=me("inline-flex items-center overflow-x-auto whitespace-nowrap [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",{variants:{size:{sm:"gap-1",md:"gap-1_5",lg:"gap-1_5"}},defaultVariants:{size:"md"}}),Tfe=me("inline-flex shrink-0 items-center justify-center rounded-full transition-colors",{variants:{size:{sm:"px-2_5 typo-compact-sm-semibold h-7",md:"typo-compact-sm2-semibold h-8 px-3",lg:"typo-compact-lg-semibold h-10 px-4"},selected:{true:"",false:"bg-fill-transparent outline-border-subtle outline outline-1 outline-offset-[-1px]"},disabled:{true:"cursor-not-allowed",false:"cursor-pointer"}},compoundVariants:[{selected:!0,disabled:!1,className:"bg-fill-default text-fg-inverse"},{selected:!1,disabled:!1,className:"text-fg-subtler"},{selected:!0,disabled:!0,className:"bg-fill-disabled text-fg-disabled"},{selected:!1,disabled:!0,className:"text-fg-disabled outline-border-disabled"}],defaultVariants:{size:"md",selected:!1,disabled:!1}}),Nfe=me("items-center border-b-0",{variants:{size:{sm:"gap-1",md:"gap-1_5",lg:"gap-1_5"}},defaultVariants:{size:"md"}}),Pfe=me("items-center border-b-0",{variants:{size:{xs:"gap-1",xs2:"gap-1"}},defaultVariants:{size:"xs2"}}),Afe=me("relative inline-flex shrink-0 items-center justify-center rounded-md transition-colors",{variants:{size:{xs:"typo-compact-xs-semibold h-7 px-2",xs2:"typo-compact-xs-semibold h-8 px-3"},selected:{true:"outline outline-1 outline-offset-[-1px] outline-transparent",false:"bg-fill-transparent outline-border-default outline outline-1 outline-offset-[-1px]"},disabled:{true:"cursor-not-allowed",false:"cursor-pointer"}},compoundVariants:[{selected:!0,disabled:!1,className:"bg-fill-subtler text-fg-default"},{selected:!1,disabled:!1,className:"text-fg-default"},{selected:!0,disabled:!0,className:"bg-fill-disabled text-fg-disabled"},{selected:!1,disabled:!0,className:"text-fg-disabled outline-border-disabled"}],defaultVariants:{size:"xs2",selected:!1,disabled:!1}}),{forwardRef:Ife}=await q("react"),Yk=Ife(({className:t="",size:e="md",slider:n=!1,useDefaultStyle:r=!0,selected:o=!1,disabled:a=!1,role:i,children:s,onClick:l,"aria-selected":u},d)=>h("button",{ref:d,type:"button",disabled:a,role:i,"aria-selected":u,className:se(r&&kfe({size:e,selected:o,disabled:a,slider:n}),t),onClick:l,children:h("span",{className:"text-center",children:s})}));Yk.displayName="RBTabItem";const{useCallback:z2,useEffect:Ad,useMemo:k1,useRef:Id,useState:Ofe}=await q("react"),Lfe=Fh,$fe=zh,Dfe=({className:t="",size:e,tabItems:n,activeKey:r,name:o,slider:a,swipeContent:i,disabled:s,rippleOption:l={disabled:!0},tabNavScrollRef:u,destroyInactiveTabPanel:d=!0,tabBtnClassName:f,style:m,onClick:v,handleChange:g})=>{const w=Id(null),y=Id(null),_=Id([]),S=Id(null),x=Id(!1),C=k1(()=>n?.filter(I=>!I?.isHide)??[],[n]),[M,A]=Ofe(r??C[0]?.key),O=k1(()=>{const I=C.findIndex(L=>L.key===M);return I===-1?0:I},[M,C]),D=k1(()=>{if(!C.length)return null;if(i){const I=()=>{const{swipeDirection:L}=S.current,{key:V,disabled:F}=C[S.current.activeIndex],{key:z}=C[S.current.activeIndex-1]??C[0],{key:B}=C[S.current.activeIndex+1]??C[S.current.activeIndex];F?(A(L==="next"?B:z),g?.(L==="next"?B:z,o)):(A(V),g?.(V,o))};return h($fe,{className:se(b0({swipeContent:!0})),autoHeight:!0,threshold:1,slidesPerView:1,enabled:!s,onSwiper:L=>{S.current=L},onSlideChange:I,children:C.map(L=>h(Lfe,{className:se(vu({disabled:s||L.disabled})),style:{visibility:L.disabled?"hidden":"visible"},children:L.children},L.key))})}else return d?h("div",{className:se(b0()),children:h("div",{className:se(vu({active:!0,disabled:s||C[O]?.disabled})),children:C[O]?.children})},`contents-${C[O]?.key}`):h("div",{className:se(b0()),children:C.map((I,L)=>h("div",{className:se(vu({active:O===L,disabled:s||I.disabled})),children:I.children},`contents-${I.key}`))})},[O,d,s,g,o,i,C]),T=z2(()=>{const I=u?.current??y.current,L=_.current.find(V=>V&&V.classList.contains("active"))??_.current[0];if(L){const{offsetLeft:V,clientWidth:F}=L,z=V-I.offsetWidth/2+F/2;I.scrollTo({top:0,left:z,behavior:"smooth"})}},[u]),R=z2(()=>{const I=w.current;if(!a||!I)return;const L=_.current.find(V=>V&&V.classList.contains("active"))??_.current[0];if(L){const{offsetLeft:V,clientWidth:F}=L;I.style.transform=`translateX(${V}px)`,I.style.width=`${F}px`,x.current?I.style.transition="":(I.style.transition="none",x.current=!0)}else I.style.transform="translateX(0px)",I.style.width="0px"},[a]),$=z2((I,L)=>{typeof r>"u"&&A(I),g?.(I,o),v?.(I,L)},[r,o,g,v]),P=k1(()=>{if(!(typeof window>"u"))return new ResizeObserver(()=>{R()})},[R]);return Ad(()=>{typeof r<"u"&&r!==M&&A(r)},[r,M]),Ad(()=>{R(),T(),S.current&&S.current.slideTo(O,250)},[O,R,T]),Ad(()=>{const I=()=>{R(),T()};return window.addEventListener("resize",I),()=>{window.removeEventListener("resize",I)}},[R,T]),Ad(()=>{i&&S.current&&(s?S.current.disable():S.current.enable())},[s,i]),Ad(()=>{if(P){const I=_.current;return I.forEach(L=>{L&&P.observe(L)}),()=>{I.forEach(L=>{L&&P.unobserve(L)})}}},[P]),ne("div",{"data-slot":"tab-wrapper",className:se(Wk({swipeContent:!!i}),t),style:m,children:[h("div",{"data-slot":"tab-nav",className:se(qk()),children:h("div",{"data-slot":"tab-nav-viewport",ref:y,className:se(Uk()),children:ne("div",{"data-slot":"tab-nav-list",className:se("relative flex w-full",Mfe({size:e})),children:[C.map((I,L)=>h(Rr,{...l,disabled:l.disabled||I.disabled||s,children:h(Yk,{ref:V=>{V&&(_.current[L]=V)},"data-slot":"tab-nav-item",className:se(M===I.key&&"active",f),slider:!!a,selected:M===I.key,disabled:!!(s||I.disabled),role:"tab","aria-selected":M===I.key,onClick:V=>$(I.key,V),children:I.label})},I.key)),h("span",{ref:w,"data-slot":"tab-slider",className:se(Rfe({visible:!!a})),style:{width:0}})]})})}),h("div",{"data-slot":"tab-content",children:D})]})};Dfe.displayName="RBTab";const{forwardRef:Bfe}=await q("react"),Gk=Bfe(({className:t="",size:e="md",selected:n=!1,disabled:r=!1,role:o,children:a,onClick:i,"aria-selected":s},l)=>h("button",{ref:l,type:"button",disabled:r,role:o,"aria-selected":s,className:se(Tfe({size:e,selected:n,disabled:r}),t),onClick:i,children:a}));Gk.displayName="RBChipItem";const{useCallback:F2,useEffect:Od,useMemo:Ld,useRef:$d,useState:zfe}=await q("react"),Ffe=Fh,Vfe=zh,jfe=({className:t="",size:e,tabItems:n,activeKey:r,name:o,slider:a,swipeContent:i,disabled:s,rippleOption:l={disabled:!0},tabNavScrollRef:u,destroyInactiveTabPanel:d=!0,tabBtnClassName:f,style:m,onClick:v,handleChange:g})=>{const w=$d(null),y=$d(null),_=$d([]),S=$d(null),x=$d(!1),C=Ld(()=>n?.filter(L=>!L?.isHide)??[],[n]),[M,A]=zfe(r??C[0]?.key),O=Ld(()=>{const L=C.findIndex(V=>V.key===M);return L===-1?0:L},[M,C]),D=Ld(()=>C[O]?.children!=null,[O,C]),T=Ld(()=>C.length?i?h(Vfe,{autoHeight:!0,threshold:1,slidesPerView:1,enabled:!s,onSwiper:V=>{S.current=V},onSlideChange:()=>{const{swipeDirection:V}=S.current,{key:F,disabled:z}=C[S.current.activeIndex],{key:B}=C[S.current.activeIndex-1]??C[0],{key:Y}=C[S.current.activeIndex+1]??C[S.current.activeIndex];z?(A(V==="next"?Y:B),g?.(V==="next"?Y:B,o)):(A(F),g?.(F,o))},children:C.map(V=>h(Ffe,{className:se(vu({active:!0,swipeContent:!0,disabled:s||V.disabled})),style:{visibility:V.disabled?"hidden":"visible"},children:V.children},V.key))}):d?h("div",{children:h("div",{className:se(vu(),{active:!0,disabled:s||C[O]?.disabled}),children:C[O]?.children})},`contents-${C[O]?.key}`):h("div",{children:C.map((L,V)=>h("div",{className:se(vu(),{active:O===V,disabled:s||L.disabled}),children:L.children},`contents-${L.key}`))}):null,[O,d,s,g,o,i,C]),R=F2(()=>{const L=u?.current??y.current,V=_.current.find(F=>F&&F.classList.contains("active"))??_.current[0];if(V){const{offsetLeft:F,clientWidth:z}=V,B=F-L.offsetWidth/2+z/2;L.scrollTo({top:0,left:B,behavior:"smooth"})}},[u]),$=F2(()=>{const L=w.current;if(!a||!L)return;const V=_.current.find(F=>F&&F.classList.contains("active"))??_.current[0];if(V){const{offsetLeft:F,clientWidth:z}=V;L.style.transform=`translateX(${F}px)`,L.style.width=`${z}px`,x.current?L.style.transition="":(L.style.transition="none",x.current=!0)}else L.style.transform="translateX(0px)",L.style.width="0px"},[a]),P=F2((L,V)=>{typeof r>"u"&&A(L),g?.(L,o),v?.(L,V)},[r,o,g,v]),I=Ld(()=>{if(!(typeof window>"u"))return new ResizeObserver(()=>{$()})},[$]);return Od(()=>{typeof r<"u"&&r!==M&&A(r)},[r,M]),Od(()=>{$(),R(),S.current&&S.current.slideTo(O,250)},[O,$,R]),Od(()=>{const L=()=>{$(),R()};return window.addEventListener("resize",L),()=>{window.removeEventListener("resize",L)}},[$,R]),Od(()=>{i&&S.current&&(s?S.current.disable():S.current.enable())},[s,i]),Od(()=>{if(I){const L=_.current;return L.forEach(V=>{V&&I.observe(V)}),()=>{L.forEach(V=>{V&&I.unobserve(V)})}}},[I]),ne("div",{"data-slot":"chip-tab-wrapper",className:se(Wk({swipeContent:!!i}),t),style:m,children:[h("div",{"data-slot":"chip-tab-nav",className:se(qk()),children:h("div",{"data-slot":"chip-tab-nav-viewport",ref:y,className:se(Uk()),children:h("div",{"data-slot":"chip-tab-nav-list",className:se("relative flex",Nfe({size:e})),children:C.map((L,V)=>h(Rr,{...l,disabled:l.disabled||L.disabled||s,children:h(Gk,{ref:F=>{F&&(_.current[V]=F)},"data-slot":"chip-tab-nav-item",className:se(M===L.key&&"active",f),size:e,selected:M===L.key,disabled:!!(s||L.disabled),role:"tab","aria-selected":M===L.key,onClick:F=>P(L.key,F),children:L.label})},L.key))})})}),h("div",{"data-slot":"chip-tab-content",className:se(b0({hasContent:D})),children:T})]})};jfe.displayName="RBTab";const{forwardRef:Hfe}=await q("react"),Kk=Hfe(({className:t="",size:e="xs2",selected:n=!1,disabled:r=!1,role:o,children:a,onClick:i,"aria-selected":s,...l},u)=>h("button",{ref:u,type:"button",disabled:r,role:o,"aria-selected":s,"data-pad-focus":"true",className:se(Afe({size:e,selected:n,disabled:r}),t),onClick:i,...l,children:a}));Kk.displayName="RBChipsBoxItem";const{useCallback:R1,useEffect:T1,useMemo:V2,useRef:j2,useState:eu}=await q("react"),Wfe=({className:t="",size:e="xs2",tabItems:n,activeKey:r,name:o,disabled:a=!1,destroyInactiveTabPanel:i=!0,rippleOption:s={disabled:!0},tabBtnClassName:l="",style:u,enableOverflowExpand:d=!0,showBottomBorder:f=!0,rightIconButtonProps:m,leftSlot:v,handleChange:g,onClick:w})=>{const[y,_]=eu(!1),[S,x]=eu(!1),[C,M]=eu(0),A=j2(null),O=j2([]),D=j2(null),T=V2(()=>n?.filter(ee=>!ee?.isHide)??[],[n]),[R,$]=eu(r??T[0]?.key),[P,I]=eu(!1),[L,V]=eu(!1),F=R1(()=>{const ee=A.current;if(!ee){x(!1),M(0);return}const ue=ee.scrollWidth>ee.clientWidth+1;x(ue),M(ue?ee.clientWidth/2:0)},[]),z=V2(()=>{const ee=T.findIndex(ue=>ue.key===R);return ee===-1?0:ee},[R,T]),B=R1(()=>{if(F(),y){I(!1),V(!1);return}const ee=A.current;if(!ee)return;if(!(ee.scrollWidth>ee.clientWidth+1)){I(!1),V(!1);return}const fe=Math.max(0,ee.scrollWidth-ee.clientWidth);I(ee.scrollLeft>1),V(ee.scrollLeft<fe-1)},[F,y]),Y=R1(()=>{if(y)return;const ee=A.current,ue=O.current.find(Ne=>Ne&&Ne.classList.contains("active"))??O.current[0];if(!ee||!ue)return;const{offsetLeft:fe,clientWidth:ye}=ue,we=fe-ee.offsetWidth/2+ye/2;ee.scrollTo({top:0,left:we,behavior:"smooth"})},[y]),U=R1((ee,ue)=>{typeof r>"u"&&$(ee),g?.(ee,o),w?.(ee,ue)},[r,g,o,w]),le=ee=>{_(ue=>!ue),m?.onClick?.(ee)};T1(()=>{typeof r<"u"&&r!==R&&$(r)},[r,R]),T1(()=>{Y(),B()},[z,y,Y,B]),T1(()=>{F();const ee=A.current;if(!ee)return;const ue=new ResizeObserver(()=>{F(),B(),Y()});ue.observe(ee);const fe=()=>{F(),B(),Y()};return window.addEventListener("resize",fe),()=>{ue.disconnect(),window.removeEventListener("resize",fe)}},[F,B,Y,T]),T1(()=>{const ee=A.current;if(!ee||y)return;const ue=()=>{D.current!==null&&window.clearTimeout(D.current),B(),D.current=window.setTimeout(()=>{B()},140)};return B(),ee.addEventListener("scroll",ue,{passive:!0}),()=>{ee.removeEventListener("scroll",ue),D.current!==null&&window.clearTimeout(D.current)}},[y,B]);const J=y?h(sw,{}):h(nh,{}),re=e==="xs2"?"h-11":"h-10",te=d&&(y||S),oe=V2(()=>T.length?i?h("div",{children:h("div",{className:se("block",(a||T[z]?.disabled)&&"pointer-events-none opacity-50"),children:T[z]?.children})},`contents-${T[z]?.key}`):h("div",{children:T.map((ee,ue)=>h("div",{className:se(z===ue?"block":"hidden"),children:ee.children},`contents-${ee.key}`))}):null,[z,i,a,T]);return ne("div",{className:se("block",t),style:u,children:[ne("div",{className:se("relative isolate",f&&"border-subtler border-b"),children:[v&&h("div",{className:"absolute top-0 bottom-0 left-0 z-[4] flex items-center pl-1",children:v}),h("div",{ref:A,className:se("relative p-1.5 [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",y?"overflow-x-visible overflow-y-visible pr-0":"overflow-x-auto overflow-y-hidden pr-10 whitespace-nowrap",v&&"pl-9"),children:ne("div",{className:se(Pfe({size:e}),"relative flex",y?"w-full flex-wrap content-start gap-y-1":"w-max min-w-full flex-nowrap"),children:[T.map((ee,ue)=>h(Rr,{...s,disabled:s.disabled||ee.disabled||a,children:h(Kk,{ref:fe=>{O.current[ue]=fe},className:se(R===ee.key&&"active",l),size:e,selected:R===ee.key,disabled:!!(a||ee.disabled),role:"tab","aria-selected":R===ee.key,onClick:fe=>U(ee.key,fe),children:ee.label})},ee.key)),h("div",{"aria-hidden":"true",className:y?"hidden":"inline-block",style:{width:`${C}px`,flexShrink:0}})]})}),!y&&ne(Mr,{children:[h("div",{"aria-hidden":"true",className:se("to-bg-default pointer-events-none absolute top-0 bottom-px -left-px z-[2] w-11 shrink-0 bg-gradient-to-l from-transparent to-[30%] transition-opacity duration-150",P?"opacity-100":"opacity-0")}),h("div",{"aria-hidden":"true",className:se("from-bg-default pointer-events-none absolute top-0 -right-px bottom-px z-[3] w-11 shrink-0 bg-gradient-to-l from-[30%] to-transparent transition-opacity duration-150",L?"opacity-100":"opacity-0")})]}),te?ne("div",{className:se("pointer-events-none absolute top-0 right-0 z-[5] w-9",re,"from-bg-default bg-gradient-to-l from-[80%] to-transparent"),children:[y?null:h("div",{className:"bg-default absolute top-0 right-0 bottom-0 w-px"}),h("div",{className:se("pointer-events-auto flex items-center justify-center",re),children:h(m7,{size:"3xs",variant:"circle",icon:J,...m,onClick:le})})]}):null]}),oe]})};Wfe.displayName="RBChipsBoxTab";const Xk=({className:t,borderClassName:e,pathClassName:n,size:r,style:o})=>ne("svg",{className:se("spinner","animate-spinner-rotate relative z-2 stroke-[5px]",t),viewBox:"0 0 50 50",width:r,height:r,stroke:"currentColor",style:o,children:[h("circle",{className:se("stroke-linecap-round stroke-width-inherit stroke-inherit opacity-30",e),cx:"25",cy:"25",r:"20",fill:"none"}),h("circle",{className:se("animate-spinner-path-dash infinite stroke-linecap-round stroke-width-inherit stroke-inherit ease-in-out",n),cx:"25",cy:"25",r:"20",fill:"none"})]}),qfe=me(["overflow-x-auto overflow-y-hidden min-[1280px]:overflow-hidden","[&::-webkit-scrollbar]:h-0 [&::-webkit-scrollbar]:w-0","[&_table]:w-full [&_table]:min-w-full [&_table]:border-collapse","[&_th]:relative [&_th]:h-9 [&_th]:border-b [&_th]:border-b-[var(--color-border-subtler)]","[&_th]:bg-fill-transparent [&_th]:px-2 [&_th]:py-0","[&_th]:text-fg-default [&_th]:text-left [&_th]:align-middle","[&_td]:relative [&_td]:min-h-7 [&_td]:border-b [&_td]:border-b-[var(--color-border-subtler)]","[&_td]:bg-fill-transparent [&_td]:py-1_5 [&_td]:px-2","[&_td]:typo-body-xs-normal [&_td]:text-fg-subtle [&_td]:align-middle","[&_tbody_tr]:relative [&_tbody_tr]:transition-all [&_tbody_tr]:duration-200","[&_[data-slot='ico-check']]:mr-0 [&_label]:p-0"].join(" "),{variants:{noData:{true:"overflow-hidden",false:""},loading:{true:"",false:""},stickyThead:{true:["[&_table]:border-separate [&_table]:border-spacing-0","[&_thead_tr]:sticky [&_thead_tr]:top-0 [&_thead_tr]:z-10","[&_th]:sticky [&_th]:top-0 [&_th]:z-10","[&_th]:bg-inherit [&_th]:bg-clip-padding","[&_th]:shadow-[inset_0_-1px_0_0_var(--color-border-subtler)]"].join(" "),false:""}},defaultVariants:{noData:!1,loading:!1,stickyThead:!1}}),Ufe=me("transition-colors duration-150",{variants:{sortable:{true:"hover:bg-fill-transparent-hovered cursor-pointer select-none",false:""},align:{left:"",center:"",right:""}},defaultVariants:{sortable:!1,align:"left"}}),Yfe=me("typo-compact-xs-semibold text-fg-default gap-0_5 inline-flex h-full w-full items-center bg-transparent",{variants:{align:{left:"justify-start text-left",center:"justify-center text-center",right:"justify-end text-right"}},defaultVariants:{align:"left"}}),Gfe=me("text-fg-default inline-flex size-4 items-center justify-center bg-transparent [&>svg]:size-full"),Kfe=me("flex min-h-36 w-full items-center justify-center"),Xfe=me("!border-b-0 !border-none !p-0"),Zfe=me("!table-row"),Qfe=me("min-h-60 w-full max-w-[calc(100vw-2.5rem)] border-b-0"),Jfe=me("",{variants:{expend:{true:"hover:bg-fill-transparent-hovered cursor-pointer",false:""},align:{left:"text-left",center:"text-center",right:"text-right"}},defaultVariants:{expend:!1,align:"left"}}),epe=me("[&_.table-checkbox]:w-2.5"),tpe=me(""),npe=me("!overflow-hidden !border-none !p-0"),rpe=me("!m-0 overflow-hidden !p-0 transition-[max-height] duration-200"),ope=me("border-subtler py-2_5 border-b px-3"),{useCallback:ape,useState:ipe}=await q("react"),Zk=({className:t="",children:e,align:n="left",fieldId:r,size:o="",colSpan:a,rowSpan:i,expend:s,expendOpen:l,handleExpendToggle:u,onClick:d})=>{const[f,m]=ipe(l),v=ape(g=>{if(d?.(g),!!s)try{m(w=>!w)}catch(w){console.error(w)}finally{setTimeout(()=>{u?.(!f)},10)}},[s,f,d,u]);return h("td",{"data-slot":"table-cell",className:se(Jfe({expend:s,align:n}),r,s&&l&&"expend-open",t),colSpan:a,rowSpan:i,style:{width:o},onClick:v,children:h(qf,{children:e})})};Zk.displayName="RBTdColumn";const{Children:Qv,Fragment:spe,isValidElement:Qk,useMemo:H2,useState:m6}=await q("react"),Jv=t=>{let e=[];return Qv.forEach(t,n=>{if(Qk(n)){const r=n;r.type===spe?e=[...e,...Jv(r.props.children)]:typeof n.type=="function"&&(n.type.name==="RBTdColumn"||n.type.displayName==="RBTdColumn")?e.push(n):e=[...e,...Jv(r.props.children)]}}),e},B3e=({className:t="",list:e,children:n,loadingElement:r=h(Xk,{className:"text-fg-default size-7",borderClassName:"text-fg-subtler opacity-100"}),errorFallback:o,noDataMsg:a,hideThead:i,stickyThead:s=!1,theadTopRows:l,sortUpElement:u=h($7,{}),sortDownElement:d=h(D7,{}),sortNormalElement:f=h(S7,{}),loading:m})=>{const[v,g]=m6(!1),[w,y]=m6(null),_=H2(()=>{const M=(e||[]).length>0?e?.[0]:{};return Jv(n({item:M,index:0}))},[n,e]),S=H2(()=>{const M=_?.map(A=>{const O=A;return{className:O.props?.className??"",align:O.props?.align??"left",label:O.props?.label,fieldId:O.props?.fieldId,enableSorting:typeof O.props?.sortValue<"u"||!!O.props?.handleClickSort,handleClickSort:O.props?.handleClickSort,thColSpan:O.props?.thColSpan,thRowSpan:O.props?.thRowSpan,rowSpan:O.props?.rowSpan,colSpan:O.props?.colSpan,size:O.props?.size,order:O.props?.order??""}});return M?M.filter(A=>typeof A.label<"u").map(A=>w?.fieldId?{...A,order:w?.fieldId===A.fieldId?w?.order:""}:A):[]},[_,w]),x=H2(()=>{const{fieldId:M,order:A}=w??{};if(!A)return e;const D=e.map((T,R)=>Qv.map(n({item:T,index:R}),$=>{if(Qk($)){const P=$;return P.type===Zk?$:Qv.toArray(P.props.children)}return[]})).reduce((T,R)=>{const $=R.find(P=>P.props.fieldId===M);return T.push($.props?.sortValue??0),T},[]);return kn.orderBy(e.map((T,R)=>({...T,sortValue:D[R]})),["sortValue"],[A])},[e,w,n]),C=async M=>{let A="desc";const{order:O,index:D,fieldId:T,enableSorting:R,handleClickSort:$}=M;if(!R||v)return;O==="desc"?A="asc":O==="asc"&&(A="");const P={index:D,order:A,fieldId:T};if(y(P),$)try{g(!0),await $(P)}finally{g(!1)}};return h(qf,{fallback:o,children:h("div",{"data-slot":"table-root",className:se(qfe({noData:!!e&&e.length===0,loading:!e||v||m,stickyThead:s}),t),children:ne("table",{"data-slot":"table",children:[!i&&ne("thead",{"data-slot":"table-head",children:[l,h("tr",{"data-slot":"table-head-row",children:S.map((M,A)=>h("th",{"data-slot":"table-head-cell",className:se(Ufe({sortable:M.enableSorting,align:M.align}),M.fieldId,M.className),rowSpan:M.thRowSpan??M.rowSpan,colSpan:M.thColSpan??M.colSpan,style:{width:M.size},onClick:()=>C({...M,index:A}),children:ne("div",{"data-slot":"table-head-cell-content",className:Yfe({align:M.align}),children:[M.label,!!M.enableSorting&&ne("span",{"data-slot":"table-head-cell-sort-icon",className:Gfe(),children:[M.order!=="desc"&&M.order!=="asc"&&f,M.order==="desc"&&d,M.order==="asc"&&u]})]})},`th-${M.fieldId??A}`))})]}),ne("tbody",{"data-slot":"table-body",children:[(!e||v||m)&&h("tr",{"data-slot":"table-loading-row",children:h("td",{"data-slot":"table-loading-cell",className:Xfe(),colSpan:S.length,children:h("div",{"data-slot":"table-loading-content",className:Kfe(),children:r})})}),!!e&&!m&&!v&&(e.length>0?x.map((M,A)=>n({item:M,index:A})):h("tr",{"data-slot":"table-empty-row",className:Zfe(),children:h("td",{"data-slot":"table-empty-cell",colSpan:S.length,children:typeof a=="object"?a:h(L3,{"data-slot":"table-empty-content",className:Qfe(),nullText:a})})}))]})]})})})},{useCallback:g6,useEffect:v6,useMemo:w6,useRef:lpe,useState:cpe}=await q("react"),upe=({className:t="",children:e,expendOpen:n=!1,handleExpendChange:r,beforeExpendOpen:o,onClick:a})=>{const i=lpe(null),[s,l]=cpe(n),u=g6(v=>{if(i.current){const g=typeof v=="boolean"?v:!s,w=i.current.firstChild;w&&(w.style.maxHeight=g?`${w.scrollHeight}px`:"0px")}},[i,s]),d=g6(async()=>{try{o&&!s&&(await o(),await sk(10))}catch(v){console.error(v)}finally{l(!s),r?.(!s)}},[s,r,o]),f=w6(()=>{const v=w=>w.flatMap(y=>y?.props?y.type?.displayName==="RBTdColumn"?{...y,props:{...y.props,handleExpendToggle:d,expendOpen:s}}:Array.isArray(y.props.children)?v(y.props.children):[]:[]),g=Array.isArray(e)?e:[e];return v(g)},[e,s,d]),m=w6(()=>{const v=w=>w.flatMap(y=>{if(y?.props){if(y.type?.displayName==="RBTdExpend")return y;if(Array.isArray(y.props.children))return v(y.props.children)}}),g=Array.isArray(e)?e:[e];return v(g).filter(w=>w)[0]},[e]);return v6(()=>{u(s)},[s,u]),v6(()=>{typeof n<"u"&&l(n)},[n]),ne(Mr,{children:[h("tr",{"data-slot":"table-row",className:se(epe(),t),onClick:a,children:f}),!!m&&h("tr",{"data-slot":"table-expand-row",className:tpe(),children:h("td",{"data-slot":"table-expand-cell",ref:i,className:npe(),colSpan:f.length,children:m})})]})};upe.displayName="RBTableRow";const dpe=({className:t="",children:e,style:n})=>h("div",{"data-slot":"table-expand-content",className:rpe(),children:h("div",{"data-slot":"table-expand-content-inner",className:se(ope(),t),style:n,children:e})});dpe.displayName="RBTdExpend";const fpe=me("inline-flex items-center justify-center rounded-full",{variants:{type:{number:"typo-compact-2xs-semibold size-4 min-w-4 gap-1 overflow-hidden px-1",capsule:"typo-compact-2xs-semibold gap-1_5 px-1_5 py-0_5",soft:"typo-compact-2xs-semibold gap-1_5 px-1_5 py-0_5",transparent:"typo-compact-2xs-semibold gap-0_5 rounded-none p-0"}},defaultVariants:{type:"number"}}),ppe=me("",{variants:{variant:{solid:"bg-fill-default text-fg-inverse hover:bg-fill-default-hovered",soft:"bg-fill-subtler text-fg-default hover:bg-fill-subtler-hovered",outlined:"bg-fill-transparent text-fg-default outline-border-default hover:bg-fill-transparent-hovered outline outline-1 outline-offset-[-1px]",ghost:"bg-fill-transparent text-fg-default hover:bg-fill-transparent-hovered"}},defaultVariants:{variant:"solid"}}),hpe=me("",{variants:{color:{red:"bg-fill-danger text-fg-inverse",orange:"bg-fg-warning text-fg-inverse",green:"bg-fill-success text-fg-inverse",blue:"bg-fill-information text-fg-inverse",purple:"bg-fill-debug text-fg-inverse",gray:"bg-fill-subtle text-fg-inverse","gray-subtle":"bg-fill-subtler text-fg-inverse"}},defaultVariants:{color:"red"}}),mpe=me("",{variants:{color:{red:"bg-fill-danger-subtlest text-fg-danger",orange:"bg-fill-caution-subtlest text-fg-caution",green:"bg-fill-success-subtlest text-fg-success",blue:"bg-fill-information-subtlest text-fg-information",purple:"bg-fill-debug-subtlest text-fg-debug",gray:"bg-fill-disabled text-fg-subtle","gray-subtle":"bg-fill-subtlest text-fg-subtler"}},defaultVariants:{color:"red"}}),gpe=me("",{variants:{color:{red:"text-fg-danger bg-transparent",orange:"text-fg-warning bg-transparent",green:"text-fg-success bg-transparent",blue:"text-fg-information bg-transparent",purple:"text-fg-debug bg-transparent",gray:"text-fg-subtle bg-transparent","gray-subtle":"text-fg-subtler bg-transparent"}},defaultVariants:{color:"red"}});function z3e({className:t,type:e="number",numberVariant:n="solid",color:r="red",leadingIcon:o,children:a}){return h("span",{"data-slot":"badge",className:se(fpe({type:e}),{[ppe({variant:n})]:e==="number",[hpe({color:r})]:e==="capsule",[mpe({color:r})]:e==="soft",[gpe({color:r})]:e==="transparent"},t),children:e==="transparent"?ne(Mr,{children:[o,h("span",{"data-slot":"badge-content",className:"relative top-px inline-flex items-center",children:a})]}):a})}const vpe=me("inline-flex w-full flex-col items-start gap-7 overflow-hidden"),wpe=me("flex h-48 w-full flex-col items-center justify-center gap-3 overflow-hidden px-9 py-5"),bpe=me("text-fg-subtle typo-body-xs2-normal w-full max-w-[600px] text-center"),ype=me("text-fg-subtler inline-flex size-6 items-center justify-center [&_svg]:size-full");function b6({className:t,type:e="button",message:n="엠프티뷰의 안내 메세지를 입력해주세요.",description:r,buttonLabel:o="버튼 라벨",onButtonClick:a,icon:i}){const s=e==="button";return h("div",{"data-slot":"empty-view",className:se(vpe(),t),children:ne("div",{"data-slot":"empty-view-section",className:wpe(),children:[!s&&h("i",{"data-slot":"empty-view-icon","aria-hidden":!0,className:ype(),children:i??h(oh,{})}),ne("div",{children:[h("p",{"data-slot":"empty-view-message",className:bpe(),children:n}),r&&h("p",{"data-slot":"empty-view-description",className:"text-fg-subtler typo-body-xs2-normal w-full max-w-150 text-center",children:r})]}),s&&h(Hr,{"data-slot":"empty-view-button",size:"sm",variant:"soft",onClick:a,children:o})]})})}const _pe=me("relative z-[1] w-full",{variants:{disabled:{true:"[&_[data-slot=multi-range-range]]:bg-fill-default [&_[data-slot=text-input]]:bg-fill-control-surface-disabled [&_[data-slot=text-input]]:text-fg-disabled [&_[data-slot=text-input]]:outline-border-disabled [&_[data-slot=multi-range-text-field]]:text-fg-disabled [&_input[type='range']::-moz-range-thumb]:border-default [&_input[type='range']::-moz-range-thumb]:bg-default [&_input[type='range']::-webkit-slider-thumb]:border-default [&_input[type='range']::-webkit-slider-thumb]:bg-default opacity-30 [&_[data-slot=multi-range-slider]]:pointer-events-none [&_[data-slot=multi-range-slider]]:cursor-not-allowed [&_input[type='range']::-moz-range-thumb]:cursor-not-allowed [&_input[type='range']::-webkit-slider-thumb]:cursor-not-allowed",false:""}},defaultVariants:{disabled:!1}}),xpe=me("relative inline-flex w-full items-center justify-center"),Spe=me("h-[var(--mri-slider-height)] w-[calc(100%_-_var(--mri-thumb-size))]"),y6=me("pointer-events-none absolute top-1/2 left-0 z-[3] h-[var(--mri-slider-height)] w-full -translate-y-1/2 appearance-none bg-transparent opacity-100"),Cpe=me("relative z-[2] h-[var(--mri-slider-height)]"),Epe=me("absolute inset-0 z-[1] rounded-full bg-[var(--mri-track-color,var(--color-fill-subtler))]"),Mpe=me("absolute top-0 bottom-0 z-[2] rounded-full bg-[var(--mri-range-color,var(--color-fill-brand))]"),kpe=me("flex w-full items-start justify-between pt-1"),_6=me("",{variants:{align:{left:"",right:"ml-auto text-right"}},defaultVariants:{align:"left"}}),x6=me("typo-compact-xs2-normal text-fg-default bg-fill-control-surface outline-border-default inline-block h-8 w-auto shrink-0 rounded-md px-2.5 text-center outline outline-1 outline-offset-[-1px] transition-colors"),S6="[&::-webkit-slider-thumb]:pointer-events-auto [&::-webkit-slider-thumb]:h-[var(--mri-thumb-size)] [&::-webkit-slider-thumb]:w-[var(--mri-thumb-size)] [&::-webkit-slider-thumb]:appearance-none [&::-webkit-slider-thumb]:rounded-full [&::-webkit-slider-thumb]:border [&::-webkit-slider-thumb]:border-[var(--mri-thumb-border-color,var(--color-fg-default))] [&::-webkit-slider-thumb]:bg-[var(--mri-thumb-color,var(--color-fg-default))] [&::-webkit-slider-thumb]:cursor-pointer [&::-moz-range-thumb]:pointer-events-auto [&::-moz-range-thumb]:h-[var(--mri-thumb-size)] [&::-moz-range-thumb]:w-[var(--mri-thumb-size)] [&::-moz-range-thumb]:appearance-none [&::-moz-range-thumb]:rounded-full [&::-moz-range-thumb]:border [&::-moz-range-thumb]:border-[var(--mri-thumb-border-color,var(--color-fg-default))] [&::-moz-range-thumb]:bg-[var(--mri-thumb-color,var(--color-fg-wte))] [&::-moz-range-thumb]:cursor-pointer",{forwardRef:Rpe,useCallback:N1,useEffect:C6,useImperativeHandle:Tpe,useMemo:W2,useRef:Dd,useState:Npe}=await q("react"),Ppe=Rpe((t,e)=>{const{className:n="",value:r,name:o,min:a,max:i,step:s=1,thumbSize:l=12,sliderHeight:u=4,thumbBorderColor:d,thumbColor:f,trackColor:m,rangeColor:v,showTextInput:g=!0,disabled:w=!1,handleChange:y,onChange:_}=t,S=Dd([a,i]),x=Dd(null),C=Dd(null),M=Dd(null),A=Dd(null),[O,D]=Npe([a,i]),T=W2(()=>O.map(z=>(z-a)/(i-a)*100),[O,a,i]),R=w||a===i,$=W2(()=>qo(O[0]),[O]),P=W2(()=>qo(O[1]),[O]),I=N1(()=>{!M.current||!A.current||(M.current.value=$,A.current.value=P)},[$,P]),L=N1(z=>{z.key==="Enter"&&!z.nativeEvent.isComposing&&(M.current.blur(),A.current.blur())},[]),V=N1((z,B,Y=!1)=>{if(g&&(!M.current||!A.current))return;const{value:U}=B.target;if(z==="left"){let le=Math.min(Vl(U),O[1]-s);le=le>a?le:a,D([le,O[1]]),Y&&y?.([le,O[1]],o),M.current.value=qo(le)}else{let le=Math.max(Vl(U),O[0]+s);le=le<=i?le:i,D([O[0],le]),Y&&y?.([O[0],le],o),A.current.value=qo(le)}_?.(B),I()},[_,g,I,y,o,O,s,a,i]),F=N1(()=>{O.some((z,B)=>z!==S.current[B])&&(S.current=[...O],y?.(O,o))},[O,o,y]);return C6(()=>{I()},[I]),C6(()=>{typeof r<"u"&&(D(r),S.current=[...r])},[r]),Tpe(e,()=>({focus:x.current.focus})),ne("div",{"data-slot":"multi-range-input",className:se(_pe({disabled:R}),n),style:{"--mri-thumb-size":`${l}px`,"--mri-slider-height":`${u}px`,"--mri-thumb-border-color":d,"--mri-thumb-color":f,"--mri-track-color":m,"--mri-range-color":v},children:[h("div",{className:xpe(),style:{height:"var(--mri-thumb-size)"},children:ne("div",{className:Spe(),children:[h("input",{ref:x,type:"range",value:O[0],min:a,max:i,step:s,disabled:R,className:se(y6(),S6),onChange:z=>V("left",z),onMouseUp:F,onMouseLeave:F,onTouchEnd:F}),h("input",{ref:C,type:"range",value:O[1],min:a,max:i,step:s,disabled:R,className:se(y6(),S6),onChange:z=>V("right",z),onMouseUp:F,onMouseLeave:F,onTouchEnd:F}),ne("div",{"data-slot":"multi-range-slider",className:Cpe(),children:[h("div",{"data-slot":"multi-range-track",className:Epe()}),h("div",{"data-slot":"multi-range-range",className:Mpe(),style:{left:`${T[0]}%`,right:`${100-T[1]}%`}})]})]})}),g&&ne("div",{"data-slot":"multi-range-text-wrap",className:kpe(),children:[h("div",{className:_6({align:"left"}),children:h("input",{"data-slot":"multi-range-text-field",ref:M,type:"text",inputMode:"numeric",defaultValue:O[0],size:Math.max($.length,1),disabled:R,className:x6(),onBlur:z=>V("left",z,!0),onKeyDown:L})}),h("div",{className:_6({align:"right"}),children:h("input",{"data-slot":"multi-range-text-field",ref:A,type:"text",inputMode:"numeric",defaultValue:O[1],size:Math.max(P.length,1),disabled:R,className:x6(),onBlur:z=>V("right",z,!0),onKeyDown:L})})]})]})});Ppe.displayName="MultiRangeInput";const Ape=me("relative touch-none rounded-full",{variants:{disabled:{false:"",true:"cursor-not-allowed [&>*]:pointer-events-none [&>*]:opacity-40"}},defaultVariants:{disabled:!1}}),Ipe=me(["relative flex h-full cursor-grab items-center justify-center","will-change-[transform,opacity]","transition-opacity duration-150 ease-in-out"],{variants:{active:{false:"",true:"cursor-grabbing opacity-100"}},defaultVariants:{active:!1}}),Ope=me(["absolute top-0 left-0 z-[1] h-full w-full","will-change-transform [backface-visibility:hidden]"]),Lpe=me("shadow-down-sm relative block h-full rounded-full bg-[var(--joy-stick-area-color,var(--color-fill-inverse))] opacity-40 transition-opacity duration-100",{variants:{active:{false:"",true:"opacity-100"}},defaultVariants:{active:!1}}),$pe=me(["relative z-[2] h-10 w-10 rounded-full","border-disabled shadow-down-xs border","pointer-events-none touch-none","will-change-transform [backface-visibility:hidden]"]),Dpe=me("pointer-events-none absolute top-0 left-0 z-[2] h-full w-full touch-none"),P1=me(["absolute z-[1] inline-flex items-center justify-center","text-fg-default size-3.5 text-center opacity-70","transition-opacity duration-100 ease-linear","[&_svg]:text-fg-default [&_svg]:inline-block [&_svg]:size-3.5 [&_svg]:align-middle"],{variants:{position:{top:"top-2 left-1/2 -translate-x-1/2",bottom:"bottom-2 left-1/2 -translate-x-1/2",left:"top-1/2 left-2 -translate-y-1/2",right:"top-1/2 right-2 -translate-y-1/2"},highlighted:{false:"",true:"opacity-100"}},defaultVariants:{highlighted:!1}}),Bpe=me("pointer-events-none absolute top-0 left-0 z-[2] h-full w-full touch-none"),E6=me(["absolute z-[1] inline-flex size-5 items-center justify-center","text-fg-default text-center opacity-40 transition-opacity duration-100 ease-linear","[&_svg]:inline-block [&_svg]:size-5","[&_svg_path]:stroke-opacity-100"],{variants:{position:{top:"top-[5px] left-1/2 -translate-x-1/2",bottom:"bottom-[5px] left-1/2 -translate-x-1/2 [&_svg]:rotate-x-180 [&_svg]:rotate-y-180"},highlighted:{false:"",true:"opacity-100"}},defaultVariants:{highlighted:!1}}),{useRef:Oi,useCallback:Rl,useId:zpe,useEffect:M6,useState:k6}=await q("react"),F3e=({className:t,type:e="direction",size:n=100,stickColor:r="radial-gradient(circle, #727272 0%, #3B3B3B 100%)",stickAreaColor:o="var(--color-fill-inverse)",throttleThreshold:a=.05,throttleDuration:i,xOnly:s=!1,yOnly:l=!1,disableDiagonal:u=!1,disabled:d=!1,keepMoveEventInterval:f,paddingSize:m=10,style:v,onStart:g,onMove:w,onEnd:y})=>{const _=Oi(null),S=Oi(null),x=Oi(null),C=Oi(null),M=Oi(null),A=Oi(null),O=Oi(null),D=Oi({x:0,y:0}),T=Oi({type:"none",startPosition:{x:0,y:0},normalizedDistance:{x:0,y:0},rotate:{radian:0,degree:0},distance:{x:0,y:0},direction:{x:"center",y:"center"},time:Date.now()}),R=zpe().replace(/:/g,""),[$,P]=k6(!1),[I,L]=k6({x:"center",y:"center"}),V=({clientX:te,clientY:oe})=>{if(!S.current)return;const{width:ee,top:ue,left:fe}=S.current.getBoundingClientRect(),ye=ee/2,we=te-fe-ye,Ne=oe-ue-ye;S.current.style.transform=`translate3d(${we}px, ${Ne}px, 0px)`,_.current.style.transition=""},F=Rl(()=>{S.current&&(S.current.style.transform="translate3d(0px, 0px, 0px)",S.current.classList.remove("left","right","top","bottom","center"))},[]),z=Rl(({clientX:te,clientY:oe})=>{if(!_.current||!x.current)return;const ue=x.current.offsetWidth/2,fe={x:te-T.current.startPosition.x,y:oe-T.current.startPosition.y};u?Math.abs(fe.x)>Math.abs(fe.y)?fe.y=0:Math.abs(fe.x)<Math.abs(fe.y)?fe.x=0:(fe.x=0,fe.y=0):s?fe.y=0:l&&(fe.x=0);const ye=Math.hypot(fe.x,fe.y);if(ye>ue){const be=ue/ye;fe.x*=be,fe.y*=be}const we={x:Math.abs(fe.x)>3?fe.x>0?"right":"left":"center",y:Math.abs(fe.y)>3?fe.y>0?"bottom":"top":"center"},Ne=Math.atan2(fe.x,-fe.y);let Ie=Ne*180/Math.PI;Ie<0&&(Ie+=360);const Pe={radian:Ne,degree:Ie},he={x:fe.x/ue,y:-fe.y/ue},ge=Math.hypot(he.x-D.current.x,he.y-D.current.y);return{direction:we,distance:fe,normalizedDistance:he,movementRatio:ge,rotate:Pe}},[u,s,l]),B=Rl(({clientX:te,clientY:oe})=>{if(!_.current||!x.current)return;const{direction:ee,distance:ue,rotate:fe,normalizedDistance:ye,movementRatio:we}=z({clientX:te,clientY:oe});return _.current.style.transform=`translate3d(${ue.x}px, ${ue.y}px, 0px)`,S.current.classList.remove("left","right","top","bottom","center"),S.current.classList.add(ee.x,ee.y),L(ee),{direction:ee,distance:{x:ue.x,y:-ue.y},rotate:fe,normalizedDistance:ye,movementRatio:we}},[z]),Y=Rl(()=>{_.current&&(_.current.style.transition="transform 0.2s ease-out",_.current.style.transform="translate3d(0px, 0px, 0px)")},[]),U=Rl(()=>{const oe=Date.now()-T.current.time;if(!O.current||["none","end"].includes(T.current.type)||oe<i)return;const ee=O.current;ee.preventDefault(),ee.stopPropagation();const{clientX:ue,clientY:fe}=ee,{distance:ye,direction:we,rotate:Ne,normalizedDistance:Ie,movementRatio:Pe}=B({clientX:ue,clientY:fe});T.current={...T.current,type:"move",rotate:Ne,distance:ye,normalizedDistance:Ie,direction:we,time:Date.now()};const he={...T.current,event:ee,targets:{joystick:S.current,stickArea:x.current,stick:_.current}};Pe>=a&&(D.current=Ie,w?.(he)),f&&(window.clearInterval(M.current),M.current=window.setInterval(()=>{T.current.type==="move"&&w?.(he)},f))},[a,i,w,B,f]),le=Rl(te=>{window.clearInterval(M.current),!["none","end"].includes(T.current.type)&&(te.target instanceof Element&&te.target.releasePointerCapture?.(te.pointerId),te.preventDefault(),te.stopPropagation(),T.current.type="end",setTimeout(()=>{T.current.type="none"},100),F(),Y(),P(!1),L({x:"center",y:"center"}),S.current.classList.remove("active"),window.clearInterval(M.current),O.current=null,y?.({type:"end",...T.current,direction:{x:"center",y:"center"},normalizedDistance:{x:0,y:0},rotate:{degree:0,radian:0},distance:{x:0,y:0},event:te,targets:{joystick:S.current,stickArea:x.current,stick:_.current}}))},[y,F,Y]),J=te=>{if(te.button===2||d||["start","move","end"].includes(T.current.type))return;C.current=`${R}-${te.pointerId}`,te.currentTarget.setPointerCapture(te.pointerId),te.stopPropagation(),te.preventDefault();const{clientX:oe,clientY:ee}=te;T.current.type="start",T.current.startPosition={x:oe,y:ee},P(!0),L({x:"center",y:"center"}),S.current.classList.add("active"),V({clientX:oe,clientY:ee}),g?.({...T.current,event:te,targets:{joystick:S.current,stickArea:x.current,stick:_.current},distance:{x:0,y:0},normalizedDistance:{x:0,y:0},rotate:{radian:0,degree:0},startPosition:{x:oe,y:ee},direction:{x:"center",y:"center"}})},re=Rl(te=>{O.current=te.nativeEvent,C.current===`${R}-${te.pointerId}`&&(A.current&&cancelAnimationFrame(A.current),A.current=requestAnimationFrame(U))},[U,R]);return M6(()=>{const te=oe=>{le(oe)};return window.addEventListener("pointerup",te),()=>{window.removeEventListener("pointerup",te)}},[R,le]),M6(()=>{const te=M.current;return()=>{window.clearInterval(te)}},[]),h("div",{"data-slot":"joy-stick",className:se(Ape({disabled:d}),t),style:{...v,width:`${n+m*2}px`,height:`${n+m*2}px`,"--joy-stick-color":r,"--joy-stick-area-color":o},onContextMenu:te=>te.preventDefault(),children:ne("div",{"data-slot":"joy-stick-inner",ref:S,className:Ipe({active:$}),style:{padding:m},children:[h("div",{"data-slot":"joy-stick-stick-area",ref:x,className:Ope(),style:{padding:m},onPointerDownCapture:J,onPointerUpCapture:le,onPointerMove:re,children:ne("span",{"data-slot":"joy-stick-stick-area-inner",className:Lpe({active:$}),style:{"--joy-stick-area-color":o},children:[e==="direction"&&ne("div",{className:Dpe(),children:[h("span",{className:P1({position:"top",highlighted:$&&I.y==="top"}),children:h(C7,{})}),h("span",{className:P1({position:"bottom",highlighted:$&&I.y==="bottom"}),children:h(y7,{})}),h("span",{className:P1({position:"left",highlighted:$&&I.x==="left"}),children:h(_7,{})}),h("span",{className:P1({position:"right",highlighted:$&&I.x==="right"}),children:h(x7,{})})]}),e==="curved"&&ne("div",{className:Bpe(),children:[h("span",{className:E6({position:"top",highlighted:$&&I.y==="top"}),children:h(ev,{})}),h("span",{className:E6({position:"bottom",highlighted:$&&I.y==="bottom"}),children:h(ev,{})})]})]})}),h("div",{"data-slot":"joy-stick-stick",ref:_,className:$pe(),style:{background:"var(--joy-stick-color)"}})]})})},Fpe=me("pointer-events-none"),Vpe=me("absolute z-[9] w-full rounded-md"),jpe=me("pointer-events-none absolute z-[99] overflow-hidden",{variants:{hidden:{false:"",true:"hidden"}},defaultVariants:{hidden:!1}}),Hpe=me("block"),Wpe=me(["block size-2.5","fill-bg-tooltip"]),qpe=me("absolute z-[9999]"),Upe=me("relative"),Ype=me(["inline-flex items-center justify-center overflow-hidden","bg-tooltip max-w-60 rounded-md px-3 py-2"]),Gpe=me(["text-fg-inverse flex-1","typo-body-xs2-normal","break-words whitespace-normal"]),{useCallback:Ss,useEffect:q2,useMemo:R6,useRef:tu,useState:U2}=await q("react"),Kpe=t=>new Promise(e=>setTimeout(e,t)),V3e=({className:t="",anchorId:e,width:n=200,space:r=0,place:o="bottom",events:a=["hover"],arrowPosition:i=0,hideArrow:s,tooltipPosition:l,tooltipColor:u,tooltipTextColor:d,tooltipBoxShadow:f,tooltipBorderRadius:m,open:v,whenWindowScrollClose:g,children:w})=>{const y=tu(null),_=tu(null),S=tu(null),x=tu(null),C=tu(0),M=tu(!1),[A,O]=U2(!1),[D,T]=U2(o),[R,$]=U2(!!v),P=R6(()=>{const J=[...a],re=J.findIndex(te=>te==="hover");return re!==-1&&!So.isMobile&&J.splice(re,0,"mouseover","mouseout"),J},[a]),I=Ss(()=>{if(_.current)return _.current;const J=document.querySelector(`#${e}`);J&&(_.current=J)},[e]),L=Ss((J,re)=>{if(!_.current)return;const{scrollY:te,innerHeight:oe}=window,ee=te,ue=te+oe,{top:fe}=_.current.getBoundingClientRect();return ee>J&&fe>0?J+fe:ue<J+re?ue-re-10:J},[]),V=Ss((J,re)=>{const{scrollX:te,innerWidth:oe}=window,ee=te,ue=te+oe;return ee>J?ee+r:ue<J+re?ue-re-r:J},[r]),F=Ss(J=>{const{targetTop:re,targetLeft:te,targetWidth:oe,targetHeight:ee,tooltipHeight:ue,arrowWidth:fe,arrowHeight:ye}=J;return scrollY+re-ue-ye-r<scrollY&&o==="top"?"bottom":scrollY+re+ee+ye+r>scrollY+innerHeight&&o==="bottom"?"top":te-fe-r<100&&o==="left"?"right":innerWidth-(scrollX+te+oe+fe+r+10)<100&&o==="right"?"left":te+scrollX<scrollX?"right":o},[o,r]),z=Ss(()=>{if(!y.current||!_.current)return{targetTop:0,targetLeft:0,targetWidth:0,targetHeight:0,arrowWidth:0,arrowHeight:0,tooltipWidth:0,tooltipHeight:0,scrollX:0,scrollY:0,innerWidth:0,innerHeight:0};const{top:J,left:re,height:te,width:oe}=_.current.getBoundingClientRect(),{offsetHeight:ee,offsetWidth:ue}=y.current,{clientWidth:fe=0,clientHeight:ye=0}=S.current??{},{scrollX:we,scrollY:Ne,innerWidth:Ie,innerHeight:Pe}=window,{position:he,top:ge,left:be}=document.body.style,Ue=he==="fixed"?Number(ge.replace("px",""))*-1:0,Ae=he==="fixed"?Number(be.replace("px",""))*-1:0;return{targetTop:J,targetLeft:re,targetWidth:oe,targetHeight:te,arrowWidth:fe,arrowHeight:ye,tooltipWidth:ue,tooltipHeight:ee,scrollX:Ae||we,scrollY:Ue||Ne,innerWidth:Ie,innerHeight:Pe}},[]),B=Ss(async()=>{if(!_.current||!y.current)return;const{targetTop:J,targetLeft:re,targetWidth:te,targetHeight:oe,arrowWidth:ee,arrowHeight:ue,tooltipWidth:fe,tooltipHeight:ye,scrollX:we,scrollY:Ne,innerWidth:Ie,innerHeight:Pe}=z(),{top:he=0,left:ge=0}=l??{},be=i||0,Ue=s?Math.max(r,8):r,Ae=F({targetTop:J,targetLeft:re,targetWidth:te,targetHeight:oe,arrowWidth:ee,arrowHeight:ue,tooltipWidth:fe,tooltipHeight:ye,scrollX:we,scrollY:Ne,innerWidth:Ie,innerHeight:Pe});T(Ae);let Ke="",Me="",at="";switch(Ae){case"top":Ke+=`
|
|
262
|
-
top: ${he+Ne+J-ye-ue-Ue}px;
|
|
263
|
-
left: ${V(ge+we+re+te/2-fe/2,fe)}px;
|
|
264
|
-
`,Me+=`
|
|
265
|
-
top: ${he+Ne+J-ue-Ue-1}px;
|
|
266
|
-
left: ${be+we+re+te/2-ee/2}px;
|
|
267
|
-
`;break;case"left":Ke+=`
|
|
268
|
-
top: ${L(he+Ne+J-(ye-oe)/2,ye)}px;
|
|
269
|
-
left: ${V(ge+we+re-fe-ue-Ue,fe)}px;
|
|
270
|
-
max-width: ${re-ee-Ue}px;
|
|
271
|
-
`,Me+=`
|
|
272
|
-
top: ${be+Ne+J+oe/2-ee/2}px;
|
|
273
|
-
left: ${ge+we+re-ee-Ue}px;
|
|
274
|
-
`;break;case"right":Ke+=`
|
|
275
|
-
top: ${L(he+Ne+J-(ye-oe)/2,ye)}px;
|
|
276
|
-
left: ${ge+we+re+te+ee+Ue}px;
|
|
277
|
-
max-width: ${Ie-(we+re+te+ee+Ue+10)}px;
|
|
278
|
-
`,Me+=`
|
|
279
|
-
top: ${be+Ne+J+oe/2-ue/2}px;
|
|
280
|
-
left: ${ge+we+re+te+Ue}px;
|
|
281
|
-
`;break;case"bottom":default:Ke+=`
|
|
282
|
-
top: ${he+Ne+J+oe+ue+Ue}px;
|
|
283
|
-
left: ${V(ge+we+re+te/2-fe/2,fe)}px;
|
|
284
|
-
`,Me+=`
|
|
285
|
-
transform: rotate(0deg);
|
|
286
|
-
top: ${he+Ne+J+oe+Ue}px;
|
|
287
|
-
left: ${be+we+re+te/2-ee/2}px;
|
|
288
|
-
`;break}if(at+=`
|
|
289
|
-
${Ke}
|
|
290
|
-
width: ${fe}px;
|
|
291
|
-
height: ${ye}px;
|
|
292
|
-
`,y.current.setAttribute("style",Ke),x.current.setAttribute("style",at),S.current&&S.current.setAttribute("style",Me),C.current===2)return C.current=0,$(!0);await Kpe(20),C.current+=1,B()},[i,s,r,l,F,V,L,z]),Y=R6(()=>kn.debounce(J=>{J.type!=="click"&&M.current||(J.type==="click"&&(J.preventDefault(),M.current=!0),J.type==="mouseout"?$(!1):C.current===0&&B(),J.preventDefault())},100),[B]),U=Ss(()=>{!_.current||typeof v=="boolean"||P.forEach(J=>{_.current.addEventListener(J,Y)})},[v,P,Y]),le=Ss(()=>{_.current&&P.forEach(J=>{_.current.removeEventListener(J,Y)})},[P,Y]);return Df(y,J=>{if(typeof v=="boolean")return;const re=_.current;re&&!re.contains(J.target)&&(M.current=!1,$(!1))}),q2(()=>(I(),U(),()=>{le()}),[B,I,U,le]),q2(()=>{const J=kn.throttle(()=>{$(!1)},30);return window.removeEventListener("resize",J),window.addEventListener("resize",J),g&&(window.removeEventListener("scroll",J),window.addEventListener("scroll",J)),()=>{window.removeEventListener("resize",J),window.removeEventListener("scroll",J)}},[g,B]),q2(()=>{v!==void 0&&(v&&A&&B(),$(v))},[A,v,B]),h(Ql,{id:"tooltip",children:ne(Xpe,{"data-slot":"tooltip","data-open":R,"data-place":D,ref:()=>{A||O(!0)},className:se(Fpe(),t),style:{visibility:R?"visible":"hidden","--tooltip-color":u,"--tooltip-text-color":d,"--tooltip-box-shadow":f,"--tooltip-border-radius":m},children:[h("div",{"data-slot":"tooltip-shadow",ref:x,className:Vpe()}),h("div",{"data-slot":"tooltip-arrow",ref:S,className:jpe({hidden:!!s}),children:h("span",{"data-slot":"tooltip-arrow-inner",className:Hpe(),children:h(w7,{"data-slot":"tooltip-arrow-icon",className:Wpe()})})}),h("div",{"data-slot":"tooltip-text",ref:y,className:qpe(),children:h("div",{"data-slot":"tooltip-bubble-wrap",className:Upe(),children:h("div",{"data-slot":"tooltip-bubble",className:se(Ype()),style:{width:n},children:h("div",{"data-slot":"tooltip-content",className:se(Gpe()),children:w})})})})]})})},Xpe=Q6("div",{target:"e5jrt0s0"})({name:"cdbitv",styles:'pointer-events:none;&[data-open="true"]{pointer-events:auto;}&[data-open="false"] [data-slot="tooltip-arrow"],&[data-open="false"] [data-slot="tooltip-text"]{top:0!important;left:0!important;}&[data-open="true"] [data-slot="tooltip-arrow"],&[data-open="true"] [data-slot="tooltip-text"]{animation:tooltip-pop-fade 0.15s;}&[data-place="top"] [data-slot="tooltip-arrow"],&[data-place="top"] [data-slot="tooltip-text"]{transform-origin:bottom;}&[data-place="top"] [data-slot="tooltip-arrow-icon"]{transform:rotate(180deg) translateY(20%);}&[data-place="bottom"] [data-slot="tooltip-arrow"],&[data-place="bottom"] [data-slot="tooltip-text"]{transform-origin:top;}&[data-place="bottom"] [data-slot="tooltip-arrow-icon"]{transform:rotate(0deg) translateY(20%);}&[data-place="left"] [data-slot="tooltip-arrow"],&[data-place="left"] [data-slot="tooltip-text"]{transform-origin:right;}&[data-place="left"] [data-slot="tooltip-arrow-icon"]{transform:rotate(90deg) translateY(20%);}&[data-place="right"] [data-slot="tooltip-arrow"],&[data-place="right"] [data-slot="tooltip-text"]{transform-origin:left;}&[data-place="right"] [data-slot="tooltip-arrow-icon"]{transform:rotate(270deg) translateY(20%);}&[class*="tooltip-all-hash"] li{width:max-content;}&[class*="tooltip-all-hash"] li+li{margin-top:8px;}&[class*="tooltip-address"] [data-slot="tooltip-bubble"]{width:max-content;max-width:none;font-size:12px!important;}@keyframes tooltip-pop-fade{0%{opacity:0;transform:scale(0.97);}60%{opacity:1;transform:scale(1.03);}100%{opacity:1;transform:scale(1);}}'}),Zpe=me("bg-card outline-border-subtle dark:shadow-down-sm inline-flex max-w-96 flex-col items-start justify-start overflow-hidden rounded-xl outline outline-1 outline-offset-[-1px]",{variants:{size:{md:"w-96",sm:"w-96"}},defaultVariants:{size:"md"}}),Qpe=me("@container/card-header grid w-full auto-rows-min grid-rows-[auto_auto] items-start has-data-[slot=card-action]:grid-cols-[1fr_auto]",{variants:{size:{md:"gap-2 p-4",sm:"gap-2 p-4"}},defaultVariants:{size:"md"}}),Jpe=me("flex w-full min-w-0 flex-1 flex-col",{variants:{size:{md:"gap-0_5",sm:"gap-0_5"}},defaultVariants:{size:"md"}}),e1e=me("text-fg-default",{variants:{size:{md:"typo-title-02-medium",sm:"typo-title-01-medium"}},defaultVariants:{size:"md"}}),t1e=me("text-fg-subtle typo-body-sm-normal"),n1e=me("col-start-2 row-span-2 row-start-1 self-start justify-self-end"),r1e=me("w-full shrink-0"),o1e=me("w-full",{variants:{size:{md:"px-4 pb-4",sm:"px-3 pb-3"}},defaultVariants:{size:"md"}}),a1e=me("w-full",{variants:{size:{md:"border-subtle bg-card flex flex-col items-start gap-2 border-t p-4",sm:"border-subtle bg-card flex flex-col items-start gap-2 border-t p-3"}},defaultVariants:{size:"md"}}),Jk=await q("react"),eR=Jk.createContext("md"),Yf=()=>Jk.useContext(eR);function j3e({className:t,size:e,...n}){const r=e??"md";return h(eR.Provider,{value:r,children:h("div",{"data-slot":"card",className:se(Zpe({size:r}),t),...n})})}function H3e({className:t,size:e,...n}){const r=Yf();return h("div",{"data-slot":"card-header",className:se(Qpe({size:e??r}),t),...n})}function W3e({className:t,size:e,...n}){const r=Yf();return h("div",{"data-slot":"card-header-text",className:se(Jpe({size:e??r}),t),...n})}function q3e({className:t,size:e,...n}){const r=Yf();return h("div",{"data-slot":"card-title",className:se(e1e({size:e??r}),t),...n})}function U3e({className:t,...e}){return h("div",{"data-slot":"card-description",className:se(t1e(),t),...e})}function Y3e({className:t,...e}){return h("div",{"data-slot":"card-action",className:se(n1e(),t),...e})}function G3e({className:t,...e}){return h("div",{"data-slot":"card-preview-slot",className:se(r1e(),t),...e})}function K3e({className:t,size:e,...n}){const r=Yf();return h("div",{"data-slot":"card-content",className:se(o1e({size:e??r}),t),...n})}function X3e({className:t,size:e,...n}){const r=Yf();return h("div",{"data-slot":"card-footer",className:se(a1e({size:e??r}),t),...n})}const i1e=me("bg-overlay text-fg-default border-subtle shadow-down-md z-50 min-w-40 rounded-lg border p-1"),s1e=me("bg-overlay text-fg-default border-subtle shadow-down-md z-50 min-w-40 rounded-lg border p-1"),l1e=me("typo-compact-sm-normal group gap-1_5 px-1_5 data-[disabled]:text-fg-disabled relative flex h-7 max-h-7 cursor-default items-center overflow-hidden rounded-md py-1 outline-hidden select-none data-[disabled]:pointer-events-none",{defaultVariants:{variant:"default"},variants:{variant:{default:"text-fg-default focus:bg-fill-subtlest dark:focus:bg-fill-subtler focus:text-fg-default hover:bg-fill-subtlest dark:hover:bg-fill-subtler data-[highlighted]:bg-fill-subtlest dark:data-[highlighted]:bg-fill-subtler data-[highlighted]:text-fg-default",destructive:"text-fg-danger focus:bg-fill-danger-subtler focus:text-fg-danger hover:bg-fill-danger-subtler data-[highlighted]:bg-fill-danger-subtler data-[highlighted]:text-fg-danger data-[disabled]:text-fg-disabled"}}}),tR=me("typo-compact-sm-normal group text-fg-default focus:bg-fill-subtlest dark:focus:bg-fill-subtler focus:text-fg-default hover:bg-fill-subtlest dark:hover:bg-fill-subtler data-[highlighted]:bg-fill-subtlest dark:data-[highlighted]:bg-fill-subtler data-[highlighted]:text-fg-default gap-1_5 px-1_5 data-[disabled]:text-fg-disabled relative flex h-7 max-h-7 cursor-default items-center overflow-hidden rounded-md py-1 pr-7 outline-hidden select-none data-[disabled]:pointer-events-none"),c1e=me("typo-compact-xs-medium text-fg-subtle px-1_5 py-1",{variants:{inset:{true:"pl-7"}}}),u1e=me("bg-border-default -mx-1 my-1 h-px"),d1e=me("typo-compact-xs-normal text-fg-subtle group-data-[variant=destructive]:text-fg-danger group-data-[disabled]:text-fg-disabled ml-auto tracking-normal"),f1e=me("typo-compact-sm-normal text-fg-default focus:bg-fill-subtlest dark:focus:bg-fill-subtler hover:bg-fill-subtlest dark:hover:bg-fill-subtler data-[state=open]:bg-fill-subtlest dark:data-[state=open]:bg-fill-subtler data-[disabled]:text-fg-subtle px-1_5 relative flex cursor-default items-center gap-2 rounded-md py-1 outline-hidden select-none data-[disabled]:pointer-events-none",{variants:{inset:{true:"pl-7"}}}),nR=me("right-1_5 pointer-events-none absolute inline-flex size-4 items-center justify-center"),{forwardRef:el}=await q("react");function Z3e({...t}){return h(QX,{"data-slot":"dropdown-menu",...t})}function p1e({...t}){return h(eZ,{"data-slot":"dropdown-menu-portal",...t})}function Q3e({...t}){return h(JX,{"data-slot":"dropdown-menu-trigger",...t})}function J3e({...t}){return h(nZ,{"data-slot":"dropdown-menu-group",...t})}const ebe=cZ,tbe=iZ,nbe=el(function({className:e,inset:n,children:r,...o},a){return ne(uZ,{ref:a,"data-slot":"dropdown-menu-sub-trigger",className:se(f1e({inset:n}),e),...o,children:[r,h(Pu,{className:"size-4 shrink-0"})]})}),rbe=el(function({className:e,...n},r){return h(dZ,{ref:r,"data-slot":"dropdown-menu-sub-content",className:se(s1e(),e),...n})}),obe=el(function({className:e,sideOffset:n=8,align:r="start",...o},a){return h(p1e,{children:h(tZ,{ref:a,align:r,sideOffset:n,"data-slot":"dropdown-menu-content",className:se(i1e(),e),...o})})}),abe=el(function({className:e,inset:n,variant:r="default",...o},a){return h(oZ,{ref:a,"data-slot":"dropdown-menu-item","data-variant":r,className:se(l1e({variant:r}),n&&"pl-7",e),...o})}),ibe=el(function({className:e,children:n,...r},o){return ne(aZ,{ref:o,"data-slot":"dropdown-menu-checkbox-item",className:se(tR(),e),...r,children:[h("span",{className:nR(),children:h(qC,{children:h(Ys,{className:"size-3.5"})})}),n]})}),sbe=el(function({className:e,children:n,...r},o){return ne(sZ,{ref:o,"data-slot":"dropdown-menu-radio-item",className:se(tR(),e),...r,children:[h("span",{className:nR(),children:h(qC,{children:h(Ys,{className:"size-3.5"})})}),n]})}),lbe=el(function({className:e,inset:n,...r},o){return h(rZ,{ref:o,"data-slot":"dropdown-menu-label",className:se(c1e({inset:n}),e),...r})}),cbe=el(function({className:e,...n},r){return h(lZ,{ref:r,"data-slot":"dropdown-menu-separator",className:se(u1e(),e),...n})});function ube({className:t,...e}){return h("span",{"data-slot":"dropdown-menu-shortcut",className:se(d1e(),t),...e})}const h1e=me("bg-fill-subtlest inline-flex items-center gap-1 rounded-lg p-1 outline outline-1 outline-offset-[-1px]"),m1e=me("typo-compact-sm-medium text-fg-default data-[state=open]:bg-fill-subtler focus:bg-fill-subtler hover:bg-fill-subtler inline-flex h-6 cursor-default items-center justify-center rounded-md px-1.5 py-0.5 outline-hidden select-none"),g1e=me("bg-overlay text-fg-default border-subtle shadow-down-md z-50 min-w-48 rounded-lg border-1 p-1"),v1e=me("bg-overlay text-fg-default border-subtle shadow-down-md z-50 min-w-48 rounded-lg border-1 p-1"),w1e=me("typo-compact-sm-normal group data-[disabled]:text-fg-disabled gap-1_5 px-1_5 relative flex cursor-default items-center overflow-hidden rounded-md py-1 outline-hidden select-none data-[disabled]:pointer-events-none",{defaultVariants:{inset:!1,variant:"default"},variants:{inset:{true:"pl-7"},variant:{default:"text-fg-default focus:bg-fill-subtler focus:text-fg-default hover:bg-fill-subtler data-[highlighted]:bg-fill-subtler data-[highlighted]:text-fg-default",destructive:"text-fg-danger focus:bg-fill-danger-subtler focus:text-fg-danger hover:bg-fill-danger-subtler data-[highlighted]:bg-fill-danger-subtler data-[highlighted]:text-fg-danger"}}}),rR=me("typo-compact-sm-normal group data-[disabled]:text-fg-disabled text-fg-default focus:bg-fill-subtler focus:text-fg-default hover:bg-fill-subtler data-[highlighted]:bg-fill-subtler data-[highlighted]:text-fg-default gap-1_5 pr-1_5 relative flex cursor-default items-center overflow-hidden rounded-md py-1 pl-7 outline-hidden select-none data-[disabled]:pointer-events-none"),b1e=me("typo-compact-xs-medium text-fg-subtle/60 px-1.5 py-1",{variants:{inset:{true:"pl-7"}}}),y1e=me("bg-border-default -mx-1 my-1 h-px"),_1e=me("typo-compact-xs-normal text-fg-subtle/60 group-data-[variant=destructive]:text-fg-danger group-data-[disabled]:text-fg-disabled ml-auto tracking-normal"),x1e=me("typo-compact-sm-normal text-fg-default data-[state=open]:bg-fill-subtler focus:bg-fill-subtler hover:bg-fill-subtler data-[disabled]:text-fg-disabled relative flex cursor-default items-center gap-2 rounded-md px-1.5 py-1 outline-hidden select-none data-[disabled]:pointer-events-none",{variants:{inset:{true:"pl-7"}}}),oR=me("pointer-events-none absolute left-1.5 inline-flex size-4 items-center justify-center"),{forwardRef:Gi}=await q("react");function dbe({className:t,...e}){return h(vq,{"data-slot":"menubar",className:se(h1e(),t),...e})}const fbe=wq,pbe=_q,hbe=K9,mbe=Eq,gbe=Rq,vbe=Gi(function({className:e,...n},r){return h(bq,{ref:r,"data-slot":"menubar-trigger",className:se(m1e(),e),...n})}),wbe=Gi(function({className:e,align:n="start",sideOffset:r=8,...o},a){return h(K9,{children:h(yq,{ref:a,"data-slot":"menubar-content",align:n,sideOffset:r,className:se(g1e(),e),...o})})}),bbe=Gi(function({className:e,inset:n=!1,variant:r="default",...o},a){return h(Sq,{ref:a,"data-slot":"menubar-item","data-variant":r,className:se(w1e({inset:n,variant:r}),e),...o})}),ybe=Gi(function({className:e,children:n,...r},o){return ne(Cq,{ref:o,"data-slot":"menubar-checkbox-item",className:se(rR(),e),...r,children:[h("span",{className:oR(),children:h(X9,{children:h(Ys,{className:"size-3.5"})})}),n]})}),_be=Gi(function({className:e,children:n,...r},o){return ne(Mq,{ref:o,"data-slot":"menubar-radio-item",className:se(rR(),e),...r,children:[h("span",{className:oR(),children:h(X9,{children:h(Ys,{className:"size-3.5"})})}),n]})}),xbe=Gi(function({className:e,inset:n,...r},o){return h(xq,{ref:o,"data-slot":"menubar-label",className:se(b1e({inset:n}),e),...r})}),Sbe=Gi(function({className:e,...n},r){return h(kq,{ref:r,"data-slot":"menubar-separator",className:se(y1e(),e),...n})}),Cbe=Gi(function({className:e,inset:n,children:r,...o},a){return ne(Tq,{ref:a,"data-slot":"menubar-sub-trigger",className:se(x1e({inset:n}),e),...o,children:[r,h(Pu,{className:"size-4 shrink-0"})]})}),Ebe=Gi(function({className:e,...n},r){return h(Nq,{ref:r,"data-slot":"menubar-sub-content",className:se(v1e(),e),...n})});function Mbe({className:t,...e}){return h("span",{"data-slot":"menubar-shortcut",className:se(_1e(),t),...e})}const S1e=me("relative flex w-full touch-none items-center rounded-full py-1 select-none data-[disabled]:opacity-30"),C1e=me("bg-fill-subtler/20 relative h-1 w-full grow overflow-hidden rounded-full"),E1e=me("absolute h-full",{defaultVariants:{disabled:!1},variants:{disabled:{false:"bg-fill-brand",true:"bg-fill-default"}}}),M1e=me("bg-fg-static-white border-default focus-visible:ring-border-stronger block size-3 shrink-0 rounded-full border outline-hidden transition-[box-shadow] focus-visible:ring-2"),{useMemo:k1e}=await q("react");function kbe({className:t,defaultValue:e,value:n,min:r=0,max:o=100,disabled:a=!1,trackClassName:i,rangeClassName:s,thumbClassName:l,...u}){const d=k1e(()=>n!==void 0?Array.isArray(n)?n:[n]:e!==void 0?Array.isArray(e)?e:[e]:[r],[n,e,r]);return ne(yU,{"data-slot":"slider",defaultValue:e,value:n,min:r,max:o,disabled:a,className:se(S1e(),t),...u,children:[h(_U,{"data-slot":"slider-track",className:se(C1e(),i),children:h(xU,{"data-slot":"slider-range",className:se(E1e({disabled:a}),s)})}),Array.from({length:d.length},(f,m)=>h(SU,{"data-slot":"slider-thumb",className:se(M1e(),l)},m))]})}const{cloneElement:R1e,isValidElement:T6,useId:T1e}=await q("react");function Rbe({children:t,className:e,controlPlacement:n="start",description:r,descriptionClassName:o,invalid:a=!1,label:i,labelClassName:s,size:l="default",type:u="default"}){const d=T1e(),f=T6(t)?t.props:void 0,v=f?.id??d,g=!!f?.disabled,w=a||!!f?.invalid,y=f?.size??l,_=g?"disabled":w?"invalid":"default",S=T6(t)?R1e(t,{id:v,invalid:w,size:y}):t,x=!!(i||r);return ne("label",{htmlFor:v,"data-slot":"switch-field","data-control-placement":n,"data-type":u,"data-size":y,"data-state":_,className:se(Aue({controlPlacement:n,size:y,tone:_,type:u}),e),children:[n==="start"&&S,x&&ne("span",{"data-slot":"switch-text-wrap",className:Lue(),children:[i&&h("span",{className:se($ue({tone:_,size:y}),s),children:i}),r&&h("span",{className:se(Due({tone:_,size:y}),o),children:r})]}),n==="end"&&S]})}const N1e=me("inline-flex w-fit",{variants:{orientation:{horizontal:"items-center justify-start",vertical:"flex-col items-start justify-center"},separated:{true:"gap-1",false:"gap-0"},stretched:{true:"w-full",false:""}},defaultVariants:{orientation:"horizontal",separated:!1,stretched:!1}}),P1e=me(["text-fg-default","py-2_5","flex h-8 min-w-8 items-center justify-center gap-1 px-2","select-none","disabled:text-fg-disabled disabled:pointer-events-none","focus-visible:border-border-stronger","data-[state=off]:bg-fill-transparent","data-[state=on]:bg-fill-subtler","border-default border"].join(" ")),A1e=me("",{variants:{orientation:{horizontal:"",vertical:""},separated:{true:"rounded-md",false:"rounded-none"},stretched:{true:"flex-1",false:""}},compoundVariants:[{orientation:"horizontal",separated:!1,className:"border-t border-r border-b first:rounded-tl-md first:rounded-bl-md first:border-l last:rounded-tr-md last:rounded-br-md"},{orientation:"vertical",separated:!1,className:"border-r border-b border-l first:rounded-tl-md first:rounded-tr-md first:border-t last:rounded-br-md last:rounded-bl-md"}],defaultVariants:{orientation:"horizontal",separated:!1,stretched:!1}}),{createContext:I1e,useContext:O1e}=await q("react"),aR=I1e({orientation:"horizontal",separated:!1,stretched:!1});function L1e(){return O1e(aR)}function Tbe({className:t,children:e,orientation:n="horizontal",separated:r=!1,stretched:o=!1,...a}){return h(aR.Provider,{value:{orientation:n,separated:r,stretched:o},children:h(SZ,{"data-slot":"rb-toggle-group","data-orientation":n,className:se(N1e({orientation:n,separated:r,stretched:o}),t),orientation:n,...a,children:e})})}function Nbe({className:t,children:e,icon:n,...r}){const{orientation:o,separated:a,stretched:i}=L1e();return ne(CZ,{"data-slot":"rb-toggle-group-item",className:se(P1e(),A1e({orientation:o,separated:a,stretched:i}),t),...r,children:[n,e]})}const $1e=me("flex flex-col gap-2 data-[orientation=vertical]:flex-row data-[orientation=vertical]:items-start"),D1e=me("inline-flex w-fit justify-start",{variants:{orientation:{horizontal:"items-center",vertical:"flex-col items-start"},size:{xs:"",sm:""},variant:{default:"",line:"bg-transparent p-0"}},compoundVariants:[{orientation:"horizontal",variant:"default",size:"sm",className:"bg-fill-subtlest gap-0_5 p-0_5 rounded-md"},{orientation:"horizontal",variant:"default",size:"xs",className:"bg-fill-subtlest gap-1 rounded-md p-1"},{orientation:"vertical",variant:"default",size:"sm",className:"bg-fill-subtlest gap-0_5 p-0_5 rounded-md"},{orientation:"vertical",variant:"default",size:"xs",className:"bg-fill-subtlest gap-1 rounded-md p-1"},{orientation:"horizontal",variant:"line",className:"gap-1"},{orientation:"vertical",variant:"line",className:"gap-1"}],defaultVariants:{orientation:"horizontal",size:"sm",variant:"default"}}),B1e=me("focus-visible:outline-border-stronger inline-flex shrink-0 items-center justify-center text-center font-medium outline-hidden transition-colors focus-visible:outline focus-visible:outline-1 focus-visible:outline-offset-0 disabled:pointer-events-none disabled:cursor-not-allowed",{variants:{size:{xs:"",sm:""},variant:{default:"rounded-lg",line:"rounded-none border-b-2 border-transparent"},disabled:{true:"",false:""}},compoundVariants:[{variant:"default",size:"sm",className:"typo-compact-xs2-medium px-1_5 gap-1 rounded-sm py-1"},{variant:"default",size:"xs",className:"typo-compact-xs2-medium gap-0_5 px-1_5 py-0_5 rounded-sm"},{variant:"line",size:"sm",className:"typo-compact-xs2-medium gap-1_5 p-1_5 rounded-none"},{variant:"line",size:"xs",className:"typo-compact-xs2-medium px-1_5 gap-1 rounded-none py-1"},{variant:"default",disabled:!1,className:"data-[state=active]:bg-fill-subtler data-[state=active]:text-fg-default text-fg-subtle"},{variant:"default",disabled:!1,className:"data-[state=inactive]:bg-fill-transparent"},{variant:"line",disabled:!1,className:"data-[state=active]:border-border-stronger data-[state=active]:text-fg-default text-fg-subtle"},{variant:"default",disabled:!0,className:"data-[state=active]:bg-fill-disabled data-[state=active]:text-fg-disabled text-fg-disabled"},{variant:"line",disabled:!0,className:"data-[state=active]:border-default data-[state=active]:text-fg-disabled text-fg-disabled"}],defaultVariants:{size:"sm",variant:"default",disabled:!1}}),z1e=me("min-w-0 flex-1 outline-hidden focus-visible:outline-none"),{createContext:F1e,useContext:V1e}=await q("react"),iR=F1e({orientation:"horizontal",size:"sm",variant:"default"});function sR(){return V1e(iR)}function Pbe({className:t,orientation:e="horizontal",size:n="sm",variant:r="default",...o}){return h(iR.Provider,{value:{orientation:e,size:n,variant:r},children:h(hZ,{"data-slot":"rb-tabs","data-orientation":e,className:se($1e(),t),orientation:e,...o})})}function Abe({className:t,...e}){const{orientation:n,size:r,variant:o}=sR();return h(mZ,{"data-slot":"rb-tabs-list",className:se(D1e({orientation:n,size:r,variant:o}),t),...e})}function Ibe({className:t,disabled:e,children:n,icon:r,badge:o,...a}){const{size:i,variant:s}=sR();return ne(gZ,{"data-slot":"rb-tabs-trigger",disabled:e,className:se(B1e({size:i,variant:s,disabled:e}),t),...a,children:[r,n,o]})}function Obe({className:t,...e}){return h(vZ,{"data-slot":"rb-tabs-content",className:se(z1e(),t),...e})}const j1e=me("flex h-full w-full data-[panel-group-direction=vertical]:flex-col"),H1e=me("bg-default relative overflow-hidden"),W1e=me("relative flex shrink-0 touch-none items-center justify-center transition-colors select-none focus-visible:outline-hidden",{variants:{focused:{false:"",true:""},direction:{horizontal:"self-stretch px-1 py-0",vertical:"w-full px-0 py-1"}},defaultVariants:{focused:!1,direction:"horizontal"}}),q1e=me("pointer-events-none flex items-center justify-center",{variants:{focused:{false:"",true:""},direction:{horizontal:"h-full w-1",vertical:"h-1 w-full"}},compoundVariants:[{focused:!0,direction:"horizontal",className:"outline-border-stronger overflow-hidden outline outline-1"},{focused:!0,direction:"vertical",className:"outline-border-stronger overflow-hidden outline outline-1"}],defaultVariants:{focused:!1,direction:"horizontal"}}),U1e=me("pointer-events-none",{variants:{direction:{horizontal:"outline-border-default h-full w-0 outline outline-1 outline-offset-[-0_5px]",vertical:"outline-border-default h-0 w-full outline outline-1 outline-offset-[-0_5px]"}},defaultVariants:{direction:"horizontal"}}),Y1e=me("bg-fg-static-white-subtle pointer-events-none absolute rounded-full transition-colors",{variants:{direction:{horizontal:"top-1/2 left-1/2 h-6 w-1 -translate-x-1/2 -translate-y-1/2",vertical:"top-1/2 left-1/2 h-1 w-6 -translate-x-1/2 -translate-y-1/2"}},defaultVariants:{direction:"horizontal"}}),{createContext:G1e,useCallback:A1,useContext:K1e,useEffect:X1e,useRef:N6,useState:P6}=await q("react"),lR=G1e("horizontal");function Lbe({className:t,direction:e,...n}){return h(lR.Provider,{value:e,children:h(PE,{"data-slot":"rb-resizable",className:se(j1e(),t),direction:e,...n})})}function $be({className:t,unstyled:e=!1,...n}){return h(pE,{"data-slot":"rb-resizable-panel",className:se(!e&&H1e(),t),...n})}function Dbe({className:t,hideThumb:e=!1,onPointerDownCapture:n,onPointerUpCapture:r,onPointerCancelCapture:o,...a}){const i=K1e(lR),[s,l]=P6(!1),[u,d]=P6(!1),f=N6(!1),m=N6(null),v=s||u;X1e(()=>()=>{m.current?.(),m.current=null},[]);const g=A1(()=>{const w=document.body,y={touchAction:w.style.touchAction??""};return w.style.touchAction="none",()=>{w.style.touchAction=y.touchAction}},[]);return A1(w=>{f.current=!1,d(!1),l(!0),m.current?.(),m.current=g(),w.preventDefault(),w.stopPropagation(),n?.(w)},[g,n]),A1(w=>{l(!1),m.current?.(),m.current=null,r?.(w)},[r]),A1(w=>{l(!1),m.current?.(),m.current=null,o?.(w)},[o]),ne(AE,{"data-slot":"rb-resizable-handle","data-state":s?"Active":"Default","data-type":i==="horizontal"?"Vertical":"Horizontal",className:se(W1e({focused:v,direction:i}),t),onPointerDownCapture:w=>{m.current?.(),m.current=g(),w.preventDefault(),w.stopPropagation()},onPointerUpCapture:()=>{m.current?.(),m.current=null},onPointerCancelCapture:()=>{m.current?.(),m.current=null},...a,children:[h("div",{"data-slot":"rb-resizable-handle-track",className:q1e({focused:v,direction:i}),children:h("div",{className:U1e({direction:i})})}),!e&&h("div",{"data-slot":"rb-resizable-handle-thumb",className:Y1e({direction:i})})]})}const Z1e=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#00C951",d:"M16 4c6.627 0 12 5.373 12 12s-5.373 12-12 12S4 22.627 4 16 9.373 4 16 4m6.933 7.605a.93.93 0 0 0-1.312-.002l-7.448 7.449-3.707-3.708a.929.929 0 0 0-1.313 1.312l4.365 4.364a.927.927 0 0 0 1.311 0l8.105-8.104a.93.93 0 0 0-.001-1.312"}),h("path",{stroke:"#fff",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.855",d:"m9.81 16 4.363 4.364 8.104-8.104"})]}),Bbe=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{stroke:"#FF8383",strokeLinecap:"round",strokeWidth:"2",d:"M28 13.8H4M28 17.2H4"}),h("path",{stroke:"#FF8383",strokeLinecap:"round",strokeWidth:"1.8",d:"M13.9 23v-5"}),h("path",{fill:"#FF8383",d:"M13 13c0 .828-.88 1-1.94 1S9 13.828 9 13s.94-2 2-2 2 1.172 2 2M15.9 18c0-.828-.88-1-1.94-1s-2.06.172-2.06 1 .94 2 2 2 2-1.172 2-2M24.9 18c0-.828-.88-1-1.94-1s-2.06.172-2.06 1 .94 2 2 2 2-1.172 2-2"}),h("path",{stroke:"#FF8383",strokeLinecap:"round",strokeWidth:"1.8",d:"M22.9 23v-5M11 13V8"}),h("rect",{width:"5.8",height:"5.8",x:"8",y:"2",fill:"#FF8383",rx:".8"}),h("rect",{width:"5.8",height:"5.8",x:"20",y:"23",fill:"#FF8383",rx:".8"}),h("rect",{width:"5.8",height:"5.8",x:"11",y:"23",fill:"#FF8383",rx:".8"})]}),zbe=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#E73770",d:"M19.871 2.5c-.222-.222-.703-.152-.926.07L17 4.5c-.223.222-.223.778 0 1l1.945 1.69c.223.223.704.223.926 0a.63.63 0 0 0 0-.853l-.926-.737H25.5v4.79c0 .315.436.61.75.61s.75-.295.75-.61V5.473c0-.664-.538-1.202-1.203-1.202h-6.852l.926-.986a.545.545 0 0 0 0-.785M21.422 9.3a.88.88 0 0 1 .621.258l4.758 4.757a.88.88 0 0 1 .257.62v10.62c0 .727-.59 1.318-1.318 1.318H14.318c-.727 0-1.318-.59-1.318-1.318V24.2h2.58c-.055.468.116.952.512 1.305.685.61 1.78.595 2.448-.034l1.705-1.609q.198-.142.353-.332l.296-.278c.608-.573.649-1.458.133-2.072a1.5 1.5 0 0 0-.367-.377l-2.463-1.761c-.7-.5-1.72-.375-2.277.28a1.44 1.44 0 0 0-.35.878H13v-9.582c0-.728.59-1.318 1.318-1.318z"}),h("path",{fill:"#E73770",d:"M12.422 3a.88.88 0 0 1 .621.257l4.678 4.677h-4.889c-.728 0-1.318.59-1.318 1.317v11.321H9.8V16.8A1.8 1.8 0 0 0 8 15h-.4a1.8 1.8 0 0 0-1.8 1.8v3.772h-.483c-.727 0-1.317-.59-1.317-1.317V4.317C4 3.59 4.59 3 5.317 3z"}),h("path",{fill:"#E73770",d:"M17 24.828c.24.23.76.23 1 0l2-2.12c.271-.23.271-.803 0-1.032l-2-1.745c-.24-.23-.76-.23-1 0a.63.63 0 0 0 0 .882l.915.76H8.623v-4.969c0-.324-.472-.604-.812-.604S7 16.28 7 16.604v5.1c0 .684.582 1.24 1.3 1.24h9.615L17 23.948c-.24.23-.24.65 0 .88"})]}),Fbe=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#5C9CFF",d:"M4.667 20.8a1.2 1.2 0 0 1 1.2 1.2v4.133H10a1.201 1.201 0 0 1 0 2.4H4.667a1.2 1.2 0 0 1-1.2-1.2V22a1.2 1.2 0 0 1 1.2-1.2M27.333 20.8a1.2 1.2 0 0 1 1.2 1.2v5.333a1.2 1.2 0 0 1-1.2 1.2H22a1.2 1.2 0 0 1 0-2.4h4.133V22c0-.663.538-1.2 1.2-1.2M10 3.467a1.2 1.2 0 0 1 0 2.4H5.867V10a1.2 1.2 0 0 1-2.4 0V4.667a1.2 1.2 0 0 1 1.2-1.2zM27.333 3.467a1.2 1.2 0 0 1 1.2 1.2V10a1.2 1.2 0 0 1-2.4 0V5.867H22a1.2 1.2 0 0 1 0-2.4z"}),h("path",{fill:"#5C9CFF",fillRule:"evenodd",d:"M15.915 9c-4.652 0-8.64 2.62-10.716 6.389a1.52 1.52 0 0 0 0 1.501c2.075 3.768 6.064 6.389 10.716 6.389s8.64-2.62 10.716-6.389a1.52 1.52 0 0 0 0-1.501C24.556 11.62 20.567 9 15.915 9m0 10.967a3.82 3.82 0 0 0 3.827-3.828 3.82 3.82 0 0 0-3.827-3.827 3.82 3.82 0 0 0-3.827 3.827 3.82 3.82 0 0 0 3.827 3.828",clipRule:"evenodd"})]}),Vbe=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#fff",d:"m10.722 28.667-7.389-7.39V10.723l7.39-7.389h10.555l7.389 7.39v10.555l-7.39 7.389z"}),h("path",{fill:"#5C9CFF",d:"M16 20a2 2 0 1 1 0 4 2 2 0 0 1 0-4M17.333 8c.184 0 .334.149.334.333v10c0 .184-.15.334-.334.334h-2.666a.334.334 0 0 1-.334-.334v-10c0-.184.15-.333.334-.333z"})]}),jbe=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#5C9CFF",d:"M24.5 6.8c.802 0 1.296.574 1.532.918.27.396.492.911.686 1.477.393 1.149.767 2.808 1.13 4.936a1.2 1.2 0 0 1-2.364.405c-.34-1.98-.67-3.436-.984-4.402-.313.966-.645 2.422-.984 4.402-.364 2.128-.738 3.787-1.131 4.936-.194.566-.416 1.08-.687 1.476-.235.344-.729.918-1.532.918s-1.297-.574-1.532-.918c-.27-.396-.493-.91-.686-1.476-.393-1.149-.767-2.808-1.131-4.936-.34-1.98-.67-3.436-.984-4.402-.313.966-.645 2.422-.984 4.402-.364 2.128-.738 3.787-1.131 4.936-.194.566-.416 1.08-.687 1.476-.235.344-.729.918-1.532.918-.802 0-1.296-.574-1.531-.918-.27-.396-.494-.91-.687-1.476-.393-1.149-.767-2.808-1.131-4.936a1.201 1.201 0 0 1 2.366-.405c.339 1.98.67 3.435.984 4.401.313-.966.645-2.421.984-4.401.364-2.128.738-3.787 1.13-4.936.194-.566.416-1.081.687-1.477.236-.344.73-.918 1.532-.918.803 0 1.296.574 1.531.918.271.396.494.911.688 1.477.393 1.149.767 2.808 1.13 4.936.34 1.98.67 3.436.984 4.402.314-.966.645-2.421.984-4.402.364-2.128.738-3.787 1.13-4.936.194-.566.417-1.081.688-1.477.235-.344.73-.918 1.531-.918"}),h("path",{fill:"#fff",d:"M25.333 22.138c0-.297.36-.445.57-.235l2.96 2.959c.26.26.26.683 0 .943l-2.96 2.959a.333.333 0 0 1-.57-.235v-1.995H4a1.2 1.2 0 0 1 0-2.4h21.333z"}),h("path",{fill:"#fff",fillRule:"evenodd",d:"M11.27 10H9.13l-.451-1.484H6.16L5.708 10h-2.14l2.505-7.542h2.693zM6.618 7.02h1.607l-.77-2.536H7.39z",clipRule:"evenodd"})]}),Hbe=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#fff",d:"M7.5 20.8c1.813 0 3.292 1.363 4.503 3.208 1.123 1.71 1.977 2.126 2.497 2.126.521 0 1.375-.416 2.497-2.126a1.2 1.2 0 0 1 2.006 1.317c-1.21 1.845-2.69 3.208-4.503 3.208-1.812 0-3.292-1.363-4.503-3.208C8.875 23.615 8.021 23.2 7.5 23.2s-1.374.415-2.497 2.125a1.2 1.2 0 1 1-2.006-1.317C4.208 22.163 5.687 20.8 7.5 20.8M25.529 10.472c.26-.26.682-.26.942 0l2.96 2.959c.21.21.061.569-.235.569H27.2v4h1.995c.296 0 .445.36.235.57l-2.96 2.958a.666.666 0 0 1-.942 0l-2.96-2.959a.334.334 0 0 1 .236-.569H24.8v-4h-1.995a.334.334 0 0 1-.236-.57z"}),h("path",{fill:"#5C9CFF",d:"M14.667 8.867a1.8 1.8 0 0 1 1.8 1.8v8a1.8 1.8 0 0 1-3.6 0v-8a1.8 1.8 0 0 1 1.8-1.8"}),h("path",{fill:"#fff",d:"M10.667 4.333V12c0 .736.597 1.333 1.333 1.333h5.333c.737 0 1.334-.597 1.334-1.333V4.333A.333.333 0 0 0 18.333 4H11a.333.333 0 0 0-.333.333"})]}),Wbe=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#fff",d:"M16.612 13.814a.134.134 0 0 1-.013.174l-3.838 3.836a.133.133 0 0 0-.012.175l3.341 4.454a.133.133 0 0 1-.107.214H4.667a2 2 0 0 1-2-2v-9.334a2 2 0 0 1 2-2h8.25c.21 0 .407.099.533.267z"}),h("path",{fill:"#5C9CFF",d:"m15.39 18.188 3.16 4.212a.67.67 0 0 0 .533.267h8.25a2 2 0 0 0 2-2v-9.334a2 2 0 0 0-2-2H16.017a.133.133 0 0 0-.107.214L19.25 14a.133.133 0 0 1-.011.174l-3.837 3.838a.133.133 0 0 0-.012.174M8.485 3.818a1.2 1.2 0 0 1 1.697 0l1.333 1.333A1.2 1.2 0 0 1 9.818 6.85L8.485 5.516a1.2 1.2 0 0 1 0-1.698M21.818 3.818a1.2 1.2 0 0 1 1.697 1.698l-1.333 1.333a1.2 1.2 0 0 1-1.697-1.698zM16 2.133a1.2 1.2 0 0 1 1.2 1.2V6a1.2 1.2 0 0 1-2.4 0V3.333a1.2 1.2 0 0 1 1.2-1.2M16 24.8a1.2 1.2 0 0 1 1.2 1.2v2.666a1.2 1.2 0 0 1-2.4 0V26A1.2 1.2 0 0 1 16 24.8M9.818 25.152a1.2 1.2 0 0 1 1.697 1.697l-1.333 1.333a1.2 1.2 0 0 1-1.697-1.697zM20.485 25.152a1.2 1.2 0 0 1 1.697 0l1.333 1.333a1.2 1.2 0 0 1-1.697 1.697l-1.333-1.333a1.2 1.2 0 0 1 0-1.697"})]}),qbe=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{stroke:"#fff",strokeLinecap:"round",strokeWidth:"2",d:"M28 13.8H4"}),h("path",{stroke:"#5C9CFF",strokeLinecap:"round",strokeWidth:"2",d:"M28 17.2H4"}),h("path",{stroke:"#5C9CFF",strokeLinecap:"round",strokeWidth:"1.8",d:"M13.9 23v-5"}),h("path",{fill:"#fff",d:"M13 13c0 .828-.88 1-1.94 1S9 13.828 9 13s.94-2 2-2 2 1.172 2 2"}),h("path",{fill:"#5C9CFF",d:"M15.9 18c0-.828-.88-1-1.94-1s-2.06.172-2.06 1 .94 2 2 2 2-1.172 2-2M24.9 18c0-.828-.88-1-1.94-1s-2.06.172-2.06 1 .94 2 2 2 2-1.172 2-2"}),h("path",{stroke:"#5C9CFF",strokeLinecap:"round",strokeWidth:"1.8",d:"M22.9 23v-5"}),h("path",{stroke:"#fff",strokeLinecap:"round",strokeWidth:"1.8",d:"M11 13V8"}),h("rect",{width:"5.8",height:"5.8",x:"8",y:"2",fill:"#5C9CFF",rx:".8"}),h("rect",{width:"5.8",height:"5.8",x:"20",y:"23",fill:"#fff",rx:".8"}),h("rect",{width:"5.8",height:"5.8",x:"11",y:"23",fill:"#fff",rx:".8"})]}),Ube=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#5C9CFF",d:"M19.871 2.5c-.222-.222-.703-.152-.926.07L17 4.5c-.223.222-.223.778 0 1l1.945 1.69c.223.223.704.223.926 0a.63.63 0 0 0 0-.853l-.926-.737H25.5v4.79c0 .315.436.61.75.61s.75-.295.75-.61V5.473c0-.664-.538-1.202-1.203-1.202h-6.852l.926-.986a.545.545 0 0 0 0-.785"}),h("path",{fill:"#fff",d:"M21.422 9.3a.88.88 0 0 1 .621.258l4.758 4.757a.88.88 0 0 1 .257.62v10.62c0 .727-.59 1.318-1.318 1.318H14.318c-.727 0-1.318-.59-1.318-1.318V24.2h2.58c-.055.468.116.952.512 1.305.685.61 1.78.595 2.448-.034l1.705-1.609q.198-.142.353-.332l.296-.278c.608-.573.649-1.458.133-2.072a1.5 1.5 0 0 0-.367-.377l-2.463-1.761c-.7-.5-1.72-.375-2.277.28a1.44 1.44 0 0 0-.35.878H13v-9.582c0-.728.59-1.318 1.318-1.318z"}),h("path",{fill:"#5C9CFF",d:"M12.422 3a.88.88 0 0 1 .621.257l4.678 4.677h-4.889c-.728 0-1.318.59-1.318 1.317v11.321H9.8V16.8A1.8 1.8 0 0 0 8 15h-.4a1.8 1.8 0 0 0-1.8 1.8v3.772h-.483c-.727 0-1.317-.59-1.317-1.317V4.317C4 3.59 4.59 3 5.317 3z"}),h("path",{fill:"#fff",d:"M17 24.828c.24.23.76.23 1 0l2-2.12c.271-.23.271-.803 0-1.032l-2-1.745c-.24-.23-.76-.23-1 0a.63.63 0 0 0 0 .882l.915.76H8.623v-4.969c0-.324-.472-.604-.812-.604S7 16.28 7 16.604v5.1c0 .684.582 1.24 1.3 1.24h9.615L17 23.948c-.24.23-.24.65 0 .88"})]}),Ybe=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#fff",d:"M6.716 21.39a1.2 1.2 0 0 1 1.679.25 9.5 9.5 0 0 0 1.966 1.965 1.2 1.2 0 1 1-1.431 1.926 12 12 0 0 1-2.461-2.46 1.2 1.2 0 0 1 .247-1.68M4.133 16q.001-.886.127-1.74a1.2 1.2 0 0 1 2.374.35q-.1.68-.1 1.39t.1 1.39a1.2 1.2 0 0 1-2.374.35A12 12 0 0 1 4.133 16M8.93 6.469a1.2 1.2 0 1 1 1.431 1.926 9.5 9.5 0 0 0-1.966 1.966A1.2 1.2 0 1 1 6.469 8.93a12 12 0 0 1 2.46-2.461m12.46.247a1.2 1.2 0 0 1 1.68-.247 12 12 0 0 1 2.461 2.46 1.2 1.2 0 1 1-1.926 1.431 9.5 9.5 0 0 0-1.966-1.965 1.2 1.2 0 0 1-.248-1.679M16 4.133q.887.001 1.74.127a1.2 1.2 0 0 1-.35 2.374 9.6 9.6 0 0 0-1.39-.1q-.71 0-1.39.1a1.2 1.2 0 0 1-.35-2.374q.854-.126 1.74-.127"}),h("path",{fill:"#5C9CFF",d:"M25.91 13.07a1.2 1.2 0 0 1 1.606.082l4 4a1.2 1.2 0 0 1-1.698 1.697l-1.983-1.984c-.443 6.15-5.572 11.001-11.835 11.001a1.2 1.2 0 1 1 0-2.399c4.91 0 8.945-3.738 9.419-8.522l-1.903 1.904a1.2 1.2 0 0 1-1.698-1.698l4-4z"})]}),Gbe=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#fff",d:"M9 19a1.667 1.667 0 1 1 0 3.334A1.667 1.667 0 0 1 9 19M23 19a1.667 1.667 0 1 1 0 3.334A1.667 1.667 0 0 1 23 19"}),h("path",{fill:"#fff",fillRule:"evenodd",d:"M23.333 14.8a5.868 5.868 0 0 1 0 11.733H8.667a5.867 5.867 0 1 1 0-11.733zM8.667 17.2a3.467 3.467 0 0 0 0 6.934h14.666a3.467 3.467 0 0 0 0-6.934z",clipRule:"evenodd"}),h("path",{fill:"#5C9CFF",fillRule:"evenodd",d:"M14 11.333c0 .737-.597 1.334-1.333 1.334h-6a1.333 1.333 0 0 1-1.334-1.334V6.667c0-.737.597-1.334 1.334-1.334h6c.736 0 1.333.597 1.333 1.334z",clipRule:"evenodd"}),h("path",{fill:"#5C9CFF",d:"M22 4.133a1.2 1.2 0 0 1 1.2 1.2v1.32l2.751 1.65c.482.29.698.876.52 1.41l-.666 2a1.201 1.201 0 0 1-2.277-.76l.362-1.087L22 8.732l-1.89 1.134.362 1.087a1.2 1.2 0 0 1-2.276.76l-.668-2c-.178-.534.04-1.12.522-1.41l2.75-1.65v-1.32a1.2 1.2 0 0 1 1.2-1.2"})]}),Kbe=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#5C9CFF",d:"M18 7.133a1.2 1.2 0 0 1 1.2 1.2v10.8h1.933v-10.8a1.2 1.2 0 0 1 1.2-1.2h4.333a1.2 1.2 0 0 1 1.2 1.2v6a1.2 1.2 0 0 1-2.4 0v-4.8h-1.933v10.8a1.2 1.2 0 0 1-1.2 1.2H18a1.2 1.2 0 0 1-1.2-1.2v-10.8h-1.934v10.8a1.2 1.2 0 0 1-1.2 1.2H9.333a1.2 1.2 0 0 1-1.2-1.2v-6a1.2 1.2 0 0 1 2.4 0v4.8h1.934v-10.8a1.2 1.2 0 0 1 1.199-1.2z"}),h("path",{fill:"#fff",d:"M25.333 22.138c0-.297.36-.445.57-.235l2.96 2.959c.26.26.26.683 0 .943l-2.96 2.959a.333.333 0 0 1-.57-.235v-1.995H4a1.2 1.2 0 0 1 0-2.4h21.333z"}),h("path",{fill:"#fff",fillRule:"evenodd",d:"M6.683 2.458q1.161 0 2.01.453.854.454 1.307 1.303.459.85.458 2.015 0 1.167-.458 2.016-.453.849-1.302 1.302-.843.453-1.99.453H3.844V2.458zm-.86 5.855h.813q.608 0 1.005-.199.4-.197.609-.656.208-.458.208-1.229 0-.78-.208-1.24a1.26 1.26 0 0 0-.62-.65q-.411-.193-1.041-.193h-.766z",clipRule:"evenodd"})]}),Xbe=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#fff",d:"M14 19.357c0 .355.288.643.643.643h2.714a.643.643 0 0 0 .643-.643v-.714a.643.643 0 0 0-.643-.643h-2.714a.643.643 0 0 0-.643.643zm0-4c0 .355.288.643.643.643h2.714a.643.643 0 0 0 .643-.643v-.714a.643.643 0 0 0-.643-.643h-2.714a.643.643 0 0 0-.643.643zM16 25a5.93 5.93 0 0 1-3.013-.8A5.84 5.84 0 0 1 10.8 22H8.643A.643.643 0 0 1 8 21.357v-.714c0-.355.288-.643.643-.643H10.1a8 8 0 0 1-.088-1A40 40 0 0 1 10 18H8.643A.643.643 0 0 1 8 17.357v-.714c0-.355.288-.643.643-.643H10q0-.5.012-1t.088-1H8.643A.643.643 0 0 1 8 13.357v-.714c0-.355.288-.643.643-.643H10.8a8 8 0 0 1 .787-1.075 4.9 4.9 0 0 1 1.013-.875l-1.16-1.196a.643.643 0 0 1 .007-.902l.498-.498a.643.643 0 0 1 .91 0L14.55 9.15a4.63 4.63 0 0 1 2.85 0l1.745-1.706a.643.643 0 0 1 .904.005l.496.496a.643.643 0 0 1 0 .91L19.35 10.05A5.8 5.8 0 0 1 21.2 12h2.157c.355 0 .643.288.643.643v.714a.643.643 0 0 1-.643.643H21.9q.075.5.087 1 .013.5.013 1h1.357c.355 0 .643.288.643.643v.714a.643.643 0 0 1-.643.643H22q0 .5-.013 1a8 8 0 0 1-.087 1h1.457c.355 0 .643.288.643.643v.714a.643.643 0 0 1-.643.643H21.2a5.84 5.84 0 0 1-2.188 2.2Q17.625 25 16 25"}),h("path",{fill:"#5C9CFF",d:"M4.667 20.8a1.2 1.2 0 0 1 1.2 1.2v4.133H10a1.201 1.201 0 0 1 0 2.4H4.667a1.2 1.2 0 0 1-1.2-1.2V22a1.2 1.2 0 0 1 1.2-1.2M27.333 20.8a1.2 1.2 0 0 1 1.2 1.2v5.333a1.2 1.2 0 0 1-1.2 1.2H22a1.2 1.2 0 0 1 0-2.4h4.133V22c0-.663.538-1.2 1.2-1.2M10 3.467a1.2 1.2 0 0 1 0 2.4H5.867V10a1.2 1.2 0 0 1-2.4 0V4.667a1.2 1.2 0 0 1 1.2-1.2zM27.333 3.467a1.2 1.2 0 0 1 1.2 1.2V10a1.2 1.2 0 0 1-2.4 0V5.867H22a1.2 1.2 0 0 1 0-2.4z"})]}),Zbe=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#5C9CFF",d:"M8.667 7.333c0-.368.298-.666.666-.666h13.334c.368 0 .666.298.666.666v21.334a.667.667 0 0 1-.666.666H9.333a.667.667 0 0 1-.666-.666zM12 2c0-.368.299-.667.667-.667h6.666c.369 0 .667.299.667.667v2a.667.667 0 0 1-.667.667h-6.666A.667.667 0 0 1 12 4z"}),h("path",{fill:"#fff",d:"M14.025 19.507h-2.388a.306.306 0 0 1-.249-.482l5.96-8.415c.183-.259.59-.102.552.213l-.663 5.475a.122.122 0 0 0 .121.137h2.898c.26 0 .401.303.235.502l-6.475 7.732c-.197.235-.579.066-.537-.238l.667-4.785a.122.122 0 0 0-.121-.139"})]}),Qbe=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#5C9CFF",d:"M11.172 5.333a2 2 0 0 1 1.414.586l3.023 3.024c.25.25.59.39.943.39H8l-2.666 3.333H2.667V7.333a2 2 0 0 1 2-2z"}),h("path",{fill:"#fff",d:"M2.667 10.667c0-.737.597-1.334 1.333-1.334h23.333a2 2 0 0 1 2 2V24a2 2 0 0 1-2 2H4.667a2 2 0 0 1-2-2z"})]}),Jbe=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#5C9CFF",d:"M16 2.133a1.2 1.2 0 0 1 1.2 1.2V6.8h1.467l.136.008c.313.035.602.193.801.442l2.666 3.333c.351.438.35 1.062 0 1.5l-2.666 3.333a1.201 1.201 0 0 1-1.875-1.499l2.067-2.584-1.706-2.134h-4.18l-1.706 2.134 2.066 2.584a1.2 1.2 0 0 1-1.874 1.499L9.73 12.083a1.2 1.2 0 0 1 0-1.5l2.667-3.333c.228-.285.573-.45.938-.45H14.8V3.333A1.2 1.2 0 0 1 16 2.133"}),h("path",{fill:"#fff",d:"M15.745 23.696a.333.333 0 0 0 .51 0l3.904-4.648a.333.333 0 0 0-.255-.548h-7.808a.333.333 0 0 0-.255.548zM9.099 4.058H5.823v1.369h2.953v1.6H5.823V10h-1.98V2.458H9.1zM16.933 29.2h-1.866c-.66 0-1.2-.541-1.2-1.2 0-.66.54-1.2 1.2-1.2h1.866c.66 0 1.2.54 1.2 1.2s-.54 1.2-1.2 1.2M11.733 25.987c.53.397.648 1.153.255 1.678-.412.536-1.165.643-1.68.242l-.003-.002a5.3 5.3 0 0 1-.715-.623l-.776-.777a1.195 1.195 0 0 1 0-1.691 1.195 1.195 0 0 1 1.691 0l.774.773c.136.137.287.275.454.4M21.695 27.905a1.24 1.24 0 0 1-.722.242c-.327 0-.642-.13-.868-.37l-.09-.11-.003-.002-.067-.1a1.195 1.195 0 0 1 .32-1.577v-.001h.002a3 3 0 0 0 .455-.4l.772-.773a1.196 1.196 0 1 1 1.692 1.691l-.773.774a8 8 0 0 1-.718.625M7.027 24.013c0 .653-.574 1.186-1.24 1.186-1.001 0-2.987.334-2.987-1.2 0-.66.54-1.199 1.2-1.199h1.88c.65 0 1.147.544 1.147 1.213M29.2 24.013c0 .653-.574 1.186-1.24 1.186h-1.787c-.66 0-1.2-.54-1.2-1.2s.54-1.199 1.2-1.199h1.88c.651 0 1.147.544 1.147 1.213"})]}),eye=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:h("path",{fill:"#fff",d:"M4.485 4.485a1.2 1.2 0 0 1 1.697 0L25.467 23.77V16a1.2 1.2 0 0 1 2.4 0v10.667a1.2 1.2 0 0 1-1.2 1.2H16a1.2 1.2 0 1 1 0-2.4h7.77L4.485 6.182a1.2 1.2 0 0 1 0-1.697"})}),tye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#FAFAFA",d:"M29 7.001v15a1 1 0 0 1-.345.75c-1.91 1.654-3.736 2.25-5.478 2.25-2.363 0-4.57-1.092-6.625-2.106-3.318-1.644-6.203-3.067-9.552-.422V28a1 1 0 1 1-2 0v-21a1 1 0 0 1 .346-.75C9.5 2 13.885 4.351 17.445 6.111c3.43 1.698 6.404 3.165 9.9.14a1 1 0 0 1 1.655.75"}),h("path",{fill:"#5C9CFF",d:"M5 7c0-.238 0-.5.5-1 .5-.502 1.499-1.108 1.499-1.108s-.001-.02-.001.077v23.34a.99.99 0 0 1-.994.99.99.99 0 0 1-.995-.99z"})]}),nye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#fff",d:"M16 8.201a2.8 2.8 0 1 0 0-5.6 2.8 2.8 0 0 0 0 5.6"}),h("path",{fill:"#5C9CFF",d:"M12 4.133a1.2 1.2 0 0 1 1.2 1.2v5.333a1.2 1.2 0 0 1-1.2 1.2h-1.467V16a1.2 1.2 0 0 1-2.4 0v-5.334a1.2 1.2 0 0 1 1.2-1.2H10.8V5.334a1.2 1.2 0 0 1 1.2-1.2M20 4.133a1.2 1.2 0 0 1 1.2 1.2v4.134h1.467a1.2 1.2 0 0 1 1.2 1.199V16a1.2 1.2 0 1 1-2.4 0v-4.134H20a1.2 1.2 0 0 1-1.2-1.2V5.333a1.2 1.2 0 0 1 1.2-1.2"}),h("path",{fill:"#fff",d:"M24 26.667c0 .736-.597 1.333-1.333 1.333H9.333A1.333 1.333 0 0 1 8 26.667v-.745c0-1.148.734-2.167 1.823-2.53l.912-.304a1.85 1.85 0 0 0 0-3.51l-.912-.303A2.67 2.67 0 0 1 8 16.745v-2.078h16v2.078a2.67 2.67 0 0 1-1.823 2.53l-.912.303a1.85 1.85 0 0 0 0 3.51l.912.304A2.67 2.67 0 0 1 24 25.922z"})]}),rye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#fff",d:"M4.667 26V13.036a2 2 0 0 1 .846-1.634l9.718-6.86a1.33 1.33 0 0 1 1.538 0l9.718 6.86a2 2 0 0 1 .846 1.634V26a2 2 0 0 1-2 2H6.667a2 2 0 0 1-2-2"}),h("path",{fill:"#5C9CFF",d:"M12 20c0-.736.597-1.333 1.333-1.333h5.334c.736 0 1.333.597 1.333 1.333v8h-8z"})]}),oye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#5C9CFF",d:"M22.535 27.29a1.2 1.2 0 0 1 .696 2.297c-.602.182-1.24.28-1.898.28a6.5 6.5 0 0 1-1.896-.28 1.2 1.2 0 0 1 .696-2.297 4.138 4.138 0 0 0 2.401 0M16 22.133a1.2 1.2 0 0 1 1.2 1.2c0 .42.063.823.177 1.201a1.2 1.2 0 0 1-2.297.696 6.5 6.5 0 0 1-.28-1.897 1.2 1.2 0 0 1 1.2-1.2M26.667 22.133a1.2 1.2 0 0 1 1.2 1.2c0 .658-.098 1.295-.28 1.897a1.2 1.2 0 0 1-2.297-.696c.115-.378.177-.781.177-1.2a1.2 1.2 0 0 1 1.2-1.2M4.413 6.77a1.2 1.2 0 1 1 2.297.696c-.114.378-.176.781-.176 1.2a1.2 1.2 0 0 1-2.4 0c0-.657.097-1.295.28-1.896M15.424 5.969a1.2 1.2 0 0 1 1.496.8c.183.602.28 1.24.28 1.897a1.2 1.2 0 1 1-2.4 0c0-.419-.062-.822-.177-1.2a1.2 1.2 0 0 1 .801-1.497M10.666 2.133c.658 0 1.296.098 1.898.28a1.2 1.2 0 0 1-.696 2.297 4.1 4.1 0 0 0-1.202-.177c-.419 0-.821.063-1.2.177a1.2 1.2 0 0 1-.696-2.297 6.5 6.5 0 0 1 1.896-.28"}),h("path",{fill:"#fff",fillRule:"evenodd",d:"M6.666 12.6a3.4 3.4 0 1 1 0 6.8 3.4 3.4 0 0 1 0-6.8m0 2.133a1.267 1.267 0 1 0 .002 2.534 1.267 1.267 0 0 0-.002-2.534",clipRule:"evenodd"}),h("path",{fill:"#fff",d:"M17.152 13.152a1.2 1.2 0 0 1 1.697 1.697L17.698 16l1.151 1.152a1.2 1.2 0 0 1-1.697 1.697L16 17.698l-1.151 1.15a1.2 1.2 0 0 1-1.697-1.696L14.303 16l-1.151-1.151a1.2 1.2 0 0 1 1.697-1.697L16 14.303zM27.15 13.819a1.2 1.2 0 0 1 1.698 1.697l-3.333 3.333a1.2 1.2 0 0 1-1.697 0l-2-2a1.201 1.201 0 0 1 1.697-1.697l1.151 1.151z"})]}),aye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#fff",fillRule:"evenodd",d:"M18.667 8.667c.736 0 1.277.594 1.333 1.333.137 1.813.337 4.388.482 6.26l6.27 1.844a2.67 2.67 0 0 1 1.915 2.558v6.672A2.667 2.667 0 0 1 26 30h-6.096a2.67 2.67 0 0 1-2.035-.944l-5.511-6.511a1.725 1.725 0 0 1 2.087-2.656l2.888 1.445V10c0-.737.598-1.333 1.334-1.333",clipRule:"evenodd"}),h("path",{fill:"#5C9CFF",d:"M26 2.8a2.534 2.534 0 0 1 2.533 2.533v8a1.2 1.2 0 1 1-2.4 0v-8A.134.134 0 0 0 26 5.2H6a.133.133 0 0 0-.133.133v16c0 .074.06.134.133.134h2.667a1.2 1.2 0 0 1 0 2.4H6a2.533 2.533 0 0 1-2.533-2.534v-16A2.534 2.534 0 0 1 6 2.8z"})]}),iye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#5C9CFF",d:"M12.9 6.213c2.642-1.02 5.877-.362 8.696 1.386 2.322 1.44 4.47 3.677 5.957 6.575l.617-2.466a1.2 1.2 0 0 1 2.328.582l-1.334 5.333a1.2 1.2 0 0 1-1.455.874l-5.333-1.334a1.2 1.2 0 0 1 .582-2.328l2.559.64c-1.292-2.612-3.182-4.594-5.186-5.837-2.428-1.505-4.86-1.846-6.565-1.186h-.004c-4.029 1.54-7.156 7.57-4.624 15.167a1.2 1.2 0 0 1-2.277.76c-2.8-8.4.444-16.023 6.04-18.166"}),h("path",{fill:"#fff",d:"M8 28a4 4 0 1 0 0-8 4 4 0 0 0 0 8M12 12a4 4 0 1 0 0-8 4 4 0 0 0 0 8"})]}),sye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("circle",{cx:"16",cy:"16",r:"4.667",fill:"#5C9CFF"}),h("path",{fill:"#fff",d:"M18.8 5.333a1.2 1.2 0 0 1 1.2-1.2h6.667a1.2 1.2 0 0 1 1.2 1.2V12a1.2 1.2 0 1 1-2.4 0V8.23l-3.285 3.285a1.2 1.2 0 0 1-1.697-1.697l3.285-3.285H20a1.2 1.2 0 0 1-1.2-1.2M4.134 20a1.2 1.2 0 1 1 2.4 0v3.77l3.284-3.285a1.2 1.2 0 0 1 1.697 1.697l-3.284 3.284H12a1.2 1.2 0 0 1 0 2.4H5.332a1.2 1.2 0 0 1-1.199-1.2z"})]}),lye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#fff",d:"M15.999 12.665c.696-.248 1.408.128 1.71.805a48 48 0 0 0 2.379 4.642l5.743.403a2.666 2.666 0 0 1 2.456 2.308l.672 5.034a2.667 2.667 0 0 1-2.453 3.012l-5.375.384a2.67 2.67 0 0 1-1.974-.677l-5.143-4.63a1.398 1.398 0 0 1 1.164-2.416L18 22l-.85-2.391-.015-.036-1.949-5.202A1.336 1.336 0 0 1 16 12.665"}),h("path",{fill:"#5C9CFF",d:"M26 2.8a2.534 2.534 0 0 1 2.533 2.533v9.334a1.2 1.2 0 0 1-2.4 0V5.333A.134.134 0 0 0 26 5.2H6a.133.133 0 0 0-.133.133v16c0 .074.06.134.133.134h4a1.2 1.2 0 0 1 0 2.4H6a2.533 2.533 0 0 1-2.533-2.534v-16A2.534 2.534 0 0 1 6 2.8z"}),h("path",{fill:"#fff",d:"M13.962 8.652c1.98-.88 4.605-.744 6.35 1.25a1.2 1.2 0 1 1-1.805 1.58c-.9-1.027-2.32-1.193-3.57-.636-1.25.556-2.026 1.692-1.827 3a1.2 1.2 0 0 1-2.373.362c-.401-2.63 1.243-4.674 3.225-5.556"})]}),cye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("ellipse",{cx:"15.5",cy:"26",fill:"#5C9CFF",rx:"9.5",ry:"3"}),h("path",{fill:"#fff",d:"M15.5 2a9.55 9.55 0 0 1 6.715 2.765A9.4 9.4 0 0 1 25 11.429c0 8.068-8.637 14.16-9.005 14.416a.87.87 0 0 1-.99 0C14.637 25.59 6 19.497 6 11.429a9.4 9.4 0 0 1 2.785-6.664A9.55 9.55 0 0 1 15.5 2m0 5a4.5 4.5 0 1 0 0 9 4.5 4.5 0 0 0 0-9"})]}),uye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#fff",d:"M14.667 11.333c.736 0 1.333.597 1.333 1.334V16h3.333a1.333 1.333 0 0 1 0 2.667H16V22a1.333 1.333 0 0 1-2.667 0v-3.333H10A1.333 1.333 0 0 1 10 16h3.333v-3.333c0-.737.597-1.333 1.334-1.334"}),h("path",{fill:"#5C9CFF",d:"M9.655 20.648q.17.017.344.018h1.334V22l.004.172q.005.087.014.174l-5.169 5.17a1.2 1.2 0 0 1-1.697-1.698zM26.667 4.134a1.2 1.2 0 0 1 1.2 1.199V16a1.2 1.2 0 1 1-2.4 0V8.23l-5.788 5.788a3 3 0 0 0-.346-.018H18v-1.334l-.003-.172a3 3 0 0 0-.015-.173l5.789-5.788H16a1.2 1.2 0 0 1 0-2.4z"})]}),dye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#5C9CFF",d:"M29.333 24.446a.8.8 0 0 1-.58.77l-6.243 1.783a.4.4 0 0 1-.51-.385V9.081a.8.8 0 0 1 .58-.769l6.243-1.784a.4.4 0 0 1 .51.385zM10 23.683a.8.8 0 0 1-.58.77l-6.243 1.784a.4.4 0 0 1-.51-.385V8.32a.8.8 0 0 1 .58-.769L9.49 5.766a.4.4 0 0 1 .51.384z"}),h("path",{fill:"#fff",d:"M18.891 8.495a.8.8 0 0 1 .442.716v17.524a.4.4 0 0 1-.579.358L13.11 24.27a.8.8 0 0 1-.442-.715V6.03a.4.4 0 0 1 .579-.358z"})]}),fye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#fff",d:"M3.836 29.06a.34.34 0 0 1-.503-.3V7.334a2 2 0 0 1 2-2h21.334a2 2 0 0 1 2 2v16a2 2 0 0 1-2 2h-15.32c-.447 0-.886.112-1.277.326z"}),h("path",{fill:"#5C9CFF",d:"M16.134 18.934a1.2 1.2 0 0 1 0 2.4H9.2a1.2 1.2 0 0 1 0-2.4zM22.8 14.267a1.2 1.2 0 0 1 0 2.4H9.2a1.2 1.2 0 0 1 0-2.4zM22.8 9.6a1.2 1.2 0 0 1 0 2.4H9.2a1.2 1.2 0 0 1 0-2.4z"})]}),pye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#5C9CFF",d:"M12.598 10.106A5.3 5.3 0 0 0 16 11.333a5.3 5.3 0 0 0 3.401-1.227 5.3 5.3 0 0 0 .64 3.56 5.3 5.3 0 0 0 2.762 2.332 5.3 5.3 0 0 0-2.762 2.334 5.3 5.3 0 0 0-.64 3.559A5.3 5.3 0 0 0 16 20.665c-1.293 0-2.479.46-3.402 1.226a5.3 5.3 0 0 0-.639-3.559 5.3 5.3 0 0 0-2.763-2.334 5.3 5.3 0 0 0 2.763-2.332c.647-1.12.84-2.378.639-3.56"}),h("path",{fill:"#fff",d:"M19.334 5.999a3.333 3.333 0 1 1-6.667 0 3.333 3.333 0 0 1 6.667 0M26.327 13.886a3.333 3.333 0 1 1-3.333-5.774 3.333 3.333 0 0 1 3.333 5.774M22.994 23.886a3.333 3.333 0 1 1 3.333-5.774 3.333 3.333 0 0 1-3.333 5.774M12.667 25.999a3.333 3.333 0 1 1 6.666 0 3.333 3.333 0 0 1-6.666 0M5.673 18.112a3.333 3.333 0 1 1 3.334 5.774 3.333 3.333 0 0 1-3.334-5.774M9.007 8.112a3.333 3.333 0 1 1-3.334 5.774 3.333 3.333 0 0 1 3.334-5.774"})]}),hye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#5C9CFF",d:"M16 4.133a1.2 1.2 0 0 1 1.2 1.2v9.015l8.573-2.786a1.2 1.2 0 0 1 .742 2.282L17.94 16.63l5.3 7.295a1.2 1.2 0 1 1-1.94 1.41l-5.3-7.294-5.3 7.294a1.2 1.2 0 0 1-1.94-1.41l5.298-7.295-8.573-2.786a1.2 1.2 0 0 1 .742-2.282l8.573 2.786V5.333a1.2 1.2 0 0 1 1.2-1.2"}),h("circle",{cx:"16",cy:"4",r:"2.667",fill:"#fff"}),h("circle",{cx:"4.587",cy:"12.292",r:"2.667",fill:"#fff",transform:"rotate(-72 4.587 12.292)"}),h("circle",{cx:"8.946",cy:"25.708",r:"2.667",fill:"#fff",transform:"rotate(-144 8.946 25.708)"}),h("circle",{cx:"23.053",cy:"25.708",r:"2.667",fill:"#fff",transform:"rotate(144 23.053 25.708)"}),h("circle",{cx:"27.413",cy:"12.292",r:"2.667",fill:"#fff",transform:"rotate(72 27.413 12.292)"}),h("circle",{cx:"16",cy:"16",r:"3.333",fill:"#fff"})]}),mye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("circle",{cx:"7.333",cy:"25.333",r:"3.333",fill:"#5C9CFF"}),h("circle",{cx:"25.999",cy:"18.667",r:"3.333",fill:"#5C9CFF"}),h("path",{fill:"#fff",d:"M21.164 9.627a1.2 1.2 0 0 1 1.3 1.09l.329 3.758.004.122a1.2 1.2 0 0 1-1.095 1.178l-3.757.328a1.2 1.2 0 0 1-.21-2.391l.87-.076-.956-.802a1.201 1.201 0 0 1 1.543-1.84l.957.804-.076-.871a1.2 1.2 0 0 1 1.09-1.3M13.528 7.81a1.2 1.2 0 0 1 1.692-.148l1.134.952a1.2 1.2 0 0 1-1.543 1.839L13.677 9.5a1.2 1.2 0 0 1-.149-1.692M7.26 17.723a1.2 1.2 0 1 1 2.364.417l-.257 1.46a1.2 1.2 0 0 1-2.364-.418zM9.22 9.15a1.2 1.2 0 0 1 1.568.36l2.162 3.09a1.2 1.2 0 1 1-1.966 1.375l-.5-.715-.217 1.233a1.2 1.2 0 0 1-2.364-.417l.218-1.235-.717.503a1.201 1.201 0 0 1-1.377-1.966l3.09-2.164z"}),h("circle",{cx:"10.667",cy:"5.333",r:"2.333",fill:"#5C9CFF"})]}),gye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#5C9CFF",d:"M10.533 7.533a2.333 2.333 0 1 0 0-4.666 2.333 2.333 0 0 0 0 4.666M7.2 28.533a3.333 3.333 0 1 0 0-6.666 3.333 3.333 0 0 0 0 6.666"}),h("path",{fill:"#fff",d:"M21.026 9.506h-.003a1.19 1.19 0 0 0-1.091 1.294l.072.825-1.59-1.344-.157-.122-.15-.117a1.204 1.204 0 0 0-1.68.239 1.204 1.204 0 0 0 .24 1.68l.007.005.007.007.161.136.005.004L18.24 13.3l.242.207-.884.079h-.002a1.19 1.19 0 0 0-1.09 1.293c.06.624.588 1.093 1.2 1.093h.26l3.595-.318.002-.001c.322-.024.61-.179.814-.42.202-.237.3-.561.276-.875l-.333-3.76v-.003a1.19 1.19 0 0 0-1.294-1.09m-6.942.287a1.205 1.205 0 0 0-1.453-.877h.001a6.56 6.56 0 0 0-3.765 2.522 1.21 1.21 0 0 0 .276 1.68l.004.004c.186.143.417.212.643.221l.011-.008h.052c.372 0 .733-.169.973-.494a4.1 4.1 0 0 1 2.382-1.596l.117-.035c.528-.189.859-.73.782-1.296zM9.242 19.454a1.22 1.22 0 0 1-1.175.998h-.013a.5.5 0 0 1-.178-.017l-.013-.005-.012-.003a1.2 1.2 0 0 1-.973-1.392l.467-2.625a1.2 1.2 0 1 1 2.364.419z"}),h("path",{fill:"#5C9CFF",d:"M25.867 21.867a3.333 3.333 0 1 0 0-6.667 3.333 3.333 0 0 0 0 6.667"})]}),vye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("circle",{cx:"7.333",cy:"25.333",r:"3.333",fill:"#5C9CFF"}),h("circle",{cx:"25.999",cy:"18.667",r:"3.333",fill:"#5C9CFF"}),h("path",{fill:"#fff",d:"M13.528 7.81a1.2 1.2 0 0 1 1.692-.148l4.93 4.136-.077-.871a1.2 1.2 0 0 1 2.39-.21l.33 3.758.004.122a1.2 1.2 0 0 1-1.095 1.178l-3.757.328a1.2 1.2 0 0 1-.21-2.391l.87-.076L13.676 9.5a1.2 1.2 0 0 1-.149-1.692M9.22 9.15a1.2 1.2 0 0 1 1.568.36l2.162 3.089a1.2 1.2 0 1 1-1.966 1.376l-.5-.715L9.366 19.6a1.2 1.2 0 0 1-2.364-.417l1.118-6.34-.717.502a1.201 1.201 0 0 1-1.377-1.966l3.089-2.164z"}),h("circle",{cx:"10.667",cy:"5.333",r:"2.333",fill:"#5C9CFF"})]}),wye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("circle",{cx:"10.667",cy:"5.333",r:"2.333",fill:"#5C9CFF"}),h("circle",{cx:"7.333",cy:"25.333",r:"3.333",fill:"#5C9CFF"}),h("circle",{cx:"25.999",cy:"18.667",r:"3.333",fill:"#5C9CFF"}),h("path",{fill:"#fff",d:"M7.87 14.27c.878-4.965 6.812-7.107 10.659-3.846l1.62 1.372-.077-.87a1.2 1.2 0 0 1 2.392-.208l.328 3.757.005.123a1.2 1.2 0 0 1-1.096 1.177l-3.756.329a1.2 1.2 0 0 1-.21-2.392l.87-.076-1.628-1.382c-2.434-2.063-6.189-.707-6.743 2.434L9.366 19.6a1.2 1.2 0 0 1-2.363-.417z"})]}),bye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#5C9CFF",d:"M10.533 7.533a2.333 2.333 0 1 0 0-4.666 2.333 2.333 0 0 0 0 4.666M7.2 28.533a3.333 3.333 0 1 0 0-6.666 3.333 3.333 0 0 0 0 6.666"}),h("path",{fill:"#fff",d:"M21.026 9.506h-.003a1.19 1.19 0 0 0-1.091 1.294l.072.825-1.59-1.344-.157-.122-.15-.117a1.204 1.204 0 0 0-1.68.239 1.204 1.204 0 0 0 .24 1.68l.007.005.007.007.161.136.005.004L18.24 13.3l.242.207-.884.079h-.002a1.19 1.19 0 0 0-1.09 1.293c.06.624.587 1.093 1.2 1.093h.26l3.595-.318.002-.001c.322-.024.61-.179.814-.42.202-.237.3-.561.276-.875l-.333-3.76v-.003a1.19 1.19 0 0 0-1.294-1.09m-6.942.287a1.205 1.205 0 0 0-1.453-.877h.001a6.56 6.56 0 0 0-3.765 2.522 1.21 1.21 0 0 0 .276 1.68l.004.004c.186.143.417.212.643.221l.011-.008h.052c.372 0 .733-.169.973-.494a4.1 4.1 0 0 1 2.382-1.596l.116-.035c.529-.189.86-.73.783-1.296zM9.242 19.454a1.22 1.22 0 0 1-1.175.998h-.013a.5.5 0 0 1-.178-.017l-.013-.005-.012-.003a1.2 1.2 0 0 1-.973-1.392l.467-2.625a1.2 1.2 0 1 1 2.364.419z"}),h("path",{fill:"#5C9CFF",d:"M25.867 21.867a3.333 3.333 0 1 0 0-6.667 3.333 3.333 0 0 0 0 6.667"})]}),yye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#fff",d:"M2.667 8h26.667v13.333H2.667z"}),h("path",{fill:"#5C9CFF",d:"M8.982 21.333H6.41l5.153-13.334h2.572zM14.742 21.333h-2.574l5.154-13.334h2.572zM20.5 21.333H17.93l5.153-13.334h2.572zM3.867 4.667a1.2 1.2 0 0 1 1.2 1.2v20.266a1.2 1.2 0 0 1-2.4 0V5.868c0-.663.537-1.201 1.2-1.201M28.133 4.667a1.2 1.2 0 0 1 1.2 1.2v20.266a1.2 1.2 0 0 1-2.4 0V5.867a1.2 1.2 0 0 1 1.2-1.2"})]}),_ye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("rect",{width:"10.667",height:"10.667",x:"4",y:"4",fill:"#5C9CFF",rx:"1.333"}),h("rect",{width:"10.667",height:"10.667",x:"17.333",y:"4",fill:"#fff",rx:"1.333"}),h("rect",{width:"10.667",height:"10.667",x:"4",y:"17.333",fill:"#fff",rx:"1.333"}),h("rect",{width:"10.667",height:"10.667",x:"17.333",y:"17.333",fill:"#fff",rx:"1.333"})]}),xye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#5C9CFF",d:"M12.349 25.289a.13.13 0 0 0-.126-.09H4.666a1.2 1.2 0 1 1 0-2.4h7.574a.13.13 0 0 0 .125-.086 3.9 3.9 0 0 1 .684-1.175l.053-.047a.2.2 0 0 1 .047-.02.2.2 0 0 1 .113.008c.097.03.202.103.3.182.305.237.623.462.937.684.172.129.318.218.421.355l.004.005c.06.073.07.15.051.239a1 1 0 0 1-.14.3c-.144.228-.232.49-.232.78 0 .77.627 1.393 1.397 1.393s1.396-.624 1.397-1.393c0-.29-.087-.552-.23-.78a1 1 0 0 1-.141-.301.26.26 0 0 1 .05-.238l.004-.005c.104-.138.25-.226.421-.355.314-.223.632-.447.937-.684a1 1 0 0 1 .3-.182.2.2 0 0 1 .114-.009c.029.007.063.025.1.068l.107.132c.243.312.438.664.576 1.043.02.052.07.086.125.086h2.266c.04 0 .079-.018.104-.05l2.267-2.832a1.2 1.2 0 0 1 1.227-.414l2.667.667a1.2 1.2 0 0 1-.582 2.327l-1.836-.458a.13.13 0 0 0-.136.046l-1.466 1.832a.134.134 0 0 0 0 .167l1.466 1.833c.032.04.086.058.136.046l1.836-.46a1.199 1.199 0 1 1 .582 2.327l-2.667.667a1.2 1.2 0 0 1-1.227-.414l-2.268-2.834a.13.13 0 0 0-.104-.05h-2.248a.13.13 0 0 0-.107.053l-.02.037A3.87 3.87 0 0 1 16 27.866a3.87 3.87 0 0 1-3.651-2.577"}),h("path",{fill:"#fff",d:"M16 2a7.11 7.11 0 0 0-5.074 2.15A7.42 7.42 0 0 0 8.82 9.333c0 6.275 6.526 11.015 6.805 11.213a.64.64 0 0 0 .749 0c.278-.198 6.805-4.937 6.805-11.213a7.42 7.42 0 0 0-2.106-5.183A7.11 7.11 0 0 0 16 2m0 4.667c.516 0 1.021.156 1.45.45.43.292.764.709.962 1.196a2.7 2.7 0 0 1 .149 1.54c-.101.518-.35.993-.715 1.366s-.83.627-1.337.73a2.56 2.56 0 0 1-1.508-.152 2.62 2.62 0 0 1-1.172-.982 2.71 2.71 0 0 1 .325-3.367c.49-.5 1.154-.781 1.846-.781"})]}),Sye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#5C9CFF",d:"M23.67 20.846a1.202 1.202 0 0 1 .66 2.309l-3.961 1.13 6.628 1.895a1.2 1.2 0 0 1-.66 2.308L16 25.534 5.663 28.488a1.2 1.2 0 0 1-.659-2.308l6.627-1.894-3.96-1.131a1.201 1.201 0 0 1 .66-2.309L16 23.038z"}),h("path",{fill:"#fff",d:"M16 2a7.11 7.11 0 0 0-5.074 2.15A7.42 7.42 0 0 0 8.82 9.333c0 6.275 6.527 11.015 6.805 11.213a.64.64 0 0 0 .75 0c.278-.198 6.804-4.937 6.804-11.213a7.42 7.42 0 0 0-2.105-5.183A7.11 7.11 0 0 0 16 2m0 4.667c.516 0 1.021.156 1.45.45.43.292.764.709.962 1.196a2.7 2.7 0 0 1 .149 1.54c-.101.518-.35.993-.715 1.366s-.83.627-1.337.73a2.56 2.56 0 0 1-1.508-.152 2.62 2.62 0 0 1-1.172-.982 2.71 2.71 0 0 1 .325-3.367c.49-.5 1.153-.781 1.846-.781"})]}),Cye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#fff",d:"M14.667 9.333a5.334 5.334 0 1 1-.002 10.668 5.334 5.334 0 0 1 .002-10.668m0 2.667a2.667 2.667 0 1 0 0 5.334 2.667 2.667 0 0 0 0-5.334"}),h("path",{fill:"#5C9CFF",d:"M26.667 14.8a1.2 1.2 0 0 1 1.2 1.2v10.668a1.2 1.2 0 0 1-1.2 1.199H16a1.2 1.2 0 0 1 0-2.4h7.77l-4.838-4.838a7.4 7.4 0 0 0 1.697-1.697l4.838 4.838V16a1.2 1.2 0 0 1 1.2-1.2M4.485 4.485a1.2 1.2 0 0 1 1.697 0l4.219 4.219A7.4 7.4 0 0 0 8.704 10.4l-4.22-4.219a1.2 1.2 0 0 1 0-1.697"})]}),Eye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("circle",{cx:"24",cy:"24",r:"2.8",stroke:"#fff",strokeWidth:"2.4"}),h("circle",{cx:"8",cy:"8",r:"4",fill:"#5C9CFF"}),h("path",{fill:"#fff",d:"M18 14.8a1.2 1.2 0 0 1 0 2.4H8a2.8 2.8 0 1 0 0 5.6h8.667a1.2 1.2 0 0 1 0 2.4H8a5.2 5.2 0 0 1 0-10.4z"}),h("path",{fill:"#5C9CFF",d:"M24.617 14.73a1.2 1.2 0 0 1 .531 2.34q-.56.13-1.156.13h-1.333a1.2 1.2 0 0 1 0-2.4h1.333q.325-.001.625-.07M27.627 9.94a1.2 1.2 0 0 1 1.435.903 5.2 5.2 0 0 1 0 2.314 1.2 1.2 0 0 1-2.34-.532 2.8 2.8 0 0 0 0-1.25 1.2 1.2 0 0 1 .905-1.435M23.992 6.8q.595.001 1.156.13a1.2 1.2 0 0 1-.531 2.34q-.301-.069-.625-.07h-1.333a1.2 1.2 0 0 1 0-2.4zM17.992 6.8a1.2 1.2 0 1 1 0 2.4h-2.667a1.2 1.2 0 0 1 0-2.4z"})]}),Mye=(t={})=>h("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:ne("g",{transform:"rotate(180 16 16)",children:[h("circle",{cx:"24",cy:"24",r:"2.8",stroke:"#fff",strokeWidth:"2.4"}),h("circle",{cx:"8",cy:"8",r:"4",fill:"#5C9CFF"}),h("path",{fill:"#fff",d:"M18 14.8a1.2 1.2 0 0 1 0 2.4H8a2.8 2.8 0 1 0 0 5.6h8.667a1.2 1.2 0 0 1 0 2.4H8a5.2 5.2 0 0 1 0-10.4z"}),h("path",{fill:"#5C9CFF",d:"M24.617 14.73a1.2 1.2 0 0 1 .531 2.34q-.56.13-1.156.13h-1.333a1.2 1.2 0 0 1 0-2.4h1.333q.325-.001.625-.07M27.627 9.94a1.2 1.2 0 0 1 1.435.903 5.2 5.2 0 0 1 0 2.314 1.2 1.2 0 0 1-2.34-.532 2.8 2.8 0 0 0 0-1.25 1.2 1.2 0 0 1 .905-1.435M23.992 6.8q.595.001 1.156.13a1.2 1.2 0 0 1-.531 2.34q-.301-.069-.625-.07h-1.333a1.2 1.2 0 0 1 0-2.4zM17.992 6.8a1.2 1.2 0 1 1 0 2.4h-2.667a1.2 1.2 0 0 1 0-2.4z"})]})}),kye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#5C9CFF",d:"M2.033 10.586a3.333 3.333 0 0 1 3.282-3.92h21.37a3.333 3.333 0 0 1 3.282 3.92l-2.34 13.099a2 2 0 0 1-1.968 1.648H6.34a2 2 0 0 1-1.969-1.648z"}),h("circle",{cx:"8.667",cy:"12.667",r:"2.333",fill:"#fff"}),h("path",{fill:"#fff",d:"M14.333 19.333a2.333 2.333 0 1 1-4.666 0 2.333 2.333 0 0 1 4.666 0"}),h("circle",{cx:"20",cy:"19.333",r:"2.333",fill:"#fff"}),h("circle",{cx:"23.333",cy:"12.667",r:"2.333",fill:"#fff"}),h("circle",{cx:"16",cy:"12.667",r:"2.333",fill:"#fff"})]}),Rye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#fff",d:"M20.484 3.152a1.2 1.2 0 0 1 1.698 0l4 4a1.2 1.2 0 0 1 0 1.697l-4 4a1.2 1.2 0 0 1-1.698-1.697L22.435 9.2H8a.133.133 0 0 0-.133.133v5.334a1.2 1.2 0 0 1-2.4 0V9.333A2.534 2.534 0 0 1 8 6.8h14.436l-1.952-1.951a1.2 1.2 0 0 1 0-1.698"}),h("path",{fill:"#5C9CFF",d:"M25.333 16.133a1.2 1.2 0 0 1 1.2 1.2v5.333c0 1.4-1.134 2.533-2.533 2.533H9.564l1.952 1.952a1.2 1.2 0 0 1-1.698 1.698l-4-4a1.2 1.2 0 0 1 0-1.698l4-4a1.2 1.2 0 0 1 1.698 1.698l-1.951 1.95H24c.074 0 .134-.06.134-.133v-5.333a1.2 1.2 0 0 1 1.2-1.2"})]}),Tye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#5C9CFF",d:"M25.467 16A9.467 9.467 0 0 0 16 6.533c-5.15 0-9.335 4.111-9.461 9.23l1.28-1.278a1.2 1.2 0 0 1 1.697 1.697l-3.334 3.333a1.2 1.2 0 0 1-1.698 0l-3.333-3.333a1.2 1.2 0 0 1 1.698-1.697l1.287 1.287C4.257 9.323 9.522 4.133 16 4.133c6.554 0 11.866 5.313 11.866 11.867S22.554 27.866 16 27.866c-2.855 0-5.477-1.009-7.524-2.689a1.2 1.2 0 0 1 1.523-1.855A9.467 9.467 0 0 0 25.467 16"}),h("path",{fill:"#fff",d:"M21.667 15.423a.667.667 0 0 1 0 1.154l-8 4.62a.667.667 0 0 1-1-.578V11.38a.667.667 0 0 1 1-.577z"})]}),Nye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",width:"1em",height:"1em",...t,children:[h("path",{fill:"#5C9CFF",d:"M3.9 16a.9.9 0 0 1 .9.9V20h3.1a.9.9 0 0 1 0 1.8h-4a.9.9 0 0 1-.9-.9v-4a.9.9 0 0 1 .9-.9M20.9 16a.9.9 0 0 1 .9.9v4a.9.9 0 0 1-.9.9h-4a.9.9 0 0 1 0-1.8H20v-3.1a.9.9 0 0 1 .9-.9M7.9 3a.9.9 0 0 1 0 1.8H4.8v3.1a.9.9 0 0 1-1.8 0v-4a.9.9 0 0 1 .9-.9zM20.9 3a.9.9 0 0 1 .9.9v4a.9.9 0 0 1-1.8 0V4.8h-3.1a.9.9 0 0 1 0-1.8z"}),h("path",{fill:"#fff",fillRule:"evenodd",d:"M12.415 7c-3.16 0-5.87 1.78-7.28 4.34-.18.32-.18.7 0 1.02 1.41 2.56 4.12 4.34 7.28 4.34s5.87-1.78 7.28-4.34c.18-.32.18-.7 0-1.02-1.41-2.56-4.12-4.34-7.28-4.34m0 7.45c1.44 0 2.6-1.16 2.6-2.6s-1.16-2.6-2.6-2.6-2.6 1.16-2.6 2.6 1.16 2.6 2.6 2.6",clipRule:"evenodd"})]}),Pye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#fff",d:"M18.114 2.667c.354 0 .693.14.943.39l7.219 7.22c.25.25.39.588.39.942v16.115a2 2 0 0 1-2 2H7.333a2 2 0 0 1-2-2V4.667a2 2 0 0 1 2-2z"}),h("path",{fill:"#5C9CFF",d:"M16.196 12.287a1.2 1.2 0 0 1 2.276.76l-2.666 8a1.201 1.201 0 0 1-2.277-.76zM10.486 13.151a1.201 1.201 0 0 1 1.697 1.697l-1.819 1.818 1.819 1.818a1.201 1.201 0 0 1-1.697 1.697l-2.667-2.666a1.2 1.2 0 0 1 0-1.697zM19.818 13.151a1.2 1.2 0 0 1 1.697 0l2.667 2.667a1.2 1.2 0 0 1 0 1.697l-2.667 2.666a1.2 1.2 0 0 1-1.697-1.697l1.818-1.818-1.818-1.818a1.2 1.2 0 0 1 0-1.697"})]}),Aye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#fff",d:"M25.447 17.46a.55.55 0 0 1-.188-.475c.063-.645.063-1.314 0-1.958a.55.55 0 0 1 .189-.476l2.579-2.185c.493-.414.613-1.12.293-1.68l-1.56-2.694c-.32-.56-1-.8-1.6-.587l-3.177 1.141a.55.55 0 0 1-.51-.078 9.5 9.5 0 0 0-1.7-.987.55.55 0 0 1-.318-.401l-.602-3.315a1.33 1.33 0 0 0-1.306-1.093H14.44c-.64 0-1.2.467-1.307 1.093l-.6 3.31a.55.55 0 0 1-.325.405 9 9 0 0 0-1.694.988.55.55 0 0 1-.51.078l-3.177-1.14a1.326 1.326 0 0 0-1.6.586l-1.574 2.693c-.32.56-.2 1.267.294 1.68l2.578 2.186a.55.55 0 0 1 .189.476 10 10 0 0 0 0 1.957.55.55 0 0 1-.189.476l-2.578 2.185a1.33 1.33 0 0 0-.294 1.68l1.56 2.694c.32.56 1 .8 1.6.587l3.177-1.141a.55.55 0 0 1 .511.078 9.5 9.5 0 0 0 1.7.987.55.55 0 0 1 .317.4l.602 3.316c.12.64.667 1.093 1.307 1.093h3.106c.64 0 1.2-.467 1.307-1.093l.6-3.31a.55.55 0 0 1 .325-.405 9 9 0 0 0 1.694-.988.55.55 0 0 1 .51-.078l3.178 1.14a1.326 1.326 0 0 0 1.6-.586l1.56-2.693c.32-.56.2-1.267-.294-1.68z"}),h("path",{fill:"#5C9CFF",d:"M16 21.334a5.333 5.333 0 1 0 0-10.667 5.333 5.333 0 0 0 0 10.667"})]}),Iye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#5C9CFF",d:"M16.645 29.816c-.42.134-.87.134-1.29 0-2.928-.934-6.15-3.24-8.022-5.816-2.01-2.767-2.666-5.956-2.666-9.333V7.374a1 1 0 0 1 .667-.943l9.779-3.451a2.67 2.67 0 0 1 1.775 0l9.778 3.451a1 1 0 0 1 .667.943v7.293c0 3.377-.655 6.566-2.666 9.333-1.873 2.576-5.094 4.882-8.022 5.816"}),h("rect",{width:"12.667",height:"3.519",x:"9.667",y:"14.241",fill:"#fff",rx:".253"}),h("rect",{width:"3.519",height:"12.667",x:"14.241",y:"9.667",fill:"#fff",rx:".253"})]}),Oye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#5C9CFF",d:"M5.334 3.333c0-.368.298-.666.666-.666h14.667c.368 0 .667.298.667.666v6a.667.667 0 0 1-.667.667H6a.667.667 0 0 1-.666-.667z"}),h("rect",{width:"16",height:"7.333",x:"5.334",y:"21.987",fill:"#5C9CFF",rx:".667"}),h("rect",{width:"16",height:"7.333",x:"12",y:"12.333",fill:"#5C9CFF",rx:".667"}),h("path",{fill:"#fff",d:"M12.667 5.166a1.07 1.07 0 0 1 1.5.167l8 10c.321.402.31.977-.027 1.365l-8.098 9.343 1.73 1.73a.133.133 0 0 1-.093.228H11a.334.334 0 0 1-.333-.333v-4.678c0-.12.144-.18.228-.095l1.634 1.635 7.415-8.556L12.5 6.666a1.07 1.07 0 0 1 .167-1.5"})]}),Lye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#fff",d:"M23.151 4.485a1.2 1.2 0 0 1 1.697 0l4 4a1.2 1.2 0 0 1 0 1.697l-4 4a1.2 1.2 0 0 1-1.697-1.697l1.951-1.951H20a4.133 4.133 0 0 0-4.133 4.132v2.668a6.534 6.534 0 0 1-6.533 6.533H4.667a1.2 1.2 0 0 1 0-2.4h4.667a4.134 4.134 0 0 0 4.133-4.133v-2.668A6.534 6.534 0 0 1 20 8.133h5.102l-1.95-1.95a1.2 1.2 0 0 1 0-1.698"}),h("path",{fill:"#5C9CFF",d:"M9.334 8.133a6.534 6.534 0 0 1 6.533 6.533v2.667A4.133 4.133 0 0 0 20 21.467h5.103l-1.952-1.952a1.2 1.2 0 0 1 1.697-1.697l4 4a1.2 1.2 0 0 1 0 1.697l-4 4a1.2 1.2 0 0 1-1.697-1.697l1.951-1.952H20a6.533 6.533 0 0 1-6.533-6.533v-2.667a4.133 4.133 0 0 0-4.133-4.133H4.667a1.2 1.2 0 0 1 0-2.4z"})]}),$ye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#5C9CFF",d:"M4.91 10.403a1.2 1.2 0 0 1 1.605.082l3.334 3.333a1.201 1.201 0 0 1-1.697 1.697l-1.428-1.428a9.473 9.473 0 0 0 14.791 9.607 1.2 1.2 0 0 1 1.396 1.953 11.87 11.87 0 0 1-11.317 1.365C6.461 24.96 3.547 19.713 4.227 14.47l-1.045 1.046a1.2 1.2 0 0 1-1.697-1.697l3.333-3.333z"}),h("path",{fill:"#fff",d:"M9.102 6.349a11.87 11.87 0 0 1 10.95-1.505l.366.14h.001c5.13 2.052 8.043 7.29 7.37 12.53l1.03-1.03a1.2 1.2 0 0 1 1.697 1.698l-3.334 3.333a1.2 1.2 0 0 1-1.697 0l-3.333-3.333a1.2 1.2 0 0 1 1.697-1.697l1.435 1.435A9.472 9.472 0 0 0 10.498 8.3 1.2 1.2 0 0 1 9.102 6.35"})]}),Dye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#5C9CFF",d:"M16 4.133c6.554 0 11.866 5.313 11.866 11.867a1.2 1.2 0 0 1-2.4 0 9.467 9.467 0 1 0-3.822 7.598h-1.933a1.2 1.2 0 0 1 0-2.4h4.715a1.2 1.2 0 0 1 1.2 1.2v4.714a1.201 1.201 0 0 1-2.4 0v-1.699A11.82 11.82 0 0 1 16 27.866C9.447 27.866 4.133 22.554 4.133 16S9.446 4.133 16 4.133"}),h("path",{fill:"#fff",d:"m12.567 21.8 4.033-4.067q.333.134.675.2.342.067.725.067 1.667 0 2.833-1.167Q22 15.667 22 14q0-.6-.167-1.142a4.4 4.4 0 0 0-.225-.582c-.11-.233-.416-.268-.598-.086l-2.077 2.077-1.2-1.2 2.077-2.077c.182-.182.147-.488-.086-.598a4.4 4.4 0 0 0-.582-.225A3.9 3.9 0 0 0 18 10q-1.667 0-2.833 1.167Q14 12.333 14 14q0 .383.067.725.066.342.2.675L10.2 19.433a.66.66 0 0 0-.2.484q0 .284.2.483l1.4 1.4q.2.2.483.2.284 0 .484-.2"})]}),Bye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#5C9CFF",d:"M12 8.133A3.867 3.867 0 0 1 15.867 12v8c0 .81.656 1.467 1.466 1.467h6.437l-1.952-1.952a1.2 1.2 0 0 1 1.697-1.697l4 4a1.2 1.2 0 0 1 0 1.697l-4 4a1.2 1.2 0 0 1-1.697-1.697l1.95-1.952h-6.435A3.866 3.866 0 0 1 13.467 20v-8c0-.81-.657-1.466-1.467-1.467H7.333a1.2 1.2 0 0 1 0-2.4z"}),h("path",{fill:"#fff",d:"M21.818 4.485a1.2 1.2 0 0 1 1.697 0l4 4a1.2 1.2 0 0 1 0 1.697l-4 4a1.2 1.2 0 0 1-1.697-1.697l1.95-1.951H7.334a1.2 1.2 0 0 1 0-2.4H23.77l-1.951-1.952a1.2 1.2 0 0 1 0-1.697"}),h("circle",{cx:"6.667",cy:"9.333",r:"3.333",fill:"#fff"})]}),zye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#fff",d:"M20.533 3.333h-9.066a.8.8 0 0 0-.8.8v3.2h10.666v-3.2a.8.8 0 0 0-.8-.8"}),h("path",{fill:"#5C9CFF",d:"M22.634 14.536q.033.13.113.238l2.385 3.18a4.13 4.13 0 0 0-3.08 2.215l-4.706-4.28a2 2 0 0 0-2.692 0l-4.708 4.28a4.13 4.13 0 0 0-3.079-2.216l2.386-3.179a.7.7 0 0 0 .113-.238l1.301-5.203h10.666z"}),h("path",{fill:"#fff",d:"M25.119 28h-2.064a.333.333 0 0 1-.33-.384l.91-5.912a2.115 2.115 0 1 1 4.016 1.197l-2.229 4.904a.33.33 0 0 1-.303.195M7.096 28h1.849c.204 0 .36-.182.33-.384l-.91-5.912a2.115 2.115 0 1 0-4.016 1.197l2.14 4.708c.108.238.346.39.607.39"})]}),Fye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("rect",{width:"18.667",height:"18.667",x:"10",y:"10.667",fill:"#fff",rx:"2"}),h("path",{fill:"#5C9CFF",d:"M24.667 14.133a1.2 1.2 0 0 1 1.2 1.2v10q-.001.11-.02.214a1.19 1.19 0 0 1-.917.956l-.034.007-.016.003a1 1 0 0 1-.213.02h-10a1.2 1.2 0 0 1 0-2.4h7.103l-7.286-7.285a1.2 1.2 0 0 1 1.698-1.697l7.285 7.285v-7.102a1.2 1.2 0 0 1 1.2-1.2M3.333 17.466V13.2a1.2 1.2 0 0 1 2.401 0v4.266a1.2 1.2 0 0 1-2.4 0m0-9.333V6.667a3.2 3.2 0 0 1 3.2-3.2h3.334a1.2 1.2 0 0 1 0 2.4H6.534a.8.8 0 0 0-.8.8v1.466a1.2 1.2 0 0 1-2.4 0m15.466 0V6.667a.8.8 0 0 0-.799-.8h-3.333a1.2 1.2 0 0 1 0-2.4H18a3.2 3.2 0 0 1 3.2 3.2v1.466a1.2 1.2 0 0 1-2.4 0M3.333 22.534v.932a3.2 3.2 0 0 0 3.2 3.2h1.8c.184 0 .334-.149.334-.333V24.6a.333.333 0 0 0-.334-.333h-1.8a.8.8 0 0 1-.799-.8v-.932a1.2 1.2 0 0 0-2.4 0"})]}),Vye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("circle",{cx:"16",cy:"8",r:"5.333",fill:"#5C9CFF"}),h("path",{fill:"#fff",d:"M25.165 15.186c.521-.521 1.365-.521 1.886 0l3.3 3.3c.52.52.52 1.364 0 1.885l-9.062 9.061a1.33 1.33 0 0 1-.885.39l-4.176.181a.667.667 0 0 1-.695-.695l.182-4.176c.014-.334.153-.65.389-.885z"}),h("path",{fill:"#5C9CFF",d:"M16 16c1.687 0 3.32.226 4.875.646l-6.185 6.187a3.33 3.33 0 0 0-.973 2.212L13.587 28H7.2c-1.12 0-1.68 0-2.108-.218a2 2 0 0 1-.874-.874C4 26.48 4 25.92 4 24.8v-.455c0-1.41 0-2.115.28-2.945.2-.589.757-1.515 1.185-1.966.602-.635 1.01-.85 1.827-1.282A18.6 18.6 0 0 1 16 16"})]}),jye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#fff",d:"M7.64 13.56h.102l2.302-3.935h3.233L9.58 15.753l3.817 6.127h-3.318l-2.336-3.96h-.101l-2.344 3.96H2.012l3.8-6.127-3.714-6.128h3.257zM23.941 17.972q.01-1.093.186-1.76.185-.676.528-1.084.342-.408.926-.76.723-.454 1.075-.88.362-.427.362-.973 0-.398-.186-.704a1.2 1.2 0 0 0-.51-.473 1.6 1.6 0 0 0-.731-.167q-.399 0-.75.186a1.4 1.4 0 0 0-.557.519q-.214.342-.231.806h-2.938q.029-1.316.621-2.206a3.66 3.66 0 0 1 1.603-1.325q1-.435 2.27-.435 1.362 0 2.4.426 1.048.426 1.63 1.251.585.815.585 1.974 0 1.11-.538 1.89-.528.769-1.529 1.362-.528.315-.843.63a2.1 2.1 0 0 0-.472.723q-.168.407-.176 1v.26H23.94zm1.427 4.531a1.707 1.707 0 0 1-1.455-.843 1.67 1.67 0 0 1-.222-.843q0-.435.223-.815.222-.39.611-.612.39-.222.843-.222.445 0 .825.222t.611.612q.241.38.241.815 0 .454-.24.843a1.8 1.8 0 0 1-.612.612 1.56 1.56 0 0 1-.825.231"}),h("path",{fill:"#5C9CFF",d:"M13.887 13.024c0-.074.06-.133.133-.133h5.747c.074 0 .133.06.133.133v1.436c0 .074-.06.134-.133.134H14.02a.133.133 0 0 1-.133-.134zm0 3.539c0-.074.06-.133.133-.133h5.747c.074 0 .133.06.133.133v1.429c0 .073-.06.133-.133.133H14.02a.133.133 0 0 1-.133-.133z"})]}),Hye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("circle",{cx:"16",cy:"16",r:"12.667",fill:"#fff"}),h("path",{fill:"#5C9CFF",d:"M16 5.8c0-.185.15-.334.334-.329 5.663.177 10.2 4.823 10.2 10.529 0 2.789-1.085 5.324-2.854 7.209a.325.325 0 0 1-.468.003l-6.821-6.822c-.25-.25-.391-.589-.391-.942z"})]}),Wye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#fff",d:"M15.667 13.467c.804 0 1.312.564 1.567.928.287.41.524.948.732 1.543.422 1.205.824 2.95 1.216 5.189.386 2.205.762 3.794 1.117 4.81l.034.091.035-.09c.355-1.017.731-2.606 1.117-4.811a1.2 1.2 0 0 1 2.364.413c-.392 2.24-.794 3.985-1.216 5.19-.208.595-.446 1.131-.733 1.541-.255.365-.763.929-1.567.93-.803-.001-1.311-.565-1.566-.93-.287-.41-.524-.946-.732-1.54-.422-1.206-.824-2.952-1.216-5.191-.386-2.204-.762-3.793-1.117-4.81l-.035-.091q-.016.045-.034.091c-.355 1.017-.731 2.606-1.117 4.81-.392 2.24-.795 3.985-1.217 5.19-.208.595-.445 1.131-.732 1.541-.255.365-.763.929-1.567.93-.803 0-1.311-.565-1.566-.93-.287-.41-.524-.946-.732-1.54-.422-1.206-.825-2.952-1.217-5.191-.386-2.204-.762-3.793-1.117-4.81l-.035-.091q-.016.045-.034.091c-.355 1.017-.731 2.606-1.117 4.81a1.2 1.2 0 0 1-2.363-.413c.392-2.24.794-3.984 1.216-5.19.208-.594.445-1.131.732-1.541.255-.365.762-.93 1.566-.93.804.001 1.312.565 1.567.93.287.41.525.947.733 1.541.422 1.206.824 2.95 1.216 5.19.386 2.204.761 3.794 1.117 4.81l.034.091.035-.09c.355-1.017.731-2.606 1.117-4.811.392-2.24.794-3.984 1.216-5.19.208-.595.446-1.131.733-1.541.255-.365.762-.93 1.566-.93"}),h("path",{fill:"#5C9CFF",d:"M25.333 9.467a1.2 1.2 0 0 1 1.2 1.2v6.667a1.2 1.2 0 0 1-2.4 0v-6.667a1.2 1.2 0 0 1 1.2-1.2"}),h("path",{fill:"#fff",d:"M22.667 4.333c0-.184.149-.333.333-.333h4.667c.184 0 .333.15.333.333v8.334a.667.667 0 0 1-.667.666h-4a.667.667 0 0 1-.666-.666z"})]}),qye=(t={})=>ne("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 32 32",width:"1em",height:"1em",...t,children:[h("path",{fill:"#fff",d:"M4 20a8 8 0 0 1 8 8H4z"}),h("path",{fill:"#5C9CFF",d:"M4 14.8A1.2 1.2 0 0 1 5.2 16v10.8h11.467a1.2 1.2 0 0 1 0 2.4H4A1.2 1.2 0 0 1 2.8 28V16A1.2 1.2 0 0 1 4 14.8M19.724 12.579a1.2 1.2 0 0 1 0 1.697l-6.6 6.6a1.2 1.2 0 0 1-1.697-1.698l6.6-6.6a1.2 1.2 0 0 1 1.697 0"}),h("path",{fill:"#fff",d:"M24.06 4.471c.261-.26.683-.26.944 0L27.832 7.3c.26.26.26.682 0 .943l-9.428 9.428a.667.667 0 0 1-.943 0l-2.828-2.829a.667.667 0 0 1 0-.943z"}),h("path",{fill:"#fff",fillRule:"evenodd",d:"M6.683 2.458q1.161 0 2.01.453.854.454 1.307 1.303.459.85.458 2.015 0 1.167-.458 2.016-.453.849-1.302 1.302-.843.453-1.99.453H3.844V2.458zm-.86 5.855h.813q.608 0 1.005-.199.4-.197.609-.656.208-.458.208-1.229 0-.78-.208-1.24a1.26 1.26 0 0 0-.62-.65q-.411-.193-1.041-.193h-.766z",clipRule:"evenodd"})]});class Q1e{_toastList={"top-center":[],"top-left":[],"top-right":[],"bottom-center":[],"bottom-left":[],"bottom-right":[]};_defaultOptions;closeHandlers=new Map;observeFunction=null;set toastList(e){const n={...e};this._toastList=n,this.observeFunction?.(n)}get toastList(){return this._toastList}closeHandlerKey(e,n){return`${e}:${n}`}registerClose(e,n,r){this.closeHandlers.set(this.closeHandlerKey(e,n),r)}unregisterClose(e,n){this.closeHandlers.delete(this.closeHandlerKey(e,n))}closeAll(e){const n=this.toastList[e]??[];if(n.length===0)return;const r=[];n.forEach(o=>{const a=this.closeHandlerKey(e,o.id),i=this.closeHandlers.get(a);i&&(r.push(i),this.closeHandlers.delete(a))}),r.forEach(o=>o())}setDefaultOptions(e){this._defaultOptions={...this._defaultOptions,...e}}checkDuplicateToast(e,n){return(n?[...this.toastList[e.position]]:[ZQ(this.toastList[e.position])]).filter(o=>!!o).some(o=>o.title===e.title&&o.content===e.content&&o.strContent===e.strContent&&o.variant===e.variant&&o.type===e.type)}deleteToast(e,n){const r=this.toastList[n].find(a=>a.id===e),o=this.toastList[n].filter(a=>a.id!==e);this.toastList={...this.toastList,[n]:o},r?.onClose?.(e)}resetToastList(){this.toastList={"top-center":[],"top-left":[],"top-right":[],"bottom-center":[],"bottom-left":[],"bottom-right":[]}}openToast({toastId:e,type:n,title:r,content:o,strContent:a,position:i,icon:s,actionLabel:l,handleActionClick:u,closeOnActionClick:d,variant:f,duration:m,duplicateAllCheck:v,allowDuplicate:g,onClose:w}){const y=i??this._defaultOptions?.position,_=m??this._defaultOptions?.duration,S={id:e||$E(),title:r,content:o,strContent:a,icon:s,actionLabel:l,handleActionClick:u,closeOnActionClick:d,variant:f,type:n,position:y,duration:_,onClose:w};!g&&this.checkDuplicateToast(S,v)||(this.toastList={...this.toastList,[y]:[...this.toastList[y],S]})}observe({observeFunction:e}){this.observeFunction=e}unobserve(){this.observeFunction=null}}const As=new Q1e,{createElement:Uye,useCallback:Yye,useEffect:Gye,useRef:Kye,useState:Xye}=await q("react"),Li=["top-center","top-left","top-right","bottom-center","bottom-left","bottom-right"],J1e={default:"default",copy:"default",danger:"white",warning:"inverse",caution:"inverse",success:"inverse"},e0e=me(["flex w-[20.625rem] overflow-hidden rounded-md px-4 py-3","dark:shadow-up-lg","outline outline-1 outline-offset-[-1px]","touch-auto transition-transform duration-100 ease-in-out","backdrop-blur-md"].join(" "),{variants:{type:{basic:"",alert:""},variant:{default:"",copy:"",danger:"",warning:"",caution:"",success:""},hasAction:{true:"min-w-40",false:""},stacked:{true:"flex-col items-end gap-2",false:"items-center gap-3"},active:{true:"scale-[0.98] shadow-none",false:""}},compoundVariants:[{type:"alert",variant:"default",className:"bg-overlay outline-border-default text-fg-default"},{type:"alert",variant:"copy",className:"bg-overlay outline-border-default text-fg-default"},{type:"alert",variant:"danger",className:"bg-fill-danger text-white outline-transparent"},{type:"alert",variant:"warning",className:"bg-fill-warning text-fg-inverse outline-transparent"},{type:"alert",variant:"caution",className:"bg-fill-caution text-fg-inverse outline-transparent"},{type:"alert",variant:"success",className:"bg-fill-success text-fg-inverse outline-transparent"},{type:"basic",variant:"default",className:"bg-fill-subtler outline-border-subtle text-fg-default"},{type:"basic",variant:"copy",className:"bg-fill-subtler outline-border-subtle text-fg-default"},{type:"basic",variant:"danger",className:"bg-fill-danger-subtle outline-border-subtle text-fg-default"},{type:"basic",variant:"warning",className:"bg-fill-warning-subtle outline-border-subtle text-fg-default"},{type:"basic",variant:"caution",className:"bg-fill-caution-subtle outline-border-subtle text-fg-default"},{type:"basic",variant:"success",className:"bg-fill-success-subtle outline-border-subtle text-fg-default"}],defaultVariants:{type:"alert",variant:"default",hasAction:!1,stacked:!1,active:!1}}),A6=me("inline-flex min-h-5 items-start gap-2"),t0e=me("mt-px inline-flex h-6 w-5 shrink-0 items-center justify-center self-start [&_svg]:size-5",{variants:{type:{basic:"",alert:""},tone:{default:"text-fg-default",inverse:"text-fg-inverse",white:"text-white"},variant:{default:"",copy:"",danger:"",warning:"",caution:"",success:""}},compoundVariants:[{type:"basic",variant:"default",className:"text-fg-default"},{type:"basic",variant:"copy",className:"text-fg-default"},{type:"basic",variant:"danger",className:"text-fg-danger"},{type:"basic",variant:"warning",className:"text-fg-warning"},{type:"basic",variant:"caution",className:"text-fg-caution"},{type:"basic",variant:"success",className:"text-fg-success"}],defaultVariants:{type:"alert",tone:"default",variant:"default"}}),n0e=me("typo-body-sm2-medium min-h-5 max-w-[calc(20.625rem-4.5rem)] min-w-0 text-left"),r0e=me("typo-body-sm2-medium"),o0e=(t,e)=>t==="basic"?"default":J1e[e],a0e=(t,e)=>({size:t==="basic"?"2xs":"xs",variant:t==="basic"||e==="default"||e==="danger"?"solid":"inverse"}),i0e=me("fixed z-[9999] w-[20.625rem]",{variants:{position:{"top-center":"top-5 left-1/2 -translate-x-1/2","top-left":"top-5 left-5","top-right":"top-5 right-5","bottom-center":"bottom-5 left-1/2 -translate-x-1/2","bottom-left":"bottom-5 left-5","bottom-right":"right-5 bottom-5"},expanded:{true:"overflow-x-hidden overflow-y-auto [-ms-overflow-style:none] [scrollbar-width:none] [&::-webkit-scrollbar]:hidden",false:""}},defaultVariants:{position:"bottom-right",expanded:!1}}),s0e=me("relative touch-none transition-[translate,opacity,top,left,right,bottom] duration-200 ease-in-out",{variants:{open:{true:"opacity-100",false:"opacity-0"},hidden:{true:"hidden",false:""},stacked:{true:"duration-[0]",false:""},motion:{"top-open":"translate-y-0","top-close":"translate-y-[-100%]","bottom-open":"translate-y-0","bottom-close":"translate-y-[100%]","left-open":"translate-x-0","left-close":"translate-x-[-100%]","right-open":"translate-x-0","right-close":"translate-x-[100%]"}},defaultVariants:{open:!1,hidden:!1,stacked:!1}}),l0e=(t,e)=>t.startsWith("top")?e?"top-open":"top-close":t.startsWith("bottom")?e?"bottom-open":"bottom-close":e?"top-open":"top-close",{createElement:c0e,memo:u0e,useCallback:Tl,useEffect:Bd,useLayoutEffect:d0e,useRef:nu,useState:I1}=await q("react"),f0e=({className:t,component:e,toastOrder:n,toastCount:r,animationDuration:o,isWrapperMouseOver:a,isStackExpanded:i,isWrapperExpandedForLayout:s,isWrapperScrollable:l,requestStackExpand:u,onStackMouseEnter:d,onStackMouseLeave:f,...m})=>{const v=nu(m.duration),g=nu(null),w=nu(null),y=nu(null),_=nu(a),S=nu(!1),[x,C]=I1(!0),[M,A]=I1(0),[O,D]=I1(!0),[T,R]=I1(1),$=m.position??"bottom-right",P=$.startsWith("bottom"),I=$.endsWith("center"),L=$.endsWith("right"),V=r-n,F=r>=3,z=i||F&&a,B=s&&l?20:0,Y=P&&s,U=B+M,le=s?20:0,J=I?{left:"50%",right:"auto"}:L?{right:le,left:"auto"}:{left:le,right:"auto"},re=`${P?"bottom":"top"} center`,te=Tl(async Pe=>{window.clearTimeout(y.current??void 0),window.clearInterval(g.current),y.current=null,g.current=null,C(!1),(typeof Pe!="boolean"||!Pe)&&await new Promise(he=>setTimeout(he,o)),As.deleteToast(m.id,$)},[o,$,m.id]),oe=Tl(()=>{y.current&&(window.clearTimeout(y.current),y.current=null),g.current&&(window.clearInterval(g.current),g.current=null)},[]),ee=Tl(()=>{_.current||(v.current-=100,v.current<=0&&te())},[te]),ue=()=>{g.current||_.current||(g.current=window.setInterval(ee,100))},fe=Tl(()=>{d($)},[d,$]),ye=Tl(Pe=>{f($,Pe)},[f,$]),we=Tl(()=>{u($)},[u,$]),Ne=Tl(()=>{if(!(g.current||y.current)&&!_.current){if(S.current){g.current=window.setInterval(ee,100);return}y.current=window.setTimeout(()=>{y.current=null,S.current=!0,!(_.current||g.current)&&(g.current=window.setInterval(ee,100))},o)}},[o,ee]);Bd(()=>{Ne()},[Ne]),Bd(()=>{_.current=z},[z]),Bd(()=>{if(z){oe();return}x&&Ne()},[oe,Ne,z,x]),Bd(()=>(As.registerClose($,m.id,te),()=>As.unregisterClose($,m.id)),[$,m.id,te]),Bd(()=>()=>{y.current!==null&&(window.clearTimeout(y.current),y.current=null),g.current!==null&&(window.clearInterval(g.current),g.current=null)},[]),d0e(()=>{const Pe=w.current,he=Pe?.parentElement;if(!Pe||!he)return;const ge=()=>{const Ae=Array.from(he.querySelectorAll('[data-comp="ToastComponent"]')),Ke=Ae.findIndex(Ft=>Ft===Pe);if(Ke<0){A(0),D(!0),R(1);return}const Me=Ae.length-1-Ke,at=F?z?!0:Me<3:!0;if(D(at),!F){R(1);let Ft=0;for(let cn=0;cn<Me;cn+=1){const Sn=Ae[Ae.length-1-cn];Sn&&(Ft+=Sn.offsetHeight+8)}A(Ft);return}if(Y){if(!z){const cn=Math.max(1-Me*.06,.88);R(cn),A(Me*10);return}let Ft=0;for(let cn=0;cn<Me;cn+=1){const Sn=Ae[Ae.length-1-cn];Sn&&(Ft+=Sn.offsetHeight+8)}R(1),A(Ft);return}const ut=z?1:Math.max(1-Me*.06,.88);if(R(ut),!z){A(Me*10);return}let mt=0;for(let Ft=0;Ft<Me;Ft+=1){const cn=Ae[Ae.length-1-Ft];cn&&(mt+=cn.offsetHeight+8)}A(mt)};ge();const be=new ResizeObserver(()=>{ge()});return Array.from(he.querySelectorAll('[data-comp="ToastComponent"]')).forEach(Ae=>be.observe(Ae)),()=>{be.disconnect()}},[z,F,B,r,Y]);const Ie=z?P?{position:"absolute",left:0,right:0,bottom:"100%",height:"8px",pointerEvents:"auto",background:"transparent"}:{position:"absolute",left:0,right:0,top:"100%",height:"8px",pointerEvents:"auto",background:"transparent"}:void 0;return ne("div",{ref:w,"data-comp":"ToastComponent",className:se(t,"ToastComponent"),style:{position:"absolute",...J,[P?"bottom":"top"]:U,zIndex:Math.max(3-V,1),transform:[I?"translateX(-50%)":"",`scale(${T})`].filter(Boolean).join(" "),transformOrigin:re,opacity:O?1:0,pointerEvents:x&&O?"auto":"none",transition:`
|
|
293
|
-
top ${o}ms ease,
|
|
294
|
-
bottom ${o}ms ease,
|
|
295
|
-
transform ${o}ms ease,
|
|
296
|
-
opacity ${o}ms ease
|
|
297
|
-
`},onMouseEnter:fe,onMouseLeave:ye,children:[z&&O?h("div",{"aria-hidden":!0,style:Ie,onMouseEnter:fe,onMouseLeave:ye}):null,c0e(e,{key:m.id,...m,toastOrder:n,toastCount:r,open:x,isWrapperMouseOver:z,isStackExpanded:i,pauseTimer:oe,resumeTimer:ue,requestStackExpand:we,closeToast:te})]})},p0e=u0e(f0e),{useCallback:zd,useEffect:Fd,useLayoutEffect:O1,useRef:L1,useState:ru}=await q("react"),Cs=t=>({"top-center":t,"top-left":t,"top-right":t,"bottom-center":t,"bottom-left":t,"bottom-right":t}),h0e=(t,e)=>{const n=e?"top-0 bottom-0 max-h-screen":"top-5 bottom-5 max-h-[calc(100vh-2.5rem)]";return t.endsWith("left")?`${n} left-0 w-[21.875rem]`:t.endsWith("right")?`${n} right-0 w-[21.875rem]`:`${n} left-1/2 -translate-x-1/2`},Zye=({className:t,position:e="top-left",duration:n=5e3,animationDuration:r=300,toastComponent:o})=>{const[a,i]=ru(As.toastList),s=L1(Cs(null)),[l,u]=ru(()=>Cs(!1)),[d,f]=ru(()=>Cs(!1)),[m,v]=ru(()=>Cs(!1)),[g,w]=ru(()=>Cs(!1)),[y,_]=ru(()=>Cs(0)),S=L1({"top-center":null,"top-left":null,"top-right":null,"bottom-center":null,"bottom-left":null,"bottom-right":null}),x=L1(Cs({expanded:!1,scrollHeight:0})),C=zd(R=>{const $=S.current[R];$!==null&&window.clearTimeout($),v(P=>({...P,[R]:!0})),S.current[R]=window.setTimeout(()=>{S.current[R]=null,v(P=>({...P,[R]:!1}))},r)},[r]),M=zd(R=>{const $=S.current[R];$!==null&&(window.clearTimeout($),S.current[R]=null),v(P=>({...P,[R]:!1})),u(P=>({...P,[R]:!0}))},[]),A=zd((R,$)=>{const P=$?.relatedTarget;P instanceof Node&&s.current[R]?.contains(P)||(u(I=>({...I,[R]:!1})),d[R]||C(R))},[d,C]),O=zd(R=>{f($=>({...$,[R]:!0}))},[]);Fd(()=>{As.setDefaultOptions({position:e,duration:n})},[e,n]),Fd(()=>(As.observe({observeFunction:i}),()=>{As.unobserve()}),[]),Fd(()=>{if(!Li.some(P=>d[P]))return;const $=P=>{const I=P.target;Li.some(V=>d[V]?s.current[V]?.contains(I??null)??!1:!1)||(Li.forEach(V=>{d[V]&&C(V)}),f(Cs(!1)))};return document.addEventListener("pointerdown",$),()=>{document.removeEventListener("pointerdown",$)}},[d,C]),Fd(()=>{const R=S.current;return()=>{Li.forEach($=>{const P=R[$];P!==null&&window.clearTimeout(P)})}},[]);const D=zd(()=>{const R=Li.map($=>{const P=s.current[$],L=(P?Array.from(P.querySelectorAll('[data-comp="ToastComponent"]')):[]).reduce((V,F,z)=>V+F.offsetHeight+(z>0?8:0),0);return{position:$,wrapper:P,stackHeight:L}});_($=>{let P=!1;const I={...$};return R.forEach(({position:L,stackHeight:V})=>{I[L]!==V&&(I[L]=V,P=!0)}),P?I:$}),w($=>{let P=!1;const I={...$},L=window.innerHeight-40;return R.forEach(({position:V,stackHeight:F,wrapper:z})=>{const B=d[V]||l[V]||m[V],Y=V.startsWith("bottom"),U=B&&z?Y?F>L:z.scrollHeight>L:!1;I[V]!==U&&(I[V]=U,P=!0)}),P?I:$})},[m,d,l]),T=L1(D);return O1(()=>{T.current=D},[D]),O1(()=>{D()},[D]),O1(()=>{const R=()=>{T.current()};R();const $=window.requestAnimationFrame(R),P=window.setTimeout(R,r),I=new ResizeObserver(R),L=new MutationObserver(R);return Li.forEach(V=>{const F=s.current[V];F&&(I.observe(F),L.observe(F,{childList:!0,subtree:!0}))}),window.addEventListener("resize",R),()=>{window.cancelAnimationFrame($),window.clearTimeout(P),I.disconnect(),L.disconnect(),window.removeEventListener("resize",R)}},[r]),O1(()=>{Li.forEach(R=>{if(!R.startsWith("bottom"))return;const $=d[R]||l[R],P=s.current[R],I=x.current[R];if(!P)return;if(!$){x.current[R]={expanded:!1,scrollHeight:P.scrollHeight};return}const L=I.scrollHeight-P.clientHeight-P.scrollTop;(!I.expanded||I.scrollHeight!==P.scrollHeight&&L<=2)&&(P.scrollTop=P.scrollHeight-P.clientHeight),x.current[R]={expanded:!0,scrollHeight:P.scrollHeight}})},[d,l,g,y]),Fd(()=>{const R=$=>{let P=!1;const I={...$};return Li.forEach(L=>{$[L]&&!a[L]?.length&&(I[L]=!1,P=!0)}),P?I:$};f(R),u(R),v(R)},[a]),h("div",{className:se(t,"pointer-events-none"),children:Li.map(R=>{const $=d[R]||l[R],P=$||m[R],I=R.startsWith("bottom"),L=!P&&(a[R]?.length??0)>1;return ne("div",{ref:V=>{s.current[R]=V},id:`toast-${R}-wrapper`,className:se("relative",$?"pointer-events-auto":"pointer-events-none",i0e({position:R,expanded:P}),P&&h0e(R,g[R])),onMouseEnter:()=>{$&&M(R)},onMouseLeave:V=>A(R,V),style:{transition:`
|
|
298
|
-
top ${r}ms ease,
|
|
299
|
-
bottom ${r}ms ease,
|
|
300
|
-
max-height ${r}ms ease
|
|
301
|
-
`},children:[h("button",{type:"button",onClick:()=>As.closeAll(R),"aria-hidden":!L,tabIndex:L?0:-1,className:se("typo-compact-xs-medium absolute top-0.5 -left-19 z-1 rounded-lg border border-gray-300 bg-gray-500/40 px-3 py-1.5 text-gray-200",L?"pointer-events-auto opacity-100":"pointer-events-none opacity-0"),style:{transitionProperty:"opacity",transitionDuration:`${r}ms`,transitionTimingFunction:"ease"},children:h("span",{children:"Close all"})}),h("div",{"data-comp":"ToastStackContent",style:I&&P?{minHeight:y[R]+(g[R]?28:0),position:"relative",width:"100%"}:void 0,children:a[R]?.map((V,F)=>h(p0e,{...V,toastOrder:F+1,toastCount:a[R]?.length??0,component:o,animationDuration:r,isWrapperMouseOver:l[R],isStackExpanded:d[R],isWrapperExpandedForLayout:P,isWrapperScrollable:g[R],requestStackExpand:O,onStackMouseEnter:M,onStackMouseLeave:A},V.id))})]},R)})})},{useEffect:m0e,useMemo:Y2,useRef:I6,useState:O6}=await q("react"),Qye=({className:t,open:e,type:n="basic",variant:r="default",title:o,content:a,icon:i,actionLabel:s,handleActionClick:l,closeOnActionClick:u=!0,position:d,toastCount:f,isWrapperMouseOver:m,isStackExpanded:v,pauseTimer:g,resumeTimer:w,requestStackExpand:y,closeToast:_})=>{const S=I6(null),x=I6(null),[C,M]=O6(!1),[A,O]=O6(!1),D=!!s,T=(f??0)>=3&&!m&&!v,R=T,$=Y2(()=>o0e(n,r),[n,r]),P=Y2(()=>l0e(d,C),[d,C]),I=Y2(()=>{switch(r){case"copy":return h(R7,{});case"danger":return h(T7,{});case"warning":case"caution":return h(B7,{});case"success":return n==="basic"?h(Z1e,{}):h(Ys,{});default:return null}},[n,r]),L=i??I,V=D?a0e(n,r):null,F=D&&!!o!=!!a,z=U=>{U.button!==2&&(U.stopPropagation(),U.preventDefault(),U.currentTarget.setPointerCapture?.(U.pointerId),S.current=U.pointerId,x.current={startX:U.clientX,startY:U.clientY},g())},B=U=>{if(!x.current||S.current!==U.pointerId)return;U.stopPropagation(),U.preventDefault();const{startX:le,startY:J}=x.current,{clientX:re,clientY:te}=U;x.current.deltaX=re-le,x.current.deltaY=te-J;const oe=U.currentTarget;oe.style.transitionProperty="translate",O(!0),d==="top-center"?x.current.deltaY<0?oe.style.top=`${x.current.deltaY}px`:(x.current=null,oe.hasPointerCapture?.(U.pointerId)&&oe.releasePointerCapture(U.pointerId)):d==="bottom-center"?x.current.deltaY>0?oe.style.bottom=`-${x.current.deltaY}px`:(x.current=null,oe.hasPointerCapture?.(U.pointerId)&&oe.releasePointerCapture(U.pointerId)):d.includes("left")?oe.style.left=`${x.current.deltaX}px`:d.includes("right")&&(oe.style.right=`-${x.current.deltaX}px`)},Y=U=>{if(U.stopPropagation(),U.preventDefault(),S.current!==U.pointerId)return;const le=U.currentTarget;if(le.style.transitionProperty="",le.hasPointerCapture?.(U.pointerId)&&le.releasePointerCapture(U.pointerId),!x.current){O(!1),S.current=null,w();return}const{deltaX:J=0,deltaY:re=0}=x.current,oe=d.includes("left")||d.includes("right")?J:re;if(J===0&&re===0){if((f??0)>=3&&!v){y?.(),O(!1),S.current=null,x.current=null,w();return}_();return}Math.abs(oe)>15?_():d==="top-center"?le.style.top="0px":d==="bottom-center"?le.style.bottom="0px":d.includes("left")?le.style.left="0px":d.includes("right")&&(le.style.right="0px"),O(!1),S.current=null,x.current=null,w()};return m0e(()=>{M(e)},[e]),h("div",{"data-comp":"RBSimpleToast",className:se(s0e({open:C,hidden:!1,stacked:!1,motion:P}),!C&&"pointer-events-none",t),onPointerDown:z,onPointerMove:B,onPointerUp:Y,onPointerLeave:Y,onContextMenu:U=>U.preventDefault(),children:h("div",{className:se(e0e({type:n,variant:r,hasAction:D,stacked:R,active:A})),style:A?{boxShadow:"none"}:void 0,onTouchEnd:()=>O(!1),children:ne(Xl,{className:"w-full items-stretch gap-3",children:[ne(Go,{alignItems:"flex-start",className:se(A6(),F&&"w-full justify-between gap-3"),children:[ne(Go,{alignItems:"flex-start",className:se(A6(),"min-w-0 flex-1"),children:[L?h("span",{className:t0e({type:n,tone:$,variant:r}),children:L}):null,ne(Xl,{className:se(n0e(),"w-full"),children:[o?h("div",{className:se(r0e(),T?"truncate":"wrap-break-word whitespace-pre-line"),children:o}):null,a?h("div",{className:se(T?"truncate":"wrap-break-word whitespace-pre-line"),children:a}):null]})]}),V&&F?h("span",{className:"shrink-0",onPointerDown:U=>U.stopPropagation(),onPointerUp:U=>U.stopPropagation(),onClick:U=>U.stopPropagation(),children:h(Hr,{size:V.size,variant:V.variant,onClick:()=>{l?.(),u&&_?.()},children:s})}):null]}),V&&!F?h("span",{className:"inline-flex w-full justify-end",onPointerDown:U=>U.stopPropagation(),onPointerUp:U=>U.stopPropagation(),onClick:U=>U.stopPropagation(),children:h(Hr,{size:V.size,variant:V.variant,onClick:()=>{l?.(),u&&_?.()},children:s})}):null]})})})},{useEffect:g0e}=await q("react"),Jye=({className:t,open:e,resolve:n,onOpenChange:r})=>{const{barCodeValue:o}=tue(),{theme:a}=ah();return g0e(()=>{o&&n(o)},[o,n]),ne(Yh,{className:se("RBQrBarCodeGuideModal","max-h-full w-fit",t),open:e,header:{title:"QR 코드 스캔 가이드"},onOpenChange:r,children:[ne("div",{className:"text-fg-default text-body-sm-normal mt-[1.5rem] mb-[1rem] text-center leading-[1.5]",children:["바코드 USB를 로봇에 연결 후",h("br",{}),"로봇 명판에 QR 코드를 찍어주세요"]}),h("div",{className:"mx-auto w-[30rem] p-5",children:h("img",{src:Fx(a==="dark"?"/qr-bar-code-guide-dark-img.png":"/qr-bar-code-guide-img.webp"),alt:"qr-bar-code-guide",className:"w-full object-cover"})})]})};var G2={};const At=t=>typeof t=="string",Vd=()=>{let t,e;const n=new Promise((r,o)=>{t=r,e=o});return n.resolve=t,n.reject=e,n},L6=t=>t==null?"":""+t,v0e=(t,e,n)=>{t.forEach(r=>{e[r]&&(n[r]=e[r])})},w0e=/###/g,$6=t=>t&&t.indexOf("###")>-1?t.replace(w0e,"."):t,D6=t=>!t||At(t),tf=(t,e,n)=>{const r=At(e)?e.split("."):e;let o=0;for(;o<r.length-1;){if(D6(t))return{};const a=$6(r[o]);!t[a]&&n&&(t[a]=new n),Object.prototype.hasOwnProperty.call(t,a)?t=t[a]:t={},++o}return D6(t)?{}:{obj:t,k:$6(r[o])}},B6=(t,e,n)=>{const{obj:r,k:o}=tf(t,e,Object);if(r!==void 0||e.length===1){r[o]=n;return}let a=e[e.length-1],i=e.slice(0,e.length-1),s=tf(t,i,Object);for(;s.obj===void 0&&i.length;)a=`${i[i.length-1]}.${a}`,i=i.slice(0,i.length-1),s=tf(t,i,Object),s?.obj&&typeof s.obj[`${s.k}.${a}`]<"u"&&(s.obj=void 0);s.obj[`${s.k}.${a}`]=n},b0e=(t,e,n,r)=>{const{obj:o,k:a}=tf(t,e,Object);o[a]=o[a]||[],o[a].push(n)},J0=(t,e)=>{const{obj:n,k:r}=tf(t,e);if(n&&Object.prototype.hasOwnProperty.call(n,r))return n[r]},y0e=(t,e,n)=>{const r=J0(t,n);return r!==void 0?r:J0(e,n)},cR=(t,e,n)=>{for(const r in e)r!=="__proto__"&&r!=="constructor"&&(r in t?At(t[r])||t[r]instanceof String||At(e[r])||e[r]instanceof String?n&&(t[r]=e[r]):cR(t[r],e[r],n):t[r]=e[r]);return t},Nl=t=>t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var _0e={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const x0e=t=>At(t)?t.replace(/[&<>"'\/]/g,e=>_0e[e]):t;class S0e{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){const n=this.regExpMap.get(e);if(n!==void 0)return n;const 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}}const C0e=[" ",",","?","!",";"],E0e=new S0e(20),M0e=(t,e,n)=>{e=e||"",n=n||"";const r=C0e.filter(i=>e.indexOf(i)<0&&n.indexOf(i)<0);if(r.length===0)return!0;const o=E0e.getRegExp(`(${r.map(i=>i==="?"?"\\?":i).join("|")})`);let a=!o.test(t);if(!a){const i=t.indexOf(n);i>0&&!o.test(t.substring(0,i))&&(a=!0)}return a},ew=(t,e,n=".")=>{if(!t)return;if(t[e])return Object.prototype.hasOwnProperty.call(t,e)?t[e]:void 0;const r=e.split(n);let o=t;for(let a=0;a<r.length;){if(!o||typeof o!="object")return;let i,s="";for(let l=a;l<r.length;++l)if(l!==a&&(s+=n),s+=r[l],i=o[s],i!==void 0){if(["string","number","boolean"].indexOf(typeof i)>-1&&l<r.length-1)continue;a+=l-a+1;break}o=i}return o},vf=t=>t?.replace(/_/g,"-"),k0e={type:"logger",log(t){this.output("log",t)},warn(t){this.output("warn",t)},error(t){this.output("error",t)},output(t,e){console?.[t]?.apply?.(console,e)}};class eh{constructor(e,n={}){this.init(e,n)}init(e,n={}){this.prefix=n.prefix||"i18next:",this.logger=e||k0e,this.options=n,this.debug=n.debug}log(...e){return this.forward(e,"log","",!0)}warn(...e){return this.forward(e,"warn","",!0)}error(...e){return this.forward(e,"error","")}deprecate(...e){return this.forward(e,"warn","WARNING DEPRECATED: ",!0)}forward(e,n,r,o){return o&&!this.debug?null:(At(e[0])&&(e[0]=`${r}${this.prefix} ${e[0]}`),this.logger[n](e))}create(e){return new eh(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return e=e||this.options,e.prefix=e.prefix||this.prefix,new eh(this.logger,e)}}var ni=new eh;class Gh{constructor(){this.observers={}}on(e,n){return e.split(" ").forEach(r=>{this.observers[r]||(this.observers[r]=new Map);const o=this.observers[r].get(n)||0;this.observers[r].set(n,o+1)}),this}off(e,n){if(this.observers[e]){if(!n){delete this.observers[e];return}this.observers[e].delete(n)}}emit(e,...n){this.observers[e]&&Array.from(this.observers[e].entries()).forEach(([o,a])=>{for(let i=0;i<a;i++)o(...n)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(([o,a])=>{for(let i=0;i<a;i++)o.apply(o,[e,...n])})}}class z6 extends Gh{constructor(e,n={ns:["translation"],defaultNS:"translation"}){super(),this.data=e||{},this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){const n=this.options.ns.indexOf(e);n>-1&&this.options.ns.splice(n,1)}getResource(e,n,r,o={}){const a=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,i=o.ignoreJSONStructure!==void 0?o.ignoreJSONStructure:this.options.ignoreJSONStructure;let s;e.indexOf(".")>-1?s=e.split("."):(s=[e,n],r&&(Array.isArray(r)?s.push(...r):At(r)&&a?s.push(...r.split(a)):s.push(r)));const l=J0(this.data,s);return!l&&!n&&!r&&e.indexOf(".")>-1&&(e=s[0],n=s[1],r=s.slice(2).join(".")),l||!i||!At(r)?l:ew(this.data?.[e]?.[n],r,a)}addResource(e,n,r,o,a={silent:!1}){const i=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator;let s=[e,n];r&&(s=s.concat(i?r.split(i):r)),e.indexOf(".")>-1&&(s=e.split("."),o=n,n=s[1]),this.addNamespaces(n),B6(this.data,s,o),a.silent||this.emit("added",e,n,r,o)}addResources(e,n,r,o={silent:!1}){for(const a in r)(At(r[a])||Array.isArray(r[a]))&&this.addResource(e,n,a,r[a],{silent:!0});o.silent||this.emit("added",e,n,r)}addResourceBundle(e,n,r,o,a,i={silent:!1,skipCopy:!1}){let s=[e,n];e.indexOf(".")>-1&&(s=e.split("."),o=r,r=n,n=s[1]),this.addNamespaces(n);let l=J0(this.data,s)||{};i.skipCopy||(r=JSON.parse(JSON.stringify(r))),o?cR(l,r,a):l={...l,...r},B6(this.data,s,l),i.silent||this.emit("added",e,n,r)}removeResourceBundle(e,n){this.hasResourceBundle(e,n)&&delete this.data[e][n],this.removeNamespaces(n),this.emit("removed",e,n)}hasResourceBundle(e,n){return this.getResource(e,n)!==void 0}getResourceBundle(e,n){return n||(n=this.options.defaultNS),this.getResource(e,n)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const n=this.getDataByLanguage(e);return!!(n&&Object.keys(n)||[]).find(o=>n[o]&&Object.keys(n[o]).length>0)}toJSON(){return this.data}}var uR={processors:{},addPostProcessor(t){this.processors[t.name]=t},handle(t,e,n,r,o){return t.forEach(a=>{e=this.processors[a]?.process(e,n,r,o)??e}),e}};const dR=Symbol("i18next/PATH_KEY");function R0e(){const t=[],e=Object.create(null);let n;return e.get=(r,o)=>(n?.revoke?.(),o===dR?t:(t.push(o),n=Proxy.revocable(r,e),n.proxy)),Proxy.revocable(Object.create(null),e).proxy}function wu(t,e){const{[dR]:n}=t(R0e()),r=e?.keySeparator??".",o=e?.nsSeparator??":";if(n.length>1&&o){const a=e?.ns,i=Array.isArray(a)?a:null;if(i&&i.length>1&&i.slice(1).includes(n[0]))return`${n[0]}${o}${n.slice(1).join(r)}`}return n.join(r)}const F6={},K2=t=>!At(t)&&typeof t!="boolean"&&typeof t!="number";class th extends Gh{constructor(e,n={}){super(),v0e(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,this),this.options=n,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=ni.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e,n={interpolation:{}}){const r={...n};if(e==null)return!1;const o=this.resolve(e,r);if(o?.res===void 0)return!1;const a=K2(o.res);return!(r.returnObjects===!1&&a)}extractFromKey(e,n){let r=n.nsSeparator!==void 0?n.nsSeparator:this.options.nsSeparator;r===void 0&&(r=":");const o=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator;let a=n.ns||this.options.defaultNS||[];const i=r&&e.indexOf(r)>-1,s=!this.options.userDefinedKeySeparator&&!n.keySeparator&&!this.options.userDefinedNsSeparator&&!n.nsSeparator&&!M0e(e,r,o);if(i&&!s){const l=e.match(this.interpolator.nestingRegexp);if(l&&l.length>0)return{key:e,namespaces:At(a)?[a]:a};const u=e.split(r);(r!==o||r===o&&this.options.ns.indexOf(u[0])>-1)&&(a=u.shift()),e=u.join(o)}return{key:e,namespaces:At(a)?[a]:a}}translate(e,n,r){let o=typeof n=="object"?{...n}:n;if(typeof o!="object"&&this.options.overloadTranslationOptionHandler&&(o=this.options.overloadTranslationOptionHandler(arguments)),typeof o=="object"&&(o={...o}),o||(o={}),e==null)return"";typeof e=="function"&&(e=wu(e,{...this.options,...o})),Array.isArray(e)||(e=[String(e)]),e=e.map(I=>typeof I=="function"?wu(I,{...this.options,...o}):String(I));const a=o.returnDetails!==void 0?o.returnDetails:this.options.returnDetails,i=o.keySeparator!==void 0?o.keySeparator:this.options.keySeparator,{key:s,namespaces:l}=this.extractFromKey(e[e.length-1],o),u=l[l.length-1];let d=o.nsSeparator!==void 0?o.nsSeparator:this.options.nsSeparator;d===void 0&&(d=":");const f=o.lng||this.language,m=o.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if(f?.toLowerCase()==="cimode")return m?a?{res:`${u}${d}${s}`,usedKey:s,exactUsedKey:s,usedLng:f,usedNS:u,usedParams:this.getUsedParamsDetails(o)}:`${u}${d}${s}`:a?{res:s,usedKey:s,exactUsedKey:s,usedLng:f,usedNS:u,usedParams:this.getUsedParamsDetails(o)}:s;const v=this.resolve(e,o);let g=v?.res;const w=v?.usedKey||s,y=v?.exactUsedKey||s,_=["[object Number]","[object Function]","[object RegExp]"],S=o.joinArrays!==void 0?o.joinArrays:this.options.joinArrays,x=!this.i18nFormat||this.i18nFormat.handleAsObject,C=o.count!==void 0&&!At(o.count),M=th.hasDefaultValue(o),A=C?this.pluralResolver.getSuffix(f,o.count,o):"",O=o.ordinal&&C?this.pluralResolver.getSuffix(f,o.count,{ordinal:!1}):"",D=C&&!o.ordinal&&o.count===0,T=D&&o[`defaultValue${this.options.pluralSeparator}zero`]||o[`defaultValue${A}`]||o[`defaultValue${O}`]||o.defaultValue;let R=g;x&&!g&&M&&(R=T);const $=K2(R),P=Object.prototype.toString.apply(R);if(x&&R&&$&&_.indexOf(P)<0&&!(At(S)&&Array.isArray(R))){if(!o.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const I=this.options.returnedObjectHandler?this.options.returnedObjectHandler(w,R,{...o,ns:l}):`key '${s} (${this.language})' returned an object instead of string.`;return a?(v.res=I,v.usedParams=this.getUsedParamsDetails(o),v):I}if(i){const I=Array.isArray(R),L=I?[]:{},V=I?y:w;for(const F in R)if(Object.prototype.hasOwnProperty.call(R,F)){const z=`${V}${i}${F}`;M&&!g?L[F]=this.translate(z,{...o,defaultValue:K2(T)?T[F]:void 0,joinArrays:!1,ns:l}):L[F]=this.translate(z,{...o,joinArrays:!1,ns:l}),L[F]===z&&(L[F]=R[F])}g=L}}else if(x&&At(S)&&Array.isArray(g))g=g.join(S),g&&(g=this.extendTranslation(g,e,o,r));else{let I=!1,L=!1;!this.isValidLookup(g)&&M&&(I=!0,g=T),this.isValidLookup(g)||(L=!0,g=s);const F=(o.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&L?void 0:g,z=M&&T!==g&&this.options.updateMissing;if(L||I||z){if(this.logger.log(z?"updateKey":"missingKey",f,u,s,z?T:g),i){const le=this.resolve(s,{...o,keySeparator:!1});le&&le.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 B=[];const Y=this.languageUtils.getFallbackCodes(this.options.fallbackLng,o.lng||this.language);if(this.options.saveMissingTo==="fallback"&&Y&&Y[0])for(let le=0;le<Y.length;le++)B.push(Y[le]);else this.options.saveMissingTo==="all"?B=this.languageUtils.toResolveHierarchy(o.lng||this.language):B.push(o.lng||this.language);const U=(le,J,re)=>{const te=M&&re!==g?re:F;this.options.missingKeyHandler?this.options.missingKeyHandler(le,u,J,te,z,o):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(le,u,J,te,z,o),this.emit("missingKey",le,u,J,g)};this.options.saveMissing&&(this.options.saveMissingPlurals&&C?B.forEach(le=>{const J=this.pluralResolver.getSuffixes(le,o);D&&o[`defaultValue${this.options.pluralSeparator}zero`]&&J.indexOf(`${this.options.pluralSeparator}zero`)<0&&J.push(`${this.options.pluralSeparator}zero`),J.forEach(re=>{U([le],s+re,o[`defaultValue${re}`]||T)})}):U(B,s,T))}g=this.extendTranslation(g,e,o,v,r),L&&g===s&&this.options.appendNamespaceToMissingKey&&(g=`${u}${d}${s}`),(L||I)&&this.options.parseMissingKeyHandler&&(g=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${u}${d}${s}`:s,I?g:void 0,o))}return a?(v.res=g,v.usedParams=this.getUsedParamsDetails(o),v):g}extendTranslation(e,n,r,o,a){if(this.i18nFormat?.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...r},r.lng||this.language||o.usedLng,o.usedNS,o.usedKey,{resolved:o});else if(!r.skipInterpolation){r.interpolation&&this.interpolator.init({...r,interpolation:{...this.options.interpolation,...r.interpolation}});const l=At(e)&&(r?.interpolation?.skipOnVariables!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let u;if(l){const f=e.match(this.interpolator.nestingRegexp);u=f&&f.length}let d=r.replace&&!At(r.replace)?r.replace:r;if(this.options.interpolation.defaultVariables&&(d={...this.options.interpolation.defaultVariables,...d}),e=this.interpolator.interpolate(e,d,r.lng||this.language||o.usedLng,r),l){const f=e.match(this.interpolator.nestingRegexp),m=f&&f.length;u<m&&(r.nest=!1)}!r.lng&&o&&o.res&&(r.lng=this.language||o.usedLng),r.nest!==!1&&(e=this.interpolator.nest(e,(...f)=>a?.[0]===f[0]&&!r.context?(this.logger.warn(`It seems you are nesting recursively key: ${f[0]} in key: ${n[0]}`),null):this.translate(...f,n),r)),r.interpolation&&this.interpolator.reset()}const i=r.postProcess||this.options.postProcess,s=At(i)?[i]:i;return e!=null&&s?.length&&r.applyPostProcessor!==!1&&(e=uR.handle(s,e,n,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...o,usedParams:this.getUsedParamsDetails(r)},...r}:r,this)),e}resolve(e,n={}){let r,o,a,i,s;return At(e)&&(e=[e]),Array.isArray(e)&&(e=e.map(l=>typeof l=="function"?wu(l,{...this.options,...n}):l)),e.forEach(l=>{if(this.isValidLookup(r))return;const u=this.extractFromKey(l,n),d=u.key;o=d;let f=u.namespaces;this.options.fallbackNS&&(f=f.concat(this.options.fallbackNS));const m=n.count!==void 0&&!At(n.count),v=m&&!n.ordinal&&n.count===0,g=n.context!==void 0&&(At(n.context)||typeof n.context=="number")&&n.context!=="",w=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);f.forEach(y=>{this.isValidLookup(r)||(s=y,!F6[`${w[0]}-${y}`]&&this.utils?.hasLoadedNamespace&&!this.utils?.hasLoadedNamespace(s)&&(F6[`${w[0]}-${y}`]=!0,this.logger.warn(`key "${o}" for languages "${w.join(", ")}" won't get resolved as namespace "${s}" 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!!!")),w.forEach(_=>{if(this.isValidLookup(r))return;i=_;const S=[d];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(S,d,_,y,n);else{let C;m&&(C=this.pluralResolver.getSuffix(_,n.count,n));const M=`${this.options.pluralSeparator}zero`,A=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(m&&(n.ordinal&&C.indexOf(A)===0&&S.push(d+C.replace(A,this.options.pluralSeparator)),S.push(d+C),v&&S.push(d+M)),g){const O=`${d}${this.options.contextSeparator||"_"}${n.context}`;S.push(O),m&&(n.ordinal&&C.indexOf(A)===0&&S.push(O+C.replace(A,this.options.pluralSeparator)),S.push(O+C),v&&S.push(O+M))}}let x;for(;x=S.pop();)this.isValidLookup(r)||(a=x,r=this.getResource(_,y,x,n))}))})}),{res:r,usedKey:o,exactUsedKey:a,usedLng:i,usedNS:s}}isValidLookup(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e==="")}getResource(e,n,r,o={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(e,n,r,o):this.resourceStore.getResource(e,n,r,o)}getUsedParamsDetails(e={}){const n=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],r=e.replace&&!At(e.replace);let o=r?e.replace:e;if(r&&typeof e.count<"u"&&(o.count=e.count),this.options.interpolation.defaultVariables&&(o={...this.options.interpolation.defaultVariables,...o}),!r){o={...o};for(const a of n)delete o[a]}return o}static hasDefaultValue(e){const n="defaultValue";for(const r in e)if(Object.prototype.hasOwnProperty.call(e,r)&&n===r.substring(0,n.length)&&e[r]!==void 0)return!0;return!1}}class V6{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=ni.create("languageUtils")}getScriptPartFromCode(e){if(e=vf(e),!e||e.indexOf("-")<0)return null;const n=e.split("-");return n.length===2||(n.pop(),n[n.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(n.join("-"))}getLanguagePartFromCode(e){if(e=vf(e),!e||e.indexOf("-")<0)return e;const n=e.split("-");return this.formatLanguageCode(n[0])}formatLanguageCode(e){if(At(e)&&e.indexOf("-")>-1){let n;try{n=Intl.getCanonicalLocales(e)[0]}catch{}return n&&this.options.lowerCaseLng&&(n=n.toLowerCase()),n||(this.options.lowerCaseLng?e.toLowerCase():e)}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let n;return e.forEach(r=>{if(n)return;const o=this.formatLanguageCode(r);(!this.options.supportedLngs||this.isSupportedCode(o))&&(n=o)}),!n&&this.options.supportedLngs&&e.forEach(r=>{if(n)return;const o=this.getScriptPartFromCode(r);if(this.isSupportedCode(o))return n=o;const a=this.getLanguagePartFromCode(r);if(this.isSupportedCode(a))return n=a;n=this.options.supportedLngs.find(i=>{if(i===a)return i;if(!(i.indexOf("-")<0&&a.indexOf("-")<0)&&(i.indexOf("-")>0&&a.indexOf("-")<0&&i.substring(0,i.indexOf("-"))===a||i.indexOf(a)===0&&a.length>1))return i})}),n||(n=this.getFallbackCodes(this.options.fallbackLng)[0]),n}getFallbackCodes(e,n){if(!e)return[];if(typeof e=="function"&&(e=e(n)),At(e)&&(e=[e]),Array.isArray(e))return e;if(!n)return e.default||[];let r=e[n];return r||(r=e[this.getScriptPartFromCode(n)]),r||(r=e[this.formatLanguageCode(n)]),r||(r=e[this.getLanguagePartFromCode(n)]),r||(r=e.default),r||[]}toResolveHierarchy(e,n){const r=this.getFallbackCodes((n===!1?[]:n)||this.options.fallbackLng||[],e),o=[],a=i=>{i&&(this.isSupportedCode(i)?o.push(i):this.logger.warn(`rejecting language code not found in supportedLngs: ${i}`))};return At(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&a(this.formatLanguageCode(e)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&a(this.getScriptPartFromCode(e)),this.options.load!=="currentOnly"&&a(this.getLanguagePartFromCode(e))):At(e)&&a(this.formatLanguageCode(e)),r.forEach(i=>{o.indexOf(i)<0&&a(this.formatLanguageCode(i))}),o}}const j6={zero:0,one:1,two:2,few:3,many:4,other:5},H6={select:t=>t===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class T0e{constructor(e,n={}){this.languageUtils=e,this.options=n,this.logger=ni.create("pluralResolver"),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(e,n={}){const r=vf(e==="dev"?"en":e),o=n.ordinal?"ordinal":"cardinal",a=JSON.stringify({cleanedCode:r,type:o});if(a in this.pluralRulesCache)return this.pluralRulesCache[a];let i;try{i=new Intl.PluralRules(r,{type:o})}catch{if(typeof Intl>"u")return this.logger.error("No Intl support, please use an Intl polyfill!"),H6;if(!e.match(/-|_/))return H6;const l=this.languageUtils.getLanguagePartFromCode(e);i=this.getRule(l,n)}return this.pluralRulesCache[a]=i,i}needsPlural(e,n={}){let r=this.getRule(e,n);return r||(r=this.getRule("dev",n)),r?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(e,n,r={}){return this.getSuffixes(e,r).map(o=>`${n}${o}`)}getSuffixes(e,n={}){let r=this.getRule(e,n);return r||(r=this.getRule("dev",n)),r?r.resolvedOptions().pluralCategories.sort((o,a)=>j6[o]-j6[a]).map(o=>`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${o}`):[]}getSuffix(e,n,r={}){const o=this.getRule(e,r);return o?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${o.select(n)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix("dev",n,r))}}const W6=(t,e,n,r=".",o=!0)=>{let a=y0e(t,e,n);return!a&&o&&At(n)&&(a=ew(t,n,r),a===void 0&&(a=ew(e,n,r))),a},X2=t=>t.replace(/\$/g,"$$$$");class q6{constructor(e={}){this.logger=ni.create("interpolator"),this.options=e,this.format=e?.interpolation?.format||(n=>n),this.init(e)}init(e={}){e.interpolation||(e.interpolation={escapeValue:!0});const{escape:n,escapeValue:r,useRawValueToEscape:o,prefix:a,prefixEscaped:i,suffix:s,suffixEscaped:l,formatSeparator:u,unescapeSuffix:d,unescapePrefix:f,nestingPrefix:m,nestingPrefixEscaped:v,nestingSuffix:g,nestingSuffixEscaped:w,nestingOptionsSeparator:y,maxReplaces:_,alwaysFormat:S}=e.interpolation;this.escape=n!==void 0?n:x0e,this.escapeValue=r!==void 0?r:!0,this.useRawValueToEscape=o!==void 0?o:!1,this.prefix=a?Nl(a):i||"{{",this.suffix=s?Nl(s):l||"}}",this.formatSeparator=u||",",this.unescapePrefix=d?"":f||"-",this.unescapeSuffix=this.unescapePrefix?"":d||"",this.nestingPrefix=m?Nl(m):v||Nl("$t("),this.nestingSuffix=g?Nl(g):w||Nl(")"),this.nestingOptionsSeparator=y||",",this.maxReplaces=_||1e3,this.alwaysFormat=S!==void 0?S:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(n,r)=>n?.source===r?(n.lastIndex=0,n):new RegExp(r,"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,n,r,o){let a,i,s;const l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},u=v=>{if(v.indexOf(this.formatSeparator)<0){const _=W6(n,l,v,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(_,void 0,r,{...o,...n,interpolationkey:v}):_}const g=v.split(this.formatSeparator),w=g.shift().trim(),y=g.join(this.formatSeparator).trim();return this.format(W6(n,l,w,this.options.keySeparator,this.options.ignoreJSONStructure),y,r,{...o,...n,interpolationkey:w})};this.resetRegExp();const d=o?.missingInterpolationHandler||this.options.missingInterpolationHandler,f=o?.interpolation?.skipOnVariables!==void 0?o.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:v=>X2(v)},{regex:this.regexp,safeValue:v=>this.escapeValue?X2(this.escape(v)):X2(v)}].forEach(v=>{for(s=0;a=v.regex.exec(e);){const g=a[1].trim();if(i=u(g),i===void 0)if(typeof d=="function"){const y=d(e,a,o);i=At(y)?y:""}else if(o&&Object.prototype.hasOwnProperty.call(o,g))i="";else if(f){i=a[0];continue}else this.logger.warn(`missed to pass in variable ${g} for interpolating ${e}`),i="";else!At(i)&&!this.useRawValueToEscape&&(i=L6(i));const w=v.safeValue(i);if(e=e.replace(a[0],w),f?(v.regex.lastIndex+=i.length,v.regex.lastIndex-=a[0].length):v.regex.lastIndex=0,s++,s>=this.maxReplaces)break}}),e}nest(e,n,r={}){let o,a,i;const s=(l,u)=>{const d=this.nestingOptionsSeparator;if(l.indexOf(d)<0)return l;const f=l.split(new RegExp(`${Nl(d)}[ ]*{`));let m=`{${f[1]}`;l=f[0],m=this.interpolate(m,i);const v=m.match(/'/g),g=m.match(/"/g);((v?.length??0)%2===0&&!g||(g?.length??0)%2!==0)&&(m=m.replace(/'/g,'"'));try{i=JSON.parse(m),u&&(i={...u,...i})}catch(w){return this.logger.warn(`failed parsing options string in nesting for key ${l}`,w),`${l}${d}${m}`}return i.defaultValue&&i.defaultValue.indexOf(this.prefix)>-1&&delete i.defaultValue,l};for(;o=this.nestingRegexp.exec(e);){let l=[];i={...r},i=i.replace&&!At(i.replace)?i.replace:i,i.applyPostProcessor=!1,delete i.defaultValue;const u=/{.*}/.test(o[1])?o[1].lastIndexOf("}")+1:o[1].indexOf(this.formatSeparator);if(u!==-1&&(l=o[1].slice(u).split(this.formatSeparator).map(d=>d.trim()).filter(Boolean),o[1]=o[1].slice(0,u)),a=n(s.call(this,o[1].trim(),i),i),a&&o[0]===e&&!At(a))return a;At(a)||(a=L6(a)),a||(this.logger.warn(`missed to resolve ${o[1]} for nesting ${e}`),a=""),l.length&&(a=l.reduce((d,f)=>this.format(d,f,r.lng,{...r,interpolationkey:o[1].trim()}),a.trim())),e=e.replace(o[0],a),this.regexp.lastIndex=0}return e}}const N0e=t=>{let e=t.toLowerCase().trim();const n={};if(t.indexOf("(")>-1){const r=t.split("(");e=r[0].toLowerCase().trim();const o=r[1].substring(0,r[1].length-1);e==="currency"&&o.indexOf(":")<0?n.currency||(n.currency=o.trim()):e==="relativetime"&&o.indexOf(":")<0?n.range||(n.range=o.trim()):o.split(";").forEach(i=>{if(i){const[s,...l]=i.split(":"),u=l.join(":").trim().replace(/^'+|'+$/g,""),d=s.trim();n[d]||(n[d]=u),u==="false"&&(n[d]=!1),u==="true"&&(n[d]=!0),isNaN(u)||(n[d]=parseInt(u,10))}})}return{formatName:e,formatOptions:n}},U6=t=>{const e={};return(n,r,o)=>{let a=o;o&&o.interpolationkey&&o.formatParams&&o.formatParams[o.interpolationkey]&&o[o.interpolationkey]&&(a={...a,[o.interpolationkey]:void 0});const i=r+JSON.stringify(a);let s=e[i];return s||(s=t(vf(r),o),e[i]=s),s(n)}},P0e=t=>(e,n,r)=>t(vf(n),r)(e);class A0e{constructor(e={}){this.logger=ni.create("formatter"),this.options=e,this.init(e)}init(e,n={interpolation:{}}){this.formatSeparator=n.interpolation.formatSeparator||",";const r=n.cacheInBuiltFormats?U6:P0e;this.formats={number:r((o,a)=>{const i=new Intl.NumberFormat(o,{...a});return s=>i.format(s)}),currency:r((o,a)=>{const i=new Intl.NumberFormat(o,{...a,style:"currency"});return s=>i.format(s)}),datetime:r((o,a)=>{const i=new Intl.DateTimeFormat(o,{...a});return s=>i.format(s)}),relativetime:r((o,a)=>{const i=new Intl.RelativeTimeFormat(o,{...a});return s=>i.format(s,a.range||"day")}),list:r((o,a)=>{const i=new Intl.ListFormat(o,{...a});return s=>i.format(s)})}}add(e,n){this.formats[e.toLowerCase().trim()]=n}addCached(e,n){this.formats[e.toLowerCase().trim()]=U6(n)}format(e,n,r,o={}){const a=n.split(this.formatSeparator);if(a.length>1&&a[0].indexOf("(")>1&&a[0].indexOf(")")<0&&a.find(s=>s.indexOf(")")>-1)){const s=a.findIndex(l=>l.indexOf(")")>-1);a[0]=[a[0],...a.splice(1,s)].join(this.formatSeparator)}return a.reduce((s,l)=>{const{formatName:u,formatOptions:d}=N0e(l);if(this.formats[u]){let f=s;try{const m=o?.formatParams?.[o.interpolationkey]||{},v=m.locale||m.lng||o.locale||o.lng||r;f=this.formats[u](s,v,{...d,...o,...m})}catch(m){this.logger.warn(m)}return f}else this.logger.warn(`there was no format function for ${u}`);return s},e)}}const I0e=(t,e)=>{t.pending[e]!==void 0&&(delete t.pending[e],t.pendingCount--)};class O0e extends Gh{constructor(e,n,r,o={}){super(),this.backend=e,this.store=n,this.services=r,this.languageUtils=r.languageUtils,this.options=o,this.logger=ni.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=o.maxParallelReads||10,this.readingCalls=0,this.maxRetries=o.maxRetries>=0?o.maxRetries:5,this.retryTimeout=o.retryTimeout>=1?o.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(r,o.backend,o)}queueLoad(e,n,r,o){const a={},i={},s={},l={};return e.forEach(u=>{let d=!0;n.forEach(f=>{const m=`${u}|${f}`;!r.reload&&this.store.hasResourceBundle(u,f)?this.state[m]=2:this.state[m]<0||(this.state[m]===1?i[m]===void 0&&(i[m]=!0):(this.state[m]=1,d=!1,i[m]===void 0&&(i[m]=!0),a[m]===void 0&&(a[m]=!0),l[f]===void 0&&(l[f]=!0)))}),d||(s[u]=!0)}),(Object.keys(a).length||Object.keys(i).length)&&this.queue.push({pending:i,pendingCount:Object.keys(i).length,loaded:{},errors:[],callback:o}),{toLoad:Object.keys(a),pending:Object.keys(i),toLoadLanguages:Object.keys(s),toLoadNamespaces:Object.keys(l)}}loaded(e,n,r){const o=e.split("|"),a=o[0],i=o[1];n&&this.emit("failedLoading",a,i,n),!n&&r&&this.store.addResourceBundle(a,i,r,void 0,void 0,{skipCopy:!0}),this.state[e]=n?-1:2,n&&r&&(this.state[e]=0);const s={};this.queue.forEach(l=>{b0e(l.loaded,[a],i),I0e(l,e),n&&l.errors.push(n),l.pendingCount===0&&!l.done&&(Object.keys(l.loaded).forEach(u=>{s[u]||(s[u]={});const d=l.loaded[u];d.length&&d.forEach(f=>{s[u][f]===void 0&&(s[u][f]=!0)})}),l.done=!0,l.errors.length?l.callback(l.errors):l.callback())}),this.emit("loaded",s),this.queue=this.queue.filter(l=>!l.done)}read(e,n,r,o=0,a=this.retryTimeout,i){if(!e.length)return i(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:n,fcName:r,tried:o,wait:a,callback:i});return}this.readingCalls++;const s=(u,d)=>{if(this.readingCalls--,this.waitingReads.length>0){const f=this.waitingReads.shift();this.read(f.lng,f.ns,f.fcName,f.tried,f.wait,f.callback)}if(u&&d&&o<this.maxRetries){setTimeout(()=>{this.read.call(this,e,n,r,o+1,a*2,i)},a);return}i(u,d)},l=this.backend[r].bind(this.backend);if(l.length===2){try{const u=l(e,n);u&&typeof u.then=="function"?u.then(d=>s(null,d)).catch(s):s(null,u)}catch(u){s(u)}return}return l(e,n,s)}prepareLoading(e,n,r={},o){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),o&&o();At(e)&&(e=this.languageUtils.toResolveHierarchy(e)),At(n)&&(n=[n]);const a=this.queueLoad(e,n,r,o);if(!a.toLoad.length)return a.pending.length||o(),null;a.toLoad.forEach(i=>{this.loadOne(i)})}load(e,n,r){this.prepareLoading(e,n,{},r)}reload(e,n,r){this.prepareLoading(e,n,{reload:!0},r)}loadOne(e,n=""){const r=e.split("|"),o=r[0],a=r[1];this.read(o,a,"read",void 0,void 0,(i,s)=>{i&&this.logger.warn(`${n}loading namespace ${a} for language ${o} failed`,i),!i&&s&&this.logger.log(`${n}loaded namespace ${a} for language ${o}`,s),this.loaded(e,i,s)})}saveMissing(e,n,r,o,a,i={},s=()=>{}){if(this.services?.utils?.hasLoadedNamespace&&!this.services?.utils?.hasLoadedNamespace(n)){this.logger.warn(`did not save key "${r}" as the namespace "${n}" 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!!!");return}if(!(r==null||r==="")){if(this.backend?.create){const l={...i,isUpdate:a},u=this.backend.create.bind(this.backend);if(u.length<6)try{let d;u.length===5?d=u(e,n,r,o,l):d=u(e,n,r,o),d&&typeof d.then=="function"?d.then(f=>s(null,f)).catch(s):s(null,d)}catch(d){s(d)}else u(e,n,r,o,s,l)}!e||!e[0]||this.store.addResource(e[0],n,r,o)}}}const Z2=()=>({debug:!1,initAsync:!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:t=>{let e={};if(typeof t[1]=="object"&&(e=t[1]),At(t[1])&&(e.defaultValue=t[1]),At(t[2])&&(e.tDescription=t[2]),typeof t[2]=="object"||typeof t[3]=="object"){const n=t[3]||t[2];Object.keys(n).forEach(r=>{e[r]=n[r]})}return e},interpolation:{escapeValue:!0,format:t=>t,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),Y6=t=>(At(t.ns)&&(t.ns=[t.ns]),At(t.fallbackLng)&&(t.fallbackLng=[t.fallbackLng]),At(t.fallbackNS)&&(t.fallbackNS=[t.fallbackNS]),t.supportedLngs?.indexOf?.("cimode")<0&&(t.supportedLngs=t.supportedLngs.concat(["cimode"])),typeof t.initImmediate=="boolean"&&(t.initAsync=t.initImmediate),t),$1=()=>{},L0e=t=>{Object.getOwnPropertyNames(Object.getPrototypeOf(t)).forEach(n=>{typeof t[n]=="function"&&(t[n]=t[n].bind(t))})},fR="__i18next_supportNoticeShown",$0e=()=>!!(typeof globalThis<"u"&&globalThis[fR]||typeof process<"u"&&G2&&G2.I18NEXT_NO_SUPPORT_NOTICE||typeof process<"u"&&G2),D0e=()=>{typeof globalThis<"u"&&(globalThis[fR]=!0)},B0e=t=>!!(t?.modules?.backend?.name?.indexOf("Locize")>0||t?.modules?.backend?.constructor?.name?.indexOf("Locize")>0||t?.options?.backend?.backends&&t.options.backend.backends.some(e=>e?.name?.indexOf("Locize")>0||e?.constructor?.name?.indexOf("Locize")>0)||t?.options?.backend?.projectId||t?.options?.backend?.backendOptions&&t.options.backend.backendOptions.some(e=>e?.projectId));class nf extends Gh{constructor(e={},n){if(super(),this.options=Y6(e),this.services={},this.logger=ni,this.modules={external:[]},L0e(this),n&&!this.isInitialized&&!e.isClone){if(!this.options.initAsync)return this.init(e,n),this;setTimeout(()=>{this.init(e,n)},0)}}init(e={},n){this.isInitializing=!0,typeof e=="function"&&(n=e,e={}),e.defaultNS==null&&e.ns&&(At(e.ns)?e.defaultNS=e.ns:e.ns.indexOf("translation")<0&&(e.defaultNS=e.ns[0]));const r=Z2();this.options={...r,...this.options,...Y6(e)},this.options.interpolation={...r.interpolation,...this.options.interpolation},e.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=e.keySeparator),e.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=e.nsSeparator),typeof this.options.overloadTranslationOptionHandler!="function"&&(this.options.overloadTranslationOptionHandler=r.overloadTranslationOptionHandler),this.options.showSupportNotice!==!1&&!B0e(this)&&!$0e()&&(typeof console<"u"&&typeof console.info<"u"&&console.info("🌐 i18next is made possible by our own product, Locize — consider powering your project with managed localization (AI, CDN, integrations): https://locize.com 💙"),D0e());const o=u=>u?typeof u=="function"?new u:u:null;if(!this.options.isClone){this.modules.logger?ni.init(o(this.modules.logger),this.options):ni.init(null,this.options);let u;this.modules.formatter?u=this.modules.formatter:u=A0e;const d=new V6(this.options);this.store=new z6(this.options.resources,this.options);const f=this.services;f.logger=ni,f.resourceStore=this.store,f.languageUtils=d,f.pluralResolver=new T0e(d,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==r.interpolation.format&&this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"),u&&(!this.options.interpolation.format||this.options.interpolation.format===r.interpolation.format)&&(f.formatter=o(u),f.formatter.init&&f.formatter.init(f,this.options),this.options.interpolation.format=f.formatter.format.bind(f.formatter)),f.interpolator=new q6(this.options),f.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},f.backendConnector=new O0e(o(this.modules.backend),f.resourceStore,f,this.options),f.backendConnector.on("*",(v,...g)=>{this.emit(v,...g)}),this.modules.languageDetector&&(f.languageDetector=o(this.modules.languageDetector),f.languageDetector.init&&f.languageDetector.init(f,this.options.detection,this.options)),this.modules.i18nFormat&&(f.i18nFormat=o(this.modules.i18nFormat),f.i18nFormat.init&&f.i18nFormat.init(this)),this.translator=new th(this.services,this.options),this.translator.on("*",(v,...g)=>{this.emit(v,...g)}),this.modules.external.forEach(v=>{v.init&&v.init(this)})}if(this.format=this.options.interpolation.format,n||(n=$1),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const u=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);u.length>0&&u[0]!=="dev"&&(this.options.lng=u[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(u=>{this[u]=(...d)=>this.store[u](...d)}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(u=>{this[u]=(...d)=>(this.store[u](...d),this)});const s=Vd(),l=()=>{const u=(d,f)=>{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(f),n(d,f)};if(this.languages&&!this.isInitialized)return u(null,this.t.bind(this));this.changeLanguage(this.options.lng,u)};return this.options.resources||!this.options.initAsync?l():setTimeout(l,0),s}loadResources(e,n=$1){let r=n;const o=At(e)?e:this.language;if(typeof e=="function"&&(r=e),!this.options.resources||this.options.partialBundledLanguages){if(o?.toLowerCase()==="cimode"&&(!this.options.preload||this.options.preload.length===0))return r();const a=[],i=s=>{if(!s||s==="cimode")return;this.services.languageUtils.toResolveHierarchy(s).forEach(u=>{u!=="cimode"&&a.indexOf(u)<0&&a.push(u)})};o?i(o):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(l=>i(l)),this.options.preload?.forEach?.(s=>i(s)),this.services.backendConnector.load(a,this.options.ns,s=>{!s&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),r(s)})}else r(null)}reloadResources(e,n,r){const o=Vd();return typeof e=="function"&&(r=e,e=void 0),typeof n=="function"&&(r=n,n=void 0),e||(e=this.languages),n||(n=this.options.ns),r||(r=$1),this.services.backendConnector.reload(e,n,a=>{o.resolve(),r(a)}),o}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return e.type==="backend"&&(this.modules.backend=e),(e.type==="logger"||e.log&&e.warn&&e.error)&&(this.modules.logger=e),e.type==="languageDetector"&&(this.modules.languageDetector=e),e.type==="i18nFormat"&&(this.modules.i18nFormat=e),e.type==="postProcessor"&&uR.addPostProcessor(e),e.type==="formatter"&&(this.modules.formatter=e),e.type==="3rdParty"&&this.modules.external.push(e),this}setResolvedLanguage(e){if(!(!e||!this.languages)&&!(["cimode","dev"].indexOf(e)>-1)){for(let n=0;n<this.languages.length;n++){const r=this.languages[n];if(!(["cimode","dev"].indexOf(r)>-1)&&this.store.hasLanguageSomeTranslations(r)){this.resolvedLanguage=r;break}}!this.resolvedLanguage&&this.languages.indexOf(e)<0&&this.store.hasLanguageSomeTranslations(e)&&(this.resolvedLanguage=e,this.languages.unshift(e))}}changeLanguage(e,n){this.isLanguageChangingTo=e;const r=Vd();this.emit("languageChanging",e);const o=s=>{this.language=s,this.languages=this.services.languageUtils.toResolveHierarchy(s),this.resolvedLanguage=void 0,this.setResolvedLanguage(s)},a=(s,l)=>{l?this.isLanguageChangingTo===e&&(o(l),this.translator.changeLanguage(l),this.isLanguageChangingTo=void 0,this.emit("languageChanged",l),this.logger.log("languageChanged",l)):this.isLanguageChangingTo=void 0,r.resolve((...u)=>this.t(...u)),n&&n(s,(...u)=>this.t(...u))},i=s=>{!e&&!s&&this.services.languageDetector&&(s=[]);const l=At(s)?s:s&&s[0],u=this.store.hasLanguageSomeTranslations(l)?l:this.services.languageUtils.getBestMatchFromCodes(At(s)?[s]:s);u&&(this.language||o(u),this.translator.language||this.translator.changeLanguage(u),this.services.languageDetector?.cacheUserLanguage?.(u)),this.loadResources(u,d=>{a(d,u)})};return!e&&this.services.languageDetector&&!this.services.languageDetector.async?i(this.services.languageDetector.detect()):!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(i):this.services.languageDetector.detect(i):i(e),r}getFixedT(e,n,r){const o=(a,i,...s)=>{let l;typeof i!="object"?l=this.options.overloadTranslationOptionHandler([a,i].concat(s)):l={...i},l.lng=l.lng||o.lng,l.lngs=l.lngs||o.lngs,l.ns=l.ns||o.ns,l.keyPrefix!==""&&(l.keyPrefix=l.keyPrefix||r||o.keyPrefix);const u={...this.options,...l};typeof l.keyPrefix=="function"&&(l.keyPrefix=wu(l.keyPrefix,u));const d=this.options.keySeparator||".";let f;return l.keyPrefix&&Array.isArray(a)?f=a.map(m=>(typeof m=="function"&&(m=wu(m,u)),`${l.keyPrefix}${d}${m}`)):(typeof a=="function"&&(a=wu(a,u)),f=l.keyPrefix?`${l.keyPrefix}${d}${a}`:a),this.t(f,l)};return At(e)?o.lng=e:o.lngs=e,o.ns=n,o.keyPrefix=r,o}t(...e){return this.translator?.translate(...e)}exists(...e){return this.translator?.exists(...e)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e,n={}){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;const r=n.lng||this.resolvedLanguage||this.languages[0],o=this.options?this.options.fallbackLng:!1,a=this.languages[this.languages.length-1];if(r.toLowerCase()==="cimode")return!0;const i=(s,l)=>{const u=this.services.backendConnector.state[`${s}|${l}`];return u===-1||u===0||u===2};if(n.precheck){const s=n.precheck(this,i);if(s!==void 0)return s}return!!(this.hasResourceBundle(r,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||i(r,e)&&(!o||i(a,e)))}loadNamespaces(e,n){const r=Vd();return this.options.ns?(At(e)&&(e=[e]),e.forEach(o=>{this.options.ns.indexOf(o)<0&&this.options.ns.push(o)}),this.loadResources(o=>{r.resolve(),n&&n(o)}),r):(n&&n(),Promise.resolve())}loadLanguages(e,n){const r=Vd();At(e)&&(e=[e]);const o=this.options.preload||[],a=e.filter(i=>o.indexOf(i)<0&&this.services.languageUtils.isSupportedCode(i));return a.length?(this.options.preload=o.concat(a),this.loadResources(i=>{r.resolve(),n&&n(i)}),r):(n&&n(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),!e)return"rtl";try{const o=new Intl.Locale(e);if(o&&o.getTextInfo){const a=o.getTextInfo();if(a&&a.direction)return a.direction}}catch{}const n=["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"],r=this.services?.languageUtils||new V6(Z2());return e.toLowerCase().indexOf("-latn")>1?"ltr":n.indexOf(r.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(e={},n){const r=new nf(e,n);return r.createInstance=nf.createInstance,r}cloneInstance(e={},n=$1){const r=e.forkResourceStore;r&&delete e.forkResourceStore;const o={...this.options,...e,isClone:!0},a=new nf(o);if((e.debug!==void 0||e.prefix!==void 0)&&(a.logger=a.logger.clone(e)),["store","services","language"].forEach(s=>{a[s]=this[s]}),a.services={...this.services},a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},r){const s=Object.keys(this.store.data).reduce((l,u)=>(l[u]={...this.store.data[u]},l[u]=Object.keys(l[u]).reduce((d,f)=>(d[f]={...l[u][f]},d),l[u]),l),{});a.store=new z6(s,o),a.services.resourceStore=a.store}if(e.interpolation){const l={...Z2().interpolation,...this.options.interpolation,...e.interpolation},u={...o,interpolation:l};a.services.interpolator=new q6(u)}return a.translator=new th(a.services,o),a.translator.on("*",(s,...l)=>{a.emit(s,...l)}),a.init(o,n),a.translator.options=o,a.translator.backendConnector.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},a}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const Pr=nf.createInstance();Pr.createInstance;Pr.dir;Pr.init;Pr.loadResources;Pr.reloadResources;Pr.use;Pr.changeLanguage;Pr.getFixedT;Pr.t;Pr.exists;Pr.setDefaultNamespace;Pr.hasLoadedNamespace;Pr.loadNamespaces;Pr.loadLanguages;const z0e=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,F0e={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},V0e=t=>F0e[t],j0e=t=>t.replace(z0e,V0e);let G6={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:j0e,transDefaultProps:void 0};const H0e=(t={})=>{G6={...G6,...t}},W0e={type:"3rdParty",init(t){H0e(t.options.react)}},{createContext:q0e}=await q("react"),U0e=q0e(),{createElement:Y0e,useMemo:G0e}=await q("react");function K0e({i18n:t,defaultNS:e,children:n}){const r=G0e(()=>({i18n:t,defaultNS:e}),[t,e]);return Y0e(U0e.Provider,{value:r},n)}const{createContext:X0e,useContext:Z0e}=await q("react");let Q0e=(t=>String(t));const J0e=t=>{Q0e=t.t.bind(t)},pR=X0e(null),e_e=()=>{const t=Z0e(pR);if(!t)throw new Error("useLocalization must be used within RbLocalizationProvider");return t},{useCallback:ehe,useEffect:the,useMemo:nhe,useState:Q2}=await q("react"),t_e=({children:t,appName:e,resources:n,defaultLng:r="en",fallbackLng:o="en",separateInstance:a=!0})=>{const[i,s]=Q2(null),[l,u]=Q2(!1),[d,f]=Q2(localStorage.getItem(`${e}_Language`)||r);the(()=>{(async()=>{try{const g=a?Pr.createInstance():Pr;await g.use(W0e).init({lng:d,fallbackLng:o,resources:n,interpolation:{escapeValue:!1}}),J0e(g),s(g),u(!0)}catch(g){console.error("Localization init Failed:",g)}})()},[n,d,o,a]);const m=ehe(g=>{i?.changeLanguage(g),f(g),localStorage.setItem(`${e}_Language`,g)},[i,e]),v=nhe(()=>i?{i18n:i,t:i.t.bind(i),changeLanguage:m,currentLanguage:d}:null,[i,m,d]);return!l||!v?h("div",{className:"bg-default flex h-screen w-full items-center justify-center",children:h(Xk,{size:"3rem",className:"text-fg-default"})}):h(pR.Provider,{value:v,children:h(K0e,{i18n:i,children:t})})};export{phe as $,uH as A,vZ as B,dH as C,fw as D,Iee as E,pw as F,rn as G,Ui as H,ne as I,HU as J,hg as K,mZ as L,mg as M,jU as N,Rf as O,No as P,FU as Q,R8 as R,dV as S,gZ as T,Che as U,Go as V,Xv as W,pz as X,vhe as Y,Xde as Z,z3e as _,me as a,F3e as a$,Vk as a0,j3e as a1,Y3e as a2,K3e as a3,U3e as a4,X3e as a5,H3e as a6,W3e as a7,G3e as a8,q3e as a9,Tde as aA,Ide as aB,Pde as aC,Nde as aD,Rde as aE,kde as aF,Ade as aG,P3e as aH,Z3e as aI,ibe as aJ,obe as aK,J3e as aL,abe as aM,lbe as aN,p1e as aO,tbe as aP,sbe as aQ,cbe as aR,ube as aS,ebe as aT,rbe as aU,nbe as aV,Q3e as aW,b6 as aX,m7 as aY,mhe as aZ,ghe as a_,ow as aa,ez as ab,XB as ac,Gk as ad,jfe as ae,Kk as af,Wfe as ag,Zde as ah,k3e as ai,Ak as aj,Lk as ak,$k as al,ude as am,N3e as an,pde as ao,w0 as ap,mde as aq,hde as ar,jk as as,dde as at,v0 as au,T3e as av,_z as aw,Mde as ax,I3e as ay,A3e as az,Q9 as b,Nbe as b$,Hr as b0,dbe as b1,ybe as b2,wbe as b3,pbe as b4,bbe as b5,xbe as b6,fbe as b7,hbe as b8,mbe as b9,qde as bA,Hde as bB,jde as bC,Yde as bD,O3e as bE,pfe as bF,Qye as bG,kbe as bH,Xk as bI,t6 as bJ,Rbe as bK,Dfe as bL,Yk as bM,B3e as bN,upe as bO,Pbe as bP,Obe as bQ,Abe as bR,Ibe as bS,Zk as bT,dpe as bU,hF as bV,tfe as bW,Jde as bX,uw as bY,efe as bZ,Tbe as b_,_be as ba,Sbe as bb,Mbe as bc,gbe as bd,Ebe as be,Cbe as bf,vbe as bg,Yh as bh,Ppe as bi,L3 as bj,$3e as bk,rfe as bl,Jye as bm,Hk as bn,Efe as bo,R3e as bp,Lbe as bq,Dbe as br,$be as bs,Zv as bt,Ok as bu,Vde as bv,L3e as bw,Wde as bx,Gde as by,Ude as bz,se as c,OB as c$,V3e as c0,Xl as c1,rz as c2,fpe as c3,fhe as c4,Zpe as c5,R$ as c6,ZB as c7,WB as c8,D3e as c9,DE as cA,j2e as cB,Mr as cC,PD as cD,M2e as cE,lhe as cF,As as cG,Fx as cH,che as cI,aB as cJ,iB as cK,AD as cL,gve as cM,Vl as cN,qo as cO,fve as cP,So as cQ,xte as cR,pB as cS,Uf as cT,zD as cU,BD as cV,$B as cW,DB as cX,BB as cY,LB as cZ,zB as c_,mz as ca,vpe as cb,e$ as cc,tz as cd,h7 as ce,hfe as cf,cue as cg,sfe as ch,Mfe as ci,cF as cj,Iz as ck,Qn as cl,T3 as cm,tce as cn,ece as co,R3 as cp,rce as cq,nce as cr,Ck as cs,nn as ct,Vce as cu,ah as cv,e_e as cw,xhe as cx,vve as cy,kn as cz,yg as d,Nye as d$,zq as d0,ac as d1,Rr as d2,sw as d3,nh as d4,Ime as d5,RD as d6,TD as d7,hhe as d8,EB as d9,Vye as dA,aye as dB,Ube as dC,mye as dD,vye as dE,gye as dF,wye as dG,bye as dH,Cye as dI,rye as dJ,Sye as dK,xye as dL,hye as dM,Ybe as dN,Tye as dO,_ye as dP,Aye as dQ,Dye as dR,Wye as dS,Hbe as dT,Gbe as dU,Jbe as dV,Kbe as dW,jbe as dX,zye as dY,nye as dZ,qye as d_,jme as da,Hme as db,Wme as dc,q$ as dd,Y$ as de,Bbe as df,zbe as dg,Fbe as dh,Hye as di,$ye as dj,Vbe as dk,Bye as dl,Mye as dm,Eye as dn,Oye as dp,Qbe as dq,fye as dr,Rye as ds,Wbe as dt,oye as du,Lye as dv,iye as dw,jye as dx,Pye as dy,Xbe as dz,pd as e,h8 as e$,kye as e0,pye as e1,uye as e2,Fye as e3,eye as e4,tye as e5,sye as e6,dye as e7,cye as e8,lye as e9,wf as eA,pve as eB,_he as eC,M3e as eD,SD as eE,y7 as eF,U$ as eG,NB as eH,uB as eI,VD as eJ,b7 as eK,VB as eL,sM as eM,K$ as eN,Zge as eO,sve as eP,qD as eQ,jD as eR,CB as eS,SB as eT,uhe as eU,O3 as eV,xB as eW,UD as eX,f8 as eY,p8 as eZ,m8 as e_,Zbe as ea,yye as eb,Iye as ec,qbe as ed,Q0e as ee,tue as ef,W7 as eg,Gn as eh,Gie as ei,yhe as ej,ND as ek,B7 as el,eD as em,JD as en,nB as eo,Z$ as ep,Lh as eq,Moe as er,O7 as es,vD as et,J$ as eu,bB as ev,pD as ew,M7 as ex,E7 as ey,tB as ez,hd as f,Bme as f$,u8 as f0,mB as f1,Dh as f2,F$ as f3,vB as f4,gB as f5,Q$ as f6,YD as f7,sB as f8,DD as f9,kD as fA,oh as fB,CD as fC,_D as fD,Ys as fE,rh as fF,ZD as fG,hD as fH,dD as fI,V2e as fJ,rve as fK,aC as fL,iw as fM,kB as fN,$me as fO,bhe as fP,xa as fQ,iV as fR,aV as fS,dhe as fT,Ome as fU,qce as fV,xme as fW,Swe as fX,I7 as fY,Yme as fZ,Lme as f_,hB as fa,yB as fb,wB as fc,H$ as fd,Xee as fe,T7 as ff,Kce as fg,Dme as fh,Ql as fi,F2e as fj,Tse as fk,ak as fl,she as fm,g7 as fn,Nhe as fo,R7 as fp,Zz as fq,x$ as fr,OD as fs,V$ as ft,j$ as fu,cD as fv,fB as fw,G$ as fx,W$ as fy,mD as fz,dG as g,Os as g0,Lee as g1,t_e as g2,whe as g3,mve as g4,Zye as g5,xD as g6,cB as g7,fD as g8,_B as g9,lD as gA,Wf as gB,oB as ga,bD as gb,QD as gc,oD as gd,ic as ge,uM as gf,Ame as gg,Ete as gh,Pme as gi,_te as gj,kr as gk,lte as gl,b3 as gm,$E as gn,cve as go,k3 as gp,uve as gq,Bee as gr,Dee as gs,MD as gt,GD as gu,Jse as gv,TB as gw,gD as gx,iD as gy,Pu as gz,Gs as h,Uo as i,h as j,Sw as k,ln as l,Wt as m,it as n,b8 as o,L8 as p,Cw as q,Ko as r,Q7 as s,fH as t,Xo as u,U7 as v,Mf as w,kf as x,Tf as y,hZ as z};
|