@aic-kits/react 0.33.0 → 0.33.2
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/LICENSE.md +5 -5
- package/dist/components/BarChart/BarChart.d.ts +11 -3
- package/dist/components/BarChart/StyledBarChart.d.ts +7 -0
- package/dist/index.cjs +171 -151
- package/dist/index.js +6644 -6800
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var l2=Object.defineProperty;var u2=(n,r,i)=>r in n?l2(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i;var rr=(n,r,i)=>u2(n,typeof r!="symbol"?r+"":r,i);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const w=require("react/jsx-runtime"),Sn=require("styled-components"),d=require("react"),c2=require("react-dom");var wi=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Er={exports:{}};/**
|
|
2
2
|
* @license
|
|
3
3
|
* Lodash <https://lodash.com/>
|
|
4
4
|
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
|
5
5
|
* Released under MIT license <https://lodash.com/license>
|
|
6
6
|
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
|
|
7
7
|
* Copyright Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
|
|
8
|
-
*/var N8=ii.exports,mc;function V8(){return mc||(mc=1,function(n,r){(function(){var i,s="4.17.21",l=200,u="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",f="Expected a function",d="Invalid `variable` option passed into `_.template`",g="__lodash_hash_undefined__",v=500,_="__lodash_placeholder__",S=1,E=2,w=4,C=1,I=2,R=1,O=2,k=4,T=8,F=16,W=32,q=64,V=128,J=256,me=512,_e=30,Ae="...",D=800,z=16,G=1,ce=2,re=3,ne=1/0,ee=9007199254740991,pe=17976931348623157e292,Me=NaN,Ce=4294967295,Ve=Ce-1,je=Ce>>>1,Ge=[["ary",V],["bind",R],["bindKey",O],["curry",T],["curryRight",F],["flip",me],["partial",W],["partialRight",q],["rearg",J]],ct="[object Arguments]",Ue="[object Array]",it="[object AsyncFunction]",Z="[object Boolean]",te="[object Date]",de="[object DOMException]",he="[object Error]",K="[object Function]",se="[object GeneratorFunction]",le="[object Map]",Pe="[object Number]",Te="[object Null]",De="[object Object]",ht="[object Promise]",Et="[object Proxy]",ot="[object RegExp]",ft="[object Set]",mt="[object String]",oe="[object Symbol]",Ze="[object Undefined]",Fe="[object WeakMap]",Ye="[object WeakSet]",Je="[object ArrayBuffer]",Jt="[object DataView]",Lo="[object Float32Array]",Io="[object Float64Array]",Oo="[object Int8Array]",Mo="[object Int16Array]",Fo="[object Int32Array]",zo="[object Uint8Array]",jo="[object Uint8ClampedArray]",Bo="[object Uint16Array]",Po="[object Uint32Array]",l0=/\b__p \+= '';/g,u0=/\b(__p \+=) '' \+/g,c0=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Da=/&(?:amp|lt|gt|quot|#39);/g,Ha=/[&<>"']/g,f0=RegExp(Da.source),d0=RegExp(Ha.source),h0=/<%-([\s\S]+?)%>/g,p0=/<%([\s\S]+?)%>/g,Za=/<%=([\s\S]+?)%>/g,g0=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,m0=/^\w*$/,v0=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Wo=/[\\^$.*+?()[\]{}|]/g,y0=RegExp(Wo.source),Do=/^\s+/,b0=/\s/,w0=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,x0=/\{\n\/\* \[wrapped with (.+)\] \*/,_0=/,? & /,C0=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,S0=/[()=,{}\[\]\/\s]/,E0=/\\(\\)?/g,A0=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Na=/\w*$/,$0=/^[-+]0x[0-9a-f]+$/i,k0=/^0b[01]+$/i,T0=/^\[object .+?Constructor\]$/,R0=/^0o[0-7]+$/i,L0=/^(?:0|[1-9]\d*)$/,I0=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,gi=/($^)/,O0=/['\n\r\u2028\u2029\\]/g,mi="\\ud800-\\udfff",M0="\\u0300-\\u036f",F0="\\ufe20-\\ufe2f",z0="\\u20d0-\\u20ff",Va=M0+F0+z0,Ua="\\u2700-\\u27bf",qa="a-z\\xdf-\\xf6\\xf8-\\xff",j0="\\xac\\xb1\\xd7\\xf7",B0="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",P0="\\u2000-\\u206f",W0=" \\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",Ga="A-Z\\xc0-\\xd6\\xd8-\\xde",Ka="\\ufe0e\\ufe0f",Xa=j0+B0+P0+W0,Ho="['’]",D0="["+mi+"]",Ya="["+Xa+"]",vi="["+Va+"]",Qa="\\d+",H0="["+Ua+"]",Ja="["+qa+"]",el="[^"+mi+Xa+Qa+Ua+qa+Ga+"]",Zo="\\ud83c[\\udffb-\\udfff]",Z0="(?:"+vi+"|"+Zo+")",tl="[^"+mi+"]",No="(?:\\ud83c[\\udde6-\\uddff]){2}",Vo="[\\ud800-\\udbff][\\udc00-\\udfff]",ar="["+Ga+"]",nl="\\u200d",rl="(?:"+Ja+"|"+el+")",N0="(?:"+ar+"|"+el+")",il="(?:"+Ho+"(?:d|ll|m|re|s|t|ve))?",ol="(?:"+Ho+"(?:D|LL|M|RE|S|T|VE))?",sl=Z0+"?",al="["+Ka+"]?",V0="(?:"+nl+"(?:"+[tl,No,Vo].join("|")+")"+al+sl+")*",U0="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",q0="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",ll=al+sl+V0,G0="(?:"+[H0,No,Vo].join("|")+")"+ll,K0="(?:"+[tl+vi+"?",vi,No,Vo,D0].join("|")+")",X0=RegExp(Ho,"g"),Y0=RegExp(vi,"g"),Uo=RegExp(Zo+"(?="+Zo+")|"+K0+ll,"g"),Q0=RegExp([ar+"?"+Ja+"+"+il+"(?="+[Ya,ar,"$"].join("|")+")",N0+"+"+ol+"(?="+[Ya,ar+rl,"$"].join("|")+")",ar+"?"+rl+"+"+il,ar+"+"+ol,q0,U0,Qa,G0].join("|"),"g"),J0=RegExp("["+nl+mi+Va+Ka+"]"),e1=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,t1=["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"],n1=-1,Ke={};Ke[Lo]=Ke[Io]=Ke[Oo]=Ke[Mo]=Ke[Fo]=Ke[zo]=Ke[jo]=Ke[Bo]=Ke[Po]=!0,Ke[ct]=Ke[Ue]=Ke[Je]=Ke[Z]=Ke[Jt]=Ke[te]=Ke[he]=Ke[K]=Ke[le]=Ke[Pe]=Ke[De]=Ke[ot]=Ke[ft]=Ke[mt]=Ke[Fe]=!1;var qe={};qe[ct]=qe[Ue]=qe[Je]=qe[Jt]=qe[Z]=qe[te]=qe[Lo]=qe[Io]=qe[Oo]=qe[Mo]=qe[Fo]=qe[le]=qe[Pe]=qe[De]=qe[ot]=qe[ft]=qe[mt]=qe[oe]=qe[zo]=qe[jo]=qe[Bo]=qe[Po]=!0,qe[he]=qe[K]=qe[Fe]=!1;var r1={À:"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"},i1={"&":"&","<":"<",">":">",'"':""","'":"'"},o1={"&":"&","<":"<",">":">",""":'"',"'":"'"},s1={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},a1=parseFloat,l1=parseInt,ul=typeof ro=="object"&&ro&&ro.Object===Object&&ro,u1=typeof self=="object"&&self&&self.Object===Object&&self,pt=ul||u1||Function("return this")(),qo=r&&!r.nodeType&&r,Nn=qo&&!0&&n&&!n.nodeType&&n,cl=Nn&&Nn.exports===qo,Go=cl&&ul.process,Dt=function(){try{var A=Nn&&Nn.require&&Nn.require("util").types;return A||Go&&Go.binding&&Go.binding("util")}catch{}}(),fl=Dt&&Dt.isArrayBuffer,dl=Dt&&Dt.isDate,hl=Dt&&Dt.isMap,pl=Dt&&Dt.isRegExp,gl=Dt&&Dt.isSet,ml=Dt&&Dt.isTypedArray;function Mt(A,M,L){switch(L.length){case 0:return A.call(M);case 1:return A.call(M,L[0]);case 2:return A.call(M,L[0],L[1]);case 3:return A.call(M,L[0],L[1],L[2])}return A.apply(M,L)}function c1(A,M,L,ae){for(var be=-1,ze=A==null?0:A.length;++be<ze;){var at=A[be];M(ae,at,L(at),A)}return ae}function Ht(A,M){for(var L=-1,ae=A==null?0:A.length;++L<ae&&M(A[L],L,A)!==!1;);return A}function f1(A,M){for(var L=A==null?0:A.length;L--&&M(A[L],L,A)!==!1;);return A}function vl(A,M){for(var L=-1,ae=A==null?0:A.length;++L<ae;)if(!M(A[L],L,A))return!1;return!0}function kn(A,M){for(var L=-1,ae=A==null?0:A.length,be=0,ze=[];++L<ae;){var at=A[L];M(at,L,A)&&(ze[be++]=at)}return ze}function yi(A,M){var L=A==null?0:A.length;return!!L&&lr(A,M,0)>-1}function Ko(A,M,L){for(var ae=-1,be=A==null?0:A.length;++ae<be;)if(L(M,A[ae]))return!0;return!1}function Xe(A,M){for(var L=-1,ae=A==null?0:A.length,be=Array(ae);++L<ae;)be[L]=M(A[L],L,A);return be}function Tn(A,M){for(var L=-1,ae=M.length,be=A.length;++L<ae;)A[be+L]=M[L];return A}function Xo(A,M,L,ae){var be=-1,ze=A==null?0:A.length;for(ae&&ze&&(L=A[++be]);++be<ze;)L=M(L,A[be],be,A);return L}function d1(A,M,L,ae){var be=A==null?0:A.length;for(ae&&be&&(L=A[--be]);be--;)L=M(L,A[be],be,A);return L}function Yo(A,M){for(var L=-1,ae=A==null?0:A.length;++L<ae;)if(M(A[L],L,A))return!0;return!1}var h1=Qo("length");function p1(A){return A.split("")}function g1(A){return A.match(C0)||[]}function yl(A,M,L){var ae;return L(A,function(be,ze,at){if(M(be,ze,at))return ae=ze,!1}),ae}function bi(A,M,L,ae){for(var be=A.length,ze=L+(ae?1:-1);ae?ze--:++ze<be;)if(M(A[ze],ze,A))return ze;return-1}function lr(A,M,L){return M===M?$1(A,M,L):bi(A,bl,L)}function m1(A,M,L,ae){for(var be=L-1,ze=A.length;++be<ze;)if(ae(A[be],M))return be;return-1}function bl(A){return A!==A}function wl(A,M){var L=A==null?0:A.length;return L?es(A,M)/L:Me}function Qo(A){return function(M){return M==null?i:M[A]}}function Jo(A){return function(M){return A==null?i:A[M]}}function xl(A,M,L,ae,be){return be(A,function(ze,at,Ne){L=ae?(ae=!1,ze):M(L,ze,at,Ne)}),L}function v1(A,M){var L=A.length;for(A.sort(M);L--;)A[L]=A[L].value;return A}function es(A,M){for(var L,ae=-1,be=A.length;++ae<be;){var ze=M(A[ae]);ze!==i&&(L=L===i?ze:L+ze)}return L}function ts(A,M){for(var L=-1,ae=Array(A);++L<A;)ae[L]=M(L);return ae}function y1(A,M){return Xe(M,function(L){return[L,A[L]]})}function _l(A){return A&&A.slice(0,Al(A)+1).replace(Do,"")}function Ft(A){return function(M){return A(M)}}function ns(A,M){return Xe(M,function(L){return A[L]})}function Fr(A,M){return A.has(M)}function Cl(A,M){for(var L=-1,ae=A.length;++L<ae&&lr(M,A[L],0)>-1;);return L}function Sl(A,M){for(var L=A.length;L--&&lr(M,A[L],0)>-1;);return L}function b1(A,M){for(var L=A.length,ae=0;L--;)A[L]===M&&++ae;return ae}var w1=Jo(r1),x1=Jo(i1);function _1(A){return"\\"+s1[A]}function C1(A,M){return A==null?i:A[M]}function ur(A){return J0.test(A)}function S1(A){return e1.test(A)}function E1(A){for(var M,L=[];!(M=A.next()).done;)L.push(M.value);return L}function rs(A){var M=-1,L=Array(A.size);return A.forEach(function(ae,be){L[++M]=[be,ae]}),L}function El(A,M){return function(L){return A(M(L))}}function Rn(A,M){for(var L=-1,ae=A.length,be=0,ze=[];++L<ae;){var at=A[L];(at===M||at===_)&&(A[L]=_,ze[be++]=L)}return ze}function wi(A){var M=-1,L=Array(A.size);return A.forEach(function(ae){L[++M]=ae}),L}function A1(A){var M=-1,L=Array(A.size);return A.forEach(function(ae){L[++M]=[ae,ae]}),L}function $1(A,M,L){for(var ae=L-1,be=A.length;++ae<be;)if(A[ae]===M)return ae;return-1}function k1(A,M,L){for(var ae=L+1;ae--;)if(A[ae]===M)return ae;return ae}function cr(A){return ur(A)?R1(A):h1(A)}function en(A){return ur(A)?L1(A):p1(A)}function Al(A){for(var M=A.length;M--&&b0.test(A.charAt(M)););return M}var T1=Jo(o1);function R1(A){for(var M=Uo.lastIndex=0;Uo.test(A);)++M;return M}function L1(A){return A.match(Uo)||[]}function I1(A){return A.match(Q0)||[]}var O1=function A(M){M=M==null?pt:fr.defaults(pt.Object(),M,fr.pick(pt,t1));var L=M.Array,ae=M.Date,be=M.Error,ze=M.Function,at=M.Math,Ne=M.Object,is=M.RegExp,M1=M.String,Zt=M.TypeError,xi=L.prototype,F1=ze.prototype,dr=Ne.prototype,_i=M["__core-js_shared__"],Ci=F1.toString,We=dr.hasOwnProperty,z1=0,$l=function(){var e=/[^.]+$/.exec(_i&&_i.keys&&_i.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Si=dr.toString,j1=Ci.call(Ne),B1=pt._,P1=is("^"+Ci.call(We).replace(Wo,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ei=cl?M.Buffer:i,Ln=M.Symbol,Ai=M.Uint8Array,kl=Ei?Ei.allocUnsafe:i,$i=El(Ne.getPrototypeOf,Ne),Tl=Ne.create,Rl=dr.propertyIsEnumerable,ki=xi.splice,Ll=Ln?Ln.isConcatSpreadable:i,zr=Ln?Ln.iterator:i,Vn=Ln?Ln.toStringTag:i,Ti=function(){try{var e=Xn(Ne,"defineProperty");return e({},"",{}),e}catch{}}(),W1=M.clearTimeout!==pt.clearTimeout&&M.clearTimeout,D1=ae&&ae.now!==pt.Date.now&&ae.now,H1=M.setTimeout!==pt.setTimeout&&M.setTimeout,Ri=at.ceil,Li=at.floor,os=Ne.getOwnPropertySymbols,Z1=Ei?Ei.isBuffer:i,Il=M.isFinite,N1=xi.join,V1=El(Ne.keys,Ne),lt=at.max,vt=at.min,U1=ae.now,q1=M.parseInt,Ol=at.random,G1=xi.reverse,ss=Xn(M,"DataView"),jr=Xn(M,"Map"),as=Xn(M,"Promise"),hr=Xn(M,"Set"),Br=Xn(M,"WeakMap"),Pr=Xn(Ne,"create"),Ii=Br&&new Br,pr={},K1=Yn(ss),X1=Yn(jr),Y1=Yn(as),Q1=Yn(hr),J1=Yn(Br),Oi=Ln?Ln.prototype:i,Wr=Oi?Oi.valueOf:i,Ml=Oi?Oi.toString:i;function p(e){if(et(e)&&!we(e)&&!(e instanceof Le)){if(e instanceof Nt)return e;if(We.call(e,"__wrapped__"))return Fu(e)}return new Nt(e)}var gr=function(){function e(){}return function(t){if(!Qe(t))return{};if(Tl)return Tl(t);e.prototype=t;var o=new e;return e.prototype=i,o}}();function Mi(){}function Nt(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=i}p.templateSettings={escape:h0,evaluate:p0,interpolate:Za,variable:"",imports:{_:p}},p.prototype=Mi.prototype,p.prototype.constructor=p,Nt.prototype=gr(Mi.prototype),Nt.prototype.constructor=Nt;function Le(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Ce,this.__views__=[]}function eh(){var e=new Le(this.__wrapped__);return e.__actions__=At(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=At(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=At(this.__views__),e}function th(){if(this.__filtered__){var e=new Le(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function nh(){var e=this.__wrapped__.value(),t=this.__dir__,o=we(e),a=t<0,c=o?e.length:0,m=pp(0,c,this.__views__),b=m.start,x=m.end,$=x-b,B=a?x:b-1,P=this.__iteratees__,N=P.length,ie=0,fe=vt($,this.__takeCount__);if(!o||!a&&c==$&&fe==$)return iu(e,this.__actions__);var ve=[];e:for(;$--&&ie<fe;){B+=t;for(var $e=-1,ye=e[B];++$e<N;){var Re=P[$e],Ie=Re.iteratee,Bt=Re.type,_t=Ie(ye);if(Bt==ce)ye=_t;else if(!_t){if(Bt==G)continue e;break e}}ve[ie++]=ye}return ve}Le.prototype=gr(Mi.prototype),Le.prototype.constructor=Le;function Un(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var a=e[t];this.set(a[0],a[1])}}function rh(){this.__data__=Pr?Pr(null):{},this.size=0}function ih(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}function oh(e){var t=this.__data__;if(Pr){var o=t[e];return o===g?i:o}return We.call(t,e)?t[e]:i}function sh(e){var t=this.__data__;return Pr?t[e]!==i:We.call(t,e)}function ah(e,t){var o=this.__data__;return this.size+=this.has(e)?0:1,o[e]=Pr&&t===i?g:t,this}Un.prototype.clear=rh,Un.prototype.delete=ih,Un.prototype.get=oh,Un.prototype.has=sh,Un.prototype.set=ah;function dn(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var a=e[t];this.set(a[0],a[1])}}function lh(){this.__data__=[],this.size=0}function uh(e){var t=this.__data__,o=Fi(t,e);if(o<0)return!1;var a=t.length-1;return o==a?t.pop():ki.call(t,o,1),--this.size,!0}function ch(e){var t=this.__data__,o=Fi(t,e);return o<0?i:t[o][1]}function fh(e){return Fi(this.__data__,e)>-1}function dh(e,t){var o=this.__data__,a=Fi(o,e);return a<0?(++this.size,o.push([e,t])):o[a][1]=t,this}dn.prototype.clear=lh,dn.prototype.delete=uh,dn.prototype.get=ch,dn.prototype.has=fh,dn.prototype.set=dh;function hn(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var a=e[t];this.set(a[0],a[1])}}function hh(){this.size=0,this.__data__={hash:new Un,map:new(jr||dn),string:new Un}}function ph(e){var t=qi(this,e).delete(e);return this.size-=t?1:0,t}function gh(e){return qi(this,e).get(e)}function mh(e){return qi(this,e).has(e)}function vh(e,t){var o=qi(this,e),a=o.size;return o.set(e,t),this.size+=o.size==a?0:1,this}hn.prototype.clear=hh,hn.prototype.delete=ph,hn.prototype.get=gh,hn.prototype.has=mh,hn.prototype.set=vh;function qn(e){var t=-1,o=e==null?0:e.length;for(this.__data__=new hn;++t<o;)this.add(e[t])}function yh(e){return this.__data__.set(e,g),this}function bh(e){return this.__data__.has(e)}qn.prototype.add=qn.prototype.push=yh,qn.prototype.has=bh;function tn(e){var t=this.__data__=new dn(e);this.size=t.size}function wh(){this.__data__=new dn,this.size=0}function xh(e){var t=this.__data__,o=t.delete(e);return this.size=t.size,o}function _h(e){return this.__data__.get(e)}function Ch(e){return this.__data__.has(e)}function Sh(e,t){var o=this.__data__;if(o instanceof dn){var a=o.__data__;if(!jr||a.length<l-1)return a.push([e,t]),this.size=++o.size,this;o=this.__data__=new hn(a)}return o.set(e,t),this.size=o.size,this}tn.prototype.clear=wh,tn.prototype.delete=xh,tn.prototype.get=_h,tn.prototype.has=Ch,tn.prototype.set=Sh;function Fl(e,t){var o=we(e),a=!o&&Qn(e),c=!o&&!a&&zn(e),m=!o&&!a&&!c&&br(e),b=o||a||c||m,x=b?ts(e.length,M1):[],$=x.length;for(var B in e)(t||We.call(e,B))&&!(b&&(B=="length"||c&&(B=="offset"||B=="parent")||m&&(B=="buffer"||B=="byteLength"||B=="byteOffset")||vn(B,$)))&&x.push(B);return x}function zl(e){var t=e.length;return t?e[ys(0,t-1)]:i}function Eh(e,t){return Gi(At(e),Gn(t,0,e.length))}function Ah(e){return Gi(At(e))}function ls(e,t,o){(o!==i&&!nn(e[t],o)||o===i&&!(t in e))&&pn(e,t,o)}function Dr(e,t,o){var a=e[t];(!(We.call(e,t)&&nn(a,o))||o===i&&!(t in e))&&pn(e,t,o)}function Fi(e,t){for(var o=e.length;o--;)if(nn(e[o][0],t))return o;return-1}function $h(e,t,o,a){return In(e,function(c,m,b){t(a,c,o(c),b)}),a}function jl(e,t){return e&&ln(t,dt(t),e)}function kh(e,t){return e&&ln(t,kt(t),e)}function pn(e,t,o){t=="__proto__"&&Ti?Ti(e,t,{configurable:!0,enumerable:!0,value:o,writable:!0}):e[t]=o}function us(e,t){for(var o=-1,a=t.length,c=L(a),m=e==null;++o<a;)c[o]=m?i:Zs(e,t[o]);return c}function Gn(e,t,o){return e===e&&(o!==i&&(e=e<=o?e:o),t!==i&&(e=e>=t?e:t)),e}function Vt(e,t,o,a,c,m){var b,x=t&S,$=t&E,B=t&w;if(o&&(b=c?o(e,a,c,m):o(e)),b!==i)return b;if(!Qe(e))return e;var P=we(e);if(P){if(b=mp(e),!x)return At(e,b)}else{var N=yt(e),ie=N==K||N==se;if(zn(e))return au(e,x);if(N==De||N==ct||ie&&!c){if(b=$||ie?{}:Au(e),!x)return $?op(e,kh(b,e)):ip(e,jl(b,e))}else{if(!qe[N])return c?e:{};b=vp(e,N,x)}}m||(m=new tn);var fe=m.get(e);if(fe)return fe;m.set(e,b),tc(e)?e.forEach(function(ye){b.add(Vt(ye,t,o,ye,e,m))}):Ju(e)&&e.forEach(function(ye,Re){b.set(Re,Vt(ye,t,o,Re,e,m))});var ve=B?$?Ts:ks:$?kt:dt,$e=P?i:ve(e);return Ht($e||e,function(ye,Re){$e&&(Re=ye,ye=e[Re]),Dr(b,Re,Vt(ye,t,o,Re,e,m))}),b}function Th(e){var t=dt(e);return function(o){return Bl(o,e,t)}}function Bl(e,t,o){var a=o.length;if(e==null)return!a;for(e=Ne(e);a--;){var c=o[a],m=t[c],b=e[c];if(b===i&&!(c in e)||!m(b))return!1}return!0}function Pl(e,t,o){if(typeof e!="function")throw new Zt(f);return Gr(function(){e.apply(i,o)},t)}function Hr(e,t,o,a){var c=-1,m=yi,b=!0,x=e.length,$=[],B=t.length;if(!x)return $;o&&(t=Xe(t,Ft(o))),a?(m=Ko,b=!1):t.length>=l&&(m=Fr,b=!1,t=new qn(t));e:for(;++c<x;){var P=e[c],N=o==null?P:o(P);if(P=a||P!==0?P:0,b&&N===N){for(var ie=B;ie--;)if(t[ie]===N)continue e;$.push(P)}else m(t,N,a)||$.push(P)}return $}var In=du(an),Wl=du(fs,!0);function Rh(e,t){var o=!0;return In(e,function(a,c,m){return o=!!t(a,c,m),o}),o}function zi(e,t,o){for(var a=-1,c=e.length;++a<c;){var m=e[a],b=t(m);if(b!=null&&(x===i?b===b&&!jt(b):o(b,x)))var x=b,$=m}return $}function Lh(e,t,o,a){var c=e.length;for(o=Ee(o),o<0&&(o=-o>c?0:c+o),a=a===i||a>c?c:Ee(a),a<0&&(a+=c),a=o>a?0:rc(a);o<a;)e[o++]=t;return e}function Dl(e,t){var o=[];return In(e,function(a,c,m){t(a,c,m)&&o.push(a)}),o}function gt(e,t,o,a,c){var m=-1,b=e.length;for(o||(o=bp),c||(c=[]);++m<b;){var x=e[m];t>0&&o(x)?t>1?gt(x,t-1,o,a,c):Tn(c,x):a||(c[c.length]=x)}return c}var cs=hu(),Hl=hu(!0);function an(e,t){return e&&cs(e,t,dt)}function fs(e,t){return e&&Hl(e,t,dt)}function ji(e,t){return kn(t,function(o){return yn(e[o])})}function Kn(e,t){t=Mn(t,e);for(var o=0,a=t.length;e!=null&&o<a;)e=e[un(t[o++])];return o&&o==a?e:i}function Zl(e,t,o){var a=t(e);return we(e)?a:Tn(a,o(e))}function wt(e){return e==null?e===i?Ze:Te:Vn&&Vn in Ne(e)?hp(e):Ap(e)}function ds(e,t){return e>t}function Ih(e,t){return e!=null&&We.call(e,t)}function Oh(e,t){return e!=null&&t in Ne(e)}function Mh(e,t,o){return e>=vt(t,o)&&e<lt(t,o)}function hs(e,t,o){for(var a=o?Ko:yi,c=e[0].length,m=e.length,b=m,x=L(m),$=1/0,B=[];b--;){var P=e[b];b&&t&&(P=Xe(P,Ft(t))),$=vt(P.length,$),x[b]=!o&&(t||c>=120&&P.length>=120)?new qn(b&&P):i}P=e[0];var N=-1,ie=x[0];e:for(;++N<c&&B.length<$;){var fe=P[N],ve=t?t(fe):fe;if(fe=o||fe!==0?fe:0,!(ie?Fr(ie,ve):a(B,ve,o))){for(b=m;--b;){var $e=x[b];if(!($e?Fr($e,ve):a(e[b],ve,o)))continue e}ie&&ie.push(ve),B.push(fe)}}return B}function Fh(e,t,o,a){return an(e,function(c,m,b){t(a,o(c),m,b)}),a}function Zr(e,t,o){t=Mn(t,e),e=Ru(e,t);var a=e==null?e:e[un(qt(t))];return a==null?i:Mt(a,e,o)}function Nl(e){return et(e)&&wt(e)==ct}function zh(e){return et(e)&&wt(e)==Je}function jh(e){return et(e)&&wt(e)==te}function Nr(e,t,o,a,c){return e===t?!0:e==null||t==null||!et(e)&&!et(t)?e!==e&&t!==t:Bh(e,t,o,a,Nr,c)}function Bh(e,t,o,a,c,m){var b=we(e),x=we(t),$=b?Ue:yt(e),B=x?Ue:yt(t);$=$==ct?De:$,B=B==ct?De:B;var P=$==De,N=B==De,ie=$==B;if(ie&&zn(e)){if(!zn(t))return!1;b=!0,P=!1}if(ie&&!P)return m||(m=new tn),b||br(e)?Cu(e,t,o,a,c,m):fp(e,t,$,o,a,c,m);if(!(o&C)){var fe=P&&We.call(e,"__wrapped__"),ve=N&&We.call(t,"__wrapped__");if(fe||ve){var $e=fe?e.value():e,ye=ve?t.value():t;return m||(m=new tn),c($e,ye,o,a,m)}}return ie?(m||(m=new tn),dp(e,t,o,a,c,m)):!1}function Ph(e){return et(e)&&yt(e)==le}function ps(e,t,o,a){var c=o.length,m=c,b=!a;if(e==null)return!m;for(e=Ne(e);c--;){var x=o[c];if(b&&x[2]?x[1]!==e[x[0]]:!(x[0]in e))return!1}for(;++c<m;){x=o[c];var $=x[0],B=e[$],P=x[1];if(b&&x[2]){if(B===i&&!($ in e))return!1}else{var N=new tn;if(a)var ie=a(B,P,$,e,t,N);if(!(ie===i?Nr(P,B,C|I,a,N):ie))return!1}}return!0}function Vl(e){if(!Qe(e)||xp(e))return!1;var t=yn(e)?P1:T0;return t.test(Yn(e))}function Wh(e){return et(e)&&wt(e)==ot}function Dh(e){return et(e)&&yt(e)==ft}function Hh(e){return et(e)&&eo(e.length)&&!!Ke[wt(e)]}function Ul(e){return typeof e=="function"?e:e==null?Tt:typeof e=="object"?we(e)?Kl(e[0],e[1]):Gl(e):pc(e)}function gs(e){if(!qr(e))return V1(e);var t=[];for(var o in Ne(e))We.call(e,o)&&o!="constructor"&&t.push(o);return t}function Zh(e){if(!Qe(e))return Ep(e);var t=qr(e),o=[];for(var a in e)a=="constructor"&&(t||!We.call(e,a))||o.push(a);return o}function ms(e,t){return e<t}function ql(e,t){var o=-1,a=$t(e)?L(e.length):[];return In(e,function(c,m,b){a[++o]=t(c,m,b)}),a}function Gl(e){var t=Ls(e);return t.length==1&&t[0][2]?ku(t[0][0],t[0][1]):function(o){return o===e||ps(o,e,t)}}function Kl(e,t){return Os(e)&&$u(t)?ku(un(e),t):function(o){var a=Zs(o,e);return a===i&&a===t?Ns(o,e):Nr(t,a,C|I)}}function Bi(e,t,o,a,c){e!==t&&cs(t,function(m,b){if(c||(c=new tn),Qe(m))Nh(e,t,b,o,Bi,a,c);else{var x=a?a(Fs(e,b),m,b+"",e,t,c):i;x===i&&(x=m),ls(e,b,x)}},kt)}function Nh(e,t,o,a,c,m,b){var x=Fs(e,o),$=Fs(t,o),B=b.get($);if(B){ls(e,o,B);return}var P=m?m(x,$,o+"",e,t,b):i,N=P===i;if(N){var ie=we($),fe=!ie&&zn($),ve=!ie&&!fe&&br($);P=$,ie||fe||ve?we(x)?P=x:nt(x)?P=At(x):fe?(N=!1,P=au($,!0)):ve?(N=!1,P=lu($,!0)):P=[]:Kr($)||Qn($)?(P=x,Qn(x)?P=ic(x):(!Qe(x)||yn(x))&&(P=Au($))):N=!1}N&&(b.set($,P),c(P,$,a,m,b),b.delete($)),ls(e,o,P)}function Xl(e,t){var o=e.length;if(o)return t+=t<0?o:0,vn(t,o)?e[t]:i}function Yl(e,t,o){t.length?t=Xe(t,function(m){return we(m)?function(b){return Kn(b,m.length===1?m[0]:m)}:m}):t=[Tt];var a=-1;t=Xe(t,Ft(ge()));var c=ql(e,function(m,b,x){var $=Xe(t,function(B){return B(m)});return{criteria:$,index:++a,value:m}});return v1(c,function(m,b){return rp(m,b,o)})}function Vh(e,t){return Ql(e,t,function(o,a){return Ns(e,a)})}function Ql(e,t,o){for(var a=-1,c=t.length,m={};++a<c;){var b=t[a],x=Kn(e,b);o(x,b)&&Vr(m,Mn(b,e),x)}return m}function Uh(e){return function(t){return Kn(t,e)}}function vs(e,t,o,a){var c=a?m1:lr,m=-1,b=t.length,x=e;for(e===t&&(t=At(t)),o&&(x=Xe(e,Ft(o)));++m<b;)for(var $=0,B=t[m],P=o?o(B):B;($=c(x,P,$,a))>-1;)x!==e&&ki.call(x,$,1),ki.call(e,$,1);return e}function Jl(e,t){for(var o=e?t.length:0,a=o-1;o--;){var c=t[o];if(o==a||c!==m){var m=c;vn(c)?ki.call(e,c,1):xs(e,c)}}return e}function ys(e,t){return e+Li(Ol()*(t-e+1))}function qh(e,t,o,a){for(var c=-1,m=lt(Ri((t-e)/(o||1)),0),b=L(m);m--;)b[a?m:++c]=e,e+=o;return b}function bs(e,t){var o="";if(!e||t<1||t>ee)return o;do t%2&&(o+=e),t=Li(t/2),t&&(e+=e);while(t);return o}function ke(e,t){return zs(Tu(e,t,Tt),e+"")}function Gh(e){return zl(wr(e))}function Kh(e,t){var o=wr(e);return Gi(o,Gn(t,0,o.length))}function Vr(e,t,o,a){if(!Qe(e))return e;t=Mn(t,e);for(var c=-1,m=t.length,b=m-1,x=e;x!=null&&++c<m;){var $=un(t[c]),B=o;if($==="__proto__"||$==="constructor"||$==="prototype")return e;if(c!=b){var P=x[$];B=a?a(P,$,x):i,B===i&&(B=Qe(P)?P:vn(t[c+1])?[]:{})}Dr(x,$,B),x=x[$]}return e}var eu=Ii?function(e,t){return Ii.set(e,t),e}:Tt,Xh=Ti?function(e,t){return Ti(e,"toString",{configurable:!0,enumerable:!1,value:Us(t),writable:!0})}:Tt;function Yh(e){return Gi(wr(e))}function Ut(e,t,o){var a=-1,c=e.length;t<0&&(t=-t>c?0:c+t),o=o>c?c:o,o<0&&(o+=c),c=t>o?0:o-t>>>0,t>>>=0;for(var m=L(c);++a<c;)m[a]=e[a+t];return m}function Qh(e,t){var o;return In(e,function(a,c,m){return o=t(a,c,m),!o}),!!o}function Pi(e,t,o){var a=0,c=e==null?a:e.length;if(typeof t=="number"&&t===t&&c<=je){for(;a<c;){var m=a+c>>>1,b=e[m];b!==null&&!jt(b)&&(o?b<=t:b<t)?a=m+1:c=m}return c}return ws(e,t,Tt,o)}function ws(e,t,o,a){var c=0,m=e==null?0:e.length;if(m===0)return 0;t=o(t);for(var b=t!==t,x=t===null,$=jt(t),B=t===i;c<m;){var P=Li((c+m)/2),N=o(e[P]),ie=N!==i,fe=N===null,ve=N===N,$e=jt(N);if(b)var ye=a||ve;else B?ye=ve&&(a||ie):x?ye=ve&&ie&&(a||!fe):$?ye=ve&&ie&&!fe&&(a||!$e):fe||$e?ye=!1:ye=a?N<=t:N<t;ye?c=P+1:m=P}return vt(m,Ve)}function tu(e,t){for(var o=-1,a=e.length,c=0,m=[];++o<a;){var b=e[o],x=t?t(b):b;if(!o||!nn(x,$)){var $=x;m[c++]=b===0?0:b}}return m}function nu(e){return typeof e=="number"?e:jt(e)?Me:+e}function zt(e){if(typeof e=="string")return e;if(we(e))return Xe(e,zt)+"";if(jt(e))return Ml?Ml.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function On(e,t,o){var a=-1,c=yi,m=e.length,b=!0,x=[],$=x;if(o)b=!1,c=Ko;else if(m>=l){var B=t?null:up(e);if(B)return wi(B);b=!1,c=Fr,$=new qn}else $=t?[]:x;e:for(;++a<m;){var P=e[a],N=t?t(P):P;if(P=o||P!==0?P:0,b&&N===N){for(var ie=$.length;ie--;)if($[ie]===N)continue e;t&&$.push(N),x.push(P)}else c($,N,o)||($!==x&&$.push(N),x.push(P))}return x}function xs(e,t){return t=Mn(t,e),e=Ru(e,t),e==null||delete e[un(qt(t))]}function ru(e,t,o,a){return Vr(e,t,o(Kn(e,t)),a)}function Wi(e,t,o,a){for(var c=e.length,m=a?c:-1;(a?m--:++m<c)&&t(e[m],m,e););return o?Ut(e,a?0:m,a?m+1:c):Ut(e,a?m+1:0,a?c:m)}function iu(e,t){var o=e;return o instanceof Le&&(o=o.value()),Xo(t,function(a,c){return c.func.apply(c.thisArg,Tn([a],c.args))},o)}function _s(e,t,o){var a=e.length;if(a<2)return a?On(e[0]):[];for(var c=-1,m=L(a);++c<a;)for(var b=e[c],x=-1;++x<a;)x!=c&&(m[c]=Hr(m[c]||b,e[x],t,o));return On(gt(m,1),t,o)}function ou(e,t,o){for(var a=-1,c=e.length,m=t.length,b={};++a<c;){var x=a<m?t[a]:i;o(b,e[a],x)}return b}function Cs(e){return nt(e)?e:[]}function Ss(e){return typeof e=="function"?e:Tt}function Mn(e,t){return we(e)?e:Os(e,t)?[e]:Mu(Be(e))}var Jh=ke;function Fn(e,t,o){var a=e.length;return o=o===i?a:o,!t&&o>=a?e:Ut(e,t,o)}var su=W1||function(e){return pt.clearTimeout(e)};function au(e,t){if(t)return e.slice();var o=e.length,a=kl?kl(o):new e.constructor(o);return e.copy(a),a}function Es(e){var t=new e.constructor(e.byteLength);return new Ai(t).set(new Ai(e)),t}function ep(e,t){var o=t?Es(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.byteLength)}function tp(e){var t=new e.constructor(e.source,Na.exec(e));return t.lastIndex=e.lastIndex,t}function np(e){return Wr?Ne(Wr.call(e)):{}}function lu(e,t){var o=t?Es(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.length)}function uu(e,t){if(e!==t){var o=e!==i,a=e===null,c=e===e,m=jt(e),b=t!==i,x=t===null,$=t===t,B=jt(t);if(!x&&!B&&!m&&e>t||m&&b&&$&&!x&&!B||a&&b&&$||!o&&$||!c)return 1;if(!a&&!m&&!B&&e<t||B&&o&&c&&!a&&!m||x&&o&&c||!b&&c||!$)return-1}return 0}function rp(e,t,o){for(var a=-1,c=e.criteria,m=t.criteria,b=c.length,x=o.length;++a<b;){var $=uu(c[a],m[a]);if($){if(a>=x)return $;var B=o[a];return $*(B=="desc"?-1:1)}}return e.index-t.index}function cu(e,t,o,a){for(var c=-1,m=e.length,b=o.length,x=-1,$=t.length,B=lt(m-b,0),P=L($+B),N=!a;++x<$;)P[x]=t[x];for(;++c<b;)(N||c<m)&&(P[o[c]]=e[c]);for(;B--;)P[x++]=e[c++];return P}function fu(e,t,o,a){for(var c=-1,m=e.length,b=-1,x=o.length,$=-1,B=t.length,P=lt(m-x,0),N=L(P+B),ie=!a;++c<P;)N[c]=e[c];for(var fe=c;++$<B;)N[fe+$]=t[$];for(;++b<x;)(ie||c<m)&&(N[fe+o[b]]=e[c++]);return N}function At(e,t){var o=-1,a=e.length;for(t||(t=L(a));++o<a;)t[o]=e[o];return t}function ln(e,t,o,a){var c=!o;o||(o={});for(var m=-1,b=t.length;++m<b;){var x=t[m],$=a?a(o[x],e[x],x,o,e):i;$===i&&($=e[x]),c?pn(o,x,$):Dr(o,x,$)}return o}function ip(e,t){return ln(e,Is(e),t)}function op(e,t){return ln(e,Su(e),t)}function Di(e,t){return function(o,a){var c=we(o)?c1:$h,m=t?t():{};return c(o,e,ge(a,2),m)}}function mr(e){return ke(function(t,o){var a=-1,c=o.length,m=c>1?o[c-1]:i,b=c>2?o[2]:i;for(m=e.length>3&&typeof m=="function"?(c--,m):i,b&&xt(o[0],o[1],b)&&(m=c<3?i:m,c=1),t=Ne(t);++a<c;){var x=o[a];x&&e(t,x,a,m)}return t})}function du(e,t){return function(o,a){if(o==null)return o;if(!$t(o))return e(o,a);for(var c=o.length,m=t?c:-1,b=Ne(o);(t?m--:++m<c)&&a(b[m],m,b)!==!1;);return o}}function hu(e){return function(t,o,a){for(var c=-1,m=Ne(t),b=a(t),x=b.length;x--;){var $=b[e?x:++c];if(o(m[$],$,m)===!1)break}return t}}function sp(e,t,o){var a=t&R,c=Ur(e);function m(){var b=this&&this!==pt&&this instanceof m?c:e;return b.apply(a?o:this,arguments)}return m}function pu(e){return function(t){t=Be(t);var o=ur(t)?en(t):i,a=o?o[0]:t.charAt(0),c=o?Fn(o,1).join(""):t.slice(1);return a[e]()+c}}function vr(e){return function(t){return Xo(dc(fc(t).replace(X0,"")),e,"")}}function Ur(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var o=gr(e.prototype),a=e.apply(o,t);return Qe(a)?a:o}}function ap(e,t,o){var a=Ur(e);function c(){for(var m=arguments.length,b=L(m),x=m,$=yr(c);x--;)b[x]=arguments[x];var B=m<3&&b[0]!==$&&b[m-1]!==$?[]:Rn(b,$);if(m-=B.length,m<o)return bu(e,t,Hi,c.placeholder,i,b,B,i,i,o-m);var P=this&&this!==pt&&this instanceof c?a:e;return Mt(P,this,b)}return c}function gu(e){return function(t,o,a){var c=Ne(t);if(!$t(t)){var m=ge(o,3);t=dt(t),o=function(x){return m(c[x],x,c)}}var b=e(t,o,a);return b>-1?c[m?t[b]:b]:i}}function mu(e){return mn(function(t){var o=t.length,a=o,c=Nt.prototype.thru;for(e&&t.reverse();a--;){var m=t[a];if(typeof m!="function")throw new Zt(f);if(c&&!b&&Ui(m)=="wrapper")var b=new Nt([],!0)}for(a=b?a:o;++a<o;){m=t[a];var x=Ui(m),$=x=="wrapper"?Rs(m):i;$&&Ms($[0])&&$[1]==(V|T|W|J)&&!$[4].length&&$[9]==1?b=b[Ui($[0])].apply(b,$[3]):b=m.length==1&&Ms(m)?b[x]():b.thru(m)}return function(){var B=arguments,P=B[0];if(b&&B.length==1&&we(P))return b.plant(P).value();for(var N=0,ie=o?t[N].apply(this,B):P;++N<o;)ie=t[N].call(this,ie);return ie}})}function Hi(e,t,o,a,c,m,b,x,$,B){var P=t&V,N=t&R,ie=t&O,fe=t&(T|F),ve=t&me,$e=ie?i:Ur(e);function ye(){for(var Re=arguments.length,Ie=L(Re),Bt=Re;Bt--;)Ie[Bt]=arguments[Bt];if(fe)var _t=yr(ye),Pt=b1(Ie,_t);if(a&&(Ie=cu(Ie,a,c,fe)),m&&(Ie=fu(Ie,m,b,fe)),Re-=Pt,fe&&Re<B){var rt=Rn(Ie,_t);return bu(e,t,Hi,ye.placeholder,o,Ie,rt,x,$,B-Re)}var rn=N?o:this,wn=ie?rn[e]:e;return Re=Ie.length,x?Ie=$p(Ie,x):ve&&Re>1&&Ie.reverse(),P&&$<Re&&(Ie.length=$),this&&this!==pt&&this instanceof ye&&(wn=$e||Ur(wn)),wn.apply(rn,Ie)}return ye}function vu(e,t){return function(o,a){return Fh(o,e,t(a),{})}}function Zi(e,t){return function(o,a){var c;if(o===i&&a===i)return t;if(o!==i&&(c=o),a!==i){if(c===i)return a;typeof o=="string"||typeof a=="string"?(o=zt(o),a=zt(a)):(o=nu(o),a=nu(a)),c=e(o,a)}return c}}function As(e){return mn(function(t){return t=Xe(t,Ft(ge())),ke(function(o){var a=this;return e(t,function(c){return Mt(c,a,o)})})})}function Ni(e,t){t=t===i?" ":zt(t);var o=t.length;if(o<2)return o?bs(t,e):t;var a=bs(t,Ri(e/cr(t)));return ur(t)?Fn(en(a),0,e).join(""):a.slice(0,e)}function lp(e,t,o,a){var c=t&R,m=Ur(e);function b(){for(var x=-1,$=arguments.length,B=-1,P=a.length,N=L(P+$),ie=this&&this!==pt&&this instanceof b?m:e;++B<P;)N[B]=a[B];for(;$--;)N[B++]=arguments[++x];return Mt(ie,c?o:this,N)}return b}function yu(e){return function(t,o,a){return a&&typeof a!="number"&&xt(t,o,a)&&(o=a=i),t=bn(t),o===i?(o=t,t=0):o=bn(o),a=a===i?t<o?1:-1:bn(a),qh(t,o,a,e)}}function Vi(e){return function(t,o){return typeof t=="string"&&typeof o=="string"||(t=Gt(t),o=Gt(o)),e(t,o)}}function bu(e,t,o,a,c,m,b,x,$,B){var P=t&T,N=P?b:i,ie=P?i:b,fe=P?m:i,ve=P?i:m;t|=P?W:q,t&=~(P?q:W),t&k||(t&=-4);var $e=[e,t,c,fe,N,ve,ie,x,$,B],ye=o.apply(i,$e);return Ms(e)&&Lu(ye,$e),ye.placeholder=a,Iu(ye,e,t)}function $s(e){var t=at[e];return function(o,a){if(o=Gt(o),a=a==null?0:vt(Ee(a),292),a&&Il(o)){var c=(Be(o)+"e").split("e"),m=t(c[0]+"e"+(+c[1]+a));return c=(Be(m)+"e").split("e"),+(c[0]+"e"+(+c[1]-a))}return t(o)}}var up=hr&&1/wi(new hr([,-0]))[1]==ne?function(e){return new hr(e)}:Ks;function wu(e){return function(t){var o=yt(t);return o==le?rs(t):o==ft?A1(t):y1(t,e(t))}}function gn(e,t,o,a,c,m,b,x){var $=t&O;if(!$&&typeof e!="function")throw new Zt(f);var B=a?a.length:0;if(B||(t&=-97,a=c=i),b=b===i?b:lt(Ee(b),0),x=x===i?x:Ee(x),B-=c?c.length:0,t&q){var P=a,N=c;a=c=i}var ie=$?i:Rs(e),fe=[e,t,o,a,c,P,N,m,b,x];if(ie&&Sp(fe,ie),e=fe[0],t=fe[1],o=fe[2],a=fe[3],c=fe[4],x=fe[9]=fe[9]===i?$?0:e.length:lt(fe[9]-B,0),!x&&t&(T|F)&&(t&=-25),!t||t==R)var ve=sp(e,t,o);else t==T||t==F?ve=ap(e,t,x):(t==W||t==(R|W))&&!c.length?ve=lp(e,t,o,a):ve=Hi.apply(i,fe);var $e=ie?eu:Lu;return Iu($e(ve,fe),e,t)}function xu(e,t,o,a){return e===i||nn(e,dr[o])&&!We.call(a,o)?t:e}function _u(e,t,o,a,c,m){return Qe(e)&&Qe(t)&&(m.set(t,e),Bi(e,t,i,_u,m),m.delete(t)),e}function cp(e){return Kr(e)?i:e}function Cu(e,t,o,a,c,m){var b=o&C,x=e.length,$=t.length;if(x!=$&&!(b&&$>x))return!1;var B=m.get(e),P=m.get(t);if(B&&P)return B==t&&P==e;var N=-1,ie=!0,fe=o&I?new qn:i;for(m.set(e,t),m.set(t,e);++N<x;){var ve=e[N],$e=t[N];if(a)var ye=b?a($e,ve,N,t,e,m):a(ve,$e,N,e,t,m);if(ye!==i){if(ye)continue;ie=!1;break}if(fe){if(!Yo(t,function(Re,Ie){if(!Fr(fe,Ie)&&(ve===Re||c(ve,Re,o,a,m)))return fe.push(Ie)})){ie=!1;break}}else if(!(ve===$e||c(ve,$e,o,a,m))){ie=!1;break}}return m.delete(e),m.delete(t),ie}function fp(e,t,o,a,c,m,b){switch(o){case Jt:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case Je:return!(e.byteLength!=t.byteLength||!m(new Ai(e),new Ai(t)));case Z:case te:case Pe:return nn(+e,+t);case he:return e.name==t.name&&e.message==t.message;case ot:case mt:return e==t+"";case le:var x=rs;case ft:var $=a&C;if(x||(x=wi),e.size!=t.size&&!$)return!1;var B=b.get(e);if(B)return B==t;a|=I,b.set(e,t);var P=Cu(x(e),x(t),a,c,m,b);return b.delete(e),P;case oe:if(Wr)return Wr.call(e)==Wr.call(t)}return!1}function dp(e,t,o,a,c,m){var b=o&C,x=ks(e),$=x.length,B=ks(t),P=B.length;if($!=P&&!b)return!1;for(var N=$;N--;){var ie=x[N];if(!(b?ie in t:We.call(t,ie)))return!1}var fe=m.get(e),ve=m.get(t);if(fe&&ve)return fe==t&&ve==e;var $e=!0;m.set(e,t),m.set(t,e);for(var ye=b;++N<$;){ie=x[N];var Re=e[ie],Ie=t[ie];if(a)var Bt=b?a(Ie,Re,ie,t,e,m):a(Re,Ie,ie,e,t,m);if(!(Bt===i?Re===Ie||c(Re,Ie,o,a,m):Bt)){$e=!1;break}ye||(ye=ie=="constructor")}if($e&&!ye){var _t=e.constructor,Pt=t.constructor;_t!=Pt&&"constructor"in e&&"constructor"in t&&!(typeof _t=="function"&&_t instanceof _t&&typeof Pt=="function"&&Pt instanceof Pt)&&($e=!1)}return m.delete(e),m.delete(t),$e}function mn(e){return zs(Tu(e,i,Bu),e+"")}function ks(e){return Zl(e,dt,Is)}function Ts(e){return Zl(e,kt,Su)}var Rs=Ii?function(e){return Ii.get(e)}:Ks;function Ui(e){for(var t=e.name+"",o=pr[t],a=We.call(pr,t)?o.length:0;a--;){var c=o[a],m=c.func;if(m==null||m==e)return c.name}return t}function yr(e){var t=We.call(p,"placeholder")?p:e;return t.placeholder}function ge(){var e=p.iteratee||qs;return e=e===qs?Ul:e,arguments.length?e(arguments[0],arguments[1]):e}function qi(e,t){var o=e.__data__;return wp(t)?o[typeof t=="string"?"string":"hash"]:o.map}function Ls(e){for(var t=dt(e),o=t.length;o--;){var a=t[o],c=e[a];t[o]=[a,c,$u(c)]}return t}function Xn(e,t){var o=C1(e,t);return Vl(o)?o:i}function hp(e){var t=We.call(e,Vn),o=e[Vn];try{e[Vn]=i;var a=!0}catch{}var c=Si.call(e);return a&&(t?e[Vn]=o:delete e[Vn]),c}var Is=os?function(e){return e==null?[]:(e=Ne(e),kn(os(e),function(t){return Rl.call(e,t)}))}:Xs,Su=os?function(e){for(var t=[];e;)Tn(t,Is(e)),e=$i(e);return t}:Xs,yt=wt;(ss&&yt(new ss(new ArrayBuffer(1)))!=Jt||jr&&yt(new jr)!=le||as&&yt(as.resolve())!=ht||hr&&yt(new hr)!=ft||Br&&yt(new Br)!=Fe)&&(yt=function(e){var t=wt(e),o=t==De?e.constructor:i,a=o?Yn(o):"";if(a)switch(a){case K1:return Jt;case X1:return le;case Y1:return ht;case Q1:return ft;case J1:return Fe}return t});function pp(e,t,o){for(var a=-1,c=o.length;++a<c;){var m=o[a],b=m.size;switch(m.type){case"drop":e+=b;break;case"dropRight":t-=b;break;case"take":t=vt(t,e+b);break;case"takeRight":e=lt(e,t-b);break}}return{start:e,end:t}}function gp(e){var t=e.match(x0);return t?t[1].split(_0):[]}function Eu(e,t,o){t=Mn(t,e);for(var a=-1,c=t.length,m=!1;++a<c;){var b=un(t[a]);if(!(m=e!=null&&o(e,b)))break;e=e[b]}return m||++a!=c?m:(c=e==null?0:e.length,!!c&&eo(c)&&vn(b,c)&&(we(e)||Qn(e)))}function mp(e){var t=e.length,o=new e.constructor(t);return t&&typeof e[0]=="string"&&We.call(e,"index")&&(o.index=e.index,o.input=e.input),o}function Au(e){return typeof e.constructor=="function"&&!qr(e)?gr($i(e)):{}}function vp(e,t,o){var a=e.constructor;switch(t){case Je:return Es(e);case Z:case te:return new a(+e);case Jt:return ep(e,o);case Lo:case Io:case Oo:case Mo:case Fo:case zo:case jo:case Bo:case Po:return lu(e,o);case le:return new a;case Pe:case mt:return new a(e);case ot:return tp(e);case ft:return new a;case oe:return np(e)}}function yp(e,t){var o=t.length;if(!o)return e;var a=o-1;return t[a]=(o>1?"& ":"")+t[a],t=t.join(o>2?", ":" "),e.replace(w0,`{
|
|
8
|
+
*/var f2=Er.exports,tu;function d2(){return tu||(tu=1,function(n,r){(function(){var i,a="4.17.21",l=200,u="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",f="Expected a function",h="Invalid `variable` option passed into `_.template`",y="__lodash_hash_undefined__",v=500,$="__lodash_placeholder__",T=1,b=2,x=4,m=1,S=2,C=1,I=2,L=4,A=8,O=16,F=32,W=64,Z=128,q=256,fe=512,ve=30,Oe="...",D=800,z=16,H=1,ie=2,Y=3,ee=1/0,K=9007199254740991,de=17976931348623157e292,Ie=NaN,Se=4294967295,Ee=Se-1,Fe=Se>>>1,Ue=[["ary",Z],["bind",C],["bindKey",I],["curry",A],["curryRight",O],["flip",fe],["partial",F],["partialRight",W],["rearg",q]],rt="[object Arguments]",Me="[object Array]",Ke="[object AsyncFunction]",ue="[object Boolean]",xe="[object Date]",$e="[object DOMException]",ye="[object Error]",G="[object Function]",oe="[object GeneratorFunction]",N="[object Map]",Q="[object Number]",se="[object Null]",be="[object Object]",ke="[object Promise]",Ze="[object Proxy]",Qe="[object RegExp]",Xe="[object Set]",Je="[object String]",X="[object Symbol]",ze="[object Undefined]",Re="[object WeakMap]",te="[object WeakSet]",ce="[object ArrayBuffer]",le="[object DataView]",De="[object Float32Array]",kt="[object Float64Array]",_t="[object Int8Array]",Ne="[object Int16Array]",me="[object Int32Array]",Ct="[object Uint8Array]",An="[object Uint8ClampedArray]",Nn="[object Uint16Array]",Di="[object Uint32Array]",kf=/\b__p \+= '';/g,Rf=/\b(__p \+=) '' \+/g,Lf=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Aa=/&(?:amp|lt|gt|quot|#39);/g,$a=/[&<>"']/g,Of=RegExp(Aa.source),If=RegExp($a.source),Mf=/<%-([\s\S]+?)%>/g,Ff=/<%([\s\S]+?)%>/g,Ta=/<%=([\s\S]+?)%>/g,zf=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,jf=/^\w*$/,Bf=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ni=/[\\^$.*+?()[\]{}|]/g,Pf=RegExp(Ni.source),Zi=/^\s+/,Wf=/\s/,Df=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,Nf=/\{\n\/\* \[wrapped with (.+)\] \*/,Zf=/,? & /,Hf=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,Vf=/[()=,{}\[\]\/\s]/,Uf=/\\(\\)?/g,qf=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ka=/\w*$/,Gf=/^[-+]0x[0-9a-f]+$/i,Kf=/^0b[01]+$/i,Xf=/^\[object .+?Constructor\]$/,Yf=/^0o[0-7]+$/i,Qf=/^(?:0|[1-9]\d*)$/,Jf=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ir=/($^)/,ed=/['\n\r\u2028\u2029\\]/g,Mr="\\ud800-\\udfff",td="\\u0300-\\u036f",nd="\\ufe20-\\ufe2f",rd="\\u20d0-\\u20ff",Ra=td+nd+rd,La="\\u2700-\\u27bf",Oa="a-z\\xdf-\\xf6\\xf8-\\xff",id="\\xac\\xb1\\xd7\\xf7",od="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",ad="\\u2000-\\u206f",sd=" \\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",Ia="A-Z\\xc0-\\xd6\\xd8-\\xde",Ma="\\ufe0e\\ufe0f",Fa=id+od+ad+sd,Hi="['’]",ld="["+Mr+"]",za="["+Fa+"]",Fr="["+Ra+"]",ja="\\d+",ud="["+La+"]",Ba="["+Oa+"]",Pa="[^"+Mr+Fa+ja+La+Oa+Ia+"]",Vi="\\ud83c[\\udffb-\\udfff]",cd="(?:"+Fr+"|"+Vi+")",Wa="[^"+Mr+"]",Ui="(?:\\ud83c[\\udde6-\\uddff]){2}",qi="[\\ud800-\\udbff][\\udc00-\\udfff]",Zn="["+Ia+"]",Da="\\u200d",Na="(?:"+Ba+"|"+Pa+")",fd="(?:"+Zn+"|"+Pa+")",Za="(?:"+Hi+"(?:d|ll|m|re|s|t|ve))?",Ha="(?:"+Hi+"(?:D|LL|M|RE|S|T|VE))?",Va=cd+"?",Ua="["+Ma+"]?",dd="(?:"+Da+"(?:"+[Wa,Ui,qi].join("|")+")"+Ua+Va+")*",hd="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",pd="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",qa=Ua+Va+dd,gd="(?:"+[ud,Ui,qi].join("|")+")"+qa,md="(?:"+[Wa+Fr+"?",Fr,Ui,qi,ld].join("|")+")",vd=RegExp(Hi,"g"),yd=RegExp(Fr,"g"),Gi=RegExp(Vi+"(?="+Vi+")|"+md+qa,"g"),bd=RegExp([Zn+"?"+Ba+"+"+Za+"(?="+[za,Zn,"$"].join("|")+")",fd+"+"+Ha+"(?="+[za,Zn+Na,"$"].join("|")+")",Zn+"?"+Na+"+"+Za,Zn+"+"+Ha,pd,hd,ja,gd].join("|"),"g"),xd=RegExp("["+Da+Mr+Ra+Ma+"]"),wd=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,_d=["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"],Cd=-1,et={};et[De]=et[kt]=et[_t]=et[Ne]=et[me]=et[Ct]=et[An]=et[Nn]=et[Di]=!0,et[rt]=et[Me]=et[ce]=et[ue]=et[le]=et[xe]=et[ye]=et[G]=et[N]=et[Q]=et[be]=et[Qe]=et[Xe]=et[Je]=et[Re]=!1;var Ye={};Ye[rt]=Ye[Me]=Ye[ce]=Ye[le]=Ye[ue]=Ye[xe]=Ye[De]=Ye[kt]=Ye[_t]=Ye[Ne]=Ye[me]=Ye[N]=Ye[Q]=Ye[be]=Ye[Qe]=Ye[Xe]=Ye[Je]=Ye[X]=Ye[Ct]=Ye[An]=Ye[Nn]=Ye[Di]=!0,Ye[ye]=Ye[G]=Ye[Re]=!1;var Sd={À:"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"},Ed={"&":"&","<":"<",">":">",'"':""","'":"'"},Ad={"&":"&","<":"<",">":">",""":'"',"'":"'"},$d={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Td=parseFloat,kd=parseInt,Ga=typeof wi=="object"&&wi&&wi.Object===Object&&wi,Rd=typeof self=="object"&&self&&self.Object===Object&&self,dt=Ga||Rd||Function("return this")(),Ki=r&&!r.nodeType&&r,$n=Ki&&!0&&n&&!n.nodeType&&n,Ka=$n&&$n.exports===Ki,Xi=Ka&&Ga.process,jt=function(){try{var k=$n&&$n.require&&$n.require("util").types;return k||Xi&&Xi.binding&&Xi.binding("util")}catch{}}(),Xa=jt&&jt.isArrayBuffer,Ya=jt&&jt.isDate,Qa=jt&&jt.isMap,Ja=jt&&jt.isRegExp,es=jt&&jt.isSet,ts=jt&&jt.isTypedArray;function Rt(k,j,M){switch(M.length){case 0:return k.call(j);case 1:return k.call(j,M[0]);case 2:return k.call(j,M[0],M[1]);case 3:return k.call(j,M[0],M[1],M[2])}return k.apply(j,M)}function Ld(k,j,M,ne){for(var we=-1,He=k==null?0:k.length;++we<He;){var lt=k[we];j(ne,lt,M(lt),k)}return ne}function Bt(k,j){for(var M=-1,ne=k==null?0:k.length;++M<ne&&j(k[M],M,k)!==!1;);return k}function Od(k,j){for(var M=k==null?0:k.length;M--&&j(k[M],M,k)!==!1;);return k}function ns(k,j){for(var M=-1,ne=k==null?0:k.length;++M<ne;)if(!j(k[M],M,k))return!1;return!0}function gn(k,j){for(var M=-1,ne=k==null?0:k.length,we=0,He=[];++M<ne;){var lt=k[M];j(lt,M,k)&&(He[we++]=lt)}return He}function zr(k,j){var M=k==null?0:k.length;return!!M&&Hn(k,j,0)>-1}function Yi(k,j,M){for(var ne=-1,we=k==null?0:k.length;++ne<we;)if(M(j,k[ne]))return!0;return!1}function tt(k,j){for(var M=-1,ne=k==null?0:k.length,we=Array(ne);++M<ne;)we[M]=j(k[M],M,k);return we}function mn(k,j){for(var M=-1,ne=j.length,we=k.length;++M<ne;)k[we+M]=j[M];return k}function Qi(k,j,M,ne){var we=-1,He=k==null?0:k.length;for(ne&&He&&(M=k[++we]);++we<He;)M=j(M,k[we],we,k);return M}function Id(k,j,M,ne){var we=k==null?0:k.length;for(ne&&we&&(M=k[--we]);we--;)M=j(M,k[we],we,k);return M}function Ji(k,j){for(var M=-1,ne=k==null?0:k.length;++M<ne;)if(j(k[M],M,k))return!0;return!1}var Md=eo("length");function Fd(k){return k.split("")}function zd(k){return k.match(Hf)||[]}function rs(k,j,M){var ne;return M(k,function(we,He,lt){if(j(we,He,lt))return ne=He,!1}),ne}function jr(k,j,M,ne){for(var we=k.length,He=M+(ne?1:-1);ne?He--:++He<we;)if(j(k[He],He,k))return He;return-1}function Hn(k,j,M){return j===j?Gd(k,j,M):jr(k,is,M)}function jd(k,j,M,ne){for(var we=M-1,He=k.length;++we<He;)if(ne(k[we],j))return we;return-1}function is(k){return k!==k}function os(k,j){var M=k==null?0:k.length;return M?no(k,j)/M:Ie}function eo(k){return function(j){return j==null?i:j[k]}}function to(k){return function(j){return k==null?i:k[j]}}function as(k,j,M,ne,we){return we(k,function(He,lt,Ge){M=ne?(ne=!1,He):j(M,He,lt,Ge)}),M}function Bd(k,j){var M=k.length;for(k.sort(j);M--;)k[M]=k[M].value;return k}function no(k,j){for(var M,ne=-1,we=k.length;++ne<we;){var He=j(k[ne]);He!==i&&(M=M===i?He:M+He)}return M}function ro(k,j){for(var M=-1,ne=Array(k);++M<k;)ne[M]=j(M);return ne}function Pd(k,j){return tt(j,function(M){return[M,k[M]]})}function ss(k){return k&&k.slice(0,fs(k)+1).replace(Zi,"")}function Lt(k){return function(j){return k(j)}}function io(k,j){return tt(j,function(M){return k[M]})}function ur(k,j){return k.has(j)}function ls(k,j){for(var M=-1,ne=k.length;++M<ne&&Hn(j,k[M],0)>-1;);return M}function us(k,j){for(var M=k.length;M--&&Hn(j,k[M],0)>-1;);return M}function Wd(k,j){for(var M=k.length,ne=0;M--;)k[M]===j&&++ne;return ne}var Dd=to(Sd),Nd=to(Ed);function Zd(k){return"\\"+$d[k]}function Hd(k,j){return k==null?i:k[j]}function Vn(k){return xd.test(k)}function Vd(k){return wd.test(k)}function Ud(k){for(var j,M=[];!(j=k.next()).done;)M.push(j.value);return M}function oo(k){var j=-1,M=Array(k.size);return k.forEach(function(ne,we){M[++j]=[we,ne]}),M}function cs(k,j){return function(M){return k(j(M))}}function vn(k,j){for(var M=-1,ne=k.length,we=0,He=[];++M<ne;){var lt=k[M];(lt===j||lt===$)&&(k[M]=$,He[we++]=M)}return He}function Br(k){var j=-1,M=Array(k.size);return k.forEach(function(ne){M[++j]=ne}),M}function qd(k){var j=-1,M=Array(k.size);return k.forEach(function(ne){M[++j]=[ne,ne]}),M}function Gd(k,j,M){for(var ne=M-1,we=k.length;++ne<we;)if(k[ne]===j)return ne;return-1}function Kd(k,j,M){for(var ne=M+1;ne--;)if(k[ne]===j)return ne;return ne}function Un(k){return Vn(k)?Yd(k):Md(k)}function Gt(k){return Vn(k)?Qd(k):Fd(k)}function fs(k){for(var j=k.length;j--&&Wf.test(k.charAt(j)););return j}var Xd=to(Ad);function Yd(k){for(var j=Gi.lastIndex=0;Gi.test(k);)++j;return j}function Qd(k){return k.match(Gi)||[]}function Jd(k){return k.match(bd)||[]}var e0=function k(j){j=j==null?dt:qn.defaults(dt.Object(),j,qn.pick(dt,_d));var M=j.Array,ne=j.Date,we=j.Error,He=j.Function,lt=j.Math,Ge=j.Object,ao=j.RegExp,t0=j.String,Pt=j.TypeError,Pr=M.prototype,n0=He.prototype,Gn=Ge.prototype,Wr=j["__core-js_shared__"],Dr=n0.toString,qe=Gn.hasOwnProperty,r0=0,ds=function(){var e=/[^.]+$/.exec(Wr&&Wr.keys&&Wr.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Nr=Gn.toString,i0=Dr.call(Ge),o0=dt._,a0=ao("^"+Dr.call(qe).replace(Ni,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Zr=Ka?j.Buffer:i,yn=j.Symbol,Hr=j.Uint8Array,hs=Zr?Zr.allocUnsafe:i,Vr=cs(Ge.getPrototypeOf,Ge),ps=Ge.create,gs=Gn.propertyIsEnumerable,Ur=Pr.splice,ms=yn?yn.isConcatSpreadable:i,cr=yn?yn.iterator:i,Tn=yn?yn.toStringTag:i,qr=function(){try{var e=In(Ge,"defineProperty");return e({},"",{}),e}catch{}}(),s0=j.clearTimeout!==dt.clearTimeout&&j.clearTimeout,l0=ne&&ne.now!==dt.Date.now&&ne.now,u0=j.setTimeout!==dt.setTimeout&&j.setTimeout,Gr=lt.ceil,Kr=lt.floor,so=Ge.getOwnPropertySymbols,c0=Zr?Zr.isBuffer:i,vs=j.isFinite,f0=Pr.join,d0=cs(Ge.keys,Ge),ut=lt.max,pt=lt.min,h0=ne.now,p0=j.parseInt,ys=lt.random,g0=Pr.reverse,lo=In(j,"DataView"),fr=In(j,"Map"),uo=In(j,"Promise"),Kn=In(j,"Set"),dr=In(j,"WeakMap"),hr=In(Ge,"create"),Xr=dr&&new dr,Xn={},m0=Mn(lo),v0=Mn(fr),y0=Mn(uo),b0=Mn(Kn),x0=Mn(dr),Yr=yn?yn.prototype:i,pr=Yr?Yr.valueOf:i,bs=Yr?Yr.toString:i;function p(e){if(it(e)&&!_e(e)&&!(e instanceof Be)){if(e instanceof Wt)return e;if(qe.call(e,"__wrapped__"))return xl(e)}return new Wt(e)}var Yn=function(){function e(){}return function(t){if(!nt(t))return{};if(ps)return ps(t);e.prototype=t;var o=new e;return e.prototype=i,o}}();function Qr(){}function Wt(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=i}p.templateSettings={escape:Mf,evaluate:Ff,interpolate:Ta,variable:"",imports:{_:p}},p.prototype=Qr.prototype,p.prototype.constructor=p,Wt.prototype=Yn(Qr.prototype),Wt.prototype.constructor=Wt;function Be(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Se,this.__views__=[]}function w0(){var e=new Be(this.__wrapped__);return e.__actions__=St(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=St(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=St(this.__views__),e}function _0(){if(this.__filtered__){var e=new Be(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function C0(){var e=this.__wrapped__.value(),t=this.__dir__,o=_e(e),s=t<0,c=o?e.length:0,g=F1(0,c,this.__views__),_=g.start,E=g.end,R=E-_,B=s?E:_-1,P=this.__iteratees__,V=P.length,J=0,ae=pt(R,this.__takeCount__);if(!o||!s&&c==R&&ae==R)return Zs(e,this.__actions__);var pe=[];e:for(;R--&&J<ae;){B+=t;for(var Te=-1,ge=e[B];++Te<V;){var je=P[Te],Pe=je.iteratee,Mt=je.type,bt=Pe(ge);if(Mt==ie)ge=bt;else if(!bt){if(Mt==H)continue e;break e}}pe[J++]=ge}return pe}Be.prototype=Yn(Qr.prototype),Be.prototype.constructor=Be;function kn(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var s=e[t];this.set(s[0],s[1])}}function S0(){this.__data__=hr?hr(null):{},this.size=0}function E0(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}function A0(e){var t=this.__data__;if(hr){var o=t[e];return o===y?i:o}return qe.call(t,e)?t[e]:i}function $0(e){var t=this.__data__;return hr?t[e]!==i:qe.call(t,e)}function T0(e,t){var o=this.__data__;return this.size+=this.has(e)?0:1,o[e]=hr&&t===i?y:t,this}kn.prototype.clear=S0,kn.prototype.delete=E0,kn.prototype.get=A0,kn.prototype.has=$0,kn.prototype.set=T0;function nn(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var s=e[t];this.set(s[0],s[1])}}function k0(){this.__data__=[],this.size=0}function R0(e){var t=this.__data__,o=Jr(t,e);if(o<0)return!1;var s=t.length-1;return o==s?t.pop():Ur.call(t,o,1),--this.size,!0}function L0(e){var t=this.__data__,o=Jr(t,e);return o<0?i:t[o][1]}function O0(e){return Jr(this.__data__,e)>-1}function I0(e,t){var o=this.__data__,s=Jr(o,e);return s<0?(++this.size,o.push([e,t])):o[s][1]=t,this}nn.prototype.clear=k0,nn.prototype.delete=R0,nn.prototype.get=L0,nn.prototype.has=O0,nn.prototype.set=I0;function rn(e){var t=-1,o=e==null?0:e.length;for(this.clear();++t<o;){var s=e[t];this.set(s[0],s[1])}}function M0(){this.size=0,this.__data__={hash:new kn,map:new(fr||nn),string:new kn}}function F0(e){var t=fi(this,e).delete(e);return this.size-=t?1:0,t}function z0(e){return fi(this,e).get(e)}function j0(e){return fi(this,e).has(e)}function B0(e,t){var o=fi(this,e),s=o.size;return o.set(e,t),this.size+=o.size==s?0:1,this}rn.prototype.clear=M0,rn.prototype.delete=F0,rn.prototype.get=z0,rn.prototype.has=j0,rn.prototype.set=B0;function Rn(e){var t=-1,o=e==null?0:e.length;for(this.__data__=new rn;++t<o;)this.add(e[t])}function P0(e){return this.__data__.set(e,y),this}function W0(e){return this.__data__.has(e)}Rn.prototype.add=Rn.prototype.push=P0,Rn.prototype.has=W0;function Kt(e){var t=this.__data__=new nn(e);this.size=t.size}function D0(){this.__data__=new nn,this.size=0}function N0(e){var t=this.__data__,o=t.delete(e);return this.size=t.size,o}function Z0(e){return this.__data__.get(e)}function H0(e){return this.__data__.has(e)}function V0(e,t){var o=this.__data__;if(o instanceof nn){var s=o.__data__;if(!fr||s.length<l-1)return s.push([e,t]),this.size=++o.size,this;o=this.__data__=new rn(s)}return o.set(e,t),this.size=o.size,this}Kt.prototype.clear=D0,Kt.prototype.delete=N0,Kt.prototype.get=Z0,Kt.prototype.has=H0,Kt.prototype.set=V0;function xs(e,t){var o=_e(e),s=!o&&Fn(e),c=!o&&!s&&Cn(e),g=!o&&!s&&!c&&tr(e),_=o||s||c||g,E=_?ro(e.length,t0):[],R=E.length;for(var B in e)(t||qe.call(e,B))&&!(_&&(B=="length"||c&&(B=="offset"||B=="parent")||g&&(B=="buffer"||B=="byteLength"||B=="byteOffset")||ln(B,R)))&&E.push(B);return E}function ws(e){var t=e.length;return t?e[wo(0,t-1)]:i}function U0(e,t){return di(St(e),Ln(t,0,e.length))}function q0(e){return di(St(e))}function co(e,t,o){(o!==i&&!Xt(e[t],o)||o===i&&!(t in e))&&on(e,t,o)}function gr(e,t,o){var s=e[t];(!(qe.call(e,t)&&Xt(s,o))||o===i&&!(t in e))&&on(e,t,o)}function Jr(e,t){for(var o=e.length;o--;)if(Xt(e[o][0],t))return o;return-1}function G0(e,t,o,s){return bn(e,function(c,g,_){t(s,c,o(c),_)}),s}function _s(e,t){return e&&en(t,ft(t),e)}function K0(e,t){return e&&en(t,At(t),e)}function on(e,t,o){t=="__proto__"&&qr?qr(e,t,{configurable:!0,enumerable:!0,value:o,writable:!0}):e[t]=o}function fo(e,t){for(var o=-1,s=t.length,c=M(s),g=e==null;++o<s;)c[o]=g?i:Uo(e,t[o]);return c}function Ln(e,t,o){return e===e&&(o!==i&&(e=e<=o?e:o),t!==i&&(e=e>=t?e:t)),e}function Dt(e,t,o,s,c,g){var _,E=t&T,R=t&b,B=t&x;if(o&&(_=c?o(e,s,c,g):o(e)),_!==i)return _;if(!nt(e))return e;var P=_e(e);if(P){if(_=j1(e),!E)return St(e,_)}else{var V=gt(e),J=V==G||V==oe;if(Cn(e))return Us(e,E);if(V==be||V==rt||J&&!c){if(_=R||J?{}:fl(e),!E)return R?A1(e,K0(_,e)):E1(e,_s(_,e))}else{if(!Ye[V])return c?e:{};_=B1(e,V,E)}}g||(g=new Kt);var ae=g.get(e);if(ae)return ae;g.set(e,_),Wl(e)?e.forEach(function(ge){_.add(Dt(ge,t,o,ge,e,g))}):Bl(e)&&e.forEach(function(ge,je){_.set(je,Dt(ge,t,o,je,e,g))});var pe=B?R?Oo:Lo:R?At:ft,Te=P?i:pe(e);return Bt(Te||e,function(ge,je){Te&&(je=ge,ge=e[je]),gr(_,je,Dt(ge,t,o,je,e,g))}),_}function X0(e){var t=ft(e);return function(o){return Cs(o,e,t)}}function Cs(e,t,o){var s=o.length;if(e==null)return!s;for(e=Ge(e);s--;){var c=o[s],g=t[c],_=e[c];if(_===i&&!(c in e)||!g(_))return!1}return!0}function Ss(e,t,o){if(typeof e!="function")throw new Pt(f);return _r(function(){e.apply(i,o)},t)}function mr(e,t,o,s){var c=-1,g=zr,_=!0,E=e.length,R=[],B=t.length;if(!E)return R;o&&(t=tt(t,Lt(o))),s?(g=Yi,_=!1):t.length>=l&&(g=ur,_=!1,t=new Rn(t));e:for(;++c<E;){var P=e[c],V=o==null?P:o(P);if(P=s||P!==0?P:0,_&&V===V){for(var J=B;J--;)if(t[J]===V)continue e;R.push(P)}else g(t,V,s)||R.push(P)}return R}var bn=Ys(Jt),Es=Ys(po,!0);function Y0(e,t){var o=!0;return bn(e,function(s,c,g){return o=!!t(s,c,g),o}),o}function ei(e,t,o){for(var s=-1,c=e.length;++s<c;){var g=e[s],_=t(g);if(_!=null&&(E===i?_===_&&!It(_):o(_,E)))var E=_,R=g}return R}function Q0(e,t,o,s){var c=e.length;for(o=Ae(o),o<0&&(o=-o>c?0:c+o),s=s===i||s>c?c:Ae(s),s<0&&(s+=c),s=o>s?0:Nl(s);o<s;)e[o++]=t;return e}function As(e,t){var o=[];return bn(e,function(s,c,g){t(s,c,g)&&o.push(s)}),o}function ht(e,t,o,s,c){var g=-1,_=e.length;for(o||(o=W1),c||(c=[]);++g<_;){var E=e[g];t>0&&o(E)?t>1?ht(E,t-1,o,s,c):mn(c,E):s||(c[c.length]=E)}return c}var ho=Qs(),$s=Qs(!0);function Jt(e,t){return e&&ho(e,t,ft)}function po(e,t){return e&&$s(e,t,ft)}function ti(e,t){return gn(t,function(o){return un(e[o])})}function On(e,t){t=wn(t,e);for(var o=0,s=t.length;e!=null&&o<s;)e=e[tn(t[o++])];return o&&o==s?e:i}function Ts(e,t,o){var s=t(e);return _e(e)?s:mn(s,o(e))}function vt(e){return e==null?e===i?ze:se:Tn&&Tn in Ge(e)?M1(e):q1(e)}function go(e,t){return e>t}function J0(e,t){return e!=null&&qe.call(e,t)}function e1(e,t){return e!=null&&t in Ge(e)}function t1(e,t,o){return e>=pt(t,o)&&e<ut(t,o)}function mo(e,t,o){for(var s=o?Yi:zr,c=e[0].length,g=e.length,_=g,E=M(g),R=1/0,B=[];_--;){var P=e[_];_&&t&&(P=tt(P,Lt(t))),R=pt(P.length,R),E[_]=!o&&(t||c>=120&&P.length>=120)?new Rn(_&&P):i}P=e[0];var V=-1,J=E[0];e:for(;++V<c&&B.length<R;){var ae=P[V],pe=t?t(ae):ae;if(ae=o||ae!==0?ae:0,!(J?ur(J,pe):s(B,pe,o))){for(_=g;--_;){var Te=E[_];if(!(Te?ur(Te,pe):s(e[_],pe,o)))continue e}J&&J.push(pe),B.push(ae)}}return B}function n1(e,t,o,s){return Jt(e,function(c,g,_){t(s,o(c),g,_)}),s}function vr(e,t,o){t=wn(t,e),e=gl(e,t);var s=e==null?e:e[tn(Zt(t))];return s==null?i:Rt(s,e,o)}function ks(e){return it(e)&&vt(e)==rt}function r1(e){return it(e)&&vt(e)==ce}function i1(e){return it(e)&&vt(e)==xe}function yr(e,t,o,s,c){return e===t?!0:e==null||t==null||!it(e)&&!it(t)?e!==e&&t!==t:o1(e,t,o,s,yr,c)}function o1(e,t,o,s,c,g){var _=_e(e),E=_e(t),R=_?Me:gt(e),B=E?Me:gt(t);R=R==rt?be:R,B=B==rt?be:B;var P=R==be,V=B==be,J=R==B;if(J&&Cn(e)){if(!Cn(t))return!1;_=!0,P=!1}if(J&&!P)return g||(g=new Kt),_||tr(e)?ll(e,t,o,s,c,g):O1(e,t,R,o,s,c,g);if(!(o&m)){var ae=P&&qe.call(e,"__wrapped__"),pe=V&&qe.call(t,"__wrapped__");if(ae||pe){var Te=ae?e.value():e,ge=pe?t.value():t;return g||(g=new Kt),c(Te,ge,o,s,g)}}return J?(g||(g=new Kt),I1(e,t,o,s,c,g)):!1}function a1(e){return it(e)&>(e)==N}function vo(e,t,o,s){var c=o.length,g=c,_=!s;if(e==null)return!g;for(e=Ge(e);c--;){var E=o[c];if(_&&E[2]?E[1]!==e[E[0]]:!(E[0]in e))return!1}for(;++c<g;){E=o[c];var R=E[0],B=e[R],P=E[1];if(_&&E[2]){if(B===i&&!(R in e))return!1}else{var V=new Kt;if(s)var J=s(B,P,R,e,t,V);if(!(J===i?yr(P,B,m|S,s,V):J))return!1}}return!0}function Rs(e){if(!nt(e)||N1(e))return!1;var t=un(e)?a0:Xf;return t.test(Mn(e))}function s1(e){return it(e)&&vt(e)==Qe}function l1(e){return it(e)&>(e)==Xe}function u1(e){return it(e)&&yi(e.length)&&!!et[vt(e)]}function Ls(e){return typeof e=="function"?e:e==null?$t:typeof e=="object"?_e(e)?Ms(e[0],e[1]):Is(e):Jl(e)}function yo(e){if(!wr(e))return d0(e);var t=[];for(var o in Ge(e))qe.call(e,o)&&o!="constructor"&&t.push(o);return t}function c1(e){if(!nt(e))return U1(e);var t=wr(e),o=[];for(var s in e)s=="constructor"&&(t||!qe.call(e,s))||o.push(s);return o}function bo(e,t){return e<t}function Os(e,t){var o=-1,s=Et(e)?M(e.length):[];return bn(e,function(c,g,_){s[++o]=t(c,g,_)}),s}function Is(e){var t=Mo(e);return t.length==1&&t[0][2]?hl(t[0][0],t[0][1]):function(o){return o===e||vo(o,e,t)}}function Ms(e,t){return zo(e)&&dl(t)?hl(tn(e),t):function(o){var s=Uo(o,e);return s===i&&s===t?qo(o,e):yr(t,s,m|S)}}function ni(e,t,o,s,c){e!==t&&ho(t,function(g,_){if(c||(c=new Kt),nt(g))f1(e,t,_,o,ni,s,c);else{var E=s?s(Bo(e,_),g,_+"",e,t,c):i;E===i&&(E=g),co(e,_,E)}},At)}function f1(e,t,o,s,c,g,_){var E=Bo(e,o),R=Bo(t,o),B=_.get(R);if(B){co(e,o,B);return}var P=g?g(E,R,o+"",e,t,_):i,V=P===i;if(V){var J=_e(R),ae=!J&&Cn(R),pe=!J&&!ae&&tr(R);P=R,J||ae||pe?_e(E)?P=E:at(E)?P=St(E):ae?(V=!1,P=Us(R,!0)):pe?(V=!1,P=qs(R,!0)):P=[]:Cr(R)||Fn(R)?(P=E,Fn(E)?P=Zl(E):(!nt(E)||un(E))&&(P=fl(R))):V=!1}V&&(_.set(R,P),c(P,R,s,g,_),_.delete(R)),co(e,o,P)}function Fs(e,t){var o=e.length;if(o)return t+=t<0?o:0,ln(t,o)?e[t]:i}function zs(e,t,o){t.length?t=tt(t,function(g){return _e(g)?function(_){return On(_,g.length===1?g[0]:g)}:g}):t=[$t];var s=-1;t=tt(t,Lt(he()));var c=Os(e,function(g,_,E){var R=tt(t,function(B){return B(g)});return{criteria:R,index:++s,value:g}});return Bd(c,function(g,_){return S1(g,_,o)})}function d1(e,t){return js(e,t,function(o,s){return qo(e,s)})}function js(e,t,o){for(var s=-1,c=t.length,g={};++s<c;){var _=t[s],E=On(e,_);o(E,_)&&br(g,wn(_,e),E)}return g}function h1(e){return function(t){return On(t,e)}}function xo(e,t,o,s){var c=s?jd:Hn,g=-1,_=t.length,E=e;for(e===t&&(t=St(t)),o&&(E=tt(e,Lt(o)));++g<_;)for(var R=0,B=t[g],P=o?o(B):B;(R=c(E,P,R,s))>-1;)E!==e&&Ur.call(E,R,1),Ur.call(e,R,1);return e}function Bs(e,t){for(var o=e?t.length:0,s=o-1;o--;){var c=t[o];if(o==s||c!==g){var g=c;ln(c)?Ur.call(e,c,1):So(e,c)}}return e}function wo(e,t){return e+Kr(ys()*(t-e+1))}function p1(e,t,o,s){for(var c=-1,g=ut(Gr((t-e)/(o||1)),0),_=M(g);g--;)_[s?g:++c]=e,e+=o;return _}function _o(e,t){var o="";if(!e||t<1||t>K)return o;do t%2&&(o+=e),t=Kr(t/2),t&&(e+=e);while(t);return o}function Le(e,t){return Po(pl(e,t,$t),e+"")}function g1(e){return ws(nr(e))}function m1(e,t){var o=nr(e);return di(o,Ln(t,0,o.length))}function br(e,t,o,s){if(!nt(e))return e;t=wn(t,e);for(var c=-1,g=t.length,_=g-1,E=e;E!=null&&++c<g;){var R=tn(t[c]),B=o;if(R==="__proto__"||R==="constructor"||R==="prototype")return e;if(c!=_){var P=E[R];B=s?s(P,R,E):i,B===i&&(B=nt(P)?P:ln(t[c+1])?[]:{})}gr(E,R,B),E=E[R]}return e}var Ps=Xr?function(e,t){return Xr.set(e,t),e}:$t,v1=qr?function(e,t){return qr(e,"toString",{configurable:!0,enumerable:!1,value:Ko(t),writable:!0})}:$t;function y1(e){return di(nr(e))}function Nt(e,t,o){var s=-1,c=e.length;t<0&&(t=-t>c?0:c+t),o=o>c?c:o,o<0&&(o+=c),c=t>o?0:o-t>>>0,t>>>=0;for(var g=M(c);++s<c;)g[s]=e[s+t];return g}function b1(e,t){var o;return bn(e,function(s,c,g){return o=t(s,c,g),!o}),!!o}function ri(e,t,o){var s=0,c=e==null?s:e.length;if(typeof t=="number"&&t===t&&c<=Fe){for(;s<c;){var g=s+c>>>1,_=e[g];_!==null&&!It(_)&&(o?_<=t:_<t)?s=g+1:c=g}return c}return Co(e,t,$t,o)}function Co(e,t,o,s){var c=0,g=e==null?0:e.length;if(g===0)return 0;t=o(t);for(var _=t!==t,E=t===null,R=It(t),B=t===i;c<g;){var P=Kr((c+g)/2),V=o(e[P]),J=V!==i,ae=V===null,pe=V===V,Te=It(V);if(_)var ge=s||pe;else B?ge=pe&&(s||J):E?ge=pe&&J&&(s||!ae):R?ge=pe&&J&&!ae&&(s||!Te):ae||Te?ge=!1:ge=s?V<=t:V<t;ge?c=P+1:g=P}return pt(g,Ee)}function Ws(e,t){for(var o=-1,s=e.length,c=0,g=[];++o<s;){var _=e[o],E=t?t(_):_;if(!o||!Xt(E,R)){var R=E;g[c++]=_===0?0:_}}return g}function Ds(e){return typeof e=="number"?e:It(e)?Ie:+e}function Ot(e){if(typeof e=="string")return e;if(_e(e))return tt(e,Ot)+"";if(It(e))return bs?bs.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function xn(e,t,o){var s=-1,c=zr,g=e.length,_=!0,E=[],R=E;if(o)_=!1,c=Yi;else if(g>=l){var B=t?null:R1(e);if(B)return Br(B);_=!1,c=ur,R=new Rn}else R=t?[]:E;e:for(;++s<g;){var P=e[s],V=t?t(P):P;if(P=o||P!==0?P:0,_&&V===V){for(var J=R.length;J--;)if(R[J]===V)continue e;t&&R.push(V),E.push(P)}else c(R,V,o)||(R!==E&&R.push(V),E.push(P))}return E}function So(e,t){return t=wn(t,e),e=gl(e,t),e==null||delete e[tn(Zt(t))]}function Ns(e,t,o,s){return br(e,t,o(On(e,t)),s)}function ii(e,t,o,s){for(var c=e.length,g=s?c:-1;(s?g--:++g<c)&&t(e[g],g,e););return o?Nt(e,s?0:g,s?g+1:c):Nt(e,s?g+1:0,s?c:g)}function Zs(e,t){var o=e;return o instanceof Be&&(o=o.value()),Qi(t,function(s,c){return c.func.apply(c.thisArg,mn([s],c.args))},o)}function Eo(e,t,o){var s=e.length;if(s<2)return s?xn(e[0]):[];for(var c=-1,g=M(s);++c<s;)for(var _=e[c],E=-1;++E<s;)E!=c&&(g[c]=mr(g[c]||_,e[E],t,o));return xn(ht(g,1),t,o)}function Hs(e,t,o){for(var s=-1,c=e.length,g=t.length,_={};++s<c;){var E=s<g?t[s]:i;o(_,e[s],E)}return _}function Ao(e){return at(e)?e:[]}function $o(e){return typeof e=="function"?e:$t}function wn(e,t){return _e(e)?e:zo(e,t)?[e]:bl(Ve(e))}var x1=Le;function _n(e,t,o){var s=e.length;return o=o===i?s:o,!t&&o>=s?e:Nt(e,t,o)}var Vs=s0||function(e){return dt.clearTimeout(e)};function Us(e,t){if(t)return e.slice();var o=e.length,s=hs?hs(o):new e.constructor(o);return e.copy(s),s}function To(e){var t=new e.constructor(e.byteLength);return new Hr(t).set(new Hr(e)),t}function w1(e,t){var o=t?To(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.byteLength)}function _1(e){var t=new e.constructor(e.source,ka.exec(e));return t.lastIndex=e.lastIndex,t}function C1(e){return pr?Ge(pr.call(e)):{}}function qs(e,t){var o=t?To(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.length)}function Gs(e,t){if(e!==t){var o=e!==i,s=e===null,c=e===e,g=It(e),_=t!==i,E=t===null,R=t===t,B=It(t);if(!E&&!B&&!g&&e>t||g&&_&&R&&!E&&!B||s&&_&&R||!o&&R||!c)return 1;if(!s&&!g&&!B&&e<t||B&&o&&c&&!s&&!g||E&&o&&c||!_&&c||!R)return-1}return 0}function S1(e,t,o){for(var s=-1,c=e.criteria,g=t.criteria,_=c.length,E=o.length;++s<_;){var R=Gs(c[s],g[s]);if(R){if(s>=E)return R;var B=o[s];return R*(B=="desc"?-1:1)}}return e.index-t.index}function Ks(e,t,o,s){for(var c=-1,g=e.length,_=o.length,E=-1,R=t.length,B=ut(g-_,0),P=M(R+B),V=!s;++E<R;)P[E]=t[E];for(;++c<_;)(V||c<g)&&(P[o[c]]=e[c]);for(;B--;)P[E++]=e[c++];return P}function Xs(e,t,o,s){for(var c=-1,g=e.length,_=-1,E=o.length,R=-1,B=t.length,P=ut(g-E,0),V=M(P+B),J=!s;++c<P;)V[c]=e[c];for(var ae=c;++R<B;)V[ae+R]=t[R];for(;++_<E;)(J||c<g)&&(V[ae+o[_]]=e[c++]);return V}function St(e,t){var o=-1,s=e.length;for(t||(t=M(s));++o<s;)t[o]=e[o];return t}function en(e,t,o,s){var c=!o;o||(o={});for(var g=-1,_=t.length;++g<_;){var E=t[g],R=s?s(o[E],e[E],E,o,e):i;R===i&&(R=e[E]),c?on(o,E,R):gr(o,E,R)}return o}function E1(e,t){return en(e,Fo(e),t)}function A1(e,t){return en(e,ul(e),t)}function oi(e,t){return function(o,s){var c=_e(o)?Ld:G0,g=t?t():{};return c(o,e,he(s,2),g)}}function Qn(e){return Le(function(t,o){var s=-1,c=o.length,g=c>1?o[c-1]:i,_=c>2?o[2]:i;for(g=e.length>3&&typeof g=="function"?(c--,g):i,_&&yt(o[0],o[1],_)&&(g=c<3?i:g,c=1),t=Ge(t);++s<c;){var E=o[s];E&&e(t,E,s,g)}return t})}function Ys(e,t){return function(o,s){if(o==null)return o;if(!Et(o))return e(o,s);for(var c=o.length,g=t?c:-1,_=Ge(o);(t?g--:++g<c)&&s(_[g],g,_)!==!1;);return o}}function Qs(e){return function(t,o,s){for(var c=-1,g=Ge(t),_=s(t),E=_.length;E--;){var R=_[e?E:++c];if(o(g[R],R,g)===!1)break}return t}}function $1(e,t,o){var s=t&C,c=xr(e);function g(){var _=this&&this!==dt&&this instanceof g?c:e;return _.apply(s?o:this,arguments)}return g}function Js(e){return function(t){t=Ve(t);var o=Vn(t)?Gt(t):i,s=o?o[0]:t.charAt(0),c=o?_n(o,1).join(""):t.slice(1);return s[e]()+c}}function Jn(e){return function(t){return Qi(Yl(Xl(t).replace(vd,"")),e,"")}}function xr(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var o=Yn(e.prototype),s=e.apply(o,t);return nt(s)?s:o}}function T1(e,t,o){var s=xr(e);function c(){for(var g=arguments.length,_=M(g),E=g,R=er(c);E--;)_[E]=arguments[E];var B=g<3&&_[0]!==R&&_[g-1]!==R?[]:vn(_,R);if(g-=B.length,g<o)return il(e,t,ai,c.placeholder,i,_,B,i,i,o-g);var P=this&&this!==dt&&this instanceof c?s:e;return Rt(P,this,_)}return c}function el(e){return function(t,o,s){var c=Ge(t);if(!Et(t)){var g=he(o,3);t=ft(t),o=function(E){return g(c[E],E,c)}}var _=e(t,o,s);return _>-1?c[g?t[_]:_]:i}}function tl(e){return sn(function(t){var o=t.length,s=o,c=Wt.prototype.thru;for(e&&t.reverse();s--;){var g=t[s];if(typeof g!="function")throw new Pt(f);if(c&&!_&&ci(g)=="wrapper")var _=new Wt([],!0)}for(s=_?s:o;++s<o;){g=t[s];var E=ci(g),R=E=="wrapper"?Io(g):i;R&&jo(R[0])&&R[1]==(Z|A|F|q)&&!R[4].length&&R[9]==1?_=_[ci(R[0])].apply(_,R[3]):_=g.length==1&&jo(g)?_[E]():_.thru(g)}return function(){var B=arguments,P=B[0];if(_&&B.length==1&&_e(P))return _.plant(P).value();for(var V=0,J=o?t[V].apply(this,B):P;++V<o;)J=t[V].call(this,J);return J}})}function ai(e,t,o,s,c,g,_,E,R,B){var P=t&Z,V=t&C,J=t&I,ae=t&(A|O),pe=t&fe,Te=J?i:xr(e);function ge(){for(var je=arguments.length,Pe=M(je),Mt=je;Mt--;)Pe[Mt]=arguments[Mt];if(ae)var bt=er(ge),Ft=Wd(Pe,bt);if(s&&(Pe=Ks(Pe,s,c,ae)),g&&(Pe=Xs(Pe,g,_,ae)),je-=Ft,ae&&je<B){var st=vn(Pe,bt);return il(e,t,ai,ge.placeholder,o,Pe,st,E,R,B-je)}var Yt=V?o:this,fn=J?Yt[e]:e;return je=Pe.length,E?Pe=G1(Pe,E):pe&&je>1&&Pe.reverse(),P&&R<je&&(Pe.length=R),this&&this!==dt&&this instanceof ge&&(fn=Te||xr(fn)),fn.apply(Yt,Pe)}return ge}function nl(e,t){return function(o,s){return n1(o,e,t(s),{})}}function si(e,t){return function(o,s){var c;if(o===i&&s===i)return t;if(o!==i&&(c=o),s!==i){if(c===i)return s;typeof o=="string"||typeof s=="string"?(o=Ot(o),s=Ot(s)):(o=Ds(o),s=Ds(s)),c=e(o,s)}return c}}function ko(e){return sn(function(t){return t=tt(t,Lt(he())),Le(function(o){var s=this;return e(t,function(c){return Rt(c,s,o)})})})}function li(e,t){t=t===i?" ":Ot(t);var o=t.length;if(o<2)return o?_o(t,e):t;var s=_o(t,Gr(e/Un(t)));return Vn(t)?_n(Gt(s),0,e).join(""):s.slice(0,e)}function k1(e,t,o,s){var c=t&C,g=xr(e);function _(){for(var E=-1,R=arguments.length,B=-1,P=s.length,V=M(P+R),J=this&&this!==dt&&this instanceof _?g:e;++B<P;)V[B]=s[B];for(;R--;)V[B++]=arguments[++E];return Rt(J,c?o:this,V)}return _}function rl(e){return function(t,o,s){return s&&typeof s!="number"&&yt(t,o,s)&&(o=s=i),t=cn(t),o===i?(o=t,t=0):o=cn(o),s=s===i?t<o?1:-1:cn(s),p1(t,o,s,e)}}function ui(e){return function(t,o){return typeof t=="string"&&typeof o=="string"||(t=Ht(t),o=Ht(o)),e(t,o)}}function il(e,t,o,s,c,g,_,E,R,B){var P=t&A,V=P?_:i,J=P?i:_,ae=P?g:i,pe=P?i:g;t|=P?F:W,t&=~(P?W:F),t&L||(t&=-4);var Te=[e,t,c,ae,V,pe,J,E,R,B],ge=o.apply(i,Te);return jo(e)&&ml(ge,Te),ge.placeholder=s,vl(ge,e,t)}function Ro(e){var t=lt[e];return function(o,s){if(o=Ht(o),s=s==null?0:pt(Ae(s),292),s&&vs(o)){var c=(Ve(o)+"e").split("e"),g=t(c[0]+"e"+(+c[1]+s));return c=(Ve(g)+"e").split("e"),+(c[0]+"e"+(+c[1]-s))}return t(o)}}var R1=Kn&&1/Br(new Kn([,-0]))[1]==ee?function(e){return new Kn(e)}:Qo;function ol(e){return function(t){var o=gt(t);return o==N?oo(t):o==Xe?qd(t):Pd(t,e(t))}}function an(e,t,o,s,c,g,_,E){var R=t&I;if(!R&&typeof e!="function")throw new Pt(f);var B=s?s.length:0;if(B||(t&=-97,s=c=i),_=_===i?_:ut(Ae(_),0),E=E===i?E:Ae(E),B-=c?c.length:0,t&W){var P=s,V=c;s=c=i}var J=R?i:Io(e),ae=[e,t,o,s,c,P,V,g,_,E];if(J&&V1(ae,J),e=ae[0],t=ae[1],o=ae[2],s=ae[3],c=ae[4],E=ae[9]=ae[9]===i?R?0:e.length:ut(ae[9]-B,0),!E&&t&(A|O)&&(t&=-25),!t||t==C)var pe=$1(e,t,o);else t==A||t==O?pe=T1(e,t,E):(t==F||t==(C|F))&&!c.length?pe=k1(e,t,o,s):pe=ai.apply(i,ae);var Te=J?Ps:ml;return vl(Te(pe,ae),e,t)}function al(e,t,o,s){return e===i||Xt(e,Gn[o])&&!qe.call(s,o)?t:e}function sl(e,t,o,s,c,g){return nt(e)&&nt(t)&&(g.set(t,e),ni(e,t,i,sl,g),g.delete(t)),e}function L1(e){return Cr(e)?i:e}function ll(e,t,o,s,c,g){var _=o&m,E=e.length,R=t.length;if(E!=R&&!(_&&R>E))return!1;var B=g.get(e),P=g.get(t);if(B&&P)return B==t&&P==e;var V=-1,J=!0,ae=o&S?new Rn:i;for(g.set(e,t),g.set(t,e);++V<E;){var pe=e[V],Te=t[V];if(s)var ge=_?s(Te,pe,V,t,e,g):s(pe,Te,V,e,t,g);if(ge!==i){if(ge)continue;J=!1;break}if(ae){if(!Ji(t,function(je,Pe){if(!ur(ae,Pe)&&(pe===je||c(pe,je,o,s,g)))return ae.push(Pe)})){J=!1;break}}else if(!(pe===Te||c(pe,Te,o,s,g))){J=!1;break}}return g.delete(e),g.delete(t),J}function O1(e,t,o,s,c,g,_){switch(o){case le:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case ce:return!(e.byteLength!=t.byteLength||!g(new Hr(e),new Hr(t)));case ue:case xe:case Q:return Xt(+e,+t);case ye:return e.name==t.name&&e.message==t.message;case Qe:case Je:return e==t+"";case N:var E=oo;case Xe:var R=s&m;if(E||(E=Br),e.size!=t.size&&!R)return!1;var B=_.get(e);if(B)return B==t;s|=S,_.set(e,t);var P=ll(E(e),E(t),s,c,g,_);return _.delete(e),P;case X:if(pr)return pr.call(e)==pr.call(t)}return!1}function I1(e,t,o,s,c,g){var _=o&m,E=Lo(e),R=E.length,B=Lo(t),P=B.length;if(R!=P&&!_)return!1;for(var V=R;V--;){var J=E[V];if(!(_?J in t:qe.call(t,J)))return!1}var ae=g.get(e),pe=g.get(t);if(ae&&pe)return ae==t&&pe==e;var Te=!0;g.set(e,t),g.set(t,e);for(var ge=_;++V<R;){J=E[V];var je=e[J],Pe=t[J];if(s)var Mt=_?s(Pe,je,J,t,e,g):s(je,Pe,J,e,t,g);if(!(Mt===i?je===Pe||c(je,Pe,o,s,g):Mt)){Te=!1;break}ge||(ge=J=="constructor")}if(Te&&!ge){var bt=e.constructor,Ft=t.constructor;bt!=Ft&&"constructor"in e&&"constructor"in t&&!(typeof bt=="function"&&bt instanceof bt&&typeof Ft=="function"&&Ft instanceof Ft)&&(Te=!1)}return g.delete(e),g.delete(t),Te}function sn(e){return Po(pl(e,i,Cl),e+"")}function Lo(e){return Ts(e,ft,Fo)}function Oo(e){return Ts(e,At,ul)}var Io=Xr?function(e){return Xr.get(e)}:Qo;function ci(e){for(var t=e.name+"",o=Xn[t],s=qe.call(Xn,t)?o.length:0;s--;){var c=o[s],g=c.func;if(g==null||g==e)return c.name}return t}function er(e){var t=qe.call(p,"placeholder")?p:e;return t.placeholder}function he(){var e=p.iteratee||Xo;return e=e===Xo?Ls:e,arguments.length?e(arguments[0],arguments[1]):e}function fi(e,t){var o=e.__data__;return D1(t)?o[typeof t=="string"?"string":"hash"]:o.map}function Mo(e){for(var t=ft(e),o=t.length;o--;){var s=t[o],c=e[s];t[o]=[s,c,dl(c)]}return t}function In(e,t){var o=Hd(e,t);return Rs(o)?o:i}function M1(e){var t=qe.call(e,Tn),o=e[Tn];try{e[Tn]=i;var s=!0}catch{}var c=Nr.call(e);return s&&(t?e[Tn]=o:delete e[Tn]),c}var Fo=so?function(e){return e==null?[]:(e=Ge(e),gn(so(e),function(t){return gs.call(e,t)}))}:Jo,ul=so?function(e){for(var t=[];e;)mn(t,Fo(e)),e=Vr(e);return t}:Jo,gt=vt;(lo&>(new lo(new ArrayBuffer(1)))!=le||fr&>(new fr)!=N||uo&>(uo.resolve())!=ke||Kn&>(new Kn)!=Xe||dr&>(new dr)!=Re)&&(gt=function(e){var t=vt(e),o=t==be?e.constructor:i,s=o?Mn(o):"";if(s)switch(s){case m0:return le;case v0:return N;case y0:return ke;case b0:return Xe;case x0:return Re}return t});function F1(e,t,o){for(var s=-1,c=o.length;++s<c;){var g=o[s],_=g.size;switch(g.type){case"drop":e+=_;break;case"dropRight":t-=_;break;case"take":t=pt(t,e+_);break;case"takeRight":e=ut(e,t-_);break}}return{start:e,end:t}}function z1(e){var t=e.match(Nf);return t?t[1].split(Zf):[]}function cl(e,t,o){t=wn(t,e);for(var s=-1,c=t.length,g=!1;++s<c;){var _=tn(t[s]);if(!(g=e!=null&&o(e,_)))break;e=e[_]}return g||++s!=c?g:(c=e==null?0:e.length,!!c&&yi(c)&&ln(_,c)&&(_e(e)||Fn(e)))}function j1(e){var t=e.length,o=new e.constructor(t);return t&&typeof e[0]=="string"&&qe.call(e,"index")&&(o.index=e.index,o.input=e.input),o}function fl(e){return typeof e.constructor=="function"&&!wr(e)?Yn(Vr(e)):{}}function B1(e,t,o){var s=e.constructor;switch(t){case ce:return To(e);case ue:case xe:return new s(+e);case le:return w1(e,o);case De:case kt:case _t:case Ne:case me:case Ct:case An:case Nn:case Di:return qs(e,o);case N:return new s;case Q:case Je:return new s(e);case Qe:return _1(e);case Xe:return new s;case X:return C1(e)}}function P1(e,t){var o=t.length;if(!o)return e;var s=o-1;return t[s]=(o>1?"& ":"")+t[s],t=t.join(o>2?", ":" "),e.replace(Df,`{
|
|
9
9
|
/* [wrapped with `+t+`] */
|
|
10
|
-
`)}function bp(e){return we(e)||Qn(e)||!!(Ll&&e&&e[Ll])}function vn(e,t){var o=typeof e;return t=t??ee,!!t&&(o=="number"||o!="symbol"&&L0.test(e))&&e>-1&&e%1==0&&e<t}function xt(e,t,o){if(!Qe(o))return!1;var a=typeof t;return(a=="number"?$t(o)&&vn(t,o.length):a=="string"&&t in o)?nn(o[t],e):!1}function Os(e,t){if(we(e))return!1;var o=typeof e;return o=="number"||o=="symbol"||o=="boolean"||e==null||jt(e)?!0:m0.test(e)||!g0.test(e)||t!=null&&e in Ne(t)}function wp(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function Ms(e){var t=Ui(e),o=p[t];if(typeof o!="function"||!(t in Le.prototype))return!1;if(e===o)return!0;var a=Rs(o);return!!a&&e===a[0]}function xp(e){return!!$l&&$l in e}var _p=_i?yn:Ys;function qr(e){var t=e&&e.constructor,o=typeof t=="function"&&t.prototype||dr;return e===o}function $u(e){return e===e&&!Qe(e)}function ku(e,t){return function(o){return o==null?!1:o[e]===t&&(t!==i||e in Ne(o))}}function Cp(e){var t=Qi(e,function(a){return o.size===v&&o.clear(),a}),o=t.cache;return t}function Sp(e,t){var o=e[1],a=t[1],c=o|a,m=c<(R|O|V),b=a==V&&o==T||a==V&&o==J&&e[7].length<=t[8]||a==(V|J)&&t[7].length<=t[8]&&o==T;if(!(m||b))return e;a&R&&(e[2]=t[2],c|=o&R?0:k);var x=t[3];if(x){var $=e[3];e[3]=$?cu($,x,t[4]):x,e[4]=$?Rn(e[3],_):t[4]}return x=t[5],x&&($=e[5],e[5]=$?fu($,x,t[6]):x,e[6]=$?Rn(e[5],_):t[6]),x=t[7],x&&(e[7]=x),a&V&&(e[8]=e[8]==null?t[8]:vt(e[8],t[8])),e[9]==null&&(e[9]=t[9]),e[0]=t[0],e[1]=c,e}function Ep(e){var t=[];if(e!=null)for(var o in Ne(e))t.push(o);return t}function Ap(e){return Si.call(e)}function Tu(e,t,o){return t=lt(t===i?e.length-1:t,0),function(){for(var a=arguments,c=-1,m=lt(a.length-t,0),b=L(m);++c<m;)b[c]=a[t+c];c=-1;for(var x=L(t+1);++c<t;)x[c]=a[c];return x[t]=o(b),Mt(e,this,x)}}function Ru(e,t){return t.length<2?e:Kn(e,Ut(t,0,-1))}function $p(e,t){for(var o=e.length,a=vt(t.length,o),c=At(e);a--;){var m=t[a];e[a]=vn(m,o)?c[m]:i}return e}function Fs(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var Lu=Ou(eu),Gr=H1||function(e,t){return pt.setTimeout(e,t)},zs=Ou(Xh);function Iu(e,t,o){var a=t+"";return zs(e,yp(a,kp(gp(a),o)))}function Ou(e){var t=0,o=0;return function(){var a=U1(),c=z-(a-o);if(o=a,c>0){if(++t>=D)return arguments[0]}else t=0;return e.apply(i,arguments)}}function Gi(e,t){var o=-1,a=e.length,c=a-1;for(t=t===i?a:t;++o<t;){var m=ys(o,c),b=e[m];e[m]=e[o],e[o]=b}return e.length=t,e}var Mu=Cp(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(v0,function(o,a,c,m){t.push(c?m.replace(E0,"$1"):a||o)}),t});function un(e){if(typeof e=="string"||jt(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function Yn(e){if(e!=null){try{return Ci.call(e)}catch{}try{return e+""}catch{}}return""}function kp(e,t){return Ht(Ge,function(o){var a="_."+o[0];t&o[1]&&!yi(e,a)&&e.push(a)}),e.sort()}function Fu(e){if(e instanceof Le)return e.clone();var t=new Nt(e.__wrapped__,e.__chain__);return t.__actions__=At(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function Tp(e,t,o){(o?xt(e,t,o):t===i)?t=1:t=lt(Ee(t),0);var a=e==null?0:e.length;if(!a||t<1)return[];for(var c=0,m=0,b=L(Ri(a/t));c<a;)b[m++]=Ut(e,c,c+=t);return b}function Rp(e){for(var t=-1,o=e==null?0:e.length,a=0,c=[];++t<o;){var m=e[t];m&&(c[a++]=m)}return c}function Lp(){var e=arguments.length;if(!e)return[];for(var t=L(e-1),o=arguments[0],a=e;a--;)t[a-1]=arguments[a];return Tn(we(o)?At(o):[o],gt(t,1))}var Ip=ke(function(e,t){return nt(e)?Hr(e,gt(t,1,nt,!0)):[]}),Op=ke(function(e,t){var o=qt(t);return nt(o)&&(o=i),nt(e)?Hr(e,gt(t,1,nt,!0),ge(o,2)):[]}),Mp=ke(function(e,t){var o=qt(t);return nt(o)&&(o=i),nt(e)?Hr(e,gt(t,1,nt,!0),i,o):[]});function Fp(e,t,o){var a=e==null?0:e.length;return a?(t=o||t===i?1:Ee(t),Ut(e,t<0?0:t,a)):[]}function zp(e,t,o){var a=e==null?0:e.length;return a?(t=o||t===i?1:Ee(t),t=a-t,Ut(e,0,t<0?0:t)):[]}function jp(e,t){return e&&e.length?Wi(e,ge(t,3),!0,!0):[]}function Bp(e,t){return e&&e.length?Wi(e,ge(t,3),!0):[]}function Pp(e,t,o,a){var c=e==null?0:e.length;return c?(o&&typeof o!="number"&&xt(e,t,o)&&(o=0,a=c),Lh(e,t,o,a)):[]}function zu(e,t,o){var a=e==null?0:e.length;if(!a)return-1;var c=o==null?0:Ee(o);return c<0&&(c=lt(a+c,0)),bi(e,ge(t,3),c)}function ju(e,t,o){var a=e==null?0:e.length;if(!a)return-1;var c=a-1;return o!==i&&(c=Ee(o),c=o<0?lt(a+c,0):vt(c,a-1)),bi(e,ge(t,3),c,!0)}function Bu(e){var t=e==null?0:e.length;return t?gt(e,1):[]}function Wp(e){var t=e==null?0:e.length;return t?gt(e,ne):[]}function Dp(e,t){var o=e==null?0:e.length;return o?(t=t===i?1:Ee(t),gt(e,t)):[]}function Hp(e){for(var t=-1,o=e==null?0:e.length,a={};++t<o;){var c=e[t];a[c[0]]=c[1]}return a}function Pu(e){return e&&e.length?e[0]:i}function Zp(e,t,o){var a=e==null?0:e.length;if(!a)return-1;var c=o==null?0:Ee(o);return c<0&&(c=lt(a+c,0)),lr(e,t,c)}function Np(e){var t=e==null?0:e.length;return t?Ut(e,0,-1):[]}var Vp=ke(function(e){var t=Xe(e,Cs);return t.length&&t[0]===e[0]?hs(t):[]}),Up=ke(function(e){var t=qt(e),o=Xe(e,Cs);return t===qt(o)?t=i:o.pop(),o.length&&o[0]===e[0]?hs(o,ge(t,2)):[]}),qp=ke(function(e){var t=qt(e),o=Xe(e,Cs);return t=typeof t=="function"?t:i,t&&o.pop(),o.length&&o[0]===e[0]?hs(o,i,t):[]});function Gp(e,t){return e==null?"":N1.call(e,t)}function qt(e){var t=e==null?0:e.length;return t?e[t-1]:i}function Kp(e,t,o){var a=e==null?0:e.length;if(!a)return-1;var c=a;return o!==i&&(c=Ee(o),c=c<0?lt(a+c,0):vt(c,a-1)),t===t?k1(e,t,c):bi(e,bl,c,!0)}function Xp(e,t){return e&&e.length?Xl(e,Ee(t)):i}var Yp=ke(Wu);function Wu(e,t){return e&&e.length&&t&&t.length?vs(e,t):e}function Qp(e,t,o){return e&&e.length&&t&&t.length?vs(e,t,ge(o,2)):e}function Jp(e,t,o){return e&&e.length&&t&&t.length?vs(e,t,i,o):e}var eg=mn(function(e,t){var o=e==null?0:e.length,a=us(e,t);return Jl(e,Xe(t,function(c){return vn(c,o)?+c:c}).sort(uu)),a});function tg(e,t){var o=[];if(!(e&&e.length))return o;var a=-1,c=[],m=e.length;for(t=ge(t,3);++a<m;){var b=e[a];t(b,a,e)&&(o.push(b),c.push(a))}return Jl(e,c),o}function js(e){return e==null?e:G1.call(e)}function ng(e,t,o){var a=e==null?0:e.length;return a?(o&&typeof o!="number"&&xt(e,t,o)?(t=0,o=a):(t=t==null?0:Ee(t),o=o===i?a:Ee(o)),Ut(e,t,o)):[]}function rg(e,t){return Pi(e,t)}function ig(e,t,o){return ws(e,t,ge(o,2))}function og(e,t){var o=e==null?0:e.length;if(o){var a=Pi(e,t);if(a<o&&nn(e[a],t))return a}return-1}function sg(e,t){return Pi(e,t,!0)}function ag(e,t,o){return ws(e,t,ge(o,2),!0)}function lg(e,t){var o=e==null?0:e.length;if(o){var a=Pi(e,t,!0)-1;if(nn(e[a],t))return a}return-1}function ug(e){return e&&e.length?tu(e):[]}function cg(e,t){return e&&e.length?tu(e,ge(t,2)):[]}function fg(e){var t=e==null?0:e.length;return t?Ut(e,1,t):[]}function dg(e,t,o){return e&&e.length?(t=o||t===i?1:Ee(t),Ut(e,0,t<0?0:t)):[]}function hg(e,t,o){var a=e==null?0:e.length;return a?(t=o||t===i?1:Ee(t),t=a-t,Ut(e,t<0?0:t,a)):[]}function pg(e,t){return e&&e.length?Wi(e,ge(t,3),!1,!0):[]}function gg(e,t){return e&&e.length?Wi(e,ge(t,3)):[]}var mg=ke(function(e){return On(gt(e,1,nt,!0))}),vg=ke(function(e){var t=qt(e);return nt(t)&&(t=i),On(gt(e,1,nt,!0),ge(t,2))}),yg=ke(function(e){var t=qt(e);return t=typeof t=="function"?t:i,On(gt(e,1,nt,!0),i,t)});function bg(e){return e&&e.length?On(e):[]}function wg(e,t){return e&&e.length?On(e,ge(t,2)):[]}function xg(e,t){return t=typeof t=="function"?t:i,e&&e.length?On(e,i,t):[]}function Bs(e){if(!(e&&e.length))return[];var t=0;return e=kn(e,function(o){if(nt(o))return t=lt(o.length,t),!0}),ts(t,function(o){return Xe(e,Qo(o))})}function Du(e,t){if(!(e&&e.length))return[];var o=Bs(e);return t==null?o:Xe(o,function(a){return Mt(t,i,a)})}var _g=ke(function(e,t){return nt(e)?Hr(e,t):[]}),Cg=ke(function(e){return _s(kn(e,nt))}),Sg=ke(function(e){var t=qt(e);return nt(t)&&(t=i),_s(kn(e,nt),ge(t,2))}),Eg=ke(function(e){var t=qt(e);return t=typeof t=="function"?t:i,_s(kn(e,nt),i,t)}),Ag=ke(Bs);function $g(e,t){return ou(e||[],t||[],Dr)}function kg(e,t){return ou(e||[],t||[],Vr)}var Tg=ke(function(e){var t=e.length,o=t>1?e[t-1]:i;return o=typeof o=="function"?(e.pop(),o):i,Du(e,o)});function Hu(e){var t=p(e);return t.__chain__=!0,t}function Rg(e,t){return t(e),e}function Ki(e,t){return t(e)}var Lg=mn(function(e){var t=e.length,o=t?e[0]:0,a=this.__wrapped__,c=function(m){return us(m,e)};return t>1||this.__actions__.length||!(a instanceof Le)||!vn(o)?this.thru(c):(a=a.slice(o,+o+(t?1:0)),a.__actions__.push({func:Ki,args:[c],thisArg:i}),new Nt(a,this.__chain__).thru(function(m){return t&&!m.length&&m.push(i),m}))});function Ig(){return Hu(this)}function Og(){return new Nt(this.value(),this.__chain__)}function Mg(){this.__values__===i&&(this.__values__=nc(this.value()));var e=this.__index__>=this.__values__.length,t=e?i:this.__values__[this.__index__++];return{done:e,value:t}}function Fg(){return this}function zg(e){for(var t,o=this;o instanceof Mi;){var a=Fu(o);a.__index__=0,a.__values__=i,t?c.__wrapped__=a:t=a;var c=a;o=o.__wrapped__}return c.__wrapped__=e,t}function jg(){var e=this.__wrapped__;if(e instanceof Le){var t=e;return this.__actions__.length&&(t=new Le(this)),t=t.reverse(),t.__actions__.push({func:Ki,args:[js],thisArg:i}),new Nt(t,this.__chain__)}return this.thru(js)}function Bg(){return iu(this.__wrapped__,this.__actions__)}var Pg=Di(function(e,t,o){We.call(e,o)?++e[o]:pn(e,o,1)});function Wg(e,t,o){var a=we(e)?vl:Rh;return o&&xt(e,t,o)&&(t=i),a(e,ge(t,3))}function Dg(e,t){var o=we(e)?kn:Dl;return o(e,ge(t,3))}var Hg=gu(zu),Zg=gu(ju);function Ng(e,t){return gt(Xi(e,t),1)}function Vg(e,t){return gt(Xi(e,t),ne)}function Ug(e,t,o){return o=o===i?1:Ee(o),gt(Xi(e,t),o)}function Zu(e,t){var o=we(e)?Ht:In;return o(e,ge(t,3))}function Nu(e,t){var o=we(e)?f1:Wl;return o(e,ge(t,3))}var qg=Di(function(e,t,o){We.call(e,o)?e[o].push(t):pn(e,o,[t])});function Gg(e,t,o,a){e=$t(e)?e:wr(e),o=o&&!a?Ee(o):0;var c=e.length;return o<0&&(o=lt(c+o,0)),to(e)?o<=c&&e.indexOf(t,o)>-1:!!c&&lr(e,t,o)>-1}var Kg=ke(function(e,t,o){var a=-1,c=typeof t=="function",m=$t(e)?L(e.length):[];return In(e,function(b){m[++a]=c?Mt(t,b,o):Zr(b,t,o)}),m}),Xg=Di(function(e,t,o){pn(e,o,t)});function Xi(e,t){var o=we(e)?Xe:ql;return o(e,ge(t,3))}function Yg(e,t,o,a){return e==null?[]:(we(t)||(t=t==null?[]:[t]),o=a?i:o,we(o)||(o=o==null?[]:[o]),Yl(e,t,o))}var Qg=Di(function(e,t,o){e[o?0:1].push(t)},function(){return[[],[]]});function Jg(e,t,o){var a=we(e)?Xo:xl,c=arguments.length<3;return a(e,ge(t,4),o,c,In)}function em(e,t,o){var a=we(e)?d1:xl,c=arguments.length<3;return a(e,ge(t,4),o,c,Wl)}function tm(e,t){var o=we(e)?kn:Dl;return o(e,Ji(ge(t,3)))}function nm(e){var t=we(e)?zl:Gh;return t(e)}function rm(e,t,o){(o?xt(e,t,o):t===i)?t=1:t=Ee(t);var a=we(e)?Eh:Kh;return a(e,t)}function im(e){var t=we(e)?Ah:Yh;return t(e)}function om(e){if(e==null)return 0;if($t(e))return to(e)?cr(e):e.length;var t=yt(e);return t==le||t==ft?e.size:gs(e).length}function sm(e,t,o){var a=we(e)?Yo:Qh;return o&&xt(e,t,o)&&(t=i),a(e,ge(t,3))}var am=ke(function(e,t){if(e==null)return[];var o=t.length;return o>1&&xt(e,t[0],t[1])?t=[]:o>2&&xt(t[0],t[1],t[2])&&(t=[t[0]]),Yl(e,gt(t,1),[])}),Yi=D1||function(){return pt.Date.now()};function lm(e,t){if(typeof t!="function")throw new Zt(f);return e=Ee(e),function(){if(--e<1)return t.apply(this,arguments)}}function Vu(e,t,o){return t=o?i:t,t=e&&t==null?e.length:t,gn(e,V,i,i,i,i,t)}function Uu(e,t){var o;if(typeof t!="function")throw new Zt(f);return e=Ee(e),function(){return--e>0&&(o=t.apply(this,arguments)),e<=1&&(t=i),o}}var Ps=ke(function(e,t,o){var a=R;if(o.length){var c=Rn(o,yr(Ps));a|=W}return gn(e,a,t,o,c)}),qu=ke(function(e,t,o){var a=R|O;if(o.length){var c=Rn(o,yr(qu));a|=W}return gn(t,a,e,o,c)});function Gu(e,t,o){t=o?i:t;var a=gn(e,T,i,i,i,i,i,t);return a.placeholder=Gu.placeholder,a}function Ku(e,t,o){t=o?i:t;var a=gn(e,F,i,i,i,i,i,t);return a.placeholder=Ku.placeholder,a}function Xu(e,t,o){var a,c,m,b,x,$,B=0,P=!1,N=!1,ie=!0;if(typeof e!="function")throw new Zt(f);t=Gt(t)||0,Qe(o)&&(P=!!o.leading,N="maxWait"in o,m=N?lt(Gt(o.maxWait)||0,t):m,ie="trailing"in o?!!o.trailing:ie);function fe(rt){var rn=a,wn=c;return a=c=i,B=rt,b=e.apply(wn,rn),b}function ve(rt){return B=rt,x=Gr(Re,t),P?fe(rt):b}function $e(rt){var rn=rt-$,wn=rt-B,gc=t-rn;return N?vt(gc,m-wn):gc}function ye(rt){var rn=rt-$,wn=rt-B;return $===i||rn>=t||rn<0||N&&wn>=m}function Re(){var rt=Yi();if(ye(rt))return Ie(rt);x=Gr(Re,$e(rt))}function Ie(rt){return x=i,ie&&a?fe(rt):(a=c=i,b)}function Bt(){x!==i&&su(x),B=0,a=$=c=x=i}function _t(){return x===i?b:Ie(Yi())}function Pt(){var rt=Yi(),rn=ye(rt);if(a=arguments,c=this,$=rt,rn){if(x===i)return ve($);if(N)return su(x),x=Gr(Re,t),fe($)}return x===i&&(x=Gr(Re,t)),b}return Pt.cancel=Bt,Pt.flush=_t,Pt}var um=ke(function(e,t){return Pl(e,1,t)}),cm=ke(function(e,t,o){return Pl(e,Gt(t)||0,o)});function fm(e){return gn(e,me)}function Qi(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new Zt(f);var o=function(){var a=arguments,c=t?t.apply(this,a):a[0],m=o.cache;if(m.has(c))return m.get(c);var b=e.apply(this,a);return o.cache=m.set(c,b)||m,b};return o.cache=new(Qi.Cache||hn),o}Qi.Cache=hn;function Ji(e){if(typeof e!="function")throw new Zt(f);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function dm(e){return Uu(2,e)}var hm=Jh(function(e,t){t=t.length==1&&we(t[0])?Xe(t[0],Ft(ge())):Xe(gt(t,1),Ft(ge()));var o=t.length;return ke(function(a){for(var c=-1,m=vt(a.length,o);++c<m;)a[c]=t[c].call(this,a[c]);return Mt(e,this,a)})}),Ws=ke(function(e,t){var o=Rn(t,yr(Ws));return gn(e,W,i,t,o)}),Yu=ke(function(e,t){var o=Rn(t,yr(Yu));return gn(e,q,i,t,o)}),pm=mn(function(e,t){return gn(e,J,i,i,i,t)});function gm(e,t){if(typeof e!="function")throw new Zt(f);return t=t===i?t:Ee(t),ke(e,t)}function mm(e,t){if(typeof e!="function")throw new Zt(f);return t=t==null?0:lt(Ee(t),0),ke(function(o){var a=o[t],c=Fn(o,0,t);return a&&Tn(c,a),Mt(e,this,c)})}function vm(e,t,o){var a=!0,c=!0;if(typeof e!="function")throw new Zt(f);return Qe(o)&&(a="leading"in o?!!o.leading:a,c="trailing"in o?!!o.trailing:c),Xu(e,t,{leading:a,maxWait:t,trailing:c})}function ym(e){return Vu(e,1)}function bm(e,t){return Ws(Ss(t),e)}function wm(){if(!arguments.length)return[];var e=arguments[0];return we(e)?e:[e]}function xm(e){return Vt(e,w)}function _m(e,t){return t=typeof t=="function"?t:i,Vt(e,w,t)}function Cm(e){return Vt(e,S|w)}function Sm(e,t){return t=typeof t=="function"?t:i,Vt(e,S|w,t)}function Em(e,t){return t==null||Bl(e,t,dt(t))}function nn(e,t){return e===t||e!==e&&t!==t}var Am=Vi(ds),$m=Vi(function(e,t){return e>=t}),Qn=Nl(function(){return arguments}())?Nl:function(e){return et(e)&&We.call(e,"callee")&&!Rl.call(e,"callee")},we=L.isArray,km=fl?Ft(fl):zh;function $t(e){return e!=null&&eo(e.length)&&!yn(e)}function nt(e){return et(e)&&$t(e)}function Tm(e){return e===!0||e===!1||et(e)&&wt(e)==Z}var zn=Z1||Ys,Rm=dl?Ft(dl):jh;function Lm(e){return et(e)&&e.nodeType===1&&!Kr(e)}function Im(e){if(e==null)return!0;if($t(e)&&(we(e)||typeof e=="string"||typeof e.splice=="function"||zn(e)||br(e)||Qn(e)))return!e.length;var t=yt(e);if(t==le||t==ft)return!e.size;if(qr(e))return!gs(e).length;for(var o in e)if(We.call(e,o))return!1;return!0}function Om(e,t){return Nr(e,t)}function Mm(e,t,o){o=typeof o=="function"?o:i;var a=o?o(e,t):i;return a===i?Nr(e,t,i,o):!!a}function Ds(e){if(!et(e))return!1;var t=wt(e);return t==he||t==de||typeof e.message=="string"&&typeof e.name=="string"&&!Kr(e)}function Fm(e){return typeof e=="number"&&Il(e)}function yn(e){if(!Qe(e))return!1;var t=wt(e);return t==K||t==se||t==it||t==Et}function Qu(e){return typeof e=="number"&&e==Ee(e)}function eo(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=ee}function Qe(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function et(e){return e!=null&&typeof e=="object"}var Ju=hl?Ft(hl):Ph;function zm(e,t){return e===t||ps(e,t,Ls(t))}function jm(e,t,o){return o=typeof o=="function"?o:i,ps(e,t,Ls(t),o)}function Bm(e){return ec(e)&&e!=+e}function Pm(e){if(_p(e))throw new be(u);return Vl(e)}function Wm(e){return e===null}function Dm(e){return e==null}function ec(e){return typeof e=="number"||et(e)&&wt(e)==Pe}function Kr(e){if(!et(e)||wt(e)!=De)return!1;var t=$i(e);if(t===null)return!0;var o=We.call(t,"constructor")&&t.constructor;return typeof o=="function"&&o instanceof o&&Ci.call(o)==j1}var Hs=pl?Ft(pl):Wh;function Hm(e){return Qu(e)&&e>=-9007199254740991&&e<=ee}var tc=gl?Ft(gl):Dh;function to(e){return typeof e=="string"||!we(e)&&et(e)&&wt(e)==mt}function jt(e){return typeof e=="symbol"||et(e)&&wt(e)==oe}var br=ml?Ft(ml):Hh;function Zm(e){return e===i}function Nm(e){return et(e)&&yt(e)==Fe}function Vm(e){return et(e)&&wt(e)==Ye}var Um=Vi(ms),qm=Vi(function(e,t){return e<=t});function nc(e){if(!e)return[];if($t(e))return to(e)?en(e):At(e);if(zr&&e[zr])return E1(e[zr]());var t=yt(e),o=t==le?rs:t==ft?wi:wr;return o(e)}function bn(e){if(!e)return e===0?e:0;if(e=Gt(e),e===ne||e===-1/0){var t=e<0?-1:1;return t*pe}return e===e?e:0}function Ee(e){var t=bn(e),o=t%1;return t===t?o?t-o:t:0}function rc(e){return e?Gn(Ee(e),0,Ce):0}function Gt(e){if(typeof e=="number")return e;if(jt(e))return Me;if(Qe(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Qe(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=_l(e);var o=k0.test(e);return o||R0.test(e)?l1(e.slice(2),o?2:8):$0.test(e)?Me:+e}function ic(e){return ln(e,kt(e))}function Gm(e){return e?Gn(Ee(e),-9007199254740991,ee):e===0?e:0}function Be(e){return e==null?"":zt(e)}var Km=mr(function(e,t){if(qr(t)||$t(t)){ln(t,dt(t),e);return}for(var o in t)We.call(t,o)&&Dr(e,o,t[o])}),oc=mr(function(e,t){ln(t,kt(t),e)}),no=mr(function(e,t,o,a){ln(t,kt(t),e,a)}),Xm=mr(function(e,t,o,a){ln(t,dt(t),e,a)}),Ym=mn(us);function Qm(e,t){var o=gr(e);return t==null?o:jl(o,t)}var Jm=ke(function(e,t){e=Ne(e);var o=-1,a=t.length,c=a>2?t[2]:i;for(c&&xt(t[0],t[1],c)&&(a=1);++o<a;)for(var m=t[o],b=kt(m),x=-1,$=b.length;++x<$;){var B=b[x],P=e[B];(P===i||nn(P,dr[B])&&!We.call(e,B))&&(e[B]=m[B])}return e}),e2=ke(function(e){return e.push(i,_u),Mt(sc,i,e)});function t2(e,t){return yl(e,ge(t,3),an)}function n2(e,t){return yl(e,ge(t,3),fs)}function r2(e,t){return e==null?e:cs(e,ge(t,3),kt)}function i2(e,t){return e==null?e:Hl(e,ge(t,3),kt)}function o2(e,t){return e&&an(e,ge(t,3))}function s2(e,t){return e&&fs(e,ge(t,3))}function a2(e){return e==null?[]:ji(e,dt(e))}function l2(e){return e==null?[]:ji(e,kt(e))}function Zs(e,t,o){var a=e==null?i:Kn(e,t);return a===i?o:a}function u2(e,t){return e!=null&&Eu(e,t,Ih)}function Ns(e,t){return e!=null&&Eu(e,t,Oh)}var c2=vu(function(e,t,o){t!=null&&typeof t.toString!="function"&&(t=Si.call(t)),e[t]=o},Us(Tt)),f2=vu(function(e,t,o){t!=null&&typeof t.toString!="function"&&(t=Si.call(t)),We.call(e,t)?e[t].push(o):e[t]=[o]},ge),d2=ke(Zr);function dt(e){return $t(e)?Fl(e):gs(e)}function kt(e){return $t(e)?Fl(e,!0):Zh(e)}function h2(e,t){var o={};return t=ge(t,3),an(e,function(a,c,m){pn(o,t(a,c,m),a)}),o}function p2(e,t){var o={};return t=ge(t,3),an(e,function(a,c,m){pn(o,c,t(a,c,m))}),o}var g2=mr(function(e,t,o){Bi(e,t,o)}),sc=mr(function(e,t,o,a){Bi(e,t,o,a)}),m2=mn(function(e,t){var o={};if(e==null)return o;var a=!1;t=Xe(t,function(m){return m=Mn(m,e),a||(a=m.length>1),m}),ln(e,Ts(e),o),a&&(o=Vt(o,S|E|w,cp));for(var c=t.length;c--;)xs(o,t[c]);return o});function v2(e,t){return ac(e,Ji(ge(t)))}var y2=mn(function(e,t){return e==null?{}:Vh(e,t)});function ac(e,t){if(e==null)return{};var o=Xe(Ts(e),function(a){return[a]});return t=ge(t),Ql(e,o,function(a,c){return t(a,c[0])})}function b2(e,t,o){t=Mn(t,e);var a=-1,c=t.length;for(c||(c=1,e=i);++a<c;){var m=e==null?i:e[un(t[a])];m===i&&(a=c,m=o),e=yn(m)?m.call(e):m}return e}function w2(e,t,o){return e==null?e:Vr(e,t,o)}function x2(e,t,o,a){return a=typeof a=="function"?a:i,e==null?e:Vr(e,t,o,a)}var lc=wu(dt),uc=wu(kt);function _2(e,t,o){var a=we(e),c=a||zn(e)||br(e);if(t=ge(t,4),o==null){var m=e&&e.constructor;c?o=a?new m:[]:Qe(e)?o=yn(m)?gr($i(e)):{}:o={}}return(c?Ht:an)(e,function(b,x,$){return t(o,b,x,$)}),o}function C2(e,t){return e==null?!0:xs(e,t)}function S2(e,t,o){return e==null?e:ru(e,t,Ss(o))}function E2(e,t,o,a){return a=typeof a=="function"?a:i,e==null?e:ru(e,t,Ss(o),a)}function wr(e){return e==null?[]:ns(e,dt(e))}function A2(e){return e==null?[]:ns(e,kt(e))}function $2(e,t,o){return o===i&&(o=t,t=i),o!==i&&(o=Gt(o),o=o===o?o:0),t!==i&&(t=Gt(t),t=t===t?t:0),Gn(Gt(e),t,o)}function k2(e,t,o){return t=bn(t),o===i?(o=t,t=0):o=bn(o),e=Gt(e),Mh(e,t,o)}function T2(e,t,o){if(o&&typeof o!="boolean"&&xt(e,t,o)&&(t=o=i),o===i&&(typeof t=="boolean"?(o=t,t=i):typeof e=="boolean"&&(o=e,e=i)),e===i&&t===i?(e=0,t=1):(e=bn(e),t===i?(t=e,e=0):t=bn(t)),e>t){var a=e;e=t,t=a}if(o||e%1||t%1){var c=Ol();return vt(e+c*(t-e+a1("1e-"+((c+"").length-1))),t)}return ys(e,t)}var R2=vr(function(e,t,o){return t=t.toLowerCase(),e+(o?cc(t):t)});function cc(e){return Vs(Be(e).toLowerCase())}function fc(e){return e=Be(e),e&&e.replace(I0,w1).replace(Y0,"")}function L2(e,t,o){e=Be(e),t=zt(t);var a=e.length;o=o===i?a:Gn(Ee(o),0,a);var c=o;return o-=t.length,o>=0&&e.slice(o,c)==t}function I2(e){return e=Be(e),e&&d0.test(e)?e.replace(Ha,x1):e}function O2(e){return e=Be(e),e&&y0.test(e)?e.replace(Wo,"\\$&"):e}var M2=vr(function(e,t,o){return e+(o?"-":"")+t.toLowerCase()}),F2=vr(function(e,t,o){return e+(o?" ":"")+t.toLowerCase()}),z2=pu("toLowerCase");function j2(e,t,o){e=Be(e),t=Ee(t);var a=t?cr(e):0;if(!t||a>=t)return e;var c=(t-a)/2;return Ni(Li(c),o)+e+Ni(Ri(c),o)}function B2(e,t,o){e=Be(e),t=Ee(t);var a=t?cr(e):0;return t&&a<t?e+Ni(t-a,o):e}function P2(e,t,o){e=Be(e),t=Ee(t);var a=t?cr(e):0;return t&&a<t?Ni(t-a,o)+e:e}function W2(e,t,o){return o||t==null?t=0:t&&(t=+t),q1(Be(e).replace(Do,""),t||0)}function D2(e,t,o){return(o?xt(e,t,o):t===i)?t=1:t=Ee(t),bs(Be(e),t)}function H2(){var e=arguments,t=Be(e[0]);return e.length<3?t:t.replace(e[1],e[2])}var Z2=vr(function(e,t,o){return e+(o?"_":"")+t.toLowerCase()});function N2(e,t,o){return o&&typeof o!="number"&&xt(e,t,o)&&(t=o=i),o=o===i?Ce:o>>>0,o?(e=Be(e),e&&(typeof t=="string"||t!=null&&!Hs(t))&&(t=zt(t),!t&&ur(e))?Fn(en(e),0,o):e.split(t,o)):[]}var V2=vr(function(e,t,o){return e+(o?" ":"")+Vs(t)});function U2(e,t,o){return e=Be(e),o=o==null?0:Gn(Ee(o),0,e.length),t=zt(t),e.slice(o,o+t.length)==t}function q2(e,t,o){var a=p.templateSettings;o&&xt(e,t,o)&&(t=i),e=Be(e),t=no({},t,a,xu);var c=no({},t.imports,a.imports,xu),m=dt(c),b=ns(c,m),x,$,B=0,P=t.interpolate||gi,N="__p += '",ie=is((t.escape||gi).source+"|"+P.source+"|"+(P===Za?A0:gi).source+"|"+(t.evaluate||gi).source+"|$","g"),fe="//# sourceURL="+(We.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++n1+"]")+`
|
|
11
|
-
`;e.replace(
|
|
12
|
-
__e(`+
|
|
13
|
-
'`),
|
|
14
|
-
`+
|
|
15
|
-
__p += '`),
|
|
16
|
-
((__t = (`+
|
|
17
|
-
'`),B=
|
|
18
|
-
`;var
|
|
19
|
-
`+
|
|
10
|
+
`)}function W1(e){return _e(e)||Fn(e)||!!(ms&&e&&e[ms])}function ln(e,t){var o=typeof e;return t=t??K,!!t&&(o=="number"||o!="symbol"&&Qf.test(e))&&e>-1&&e%1==0&&e<t}function yt(e,t,o){if(!nt(o))return!1;var s=typeof t;return(s=="number"?Et(o)&&ln(t,o.length):s=="string"&&t in o)?Xt(o[t],e):!1}function zo(e,t){if(_e(e))return!1;var o=typeof e;return o=="number"||o=="symbol"||o=="boolean"||e==null||It(e)?!0:jf.test(e)||!zf.test(e)||t!=null&&e in Ge(t)}function D1(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function jo(e){var t=ci(e),o=p[t];if(typeof o!="function"||!(t in Be.prototype))return!1;if(e===o)return!0;var s=Io(o);return!!s&&e===s[0]}function N1(e){return!!ds&&ds in e}var Z1=Wr?un:ea;function wr(e){var t=e&&e.constructor,o=typeof t=="function"&&t.prototype||Gn;return e===o}function dl(e){return e===e&&!nt(e)}function hl(e,t){return function(o){return o==null?!1:o[e]===t&&(t!==i||e in Ge(o))}}function H1(e){var t=mi(e,function(s){return o.size===v&&o.clear(),s}),o=t.cache;return t}function V1(e,t){var o=e[1],s=t[1],c=o|s,g=c<(C|I|Z),_=s==Z&&o==A||s==Z&&o==q&&e[7].length<=t[8]||s==(Z|q)&&t[7].length<=t[8]&&o==A;if(!(g||_))return e;s&C&&(e[2]=t[2],c|=o&C?0:L);var E=t[3];if(E){var R=e[3];e[3]=R?Ks(R,E,t[4]):E,e[4]=R?vn(e[3],$):t[4]}return E=t[5],E&&(R=e[5],e[5]=R?Xs(R,E,t[6]):E,e[6]=R?vn(e[5],$):t[6]),E=t[7],E&&(e[7]=E),s&Z&&(e[8]=e[8]==null?t[8]:pt(e[8],t[8])),e[9]==null&&(e[9]=t[9]),e[0]=t[0],e[1]=c,e}function U1(e){var t=[];if(e!=null)for(var o in Ge(e))t.push(o);return t}function q1(e){return Nr.call(e)}function pl(e,t,o){return t=ut(t===i?e.length-1:t,0),function(){for(var s=arguments,c=-1,g=ut(s.length-t,0),_=M(g);++c<g;)_[c]=s[t+c];c=-1;for(var E=M(t+1);++c<t;)E[c]=s[c];return E[t]=o(_),Rt(e,this,E)}}function gl(e,t){return t.length<2?e:On(e,Nt(t,0,-1))}function G1(e,t){for(var o=e.length,s=pt(t.length,o),c=St(e);s--;){var g=t[s];e[s]=ln(g,o)?c[g]:i}return e}function Bo(e,t){if(!(t==="constructor"&&typeof e[t]=="function")&&t!="__proto__")return e[t]}var ml=yl(Ps),_r=u0||function(e,t){return dt.setTimeout(e,t)},Po=yl(v1);function vl(e,t,o){var s=t+"";return Po(e,P1(s,K1(z1(s),o)))}function yl(e){var t=0,o=0;return function(){var s=h0(),c=z-(s-o);if(o=s,c>0){if(++t>=D)return arguments[0]}else t=0;return e.apply(i,arguments)}}function di(e,t){var o=-1,s=e.length,c=s-1;for(t=t===i?s:t;++o<t;){var g=wo(o,c),_=e[g];e[g]=e[o],e[o]=_}return e.length=t,e}var bl=H1(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(Bf,function(o,s,c,g){t.push(c?g.replace(Uf,"$1"):s||o)}),t});function tn(e){if(typeof e=="string"||It(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function Mn(e){if(e!=null){try{return Dr.call(e)}catch{}try{return e+""}catch{}}return""}function K1(e,t){return Bt(Ue,function(o){var s="_."+o[0];t&o[1]&&!zr(e,s)&&e.push(s)}),e.sort()}function xl(e){if(e instanceof Be)return e.clone();var t=new Wt(e.__wrapped__,e.__chain__);return t.__actions__=St(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}function X1(e,t,o){(o?yt(e,t,o):t===i)?t=1:t=ut(Ae(t),0);var s=e==null?0:e.length;if(!s||t<1)return[];for(var c=0,g=0,_=M(Gr(s/t));c<s;)_[g++]=Nt(e,c,c+=t);return _}function Y1(e){for(var t=-1,o=e==null?0:e.length,s=0,c=[];++t<o;){var g=e[t];g&&(c[s++]=g)}return c}function Q1(){var e=arguments.length;if(!e)return[];for(var t=M(e-1),o=arguments[0],s=e;s--;)t[s-1]=arguments[s];return mn(_e(o)?St(o):[o],ht(t,1))}var J1=Le(function(e,t){return at(e)?mr(e,ht(t,1,at,!0)):[]}),eh=Le(function(e,t){var o=Zt(t);return at(o)&&(o=i),at(e)?mr(e,ht(t,1,at,!0),he(o,2)):[]}),th=Le(function(e,t){var o=Zt(t);return at(o)&&(o=i),at(e)?mr(e,ht(t,1,at,!0),i,o):[]});function nh(e,t,o){var s=e==null?0:e.length;return s?(t=o||t===i?1:Ae(t),Nt(e,t<0?0:t,s)):[]}function rh(e,t,o){var s=e==null?0:e.length;return s?(t=o||t===i?1:Ae(t),t=s-t,Nt(e,0,t<0?0:t)):[]}function ih(e,t){return e&&e.length?ii(e,he(t,3),!0,!0):[]}function oh(e,t){return e&&e.length?ii(e,he(t,3),!0):[]}function ah(e,t,o,s){var c=e==null?0:e.length;return c?(o&&typeof o!="number"&&yt(e,t,o)&&(o=0,s=c),Q0(e,t,o,s)):[]}function wl(e,t,o){var s=e==null?0:e.length;if(!s)return-1;var c=o==null?0:Ae(o);return c<0&&(c=ut(s+c,0)),jr(e,he(t,3),c)}function _l(e,t,o){var s=e==null?0:e.length;if(!s)return-1;var c=s-1;return o!==i&&(c=Ae(o),c=o<0?ut(s+c,0):pt(c,s-1)),jr(e,he(t,3),c,!0)}function Cl(e){var t=e==null?0:e.length;return t?ht(e,1):[]}function sh(e){var t=e==null?0:e.length;return t?ht(e,ee):[]}function lh(e,t){var o=e==null?0:e.length;return o?(t=t===i?1:Ae(t),ht(e,t)):[]}function uh(e){for(var t=-1,o=e==null?0:e.length,s={};++t<o;){var c=e[t];s[c[0]]=c[1]}return s}function Sl(e){return e&&e.length?e[0]:i}function ch(e,t,o){var s=e==null?0:e.length;if(!s)return-1;var c=o==null?0:Ae(o);return c<0&&(c=ut(s+c,0)),Hn(e,t,c)}function fh(e){var t=e==null?0:e.length;return t?Nt(e,0,-1):[]}var dh=Le(function(e){var t=tt(e,Ao);return t.length&&t[0]===e[0]?mo(t):[]}),hh=Le(function(e){var t=Zt(e),o=tt(e,Ao);return t===Zt(o)?t=i:o.pop(),o.length&&o[0]===e[0]?mo(o,he(t,2)):[]}),ph=Le(function(e){var t=Zt(e),o=tt(e,Ao);return t=typeof t=="function"?t:i,t&&o.pop(),o.length&&o[0]===e[0]?mo(o,i,t):[]});function gh(e,t){return e==null?"":f0.call(e,t)}function Zt(e){var t=e==null?0:e.length;return t?e[t-1]:i}function mh(e,t,o){var s=e==null?0:e.length;if(!s)return-1;var c=s;return o!==i&&(c=Ae(o),c=c<0?ut(s+c,0):pt(c,s-1)),t===t?Kd(e,t,c):jr(e,is,c,!0)}function vh(e,t){return e&&e.length?Fs(e,Ae(t)):i}var yh=Le(El);function El(e,t){return e&&e.length&&t&&t.length?xo(e,t):e}function bh(e,t,o){return e&&e.length&&t&&t.length?xo(e,t,he(o,2)):e}function xh(e,t,o){return e&&e.length&&t&&t.length?xo(e,t,i,o):e}var wh=sn(function(e,t){var o=e==null?0:e.length,s=fo(e,t);return Bs(e,tt(t,function(c){return ln(c,o)?+c:c}).sort(Gs)),s});function _h(e,t){var o=[];if(!(e&&e.length))return o;var s=-1,c=[],g=e.length;for(t=he(t,3);++s<g;){var _=e[s];t(_,s,e)&&(o.push(_),c.push(s))}return Bs(e,c),o}function Wo(e){return e==null?e:g0.call(e)}function Ch(e,t,o){var s=e==null?0:e.length;return s?(o&&typeof o!="number"&&yt(e,t,o)?(t=0,o=s):(t=t==null?0:Ae(t),o=o===i?s:Ae(o)),Nt(e,t,o)):[]}function Sh(e,t){return ri(e,t)}function Eh(e,t,o){return Co(e,t,he(o,2))}function Ah(e,t){var o=e==null?0:e.length;if(o){var s=ri(e,t);if(s<o&&Xt(e[s],t))return s}return-1}function $h(e,t){return ri(e,t,!0)}function Th(e,t,o){return Co(e,t,he(o,2),!0)}function kh(e,t){var o=e==null?0:e.length;if(o){var s=ri(e,t,!0)-1;if(Xt(e[s],t))return s}return-1}function Rh(e){return e&&e.length?Ws(e):[]}function Lh(e,t){return e&&e.length?Ws(e,he(t,2)):[]}function Oh(e){var t=e==null?0:e.length;return t?Nt(e,1,t):[]}function Ih(e,t,o){return e&&e.length?(t=o||t===i?1:Ae(t),Nt(e,0,t<0?0:t)):[]}function Mh(e,t,o){var s=e==null?0:e.length;return s?(t=o||t===i?1:Ae(t),t=s-t,Nt(e,t<0?0:t,s)):[]}function Fh(e,t){return e&&e.length?ii(e,he(t,3),!1,!0):[]}function zh(e,t){return e&&e.length?ii(e,he(t,3)):[]}var jh=Le(function(e){return xn(ht(e,1,at,!0))}),Bh=Le(function(e){var t=Zt(e);return at(t)&&(t=i),xn(ht(e,1,at,!0),he(t,2))}),Ph=Le(function(e){var t=Zt(e);return t=typeof t=="function"?t:i,xn(ht(e,1,at,!0),i,t)});function Wh(e){return e&&e.length?xn(e):[]}function Dh(e,t){return e&&e.length?xn(e,he(t,2)):[]}function Nh(e,t){return t=typeof t=="function"?t:i,e&&e.length?xn(e,i,t):[]}function Do(e){if(!(e&&e.length))return[];var t=0;return e=gn(e,function(o){if(at(o))return t=ut(o.length,t),!0}),ro(t,function(o){return tt(e,eo(o))})}function Al(e,t){if(!(e&&e.length))return[];var o=Do(e);return t==null?o:tt(o,function(s){return Rt(t,i,s)})}var Zh=Le(function(e,t){return at(e)?mr(e,t):[]}),Hh=Le(function(e){return Eo(gn(e,at))}),Vh=Le(function(e){var t=Zt(e);return at(t)&&(t=i),Eo(gn(e,at),he(t,2))}),Uh=Le(function(e){var t=Zt(e);return t=typeof t=="function"?t:i,Eo(gn(e,at),i,t)}),qh=Le(Do);function Gh(e,t){return Hs(e||[],t||[],gr)}function Kh(e,t){return Hs(e||[],t||[],br)}var Xh=Le(function(e){var t=e.length,o=t>1?e[t-1]:i;return o=typeof o=="function"?(e.pop(),o):i,Al(e,o)});function $l(e){var t=p(e);return t.__chain__=!0,t}function Yh(e,t){return t(e),e}function hi(e,t){return t(e)}var Qh=sn(function(e){var t=e.length,o=t?e[0]:0,s=this.__wrapped__,c=function(g){return fo(g,e)};return t>1||this.__actions__.length||!(s instanceof Be)||!ln(o)?this.thru(c):(s=s.slice(o,+o+(t?1:0)),s.__actions__.push({func:hi,args:[c],thisArg:i}),new Wt(s,this.__chain__).thru(function(g){return t&&!g.length&&g.push(i),g}))});function Jh(){return $l(this)}function ep(){return new Wt(this.value(),this.__chain__)}function tp(){this.__values__===i&&(this.__values__=Dl(this.value()));var e=this.__index__>=this.__values__.length,t=e?i:this.__values__[this.__index__++];return{done:e,value:t}}function np(){return this}function rp(e){for(var t,o=this;o instanceof Qr;){var s=xl(o);s.__index__=0,s.__values__=i,t?c.__wrapped__=s:t=s;var c=s;o=o.__wrapped__}return c.__wrapped__=e,t}function ip(){var e=this.__wrapped__;if(e instanceof Be){var t=e;return this.__actions__.length&&(t=new Be(this)),t=t.reverse(),t.__actions__.push({func:hi,args:[Wo],thisArg:i}),new Wt(t,this.__chain__)}return this.thru(Wo)}function op(){return Zs(this.__wrapped__,this.__actions__)}var ap=oi(function(e,t,o){qe.call(e,o)?++e[o]:on(e,o,1)});function sp(e,t,o){var s=_e(e)?ns:Y0;return o&&yt(e,t,o)&&(t=i),s(e,he(t,3))}function lp(e,t){var o=_e(e)?gn:As;return o(e,he(t,3))}var up=el(wl),cp=el(_l);function fp(e,t){return ht(pi(e,t),1)}function dp(e,t){return ht(pi(e,t),ee)}function hp(e,t,o){return o=o===i?1:Ae(o),ht(pi(e,t),o)}function Tl(e,t){var o=_e(e)?Bt:bn;return o(e,he(t,3))}function kl(e,t){var o=_e(e)?Od:Es;return o(e,he(t,3))}var pp=oi(function(e,t,o){qe.call(e,o)?e[o].push(t):on(e,o,[t])});function gp(e,t,o,s){e=Et(e)?e:nr(e),o=o&&!s?Ae(o):0;var c=e.length;return o<0&&(o=ut(c+o,0)),bi(e)?o<=c&&e.indexOf(t,o)>-1:!!c&&Hn(e,t,o)>-1}var mp=Le(function(e,t,o){var s=-1,c=typeof t=="function",g=Et(e)?M(e.length):[];return bn(e,function(_){g[++s]=c?Rt(t,_,o):vr(_,t,o)}),g}),vp=oi(function(e,t,o){on(e,o,t)});function pi(e,t){var o=_e(e)?tt:Os;return o(e,he(t,3))}function yp(e,t,o,s){return e==null?[]:(_e(t)||(t=t==null?[]:[t]),o=s?i:o,_e(o)||(o=o==null?[]:[o]),zs(e,t,o))}var bp=oi(function(e,t,o){e[o?0:1].push(t)},function(){return[[],[]]});function xp(e,t,o){var s=_e(e)?Qi:as,c=arguments.length<3;return s(e,he(t,4),o,c,bn)}function wp(e,t,o){var s=_e(e)?Id:as,c=arguments.length<3;return s(e,he(t,4),o,c,Es)}function _p(e,t){var o=_e(e)?gn:As;return o(e,vi(he(t,3)))}function Cp(e){var t=_e(e)?ws:g1;return t(e)}function Sp(e,t,o){(o?yt(e,t,o):t===i)?t=1:t=Ae(t);var s=_e(e)?U0:m1;return s(e,t)}function Ep(e){var t=_e(e)?q0:y1;return t(e)}function Ap(e){if(e==null)return 0;if(Et(e))return bi(e)?Un(e):e.length;var t=gt(e);return t==N||t==Xe?e.size:yo(e).length}function $p(e,t,o){var s=_e(e)?Ji:b1;return o&&yt(e,t,o)&&(t=i),s(e,he(t,3))}var Tp=Le(function(e,t){if(e==null)return[];var o=t.length;return o>1&&yt(e,t[0],t[1])?t=[]:o>2&&yt(t[0],t[1],t[2])&&(t=[t[0]]),zs(e,ht(t,1),[])}),gi=l0||function(){return dt.Date.now()};function kp(e,t){if(typeof t!="function")throw new Pt(f);return e=Ae(e),function(){if(--e<1)return t.apply(this,arguments)}}function Rl(e,t,o){return t=o?i:t,t=e&&t==null?e.length:t,an(e,Z,i,i,i,i,t)}function Ll(e,t){var o;if(typeof t!="function")throw new Pt(f);return e=Ae(e),function(){return--e>0&&(o=t.apply(this,arguments)),e<=1&&(t=i),o}}var No=Le(function(e,t,o){var s=C;if(o.length){var c=vn(o,er(No));s|=F}return an(e,s,t,o,c)}),Ol=Le(function(e,t,o){var s=C|I;if(o.length){var c=vn(o,er(Ol));s|=F}return an(t,s,e,o,c)});function Il(e,t,o){t=o?i:t;var s=an(e,A,i,i,i,i,i,t);return s.placeholder=Il.placeholder,s}function Ml(e,t,o){t=o?i:t;var s=an(e,O,i,i,i,i,i,t);return s.placeholder=Ml.placeholder,s}function Fl(e,t,o){var s,c,g,_,E,R,B=0,P=!1,V=!1,J=!0;if(typeof e!="function")throw new Pt(f);t=Ht(t)||0,nt(o)&&(P=!!o.leading,V="maxWait"in o,g=V?ut(Ht(o.maxWait)||0,t):g,J="trailing"in o?!!o.trailing:J);function ae(st){var Yt=s,fn=c;return s=c=i,B=st,_=e.apply(fn,Yt),_}function pe(st){return B=st,E=_r(je,t),P?ae(st):_}function Te(st){var Yt=st-R,fn=st-B,eu=t-Yt;return V?pt(eu,g-fn):eu}function ge(st){var Yt=st-R,fn=st-B;return R===i||Yt>=t||Yt<0||V&&fn>=g}function je(){var st=gi();if(ge(st))return Pe(st);E=_r(je,Te(st))}function Pe(st){return E=i,J&&s?ae(st):(s=c=i,_)}function Mt(){E!==i&&Vs(E),B=0,s=R=c=E=i}function bt(){return E===i?_:Pe(gi())}function Ft(){var st=gi(),Yt=ge(st);if(s=arguments,c=this,R=st,Yt){if(E===i)return pe(R);if(V)return Vs(E),E=_r(je,t),ae(R)}return E===i&&(E=_r(je,t)),_}return Ft.cancel=Mt,Ft.flush=bt,Ft}var Rp=Le(function(e,t){return Ss(e,1,t)}),Lp=Le(function(e,t,o){return Ss(e,Ht(t)||0,o)});function Op(e){return an(e,fe)}function mi(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new Pt(f);var o=function(){var s=arguments,c=t?t.apply(this,s):s[0],g=o.cache;if(g.has(c))return g.get(c);var _=e.apply(this,s);return o.cache=g.set(c,_)||g,_};return o.cache=new(mi.Cache||rn),o}mi.Cache=rn;function vi(e){if(typeof e!="function")throw new Pt(f);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}function Ip(e){return Ll(2,e)}var Mp=x1(function(e,t){t=t.length==1&&_e(t[0])?tt(t[0],Lt(he())):tt(ht(t,1),Lt(he()));var o=t.length;return Le(function(s){for(var c=-1,g=pt(s.length,o);++c<g;)s[c]=t[c].call(this,s[c]);return Rt(e,this,s)})}),Zo=Le(function(e,t){var o=vn(t,er(Zo));return an(e,F,i,t,o)}),zl=Le(function(e,t){var o=vn(t,er(zl));return an(e,W,i,t,o)}),Fp=sn(function(e,t){return an(e,q,i,i,i,t)});function zp(e,t){if(typeof e!="function")throw new Pt(f);return t=t===i?t:Ae(t),Le(e,t)}function jp(e,t){if(typeof e!="function")throw new Pt(f);return t=t==null?0:ut(Ae(t),0),Le(function(o){var s=o[t],c=_n(o,0,t);return s&&mn(c,s),Rt(e,this,c)})}function Bp(e,t,o){var s=!0,c=!0;if(typeof e!="function")throw new Pt(f);return nt(o)&&(s="leading"in o?!!o.leading:s,c="trailing"in o?!!o.trailing:c),Fl(e,t,{leading:s,maxWait:t,trailing:c})}function Pp(e){return Rl(e,1)}function Wp(e,t){return Zo($o(t),e)}function Dp(){if(!arguments.length)return[];var e=arguments[0];return _e(e)?e:[e]}function Np(e){return Dt(e,x)}function Zp(e,t){return t=typeof t=="function"?t:i,Dt(e,x,t)}function Hp(e){return Dt(e,T|x)}function Vp(e,t){return t=typeof t=="function"?t:i,Dt(e,T|x,t)}function Up(e,t){return t==null||Cs(e,t,ft(t))}function Xt(e,t){return e===t||e!==e&&t!==t}var qp=ui(go),Gp=ui(function(e,t){return e>=t}),Fn=ks(function(){return arguments}())?ks:function(e){return it(e)&&qe.call(e,"callee")&&!gs.call(e,"callee")},_e=M.isArray,Kp=Xa?Lt(Xa):r1;function Et(e){return e!=null&&yi(e.length)&&!un(e)}function at(e){return it(e)&&Et(e)}function Xp(e){return e===!0||e===!1||it(e)&&vt(e)==ue}var Cn=c0||ea,Yp=Ya?Lt(Ya):i1;function Qp(e){return it(e)&&e.nodeType===1&&!Cr(e)}function Jp(e){if(e==null)return!0;if(Et(e)&&(_e(e)||typeof e=="string"||typeof e.splice=="function"||Cn(e)||tr(e)||Fn(e)))return!e.length;var t=gt(e);if(t==N||t==Xe)return!e.size;if(wr(e))return!yo(e).length;for(var o in e)if(qe.call(e,o))return!1;return!0}function eg(e,t){return yr(e,t)}function tg(e,t,o){o=typeof o=="function"?o:i;var s=o?o(e,t):i;return s===i?yr(e,t,i,o):!!s}function Ho(e){if(!it(e))return!1;var t=vt(e);return t==ye||t==$e||typeof e.message=="string"&&typeof e.name=="string"&&!Cr(e)}function ng(e){return typeof e=="number"&&vs(e)}function un(e){if(!nt(e))return!1;var t=vt(e);return t==G||t==oe||t==Ke||t==Ze}function jl(e){return typeof e=="number"&&e==Ae(e)}function yi(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=K}function nt(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}function it(e){return e!=null&&typeof e=="object"}var Bl=Qa?Lt(Qa):a1;function rg(e,t){return e===t||vo(e,t,Mo(t))}function ig(e,t,o){return o=typeof o=="function"?o:i,vo(e,t,Mo(t),o)}function og(e){return Pl(e)&&e!=+e}function ag(e){if(Z1(e))throw new we(u);return Rs(e)}function sg(e){return e===null}function lg(e){return e==null}function Pl(e){return typeof e=="number"||it(e)&&vt(e)==Q}function Cr(e){if(!it(e)||vt(e)!=be)return!1;var t=Vr(e);if(t===null)return!0;var o=qe.call(t,"constructor")&&t.constructor;return typeof o=="function"&&o instanceof o&&Dr.call(o)==i0}var Vo=Ja?Lt(Ja):s1;function ug(e){return jl(e)&&e>=-9007199254740991&&e<=K}var Wl=es?Lt(es):l1;function bi(e){return typeof e=="string"||!_e(e)&&it(e)&&vt(e)==Je}function It(e){return typeof e=="symbol"||it(e)&&vt(e)==X}var tr=ts?Lt(ts):u1;function cg(e){return e===i}function fg(e){return it(e)&>(e)==Re}function dg(e){return it(e)&&vt(e)==te}var hg=ui(bo),pg=ui(function(e,t){return e<=t});function Dl(e){if(!e)return[];if(Et(e))return bi(e)?Gt(e):St(e);if(cr&&e[cr])return Ud(e[cr]());var t=gt(e),o=t==N?oo:t==Xe?Br:nr;return o(e)}function cn(e){if(!e)return e===0?e:0;if(e=Ht(e),e===ee||e===-1/0){var t=e<0?-1:1;return t*de}return e===e?e:0}function Ae(e){var t=cn(e),o=t%1;return t===t?o?t-o:t:0}function Nl(e){return e?Ln(Ae(e),0,Se):0}function Ht(e){if(typeof e=="number")return e;if(It(e))return Ie;if(nt(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=nt(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=ss(e);var o=Kf.test(e);return o||Yf.test(e)?kd(e.slice(2),o?2:8):Gf.test(e)?Ie:+e}function Zl(e){return en(e,At(e))}function gg(e){return e?Ln(Ae(e),-9007199254740991,K):e===0?e:0}function Ve(e){return e==null?"":Ot(e)}var mg=Qn(function(e,t){if(wr(t)||Et(t)){en(t,ft(t),e);return}for(var o in t)qe.call(t,o)&&gr(e,o,t[o])}),Hl=Qn(function(e,t){en(t,At(t),e)}),xi=Qn(function(e,t,o,s){en(t,At(t),e,s)}),vg=Qn(function(e,t,o,s){en(t,ft(t),e,s)}),yg=sn(fo);function bg(e,t){var o=Yn(e);return t==null?o:_s(o,t)}var xg=Le(function(e,t){e=Ge(e);var o=-1,s=t.length,c=s>2?t[2]:i;for(c&&yt(t[0],t[1],c)&&(s=1);++o<s;)for(var g=t[o],_=At(g),E=-1,R=_.length;++E<R;){var B=_[E],P=e[B];(P===i||Xt(P,Gn[B])&&!qe.call(e,B))&&(e[B]=g[B])}return e}),wg=Le(function(e){return e.push(i,sl),Rt(Vl,i,e)});function _g(e,t){return rs(e,he(t,3),Jt)}function Cg(e,t){return rs(e,he(t,3),po)}function Sg(e,t){return e==null?e:ho(e,he(t,3),At)}function Eg(e,t){return e==null?e:$s(e,he(t,3),At)}function Ag(e,t){return e&&Jt(e,he(t,3))}function $g(e,t){return e&&po(e,he(t,3))}function Tg(e){return e==null?[]:ti(e,ft(e))}function kg(e){return e==null?[]:ti(e,At(e))}function Uo(e,t,o){var s=e==null?i:On(e,t);return s===i?o:s}function Rg(e,t){return e!=null&&cl(e,t,J0)}function qo(e,t){return e!=null&&cl(e,t,e1)}var Lg=nl(function(e,t,o){t!=null&&typeof t.toString!="function"&&(t=Nr.call(t)),e[t]=o},Ko($t)),Og=nl(function(e,t,o){t!=null&&typeof t.toString!="function"&&(t=Nr.call(t)),qe.call(e,t)?e[t].push(o):e[t]=[o]},he),Ig=Le(vr);function ft(e){return Et(e)?xs(e):yo(e)}function At(e){return Et(e)?xs(e,!0):c1(e)}function Mg(e,t){var o={};return t=he(t,3),Jt(e,function(s,c,g){on(o,t(s,c,g),s)}),o}function Fg(e,t){var o={};return t=he(t,3),Jt(e,function(s,c,g){on(o,c,t(s,c,g))}),o}var zg=Qn(function(e,t,o){ni(e,t,o)}),Vl=Qn(function(e,t,o,s){ni(e,t,o,s)}),jg=sn(function(e,t){var o={};if(e==null)return o;var s=!1;t=tt(t,function(g){return g=wn(g,e),s||(s=g.length>1),g}),en(e,Oo(e),o),s&&(o=Dt(o,T|b|x,L1));for(var c=t.length;c--;)So(o,t[c]);return o});function Bg(e,t){return Ul(e,vi(he(t)))}var Pg=sn(function(e,t){return e==null?{}:d1(e,t)});function Ul(e,t){if(e==null)return{};var o=tt(Oo(e),function(s){return[s]});return t=he(t),js(e,o,function(s,c){return t(s,c[0])})}function Wg(e,t,o){t=wn(t,e);var s=-1,c=t.length;for(c||(c=1,e=i);++s<c;){var g=e==null?i:e[tn(t[s])];g===i&&(s=c,g=o),e=un(g)?g.call(e):g}return e}function Dg(e,t,o){return e==null?e:br(e,t,o)}function Ng(e,t,o,s){return s=typeof s=="function"?s:i,e==null?e:br(e,t,o,s)}var ql=ol(ft),Gl=ol(At);function Zg(e,t,o){var s=_e(e),c=s||Cn(e)||tr(e);if(t=he(t,4),o==null){var g=e&&e.constructor;c?o=s?new g:[]:nt(e)?o=un(g)?Yn(Vr(e)):{}:o={}}return(c?Bt:Jt)(e,function(_,E,R){return t(o,_,E,R)}),o}function Hg(e,t){return e==null?!0:So(e,t)}function Vg(e,t,o){return e==null?e:Ns(e,t,$o(o))}function Ug(e,t,o,s){return s=typeof s=="function"?s:i,e==null?e:Ns(e,t,$o(o),s)}function nr(e){return e==null?[]:io(e,ft(e))}function qg(e){return e==null?[]:io(e,At(e))}function Gg(e,t,o){return o===i&&(o=t,t=i),o!==i&&(o=Ht(o),o=o===o?o:0),t!==i&&(t=Ht(t),t=t===t?t:0),Ln(Ht(e),t,o)}function Kg(e,t,o){return t=cn(t),o===i?(o=t,t=0):o=cn(o),e=Ht(e),t1(e,t,o)}function Xg(e,t,o){if(o&&typeof o!="boolean"&&yt(e,t,o)&&(t=o=i),o===i&&(typeof t=="boolean"?(o=t,t=i):typeof e=="boolean"&&(o=e,e=i)),e===i&&t===i?(e=0,t=1):(e=cn(e),t===i?(t=e,e=0):t=cn(t)),e>t){var s=e;e=t,t=s}if(o||e%1||t%1){var c=ys();return pt(e+c*(t-e+Td("1e-"+((c+"").length-1))),t)}return wo(e,t)}var Yg=Jn(function(e,t,o){return t=t.toLowerCase(),e+(o?Kl(t):t)});function Kl(e){return Go(Ve(e).toLowerCase())}function Xl(e){return e=Ve(e),e&&e.replace(Jf,Dd).replace(yd,"")}function Qg(e,t,o){e=Ve(e),t=Ot(t);var s=e.length;o=o===i?s:Ln(Ae(o),0,s);var c=o;return o-=t.length,o>=0&&e.slice(o,c)==t}function Jg(e){return e=Ve(e),e&&If.test(e)?e.replace($a,Nd):e}function em(e){return e=Ve(e),e&&Pf.test(e)?e.replace(Ni,"\\$&"):e}var tm=Jn(function(e,t,o){return e+(o?"-":"")+t.toLowerCase()}),nm=Jn(function(e,t,o){return e+(o?" ":"")+t.toLowerCase()}),rm=Js("toLowerCase");function im(e,t,o){e=Ve(e),t=Ae(t);var s=t?Un(e):0;if(!t||s>=t)return e;var c=(t-s)/2;return li(Kr(c),o)+e+li(Gr(c),o)}function om(e,t,o){e=Ve(e),t=Ae(t);var s=t?Un(e):0;return t&&s<t?e+li(t-s,o):e}function am(e,t,o){e=Ve(e),t=Ae(t);var s=t?Un(e):0;return t&&s<t?li(t-s,o)+e:e}function sm(e,t,o){return o||t==null?t=0:t&&(t=+t),p0(Ve(e).replace(Zi,""),t||0)}function lm(e,t,o){return(o?yt(e,t,o):t===i)?t=1:t=Ae(t),_o(Ve(e),t)}function um(){var e=arguments,t=Ve(e[0]);return e.length<3?t:t.replace(e[1],e[2])}var cm=Jn(function(e,t,o){return e+(o?"_":"")+t.toLowerCase()});function fm(e,t,o){return o&&typeof o!="number"&&yt(e,t,o)&&(t=o=i),o=o===i?Se:o>>>0,o?(e=Ve(e),e&&(typeof t=="string"||t!=null&&!Vo(t))&&(t=Ot(t),!t&&Vn(e))?_n(Gt(e),0,o):e.split(t,o)):[]}var dm=Jn(function(e,t,o){return e+(o?" ":"")+Go(t)});function hm(e,t,o){return e=Ve(e),o=o==null?0:Ln(Ae(o),0,e.length),t=Ot(t),e.slice(o,o+t.length)==t}function pm(e,t,o){var s=p.templateSettings;o&&yt(e,t,o)&&(t=i),e=Ve(e),t=xi({},t,s,al);var c=xi({},t.imports,s.imports,al),g=ft(c),_=io(c,g),E,R,B=0,P=t.interpolate||Ir,V="__p += '",J=ao((t.escape||Ir).source+"|"+P.source+"|"+(P===Ta?qf:Ir).source+"|"+(t.evaluate||Ir).source+"|$","g"),ae="//# sourceURL="+(qe.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++Cd+"]")+`
|
|
11
|
+
`;e.replace(J,function(ge,je,Pe,Mt,bt,Ft){return Pe||(Pe=Mt),V+=e.slice(B,Ft).replace(ed,Zd),je&&(E=!0,V+=`' +
|
|
12
|
+
__e(`+je+`) +
|
|
13
|
+
'`),bt&&(R=!0,V+=`';
|
|
14
|
+
`+bt+`;
|
|
15
|
+
__p += '`),Pe&&(V+=`' +
|
|
16
|
+
((__t = (`+Pe+`)) == null ? '' : __t) +
|
|
17
|
+
'`),B=Ft+ge.length,ge}),V+=`';
|
|
18
|
+
`;var pe=qe.call(t,"variable")&&t.variable;if(!pe)V=`with (obj) {
|
|
19
|
+
`+V+`
|
|
20
20
|
}
|
|
21
|
-
`;else if(
|
|
22
|
-
`+(
|
|
23
|
-
`)+"var __t, __p = ''"+(
|
|
21
|
+
`;else if(Vf.test(pe))throw new we(h);V=(R?V.replace(kf,""):V).replace(Rf,"$1").replace(Lf,"$1;"),V="function("+(pe||"obj")+`) {
|
|
22
|
+
`+(pe?"":`obj || (obj = {});
|
|
23
|
+
`)+"var __t, __p = ''"+(E?", __e = _.escape":"")+(R?`, __j = Array.prototype.join;
|
|
24
24
|
function print() { __p += __j.call(arguments, '') }
|
|
25
25
|
`:`;
|
|
26
|
-
`)+
|
|
27
|
-
}`;var $e=hc(function(){return ze(m,fe+"return "+N).apply(i,b)});if($e.source=N,Ds($e))throw $e;return $e}function G2(e){return Be(e).toLowerCase()}function K2(e){return Be(e).toUpperCase()}function X2(e,t,o){if(e=Be(e),e&&(o||t===i))return _l(e);if(!e||!(t=zt(t)))return e;var a=en(e),c=en(t),m=Cl(a,c),b=Sl(a,c)+1;return Fn(a,m,b).join("")}function Y2(e,t,o){if(e=Be(e),e&&(o||t===i))return e.slice(0,Al(e)+1);if(!e||!(t=zt(t)))return e;var a=en(e),c=Sl(a,en(t))+1;return Fn(a,0,c).join("")}function Q2(e,t,o){if(e=Be(e),e&&(o||t===i))return e.replace(Do,"");if(!e||!(t=zt(t)))return e;var a=en(e),c=Cl(a,en(t));return Fn(a,c).join("")}function J2(e,t){var o=_e,a=Ae;if(Qe(t)){var c="separator"in t?t.separator:c;o="length"in t?Ee(t.length):o,a="omission"in t?zt(t.omission):a}e=Be(e);var m=e.length;if(ur(e)){var b=en(e);m=b.length}if(o>=m)return e;var x=o-cr(a);if(x<1)return a;var $=b?Fn(b,0,x).join(""):e.slice(0,x);if(c===i)return $+a;if(b&&(x+=$.length-x),Hs(c)){if(e.slice(x).search(c)){var B,P=$;for(c.global||(c=is(c.source,Be(Na.exec(c))+"g")),c.lastIndex=0;B=c.exec(P);)var N=B.index;$=$.slice(0,N===i?x:N)}}else if(e.indexOf(zt(c),x)!=x){var ie=$.lastIndexOf(c);ie>-1&&($=$.slice(0,ie))}return $+a}function e8(e){return e=Be(e),e&&f0.test(e)?e.replace(Da,T1):e}var t8=vr(function(e,t,o){return e+(o?" ":"")+t.toUpperCase()}),Vs=pu("toUpperCase");function dc(e,t,o){return e=Be(e),t=o?i:t,t===i?S1(e)?I1(e):g1(e):e.match(t)||[]}var hc=ke(function(e,t){try{return Mt(e,i,t)}catch(o){return Ds(o)?o:new be(o)}}),n8=mn(function(e,t){return Ht(t,function(o){o=un(o),pn(e,o,Ps(e[o],e))}),e});function r8(e){var t=e==null?0:e.length,o=ge();return e=t?Xe(e,function(a){if(typeof a[1]!="function")throw new Zt(f);return[o(a[0]),a[1]]}):[],ke(function(a){for(var c=-1;++c<t;){var m=e[c];if(Mt(m[0],this,a))return Mt(m[1],this,a)}})}function i8(e){return Th(Vt(e,S))}function Us(e){return function(){return e}}function o8(e,t){return e==null||e!==e?t:e}var s8=mu(),a8=mu(!0);function Tt(e){return e}function qs(e){return Ul(typeof e=="function"?e:Vt(e,S))}function l8(e){return Gl(Vt(e,S))}function u8(e,t){return Kl(e,Vt(t,S))}var c8=ke(function(e,t){return function(o){return Zr(o,e,t)}}),f8=ke(function(e,t){return function(o){return Zr(e,o,t)}});function Gs(e,t,o){var a=dt(t),c=ji(t,a);o==null&&!(Qe(t)&&(c.length||!a.length))&&(o=t,t=e,e=this,c=ji(t,dt(t)));var m=!(Qe(o)&&"chain"in o)||!!o.chain,b=yn(e);return Ht(c,function(x){var $=t[x];e[x]=$,b&&(e.prototype[x]=function(){var B=this.__chain__;if(m||B){var P=e(this.__wrapped__),N=P.__actions__=At(this.__actions__);return N.push({func:$,args:arguments,thisArg:e}),P.__chain__=B,P}return $.apply(e,Tn([this.value()],arguments))})}),e}function d8(){return pt._===this&&(pt._=B1),this}function Ks(){}function h8(e){return e=Ee(e),ke(function(t){return Xl(t,e)})}var p8=As(Xe),g8=As(vl),m8=As(Yo);function pc(e){return Os(e)?Qo(un(e)):Uh(e)}function v8(e){return function(t){return e==null?i:Kn(e,t)}}var y8=yu(),b8=yu(!0);function Xs(){return[]}function Ys(){return!1}function w8(){return{}}function x8(){return""}function _8(){return!0}function C8(e,t){if(e=Ee(e),e<1||e>ee)return[];var o=Ce,a=vt(e,Ce);t=ge(t),e-=Ce;for(var c=ts(a,t);++o<e;)t(o);return c}function S8(e){return we(e)?Xe(e,un):jt(e)?[e]:At(Mu(Be(e)))}function E8(e){var t=++z1;return Be(e)+t}var A8=Zi(function(e,t){return e+t},0),$8=$s("ceil"),k8=Zi(function(e,t){return e/t},1),T8=$s("floor");function R8(e){return e&&e.length?zi(e,Tt,ds):i}function L8(e,t){return e&&e.length?zi(e,ge(t,2),ds):i}function I8(e){return wl(e,Tt)}function O8(e,t){return wl(e,ge(t,2))}function M8(e){return e&&e.length?zi(e,Tt,ms):i}function F8(e,t){return e&&e.length?zi(e,ge(t,2),ms):i}var z8=Zi(function(e,t){return e*t},1),j8=$s("round"),B8=Zi(function(e,t){return e-t},0);function P8(e){return e&&e.length?es(e,Tt):0}function W8(e,t){return e&&e.length?es(e,ge(t,2)):0}return p.after=lm,p.ary=Vu,p.assign=Km,p.assignIn=oc,p.assignInWith=no,p.assignWith=Xm,p.at=Ym,p.before=Uu,p.bind=Ps,p.bindAll=n8,p.bindKey=qu,p.castArray=wm,p.chain=Hu,p.chunk=Tp,p.compact=Rp,p.concat=Lp,p.cond=r8,p.conforms=i8,p.constant=Us,p.countBy=Pg,p.create=Qm,p.curry=Gu,p.curryRight=Ku,p.debounce=Xu,p.defaults=Jm,p.defaultsDeep=e2,p.defer=um,p.delay=cm,p.difference=Ip,p.differenceBy=Op,p.differenceWith=Mp,p.drop=Fp,p.dropRight=zp,p.dropRightWhile=jp,p.dropWhile=Bp,p.fill=Pp,p.filter=Dg,p.flatMap=Ng,p.flatMapDeep=Vg,p.flatMapDepth=Ug,p.flatten=Bu,p.flattenDeep=Wp,p.flattenDepth=Dp,p.flip=fm,p.flow=s8,p.flowRight=a8,p.fromPairs=Hp,p.functions=a2,p.functionsIn=l2,p.groupBy=qg,p.initial=Np,p.intersection=Vp,p.intersectionBy=Up,p.intersectionWith=qp,p.invert=c2,p.invertBy=f2,p.invokeMap=Kg,p.iteratee=qs,p.keyBy=Xg,p.keys=dt,p.keysIn=kt,p.map=Xi,p.mapKeys=h2,p.mapValues=p2,p.matches=l8,p.matchesProperty=u8,p.memoize=Qi,p.merge=g2,p.mergeWith=sc,p.method=c8,p.methodOf=f8,p.mixin=Gs,p.negate=Ji,p.nthArg=h8,p.omit=m2,p.omitBy=v2,p.once=dm,p.orderBy=Yg,p.over=p8,p.overArgs=hm,p.overEvery=g8,p.overSome=m8,p.partial=Ws,p.partialRight=Yu,p.partition=Qg,p.pick=y2,p.pickBy=ac,p.property=pc,p.propertyOf=v8,p.pull=Yp,p.pullAll=Wu,p.pullAllBy=Qp,p.pullAllWith=Jp,p.pullAt=eg,p.range=y8,p.rangeRight=b8,p.rearg=pm,p.reject=tm,p.remove=tg,p.rest=gm,p.reverse=js,p.sampleSize=rm,p.set=w2,p.setWith=x2,p.shuffle=im,p.slice=ng,p.sortBy=am,p.sortedUniq=ug,p.sortedUniqBy=cg,p.split=N2,p.spread=mm,p.tail=fg,p.take=dg,p.takeRight=hg,p.takeRightWhile=pg,p.takeWhile=gg,p.tap=Rg,p.throttle=vm,p.thru=Ki,p.toArray=nc,p.toPairs=lc,p.toPairsIn=uc,p.toPath=S8,p.toPlainObject=ic,p.transform=_2,p.unary=ym,p.union=mg,p.unionBy=vg,p.unionWith=yg,p.uniq=bg,p.uniqBy=wg,p.uniqWith=xg,p.unset=C2,p.unzip=Bs,p.unzipWith=Du,p.update=S2,p.updateWith=E2,p.values=wr,p.valuesIn=A2,p.without=_g,p.words=dc,p.wrap=bm,p.xor=Cg,p.xorBy=Sg,p.xorWith=Eg,p.zip=Ag,p.zipObject=$g,p.zipObjectDeep=kg,p.zipWith=Tg,p.entries=lc,p.entriesIn=uc,p.extend=oc,p.extendWith=no,Gs(p,p),p.add=A8,p.attempt=hc,p.camelCase=R2,p.capitalize=cc,p.ceil=$8,p.clamp=$2,p.clone=xm,p.cloneDeep=Cm,p.cloneDeepWith=Sm,p.cloneWith=_m,p.conformsTo=Em,p.deburr=fc,p.defaultTo=o8,p.divide=k8,p.endsWith=L2,p.eq=nn,p.escape=I2,p.escapeRegExp=O2,p.every=Wg,p.find=Hg,p.findIndex=zu,p.findKey=t2,p.findLast=Zg,p.findLastIndex=ju,p.findLastKey=n2,p.floor=T8,p.forEach=Zu,p.forEachRight=Nu,p.forIn=r2,p.forInRight=i2,p.forOwn=o2,p.forOwnRight=s2,p.get=Zs,p.gt=Am,p.gte=$m,p.has=u2,p.hasIn=Ns,p.head=Pu,p.identity=Tt,p.includes=Gg,p.indexOf=Zp,p.inRange=k2,p.invoke=d2,p.isArguments=Qn,p.isArray=we,p.isArrayBuffer=km,p.isArrayLike=$t,p.isArrayLikeObject=nt,p.isBoolean=Tm,p.isBuffer=zn,p.isDate=Rm,p.isElement=Lm,p.isEmpty=Im,p.isEqual=Om,p.isEqualWith=Mm,p.isError=Ds,p.isFinite=Fm,p.isFunction=yn,p.isInteger=Qu,p.isLength=eo,p.isMap=Ju,p.isMatch=zm,p.isMatchWith=jm,p.isNaN=Bm,p.isNative=Pm,p.isNil=Dm,p.isNull=Wm,p.isNumber=ec,p.isObject=Qe,p.isObjectLike=et,p.isPlainObject=Kr,p.isRegExp=Hs,p.isSafeInteger=Hm,p.isSet=tc,p.isString=to,p.isSymbol=jt,p.isTypedArray=br,p.isUndefined=Zm,p.isWeakMap=Nm,p.isWeakSet=Vm,p.join=Gp,p.kebabCase=M2,p.last=qt,p.lastIndexOf=Kp,p.lowerCase=F2,p.lowerFirst=z2,p.lt=Um,p.lte=qm,p.max=R8,p.maxBy=L8,p.mean=I8,p.meanBy=O8,p.min=M8,p.minBy=F8,p.stubArray=Xs,p.stubFalse=Ys,p.stubObject=w8,p.stubString=x8,p.stubTrue=_8,p.multiply=z8,p.nth=Xp,p.noConflict=d8,p.noop=Ks,p.now=Yi,p.pad=j2,p.padEnd=B2,p.padStart=P2,p.parseInt=W2,p.random=T2,p.reduce=Jg,p.reduceRight=em,p.repeat=D2,p.replace=H2,p.result=b2,p.round=j8,p.runInContext=A,p.sample=nm,p.size=om,p.snakeCase=Z2,p.some=sm,p.sortedIndex=rg,p.sortedIndexBy=ig,p.sortedIndexOf=og,p.sortedLastIndex=sg,p.sortedLastIndexBy=ag,p.sortedLastIndexOf=lg,p.startCase=V2,p.startsWith=U2,p.subtract=B8,p.sum=P8,p.sumBy=W8,p.template=q2,p.times=C8,p.toFinite=bn,p.toInteger=Ee,p.toLength=rc,p.toLower=G2,p.toNumber=Gt,p.toSafeInteger=Gm,p.toString=Be,p.toUpper=K2,p.trim=X2,p.trimEnd=Y2,p.trimStart=Q2,p.truncate=J2,p.unescape=e8,p.uniqueId=E8,p.upperCase=t8,p.upperFirst=Vs,p.each=Zu,p.eachRight=Nu,p.first=Pu,Gs(p,function(){var e={};return an(p,function(t,o){We.call(p.prototype,o)||(e[o]=t)}),e}(),{chain:!1}),p.VERSION=s,Ht(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){p[e].placeholder=p}),Ht(["drop","take"],function(e,t){Le.prototype[e]=function(o){o=o===i?1:lt(Ee(o),0);var a=this.__filtered__&&!t?new Le(this):this.clone();return a.__filtered__?a.__takeCount__=vt(o,a.__takeCount__):a.__views__.push({size:vt(o,Ce),type:e+(a.__dir__<0?"Right":"")}),a},Le.prototype[e+"Right"]=function(o){return this.reverse()[e](o).reverse()}}),Ht(["filter","map","takeWhile"],function(e,t){var o=t+1,a=o==G||o==re;Le.prototype[e]=function(c){var m=this.clone();return m.__iteratees__.push({iteratee:ge(c,3),type:o}),m.__filtered__=m.__filtered__||a,m}}),Ht(["head","last"],function(e,t){var o="take"+(t?"Right":"");Le.prototype[e]=function(){return this[o](1).value()[0]}}),Ht(["initial","tail"],function(e,t){var o="drop"+(t?"":"Right");Le.prototype[e]=function(){return this.__filtered__?new Le(this):this[o](1)}}),Le.prototype.compact=function(){return this.filter(Tt)},Le.prototype.find=function(e){return this.filter(e).head()},Le.prototype.findLast=function(e){return this.reverse().find(e)},Le.prototype.invokeMap=ke(function(e,t){return typeof e=="function"?new Le(this):this.map(function(o){return Zr(o,e,t)})}),Le.prototype.reject=function(e){return this.filter(Ji(ge(e)))},Le.prototype.slice=function(e,t){e=Ee(e);var o=this;return o.__filtered__&&(e>0||t<0)?new Le(o):(e<0?o=o.takeRight(-e):e&&(o=o.drop(e)),t!==i&&(t=Ee(t),o=t<0?o.dropRight(-t):o.take(t-e)),o)},Le.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Le.prototype.toArray=function(){return this.take(Ce)},an(Le.prototype,function(e,t){var o=/^(?:filter|find|map|reject)|While$/.test(t),a=/^(?:head|last)$/.test(t),c=p[a?"take"+(t=="last"?"Right":""):t],m=a||/^find/.test(t);c&&(p.prototype[t]=function(){var b=this.__wrapped__,x=a?[1]:arguments,$=b instanceof Le,B=x[0],P=$||we(b),N=function(Re){var Ie=c.apply(p,Tn([Re],x));return a&&ie?Ie[0]:Ie};P&&o&&typeof B=="function"&&B.length!=1&&($=P=!1);var ie=this.__chain__,fe=!!this.__actions__.length,ve=m&&!ie,$e=$&&!fe;if(!m&&P){b=$e?b:new Le(this);var ye=e.apply(b,x);return ye.__actions__.push({func:Ki,args:[N],thisArg:i}),new Nt(ye,ie)}return ve&&$e?e.apply(this,x):(ye=this.thru(N),ve?a?ye.value()[0]:ye.value():ye)})}),Ht(["pop","push","shift","sort","splice","unshift"],function(e){var t=xi[e],o=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",a=/^(?:pop|shift)$/.test(e);p.prototype[e]=function(){var c=arguments;if(a&&!this.__chain__){var m=this.value();return t.apply(we(m)?m:[],c)}return this[o](function(b){return t.apply(we(b)?b:[],c)})}}),an(Le.prototype,function(e,t){var o=p[t];if(o){var a=o.name+"";We.call(pr,a)||(pr[a]=[]),pr[a].push({name:t,func:o})}}),pr[Hi(i,O).name]=[{name:"wrapper",func:i}],Le.prototype.clone=eh,Le.prototype.reverse=th,Le.prototype.value=nh,p.prototype.at=Lg,p.prototype.chain=Ig,p.prototype.commit=Og,p.prototype.next=Mg,p.prototype.plant=zg,p.prototype.reverse=jg,p.prototype.toJSON=p.prototype.valueOf=p.prototype.value=Bg,p.prototype.first=p.prototype.head,zr&&(p.prototype[zr]=Fg),p},fr=O1();Nn?((Nn.exports=fr)._=fr,qo._=fr):pt._=fr}).call(N8)}(ii,ii.exports)),ii.exports}var Oe=V8();const wa=n=>({none:0,hairline:n*.5,thin:n,thick:n*2,heavy:n*4}),xa=n=>({none:0,xs:n*.5,sm:n,md:n*2,lg:n*3,xl:n*4,full:9999}),U8=n=>["none","hairline","thin","thick","heavy"].includes(n),Af=n=>["none","xs","sm","md","lg","xl","full"].includes(n),_o={transparent:"#FFFFFF00",white:"#FFFFFF",black:"#000000",primary:"#6949FF",secondary:"#FFC107",success:"#12D18E",danger:"#F75555",warning:"#FACC15",info:"#6949FF",grey100:"#F5F5F5",grey200:"#EEEEEE",grey300:"#E0E0E0",grey400:"#BDBDBD",grey500:"#9E9E9E",grey600:"#757575",grey700:"#616161",grey800:"#424242",grey900:"#212121",primary100:"#F0EDFF",primary200:"#C3B6FF",primary300:"#A592FF",primary400:"#876DFF",primary500:"#6949FF",secondary100:"#FFF9E6",secondary200:"#FFE69C",secondary300:"#FFDA6A",secondary400:"#FFCD39",secondary500:"#FFC107",orange100:"#FFF3E0",orange200:"#FFE0B2",orange300:"#FFCC80",orange400:"#FFB74D",orange500:"#FF9800",orange600:"#FB8C00",orange700:"#F57C00",orange800:"#EF6C00",orange900:"#E65100",cyan100:"#E0F7FA",cyan200:"#B2EBF2",cyan300:"#80DEEA",cyan400:"#4DD0E1",cyan500:"#26C6DA",cyan600:"#00BCD4",cyan700:"#00ACC1",cyan800:"#0097A7",cyan900:"#006064",purple100:"#F3E5F5",purple200:"#E1BEE7",purple300:"#CE93D8",purple400:"#BA68C8",purple500:"#AB47BC",purple600:"#9C27B0",purple700:"#8E24AA",purple800:"#7B1FA2",purple900:"#6A1B9A",teal100:"#E0F2F1",teal200:"#B2DFDB",teal300:"#80CBC4",teal400:"#4DB6AC",teal500:"#26A69A",teal600:"#009688",teal700:"#00897B",teal800:"#00796B",teal900:"#004D40",lime100:"#F9FBE7",lime200:"#F0F4C3",lime300:"#E6EE9C",lime400:"#DCE775",lime500:"#CDDC39",lime600:"#C0CA33",lime700:"#AFB42B",lime800:"#9E9D24",lime900:"#827717",pink100:"#FCE4EC",pink200:"#F8BBD0",pink300:"#F48FB1",pink400:"#F06292",pink500:"#EC4899",pink600:"#E91E63",pink700:"#D81B60",pink800:"#C2185B",pink900:"#880E4F",backgroundPurple:"#F9F8FF",backgroundYellow:"#FFFCED",backgroundGreen:"#F1FDF5",backgroundBlue:"#F6F9FF",backgroundTeal:"#F2FFF8",backgroundRed:"#FFF7F8",backgroundOrange:"#FFF8ED"},$f=n=>n in _o,kf={primary:["#543ACC","#6949FF"],secondary:["#E0A800","#FFC107"],success:["#0FB57A","#12D18E"],danger:["#E64545","#F75555"],warning:["#E1B70D","#FACC15"],info:["#543ACC","#6949FF"]},q8=n=>["primary","secondary","success","danger","warning","info"].includes(n),G8=1,K8=8,X8=8,Y8="Inter",Q8="Sora",J8=10,ev=4,An={borderWidth:G8,space:K8,size:X8,font:{neutral:Y8,heading:Q8},fontSize:J8,radius:ev},Tf=n=>({none:"none",sm:`0 1px 2px 0 ${n.grey400}40`,md:`0 4px 6px -1px ${n.grey500}40, 0 2px 4px -1px ${n.grey400}40`,lg:`0 10px 15px -3px ${n.grey600}40, 0 4px 6px -2px ${n.grey500}40`}),tv=n=>["none","sm","md","lg"].includes(n),_a=n=>({"2xs":n*.5,xs:n,sm:n*2,"sm-md":n*2.5,md:n*4,"md-lg":n*6,lg:n*8,xl:n*16,"2xl":n*32,"3xl":n*64,"4xl":n*128}),rr=n=>["2xs","xs","sm","sm-md","md","md-lg","lg","xl","2xl","3xl","4xl"].includes(n),Ca=n=>({none:0,"2xs":n*.25,xs:n*.5,sm:n,"sm-md":n*1.5,md:n*2,"md-lg":n*2.5,lg:n*3,xl:n*4,"2xl":n*5,"3xl":n*6,"4xl":n*8,"5xl":n*10,"6xl":n*12,"7xl":n*14,"8xl":n*16,"9xl":n*18,"10xl":n*20,"-xxs":n*-.25,"-xs":n*-.5,"-sm":n*-1,"-sm-md":n*-1.5,"-md":n*-2,"-md-lg":n*-2.5,"-lg":n*-3,"-xl":n*-4,"-2xl":n*-5,"-3xl":n*-6,"-4xl":n*-8,"-5xl":n*-10,"-6xl":n*-12,"-7xl":n*-14,"-8xl":n*-16,"-9xl":n*-18,"-10xl":n*-20}),Rf=n=>["none","2xs","xs","sm","sm-md","md","md-lg","lg","xl","2xl","3xl","4xl","-xxs","-xs","-sm","-sm-md","-md","-md-lg","-lg","-xl","-2xl","-3xl","-4xl"].includes(n),Sa=({neutral:n,heading:r})=>({neutral:`"${n}", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif`,heading:`"${r}", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif`}),Co=n=>({"2xs":n*.75,xs:n,small:n*1.25,medium:n*1.5,large:n*2,xl:n*2.5,"2xl":n*3,"3xl":n*3.5,"4xl":n*4,"5xl":n*5,"6xl":n*6}),Ea=n=>{const r=Co(n),i=1.4;return{"2xs":r["2xs"]*i,xs:r.xs*i,small:r.small*i,medium:r.medium*i,large:r.large*i,xl:r.xl*i,"2xl":r["2xl"]*i,"3xl":r["3xl"]*i,"4xl":r["4xl"]*i,"5xl":r["5xl"]*i,"6xl":r["6xl"]*i}},Aa=()=>({"extra-light":100,thin:200,light:300,regular:400,medium:500,semibold:600,bold:700,extrabold:800,black:900}),nv=n=>["2xs","xs","small","medium","large","xl","2xl","3xl","4xl","5xl","6xl"].includes(n),rv=n=>["extra-light","thin","light","regular","medium","semibold","bold","extrabold","black"].includes(n);class iv{constructor({baseZIndex:r=10,step:i=10}={}){xr(this,"dependencies",new Map);xr(this,"zIndexes",null);xr(this,"nodes",new Set);xr(this,"baseZIndex");xr(this,"step");this.baseZIndex=r,this.step=i}register(r,i){this.nodes.add(r),this.nodes.add(i),this.dependencies.has(r)||this.dependencies.set(r,new Set),this.dependencies.get(r).add(i),this.zIndexes=null}deregister(r,i){const s=this.dependencies.get(r);s&&s.delete(i),this.zIndexes=null}getZIndex(r){return this.zIndexes||this._calculateZIndexes(),this.zIndexes.has(r)?this.zIndexes.get(r):(console.warn(`[ZIndexRegistry] ID '${r}' not found in the calculated z-index map. Returning a fallback value. Was it ever registered?`),this.baseZIndex)}_calculateZIndexes(){const r=new Map;for(const l of this.nodes)r.set(l,0);for(const l of this.dependencies.values())for(const u of l)r.set(u,(r.get(u)||0)+1);const i=[];for(const[l,u]of r.entries())u===0&&i.push(l);const s=[];for(;i.length>0;){const l=i.shift();s.push(l);const u=this.dependencies.get(l)||new Set;for(const f of u){const d=(r.get(f)||0)-1;r.set(f,d),d===0&&i.push(f)}}if(s.length!==this.nodes.size){if(process.env.NODE_ENV!=="production")throw new Error("[ZIndexRegistry] Detected a cycle in the z-index relationships. Cannot resolve the stacking order. Please check the register() function calls.");console.warn("[ZIndexRegistry] Detected a cycle in the z-index relationships. Cannot resolve the stacking order. Please check the register() function calls.")}this.zIndexes=new Map;for(let l=0;l<s.length;l++){const u=s[l];this.zIndexes.set(u,this.baseZIndex+l*this.step)}}}const sr=new iv({baseZIndex:100,step:10}),sn={AIC_Kits_PageContent:"AIC_Kits_PageContent",AIC_Kits_Carousel:"AIC_Kits_Carousel",AIC_Kits_Dropdown:"AIC_Kits_Dropdown",AIC_Kits_Tooltip:"AIC_Kits_Tooltip",AIC_Kits_Modal:"AIC_Kits_Modal",AIC_Kits_Notification:"AIC_Kits_Notification"};sr.register(sn.AIC_Kits_PageContent,sn.AIC_Kits_Carousel);sr.register(sn.AIC_Kits_Carousel,sn.AIC_Kits_Dropdown);sr.register(sn.AIC_Kits_Dropdown,sn.AIC_Kits_Tooltip);sr.register(sn.AIC_Kits_Tooltip,sn.AIC_Kits_Modal);sr.register(sn.AIC_Kits_Modal,sn.AIC_Kits_Notification);const ov=(n=An,r=_o,i=kf)=>{const s=Sa(n.font),l=Co(n.fontSize),u=Ea(n.fontSize),f=Aa(),d=wa(n.borderWidth),g=Ca(n.space),v=_a(n.size),_=xa(n.radius),S=Tf(r);return{colors:r,gradientColors:i,fonts:s,fontSizes:l,lineHeights:u,fontWeights:f,borderWidths:d,spaces:g,sizes:v,radii:_,shadows:S}},Lf=n=>({paddingVertical:"md",paddingHorizontal:"md",borderRadius:"lg",borderColor:"grey300",borderWidth:"thin",backgroundColor:"white",gap:"md",header:{gap:"sm-md",iconSize:"sm",iconColor:"grey600",disabledOpacity:.5},animation:{duration:300,easing:"ease"}}),If=n=>({defaultSize:"md",defaultIconSize:"md",defaultEmojiSize:"lg",defaultBrandSize:"md",defaultImageSize:"md",defaultSvgSize:"md"}),Of=n=>({defaultSize:"md",defaultFallbackTextSize:"medium",fallbackBackgroundColor:"grey400",sizes:{sm:{fallbackTextSize:"small"},md:{fallbackTextSize:"medium"},lg:{fallbackTextSize:"xl"}}}),Mf=n=>({defaultSize:"md",defaultVariant:"default",sizes:{sm:{barSpacing:8,barRadius:2,axisColor:"grey600",gridColor:"grey200",labelColor:"grey600"},md:{barSpacing:12,barRadius:4,axisColor:"grey600",gridColor:"grey200",labelColor:"grey600"},lg:{barSpacing:16,barRadius:6,axisColor:"grey600",gridColor:"grey200",labelColor:"grey600"}},variants:{default:{defaultBarColor:"primary"},soft:{defaultBarColor:"secondary"},outlined:{defaultBarColor:"info"}}}),Ff=n=>({defaultBackgroundColor:"white",defaultHeaderParams:{backgroundColor:"white"},desktopMediaQuery:"(min-width: 768px)",mobilePaddingX:"md",desktopPaddingX:"xl",desktopContentMaxWidth:"1200px"}),zf=n=>({loadingConfig:{size:"md"},defaultColor:"primary",defaultTextColor:"white",iconSpacing:"xs",sizes:{sm:{paddingHorizontal:"sm",paddingVertical:"xs",fontSize:"xs",iconSize:"sm",borderWidth:"thin",fontWeight:"regular",iconWeight:"regular",squircleBorderRadii:{circle:"full",rounded:"md",square:"none"}},md:{paddingHorizontal:"md",paddingVertical:"sm",fontSize:"medium",iconSize:"sm-md",borderWidth:"thin",fontWeight:"regular",iconWeight:"regular",squircleBorderRadii:{circle:"full",rounded:"lg",square:"none"}},lg:{paddingHorizontal:"lg",paddingVertical:"md",fontSize:"large",iconSize:"md",borderWidth:"thick",fontWeight:"semibold",iconWeight:"bold",squircleBorderRadii:{circle:"full",rounded:"xl",square:"none"}}},variants:{solid:{},outlined:{bgColor:"transparent"},text:{bgColor:"transparent"}}}),jf=n=>({pagination:{container:{marginTop:"md",padding:"xs",borderRadius:"full",backgroundColor:"grey100",gap:"xs"},dotSize:"2xs",inactiveColor:"grey300",activeColor:"primary",dotBorderRadius:"full"},navigation:{marginHorizontal:"md",buttonColor:"primary",buttonPadding:"sm",buttonBackgroundColor:"white",buttonBorderRadius:"full",iconSize:"sm-md"},autoScroll:{defaultSpeed:20},container:{defaultItemSpacing:"md"}}),Bf=n=>({defaultColor:"primary",defaultSize:"md",checkedBackgroundColor:"primary",uncheckedBorderColor:"grey400",disabledColor:"grey300",disabledTextColor:"grey500",focusBorderColor:"primary",iconColor:"white",textColor:"grey900",sizes:{sm:{labelFontSize:"small",labelPaddingLeft:"xs",iconSize:"xs",iconMargin:"2xs",borderRadius:"sm",borderWidth:"thin"},md:{labelFontSize:"medium",labelPaddingLeft:"sm",iconSize:"sm",iconMargin:"xs",borderRadius:"md",borderWidth:"thin"},lg:{labelFontSize:"large",labelPaddingLeft:"md",iconSize:"sm-md",iconMargin:"xs",borderRadius:"lg",borderWidth:"thin"}},animation:{duration:100,easing:"ease-out"}}),Pf=n=>({defaultColor:"grey300",defaultThickness:1}),Wf=n=>{const r=`0 0 16px 4px ${n.colors.grey400}40`;return{backgroundColor:"grey100",padding:"xs",radius:"full",avatarSize:"md",loadingGap:"sm",navItem:{radius:"full",paddingX:"md",paddingY:"sm",gap:"xs",large:{fontSize:"large",loadingSize:"small"},medium:{fontSize:"medium",loadingSize:"small"},active:{fontWeight:"medium",color:"black",backgroundColor:"white",hoverBackgroundColor:"white",hoverBoxShadow:r},inactive:{fontWeight:"regular",color:"grey600",backgroundColor:"transparent",hoverBackgroundColor:"white",hoverBoxShadow:r},hover:{color:"primary"}},profileDropdown:{offset:{top:72,right:0},containerPaddingRight:"md",spacingTop:"sm",padding:"sm",gap:"sm",borderRadius:24,boxShadow:r,backgroundColor:"white",defaultMaxHeight:300,minWidth:50,animationDuration:300},navDropdown:{spacingTop:"sm",paddingX:"md-lg",paddingY:"md",gap:"sm-md",borderRadius:24,boxShadow:r,backgroundColor:"white",defaultMaxHeight:300,minWidth:50,animationDuration:300}}},Df=n=>{const r="grey300",i="danger",s="primary",l="grey100",u="grey300",f="grey500",d="white",g="grey900",v="thin",_=`inset 0 0 0 ${n.borderWidths.thin}px ${n.colors[s]}`,S=`inset 0 0 0 ${n.borderWidths.thin}px ${n.colors[i]}`;return{borderRadius:"md",borderWidth:v,padding:{vertical:"sm",horizontal:"md"},fontSize:"medium",placeholderColor:"grey500",iconSpacing:"sm",iconSize:"sm-md",iconColor:"grey600",textColor:g,disabledTextColor:f,disabledBorderColor:u,focusColor:s,errorColor:i,states:{default:{borderColor:r,backgroundColor:d,boxShadow:"none"},focused:{borderColor:s,backgroundColor:d,boxShadow:_},error:{borderColor:i,backgroundColor:d,boxShadow:S},disabled:{borderColor:u,backgroundColor:l,boxShadow:"none"}}}},Hf=n=>({defaultSize:"md",defaultVariant:"default",sizes:{sm:{strokeWidth:1.5,dotRadius:3,axisColor:"grey600",gridColor:"grey200",labelColor:"grey600",labelFontSize:10,legendFontSize:12,legendSpacing:8},md:{strokeWidth:2,dotRadius:4,axisColor:"grey600",gridColor:"grey200",labelColor:"grey600",labelFontSize:12,legendFontSize:14,legendSpacing:12},lg:{strokeWidth:3,dotRadius:5,axisColor:"grey600",gridColor:"grey200",labelColor:"grey600",labelFontSize:14,legendFontSize:16,legendSpacing:16}},variants:{default:{defaultColors:["primary","secondary","success","warning","danger","info","purple500"]},soft:{defaultColors:["primary300","secondary300","teal300","lime400","pink400","purple400","cyan400"]},bold:{defaultColors:["primary500","secondary500","teal600","orange600","pink600","purple600","cyan600"]}}}),Zf=n=>({defaultGap:"sm",defaultPadding:"none"}),Nf=n=>({sizes:{small:"24px",medium:"36px",large:"48px"},strokeWidths:{small:"2px",medium:"3px",large:"4px"},arc:{minAngle:40,maxAngle:290},animation:{loopInterval:800,showingDuration:250,contentShowingDuration:300}}),Vf=n=>({container:{sizes:{small:{gap:"xs"},medium:{gap:"sm"},large:{gap:"md"}}},item:{defaultColor:"grey900",text:{color:"black",disabledColor:"grey500"},shapes:{circular:{container:{borderRadius:"full"}},rounded:{container:{borderRadius:"md"}}},sizes:{small:{container:{size:"sm-md"},text:{fontSize:"small"},buttonSize:"sm",icon:{size:"xs",weight:"bold"}},medium:{container:{size:"md"},text:{fontSize:"medium"},buttonSize:"md",icon:{size:"sm",weight:"bold"}},large:{container:{size:"md-lg"},text:{fontSize:"large"},buttonSize:"lg",icon:{size:"sm-md",weight:"bold"}}}}}),Uf=n=>({defaultSize:"md",defaultVariant:"default",sizes:{sm:{strokeWidth:1,strokeColor:"white",labelColor:"grey700",labelFontSize:10,legendFontSize:12,legendSpacing:8},md:{strokeWidth:2,strokeColor:"white",labelColor:"grey700",labelFontSize:12,legendFontSize:14,legendSpacing:12},lg:{strokeWidth:3,strokeColor:"white",labelColor:"grey700",labelFontSize:14,legendFontSize:16,legendSpacing:16}},variants:{default:{defaultColors:["primary","secondary","success","warning","danger","info","cyan500"]},soft:{defaultColors:["primary200","secondary200","lime300","orange300","pink300","purple300","cyan300"]},outlined:{defaultColors:["primary500","secondary500","teal700","orange700","pink700","purple700","cyan700"]}}}),qf=n=>({defaultVariant:"soft",defaultSize:"md",sizes:{sm:{height:"2xs",borderRadius:"xs"},md:{height:"xs",borderRadius:"sm"},lg:{height:"sm",borderRadius:"md"}},variants:{soft:{containerBackgroundColor:"grey100",defaultProgressColor:"primary"},outlined:{containerBackgroundColor:"white",containerBorderWidth:"thin",defaultProgressColor:"primary"},plain:{containerBackgroundColor:"white",defaultProgressColor:"primary"}}}),Gf=n=>{const r="grey300",i="danger",s="grey300",l="grey100",u="grey400",f="grey100",d="grey200",g="white",v="transparent",_="thin",S="thick";return{defaultColor:"primary",defaultSize:"md",defaultVariant:"outlined",defaultCorner:"circle",squircleBorderRadii:{circle:"999px",rounded:"8px"},labelColor:"grey700",disabledLabelColor:u,valueColor:"grey900",placeholderColor:"grey500",helperTextColor:"grey600",errorColor:i,iconColor:"grey600",disabledContentColor:u,disabledOpacity:.6,sizes:{sm:{paddingVertical:"xs",paddingHorizontal:"sm",fontSize:"small",borderWidth:"thin",iconSize:"sm",gap:"xs",dropdownPaddingVertical:"xs",dropdownPaddingHorizontal:"sm"},md:{paddingVertical:"sm",paddingHorizontal:"md",fontSize:"medium",borderWidth:"thin",iconSize:"sm-md",gap:"sm",dropdownPaddingVertical:"sm",dropdownPaddingHorizontal:"md"},lg:{paddingVertical:"md",paddingHorizontal:"lg",fontSize:"large",borderWidth:"thin",iconSize:"md",gap:"md",dropdownPaddingVertical:"md",dropdownPaddingHorizontal:"lg"}},variants:{outlined:{default:{backgroundColor:v,borderColor:r,borderWidth:_},hover:{backgroundColor:"grey100",borderColor:r,borderWidth:_},focused:{backgroundColor:v,borderColor:"primary",borderWidth:S},disabled:{backgroundColor:v,borderColor:s,borderWidth:_},errored:{backgroundColor:v,borderColor:i,borderWidth:_}},filled:{default:{backgroundColor:f,borderColor:v,borderWidth:_},hover:{backgroundColor:d,borderColor:v,borderWidth:_},focused:{backgroundColor:g,borderColor:"primary",borderWidth:S},disabled:{backgroundColor:l,borderColor:v,borderWidth:_},errored:{backgroundColor:g,borderColor:i,borderWidth:_}}},animation:{duration:200,easing:"ease-out"},dropdown:{backgroundColor:g,borderColor:r,shadow:"md",offset:"sm",zIndex:1e3,maxHeight:200,borderRadiusForCircle:"xl",borderRadiusForRounded:"md",itemTextColor:"grey900",itemSelectedTextColor:"grey900",itemHoverBackgroundColor:"grey100",itemSelectedBackgroundColor:"white",emptyTextColor:"grey500"}}},Kf=n=>({animation:{duration:1500,gradient:{start:"grey100",middle:"grey200",end:"grey100"},transition:{backgroundDuration:250,contentFadeDuration:200}},container:{rectangle:{borderRadius:"none",opacity:1},rounded:{borderRadius:"md",opacity:1},circle:{borderRadius:"full",opacity:1},transparent:{borderRadius:"none",opacity:0}}}),Xf=n=>({defaultVariant:"solid",defaultColor:"primary",defaultRadius:"full",defaultSize:"md",sizes:{sm:{paddingVertical:"2xs",paddingHorizontal:"xs",fontSize:"xs",gap:"2xs",iconSize:"xs"},md:{paddingVertical:"xs",paddingHorizontal:"sm",fontSize:"small",gap:"xs",iconSize:"sm"},lg:{paddingVertical:"sm",paddingHorizontal:"md",fontSize:"medium",gap:"sm",iconSize:"sm-md"}}}),Yf=n=>{const r="sm";return{defaultBackgroundColor:"grey800",defaultTextColor:"white",defaultPlacement:"bottom",container:{padding:"sm",borderRadius:"md",shadow:"md",zIndex:9999,maxWidth:"300px"},text:{fontSize:"small"},positioning:{spacing:r,placements:{top:{bottom:"100%",left:"50%",transform:"translateX(-50%)",mb:r},bottom:{top:"100%",left:"50%",transform:"translateX(-50%)",mt:r},left:{top:"50%",right:"100%",transform:"translateY(-50%)",mr:r},right:{top:"50%",left:"100%",transform:"translateY(-50%)",ml:r}}}}},Qf=n=>({animation:{minScale:.92,maxScale:1,minOpacity:.7,maxOpacity:1,springConfig:{mass:.5}}}),Jf=n=>({defaultAccentColor:"#00adef",aspectRatio:56.25,playerSettings:{autoplay:!1,muted:!1,loop:!1,title:!1,byline:!1,portrait:!1,controls:!0}}),ed=n=>({art:If(),base:Ff(),button:zf(),divider:Pf(),header:Wf(n),input:Df(n),list:Zf(),loading:Nf(),pagination:Vf(),skeleton:Kf(),touchable:Qf(),vimeo:Jf(),carousel:jf(),accordion:Lf(),tag:Xf(),checkbox:Bf(),select:Gf(),progress:qf(),avatar:Of(),tooltip:Yf(),barChart:Mf(),pieChart:Uf(),lineChart:Hf()}),sv=Ca(An.space),av=_a(An.size),lv=wa(An.borderWidth),uv=xa(An.radius),cv=Co(An.fontSize),fv=Ea(An.fontSize),dv=Aa(),vc=Sa(An.font),hv={spaces:sv,sizes:av,colors:_o,radii:uv,borderWidths:lv,fonts:vc,zIndex:sr,__hd__:{text:{fontSizes:cv,lineHeights:fv,fontWeights:dv,fonts:vc}}};function td(){const n=hv,r=ed(n);return{...n,__hd__:{...n.__hd__,...r}}}const fo=td(),ue=Dn.styled,Hn=Dn.keyframes,tt=Dn.css,nd=(n,r)=>!["theme","themeFontSize","themeFontWeight","themeTypeface","themePosition","color","bg","bgColor","backgroundColor","opacity","margin","m","marginTop","mt","marginRight","mr","marginBottom","mb","marginLeft","ml","marginX","mx","marginY","my","padding","p","paddingTop","pt","paddingRight","pr","paddingBottom","pb","paddingLeft","pl","paddingX","px","paddingY","py","gap","borderRadius","r","radius","borderBottomLeftRadius","bbl","borderBottomRightRadius","bbr","borderTopLeftRadius","btl","borderTopRightRadius","btr","borderWidth","b","borderBottomWidth","bb","borderTopWidth","bt","borderLeftWidth","bl","borderRightWidth","br","borderColor","bc","borderBottomColor","bb","borderTopColor","bt","borderLeftColor","bl","borderRightColor","br","fontSize","fontWeight","lineHeight","letterSpacing","textAlign","fontStyle","textTransform","textDecoration","themeColor","useRichText","width","height","minWidth","maxWidth","minHeight","maxHeight","display","alignItems","alignContent","justifyContent","flexWrap","flexDirection","flex","flexGrow","flexShrink","flexBasis","alignSelf","position","top","right","bottom","left","overflow","cursor","transition","transform","animation","willChange","pointerEvents","userSelect","resize","boxShadow","textShadow","filter","backdropFilter","mixBlendMode","isolation","zIndex","marginInline","marginBlock","paddingInline","paddingBlock","whiteSpace","textOverflow","overflowY","overflowX","fullWidth","fullHeight","fw","fh","absoluteFill"].includes(n),pv=n=>typeof n=="function"?n(fo):n?{...fo,...n}:fo,gv=({theme:n,children:r})=>{const i=pv(n);return y.jsx(Dn.StyleSheetManager,{shouldForwardProp:nd,children:y.jsx(Dn.ThemeProvider,{theme:i,children:r})})},xe=Dn.useTheme,St=()=>typeof document>"u",di={xs:0,sm:600,md:900,lg:1200,xl:1536},ai=Object.keys(di),So=n=>Oe.isObject(n)&&("xs"in n||"sm"in n||"md"in n||"lg"in n||"xl"in n),Wt=(n,r)=>So(n)?Object.fromEntries(Object.entries(n).map(([i,s])=>[i,r(s)])):r(n),fa=n=>Oe.reduce(n,(r,i,s)=>(Oe.forEach(i,(l,u)=>{Oe.has(r,u)||Oe.set(r,u,{}),Oe.set(r,[u,s],l)}),r),{}),rd=(n,r)=>{const i=Object.fromEntries(Object.keys(n).map(d=>[d,$a(n[d])])),s=fa(i),l=Object.fromEntries(ai.map(d=>[d,r(s[d])])),u=fa(l);return Object.fromEntries(Object.entries(u).map(([d,g])=>[d,od(g)]))},id=(n,r)=>{if(!So(n))return n;switch(r){case"xs":return n.xs??n.sm??n.md??n.lg??n.xl;case"sm":return n.sm??n.xs??n.md??n.lg??n.xl;case"md":return n.md??n.sm??n.xs??n.lg??n.xl;case"lg":return n.lg??n.md??n.sm??n.xs??n.xl;case"xl":return n.xl??n.lg??n.md??n.sm??n.xs}},$a=n=>Object.fromEntries(Object.keys(di).map(r=>[r,id(n,r)])),od=n=>{let r=n.xs;const i={xs:r};for(let s=1;s<ai.length;s++){const l=ai[s],u=n[l];Oe.isEqual(u,r)||(i[l]=u,r=u)}return Object.keys(i).length===1?i.xs:i},Or=n=>{const[r,i]=Oe.partition(Object.entries(n),([u,f])=>So(f)),s=Object.fromEntries(r.map(([u,f])=>[u,$a(f)])),l=Oe.compact(ai.map(u=>{const f=Object.fromEntries(Object.keys(s).map(g=>[g,s[g][u]]));if(u==="xs"){const g={...Object.fromEntries(i),...f};return Oe.isEmpty(g)?null:tt(g)}if(Oe.isEmpty(f))return null;const d=`(min-width: ${di[u]}px)`;return tt`
|
|
28
|
-
@media ${
|
|
29
|
-
${
|
|
26
|
+
`)+V+`return __p
|
|
27
|
+
}`;var Te=Ql(function(){return He(g,ae+"return "+V).apply(i,_)});if(Te.source=V,Ho(Te))throw Te;return Te}function gm(e){return Ve(e).toLowerCase()}function mm(e){return Ve(e).toUpperCase()}function vm(e,t,o){if(e=Ve(e),e&&(o||t===i))return ss(e);if(!e||!(t=Ot(t)))return e;var s=Gt(e),c=Gt(t),g=ls(s,c),_=us(s,c)+1;return _n(s,g,_).join("")}function ym(e,t,o){if(e=Ve(e),e&&(o||t===i))return e.slice(0,fs(e)+1);if(!e||!(t=Ot(t)))return e;var s=Gt(e),c=us(s,Gt(t))+1;return _n(s,0,c).join("")}function bm(e,t,o){if(e=Ve(e),e&&(o||t===i))return e.replace(Zi,"");if(!e||!(t=Ot(t)))return e;var s=Gt(e),c=ls(s,Gt(t));return _n(s,c).join("")}function xm(e,t){var o=ve,s=Oe;if(nt(t)){var c="separator"in t?t.separator:c;o="length"in t?Ae(t.length):o,s="omission"in t?Ot(t.omission):s}e=Ve(e);var g=e.length;if(Vn(e)){var _=Gt(e);g=_.length}if(o>=g)return e;var E=o-Un(s);if(E<1)return s;var R=_?_n(_,0,E).join(""):e.slice(0,E);if(c===i)return R+s;if(_&&(E+=R.length-E),Vo(c)){if(e.slice(E).search(c)){var B,P=R;for(c.global||(c=ao(c.source,Ve(ka.exec(c))+"g")),c.lastIndex=0;B=c.exec(P);)var V=B.index;R=R.slice(0,V===i?E:V)}}else if(e.indexOf(Ot(c),E)!=E){var J=R.lastIndexOf(c);J>-1&&(R=R.slice(0,J))}return R+s}function wm(e){return e=Ve(e),e&&Of.test(e)?e.replace(Aa,Xd):e}var _m=Jn(function(e,t,o){return e+(o?" ":"")+t.toUpperCase()}),Go=Js("toUpperCase");function Yl(e,t,o){return e=Ve(e),t=o?i:t,t===i?Vd(e)?Jd(e):zd(e):e.match(t)||[]}var Ql=Le(function(e,t){try{return Rt(e,i,t)}catch(o){return Ho(o)?o:new we(o)}}),Cm=sn(function(e,t){return Bt(t,function(o){o=tn(o),on(e,o,No(e[o],e))}),e});function Sm(e){var t=e==null?0:e.length,o=he();return e=t?tt(e,function(s){if(typeof s[1]!="function")throw new Pt(f);return[o(s[0]),s[1]]}):[],Le(function(s){for(var c=-1;++c<t;){var g=e[c];if(Rt(g[0],this,s))return Rt(g[1],this,s)}})}function Em(e){return X0(Dt(e,T))}function Ko(e){return function(){return e}}function Am(e,t){return e==null||e!==e?t:e}var $m=tl(),Tm=tl(!0);function $t(e){return e}function Xo(e){return Ls(typeof e=="function"?e:Dt(e,T))}function km(e){return Is(Dt(e,T))}function Rm(e,t){return Ms(e,Dt(t,T))}var Lm=Le(function(e,t){return function(o){return vr(o,e,t)}}),Om=Le(function(e,t){return function(o){return vr(e,o,t)}});function Yo(e,t,o){var s=ft(t),c=ti(t,s);o==null&&!(nt(t)&&(c.length||!s.length))&&(o=t,t=e,e=this,c=ti(t,ft(t)));var g=!(nt(o)&&"chain"in o)||!!o.chain,_=un(e);return Bt(c,function(E){var R=t[E];e[E]=R,_&&(e.prototype[E]=function(){var B=this.__chain__;if(g||B){var P=e(this.__wrapped__),V=P.__actions__=St(this.__actions__);return V.push({func:R,args:arguments,thisArg:e}),P.__chain__=B,P}return R.apply(e,mn([this.value()],arguments))})}),e}function Im(){return dt._===this&&(dt._=o0),this}function Qo(){}function Mm(e){return e=Ae(e),Le(function(t){return Fs(t,e)})}var Fm=ko(tt),zm=ko(ns),jm=ko(Ji);function Jl(e){return zo(e)?eo(tn(e)):h1(e)}function Bm(e){return function(t){return e==null?i:On(e,t)}}var Pm=rl(),Wm=rl(!0);function Jo(){return[]}function ea(){return!1}function Dm(){return{}}function Nm(){return""}function Zm(){return!0}function Hm(e,t){if(e=Ae(e),e<1||e>K)return[];var o=Se,s=pt(e,Se);t=he(t),e-=Se;for(var c=ro(s,t);++o<e;)t(o);return c}function Vm(e){return _e(e)?tt(e,tn):It(e)?[e]:St(bl(Ve(e)))}function Um(e){var t=++r0;return Ve(e)+t}var qm=si(function(e,t){return e+t},0),Gm=Ro("ceil"),Km=si(function(e,t){return e/t},1),Xm=Ro("floor");function Ym(e){return e&&e.length?ei(e,$t,go):i}function Qm(e,t){return e&&e.length?ei(e,he(t,2),go):i}function Jm(e){return os(e,$t)}function e2(e,t){return os(e,he(t,2))}function t2(e){return e&&e.length?ei(e,$t,bo):i}function n2(e,t){return e&&e.length?ei(e,he(t,2),bo):i}var r2=si(function(e,t){return e*t},1),i2=Ro("round"),o2=si(function(e,t){return e-t},0);function a2(e){return e&&e.length?no(e,$t):0}function s2(e,t){return e&&e.length?no(e,he(t,2)):0}return p.after=kp,p.ary=Rl,p.assign=mg,p.assignIn=Hl,p.assignInWith=xi,p.assignWith=vg,p.at=yg,p.before=Ll,p.bind=No,p.bindAll=Cm,p.bindKey=Ol,p.castArray=Dp,p.chain=$l,p.chunk=X1,p.compact=Y1,p.concat=Q1,p.cond=Sm,p.conforms=Em,p.constant=Ko,p.countBy=ap,p.create=bg,p.curry=Il,p.curryRight=Ml,p.debounce=Fl,p.defaults=xg,p.defaultsDeep=wg,p.defer=Rp,p.delay=Lp,p.difference=J1,p.differenceBy=eh,p.differenceWith=th,p.drop=nh,p.dropRight=rh,p.dropRightWhile=ih,p.dropWhile=oh,p.fill=ah,p.filter=lp,p.flatMap=fp,p.flatMapDeep=dp,p.flatMapDepth=hp,p.flatten=Cl,p.flattenDeep=sh,p.flattenDepth=lh,p.flip=Op,p.flow=$m,p.flowRight=Tm,p.fromPairs=uh,p.functions=Tg,p.functionsIn=kg,p.groupBy=pp,p.initial=fh,p.intersection=dh,p.intersectionBy=hh,p.intersectionWith=ph,p.invert=Lg,p.invertBy=Og,p.invokeMap=mp,p.iteratee=Xo,p.keyBy=vp,p.keys=ft,p.keysIn=At,p.map=pi,p.mapKeys=Mg,p.mapValues=Fg,p.matches=km,p.matchesProperty=Rm,p.memoize=mi,p.merge=zg,p.mergeWith=Vl,p.method=Lm,p.methodOf=Om,p.mixin=Yo,p.negate=vi,p.nthArg=Mm,p.omit=jg,p.omitBy=Bg,p.once=Ip,p.orderBy=yp,p.over=Fm,p.overArgs=Mp,p.overEvery=zm,p.overSome=jm,p.partial=Zo,p.partialRight=zl,p.partition=bp,p.pick=Pg,p.pickBy=Ul,p.property=Jl,p.propertyOf=Bm,p.pull=yh,p.pullAll=El,p.pullAllBy=bh,p.pullAllWith=xh,p.pullAt=wh,p.range=Pm,p.rangeRight=Wm,p.rearg=Fp,p.reject=_p,p.remove=_h,p.rest=zp,p.reverse=Wo,p.sampleSize=Sp,p.set=Dg,p.setWith=Ng,p.shuffle=Ep,p.slice=Ch,p.sortBy=Tp,p.sortedUniq=Rh,p.sortedUniqBy=Lh,p.split=fm,p.spread=jp,p.tail=Oh,p.take=Ih,p.takeRight=Mh,p.takeRightWhile=Fh,p.takeWhile=zh,p.tap=Yh,p.throttle=Bp,p.thru=hi,p.toArray=Dl,p.toPairs=ql,p.toPairsIn=Gl,p.toPath=Vm,p.toPlainObject=Zl,p.transform=Zg,p.unary=Pp,p.union=jh,p.unionBy=Bh,p.unionWith=Ph,p.uniq=Wh,p.uniqBy=Dh,p.uniqWith=Nh,p.unset=Hg,p.unzip=Do,p.unzipWith=Al,p.update=Vg,p.updateWith=Ug,p.values=nr,p.valuesIn=qg,p.without=Zh,p.words=Yl,p.wrap=Wp,p.xor=Hh,p.xorBy=Vh,p.xorWith=Uh,p.zip=qh,p.zipObject=Gh,p.zipObjectDeep=Kh,p.zipWith=Xh,p.entries=ql,p.entriesIn=Gl,p.extend=Hl,p.extendWith=xi,Yo(p,p),p.add=qm,p.attempt=Ql,p.camelCase=Yg,p.capitalize=Kl,p.ceil=Gm,p.clamp=Gg,p.clone=Np,p.cloneDeep=Hp,p.cloneDeepWith=Vp,p.cloneWith=Zp,p.conformsTo=Up,p.deburr=Xl,p.defaultTo=Am,p.divide=Km,p.endsWith=Qg,p.eq=Xt,p.escape=Jg,p.escapeRegExp=em,p.every=sp,p.find=up,p.findIndex=wl,p.findKey=_g,p.findLast=cp,p.findLastIndex=_l,p.findLastKey=Cg,p.floor=Xm,p.forEach=Tl,p.forEachRight=kl,p.forIn=Sg,p.forInRight=Eg,p.forOwn=Ag,p.forOwnRight=$g,p.get=Uo,p.gt=qp,p.gte=Gp,p.has=Rg,p.hasIn=qo,p.head=Sl,p.identity=$t,p.includes=gp,p.indexOf=ch,p.inRange=Kg,p.invoke=Ig,p.isArguments=Fn,p.isArray=_e,p.isArrayBuffer=Kp,p.isArrayLike=Et,p.isArrayLikeObject=at,p.isBoolean=Xp,p.isBuffer=Cn,p.isDate=Yp,p.isElement=Qp,p.isEmpty=Jp,p.isEqual=eg,p.isEqualWith=tg,p.isError=Ho,p.isFinite=ng,p.isFunction=un,p.isInteger=jl,p.isLength=yi,p.isMap=Bl,p.isMatch=rg,p.isMatchWith=ig,p.isNaN=og,p.isNative=ag,p.isNil=lg,p.isNull=sg,p.isNumber=Pl,p.isObject=nt,p.isObjectLike=it,p.isPlainObject=Cr,p.isRegExp=Vo,p.isSafeInteger=ug,p.isSet=Wl,p.isString=bi,p.isSymbol=It,p.isTypedArray=tr,p.isUndefined=cg,p.isWeakMap=fg,p.isWeakSet=dg,p.join=gh,p.kebabCase=tm,p.last=Zt,p.lastIndexOf=mh,p.lowerCase=nm,p.lowerFirst=rm,p.lt=hg,p.lte=pg,p.max=Ym,p.maxBy=Qm,p.mean=Jm,p.meanBy=e2,p.min=t2,p.minBy=n2,p.stubArray=Jo,p.stubFalse=ea,p.stubObject=Dm,p.stubString=Nm,p.stubTrue=Zm,p.multiply=r2,p.nth=vh,p.noConflict=Im,p.noop=Qo,p.now=gi,p.pad=im,p.padEnd=om,p.padStart=am,p.parseInt=sm,p.random=Xg,p.reduce=xp,p.reduceRight=wp,p.repeat=lm,p.replace=um,p.result=Wg,p.round=i2,p.runInContext=k,p.sample=Cp,p.size=Ap,p.snakeCase=cm,p.some=$p,p.sortedIndex=Sh,p.sortedIndexBy=Eh,p.sortedIndexOf=Ah,p.sortedLastIndex=$h,p.sortedLastIndexBy=Th,p.sortedLastIndexOf=kh,p.startCase=dm,p.startsWith=hm,p.subtract=o2,p.sum=a2,p.sumBy=s2,p.template=pm,p.times=Hm,p.toFinite=cn,p.toInteger=Ae,p.toLength=Nl,p.toLower=gm,p.toNumber=Ht,p.toSafeInteger=gg,p.toString=Ve,p.toUpper=mm,p.trim=vm,p.trimEnd=ym,p.trimStart=bm,p.truncate=xm,p.unescape=wm,p.uniqueId=Um,p.upperCase=_m,p.upperFirst=Go,p.each=Tl,p.eachRight=kl,p.first=Sl,Yo(p,function(){var e={};return Jt(p,function(t,o){qe.call(p.prototype,o)||(e[o]=t)}),e}(),{chain:!1}),p.VERSION=a,Bt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){p[e].placeholder=p}),Bt(["drop","take"],function(e,t){Be.prototype[e]=function(o){o=o===i?1:ut(Ae(o),0);var s=this.__filtered__&&!t?new Be(this):this.clone();return s.__filtered__?s.__takeCount__=pt(o,s.__takeCount__):s.__views__.push({size:pt(o,Se),type:e+(s.__dir__<0?"Right":"")}),s},Be.prototype[e+"Right"]=function(o){return this.reverse()[e](o).reverse()}}),Bt(["filter","map","takeWhile"],function(e,t){var o=t+1,s=o==H||o==Y;Be.prototype[e]=function(c){var g=this.clone();return g.__iteratees__.push({iteratee:he(c,3),type:o}),g.__filtered__=g.__filtered__||s,g}}),Bt(["head","last"],function(e,t){var o="take"+(t?"Right":"");Be.prototype[e]=function(){return this[o](1).value()[0]}}),Bt(["initial","tail"],function(e,t){var o="drop"+(t?"":"Right");Be.prototype[e]=function(){return this.__filtered__?new Be(this):this[o](1)}}),Be.prototype.compact=function(){return this.filter($t)},Be.prototype.find=function(e){return this.filter(e).head()},Be.prototype.findLast=function(e){return this.reverse().find(e)},Be.prototype.invokeMap=Le(function(e,t){return typeof e=="function"?new Be(this):this.map(function(o){return vr(o,e,t)})}),Be.prototype.reject=function(e){return this.filter(vi(he(e)))},Be.prototype.slice=function(e,t){e=Ae(e);var o=this;return o.__filtered__&&(e>0||t<0)?new Be(o):(e<0?o=o.takeRight(-e):e&&(o=o.drop(e)),t!==i&&(t=Ae(t),o=t<0?o.dropRight(-t):o.take(t-e)),o)},Be.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Be.prototype.toArray=function(){return this.take(Se)},Jt(Be.prototype,function(e,t){var o=/^(?:filter|find|map|reject)|While$/.test(t),s=/^(?:head|last)$/.test(t),c=p[s?"take"+(t=="last"?"Right":""):t],g=s||/^find/.test(t);c&&(p.prototype[t]=function(){var _=this.__wrapped__,E=s?[1]:arguments,R=_ instanceof Be,B=E[0],P=R||_e(_),V=function(je){var Pe=c.apply(p,mn([je],E));return s&&J?Pe[0]:Pe};P&&o&&typeof B=="function"&&B.length!=1&&(R=P=!1);var J=this.__chain__,ae=!!this.__actions__.length,pe=g&&!J,Te=R&&!ae;if(!g&&P){_=Te?_:new Be(this);var ge=e.apply(_,E);return ge.__actions__.push({func:hi,args:[V],thisArg:i}),new Wt(ge,J)}return pe&&Te?e.apply(this,E):(ge=this.thru(V),pe?s?ge.value()[0]:ge.value():ge)})}),Bt(["pop","push","shift","sort","splice","unshift"],function(e){var t=Pr[e],o=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",s=/^(?:pop|shift)$/.test(e);p.prototype[e]=function(){var c=arguments;if(s&&!this.__chain__){var g=this.value();return t.apply(_e(g)?g:[],c)}return this[o](function(_){return t.apply(_e(_)?_:[],c)})}}),Jt(Be.prototype,function(e,t){var o=p[t];if(o){var s=o.name+"";qe.call(Xn,s)||(Xn[s]=[]),Xn[s].push({name:t,func:o})}}),Xn[ai(i,I).name]=[{name:"wrapper",func:i}],Be.prototype.clone=w0,Be.prototype.reverse=_0,Be.prototype.value=C0,p.prototype.at=Qh,p.prototype.chain=Jh,p.prototype.commit=ep,p.prototype.next=tp,p.prototype.plant=rp,p.prototype.reverse=ip,p.prototype.toJSON=p.prototype.valueOf=p.prototype.value=op,p.prototype.first=p.prototype.head,cr&&(p.prototype[cr]=np),p},qn=e0();$n?(($n.exports=qn)._=qn,Ki._=qn):dt._=qn}).call(f2)}(Er,Er.exports)),Er.exports}var We=d2();const la=n=>({none:0,hairline:n*.5,thin:n,thick:n*2,heavy:n*4}),ua=n=>({none:0,xs:n*.5,sm:n,md:n*2,lg:n*3,xl:n*4,full:9999}),h2=n=>["none","hairline","thin","thick","heavy"].includes(n),Ku=n=>["none","xs","sm","md","lg","xl","full"].includes(n),Mi={transparent:"#FFFFFF00",white:"#FFFFFF",black:"#000000",primary:"#6949FF",secondary:"#FFC107",success:"#12D18E",danger:"#F75555",warning:"#FACC15",info:"#6949FF",grey100:"#F5F5F5",grey200:"#EEEEEE",grey300:"#E0E0E0",grey400:"#BDBDBD",grey500:"#9E9E9E",grey600:"#757575",grey700:"#616161",grey800:"#424242",grey900:"#212121",primary100:"#F0EDFF",primary200:"#C3B6FF",primary300:"#A592FF",primary400:"#876DFF",primary500:"#6949FF",secondary100:"#FFF9E6",secondary200:"#FFE69C",secondary300:"#FFDA6A",secondary400:"#FFCD39",secondary500:"#FFC107",orange100:"#FFF3E0",orange200:"#FFE0B2",orange300:"#FFCC80",orange400:"#FFB74D",orange500:"#FF9800",orange600:"#FB8C00",orange700:"#F57C00",orange800:"#EF6C00",orange900:"#E65100",cyan100:"#E0F7FA",cyan200:"#B2EBF2",cyan300:"#80DEEA",cyan400:"#4DD0E1",cyan500:"#26C6DA",cyan600:"#00BCD4",cyan700:"#00ACC1",cyan800:"#0097A7",cyan900:"#006064",purple100:"#F3E5F5",purple200:"#E1BEE7",purple300:"#CE93D8",purple400:"#BA68C8",purple500:"#AB47BC",purple600:"#9C27B0",purple700:"#8E24AA",purple800:"#7B1FA2",purple900:"#6A1B9A",teal100:"#E0F2F1",teal200:"#B2DFDB",teal300:"#80CBC4",teal400:"#4DB6AC",teal500:"#26A69A",teal600:"#009688",teal700:"#00897B",teal800:"#00796B",teal900:"#004D40",lime100:"#F9FBE7",lime200:"#F0F4C3",lime300:"#E6EE9C",lime400:"#DCE775",lime500:"#CDDC39",lime600:"#C0CA33",lime700:"#AFB42B",lime800:"#9E9D24",lime900:"#827717",pink100:"#FCE4EC",pink200:"#F8BBD0",pink300:"#F48FB1",pink400:"#F06292",pink500:"#EC4899",pink600:"#E91E63",pink700:"#D81B60",pink800:"#C2185B",pink900:"#880E4F",backgroundPurple:"#F9F8FF",backgroundYellow:"#FFFCED",backgroundGreen:"#F1FDF5",backgroundBlue:"#F6F9FF",backgroundTeal:"#F2FFF8",backgroundRed:"#FFF7F8",backgroundOrange:"#FFF8ED"},Xu=n=>n in Mi,Yu={primary:["#543ACC","#6949FF"],secondary:["#E0A800","#FFC107"],success:["#0FB57A","#12D18E"],danger:["#E64545","#F75555"],warning:["#E1B70D","#FACC15"],info:["#543ACC","#6949FF"]},p2=n=>["primary","secondary","success","danger","warning","info"].includes(n),g2=1,m2=8,v2=8,y2="Inter",b2="Sora",x2=10,w2=4,hn={borderWidth:g2,space:m2,size:v2,font:{neutral:y2,heading:b2},fontSize:x2,radius:w2},Qu=n=>({none:"none",sm:`0 1px 2px 0 ${n.grey400}40`,md:`0 4px 6px -1px ${n.grey500}40, 0 2px 4px -1px ${n.grey400}40`,lg:`0 10px 15px -3px ${n.grey600}40, 0 4px 6px -2px ${n.grey500}40`}),_2=n=>["none","sm","md","lg"].includes(n),ca=n=>({"2xs":n*.5,xs:n,sm:n*2,"sm-md":n*2.5,md:n*4,"md-lg":n*6,lg:n*8,xl:n*16,"2xl":n*32,"3xl":n*64,"4xl":n*128}),Bn=n=>["2xs","xs","sm","sm-md","md","md-lg","lg","xl","2xl","3xl","4xl"].includes(n),fa=n=>({none:0,"2xs":n*.25,xs:n*.5,sm:n,"sm-md":n*1.5,md:n*2,"md-lg":n*2.5,lg:n*3,xl:n*4,"2xl":n*5,"3xl":n*6,"4xl":n*8,"5xl":n*10,"6xl":n*12,"7xl":n*14,"8xl":n*16,"9xl":n*18,"10xl":n*20,"-xxs":n*-.25,"-xs":n*-.5,"-sm":n*-1,"-sm-md":n*-1.5,"-md":n*-2,"-md-lg":n*-2.5,"-lg":n*-3,"-xl":n*-4,"-2xl":n*-5,"-3xl":n*-6,"-4xl":n*-8,"-5xl":n*-10,"-6xl":n*-12,"-7xl":n*-14,"-8xl":n*-16,"-9xl":n*-18,"-10xl":n*-20}),Ju=n=>["none","2xs","xs","sm","sm-md","md","md-lg","lg","xl","2xl","3xl","4xl","-xxs","-xs","-sm","-sm-md","-md","-md-lg","-lg","-xl","-2xl","-3xl","-4xl"].includes(n),da=({neutral:n,heading:r})=>({neutral:`"${n}", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif`,heading:`"${r}", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif`}),Fi=n=>({"2xs":n*.75,xs:n,small:n*1.25,medium:n*1.5,large:n*2,xl:n*2.5,"2xl":n*3,"3xl":n*3.5,"4xl":n*4,"5xl":n*5,"6xl":n*6}),ha=n=>{const r=Fi(n),i=1.4;return{"2xs":r["2xs"]*i,xs:r.xs*i,small:r.small*i,medium:r.medium*i,large:r.large*i,xl:r.xl*i,"2xl":r["2xl"]*i,"3xl":r["3xl"]*i,"4xl":r["4xl"]*i,"5xl":r["5xl"]*i,"6xl":r["6xl"]*i}},pa=()=>({"extra-light":100,thin:200,light:300,regular:400,medium:500,semibold:600,bold:700,extrabold:800,black:900}),C2=n=>["2xs","xs","small","medium","large","xl","2xl","3xl","4xl","5xl","6xl"].includes(n),S2=n=>["extra-light","thin","light","regular","medium","semibold","bold","extrabold","black"].includes(n);class E2{constructor({baseZIndex:r=10,step:i=10}={}){rr(this,"dependencies",new Map);rr(this,"zIndexes",null);rr(this,"nodes",new Set);rr(this,"baseZIndex");rr(this,"step");this.baseZIndex=r,this.step=i}register(r,i){this.nodes.add(r),this.nodes.add(i),this.dependencies.has(r)||this.dependencies.set(r,new Set),this.dependencies.get(r).add(i),this.zIndexes=null}deregister(r,i){const a=this.dependencies.get(r);a&&a.delete(i),this.zIndexes=null}getZIndex(r){return this.zIndexes||this._calculateZIndexes(),this.zIndexes.has(r)?this.zIndexes.get(r):(console.warn(`[ZIndexRegistry] ID '${r}' not found in the calculated z-index map. Returning a fallback value. Was it ever registered?`),this.baseZIndex)}_calculateZIndexes(){const r=new Map;for(const l of this.nodes)r.set(l,0);for(const l of this.dependencies.values())for(const u of l)r.set(u,(r.get(u)||0)+1);const i=[];for(const[l,u]of r.entries())u===0&&i.push(l);const a=[];for(;i.length>0;){const l=i.shift();a.push(l);const u=this.dependencies.get(l)||new Set;for(const f of u){const h=(r.get(f)||0)-1;r.set(f,h),h===0&&i.push(f)}}if(a.length!==this.nodes.size){if(process.env.NODE_ENV!=="production")throw new Error("[ZIndexRegistry] Detected a cycle in the z-index relationships. Cannot resolve the stacking order. Please check the register() function calls.");console.warn("[ZIndexRegistry] Detected a cycle in the z-index relationships. Cannot resolve the stacking order. Please check the register() function calls.")}this.zIndexes=new Map;for(let l=0;l<a.length;l++){const u=a[l];this.zIndexes.set(u,this.baseZIndex+l*this.step)}}}const Dn=new E2({baseZIndex:100,step:10}),Qt={AIC_Kits_PageContent:"AIC_Kits_PageContent",AIC_Kits_Carousel:"AIC_Kits_Carousel",AIC_Kits_Dropdown:"AIC_Kits_Dropdown",AIC_Kits_Tooltip:"AIC_Kits_Tooltip",AIC_Kits_Modal:"AIC_Kits_Modal",AIC_Kits_Notification:"AIC_Kits_Notification"};Dn.register(Qt.AIC_Kits_PageContent,Qt.AIC_Kits_Carousel);Dn.register(Qt.AIC_Kits_Carousel,Qt.AIC_Kits_Dropdown);Dn.register(Qt.AIC_Kits_Dropdown,Qt.AIC_Kits_Tooltip);Dn.register(Qt.AIC_Kits_Tooltip,Qt.AIC_Kits_Modal);Dn.register(Qt.AIC_Kits_Modal,Qt.AIC_Kits_Notification);const A2=(n=hn,r=Mi,i=Yu)=>{const a=da(n.font),l=Fi(n.fontSize),u=ha(n.fontSize),f=pa(),h=la(n.borderWidth),y=fa(n.space),v=ca(n.size),$=ua(n.radius),T=Qu(r);return{colors:r,gradientColors:i,fonts:a,fontSizes:l,lineHeights:u,fontWeights:f,borderWidths:h,spaces:y,sizes:v,radii:$,shadows:T}},ec=n=>({paddingVertical:"md",paddingHorizontal:"md",borderRadius:"lg",borderColor:"grey300",borderWidth:"thin",backgroundColor:"white",gap:"md",header:{gap:"sm-md",iconSize:"sm",iconColor:"grey600",disabledOpacity:.5},animation:{duration:300,easing:"ease"}}),tc=n=>({defaultSize:"md",defaultIconSize:"md",defaultEmojiSize:"lg",defaultBrandSize:"md",defaultImageSize:"md",defaultSvgSize:"md"}),nc=n=>({defaultSize:"md",defaultFallbackTextSize:"medium",fallbackBackgroundColor:"grey400",sizes:{sm:{fallbackTextSize:"small"},md:{fallbackTextSize:"medium"},lg:{fallbackTextSize:"xl"}}}),rc=n=>({defaultSize:"md",defaultVariant:"default",sizes:{sm:{barSpacing:8,barRadius:2,axisColor:"grey600",gridColor:"grey200",labelColor:"grey600"},md:{barSpacing:12,barRadius:4,axisColor:"grey600",gridColor:"grey200",labelColor:"grey600"},lg:{barSpacing:16,barRadius:6,axisColor:"grey600",gridColor:"grey200",labelColor:"grey600"}},variants:{default:{defaultBarColor:"primary"},soft:{defaultBarColor:"secondary"},outlined:{defaultBarColor:"info"}}}),ic=n=>({defaultBackgroundColor:"white",defaultHeaderParams:{backgroundColor:"white"},desktopMediaQuery:"(min-width: 768px)",mobilePaddingX:"md",desktopPaddingX:"xl",desktopContentMaxWidth:"1200px"}),oc=n=>({loadingConfig:{size:"md"},defaultColor:"primary",defaultTextColor:"white",iconSpacing:"xs",sizes:{sm:{paddingHorizontal:"sm",paddingVertical:"xs",fontSize:"xs",iconSize:"sm",borderWidth:"thin",fontWeight:"regular",iconWeight:"regular",squircleBorderRadii:{circle:"full",rounded:"md",square:"none"}},md:{paddingHorizontal:"md",paddingVertical:"sm",fontSize:"medium",iconSize:"sm-md",borderWidth:"thin",fontWeight:"regular",iconWeight:"regular",squircleBorderRadii:{circle:"full",rounded:"lg",square:"none"}},lg:{paddingHorizontal:"lg",paddingVertical:"md",fontSize:"large",iconSize:"md",borderWidth:"thick",fontWeight:"semibold",iconWeight:"bold",squircleBorderRadii:{circle:"full",rounded:"xl",square:"none"}}},variants:{solid:{},outlined:{bgColor:"transparent"},text:{bgColor:"transparent"}}}),ac=n=>({pagination:{container:{marginTop:"md",padding:"xs",borderRadius:"full",backgroundColor:"grey100",gap:"xs"},dotSize:"2xs",inactiveColor:"grey300",activeColor:"primary",dotBorderRadius:"full"},navigation:{marginHorizontal:"md",buttonColor:"primary",buttonPadding:"sm",buttonBackgroundColor:"white",buttonBorderRadius:"full",iconSize:"sm-md"},autoScroll:{defaultSpeed:20},container:{defaultItemSpacing:"md"}}),sc=n=>({defaultColor:"primary",defaultSize:"md",checkedBackgroundColor:"primary",uncheckedBorderColor:"grey400",disabledColor:"grey300",disabledTextColor:"grey500",focusBorderColor:"primary",iconColor:"white",textColor:"grey900",sizes:{sm:{labelFontSize:"small",labelPaddingLeft:"xs",iconSize:"xs",iconMargin:"2xs",borderRadius:"sm",borderWidth:"thin"},md:{labelFontSize:"medium",labelPaddingLeft:"sm",iconSize:"sm",iconMargin:"xs",borderRadius:"md",borderWidth:"thin"},lg:{labelFontSize:"large",labelPaddingLeft:"md",iconSize:"sm-md",iconMargin:"xs",borderRadius:"lg",borderWidth:"thin"}},animation:{duration:100,easing:"ease-out"}}),lc=n=>({defaultColor:"grey300",defaultThickness:1}),uc=n=>{const r=`0 0 16px 4px ${n.colors.grey400}40`;return{backgroundColor:"grey100",padding:"xs",radius:"full",avatarSize:"md",loadingGap:"sm",navItem:{radius:"full",paddingX:"md",paddingY:"sm",gap:"xs",large:{fontSize:"large",loadingSize:"small"},medium:{fontSize:"medium",loadingSize:"small"},active:{fontWeight:"medium",color:"black",backgroundColor:"white",hoverBackgroundColor:"white",hoverBoxShadow:r},inactive:{fontWeight:"regular",color:"grey600",backgroundColor:"transparent",hoverBackgroundColor:"white",hoverBoxShadow:r},hover:{color:"primary"}},profileDropdown:{offset:{top:72,right:0},containerPaddingRight:"md",spacingTop:"sm",padding:"sm",gap:"sm",borderRadius:24,boxShadow:r,backgroundColor:"white",defaultMaxHeight:300,minWidth:50,animationDuration:300},navDropdown:{spacingTop:"sm",paddingX:"md-lg",paddingY:"md",gap:"sm-md",borderRadius:24,boxShadow:r,backgroundColor:"white",defaultMaxHeight:300,minWidth:50,animationDuration:300}}},cc=n=>{const r="grey300",i="danger",a="primary",l="grey100",u="grey300",f="grey500",h="white",y="grey900",v="thin",$=`inset 0 0 0 ${n.borderWidths.thin}px ${n.colors[a]}`,T=`inset 0 0 0 ${n.borderWidths.thin}px ${n.colors[i]}`;return{borderRadius:"md",borderWidth:v,padding:{vertical:"sm",horizontal:"md"},fontSize:"medium",placeholderColor:"grey500",iconSpacing:"sm",iconSize:"sm-md",iconColor:"grey600",textColor:y,disabledTextColor:f,disabledBorderColor:u,focusColor:a,errorColor:i,states:{default:{borderColor:r,backgroundColor:h,boxShadow:"none"},focused:{borderColor:a,backgroundColor:h,boxShadow:$},error:{borderColor:i,backgroundColor:h,boxShadow:T},disabled:{borderColor:u,backgroundColor:l,boxShadow:"none"}}}},fc=n=>({defaultSize:"md",defaultVariant:"default",sizes:{sm:{strokeWidth:1.5,dotRadius:3,axisColor:"grey600",gridColor:"grey200",labelColor:"grey600",labelFontSize:10,legendFontSize:12,legendSpacing:8},md:{strokeWidth:2,dotRadius:4,axisColor:"grey600",gridColor:"grey200",labelColor:"grey600",labelFontSize:12,legendFontSize:14,legendSpacing:12},lg:{strokeWidth:3,dotRadius:5,axisColor:"grey600",gridColor:"grey200",labelColor:"grey600",labelFontSize:14,legendFontSize:16,legendSpacing:16}},variants:{default:{defaultColors:["primary","secondary","success","warning","danger","info","purple500"]},soft:{defaultColors:["primary300","secondary300","teal300","lime400","pink400","purple400","cyan400"]},bold:{defaultColors:["primary500","secondary500","teal600","orange600","pink600","purple600","cyan600"]}}}),dc=n=>({defaultGap:"sm",defaultPadding:"none"}),hc=n=>({sizes:{small:"24px",medium:"36px",large:"48px"},strokeWidths:{small:"2px",medium:"3px",large:"4px"},arc:{minAngle:40,maxAngle:290},animation:{loopInterval:800,showingDuration:250,contentShowingDuration:300}}),pc=n=>({container:{sizes:{small:{gap:"xs"},medium:{gap:"sm"},large:{gap:"md"}}},item:{defaultColor:"grey900",text:{color:"black",disabledColor:"grey500"},shapes:{circular:{container:{borderRadius:"full"}},rounded:{container:{borderRadius:"md"}}},sizes:{small:{container:{size:"sm-md"},text:{fontSize:"small"},buttonSize:"sm",icon:{size:"xs",weight:"bold"}},medium:{container:{size:"md"},text:{fontSize:"medium"},buttonSize:"md",icon:{size:"sm",weight:"bold"}},large:{container:{size:"md-lg"},text:{fontSize:"large"},buttonSize:"lg",icon:{size:"sm-md",weight:"bold"}}}}}),gc=n=>({defaultSize:"md",defaultVariant:"default",sizes:{sm:{strokeWidth:1,strokeColor:"white",labelColor:"grey700",labelFontSize:10,legendFontSize:12,legendSpacing:8},md:{strokeWidth:2,strokeColor:"white",labelColor:"grey700",labelFontSize:12,legendFontSize:14,legendSpacing:12},lg:{strokeWidth:3,strokeColor:"white",labelColor:"grey700",labelFontSize:14,legendFontSize:16,legendSpacing:16}},variants:{default:{defaultColors:["primary","secondary","success","warning","danger","info","cyan500"]},soft:{defaultColors:["primary200","secondary200","lime300","orange300","pink300","purple300","cyan300"]},outlined:{defaultColors:["primary500","secondary500","teal700","orange700","pink700","purple700","cyan700"]}}}),mc=n=>({defaultVariant:"soft",defaultSize:"md",sizes:{sm:{height:"2xs",borderRadius:"xs"},md:{height:"xs",borderRadius:"sm"},lg:{height:"sm",borderRadius:"md"}},variants:{soft:{containerBackgroundColor:"grey100",defaultProgressColor:"primary"},outlined:{containerBackgroundColor:"white",containerBorderWidth:"thin",defaultProgressColor:"primary"},plain:{containerBackgroundColor:"white",defaultProgressColor:"primary"}}}),vc=n=>{const r="grey300",i="danger",a="grey300",l="grey100",u="grey400",f="grey100",h="grey200",y="white",v="transparent",$="thin",T="thick";return{defaultColor:"primary",defaultSize:"md",defaultVariant:"outlined",defaultCorner:"circle",squircleBorderRadii:{circle:"999px",rounded:"8px"},labelColor:"grey700",disabledLabelColor:u,valueColor:"grey900",placeholderColor:"grey500",helperTextColor:"grey600",errorColor:i,iconColor:"grey600",disabledContentColor:u,disabledOpacity:.6,sizes:{sm:{paddingVertical:"xs",paddingHorizontal:"sm",fontSize:"small",borderWidth:"thin",iconSize:"sm",gap:"xs",dropdownPaddingVertical:"xs",dropdownPaddingHorizontal:"sm"},md:{paddingVertical:"sm",paddingHorizontal:"md",fontSize:"medium",borderWidth:"thin",iconSize:"sm-md",gap:"sm",dropdownPaddingVertical:"sm",dropdownPaddingHorizontal:"md"},lg:{paddingVertical:"md",paddingHorizontal:"lg",fontSize:"large",borderWidth:"thin",iconSize:"md",gap:"md",dropdownPaddingVertical:"md",dropdownPaddingHorizontal:"lg"}},variants:{outlined:{default:{backgroundColor:v,borderColor:r,borderWidth:$},hover:{backgroundColor:"grey100",borderColor:r,borderWidth:$},focused:{backgroundColor:v,borderColor:"primary",borderWidth:T},disabled:{backgroundColor:v,borderColor:a,borderWidth:$},errored:{backgroundColor:v,borderColor:i,borderWidth:$}},filled:{default:{backgroundColor:f,borderColor:v,borderWidth:$},hover:{backgroundColor:h,borderColor:v,borderWidth:$},focused:{backgroundColor:y,borderColor:"primary",borderWidth:T},disabled:{backgroundColor:l,borderColor:v,borderWidth:$},errored:{backgroundColor:y,borderColor:i,borderWidth:$}}},animation:{duration:200,easing:"ease-out"},dropdown:{backgroundColor:y,borderColor:r,shadow:"md",offset:"sm",zIndex:1e3,maxHeight:200,borderRadiusForCircle:"xl",borderRadiusForRounded:"md",itemTextColor:"grey900",itemSelectedTextColor:"grey900",itemHoverBackgroundColor:"grey100",itemSelectedBackgroundColor:"white",emptyTextColor:"grey500"}}},yc=n=>({animation:{duration:1500,gradient:{start:"grey100",middle:"grey200",end:"grey100"},transition:{backgroundDuration:250,contentFadeDuration:200}},container:{rectangle:{borderRadius:"none",opacity:1},rounded:{borderRadius:"md",opacity:1},circle:{borderRadius:"full",opacity:1},transparent:{borderRadius:"none",opacity:0}}}),bc=n=>({defaultVariant:"solid",defaultColor:"primary",defaultRadius:"full",defaultSize:"md",sizes:{sm:{paddingVertical:"2xs",paddingHorizontal:"xs",fontSize:"xs",gap:"2xs",iconSize:"xs"},md:{paddingVertical:"xs",paddingHorizontal:"sm",fontSize:"small",gap:"xs",iconSize:"sm"},lg:{paddingVertical:"sm",paddingHorizontal:"md",fontSize:"medium",gap:"sm",iconSize:"sm-md"}}}),xc=n=>{const r="sm";return{defaultBackgroundColor:"grey800",defaultTextColor:"white",defaultPlacement:"bottom",container:{padding:"sm",borderRadius:"md",shadow:"md",zIndex:9999,maxWidth:"300px"},text:{fontSize:"small"},positioning:{spacing:r,placements:{top:{bottom:"100%",left:"50%",transform:"translateX(-50%)",mb:r},bottom:{top:"100%",left:"50%",transform:"translateX(-50%)",mt:r},left:{top:"50%",right:"100%",transform:"translateY(-50%)",mr:r},right:{top:"50%",left:"100%",transform:"translateY(-50%)",ml:r}}}}},wc=n=>({animation:{minScale:.92,maxScale:1,minOpacity:.7,maxOpacity:1,springConfig:{mass:.5}}}),_c=n=>({defaultAccentColor:"#00adef",aspectRatio:56.25,playerSettings:{autoplay:!1,muted:!1,loop:!1,title:!1,byline:!1,portrait:!1,controls:!0}}),Cc=n=>({art:tc(),base:ic(),button:oc(),divider:lc(),header:uc(n),input:cc(n),list:dc(),loading:hc(),pagination:pc(),skeleton:yc(),touchable:wc(),vimeo:_c(),carousel:ac(),accordion:ec(),tag:bc(),checkbox:sc(),select:vc(),progress:mc(),avatar:nc(),tooltip:xc(),barChart:rc(),pieChart:gc(),lineChart:fc()}),$2=fa(hn.space),T2=ca(hn.size),k2=la(hn.borderWidth),R2=ua(hn.radius),L2=Fi(hn.fontSize),O2=ha(hn.fontSize),I2=pa(),nu=da(hn.font),M2={spaces:$2,sizes:T2,colors:Mi,radii:R2,borderWidths:k2,fonts:nu,zIndex:Dn,__hd__:{text:{fontSizes:L2,lineHeights:O2,fontWeights:I2,fonts:nu}}};function Sc(){const n=M2,r=Cc(n);return{...n,__hd__:{...n.__hd__,...r}}}const Ai=Sc(),re=Sn.styled,En=Sn.keyframes,ot=Sn.css,Ec=(n,r)=>!["theme","themeFontSize","themeFontWeight","themeTypeface","themePosition","color","bg","bgColor","backgroundColor","opacity","margin","m","marginTop","mt","marginRight","mr","marginBottom","mb","marginLeft","ml","marginX","mx","marginY","my","padding","p","paddingTop","pt","paddingRight","pr","paddingBottom","pb","paddingLeft","pl","paddingX","px","paddingY","py","gap","borderRadius","r","radius","borderBottomLeftRadius","bbl","borderBottomRightRadius","bbr","borderTopLeftRadius","btl","borderTopRightRadius","btr","borderWidth","b","borderBottomWidth","bb","borderTopWidth","bt","borderLeftWidth","bl","borderRightWidth","br","borderColor","bc","borderBottomColor","bb","borderTopColor","bt","borderLeftColor","bl","borderRightColor","br","fontSize","fontWeight","lineHeight","letterSpacing","textAlign","fontStyle","textTransform","textDecoration","themeColor","useRichText","width","height","minWidth","maxWidth","minHeight","maxHeight","display","alignItems","alignContent","justifyContent","flexWrap","flexDirection","flex","flexGrow","flexShrink","flexBasis","alignSelf","position","top","right","bottom","left","overflow","cursor","transition","transform","animation","willChange","pointerEvents","userSelect","resize","boxShadow","textShadow","filter","backdropFilter","mixBlendMode","isolation","zIndex","marginInline","marginBlock","paddingInline","paddingBlock","whiteSpace","textOverflow","overflowY","overflowX","fullWidth","fullHeight","fw","fh","absoluteFill"].includes(n),F2=n=>typeof n=="function"?n(Ai):n?{...Ai,...n}:Ai,z2=({theme:n,children:r})=>{const i=F2(n);return w.jsx(Sn.StyleSheetManager,{shouldForwardProp:Ec,children:w.jsx(Sn.ThemeProvider,{theme:i,children:r})})},Ce=Sn.useTheme,wt=()=>typeof document>"u",Rr={xs:0,sm:600,md:900,lg:1200,xl:1536},$r=Object.keys(Rr),zi=n=>We.isObject(n)&&("xs"in n||"sm"in n||"md"in n||"lg"in n||"xl"in n),zt=(n,r)=>zi(n)?Object.fromEntries(Object.entries(n).map(([i,a])=>[i,r(a)])):r(n),ra=n=>We.reduce(n,(r,i,a)=>(We.forEach(i,(l,u)=>{We.has(r,u)||We.set(r,u,{}),We.set(r,[u,a],l)}),r),{}),Ac=(n,r)=>{const i=Object.fromEntries(Object.keys(n).map(h=>[h,ga(n[h])])),a=ra(i),l=Object.fromEntries($r.map(h=>[h,r(a[h])])),u=ra(l);return Object.fromEntries(Object.entries(u).map(([h,y])=>[h,Tc(y)]))},$c=(n,r)=>{if(!zi(n))return n;switch(r){case"xs":return n.xs??n.sm??n.md??n.lg??n.xl;case"sm":return n.sm??n.xs??n.md??n.lg??n.xl;case"md":return n.md??n.sm??n.xs??n.lg??n.xl;case"lg":return n.lg??n.md??n.sm??n.xs??n.xl;case"xl":return n.xl??n.lg??n.md??n.sm??n.xs}},ga=n=>Object.fromEntries(Object.keys(Rr).map(r=>[r,$c(n,r)])),Tc=n=>{let r=n.xs;const i={xs:r};for(let a=1;a<$r.length;a++){const l=$r[a],u=n[l];We.isEqual(u,r)||(i[l]=u,r=u)}return Object.keys(i).length===1?i.xs:i},lr=n=>{const[r,i]=We.partition(Object.entries(n),([u,f])=>zi(f)),a=Object.fromEntries(r.map(([u,f])=>[u,ga(f)])),l=We.compact($r.map(u=>{const f=Object.fromEntries(Object.keys(a).map(y=>[y,a[y][u]]));if(u==="xs"){const y={...Object.fromEntries(i),...f};return We.isEmpty(y)?null:ot(y)}if(We.isEmpty(f))return null;const h=`(min-width: ${Rr[u]}px)`;return ot`
|
|
28
|
+
@media ${h} {
|
|
29
|
+
${ot(f)}
|
|
30
30
|
}
|
|
31
|
-
`}));return tt`${l}`},mv={bgColor:{property:"backgroundColor",scale:"colors"},backgroundColor:{property:"backgroundColor",scale:"colors"},borderColor:{property:"borderColor",scale:"colors"},borderTopColor:{property:"borderTopColor",scale:"colors"},borderBottomColor:{property:"borderBottomColor",scale:"colors"},borderLeftColor:{property:"borderLeftColor",scale:"colors"},borderRightColor:{property:"borderRightColor",scale:"colors"}},vv={m:{property:"margin",scale:"spaces"},mt:{property:"marginTop",scale:"spaces"},mb:{property:"marginBottom",scale:"spaces"},ml:{property:"marginLeft",scale:"spaces"},mr:{property:"marginRight",scale:"spaces"},mx:{property:"marginInline",scale:"spaces"},my:{property:"marginBlock",scale:"spaces"},p:{property:"padding",scale:"spaces"},pt:{property:"paddingTop",scale:"spaces"},pb:{property:"paddingBottom",scale:"spaces"},pl:{property:"paddingLeft",scale:"spaces"},pr:{property:"paddingRight",scale:"spaces"},px:{property:"paddingInline",scale:"spaces"},py:{property:"paddingBlock",scale:"spaces"},margin:{property:"margin",scale:"spaces"},marginBottom:{property:"marginBottom",scale:"spaces"},marginLeft:{property:"marginLeft",scale:"spaces"},marginRight:{property:"marginRight",scale:"spaces"},marginTop:{property:"marginTop",scale:"spaces"},marginX:{property:"marginInline",scale:"spaces"},marginY:{property:"marginBlock",scale:"spaces"},padding:{property:"padding",scale:"spaces"},paddingBottom:{property:"paddingBottom",scale:"spaces"},paddingLeft:{property:"paddingLeft",scale:"spaces"},paddingRight:{property:"paddingRight",scale:"spaces"},paddingTop:{property:"paddingTop",scale:"spaces"},paddingX:{property:"paddingInline",scale:"spaces"},paddingY:{property:"paddingBlock",scale:"spaces"},gap:{property:"gap",scale:"spaces"}},yv={bbl:{property:"borderBottomLeftRadius",scale:"radii"},bbr:{property:"borderBottomRightRadius",scale:"radii"},btl:{property:"borderTopLeftRadius",scale:"radii"},btr:{property:"borderTopRightRadius",scale:"radii"},r:{property:"borderRadius",scale:"radii"},radius:{property:"borderRadius",scale:"radii"},borderBottomLeftRadius:{property:"borderBottomLeftRadius",scale:"radii"},borderBottomRightRadius:{property:"borderBottomRightRadius",scale:"radii"},borderTopLeftRadius:{property:"borderTopLeftRadius",scale:"radii"},borderTopRightRadius:{property:"borderTopRightRadius",scale:"radii"},borderRadius:{property:"borderRadius",scale:"radii"}},bv={b:{property:"borderWidth",scale:"borderWidths"},bb:{property:"borderBottomWidth",scale:"borderWidths"},bt:{property:"borderTopWidth",scale:"borderWidths"},bl:{property:"borderLeftWidth",scale:"borderWidths"},br:{property:"borderRightWidth",scale:"borderWidths"},borderWidth:{property:"borderWidth",scale:"borderWidths"},borderBottomWidth:{property:"borderBottomWidth",scale:"borderWidths"},borderTopWidth:{property:"borderTopWidth",scale:"borderWidths"},borderLeftWidth:{property:"borderLeftWidth",scale:"borderWidths"},borderRightWidth:{property:"borderRightWidth",scale:"borderWidths"}},sd={...mv,...vv,...yv,...bv},ad=["alignContent","alignItems","alignSelf","display","flex","flexBasis","flexDirection","flexGrow","flexShrink","flexWrap","justifyContent","position","top","right","bottom","left","overflow","width","minWidth","maxWidth","height","minHeight","maxHeight","opacity","cursor","transition","transform","animation","willChange","pointerEvents","userSelect","resize","boxShadow","textShadow","filter","backdropFilter","mixBlendMode","isolation","zIndex","marginInline","marginBlock","paddingInline","paddingBlock","willChange","whiteSpace","textOverflow","overflowY","overflowX"],ka=["absoluteFill","fullWidth","fullHeight","fw","fh"],ld={absoluteFill:{position:"absolute",top:0,bottom:0,left:0,right:0},fullWidth:{width:"100%"},fullHeight:{height:"100%"},fw:{width:"100%"},fh:{height:"100%"}},ud=(n,r,i)=>{const s=sd[r],l=i[r];if(!l)return;const{scale:u,property:f}=s;switch(u){case"colors":return{[f]:Wt(l,d=>n.colors[d])};case"spaces":return{[f]:Wt(l,d=>n.spaces[d])};case"radii":return{[f]:Wt(l,d=>n.radii[d])};case"borderWidths":return{[f]:Wt(l,d=>n.borderWidths[d])}}},cd=(n,r)=>Object.keys(r).reduce((s,l)=>({...s,...ud(n,l,r)}),{}),wv=n=>ka.reduce((r,i)=>n[i]?{...r,...ld[i]}:r,{}),fd=Object.keys(sd),dd=(n,r)=>{const i=Oe.pick(r,fd),s=Oe.pick(r,[...ad]),l=Oe.pick(r,[...ka]);return Or({...cd(n,i),...wv(l),...s})},hd=ue.div(({theme:n,...r})=>dd(n,r));function xv({children:n,style:r,"data-testid":i,...s},l){return y.jsx(hd,{...s,style:r,ref:l,"data-testid":i,children:n})}const Y=h.forwardRef(xv),bt=(n,r)=>typeof r=="number"?`${r}px`:Oe.isString(r)?rr(r)?`${n.sizes[r]}px`:r:"auto",pd=n=>new RegExp("\\p{Emoji}","u").test(n)&&n.length<=2,gd=n=>Oe.isString(n)&&n.includes("icon-"),md=n=>{const r=[".jpg",".jpeg",".png",".gif",".webp",".svg"],i=n.toLowerCase();return Oe.isString(n)&&(r.some(s=>i.endsWith(s))||n.startsWith("data:image/")||n.startsWith("http"))},vd=n=>Oe.isString(n)&&n.startsWith("<svg"),yd=({art:n,width:r,height:i,style:s,"data-testid":l,...u})=>{const f=xe(),d=f.__hd__.art.defaultBrandSize||f.__hd__.art.defaultSize,g=bt(f,r??d),v=bt(f,i??d);return y.jsx(Y,{display:"flex",alignItems:"center",justifyContent:"center",width:g,height:v,style:s,"data-testid":l,...u,children:n})},bd=({art:n,size:r,style:i,"data-testid":s,...l})=>{const u=xe(),f=u.__hd__.art.defaultEmojiSize||u.__hd__.art.defaultSize,d=bt(u,r??f),g=typeof d=="string"&&d.endsWith("px")?parseInt(d,10):u.__hd__.text.fontSizes[f]??24,v=u.__hd__.text.lineHeights[f]?`${u.__hd__.text.lineHeights[f]/g}`:"1";return y.jsx(Y,{display:"flex",alignItems:"center",justifyContent:"center",width:d,height:d,style:{...i,fontSize:d,lineHeight:v},"data-testid":s,...l,children:n})},Ta=({art:n,size:r,color:i="currentColor",weight:s="regular",style:l,"data-testid":u,...f})=>{const d=xe(),g=d.__hd__.art.defaultIconSize||d.__hd__.art.defaultSize,v=bt(d,r??g),_=n;if(!_)return process.env.NODE_ENV!=="production"&&console.warn(`[IconArt] Icon component not found for art="${n}". This should not happen with TypeScript checks.`),null;const S=$f(i)?d.colors[i]:i;return y.jsx(Y,{display:"flex",alignItems:"center",justifyContent:"center",width:v,height:v,style:l,"data-testid":u,...f,children:y.jsx(_,{size:v,color:S,weight:s,style:l})})},_v=new Map([["bold",h.createElement(h.Fragment,null,h.createElement("path",{d:"M208.49,199.51a12,12,0,0,1-17,17l-80-80a12,12,0,0,1,0-17l80-80a12,12,0,0,1,17,17L137,128ZM57,128l71.52-71.51a12,12,0,0,0-17-17l-80,80a12,12,0,0,0,0,17l80,80a12,12,0,0,0,17-17Z"}))],["duotone",h.createElement(h.Fragment,null,h.createElement("path",{d:"M200,48V208l-80-80Z",opacity:"0.2"}),h.createElement("path",{d:"M203.06,40.61a8,8,0,0,0-8.72,1.73l-80,80a8,8,0,0,0,0,11.32l80,80A8,8,0,0,0,208,208V48A8,8,0,0,0,203.06,40.61ZM192,188.69,131.31,128,192,67.31Zm-66.34,13.65a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L51.31,128Z"}))],["fill",h.createElement(h.Fragment,null,h.createElement("path",{d:"M208,48V208a8,8,0,0,1-13.66,5.66L128,147.31V208a8,8,0,0,1-13.66,5.66l-80-80a8,8,0,0,1,0-11.32l80-80A8,8,0,0,1,128,48v60.69l66.34-66.35A8,8,0,0,1,208,48Z"}))],["light",h.createElement(h.Fragment,null,h.createElement("path",{d:"M204.24,203.76a6,6,0,1,1-8.48,8.48l-80-80a6,6,0,0,1,0-8.48l80-80a6,6,0,0,1,8.48,8.48L128.49,128ZM48.49,128l75.75-75.76a6,6,0,0,0-8.48-8.48l-80,80a6,6,0,0,0,0,8.48l80,80a6,6,0,1,0,8.48-8.48Z"}))],["regular",h.createElement(h.Fragment,null,h.createElement("path",{d:"M205.66,202.34a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L131.31,128ZM51.31,128l74.35-74.34a8,8,0,0,0-11.32-11.32l-80,80a8,8,0,0,0,0,11.32l80,80a8,8,0,0,0,11.32-11.32Z"}))],["thin",h.createElement(h.Fragment,null,h.createElement("path",{d:"M202.83,205.17a4,4,0,0,1-5.66,5.66l-80-80a4,4,0,0,1,0-5.66l80-80a4,4,0,1,1,5.66,5.66L125.66,128ZM45.66,128l77.17-77.17a4,4,0,0,0-5.66-5.66l-80,80a4,4,0,0,0,0,5.66l80,80a4,4,0,1,0,5.66-5.66Z"}))]]),Cv=new Map([["bold",h.createElement(h.Fragment,null,h.createElement("path",{d:"M144.49,136.49l-80,80a12,12,0,0,1-17-17L119,128,47.51,56.49a12,12,0,0,1,17-17l80,80A12,12,0,0,1,144.49,136.49Zm80-17-80-80a12,12,0,1,0-17,17L199,128l-71.52,71.51a12,12,0,0,0,17,17l80-80A12,12,0,0,0,224.49,119.51Z"}))],["duotone",h.createElement(h.Fragment,null,h.createElement("path",{d:"M136,128,56,208V48Z",opacity:"0.2"}),h.createElement("path",{d:"M141.66,122.34l-80-80A8,8,0,0,0,48,48V208a8,8,0,0,0,13.66,5.66l80-80A8,8,0,0,0,141.66,122.34ZM64,188.69V67.31L124.69,128Zm157.66-55-80,80a8,8,0,0,1-11.32-11.32L204.69,128,130.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,221.66,133.66Z"}))],["fill",h.createElement(h.Fragment,null,h.createElement("path",{d:"M221.66,133.66l-80,80A8,8,0,0,1,128,208V147.31L61.66,213.66A8,8,0,0,1,48,208V48a8,8,0,0,1,13.66-5.66L128,108.69V48a8,8,0,0,1,13.66-5.66l80,80A8,8,0,0,1,221.66,133.66Z"}))],["light",h.createElement(h.Fragment,null,h.createElement("path",{d:"M140.24,132.24l-80,80a6,6,0,0,1-8.48-8.48L127.51,128,51.76,52.24a6,6,0,0,1,8.48-8.48l80,80A6,6,0,0,1,140.24,132.24Zm80-8.48-80-80a6,6,0,0,0-8.48,8.48L207.51,128l-75.75,75.76a6,6,0,1,0,8.48,8.48l80-80A6,6,0,0,0,220.24,123.76Z"}))],["regular",h.createElement(h.Fragment,null,h.createElement("path",{d:"M141.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L124.69,128,50.34,53.66A8,8,0,0,1,61.66,42.34l80,80A8,8,0,0,1,141.66,133.66Zm80-11.32-80-80a8,8,0,0,0-11.32,11.32L204.69,128l-74.35,74.34a8,8,0,0,0,11.32,11.32l80-80A8,8,0,0,0,221.66,122.34Z"}))],["thin",h.createElement(h.Fragment,null,h.createElement("path",{d:"M138.83,130.83l-80,80a4,4,0,0,1-5.66-5.66L130.34,128,53.17,50.83a4,4,0,0,1,5.66-5.66l80,80A4,4,0,0,1,138.83,130.83Zm80-5.66-80-80a4,4,0,0,0-5.66,5.66L210.34,128l-77.17,77.17a4,4,0,0,0,5.66,5.66l80-80A4,4,0,0,0,218.83,125.17Z"}))]]),Sv=new Map([["bold",h.createElement(h.Fragment,null,h.createElement("path",{d:"M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159l71.51-71.52a12,12,0,0,1,17,17Z"}))],["duotone",h.createElement(h.Fragment,null,h.createElement("path",{d:"M208,96l-80,80L48,96Z",opacity:"0.2"}),h.createElement("path",{d:"M215.39,92.94A8,8,0,0,0,208,88H48a8,8,0,0,0-5.66,13.66l80,80a8,8,0,0,0,11.32,0l80-80A8,8,0,0,0,215.39,92.94ZM128,164.69,67.31,104H188.69Z"}))],["fill",h.createElement(h.Fragment,null,h.createElement("path",{d:"M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,48,88H208a8,8,0,0,1,5.66,13.66Z"}))],["light",h.createElement(h.Fragment,null,h.createElement("path",{d:"M212.24,100.24l-80,80a6,6,0,0,1-8.48,0l-80-80a6,6,0,0,1,8.48-8.48L128,167.51l75.76-75.75a6,6,0,0,1,8.48,8.48Z"}))],["regular",h.createElement(h.Fragment,null,h.createElement("path",{d:"M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z"}))],["thin",h.createElement(h.Fragment,null,h.createElement("path",{d:"M210.83,98.83l-80,80a4,4,0,0,1-5.66,0l-80-80a4,4,0,0,1,5.66-5.66L128,170.34l77.17-77.17a4,4,0,1,1,5.66,5.66Z"}))]]),Ev=new Map([["bold",h.createElement(h.Fragment,null,h.createElement("path",{d:"M168.49,199.51a12,12,0,0,1-17,17l-80-80a12,12,0,0,1,0-17l80-80a12,12,0,0,1,17,17L97,128Z"}))],["duotone",h.createElement(h.Fragment,null,h.createElement("path",{d:"M160,48V208L80,128Z",opacity:"0.2"}),h.createElement("path",{d:"M163.06,40.61a8,8,0,0,0-8.72,1.73l-80,80a8,8,0,0,0,0,11.32l80,80A8,8,0,0,0,168,208V48A8,8,0,0,0,163.06,40.61ZM152,188.69,91.31,128,152,67.31Z"}))],["fill",h.createElement(h.Fragment,null,h.createElement("path",{d:"M168,48V208a8,8,0,0,1-13.66,5.66l-80-80a8,8,0,0,1,0-11.32l80-80A8,8,0,0,1,168,48Z"}))],["light",h.createElement(h.Fragment,null,h.createElement("path",{d:"M164.24,203.76a6,6,0,1,1-8.48,8.48l-80-80a6,6,0,0,1,0-8.48l80-80a6,6,0,0,1,8.48,8.48L88.49,128Z"}))],["regular",h.createElement(h.Fragment,null,h.createElement("path",{d:"M165.66,202.34a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L91.31,128Z"}))],["thin",h.createElement(h.Fragment,null,h.createElement("path",{d:"M162.83,205.17a4,4,0,0,1-5.66,5.66l-80-80a4,4,0,0,1,0-5.66l80-80a4,4,0,1,1,5.66,5.66L85.66,128Z"}))]]),Av=new Map([["bold",h.createElement(h.Fragment,null,h.createElement("path",{d:"M184.49,136.49l-80,80a12,12,0,0,1-17-17L159,128,87.51,56.49a12,12,0,1,1,17-17l80,80A12,12,0,0,1,184.49,136.49Z"}))],["duotone",h.createElement(h.Fragment,null,h.createElement("path",{d:"M176,128,96,208V48Z",opacity:"0.2"}),h.createElement("path",{d:"M181.66,122.34l-80-80A8,8,0,0,0,88,48V208a8,8,0,0,0,13.66,5.66l80-80A8,8,0,0,0,181.66,122.34ZM104,188.69V67.31L164.69,128Z"}))],["fill",h.createElement(h.Fragment,null,h.createElement("path",{d:"M181.66,133.66l-80,80A8,8,0,0,1,88,208V48a8,8,0,0,1,13.66-5.66l80,80A8,8,0,0,1,181.66,133.66Z"}))],["light",h.createElement(h.Fragment,null,h.createElement("path",{d:"M180.24,132.24l-80,80a6,6,0,0,1-8.48-8.48L167.51,128,91.76,52.24a6,6,0,0,1,8.48-8.48l80,80A6,6,0,0,1,180.24,132.24Z"}))],["regular",h.createElement(h.Fragment,null,h.createElement("path",{d:"M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z"}))],["thin",h.createElement(h.Fragment,null,h.createElement("path",{d:"M178.83,130.83l-80,80a4,4,0,0,1-5.66-5.66L170.34,128,93.17,50.83a4,4,0,0,1,5.66-5.66l80,80A4,4,0,0,1,178.83,130.83Z"}))]]),$v=new Map([["bold",h.createElement(h.Fragment,null,h.createElement("path",{d:"M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z"}))],["duotone",h.createElement(h.Fragment,null,h.createElement("path",{d:"M232,56V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56Z",opacity:"0.2"}),h.createElement("path",{d:"M205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z"}))],["fill",h.createElement(h.Fragment,null,h.createElement("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z"}))],["light",h.createElement(h.Fragment,null,h.createElement("path",{d:"M228.24,76.24l-128,128a6,6,0,0,1-8.48,0l-56-56a6,6,0,0,1,8.48-8.48L96,191.51,219.76,67.76a6,6,0,0,1,8.48,8.48Z"}))],["regular",h.createElement(h.Fragment,null,h.createElement("path",{d:"M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"}))],["thin",h.createElement(h.Fragment,null,h.createElement("path",{d:"M226.83,74.83l-128,128a4,4,0,0,1-5.66,0l-56-56a4,4,0,0,1,5.66-5.66L96,194.34,221.17,69.17a4,4,0,1,1,5.66,5.66Z"}))]]),kv=new Map([["bold",h.createElement(h.Fragment,null,h.createElement("path",{d:"M251,123.13c-.37-.81-9.13-20.26-28.48-39.61C196.63,57.67,164,44,128,44S59.37,57.67,33.51,83.52C14.16,102.87,5.4,122.32,5,123.13a12.08,12.08,0,0,0,0,9.75c.37.82,9.13,20.26,28.49,39.61C59.37,198.34,92,212,128,212s68.63-13.66,94.48-39.51c19.36-19.35,28.12-38.79,28.49-39.61A12.08,12.08,0,0,0,251,123.13Zm-46.06,33C183.47,177.27,157.59,188,128,188s-55.47-10.73-76.91-31.88A130.36,130.36,0,0,1,29.52,128,130.45,130.45,0,0,1,51.09,99.89C72.54,78.73,98.41,68,128,68s55.46,10.73,76.91,31.89A130.36,130.36,0,0,1,226.48,128,130.45,130.45,0,0,1,204.91,156.12ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,64a20,20,0,1,1,20-20A20,20,0,0,1,128,148Z"}))],["duotone",h.createElement(h.Fragment,null,h.createElement("path",{d:"M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Zm0,112a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z",opacity:"0.2"}),h.createElement("path",{d:"M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z"}))],["fill",h.createElement(h.Fragment,null,h.createElement("path",{d:"M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z"}))],["light",h.createElement(h.Fragment,null,h.createElement("path",{d:"M245.48,125.57c-.34-.78-8.66-19.23-27.24-37.81C201,70.54,171.38,50,128,50S55,70.54,37.76,87.76c-18.58,18.58-26.9,37-27.24,37.81a6,6,0,0,0,0,4.88c.34.77,8.66,19.22,27.24,37.8C55,185.47,84.62,206,128,206s73-20.53,90.24-37.75c18.58-18.58,26.9-37,27.24-37.8A6,6,0,0,0,245.48,125.57ZM128,194c-31.38,0-58.78-11.42-81.45-33.93A134.77,134.77,0,0,1,22.69,128,134.56,134.56,0,0,1,46.55,95.94C69.22,73.42,96.62,62,128,62s58.78,11.42,81.45,33.94A134.56,134.56,0,0,1,233.31,128C226.94,140.21,195,194,128,194Zm0-112a46,46,0,1,0,46,46A46.06,46.06,0,0,0,128,82Zm0,80a34,34,0,1,1,34-34A34,34,0,0,1,128,162Z"}))],["regular",h.createElement(h.Fragment,null,h.createElement("path",{d:"M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z"}))],["thin",h.createElement(h.Fragment,null,h.createElement("path",{d:"M243.66,126.38c-.34-.76-8.52-18.89-26.83-37.2C199.87,72.22,170.7,52,128,52S56.13,72.22,39.17,89.18c-18.31,18.31-26.49,36.44-26.83,37.2a4.08,4.08,0,0,0,0,3.25c.34.77,8.52,18.89,26.83,37.2,17,17,46.14,37.17,88.83,37.17s71.87-20.21,88.83-37.17c18.31-18.31,26.49-36.43,26.83-37.2A4.08,4.08,0,0,0,243.66,126.38Zm-32.7,35c-23.07,23-51,34.62-83,34.62s-59.89-11.65-83-34.62A135.71,135.71,0,0,1,20.44,128,135.69,135.69,0,0,1,45,94.62C68.11,71.65,96,60,128,60s59.89,11.65,83,34.62A135.79,135.79,0,0,1,235.56,128,135.71,135.71,0,0,1,211,161.38ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,80a36,36,0,1,1,36-36A36,36,0,0,1,128,164Z"}))]]),Tv=new Map([["bold",h.createElement(h.Fragment,null,h.createElement("path",{d:"M56.88,31.93A12,12,0,1,0,39.12,48.07l16,17.65C20.67,88.66,5.72,121.58,5,123.13a12.08,12.08,0,0,0,0,9.75c.37.82,9.13,20.26,28.49,39.61C59.37,198.34,92,212,128,212a131.34,131.34,0,0,0,51-10l20.09,22.1a12,12,0,0,0,17.76-16.14ZM128,188c-29.59,0-55.47-10.73-76.91-31.88A130.69,130.69,0,0,1,29.52,128c5.27-9.31,18.79-29.9,42-44.29l90.09,99.11A109.33,109.33,0,0,1,128,188Zm123-55.12c-.36.81-9,20-28,39.16a12,12,0,1,1-17-16.9A130.48,130.48,0,0,0,226.48,128a130.36,130.36,0,0,0-21.57-28.12C183.46,78.73,157.59,68,128,68c-3.35,0-6.7.14-10,.42a12,12,0,1,1-2-23.91c3.93-.34,8-.51,12-.51,36,0,68.63,13.67,94.49,39.52,19.35,19.35,28.11,38.8,28.48,39.61A12.08,12.08,0,0,1,251,132.88Z"}))],["duotone",h.createElement(h.Fragment,null,h.createElement("path",{d:"M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Zm0,112a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z",opacity:"0.2"}),h.createElement("path",{d:"M53.92,34.62A8,8,0,1,0,42.08,45.38L61.32,66.55C25,88.84,9.38,123.2,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208a127.11,127.11,0,0,0,52.07-10.83l22,24.21a8,8,0,1,0,11.84-10.76Zm47.33,75.84,41.67,45.85a32,32,0,0,1-41.67-45.85ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.16,133.16,0,0,1,25,128c4.69-8.79,19.66-33.39,47.35-49.38l18,19.75a48,48,0,0,0,63.66,70l14.73,16.2A112,112,0,0,1,128,192Zm6-95.43a8,8,0,0,1,3-15.72,48.16,48.16,0,0,1,38.77,42.64,8,8,0,0,1-7.22,8.71,6.39,6.39,0,0,1-.75,0,8,8,0,0,1-8-7.26A32.09,32.09,0,0,0,134,96.57Zm113.28,34.69c-.42.94-10.55,23.37-33.36,43.8a8,8,0,1,1-10.67-11.92A132.77,132.77,0,0,0,231.05,128a133.15,133.15,0,0,0-23.12-30.77C185.67,75.19,158.78,64,128,64a118.37,118.37,0,0,0-19.36,1.57A8,8,0,1,1,106,49.79,134,134,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41A8,8,0,0,1,247.31,131.26Z"}))],["fill",h.createElement(h.Fragment,null,h.createElement("path",{d:"M96.68,57.87a4,4,0,0,1,2.08-6.6A130.13,130.13,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41a8,8,0,0,1,0,6.5c-.35.79-8.82,19.57-27.65,38.4q-4.28,4.26-8.79,8.07a4,4,0,0,1-5.55-.36ZM213.92,210.62a8,8,0,1,1-11.84,10.76L180,197.13A127.21,127.21,0,0,1,128,208c-34.88,0-66.57-13.26-91.66-38.34C17.51,150.83,9,132.05,8.69,131.26a8,8,0,0,1,0-6.5C9,124,17.51,105.18,36.34,86.35a135,135,0,0,1,25-19.78L42.08,45.38A8,8,0,1,1,53.92,34.62Zm-65.49-48.25-52.69-58a40,40,0,0,0,52.69,58Z"}))],["light",h.createElement(h.Fragment,null,h.createElement("path",{d:"M52.44,36A6,6,0,0,0,43.56,44L64.44,67c-37.28,21.9-53.23,57-53.92,58.57a6,6,0,0,0,0,4.88c.34.77,8.66,19.22,27.24,37.8C55,185.47,84.62,206,128,206a124.91,124.91,0,0,0,52.57-11.25l23,25.29a6,6,0,0,0,8.88-8.08Zm48.62,71.32,45,49.52a34,34,0,0,1-45-49.52ZM128,194c-31.38,0-58.78-11.42-81.45-33.93A134.57,134.57,0,0,1,22.69,128c4.29-8.2,20.1-35.18,50-51.91L92.89,98.3a46,46,0,0,0,61.35,67.48l17.81,19.6A113.47,113.47,0,0,1,128,194Zm6.4-99.4a6,6,0,0,1,2.25-11.79,46.17,46.17,0,0,1,37.15,40.87,6,6,0,0,1-5.42,6.53l-.56,0a6,6,0,0,1-6-5.45A34.1,34.1,0,0,0,134.4,94.6Zm111.08,35.85c-.41.92-10.37,23-32.86,43.12a6,6,0,1,1-8-8.94A134.07,134.07,0,0,0,233.31,128a134.67,134.67,0,0,0-23.86-32.07C186.78,73.42,159.38,62,128,62a120.19,120.19,0,0,0-19.69,1.6,6,6,0,1,1-2-11.83A131.12,131.12,0,0,1,128,50c43.38,0,73,20.54,90.24,37.76,18.58,18.58,26.9,37,27.24,37.81A6,6,0,0,1,245.48,130.45Z"}))],["regular",h.createElement(h.Fragment,null,h.createElement("path",{d:"M53.92,34.62A8,8,0,1,0,42.08,45.38L61.32,66.55C25,88.84,9.38,123.2,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208a127.11,127.11,0,0,0,52.07-10.83l22,24.21a8,8,0,1,0,11.84-10.76Zm47.33,75.84,41.67,45.85a32,32,0,0,1-41.67-45.85ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.16,133.16,0,0,1,25,128c4.69-8.79,19.66-33.39,47.35-49.38l18,19.75a48,48,0,0,0,63.66,70l14.73,16.2A112,112,0,0,1,128,192Zm6-95.43a8,8,0,0,1,3-15.72,48.16,48.16,0,0,1,38.77,42.64,8,8,0,0,1-7.22,8.71,6.39,6.39,0,0,1-.75,0,8,8,0,0,1-8-7.26A32.09,32.09,0,0,0,134,96.57Zm113.28,34.69c-.42.94-10.55,23.37-33.36,43.8a8,8,0,1,1-10.67-11.92A132.77,132.77,0,0,0,231.05,128a133.15,133.15,0,0,0-23.12-30.77C185.67,75.19,158.78,64,128,64a118.37,118.37,0,0,0-19.36,1.57A8,8,0,1,1,106,49.79,134,134,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41A8,8,0,0,1,247.31,131.26Z"}))],["thin",h.createElement(h.Fragment,null,h.createElement("path",{d:"M51,37.31A4,4,0,0,0,45,42.69L67.59,67.5C29.34,89,13,124.81,12.34,126.38a4.08,4.08,0,0,0,0,3.25c.34.77,8.52,18.89,26.83,37.2,17,17,46.14,37.17,88.83,37.17a122.59,122.59,0,0,0,53.06-11.69l24,26.38a4,4,0,1,0,5.92-5.38ZM149.1,157.16A36,36,0,0,1,101,104.22ZM128,196c-32,0-59.89-11.65-83-34.62A135.81,135.81,0,0,1,20.44,128c3.65-7.23,20.09-36.81,52.68-54.43l22.45,24.7a44,44,0,0,0,59,64.83l20.89,23A114.94,114.94,0,0,1,128,196Zm6.78-103.36a4,4,0,0,1,1.49-7.86,44.15,44.15,0,0,1,35.54,39.09,4,4,0,0,1-3.61,4.35l-.38,0a4,4,0,0,1-4-3.63A36.1,36.1,0,0,0,134.78,92.64Zm108.88,37c-.41.91-10.2,22.58-32.38,42.45a4,4,0,0,1-2.67,1,4,4,0,0,1-2.67-7A136.71,136.71,0,0,0,235.56,128,136.07,136.07,0,0,0,211,94.62C187.89,71.65,160,60,128,60a122,122,0,0,0-20,1.63,4,4,0,0,1-1.32-7.89A129.3,129.3,0,0,1,128,52c42.7,0,71.87,20.22,88.83,37.18,18.31,18.31,26.49,36.44,26.83,37.2A4.08,4.08,0,0,1,243.66,129.63Z"}))]]),Rv=new Map([["bold",h.createElement(h.Fragment,null,h.createElement("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,192a84,84,0,1,1,84-84A84.09,84.09,0,0,1,128,212Zm56.49-92.49a12,12,0,0,1-17,17L162,131l-5.51,5.52a12,12,0,0,1-17-17L145,114l-5.52-5.51a12,12,0,0,1,17-17L162,97l5.51-5.52a12,12,0,0,1,17,17L179,114Zm-68,17a12,12,0,0,1-17,0L94,131l-5.51,5.52a12,12,0,0,1-17-17L77,114l-5.52-5.51a12,12,0,0,1,17-17L94,97l5.51-5.52a12,12,0,0,1,17,17L111,114l5.52,5.51A12,12,0,0,1,116.49,136.49ZM144,180a16,16,0,1,1-16-16A16,16,0,0,1,144,180Z"}))],["duotone",h.createElement(h.Fragment,null,h.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),h.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm61.66-93.66a8,8,0,0,1-11.32,11.32L168,123.31l-10.34,10.35a8,8,0,0,1-11.32-11.32L156.69,112l-10.35-10.34a8,8,0,0,1,11.32-11.32L168,100.69l10.34-10.35a8,8,0,0,1,11.32,11.32L179.31,112Zm-80-20.68L99.31,112l10.35,10.34a8,8,0,0,1-11.32,11.32L88,123.31,77.66,133.66a8,8,0,0,1-11.32-11.32L76.69,112,66.34,101.66A8,8,0,0,1,77.66,90.34L88,100.69,98.34,90.34a8,8,0,0,1,11.32,11.32ZM140,180a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"}))],["fill",h.createElement(h.Fragment,null,h.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.13,104.13,0,0,0,128,24Zm-18.34,98.34a8,8,0,0,1-11.32,11.32L88,123.31,77.66,133.66a8,8,0,0,1-11.32-11.32L76.69,112,66.34,101.66A8,8,0,0,1,77.66,90.34L88,100.69,98.34,90.34a8,8,0,0,1,11.32,11.32L99.31,112ZM128,192a12,12,0,1,1,12-12A12,12,0,0,1,128,192Zm61.66-69.66a8,8,0,0,1-11.32,11.32L168,123.31l-10.34,10.35a8,8,0,0,1-11.32-11.32L156.69,112l-10.35-10.34a8,8,0,0,1,11.32-11.32L168,100.69l10.34-10.35a8,8,0,0,1,11.32,11.32L179.31,112Z"}))],["light",h.createElement(h.Fragment,null,h.createElement("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Zm60.24-117.76L176.49,112l11.75,11.76a6,6,0,1,1-8.48,8.48L168,120.49l-11.76,11.75a6,6,0,0,1-8.48-8.48L159.51,112l-11.75-11.76a6,6,0,0,1,8.48-8.48L168,103.51l11.76-11.75a6,6,0,0,1,8.48,8.48Zm-80,0L96.49,112l11.75,11.76a6,6,0,1,1-8.48,8.48L88,120.49,76.24,132.24a6,6,0,0,1-8.48-8.48L79.51,112,67.76,100.24a6,6,0,0,1,8.48-8.48L88,103.51,99.76,91.76a6,6,0,0,1,8.48,8.48ZM138,180a10,10,0,1,1-10-10A10,10,0,0,1,138,180Z"}))],["regular",h.createElement(h.Fragment,null,h.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm61.66-93.66a8,8,0,0,1-11.32,11.32L168,123.31l-10.34,10.35a8,8,0,0,1-11.32-11.32L156.69,112l-10.35-10.34a8,8,0,0,1,11.32-11.32L168,100.69l10.34-10.35a8,8,0,0,1,11.32,11.32L179.31,112Zm-80-20.68L99.31,112l10.35,10.34a8,8,0,0,1-11.32,11.32L88,123.31,77.66,133.66a8,8,0,0,1-11.32-11.32L76.69,112,66.34,101.66A8,8,0,0,1,77.66,90.34L88,100.69,98.34,90.34a8,8,0,0,1,11.32,11.32ZM140,180a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"}))],["thin",h.createElement(h.Fragment,null,h.createElement("path",{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220ZM186.83,98.83,173.66,112l13.17,13.17a4,4,0,0,1-5.66,5.66L168,117.66l-13.17,13.17a4,4,0,0,1-5.66-5.66L162.34,112,149.17,98.83a4,4,0,0,1,5.66-5.66L168,106.34l13.17-13.17a4,4,0,1,1,5.66,5.66Zm-80,0L93.66,112l13.17,13.17a4,4,0,0,1-5.66,5.66L88,117.66,74.83,130.83a4,4,0,0,1-5.66-5.66L82.34,112,69.17,98.83a4,4,0,0,1,5.66-5.66L88,106.34l13.17-13.17a4,4,0,0,1,5.66,5.66ZM136,180a8,8,0,1,1-8-8A8,8,0,0,1,136,180Z"}))]]),Lv=h.createContext({color:"currentColor",size:"1em",weight:"regular",mirrored:!1});var Iv=Object.defineProperty,mo=Object.getOwnPropertySymbols,wd=Object.prototype.hasOwnProperty,xd=Object.prototype.propertyIsEnumerable,yc=(n,r,i)=>r in n?Iv(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,bc=(n,r)=>{for(var i in r||(r={}))wd.call(r,i)&&yc(n,i,r[i]);if(mo)for(var i of mo(r))xd.call(r,i)&&yc(n,i,r[i]);return n},wc=(n,r)=>{var i={};for(var s in n)wd.call(n,s)&&r.indexOf(s)<0&&(i[s]=n[s]);if(n!=null&&mo)for(var s of mo(n))r.indexOf(s)<0&&xd.call(n,s)&&(i[s]=n[s]);return i};const _d=h.forwardRef((n,r)=>{const i=n,{alt:s,color:l,size:u,weight:f,mirrored:d,children:g,weights:v}=i,_=wc(i,["alt","color","size","weight","mirrored","children","weights"]),S=h.useContext(Lv),{color:E="currentColor",size:w,weight:C="regular",mirrored:I=!1}=S,R=wc(S,["color","size","weight","mirrored"]);return h.createElement("svg",bc(bc({ref:r,xmlns:"http://www.w3.org/2000/svg",width:u??w,height:u??w,fill:l??E,viewBox:"0 0 256 256",transform:d||I?"scale(-1, 1)":void 0},R),_),!!s&&h.createElement("title",null,s),g,v.get(f??C))});_d.displayName="IconBase";const $n=_d;var Ov=Object.defineProperty,Mv=Object.defineProperties,Fv=Object.getOwnPropertyDescriptors,xc=Object.getOwnPropertySymbols,zv=Object.prototype.hasOwnProperty,jv=Object.prototype.propertyIsEnumerable,_c=(n,r,i)=>r in n?Ov(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,Bv=(n,r)=>{for(var i in r||(r={}))zv.call(r,i)&&_c(n,i,r[i]);if(xc)for(var i of xc(r))jv.call(r,i)&&_c(n,i,r[i]);return n},Pv=(n,r)=>Mv(n,Fv(r));const Cd=h.forwardRef((n,r)=>h.createElement($n,Pv(Bv({ref:r},n),{weights:_v})));Cd.displayName="CaretDoubleLeft";var Wv=Object.defineProperty,Dv=Object.defineProperties,Hv=Object.getOwnPropertyDescriptors,Cc=Object.getOwnPropertySymbols,Zv=Object.prototype.hasOwnProperty,Nv=Object.prototype.propertyIsEnumerable,Sc=(n,r,i)=>r in n?Wv(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,Vv=(n,r)=>{for(var i in r||(r={}))Zv.call(r,i)&&Sc(n,i,r[i]);if(Cc)for(var i of Cc(r))Nv.call(r,i)&&Sc(n,i,r[i]);return n},Uv=(n,r)=>Dv(n,Hv(r));const Sd=h.forwardRef((n,r)=>h.createElement($n,Uv(Vv({ref:r},n),{weights:Cv})));Sd.displayName="CaretDoubleRight";var qv=Object.defineProperty,Gv=Object.defineProperties,Kv=Object.getOwnPropertyDescriptors,Ec=Object.getOwnPropertySymbols,Xv=Object.prototype.hasOwnProperty,Yv=Object.prototype.propertyIsEnumerable,Ac=(n,r,i)=>r in n?qv(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,Qv=(n,r)=>{for(var i in r||(r={}))Xv.call(r,i)&&Ac(n,i,r[i]);if(Ec)for(var i of Ec(r))Yv.call(r,i)&&Ac(n,i,r[i]);return n},Jv=(n,r)=>Gv(n,Kv(r));const Ra=h.forwardRef((n,r)=>h.createElement($n,Jv(Qv({ref:r},n),{weights:Sv})));Ra.displayName="CaretDown";var ey=Object.defineProperty,ty=Object.defineProperties,ny=Object.getOwnPropertyDescriptors,$c=Object.getOwnPropertySymbols,ry=Object.prototype.hasOwnProperty,iy=Object.prototype.propertyIsEnumerable,kc=(n,r,i)=>r in n?ey(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,oy=(n,r)=>{for(var i in r||(r={}))ry.call(r,i)&&kc(n,i,r[i]);if($c)for(var i of $c(r))iy.call(r,i)&&kc(n,i,r[i]);return n},sy=(n,r)=>ty(n,ny(r));const La=h.forwardRef((n,r)=>h.createElement($n,sy(oy({ref:r},n),{weights:Ev})));La.displayName="CaretLeft";var ay=Object.defineProperty,ly=Object.defineProperties,uy=Object.getOwnPropertyDescriptors,Tc=Object.getOwnPropertySymbols,cy=Object.prototype.hasOwnProperty,fy=Object.prototype.propertyIsEnumerable,Rc=(n,r,i)=>r in n?ay(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,dy=(n,r)=>{for(var i in r||(r={}))cy.call(r,i)&&Rc(n,i,r[i]);if(Tc)for(var i of Tc(r))fy.call(r,i)&&Rc(n,i,r[i]);return n},hy=(n,r)=>ly(n,uy(r));const hi=h.forwardRef((n,r)=>h.createElement($n,hy(dy({ref:r},n),{weights:Av})));hi.displayName="CaretRight";var py=Object.defineProperty,gy=Object.defineProperties,my=Object.getOwnPropertyDescriptors,Lc=Object.getOwnPropertySymbols,vy=Object.prototype.hasOwnProperty,yy=Object.prototype.propertyIsEnumerable,Ic=(n,r,i)=>r in n?py(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,by=(n,r)=>{for(var i in r||(r={}))vy.call(r,i)&&Ic(n,i,r[i]);if(Lc)for(var i of Lc(r))yy.call(r,i)&&Ic(n,i,r[i]);return n},wy=(n,r)=>gy(n,my(r));const Ed=h.forwardRef((n,r)=>h.createElement($n,wy(by({ref:r},n),{weights:$v})));Ed.displayName="Check";var xy=Object.defineProperty,_y=Object.defineProperties,Cy=Object.getOwnPropertyDescriptors,Oc=Object.getOwnPropertySymbols,Sy=Object.prototype.hasOwnProperty,Ey=Object.prototype.propertyIsEnumerable,Mc=(n,r,i)=>r in n?xy(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,Ay=(n,r)=>{for(var i in r||(r={}))Sy.call(r,i)&&Mc(n,i,r[i]);if(Oc)for(var i of Oc(r))Ey.call(r,i)&&Mc(n,i,r[i]);return n},$y=(n,r)=>_y(n,Cy(r));const Ad=h.forwardRef((n,r)=>h.createElement($n,$y(Ay({ref:r},n),{weights:kv})));Ad.displayName="Eye";var ky=Object.defineProperty,Ty=Object.defineProperties,Ry=Object.getOwnPropertyDescriptors,Fc=Object.getOwnPropertySymbols,Ly=Object.prototype.hasOwnProperty,Iy=Object.prototype.propertyIsEnumerable,zc=(n,r,i)=>r in n?ky(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,Oy=(n,r)=>{for(var i in r||(r={}))Ly.call(r,i)&&zc(n,i,r[i]);if(Fc)for(var i of Fc(r))Iy.call(r,i)&&zc(n,i,r[i]);return n},My=(n,r)=>Ty(n,Ry(r));const $d=h.forwardRef((n,r)=>h.createElement($n,My(Oy({ref:r},n),{weights:Tv})));$d.displayName="EyeSlash";var Fy=Object.defineProperty,zy=Object.defineProperties,jy=Object.getOwnPropertyDescriptors,jc=Object.getOwnPropertySymbols,By=Object.prototype.hasOwnProperty,Py=Object.prototype.propertyIsEnumerable,Bc=(n,r,i)=>r in n?Fy(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,Wy=(n,r)=>{for(var i in r||(r={}))By.call(r,i)&&Bc(n,i,r[i]);if(jc)for(var i of jc(r))Py.call(r,i)&&Bc(n,i,r[i]);return n},Dy=(n,r)=>zy(n,jy(r));const kd=h.forwardRef((n,r)=>h.createElement($n,Dy(Wy({ref:r},n),{weights:Rv})));kd.displayName="SmileyXEyes";function Hy(n){const r=h.useRef(void 0);return h.useEffect(()=>{r.current=n},[n]),r.current}const Zy=Dn.keyframes`
|
|
31
|
+
`}));return ot`${l}`},j2={bgColor:{property:"backgroundColor",scale:"colors"},backgroundColor:{property:"backgroundColor",scale:"colors"},borderColor:{property:"borderColor",scale:"colors"},borderTopColor:{property:"borderTopColor",scale:"colors"},borderBottomColor:{property:"borderBottomColor",scale:"colors"},borderLeftColor:{property:"borderLeftColor",scale:"colors"},borderRightColor:{property:"borderRightColor",scale:"colors"}},B2={m:{property:"margin",scale:"spaces"},mt:{property:"marginTop",scale:"spaces"},mb:{property:"marginBottom",scale:"spaces"},ml:{property:"marginLeft",scale:"spaces"},mr:{property:"marginRight",scale:"spaces"},mx:{property:"marginInline",scale:"spaces"},my:{property:"marginBlock",scale:"spaces"},p:{property:"padding",scale:"spaces"},pt:{property:"paddingTop",scale:"spaces"},pb:{property:"paddingBottom",scale:"spaces"},pl:{property:"paddingLeft",scale:"spaces"},pr:{property:"paddingRight",scale:"spaces"},px:{property:"paddingInline",scale:"spaces"},py:{property:"paddingBlock",scale:"spaces"},margin:{property:"margin",scale:"spaces"},marginBottom:{property:"marginBottom",scale:"spaces"},marginLeft:{property:"marginLeft",scale:"spaces"},marginRight:{property:"marginRight",scale:"spaces"},marginTop:{property:"marginTop",scale:"spaces"},marginX:{property:"marginInline",scale:"spaces"},marginY:{property:"marginBlock",scale:"spaces"},padding:{property:"padding",scale:"spaces"},paddingBottom:{property:"paddingBottom",scale:"spaces"},paddingLeft:{property:"paddingLeft",scale:"spaces"},paddingRight:{property:"paddingRight",scale:"spaces"},paddingTop:{property:"paddingTop",scale:"spaces"},paddingX:{property:"paddingInline",scale:"spaces"},paddingY:{property:"paddingBlock",scale:"spaces"},gap:{property:"gap",scale:"spaces"}},P2={bbl:{property:"borderBottomLeftRadius",scale:"radii"},bbr:{property:"borderBottomRightRadius",scale:"radii"},btl:{property:"borderTopLeftRadius",scale:"radii"},btr:{property:"borderTopRightRadius",scale:"radii"},r:{property:"borderRadius",scale:"radii"},radius:{property:"borderRadius",scale:"radii"},borderBottomLeftRadius:{property:"borderBottomLeftRadius",scale:"radii"},borderBottomRightRadius:{property:"borderBottomRightRadius",scale:"radii"},borderTopLeftRadius:{property:"borderTopLeftRadius",scale:"radii"},borderTopRightRadius:{property:"borderTopRightRadius",scale:"radii"},borderRadius:{property:"borderRadius",scale:"radii"}},W2={b:{property:"borderWidth",scale:"borderWidths"},bb:{property:"borderBottomWidth",scale:"borderWidths"},bt:{property:"borderTopWidth",scale:"borderWidths"},bl:{property:"borderLeftWidth",scale:"borderWidths"},br:{property:"borderRightWidth",scale:"borderWidths"},borderWidth:{property:"borderWidth",scale:"borderWidths"},borderBottomWidth:{property:"borderBottomWidth",scale:"borderWidths"},borderTopWidth:{property:"borderTopWidth",scale:"borderWidths"},borderLeftWidth:{property:"borderLeftWidth",scale:"borderWidths"},borderRightWidth:{property:"borderRightWidth",scale:"borderWidths"}},kc={...j2,...B2,...P2,...W2},Rc=["alignContent","alignItems","alignSelf","display","flex","flexBasis","flexDirection","flexGrow","flexShrink","flexWrap","justifyContent","position","top","right","bottom","left","overflow","width","minWidth","maxWidth","height","minHeight","maxHeight","opacity","cursor","transition","transform","animation","willChange","pointerEvents","userSelect","resize","boxShadow","textShadow","filter","backdropFilter","mixBlendMode","isolation","zIndex","marginInline","marginBlock","paddingInline","paddingBlock","willChange","whiteSpace","textOverflow","overflowY","overflowX"],ma=["absoluteFill","fullWidth","fullHeight","fw","fh"],Lc={absoluteFill:{position:"absolute",top:0,bottom:0,left:0,right:0},fullWidth:{width:"100%"},fullHeight:{height:"100%"},fw:{width:"100%"},fh:{height:"100%"}},Oc=(n,r,i)=>{const a=kc[r],l=i[r];if(!l)return;const{scale:u,property:f}=a;switch(u){case"colors":return{[f]:zt(l,h=>n.colors[h])};case"spaces":return{[f]:zt(l,h=>n.spaces[h])};case"radii":return{[f]:zt(l,h=>n.radii[h])};case"borderWidths":return{[f]:zt(l,h=>n.borderWidths[h])}}},Ic=(n,r)=>Object.keys(r).reduce((a,l)=>({...a,...Oc(n,l,r)}),{}),D2=n=>ma.reduce((r,i)=>n[i]?{...r,...Lc[i]}:r,{}),Mc=Object.keys(kc),Fc=(n,r)=>{const i=We.pick(r,Mc),a=We.pick(r,[...Rc]),l=We.pick(r,[...ma]);return lr({...Ic(n,i),...D2(l),...a})},zc=re.div(({theme:n,...r})=>Fc(n,r));function N2({children:n,style:r,"data-testid":i,...a},l){return w.jsx(zc,{...a,style:r,ref:l,"data-testid":i,children:n})}const U=d.forwardRef(N2),mt=(n,r)=>typeof r=="number"?`${r}px`:We.isString(r)?Bn(r)?`${n.sizes[r]}px`:r:"auto",jc=n=>new RegExp("\\p{Emoji}","u").test(n)&&n.length<=2,Bc=n=>We.isString(n)&&n.includes("icon-"),Pc=n=>{const r=[".jpg",".jpeg",".png",".gif",".webp",".svg"],i=n.toLowerCase();return We.isString(n)&&(r.some(a=>i.endsWith(a))||n.startsWith("data:image/")||n.startsWith("http"))},Wc=n=>We.isString(n)&&n.startsWith("<svg"),Dc=({art:n,width:r,height:i,style:a,"data-testid":l,...u})=>{const f=Ce(),h=f.__hd__.art.defaultBrandSize||f.__hd__.art.defaultSize,y=mt(f,r??h),v=mt(f,i??h);return w.jsx(U,{display:"flex",alignItems:"center",justifyContent:"center",width:y,height:v,style:a,"data-testid":l,...u,children:n})},Nc=({art:n,size:r,style:i,"data-testid":a,...l})=>{const u=Ce(),f=u.__hd__.art.defaultEmojiSize||u.__hd__.art.defaultSize,h=mt(u,r??f),y=typeof h=="string"&&h.endsWith("px")?parseInt(h,10):u.__hd__.text.fontSizes[f]??24,v=u.__hd__.text.lineHeights[f]?`${u.__hd__.text.lineHeights[f]/y}`:"1";return w.jsx(U,{display:"flex",alignItems:"center",justifyContent:"center",width:h,height:h,style:{...i,fontSize:h,lineHeight:v},"data-testid":a,...l,children:n})},va=({art:n,size:r,color:i="currentColor",weight:a="regular",style:l,"data-testid":u,...f})=>{const h=Ce(),y=h.__hd__.art.defaultIconSize||h.__hd__.art.defaultSize,v=mt(h,r??y),$=n;if(!$)return process.env.NODE_ENV!=="production"&&console.warn(`[IconArt] Icon component not found for art="${n}". This should not happen with TypeScript checks.`),null;const T=Xu(i)?h.colors[i]:i;return w.jsx(U,{display:"flex",alignItems:"center",justifyContent:"center",width:v,height:v,style:l,"data-testid":u,...f,children:w.jsx($,{size:v,color:T,weight:a,style:l})})},Z2=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M208.49,199.51a12,12,0,0,1-17,17l-80-80a12,12,0,0,1,0-17l80-80a12,12,0,0,1,17,17L137,128ZM57,128l71.52-71.51a12,12,0,0,0-17-17l-80,80a12,12,0,0,0,0,17l80,80a12,12,0,0,0,17-17Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M200,48V208l-80-80Z",opacity:"0.2"}),d.createElement("path",{d:"M203.06,40.61a8,8,0,0,0-8.72,1.73l-80,80a8,8,0,0,0,0,11.32l80,80A8,8,0,0,0,208,208V48A8,8,0,0,0,203.06,40.61ZM192,188.69,131.31,128,192,67.31Zm-66.34,13.65a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L51.31,128Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M208,48V208a8,8,0,0,1-13.66,5.66L128,147.31V208a8,8,0,0,1-13.66,5.66l-80-80a8,8,0,0,1,0-11.32l80-80A8,8,0,0,1,128,48v60.69l66.34-66.35A8,8,0,0,1,208,48Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M204.24,203.76a6,6,0,1,1-8.48,8.48l-80-80a6,6,0,0,1,0-8.48l80-80a6,6,0,0,1,8.48,8.48L128.49,128ZM48.49,128l75.75-75.76a6,6,0,0,0-8.48-8.48l-80,80a6,6,0,0,0,0,8.48l80,80a6,6,0,1,0,8.48-8.48Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M205.66,202.34a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L131.31,128ZM51.31,128l74.35-74.34a8,8,0,0,0-11.32-11.32l-80,80a8,8,0,0,0,0,11.32l80,80a8,8,0,0,0,11.32-11.32Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M202.83,205.17a4,4,0,0,1-5.66,5.66l-80-80a4,4,0,0,1,0-5.66l80-80a4,4,0,1,1,5.66,5.66L125.66,128ZM45.66,128l77.17-77.17a4,4,0,0,0-5.66-5.66l-80,80a4,4,0,0,0,0,5.66l80,80a4,4,0,1,0,5.66-5.66Z"}))]]),H2=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M144.49,136.49l-80,80a12,12,0,0,1-17-17L119,128,47.51,56.49a12,12,0,0,1,17-17l80,80A12,12,0,0,1,144.49,136.49Zm80-17-80-80a12,12,0,1,0-17,17L199,128l-71.52,71.51a12,12,0,0,0,17,17l80-80A12,12,0,0,0,224.49,119.51Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M136,128,56,208V48Z",opacity:"0.2"}),d.createElement("path",{d:"M141.66,122.34l-80-80A8,8,0,0,0,48,48V208a8,8,0,0,0,13.66,5.66l80-80A8,8,0,0,0,141.66,122.34ZM64,188.69V67.31L124.69,128Zm157.66-55-80,80a8,8,0,0,1-11.32-11.32L204.69,128,130.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,221.66,133.66Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M221.66,133.66l-80,80A8,8,0,0,1,128,208V147.31L61.66,213.66A8,8,0,0,1,48,208V48a8,8,0,0,1,13.66-5.66L128,108.69V48a8,8,0,0,1,13.66-5.66l80,80A8,8,0,0,1,221.66,133.66Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M140.24,132.24l-80,80a6,6,0,0,1-8.48-8.48L127.51,128,51.76,52.24a6,6,0,0,1,8.48-8.48l80,80A6,6,0,0,1,140.24,132.24Zm80-8.48-80-80a6,6,0,0,0-8.48,8.48L207.51,128l-75.75,75.76a6,6,0,1,0,8.48,8.48l80-80A6,6,0,0,0,220.24,123.76Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M141.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L124.69,128,50.34,53.66A8,8,0,0,1,61.66,42.34l80,80A8,8,0,0,1,141.66,133.66Zm80-11.32-80-80a8,8,0,0,0-11.32,11.32L204.69,128l-74.35,74.34a8,8,0,0,0,11.32,11.32l80-80A8,8,0,0,0,221.66,122.34Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M138.83,130.83l-80,80a4,4,0,0,1-5.66-5.66L130.34,128,53.17,50.83a4,4,0,0,1,5.66-5.66l80,80A4,4,0,0,1,138.83,130.83Zm80-5.66-80-80a4,4,0,0,0-5.66,5.66L210.34,128l-77.17,77.17a4,4,0,0,0,5.66,5.66l80-80A4,4,0,0,0,218.83,125.17Z"}))]]),V2=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M216.49,104.49l-80,80a12,12,0,0,1-17,0l-80-80a12,12,0,0,1,17-17L128,159l71.51-71.52a12,12,0,0,1,17,17Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M208,96l-80,80L48,96Z",opacity:"0.2"}),d.createElement("path",{d:"M215.39,92.94A8,8,0,0,0,208,88H48a8,8,0,0,0-5.66,13.66l80,80a8,8,0,0,0,11.32,0l80-80A8,8,0,0,0,215.39,92.94ZM128,164.69,67.31,104H188.69Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,48,88H208a8,8,0,0,1,5.66,13.66Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M212.24,100.24l-80,80a6,6,0,0,1-8.48,0l-80-80a6,6,0,0,1,8.48-8.48L128,167.51l75.76-75.75a6,6,0,0,1,8.48,8.48Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M210.83,98.83l-80,80a4,4,0,0,1-5.66,0l-80-80a4,4,0,0,1,5.66-5.66L128,170.34l77.17-77.17a4,4,0,1,1,5.66,5.66Z"}))]]),U2=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M168.49,199.51a12,12,0,0,1-17,17l-80-80a12,12,0,0,1,0-17l80-80a12,12,0,0,1,17,17L97,128Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M160,48V208L80,128Z",opacity:"0.2"}),d.createElement("path",{d:"M163.06,40.61a8,8,0,0,0-8.72,1.73l-80,80a8,8,0,0,0,0,11.32l80,80A8,8,0,0,0,168,208V48A8,8,0,0,0,163.06,40.61ZM152,188.69,91.31,128,152,67.31Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M168,48V208a8,8,0,0,1-13.66,5.66l-80-80a8,8,0,0,1,0-11.32l80-80A8,8,0,0,1,168,48Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M164.24,203.76a6,6,0,1,1-8.48,8.48l-80-80a6,6,0,0,1,0-8.48l80-80a6,6,0,0,1,8.48,8.48L88.49,128Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M165.66,202.34a8,8,0,0,1-11.32,11.32l-80-80a8,8,0,0,1,0-11.32l80-80a8,8,0,0,1,11.32,11.32L91.31,128Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M162.83,205.17a4,4,0,0,1-5.66,5.66l-80-80a4,4,0,0,1,0-5.66l80-80a4,4,0,1,1,5.66,5.66L85.66,128Z"}))]]),q2=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M184.49,136.49l-80,80a12,12,0,0,1-17-17L159,128,87.51,56.49a12,12,0,1,1,17-17l80,80A12,12,0,0,1,184.49,136.49Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M176,128,96,208V48Z",opacity:"0.2"}),d.createElement("path",{d:"M181.66,122.34l-80-80A8,8,0,0,0,88,48V208a8,8,0,0,0,13.66,5.66l80-80A8,8,0,0,0,181.66,122.34ZM104,188.69V67.31L164.69,128Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M181.66,133.66l-80,80A8,8,0,0,1,88,208V48a8,8,0,0,1,13.66-5.66l80,80A8,8,0,0,1,181.66,133.66Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M180.24,132.24l-80,80a6,6,0,0,1-8.48-8.48L167.51,128,91.76,52.24a6,6,0,0,1,8.48-8.48l80,80A6,6,0,0,1,180.24,132.24Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M181.66,133.66l-80,80a8,8,0,0,1-11.32-11.32L164.69,128,90.34,53.66a8,8,0,0,1,11.32-11.32l80,80A8,8,0,0,1,181.66,133.66Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M178.83,130.83l-80,80a4,4,0,0,1-5.66-5.66L170.34,128,93.17,50.83a4,4,0,0,1,5.66-5.66l80,80A4,4,0,0,1,178.83,130.83Z"}))]]),G2=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M232.49,80.49l-128,128a12,12,0,0,1-17,0l-56-56a12,12,0,1,1,17-17L96,183,215.51,63.51a12,12,0,0,1,17,17Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M232,56V200a16,16,0,0,1-16,16H40a16,16,0,0,1-16-16V56A16,16,0,0,1,40,40H216A16,16,0,0,1,232,56Z",opacity:"0.2"}),d.createElement("path",{d:"M205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M216,40H40A16,16,0,0,0,24,56V200a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A16,16,0,0,0,216,40ZM205.66,85.66l-96,96a8,8,0,0,1-11.32,0l-40-40a8,8,0,0,1,11.32-11.32L104,164.69l90.34-90.35a8,8,0,0,1,11.32,11.32Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M228.24,76.24l-128,128a6,6,0,0,1-8.48,0l-56-56a6,6,0,0,1,8.48-8.48L96,191.51,219.76,67.76a6,6,0,0,1,8.48,8.48Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M229.66,77.66l-128,128a8,8,0,0,1-11.32,0l-56-56a8,8,0,0,1,11.32-11.32L96,188.69,218.34,66.34a8,8,0,0,1,11.32,11.32Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M226.83,74.83l-128,128a4,4,0,0,1-5.66,0l-56-56a4,4,0,0,1,5.66-5.66L96,194.34,221.17,69.17a4,4,0,1,1,5.66,5.66Z"}))]]),K2=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M251,123.13c-.37-.81-9.13-20.26-28.48-39.61C196.63,57.67,164,44,128,44S59.37,57.67,33.51,83.52C14.16,102.87,5.4,122.32,5,123.13a12.08,12.08,0,0,0,0,9.75c.37.82,9.13,20.26,28.49,39.61C59.37,198.34,92,212,128,212s68.63-13.66,94.48-39.51c19.36-19.35,28.12-38.79,28.49-39.61A12.08,12.08,0,0,0,251,123.13Zm-46.06,33C183.47,177.27,157.59,188,128,188s-55.47-10.73-76.91-31.88A130.36,130.36,0,0,1,29.52,128,130.45,130.45,0,0,1,51.09,99.89C72.54,78.73,98.41,68,128,68s55.46,10.73,76.91,31.89A130.36,130.36,0,0,1,226.48,128,130.45,130.45,0,0,1,204.91,156.12ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,64a20,20,0,1,1,20-20A20,20,0,0,1,128,148Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Zm0,112a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z",opacity:"0.2"}),d.createElement("path",{d:"M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,168a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M245.48,125.57c-.34-.78-8.66-19.23-27.24-37.81C201,70.54,171.38,50,128,50S55,70.54,37.76,87.76c-18.58,18.58-26.9,37-27.24,37.81a6,6,0,0,0,0,4.88c.34.77,8.66,19.22,27.24,37.8C55,185.47,84.62,206,128,206s73-20.53,90.24-37.75c18.58-18.58,26.9-37,27.24-37.8A6,6,0,0,0,245.48,125.57ZM128,194c-31.38,0-58.78-11.42-81.45-33.93A134.77,134.77,0,0,1,22.69,128,134.56,134.56,0,0,1,46.55,95.94C69.22,73.42,96.62,62,128,62s58.78,11.42,81.45,33.94A134.56,134.56,0,0,1,233.31,128C226.94,140.21,195,194,128,194Zm0-112a46,46,0,1,0,46,46A46.06,46.06,0,0,0,128,82Zm0,80a34,34,0,1,1,34-34A34,34,0,0,1,128,162Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M247.31,124.76c-.35-.79-8.82-19.58-27.65-38.41C194.57,61.26,162.88,48,128,48S61.43,61.26,36.34,86.35C17.51,105.18,9,124,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208s66.57-13.26,91.66-38.34c18.83-18.83,27.3-37.61,27.65-38.4A8,8,0,0,0,247.31,124.76ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.47,133.47,0,0,1,25,128,133.33,133.33,0,0,1,48.07,97.25C70.33,75.19,97.22,64,128,64s57.67,11.19,79.93,33.25A133.46,133.46,0,0,1,231.05,128C223.84,141.46,192.43,192,128,192Zm0-112a48,48,0,1,0,48,48A48.05,48.05,0,0,0,128,80Zm0,80a32,32,0,1,1,32-32A32,32,0,0,1,128,160Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M243.66,126.38c-.34-.76-8.52-18.89-26.83-37.2C199.87,72.22,170.7,52,128,52S56.13,72.22,39.17,89.18c-18.31,18.31-26.49,36.44-26.83,37.2a4.08,4.08,0,0,0,0,3.25c.34.77,8.52,18.89,26.83,37.2,17,17,46.14,37.17,88.83,37.17s71.87-20.21,88.83-37.17c18.31-18.31,26.49-36.43,26.83-37.2A4.08,4.08,0,0,0,243.66,126.38Zm-32.7,35c-23.07,23-51,34.62-83,34.62s-59.89-11.65-83-34.62A135.71,135.71,0,0,1,20.44,128,135.69,135.69,0,0,1,45,94.62C68.11,71.65,96,60,128,60s59.89,11.65,83,34.62A135.79,135.79,0,0,1,235.56,128,135.71,135.71,0,0,1,211,161.38ZM128,84a44,44,0,1,0,44,44A44.05,44.05,0,0,0,128,84Zm0,80a36,36,0,1,1,36-36A36,36,0,0,1,128,164Z"}))]]),X2=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M56.88,31.93A12,12,0,1,0,39.12,48.07l16,17.65C20.67,88.66,5.72,121.58,5,123.13a12.08,12.08,0,0,0,0,9.75c.37.82,9.13,20.26,28.49,39.61C59.37,198.34,92,212,128,212a131.34,131.34,0,0,0,51-10l20.09,22.1a12,12,0,0,0,17.76-16.14ZM128,188c-29.59,0-55.47-10.73-76.91-31.88A130.69,130.69,0,0,1,29.52,128c5.27-9.31,18.79-29.9,42-44.29l90.09,99.11A109.33,109.33,0,0,1,128,188Zm123-55.12c-.36.81-9,20-28,39.16a12,12,0,1,1-17-16.9A130.48,130.48,0,0,0,226.48,128a130.36,130.36,0,0,0-21.57-28.12C183.46,78.73,157.59,68,128,68c-3.35,0-6.7.14-10,.42a12,12,0,1,1-2-23.91c3.93-.34,8-.51,12-.51,36,0,68.63,13.67,94.49,39.52,19.35,19.35,28.11,38.8,28.48,39.61A12.08,12.08,0,0,1,251,132.88Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M128,56C48,56,16,128,16,128s32,72,112,72,112-72,112-72S208,56,128,56Zm0,112a40,40,0,1,1,40-40A40,40,0,0,1,128,168Z",opacity:"0.2"}),d.createElement("path",{d:"M53.92,34.62A8,8,0,1,0,42.08,45.38L61.32,66.55C25,88.84,9.38,123.2,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208a127.11,127.11,0,0,0,52.07-10.83l22,24.21a8,8,0,1,0,11.84-10.76Zm47.33,75.84,41.67,45.85a32,32,0,0,1-41.67-45.85ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.16,133.16,0,0,1,25,128c4.69-8.79,19.66-33.39,47.35-49.38l18,19.75a48,48,0,0,0,63.66,70l14.73,16.2A112,112,0,0,1,128,192Zm6-95.43a8,8,0,0,1,3-15.72,48.16,48.16,0,0,1,38.77,42.64,8,8,0,0,1-7.22,8.71,6.39,6.39,0,0,1-.75,0,8,8,0,0,1-8-7.26A32.09,32.09,0,0,0,134,96.57Zm113.28,34.69c-.42.94-10.55,23.37-33.36,43.8a8,8,0,1,1-10.67-11.92A132.77,132.77,0,0,0,231.05,128a133.15,133.15,0,0,0-23.12-30.77C185.67,75.19,158.78,64,128,64a118.37,118.37,0,0,0-19.36,1.57A8,8,0,1,1,106,49.79,134,134,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41A8,8,0,0,1,247.31,131.26Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M96.68,57.87a4,4,0,0,1,2.08-6.6A130.13,130.13,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41a8,8,0,0,1,0,6.5c-.35.79-8.82,19.57-27.65,38.4q-4.28,4.26-8.79,8.07a4,4,0,0,1-5.55-.36ZM213.92,210.62a8,8,0,1,1-11.84,10.76L180,197.13A127.21,127.21,0,0,1,128,208c-34.88,0-66.57-13.26-91.66-38.34C17.51,150.83,9,132.05,8.69,131.26a8,8,0,0,1,0-6.5C9,124,17.51,105.18,36.34,86.35a135,135,0,0,1,25-19.78L42.08,45.38A8,8,0,1,1,53.92,34.62Zm-65.49-48.25-52.69-58a40,40,0,0,0,52.69,58Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M52.44,36A6,6,0,0,0,43.56,44L64.44,67c-37.28,21.9-53.23,57-53.92,58.57a6,6,0,0,0,0,4.88c.34.77,8.66,19.22,27.24,37.8C55,185.47,84.62,206,128,206a124.91,124.91,0,0,0,52.57-11.25l23,25.29a6,6,0,0,0,8.88-8.08Zm48.62,71.32,45,49.52a34,34,0,0,1-45-49.52ZM128,194c-31.38,0-58.78-11.42-81.45-33.93A134.57,134.57,0,0,1,22.69,128c4.29-8.2,20.1-35.18,50-51.91L92.89,98.3a46,46,0,0,0,61.35,67.48l17.81,19.6A113.47,113.47,0,0,1,128,194Zm6.4-99.4a6,6,0,0,1,2.25-11.79,46.17,46.17,0,0,1,37.15,40.87,6,6,0,0,1-5.42,6.53l-.56,0a6,6,0,0,1-6-5.45A34.1,34.1,0,0,0,134.4,94.6Zm111.08,35.85c-.41.92-10.37,23-32.86,43.12a6,6,0,1,1-8-8.94A134.07,134.07,0,0,0,233.31,128a134.67,134.67,0,0,0-23.86-32.07C186.78,73.42,159.38,62,128,62a120.19,120.19,0,0,0-19.69,1.6,6,6,0,1,1-2-11.83A131.12,131.12,0,0,1,128,50c43.38,0,73,20.54,90.24,37.76,18.58,18.58,26.9,37,27.24,37.81A6,6,0,0,1,245.48,130.45Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M53.92,34.62A8,8,0,1,0,42.08,45.38L61.32,66.55C25,88.84,9.38,123.2,8.69,124.76a8,8,0,0,0,0,6.5c.35.79,8.82,19.57,27.65,38.4C61.43,194.74,93.12,208,128,208a127.11,127.11,0,0,0,52.07-10.83l22,24.21a8,8,0,1,0,11.84-10.76Zm47.33,75.84,41.67,45.85a32,32,0,0,1-41.67-45.85ZM128,192c-30.78,0-57.67-11.19-79.93-33.25A133.16,133.16,0,0,1,25,128c4.69-8.79,19.66-33.39,47.35-49.38l18,19.75a48,48,0,0,0,63.66,70l14.73,16.2A112,112,0,0,1,128,192Zm6-95.43a8,8,0,0,1,3-15.72,48.16,48.16,0,0,1,38.77,42.64,8,8,0,0,1-7.22,8.71,6.39,6.39,0,0,1-.75,0,8,8,0,0,1-8-7.26A32.09,32.09,0,0,0,134,96.57Zm113.28,34.69c-.42.94-10.55,23.37-33.36,43.8a8,8,0,1,1-10.67-11.92A132.77,132.77,0,0,0,231.05,128a133.15,133.15,0,0,0-23.12-30.77C185.67,75.19,158.78,64,128,64a118.37,118.37,0,0,0-19.36,1.57A8,8,0,1,1,106,49.79,134,134,0,0,1,128,48c34.88,0,66.57,13.26,91.66,38.35,18.83,18.83,27.3,37.62,27.65,38.41A8,8,0,0,1,247.31,131.26Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M51,37.31A4,4,0,0,0,45,42.69L67.59,67.5C29.34,89,13,124.81,12.34,126.38a4.08,4.08,0,0,0,0,3.25c.34.77,8.52,18.89,26.83,37.2,17,17,46.14,37.17,88.83,37.17a122.59,122.59,0,0,0,53.06-11.69l24,26.38a4,4,0,1,0,5.92-5.38ZM149.1,157.16A36,36,0,0,1,101,104.22ZM128,196c-32,0-59.89-11.65-83-34.62A135.81,135.81,0,0,1,20.44,128c3.65-7.23,20.09-36.81,52.68-54.43l22.45,24.7a44,44,0,0,0,59,64.83l20.89,23A114.94,114.94,0,0,1,128,196Zm6.78-103.36a4,4,0,0,1,1.49-7.86,44.15,44.15,0,0,1,35.54,39.09,4,4,0,0,1-3.61,4.35l-.38,0a4,4,0,0,1-4-3.63A36.1,36.1,0,0,0,134.78,92.64Zm108.88,37c-.41.91-10.2,22.58-32.38,42.45a4,4,0,0,1-2.67,1,4,4,0,0,1-2.67-7A136.71,136.71,0,0,0,235.56,128,136.07,136.07,0,0,0,211,94.62C187.89,71.65,160,60,128,60a122,122,0,0,0-20,1.63,4,4,0,0,1-1.32-7.89A129.3,129.3,0,0,1,128,52c42.7,0,71.87,20.22,88.83,37.18,18.31,18.31,26.49,36.44,26.83,37.2A4.08,4.08,0,0,1,243.66,129.63Z"}))]]),Y2=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm0,192a84,84,0,1,1,84-84A84.09,84.09,0,0,1,128,212Zm56.49-92.49a12,12,0,0,1-17,17L162,131l-5.51,5.52a12,12,0,0,1-17-17L145,114l-5.52-5.51a12,12,0,0,1,17-17L162,97l5.51-5.52a12,12,0,0,1,17,17L179,114Zm-68,17a12,12,0,0,1-17,0L94,131l-5.51,5.52a12,12,0,0,1-17-17L77,114l-5.52-5.51a12,12,0,0,1,17-17L94,97l5.51-5.52a12,12,0,0,1,17,17L111,114l5.52,5.51A12,12,0,0,1,116.49,136.49ZM144,180a16,16,0,1,1-16-16A16,16,0,0,1,144,180Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),d.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm61.66-93.66a8,8,0,0,1-11.32,11.32L168,123.31l-10.34,10.35a8,8,0,0,1-11.32-11.32L156.69,112l-10.35-10.34a8,8,0,0,1,11.32-11.32L168,100.69l10.34-10.35a8,8,0,0,1,11.32,11.32L179.31,112Zm-80-20.68L99.31,112l10.35,10.34a8,8,0,0,1-11.32,11.32L88,123.31,77.66,133.66a8,8,0,0,1-11.32-11.32L76.69,112,66.34,101.66A8,8,0,0,1,77.66,90.34L88,100.69,98.34,90.34a8,8,0,0,1,11.32,11.32ZM140,180a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.13,104.13,0,0,0,128,24Zm-18.34,98.34a8,8,0,0,1-11.32,11.32L88,123.31,77.66,133.66a8,8,0,0,1-11.32-11.32L76.69,112,66.34,101.66A8,8,0,0,1,77.66,90.34L88,100.69,98.34,90.34a8,8,0,0,1,11.32,11.32L99.31,112ZM128,192a12,12,0,1,1,12-12A12,12,0,0,1,128,192Zm61.66-69.66a8,8,0,0,1-11.32,11.32L168,123.31l-10.34,10.35a8,8,0,0,1-11.32-11.32L156.69,112l-10.35-10.34a8,8,0,0,1,11.32-11.32L168,100.69l10.34-10.35a8,8,0,0,1,11.32,11.32L179.31,112Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm0,192a90,90,0,1,1,90-90A90.1,90.1,0,0,1,128,218Zm60.24-117.76L176.49,112l11.75,11.76a6,6,0,1,1-8.48,8.48L168,120.49l-11.76,11.75a6,6,0,0,1-8.48-8.48L159.51,112l-11.75-11.76a6,6,0,0,1,8.48-8.48L168,103.51l11.76-11.75a6,6,0,0,1,8.48,8.48Zm-80,0L96.49,112l11.75,11.76a6,6,0,1,1-8.48,8.48L88,120.49,76.24,132.24a6,6,0,0,1-8.48-8.48L79.51,112,67.76,100.24a6,6,0,0,1,8.48-8.48L88,103.51,99.76,91.76a6,6,0,0,1,8.48,8.48ZM138,180a10,10,0,1,1-10-10A10,10,0,0,1,138,180Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm0,192a88,88,0,1,1,88-88A88.1,88.1,0,0,1,128,216Zm61.66-93.66a8,8,0,0,1-11.32,11.32L168,123.31l-10.34,10.35a8,8,0,0,1-11.32-11.32L156.69,112l-10.35-10.34a8,8,0,0,1,11.32-11.32L168,100.69l10.34-10.35a8,8,0,0,1,11.32,11.32L179.31,112Zm-80-20.68L99.31,112l10.35,10.34a8,8,0,0,1-11.32,11.32L88,123.31,77.66,133.66a8,8,0,0,1-11.32-11.32L76.69,112,66.34,101.66A8,8,0,0,1,77.66,90.34L88,100.69,98.34,90.34a8,8,0,0,1,11.32,11.32ZM140,180a12,12,0,1,1-12-12A12,12,0,0,1,140,180Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm0,192a92,92,0,1,1,92-92A92.1,92.1,0,0,1,128,220ZM186.83,98.83,173.66,112l13.17,13.17a4,4,0,0,1-5.66,5.66L168,117.66l-13.17,13.17a4,4,0,0,1-5.66-5.66L162.34,112,149.17,98.83a4,4,0,0,1,5.66-5.66L168,106.34l13.17-13.17a4,4,0,1,1,5.66,5.66Zm-80,0L93.66,112l13.17,13.17a4,4,0,0,1-5.66,5.66L88,117.66,74.83,130.83a4,4,0,0,1-5.66-5.66L82.34,112,69.17,98.83a4,4,0,0,1,5.66-5.66L88,106.34l13.17-13.17a4,4,0,0,1,5.66,5.66ZM136,180a8,8,0,1,1-8-8A8,8,0,0,1,136,180Z"}))]]),Q2=d.createContext({color:"currentColor",size:"1em",weight:"regular",mirrored:!1});var J2=Object.defineProperty,Ri=Object.getOwnPropertySymbols,Zc=Object.prototype.hasOwnProperty,Hc=Object.prototype.propertyIsEnumerable,ru=(n,r,i)=>r in n?J2(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,iu=(n,r)=>{for(var i in r||(r={}))Zc.call(r,i)&&ru(n,i,r[i]);if(Ri)for(var i of Ri(r))Hc.call(r,i)&&ru(n,i,r[i]);return n},ou=(n,r)=>{var i={};for(var a in n)Zc.call(n,a)&&r.indexOf(a)<0&&(i[a]=n[a]);if(n!=null&&Ri)for(var a of Ri(n))r.indexOf(a)<0&&Hc.call(n,a)&&(i[a]=n[a]);return i};const Vc=d.forwardRef((n,r)=>{const i=n,{alt:a,color:l,size:u,weight:f,mirrored:h,children:y,weights:v}=i,$=ou(i,["alt","color","size","weight","mirrored","children","weights"]),T=d.useContext(Q2),{color:b="currentColor",size:x,weight:m="regular",mirrored:S=!1}=T,C=ou(T,["color","size","weight","mirrored"]);return d.createElement("svg",iu(iu({ref:r,xmlns:"http://www.w3.org/2000/svg",width:u??x,height:u??x,fill:l??b,viewBox:"0 0 256 256",transform:h||S?"scale(-1, 1)":void 0},C),$),!!a&&d.createElement("title",null,a),y,v.get(f??m))});Vc.displayName="IconBase";const pn=Vc;var e8=Object.defineProperty,t8=Object.defineProperties,n8=Object.getOwnPropertyDescriptors,au=Object.getOwnPropertySymbols,r8=Object.prototype.hasOwnProperty,i8=Object.prototype.propertyIsEnumerable,su=(n,r,i)=>r in n?e8(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,o8=(n,r)=>{for(var i in r||(r={}))r8.call(r,i)&&su(n,i,r[i]);if(au)for(var i of au(r))i8.call(r,i)&&su(n,i,r[i]);return n},a8=(n,r)=>t8(n,n8(r));const Uc=d.forwardRef((n,r)=>d.createElement(pn,a8(o8({ref:r},n),{weights:Z2})));Uc.displayName="CaretDoubleLeft";var s8=Object.defineProperty,l8=Object.defineProperties,u8=Object.getOwnPropertyDescriptors,lu=Object.getOwnPropertySymbols,c8=Object.prototype.hasOwnProperty,f8=Object.prototype.propertyIsEnumerable,uu=(n,r,i)=>r in n?s8(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,d8=(n,r)=>{for(var i in r||(r={}))c8.call(r,i)&&uu(n,i,r[i]);if(lu)for(var i of lu(r))f8.call(r,i)&&uu(n,i,r[i]);return n},h8=(n,r)=>l8(n,u8(r));const qc=d.forwardRef((n,r)=>d.createElement(pn,h8(d8({ref:r},n),{weights:H2})));qc.displayName="CaretDoubleRight";var p8=Object.defineProperty,g8=Object.defineProperties,m8=Object.getOwnPropertyDescriptors,cu=Object.getOwnPropertySymbols,v8=Object.prototype.hasOwnProperty,y8=Object.prototype.propertyIsEnumerable,fu=(n,r,i)=>r in n?p8(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,b8=(n,r)=>{for(var i in r||(r={}))v8.call(r,i)&&fu(n,i,r[i]);if(cu)for(var i of cu(r))y8.call(r,i)&&fu(n,i,r[i]);return n},x8=(n,r)=>g8(n,m8(r));const ya=d.forwardRef((n,r)=>d.createElement(pn,x8(b8({ref:r},n),{weights:V2})));ya.displayName="CaretDown";var w8=Object.defineProperty,_8=Object.defineProperties,C8=Object.getOwnPropertyDescriptors,du=Object.getOwnPropertySymbols,S8=Object.prototype.hasOwnProperty,E8=Object.prototype.propertyIsEnumerable,hu=(n,r,i)=>r in n?w8(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,A8=(n,r)=>{for(var i in r||(r={}))S8.call(r,i)&&hu(n,i,r[i]);if(du)for(var i of du(r))E8.call(r,i)&&hu(n,i,r[i]);return n},$8=(n,r)=>_8(n,C8(r));const ba=d.forwardRef((n,r)=>d.createElement(pn,$8(A8({ref:r},n),{weights:U2})));ba.displayName="CaretLeft";var T8=Object.defineProperty,k8=Object.defineProperties,R8=Object.getOwnPropertyDescriptors,pu=Object.getOwnPropertySymbols,L8=Object.prototype.hasOwnProperty,O8=Object.prototype.propertyIsEnumerable,gu=(n,r,i)=>r in n?T8(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,I8=(n,r)=>{for(var i in r||(r={}))L8.call(r,i)&&gu(n,i,r[i]);if(pu)for(var i of pu(r))O8.call(r,i)&&gu(n,i,r[i]);return n},M8=(n,r)=>k8(n,R8(r));const Lr=d.forwardRef((n,r)=>d.createElement(pn,M8(I8({ref:r},n),{weights:q2})));Lr.displayName="CaretRight";var F8=Object.defineProperty,z8=Object.defineProperties,j8=Object.getOwnPropertyDescriptors,mu=Object.getOwnPropertySymbols,B8=Object.prototype.hasOwnProperty,P8=Object.prototype.propertyIsEnumerable,vu=(n,r,i)=>r in n?F8(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,W8=(n,r)=>{for(var i in r||(r={}))B8.call(r,i)&&vu(n,i,r[i]);if(mu)for(var i of mu(r))P8.call(r,i)&&vu(n,i,r[i]);return n},D8=(n,r)=>z8(n,j8(r));const Gc=d.forwardRef((n,r)=>d.createElement(pn,D8(W8({ref:r},n),{weights:G2})));Gc.displayName="Check";var N8=Object.defineProperty,Z8=Object.defineProperties,H8=Object.getOwnPropertyDescriptors,yu=Object.getOwnPropertySymbols,V8=Object.prototype.hasOwnProperty,U8=Object.prototype.propertyIsEnumerable,bu=(n,r,i)=>r in n?N8(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,q8=(n,r)=>{for(var i in r||(r={}))V8.call(r,i)&&bu(n,i,r[i]);if(yu)for(var i of yu(r))U8.call(r,i)&&bu(n,i,r[i]);return n},G8=(n,r)=>Z8(n,H8(r));const Kc=d.forwardRef((n,r)=>d.createElement(pn,G8(q8({ref:r},n),{weights:K2})));Kc.displayName="Eye";var K8=Object.defineProperty,X8=Object.defineProperties,Y8=Object.getOwnPropertyDescriptors,xu=Object.getOwnPropertySymbols,Q8=Object.prototype.hasOwnProperty,J8=Object.prototype.propertyIsEnumerable,wu=(n,r,i)=>r in n?K8(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,ev=(n,r)=>{for(var i in r||(r={}))Q8.call(r,i)&&wu(n,i,r[i]);if(xu)for(var i of xu(r))J8.call(r,i)&&wu(n,i,r[i]);return n},tv=(n,r)=>X8(n,Y8(r));const Xc=d.forwardRef((n,r)=>d.createElement(pn,tv(ev({ref:r},n),{weights:X2})));Xc.displayName="EyeSlash";var nv=Object.defineProperty,rv=Object.defineProperties,iv=Object.getOwnPropertyDescriptors,_u=Object.getOwnPropertySymbols,ov=Object.prototype.hasOwnProperty,av=Object.prototype.propertyIsEnumerable,Cu=(n,r,i)=>r in n?nv(n,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):n[r]=i,sv=(n,r)=>{for(var i in r||(r={}))ov.call(r,i)&&Cu(n,i,r[i]);if(_u)for(var i of _u(r))av.call(r,i)&&Cu(n,i,r[i]);return n},lv=(n,r)=>rv(n,iv(r));const Yc=d.forwardRef((n,r)=>d.createElement(pn,lv(sv({ref:r},n),{weights:Y2})));Yc.displayName="SmileyXEyes";function uv(n){const r=d.useRef(void 0);return d.useEffect(()=>{r.current=n},[n]),r.current}const cv=Sn.keyframes`
|
|
32
32
|
0% {
|
|
33
33
|
background-position: -468px 0;
|
|
34
34
|
}
|
|
35
35
|
100% {
|
|
36
36
|
background-position: 468px 0;
|
|
37
37
|
}
|
|
38
|
-
`,
|
|
38
|
+
`,fv=re.div`
|
|
39
39
|
width: 100%;
|
|
40
40
|
height: 100%;
|
|
41
41
|
border-radius: ${({theme:n,$variant:r})=>{const i=n.__hd__.skeleton.container[r].borderRadius;switch(r){case"circle":return`${n.radii[i]}px`;case"rounded":return`${n.radii[i]}px`;default:return`${n.radii[i]}px`}}};
|
|
42
|
-
background: ${({theme:n,$visible:r})=>{const i=n.__hd__.skeleton.animation.gradient,
|
|
42
|
+
background: ${({theme:n,$visible:r})=>{const i=n.__hd__.skeleton.animation.gradient,a=n.colors[i.start],l=n.colors[i.middle],u=n.colors[i.end];return r?`linear-gradient(
|
|
43
43
|
to right,
|
|
44
|
-
${
|
|
44
|
+
${a} 8%,
|
|
45
45
|
${l} 18%,
|
|
46
46
|
${u} 33%
|
|
47
|
-
)`:
|
|
47
|
+
)`:a}};
|
|
48
48
|
opacity: ${({theme:n,$variant:r})=>n.__hd__.skeleton.container[r].opacity};
|
|
49
49
|
transition: background ${({theme:n})=>n.__hd__.skeleton.animation.transition.backgroundDuration}ms ease-in-out;
|
|
50
50
|
background-size: 800px 100px;
|
|
51
|
-
animation: ${
|
|
51
|
+
animation: ${cv} ${({theme:n,$duration:r})=>r||n.__hd__.skeleton.animation.duration}ms linear infinite;
|
|
52
52
|
will-change: background-position;
|
|
53
53
|
transform: translateZ(0); /* Force hardware acceleration */
|
|
54
|
-
`,
|
|
54
|
+
`,dv=({visible:n,variant:r,animationDuration:i,children:a,...l})=>{const u=Ce(),[f,h]=d.useState(n),y=d.useDeferredValue(n),v=d.useDeferredValue(f),$=u.__hd__.skeleton.animation.transition.backgroundDuration,T=u.__hd__.skeleton.animation.transition.contentFadeDuration;return d.useEffect(()=>{let b;return y?h(!0):b=setTimeout(()=>{h(!1)},$),()=>{b&&clearTimeout(b)}},[$,y]),w.jsxs(U,{...l,position:"relative",children:[w.jsx(U,{fw:!0,fh:!0,position:"relative",opacity:n?0:1,transition:`opacity ${T}ms ease-in-out`,children:a}),(n||y||f||v)&&w.jsx(U,{absoluteFill:!0,opacity:n&&f?1:0,transition:`opacity ${$}ms ease-in-out`,children:w.jsx(fv,{$variant:r,$duration:i,$visible:!0})})]})},ji=({visible:n=!0,variant:r="rectangle",children:i,animationDuration:a=1500,...l})=>w.jsx(dv,{visible:n,variant:r,animationDuration:a,...l,children:i}),hv=re.p.attrs(({as:n})=>({as:n||"p"}))(({$themeFontSize:n,$themeFontWeight:r,$themeColor:i,$themeTypeface:a,theme:l,$textAlign:u,$textTransform:f,$textDecoration:h,$numberOfLines:y})=>{const v=l,$=zt(r,x=>v.__hd__.text.fontWeights[x]),T={fontSize:zt(n,x=>`${v.__hd__.text.fontSizes[x]}px`),lineHeight:zt(n,x=>`${v.__hd__.text.lineHeights[x]}px`),letterSpacing:zt(n,x=>`${v.__hd__.text.fontSizes[x]*.03}px`)},b=y?Ac({numberOfLines:y,themeFontSize:n},({numberOfLines:x,themeFontSize:m})=>({display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:x,minHeight:`${v.__hd__.text.lineHeights[m]*x}px`,maxHeight:`${v.__hd__.text.lineHeights[m]*x}px`,overflow:"hidden"})):{};return lr({...T,...b,fontFamily:zt(a,x=>v.fonts[x]),fontWeight:$,color:zt(i,x=>v.colors[x]),textAlign:u,textTransform:f,textDecoration:h,margin:0})}),Qc=[{pattern:/<strong>(.*?)<\/strong>/g,props:{fontWeight:"bold"}}],pv=(n,r,i)=>{if(typeof n!="string")return n;let a=0;const l=[];return Qc.forEach(({pattern:u,props:f})=>{Array.from(n.matchAll(u)).forEach(y=>{const[v,$]=y,T=y.index;T>a&&l.push(n.slice(a,T)),l.push(d.createElement(r,{...i,...f,key:T},$)),a=T+v.length})}),a<n.length&&l.push(n.slice(a)),l},gv=n=>function(i){const{useRichText:a=!1,children:l}=i;if(!a||typeof l!="string")return w.jsx(n,{...i,children:l});const u=pv(l.toString(),n,i);return w.jsx(n,{...i,children:u})};function mv({children:n,fontSize:r="medium",fontWeight:i="regular",color:a="grey900",typeface:l="neutral",textAlign:u,textTransform:f,textDecoration:h,numberOfLines:y,"data-testid":v,as:$="p",...T},b){return w.jsx(hv,{...T,$themeFontSize:r,$themeFontWeight:i,$themeColor:a,$themeTypeface:l,$textAlign:u,$textTransform:f,$textDecoration:h,ref:b,"data-testid":v,as:$,$numberOfLines:y,children:n})}const vv=d.forwardRef(mv),ct=gv(vv),yv=()=>w.jsxs(U,{display:"flex",alignItems:"center",justifyContent:"center",gap:"2xs",children:[w.jsx(va,{art:Yc,size:"sm",color:"grey600"}),w.jsx(ct,{fontSize:"xs",color:"grey600",children:"Error"})]}),bv=re.img`
|
|
55
55
|
width: 100%;
|
|
56
56
|
height: 100%;
|
|
57
57
|
object-fit: ${({$objectFit:n})=>n};
|
|
@@ -59,7 +59,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
59
59
|
aspect-ratio: ${({$aspectRatio:n})=>n};
|
|
60
60
|
mix-blend-mode: ${({$mixBlendMode:n})=>n};
|
|
61
61
|
image-rendering: ${({$imageRendering:n})=>n};
|
|
62
|
-
`,Rd=({art:n,width:r,height:i,style:s,"data-testid":l,alt:u,fallback:f,useSkeleton:d=!0,objectFit:g,objectPosition:v,aspectRatio:_,mixBlendMode:S,imageRendering:E,...w})=>{const C=xe(),[I,R]=h.useState(!0),[O,k]=h.useState(!1),T=C.__hd__.art.defaultImageSize||C.__hd__.art.defaultSize,F=Wt(r,_e=>bt(C,_e??T)),W=Wt(i,_e=>bt(C,_e??T)),q=w.r||w.radius||w.borderRadius||"md",V=Hy(n);h.useEffect(()=>{!Oe.isNil(V)&&V!==n&&(R(!0),k(!1))},[n,V]);const J=()=>{R(!1)},me=()=>{k(!0),R(!1)};return y.jsx(Y,{display:"flex",alignItems:"center",justifyContent:"center",width:F,height:W,overflow:"hidden",style:s,"data-testid":l,...w,children:y.jsxs(Eo,{visible:I,width:F,height:W,r:q,children:[O&&y.jsxs(Y,{width:F,height:W,r:q,display:"flex",alignItems:"center",justifyContent:"center",bgColor:"grey200",children:[!I&&f,!I&&!f&&!u&&y.jsx(ut,{fontSize:"xs",color:"grey600",children:f||u}),!I&&!f&&!u&&Yy()]}),!O&&(!St()||!d)&&y.jsx(Qy,{src:n,alt:Oe.isString(u)?u:"Image",onLoad:J,onError:me,"data-testid":l?`${l}-image`:void 0,$objectFit:g,$objectPosition:v,$aspectRatio:_,$mixBlendMode:S,$imageRendering:E}),!O&&St()&&d&&u]})})},Ld=({art:n,width:r,height:i,style:s,"data-testid":l,...u})=>{const f=xe(),d=f.__hd__.art.defaultSvgSize||f.__hd__.art.defaultSize,g=bt(f,r??d),v=bt(f,i??d);return y.jsx(Y,{display:"flex",alignItems:"center",justifyContent:"center",width:g,height:v,overflow:"hidden",style:s,"data-testid":l,dangerouslySetInnerHTML:{__html:n},...u})},Yt=n=>{const{art:r,type:i}=n;return i==="image"||Oe.isString(r)&&md(r)?y.jsx(Rd,{...n}):i==="svg"||Oe.isString(r)&&vd(r)?y.jsx(Ld,{...n}):i==="emoji"||Oe.isString(r)&&pd(r)?y.jsx(bd,{...n}):i==="icon"||Oe.isString(r)&&gd(r)?y.jsx(Ta,{...n}):i==="brand"?y.jsx(yd,{...n}):y.jsx(y.Fragment,{})},Jy=n=>n==="sm"||n==="md"||n==="lg",Id=({src:n,name:r,size:i,...s})=>{var _;const l=xe(),u=l.__hd__.avatar,f=i||u.defaultSize,d=bt(l,f);let g=u.defaultFallbackTextSize;typeof f=="string"&&Jy(f)&&u.sizes[f]&&(g=u.sizes[f].fallbackTextSize);const v=u.fallbackBackgroundColor;return y.jsx(Y,{width:d,height:d,r:"full",overflow:"hidden",display:"flex",alignItems:"center",justifyContent:"center",...s,children:n?y.jsx(Yt,{type:"image",art:n,width:"100%",height:"100%",objectFit:"cover"}):y.jsx(Y,{width:"100%",height:"100%",bgColor:v,display:"flex",justifyContent:"center",alignItems:"center",children:y.jsx(ut,{color:"white",fontSize:g,fontWeight:"semibold",children:((_=r==null?void 0:r.charAt(0))==null?void 0:_.toUpperCase())||"U"})})})};function eb(n){const[r,i]=h.useState(()=>(St(),!1));return h.useEffect(()=>{if(St())return;const s=window.matchMedia(n),l=u=>{i(u.matches)};return s.addEventListener?s.addEventListener("change",l):s.addListener(l),i(s.matches),()=>{s.removeEventListener?s.removeEventListener("change",l):s.removeListener(l)}},[n]),r}const pi=(n="xl")=>{const[r,i]=h.useState(()=>(typeof window>"u"||!window.matchMedia,n));return h.useEffect(()=>{if(St())return;const l=["xl","lg","md","sm"].map(d=>({key:d,mql:window.matchMedia(`(min-width: ${di[d]}px)`)})),u=()=>{for(const{key:d,mql:g}of l)if(g.matches)return d;return"xs"},f=()=>{i(u())};return f(),l.forEach(({mql:d})=>{d.addEventListener?d.addEventListener("change",f):d.addListener(f)}),()=>{l.forEach(({mql:d})=>{d.removeEventListener?d.removeEventListener("change",f):d.removeListener(f)})}},[]),r};function tb(){const{innerWidth:n,innerHeight:r}=window;return{width:n,height:r}}const Od=()=>{const[n,r]=h.useState(()=>St()?{width:void 0,height:void 0}:{width:void 0,height:void 0});return h.useEffect(()=>{if(St())return;function i(){r(tb())}return i(),window.addEventListener("resize",i),()=>window.removeEventListener("resize",i)},[]),n},ir=typeof window<"u"?h.useLayoutEffect:h.useEffect;function da(n,r,i,s){const l=h.useRef(r);ir(()=>{l.current=r},[r]),h.useEffect(()=>{const u=(i==null?void 0:i.current)??window;if(!(u&&u.addEventListener))return;const f=d=>{l.current(d)};return u.addEventListener(n,f,s),()=>{u.removeEventListener(n,f,s)}},[n,i,s])}function Ao(n){const[r,i]=h.useState(!1),s=pi(),l=s==="xs"||s==="sm",u=()=>{l||i(!0)},f=()=>{l||i(!1)};return da("mouseenter",u,n),da("mouseleave",f,n),l?!1:r}const nb=()=>typeof window>"u"||!window.navigator?{isMouse:!0,isTouch:!1}:window.matchMedia("(any-pointer: fine)").matches?{isMouse:!0,isTouch:!1}:window.matchMedia("(any-pointer: coarse)").matches?{isMouse:!1,isTouch:!0}:{isMouse:!0,isTouch:!1};function Ia(){const[n,r]=h.useState(nb);return h.useEffect(()=>{const i=s=>{s.pointerType==="touch"?n.isTouch||r({isMouse:!1,isTouch:!0}):s.pointerType==="mouse"&&(n.isMouse||r({isMouse:!0,isTouch:!1}))};return window.addEventListener("pointerdown",i,{passive:!0}),()=>{window.removeEventListener("pointerdown",i)}},[n]),n}var rb="2.0.3",ha=500,Pc="user-agent",Rr="",Wc="?",vo="function",Wn="undefined",Lr="object",pa="string",Lt="browser",xn="cpu",fn="device",on="engine",Xt="os",$r="result",X="name",j="type",U="vendor",Q="version",It="architecture",li="major",H="model",oi="console",Se="mobile",He="tablet",st="smarttv",cn="wearable",Qs="xr",si="embedded",Xr="inapp",Oa="brands",nr="formFactors",Ma="fullVersionList",kr="platform",Fa="platformVersion",$o="bitness",Zn="sec-ch-ua",ib=Zn+"-full-version-list",ob=Zn+"-arch",sb=Zn+"-"+$o,ab=Zn+"-form-factors",lb=Zn+"-"+Se,ub=Zn+"-"+H,Md=Zn+"-"+kr,cb=Md+"-version",Fd=[Oa,Ma,Se,H,kr,Fa,It,nr,$o],io="Amazon",_r="Apple",Dc="ASUS",Hc="BlackBerry",Jn="Google",Zc="Huawei",Nc="Lenovo",Vc="Honor",oo="LG",Js="Microsoft",ea="Motorola",ta="Nvidia",Uc="OnePlus",na="OPPO",Yr="Samsung",qc="Sharp",Qr="Sony",ra="Xiaomi",ia="Zebra",Gc="Chrome",Kc="Chromium",jn="Chromecast",fb="Edge",Jr="Firefox",ei="Opera",oa="Facebook",Xc="Sogou",Cr="Mobile ",ti=" Browser",ga="Windows",db=typeof window!==Wn,Ot=db&&window.navigator?window.navigator:void 0,Bn=Ot&&Ot.userAgentData?Ot.userAgentData:void 0,hb=function(n,r){var i={},s=r;if(!yo(r)){s={};for(var l in r)for(var u in r[l])s[u]=r[l][u].concat(s[u]?s[u]:[])}for(var f in n)i[f]=s[f]&&s[f].length%2===0?s[f].concat(n[f]):n[f];return i},ko=function(n){for(var r={},i=0;i<n.length;i++)r[n[i].toUpperCase()]=n[i];return r},ma=function(n,r){if(typeof n===Lr&&n.length>0){for(var i in n)if(_n(n[i])==_n(r))return!0;return!1}return Mr(n)?_n(r).indexOf(_n(n))!==-1:!1},yo=function(n,r){for(var i in n)return/^(browser|cpu|device|engine|os)$/.test(i)||(r?yo(n[i]):!1)},Mr=function(n){return typeof n===pa},sa=function(n){if(n){for(var r=[],i=Ir(/\\?\"/g,n).split(","),s=0;s<i.length;s++)if(i[s].indexOf(";")>-1){var l=ui(i[s]).split(";v=");r[s]={brand:l[0],version:l[1]}}else r[s]=ui(i[s]);return r}},_n=function(n){return Mr(n)?n.toLowerCase():n},aa=function(n){return Mr(n)?Ir(/[^\d\.]/g,n).split(".")[0]:void 0},Cn=function(n){for(var r in n){var i=n[r];typeof i==Lr&&i.length==2?this[i[0]]=i[1]:this[i]=void 0}return this},Ir=function(n,r){return Mr(r)?r.replace(n,Rr):r},ni=function(n){return Ir(/\\?\"/g,n)},ui=function(n,r){if(Mr(n))return n=Ir(/^\s\s*/,n),typeof r===Wn?n:n.substring(0,ha)},la=function(n,r){if(!(!n||!r))for(var i=0,s,l,u,f,d,g;i<r.length&&!d;){var v=r[i],_=r[i+1];for(s=l=0;s<v.length&&!d&&v[s];)if(d=v[s++].exec(n),d)for(u=0;u<_.length;u++)g=d[++l],f=_[u],typeof f===Lr&&f.length>0?f.length===2?typeof f[1]==vo?this[f[0]]=f[1].call(this,g):this[f[0]]=f[1]:f.length===3?typeof f[1]===vo&&!(f[1].exec&&f[1].test)?this[f[0]]=g?f[1].call(this,g,f[2]):void 0:this[f[0]]=g?g.replace(f[1],f[2]):void 0:f.length===4&&(this[f[0]]=g?f[3].call(this,g.replace(f[1],f[2])):void 0):this[f]=g||void 0;i+=2}},Pn=function(n,r){for(var i in r)if(typeof r[i]===Lr&&r[i].length>0){for(var s=0;s<r[i].length;s++)if(ma(r[i][s],n))return i===Wc?void 0:i}else if(ma(r[i],n))return i===Wc?void 0:i;return r.hasOwnProperty("*")?r["*"]:n},Yc={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"},Qc={embedded:"Automotive",mobile:"Mobile",tablet:["Tablet","EInk"],smarttv:"TV",wearable:"Watch",xr:["VR","XR"],"?":["Desktop","Unknown"],"*":void 0},Jc={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[Q,[X,Cr+"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[Q,[X,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[X,Q],[/opios[\/ ]+([\w\.]+)/i],[Q,[X,ei+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[Q,[X,ei+" GX"]],[/\bopr\/([\w\.]+)/i],[Q,[X,ei]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[Q,[X,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[Q,[X,"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|otter|dooble|(?:lg |qute)browser)\/([-\w\.]+)/i,/(heytap|ovi|115|surf)browser\/([\d\.]+)/i,/(ecosia|weibo)(?:__| \w+@)([\d\.]+)/i],[X,Q],[/quark(?:pc)?\/([-\w\.]+)/i],[Q,[X,"Quark"]],[/\bddg\/([\w\.]+)/i],[Q,[X,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[Q,[X,"UCBrowser"]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[Q,[X,"WeChat"]],[/konqueror\/([\w\.]+)/i],[Q,[X,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[Q,[X,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[Q,[X,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[Q,[X,"Smart "+Nc+ti]],[/(avast|avg)\/([\w\.]+)/i],[[X,/(.+)/,"$1 Secure"+ti],Q],[/\bfocus\/([\w\.]+)/i],[Q,[X,Jr+" Focus"]],[/\bopt\/([\w\.]+)/i],[Q,[X,ei+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[Q,[X,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[Q,[X,"Dolphin"]],[/coast\/([\w\.]+)/i],[Q,[X,ei+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[Q,[X,"MIUI"+ti]],[/fxios\/([\w\.-]+)/i],[Q,[X,Cr+Jr]],[/\bqihoobrowser\/?([\w\.]*)/i],[Q,[X,"360"]],[/\b(qq)\/([\w\.]+)/i],[[X,/(.+)/,"$1Browser"],Q],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[X,/(.+)/,"$1"+ti],Q],[/samsungbrowser\/([\w\.]+)/i],[Q,[X,Yr+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[Q,[X,Xc+" Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[X,Xc+" Mobile"],Q],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[X,Q],[/(lbbrowser|rekonq)/i],[X],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[Q,X],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[X,oa],Q,[j,Xr]],[/(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,/(instagram|snapchat)[\/ ]([-\w\.]+)/i],[X,Q,[j,Xr]],[/\bgsa\/([\w\.]+) .*safari\//i],[Q,[X,"GSA"],[j,Xr]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[Q,[X,"TikTok"],[j,Xr]],[/\[(linkedin)app\]/i],[X,[j,Xr]],[/(chromium)[\/ ]([-\w\.]+)/i],[X,Q],[/headlesschrome(?:\/([\w\.]+)| )/i],[Q,[X,Gc+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[X,Gc+" WebView"],Q],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[Q,[X,"Android"+ti]],[/chrome\/([\w\.]+) mobile/i],[Q,[X,Cr+"Chrome"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[X,Q],[/version\/([\w\.\,]+) .*mobile(?:\/\w+ | ?)safari/i],[Q,[X,Cr+"Safari"]],[/iphone .*mobile(?:\/\w+ | ?)safari/i],[[X,Cr+"Safari"]],[/version\/([\w\.\,]+) .*(safari)/i],[Q,X],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[X,[Q,"1"]],[/(webkit|khtml)\/([\w\.]+)/i],[X,Q],[/(?:mobile|tablet);.*(firefox)\/([\w\.-]+)/i],[[X,Cr+Jr],Q],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[X,"Netscape"],Q],[/(wolvic|librewolf)\/([\w\.]+)/i],[X,Q],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[Q,[X,Jr+" 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],[X,[Q,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[X,[Q,/[^\d\.]+./,Rr]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[It,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[It,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[It,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[It,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[It,"arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[[It,/ower/,Rr,_n]],[/ sun4\w[;\)]/i],[[It,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[[It,_n]]],device:[[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i],[H,[U,Yr],[j,He]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[H,[U,Yr],[j,Se]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[H,[U,_r],[j,Se]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[H,[U,_r],[j,He]],[/(macintosh);/i],[H,[U,_r]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[H,[U,qc],[j,Se]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[H,[U,Vc],[j,He]],[/honor([-\w ]+)[;\)]/i],[H,[U,Vc],[j,Se]],[/\b((?:ag[rs][2356]?k?|bah[234]?|bg[2o]|bt[kv]|cmr|cpn|db[ry]2?|jdn2|got|kob2?k?|mon|pce|scm|sht?|[tw]gr|vrd)-[ad]?[lw][0125][09]b?|605hw|bg2-u03|(?:gem|fdr|m2|ple|t1)-[7a]0[1-4][lu]|t1-a2[13][lw]|mediapad[\w\. ]*(?= bui|\)))\b(?!.+d\/s)/i],[H,[U,Zc],[j,He]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[H,[U,Zc],[j,Se]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[H,/_/g," "],[U,ra],[j,He]],[/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i,/\b; (\w+) build\/hm\1/i,/\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i,/\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i,/oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i,/\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i,/ ([\w ]+) miui\/v?\d/i],[[H,/_/g," "],[U,ra],[j,Se]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[H,[U,na],[j,Se]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[H,[U,Pn,{OnePlus:["304","403","203"],"*":na}],[j,He]],[/(vivo (5r?|6|8l?|go|one|s|x[il]?[2-4]?)[\w\+ ]*)(?: bui|\))/i],[H,[U,"BLU"],[j,Se]],[/; vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[H,[U,"Vivo"],[j,Se]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[H,[U,"Realme"],[j,Se]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto(?! 360)[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[H,[U,ea],[j,Se]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[H,[U,ea],[j,He]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[H,[U,oo],[j,He]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+(?!.*(?:browser|netcast|android tv|watch))(\w+)/i,/\blg-?([\d\w]+) bui/i],[H,[U,oo],[j,Se]],[/(ideatab[-\w ]+|602lv|d-42a|a101lv|a2109a|a3500-hv|s[56]000|pb-6505[my]|tb-?x?\d{3,4}(?:f[cu]|xu|[av])|yt\d?-[jx]?\d+[lfmx])( bui|;|\)|\/)/i,/lenovo ?(b[68]0[08]0-?[hf]?|tab(?:[\w- ]+?)|tb[\w-]{6,7})( bui|;|\)|\/)/i],[H,[U,Nc],[j,He]],[/(nokia) (t[12][01])/i],[U,H,[j,He]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[H,/_/g," "],[j,Se],[U,"Nokia"]],[/(pixel (c|tablet))\b/i],[H,[U,Jn],[j,He]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[H,[U,Jn],[j,Se]],[/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i],[H,[U,Qr],[j,Se]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[H,"Xperia Tablet"],[U,Qr],[j,He]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[H,[U,Uc],[j,Se]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[H,[U,io],[j,He]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[H,/(.+)/g,"Fire Phone $1"],[U,io],[j,Se]],[/(playbook);[-\w\),; ]+(rim)/i],[H,U,[j,He]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[H,[U,Hc],[j,Se]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[H,[U,Dc],[j,He]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[H,[U,Dc],[j,Se]],[/(nexus 9)/i],[H,[U,"HTC"],[j,He]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[U,[H,/_/g," "],[j,Se]],[/tcl (xess p17aa)/i,/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])(_\w(\w|\w\w))?(\)| bui)/i],[H,[U,"TCL"],[j,He]],[/droid [\w\.]+; (418(?:7d|8v)|5087z|5102l|61(?:02[dh]|25[adfh]|27[ai]|56[dh]|59k|65[ah])|a509dl|t(?:43(?:0w|1[adepqu])|50(?:6d|7[adju])|6(?:09dl|10k|12b|71[efho]|76[hjk])|7(?:66[ahju]|67[hw]|7[045][bh]|71[hk]|73o|76[ho]|79w|81[hks]?|82h|90[bhsy]|99b)|810[hs]))(_\w(\w|\w\w))?(\)| bui)/i],[H,[U,"TCL"],[j,Se]],[/(itel) ((\w+))/i],[[U,_n],H,[j,Pn,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[H,[U,"Acer"],[j,He]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[H,[U,"Meizu"],[j,Se]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[H,[U,"Ulefone"],[j,Se]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[H,[U,"Energizer"],[j,Se]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[H,[U,"Cat"],[j,Se]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[H,[U,"Smartfren"],[j,Se]],[/droid.+; (a(?:015|06[35]|142p?))/i],[H,[U,"Nothing"],[j,Se]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[H,[U,"Archos"],[j,He]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[H,[U,"Archos"],[j,Se]],[/(imo) (tab \w+)/i,/(infinix) (x1101b?)/i],[U,H,[j,He]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus(?! zenw)|dell|jolla|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (blu|hmd|imo|tcl)[_ ]([\w\+ ]+?)(?: bui|\)|; r)/i,/(hp) ([\w ]+\w)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w ]+?)(?: bui|\)|\/)/i,/(oppo) ?([\w ]+) bui/i],[U,H,[j,Se]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i],[U,H,[j,He]],[/(surface duo)/i],[H,[U,Js],[j,He]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[H,[U,"Fairphone"],[j,Se]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[H,[U,ta],[j,He]],[/(sprint) (\w+)/i],[U,H,[j,Se]],[/(kin\.[onetw]{3})/i],[[H,/\./g," "],[U,Js],[j,Se]],[/droid.+; ([c6]+|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[H,[U,ia],[j,He]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[H,[U,ia],[j,Se]],[/smart-tv.+(samsung)/i],[U,[j,st]],[/hbbtv.+maple;(\d+)/i],[[H,/^/,"SmartTV"],[U,Yr],[j,st]],[/tcast.+(lg)e?. ([-\w]+)/i],[U,H,[j,st]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[U,oo],[j,st]],[/(apple) ?tv/i],[U,[H,_r+" TV"],[j,st]],[/crkey.*devicetype\/chromecast/i],[[H,jn+" Third Generation"],[U,Jn],[j,st]],[/crkey.*devicetype\/([^/]*)/i],[[H,/^/,"Chromecast "],[U,Jn],[j,st]],[/fuchsia.*crkey/i],[[H,jn+" Nest Hub"],[U,Jn],[j,st]],[/crkey/i],[[H,jn],[U,Jn],[j,st]],[/(portaltv)/i],[H,[U,oa],[j,st]],[/droid.+aft(\w+)( bui|\))/i],[H,[U,io],[j,st]],[/(shield \w+ tv)/i],[H,[U,ta],[j,st]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[H,[U,qc],[j,st]],[/(bravia[\w ]+)( bui|\))/i],[H,[U,Qr],[j,st]],[/(mi(tv|box)-?\w+) bui/i],[H,[U,ra],[j,st]],[/Hbbtv.*(technisat) (.*);/i],[U,H,[j,st]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[U,ui],[H,ui],[j,st]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[H,[j,st]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[j,st]],[/(ouya)/i,/(nintendo) (\w+)/i],[U,H,[j,oi]],[/droid.+; (shield)( bui|\))/i],[H,[U,ta],[j,oi]],[/(playstation \w+)/i],[H,[U,Qr],[j,oi]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[H,[U,Js],[j,oi]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[H,[U,Yr],[j,cn]],[/((pebble))app/i,/(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[U,H,[j,cn]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[H,[U,na],[j,cn]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[H,[U,_r],[j,cn]],[/(opwwe\d{3})/i],[H,[U,Uc],[j,cn]],[/(moto 360)/i],[H,[U,ea],[j,cn]],[/(smartwatch 3)/i],[H,[U,Qr],[j,cn]],[/(g watch r)/i],[H,[U,oo],[j,cn]],[/droid.+; (wt63?0{2,3})\)/i],[H,[U,ia],[j,cn]],[/droid.+; (glass) \d/i],[H,[U,Jn],[j,Qs]],[/(pico) (4|neo3(?: link|pro)?)/i],[U,H,[j,Qs]],[/(quest( \d| pro)?s?).+vr/i],[H,[U,oa],[j,Qs]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[U,[j,si]],[/(aeobc)\b/i],[H,[U,io],[j,si]],[/(homepod).+mac os/i],[H,[U,_r],[j,si]],[/windows iot/i],[[j,si]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+?(mobile|vr|\d) safari/i],[H,[j,Pn,{mobile:"Mobile",xr:"VR","*":He}]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[j,He]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[j,Se]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[H,[U,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[Q,[X,fb+"HTML"]],[/(arkweb)\/([\w\.]+)/i],[X,Q],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[Q,[X,"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],[X,Q],[/ladybird\//i],[[X,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[Q,X]],os:[[/microsoft (windows) (vista|xp)/i],[X,Q],[/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i],[X,[Q,Pn,Yc]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[Q,Pn,Yc],[X,ga]],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[Q,/_/g,"."],[X,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[X,"macOS"],[Q,/_/g,"."]],[/android ([\d\.]+).*crkey/i],[Q,[X,jn+" Android"]],[/fuchsia.*crkey\/([\d\.]+)/i],[Q,[X,jn+" Fuchsia"]],[/crkey\/([\d\.]+).*devicetype\/smartspeaker/i],[Q,[X,jn+" SmartSpeaker"]],[/linux.*crkey\/([\d\.]+)/i],[Q,[X,jn+" Linux"]],[/crkey\/([\d\.]+)/i],[Q,[X,jn]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[Q,X],[/(ubuntu) ([\w\.]+) like android/i],[[X,/(.+)/,"$1 Touch"],Q],[/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/\.; ]?([\d\.]*)/i],[X,Q],[/\(bb(10);/i],[Q,[X,Hc]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[Q,[X,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[Q,[X,Jr+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[Q,[X,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[Q,[X,"watchOS"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[X,"Chrome OS"],Q],[/panasonic;(viera)/i,/(netrange)mmh/i,/(nettv)\/(\d+\.[\w\.]+)/i,/(nintendo|playstation) (\w+)/i,/(xbox); +xbox ([^\);]+)/i,/(pico) .+os([\w\.]+)/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],[X,Q],[/(sunos) ?([\w\.\d]*)/i],[[X,"Solaris"],Q],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[X,Q]]},so=function(){var n={init:{},isIgnore:{},isIgnoreRgx:{},toString:{}};return Cn.call(n.init,[[Lt,[X,Q,li,j]],[xn,[It]],[fn,[j,H,U]],[on,[X,Q]],[Xt,[X,Q]]]),Cn.call(n.isIgnore,[[Lt,[Q,li]],[on,[Q]],[Xt,[Q]]]),Cn.call(n.isIgnoreRgx,[[Lt,/ ?browser$/i],[Xt,/ ?os$/i]]),Cn.call(n.toString,[[Lt,[X,Q]],[xn,[It]],[fn,[U,H]],[on,[X,Q]],[Xt,[X,Q]]]),n}(),pb=function(n,r){var i=so.init[r],s=so.isIgnore[r]||0,l=so.isIgnoreRgx[r]||0,u=so.toString[r]||0;function f(){Cn.call(this,i)}return f.prototype.getItem=function(){return n},f.prototype.withClientHints=function(){return Bn?Bn.getHighEntropyValues(Fd).then(function(d){return n.setCH(new zd(d,!1)).parseCH().get()}):n.parseCH().get()},f.prototype.withFeatureCheck=function(){return n.detectFeature().get()},r!=$r&&(f.prototype.is=function(d){var g=!1;for(var v in this)if(this.hasOwnProperty(v)&&!ma(s,v)&&_n(l?Ir(l,this[v]):this[v])==_n(l?Ir(l,d):d)){if(g=!0,d!=Wn)break}else if(d==Wn&&g){g=!g;break}return g},f.prototype.toString=function(){var d=Rr;for(var g in u)typeof this[u[g]]!==Wn&&(d+=(d?" ":Rr)+this[u[g]]);return d||Wn}),Bn||(f.prototype.then=function(d){var g=this,v=function(){for(var S in g)g.hasOwnProperty(S)&&(this[S]=g[S])};v.prototype={is:f.prototype.is,toString:f.prototype.toString};var _=new v;return d(_),_}),new f};function zd(n,r){if(n=n||{},Cn.call(this,Fd),r)Cn.call(this,[[Oa,sa(n[Zn])],[Ma,sa(n[ib])],[Se,/\?1/.test(n[lb])],[H,ni(n[ub])],[kr,ni(n[Md])],[Fa,ni(n[cb])],[It,ni(n[ob])],[nr,sa(n[ab])],[$o,ni(n[sb])]]);else for(var i in n)this.hasOwnProperty(i)&&typeof n[i]!==Wn&&(this[i]=n[i])}function ef(n,r,i,s){return this.get=function(l){return l?this.data.hasOwnProperty(l)?this.data[l]:void 0:this.data},this.set=function(l,u){return this.data[l]=u,this},this.setCH=function(l){return this.uaCH=l,this},this.detectFeature=function(){if(Ot&&Ot.userAgent==this.ua)switch(this.itemType){case Lt:Ot.brave&&typeof Ot.brave.isBrave==vo&&this.set(X,"Brave");break;case fn:!this.get(j)&&Bn&&Bn[Se]&&this.set(j,Se),this.get(H)=="Macintosh"&&Ot&&typeof Ot.standalone!==Wn&&Ot.maxTouchPoints&&Ot.maxTouchPoints>2&&this.set(H,"iPad").set(j,He);break;case Xt:!this.get(X)&&Bn&&Bn[kr]&&this.set(X,Bn[kr]);break;case $r:var l=this.data,u=function(f){return l[f].getItem().detectFeature().get()};this.set(Lt,u(Lt)).set(xn,u(xn)).set(fn,u(fn)).set(on,u(on)).set(Xt,u(Xt))}return this},this.parseUA=function(){return this.itemType!=$r&&la.call(this.data,this.ua,this.rgxMap),this.itemType==Lt&&this.set(li,aa(this.get(Q))),this},this.parseCH=function(){var l=this.uaCH,u=this.rgxMap;switch(this.itemType){case Lt:case on:var f=l[Ma]||l[Oa],d;if(f)for(var g in f){var v=f[g].brand||f[g],_=f[g].version;this.itemType==Lt&&!/not.a.brand/i.test(v)&&(!d||/chrom/i.test(d)&&v!=Kc)&&(v=Pn(v,{Chrome:"Google Chrome",Edge:"Microsoft Edge","Chrome WebView":"Android WebView","Chrome Headless":"HeadlessChrome","Huawei Browser":"HuaweiBrowser","MIUI Browser":"Miui Browser","Opera Mobi":"OperaMobile",Yandex:"YaBrowser"}),this.set(X,v).set(Q,_).set(li,aa(_)),d=v),this.itemType==on&&v==Kc&&this.set(Q,_)}break;case xn:var S=l[It];S&&(S&&l[$o]=="64"&&(S+="64"),la.call(this.data,S+";",u));break;case fn:if(l[Se]&&this.set(j,Se),l[H]&&(this.set(H,l[H]),!this.get(j)||!this.get(U))){var E={};la.call(E,"droid 9; "+l[H]+")",u),!this.get(j)&&E.type&&this.set(j,E.type),!this.get(U)&&E.vendor&&this.set(U,E.vendor)}if(l[nr]){var w;if(typeof l[nr]!="string")for(var C=0;!w&&C<l[nr].length;)w=Pn(l[nr][C++],Qc);else w=Pn(l[nr],Qc);this.set(j,w)}break;case Xt:var I=l[kr];if(I){var R=l[Fa];I==ga&&(R=parseInt(aa(R),10)>=13?"11":"10"),this.set(X,I).set(Q,R)}this.get(X)==ga&&l[H]=="Xbox"&&this.set(X,"Xbox").set(Q,void 0);break;case $r:var O=this.data,k=function(T){return O[T].getItem().setCH(l).parseCH().get()};this.set(Lt,k(Lt)).set(xn,k(xn)).set(fn,k(fn)).set(on,k(on)).set(Xt,k(Xt))}return this},Cn.call(this,[["itemType",n],["ua",r],["uaCH",s],["rgxMap",i],["data",pb(this,n)]]),this}function En(n,r,i){if(typeof n===Lr?(yo(n,!0)?(typeof r===Lr&&(i=r),r=n):(i=n,r=void 0),n=void 0):typeof n===pa&&!yo(r,!0)&&(i=r,r=void 0),i&&typeof i.append===vo){var s={};i.forEach(function(g,v){s[v]=g}),i=s}if(!(this instanceof En))return new En(n,r,i).getResult();var l=typeof n===pa?n:i&&i[Pc]?i[Pc]:Ot&&Ot.userAgent?Ot.userAgent:Rr,u=new zd(i,!0),f=r?hb(Jc,r):Jc,d=function(g){return g==$r?function(){return new ef(g,l,f,u).set("ua",l).set(Lt,this.getBrowser()).set(xn,this.getCPU()).set(fn,this.getDevice()).set(on,this.getEngine()).set(Xt,this.getOS()).get()}:function(){return new ef(g,l,f[g],u).parseUA().get()}};return Cn.call(this,[["getBrowser",d(Lt)],["getCPU",d(xn)],["getDevice",d(fn)],["getEngine",d(on)],["getOS",d(Xt)],["getResult",d($r)],["getUA",function(){return l}],["setUA",function(g){return Mr(g)&&(l=g.length>ha?ui(g,ha):g),this}]]).setUA(l),this}En.VERSION=rb;En.BROWSER=ko([X,Q,li,j]);En.CPU=ko([It]);En.DEVICE=ko([H,U,j,oi,Se,st,He,cn,si]);En.ENGINE=En.OS=ko([X,Q]);var jd=(n=>(n.Desktop="Desktop",n.Mobile="Mobile",n.Tablet="Tablet",n.SmartTV="Smart TV",n.Bot="Bot/Crawler",n.Unknown="Unknown",n))(jd||{}),Bd=(n=>(n.Chrome="Chrome",n.Firefox="Firefox",n.Safari="Safari",n.Edge="Edge",n.IE="IE/Edge Legacy",n.Opera="Opera",n.Brave="Brave",n.Other="Other",n))(Bd||{}),Pd=(n=>(n.Windows="Windows",n.macOS="macOS",n.Linux="Linux",n.Android="Android",n.iOS="iOS",n.Other="Other",n))(Pd||{});const va=n=>{const i=new En(n).getResult(),l={deviceType:/bot|crawler|spider|crawling/i.test(n)?"Bot/Crawler":gb(i.device.type),browserName:mb(i.browser.name),osName:vb(i.os.name)},u=l.deviceType==="Mobile"||l.deviceType==="Tablet";return{...i,normalized:l,isMobile:u,isDesktop:!u}},gb=n=>{if(!n)return"Desktop";const r=n.toLowerCase();return r==="mobile"?"Mobile":r==="tablet"?"Tablet":r==="smarttv"?"Smart TV":"Unknown"},mb=n=>{if(!n)return"Other";const r=n.toLowerCase();return r.includes("brave")?"Brave":r.includes("edge")?"Edge":r.includes("opera")?"Opera":r.includes("ie")||r.includes("trident")?"IE/Edge Legacy":r.includes("chrome")?"Chrome":r.includes("firefox")?"Firefox":r.includes("safari")?"Safari":"Other"},vb=n=>{if(!n)return"Other";const r=n.toLowerCase();return r.includes("windows")?"Windows":r.includes("mac os")?"macOS":["ubuntu","debian","fedora","linux"].some(i=>r.includes(i))?"Linux":r.includes("android")?"Android":r.includes("ios")?"iOS":"Other"},yb=n=>{const[r,i]=h.useState(n?va(n):void 0);return h.useEffect(()=>{r||i(va(window.navigator.userAgent))},[r]),r},bb=ue(Y)`
|
|
62
|
+
`,Jc=({art:n,width:r,height:i,style:a,"data-testid":l,alt:u,fallback:f,useSkeleton:h=!0,objectFit:y,objectPosition:v,aspectRatio:$,mixBlendMode:T,imageRendering:b,...x})=>{const m=Ce(),[S,C]=d.useState(!0),[I,L]=d.useState(!1),A=m.__hd__.art.defaultImageSize||m.__hd__.art.defaultSize,O=zt(r,ve=>mt(m,ve??A)),F=zt(i,ve=>mt(m,ve??A)),W=x.r||x.radius||x.borderRadius||"md",Z=uv(n);d.useEffect(()=>{!We.isNil(Z)&&Z!==n&&(C(!0),L(!1))},[n,Z]);const q=()=>{C(!1)},fe=()=>{L(!0),C(!1)};return w.jsx(U,{display:"flex",alignItems:"center",justifyContent:"center",width:O,height:F,overflow:"hidden",style:a,"data-testid":l,...x,children:w.jsxs(ji,{visible:S,width:O,height:F,r:W,children:[I&&w.jsxs(U,{width:O,height:F,r:W,display:"flex",alignItems:"center",justifyContent:"center",bgColor:"grey200",children:[!S&&f,!S&&!f&&!u&&w.jsx(ct,{fontSize:"xs",color:"grey600",children:f||u}),!S&&!f&&!u&&yv()]}),!I&&(!wt()||!h)&&w.jsx(bv,{src:n,alt:We.isString(u)?u:"Image",onLoad:q,onError:fe,"data-testid":l?`${l}-image`:void 0,$objectFit:y,$objectPosition:v,$aspectRatio:$,$mixBlendMode:T,$imageRendering:b}),!I&&wt()&&h&&u]})})},ef=({art:n,width:r,height:i,style:a,"data-testid":l,...u})=>{const f=Ce(),h=f.__hd__.art.defaultSvgSize||f.__hd__.art.defaultSize,y=mt(f,r??h),v=mt(f,i??h);return w.jsx(U,{display:"flex",alignItems:"center",justifyContent:"center",width:y,height:v,overflow:"hidden",style:a,"data-testid":l,dangerouslySetInnerHTML:{__html:n},...u})},Ut=n=>{const{art:r,type:i}=n;return i==="image"||We.isString(r)&&Pc(r)?w.jsx(Jc,{...n}):i==="svg"||We.isString(r)&&Wc(r)?w.jsx(ef,{...n}):i==="emoji"||We.isString(r)&&jc(r)?w.jsx(Nc,{...n}):i==="icon"||We.isString(r)&&Bc(r)?w.jsx(va,{...n}):i==="brand"?w.jsx(Dc,{...n}):w.jsx(w.Fragment,{})},xv=n=>n==="sm"||n==="md"||n==="lg",tf=({src:n,name:r,size:i,...a})=>{var $;const l=Ce(),u=l.__hd__.avatar,f=i||u.defaultSize,h=mt(l,f);let y=u.defaultFallbackTextSize;typeof f=="string"&&xv(f)&&u.sizes[f]&&(y=u.sizes[f].fallbackTextSize);const v=u.fallbackBackgroundColor;return w.jsx(U,{width:h,height:h,r:"full",overflow:"hidden",display:"flex",alignItems:"center",justifyContent:"center",...a,children:n?w.jsx(Ut,{type:"image",art:n,width:"100%",height:"100%",objectFit:"cover"}):w.jsx(U,{width:"100%",height:"100%",bgColor:v,display:"flex",justifyContent:"center",alignItems:"center",children:w.jsx(ct,{color:"white",fontSize:y,fontWeight:"semibold",children:(($=r==null?void 0:r.charAt(0))==null?void 0:$.toUpperCase())||"U"})})})};function wv(n){const[r,i]=d.useState(()=>(wt(),!1));return d.useEffect(()=>{if(wt())return;const a=window.matchMedia(n),l=u=>{i(u.matches)};return a.addEventListener?a.addEventListener("change",l):a.addListener(l),i(a.matches),()=>{a.removeEventListener?a.removeEventListener("change",l):a.removeListener(l)}},[n]),r}const Or=(n="xl")=>{const[r,i]=d.useState(()=>(typeof window>"u"||!window.matchMedia,n));return d.useEffect(()=>{if(wt())return;const l=["xl","lg","md","sm"].map(h=>({key:h,mql:window.matchMedia(`(min-width: ${Rr[h]}px)`)})),u=()=>{for(const{key:h,mql:y}of l)if(y.matches)return h;return"xs"},f=()=>{i(u())};return f(),l.forEach(({mql:h})=>{h.addEventListener?h.addEventListener("change",f):h.addListener(f)}),()=>{l.forEach(({mql:h})=>{h.removeEventListener?h.removeEventListener("change",f):h.removeListener(f)})}},[]),r};function _v(){const{innerWidth:n,innerHeight:r}=window;return{width:n,height:r}}const nf=()=>{const[n,r]=d.useState(()=>wt()?{width:void 0,height:void 0}:{width:void 0,height:void 0});return d.useEffect(()=>{if(wt())return;function i(){r(_v())}return i(),window.addEventListener("resize",i),()=>window.removeEventListener("resize",i)},[]),n},Pn=typeof window<"u"?d.useLayoutEffect:d.useEffect;function ia(n,r,i,a){const l=d.useRef(r);Pn(()=>{l.current=r},[r]),d.useEffect(()=>{const u=(i==null?void 0:i.current)??window;if(!(u&&u.addEventListener))return;const f=h=>{l.current(h)};return u.addEventListener(n,f,a),()=>{u.removeEventListener(n,f,a)}},[n,i,a])}function Bi(n){const[r,i]=d.useState(!1),a=Or(),l=a==="xs"||a==="sm",u=()=>{l||i(!0)},f=()=>{l||i(!1)};return ia("mouseenter",u,n),ia("mouseleave",f,n),l?!1:r}const Cv=()=>typeof window>"u"||!window.navigator?{isMouse:!0,isTouch:!1}:window.matchMedia("(any-pointer: fine)").matches?{isMouse:!0,isTouch:!1}:window.matchMedia("(any-pointer: coarse)").matches?{isMouse:!1,isTouch:!0}:{isMouse:!0,isTouch:!1};function xa(){const[n,r]=d.useState(Cv);return d.useEffect(()=>{const i=a=>{a.pointerType==="touch"?n.isTouch||r({isMouse:!1,isTouch:!0}):a.pointerType==="mouse"&&(n.isMouse||r({isMouse:!0,isTouch:!1}))};return window.addEventListener("pointerdown",i,{passive:!0}),()=>{window.removeEventListener("pointerdown",i)}},[n]),n}var Ar={exports:{}},Sv=Ar.exports,Su;function Ev(){return Su||(Su=1,function(n,r){(function(i,a){var l="1.0.40",u="",f="?",h="function",y="undefined",v="object",$="string",T="major",b="model",x="name",m="type",S="vendor",C="version",I="architecture",L="console",A="mobile",O="tablet",F="smarttv",W="wearable",Z="embedded",q=500,fe="Amazon",ve="Apple",Oe="ASUS",D="BlackBerry",z="Browser",H="Chrome",ie="Edge",Y="Firefox",ee="Google",K="Huawei",de="LG",Ie="Microsoft",Se="Motorola",Ee="Opera",Fe="Samsung",Ue="Sharp",rt="Sony",Me="Xiaomi",Ke="Zebra",ue="Facebook",xe="Chromium OS",$e="Mac OS",ye=" Browser",G=function(te,ce){var le={};for(var De in te)ce[De]&&ce[De].length%2===0?le[De]=ce[De].concat(te[De]):le[De]=te[De];return le},oe=function(te){for(var ce={},le=0;le<te.length;le++)ce[te[le].toUpperCase()]=te[le];return ce},N=function(te,ce){return typeof te===$?Q(ce).indexOf(Q(te))!==-1:!1},Q=function(te){return te.toLowerCase()},se=function(te){return typeof te===$?te.replace(/[^\d\.]/g,u).split(".")[0]:a},be=function(te,ce){if(typeof te===$)return te=te.replace(/^\s\s*/,u),typeof ce===y?te:te.substring(0,q)},ke=function(te,ce){for(var le=0,De,kt,_t,Ne,me,Ct;le<ce.length&&!me;){var An=ce[le],Nn=ce[le+1];for(De=kt=0;De<An.length&&!me&&An[De];)if(me=An[De++].exec(te),me)for(_t=0;_t<Nn.length;_t++)Ct=me[++kt],Ne=Nn[_t],typeof Ne===v&&Ne.length>0?Ne.length===2?typeof Ne[1]==h?this[Ne[0]]=Ne[1].call(this,Ct):this[Ne[0]]=Ne[1]:Ne.length===3?typeof Ne[1]===h&&!(Ne[1].exec&&Ne[1].test)?this[Ne[0]]=Ct?Ne[1].call(this,Ct,Ne[2]):a:this[Ne[0]]=Ct?Ct.replace(Ne[1],Ne[2]):a:Ne.length===4&&(this[Ne[0]]=Ct?Ne[3].call(this,Ct.replace(Ne[1],Ne[2])):a):this[Ne]=Ct||a;le+=2}},Ze=function(te,ce){for(var le in ce)if(typeof ce[le]===v&&ce[le].length>0){for(var De=0;De<ce[le].length;De++)if(N(ce[le][De],te))return le===f?a:le}else if(N(ce[le],te))return le===f?a:le;return ce.hasOwnProperty("*")?ce["*"]:te},Qe={"1.0":"/8","1.2":"/1","1.3":"/3","2.0":"/412","2.0.2":"/416","2.0.3":"/417","2.0.4":"/419","?":"/"},Xe={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"},Je={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[C,[x,"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[C,[x,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[x,C],[/opios[\/ ]+([\w\.]+)/i],[C,[x,Ee+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[C,[x,Ee+" GX"]],[/\bopr\/([\w\.]+)/i],[C,[x,Ee]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[C,[x,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[C,[x,"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],[x,C],[/quark(?:pc)?\/([-\w\.]+)/i],[C,[x,"Quark"]],[/\bddg\/([\w\.]+)/i],[C,[x,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[C,[x,"UC"+z]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[C,[x,"WeChat"]],[/konqueror\/([\w\.]+)/i],[C,[x,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[C,[x,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[C,[x,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[C,[x,"Smart Lenovo "+z]],[/(avast|avg)\/([\w\.]+)/i],[[x,/(.+)/,"$1 Secure "+z],C],[/\bfocus\/([\w\.]+)/i],[C,[x,Y+" Focus"]],[/\bopt\/([\w\.]+)/i],[C,[x,Ee+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[C,[x,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[C,[x,"Dolphin"]],[/coast\/([\w\.]+)/i],[C,[x,Ee+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[C,[x,"MIUI"+ye]],[/fxios\/([\w\.-]+)/i],[C,[x,Y]],[/\bqihoobrowser\/?([\w\.]*)/i],[C,[x,"360"]],[/\b(qq)\/([\w\.]+)/i],[[x,/(.+)/,"$1Browser"],C],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[x,/(.+)/,"$1"+ye],C],[/samsungbrowser\/([\w\.]+)/i],[C,[x,Fe+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[C,[x,"Sogou Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[x,"Sogou Mobile"],C],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[x,C],[/(lbbrowser|rekonq)/i,/\[(linkedin)app\]/i],[x],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[C,x],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[x,ue],C],[/(Klarna)\/([\w\.]+)/i,/(kakao(?:talk|story))[\/ ]([\w\.]+)/i,/(naver)\(.*?(\d+\.[\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],[x,C],[/\bgsa\/([\w\.]+) .*safari\//i],[C,[x,"GSA"]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[C,[x,"TikTok"]],[/headlesschrome(?:\/([\w\.]+)| )/i],[C,[x,H+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[x,H+" WebView"],C],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[C,[x,"Android "+z]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[x,C],[/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i],[C,[x,"Mobile Safari"]],[/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i],[C,x],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[x,[C,Ze,Qe]],[/(webkit|khtml)\/([\w\.]+)/i],[x,C],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[x,"Netscape"],C],[/(wolvic|librewolf)\/([\w\.]+)/i],[x,C],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[C,[x,Y+" 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,/(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i,/(links) \(([\w\.]+)/i],[x,[C,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[x,[C,/master.|lts./,""]]],cpu:[[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i],[[I,"amd64"]],[/(ia32(?=;))/i],[[I,Q]],[/((?:i[346]|x)86)[;\)]/i],[[I,"ia32"]],[/\b(aarch64|arm(v?8e?l?|_?64))\b/i],[[I,"arm64"]],[/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i],[[I,"armhf"]],[/windows (ce|mobile); ppc;/i],[[I,"arm"]],[/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i],[[I,/ower/,u,Q]],[/(sun4\w)[;\)]/i],[[I,"sparc"]],[/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i],[[I,Q]]],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],[b,[S,Fe],[m,O]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[b,[S,Fe],[m,A]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[b,[S,ve],[m,A]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[b,[S,ve],[m,O]],[/(macintosh);/i],[b,[S,ve]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[b,[S,Ue],[m,A]],[/(?:honor)([-\w ]+)[;\)]/i],[b,[S,"Honor"],[m,A]],[/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i],[b,[S,K],[m,O]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[b,[S,K],[m,A]],[/\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],[[b,/_/g," "],[S,Me],[m,A]],[/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i,/\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i],[[b,/_/g," "],[S,Me],[m,O]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[b,[S,"OPPO"],[m,A]],[/\b(opd2\d{3}a?) bui/i],[b,[S,"OPPO"],[m,O]],[/vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[b,[S,"Vivo"],[m,A]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[b,[S,"Realme"],[m,A]],[/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i,/\bmot(?:orola)?[- ](\w*)/i,/((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i],[b,[S,Se],[m,A]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[b,[S,Se],[m,O]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[b,[S,de],[m,O]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i,/\blg-?([\d\w]+) bui/i],[b,[S,de],[m,A]],[/(ideatab[-\w ]+)/i,/lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i],[b,[S,"Lenovo"],[m,O]],[/(?:maemo|nokia).*(n900|lumia \d+)/i,/nokia[-_ ]?([-\w\.]*)/i],[[b,/_/g," "],[S,"Nokia"],[m,A]],[/(pixel c)\b/i],[b,[S,ee],[m,O]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[b,[S,ee],[m,A]],[/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],[b,[S,rt],[m,A]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[b,"Xperia Tablet"],[S,rt],[m,O]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[b,[S,"OnePlus"],[m,A]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[b,[S,fe],[m,O]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[b,/(.+)/g,"Fire Phone $1"],[S,fe],[m,A]],[/(playbook);[-\w\),; ]+(rim)/i],[b,S,[m,O]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[b,[S,D],[m,A]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[b,[S,Oe],[m,O]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[b,[S,Oe],[m,A]],[/(nexus 9)/i],[b,[S,"HTC"],[m,O]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[S,[b,/_/g," "],[m,A]],[/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],[b,[S,"TCL"],[m,O]],[/(itel) ((\w+))/i],[[S,Q],b,[m,Ze,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[b,[S,"Acer"],[m,O]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[b,[S,"Meizu"],[m,A]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[b,[S,"Ulefone"],[m,A]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[b,[S,"Energizer"],[m,A]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[b,[S,"Cat"],[m,A]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[b,[S,"Smartfren"],[m,A]],[/droid.+; (a(?:015|06[35]|142p?))/i],[b,[S,"Nothing"],[m,A]],[/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i,/; (imo) ((?!tab)[\w ]+?)(?: bui|\))/i,/(hp) ([\w ]+\w)/i,/(asus)-?(\w+)/i,/(microsoft); (lumia[\w ]+)/i,/(lenovo)[-_ ]?([-\w]+)/i,/(jolla)/i,/(oppo) ?([\w ]+) bui/i],[S,b,[m,A]],[/(imo) (tab \w+)/i,/(kobo)\s(ereader|touch)/i,/(archos) (gamepad2?)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i,/(nook)[\w ]+build\/(\w+)/i,/(dell) (strea[kpr\d ]*[\dko])/i,/(le[- ]+pan)[- ]+(\w{1,9}) bui/i,/(trinity)[- ]*(t\d{3}) bui/i,/(gigaset)[- ]+(q\w{1,9}) bui/i,/(vodafone) ([\w ]+)(?:\)| bui)/i],[S,b,[m,O]],[/(surface duo)/i],[b,[S,Ie],[m,O]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[b,[S,"Fairphone"],[m,A]],[/(u304aa)/i],[b,[S,"AT&T"],[m,A]],[/\bsie-(\w*)/i],[b,[S,"Siemens"],[m,A]],[/\b(rct\w+) b/i],[b,[S,"RCA"],[m,O]],[/\b(venue[\d ]{2,7}) b/i],[b,[S,"Dell"],[m,O]],[/\b(q(?:mv|ta)\w+) b/i],[b,[S,"Verizon"],[m,O]],[/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i],[b,[S,"Barnes & Noble"],[m,O]],[/\b(tm\d{3}\w+) b/i],[b,[S,"NuVision"],[m,O]],[/\b(k88) b/i],[b,[S,"ZTE"],[m,O]],[/\b(nx\d{3}j) b/i],[b,[S,"ZTE"],[m,A]],[/\b(gen\d{3}) b.+49h/i],[b,[S,"Swiss"],[m,A]],[/\b(zur\d{3}) b/i],[b,[S,"Swiss"],[m,O]],[/\b((zeki)?tb.*\b) b/i],[b,[S,"Zeki"],[m,O]],[/\b([yr]\d{2}) b/i,/\b(dragon[- ]+touch |dt)(\w{5}) b/i],[[S,"Dragon Touch"],b,[m,O]],[/\b(ns-?\w{0,9}) b/i],[b,[S,"Insignia"],[m,O]],[/\b((nxa|next)-?\w{0,9}) b/i],[b,[S,"NextBook"],[m,O]],[/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i],[[S,"Voice"],b,[m,A]],[/\b(lvtel\-)?(v1[12]) b/i],[[S,"LvTel"],b,[m,A]],[/\b(ph-1) /i],[b,[S,"Essential"],[m,A]],[/\b(v(100md|700na|7011|917g).*\b) b/i],[b,[S,"Envizen"],[m,O]],[/\b(trio[-\w\. ]+) b/i],[b,[S,"MachSpeed"],[m,O]],[/\btu_(1491) b/i],[b,[S,"Rotor"],[m,O]],[/(shield[\w ]+) b/i],[b,[S,"Nvidia"],[m,O]],[/(sprint) (\w+)/i],[S,b,[m,A]],[/(kin\.[onetw]{3})/i],[[b,/\./g," "],[S,Ie],[m,A]],[/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[b,[S,Ke],[m,O]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[b,[S,Ke],[m,A]],[/smart-tv.+(samsung)/i],[S,[m,F]],[/hbbtv.+maple;(\d+)/i],[[b,/^/,"SmartTV"],[S,Fe],[m,F]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[S,de],[m,F]],[/(apple) ?tv/i],[S,[b,ve+" TV"],[m,F]],[/crkey/i],[[b,H+"cast"],[S,ee],[m,F]],[/droid.+aft(\w+)( bui|\))/i],[b,[S,fe],[m,F]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[b,[S,Ue],[m,F]],[/(bravia[\w ]+)( bui|\))/i],[b,[S,rt],[m,F]],[/(mitv-\w{5}) bui/i],[b,[S,Me],[m,F]],[/Hbbtv.*(technisat) (.*);/i],[S,b,[m,F]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[S,be],[b,be],[m,F]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[m,F]],[/(ouya)/i,/(nintendo) ([wids3utch]+)/i],[S,b,[m,L]],[/droid.+; (shield) bui/i],[b,[S,"Nvidia"],[m,L]],[/(playstation [345portablevi]+)/i],[b,[S,rt],[m,L]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[b,[S,Ie],[m,L]],[/\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i],[b,[S,Fe],[m,W]],[/((pebble))app/i],[S,b,[m,W]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[b,[S,ve],[m,W]],[/droid.+; (glass) \d/i],[b,[S,ee],[m,W]],[/droid.+; (wt63?0{2,3})\)/i],[b,[S,Ke],[m,W]],[/droid.+; (glass) \d/i],[b,[S,ee],[m,W]],[/(pico) (4|neo3(?: link|pro)?)/i],[S,b,[m,W]],[/; (quest( \d| pro)?)/i],[b,[S,ue],[m,W]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[S,[m,Z]],[/(aeobc)\b/i],[b,[S,fe],[m,Z]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i],[b,[m,A]],[/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i],[b,[m,O]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[m,O]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[m,A]],[/(android[-\w\. ]{0,9});.+buil/i],[b,[S,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[C,[x,ie+"HTML"]],[/(arkweb)\/([\w\.]+)/i],[x,C],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[C,[x,"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],[x,C],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[C,x]],os:[[/microsoft (windows) (vista|xp)/i],[x,C],[/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i],[x,[C,Ze,Xe]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[C,Ze,Xe],[x,"Windows"]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[C,/_/g,"."],[x,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[x,$e],[C,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[C,x],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish|openharmony)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[x,C],[/\(bb(10);/i],[C,[x,D]],[/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i],[C,[x,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[C,[x,Y+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[C,[x,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[C,[x,"watchOS"]],[/crkey\/([\d\.]+)/i],[C,[x,H+"cast"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[x,xe],C],[/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) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i,/(haiku) (\w+)/i],[x,C],[/(sunos) ?([\w\.\d]*)/i],[[x,"Solaris"],C],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[x,C]]},X=function(te,ce){if(typeof te===v&&(ce=te,te=a),!(this instanceof X))return new X(te,ce).getResult();var le=typeof i!==y&&i.navigator?i.navigator:a,De=te||(le&&le.userAgent?le.userAgent:u),kt=le&&le.userAgentData?le.userAgentData:a,_t=ce?G(Je,ce):Je,Ne=le&&le.userAgent==De;return this.getBrowser=function(){var me={};return me[x]=a,me[C]=a,ke.call(me,De,_t.browser),me[T]=se(me[C]),Ne&&le&&le.brave&&typeof le.brave.isBrave==h&&(me[x]="Brave"),me},this.getCPU=function(){var me={};return me[I]=a,ke.call(me,De,_t.cpu),me},this.getDevice=function(){var me={};return me[S]=a,me[b]=a,me[m]=a,ke.call(me,De,_t.device),Ne&&!me[m]&&kt&&kt.mobile&&(me[m]=A),Ne&&me[b]=="Macintosh"&&le&&typeof le.standalone!==y&&le.maxTouchPoints&&le.maxTouchPoints>2&&(me[b]="iPad",me[m]=O),me},this.getEngine=function(){var me={};return me[x]=a,me[C]=a,ke.call(me,De,_t.engine),me},this.getOS=function(){var me={};return me[x]=a,me[C]=a,ke.call(me,De,_t.os),Ne&&!me[x]&&kt&&kt.platform&&kt.platform!="Unknown"&&(me[x]=kt.platform.replace(/chrome os/i,xe).replace(/macos/i,$e)),me},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 De},this.setUA=function(me){return De=typeof me===$&&me.length>q?be(me,q):me,this},this.setUA(De),this};X.VERSION=l,X.BROWSER=oe([x,C,T]),X.CPU=oe([I]),X.DEVICE=oe([b,S,m,L,A,F,O,W,Z]),X.ENGINE=X.OS=oe([x,C]),n.exports&&(r=n.exports=X),r.UAParser=X;var ze=typeof i!==y&&(i.jQuery||i.Zepto);if(ze&&!ze.ua){var Re=new X;ze.ua=Re.getResult(),ze.ua.get=function(){return Re.getUA()},ze.ua.set=function(te){Re.setUA(te);var ce=Re.getResult();for(var le in ce)ze.ua[le]=ce[le]}}})(typeof window=="object"?window:Sv)}(Ar,Ar.exports)),Ar.exports}var Av=Ev(),rf=(n=>(n.Desktop="Desktop",n.Mobile="Mobile",n.Tablet="Tablet",n.SmartTV="Smart TV",n.Bot="Bot/Crawler",n.Unknown="Unknown",n))(rf||{}),of=(n=>(n.Chrome="Chrome",n.Firefox="Firefox",n.Safari="Safari",n.Edge="Edge",n.IE="IE/Edge Legacy",n.Opera="Opera",n.Brave="Brave",n.Other="Other",n))(of||{}),af=(n=>(n.Windows="Windows",n.macOS="macOS",n.Linux="Linux",n.Android="Android",n.iOS="iOS",n.Other="Other",n))(af||{});const oa=n=>{const i=new Av.UAParser(n).getResult(),l={deviceType:/bot|crawler|spider|crawling/i.test(n)?"Bot/Crawler":$v(i.device.type),browserName:Tv(i.browser.name),osName:kv(i.os.name)},u=l.deviceType==="Mobile"||l.deviceType==="Tablet";return{...i,normalized:l,isMobile:u,isDesktop:!u}},$v=n=>{if(!n)return"Desktop";const r=n.toLowerCase();return r==="mobile"?"Mobile":r==="tablet"?"Tablet":r==="smarttv"?"Smart TV":"Unknown"},Tv=n=>{if(!n)return"Other";const r=n.toLowerCase();return r.includes("brave")?"Brave":r.includes("edge")?"Edge":r.includes("opera")?"Opera":r.includes("ie")||r.includes("trident")?"IE/Edge Legacy":r.includes("chrome")?"Chrome":r.includes("firefox")?"Firefox":r.includes("safari")?"Safari":"Other"},kv=n=>{if(!n)return"Other";const r=n.toLowerCase();return r.includes("windows")?"Windows":r.includes("mac os")?"macOS":["ubuntu","debian","fedora","linux"].some(i=>r.includes(i))?"Linux":r.includes("android")?"Android":r.includes("ios")?"iOS":"Other"},Rv=n=>{const[r,i]=d.useState(n?oa(n):void 0);return d.useEffect(()=>{r||i(oa(window.navigator.userAgent))},[r]),r},Lv=re(U)`
|
|
63
63
|
position: absolute;
|
|
64
64
|
top: 0;
|
|
65
65
|
left: 0;
|
|
@@ -68,7 +68,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
68
68
|
display: flex;
|
|
69
69
|
justify-content: center;
|
|
70
70
|
align-items: center;
|
|
71
|
-
`,
|
|
71
|
+
`,Ov=re.div`
|
|
72
72
|
width: ${({size:n})=>n};
|
|
73
73
|
height: ${({size:n})=>n};
|
|
74
74
|
border-radius: 50%;
|
|
@@ -94,7 +94,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
94
94
|
transform: rotate(360deg);
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
|
-
`,
|
|
97
|
+
`,Eu=({size:n,color:r="primary","data-testid":i})=>{const a=Ce(),u=Object.keys(a.__hd__.loading.sizes).includes(n)?a.__hd__.loading.sizes[n]:n,h=Object.keys(a.__hd__.loading.strokeWidths).includes(n)?a.__hd__.loading.strokeWidths[n]:"2px",y=a.colors[r]||r;return w.jsx(Ov,{size:u,color:y,strokeWidth:h,"data-testid":i})},wa=({size:n,loading:r=!0,color:i="primary",children:a,"data-testid":l,...u})=>{const f=Ce(),[h,y]=d.useState(r),[v,$]=d.useState(r?1:0),[T,b]=d.useState(r?0:1);return d.useEffect(()=>{let x;return r?(y(!0),$(1),b(0)):($(0),b(1),x=setTimeout(()=>{y(!1)},f.__hd__.loading.animation.showingDuration)),()=>{x&&clearTimeout(x)}},[r,f.__hd__.loading.animation.showingDuration]),a?w.jsxs(U,{position:"relative",...u,children:[h&&w.jsx(Lv,{style:{opacity:v,transition:`opacity ${f.__hd__.loading.animation.showingDuration}ms`},children:w.jsx(Eu,{size:n,color:i,"data-testid":l})}),w.jsx(U,{style:{opacity:T,transition:`opacity ${f.__hd__.loading.animation.contentShowingDuration}ms`},children:a})]}):h?w.jsx(Eu,{size:n,color:i,"data-testid":l}):null};function Iv({children:n,onClick:r,style:i,useScaleAnimation:a=!0,useOpacityAnimation:l=!0,href:u,target:f,rel:h,"data-testid":y,...v},$){const T=Ce(),[b,x]=d.useState(!1),m=d.useCallback(()=>{x(!0)},[]),S=d.useCallback(()=>{x(!1)},[]),C=d.useCallback(()=>{x(!1)},[]),I=d.useMemo(()=>{const A=[];return a&&A.push("transform 0.2s ease"),l&&A.push("opacity 0.2s ease"),A.join(", ")},[a,l]),L={ref:$,onClick:r,onMouseDown:m,onMouseUp:S,onMouseLeave:C,style:i,"data-testid":y,transition:I,transform:a?`scale(${b?T.__hd__.touchable.animation.minScale:T.__hd__.touchable.animation.maxScale})`:void 0,opacity:l?b?T.__hd__.touchable.animation.minOpacity:T.__hd__.touchable.animation.maxOpacity:void 0,cursor:"pointer",...v};return u?w.jsx(U,{as:"a",href:u,target:f,rel:h,...L,children:n}):w.jsx(U,{...L,children:n})}const Mv=d.forwardRef(Iv),qt=Mv,Pi=(n,r,i,a="solid",l)=>{if(l)return n.colors.grey500;if(i)return n.colors[i];switch(a){case"outlined":case"text":return n.colors[r];case"solid":default:return r==="white"?n.colors.grey900:n.colors.white}},_a=re(U)`
|
|
98
98
|
display: flex;
|
|
99
99
|
flex-direction: row;
|
|
100
100
|
justify-content: center;
|
|
@@ -113,26 +113,26 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
113
113
|
|
|
114
114
|
@media (min-width: 900px) {
|
|
115
115
|
&:hover {
|
|
116
|
-
${({$disabled:n,$variant:r,$color:i,$borderWidth:
|
|
116
|
+
${({$disabled:n,$variant:r,$color:i,$borderWidth:a,theme:l})=>!n&&`
|
|
117
117
|
opacity: 1; // Ensure full opacity on hover
|
|
118
118
|
// Solid: background white, border with main color
|
|
119
|
-
${r==="solid"?`background-color: ${l.colors.white}; border-color: ${l.colors[i]}; border-width: ${l.borderWidths[
|
|
119
|
+
${r==="solid"?`background-color: ${l.colors.white}; border-color: ${l.colors[i]}; border-width: ${l.borderWidths[a]}px;`:""}
|
|
120
120
|
// Outlined: background with main color, border remains same (or becomes transparent/main color based on design)
|
|
121
121
|
${r==="outlined"?`background-color: ${l.colors[i]}; border-color: ${l.colors[i]};`:""}
|
|
122
122
|
// Text variant doesn't change background or border on hover
|
|
123
123
|
`}
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
|
-
`,
|
|
127
|
-
color: ${({theme:n,$themeColor:r,$themeTextColor:i,$variant:
|
|
126
|
+
`,Fv=re(ct)`
|
|
127
|
+
color: ${({theme:n,$themeColor:r,$themeTextColor:i,$variant:a,$disabled:l})=>Pi(n,r,i,a,l)};
|
|
128
128
|
font-size: ${({theme:n,$themeFontSize:r})=>n.__hd__.text.fontSizes[r]}px;
|
|
129
129
|
font-weight: ${({theme:n,$themeFontWeight:r})=>n.__hd__.text.fontWeights[r]};
|
|
130
130
|
// Apply other text properties from theme sizes if needed (e.g., line height)
|
|
131
131
|
transition: color 0.2s ease-in-out, opacity 0.2s ease-in-out;
|
|
132
132
|
|
|
133
133
|
@media (min-width: 900px) {
|
|
134
|
-
${
|
|
135
|
-
${({$variant:n,theme:r,$themeColor:i,$disabled:
|
|
134
|
+
${_a}:hover & {
|
|
135
|
+
${({$variant:n,theme:r,$themeColor:i,$disabled:a})=>!a&&`
|
|
136
136
|
// Solid: text becomes main color
|
|
137
137
|
${n==="solid"?`color: ${r.colors[i]};`:""}
|
|
138
138
|
// Outlined: text becomes white
|
|
@@ -142,20 +142,20 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
142
142
|
`}
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
|
-
`,
|
|
145
|
+
`,Au=re(U)`
|
|
146
146
|
display: flex;
|
|
147
147
|
align-items: center;
|
|
148
148
|
margin-left: ${({theme:n,$themePosition:r,$iconSpacing:i})=>r==="right"?`${n.spaces[i]}px`:0};
|
|
149
|
-
margin-right: ${({theme:n,$themePosition:r,$iconSpacing:i,$hasText:
|
|
150
|
-
|
|
149
|
+
margin-right: ${({theme:n,$themePosition:r,$iconSpacing:i,$hasText:a})=>r==="left"&&a?`${n.spaces[i]}px`:0};
|
|
150
|
+
`,$u=re(Ut)`
|
|
151
151
|
transition: color 0.2s ease-in-out;
|
|
152
|
-
color: ${({theme:n,$themeColor:r,$themeTextColor:i,$variant:
|
|
152
|
+
color: ${({theme:n,$themeColor:r,$themeTextColor:i,$variant:a,$disabled:l})=>Pi(n,r,i,a,l)};
|
|
153
153
|
width: ${({theme:n,$iconSize:r})=>n.sizes[r]}px;
|
|
154
154
|
height: ${({theme:n,$iconSize:r})=>n.sizes[r]}px;
|
|
155
155
|
|
|
156
156
|
@media (min-width: 900px) {
|
|
157
|
-
${
|
|
158
|
-
${({$variant:n,theme:r,$themeColor:i,$disabled:
|
|
157
|
+
${_a}:hover & {
|
|
158
|
+
${({$variant:n,theme:r,$themeColor:i,$disabled:a})=>!a&&`
|
|
159
159
|
// Solid: text becomes main color
|
|
160
160
|
${n==="solid"?`color: ${r.colors[i]};`:""}
|
|
161
161
|
// Outlined: text becomes white
|
|
@@ -165,7 +165,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
165
165
|
`}
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
|
-
`,
|
|
168
|
+
`,aa=({disabled:n=!1,icon:r,color:i,textColor:a,loading:l=!1,onClick:u,rightIcon:f,corner:h="circle",variant:y="solid",size:v="md",style:$,"data-testid":T,text:b,...x})=>{var H;const m=Ce(),S=m.__hd__.button,C=S.defaultColor||"primary",I=i||C,L=((H=S.variants)==null?void 0:H[y])||{},A=S.sizes[v],O=n||l,F=d.useMemo(()=>O&&y==="solid"?"disabled":y==="solid"?I:L.bgColor||"transparent",[I,O,y,L.bgColor]),W=d.useMemo(()=>Pi(m,I,a,y,O),[m,I,a,y,O]),Z=ie=>{n||l||u==null||u(ie)},q=y==="text"?"none":A.paddingHorizontal,fe=y==="text"?"none":A.paddingVertical,ve=A.fontSize,Oe=A.iconSize,D=S.iconSpacing||"xs",z=w.jsxs(U,{display:"flex",alignItems:"center",gap:D,children:[r&&w.jsx(Au,{$themePosition:"left",$iconSpacing:D,$hasText:!!b,children:w.jsx($u,{$themeColor:I,$themeTextColor:a,$variant:y,$disabled:O,$iconSize:Oe,type:"icon",art:r,weight:A.iconWeight,size:Oe})}),b&&w.jsx(Fv,{$themeColor:I,$themeTextColor:a,$themeFontSize:ve,$themeFontWeight:A.fontWeight,$disabled:O,$variant:y,as:"span",children:b}),f&&w.jsx(Au,{$themePosition:"right",$iconSpacing:D,children:w.jsx($u,{$themeColor:I,$themeTextColor:a,$variant:y,$disabled:O,$iconSize:Oe,weight:A.iconWeight,type:"icon",art:f,size:Oe})})]});return w.jsx(qt,{onClick:Z,style:$,"data-testid":T,...x,children:w.jsx(_a,{$backgroundColor:F,$paddingHorizontal:q,$paddingVertical:fe,$borderRadius:A.squircleBorderRadii[h],$borderWidth:A.borderWidth,$disabled:O,$variant:y,$color:I,$size:v,children:w.jsx(wa,{size:"small",color:W,loading:l,display:"flex",alignItems:"center",justifyContent:"center",children:z})})})},zv=re(U)`
|
|
169
169
|
background-color: ${({theme:n,$color:r})=>n.colors[r]};
|
|
170
170
|
${({$orientation:n,$thickness:r})=>n==="horizontal"?`
|
|
171
171
|
height: ${r}px;
|
|
@@ -174,7 +174,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
174
174
|
width: ${r}px;
|
|
175
175
|
height: 100%;
|
|
176
176
|
`}
|
|
177
|
-
`,
|
|
177
|
+
`,sf=({orientation:n="horizontal",color:r,thickness:i,...a})=>{var v,$;const l=Ce(),u=(v=l.__hd__.divider)==null?void 0:v.defaultColor,f=($=l.__hd__.divider)==null?void 0:$.defaultThickness,h=r||u||"grey300",y=i||f||1;return w.jsx(zv,{$orientation:n,$color:h,$thickness:y,...a})},lf=re(qt)`
|
|
178
178
|
display: flex;
|
|
179
179
|
align-items: center;
|
|
180
180
|
justify-content: center;
|
|
@@ -191,13 +191,13 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
191
191
|
box-shadow: ${({$themeHoverBoxShadow:n})=>n};
|
|
192
192
|
background-color: ${({theme:n,$themeHoverBackgroundColor:r})=>n.colors[r]};
|
|
193
193
|
}
|
|
194
|
-
`,
|
|
194
|
+
`,Tu=re.span`
|
|
195
195
|
transition: color 0.2s ease-in-out, opacity 0.2s ease-in-out, rotate 0.2s ease-in-out, font-size 0.2s ease-in-out, font-weight 0.2s ease-in-out;
|
|
196
196
|
color: ${({theme:n,$themeColor:r})=>n.colors[r]};
|
|
197
197
|
font-weight: ${({theme:n,$themeFontWeight:r})=>n.__hd__.text.fontWeights[r]};
|
|
198
198
|
font-size: ${({theme:n,$themeFontSize:r})=>n.__hd__.text.fontSizes[r]}px;
|
|
199
199
|
rotate: ${({$isDropdownItem:n,$isDropdownOpen:r})=>!n&&r?"-180deg":void 0};
|
|
200
|
-
${
|
|
200
|
+
${lf}:hover & {
|
|
201
201
|
color: ${({theme:n,$themeHoverColor:r})=>n.colors[r]};
|
|
202
202
|
rotate: ${({$isDropdownItem:n,$isDropdownOpen:r})=>!n&&r?"-90deg":void 0};
|
|
203
203
|
}
|
|
@@ -205,22 +205,22 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
205
205
|
opacity: 0;
|
|
206
206
|
`}
|
|
207
207
|
white-space: nowrap;
|
|
208
|
-
`,Ba=({label:n,isActive:r,isLoading:i,dropdownItems:s=[],onClick:l,size:u="large",isDropdownOpen:f=!1,isDropdownItem:d=!1,onMouseEnter:g,onToggleDropdown:v,paddingX:_,paddingY:S})=>{const E=xe(),{isTouch:w}=Ia(),C=s.length>0,I=()=>{if(w&&C){f?l==null||l():v==null||v();return}l==null||l()},R=E.__hd__.header,O=R.navItem,k=r?O.active:O.inactive,T=h.useMemo(()=>d?"transparent":f?k.hoverBackgroundColor:k.backgroundColor,[d,f,k.backgroundColor,k.hoverBackgroundColor]);return y.jsxs(Dd,{onClick:I,onMouseEnter:g,$themeBackgroundColor:T,$themeBoxShadow:!d&&f?k.hoverBoxShadow:"none",$themeHoverBackgroundColor:d?"transparent":k.hoverBackgroundColor,$themeHoverBoxShadow:d?"none":k.hoverBoxShadow,$themeHoverColor:O.active.backgroundColor,$themeRadius:O.radius,$themePaddingX:_??O.paddingX,$themePaddingY:S??O.paddingY,$gap:R.loadingGap,children:[y.jsx(Y,{display:"flex",justifyContent:"start",flex:1,children:y.jsx(of,{$themeFontWeight:k.fontWeight,$themeFontSize:O[u].fontSize,$themeColor:k.color,$themeHoverColor:O.hover.color,$isLoading:i??!1,children:n})}),(s.length>0||f)&&y.jsxs(of,{$themeFontWeight:k.fontWeight,$themeFontSize:O[u].fontSize,$themeColor:k.color,$themeHoverColor:O.hover.color,$isLoading:i??!1,$isDropdownOpen:f,$isDropdownItem:d,children:[s.length>0&&y.jsx(Ra,{size:16,weight:"bold"}),d&&y.jsx(hi,{rotate:45,size:16,weight:"bold"})]}),y.jsx(Y,{display:"flex",alignItems:"center",justifyContent:"center",absoluteFill:!0,opacity:i?1:0,transition:"opacity 0.2s ease-in-out",children:y.jsx(za,{size:O[u].loadingSize,color:k.color})})]})};function Eb({userProfile:n,dropdownItems:r,maxHeight:i},s){const l=xe(),u=l.__hd__.header.profileDropdown,[f,d]=h.useState(!1),g=h.useRef(null),v=h.useRef(null),_=Oe.isString(u.minWidth)&&rr(u.minWidth)?l.sizes[u.minWidth]:u.minWidth,S=Oe.isString(i)&&rr(i)?l.sizes[i]:i||u.defaultMaxHeight,E=()=>{g.current&&clearTimeout(g.current),v.current&&clearTimeout(v.current)},w=(I=()=>{})=>{E(),d(!0),g.current=setTimeout(I,u.animationDuration)},C=(I=()=>{})=>{E(),d(!1),v.current=setTimeout(I,u.animationDuration)};return h.useImperativeHandle(s,()=>({showDropdown:w,hideDropdown:C})),y.jsx(Y,{position:"absolute",top:u.offset.top,right:u.offset.right,minWidth:_,zIndex:f?l.zIndex.getZIndex("AIC_Kits_Dropdown"):-1,opacity:f?1:0,transition:`opacity ${u.animationDuration}ms ease-in-out, z-index ${u.animationDuration}ms ease-in-out`,onMouseEnter:()=>w(),onMouseLeave:()=>C(),children:y.jsxs(Y,{overflow:"hidden",mt:u.spacingTop,mr:u.containerPaddingRight,padding:u.padding,backgroundColor:u.backgroundColor,boxShadow:u.boxShadow,maxHeight:f?S:0,transition:`max-height ${u.animationDuration}ms ease-in-out`,style:{borderRadius:u.borderRadius},display:"flex",flexDirection:"column",children:[n!=null&&n.name?y.jsx(Y,{py:u.padding,mx:"md",children:y.jsx(ut,{textAlign:"left",children:n.name})}):y.jsx(Y,{py:u.padding,mx:"md",children:y.jsx(ut,{textAlign:"left",children:n==null?void 0:n.email})}),y.jsx(Y,{p:u.padding,children:y.jsx(Wd,{})}),r==null?void 0:r.map(I=>y.jsx(Ba,{label:I.label,onClick:I.onClick,isActive:I.isActive,size:"medium",isDropdownItem:!0},I.label))]})})}const Ab=h.forwardRef(Eb),Hd=({isSignedIn:n=!1,isDropdownVisible:r,setIsDropdownVisible:i,userProfile:s,dropdownItems:l,profileDropdownMaxHeight:u,onProfileClick:f,onSignInClick:d,onRegisterClick:g})=>{const v=xe(),[_,S]=h.useState(!1),[E,w]=h.useState(!0),C=h.useDeferredValue(_),I=pi(),R=!St()&&I==="xs";h.useEffect(()=>{St()||(S(!R),setTimeout(()=>{w(!1)},300))},[R]);const O=v.__hd__.header.avatarSize||"md",k=h.useRef(null),T=()=>{var W;i(!0),(W=k.current)==null||W.showDropdown()},F=()=>{var W;(W=k.current)==null||W.hideDropdown(()=>{i(!1)})};return h.useEffect(()=>{r?T():F()},[r]),y.jsx(Eo,{display:"flex",visible:E,maxWidth:C?"100%":"0px",maxHeight:C?"100%":"0px",opacity:C?1:0,variant:"transparent",transition:"max-width 0.3s ease-in-out, opacity 0.3s ease-in-out",r:"lg",children:y.jsxs(Y,{display:"flex",flexDirection:"row",alignItems:"center",children:[n?y.jsx(Qt,{onClick:f,children:y.jsxs(Y,{display:"flex",flexDirection:"row",alignItems:"center",p:"sm",r:"full",bgColor:"grey100",onMouseEnter:T,onMouseLeave:F,children:[y.jsx(Id,{src:s==null?void 0:s.avatar,name:s==null?void 0:s.name,size:O}),(s==null?void 0:s.name)&&y.jsx(Y,{ml:"sm",children:y.jsx(ut,{fontWeight:"medium",children:s.name})})]})}):y.jsxs(y.Fragment,{children:[y.jsx(Y,{mr:"md",children:y.jsx(ya,{text:"Sign in",variant:"text",color:"black",onClick:d})}),y.jsx(ya,{text:"Register",color:"primary",corner:"rounded",onClick:g})]}),n&&y.jsx(Ab,{ref:k,userProfile:s,dropdownItems:l,maxHeight:u})]})})},$b="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='500'%20zoomAndPan='magnify'%20viewBox='0%200%20375%20374.999991'%20height='500'%20preserveAspectRatio='xMidYMid%20meet'%20version='1.0'%3e%3cdefs%3e%3cg%3e%3c/g%3e%3c/defs%3e%3cg%20fill='%230a1420'%20fill-opacity='1'%3e%3cg%20transform='translate(66.308093,%20231.512278)'%3e%3cg%3e%3cpath%20d='M%2095.3125%20-19.625%20L%2098.71875%20-19.625%20L%2098.71875%200%20C%2097.832031%200.375%2096.851562%200.71875%2095.78125%201.03125%20C%2094.71875%201.351562%2093.554688%201.515625%2092.296875%201.515625%20C%2087.265625%201.515625%2082.734375%200.351562%2078.703125%20-1.96875%20C%2074.679688%20-4.300781%2071.472656%20-7.421875%2069.078125%20-11.328125%20C%2066.054688%20-7.421875%2062.375%20-4.300781%2058.03125%20-1.96875%20C%2053.695312%200.351562%2048.757812%201.515625%2043.21875%201.515625%20C%2036.300781%201.515625%2030.007812%20-0.242188%2024.34375%20-3.765625%20C%2018.6875%20-7.296875%2014.1875%20-12.015625%2010.84375%20-17.921875%20C%207.507812%20-23.835938%205.84375%20-30.445312%205.84375%20-37.75%20C%205.84375%20-45.050781%207.507812%20-51.65625%2010.84375%20-57.5625%20C%2014.1875%20-63.476562%2018.6875%20-68.195312%2024.34375%20-71.71875%20C%2030.007812%20-75.25%2036.300781%20-77.015625%2043.21875%20-77.015625%20C%2047.625%20-77.015625%2051.617188%20-76.289062%2055.203125%20-74.84375%20C%2058.796875%20-73.394531%2061.972656%20-71.410156%2064.734375%20-68.890625%20L%2064.734375%20-75.5%20L%2088.71875%20-75.5%20L%2088.71875%20-26.984375%20C%2088.71875%20-23.835938%2089.40625%20-21.820312%2090.78125%20-20.9375%20C%2092.164062%20-20.0625%2093.675781%20-19.625%2095.3125%20-19.625%20Z%20M%2047.9375%20-19.8125%20C%2052.84375%20-19.8125%2057.054688%20-21.539062%2060.578125%20-25%20C%2064.109375%20-28.46875%2065.875%20-32.71875%2065.875%20-37.75%20C%2065.875%20-42.78125%2064.109375%20-47.023438%2060.578125%20-50.484375%20C%2057.054688%20-53.953125%2052.84375%20-55.6875%2047.9375%20-55.6875%20C%2042.90625%20-55.6875%2038.660156%20-53.953125%2035.203125%20-50.484375%20C%2031.742188%20-47.023438%2030.015625%20-42.78125%2030.015625%20-37.75%20C%2030.015625%20-32.71875%2031.742188%20-28.46875%2035.203125%20-25%20C%2038.660156%20-21.539062%2042.90625%20-19.8125%2047.9375%20-19.8125%20Z%20M%2047.9375%20-19.8125%20'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cg%20fill='%230a1420'%20fill-opacity='1'%3e%3cg%20transform='translate(167.850545,%20231.512278)'%3e%3cg%3e%3cpath%20d='M%2023.59375%20-88.140625%20C%2020.070312%20-88.140625%2016.988281%20-89.460938%2014.34375%20-92.109375%20C%2011.695312%20-94.753906%2010.375%20-97.835938%2010.375%20-101.359375%20C%2010.375%20-105.003906%2011.695312%20-108.117188%2014.34375%20-110.703125%20C%2016.988281%20-113.285156%2020.070312%20-114.578125%2023.59375%20-114.578125%20C%2027.238281%20-114.578125%2030.351562%20-113.285156%2032.9375%20-110.703125%20C%2035.519531%20-108.117188%2036.8125%20-105.003906%2036.8125%20-101.359375%20C%2036.8125%20-97.835938%2035.519531%20-94.753906%2032.9375%20-92.109375%20C%2030.351562%20-89.460938%2027.238281%20-88.140625%2023.59375%20-88.140625%20Z%20M%2011.515625%200%20L%2011.515625%20-75.5%20L%2035.484375%20-75.5%20L%2035.484375%200%20Z%20M%2011.515625%200%20'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cg%20fill='%230a1420'%20fill-opacity='1'%3e%3cg%20transform='translate(215.035693,%20231.512278)'%3e%3cg%3e%3cpath%20d='M%2047.9375%201.515625%20C%2039.507812%201.515625%2032.148438%20-0.179688%2025.859375%20-3.578125%20C%2019.566406%20-6.984375%2014.65625%20-11.640625%2011.125%20-17.546875%20C%207.601562%20-23.460938%205.84375%20-30.195312%205.84375%20-37.75%20C%205.84375%20-45.300781%207.601562%20-52.03125%2011.125%20-57.9375%20C%2014.65625%20-63.851562%2019.566406%20-68.507812%2025.859375%20-71.90625%20C%2032.148438%20-75.3125%2039.507812%20-77.015625%2047.9375%20-77.015625%20C%2059.269531%20-77.015625%2068.582031%20-74.023438%2075.875%20-68.046875%20C%2083.175781%20-62.066406%2087.644531%20-54.359375%2089.28125%20-44.921875%20L%2064.359375%20-44.921875%20C%2063.097656%20-48.191406%2061.019531%20-50.769531%2058.125%20-52.65625%20C%2055.238281%20-54.550781%2051.84375%20-55.5625%2047.9375%20-55.6875%20C%2042.78125%20-55.5625%2038.503906%20-53.828125%2035.109375%20-50.484375%20C%2031.710938%20-47.148438%2030.015625%20-42.90625%2030.015625%20-37.75%20C%2030.015625%20-32.71875%2031.710938%20-28.5%2035.109375%20-25.09375%20C%2038.503906%20-21.695312%2042.78125%20-19.9375%2047.9375%20-19.8125%20C%2051.84375%20-19.9375%2055.238281%20-20.972656%2058.125%20-22.921875%20C%2061.019531%20-24.878906%2063.097656%20-27.429688%2064.359375%20-30.578125%20L%2089.28125%20-30.578125%20C%2087.644531%20-21.140625%2083.175781%20-13.429688%2075.875%20-7.453125%20C%2068.582031%20-1.472656%2059.269531%201.515625%2047.9375%201.515625%20Z%20M%2047.9375%201.515625%20'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",Zd=({logo:n=$b,onLogoClick:r})=>y.jsx(Y,{children:y.jsx(Qt,{onClick:r,children:y.jsx(Yt,{art:n,type:"svg",width:"lg",height:"lg"})})}),kb=({dropdownMaxHeight:n,dropdownMinWidth:r,isDropdownOpen:i=!1,dropdownItems:s=[]})=>{const l=xe(),u=l.__hd__.header.navDropdown,f=Oe.isString(n)&&rr(n)?l.sizes[n]:n||u.defaultMaxHeight,d=Oe.isString(r)&&rr(r)?l.sizes[r]:r||u.minWidth;return y.jsx(Y,{position:"absolute",top:"100%",left:0,minWidth:d,zIndex:i?l.zIndex.getZIndex("AIC_Kits_Dropdown"):-1,opacity:i?1:0,transition:`z-index ${u.animationDuration}ms ease-in, opacity ${u.animationDuration}ms ease-in`,children:y.jsx(Y,{overflow:"hidden",display:"flex",flexDirection:"column",mt:u.spacingTop,px:u.paddingX,py:u.paddingY,gap:u.gap,backgroundColor:u.backgroundColor,boxShadow:u.boxShadow,maxHeight:i?f:0,transition:`max-height ${u.animationDuration}ms ease-in`,style:{borderRadius:u.borderRadius},children:s.length>0&&s.map((g,v)=>y.jsx(Ba,{isDropdownOpen:!0,isDropdownItem:!0,size:"medium",paddingX:"none",paddingY:"none",...g},`nav-dropdown-item-${v}`))})})},Tb=ue.span`
|
|
208
|
+
`,Ca=({label:n,isActive:r,isLoading:i,dropdownItems:a=[],onClick:l,size:u="large",isDropdownOpen:f=!1,isDropdownItem:h=!1,onMouseEnter:y,onToggleDropdown:v,paddingX:$,paddingY:T})=>{const b=Ce(),{isTouch:x}=xa(),m=a.length>0,S=()=>{if(x&&m){f?l==null||l():v==null||v();return}l==null||l()},C=b.__hd__.header,I=C.navItem,L=r?I.active:I.inactive,A=d.useMemo(()=>h?"transparent":f?L.hoverBackgroundColor:L.backgroundColor,[h,f,L.backgroundColor,L.hoverBackgroundColor]);return w.jsxs(lf,{onClick:S,onMouseEnter:y,$themeBackgroundColor:A,$themeBoxShadow:!h&&f?L.hoverBoxShadow:"none",$themeHoverBackgroundColor:h?"transparent":L.hoverBackgroundColor,$themeHoverBoxShadow:h?"none":L.hoverBoxShadow,$themeHoverColor:I.active.backgroundColor,$themeRadius:I.radius,$themePaddingX:$??I.paddingX,$themePaddingY:T??I.paddingY,$gap:C.loadingGap,children:[w.jsx(U,{display:"flex",justifyContent:"start",flex:1,children:w.jsx(Tu,{$themeFontWeight:L.fontWeight,$themeFontSize:I[u].fontSize,$themeColor:L.color,$themeHoverColor:I.hover.color,$isLoading:i??!1,children:n})}),(a.length>0||f)&&w.jsxs(Tu,{$themeFontWeight:L.fontWeight,$themeFontSize:I[u].fontSize,$themeColor:L.color,$themeHoverColor:I.hover.color,$isLoading:i??!1,$isDropdownOpen:f,$isDropdownItem:h,children:[a.length>0&&w.jsx(ya,{size:16,weight:"bold"}),h&&w.jsx(Lr,{rotate:45,size:16,weight:"bold"})]}),w.jsx(U,{display:"flex",alignItems:"center",justifyContent:"center",absoluteFill:!0,opacity:i?1:0,transition:"opacity 0.2s ease-in-out",children:w.jsx(wa,{size:I[u].loadingSize,color:L.color})})]})};function jv({userProfile:n,dropdownItems:r,maxHeight:i},a){const l=Ce(),u=l.__hd__.header.profileDropdown,[f,h]=d.useState(!1),y=d.useRef(null),v=d.useRef(null),$=We.isString(u.minWidth)&&Bn(u.minWidth)?l.sizes[u.minWidth]:u.minWidth,T=We.isString(i)&&Bn(i)?l.sizes[i]:i||u.defaultMaxHeight,b=()=>{y.current&&clearTimeout(y.current),v.current&&clearTimeout(v.current)},x=(S=()=>{})=>{b(),h(!0),y.current=setTimeout(S,u.animationDuration)},m=(S=()=>{})=>{b(),h(!1),v.current=setTimeout(S,u.animationDuration)};return d.useImperativeHandle(a,()=>({showDropdown:x,hideDropdown:m})),w.jsx(U,{position:"absolute",top:u.offset.top,right:u.offset.right,minWidth:$,zIndex:f?l.zIndex.getZIndex("AIC_Kits_Dropdown"):-1,opacity:f?1:0,transition:`opacity ${u.animationDuration}ms ease-in-out, z-index ${u.animationDuration}ms ease-in-out`,onMouseEnter:()=>x(),onMouseLeave:()=>m(),children:w.jsxs(U,{overflow:"hidden",mt:u.spacingTop,mr:u.containerPaddingRight,padding:u.padding,backgroundColor:u.backgroundColor,boxShadow:u.boxShadow,maxHeight:f?T:0,transition:`max-height ${u.animationDuration}ms ease-in-out`,style:{borderRadius:u.borderRadius},display:"flex",flexDirection:"column",children:[n!=null&&n.name?w.jsx(U,{py:u.padding,mx:"md",children:w.jsx(ct,{textAlign:"left",children:n.name})}):w.jsx(U,{py:u.padding,mx:"md",children:w.jsx(ct,{textAlign:"left",children:n==null?void 0:n.email})}),w.jsx(U,{p:u.padding,children:w.jsx(sf,{})}),r==null?void 0:r.map(S=>w.jsx(Ca,{label:S.label,onClick:S.onClick,isActive:S.isActive,size:"medium",isDropdownItem:!0},S.label))]})})}const Bv=d.forwardRef(jv),uf=({isSignedIn:n=!1,isDropdownVisible:r,setIsDropdownVisible:i,userProfile:a,dropdownItems:l,profileDropdownMaxHeight:u,onProfileClick:f,onSignInClick:h,onRegisterClick:y})=>{const v=Ce(),[$,T]=d.useState(!1),[b,x]=d.useState(!0),m=d.useDeferredValue($),S=Or(),C=!wt()&&S==="xs";d.useEffect(()=>{wt()||(T(!C),setTimeout(()=>{x(!1)},300))},[C]);const I=v.__hd__.header.avatarSize||"md",L=d.useRef(null),A=()=>{var F;i(!0),(F=L.current)==null||F.showDropdown()},O=()=>{var F;(F=L.current)==null||F.hideDropdown(()=>{i(!1)})};return d.useEffect(()=>{r?A():O()},[r]),w.jsx(ji,{display:"flex",visible:b,maxWidth:m?"100%":"0px",maxHeight:m?"100%":"0px",opacity:m?1:0,variant:"transparent",transition:"max-width 0.3s ease-in-out, opacity 0.3s ease-in-out",r:"lg",children:w.jsxs(U,{display:"flex",flexDirection:"row",alignItems:"center",children:[n?w.jsx(qt,{onClick:f,children:w.jsxs(U,{display:"flex",flexDirection:"row",alignItems:"center",p:"sm",r:"full",bgColor:"grey100",onMouseEnter:A,onMouseLeave:O,children:[w.jsx(tf,{src:a==null?void 0:a.avatar,name:a==null?void 0:a.name,size:I}),(a==null?void 0:a.name)&&w.jsx(U,{ml:"sm",children:w.jsx(ct,{fontWeight:"medium",children:a.name})})]})}):w.jsxs(w.Fragment,{children:[w.jsx(U,{mr:"md",children:w.jsx(aa,{text:"Sign in",variant:"text",color:"black",onClick:h})}),w.jsx(aa,{text:"Register",color:"primary",corner:"rounded",onClick:y})]}),n&&w.jsx(Bv,{ref:L,userProfile:a,dropdownItems:l,maxHeight:u})]})})},Pv="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'?%3e%3csvg%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='500'%20zoomAndPan='magnify'%20viewBox='0%200%20375%20374.999991'%20height='500'%20preserveAspectRatio='xMidYMid%20meet'%20version='1.0'%3e%3cdefs%3e%3cg%3e%3c/g%3e%3c/defs%3e%3cg%20fill='%230a1420'%20fill-opacity='1'%3e%3cg%20transform='translate(66.308093,%20231.512278)'%3e%3cg%3e%3cpath%20d='M%2095.3125%20-19.625%20L%2098.71875%20-19.625%20L%2098.71875%200%20C%2097.832031%200.375%2096.851562%200.71875%2095.78125%201.03125%20C%2094.71875%201.351562%2093.554688%201.515625%2092.296875%201.515625%20C%2087.265625%201.515625%2082.734375%200.351562%2078.703125%20-1.96875%20C%2074.679688%20-4.300781%2071.472656%20-7.421875%2069.078125%20-11.328125%20C%2066.054688%20-7.421875%2062.375%20-4.300781%2058.03125%20-1.96875%20C%2053.695312%200.351562%2048.757812%201.515625%2043.21875%201.515625%20C%2036.300781%201.515625%2030.007812%20-0.242188%2024.34375%20-3.765625%20C%2018.6875%20-7.296875%2014.1875%20-12.015625%2010.84375%20-17.921875%20C%207.507812%20-23.835938%205.84375%20-30.445312%205.84375%20-37.75%20C%205.84375%20-45.050781%207.507812%20-51.65625%2010.84375%20-57.5625%20C%2014.1875%20-63.476562%2018.6875%20-68.195312%2024.34375%20-71.71875%20C%2030.007812%20-75.25%2036.300781%20-77.015625%2043.21875%20-77.015625%20C%2047.625%20-77.015625%2051.617188%20-76.289062%2055.203125%20-74.84375%20C%2058.796875%20-73.394531%2061.972656%20-71.410156%2064.734375%20-68.890625%20L%2064.734375%20-75.5%20L%2088.71875%20-75.5%20L%2088.71875%20-26.984375%20C%2088.71875%20-23.835938%2089.40625%20-21.820312%2090.78125%20-20.9375%20C%2092.164062%20-20.0625%2093.675781%20-19.625%2095.3125%20-19.625%20Z%20M%2047.9375%20-19.8125%20C%2052.84375%20-19.8125%2057.054688%20-21.539062%2060.578125%20-25%20C%2064.109375%20-28.46875%2065.875%20-32.71875%2065.875%20-37.75%20C%2065.875%20-42.78125%2064.109375%20-47.023438%2060.578125%20-50.484375%20C%2057.054688%20-53.953125%2052.84375%20-55.6875%2047.9375%20-55.6875%20C%2042.90625%20-55.6875%2038.660156%20-53.953125%2035.203125%20-50.484375%20C%2031.742188%20-47.023438%2030.015625%20-42.78125%2030.015625%20-37.75%20C%2030.015625%20-32.71875%2031.742188%20-28.46875%2035.203125%20-25%20C%2038.660156%20-21.539062%2042.90625%20-19.8125%2047.9375%20-19.8125%20Z%20M%2047.9375%20-19.8125%20'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cg%20fill='%230a1420'%20fill-opacity='1'%3e%3cg%20transform='translate(167.850545,%20231.512278)'%3e%3cg%3e%3cpath%20d='M%2023.59375%20-88.140625%20C%2020.070312%20-88.140625%2016.988281%20-89.460938%2014.34375%20-92.109375%20C%2011.695312%20-94.753906%2010.375%20-97.835938%2010.375%20-101.359375%20C%2010.375%20-105.003906%2011.695312%20-108.117188%2014.34375%20-110.703125%20C%2016.988281%20-113.285156%2020.070312%20-114.578125%2023.59375%20-114.578125%20C%2027.238281%20-114.578125%2030.351562%20-113.285156%2032.9375%20-110.703125%20C%2035.519531%20-108.117188%2036.8125%20-105.003906%2036.8125%20-101.359375%20C%2036.8125%20-97.835938%2035.519531%20-94.753906%2032.9375%20-92.109375%20C%2030.351562%20-89.460938%2027.238281%20-88.140625%2023.59375%20-88.140625%20Z%20M%2011.515625%200%20L%2011.515625%20-75.5%20L%2035.484375%20-75.5%20L%2035.484375%200%20Z%20M%2011.515625%200%20'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3cg%20fill='%230a1420'%20fill-opacity='1'%3e%3cg%20transform='translate(215.035693,%20231.512278)'%3e%3cg%3e%3cpath%20d='M%2047.9375%201.515625%20C%2039.507812%201.515625%2032.148438%20-0.179688%2025.859375%20-3.578125%20C%2019.566406%20-6.984375%2014.65625%20-11.640625%2011.125%20-17.546875%20C%207.601562%20-23.460938%205.84375%20-30.195312%205.84375%20-37.75%20C%205.84375%20-45.300781%207.601562%20-52.03125%2011.125%20-57.9375%20C%2014.65625%20-63.851562%2019.566406%20-68.507812%2025.859375%20-71.90625%20C%2032.148438%20-75.3125%2039.507812%20-77.015625%2047.9375%20-77.015625%20C%2059.269531%20-77.015625%2068.582031%20-74.023438%2075.875%20-68.046875%20C%2083.175781%20-62.066406%2087.644531%20-54.359375%2089.28125%20-44.921875%20L%2064.359375%20-44.921875%20C%2063.097656%20-48.191406%2061.019531%20-50.769531%2058.125%20-52.65625%20C%2055.238281%20-54.550781%2051.84375%20-55.5625%2047.9375%20-55.6875%20C%2042.78125%20-55.5625%2038.503906%20-53.828125%2035.109375%20-50.484375%20C%2031.710938%20-47.148438%2030.015625%20-42.90625%2030.015625%20-37.75%20C%2030.015625%20-32.71875%2031.710938%20-28.5%2035.109375%20-25.09375%20C%2038.503906%20-21.695312%2042.78125%20-19.9375%2047.9375%20-19.8125%20C%2051.84375%20-19.9375%2055.238281%20-20.972656%2058.125%20-22.921875%20C%2061.019531%20-24.878906%2063.097656%20-27.429688%2064.359375%20-30.578125%20L%2089.28125%20-30.578125%20C%2087.644531%20-21.140625%2083.175781%20-13.429688%2075.875%20-7.453125%20C%2068.582031%20-1.472656%2059.269531%201.515625%2047.9375%201.515625%20Z%20M%2047.9375%201.515625%20'%3e%3c/path%3e%3c/g%3e%3c/g%3e%3c/g%3e%3c/svg%3e",cf=({logo:n=Pv,onLogoClick:r})=>w.jsx(U,{children:w.jsx(qt,{onClick:r,children:w.jsx(Ut,{art:n,type:"svg",width:"lg",height:"lg"})})}),Wv=({dropdownMaxHeight:n,dropdownMinWidth:r,isDropdownOpen:i=!1,dropdownItems:a=[]})=>{const l=Ce(),u=l.__hd__.header.navDropdown,f=We.isString(n)&&Bn(n)?l.sizes[n]:n||u.defaultMaxHeight,h=We.isString(r)&&Bn(r)?l.sizes[r]:r||u.minWidth;return w.jsx(U,{position:"absolute",top:"100%",left:0,minWidth:h,zIndex:i?l.zIndex.getZIndex("AIC_Kits_Dropdown"):-1,opacity:i?1:0,transition:`z-index ${u.animationDuration}ms ease-in, opacity ${u.animationDuration}ms ease-in`,children:w.jsx(U,{overflow:"hidden",display:"flex",flexDirection:"column",mt:u.spacingTop,px:u.paddingX,py:u.paddingY,gap:u.gap,backgroundColor:u.backgroundColor,boxShadow:u.boxShadow,maxHeight:i?f:0,transition:`max-height ${u.animationDuration}ms ease-in`,style:{borderRadius:u.borderRadius},children:a.length>0&&a.map((y,v)=>w.jsx(Ca,{isDropdownOpen:!0,isDropdownItem:!0,size:"medium",paddingX:"none",paddingY:"none",...y},`nav-dropdown-item-${v}`))})})},Dv=re.span`
|
|
209
209
|
position: relative;
|
|
210
|
-
`,
|
|
210
|
+
`,Nv=({item:n,index:r,openItemIndex:i,handleNavItemMouseEnter:a,handleNavItemMouseLeave:l,handleNavItemToggleDropdown:u})=>{var $,T;const[f,h]=d.useState(0),y=d.useRef(null),{isMouse:v}=xa();return d.useLayoutEffect(()=>{y.current&&h(y.current.offsetWidth)},[n]),w.jsxs(Dv,{onMouseLeave:v?l:void 0,onMouseEnter:v?()=>a(n,r):void 0,children:[w.jsx(U,{ref:y,display:"inline-block",children:w.jsx(Ca,{...n,isActive:i!==r&&(n.isActive||(($=n.dropdownItems)==null?void 0:$.some(b=>b.isActive)))||n.isActive,isLoading:i!==r&&(n.isLoading||((T=n.dropdownItems)==null?void 0:T.some(b=>b.isLoading)))||n.isLoading,isDropdownOpen:i===r,onToggleDropdown:()=>u(r)})}),n.dropdownItems&&n.dropdownItems.length>0&&w.jsx(Wv,{dropdownItems:n.dropdownItems,isDropdownOpen:i===r,dropdownMinWidth:f})]})},ff=({navItems:n=[]})=>{const i=Ce().__hd__.header,a=d.useRef(null),[l,u]=d.useState(!1),[f,h]=d.useState(!0),y=Or(),v=!wt()&&y==="xs",[$,T]=d.useState(null);d.useEffect(()=>{wt()||(u(!v),setTimeout(()=>{h(!1)},300))},[v]),d.useEffect(()=>{const C=I=>{a.current&&!a.current.contains(I.target)&&T(null)};return $!==null&&document.addEventListener("mousedown",C),()=>{document.removeEventListener("mousedown",C)}},[$]);const b=d.useDeferredValue(l),x=(C,I)=>{C.dropdownItems&&C.dropdownItems.length>0&&T(I)},m=()=>{T(null)},S=C=>{T(I=>I===C?null:C)};return w.jsx(ji,{display:"flex",visible:f,maxWidth:b?"100%":"0px",maxHeight:b?"100%":"0px",opacity:b?1:0,variant:"transparent",transition:"max-width 0.3s ease-in-out, opacity 0.3s ease-in-out",r:"lg",py:"sm",children:w.jsx(U,{ref:a,display:"flex",flexDirection:"row",justifyContent:"center",flex:1,mx:"xl",gap:i.navItem.gap,p:i.padding,r:i.radius,bgColor:i.backgroundColor,children:n.map((C,I)=>w.jsx(Nv,{item:C,index:I,openItemIndex:$,handleNavItemMouseEnter:x,handleNavItemMouseLeave:m,handleNavItemToggleDropdown:S},`nav-item-wrapper-${I}`))})})};function Zv({backgroundColor:n="white",logo:r,navItems:i=[],isSignedIn:a=!1,userProfile:l,profileDropdownItems:u,profileDropdownMaxHeight:f,onLogoClick:h,onNavItemClick:y,onSignInClick:v,onRegisterClick:$,onProfileClick:T,...b},x){const[m,S]=d.useState(!1);return d.useImperativeHandle(x,()=>({showDropdown:()=>S(!0),hideDropdown:()=>S(!1)})),w.jsxs(U,{display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",width:"100%",p:"md",bgColor:n,...b,children:[w.jsx(cf,{logo:r,onLogoClick:h}),w.jsx(ff,{navItems:i,onNavItemClick:y}),w.jsx(uf,{isSignedIn:a,isDropdownVisible:m,setIsDropdownVisible:S,userProfile:l,dropdownItems:u,profileDropdownMaxHeight:f,onSignInClick:v,onRegisterClick:$,onProfileClick:T})]})}const df=d.forwardRef(Zv),Hv=(n,r,i)=>{let a={};return n?r==="padded"?(a.maxWidth=void 0,a.px=i.desktopPaddingX):(a.maxWidth=i.desktopContentMaxWidth,a.px=i.mobilePaddingX):(a.maxWidth=void 0,a.px=i.mobilePaddingX),a},Vv=(n,r)=>{const i={};return n&&r==="maxWidth"&&(i.marginLeft="auto",i.marginRight="auto"),i},Uv=({children:n,backgroundColor:r="white",header:i,contentLayoutMode:a="maxWidth",style:l,...u})=>{const h=Ce().__hd__.base,y=Or(),v=wt()||y==="md"||y==="lg"||y==="xl",$=Hv(v,a,h),T=Vv(v,a);return w.jsxs(U,{display:"flex",flexDirection:"column",width:"100%",height:"100%",position:"relative",bgColor:r,style:l,...u,children:[i&&w.jsx(df,{...i}),w.jsx(U,{flex:1,overflow:"visible",position:"relative",width:"100%",...$,style:T,children:n})]})},qv=re.div`
|
|
211
211
|
display: flex;
|
|
212
212
|
flex-direction: row;
|
|
213
213
|
align-items: center;
|
|
214
|
-
${({theme:n,$isFocused:r,$isDisabled:i,$error:
|
|
215
|
-
padding: ${
|
|
216
|
-
border-radius: ${
|
|
217
|
-
border: ${
|
|
214
|
+
${({theme:n,$isFocused:r,$isDisabled:i,$error:a,$borderColor:l,$bgColor:u})=>{const f=n.__hd__.input;let h="default";a?h="error":i?h="disabled":r&&(h="focused");const y=f.states[h],v=h==="focused"&&l?`0 0 0 2px ${n.colors[l]} inset`:y.boxShadow,$=n.spaces[f.padding.vertical],T=n.spaces[f.padding.horizontal],b=n.radii[f.borderRadius],x=n.borderWidths[f.borderWidth],m=h!=="disabled"&&u?n.colors[u]:y.backgroundColor;return`
|
|
215
|
+
padding: ${$}px ${T}px;
|
|
216
|
+
border-radius: ${b}px;
|
|
217
|
+
border: ${x}px solid ${n.colors[y.borderColor]};
|
|
218
218
|
box-shadow: ${v};
|
|
219
|
-
background-color: ${
|
|
219
|
+
background-color: ${m};
|
|
220
220
|
opacity: ${i?.7:1};
|
|
221
221
|
transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
222
222
|
`}}
|
|
223
|
-
`,
|
|
223
|
+
`,ku=re.input`
|
|
224
224
|
flex: 1;
|
|
225
225
|
border: none;
|
|
226
226
|
background: transparent;
|
|
@@ -241,34 +241,34 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
241
241
|
&::-ms-reveal {
|
|
242
242
|
display: none;
|
|
243
243
|
}
|
|
244
|
-
`,zb=(n,r)=>{const{value:i="",onChange:s,placeholder:l="",disabled:u=!1,error:f,label:d,helperText:g,leftIcon:v,rightIcon:_,borderColor:S,bgColor:E,multiline:w,...C}=n,I=xe(),R=I.__hd__.input,[O,k]=h.useState(!1),T=h.useRef(null),[F,W]=h.useState(i),[q,V]=h.useState(!1),[J,me]=h.useState(null),_e=!w&&C.type==="password";h.useEffect(()=>{W(i)},[i]),h.useEffect(()=>{if(_e&&T.current&&J!==null){const ee=T.current,pe=J;requestAnimationFrame(()=>{ee&&(ee.focus(),ee.setSelectionRange(pe,pe))}),me(null)}},[q,_e,J]),h.useImperativeHandle(r,()=>({focus:()=>{var ee;return(ee=T.current)==null?void 0:ee.focus()},blur:()=>{var ee;return(ee=T.current)==null?void 0:ee.blur()},get value(){return F}}));const Ae=ee=>{k(!0),n.onFocus&&n.onFocus(ee)},D=ee=>{k(!1),n.onBlur&&n.onBlur(ee)},z=ee=>{const pe=ee.target.value;W(pe),s==null||s(pe)},G=bt(I,R.iconSize),ce=u?R.disabledTextColor:R.iconColor,re=()=>{_e&&T.current&&(me(T.current.selectionStart),V(!q))},ne={ref:T,value:F,onChange:z,onFocus:Ae,onBlur:D,placeholder:l,disabled:u};return y.jsxs(Y,{fw:!0,children:[d&&y.jsx(Y,{mb:"xs",children:y.jsx(ut,{fontWeight:"medium",children:d})}),y.jsxs(Fb,{$isFocused:O,$isDisabled:u,$error:!!f,$borderColor:S,$bgColor:E,children:[v&&y.jsx(Y,{mr:R.iconSpacing,children:y.jsx(Yt,{type:"icon",art:v,size:G,color:ce})}),w?y.jsx(sf,{as:"textarea",...ne,...C}):y.jsx(sf,{...ne,...C,type:q?"text":C.type}),_e&&O?y.jsx(Y,{ml:R.iconSpacing,onClick:re,onMouseDown:ee=>ee.preventDefault(),cursor:"pointer","data-testid":"password-toggle-icon",children:y.jsx(Yt,{type:"icon",art:q?Ad:$d,size:G,color:ce})}):!_e&&_&&y.jsx(Y,{ml:R.iconSpacing,children:y.jsx(Yt,{type:"icon",art:_,size:G,color:ce})})]}),(f||g)&&y.jsx(Y,{mt:"xs",children:y.jsx(ut,{fontSize:"xs",color:f?"danger":"grey600",children:f||g})})]})},jb=h.forwardRef(zb),Bb=["p","padding","pt","pb","pl","pr","px","py","gap","display","flexDirection","alignItems","justifyContent","flexWrap","flexGrow","flexShrink","flexBasis","flex"];function Pb(n){const r={},i={},s={};for(const l in n)if(Object.prototype.hasOwnProperty.call(n,l)){const u=n[l];Bb.includes(l)?r[l]=u:l!=="data"&&l!=="renderItem"&&l!=="keyExtractor"&&l!=="ListEmptyComponent"&&l!=="ListHeaderComponent"&&l!=="ListFooterComponent"&&l!=="ItemSeparatorComponent"&&l!=="itemGap"?i[l]=u:s[l]=u}return{listProps:s,contentProps:r,containerProps:i}}function Wb(n,r){var T,F;const{listProps:i,contentProps:s,containerProps:l}=Pb(n),{data:u=[],renderItem:f,keyExtractor:d,ListEmptyComponent:g,ListHeaderComponent:v,ListFooterComponent:_,ItemSeparatorComponent:S,itemGap:E}=i,w=xe(),C=((T=w.__hd__.list)==null?void 0:T.defaultGap)||"xs",I=E||C,R=((F=w.__hd__.list)==null?void 0:F.defaultPadding)||"0px",O=s.p??s.padding??R,k=()=>u.length===0&&g?g:u.map((W,q)=>{const V=d?d(W,q):String(q),J=f?f(W,q):null;return J?y.jsxs(h.Fragment,{children:[J,S&&q<u.length-1?S:null]},V):null});return y.jsx(Y,{ref:r,overflow:"auto",width:"100%",...l,children:y.jsxs(Y,{display:"flex",flexDirection:"column",gap:I,p:O,...s,children:[v,k(),_]})})}const Db=h.forwardRef(Wb);/*! @vimeo/player v2.27.1 | (c) 2025 Vimeo | MIT License | https://github.com/vimeo/player.js */function af(n,r){var i=Object.keys(n);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(n);r&&(s=s.filter(function(l){return Object.getOwnPropertyDescriptor(n,l).enumerable})),i.push.apply(i,s)}return i}function lf(n){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{};r%2?af(Object(i),!0).forEach(function(s){ho(n,s,i[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):af(Object(i)).forEach(function(s){Object.defineProperty(n,s,Object.getOwnPropertyDescriptor(i,s))})}return n}function Ct(){Ct=function(){return n};var n={},r=Object.prototype,i=r.hasOwnProperty,s=Object.defineProperty||function(D,z,G){D[z]=G.value},l=typeof Symbol=="function"?Symbol:{},u=l.iterator||"@@iterator",f=l.asyncIterator||"@@asyncIterator",d=l.toStringTag||"@@toStringTag";function g(D,z,G){return Object.defineProperty(D,z,{value:G,enumerable:!0,configurable:!0,writable:!0}),D[z]}try{g({},"")}catch{g=function(z,G,ce){return z[G]=ce}}function v(D,z,G,ce){var re=z&&z.prototype instanceof E?z:E,ne=Object.create(re.prototype),ee=new me(ce||[]);return s(ne,"_invoke",{value:W(D,G,ee)}),ne}function _(D,z,G){try{return{type:"normal",arg:D.call(z,G)}}catch(ce){return{type:"throw",arg:ce}}}n.wrap=v;var S={};function E(){}function w(){}function C(){}var I={};g(I,u,function(){return this});var R=Object.getPrototypeOf,O=R&&R(R(_e([])));O&&O!==r&&i.call(O,u)&&(I=O);var k=C.prototype=E.prototype=Object.create(I);function T(D){["next","throw","return"].forEach(function(z){g(D,z,function(G){return this._invoke(z,G)})})}function F(D,z){function G(re,ne,ee,pe){var Me=_(D[re],D,ne);if(Me.type!=="throw"){var Ce=Me.arg,Ve=Ce.value;return Ve&&typeof Ve=="object"&&i.call(Ve,"__await")?z.resolve(Ve.__await).then(function(je){G("next",je,ee,pe)},function(je){G("throw",je,ee,pe)}):z.resolve(Ve).then(function(je){Ce.value=je,ee(Ce)},function(je){return G("throw",je,ee,pe)})}pe(Me.arg)}var ce;s(this,"_invoke",{value:function(re,ne){function ee(){return new z(function(pe,Me){G(re,ne,pe,Me)})}return ce=ce?ce.then(ee,ee):ee()}})}function W(D,z,G){var ce="suspendedStart";return function(re,ne){if(ce==="executing")throw new Error("Generator is already running");if(ce==="completed"){if(re==="throw")throw ne;return Ae()}for(G.method=re,G.arg=ne;;){var ee=G.delegate;if(ee){var pe=q(ee,G);if(pe){if(pe===S)continue;return pe}}if(G.method==="next")G.sent=G._sent=G.arg;else if(G.method==="throw"){if(ce==="suspendedStart")throw ce="completed",G.arg;G.dispatchException(G.arg)}else G.method==="return"&&G.abrupt("return",G.arg);ce="executing";var Me=_(D,z,G);if(Me.type==="normal"){if(ce=G.done?"completed":"suspendedYield",Me.arg===S)continue;return{value:Me.arg,done:G.done}}Me.type==="throw"&&(ce="completed",G.method="throw",G.arg=Me.arg)}}}function q(D,z){var G=z.method,ce=D.iterator[G];if(ce===void 0)return z.delegate=null,G==="throw"&&D.iterator.return&&(z.method="return",z.arg=void 0,q(D,z),z.method==="throw")||G!=="return"&&(z.method="throw",z.arg=new TypeError("The iterator does not provide a '"+G+"' method")),S;var re=_(ce,D.iterator,z.arg);if(re.type==="throw")return z.method="throw",z.arg=re.arg,z.delegate=null,S;var ne=re.arg;return ne?ne.done?(z[D.resultName]=ne.value,z.next=D.nextLoc,z.method!=="return"&&(z.method="next",z.arg=void 0),z.delegate=null,S):ne:(z.method="throw",z.arg=new TypeError("iterator result is not an object"),z.delegate=null,S)}function V(D){var z={tryLoc:D[0]};1 in D&&(z.catchLoc=D[1]),2 in D&&(z.finallyLoc=D[2],z.afterLoc=D[3]),this.tryEntries.push(z)}function J(D){var z=D.completion||{};z.type="normal",delete z.arg,D.completion=z}function me(D){this.tryEntries=[{tryLoc:"root"}],D.forEach(V,this),this.reset(!0)}function _e(D){if(D){var z=D[u];if(z)return z.call(D);if(typeof D.next=="function")return D;if(!isNaN(D.length)){var G=-1,ce=function re(){for(;++G<D.length;)if(i.call(D,G))return re.value=D[G],re.done=!1,re;return re.value=void 0,re.done=!0,re};return ce.next=ce}}return{next:Ae}}function Ae(){return{value:void 0,done:!0}}return w.prototype=C,s(k,"constructor",{value:C,configurable:!0}),s(C,"constructor",{value:w,configurable:!0}),w.displayName=g(C,d,"GeneratorFunction"),n.isGeneratorFunction=function(D){var z=typeof D=="function"&&D.constructor;return!!z&&(z===w||(z.displayName||z.name)==="GeneratorFunction")},n.mark=function(D){return Object.setPrototypeOf?Object.setPrototypeOf(D,C):(D.__proto__=C,g(D,d,"GeneratorFunction")),D.prototype=Object.create(k),D},n.awrap=function(D){return{__await:D}},T(F.prototype),g(F.prototype,f,function(){return this}),n.AsyncIterator=F,n.async=function(D,z,G,ce,re){re===void 0&&(re=Promise);var ne=new F(v(D,z,G,ce),re);return n.isGeneratorFunction(z)?ne:ne.next().then(function(ee){return ee.done?ee.value:ne.next()})},T(k),g(k,d,"Generator"),g(k,u,function(){return this}),g(k,"toString",function(){return"[object Generator]"}),n.keys=function(D){var z=Object(D),G=[];for(var ce in z)G.push(ce);return G.reverse(),function re(){for(;G.length;){var ne=G.pop();if(ne in z)return re.value=ne,re.done=!1,re}return re.done=!0,re}},n.values=_e,me.prototype={constructor:me,reset:function(D){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(J),!D)for(var z in this)z.charAt(0)==="t"&&i.call(this,z)&&!isNaN(+z.slice(1))&&(this[z]=void 0)},stop:function(){this.done=!0;var D=this.tryEntries[0].completion;if(D.type==="throw")throw D.arg;return this.rval},dispatchException:function(D){if(this.done)throw D;var z=this;function G(Me,Ce){return ne.type="throw",ne.arg=D,z.next=Me,Ce&&(z.method="next",z.arg=void 0),!!Ce}for(var ce=this.tryEntries.length-1;ce>=0;--ce){var re=this.tryEntries[ce],ne=re.completion;if(re.tryLoc==="root")return G("end");if(re.tryLoc<=this.prev){var ee=i.call(re,"catchLoc"),pe=i.call(re,"finallyLoc");if(ee&&pe){if(this.prev<re.catchLoc)return G(re.catchLoc,!0);if(this.prev<re.finallyLoc)return G(re.finallyLoc)}else if(ee){if(this.prev<re.catchLoc)return G(re.catchLoc,!0)}else{if(!pe)throw new Error("try statement without catch or finally");if(this.prev<re.finallyLoc)return G(re.finallyLoc)}}}},abrupt:function(D,z){for(var G=this.tryEntries.length-1;G>=0;--G){var ce=this.tryEntries[G];if(ce.tryLoc<=this.prev&&i.call(ce,"finallyLoc")&&this.prev<ce.finallyLoc){var re=ce;break}}re&&(D==="break"||D==="continue")&&re.tryLoc<=z&&z<=re.finallyLoc&&(re=null);var ne=re?re.completion:{};return ne.type=D,ne.arg=z,re?(this.method="next",this.next=re.finallyLoc,S):this.complete(ne)},complete:function(D,z){if(D.type==="throw")throw D.arg;return D.type==="break"||D.type==="continue"?this.next=D.arg:D.type==="return"?(this.rval=this.arg=D.arg,this.method="return",this.next="end"):D.type==="normal"&&z&&(this.next=z),S},finish:function(D){for(var z=this.tryEntries.length-1;z>=0;--z){var G=this.tryEntries[z];if(G.finallyLoc===D)return this.complete(G.completion,G.afterLoc),J(G),S}},catch:function(D){for(var z=this.tryEntries.length-1;z>=0;--z){var G=this.tryEntries[z];if(G.tryLoc===D){var ce=G.completion;if(ce.type==="throw"){var re=ce.arg;J(G)}return re}}throw new Error("illegal catch attempt")},delegateYield:function(D,z,G){return this.delegate={iterator:_e(D),resultName:z,nextLoc:G},this.method==="next"&&(this.arg=void 0),S}},n}function uf(n,r,i,s,l,u,f){try{var d=n[u](f),g=d.value}catch(v){i(v);return}d.done?r(g):Promise.resolve(g).then(s,l)}function tr(n){return function(){var r=this,i=arguments;return new Promise(function(s,l){var u=n.apply(r,i);function f(g){uf(u,s,l,f,d,"next",g)}function d(g){uf(u,s,l,f,d,"throw",g)}f(void 0)})}}function Ud(n,r){if(!(n instanceof r))throw new TypeError("Cannot call a class as a function")}function Hb(n,r){for(var i=0;i<r.length;i++){var s=r[i];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(n,Kd(s.key),s)}}function qd(n,r,i){return r&&Hb(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n}function ho(n,r,i){return r=Kd(r),r in n?Object.defineProperty(n,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[r]=i,n}function Zb(n,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(r&&r.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),r&&fi(n,r)}function ci(n){return ci=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},ci(n)}function fi(n,r){return fi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(s,l){return s.__proto__=l,s},fi(n,r)}function Gd(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function po(n,r,i){return Gd()?po=Reflect.construct.bind():po=function(l,u,f){var d=[null];d.push.apply(d,u);var g=Function.bind.apply(l,d),v=new g;return f&&fi(v,f.prototype),v},po.apply(null,arguments)}function Nb(n){return Function.toString.call(n).indexOf("[native code]")!==-1}function ba(n){var r=typeof Map=="function"?new Map:void 0;return ba=function(s){if(s===null||!Nb(s))return s;if(typeof s!="function")throw new TypeError("Super expression must either be null or a function");if(typeof r<"u"){if(r.has(s))return r.get(s);r.set(s,l)}function l(){return po(s,arguments,ci(this).constructor)}return l.prototype=Object.create(s.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),fi(l,s)},ba(n)}function go(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function Vb(n,r){if(r&&(typeof r=="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return go(n)}function Ub(n){var r=Gd();return function(){var s=ci(n),l;if(r){var u=ci(this).constructor;l=Reflect.construct(s,arguments,u)}else l=s.apply(this,arguments);return Vb(this,l)}}function qb(n,r){if(typeof n!="object"||n===null)return n;var i=n[Symbol.toPrimitive];if(i!==void 0){var s=i.call(n,r);if(typeof s!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}function Kd(n){var r=qb(n,"string");return typeof r=="symbol"?r:String(r)}var Xd=typeof global<"u"&&{}.toString.call(global)==="[object global]";function cf(n,r){return n.indexOf(r.toLowerCase())===0?n:"".concat(r.toLowerCase()).concat(n.substr(0,1).toUpperCase()).concat(n.substr(1))}function Gb(n){return!!(n&&n.nodeType===1&&"nodeName"in n&&n.ownerDocument&&n.ownerDocument.defaultView)}function Kb(n){return!isNaN(parseFloat(n))&&isFinite(n)&&Math.floor(n)==n}function or(n){return/^(https?:)?\/\/((((player|www)\.)?vimeo\.com)|((player\.)?[a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))(?=$|\/)/.test(n)}function Yd(n){var r=/^https:\/\/player\.((vimeo\.com)|([a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))\/video\/\d+/;return r.test(n)}function Xb(n){for(var r=(n||"").match(/^(?:https?:)?(?:\/\/)?([^/?]+)/),i=(r&&r[1]||"").replace("player.",""),s=[".videoji.hk",".vimeo.work",".videoji.cn"],l=0,u=s;l<u.length;l++){var f=u[l];if(i.endsWith(f))return i}return"vimeo.com"}function Qd(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=n.id,i=n.url,s=r||i;if(!s)throw new Error("An id or url must be passed, either in an options object or as a data-vimeo-id or data-vimeo-url attribute.");if(Kb(s))return"https://vimeo.com/".concat(s);if(or(s))return s.replace("http:","https:");throw r?new TypeError("“".concat(r,"” is not a valid video id.")):new TypeError("“".concat(s,"” is not a vimeo.com url."))}var ff=function(r,i,s){var l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"addEventListener",u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"removeEventListener",f=typeof i=="string"?[i]:i;return f.forEach(function(d){r[l](d,s)}),{cancel:function(){return f.forEach(function(g){return r[u](g,s)})}}},Yb=typeof Array.prototype.indexOf<"u",Qb=typeof window<"u"&&typeof window.postMessage<"u";if(!Xd&&(!Yb||!Qb))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var Tr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Jb(n,r){return r={exports:{}},n(r,r.exports),r.exports}/*!
|
|
244
|
+
`,Gv=(n,r)=>{const{value:i="",onChange:a,placeholder:l="",disabled:u=!1,error:f,label:h,helperText:y,leftIcon:v,rightIcon:$,borderColor:T,bgColor:b,multiline:x,...m}=n,S=Ce(),C=S.__hd__.input,[I,L]=d.useState(!1),A=d.useRef(null),[O,F]=d.useState(i),[W,Z]=d.useState(!1),[q,fe]=d.useState(null),ve=!x&&m.type==="password";d.useEffect(()=>{F(i)},[i]),d.useEffect(()=>{if(ve&&A.current&&q!==null){const K=A.current,de=q;requestAnimationFrame(()=>{K&&(K.focus(),K.setSelectionRange(de,de))}),fe(null)}},[W,ve,q]),d.useImperativeHandle(r,()=>({focus:()=>{var K;return(K=A.current)==null?void 0:K.focus()},blur:()=>{var K;return(K=A.current)==null?void 0:K.blur()},get value(){return O}}));const Oe=K=>{L(!0),n.onFocus&&n.onFocus(K)},D=K=>{L(!1),n.onBlur&&n.onBlur(K)},z=K=>{const de=K.target.value;F(de),a==null||a(de)},H=mt(S,C.iconSize),ie=u?C.disabledTextColor:C.iconColor,Y=()=>{ve&&A.current&&(fe(A.current.selectionStart),Z(!W))},ee={ref:A,value:O,onChange:z,onFocus:Oe,onBlur:D,placeholder:l,disabled:u};return w.jsxs(U,{fw:!0,children:[h&&w.jsx(U,{mb:"xs",children:w.jsx(ct,{fontWeight:"medium",children:h})}),w.jsxs(qv,{$isFocused:I,$isDisabled:u,$error:!!f,$borderColor:T,$bgColor:b,children:[v&&w.jsx(U,{mr:C.iconSpacing,children:w.jsx(Ut,{type:"icon",art:v,size:H,color:ie})}),x?w.jsx(ku,{as:"textarea",...ee,...m}):w.jsx(ku,{...ee,...m,type:W?"text":m.type}),ve&&I?w.jsx(U,{ml:C.iconSpacing,onClick:Y,onMouseDown:K=>K.preventDefault(),cursor:"pointer","data-testid":"password-toggle-icon",children:w.jsx(Ut,{type:"icon",art:W?Kc:Xc,size:H,color:ie})}):!ve&&$&&w.jsx(U,{ml:C.iconSpacing,children:w.jsx(Ut,{type:"icon",art:$,size:H,color:ie})})]}),(f||y)&&w.jsx(U,{mt:"xs",children:w.jsx(ct,{fontSize:"xs",color:f?"danger":"grey600",children:f||y})})]})},Kv=d.forwardRef(Gv),Xv=["p","padding","pt","pb","pl","pr","px","py","gap","display","flexDirection","alignItems","justifyContent","flexWrap","flexGrow","flexShrink","flexBasis","flex"];function Yv(n){const r={},i={},a={};for(const l in n)if(Object.prototype.hasOwnProperty.call(n,l)){const u=n[l];Xv.includes(l)?r[l]=u:l!=="data"&&l!=="renderItem"&&l!=="keyExtractor"&&l!=="ListEmptyComponent"&&l!=="ListHeaderComponent"&&l!=="ListFooterComponent"&&l!=="ItemSeparatorComponent"&&l!=="itemGap"?i[l]=u:a[l]=u}return{listProps:a,contentProps:r,containerProps:i}}function Qv(n,r){var A,O;const{listProps:i,contentProps:a,containerProps:l}=Yv(n),{data:u=[],renderItem:f,keyExtractor:h,ListEmptyComponent:y,ListHeaderComponent:v,ListFooterComponent:$,ItemSeparatorComponent:T,itemGap:b}=i,x=Ce(),m=((A=x.__hd__.list)==null?void 0:A.defaultGap)||"xs",S=b||m,C=((O=x.__hd__.list)==null?void 0:O.defaultPadding)||"0px",I=a.p??a.padding??C,L=()=>u.length===0&&y?y:u.map((F,W)=>{const Z=h?h(F,W):String(W),q=f?f(F,W):null;return q?w.jsxs(d.Fragment,{children:[q,T&&W<u.length-1?T:null]},Z):null});return w.jsx(U,{ref:r,overflow:"auto",width:"100%",...l,children:w.jsxs(U,{display:"flex",flexDirection:"column",gap:S,p:I,...a,children:[v,L(),$]})})}const Jv=d.forwardRef(Qv);/*! @vimeo/player v2.27.1 | (c) 2025 Vimeo | MIT License | https://github.com/vimeo/player.js */function Ru(n,r){var i=Object.keys(n);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(n);r&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(n,l).enumerable})),i.push.apply(i,a)}return i}function Lu(n){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{};r%2?Ru(Object(i),!0).forEach(function(a){$i(n,a,i[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(i)):Ru(Object(i)).forEach(function(a){Object.defineProperty(n,a,Object.getOwnPropertyDescriptor(i,a))})}return n}function xt(){xt=function(){return n};var n={},r=Object.prototype,i=r.hasOwnProperty,a=Object.defineProperty||function(D,z,H){D[z]=H.value},l=typeof Symbol=="function"?Symbol:{},u=l.iterator||"@@iterator",f=l.asyncIterator||"@@asyncIterator",h=l.toStringTag||"@@toStringTag";function y(D,z,H){return Object.defineProperty(D,z,{value:H,enumerable:!0,configurable:!0,writable:!0}),D[z]}try{y({},"")}catch{y=function(z,H,ie){return z[H]=ie}}function v(D,z,H,ie){var Y=z&&z.prototype instanceof b?z:b,ee=Object.create(Y.prototype),K=new fe(ie||[]);return a(ee,"_invoke",{value:F(D,H,K)}),ee}function $(D,z,H){try{return{type:"normal",arg:D.call(z,H)}}catch(ie){return{type:"throw",arg:ie}}}n.wrap=v;var T={};function b(){}function x(){}function m(){}var S={};y(S,u,function(){return this});var C=Object.getPrototypeOf,I=C&&C(C(ve([])));I&&I!==r&&i.call(I,u)&&(S=I);var L=m.prototype=b.prototype=Object.create(S);function A(D){["next","throw","return"].forEach(function(z){y(D,z,function(H){return this._invoke(z,H)})})}function O(D,z){function H(Y,ee,K,de){var Ie=$(D[Y],D,ee);if(Ie.type!=="throw"){var Se=Ie.arg,Ee=Se.value;return Ee&&typeof Ee=="object"&&i.call(Ee,"__await")?z.resolve(Ee.__await).then(function(Fe){H("next",Fe,K,de)},function(Fe){H("throw",Fe,K,de)}):z.resolve(Ee).then(function(Fe){Se.value=Fe,K(Se)},function(Fe){return H("throw",Fe,K,de)})}de(Ie.arg)}var ie;a(this,"_invoke",{value:function(Y,ee){function K(){return new z(function(de,Ie){H(Y,ee,de,Ie)})}return ie=ie?ie.then(K,K):K()}})}function F(D,z,H){var ie="suspendedStart";return function(Y,ee){if(ie==="executing")throw new Error("Generator is already running");if(ie==="completed"){if(Y==="throw")throw ee;return Oe()}for(H.method=Y,H.arg=ee;;){var K=H.delegate;if(K){var de=W(K,H);if(de){if(de===T)continue;return de}}if(H.method==="next")H.sent=H._sent=H.arg;else if(H.method==="throw"){if(ie==="suspendedStart")throw ie="completed",H.arg;H.dispatchException(H.arg)}else H.method==="return"&&H.abrupt("return",H.arg);ie="executing";var Ie=$(D,z,H);if(Ie.type==="normal"){if(ie=H.done?"completed":"suspendedYield",Ie.arg===T)continue;return{value:Ie.arg,done:H.done}}Ie.type==="throw"&&(ie="completed",H.method="throw",H.arg=Ie.arg)}}}function W(D,z){var H=z.method,ie=D.iterator[H];if(ie===void 0)return z.delegate=null,H==="throw"&&D.iterator.return&&(z.method="return",z.arg=void 0,W(D,z),z.method==="throw")||H!=="return"&&(z.method="throw",z.arg=new TypeError("The iterator does not provide a '"+H+"' method")),T;var Y=$(ie,D.iterator,z.arg);if(Y.type==="throw")return z.method="throw",z.arg=Y.arg,z.delegate=null,T;var ee=Y.arg;return ee?ee.done?(z[D.resultName]=ee.value,z.next=D.nextLoc,z.method!=="return"&&(z.method="next",z.arg=void 0),z.delegate=null,T):ee:(z.method="throw",z.arg=new TypeError("iterator result is not an object"),z.delegate=null,T)}function Z(D){var z={tryLoc:D[0]};1 in D&&(z.catchLoc=D[1]),2 in D&&(z.finallyLoc=D[2],z.afterLoc=D[3]),this.tryEntries.push(z)}function q(D){var z=D.completion||{};z.type="normal",delete z.arg,D.completion=z}function fe(D){this.tryEntries=[{tryLoc:"root"}],D.forEach(Z,this),this.reset(!0)}function ve(D){if(D){var z=D[u];if(z)return z.call(D);if(typeof D.next=="function")return D;if(!isNaN(D.length)){var H=-1,ie=function Y(){for(;++H<D.length;)if(i.call(D,H))return Y.value=D[H],Y.done=!1,Y;return Y.value=void 0,Y.done=!0,Y};return ie.next=ie}}return{next:Oe}}function Oe(){return{value:void 0,done:!0}}return x.prototype=m,a(L,"constructor",{value:m,configurable:!0}),a(m,"constructor",{value:x,configurable:!0}),x.displayName=y(m,h,"GeneratorFunction"),n.isGeneratorFunction=function(D){var z=typeof D=="function"&&D.constructor;return!!z&&(z===x||(z.displayName||z.name)==="GeneratorFunction")},n.mark=function(D){return Object.setPrototypeOf?Object.setPrototypeOf(D,m):(D.__proto__=m,y(D,h,"GeneratorFunction")),D.prototype=Object.create(L),D},n.awrap=function(D){return{__await:D}},A(O.prototype),y(O.prototype,f,function(){return this}),n.AsyncIterator=O,n.async=function(D,z,H,ie,Y){Y===void 0&&(Y=Promise);var ee=new O(v(D,z,H,ie),Y);return n.isGeneratorFunction(z)?ee:ee.next().then(function(K){return K.done?K.value:ee.next()})},A(L),y(L,h,"Generator"),y(L,u,function(){return this}),y(L,"toString",function(){return"[object Generator]"}),n.keys=function(D){var z=Object(D),H=[];for(var ie in z)H.push(ie);return H.reverse(),function Y(){for(;H.length;){var ee=H.pop();if(ee in z)return Y.value=ee,Y.done=!1,Y}return Y.done=!0,Y}},n.values=ve,fe.prototype={constructor:fe,reset:function(D){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(q),!D)for(var z in this)z.charAt(0)==="t"&&i.call(this,z)&&!isNaN(+z.slice(1))&&(this[z]=void 0)},stop:function(){this.done=!0;var D=this.tryEntries[0].completion;if(D.type==="throw")throw D.arg;return this.rval},dispatchException:function(D){if(this.done)throw D;var z=this;function H(Ie,Se){return ee.type="throw",ee.arg=D,z.next=Ie,Se&&(z.method="next",z.arg=void 0),!!Se}for(var ie=this.tryEntries.length-1;ie>=0;--ie){var Y=this.tryEntries[ie],ee=Y.completion;if(Y.tryLoc==="root")return H("end");if(Y.tryLoc<=this.prev){var K=i.call(Y,"catchLoc"),de=i.call(Y,"finallyLoc");if(K&&de){if(this.prev<Y.catchLoc)return H(Y.catchLoc,!0);if(this.prev<Y.finallyLoc)return H(Y.finallyLoc)}else if(K){if(this.prev<Y.catchLoc)return H(Y.catchLoc,!0)}else{if(!de)throw new Error("try statement without catch or finally");if(this.prev<Y.finallyLoc)return H(Y.finallyLoc)}}}},abrupt:function(D,z){for(var H=this.tryEntries.length-1;H>=0;--H){var ie=this.tryEntries[H];if(ie.tryLoc<=this.prev&&i.call(ie,"finallyLoc")&&this.prev<ie.finallyLoc){var Y=ie;break}}Y&&(D==="break"||D==="continue")&&Y.tryLoc<=z&&z<=Y.finallyLoc&&(Y=null);var ee=Y?Y.completion:{};return ee.type=D,ee.arg=z,Y?(this.method="next",this.next=Y.finallyLoc,T):this.complete(ee)},complete:function(D,z){if(D.type==="throw")throw D.arg;return D.type==="break"||D.type==="continue"?this.next=D.arg:D.type==="return"?(this.rval=this.arg=D.arg,this.method="return",this.next="end"):D.type==="normal"&&z&&(this.next=z),T},finish:function(D){for(var z=this.tryEntries.length-1;z>=0;--z){var H=this.tryEntries[z];if(H.finallyLoc===D)return this.complete(H.completion,H.afterLoc),q(H),T}},catch:function(D){for(var z=this.tryEntries.length-1;z>=0;--z){var H=this.tryEntries[z];if(H.tryLoc===D){var ie=H.completion;if(ie.type==="throw"){var Y=ie.arg;q(H)}return Y}}throw new Error("illegal catch attempt")},delegateYield:function(D,z,H){return this.delegate={iterator:ve(D),resultName:z,nextLoc:H},this.method==="next"&&(this.arg=void 0),T}},n}function Ou(n,r,i,a,l,u,f){try{var h=n[u](f),y=h.value}catch(v){i(v);return}h.done?r(y):Promise.resolve(y).then(a,l)}function jn(n){return function(){var r=this,i=arguments;return new Promise(function(a,l){var u=n.apply(r,i);function f(y){Ou(u,a,l,f,h,"next",y)}function h(y){Ou(u,a,l,f,h,"throw",y)}f(void 0)})}}function hf(n,r){if(!(n instanceof r))throw new TypeError("Cannot call a class as a function")}function ey(n,r){for(var i=0;i<r.length;i++){var a=r[i];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(n,mf(a.key),a)}}function pf(n,r,i){return r&&ey(n.prototype,r),Object.defineProperty(n,"prototype",{writable:!1}),n}function $i(n,r,i){return r=mf(r),r in n?Object.defineProperty(n,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[r]=i,n}function ty(n,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function");n.prototype=Object.create(r&&r.prototype,{constructor:{value:n,writable:!0,configurable:!0}}),Object.defineProperty(n,"prototype",{writable:!1}),r&&kr(n,r)}function Tr(n){return Tr=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Tr(n)}function kr(n,r){return kr=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,l){return a.__proto__=l,a},kr(n,r)}function gf(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function Ti(n,r,i){return gf()?Ti=Reflect.construct.bind():Ti=function(l,u,f){var h=[null];h.push.apply(h,u);var y=Function.bind.apply(l,h),v=new y;return f&&kr(v,f.prototype),v},Ti.apply(null,arguments)}function ny(n){return Function.toString.call(n).indexOf("[native code]")!==-1}function sa(n){var r=typeof Map=="function"?new Map:void 0;return sa=function(a){if(a===null||!ny(a))return a;if(typeof a!="function")throw new TypeError("Super expression must either be null or a function");if(typeof r<"u"){if(r.has(a))return r.get(a);r.set(a,l)}function l(){return Ti(a,arguments,Tr(this).constructor)}return l.prototype=Object.create(a.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),kr(l,a)},sa(n)}function ki(n){if(n===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return n}function ry(n,r){if(r&&(typeof r=="object"||typeof r=="function"))return r;if(r!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return ki(n)}function iy(n){var r=gf();return function(){var a=Tr(n),l;if(r){var u=Tr(this).constructor;l=Reflect.construct(a,arguments,u)}else l=a.apply(this,arguments);return ry(this,l)}}function oy(n,r){if(typeof n!="object"||n===null)return n;var i=n[Symbol.toPrimitive];if(i!==void 0){var a=i.call(n,r);if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}function mf(n){var r=oy(n,"string");return typeof r=="symbol"?r:String(r)}var vf=typeof global<"u"&&{}.toString.call(global)==="[object global]";function Iu(n,r){return n.indexOf(r.toLowerCase())===0?n:"".concat(r.toLowerCase()).concat(n.substr(0,1).toUpperCase()).concat(n.substr(1))}function ay(n){return!!(n&&n.nodeType===1&&"nodeName"in n&&n.ownerDocument&&n.ownerDocument.defaultView)}function sy(n){return!isNaN(parseFloat(n))&&isFinite(n)&&Math.floor(n)==n}function Wn(n){return/^(https?:)?\/\/((((player|www)\.)?vimeo\.com)|((player\.)?[a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))(?=$|\/)/.test(n)}function yf(n){var r=/^https:\/\/player\.((vimeo\.com)|([a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))\/video\/\d+/;return r.test(n)}function ly(n){for(var r=(n||"").match(/^(?:https?:)?(?:\/\/)?([^/?]+)/),i=(r&&r[1]||"").replace("player.",""),a=[".videoji.hk",".vimeo.work",".videoji.cn"],l=0,u=a;l<u.length;l++){var f=u[l];if(i.endsWith(f))return i}return"vimeo.com"}function bf(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=n.id,i=n.url,a=r||i;if(!a)throw new Error("An id or url must be passed, either in an options object or as a data-vimeo-id or data-vimeo-url attribute.");if(sy(a))return"https://vimeo.com/".concat(a);if(Wn(a))return a.replace("http:","https:");throw r?new TypeError("“".concat(r,"” is not a valid video id.")):new TypeError("“".concat(a,"” is not a vimeo.com url."))}var Mu=function(r,i,a){var l=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"addEventListener",u=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"removeEventListener",f=typeof i=="string"?[i]:i;return f.forEach(function(h){r[l](h,a)}),{cancel:function(){return f.forEach(function(y){return r[u](y,a)})}}},uy=typeof Array.prototype.indexOf<"u",cy=typeof window<"u"&&typeof window.postMessage<"u";if(!vf&&(!uy||!cy))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var sr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function fy(n,r){return r={exports:{}},n(r,r.exports),r.exports}/*!
|
|
245
245
|
* weakmap-polyfill v2.0.4 - ECMAScript6 WeakMap polyfill
|
|
246
246
|
* https://github.com/polygonplanet/weakmap-polyfill
|
|
247
247
|
* Copyright (c) 2015-2021 polygonplanet <polygon.planet.aqua@gmail.com>
|
|
248
248
|
* @license MIT
|
|
249
|
-
*/(function(n){if(n.WeakMap)return;var r=Object.prototype.hasOwnProperty,i=Object.defineProperty&&function(){try{return Object.defineProperty({},"x",{value:1}).x===1}catch{}}(),
|
|
249
|
+
*/(function(n){if(n.WeakMap)return;var r=Object.prototype.hasOwnProperty,i=Object.defineProperty&&function(){try{return Object.defineProperty({},"x",{value:1}).x===1}catch{}}(),a=function(u,f,h){i?Object.defineProperty(u,f,{configurable:!0,writable:!0,value:h}):u[f]=h};n.WeakMap=function(){function u(){if(this===void 0)throw new TypeError("Constructor WeakMap requires 'new'");if(a(this,"_id",h("_WeakMap")),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}a(u.prototype,"delete",function(v){if(f(this,"delete"),!l(v))return!1;var $=v[this._id];return $&&$[0]===v?(delete v[this._id],!0):!1}),a(u.prototype,"get",function(v){if(f(this,"get"),!!l(v)){var $=v[this._id];if($&&$[0]===v)return $[1]}}),a(u.prototype,"has",function(v){if(f(this,"has"),!l(v))return!1;var $=v[this._id];return!!($&&$[0]===v)}),a(u.prototype,"set",function(v,$){if(f(this,"set"),!l(v))throw new TypeError("Invalid value used as weak map key");var T=v[this._id];return T&&T[0]===v?(T[1]=$,this):(a(v,this._id,[v,$]),this)});function f(v,$){if(!l(v)||!r.call(v,"_id"))throw new TypeError($+" method called on incompatible receiver "+typeof v)}function h(v){return v+"_"+y()+"."+y()}function y(){return Math.random().toString().substring(2)}return a(u,"_polyfill",!0),u}();function l(u){return Object(u)===u}})(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:sr);var Vt=fy(function(n){/*! Native Promise Only
|
|
250
250
|
v0.8.1 (c) Kyle Simpson
|
|
251
251
|
MIT License: http://getify.mit-license.org
|
|
252
|
-
*/(function(i,s,l){s[i]=s[i]||l(),n.exports&&(n.exports=s[i])})("Promise",Tr,function(){var i,s,l,u=Object.prototype.toString,f=typeof setImmediate<"u"?function(T){return setImmediate(T)}:setTimeout;try{Object.defineProperty({},"x",{}),i=function(T,F,W,q){return Object.defineProperty(T,F,{value:W,writable:!0,configurable:q!==!1})}}catch{i=function(F,W,q){return F[W]=q,F}}l=function(){var T,F,W;function q(V,J){this.fn=V,this.self=J,this.next=void 0}return{add:function(J,me){W=new q(J,me),F?F.next=W:T=W,F=W,W=void 0},drain:function(){var J=T;for(T=F=s=void 0;J;)J.fn.call(J.self),J=J.next}}}();function d(k,T){l.add(k,T),s||(s=f(l.drain))}function g(k){var T,F=typeof k;return k!=null&&(F=="object"||F=="function")&&(T=k.then),typeof T=="function"?T:!1}function v(){for(var k=0;k<this.chain.length;k++)_(this,this.state===1?this.chain[k].success:this.chain[k].failure,this.chain[k]);this.chain.length=0}function _(k,T,F){var W,q;try{T===!1?F.reject(k.msg):(T===!0?W=k.msg:W=T.call(void 0,k.msg),W===F.promise?F.reject(TypeError("Promise-chain cycle")):(q=g(W))?q.call(W,F.resolve,F.reject):F.resolve(W))}catch(V){F.reject(V)}}function S(k){var T,F=this;if(!F.triggered){F.triggered=!0,F.def&&(F=F.def);try{(T=g(k))?d(function(){var W=new C(F);try{T.call(k,function(){S.apply(W,arguments)},function(){E.apply(W,arguments)})}catch(q){E.call(W,q)}}):(F.msg=k,F.state=1,F.chain.length>0&&d(v,F))}catch(W){E.call(new C(F),W)}}}function E(k){var T=this;T.triggered||(T.triggered=!0,T.def&&(T=T.def),T.msg=k,T.state=2,T.chain.length>0&&d(v,T))}function w(k,T,F,W){for(var q=0;q<T.length;q++)(function(J){k.resolve(T[J]).then(function(_e){F(J,_e)},W)})(q)}function C(k){this.def=k,this.triggered=!1}function I(k){this.promise=k,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function R(k){if(typeof k!="function")throw TypeError("Not a function");if(this.__NPO__!==0)throw TypeError("Not a promise");this.__NPO__=1;var T=new I(this);this.then=function(W,q){var V={success:typeof W=="function"?W:!0,failure:typeof q=="function"?q:!1};return V.promise=new this.constructor(function(me,_e){if(typeof me!="function"||typeof _e!="function")throw TypeError("Not a function");V.resolve=me,V.reject=_e}),T.chain.push(V),T.state!==0&&d(v,T),V.promise},this.catch=function(W){return this.then(void 0,W)};try{k.call(void 0,function(W){S.call(T,W)},function(W){E.call(T,W)})}catch(F){E.call(T,F)}}var O=i({},"constructor",R,!1);return R.prototype=O,i(O,"__NPO__",0,!1),i(R,"resolve",function(T){var F=this;return T&&typeof T=="object"&&T.__NPO__===1?T:new F(function(q,V){if(typeof q!="function"||typeof V!="function")throw TypeError("Not a function");q(T)})}),i(R,"reject",function(T){return new this(function(W,q){if(typeof W!="function"||typeof q!="function")throw TypeError("Not a function");q(T)})}),i(R,"all",function(T){var F=this;return u.call(T)!="[object Array]"?F.reject(TypeError("Not an array")):T.length===0?F.resolve([]):new F(function(q,V){if(typeof q!="function"||typeof V!="function")throw TypeError("Not a function");var J=T.length,me=Array(J),_e=0;w(F,T,function(D,z){me[D]=z,++_e===J&&q(me)},V)})}),i(R,"race",function(T){var F=this;return u.call(T)!="[object Array]"?F.reject(TypeError("Not an array")):new F(function(q,V){if(typeof q!="function"||typeof V!="function")throw TypeError("Not a function");w(F,T,function(me,_e){q(_e)},V)})}),R})}),Sn=new WeakMap;function ri(n,r,i){var s=Sn.get(n.element)||{};r in s||(s[r]=[]),s[r].push(i),Sn.set(n.element,s)}function bo(n,r){var i=Sn.get(n.element)||{};return i[r]||[]}function wo(n,r,i){var s=Sn.get(n.element)||{};if(!s[r])return!0;if(!i)return s[r]=[],Sn.set(n.element,s),!0;var l=s[r].indexOf(i);return l!==-1&&s[r].splice(l,1),Sn.set(n.element,s),s[r]&&s[r].length===0}function ew(n,r){var i=bo(n,r);if(i.length<1)return!1;var s=i.shift();return wo(n,r,s),s}function tw(n,r){var i=Sn.get(n);Sn.set(r,i),Sn.delete(n)}function Ro(n){if(typeof n=="string")try{n=JSON.parse(n)}catch(r){return console.warn(r),{}}return n}function er(n,r,i){if(!(!n.element.contentWindow||!n.element.contentWindow.postMessage)){var s={method:r};i!==void 0&&(s.value=i);var l=parseFloat(navigator.userAgent.toLowerCase().replace(/^.*msie (\d+).*$/,"$1"));l>=8&&l<10&&(s=JSON.stringify(s)),n.element.contentWindow.postMessage(s,n.origin)}}function nw(n,r){r=Ro(r);var i=[],s;if(r.event){if(r.event==="error"){var l=bo(n,r.data.method);l.forEach(function(f){var d=new Error(r.data.message);d.name=r.data.name,f.reject(d),wo(n,r.data.method,f)})}i=bo(n,"event:".concat(r.event)),s=r.data}else if(r.method){var u=ew(n,r.method);u&&(i.push(u),s=r.value)}i.forEach(function(f){try{if(typeof f=="function"){f.call(n,s);return}f.resolve(s)}catch{}})}var rw=["airplay","audio_tracks","audiotrack","autopause","autoplay","background","byline","cc","chapter_id","chapters","chromecast","color","colors","controls","dnt","end_time","fullscreen","height","id","initial_quality","interactive_params","keyboard","loop","maxheight","max_quality","maxwidth","min_quality","muted","play_button_position","playsinline","portrait","progress_bar","quality","quality_selector","responsive","skipping_forward","speed","start_time","texttrack","title","transcript","transparent","unmute_button","url","vimeo_logo","volume","watch_full_video","width"];function Jd(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return rw.reduce(function(i,s){var l=n.getAttribute("data-vimeo-".concat(s));return(l||l==="")&&(i[s]=l===""?1:l),i},r)}function Pa(n,r){var i=n.html;if(!r)throw new TypeError("An element must be provided");if(r.getAttribute("data-vimeo-initialized")!==null)return r.querySelector("iframe");var s=document.createElement("div");return s.innerHTML=i,r.appendChild(s.firstChild),r.setAttribute("data-vimeo-initialized","true"),r.querySelector("iframe")}function e0(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0;return new Promise(function(s,l){if(!or(n))throw new TypeError("“".concat(n,"” is not a vimeo.com url."));var u=Xb(n),f="https://".concat(u,"/api/oembed.json?url=").concat(encodeURIComponent(n));for(var d in r)r.hasOwnProperty(d)&&(f+="&".concat(d,"=").concat(encodeURIComponent(r[d])));var g="XDomainRequest"in window?new XDomainRequest:new XMLHttpRequest;g.open("GET",f,!0),g.onload=function(){if(g.status===404){l(new Error("“".concat(n,"” was not found.")));return}if(g.status===403){l(new Error("“".concat(n,"” is not embeddable.")));return}try{var v=JSON.parse(g.responseText);if(v.domain_status_code===403){Pa(v,i),l(new Error("“".concat(n,"” is not embeddable.")));return}s(v)}catch(_){l(_)}},g.onerror=function(){var v=g.status?" (".concat(g.status,")"):"";l(new Error("There was an error fetching the embed code from Vimeo".concat(v,".")))},g.send()})}function iw(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document,r=[].slice.call(n.querySelectorAll("[data-vimeo-id], [data-vimeo-url]")),i=function(l){"console"in window&&console.error&&console.error("There was an error creating an embed: ".concat(l))};r.forEach(function(s){try{if(s.getAttribute("data-vimeo-defer")!==null)return;var l=Jd(s),u=Qd(l);e0(u,l,s).then(function(f){return Pa(f,s)}).catch(i)}catch(f){i(f)}})}function ow(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoPlayerResizeEmbeds_){window.VimeoPlayerResizeEmbeds_=!0;var r=function(s){if(or(s.origin)&&!(!s.data||s.data.event!=="spacechange")){for(var l=n.querySelectorAll("iframe"),u=0;u<l.length;u++)if(l[u].contentWindow===s.source){var f=l[u].parentElement;f.style.paddingBottom="".concat(s.data.data[0].bottom,"px");break}}};window.addEventListener("message",r)}}function sw(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoSeoMetadataAppended){window.VimeoSeoMetadataAppended=!0;var r=function(s){if(or(s.origin)){var l=Ro(s.data);if(!(!l||l.event!=="ready"))for(var u=n.querySelectorAll("iframe"),f=0;f<u.length;f++){var d=u[f],g=d.contentWindow===s.source;if(Yd(d.src)&&g){var v=new Wa(d);v.callMethod("appendVideoMetadata",window.location.href)}}}};window.addEventListener("message",r)}}function aw(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoCheckedUrlTimeParam){window.VimeoCheckedUrlTimeParam=!0;var r=function(l){"console"in window&&console.error&&console.error("There was an error getting video Id: ".concat(l))},i=function(l){if(or(l.origin)){var u=Ro(l.data);if(!(!u||u.event!=="ready"))for(var f=n.querySelectorAll("iframe"),d=function(){var _=f[g],S=_.contentWindow===l.source;if(Yd(_.src)&&S){var E=new Wa(_);E.getVideoId().then(function(w){var C=new RegExp("[?&]vimeo_t_".concat(w,"=([^&#]*)")).exec(window.location.href);if(C&&C[1]){var I=decodeURI(C[1]);E.setCurrentTime(I)}}).catch(r)}},g=0;g<f.length;g++)d()}};window.addEventListener("message",i)}}function lw(){var n=function(){for(var s,l=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],u=0,f=l.length,d={};u<f;u++)if(s=l[u],s&&s[1]in document){for(u=0;u<s.length;u++)d[l[0][u]]=s[u];return d}return!1}(),r={fullscreenchange:n.fullscreenchange,fullscreenerror:n.fullscreenerror},i={request:function(l){return new Promise(function(u,f){var d=function v(){i.off("fullscreenchange",v),u()};i.on("fullscreenchange",d),l=l||document.documentElement;var g=l[n.requestFullscreen]();g instanceof Promise&&g.then(d).catch(f)})},exit:function(){return new Promise(function(l,u){if(!i.isFullscreen){l();return}var f=function g(){i.off("fullscreenchange",g),l()};i.on("fullscreenchange",f);var d=document[n.exitFullscreen]();d instanceof Promise&&d.then(f).catch(u)})},on:function(l,u){var f=r[l];f&&document.addEventListener(f,u)},off:function(l,u){var f=r[l];f&&document.removeEventListener(f,u)}};return Object.defineProperties(i,{isFullscreen:{get:function(){return!!document[n.fullscreenElement]}},element:{enumerable:!0,get:function(){return document[n.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return!!document[n.fullscreenEnabled]}}}),i}var uw={role:"viewer",autoPlayMuted:!0,allowedDrift:.3,maxAllowedDrift:1,minCheckInterval:.1,maxRateAdjustment:.2,maxTimeToCatchUp:1},cw=function(n){Zb(i,n);var r=Ub(i);function i(s,l){var u,f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},d=arguments.length>3?arguments[3]:void 0;return Ud(this,i),u=r.call(this),ho(go(u),"logger",void 0),ho(go(u),"speedAdjustment",0),ho(go(u),"adjustSpeed",function(){var g=tr(Ct().mark(function v(_,S){var E;return Ct().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:if(u.speedAdjustment!==S){C.next=2;break}return C.abrupt("return");case 2:return C.next=4,_.getPlaybackRate();case 4:return C.t0=C.sent,C.t1=u.speedAdjustment,C.t2=C.t0-C.t1,C.t3=S,E=C.t2+C.t3,u.log("New playbackRate: ".concat(E)),C.next=12,_.setPlaybackRate(E);case 12:u.speedAdjustment=S;case 13:case"end":return C.stop()}},v)}));return function(v,_){return g.apply(this,arguments)}}()),u.logger=d,u.init(l,s,lf(lf({},uw),f)),u}return qd(i,[{key:"disconnect",value:function(){this.dispatchEvent(new Event("disconnect"))}},{key:"init",value:function(){var s=tr(Ct().mark(function u(f,d,g){var v=this,_,S,E;return Ct().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:return C.next=2,this.waitForTOReadyState(f,"open");case 2:if(g.role!=="viewer"){C.next=10;break}return C.next=5,this.updatePlayer(f,d,g);case 5:_=ff(f,"change",function(){return v.updatePlayer(f,d,g)}),S=this.maintainPlaybackPosition(f,d,g),this.addEventListener("disconnect",function(){S.cancel(),_.cancel()}),C.next=14;break;case 10:return C.next=12,this.updateTimingObject(f,d);case 12:E=ff(d,["seeked","play","pause","ratechange"],function(){return v.updateTimingObject(f,d)},"on","off"),this.addEventListener("disconnect",function(){return E.cancel()});case 14:case"end":return C.stop()}},u,this)}));function l(u,f,d){return s.apply(this,arguments)}return l}()},{key:"updateTimingObject",value:function(){var s=tr(Ct().mark(function u(f,d){return Ct().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return v.t0=f,v.next=3,d.getCurrentTime();case 3:return v.t1=v.sent,v.next=6,d.getPaused();case 6:if(!v.sent){v.next=10;break}v.t2=0,v.next=13;break;case 10:return v.next=12,d.getPlaybackRate();case 12:v.t2=v.sent;case 13:v.t3=v.t2,v.t4={position:v.t1,velocity:v.t3},v.t0.update.call(v.t0,v.t4);case 16:case"end":return v.stop()}},u)}));function l(u,f){return s.apply(this,arguments)}return l}()},{key:"updatePlayer",value:function(){var s=tr(Ct().mark(function u(f,d,g){var v,_,S;return Ct().wrap(function(w){for(;;)switch(w.prev=w.next){case 0:if(v=f.query(),_=v.position,S=v.velocity,typeof _=="number"&&d.setCurrentTime(_),typeof S!="number"){w.next=25;break}if(S!==0){w.next=11;break}return w.next=6,d.getPaused();case 6:if(w.t0=w.sent,w.t0!==!1){w.next=9;break}d.pause();case 9:w.next=25;break;case 11:if(!(S>0)){w.next=25;break}return w.next=14,d.getPaused();case 14:if(w.t1=w.sent,w.t1!==!0){w.next=19;break}return w.next=18,d.play().catch(function(){var C=tr(Ct().mark(function I(R){return Ct().wrap(function(k){for(;;)switch(k.prev=k.next){case 0:if(!(R.name==="NotAllowedError"&&g.autoPlayMuted)){k.next=5;break}return k.next=3,d.setMuted(!0);case 3:return k.next=5,d.play().catch(function(T){return console.error("Couldn't play the video from TimingSrcConnector. Error:",T)});case 5:case"end":return k.stop()}},I)}));return function(I){return C.apply(this,arguments)}}());case 18:this.updatePlayer(f,d,g);case 19:return w.next=21,d.getPlaybackRate();case 21:if(w.t2=w.sent,w.t3=S,w.t2===w.t3){w.next=25;break}d.setPlaybackRate(S);case 25:case"end":return w.stop()}},u,this)}));function l(u,f,d){return s.apply(this,arguments)}return l}()},{key:"maintainPlaybackPosition",value:function(l,u,f){var d=this,g=f.allowedDrift,v=f.maxAllowedDrift,_=f.minCheckInterval,S=f.maxRateAdjustment,E=f.maxTimeToCatchUp,w=Math.min(E,Math.max(_,v))*1e3,C=function(){var R=tr(Ct().mark(function O(){var k,T,F,W,q;return Ct().wrap(function(J){for(;;)switch(J.prev=J.next){case 0:if(J.t0=l.query().velocity===0,J.t0){J.next=6;break}return J.next=4,u.getPaused();case 4:J.t1=J.sent,J.t0=J.t1===!0;case 6:if(!J.t0){J.next=8;break}return J.abrupt("return");case 8:return J.t2=l.query().position,J.next=11,u.getCurrentTime();case 11:if(J.t3=J.sent,k=J.t2-J.t3,T=Math.abs(k),d.log("Drift: ".concat(k)),!(T>v)){J.next=22;break}return J.next=18,d.adjustSpeed(u,0);case 18:u.setCurrentTime(l.query().position),d.log("Resync by currentTime"),J.next=29;break;case 22:if(!(T>g)){J.next=29;break}return F=T/E,W=S,q=F<W?(W-F)/2:W,J.next=28,d.adjustSpeed(u,q*Math.sign(k));case 28:d.log("Resync by playbackRate");case 29:case"end":return J.stop()}},O)}));return function(){return R.apply(this,arguments)}}(),I=setInterval(function(){return C()},w);return{cancel:function(){return clearInterval(I)}}}},{key:"log",value:function(l){var u;(u=this.logger)===null||u===void 0||u.call(this,"TimingSrcConnector: ".concat(l))}},{key:"waitForTOReadyState",value:function(l,u){return new Promise(function(f){var d=function g(){l.readyState===u?f():l.addEventListener("readystatechange",g,{once:!0})};d()})}}]),i}(ba(EventTarget)),Sr=new WeakMap,ua=new WeakMap,Rt={},Wa=function(){function n(r){var i=this,s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(Ud(this,n),window.jQuery&&r instanceof jQuery&&(r.length>1&&window.console&&console.warn&&console.warn("A jQuery object with multiple elements was passed, using the first element."),r=r[0]),typeof document<"u"&&typeof r=="string"&&(r=document.getElementById(r)),!Gb(r))throw new TypeError("You must pass either a valid element or a valid id.");if(r.nodeName!=="IFRAME"){var l=r.querySelector("iframe");l&&(r=l)}if(r.nodeName==="IFRAME"&&!or(r.getAttribute("src")||""))throw new Error("The player element passed isn’t a Vimeo embed.");if(Sr.has(r))return Sr.get(r);this._window=r.ownerDocument.defaultView,this.element=r,this.origin="*";var u=new Kt(function(d,g){if(i._onMessage=function(S){if(!(!or(S.origin)||i.element.contentWindow!==S.source)){i.origin==="*"&&(i.origin=S.origin);var E=Ro(S.data),w=E&&E.event==="error",C=w&&E.data&&E.data.method==="ready";if(C){var I=new Error(E.data.message);I.name=E.data.name,g(I);return}var R=E&&E.event==="ready",O=E&&E.method==="ping";if(R||O){i.element.setAttribute("data-ready","true"),d();return}nw(i,E)}},i._window.addEventListener("message",i._onMessage),i.element.nodeName!=="IFRAME"){var v=Jd(r,s),_=Qd(v);e0(_,v,r).then(function(S){var E=Pa(S,r);return i.element=E,i._originalElement=r,tw(r,E),Sr.set(i.element,i),S}).catch(g)}});if(ua.set(this,u),Sr.set(this.element,this),this.element.nodeName==="IFRAME"&&er(this,"ping"),Rt.isEnabled){var f=function(){return Rt.exit()};this.fullscreenchangeHandler=function(){Rt.isFullscreen?ri(i,"event:exitFullscreen",f):wo(i,"event:exitFullscreen",f),i.ready().then(function(){er(i,"fullscreenchange",Rt.isFullscreen)})},Rt.on("fullscreenchange",this.fullscreenchangeHandler)}return this}return qd(n,[{key:"callMethod",value:function(i){for(var s=this,l=arguments.length,u=new Array(l>1?l-1:0),f=1;f<l;f++)u[f-1]=arguments[f];if(i==null)throw new TypeError("You must pass a method name.");return new Kt(function(d,g){return s.ready().then(function(){ri(s,i,{resolve:d,reject:g}),er(s,i,u)}).catch(g)})}},{key:"get",value:function(i){var s=this;return new Kt(function(l,u){return i=cf(i,"get"),s.ready().then(function(){ri(s,i,{resolve:l,reject:u}),er(s,i)}).catch(u)})}},{key:"set",value:function(i,s){var l=this;return new Kt(function(u,f){if(i=cf(i,"set"),s==null)throw new TypeError("There must be a value to set.");return l.ready().then(function(){ri(l,i,{resolve:u,reject:f}),er(l,i,s)}).catch(f)})}},{key:"on",value:function(i,s){if(!i)throw new TypeError("You must pass an event name.");if(!s)throw new TypeError("You must pass a callback function.");if(typeof s!="function")throw new TypeError("The callback must be a function.");var l=bo(this,"event:".concat(i));l.length===0&&this.callMethod("addEventListener",i).catch(function(){}),ri(this,"event:".concat(i),s)}},{key:"off",value:function(i,s){if(!i)throw new TypeError("You must pass an event name.");if(s&&typeof s!="function")throw new TypeError("The callback must be a function.");var l=wo(this,"event:".concat(i),s);l&&this.callMethod("removeEventListener",i).catch(function(u){})}},{key:"loadVideo",value:function(i){return this.callMethod("loadVideo",i)}},{key:"ready",value:function(){var i=ua.get(this)||new Kt(function(s,l){l(new Error("Unknown player. Probably unloaded."))});return Kt.resolve(i)}},{key:"addCuePoint",value:function(i){var s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.callMethod("addCuePoint",{time:i,data:s})}},{key:"removeCuePoint",value:function(i){return this.callMethod("removeCuePoint",i)}},{key:"enableTextTrack",value:function(i,s){if(!i)throw new TypeError("You must pass a language.");return this.callMethod("enableTextTrack",{language:i,kind:s})}},{key:"disableTextTrack",value:function(){return this.callMethod("disableTextTrack")}},{key:"pause",value:function(){return this.callMethod("pause")}},{key:"play",value:function(){return this.callMethod("play")}},{key:"requestFullscreen",value:function(){return Rt.isEnabled?Rt.request(this.element):this.callMethod("requestFullscreen")}},{key:"exitFullscreen",value:function(){return Rt.isEnabled?Rt.exit():this.callMethod("exitFullscreen")}},{key:"getFullscreen",value:function(){return Rt.isEnabled?Kt.resolve(Rt.isFullscreen):this.get("fullscreen")}},{key:"requestPictureInPicture",value:function(){return this.callMethod("requestPictureInPicture")}},{key:"exitPictureInPicture",value:function(){return this.callMethod("exitPictureInPicture")}},{key:"getPictureInPicture",value:function(){return this.get("pictureInPicture")}},{key:"remotePlaybackPrompt",value:function(){return this.callMethod("remotePlaybackPrompt")}},{key:"unload",value:function(){return this.callMethod("unload")}},{key:"destroy",value:function(){var i=this;return new Kt(function(s){if(ua.delete(i),Sr.delete(i.element),i._originalElement&&(Sr.delete(i._originalElement),i._originalElement.removeAttribute("data-vimeo-initialized")),i.element&&i.element.nodeName==="IFRAME"&&i.element.parentNode&&(i.element.parentNode.parentNode&&i._originalElement&&i._originalElement!==i.element.parentNode?i.element.parentNode.parentNode.removeChild(i.element.parentNode):i.element.parentNode.removeChild(i.element)),i.element&&i.element.nodeName==="DIV"&&i.element.parentNode){i.element.removeAttribute("data-vimeo-initialized");var l=i.element.querySelector("iframe");l&&l.parentNode&&(l.parentNode.parentNode&&i._originalElement&&i._originalElement!==l.parentNode?l.parentNode.parentNode.removeChild(l.parentNode):l.parentNode.removeChild(l))}i._window.removeEventListener("message",i._onMessage),Rt.isEnabled&&Rt.off("fullscreenchange",i.fullscreenchangeHandler),s()})}},{key:"getAutopause",value:function(){return this.get("autopause")}},{key:"setAutopause",value:function(i){return this.set("autopause",i)}},{key:"getBuffered",value:function(){return this.get("buffered")}},{key:"getCameraProps",value:function(){return this.get("cameraProps")}},{key:"setCameraProps",value:function(i){return this.set("cameraProps",i)}},{key:"getChapters",value:function(){return this.get("chapters")}},{key:"getCurrentChapter",value:function(){return this.get("currentChapter")}},{key:"getColor",value:function(){return this.get("color")}},{key:"getColors",value:function(){return Kt.all([this.get("colorOne"),this.get("colorTwo"),this.get("colorThree"),this.get("colorFour")])}},{key:"setColor",value:function(i){return this.set("color",i)}},{key:"setColors",value:function(i){if(!Array.isArray(i))return new Kt(function(u,f){return f(new TypeError("Argument must be an array."))});var s=new Kt(function(u){return u(null)}),l=[i[0]?this.set("colorOne",i[0]):s,i[1]?this.set("colorTwo",i[1]):s,i[2]?this.set("colorThree",i[2]):s,i[3]?this.set("colorFour",i[3]):s];return Kt.all(l)}},{key:"getCuePoints",value:function(){return this.get("cuePoints")}},{key:"getCurrentTime",value:function(){return this.get("currentTime")}},{key:"setCurrentTime",value:function(i){return this.set("currentTime",i)}},{key:"getDuration",value:function(){return this.get("duration")}},{key:"getEnded",value:function(){return this.get("ended")}},{key:"getLoop",value:function(){return this.get("loop")}},{key:"setLoop",value:function(i){return this.set("loop",i)}},{key:"setMuted",value:function(i){return this.set("muted",i)}},{key:"getMuted",value:function(){return this.get("muted")}},{key:"getPaused",value:function(){return this.get("paused")}},{key:"getPlaybackRate",value:function(){return this.get("playbackRate")}},{key:"setPlaybackRate",value:function(i){return this.set("playbackRate",i)}},{key:"getPlayed",value:function(){return this.get("played")}},{key:"getQualities",value:function(){return this.get("qualities")}},{key:"getQuality",value:function(){return this.get("quality")}},{key:"setQuality",value:function(i){return this.set("quality",i)}},{key:"getRemotePlaybackAvailability",value:function(){return this.get("remotePlaybackAvailability")}},{key:"getRemotePlaybackState",value:function(){return this.get("remotePlaybackState")}},{key:"getSeekable",value:function(){return this.get("seekable")}},{key:"getSeeking",value:function(){return this.get("seeking")}},{key:"getTextTracks",value:function(){return this.get("textTracks")}},{key:"getVideoEmbedCode",value:function(){return this.get("videoEmbedCode")}},{key:"getVideoId",value:function(){return this.get("videoId")}},{key:"getVideoTitle",value:function(){return this.get("videoTitle")}},{key:"getVideoWidth",value:function(){return this.get("videoWidth")}},{key:"getVideoHeight",value:function(){return this.get("videoHeight")}},{key:"getVideoUrl",value:function(){return this.get("videoUrl")}},{key:"getVolume",value:function(){return this.get("volume")}},{key:"setVolume",value:function(i){return this.set("volume",i)}},{key:"setTimingSrc",value:function(){var r=tr(Ct().mark(function s(l,u){var f=this,d;return Ct().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:if(l){v.next=2;break}throw new TypeError("A Timing Object must be provided.");case 2:return v.next=4,this.ready();case 4:return d=new cw(this,l,u),er(this,"notifyTimingObjectConnect"),d.addEventListener("disconnect",function(){return er(f,"notifyTimingObjectDisconnect")}),v.abrupt("return",d);case 8:case"end":return v.stop()}},s,this)}));function i(s,l){return r.apply(this,arguments)}return i}()}]),n}();Xd||(Rt=lw(),iw(),ow(),sw(),aw());const fw=(n,r,i,s)=>({id:parseInt(n,10),width:typeof r=="number"?r:void 0,height:typeof i=="number"?i:void 0,...s}),dw=async(n,r)=>{if(n)try{const i=[];typeof r.loop=="boolean"&&i.push(n.getLoop().then(s=>{if(s!==r.loop)return n.setLoop(r.loop)})),r.color&&i.push(n.getColor().then(s=>{if(s!==r.color)return n.setColor(r.color)})),typeof r.muted=="boolean"&&i.push(n.getMuted().then(s=>{if(s!==r.muted)return n.setMuted(r.muted)})),await Promise.all(i)}catch(i){console.warn("Error enforcing player config:",i)}},hw=n=>({ready:n.onReady,play:n.onPlay,pause:n.onPlayerPause,ended:n.onEnd,timeupdate:n.onTimeUpdate?r=>{var i;(i=n.onTimeUpdate)==null||i.call(n,r.seconds)}:void 0,progress:n.onProgress?r=>{var i;(i=n.onProgress)==null||i.call(n,r.percent)}:void 0,seeking:n.onSeeking,seeked:n.onSeeked,error:n.onPlayerError}),pw=n=>{var i,s;const r=xe();return h.useMemo(()=>{var u,f;return{...(u=r.__hd__.vimeo)==null?void 0:u.playerSettings,...n,color:(n==null?void 0:n.color)||((f=r.__hd__.vimeo)==null?void 0:f.defaultAccentColor)||"#00adef"}},[(i=r.__hd__.vimeo)==null?void 0:i.playerSettings,(s=r.__hd__.vimeo)==null?void 0:s.defaultAccentColor,n])},gw=(n,r,i,s,l)=>{const u=h.useRef(null);return h.useEffect(()=>n.current?((async()=>{try{const d=fw(r,i,s,l);n.current&&(u.current=new Wa(n.current,d),setTimeout(()=>{dw(u.current,l)},100))}catch(d){console.error("Failed to initialize Vimeo player:",d)}})(),()=>{u.current&&(u.current.destroy(),u.current=null)}):void 0,[r,i,s]),u},mw=(n,r)=>{h.useEffect(()=>{if(!n.current||!r)return;const i=n.current,s=hw(r);return Object.entries(s).forEach(([l,u])=>{u&&i.on(l,u)}),()=>{n.current&&Object.entries(s).forEach(([l,u])=>{if(u)try{n.current.off(l,u)}catch{}})}},[n,r])},vw=ue.div`
|
|
252
|
+
*/(function(i,a,l){a[i]=a[i]||l(),n.exports&&(n.exports=a[i])})("Promise",sr,function(){var i,a,l,u=Object.prototype.toString,f=typeof setImmediate<"u"?function(A){return setImmediate(A)}:setTimeout;try{Object.defineProperty({},"x",{}),i=function(A,O,F,W){return Object.defineProperty(A,O,{value:F,writable:!0,configurable:W!==!1})}}catch{i=function(O,F,W){return O[F]=W,O}}l=function(){var A,O,F;function W(Z,q){this.fn=Z,this.self=q,this.next=void 0}return{add:function(q,fe){F=new W(q,fe),O?O.next=F:A=F,O=F,F=void 0},drain:function(){var q=A;for(A=O=a=void 0;q;)q.fn.call(q.self),q=q.next}}}();function h(L,A){l.add(L,A),a||(a=f(l.drain))}function y(L){var A,O=typeof L;return L!=null&&(O=="object"||O=="function")&&(A=L.then),typeof A=="function"?A:!1}function v(){for(var L=0;L<this.chain.length;L++)$(this,this.state===1?this.chain[L].success:this.chain[L].failure,this.chain[L]);this.chain.length=0}function $(L,A,O){var F,W;try{A===!1?O.reject(L.msg):(A===!0?F=L.msg:F=A.call(void 0,L.msg),F===O.promise?O.reject(TypeError("Promise-chain cycle")):(W=y(F))?W.call(F,O.resolve,O.reject):O.resolve(F))}catch(Z){O.reject(Z)}}function T(L){var A,O=this;if(!O.triggered){O.triggered=!0,O.def&&(O=O.def);try{(A=y(L))?h(function(){var F=new m(O);try{A.call(L,function(){T.apply(F,arguments)},function(){b.apply(F,arguments)})}catch(W){b.call(F,W)}}):(O.msg=L,O.state=1,O.chain.length>0&&h(v,O))}catch(F){b.call(new m(O),F)}}}function b(L){var A=this;A.triggered||(A.triggered=!0,A.def&&(A=A.def),A.msg=L,A.state=2,A.chain.length>0&&h(v,A))}function x(L,A,O,F){for(var W=0;W<A.length;W++)(function(q){L.resolve(A[q]).then(function(ve){O(q,ve)},F)})(W)}function m(L){this.def=L,this.triggered=!1}function S(L){this.promise=L,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function C(L){if(typeof L!="function")throw TypeError("Not a function");if(this.__NPO__!==0)throw TypeError("Not a promise");this.__NPO__=1;var A=new S(this);this.then=function(F,W){var Z={success:typeof F=="function"?F:!0,failure:typeof W=="function"?W:!1};return Z.promise=new this.constructor(function(fe,ve){if(typeof fe!="function"||typeof ve!="function")throw TypeError("Not a function");Z.resolve=fe,Z.reject=ve}),A.chain.push(Z),A.state!==0&&h(v,A),Z.promise},this.catch=function(F){return this.then(void 0,F)};try{L.call(void 0,function(F){T.call(A,F)},function(F){b.call(A,F)})}catch(O){b.call(A,O)}}var I=i({},"constructor",C,!1);return C.prototype=I,i(I,"__NPO__",0,!1),i(C,"resolve",function(A){var O=this;return A&&typeof A=="object"&&A.__NPO__===1?A:new O(function(W,Z){if(typeof W!="function"||typeof Z!="function")throw TypeError("Not a function");W(A)})}),i(C,"reject",function(A){return new this(function(F,W){if(typeof F!="function"||typeof W!="function")throw TypeError("Not a function");W(A)})}),i(C,"all",function(A){var O=this;return u.call(A)!="[object Array]"?O.reject(TypeError("Not an array")):A.length===0?O.resolve([]):new O(function(W,Z){if(typeof W!="function"||typeof Z!="function")throw TypeError("Not a function");var q=A.length,fe=Array(q),ve=0;x(O,A,function(D,z){fe[D]=z,++ve===q&&W(fe)},Z)})}),i(C,"race",function(A){var O=this;return u.call(A)!="[object Array]"?O.reject(TypeError("Not an array")):new O(function(W,Z){if(typeof W!="function"||typeof Z!="function")throw TypeError("Not a function");x(O,A,function(fe,ve){W(ve)},Z)})}),C})}),dn=new WeakMap;function Sr(n,r,i){var a=dn.get(n.element)||{};r in a||(a[r]=[]),a[r].push(i),dn.set(n.element,a)}function Li(n,r){var i=dn.get(n.element)||{};return i[r]||[]}function Oi(n,r,i){var a=dn.get(n.element)||{};if(!a[r])return!0;if(!i)return a[r]=[],dn.set(n.element,a),!0;var l=a[r].indexOf(i);return l!==-1&&a[r].splice(l,1),dn.set(n.element,a),a[r]&&a[r].length===0}function dy(n,r){var i=Li(n,r);if(i.length<1)return!1;var a=i.shift();return Oi(n,r,a),a}function hy(n,r){var i=dn.get(n);dn.set(r,i),dn.delete(n)}function Wi(n){if(typeof n=="string")try{n=JSON.parse(n)}catch(r){return console.warn(r),{}}return n}function zn(n,r,i){if(!(!n.element.contentWindow||!n.element.contentWindow.postMessage)){var a={method:r};i!==void 0&&(a.value=i);var l=parseFloat(navigator.userAgent.toLowerCase().replace(/^.*msie (\d+).*$/,"$1"));l>=8&&l<10&&(a=JSON.stringify(a)),n.element.contentWindow.postMessage(a,n.origin)}}function py(n,r){r=Wi(r);var i=[],a;if(r.event){if(r.event==="error"){var l=Li(n,r.data.method);l.forEach(function(f){var h=new Error(r.data.message);h.name=r.data.name,f.reject(h),Oi(n,r.data.method,f)})}i=Li(n,"event:".concat(r.event)),a=r.data}else if(r.method){var u=dy(n,r.method);u&&(i.push(u),a=r.value)}i.forEach(function(f){try{if(typeof f=="function"){f.call(n,a);return}f.resolve(a)}catch{}})}var gy=["airplay","audio_tracks","audiotrack","autopause","autoplay","background","byline","cc","chapter_id","chapters","chromecast","color","colors","controls","dnt","end_time","fullscreen","height","id","initial_quality","interactive_params","keyboard","loop","maxheight","max_quality","maxwidth","min_quality","muted","play_button_position","playsinline","portrait","progress_bar","quality","quality_selector","responsive","skipping_forward","speed","start_time","texttrack","title","transcript","transparent","unmute_button","url","vimeo_logo","volume","watch_full_video","width"];function xf(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return gy.reduce(function(i,a){var l=n.getAttribute("data-vimeo-".concat(a));return(l||l==="")&&(i[a]=l===""?1:l),i},r)}function Sa(n,r){var i=n.html;if(!r)throw new TypeError("An element must be provided");if(r.getAttribute("data-vimeo-initialized")!==null)return r.querySelector("iframe");var a=document.createElement("div");return a.innerHTML=i,r.appendChild(a.firstChild),r.setAttribute("data-vimeo-initialized","true"),r.querySelector("iframe")}function wf(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0;return new Promise(function(a,l){if(!Wn(n))throw new TypeError("“".concat(n,"” is not a vimeo.com url."));var u=ly(n),f="https://".concat(u,"/api/oembed.json?url=").concat(encodeURIComponent(n));for(var h in r)r.hasOwnProperty(h)&&(f+="&".concat(h,"=").concat(encodeURIComponent(r[h])));var y="XDomainRequest"in window?new XDomainRequest:new XMLHttpRequest;y.open("GET",f,!0),y.onload=function(){if(y.status===404){l(new Error("“".concat(n,"” was not found.")));return}if(y.status===403){l(new Error("“".concat(n,"” is not embeddable.")));return}try{var v=JSON.parse(y.responseText);if(v.domain_status_code===403){Sa(v,i),l(new Error("“".concat(n,"” is not embeddable.")));return}a(v)}catch($){l($)}},y.onerror=function(){var v=y.status?" (".concat(y.status,")"):"";l(new Error("There was an error fetching the embed code from Vimeo".concat(v,".")))},y.send()})}function my(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document,r=[].slice.call(n.querySelectorAll("[data-vimeo-id], [data-vimeo-url]")),i=function(l){"console"in window&&console.error&&console.error("There was an error creating an embed: ".concat(l))};r.forEach(function(a){try{if(a.getAttribute("data-vimeo-defer")!==null)return;var l=xf(a),u=bf(l);wf(u,l,a).then(function(f){return Sa(f,a)}).catch(i)}catch(f){i(f)}})}function vy(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoPlayerResizeEmbeds_){window.VimeoPlayerResizeEmbeds_=!0;var r=function(a){if(Wn(a.origin)&&!(!a.data||a.data.event!=="spacechange")){for(var l=n.querySelectorAll("iframe"),u=0;u<l.length;u++)if(l[u].contentWindow===a.source){var f=l[u].parentElement;f.style.paddingBottom="".concat(a.data.data[0].bottom,"px");break}}};window.addEventListener("message",r)}}function yy(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoSeoMetadataAppended){window.VimeoSeoMetadataAppended=!0;var r=function(a){if(Wn(a.origin)){var l=Wi(a.data);if(!(!l||l.event!=="ready"))for(var u=n.querySelectorAll("iframe"),f=0;f<u.length;f++){var h=u[f],y=h.contentWindow===a.source;if(yf(h.src)&&y){var v=new Ea(h);v.callMethod("appendVideoMetadata",window.location.href)}}}};window.addEventListener("message",r)}}function by(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoCheckedUrlTimeParam){window.VimeoCheckedUrlTimeParam=!0;var r=function(l){"console"in window&&console.error&&console.error("There was an error getting video Id: ".concat(l))},i=function(l){if(Wn(l.origin)){var u=Wi(l.data);if(!(!u||u.event!=="ready"))for(var f=n.querySelectorAll("iframe"),h=function(){var $=f[y],T=$.contentWindow===l.source;if(yf($.src)&&T){var b=new Ea($);b.getVideoId().then(function(x){var m=new RegExp("[?&]vimeo_t_".concat(x,"=([^&#]*)")).exec(window.location.href);if(m&&m[1]){var S=decodeURI(m[1]);b.setCurrentTime(S)}}).catch(r)}},y=0;y<f.length;y++)h()}};window.addEventListener("message",i)}}function xy(){var n=function(){for(var a,l=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],u=0,f=l.length,h={};u<f;u++)if(a=l[u],a&&a[1]in document){for(u=0;u<a.length;u++)h[l[0][u]]=a[u];return h}return!1}(),r={fullscreenchange:n.fullscreenchange,fullscreenerror:n.fullscreenerror},i={request:function(l){return new Promise(function(u,f){var h=function v(){i.off("fullscreenchange",v),u()};i.on("fullscreenchange",h),l=l||document.documentElement;var y=l[n.requestFullscreen]();y instanceof Promise&&y.then(h).catch(f)})},exit:function(){return new Promise(function(l,u){if(!i.isFullscreen){l();return}var f=function y(){i.off("fullscreenchange",y),l()};i.on("fullscreenchange",f);var h=document[n.exitFullscreen]();h instanceof Promise&&h.then(f).catch(u)})},on:function(l,u){var f=r[l];f&&document.addEventListener(f,u)},off:function(l,u){var f=r[l];f&&document.removeEventListener(f,u)}};return Object.defineProperties(i,{isFullscreen:{get:function(){return!!document[n.fullscreenElement]}},element:{enumerable:!0,get:function(){return document[n.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return!!document[n.fullscreenEnabled]}}}),i}var wy={role:"viewer",autoPlayMuted:!0,allowedDrift:.3,maxAllowedDrift:1,minCheckInterval:.1,maxRateAdjustment:.2,maxTimeToCatchUp:1},_y=function(n){ty(i,n);var r=iy(i);function i(a,l){var u,f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},h=arguments.length>3?arguments[3]:void 0;return hf(this,i),u=r.call(this),$i(ki(u),"logger",void 0),$i(ki(u),"speedAdjustment",0),$i(ki(u),"adjustSpeed",function(){var y=jn(xt().mark(function v($,T){var b;return xt().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:if(u.speedAdjustment!==T){m.next=2;break}return m.abrupt("return");case 2:return m.next=4,$.getPlaybackRate();case 4:return m.t0=m.sent,m.t1=u.speedAdjustment,m.t2=m.t0-m.t1,m.t3=T,b=m.t2+m.t3,u.log("New playbackRate: ".concat(b)),m.next=12,$.setPlaybackRate(b);case 12:u.speedAdjustment=T;case 13:case"end":return m.stop()}},v)}));return function(v,$){return y.apply(this,arguments)}}()),u.logger=h,u.init(l,a,Lu(Lu({},wy),f)),u}return pf(i,[{key:"disconnect",value:function(){this.dispatchEvent(new Event("disconnect"))}},{key:"init",value:function(){var a=jn(xt().mark(function u(f,h,y){var v=this,$,T,b;return xt().wrap(function(m){for(;;)switch(m.prev=m.next){case 0:return m.next=2,this.waitForTOReadyState(f,"open");case 2:if(y.role!=="viewer"){m.next=10;break}return m.next=5,this.updatePlayer(f,h,y);case 5:$=Mu(f,"change",function(){return v.updatePlayer(f,h,y)}),T=this.maintainPlaybackPosition(f,h,y),this.addEventListener("disconnect",function(){T.cancel(),$.cancel()}),m.next=14;break;case 10:return m.next=12,this.updateTimingObject(f,h);case 12:b=Mu(h,["seeked","play","pause","ratechange"],function(){return v.updateTimingObject(f,h)},"on","off"),this.addEventListener("disconnect",function(){return b.cancel()});case 14:case"end":return m.stop()}},u,this)}));function l(u,f,h){return a.apply(this,arguments)}return l}()},{key:"updateTimingObject",value:function(){var a=jn(xt().mark(function u(f,h){return xt().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return v.t0=f,v.next=3,h.getCurrentTime();case 3:return v.t1=v.sent,v.next=6,h.getPaused();case 6:if(!v.sent){v.next=10;break}v.t2=0,v.next=13;break;case 10:return v.next=12,h.getPlaybackRate();case 12:v.t2=v.sent;case 13:v.t3=v.t2,v.t4={position:v.t1,velocity:v.t3},v.t0.update.call(v.t0,v.t4);case 16:case"end":return v.stop()}},u)}));function l(u,f){return a.apply(this,arguments)}return l}()},{key:"updatePlayer",value:function(){var a=jn(xt().mark(function u(f,h,y){var v,$,T;return xt().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:if(v=f.query(),$=v.position,T=v.velocity,typeof $=="number"&&h.setCurrentTime($),typeof T!="number"){x.next=25;break}if(T!==0){x.next=11;break}return x.next=6,h.getPaused();case 6:if(x.t0=x.sent,x.t0!==!1){x.next=9;break}h.pause();case 9:x.next=25;break;case 11:if(!(T>0)){x.next=25;break}return x.next=14,h.getPaused();case 14:if(x.t1=x.sent,x.t1!==!0){x.next=19;break}return x.next=18,h.play().catch(function(){var m=jn(xt().mark(function S(C){return xt().wrap(function(L){for(;;)switch(L.prev=L.next){case 0:if(!(C.name==="NotAllowedError"&&y.autoPlayMuted)){L.next=5;break}return L.next=3,h.setMuted(!0);case 3:return L.next=5,h.play().catch(function(A){return console.error("Couldn't play the video from TimingSrcConnector. Error:",A)});case 5:case"end":return L.stop()}},S)}));return function(S){return m.apply(this,arguments)}}());case 18:this.updatePlayer(f,h,y);case 19:return x.next=21,h.getPlaybackRate();case 21:if(x.t2=x.sent,x.t3=T,x.t2===x.t3){x.next=25;break}h.setPlaybackRate(T);case 25:case"end":return x.stop()}},u,this)}));function l(u,f,h){return a.apply(this,arguments)}return l}()},{key:"maintainPlaybackPosition",value:function(l,u,f){var h=this,y=f.allowedDrift,v=f.maxAllowedDrift,$=f.minCheckInterval,T=f.maxRateAdjustment,b=f.maxTimeToCatchUp,x=Math.min(b,Math.max($,v))*1e3,m=function(){var C=jn(xt().mark(function I(){var L,A,O,F,W;return xt().wrap(function(q){for(;;)switch(q.prev=q.next){case 0:if(q.t0=l.query().velocity===0,q.t0){q.next=6;break}return q.next=4,u.getPaused();case 4:q.t1=q.sent,q.t0=q.t1===!0;case 6:if(!q.t0){q.next=8;break}return q.abrupt("return");case 8:return q.t2=l.query().position,q.next=11,u.getCurrentTime();case 11:if(q.t3=q.sent,L=q.t2-q.t3,A=Math.abs(L),h.log("Drift: ".concat(L)),!(A>v)){q.next=22;break}return q.next=18,h.adjustSpeed(u,0);case 18:u.setCurrentTime(l.query().position),h.log("Resync by currentTime"),q.next=29;break;case 22:if(!(A>y)){q.next=29;break}return O=A/b,F=T,W=O<F?(F-O)/2:F,q.next=28,h.adjustSpeed(u,W*Math.sign(L));case 28:h.log("Resync by playbackRate");case 29:case"end":return q.stop()}},I)}));return function(){return C.apply(this,arguments)}}(),S=setInterval(function(){return m()},x);return{cancel:function(){return clearInterval(S)}}}},{key:"log",value:function(l){var u;(u=this.logger)===null||u===void 0||u.call(this,"TimingSrcConnector: ".concat(l))}},{key:"waitForTOReadyState",value:function(l,u){return new Promise(function(f){var h=function y(){l.readyState===u?f():l.addEventListener("readystatechange",y,{once:!0})};h()})}}]),i}(sa(EventTarget)),ir=new WeakMap,ta=new WeakMap,Tt={},Ea=function(){function n(r){var i=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(hf(this,n),window.jQuery&&r instanceof jQuery&&(r.length>1&&window.console&&console.warn&&console.warn("A jQuery object with multiple elements was passed, using the first element."),r=r[0]),typeof document<"u"&&typeof r=="string"&&(r=document.getElementById(r)),!ay(r))throw new TypeError("You must pass either a valid element or a valid id.");if(r.nodeName!=="IFRAME"){var l=r.querySelector("iframe");l&&(r=l)}if(r.nodeName==="IFRAME"&&!Wn(r.getAttribute("src")||""))throw new Error("The player element passed isn’t a Vimeo embed.");if(ir.has(r))return ir.get(r);this._window=r.ownerDocument.defaultView,this.element=r,this.origin="*";var u=new Vt(function(h,y){if(i._onMessage=function(T){if(!(!Wn(T.origin)||i.element.contentWindow!==T.source)){i.origin==="*"&&(i.origin=T.origin);var b=Wi(T.data),x=b&&b.event==="error",m=x&&b.data&&b.data.method==="ready";if(m){var S=new Error(b.data.message);S.name=b.data.name,y(S);return}var C=b&&b.event==="ready",I=b&&b.method==="ping";if(C||I){i.element.setAttribute("data-ready","true"),h();return}py(i,b)}},i._window.addEventListener("message",i._onMessage),i.element.nodeName!=="IFRAME"){var v=xf(r,a),$=bf(v);wf($,v,r).then(function(T){var b=Sa(T,r);return i.element=b,i._originalElement=r,hy(r,b),ir.set(i.element,i),T}).catch(y)}});if(ta.set(this,u),ir.set(this.element,this),this.element.nodeName==="IFRAME"&&zn(this,"ping"),Tt.isEnabled){var f=function(){return Tt.exit()};this.fullscreenchangeHandler=function(){Tt.isFullscreen?Sr(i,"event:exitFullscreen",f):Oi(i,"event:exitFullscreen",f),i.ready().then(function(){zn(i,"fullscreenchange",Tt.isFullscreen)})},Tt.on("fullscreenchange",this.fullscreenchangeHandler)}return this}return pf(n,[{key:"callMethod",value:function(i){for(var a=this,l=arguments.length,u=new Array(l>1?l-1:0),f=1;f<l;f++)u[f-1]=arguments[f];if(i==null)throw new TypeError("You must pass a method name.");return new Vt(function(h,y){return a.ready().then(function(){Sr(a,i,{resolve:h,reject:y}),zn(a,i,u)}).catch(y)})}},{key:"get",value:function(i){var a=this;return new Vt(function(l,u){return i=Iu(i,"get"),a.ready().then(function(){Sr(a,i,{resolve:l,reject:u}),zn(a,i)}).catch(u)})}},{key:"set",value:function(i,a){var l=this;return new Vt(function(u,f){if(i=Iu(i,"set"),a==null)throw new TypeError("There must be a value to set.");return l.ready().then(function(){Sr(l,i,{resolve:u,reject:f}),zn(l,i,a)}).catch(f)})}},{key:"on",value:function(i,a){if(!i)throw new TypeError("You must pass an event name.");if(!a)throw new TypeError("You must pass a callback function.");if(typeof a!="function")throw new TypeError("The callback must be a function.");var l=Li(this,"event:".concat(i));l.length===0&&this.callMethod("addEventListener",i).catch(function(){}),Sr(this,"event:".concat(i),a)}},{key:"off",value:function(i,a){if(!i)throw new TypeError("You must pass an event name.");if(a&&typeof a!="function")throw new TypeError("The callback must be a function.");var l=Oi(this,"event:".concat(i),a);l&&this.callMethod("removeEventListener",i).catch(function(u){})}},{key:"loadVideo",value:function(i){return this.callMethod("loadVideo",i)}},{key:"ready",value:function(){var i=ta.get(this)||new Vt(function(a,l){l(new Error("Unknown player. Probably unloaded."))});return Vt.resolve(i)}},{key:"addCuePoint",value:function(i){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.callMethod("addCuePoint",{time:i,data:a})}},{key:"removeCuePoint",value:function(i){return this.callMethod("removeCuePoint",i)}},{key:"enableTextTrack",value:function(i,a){if(!i)throw new TypeError("You must pass a language.");return this.callMethod("enableTextTrack",{language:i,kind:a})}},{key:"disableTextTrack",value:function(){return this.callMethod("disableTextTrack")}},{key:"pause",value:function(){return this.callMethod("pause")}},{key:"play",value:function(){return this.callMethod("play")}},{key:"requestFullscreen",value:function(){return Tt.isEnabled?Tt.request(this.element):this.callMethod("requestFullscreen")}},{key:"exitFullscreen",value:function(){return Tt.isEnabled?Tt.exit():this.callMethod("exitFullscreen")}},{key:"getFullscreen",value:function(){return Tt.isEnabled?Vt.resolve(Tt.isFullscreen):this.get("fullscreen")}},{key:"requestPictureInPicture",value:function(){return this.callMethod("requestPictureInPicture")}},{key:"exitPictureInPicture",value:function(){return this.callMethod("exitPictureInPicture")}},{key:"getPictureInPicture",value:function(){return this.get("pictureInPicture")}},{key:"remotePlaybackPrompt",value:function(){return this.callMethod("remotePlaybackPrompt")}},{key:"unload",value:function(){return this.callMethod("unload")}},{key:"destroy",value:function(){var i=this;return new Vt(function(a){if(ta.delete(i),ir.delete(i.element),i._originalElement&&(ir.delete(i._originalElement),i._originalElement.removeAttribute("data-vimeo-initialized")),i.element&&i.element.nodeName==="IFRAME"&&i.element.parentNode&&(i.element.parentNode.parentNode&&i._originalElement&&i._originalElement!==i.element.parentNode?i.element.parentNode.parentNode.removeChild(i.element.parentNode):i.element.parentNode.removeChild(i.element)),i.element&&i.element.nodeName==="DIV"&&i.element.parentNode){i.element.removeAttribute("data-vimeo-initialized");var l=i.element.querySelector("iframe");l&&l.parentNode&&(l.parentNode.parentNode&&i._originalElement&&i._originalElement!==l.parentNode?l.parentNode.parentNode.removeChild(l.parentNode):l.parentNode.removeChild(l))}i._window.removeEventListener("message",i._onMessage),Tt.isEnabled&&Tt.off("fullscreenchange",i.fullscreenchangeHandler),a()})}},{key:"getAutopause",value:function(){return this.get("autopause")}},{key:"setAutopause",value:function(i){return this.set("autopause",i)}},{key:"getBuffered",value:function(){return this.get("buffered")}},{key:"getCameraProps",value:function(){return this.get("cameraProps")}},{key:"setCameraProps",value:function(i){return this.set("cameraProps",i)}},{key:"getChapters",value:function(){return this.get("chapters")}},{key:"getCurrentChapter",value:function(){return this.get("currentChapter")}},{key:"getColor",value:function(){return this.get("color")}},{key:"getColors",value:function(){return Vt.all([this.get("colorOne"),this.get("colorTwo"),this.get("colorThree"),this.get("colorFour")])}},{key:"setColor",value:function(i){return this.set("color",i)}},{key:"setColors",value:function(i){if(!Array.isArray(i))return new Vt(function(u,f){return f(new TypeError("Argument must be an array."))});var a=new Vt(function(u){return u(null)}),l=[i[0]?this.set("colorOne",i[0]):a,i[1]?this.set("colorTwo",i[1]):a,i[2]?this.set("colorThree",i[2]):a,i[3]?this.set("colorFour",i[3]):a];return Vt.all(l)}},{key:"getCuePoints",value:function(){return this.get("cuePoints")}},{key:"getCurrentTime",value:function(){return this.get("currentTime")}},{key:"setCurrentTime",value:function(i){return this.set("currentTime",i)}},{key:"getDuration",value:function(){return this.get("duration")}},{key:"getEnded",value:function(){return this.get("ended")}},{key:"getLoop",value:function(){return this.get("loop")}},{key:"setLoop",value:function(i){return this.set("loop",i)}},{key:"setMuted",value:function(i){return this.set("muted",i)}},{key:"getMuted",value:function(){return this.get("muted")}},{key:"getPaused",value:function(){return this.get("paused")}},{key:"getPlaybackRate",value:function(){return this.get("playbackRate")}},{key:"setPlaybackRate",value:function(i){return this.set("playbackRate",i)}},{key:"getPlayed",value:function(){return this.get("played")}},{key:"getQualities",value:function(){return this.get("qualities")}},{key:"getQuality",value:function(){return this.get("quality")}},{key:"setQuality",value:function(i){return this.set("quality",i)}},{key:"getRemotePlaybackAvailability",value:function(){return this.get("remotePlaybackAvailability")}},{key:"getRemotePlaybackState",value:function(){return this.get("remotePlaybackState")}},{key:"getSeekable",value:function(){return this.get("seekable")}},{key:"getSeeking",value:function(){return this.get("seeking")}},{key:"getTextTracks",value:function(){return this.get("textTracks")}},{key:"getVideoEmbedCode",value:function(){return this.get("videoEmbedCode")}},{key:"getVideoId",value:function(){return this.get("videoId")}},{key:"getVideoTitle",value:function(){return this.get("videoTitle")}},{key:"getVideoWidth",value:function(){return this.get("videoWidth")}},{key:"getVideoHeight",value:function(){return this.get("videoHeight")}},{key:"getVideoUrl",value:function(){return this.get("videoUrl")}},{key:"getVolume",value:function(){return this.get("volume")}},{key:"setVolume",value:function(i){return this.set("volume",i)}},{key:"setTimingSrc",value:function(){var r=jn(xt().mark(function a(l,u){var f=this,h;return xt().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:if(l){v.next=2;break}throw new TypeError("A Timing Object must be provided.");case 2:return v.next=4,this.ready();case 4:return h=new _y(this,l,u),zn(this,"notifyTimingObjectConnect"),h.addEventListener("disconnect",function(){return zn(f,"notifyTimingObjectDisconnect")}),v.abrupt("return",h);case 8:case"end":return v.stop()}},a,this)}));function i(a,l){return r.apply(this,arguments)}return i}()}]),n}();vf||(Tt=xy(),my(),vy(),yy(),by());const Cy=(n,r,i,a)=>({id:parseInt(n,10),width:typeof r=="number"?r:void 0,height:typeof i=="number"?i:void 0,...a}),Sy=async(n,r)=>{if(n)try{const i=[];typeof r.loop=="boolean"&&i.push(n.getLoop().then(a=>{if(a!==r.loop)return n.setLoop(r.loop)})),r.color&&i.push(n.getColor().then(a=>{if(a!==r.color)return n.setColor(r.color)})),typeof r.muted=="boolean"&&i.push(n.getMuted().then(a=>{if(a!==r.muted)return n.setMuted(r.muted)})),await Promise.all(i)}catch(i){console.warn("Error enforcing player config:",i)}},Ey=n=>({ready:n.onReady,play:n.onPlay,pause:n.onPlayerPause,ended:n.onEnd,timeupdate:n.onTimeUpdate?r=>{var i;(i=n.onTimeUpdate)==null||i.call(n,r.seconds)}:void 0,progress:n.onProgress?r=>{var i;(i=n.onProgress)==null||i.call(n,r.percent)}:void 0,seeking:n.onSeeking,seeked:n.onSeeked,error:n.onPlayerError}),Ay=n=>{var i,a;const r=Ce();return d.useMemo(()=>{var u,f;return{...(u=r.__hd__.vimeo)==null?void 0:u.playerSettings,...n,color:(n==null?void 0:n.color)||((f=r.__hd__.vimeo)==null?void 0:f.defaultAccentColor)||"#00adef"}},[(i=r.__hd__.vimeo)==null?void 0:i.playerSettings,(a=r.__hd__.vimeo)==null?void 0:a.defaultAccentColor,n])},$y=(n,r,i,a,l)=>{const u=d.useRef(null);return d.useEffect(()=>n.current?((async()=>{try{const h=Cy(r,i,a,l);n.current&&(u.current=new Ea(n.current,h),setTimeout(()=>{Sy(u.current,l)},100))}catch(h){console.error("Failed to initialize Vimeo player:",h)}})(),()=>{u.current&&(u.current.destroy(),u.current=null)}):void 0,[r,i,a]),u},Ty=(n,r)=>{d.useEffect(()=>{if(!n.current||!r)return;const i=n.current,a=Ey(r);return Object.entries(a).forEach(([l,u])=>{u&&i.on(l,u)}),()=>{n.current&&Object.entries(a).forEach(([l,u])=>{if(u)try{n.current.off(l,u)}catch{}})}},[n,r])},ky=re.div`
|
|
253
253
|
position: relative;
|
|
254
254
|
width: 100%;
|
|
255
255
|
height: 100%;
|
|
256
256
|
overflow: hidden;
|
|
257
|
-
`,
|
|
257
|
+
`,Ry=re.div`
|
|
258
258
|
position: relative;
|
|
259
259
|
padding-bottom: ${({$aspectRatio:n})=>`${n}%`};
|
|
260
260
|
height: 0;
|
|
261
261
|
overflow: hidden;
|
|
262
|
-
`,
|
|
262
|
+
`,Ly=re.div`
|
|
263
263
|
position: absolute;
|
|
264
264
|
top: 0;
|
|
265
265
|
left: 0;
|
|
266
266
|
width: 100%;
|
|
267
267
|
height: 100%;
|
|
268
|
-
`,
|
|
268
|
+
`,Oy=({videoId:n,width:r="100%",height:i="auto",config:a,callbacks:l})=>{var b;const u=Ce(),f=d.useRef(null),[h]=d.useState(`vimeo-player-${Math.random().toString(36).substr(2,9)}`),y=i==="auto",v=((b=u.__hd__.vimeo)==null?void 0:b.aspectRatio)||56.25,$=Ay(a),T=$y(f,n,r,i,$);return Ty(T,l),y?w.jsx(Ry,{$aspectRatio:v,children:w.jsx(Ly,{ref:f,id:h})}):w.jsx(ky,{style:{width:r,height:i},children:w.jsx("div",{ref:f,id:h,style:{width:"100%",height:"100%"}})})},Iy={color:"#00adef",autoplay:!1,muted:!1,loop:!1,title:!1,byline:!1,portrait:!1,dnt:!0,playsinline:!0,background:!1,controls:!0,pip:!1,responsive:!0,width:"100%"},My="https://player.vimeo.com",Fy=({videoId:n,playerWidth:r,playerHeight:i,config:a,callbacks:l,...u})=>w.jsx(U,{overflow:"hidden",...u,children:w.jsx(Oy,{videoId:n,width:r,height:i,config:a,callbacks:l})});function Fu({item:n,index:r,renderItem:i}){return w.jsx(U,{flexShrink:0,children:i({item:n,index:r,isFocused:!0})})}function _i({item:n,index:r,isFocused:i,renderItem:a,itemsPerView:l,itemWidth:u}){const f=We.isNil(l)?void 0:`0 0 ${100/l}%`;return w.jsx(U,{flex:We.isNil(u)?f:void 0,width:u,overflow:"hidden",children:a({item:n,index:r,isFocused:i})})}const zy=/^(\d+|\d*\.\d+)(px)$/,jy=(n,r)=>{if(typeof r=="string"){if(Bn(r))return n.sizes[r];if(zy.test(r))return parseInt(r.replace("px",""),10);throw new Error("Invalid itemWidth, must be a Size or a number or a valid pixel value")}return r},na=(n,r,i,a)=>{if(a)return`calc(-${n} * (${a}px + ${i}px))`;const l=n*(100/r),u=n*i;return`calc(-${l}% - ${u}px)`},or=(n,r,i,a)=>a?`${a(n,r)}${i||""}`:`carousel-item-${r}${i||""}`,By=En`
|
|
269
269
|
0% { transform: translateX(0); }
|
|
270
270
|
100% { transform: translateX(-50%); } /* Scroll one full set of items */
|
|
271
|
-
|
|
271
|
+
`,Py=re(U)`
|
|
272
272
|
display: flex;
|
|
273
273
|
align-items: stretch; // Use stretch to ensure items fill height if needed
|
|
274
274
|
gap: ${({$itemSpacing:n})=>n||0}px;
|
|
@@ -276,19 +276,19 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
276
276
|
transition: ${({$autoScroll:n})=>n?"none":"transform 0.5s ease-in-out"};
|
|
277
277
|
|
|
278
278
|
/* Apply animation conditionally using the css helper */
|
|
279
|
-
animation: ${({$autoScroll:n,$scrollDuration:r})=>n?
|
|
280
|
-
`;function
|
|
279
|
+
animation: ${({$autoScroll:n,$scrollDuration:r})=>n?ot`${By} ${r}s linear infinite`:"none"};
|
|
280
|
+
`;function Wy({itemSpacing:n,itemsWrapperRef:r,items:i,renderItem:a,keyExtractor:l,autoScroll:u,activeIndex:f,virtualActiveIndex:h,itemsPerView:y=1,itemWidth:v,infiniteLoop:$=!1}){const T=Ce(),x=T.__hd__.carousel.autoScroll,m=typeof u=="object"&&u.speed||x.defaultSpeed,S=d.useMemo(()=>{if(i.length<=y)return i;const F=i.length%y;return F===0?i:i.slice(0,i.length-F)},[i,y]),C=u?S.length*(m/5):0,I=T.spaces[n||T.__hd__.carousel.container.defaultItemSpacing]||0,L=$&&!u&&S.length>1,A=d.useMemo(()=>{if(v)return v*y+I*(y-1)},[v,y,I]),O=d.useMemo(()=>{if(u)return w.jsxs(w.Fragment,{children:[S.map((F,W)=>w.jsx(Fu,{item:F,index:W,renderItem:a},or(F,W,"-auto-scroll",l))),S.map((F,W)=>w.jsx(Fu,{item:F,index:W+S.length,renderItem:a},or(F,W,"-duplicate",l)))]});if(L){const F=W=>{const Z=h-S.length;return W>=Z&&W<Z+y};return w.jsxs(w.Fragment,{children:[S.map((W,Z)=>{const q=Z;return w.jsx(_i,{item:W,index:q,isFocused:F(Z),renderItem:a,itemsPerView:y,itemWidth:v},or(W,q,"-prefix",l))}),S.map((W,Z)=>w.jsx(_i,{item:W,index:Z,isFocused:F(Z),renderItem:a,itemsPerView:y,itemWidth:v},or(W,Z,void 0,l))),S.map((W,Z)=>{const q=Z;return w.jsx(_i,{item:W,index:q,isFocused:F(Z),renderItem:a,itemsPerView:y,itemWidth:v},or(W,q,"-suffix",l))})]})}return S.map((F,W)=>w.jsx(_i,{item:F,index:W,isFocused:W>=f&&W<f+y,renderItem:a,itemsPerView:y,itemWidth:v},or(F,W,void 0,l)))},[u,L,S,l,a,h,y,v,f]);return w.jsx(U,{width:A,display:"flex",children:w.jsx(Py,{$autoScroll:!!u,$scrollDuration:C,$itemSpacing:I,ref:r,children:O})})}const Dy=re(ba)`
|
|
281
281
|
transition: color 0.2s ease;
|
|
282
282
|
color: ${({$color:n,theme:r})=>r.colors[n]};
|
|
283
|
-
`,
|
|
283
|
+
`,Ny=re(Lr)`
|
|
284
284
|
transition: color 0.2s ease;
|
|
285
285
|
color: ${({$color:n,theme:r})=>r.colors[n]};
|
|
286
|
-
`;function
|
|
287
|
-
opacity ${l.duration}ms ${l.easing}`,height:r?f:0,opacity:r?1:0,children:
|
|
286
|
+
`;function zu({isLeft:n,onPrev:r,onNext:i}){const a=d.useRef(null),l=Bi(a),u=Ce(),f=u.__hd__.carousel.navigation,h=u.spaces[f.buttonPadding]*2+u.sizes[f.iconSize],y=mt(u,f.iconSize),v=l?f.buttonBackgroundColor:f.buttonColor,$=typeof y=="string"?parseInt(y,10):y;return w.jsx(qt,{onClick:n?r:i,ml:n?{xs:"none",sm:f.marginHorizontal}:void 0,mr:n?void 0:{xs:"none",sm:f.marginHorizontal},ref:a,children:w.jsx(U,{display:"flex",justifyContent:"center",alignItems:"center",width:h,height:h,p:f.buttonPadding,r:f.buttonBorderRadius,bgColor:l?f.buttonColor:f.buttonBackgroundColor,transition:"background-color 0.2s ease",zIndex:u.zIndex.getZIndex("AIC_Kits_Carousel"),boxShadow:"0 0 16px 0 rgba(0, 0, 0, 0.1)",ref:a,children:n?w.jsx(Dy,{size:$,weight:"bold",$color:v}):w.jsx(Ny,{size:$,weight:"bold",$color:v})})})}function Zy({itemsCount:n,activeIndex:r,onDotClick:i}){const a=Ce(),l=a.__hd__.carousel.pagination,u=l.container,f=mt(a,l.dotSize);return w.jsx(U,{display:"flex",justifyContent:"center",alignItems:"center",mt:u.marginTop,p:u.padding,r:u.borderRadius,bgColor:u.backgroundColor,gap:u.gap,children:Array.from({length:n}).map((h,y)=>w.jsx(U,{width:f,height:f,r:l.dotBorderRadius,bgColor:y===r?l.activeColor:l.inactiveColor,cursor:"pointer",transition:"background-color 0.3s ease",onClick:()=>i(y)},`dot-${y}`))})}function Hy({items:n,renderItem:r,showPagination:i=!0,showNavigation:a=!0,autoPlay:l=!1,autoScroll:u=!1,initialIndex:f=0,onIndexChange:h,keyExtractor:y,itemSpacing:v,itemsPerView:$=1,itemWidth:T,infiniteLoop:b=!1,...x},m){const S=Ce(),{width:C}=nf(),I=S.__hd__.carousel,L=d.useMemo(()=>{if(n.length<=$)return n;const X=n.length%$;return X===0?n:n.slice(0,n.length-X)},[n,$]),[A,O]=d.useState(f),[F,W]=d.useState(f),Z=d.useRef(null),q=d.useRef(null),fe=d.useRef(null),ve=d.useRef(!1),[Oe,D]=d.useState(!1),[z,H]=d.useState(null),[ie,Y]=d.useState(0),ee=!!u,K=ee?1:Math.max(1,$),de=ee?void 0:jy(S,T),Ie=S.spaces[v||I.container.defaultItemSpacing]||0,Se=ee?!1:i,Ee=ee?!1:a,Fe=b&&!ee&&L.length>1,Ue=Math.max(0,L.length-K),rt=Math.ceil(L.length/K),Me=typeof l=="object"&&l.delay||3e3,Ke=d.useCallback(X=>{if(L.length===0)return 0;for(;X<0;)X+=L.length;return X%L.length},[L.length]),ue=d.useCallback(X=>{if(!Fe)return{virtualIndex:X,realIndex:X,needsSnap:!1};let ze=X,Re=X,te=!1;return X<0||X>Ue?(ze=L.length+X,Re=Ke(X),te=!0):(ze=L.length+X,Re=X,te=!1),{virtualIndex:ze,realIndex:Re,needsSnap:te}},[Fe,L.length,Ue,Ke]),xe=d.useCallback(X=>{if(!Fe||!Z.current)return;const ze=L.length+X,Re=na(ze,K,Ie,de);Z.current.style.transition="none",Z.current.style.transform=`translateX(${Re})`,W(ze),requestAnimationFrame(()=>{Z.current&&(Z.current.style.transition="")})},[Fe,L.length,K,Ie,de]),$e=d.useCallback(()=>{if(Z.current){const X=window.getComputedStyle(Z.current),ze=new DOMMatrixReadOnly(X.transform);Y(ze.e)}},[]),ye=d.useCallback(X=>{const ze=Fe?X:Math.max(0,Math.min(X,Ue)),Re=ue(ze),te=Math.max(0,Math.min(ze,Ue));if((te!==A||Oe)&&(O(te),h==null||h(te)),Z.current&&!ee){const ce=Re.virtualIndex;W(ce);const le=na(ce,K,Ie,de);Z.current.style.transform=`translateX(${le})`,Z.current.style.transition="",queueMicrotask(()=>{$e()}),Re.needsSnap&&(fe.current&&clearTimeout(fe.current),fe.current=setTimeout(()=>{xe(Re.realIndex),O(Re.realIndex),h==null||h(Re.realIndex)},500))}},[Fe,Ue,A,h,ee,K,Ie,de,$e,Oe,ue,xe]),G=d.useCallback(()=>{b&&L.length>0?ye(A+K):ye(Math.min(A+K,Ue))},[b,A,K,Ue,L.length,ye]),oe=d.useCallback(()=>{b&&L.length>0?ye(A-K):ye(Math.max(A-K,0))},[b,A,K,L.length,ye]);d.useImperativeHandle(m,()=>({goToIndex:ye,goToNext:G,goToPrev:oe}));const N=d.useCallback(()=>{q.current&&clearTimeout(q.current)},[]),Q=()=>{ve.current=!0,l&&!ee&&N(),ee&&Z.current&&(Z.current.style.animationPlayState="paused")},se=d.useCallback(()=>{if(ve.current=!1,l&&!ee&&!Oe){N();const X=(A+1)%L.length,ze=Math.min(X,Ue);q.current=setTimeout(()=>ye(ze),Me)}ee&&Z.current&&(Z.current.style.animationPlayState="running")},[l,ee,Oe,N,A,L.length,Ue,Me,ye]),be=d.useCallback(X=>{ee||n.length<=K||(fe.current&&(clearTimeout(fe.current),fe.current=null),$e(),N(),D(!0),H(X),Z.current&&(Z.current.style.transition="none"))},[ee,N,n.length,K,$e]),ke=d.useCallback(X=>{if(!Oe||z===null||ee||!Z.current)return;const ze=X-z;Z.current.style.transform=`translateX(${ie+ze}px)`},[Oe,z,ee,ie]),Ze=d.useCallback(()=>{if(!Oe||z===null||ee)return;D(!1);let X=de;!X&&Z.current&&Z.current.firstChild&&(X=Z.current.firstChild.clientWidth),!X&&Z.current&&(X=Z.current.clientWidth/K);const ze=(X||0)/3;if(Z.current){const Re=window.getComputedStyle(Z.current),le=new DOMMatrixReadOnly(Re.transform).e-ie;Z.current.style.transition="",Math.abs(le)>ze?le<0?G():oe():ye(A)}H(null),l&&!ve.current&&(q.current=setTimeout(()=>G(),Me))},[Oe,z,ee,de,K,G,oe,A,l,Me,ie,ye]),Qe=Math.floor(A/K),Xe=X=>ye(X*K);d.useEffect(()=>{if(!l||ee||ve.current||Oe){N();return}const X=(A+1)%L.length,ze=Math.min(X,Ue);return q.current=setTimeout(()=>ye(ze),Me),N},[A,l,Me,ye,N,ee,L.length,Ue,Oe]),d.useEffect(()=>{if(!wt()){if(Fe){const X=L.length+f;if(W(X),Z.current){const ze=na(X,K,Ie,de);Z.current.style.transform=`translateX(${ze})`,Z.current.style.transition="none",requestAnimationFrame(()=>{Z.current&&(Z.current.style.transition="")})}}ye(f)}},[C,f,Fe,L.length,K,Ie,de]),d.useEffect(()=>()=>{q.current&&clearTimeout(q.current),fe.current&&clearTimeout(fe.current)},[]);const Je=()=>{Oe&&Z.current&&Ze(),se()};return w.jsxs(U,{fw:!0,overflow:"hidden",onMouseEnter:Q,onMouseLeave:Je,onTouchStart:X=>be(X.touches[0].clientX),onTouchMove:X=>ke(X.touches[0].clientX),onTouchEnd:Ze,onMouseDown:X=>{X.button===0&&be(X.clientX)},onMouseMove:X=>{X.buttons===1&&Oe&&ke(X.clientX)},onMouseUp:X=>{X.button===0&&Oe&&Ze()},display:"flex",flexDirection:"column",alignItems:"center",...x,children:[w.jsxs(U,{position:"relative",display:"flex",justifyContent:"center",alignItems:"center",fw:!0,children:[w.jsx(Wy,{itemsWrapperRef:Z,itemSpacing:v,activeIndex:A,virtualActiveIndex:F,items:L,renderItem:r,keyExtractor:y,autoScroll:u,itemsPerView:K,itemWidth:de,infiniteLoop:b}),Ee&&n.length>K&&w.jsx(U,{position:"absolute",left:0,top:"50%",transform:"translateY(-50%)",children:w.jsx(zu,{isLeft:!0,onPrev:oe,onNext:G})}),Ee&&n.length>K&&w.jsx(U,{position:"absolute",right:0,top:"50%",transform:"translateY(-50%)",children:w.jsx(zu,{isLeft:!1,onPrev:oe,onNext:G})})]}),Se&&rt>1&&w.jsx(Zy,{itemsCount:rt,activeIndex:Qe,onDotClick:Xe})]})}const Vy=d.forwardRef(Hy);function Uy({renderContent:n,isExpanded:r}){const a=Ce().__hd__.accordion,l=a.animation,u=d.useRef(null),[f,h]=d.useState(0);return d.useEffect(()=>{r&&u.current&&h(u.current.scrollHeight)},[r,n]),w.jsx(U,{overflow:"hidden",transition:`height ${l.duration}ms ${l.easing},
|
|
287
|
+
opacity ${l.duration}ms ${l.easing}`,height:r?f:0,opacity:r?1:0,children:w.jsx(U,{ref:u,pt:a.gap,children:n()})})}const qy=re(Lr)`
|
|
288
288
|
transition: transform ${({$duration:n,$easing:r})=>`${n}ms ${r}`};
|
|
289
289
|
transform: rotate(${({$isExpanded:n})=>n?"90deg":"0deg"});
|
|
290
290
|
flex-shrink: 0; /* Prevent icon from shrinking */
|
|
291
|
-
`;function
|
|
291
|
+
`;function Gy({renderHeader:n,isExpanded:r,onToggle:i,disabled:a,iconPosition:l="left"}){const u=Ce(),f=u.__hd__.accordion,h=f.header,y=f.animation,v=mt(u,h.iconSize),$=u.colors[h.iconColor]||h.iconColor,T=w.jsx(qt,{onClick:a?void 0:i,cursor:a?"not-allowed":"pointer",opacity:a?h.disabledOpacity:1,children:w.jsx(qy,{size:v,color:$,weight:"bold",$isExpanded:r,$duration:y.duration,$easing:y.easing})});return w.jsx(qt,{onClick:a?void 0:i,cursor:a?"not-allowed":"pointer",opacity:a?h.disabledOpacity:1,useScaleAnimation:!1,children:w.jsxs(U,{display:"flex",alignItems:"center",gap:l==="none"?void 0:h.gap,children:[l==="left"&&T,w.jsx(U,{flex:1,children:n(r)}),l==="right"&&T]})})}function Ky({renderHeader:n,renderContent:r,initialExpanded:i=!1,expanded:a,onExpandedChange:l,disabled:u=!1,iconPosition:f="left",...h}){const v=Ce().__hd__.accordion,$=a!==void 0,[T,b]=d.useState(i),x=$?a:T;d.useEffect(()=>{$&&b(a)},[$,a]);const m=d.useCallback(()=>{if(u)return;const S=!x;$||b(S),l==null||l(S)},[u,x,$,l]);return w.jsxs(U,{p:v.paddingVertical,px:v.paddingHorizontal,r:v.borderRadius,b:v.borderWidth,borderColor:v.borderColor,bgColor:v.backgroundColor,...h,children:[w.jsx(Gy,{renderHeader:n,isExpanded:x,onToggle:m,disabled:u,iconPosition:f}),w.jsx(Uy,{renderContent:r,isExpanded:x})]})}const _f=(n,r,i,a)=>i?n.colors[i]:a==="solid"?r==="white"?n.colors.grey900:n.colors.white:n.colors[r],Xy=re(U)`
|
|
292
292
|
display: inline-flex; /* Use inline-flex to allow tags to flow like text */
|
|
293
293
|
align-items: center;
|
|
294
294
|
justify-content: center;
|
|
@@ -298,60 +298,60 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
298
298
|
gap: ${({theme:n,$gap:r})=>n.spaces[r]}px;
|
|
299
299
|
padding: ${({theme:n,$paddingVertical:r,$paddingHorizontal:i})=>`${n.spaces[r]}px ${n.spaces[i]}px`};
|
|
300
300
|
|
|
301
|
-
border-radius: ${({theme:n,$radius:r})=>
|
|
301
|
+
border-radius: ${({theme:n,$radius:r})=>Ku(r)?`${n.radii[r]}px`:r};
|
|
302
302
|
|
|
303
303
|
background-color: ${({theme:n,$variant:r,$color:i})=>r==="solid"?n.colors[i]:n.colors.transparent};
|
|
304
304
|
|
|
305
305
|
border-color: ${({theme:n,$variant:r,$color:i})=>r==="outlined"?n.colors[i]:n.colors.transparent};
|
|
306
|
-
`,
|
|
307
|
-
color: ${({theme:n,$color:r,$textColor:i,$variant:
|
|
306
|
+
`,Yy=re(ct)`
|
|
307
|
+
color: ${({theme:n,$color:r,$textColor:i,$variant:a})=>_f(n,r,i,a)};
|
|
308
308
|
font-size: ${({theme:n,$fontSize:r})=>n.__hd__.text.fontSizes[r]}px;
|
|
309
309
|
/* Use medium weight for tags by default, can be customized via theme if needed */
|
|
310
310
|
font-weight: ${({theme:n})=>n.__hd__.text.fontWeights.medium};
|
|
311
311
|
line-height: 1; /* Ensure tight line height for tags */
|
|
312
|
-
`,
|
|
312
|
+
`,Qy=({variant:n,color:r,textColor:i,size:a,radius:l,icon:u,rightIcon:f,children:h,style:y,"data-testid":v,...$})=>{const T=Ce(),b=T.__hd__.tag,x=n??b.defaultVariant,m=r??b.defaultColor,S=a??b.defaultSize,C=l??b.defaultRadius,I=_f(T,m,i,x),L=d.useMemo(()=>b.sizes[S],[b.sizes,S]);return w.jsxs(Xy,{$variant:x,$color:m,$textColor:i,$size:S,$radius:C,$paddingVertical:L.paddingVertical,$paddingHorizontal:L.paddingHorizontal,$fontSize:L.fontSize,$gap:L.gap,$iconSize:L.iconSize,style:y,"data-testid":v,...$,children:[u&&w.jsx(Ut,{type:"icon",art:u,size:L.iconSize,color:I,weight:"regular"}),w.jsx(Yy,{$color:m,$textColor:i,$variant:x,$fontSize:L.fontSize,as:"span",children:h}),f&&w.jsx(Ut,{type:"icon",art:f,size:L.iconSize,color:I,weight:"regular"})]})},Jy=({label:n,checked:r,onChange:i,disabled:a=!1,color:l,size:u,style:f,"data-testid":h})=>{const y=Ce(),v=y.__hd__.checkbox,[$,T]=d.useState(r);d.useEffect(()=>{T(r)},[r]);const b=l??v.defaultColor,x=u??v.defaultSize,m=v.sizes[x],S=v.animation,C=mt(y,m.iconSize),I=$?b:"white",L=$?b:v.uncheckedBorderColor,A=a?v.disabledColor:I,O=a?v.disabledColor:L,F=()=>{if(a)return;const W=!$;T(W),i(W)};return w.jsxs(qt,{onClick:a?void 0:F,style:f,"data-testid":h,useScaleAnimation:!1,useOpacityAnimation:!1,display:"inline-flex",alignItems:"center",cursor:a?"not-allowed":"pointer",children:[w.jsx(U,{display:"flex",alignItems:"center",justifyContent:"center",borderRadius:m.borderRadius,borderWidth:m.borderWidth,borderColor:O,backgroundColor:A,filter:a?"opacity(0.5)":"none",transition:`background-color ${S.duration}ms ${S.easing}, border-color ${S.duration}ms ${S.easing}`,children:w.jsx(Ut,{type:"icon",art:Gc,size:C,color:y.colors[v.iconColor],weight:"bold",opacity:$?1:0,transition:`opacity ${S.duration}ms ${S.easing}`,margin:m.iconMargin})}),n&&w.jsx(U,{pl:m.labelPaddingLeft,children:w.jsx(ct,{fontSize:m.labelFontSize,color:a?v.disabledTextColor:v.textColor,as:"span",children:n})})]})};function Cf({value:n,onChange:r,disabled:i=!1}){const[a,l]=d.useState(!1),[u,f]=d.useState(!1),[h,y]=d.useState(n),v=d.useRef(null);d.useEffect(()=>{y(n)},[n]);const $=d.useCallback(()=>{i||l(x=>!x)},[i]),T=d.useCallback(x=>{x.disabled||(y(x.value),r==null||r(x.value),l(!1))},[r]),b=d.useCallback(()=>{l(!1)},[]);return{isOpen:a,setIsOpen:l,isHovering:u,setIsHovering:f,selectedValue:h,selectRef:v,handleToggle:$,handleSelect:T,handleClose:b}}function Sf({option:n,isSelected:r,isDisabled:i,onSelect:a,sizeConfig:l,themeSelect:u,animation:f}){const h=d.useRef(null),y=Bi(h),v=u.dropdown;let $=v.backgroundColor;r?$=v.itemSelectedBackgroundColor:y&&!i&&($=v.itemHoverBackgroundColor);const T=i?u.disabledContentColor:r?v.itemSelectedTextColor:v.itemTextColor;return w.jsx(qt,{ref:h,onClick:()=>!i&&a(n),useScaleAnimation:!1,useOpacityAnimation:!1,cursor:i?"not-allowed":"pointer",fw:!0,children:w.jsx(U,{p:l.dropdownPaddingVertical,px:l.dropdownPaddingHorizontal,bgColor:$,transition:`background-color ${f.duration}ms ${f.easing}`,opacity:i?u.disabledOpacity:1,display:"block",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",children:w.jsx(ct,{fontSize:l.fontSize,color:T,fontWeight:r?"semibold":"regular",as:"span",children:n.label})})},n.value)}function eb({anchorElement:n,isOpen:r,options:i,onSelect:a,selectedValue:l,onClose:u,size:f,borderRadius:h}){const y=Ce(),v=y.__hd__.select,$=v.dropdown,T=d.useRef(null),b=v.sizes[f],x=v.animation,m=n.getBoundingClientRect(),S=y.spaces[$.offset];return d.useEffect(()=>{const C=I=>{T.current&&!T.current.contains(I.target)&&n&&!n.contains(I.target)&&u()};return r?document.addEventListener("mousedown",C):document.removeEventListener("mousedown",C),()=>{document.removeEventListener("mousedown",C)}},[r,u,n]),wt()?null:c2.createPortal(w.jsx(U,{ref:T,bgColor:$.backgroundColor,b:$.borderColor!=="transparent"?b.borderWidth:"none",borderColor:$.borderColor,boxShadow:$.shadow,position:"absolute",top:`${m.bottom+window.scrollY+S}px`,left:`${m.left+window.scrollX}px`,width:`${m.width}px`,zIndex:y.zIndex.getZIndex("AIC_Kits_Dropdown"),opacity:r?1:0,maxHeight:r?$.maxHeight:0,overflowY:"auto",transition:`opacity ${x.duration}ms ${x.easing},max-height ${x.duration}ms ${x.easing}`,onClick:C=>C.stopPropagation(),onMouseDown:C=>C.stopPropagation(),style:{borderRadius:h},children:i.length>0?i.map(C=>{const I=C.value===l,L=!!C.disabled;return w.jsx(Sf,{option:C,isSelected:I,isDisabled:L,onSelect:a,sizeConfig:b,themeSelect:v,animation:x},C.value)}):w.jsx(U,{p:b.dropdownPaddingVertical,px:b.dropdownPaddingHorizontal,children:w.jsx(ct,{fontSize:b.fontSize,color:$.emptyTextColor,as:"span",children:"No options available"})})}),document.body)}const tb=({fontSize:n,color:r,...i})=>{const a=Ce(),l={border:"none",backgroundColor:"transparent",outline:"none",width:"100%",fontFamily:"inherit",padding:0,fontSize:a.__hd__.text.fontSizes[n],color:a.colors[r]};return w.jsx("input",{style:l,...i})},Ef=({placeholder:n,selectedOptionLabel:r,isOpen:i,isDisabled:a,handleToggle:l,iconSizePx:u,inputBorderRadius:f,sizeConfig:h,animation:y,currentBgColor:v,currentBorderColor:$,baseBorderWidthKey:T,insetBoxShadow:b,textColor:x,iconColor:m,testId:S,setIsHovering:C,searchable:I,searchTerm:L,onSearchChange:A})=>{const O=i&&I;return w.jsx(qt,{onClick:l,cursor:a?"not-allowed":"pointer",useScaleAnimation:!1,useOpacityAnimation:!1,"data-testid":S,onMouseEnter:()=>C(!0),onMouseLeave:()=>C(!1),children:w.jsxs(U,{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",p:h.paddingVertical,px:h.paddingHorizontal,b:T,borderColor:$,bgColor:v,opacity:1,transition:`background-color ${y.duration}ms ${y.easing}, border-color ${y.duration}ms ${y.easing}, box-shadow ${y.duration}ms ${y.easing}`,gap:h.gap,style:{borderRadius:f,boxShadow:b},children:[w.jsx(U,{flex:1,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",children:O?w.jsx(tb,{value:L,onChange:F=>A(F.target.value),placeholder:n,onClick:F=>F.stopPropagation(),autoFocus:!0,fontSize:h.fontSize,color:x}):w.jsx(ct,{fontSize:h.fontSize,color:x,as:"span",children:r||n})}),w.jsx(Ut,{type:"icon",art:ya,size:u,color:m,weight:"bold",transition:`transform ${y.duration}ms ${y.easing}`,transform:i?"rotate(180deg)":"rotate(0deg)"})]})})};function Af({theme:n,themeSelect:r,variant:i,isDisabled:a,isErrored:l,isOpen:u,isHovering:f,focusColor:h}){const y=r.variants[i],v="thin",$=n.borderWidths[v];let T;a?T=y.disabled:l?T=y.errored:u?T={...y.focused,borderColor:h}:f?T=y.hover:T=y.default;let b="none";if(!a&&!l&&u){const x=y.focused.borderWidth,m=n.borderWidths[x],S=Math.max(0,m-$);if(S>0){const C=n.colors[h];b=`inset 0 0 0 ${S}px ${C}`}}return{backgroundColor:T.backgroundColor,borderColor:T.borderColor,borderWidth:v,insetBoxShadow:b}}const nb=({options:n,value:r,onChange:i,placeholder:a="Select an option",label:l,helperText:u,error:f,disabled:h=!1,variant:y="outlined",color:v,size:$,corner:T,style:b,"data-testid":x,searchable:m=!1})=>{var ye;const S=Ce(),C=S.__hd__.select,[I,L]=d.useState(""),{isOpen:A,isHovering:O,selectedValue:F,selectRef:W,handleToggle:Z,handleSelect:q,handleClose:fe,setIsHovering:ve}=Cf({value:r,onChange:i,disabled:h});d.useEffect(()=>{A&&L("")},[A]);const Oe=d.useMemo(()=>I?n.filter(G=>G.label.toLowerCase().includes(I.toLowerCase())):n,[n,I]),D=v??C.defaultColor,z=$??C.defaultSize,H=T??C.defaultCorner,ie=C.sizes[z],Y=C.animation,ee=C.squircleBorderRadii[H],K=H==="circle"?C.dropdown.borderRadiusForCircle:C.dropdown.borderRadiusForRounded,de=S.radii[K],Ie=!!f,Se=h,{backgroundColor:Ee,borderColor:Fe,borderWidth:Ue,insetBoxShadow:rt}=Af({theme:S,themeSelect:C,variant:y,isDisabled:Se,isErrored:Ie,isOpen:A,isHovering:O,focusColor:D}),Me=Se?C.disabledContentColor:C.iconColor,Ke=Se?C.disabledContentColor:F!=null?C.valueColor:C.placeholderColor,ue=Se?C.disabledLabelColor:C.labelColor,xe=(ye=n.find(G=>G.value===F))==null?void 0:ye.label,$e=mt(S,ie.iconSize);return w.jsxs(U,{fw:!0,style:b,position:"relative",ref:W,children:[l&&w.jsx(U,{mb:"xs",children:w.jsx(ct,{fontWeight:"medium",color:ue,children:l})}),w.jsx(Ef,{placeholder:a,selectedOptionLabel:xe,isOpen:A,isDisabled:Se,handleToggle:Z,iconSizePx:$e,inputBorderRadius:ee,sizeConfig:ie,animation:Y,currentBgColor:Ee,currentBorderColor:Fe,baseBorderWidthKey:Ue,insetBoxShadow:rt,textColor:Ke,iconColor:Me,testId:x,setIsHovering:ve,searchable:m,searchTerm:I,onSearchChange:L}),(f||u)&&w.jsx(U,{children:w.jsx(ct,{fontSize:"xs",color:f?C.errorColor:C.helperTextColor,as:"span",children:f||u})}),W.current&&w.jsx(eb,{anchorElement:W.current,isOpen:A,options:Oe,onSelect:q,selectedValue:F,onClose:fe,size:z,borderRadius:`${de}px`})]})},ju=d.createContext({columns:12}),Ci={xs:0,sm:600,md:900,lg:1200,xl:1536},Bu=(n,r)=>We.isNumber(r)?`${r}px`:Ju(r)?`${n.spaces[r]??0}px`:r,ar=(n,r)=>{if(r!==void 0)if(We.isObject(r)){const i={};for(const a in r){const l=a,u=r[l];u!==void 0&&(i[l]=Bu(n,u))}return i}else return Bu(n,r)},rb=(n,r)=>{if(n<1||n>r)return console.warn(`AIC-Kits Grid: Size prop should be between 1 and ${r}. Received ${n}.`),"auto";const i=n/r,a=1-i,l=(i*100).toFixed(6).replace(/\.0+$/,""),u=a.toFixed(6).replace(/\.0+$/,"");return`calc(${l}% - ${u} * var(--grid-column-gap, 0px))`},ib=(n,r)=>{if(n<1||n>r-1)return console.warn(`AIC-Kits Grid: Offset prop should be between 1 and ${r-1}. Received ${n}.`),"0";const i=n/r,a=-i,l=(i*100).toFixed(6).replace(/\.0+$/,""),u=a.toFixed(6).replace(/\.0+$/,"");return`calc(${l}% - ${u} * var(--grid-column-gap, 0px))`},ob=({sizeValue:n,offsetValue:r,currentTotalColumns:i})=>{let a="";if(n==="auto")a+=`
|
|
313
313
|
flex-basis: auto;
|
|
314
314
|
flex-grow: 0;
|
|
315
315
|
flex-shrink: 0; /* Prevent shrinking below content size */
|
|
316
316
|
max-width: none; /* Allow content to define width */
|
|
317
317
|
width: auto; /* Explicit width auto */
|
|
318
|
-
`;else if(n==="grow")
|
|
318
|
+
`;else if(n==="grow")a+=`
|
|
319
319
|
flex-basis: 0; /* Basis 0 allows grow */
|
|
320
320
|
flex-grow: 1;
|
|
321
321
|
max-width: 100%; /* Can grow up to 100% */
|
|
322
322
|
width: auto; /* Let flexbox handle width */
|
|
323
|
-
`;else if(typeof n=="number"){const l=
|
|
323
|
+
`;else if(typeof n=="number"){const l=rb(n,i);a+=`
|
|
324
324
|
flex-basis: ${l};
|
|
325
325
|
flex-grow: 0;
|
|
326
326
|
flex-shrink: 0; /* Prevent shrinking when space is tight */
|
|
327
|
-
`}return r==="auto"?
|
|
328
|
-
`:
|
|
329
|
-
`}}}return
|
|
327
|
+
`}return r==="auto"?a+="margin-left: auto;":typeof r=="number"?a+=`margin-left: ${ib(r,i)};`:a+="margin-left: 0;",a},ab=({size:n,offset:r,columnsContext:i})=>{let a="";const l=typeof i=="object"?i:{xs:i},u=typeof n=="object"?n:{xs:n},f=typeof r=="object"?r:{xs:r},h=Array.from(new Set([...Object.keys(Ci),...We.isObject(u)?Object.keys(u):[],...We.isObject(f)?Object.keys(f):[],...We.isObject(l)?Object.keys(l):[]]));h.sort((v,$)=>Ci[v]-Ci[$]);let y=typeof(l==null?void 0:l.xs)=="number"?l.xs:12;for(const v of h){l[v]!==void 0&&(y=l[v]);const $=u[v],T=f[v];if($!==void 0||T!==void 0||v==="xs"||l[v]!==void 0){const b=ob({sizeValue:$??u.xs,offsetValue:T??f.xs,currentTotalColumns:y});if(b){const x=v==="xs"?"":`@media (min-width: ${Ci[v]}px)`;x?a+=`${x} { ${b} }
|
|
328
|
+
`:a+=b+`
|
|
329
|
+
`}}}return Sn.css`${a}`},sb=re(U)`
|
|
330
330
|
box-sizing: border-box;
|
|
331
331
|
margin: 0; // Reset margin by default
|
|
332
332
|
|
|
333
333
|
// --- Container Styles ---
|
|
334
|
-
${({container:n,theme:r,spacing:i,rowSpacing:
|
|
334
|
+
${({container:n,theme:r,spacing:i,rowSpacing:a,columnSpacing:l,columns:u})=>n&&ot`
|
|
335
335
|
display: flex;
|
|
336
336
|
flex-wrap: wrap;
|
|
337
337
|
width: 100%; // Default container width
|
|
338
338
|
|
|
339
339
|
// Apply spacing using gap properties (more modern)
|
|
340
340
|
// Use helper to resolve responsive values
|
|
341
|
-
${i&&
|
|
342
|
-
${
|
|
343
|
-
row-gap: ${
|
|
344
|
-
--grid-row-gap: ${
|
|
341
|
+
${i&&ot`gap: ${ar(r,i)};`}
|
|
342
|
+
${a&&ot`
|
|
343
|
+
row-gap: ${ar(r,a)};
|
|
344
|
+
--grid-row-gap: ${ar(r,a)};
|
|
345
345
|
`}
|
|
346
|
-
${l&&
|
|
347
|
-
column-gap: ${
|
|
346
|
+
${l&&ot`
|
|
347
|
+
column-gap: ${ar(r,l)};
|
|
348
348
|
/* Expose for child items so they can calc width incl. gap */
|
|
349
|
-
--grid-column-gap: ${
|
|
349
|
+
--grid-column-gap: ${ar(r,l)};
|
|
350
350
|
`}
|
|
351
351
|
|
|
352
352
|
/* Fallback when only spacing is provided (uniform gap) */
|
|
353
|
-
${i&&!l&&
|
|
354
|
-
--grid-column-gap: ${
|
|
353
|
+
${i&&!l&&ot`
|
|
354
|
+
--grid-column-gap: ${ar(r,i)};
|
|
355
355
|
`}
|
|
356
356
|
|
|
357
357
|
// Note: Fallback for browsers without gap support (e.g., negative margins)
|
|
@@ -359,16 +359,16 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
359
359
|
// Consider a polyfill or different approach if needed.
|
|
360
360
|
|
|
361
361
|
// Apply custom column count styling if needed (e.g., for debugging)
|
|
362
|
-
// ${u&&typeof u=="number"&&
|
|
362
|
+
// ${u&&typeof u=="number"&&ot`/* Custom columns: ${u} */`}
|
|
363
363
|
`}
|
|
364
364
|
|
|
365
365
|
// --- Item Styles ---
|
|
366
|
-
${({container:n,size:r,offset:i,theme:
|
|
366
|
+
${({container:n,size:r,offset:i,theme:a,columnsContext:l})=>!n&&(r!==void 0||i!==void 0)&&ot`
|
|
367
367
|
/* Reset margin potentially added by parent container's negative margin fallback */
|
|
368
368
|
/* margin: 0; */
|
|
369
|
-
${
|
|
369
|
+
${ab({size:r,offset:i,columnsContext:l})}
|
|
370
370
|
`}
|
|
371
|
-
|
|
371
|
+
`,$f=d.forwardRef(({container:n=!1,spacing:r,rowSpacing:i,columnSpacing:a,columns:l=12,size:u,offset:f,children:h,...y},v)=>{const $=d.useContext(ju),T=l!==void 0?l:$.columns;return w.jsx(ju.Provider,{value:{columns:T},children:w.jsx(sb,{ref:v,container:n,spacing:n?r:void 0,rowSpacing:n?i:void 0,columnSpacing:n?a:void 0,size:u,offset:f,columns:l,columnsContext:T,...y,children:h})})});$f.displayName="Grid";const Ii=re(qt)`
|
|
372
372
|
border-radius: ${({theme:n,$borderRadius:r})=>n.radii[r]}px;
|
|
373
373
|
width: ${({theme:n,$size:r})=>n.sizes[r]}px;
|
|
374
374
|
height: ${({theme:n,$size:r})=>n.sizes[r]}px;
|
|
@@ -380,22 +380,22 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
380
380
|
background-color: ${({theme:n,$color:r,$selected:i})=>i?void 0:n.colors[r]};
|
|
381
381
|
}
|
|
382
382
|
transition: background-color 0.2s ease-in-out, transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
|
|
383
|
-
`,
|
|
383
|
+
`,Pu=re(ct)`
|
|
384
384
|
color: ${({theme:n,$selected:r,$defaultColor:i})=>r?n.colors.white:n.colors[i]};
|
|
385
385
|
font-size: ${({theme:n,$fontSize:r})=>n.__hd__.text.fontSizes[r]}px;
|
|
386
|
-
${
|
|
386
|
+
${Ii}:hover & {
|
|
387
387
|
color: ${({theme:n,$selected:r})=>r?void 0:n.colors.white};
|
|
388
388
|
}
|
|
389
389
|
transition: color 0.2s ease-in-out, transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
|
|
390
|
-
`,
|
|
390
|
+
`,lb=re(Ut)`
|
|
391
391
|
color: ${({theme:n,$color:r,$selected:i})=>i?n.colors.white:n.colors[r]};
|
|
392
|
-
${
|
|
392
|
+
${Ii}:hover & {
|
|
393
393
|
color: ${({theme:n,$color:r,$selected:i})=>i?n.colors[r]:n.colors.white};
|
|
394
394
|
}
|
|
395
395
|
transition: color 0.2s ease-in-out, transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
|
|
396
396
|
width: ${({theme:n,$size:r})=>n.sizes[r]}px;
|
|
397
397
|
height: ${({theme:n,$size:r})=>n.sizes[r]}px;
|
|
398
|
-
`,
|
|
398
|
+
`,Tf=({type:n="page",page:r,currentPage:i,selected:a=!1,disabled:l=!1,onClick:u,shape:f="circular",size:h="medium",color:y="primary",count:v})=>{const b=Ce().__hd__.pagination.item,x=b.sizes[h],m=b.shapes[f],S=I=>{if(console.log("type",n,"page",r,"currentPage",i,"count",v),l){I.stopPropagation();return}n==="first"&&(u==null||u(v&&v>=1?1:null,I)),n==="last"&&(u==null||u(v&&v>=1?v:null,I)),n==="previous"&&(u==null||u(i>=2?i-1:null,I)),n==="next"&&(u==null||u(i<=v-1?i+1:null,I)),n==="page"&&(u==null||u(r??null,I))},C=d.useMemo(()=>{switch(n){case"previous":return ba;case"next":return Lr;case"first":return Uc;case"last":return qc;default:return null}},[n]);return n==="page"?w.jsx(Ii,{onClick:a?void 0:S,useScaleAnimation:!a,useOpacityAnimation:!a,$borderRadius:m.container.borderRadius,$size:x.container.size,$selected:a,$color:y,children:w.jsx(Pu,{color:l?b.text.disabledColor:b.text.color,$defaultColor:b.defaultColor,$fontSize:x.text.fontSize,$selected:a,$color:y,children:String(r)})}):n==="end-ellipsis"||n==="start-ellipsis"?w.jsx(Pu,{color:l?b.text.disabledColor:b.text.color,$defaultColor:b.defaultColor,$fontSize:x.text.fontSize,$selected:a,$color:y,children:"..."}):w.jsx(Ii,{onClick:S,$borderRadius:m.container.borderRadius,$size:x.container.size,$selected:a,$color:y,children:C&&w.jsx(lb,{type:"icon",art:C,$color:y,$selected:a,$size:x.icon.size,weight:x.icon.weight})})},ub=({count:n,page:r,boundaryCount:i=1,siblingCount:a=1,showFirstButton:l=!1,showLastButton:u=!1,showPrevNextButtons:f=!0})=>{const h=(C,I)=>{const L=I-C+1;return Array.from({length:L},(A,O)=>C+O)},y=h(1,Math.min(i,n)),v=h(Math.max(n-i+1,i+1),n),$=Math.max(Math.min(r-a,n-i-a*2-1),i+2),T=Math.min(Math.max(r+a,i+a*2+2),v.length>0?v[0]-2:n-1),b=[];l&&b.push("first"),f&&b.push("previous"),b.push(...y);const x=y.length>0?y[y.length-1]:0;$===x+2?b.push(x+1):$>x+2&&b.push("start-ellipsis"),$<=T&&b.push(...h($,T));const m=v.length>0?v[0]:n+1;return T===m-2?b.push(m-1):T<m-2&&b.push("end-ellipsis"),b.push(...v),f&&b.push("next"),u&&b.push("last"),{items:b.filter((C,I,L)=>typeof C=="number"?C>=1&&C<=n&&L.indexOf(C)===I:L.indexOf(C)===I).map(C=>{let I,L;return typeof C=="number"?(I="page",L=C):I=C,{type:I,page:L,selected:L===r,disabled:(I==="previous"||I==="first")&&r<=1||(I==="next"||I==="last")&&r>=n}})}},cb=({count:n=1,page:r=1,onChange:i,boundaryCount:a=1,siblingCount:l=1,showFirstButton:u=!1,showLastButton:f=!1,showPrevNextButtons:h=!0,shape:y="circular",size:v="medium",color:$="primary"})=>{const b=Ce().__hd__.pagination,{items:x}=ub({count:n,page:r,boundaryCount:a,siblingCount:l,showFirstButton:u,showLastButton:f,showPrevNextButtons:h}),m=d.useCallback((S,C)=>{i&&S!==null&&i(S,C)},[i]);return w.jsx(U,{display:"flex",flexDirection:"row",alignItems:"center",gap:b.container.sizes[v].gap,children:x.map((S,C)=>w.jsx(Tf,{count:n,type:S.type,page:S.page,currentPage:r,selected:S.selected,disabled:S.disabled,onClick:m,shape:y,size:v,color:$},`${S.type}-${S.page||C}`))})},fb=En`
|
|
399
399
|
0% {
|
|
400
400
|
left: 0%;
|
|
401
401
|
width: 0%;
|
|
@@ -411,7 +411,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
411
411
|
width: 0%; /* Smallest at the right end */
|
|
412
412
|
transform: translateX(0%); /* Ensure it exits cleanly if it was translateX(100%) it would go off screen too fast */
|
|
413
413
|
}
|
|
414
|
-
`,
|
|
414
|
+
`,db=re(U)`
|
|
415
415
|
position: relative;
|
|
416
416
|
overflow: hidden;
|
|
417
417
|
height: ${({theme:n,$heightKey:r})=>n.sizes[r]}px;
|
|
@@ -420,11 +420,11 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
420
420
|
border-width: ${({theme:n,$borderWidthKey:r})=>r?n.borderWidths[r]:0}px;
|
|
421
421
|
border-style: ${({$borderWidthKey:n})=>n?"solid":"none"};
|
|
422
422
|
border-color: ${({theme:n,$borderColorKey:r})=>r?n.colors[r]||r:"transparent"};
|
|
423
|
-
`,
|
|
423
|
+
`,hb=re(U)`
|
|
424
424
|
width: 100%;
|
|
425
425
|
height: 100%;
|
|
426
426
|
position: relative; /* For absolute positioning of the indicator */
|
|
427
|
-
`,
|
|
427
|
+
`,pb=re(U)`
|
|
428
428
|
position: absolute;
|
|
429
429
|
top: 0;
|
|
430
430
|
bottom: 0;
|
|
@@ -433,15 +433,15 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
433
433
|
background-color: ${({theme:n,$progressColorKey:r})=>n.colors[r]};
|
|
434
434
|
border-radius: ${({theme:n,$borderRadiusKey:r})=>n.radii[r]}px;
|
|
435
435
|
|
|
436
|
-
${({$progressValue:n})=>n!==void 0?
|
|
436
|
+
${({$progressValue:n})=>n!==void 0?ot`
|
|
437
437
|
width: ${n}%;
|
|
438
438
|
left: 0; // Explicitly set left for determinate state
|
|
439
439
|
transition: width 0.3s ease-in-out;
|
|
440
|
-
`:
|
|
440
|
+
`:ot`
|
|
441
441
|
/* Indeterminate: animation controls width and position */
|
|
442
|
-
animation: ${
|
|
442
|
+
animation: ${fb} 2s infinite linear alternate;
|
|
443
443
|
`}
|
|
444
|
-
`,
|
|
444
|
+
`,gb=({value:n,color:r,size:i,variant:a,testID:l="progress",...u})=>{const h=Ce().__hd__.progress,y=a||h.defaultVariant,v=i||h.defaultSize,{height:$,borderRadius:T}=h.sizes[v],{containerBackgroundColor:b,containerBorderColor:x,containerBorderWidth:m,defaultProgressColor:S}=h.variants[y],C=r||S;let I=x;y==="outlined"&&(I=C);const L=n!==void 0?Math.max(0,Math.min(n,100)):void 0;return w.jsx(db,{$heightKey:$,$borderRadiusKey:T,$backgroundColorKey:b,$borderColorKey:I,$borderWidthKey:m,"data-testid":`${l}-container`,...u,children:w.jsx(hb,{"data-testid":`${l}-bar`,children:w.jsx(pb,{$progressColorKey:C,$progressValue:L,$borderRadiusKey:T,"data-testid":`${l}-indicator`})})})},mb=re(U)`
|
|
445
445
|
position: fixed;
|
|
446
446
|
top: 0;
|
|
447
447
|
left: 0;
|
|
@@ -452,45 +452,65 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
452
452
|
display: flex;
|
|
453
453
|
align-items: center;
|
|
454
454
|
justify-content: center;
|
|
455
|
-
`;let
|
|
455
|
+
`;let Si=0,Wu;const vb=({open:n,onClose:r,children:i,"data-testid":a,...l})=>{const u=Ce();if(d.useEffect(()=>{if(!(typeof document>"u"))return n&&(Si===0&&(Wu=document.body.style.overflow,document.body.style.overflow="hidden"),Si++),()=>{n&&(Si--,Si===0&&(document.body.style.overflow=Wu))}},[n]),!n)return null;const f=h=>{h.target===h.currentTarget&&(r==null||r())};return w.jsx(mb,{zIndex:u.zIndex.getZIndex("AIC_Kits_Modal"),onClick:f,"data-testid":a?`${a}-backdrop`:void 0,children:w.jsx(U,{maxHeight:"100vh",overflowY:"auto",...l,"data-testid":a?`${a}-container`:void 0,children:i})})},yb=({children:n,description:r,placement:i,backgroundColor:a,color:l})=>{const u=Ce(),f=u.__hd__.tooltip,h=i??f.defaultPlacement,y=a??f.defaultBackgroundColor,v=l??f.defaultTextColor,$=d.useRef(null),T=Bi($),b=f.positioning.placements[h];return w.jsxs(U,{display:"inline-block",position:"relative",ref:$,children:[n,T&&w.jsx(U,{position:"absolute",bgColor:y,p:f.container.padding,r:f.container.borderRadius,boxShadow:f.container.shadow,zIndex:u.zIndex.getZIndex("AIC_Kits_Tooltip"),width:"max-content",maxWidth:f.container.maxWidth,...b,children:w.jsx(ct,{color:v,fontSize:f.text.fontSize,children:r})})]})},bb=En`
|
|
456
456
|
from {
|
|
457
457
|
opacity: 0;
|
|
458
458
|
}
|
|
459
459
|
to {
|
|
460
460
|
opacity: 1;
|
|
461
461
|
}
|
|
462
|
-
`,
|
|
462
|
+
`,xb=re(U)`
|
|
463
463
|
position: relative;
|
|
464
464
|
display: block;
|
|
465
|
-
${({$width:n,$minWidth:r,$maxWidth:i})=>{const
|
|
466
|
-
`,
|
|
465
|
+
${({$width:n,$minWidth:r,$maxWidth:i})=>{const a=n&&typeof n=="object";if(a||r&&typeof r=="object"||i&&typeof i=="object"){const y={};return typeof n=="string"?y.width=n:typeof n=="number"?(y.width="100%",i===void 0&&(y.maxWidth=`${n}px`)):a&&(y.width="100%",i===void 0&&(y.maxWidth=n)),typeof r=="number"?y.minWidth=`${r}px`:(typeof r=="string"||r)&&(y.minWidth=r),i!==void 0&&(typeof i=="string"?i==="auto"?y.maxWidth="none":y.maxWidth=i:typeof i=="number"?y.maxWidth=`${i}px`:y.maxWidth=i),lr(y)}const h={};return typeof n=="string"?n==="auto"||n==="100%"||/^\d+(\.\d+)?(px|%|em|rem|vw|vh)$/.test(n)?h.width=n:h.width="100%":typeof n=="number"&&(h.width="100%",i===void 0&&(h.maxWidth=`${n}px`)),r!==void 0&&(typeof r=="number"?h.minWidth=`${r}px`:typeof r=="string"&&(h.minWidth=r)),i!==void 0&&(typeof i=="string"?i==="auto"?h.maxWidth="none":h.maxWidth=i:typeof i=="number"&&(h.maxWidth=`${i}px`)),ot(h)}}
|
|
466
|
+
`,wb=re.svg`
|
|
467
467
|
display: block;
|
|
468
468
|
flex-shrink: 0;
|
|
469
469
|
width: ${({$width:n})=>n===void 0?"100%":typeof n=="number"?`${n}px`:n};
|
|
470
470
|
height: ${({$height:n})=>n?`${n}px`:"auto"};
|
|
471
|
-
`;
|
|
471
|
+
`;re.rect`
|
|
472
472
|
fill: ${({theme:n,$colorKey:r})=>n.colors[r]};
|
|
473
|
-
animation: ${
|
|
473
|
+
animation: ${bb} ${({$animationDuration:n})=>n}ms ease-out;
|
|
474
474
|
transition: opacity 0.3s ease;
|
|
475
475
|
cursor: pointer;
|
|
476
476
|
|
|
477
477
|
&:hover {
|
|
478
478
|
opacity: 0.8;
|
|
479
479
|
}
|
|
480
|
-
`;const
|
|
480
|
+
`;const Du=re.line`
|
|
481
481
|
stroke: ${({theme:n,$colorKey:r})=>n.colors[r]||r};
|
|
482
482
|
stroke-width: 1;
|
|
483
483
|
shape-rendering: crispEdges;
|
|
484
|
-
`,
|
|
484
|
+
`,Ei=re.text`
|
|
485
485
|
fill: ${({theme:n,$colorKey:r})=>n.colors[r]||r};
|
|
486
486
|
font-size: 12px;
|
|
487
487
|
font-family: ${({theme:n})=>n.fonts.neutral};
|
|
488
|
-
`,
|
|
488
|
+
`,_b=re.line`
|
|
489
489
|
stroke: ${({theme:n,$colorKey:r})=>n.colors[r]||r};
|
|
490
490
|
stroke-width: 1;
|
|
491
491
|
stroke-dasharray: 2, 2;
|
|
492
492
|
opacity: 0.3;
|
|
493
|
-
`,
|
|
493
|
+
`,Cb=re.div`
|
|
494
|
+
position: absolute;
|
|
495
|
+
left: ${({$left:n})=>n}px;
|
|
496
|
+
top: ${({$top:n})=>n}px;
|
|
497
|
+
transform: translate(-50%, -100%);
|
|
498
|
+
background-color: ${({theme:n})=>n.colors.grey800||"#333"};
|
|
499
|
+
color: ${({theme:n})=>n.colors.white||"#fff"};
|
|
500
|
+
padding: 8px 12px;
|
|
501
|
+
border-radius: 6px;
|
|
502
|
+
font-size: 12px;
|
|
503
|
+
font-family: ${({theme:n})=>n.fonts.neutral||"sans-serif"};
|
|
504
|
+
white-space: nowrap;
|
|
505
|
+
pointer-events: none;
|
|
506
|
+
z-index: 1000;
|
|
507
|
+
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
|
508
|
+
`,Sb=re.div`
|
|
509
|
+
font-weight: 600;
|
|
510
|
+
margin-bottom: 4px;
|
|
511
|
+
`,Eb=re.div`
|
|
512
|
+
font-weight: 400;
|
|
513
|
+
`,Ab=({data:n,width:r=400,minWidth:i=200,maxWidth:a,height:l=300,chartMargin:u,color:f,size:h,variant:y,showGrid:v=!0,showXAxis:$=!0,showYAxis:T=!0,orientation:b="vertical",showTooltip:x=!0,testID:m="bar-chart",...S})=>{var ye,G,oe;const C=Ce(),I=(ye=C.__hd__)==null?void 0:ye.barChart,L=d.useRef(null),[A,O]=d.useState(()=>{if(typeof r=="number")return r;if(typeof r=="string"){const N=r.match(/^(\d+(?:\.\d+)?)px$/);if(N)return parseFloat(N[1])}return 400}),[F,W]=d.useState(40),[Z,q]=d.useState(null),[fe,ve]=d.useState(null),Oe=y||(I==null?void 0:I.defaultVariant)||"default",D=h||(I==null?void 0:I.defaultSize)||"md";d.useEffect(()=>{if(!T||b!=="vertical"||(u==null?void 0:u.left)!==void 0)return;const N=document.createElementNS("http://www.w3.org/2000/svg","svg");N.style.position="absolute",N.style.visibility="hidden",N.style.pointerEvents="none",document.body.appendChild(N);const Q=document.createElementNS("http://www.w3.org/2000/svg","text");Q.style.fontSize="12px",Q.style.fontFamily=C.fonts.neutral||"sans-serif",N.appendChild(Q);const se=n.map(Qe=>Qe.value),be=se.length>0?Math.max(...se):100,ke=5;let Ze=0;for(let Qe=0;Qe<ke;Qe++){const Xe=be/(ke-1)*Qe;Q.textContent=Math.round(Xe).toString();const Je=Q.getBBox();Ze=Math.max(Ze,Je.width)}document.body.removeChild(N),W(Math.ceil(Ze)+15)},[n,C.fonts.neutral,T,b,u==null?void 0:u.left]),d.useEffect(()=>{if(!T||b!=="horizontal"||(u==null?void 0:u.left)!==void 0)return;const N=document.createElementNS("http://www.w3.org/2000/svg","svg");N.style.position="absolute",N.style.visibility="hidden",N.style.pointerEvents="none",document.body.appendChild(N);const Q=document.createElementNS("http://www.w3.org/2000/svg","text");Q.style.fontSize="12px",Q.style.fontFamily=C.fonts.neutral||"sans-serif",N.appendChild(Q);let se=0;n.forEach(be=>{Q.textContent=be.label;const ke=Q.getBBox();se=Math.max(se,ke.width)}),document.body.removeChild(N),W(Math.ceil(se)+15)},[n,C.fonts.neutral,T,b,u==null?void 0:u.left]);const z={top:(u==null?void 0:u.top)??20,right:(u==null?void 0:u.right)??20,bottom:(u==null?void 0:u.bottom)??40,left:(u==null?void 0:u.left)??F};Pn(()=>{const N=L.current;if(!N)return;const Q=()=>{if(typeof r=="number"){O(r);return}if(typeof r=="string"&&/^\d+(?:\.\d+)?px$/.test(r)){const ke=r.match(/^(\d+(?:\.\d+)?)px$/);if(ke){O(parseFloat(ke[1]));return}}const be=N.clientWidth;be>0&&O(be)};Q();let se;return typeof ResizeObserver<"u"?(se=new ResizeObserver(Q),se.observe(N)):window.addEventListener("resize",Q),()=>{se?se.disconnect():window.removeEventListener("resize",Q)}},[r,i,a]);const H=(()=>{if(typeof l=="number")return l;if(typeof l=="string"){const N=l.match(/^(\d+(?:\.\d+)?)px$/);if(N)return parseFloat(N[1])}return 300})(),{barRadius:ie=4,axisColor:Y="grey600",gridColor:ee="grey200",labelColor:K="grey600"}=((G=I==null?void 0:I.sizes)==null?void 0:G[D])||{},{defaultBarColor:de="primary"}=((oe=I==null?void 0:I.variants)==null?void 0:oe[Oe])||{},Ie=f||de,Se=Math.max(0,A-z.left-z.right),Ee=Math.max(0,H-z.top-z.bottom),Fe=n.map(N=>N.value),Ue=Fe.length>0?Math.max(...Fe):100,rt=.6,Me=b==="vertical"?Se/Math.max(n.length,1):Ee/Math.max(n.length,1),Ke=Math.max(Me*rt,1),ue=N=>{const Q=Ue||100,se=N||0;return b==="vertical"?se/Q*Ee:se/Q*Se},xe=d.useMemo(()=>Array.from({length:5},(Q,se)=>{const be=Ue/4*se,ke=Ue||100,Ze=be||0,Qe=b==="vertical"?Ee-Ze/ke*Ee:Ze/ke*Se;return{value:be,position:Qe}}),[Ue,Ee,Se,b]),$e=(N,Q)=>{const be=Math.floor(Q/7);if(N.length<=be)return N;const ke=Math.max(1,be-3);return N.substring(0,ke)+"..."};return w.jsxs(xb,{ref:L,"data-testid":`${m}-container`,$width:r,$minWidth:i,$maxWidth:a,...S,children:[w.jsxs(wb,{$width:A,$height:H,viewBox:`0 0 ${A} ${H}`,role:"img","aria-label":"Bar chart","data-testid":`${m}-svg`,children:[w.jsx("title",{children:"Bar chart"}),w.jsxs("g",{transform:`translate(${z.left}, ${z.top})`,children:[v&&xe.map((N,Q)=>w.jsx(_b,{$colorKey:ee,x1:b==="vertical"?0:N.position,y1:b==="vertical"?N.position:0,x2:b==="vertical"?Se:N.position,y2:b==="vertical"?N.position:Ee,"data-testid":`${m}-grid-line-${Q}`},Q)),n.map((N,Q)=>{const se=ue(N.value);let be,ke,Ze,Qe;if(b==="vertical")be=Q*Me+(Me-Ke)/2,ke=Ee-se,Ze=Ke,Qe=se;else{const te=Q*Me;be=0,ke=te+(Me-Ke)/2,Ze=se,Qe=Ke}const Xe=2,Je=Math.max(Ze,Xe),X=Math.max(Qe,Xe),ze=N.color||Ie,Re=C.colors[ze]||ze||"#6949FF";return w.jsx("rect",{x:be,y:ke,width:Je,height:X,fill:Re,rx:Math.min(ie,X/2,Je/2),ry:Math.min(ie,X/2,Je/2),opacity:Z===Q?1:.9,cursor:"pointer",onMouseEnter:te=>{var ce;if(q(Q),x){const le=te.currentTarget.getBoundingClientRect(),De=(ce=L.current)==null?void 0:ce.getBoundingClientRect();De&&ve({x:le.left-De.left+le.width/2,y:le.top-De.top})}te.currentTarget.style.filter="brightness(1.1)"},onMouseLeave:te=>{q(null),ve(null),te.currentTarget.style.filter="brightness(1)"},"data-testid":`${m}-bar-${Q}`},Q)}),$&&w.jsxs(w.Fragment,{children:[w.jsx(Du,{$colorKey:Y,x1:0,y1:Ee,x2:Se,y2:Ee,"data-testid":`${m}-x-axis`}),b==="vertical"&&n.map((N,Q)=>{const se=Q*Me+Me/2,be=Ee+20,ke=Me*.9,Ze=$e(N.label,ke);return w.jsxs(Ei,{x:se,y:be,$colorKey:K,textAnchor:"middle","data-testid":`${m}-x-label-${Q}`,children:[N.label!==Ze&&w.jsx("title",{children:N.label}),Ze]},Q)}),b==="horizontal"&&xe.map((N,Q)=>w.jsxs("g",{children:[w.jsx("line",{x1:N.position,y1:Ee,x2:N.position,y2:Ee+5,stroke:C.colors[Y]||Y,strokeWidth:1}),w.jsx(Ei,{x:N.position,y:Ee+20,$colorKey:K,textAnchor:"middle","data-testid":`${m}-x-value-${Q}`,children:Math.round(N.value)})]},`x-tick-${Q}`))]}),T&&w.jsxs(w.Fragment,{children:[w.jsx(Du,{$colorKey:Y,x1:0,y1:0,x2:0,y2:Ee,"data-testid":`${m}-y-axis`}),b==="vertical"&&xe.map((N,Q)=>w.jsxs("g",{children:[w.jsx("line",{x1:-5,y1:N.position,x2:0,y2:N.position,stroke:C.colors[Y]||Y,strokeWidth:1}),w.jsx(Ei,{x:-10,y:N.position,$colorKey:K,textAnchor:"end",dominantBaseline:"middle","data-testid":`${m}-y-value-${Q}`,children:Math.round(N.value)})]},`y-tick-${Q}`)),b==="horizontal"&&n.map((N,Q)=>{const se=Q*Me+Me/2;return w.jsx(Ei,{x:-10,y:se,$colorKey:K,textAnchor:"end",dominantBaseline:"middle","data-testid":`${m}-y-label-${Q}`,children:N.label},`y-cat-${Q}`)})]})]})]}),x&&Z!==null&&fe&&w.jsxs(Cb,{$left:fe.x,$top:fe.y-10,"data-testid":`${m}-tooltip`,children:[w.jsx(Sb,{children:n[Z].label}),w.jsxs(Eb,{children:["Value: ",n[Z].value]})]})]})},$b=En`
|
|
494
514
|
from {
|
|
495
515
|
opacity: 0;
|
|
496
516
|
transform: scale(0.8);
|
|
@@ -499,24 +519,24 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
499
519
|
opacity: 1;
|
|
500
520
|
transform: scale(1);
|
|
501
521
|
}
|
|
502
|
-
`,
|
|
522
|
+
`,Tb=re(U)`
|
|
503
523
|
position: relative;
|
|
504
524
|
display: ${({$showLegend:n,$legendPosition:r})=>n?"flex":"inline-flex"};
|
|
505
525
|
flex-direction: ${({$legendPosition:n})=>n==="left"?"row-reverse":n==="right"?"row":"column"};
|
|
506
526
|
align-items: ${({$legendPosition:n})=>"center"};
|
|
507
527
|
justify-content: center;
|
|
508
528
|
gap: 20px;
|
|
509
|
-
${({$width:n,$height:r,$minWidth:i,$maxWidth:
|
|
510
|
-
`,
|
|
529
|
+
${({$width:n,$height:r,$minWidth:i,$maxWidth:a,$minHeight:l,$maxHeight:u})=>{const f=n&&typeof n=="object",h=r&&typeof r=="object";if(f||h||i&&typeof i=="object"||a&&typeof a=="object"||l&&typeof l=="object"||u&&typeof u=="object"){const m={};return typeof n=="string"?m.width=n:typeof n=="number"?(m.width="100%",a===void 0&&(m.maxWidth=`${n}px`)):f&&(m.width="100%",a===void 0&&(m.maxWidth=n)),typeof r=="string"?m.height=r:typeof r=="number"?(m.height="auto",u===void 0&&(m.maxHeight=`${r}px`)):h&&(m.height="auto",u===void 0&&(m.maxHeight=r)),typeof i=="number"?m.minWidth=`${i}px`:(typeof i=="string"||i)&&(m.minWidth=i),a!==void 0&&(typeof a=="string"?a==="auto"?m.maxWidth="none":m.maxWidth=a:typeof a=="number"?m.maxWidth=`${a}px`:m.maxWidth=a),typeof l=="number"?m.minHeight=`${l}px`:(typeof l=="string"||l)&&(m.minHeight=l),u!==void 0&&(typeof u=="string"?u==="auto"?m.maxHeight="none":m.maxHeight=u:typeof u=="number"?m.maxHeight=`${u}px`:m.maxHeight=u),lr(m)}const x={};return typeof n=="string"?n==="auto"||n==="100%"||/^\d+(\.\d+)?(px|%|em|rem|vw|vh)$/.test(n)?x.width=n:x.width="100%":typeof n=="number"&&(x.width="100%",a===void 0&&(x.maxWidth=`${n}px`)),typeof r=="string"?r==="auto"||r==="100%"||/^\d+(\.\d+)?(px|%|em|rem|vw|vh)$/.test(r)?x.height=r:x.height="auto":typeof r=="number"&&(x.height="auto",u===void 0&&(x.maxHeight=`${r}px`)),i!==void 0&&(typeof i=="number"?x.minWidth=`${i}px`:typeof i=="string"&&(x.minWidth=i)),a!==void 0&&(typeof a=="string"?a==="auto"?x.maxWidth="none":x.maxWidth=a:typeof a=="number"&&(x.maxWidth=`${a}px`)),l!==void 0&&(typeof l=="number"?x.minHeight=`${l}px`:typeof l=="string"&&(x.minHeight=l)),u!==void 0&&(typeof u=="string"?u==="auto"?x.maxHeight="none":x.maxHeight=u:typeof u=="number"&&(x.maxHeight=`${u}px`)),ot(x)}}
|
|
530
|
+
`,kb=re.svg`
|
|
511
531
|
display: block;
|
|
512
532
|
flex-shrink: 0;
|
|
513
533
|
width: ${({$width:n})=>n===void 0?"100%":typeof n=="number"?`${n}px`:n};
|
|
514
534
|
height: ${({$height:n})=>n?`${n}px`:"auto"};
|
|
515
|
-
`,
|
|
535
|
+
`,Rb=re.path`
|
|
516
536
|
fill: ${({theme:n,$colorKey:r})=>n.colors[r]};
|
|
517
537
|
stroke: ${({theme:n,$strokeColorKey:r})=>n.colors[r]||r};
|
|
518
538
|
stroke-width: ${({$strokeWidth:n})=>n}px;
|
|
519
|
-
animation: ${
|
|
539
|
+
animation: ${$b} ${({$animationDuration:n})=>n}ms ease-out;
|
|
520
540
|
transform: translate(0, 0);
|
|
521
541
|
cursor: pointer;
|
|
522
542
|
transition: transform 0.2s ease, filter 0.2s ease;
|
|
@@ -525,7 +545,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
525
545
|
transform: scale(1.1);
|
|
526
546
|
filter: brightness(1.1);
|
|
527
547
|
}
|
|
528
|
-
`,
|
|
548
|
+
`,Lb=re.text`
|
|
529
549
|
fill: white;
|
|
530
550
|
font-size: ${({$fontSize:n})=>n}px;
|
|
531
551
|
font-family: ${({theme:n})=>n.fonts.neutral};
|
|
@@ -533,14 +553,14 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
533
553
|
pointer-events: none;
|
|
534
554
|
user-select: none;
|
|
535
555
|
filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.5));
|
|
536
|
-
`,
|
|
556
|
+
`,Ob=re(U)`
|
|
537
557
|
display: flex;
|
|
538
558
|
flex-direction: ${({$position:n})=>n==="left"||n==="right"?"column":"row"};
|
|
539
559
|
flex-wrap: ${({$position:n})=>n==="top"||n==="bottom"?"wrap":"nowrap"};
|
|
540
560
|
gap: ${({$spacing:n})=>n}px;
|
|
541
561
|
padding: ${({$spacing:n})=>n}px;
|
|
542
|
-
${({$position:n})=>n==="top"?
|
|
543
|
-
`,
|
|
562
|
+
${({$position:n})=>n==="top"?ot`margin-bottom: 20px;`:n==="bottom"?ot`margin-top: 20px;`:n==="left"?ot`margin-right: 20px;`:n==="right"?ot`margin-left: 20px;`:""}
|
|
563
|
+
`,Ib=re(U)`
|
|
544
564
|
display: flex;
|
|
545
565
|
align-items: center;
|
|
546
566
|
gap: ${({$spacing:n})=>n/2}px;
|
|
@@ -550,43 +570,43 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
550
570
|
&:hover {
|
|
551
571
|
opacity: 0.8;
|
|
552
572
|
}
|
|
553
|
-
`,
|
|
573
|
+
`,Mb=re(U)`
|
|
554
574
|
width: ${({$size:n})=>n}px;
|
|
555
575
|
height: ${({$size:n})=>n}px;
|
|
556
576
|
background-color: ${({theme:n,$colorKey:r})=>n.colors[r]};
|
|
557
577
|
border-radius: 2px;
|
|
558
578
|
flex-shrink: 0;
|
|
559
|
-
`,
|
|
579
|
+
`,Fb=re.span`
|
|
560
580
|
font-size: ${({$fontSize:n})=>n}px;
|
|
561
581
|
color: ${({theme:n,$colorKey:r})=>n.colors[r]||r};
|
|
562
582
|
font-family: ${({theme:n})=>n.fonts.neutral};
|
|
563
583
|
white-space: nowrap;
|
|
564
|
-
`,
|
|
565
|
-
M ${f} ${
|
|
566
|
-
A ${
|
|
567
|
-
L ${
|
|
568
|
-
A ${i} ${i} 0 ${
|
|
584
|
+
`,zb=(n,r,i,a)=>{const l=n*Math.PI/180,u=r*Math.PI/180,f=Math.cos(l)*a,h=Math.sin(l)*a,y=Math.cos(u)*a,v=Math.sin(u)*a,$=r-n>180?1:0;if(i>0){const T=Math.cos(l)*i,b=Math.sin(l)*i,x=Math.cos(u)*i,m=Math.sin(u)*i;return`
|
|
585
|
+
M ${f} ${h}
|
|
586
|
+
A ${a} ${a} 0 ${$} 1 ${y} ${v}
|
|
587
|
+
L ${x} ${m}
|
|
588
|
+
A ${i} ${i} 0 ${$} 0 ${T} ${b}
|
|
569
589
|
Z
|
|
570
590
|
`}else return`
|
|
571
591
|
M 0 0
|
|
572
|
-
L ${f} ${
|
|
573
|
-
A ${
|
|
592
|
+
L ${f} ${h}
|
|
593
|
+
A ${a} ${a} 0 ${$} 1 ${y} ${v}
|
|
574
594
|
Z
|
|
575
|
-
`},
|
|
595
|
+
`},jb=({data:n,width:r=400,height:i=400,minWidth:a=200,maxWidth:l,minHeight:u=200,maxHeight:f,innerRadius:h=0,outerRadius:y,padAngle:v=0,size:$,variant:T,showLabels:b=!1,showLegend:x=!0,legendPosition:m="right",animationDuration:S=300,startAngle:C=-90,testID:I="pie-chart",...L})=>{var Me,Ke;const O=Ce().__hd__.pieChart,F=d.useRef(null),[W,Z]=d.useState(()=>{if(typeof r=="number")return r;if(typeof r=="string"){const ue=r.match(/^(\d+(?:\.\d+)?)px$/);if(ue)return parseFloat(ue[1])}return 400}),[q,fe]=d.useState(()=>{if(typeof i=="number")return i;if(typeof i=="string"){const ue=i.match(/^(\d+(?:\.\d+)?)px$/);if(ue)return parseFloat(ue[1])}return 400}),ve=T||(O==null?void 0:O.defaultVariant)||"default",Oe=$||(O==null?void 0:O.defaultSize)||"md";Pn(()=>{const ue=F.current;if(!ue)return;const xe=()=>{if(typeof r=="number"){Z(r);return}if(typeof r=="string"&&/^\d+(?:\.\d+)?px$/.test(r)){const G=r.match(/^(\d+(?:\.\d+)?)px$/);if(G){Z(parseFloat(G[1]));return}}const ye=ue.clientWidth;ye>0&&Z(ye)};xe();let $e;return typeof ResizeObserver<"u"?($e=new ResizeObserver(xe),$e.observe(ue)):window.addEventListener("resize",xe),()=>{$e?$e.disconnect():window.removeEventListener("resize",xe)}},[r,a,l]),Pn(()=>{const ue=F.current;if(!ue)return;const xe=()=>{if(typeof i=="number"){fe(i);return}if(typeof i=="string"&&/^\d+(?:\.\d+)?px$/.test(i)){const G=i.match(/^(\d+(?:\.\d+)?)px$/);if(G){fe(parseFloat(G[1]));return}}const ye=ue.clientHeight;ye>0&&fe(ye)};xe();let $e;return typeof ResizeObserver<"u"?($e=new ResizeObserver(xe),$e.observe(ue)):window.addEventListener("resize",xe),()=>{$e?$e.disconnect():window.removeEventListener("resize",xe)}},[i,u,f]);const{strokeWidth:D=1,strokeColor:z="white",labelColor:H="grey600",labelFontSize:ie=12,legendFontSize:Y=14,legendSpacing:ee=8}=((Me=O==null?void 0:O.sizes)==null?void 0:Me[Oe])||{},{defaultColors:K=["primary","secondary","success","warning","danger"]}=((Ke=O==null?void 0:O.variants)==null?void 0:Ke[ve])||{},de=Math.min(W,q),Ie=de/2,Se=de/2,Ee=y||de/2-20,Fe=h*Ee,Ue=d.useMemo(()=>{const ue=n.reduce(($e,ye)=>$e+ye.value,0);let xe=C;return n.map(($e,ye)=>{const G=$e.value/ue*100,oe=$e.value/ue*360-v,N={...$e,percentage:G,startAngle:xe,endAngle:xe+oe,midAngle:xe+oe/2,color:$e.color||K[ye%K.length]};return xe+=oe+v,N})},[n,C,v,K]),rt=(ue,xe)=>{const $e=ue*Math.PI/180,ye=Fe>0?(Fe+Ee)/2:xe*.7;return{x:Math.cos($e)*ye,y:Math.sin($e)*ye}};return w.jsxs(Tb,{ref:F,$legendPosition:m,$showLegend:x,$width:r,$height:i,$minWidth:a,$maxWidth:l||r,$minHeight:u,$maxHeight:f||i,"data-testid":`${I}-container`,...L,children:[w.jsxs(kb,{$width:de,$height:de,viewBox:`0 0 ${de} ${de}`,role:"img","aria-label":"Pie chart","data-testid":`${I}-svg`,children:[w.jsx("title",{children:"Pie chart"}),w.jsx("g",{transform:`translate(${Ie}, ${Se})`,children:Ue.map((ue,xe)=>{const $e=zb(ue.startAngle,ue.endAngle,Fe,Ee),ye=rt(ue.midAngle,Ee);return w.jsxs("g",{children:[w.jsx(Rb,{d:$e,$colorKey:ue.color,$strokeWidth:D,$strokeColorKey:z,$animationDuration:S,$startAngle:ue.startAngle,$endAngle:ue.endAngle,"data-testid":`${I}-slice-${xe}`}),b&&w.jsxs(Lb,{x:ye.x,y:ye.y,$colorKey:H,$fontSize:ie,textAnchor:"middle",dominantBaseline:"middle","data-testid":`${I}-label-${xe}`,children:[ue.percentage.toFixed(1),"%"]})]},xe)})})]}),x&&w.jsx(Ob,{$position:m,$spacing:ee,"data-testid":`${I}-legend`,children:Ue.map((ue,xe)=>w.jsxs(Ib,{$spacing:ee,"data-testid":`${I}-legend-item-${xe}`,children:[w.jsx(Mb,{$colorKey:ue.color,$size:Y}),w.jsxs(Fb,{$fontSize:Y,$colorKey:H,children:[ue.label," (",ue.percentage.toFixed(1),"%)"]})]},xe))})]})},Bb=En`
|
|
576
596
|
from {
|
|
577
597
|
stroke-dashoffset: 1000;
|
|
578
598
|
}
|
|
579
599
|
to {
|
|
580
600
|
stroke-dashoffset: 0;
|
|
581
601
|
}
|
|
582
|
-
`,
|
|
602
|
+
`,Pb=En`
|
|
583
603
|
from {
|
|
584
604
|
opacity: 0;
|
|
585
605
|
}
|
|
586
606
|
to {
|
|
587
607
|
opacity: 0.3;
|
|
588
608
|
}
|
|
589
|
-
`,
|
|
609
|
+
`,Wb=En`
|
|
590
610
|
0% {
|
|
591
611
|
transform: scale(0);
|
|
592
612
|
opacity: 0;
|
|
@@ -599,16 +619,16 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
599
619
|
transform: scale(1);
|
|
600
620
|
opacity: 1;
|
|
601
621
|
}
|
|
602
|
-
`,
|
|
622
|
+
`,Db=re(U)`
|
|
603
623
|
position: relative;
|
|
604
624
|
display: block;
|
|
605
|
-
${({$width:n,$minWidth:r,$maxWidth:i,$height:
|
|
606
|
-
|
|
625
|
+
${({$width:n,$minWidth:r,$maxWidth:i,$height:a,$minHeight:l,$maxHeight:u})=>{const f=n&&typeof n=="object",h=r&&typeof r=="object",y=i&&typeof i=="object",v=a&&typeof a=="object";if(f||h||y||v||l&&typeof l=="object"||u&&typeof u=="object"){const m={};return typeof n=="string"?m.width=n:typeof n=="number"?(m.width="100%",i===void 0&&(m.maxWidth=`${n}px`)):f&&(m.width="100%",i===void 0&&(m.maxWidth=n)),typeof r=="number"?m.minWidth=`${r}px`:(typeof r=="string"||r)&&(m.minWidth=r),i!==void 0&&(typeof i=="string"?i==="auto"?m.maxWidth="none":m.maxWidth=i:typeof i=="number"?m.maxWidth=`${i}px`:m.maxWidth=i),typeof a=="string"?m.height=a:typeof a=="number"?(m.height="auto",u===void 0&&(m.maxHeight=`${a}px`)):v&&(m.height="auto",u===void 0&&(m.maxHeight=a)),typeof l=="number"?m.minHeight=`${l}px`:(typeof l=="string"||l)&&(m.minHeight=l),u!==void 0&&(typeof u=="string"?u==="auto"?m.maxHeight="none":m.maxHeight=u:typeof u=="number"?m.maxHeight=`${u}px`:m.maxHeight=u),lr(m)}const x={};return typeof n=="string"?n==="auto"||n==="100%"||/^\d+(\.\d+)?(px|%|em|rem|vw|vh)$/.test(n)?x.width=n:x.width="100%":typeof n=="number"&&(x.width="100%",i===void 0&&(x.maxWidth=`${n}px`)),r!==void 0&&(typeof r=="number"?x.minWidth=`${r}px`:typeof r=="string"&&(x.minWidth=r)),i!==void 0&&(typeof i=="string"?i==="auto"?x.maxWidth="none":x.maxWidth=i:typeof i=="number"&&(x.maxWidth=`${i}px`)),typeof a=="string"?a==="auto"||a==="100%"||/^\d+(\.\d+)?(px|%|em|rem|vw|vh)$/.test(a)?x.height=a:x.height="auto":typeof a=="number"&&(x.height="auto",u===void 0&&(x.maxHeight=`${a}px`)),l!==void 0&&(typeof l=="number"?x.minHeight=`${l}px`:typeof l=="string"&&(x.minHeight=l)),u!==void 0&&(typeof u=="string"?u==="auto"?x.maxHeight="none":x.maxHeight=u:typeof u=="number"&&(x.maxHeight=`${u}px`)),ot(x)}}
|
|
626
|
+
`,Nb=re.svg`
|
|
607
627
|
display: block;
|
|
608
628
|
flex-shrink: 0;
|
|
609
629
|
width: ${({$width:n})=>n===void 0?"100%":typeof n=="number"?`${n}px`:n};
|
|
610
630
|
height: ${({$height:n})=>n?`${n}px`:"auto"};
|
|
611
|
-
`,
|
|
631
|
+
`,Zb=re.path`
|
|
612
632
|
fill: none;
|
|
613
633
|
stroke: ${({theme:n,$colorKey:r})=>n.colors[r]};
|
|
614
634
|
stroke-width: ${({$strokeWidth:n})=>n}px;
|
|
@@ -617,7 +637,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
617
637
|
stroke-linejoin: round;
|
|
618
638
|
stroke-dasharray: 1000;
|
|
619
639
|
stroke-dashoffset: 1000;
|
|
620
|
-
animation: ${
|
|
640
|
+
animation: ${Bb} ${({$animationDuration:n})=>n}ms ease-out forwards;
|
|
621
641
|
transition: stroke 0.3s ease;
|
|
622
642
|
cursor: pointer;
|
|
623
643
|
transition: opacity 0.2s ease, filter 0.2s ease;
|
|
@@ -626,18 +646,18 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
626
646
|
opacity: 1;
|
|
627
647
|
filter: brightness(1.1);
|
|
628
648
|
}
|
|
629
|
-
`,
|
|
649
|
+
`,Hb=re.path`
|
|
630
650
|
fill: ${({theme:n,$colorKey:r})=>n.colors[r]};
|
|
631
651
|
opacity: 0;
|
|
632
|
-
animation: ${
|
|
652
|
+
animation: ${Pb} ${({$animationDuration:n})=>n}ms ease-out forwards;
|
|
633
653
|
animation-delay: ${({$animationDuration:n})=>n/2}ms;
|
|
634
|
-
`,
|
|
654
|
+
`,Vb=re.circle`
|
|
635
655
|
fill: ${({theme:n,$colorKey:r})=>n.colors[r]};
|
|
636
656
|
stroke: white;
|
|
637
657
|
stroke-width: 2px;
|
|
638
658
|
cursor: pointer;
|
|
639
659
|
transform-origin: center;
|
|
640
|
-
animation: ${
|
|
660
|
+
animation: ${Wb} ${({$animationDuration:n})=>n/3}ms ease-out forwards;
|
|
641
661
|
animation-delay: ${({$animationDuration:n})=>n}ms;
|
|
642
662
|
opacity: 0;
|
|
643
663
|
|
|
@@ -645,21 +665,21 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
645
665
|
transform: scale(1.5);
|
|
646
666
|
filter: brightness(1.2);
|
|
647
667
|
}
|
|
648
|
-
`,
|
|
668
|
+
`,Nu=re.line`
|
|
649
669
|
stroke: ${({theme:n,$colorKey:r})=>n.colors[r]||r};
|
|
650
670
|
stroke-width: 1;
|
|
651
671
|
shape-rendering: crispEdges;
|
|
652
|
-
`,
|
|
672
|
+
`,Zu=re.text`
|
|
653
673
|
fill: ${({theme:n,$colorKey:r})=>n.colors[r]||r};
|
|
654
674
|
font-size: ${({$fontSize:n})=>n}px;
|
|
655
675
|
font-family: ${({theme:n})=>n.fonts.neutral};
|
|
656
676
|
user-select: none;
|
|
657
|
-
`,
|
|
677
|
+
`,Hu=re.line`
|
|
658
678
|
stroke: ${({theme:n,$colorKey:r})=>n.colors[r]||r};
|
|
659
679
|
stroke-width: 1;
|
|
660
680
|
stroke-dasharray: 2, 2;
|
|
661
681
|
opacity: 0.3;
|
|
662
|
-
`,
|
|
682
|
+
`,Vu=re(U)`
|
|
663
683
|
display: flex;
|
|
664
684
|
flex-direction: row;
|
|
665
685
|
flex-wrap: wrap;
|
|
@@ -668,7 +688,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
668
688
|
justify-content: center;
|
|
669
689
|
margin-bottom: ${({$position:n})=>n==="top"?"10px":"0"};
|
|
670
690
|
margin-top: ${({$position:n})=>n==="bottom"?"10px":"0"};
|
|
671
|
-
`,
|
|
691
|
+
`,Uu=re(U)`
|
|
672
692
|
display: flex;
|
|
673
693
|
align-items: center;
|
|
674
694
|
gap: ${({$spacing:n})=>n/2}px;
|
|
@@ -678,18 +698,18 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
678
698
|
&:hover {
|
|
679
699
|
opacity: 0.7;
|
|
680
700
|
}
|
|
681
|
-
`,
|
|
701
|
+
`,qu=re(U)`
|
|
682
702
|
width: 24px;
|
|
683
703
|
height: ${({$strokeWidth:n})=>n}px;
|
|
684
704
|
background-color: ${({theme:n,$colorKey:r})=>n.colors[r]};
|
|
685
705
|
flex-shrink: 0;
|
|
686
706
|
${({$strokeDasharray:n})=>n?`background-image: repeating-linear-gradient(90deg, currentColor 0, currentColor ${n.split(",")[0]}px, transparent ${n.split(",")[0]}px, transparent ${n.split(",")[1]||n.split(",")[0]}px);`:""}
|
|
687
|
-
`,
|
|
707
|
+
`,Gu=re.span`
|
|
688
708
|
font-size: ${({$fontSize:n})=>n}px;
|
|
689
709
|
color: ${({theme:n,$colorKey:r})=>n.colors[r]||r};
|
|
690
710
|
font-family: ${({theme:n})=>n.fonts.neutral};
|
|
691
711
|
white-space: nowrap;
|
|
692
|
-
`;
|
|
712
|
+
`;re(U)`
|
|
693
713
|
position: absolute;
|
|
694
714
|
background: white;
|
|
695
715
|
border: 1px solid #ddd;
|
|
@@ -698,7 +718,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
698
718
|
pointer-events: none;
|
|
699
719
|
z-index: 1000;
|
|
700
720
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
701
|
-
`;
|
|
721
|
+
`;re(U)`
|
|
702
722
|
font-size: 12px;
|
|
703
723
|
font-family: ${({theme:n})=>n.fonts.neutral};
|
|
704
|
-
`;const L3=(n,r)=>{if(n.length===0)return"";if(r==="linear")return n.map((i,s)=>`${s===0?"M":"L"} ${i.x} ${i.y}`).join(" ");if(r==="smooth"){let i=`M ${n[0].x} ${n[0].y}`;for(let s=1;s<n.length;s++){const l=n[Math.max(0,s-2)],u=n[s-1],f=n[s],d=n[Math.min(n.length-1,s+1)],g=u.x+(f.x-l.x)/6,v=u.y+(f.y-l.y)/6,_=f.x-(d.x-u.x)/6,S=f.y-(d.y-u.y)/6;i+=` C ${g} ${v}, ${_} ${S}, ${f.x} ${f.y}`}return i}if(r==="step"){let i=`M ${n[0].x} ${n[0].y}`;for(let s=1;s<n.length;s++){const l=(n[s-1].x+n[s].x)/2;i+=` L ${l} ${n[s-1].y} L ${l} ${n[s].y} L ${n[s].x} ${n[s].y}`}return i}return""},I3=({series:n,width:r=600,minWidth:i=300,maxWidth:s,height:l=400,minHeight:u=300,maxHeight:f,chartMargin:d,size:g,variant:v,showGrid:_=!0,showXAxis:S=!0,showYAxis:E=!0,showLegend:w=!0,legendPosition:C="top",curve:I="linear",animationDuration:R=500,xAxisLabels:O,yDomain:k,testID:T="line-chart",...F})=>{const W=xe(),q=W.__hd__.lineChart,V=h.useRef(null),[J,me]=h.useState(()=>{if(typeof r=="number")return r;if(typeof r=="string"){const K=r.match(/^(\d+(?:\.\d+)?)px$/);if(K)return parseFloat(K[1])}return 600}),[_e,Ae]=h.useState(()=>{if(typeof l=="number")return l;if(typeof l=="string"){const K=l.match(/^(\d+(?:\.\d+)?)px$/);if(K)return parseFloat(K[1])}return 400}),D=v||q.defaultVariant,z=g||q.defaultSize;ir(()=>{const K=V.current;if(!K)return;const se=()=>{if(typeof r=="number")me(r);else if(typeof r=="string"&&/^\d+(?:\.\d+)?px$/.test(r)){const Te=r.match(/^(\d+(?:\.\d+)?)px$/);Te&&me(parseFloat(Te[1]))}else{const Te=K.clientWidth;Te>0&&me(Te)}const Pe=(()=>{if(typeof l=="number")return l;if(typeof l=="string"){const Te=l.match(/^(\d+(?:\.\d+)?)px$/);if(Te)return parseFloat(Te[1])}return 400})();Ae(Pe)};se();let le;return typeof ResizeObserver<"u"?(le=new ResizeObserver(se),le.observe(K)):window.addEventListener("resize",se),()=>{le?le.disconnect():window.removeEventListener("resize",se)}},[r,l]),ir(()=>{const K=V.current;if(!K)return;const se=()=>{if(typeof r=="number")me(r);else if(typeof r=="string"&&/^\d+(?:\.\d+)?px$/.test(r)){const Te=r.match(/^(\d+(?:\.\d+)?)px$/);Te&&me(parseFloat(Te[1]))}else{const Te=K.clientWidth;Te>0&&me(Te)}const Pe=(()=>{if(typeof l=="number")return l;if(typeof l=="string"){const Te=l.match(/^(\d+(?:\.\d+)?)px$/);if(Te)return parseFloat(Te[1])}return 400})();Ae(Pe)};se();let le;return typeof ResizeObserver<"u"?(le=new ResizeObserver(se),le.observe(K)):window.addEventListener("resize",se),()=>{le?le.disconnect():window.removeEventListener("resize",se)}},[r,l]);const{strokeWidth:G,dotRadius:ce,axisColor:re,gridColor:ne,labelColor:ee,labelFontSize:pe,legendFontSize:Me,legendSpacing:Ce}=q.sizes[z],{defaultColors:Ve}=q.variants[D],[je,Ge]=h.useMemo(()=>{if(k)return k;let K=1/0,se=-1/0;return n.forEach(le=>{le.data.forEach(Pe=>{K=Math.min(K,Pe.y),se=Math.max(se,Pe.y)})}),K===1/0||se===-1/0?[0,1]:[Math.floor(K-(se-K)*.1),Math.ceil(se+(se-K)*.1)]},[n,k]),ct=h.useMemo(()=>{const se=Array.from({length:5},(mt,oe)=>(je+(Ge-je)*(oe/4)).toFixed(1)),le=W.fonts.neutral,Pe=`${pe}px ${le}`,Te=pe*.6;let De=null;typeof document<"u"&&(De=document.createElement("canvas").getContext("2d"),De&&(De.font=Pe));const ht=mt=>De?De.measureText(mt).width:mt.length*Te,Et=se.reduce((mt,oe)=>Math.max(mt,ht(oe)),0),ot=Math.ceil(Et+12),ft=(d==null?void 0:d.left)??50;return Math.max(ft,ot)},[je,Ge,d==null?void 0:d.left,pe,W.fonts.neutral]),Ue={top:(d==null?void 0:d.top)??20,right:(d==null?void 0:d.right)??20,bottom:(d==null?void 0:d.bottom)??40,left:ct},it=Math.max(0,J-Ue.left-Ue.right),Z=Math.max(0,_e-Ue.top-Ue.bottom),{processedSeries:te,xLabels:de,yTicks:he}=h.useMemo(()=>{const K=new Set,se=[];let le=1/0,Pe=-1/0;n.forEach(Fe=>{Fe.data.forEach(Ye=>{const Je=String(Ye.x);K.has(Je)||(K.add(Je),se.push(Je)),le=Math.min(le,Ye.y),Pe=Math.max(Pe,Ye.y)})});const[Te,De]=k||[Math.floor(le-(Pe-le)*.1),Math.ceil(Pe+(Pe-le)*.1)],ht=O||se,Et=it/(ht.length-1||1),ot=new Map(ht.map((Fe,Ye)=>[String(Fe),Ye*Et])),ft=Fe=>{const Ye=(Fe-Te)/(De-Te||1);return Z-Ye*Z},mt=n.map((Fe,Ye)=>({...Fe,color:Fe.color||Ve[Ye%Ve.length],points:Fe.data.map(Je=>({x:ot.get(String(Je.x))||0,y:ft(Je.y),originalX:Je.x,originalY:Je.y}))})),oe=5,Ze=Array.from({length:oe},(Fe,Ye)=>{const Je=Te+(De-Te)*(Ye/(oe-1));return{value:Je,position:ft(Je),label:Je.toFixed(1)}});return{processedSeries:mt,xLabels:ht,yTicks:Ze.reverse()}},[n,it,Z,O,k,Ve]);return y.jsxs(A3,{ref:V,"data-testid":`${T}-container`,$width:r,$minWidth:i,$maxWidth:s,$height:l,$minHeight:u,$maxHeight:f,...F,children:[w&&C==="top"&&y.jsx(_f,{$position:C,$spacing:Ce,"data-testid":`${T}-legend`,children:te.map((K,se)=>y.jsxs(Cf,{$spacing:Ce,"data-testid":`${T}-legend-item-${se}`,children:[y.jsx(Sf,{$colorKey:K.color,$strokeWidth:K.strokeWidth||G,$strokeDasharray:K.strokeDasharray}),y.jsx(Ef,{$fontSize:Me,$colorKey:ee,children:K.label})]},K.id))}),y.jsxs($3,{$width:J,$height:_e,viewBox:`0 0 ${J} ${_e}`,role:"img","aria-label":"Line chart","data-testid":`${T}-svg`,children:[y.jsx("title",{children:"Line chart"}),y.jsxs("g",{transform:`translate(${Ue.left}, ${Ue.top})`,children:[_&&y.jsxs(y.Fragment,{children:[he.map((K,se)=>y.jsx(xf,{$colorKey:ne,x1:0,y1:K.position,x2:it,y2:K.position,"data-testid":`${T}-grid-h-${se}`},`h-grid-${se}`)),de.map((K,se)=>{const le=se*it/(de.length-1||1);return y.jsx(xf,{$colorKey:ne,x1:le,y1:0,x2:le,y2:Z,"data-testid":`${T}-grid-v-${se}`},`v-grid-${se}`)})]}),te.map((K,se)=>{var Te,De;const le=L3(K.points,I),Pe=K.showArea?`${le} L ${((Te=K.points[K.points.length-1])==null?void 0:Te.x)||0} ${Z} L ${((De=K.points[0])==null?void 0:De.x)||0} ${Z} Z`:"";return y.jsxs("g",{children:[K.showArea&&y.jsx(T3,{d:Pe,$colorKey:K.color,$animationDuration:R,"data-testid":`${T}-area-${se}`}),y.jsx(k3,{d:le,$colorKey:K.color,$strokeWidth:K.strokeWidth||G,$strokeDasharray:K.strokeDasharray,$animationDuration:R,"data-testid":`${T}-line-${se}`}),K.showDots!==!1&&K.points.map((ht,Et)=>y.jsx(R3,{cx:ht.x,cy:ht.y,r:ce,$colorKey:K.color,$animationDuration:R,"data-testid":`${T}-dot-${se}-${Et}`},Et))]},K.id)}),S&&y.jsxs(y.Fragment,{children:[y.jsx(bf,{$colorKey:re,x1:0,y1:Z,x2:it,y2:Z,"data-testid":`${T}-x-axis`}),de.map((K,se)=>{const le=se*it/(de.length-1||1);return y.jsx(wf,{x:le,y:Z+20,$colorKey:ee,$fontSize:pe,textAnchor:"middle","data-testid":`${T}-x-label-${se}`,children:K},se)})]}),E&&y.jsxs(y.Fragment,{children:[y.jsx(bf,{$colorKey:re,x1:0,y1:0,x2:0,y2:Z,"data-testid":`${T}-y-axis`}),he.map((K,se)=>y.jsx(wf,{x:-10,y:K.position,$colorKey:ee,$fontSize:pe,textAnchor:"end",dominantBaseline:"middle","data-testid":`${T}-y-label-${se}`,children:K.label},se))]})]})]}),w&&C==="bottom"&&y.jsx(_f,{$position:C,$spacing:Ce,"data-testid":`${T}-legend`,children:te.map((K,se)=>y.jsxs(Cf,{$spacing:Ce,"data-testid":`${T}-legend-item-${se}`,children:[y.jsx(Sf,{$colorKey:K.color,$strokeWidth:K.strokeWidth||G,$strokeDasharray:K.strokeDasharray}),y.jsx(Ef,{$fontSize:Me,$colorKey:ee,children:K.label})]},K.id))})]})};exports.AIC_Kits_StackingLayers=sn;exports.Accordion=jw;exports.Art=Yt;exports.Avatar=Id;exports.BarChart=f3;exports.Base=Mb;exports.Box=Y;exports.Brand=yd;exports.Button=ya;exports.Carousel=Ow;exports.Checkbox=Dw;exports.DEFAULT_VIMEO_CONFIG=xw;exports.Divider=Wd;exports.Emoji=bd;exports.Grid=s0;exports.Header=Vd;exports.HeaderAuth=Hd;exports.HeaderLogo=Zd;exports.HeaderNav=Nd;exports.Icon=Ta;exports.Image=Rd;exports.Input=jb;exports.LineChart=I3;exports.List=Db;exports.Loading=za;exports.Modal=o3;exports.NormalizedBrowserName=Bd;exports.NormalizedDeviceType=jd;exports.NormalizedOSName=Pd;exports.Pagination=Qw;exports.PaginationItem=a0;exports.PieChart=_3;exports.Progress=r3;exports.RESPONSIVE_BREAKPOINTS=di;exports.RESPONSIVE_BREAKPOINT_KEYS=ai;exports.SUPPORTED_RICH_TEXT_TAGS=Td;exports.Select=Nw;exports.SelectDropdownItem=r0;exports.SelectInputDisplay=i0;exports.Skeleton=Eo;exports.StyledBox=hd;exports.Svg=Ld;exports.Tag=Ww;exports.Text=ut;exports.ThemeProvider=gv;exports.Tooltip=s3;exports.Touchable=Qt;exports.VIMEO_HOST=_w;exports.Vimeo=Cw;exports.accordionTheme=Lf;exports.artTheme=If;exports.avatarTheme=Of;exports.barChartTheme=Mf;exports.baseTheme=Ff;exports.buttonTheme=zf;exports.carouselTheme=jf;exports.checkboxTheme=Bf;exports.configKeys=fd;exports.css=tt;exports.cssPropsKey=ad;exports.customBoxPropsConfig=ld;exports.customBoxPropsKey=ka;exports.defaultColorPalette=_o;exports.defaultGradientColorPalette=kf;exports.defaultScale=An;exports.defaultTheme=fo;exports.dividerTheme=Pf;exports.genBoxStyle=dd;exports.generateResponsiveStyles=Or;exports.getBorderWidths=wa;exports.getComponentsTheme=ed;exports.getFontSizes=Co;exports.getFontWeights=Aa;exports.getFonts=Sa;exports.getGlobalTheme=ov;exports.getLineHeights=Ea;exports.getPaginationTheme=Vf;exports.getRadii=xa;exports.getResponsiveValue=id;exports.getSelectStyles=o0;exports.getShadows=Tf;exports.getSizeValue=bt;exports.getSizes=_a;exports.getSpaces=Ca;exports.getTextColor=To;exports.getTheme=td;exports.getThemeValue=ud;exports.headerTheme=Wf;exports.inferResponsiveValues=rd;exports.inputTheme=Df;exports.isBorderWidth=U8;exports.isColor=$f;exports.isEmoji=pd;exports.isFontSize=nv;exports.isFontWeight=rv;exports.isGradientColor=q8;exports.isIcon=gd;exports.isImage=md;exports.isRadius=Af;exports.isResponsiveValue=So;exports.isSSR=St;exports.isShadow=tv;exports.isSize=rr;exports.isSpace=Rf;exports.isSvg=vd;exports.keyframes=Hn;exports.lineChartTheme=Hf;exports.listTheme=Zf;exports.loadingTheme=Nf;exports.mapStylePropToThemeValue=cd;exports.parseUserAgent=va;exports.pieChartTheme=Uf;exports.populateResponsiveValue=$a;exports.progressTheme=qf;exports.reduceResponsiveValue=od;exports.selectTheme=Gf;exports.shouldForwardProp=nd;exports.skeletonTheme=Kf;exports.styled=ue;exports.tagTheme=Xf;exports.tooltipTheme=Yf;exports.touchableTheme=Qf;exports.transformResponsiveValue=Wt;exports.transposeObject=fa;exports.useEventListener=da;exports.useHover=Ao;exports.useInteractionDetector=Ia;exports.useIsomorphicLayoutEffect=ir;exports.useMediaQuery=eb;exports.useResponsiveBreakpoint=pi;exports.useSelectState=n0;exports.useTheme=xe;exports.useUserAgent=yb;exports.useWindowDimensions=Od;exports.vimeoTheme=Jf;exports.zIndexRegistry=sr;
|
|
724
|
+
`;const Ub=(n,r)=>{if(n.length===0)return"";if(r==="linear")return n.map((i,a)=>`${a===0?"M":"L"} ${i.x} ${i.y}`).join(" ");if(r==="smooth"){let i=`M ${n[0].x} ${n[0].y}`;for(let a=1;a<n.length;a++){const l=n[Math.max(0,a-2)],u=n[a-1],f=n[a],h=n[Math.min(n.length-1,a+1)],y=u.x+(f.x-l.x)/6,v=u.y+(f.y-l.y)/6,$=f.x-(h.x-u.x)/6,T=f.y-(h.y-u.y)/6;i+=` C ${y} ${v}, ${$} ${T}, ${f.x} ${f.y}`}return i}if(r==="step"){let i=`M ${n[0].x} ${n[0].y}`;for(let a=1;a<n.length;a++){const l=(n[a-1].x+n[a].x)/2;i+=` L ${l} ${n[a-1].y} L ${l} ${n[a].y} L ${n[a].x} ${n[a].y}`}return i}return""},qb=({series:n,width:r=600,minWidth:i=300,maxWidth:a,height:l=400,minHeight:u=300,maxHeight:f,chartMargin:h,size:y,variant:v,showGrid:$=!0,showXAxis:T=!0,showYAxis:b=!0,showLegend:x=!0,legendPosition:m="top",curve:S="linear",animationDuration:C=500,xAxisLabels:I,yDomain:L,testID:A="line-chart",...O})=>{const F=Ce(),W=F.__hd__.lineChart,Z=d.useRef(null),[q,fe]=d.useState(()=>{if(typeof r=="number")return r;if(typeof r=="string"){const G=r.match(/^(\d+(?:\.\d+)?)px$/);if(G)return parseFloat(G[1])}return 600}),[ve,Oe]=d.useState(()=>{if(typeof l=="number")return l;if(typeof l=="string"){const G=l.match(/^(\d+(?:\.\d+)?)px$/);if(G)return parseFloat(G[1])}return 400}),D=v||W.defaultVariant,z=y||W.defaultSize;Pn(()=>{const G=Z.current;if(!G)return;const oe=()=>{if(typeof r=="number")fe(r);else if(typeof r=="string"&&/^\d+(?:\.\d+)?px$/.test(r)){const se=r.match(/^(\d+(?:\.\d+)?)px$/);se&&fe(parseFloat(se[1]))}else{const se=G.clientWidth;se>0&&fe(se)}const Q=(()=>{if(typeof l=="number")return l;if(typeof l=="string"){const se=l.match(/^(\d+(?:\.\d+)?)px$/);if(se)return parseFloat(se[1])}return 400})();Oe(Q)};oe();let N;return typeof ResizeObserver<"u"?(N=new ResizeObserver(oe),N.observe(G)):window.addEventListener("resize",oe),()=>{N?N.disconnect():window.removeEventListener("resize",oe)}},[r,l]),Pn(()=>{const G=Z.current;if(!G)return;const oe=()=>{if(typeof r=="number")fe(r);else if(typeof r=="string"&&/^\d+(?:\.\d+)?px$/.test(r)){const se=r.match(/^(\d+(?:\.\d+)?)px$/);se&&fe(parseFloat(se[1]))}else{const se=G.clientWidth;se>0&&fe(se)}const Q=(()=>{if(typeof l=="number")return l;if(typeof l=="string"){const se=l.match(/^(\d+(?:\.\d+)?)px$/);if(se)return parseFloat(se[1])}return 400})();Oe(Q)};oe();let N;return typeof ResizeObserver<"u"?(N=new ResizeObserver(oe),N.observe(G)):window.addEventListener("resize",oe),()=>{N?N.disconnect():window.removeEventListener("resize",oe)}},[r,l]);const{strokeWidth:H,dotRadius:ie,axisColor:Y,gridColor:ee,labelColor:K,labelFontSize:de,legendFontSize:Ie,legendSpacing:Se}=W.sizes[z],{defaultColors:Ee}=W.variants[D],[Fe,Ue]=d.useMemo(()=>{if(L)return L;let G=1/0,oe=-1/0;return n.forEach(N=>{N.data.forEach(Q=>{G=Math.min(G,Q.y),oe=Math.max(oe,Q.y)})}),G===1/0||oe===-1/0?[0,1]:[Math.floor(G-(oe-G)*.1),Math.ceil(oe+(oe-G)*.1)]},[n,L]),rt=d.useMemo(()=>{const oe=Array.from({length:5},(Je,X)=>(Fe+(Ue-Fe)*(X/4)).toFixed(1)),N=F.fonts.neutral,Q=`${de}px ${N}`,se=de*.6;let be=null;typeof document<"u"&&(be=document.createElement("canvas").getContext("2d"),be&&(be.font=Q));const ke=Je=>be?be.measureText(Je).width:Je.length*se,Ze=oe.reduce((Je,X)=>Math.max(Je,ke(X)),0),Qe=Math.ceil(Ze+12),Xe=(h==null?void 0:h.left)??50;return Math.max(Xe,Qe)},[Fe,Ue,h==null?void 0:h.left,de,F.fonts.neutral]),Me={top:(h==null?void 0:h.top)??20,right:(h==null?void 0:h.right)??20,bottom:(h==null?void 0:h.bottom)??40,left:rt},Ke=Math.max(0,q-Me.left-Me.right),ue=Math.max(0,ve-Me.top-Me.bottom),{processedSeries:xe,xLabels:$e,yTicks:ye}=d.useMemo(()=>{const G=new Set,oe=[];let N=1/0,Q=-1/0;n.forEach(Re=>{Re.data.forEach(te=>{const ce=String(te.x);G.has(ce)||(G.add(ce),oe.push(ce)),N=Math.min(N,te.y),Q=Math.max(Q,te.y)})});const[se,be]=L||[Math.floor(N-(Q-N)*.1),Math.ceil(Q+(Q-N)*.1)],ke=I||oe,Ze=Ke/(ke.length-1||1),Qe=new Map(ke.map((Re,te)=>[String(Re),te*Ze])),Xe=Re=>{const te=(Re-se)/(be-se||1);return ue-te*ue},Je=n.map((Re,te)=>({...Re,color:Re.color||Ee[te%Ee.length],points:Re.data.map(ce=>({x:Qe.get(String(ce.x))||0,y:Xe(ce.y),originalX:ce.x,originalY:ce.y}))})),X=5,ze=Array.from({length:X},(Re,te)=>{const ce=se+(be-se)*(te/(X-1));return{value:ce,position:Xe(ce),label:ce.toFixed(1)}});return{processedSeries:Je,xLabels:ke,yTicks:ze.reverse()}},[n,Ke,ue,I,L,Ee]);return w.jsxs(Db,{ref:Z,"data-testid":`${A}-container`,$width:r,$minWidth:i,$maxWidth:a,$height:l,$minHeight:u,$maxHeight:f,...O,children:[x&&m==="top"&&w.jsx(Vu,{$position:m,$spacing:Se,"data-testid":`${A}-legend`,children:xe.map((G,oe)=>w.jsxs(Uu,{$spacing:Se,"data-testid":`${A}-legend-item-${oe}`,children:[w.jsx(qu,{$colorKey:G.color,$strokeWidth:G.strokeWidth||H,$strokeDasharray:G.strokeDasharray}),w.jsx(Gu,{$fontSize:Ie,$colorKey:K,children:G.label})]},G.id))}),w.jsxs(Nb,{$width:q,$height:ve,viewBox:`0 0 ${q} ${ve}`,role:"img","aria-label":"Line chart","data-testid":`${A}-svg`,children:[w.jsx("title",{children:"Line chart"}),w.jsxs("g",{transform:`translate(${Me.left}, ${Me.top})`,children:[$&&w.jsxs(w.Fragment,{children:[ye.map((G,oe)=>w.jsx(Hu,{$colorKey:ee,x1:0,y1:G.position,x2:Ke,y2:G.position,"data-testid":`${A}-grid-h-${oe}`},`h-grid-${oe}`)),$e.map((G,oe)=>{const N=oe*Ke/($e.length-1||1);return w.jsx(Hu,{$colorKey:ee,x1:N,y1:0,x2:N,y2:ue,"data-testid":`${A}-grid-v-${oe}`},`v-grid-${oe}`)})]}),xe.map((G,oe)=>{var se,be;const N=Ub(G.points,S),Q=G.showArea?`${N} L ${((se=G.points[G.points.length-1])==null?void 0:se.x)||0} ${ue} L ${((be=G.points[0])==null?void 0:be.x)||0} ${ue} Z`:"";return w.jsxs("g",{children:[G.showArea&&w.jsx(Hb,{d:Q,$colorKey:G.color,$animationDuration:C,"data-testid":`${A}-area-${oe}`}),w.jsx(Zb,{d:N,$colorKey:G.color,$strokeWidth:G.strokeWidth||H,$strokeDasharray:G.strokeDasharray,$animationDuration:C,"data-testid":`${A}-line-${oe}`}),G.showDots!==!1&&G.points.map((ke,Ze)=>w.jsx(Vb,{cx:ke.x,cy:ke.y,r:ie,$colorKey:G.color,$animationDuration:C,"data-testid":`${A}-dot-${oe}-${Ze}`},Ze))]},G.id)}),T&&w.jsxs(w.Fragment,{children:[w.jsx(Nu,{$colorKey:Y,x1:0,y1:ue,x2:Ke,y2:ue,"data-testid":`${A}-x-axis`}),$e.map((G,oe)=>{const N=oe*Ke/($e.length-1||1);return w.jsx(Zu,{x:N,y:ue+20,$colorKey:K,$fontSize:de,textAnchor:"middle","data-testid":`${A}-x-label-${oe}`,children:G},oe)})]}),b&&w.jsxs(w.Fragment,{children:[w.jsx(Nu,{$colorKey:Y,x1:0,y1:0,x2:0,y2:ue,"data-testid":`${A}-y-axis`}),ye.map((G,oe)=>w.jsx(Zu,{x:-10,y:G.position,$colorKey:K,$fontSize:de,textAnchor:"end",dominantBaseline:"middle","data-testid":`${A}-y-label-${oe}`,children:G.label},oe))]})]})]}),x&&m==="bottom"&&w.jsx(Vu,{$position:m,$spacing:Se,"data-testid":`${A}-legend`,children:xe.map((G,oe)=>w.jsxs(Uu,{$spacing:Se,"data-testid":`${A}-legend-item-${oe}`,children:[w.jsx(qu,{$colorKey:G.color,$strokeWidth:G.strokeWidth||H,$strokeDasharray:G.strokeDasharray}),w.jsx(Gu,{$fontSize:Ie,$colorKey:K,children:G.label})]},G.id))})]})};exports.AIC_Kits_StackingLayers=Qt;exports.Accordion=Ky;exports.Art=Ut;exports.Avatar=tf;exports.BarChart=Ab;exports.Base=Uv;exports.Box=U;exports.Brand=Dc;exports.Button=aa;exports.Carousel=Vy;exports.Checkbox=Jy;exports.DEFAULT_VIMEO_CONFIG=Iy;exports.Divider=sf;exports.Emoji=Nc;exports.Grid=$f;exports.Header=df;exports.HeaderAuth=uf;exports.HeaderLogo=cf;exports.HeaderNav=ff;exports.Icon=va;exports.Image=Jc;exports.Input=Kv;exports.LineChart=qb;exports.List=Jv;exports.Loading=wa;exports.Modal=vb;exports.NormalizedBrowserName=of;exports.NormalizedDeviceType=rf;exports.NormalizedOSName=af;exports.Pagination=cb;exports.PaginationItem=Tf;exports.PieChart=jb;exports.Progress=gb;exports.RESPONSIVE_BREAKPOINTS=Rr;exports.RESPONSIVE_BREAKPOINT_KEYS=$r;exports.SUPPORTED_RICH_TEXT_TAGS=Qc;exports.Select=nb;exports.SelectDropdownItem=Sf;exports.SelectInputDisplay=Ef;exports.Skeleton=ji;exports.StyledBox=zc;exports.Svg=ef;exports.Tag=Qy;exports.Text=ct;exports.ThemeProvider=z2;exports.Tooltip=yb;exports.Touchable=qt;exports.VIMEO_HOST=My;exports.Vimeo=Fy;exports.accordionTheme=ec;exports.artTheme=tc;exports.avatarTheme=nc;exports.barChartTheme=rc;exports.baseTheme=ic;exports.buttonTheme=oc;exports.carouselTheme=ac;exports.checkboxTheme=sc;exports.configKeys=Mc;exports.css=ot;exports.cssPropsKey=Rc;exports.customBoxPropsConfig=Lc;exports.customBoxPropsKey=ma;exports.defaultColorPalette=Mi;exports.defaultGradientColorPalette=Yu;exports.defaultScale=hn;exports.defaultTheme=Ai;exports.dividerTheme=lc;exports.genBoxStyle=Fc;exports.generateResponsiveStyles=lr;exports.getBorderWidths=la;exports.getComponentsTheme=Cc;exports.getFontSizes=Fi;exports.getFontWeights=pa;exports.getFonts=da;exports.getGlobalTheme=A2;exports.getLineHeights=ha;exports.getPaginationTheme=pc;exports.getRadii=ua;exports.getResponsiveValue=$c;exports.getSelectStyles=Af;exports.getShadows=Qu;exports.getSizeValue=mt;exports.getSizes=ca;exports.getSpaces=fa;exports.getTextColor=Pi;exports.getTheme=Sc;exports.getThemeValue=Oc;exports.headerTheme=uc;exports.inferResponsiveValues=Ac;exports.inputTheme=cc;exports.isBorderWidth=h2;exports.isColor=Xu;exports.isEmoji=jc;exports.isFontSize=C2;exports.isFontWeight=S2;exports.isGradientColor=p2;exports.isIcon=Bc;exports.isImage=Pc;exports.isRadius=Ku;exports.isResponsiveValue=zi;exports.isSSR=wt;exports.isShadow=_2;exports.isSize=Bn;exports.isSpace=Ju;exports.isSvg=Wc;exports.keyframes=En;exports.lineChartTheme=fc;exports.listTheme=dc;exports.loadingTheme=hc;exports.mapStylePropToThemeValue=Ic;exports.parseUserAgent=oa;exports.pieChartTheme=gc;exports.populateResponsiveValue=ga;exports.progressTheme=mc;exports.reduceResponsiveValue=Tc;exports.selectTheme=vc;exports.shouldForwardProp=Ec;exports.skeletonTheme=yc;exports.styled=re;exports.tagTheme=bc;exports.tooltipTheme=xc;exports.touchableTheme=wc;exports.transformResponsiveValue=zt;exports.transposeObject=ra;exports.useEventListener=ia;exports.useHover=Bi;exports.useInteractionDetector=xa;exports.useIsomorphicLayoutEffect=Pn;exports.useMediaQuery=wv;exports.useResponsiveBreakpoint=Or;exports.useSelectState=Cf;exports.useTheme=Ce;exports.useUserAgent=Rv;exports.useWindowDimensions=nf;exports.vimeoTheme=_c;exports.zIndexRegistry=Dn;
|