@aic-kits/react 0.34.7 → 0.34.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/DatePicker/DatePickerCalendar.d.ts +2 -0
- package/dist/components/DatePicker/DatePickerGrid.d.ts +2 -0
- package/dist/components/DatePicker/DatePickerHeader.d.ts +8 -0
- package/dist/components/DatePicker/DatePickerInput.d.ts +3 -0
- package/dist/components/DatePicker/DatePickerMonthPicker.d.ts +13 -0
- package/dist/components/DatePicker/DatePickerPopup.d.ts +6 -0
- package/dist/components/DatePicker/DatePickerRangeInput.d.ts +26 -0
- package/dist/components/DatePicker/DatePickerTimezone.d.ts +2 -0
- package/dist/components/DatePicker/DatePickerYearPicker.d.ts +11 -0
- package/dist/components/DatePicker/StyledDatePicker.d.ts +26 -0
- package/dist/components/DatePicker/constants.d.ts +23 -0
- package/dist/components/DatePicker/hooks.d.ts +37 -0
- package/dist/components/DatePicker/index.d.ts +4 -0
- package/dist/components/DatePicker/types.d.ts +325 -0
- package/dist/components/DatePicker/utils.d.ts +203 -0
- package/dist/components/Input/types.d.ts +8 -0
- package/dist/components/Select/SelectDropdown.d.ts +2 -2
- package/dist/components/TimePicker/StyledTimePicker.d.ts +15 -0
- package/dist/components/TimePicker/TimePickerInput.d.ts +3 -0
- package/dist/components/TimePicker/TimePickerPopup.d.ts +2 -0
- package/dist/components/TimePicker/TimePickerRangeInput.d.ts +24 -0
- package/dist/components/TimePicker/TimePickerWheel.d.ts +2 -0
- package/dist/components/TimePicker/TimePickerWheels.d.ts +2 -0
- package/dist/components/TimePicker/constants.d.ts +12 -0
- package/dist/components/TimePicker/hooks.d.ts +25 -0
- package/dist/components/TimePicker/index.d.ts +3 -0
- package/dist/components/TimePicker/types.d.ts +185 -0
- package/dist/components/TimePicker/utils.d.ts +73 -0
- package/dist/components/index.d.ts +2 -0
- package/dist/hooks/index.d.ts +1 -0
- package/dist/hooks/usePopupPosition.d.ts +15 -0
- package/dist/index.cjs +482 -315
- package/dist/index.js +10966 -7758
- package/dist/theme/components/datepicker.d.ts +85 -0
- package/dist/theme/components/index.d.ts +14 -0
- package/dist/theme/components/timepicker.d.ts +50 -0
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -1,65 +1,65 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var eb=Object.defineProperty;var tb=(e,n,i)=>n in e?eb(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i;var Wr=(e,n,i)=>tb(e,typeof n!="symbol"?n+"":n,i);Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const m=require("react/jsx-runtime"),er=require("styled-components"),c=require("react"),jf=require("react-dom");var zo=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Ii={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 G8=ai.exports,mc;function K8(){return mc||(mc=1,function(t,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`",g="__lodash_hash_undefined__",v=500,_="__lodash_placeholder__",S=1,E=2,x=4,C=1,F=2,R=1,I=2,T=4,k=8,O=16,M=32,N=64,V=128,Q=256,pe=512,Ce=30,Me="...",D=800,j=16,G=1,le=2,te=3,oe=1/0,ee=9007199254740991,ve=17976931348623157e292,je=NaN,ke=4294967295,Oe=ke-1,De=ke>>>1,Ke=[["ary",V],["bind",R],["bindKey",I],["curry",k],["curryRight",O],["flip",pe],["partial",M],["partialRight",N],["rearg",Q]],gt="[object Arguments]",Be="[object Array]",it="[object AsyncFunction]",de="[object Boolean]",Se="[object Date]",Re="[object DOMException]",ye="[object Error]",J="[object Function]",ce="[object GeneratorFunction]",Z="[object Map]",ie="[object Number]",fe="[object Null]",we="[object Object]",We="[object Promise]",Xe="[object Proxy]",tt="[object RegExp]",nt="[object Set]",ot="[object String]",re="[object Symbol]",Ve="[object Undefined]",Pe="[object WeakMap]",He="[object WeakSet]",Qe="[object ArrayBuffer]",_t="[object DataView]",Vn="[object Float32Array]",Io="[object Float64Array]",Mo="[object Int8Array]",Fo="[object Int16Array]",zo="[object Int32Array]",jo="[object Uint8Array]",Bo="[object Uint8ClampedArray]",Po="[object Uint16Array]",Wo="[object Uint32Array]",d0=/\b__p \+= '';/g,h0=/\b(__p \+=) '' \+/g,p0=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Ds=/&(?:amp|lt|gt|quot|#39);/g,Hs=/[&<>"']/g,g0=RegExp(Ds.source),m0=RegExp(Hs.source),v0=/<%-([\s\S]+?)%>/g,y0=/<%([\s\S]+?)%>/g,Zs=/<%=([\s\S]+?)%>/g,b0=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,x0=/^\w*$/,w0=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Do=/[\\^$.*+?()[\]{}|]/g,_0=RegExp(Do.source),Ho=/^\s+/,C0=/\s/,S0=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,E0=/\{\n\/\* \[wrapped with (.+)\] \*/,A0=/,? & /,$0=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,k0=/[()=,{}\[\]\/\s]/,T0=/\\(\\)?/g,R0=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Vs=/\w*$/,L0=/^[-+]0x[0-9a-f]+$/i,O0=/^0b[01]+$/i,I0=/^\[object .+?Constructor\]$/,M0=/^0o[0-7]+$/i,F0=/^(?:0|[1-9]\d*)$/,z0=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,vi=/($^)/,j0=/['\n\r\u2028\u2029\\]/g,yi="\\ud800-\\udfff",B0="\\u0300-\\u036f",P0="\\ufe20-\\ufe2f",W0="\\u20d0-\\u20ff",Ns=B0+P0+W0,Us="\\u2700-\\u27bf",qs="a-z\\xdf-\\xf6\\xf8-\\xff",D0="\\xac\\xb1\\xd7\\xf7",H0="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Z0="\\u2000-\\u206f",V0=" \\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",Gs="A-Z\\xc0-\\xd6\\xd8-\\xde",Ks="\\ufe0e\\ufe0f",Xs=D0+H0+Z0+V0,Zo="['’]",N0="["+yi+"]",Ys="["+Xs+"]",bi="["+Ns+"]",Qs="\\d+",U0="["+Us+"]",Js="["+qs+"]",el="[^"+yi+Xs+Qs+Us+qs+Gs+"]",Vo="\\ud83c[\\udffb-\\udfff]",q0="(?:"+bi+"|"+Vo+")",tl="[^"+yi+"]",No="(?:\\ud83c[\\udde6-\\uddff]){2}",Uo="[\\ud800-\\udbff][\\udc00-\\udfff]",lr="["+Gs+"]",nl="\\u200d",rl="(?:"+Js+"|"+el+")",G0="(?:"+lr+"|"+el+")",il="(?:"+Zo+"(?:d|ll|m|re|s|t|ve))?",ol="(?:"+Zo+"(?:D|LL|M|RE|S|T|VE))?",al=q0+"?",sl="["+Ks+"]?",K0="(?:"+nl+"(?:"+[tl,No,Uo].join("|")+")"+sl+al+")*",X0="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Y0="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",ll=sl+al+K0,Q0="(?:"+[U0,No,Uo].join("|")+")"+ll,J0="(?:"+[tl+bi+"?",bi,No,Uo,N0].join("|")+")",e1=RegExp(Zo,"g"),t1=RegExp(bi,"g"),qo=RegExp(Vo+"(?="+Vo+")|"+J0+ll,"g"),n1=RegExp([lr+"?"+Js+"+"+il+"(?="+[Ys,lr,"$"].join("|")+")",G0+"+"+ol+"(?="+[Ys,lr+rl,"$"].join("|")+")",lr+"?"+rl+"+"+il,lr+"+"+ol,Y0,X0,Qs,Q0].join("|"),"g"),r1=RegExp("["+nl+yi+Ns+Ks+"]"),i1=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,o1=["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"],a1=-1,Je={};Je[Vn]=Je[Io]=Je[Mo]=Je[Fo]=Je[zo]=Je[jo]=Je[Bo]=Je[Po]=Je[Wo]=!0,Je[gt]=Je[Be]=Je[Qe]=Je[de]=Je[_t]=Je[Se]=Je[ye]=Je[J]=Je[Z]=Je[ie]=Je[we]=Je[tt]=Je[nt]=Je[ot]=Je[Pe]=!1;var Ye={};Ye[gt]=Ye[Be]=Ye[Qe]=Ye[_t]=Ye[de]=Ye[Se]=Ye[Vn]=Ye[Io]=Ye[Mo]=Ye[Fo]=Ye[zo]=Ye[Z]=Ye[ie]=Ye[we]=Ye[tt]=Ye[nt]=Ye[ot]=Ye[re]=Ye[jo]=Ye[Bo]=Ye[Po]=Ye[Wo]=!0,Ye[ye]=Ye[J]=Ye[Pe]=!1;var s1={À:"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"},l1={"&":"&","<":"<",">":">",'"':""","'":"'"},u1={"&":"&","<":"<",">":">",""":'"',"'":"'"},c1={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},f1=parseFloat,d1=parseInt,ul=typeof oo=="object"&&oo&&oo.Object===Object&&oo,h1=typeof self=="object"&&self&&self.Object===Object&&self,mt=ul||h1||Function("return this")(),Go=r&&!r.nodeType&&r,Nn=Go&&!0&&t&&!t.nodeType&&t,cl=Nn&&Nn.exports===Go,Ko=cl&&ul.process,Zt=function(){try{var A=Nn&&Nn.require&&Nn.require("util").types;return A||Ko&&Ko.binding&&Ko.binding("util")}catch{}}(),fl=Zt&&Zt.isArrayBuffer,dl=Zt&&Zt.isDate,hl=Zt&&Zt.isMap,pl=Zt&&Zt.isRegExp,gl=Zt&&Zt.isSet,ml=Zt&&Zt.isTypedArray;function Ft(A,z,L){switch(L.length){case 0:return A.call(z);case 1:return A.call(z,L[0]);case 2:return A.call(z,L[0],L[1]);case 3:return A.call(z,L[0],L[1],L[2])}return A.apply(z,L)}function p1(A,z,L,ae){for(var be=-1,Ze=A==null?0:A.length;++be<Ze;){var ft=A[be];z(ae,ft,L(ft),A)}return ae}function Vt(A,z){for(var L=-1,ae=A==null?0:A.length;++L<ae&&z(A[L],L,A)!==!1;);return A}function g1(A,z){for(var L=A==null?0:A.length;L--&&z(A[L],L,A)!==!1;);return A}function vl(A,z){for(var L=-1,ae=A==null?0:A.length;++L<ae;)if(!z(A[L],L,A))return!1;return!0}function kn(A,z){for(var L=-1,ae=A==null?0:A.length,be=0,Ze=[];++L<ae;){var ft=A[L];z(ft,L,A)&&(Ze[be++]=ft)}return Ze}function xi(A,z){var L=A==null?0:A.length;return!!L&&ur(A,z,0)>-1}function Xo(A,z,L){for(var ae=-1,be=A==null?0:A.length;++ae<be;)if(L(z,A[ae]))return!0;return!1}function et(A,z){for(var L=-1,ae=A==null?0:A.length,be=Array(ae);++L<ae;)be[L]=z(A[L],L,A);return be}function Tn(A,z){for(var L=-1,ae=z.length,be=A.length;++L<ae;)A[be+L]=z[L];return A}function Yo(A,z,L,ae){var be=-1,Ze=A==null?0:A.length;for(ae&&Ze&&(L=A[++be]);++be<Ze;)L=z(L,A[be],be,A);return L}function m1(A,z,L,ae){var be=A==null?0:A.length;for(ae&&be&&(L=A[--be]);be--;)L=z(L,A[be],be,A);return L}function Qo(A,z){for(var L=-1,ae=A==null?0:A.length;++L<ae;)if(z(A[L],L,A))return!0;return!1}var v1=Jo("length");function y1(A){return A.split("")}function b1(A){return A.match($0)||[]}function yl(A,z,L){var ae;return L(A,function(be,Ze,ft){if(z(be,Ze,ft))return ae=Ze,!1}),ae}function wi(A,z,L,ae){for(var be=A.length,Ze=L+(ae?1:-1);ae?Ze--:++Ze<be;)if(z(A[Ze],Ze,A))return Ze;return-1}function ur(A,z,L){return z===z?L1(A,z,L):wi(A,bl,L)}function x1(A,z,L,ae){for(var be=L-1,Ze=A.length;++be<Ze;)if(ae(A[be],z))return be;return-1}function bl(A){return A!==A}function xl(A,z){var L=A==null?0:A.length;return L?ta(A,z)/L:je}function Jo(A){return function(z){return z==null?i:z[A]}}function ea(A){return function(z){return A==null?i:A[z]}}function wl(A,z,L,ae,be){return be(A,function(Ze,ft,Ge){L=ae?(ae=!1,Ze):z(L,Ze,ft,Ge)}),L}function w1(A,z){var L=A.length;for(A.sort(z);L--;)A[L]=A[L].value;return A}function ta(A,z){for(var L,ae=-1,be=A.length;++ae<be;){var Ze=z(A[ae]);Ze!==i&&(L=L===i?Ze:L+Ze)}return L}function na(A,z){for(var L=-1,ae=Array(A);++L<A;)ae[L]=z(L);return ae}function _1(A,z){return et(z,function(L){return[L,A[L]]})}function _l(A){return A&&A.slice(0,Al(A)+1).replace(Ho,"")}function zt(A){return function(z){return A(z)}}function ra(A,z){return et(z,function(L){return A[L]})}function jr(A,z){return A.has(z)}function Cl(A,z){for(var L=-1,ae=A.length;++L<ae&&ur(z,A[L],0)>-1;);return L}function Sl(A,z){for(var L=A.length;L--&&ur(z,A[L],0)>-1;);return L}function C1(A,z){for(var L=A.length,ae=0;L--;)A[L]===z&&++ae;return ae}var S1=ea(s1),E1=ea(l1);function A1(A){return"\\"+c1[A]}function $1(A,z){return A==null?i:A[z]}function cr(A){return r1.test(A)}function k1(A){return i1.test(A)}function T1(A){for(var z,L=[];!(z=A.next()).done;)L.push(z.value);return L}function ia(A){var z=-1,L=Array(A.size);return A.forEach(function(ae,be){L[++z]=[be,ae]}),L}function El(A,z){return function(L){return A(z(L))}}function Rn(A,z){for(var L=-1,ae=A.length,be=0,Ze=[];++L<ae;){var ft=A[L];(ft===z||ft===_)&&(A[L]=_,Ze[be++]=L)}return Ze}function _i(A){var z=-1,L=Array(A.size);return A.forEach(function(ae){L[++z]=ae}),L}function R1(A){var z=-1,L=Array(A.size);return A.forEach(function(ae){L[++z]=[ae,ae]}),L}function L1(A,z,L){for(var ae=L-1,be=A.length;++ae<be;)if(A[ae]===z)return ae;return-1}function O1(A,z,L){for(var ae=L+1;ae--;)if(A[ae]===z)return ae;return ae}function fr(A){return cr(A)?M1(A):v1(A)}function en(A){return cr(A)?F1(A):y1(A)}function Al(A){for(var z=A.length;z--&&C0.test(A.charAt(z)););return z}var I1=ea(u1);function M1(A){for(var z=qo.lastIndex=0;qo.test(A);)++z;return z}function F1(A){return A.match(qo)||[]}function z1(A){return A.match(n1)||[]}var j1=function A(z){z=z==null?mt:dr.defaults(mt.Object(),z,dr.pick(mt,o1));var L=z.Array,ae=z.Date,be=z.Error,Ze=z.Function,ft=z.Math,Ge=z.Object,oa=z.RegExp,B1=z.String,Nt=z.TypeError,Ci=L.prototype,P1=Ze.prototype,hr=Ge.prototype,Si=z["__core-js_shared__"],Ei=P1.toString,Ue=hr.hasOwnProperty,W1=0,$l=function(){var e=/[^.]+$/.exec(Si&&Si.keys&&Si.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Ai=hr.toString,D1=Ei.call(Ge),H1=mt._,Z1=oa("^"+Ei.call(Ue).replace(Do,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),$i=cl?z.Buffer:i,Ln=z.Symbol,ki=z.Uint8Array,kl=$i?$i.allocUnsafe:i,Ti=El(Ge.getPrototypeOf,Ge),Tl=Ge.create,Rl=hr.propertyIsEnumerable,Ri=Ci.splice,Ll=Ln?Ln.isConcatSpreadable:i,Br=Ln?Ln.iterator:i,Un=Ln?Ln.toStringTag:i,Li=function(){try{var e=Yn(Ge,"defineProperty");return e({},"",{}),e}catch{}}(),V1=z.clearTimeout!==mt.clearTimeout&&z.clearTimeout,N1=ae&&ae.now!==mt.Date.now&&ae.now,U1=z.setTimeout!==mt.setTimeout&&z.setTimeout,Oi=ft.ceil,Ii=ft.floor,aa=Ge.getOwnPropertySymbols,q1=$i?$i.isBuffer:i,Ol=z.isFinite,G1=Ci.join,K1=El(Ge.keys,Ge),dt=ft.max,bt=ft.min,X1=ae.now,Y1=z.parseInt,Il=ft.random,Q1=Ci.reverse,sa=Yn(z,"DataView"),Pr=Yn(z,"Map"),la=Yn(z,"Promise"),pr=Yn(z,"Set"),Wr=Yn(z,"WeakMap"),Dr=Yn(Ge,"create"),Mi=Wr&&new Wr,gr={},J1=Qn(sa),eh=Qn(Pr),th=Qn(la),nh=Qn(pr),rh=Qn(Wr),Fi=Ln?Ln.prototype:i,Hr=Fi?Fi.valueOf:i,Ml=Fi?Fi.toString:i;function p(e){if(at(e)&&!_e(e)&&!(e instanceof Ie)){if(e instanceof Ut)return e;if(Ue.call(e,"__wrapped__"))return Fu(e)}return new Ut(e)}var mr=function(){function e(){}return function(n){if(!rt(n))return{};if(Tl)return Tl(n);e.prototype=n;var o=new e;return e.prototype=i,o}}();function zi(){}function Ut(e,n){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!n,this.__index__=0,this.__values__=i}p.templateSettings={escape:v0,evaluate:y0,interpolate:Zs,variable:"",imports:{_:p}},p.prototype=zi.prototype,p.prototype.constructor=p,Ut.prototype=mr(zi.prototype),Ut.prototype.constructor=Ut;function Ie(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=ke,this.__views__=[]}function ih(){var e=new Ie(this.__wrapped__);return e.__actions__=$t(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=$t(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=$t(this.__views__),e}function oh(){if(this.__filtered__){var e=new Ie(this);e.__dir__=-1,e.__filtered__=!0}else e=this.clone(),e.__dir__*=-1;return e}function ah(){var e=this.__wrapped__.value(),n=this.__dir__,o=_e(e),s=n<0,c=o?e.length:0,m=yp(0,c,this.__views__),b=m.start,w=m.end,$=w-b,P=s?w:b-1,W=this.__iteratees__,U=W.length,ne=0,ue=bt($,this.__takeCount__);if(!o||!s&&c==$&&ue==$)return iu(e,this.__actions__);var ge=[];e:for(;$--&&ne<ue;){P+=n;for(var $e=-1,me=e[P];++$e<U;){var Le=W[$e],Fe=Le.iteratee,Pt=Le.type,Et=Fe(me);if(Pt==le)me=Et;else if(!Et){if(Pt==G)continue e;break e}}ge[ne++]=me}return ge}Ie.prototype=mr(zi.prototype),Ie.prototype.constructor=Ie;function qn(e){var n=-1,o=e==null?0:e.length;for(this.clear();++n<o;){var s=e[n];this.set(s[0],s[1])}}function sh(){this.__data__=Dr?Dr(null):{},this.size=0}function lh(e){var n=this.has(e)&&delete this.__data__[e];return this.size-=n?1:0,n}function uh(e){var n=this.__data__;if(Dr){var o=n[e];return o===g?i:o}return Ue.call(n,e)?n[e]:i}function ch(e){var n=this.__data__;return Dr?n[e]!==i:Ue.call(n,e)}function fh(e,n){var o=this.__data__;return this.size+=this.has(e)?0:1,o[e]=Dr&&n===i?g:n,this}qn.prototype.clear=sh,qn.prototype.delete=lh,qn.prototype.get=uh,qn.prototype.has=ch,qn.prototype.set=fh;function hn(e){var n=-1,o=e==null?0:e.length;for(this.clear();++n<o;){var s=e[n];this.set(s[0],s[1])}}function dh(){this.__data__=[],this.size=0}function hh(e){var n=this.__data__,o=ji(n,e);if(o<0)return!1;var s=n.length-1;return o==s?n.pop():Ri.call(n,o,1),--this.size,!0}function ph(e){var n=this.__data__,o=ji(n,e);return o<0?i:n[o][1]}function gh(e){return ji(this.__data__,e)>-1}function mh(e,n){var o=this.__data__,s=ji(o,e);return s<0?(++this.size,o.push([e,n])):o[s][1]=n,this}hn.prototype.clear=dh,hn.prototype.delete=hh,hn.prototype.get=ph,hn.prototype.has=gh,hn.prototype.set=mh;function pn(e){var n=-1,o=e==null?0:e.length;for(this.clear();++n<o;){var s=e[n];this.set(s[0],s[1])}}function vh(){this.size=0,this.__data__={hash:new qn,map:new(Pr||hn),string:new qn}}function yh(e){var n=Ki(this,e).delete(e);return this.size-=n?1:0,n}function bh(e){return Ki(this,e).get(e)}function xh(e){return Ki(this,e).has(e)}function wh(e,n){var o=Ki(this,e),s=o.size;return o.set(e,n),this.size+=o.size==s?0:1,this}pn.prototype.clear=vh,pn.prototype.delete=yh,pn.prototype.get=bh,pn.prototype.has=xh,pn.prototype.set=wh;function Gn(e){var n=-1,o=e==null?0:e.length;for(this.__data__=new pn;++n<o;)this.add(e[n])}function _h(e){return this.__data__.set(e,g),this}function Ch(e){return this.__data__.has(e)}Gn.prototype.add=Gn.prototype.push=_h,Gn.prototype.has=Ch;function tn(e){var n=this.__data__=new hn(e);this.size=n.size}function Sh(){this.__data__=new hn,this.size=0}function Eh(e){var n=this.__data__,o=n.delete(e);return this.size=n.size,o}function Ah(e){return this.__data__.get(e)}function $h(e){return this.__data__.has(e)}function kh(e,n){var o=this.__data__;if(o instanceof hn){var s=o.__data__;if(!Pr||s.length<l-1)return s.push([e,n]),this.size=++o.size,this;o=this.__data__=new pn(s)}return o.set(e,n),this.size=o.size,this}tn.prototype.clear=Sh,tn.prototype.delete=Eh,tn.prototype.get=Ah,tn.prototype.has=$h,tn.prototype.set=kh;function Fl(e,n){var o=_e(e),s=!o&&Jn(e),c=!o&&!s&&zn(e),m=!o&&!s&&!c&&xr(e),b=o||s||c||m,w=b?na(e.length,B1):[],$=w.length;for(var P in e)(n||Ue.call(e,P))&&!(b&&(P=="length"||c&&(P=="offset"||P=="parent")||m&&(P=="buffer"||P=="byteLength"||P=="byteOffset")||yn(P,$)))&&w.push(P);return w}function zl(e){var n=e.length;return n?e[ba(0,n-1)]:i}function Th(e,n){return Xi($t(e),Kn(n,0,e.length))}function Rh(e){return Xi($t(e))}function ua(e,n,o){(o!==i&&!nn(e[n],o)||o===i&&!(n in e))&&gn(e,n,o)}function Zr(e,n,o){var s=e[n];(!(Ue.call(e,n)&&nn(s,o))||o===i&&!(n in e))&&gn(e,n,o)}function ji(e,n){for(var o=e.length;o--;)if(nn(e[o][0],n))return o;return-1}function Lh(e,n,o,s){return On(e,function(c,m,b){n(s,c,o(c),b)}),s}function jl(e,n){return e&&ln(n,pt(n),e)}function Oh(e,n){return e&&ln(n,Tt(n),e)}function gn(e,n,o){n=="__proto__"&&Li?Li(e,n,{configurable:!0,enumerable:!0,value:o,writable:!0}):e[n]=o}function ca(e,n){for(var o=-1,s=n.length,c=L(s),m=e==null;++o<s;)c[o]=m?i:Va(e,n[o]);return c}function Kn(e,n,o){return e===e&&(o!==i&&(e=e<=o?e:o),n!==i&&(e=e>=n?e:n)),e}function qt(e,n,o,s,c,m){var b,w=n&S,$=n&E,P=n&x;if(o&&(b=c?o(e,s,c,m):o(e)),b!==i)return b;if(!rt(e))return e;var W=_e(e);if(W){if(b=xp(e),!w)return $t(e,b)}else{var U=xt(e),ne=U==J||U==ce;if(zn(e))return su(e,w);if(U==we||U==gt||ne&&!c){if(b=$||ne?{}:Au(e),!w)return $?up(e,Oh(b,e)):lp(e,jl(b,e))}else{if(!Ye[U])return c?e:{};b=wp(e,U,w)}}m||(m=new tn);var ue=m.get(e);if(ue)return ue;m.set(e,b),tc(e)?e.forEach(function(me){b.add(qt(me,n,o,me,e,m))}):Ju(e)&&e.forEach(function(me,Le){b.set(Le,qt(me,n,o,Le,e,m))});var ge=P?$?Ra:Ta:$?Tt:pt,$e=W?i:ge(e);return Vt($e||e,function(me,Le){$e&&(Le=me,me=e[Le]),Zr(b,Le,qt(me,n,o,Le,e,m))}),b}function Ih(e){var n=pt(e);return function(o){return Bl(o,e,n)}}function Bl(e,n,o){var s=o.length;if(e==null)return!s;for(e=Ge(e);s--;){var c=o[s],m=n[c],b=e[c];if(b===i&&!(c in e)||!m(b))return!1}return!0}function Pl(e,n,o){if(typeof e!="function")throw new Nt(f);return Xr(function(){e.apply(i,o)},n)}function Vr(e,n,o,s){var c=-1,m=xi,b=!0,w=e.length,$=[],P=n.length;if(!w)return $;o&&(n=et(n,zt(o))),s?(m=Xo,b=!1):n.length>=l&&(m=jr,b=!1,n=new Gn(n));e:for(;++c<w;){var W=e[c],U=o==null?W:o(W);if(W=s||W!==0?W:0,b&&U===U){for(var ne=P;ne--;)if(n[ne]===U)continue e;$.push(W)}else m(n,U,s)||$.push(W)}return $}var On=du(sn),Wl=du(da,!0);function Mh(e,n){var o=!0;return On(e,function(s,c,m){return o=!!n(s,c,m),o}),o}function Bi(e,n,o){for(var s=-1,c=e.length;++s<c;){var m=e[s],b=n(m);if(b!=null&&(w===i?b===b&&!Bt(b):o(b,w)))var w=b,$=m}return $}function Fh(e,n,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:rc(s);o<s;)e[o++]=n;return e}function Dl(e,n){var o=[];return On(e,function(s,c,m){n(s,c,m)&&o.push(s)}),o}function vt(e,n,o,s,c){var m=-1,b=e.length;for(o||(o=Cp),c||(c=[]);++m<b;){var w=e[m];n>0&&o(w)?n>1?vt(w,n-1,o,s,c):Tn(c,w):s||(c[c.length]=w)}return c}var fa=hu(),Hl=hu(!0);function sn(e,n){return e&&fa(e,n,pt)}function da(e,n){return e&&Hl(e,n,pt)}function Pi(e,n){return kn(n,function(o){return bn(e[o])})}function Xn(e,n){n=Mn(n,e);for(var o=0,s=n.length;e!=null&&o<s;)e=e[un(n[o++])];return o&&o==s?e:i}function Zl(e,n,o){var s=n(e);return _e(e)?s:Tn(s,o(e))}function Ct(e){return e==null?e===i?Ve:fe:Un&&Un in Ge(e)?vp(e):Rp(e)}function ha(e,n){return e>n}function zh(e,n){return e!=null&&Ue.call(e,n)}function jh(e,n){return e!=null&&n in Ge(e)}function Bh(e,n,o){return e>=bt(n,o)&&e<dt(n,o)}function pa(e,n,o){for(var s=o?Xo:xi,c=e[0].length,m=e.length,b=m,w=L(m),$=1/0,P=[];b--;){var W=e[b];b&&n&&(W=et(W,zt(n))),$=bt(W.length,$),w[b]=!o&&(n||c>=120&&W.length>=120)?new Gn(b&&W):i}W=e[0];var U=-1,ne=w[0];e:for(;++U<c&&P.length<$;){var ue=W[U],ge=n?n(ue):ue;if(ue=o||ue!==0?ue:0,!(ne?jr(ne,ge):s(P,ge,o))){for(b=m;--b;){var $e=w[b];if(!($e?jr($e,ge):s(e[b],ge,o)))continue e}ne&&ne.push(ge),P.push(ue)}}return P}function Ph(e,n,o,s){return sn(e,function(c,m,b){n(s,o(c),m,b)}),s}function Nr(e,n,o){n=Mn(n,e),e=Ru(e,n);var s=e==null?e:e[un(Kt(n))];return s==null?i:Ft(s,e,o)}function Vl(e){return at(e)&&Ct(e)==gt}function Wh(e){return at(e)&&Ct(e)==Qe}function Dh(e){return at(e)&&Ct(e)==Se}function Ur(e,n,o,s,c){return e===n?!0:e==null||n==null||!at(e)&&!at(n)?e!==e&&n!==n:Hh(e,n,o,s,Ur,c)}function Hh(e,n,o,s,c,m){var b=_e(e),w=_e(n),$=b?Be:xt(e),P=w?Be:xt(n);$=$==gt?we:$,P=P==gt?we:P;var W=$==we,U=P==we,ne=$==P;if(ne&&zn(e)){if(!zn(n))return!1;b=!0,W=!1}if(ne&&!W)return m||(m=new tn),b||xr(e)?Cu(e,n,o,s,c,m):gp(e,n,$,o,s,c,m);if(!(o&C)){var ue=W&&Ue.call(e,"__wrapped__"),ge=U&&Ue.call(n,"__wrapped__");if(ue||ge){var $e=ue?e.value():e,me=ge?n.value():n;return m||(m=new tn),c($e,me,o,s,m)}}return ne?(m||(m=new tn),mp(e,n,o,s,c,m)):!1}function Zh(e){return at(e)&&xt(e)==Z}function ga(e,n,o,s){var c=o.length,m=c,b=!s;if(e==null)return!m;for(e=Ge(e);c--;){var w=o[c];if(b&&w[2]?w[1]!==e[w[0]]:!(w[0]in e))return!1}for(;++c<m;){w=o[c];var $=w[0],P=e[$],W=w[1];if(b&&w[2]){if(P===i&&!($ in e))return!1}else{var U=new tn;if(s)var ne=s(P,W,$,e,n,U);if(!(ne===i?Ur(W,P,C|F,s,U):ne))return!1}}return!0}function Nl(e){if(!rt(e)||Ep(e))return!1;var n=bn(e)?Z1:I0;return n.test(Qn(e))}function Vh(e){return at(e)&&Ct(e)==tt}function Nh(e){return at(e)&&xt(e)==nt}function Uh(e){return at(e)&&no(e.length)&&!!Je[Ct(e)]}function Ul(e){return typeof e=="function"?e:e==null?Rt:typeof e=="object"?_e(e)?Kl(e[0],e[1]):Gl(e):pc(e)}function ma(e){if(!Kr(e))return K1(e);var n=[];for(var o in Ge(e))Ue.call(e,o)&&o!="constructor"&&n.push(o);return n}function qh(e){if(!rt(e))return Tp(e);var n=Kr(e),o=[];for(var s in e)s=="constructor"&&(n||!Ue.call(e,s))||o.push(s);return o}function va(e,n){return e<n}function ql(e,n){var o=-1,s=kt(e)?L(e.length):[];return On(e,function(c,m,b){s[++o]=n(c,m,b)}),s}function Gl(e){var n=Oa(e);return n.length==1&&n[0][2]?ku(n[0][0],n[0][1]):function(o){return o===e||ga(o,e,n)}}function Kl(e,n){return Ma(e)&&$u(n)?ku(un(e),n):function(o){var s=Va(o,e);return s===i&&s===n?Na(o,e):Ur(n,s,C|F)}}function Wi(e,n,o,s,c){e!==n&&fa(n,function(m,b){if(c||(c=new tn),rt(m))Gh(e,n,b,o,Wi,s,c);else{var w=s?s(za(e,b),m,b+"",e,n,c):i;w===i&&(w=m),ua(e,b,w)}},Tt)}function Gh(e,n,o,s,c,m,b){var w=za(e,o),$=za(n,o),P=b.get($);if(P){ua(e,o,P);return}var W=m?m(w,$,o+"",e,n,b):i,U=W===i;if(U){var ne=_e($),ue=!ne&&zn($),ge=!ne&&!ue&&xr($);W=$,ne||ue||ge?_e(w)?W=w:lt(w)?W=$t(w):ue?(U=!1,W=su($,!0)):ge?(U=!1,W=lu($,!0)):W=[]:Yr($)||Jn($)?(W=w,Jn(w)?W=ic(w):(!rt(w)||bn(w))&&(W=Au($))):U=!1}U&&(b.set($,W),c(W,$,s,m,b),b.delete($)),ua(e,o,W)}function Xl(e,n){var o=e.length;if(o)return n+=n<0?o:0,yn(n,o)?e[n]:i}function Yl(e,n,o){n.length?n=et(n,function(m){return _e(m)?function(b){return Xn(b,m.length===1?m[0]:m)}:m}):n=[Rt];var s=-1;n=et(n,zt(he()));var c=ql(e,function(m,b,w){var $=et(n,function(P){return P(m)});return{criteria:$,index:++s,value:m}});return w1(c,function(m,b){return sp(m,b,o)})}function Kh(e,n){return Ql(e,n,function(o,s){return Na(e,s)})}function Ql(e,n,o){for(var s=-1,c=n.length,m={};++s<c;){var b=n[s],w=Xn(e,b);o(w,b)&&qr(m,Mn(b,e),w)}return m}function Xh(e){return function(n){return Xn(n,e)}}function ya(e,n,o,s){var c=s?x1:ur,m=-1,b=n.length,w=e;for(e===n&&(n=$t(n)),o&&(w=et(e,zt(o)));++m<b;)for(var $=0,P=n[m],W=o?o(P):P;($=c(w,W,$,s))>-1;)w!==e&&Ri.call(w,$,1),Ri.call(e,$,1);return e}function Jl(e,n){for(var o=e?n.length:0,s=o-1;o--;){var c=n[o];if(o==s||c!==m){var m=c;yn(c)?Ri.call(e,c,1):_a(e,c)}}return e}function ba(e,n){return e+Ii(Il()*(n-e+1))}function Yh(e,n,o,s){for(var c=-1,m=dt(Oi((n-e)/(o||1)),0),b=L(m);m--;)b[s?m:++c]=e,e+=o;return b}function xa(e,n){var o="";if(!e||n<1||n>ee)return o;do n%2&&(o+=e),n=Ii(n/2),n&&(e+=e);while(n);return o}function Te(e,n){return ja(Tu(e,n,Rt),e+"")}function Qh(e){return zl(wr(e))}function Jh(e,n){var o=wr(e);return Xi(o,Kn(n,0,o.length))}function qr(e,n,o,s){if(!rt(e))return e;n=Mn(n,e);for(var c=-1,m=n.length,b=m-1,w=e;w!=null&&++c<m;){var $=un(n[c]),P=o;if($==="__proto__"||$==="constructor"||$==="prototype")return e;if(c!=b){var W=w[$];P=s?s(W,$,w):i,P===i&&(P=rt(W)?W:yn(n[c+1])?[]:{})}Zr(w,$,P),w=w[$]}return e}var eu=Mi?function(e,n){return Mi.set(e,n),e}:Rt,ep=Li?function(e,n){return Li(e,"toString",{configurable:!0,enumerable:!1,value:qa(n),writable:!0})}:Rt;function tp(e){return Xi(wr(e))}function Gt(e,n,o){var s=-1,c=e.length;n<0&&(n=-n>c?0:c+n),o=o>c?c:o,o<0&&(o+=c),c=n>o?0:o-n>>>0,n>>>=0;for(var m=L(c);++s<c;)m[s]=e[s+n];return m}function np(e,n){var o;return On(e,function(s,c,m){return o=n(s,c,m),!o}),!!o}function Di(e,n,o){var s=0,c=e==null?s:e.length;if(typeof n=="number"&&n===n&&c<=De){for(;s<c;){var m=s+c>>>1,b=e[m];b!==null&&!Bt(b)&&(o?b<=n:b<n)?s=m+1:c=m}return c}return wa(e,n,Rt,o)}function wa(e,n,o,s){var c=0,m=e==null?0:e.length;if(m===0)return 0;n=o(n);for(var b=n!==n,w=n===null,$=Bt(n),P=n===i;c<m;){var W=Ii((c+m)/2),U=o(e[W]),ne=U!==i,ue=U===null,ge=U===U,$e=Bt(U);if(b)var me=s||ge;else P?me=ge&&(s||ne):w?me=ge&&ne&&(s||!ue):$?me=ge&&ne&&!ue&&(s||!$e):ue||$e?me=!1:me=s?U<=n:U<n;me?c=W+1:m=W}return bt(m,Oe)}function tu(e,n){for(var o=-1,s=e.length,c=0,m=[];++o<s;){var b=e[o],w=n?n(b):b;if(!o||!nn(w,$)){var $=w;m[c++]=b===0?0:b}}return m}function nu(e){return typeof e=="number"?e:Bt(e)?je:+e}function jt(e){if(typeof e=="string")return e;if(_e(e))return et(e,jt)+"";if(Bt(e))return Ml?Ml.call(e):"";var n=e+"";return n=="0"&&1/e==-1/0?"-0":n}function In(e,n,o){var s=-1,c=xi,m=e.length,b=!0,w=[],$=w;if(o)b=!1,c=Xo;else if(m>=l){var P=n?null:hp(e);if(P)return _i(P);b=!1,c=jr,$=new Gn}else $=n?[]:w;e:for(;++s<m;){var W=e[s],U=n?n(W):W;if(W=o||W!==0?W:0,b&&U===U){for(var ne=$.length;ne--;)if($[ne]===U)continue e;n&&$.push(U),w.push(W)}else c($,U,o)||($!==w&&$.push(U),w.push(W))}return w}function _a(e,n){return n=Mn(n,e),e=Ru(e,n),e==null||delete e[un(Kt(n))]}function ru(e,n,o,s){return qr(e,n,o(Xn(e,n)),s)}function Hi(e,n,o,s){for(var c=e.length,m=s?c:-1;(s?m--:++m<c)&&n(e[m],m,e););return o?Gt(e,s?0:m,s?m+1:c):Gt(e,s?m+1:0,s?c:m)}function iu(e,n){var o=e;return o instanceof Ie&&(o=o.value()),Yo(n,function(s,c){return c.func.apply(c.thisArg,Tn([s],c.args))},o)}function Ca(e,n,o){var s=e.length;if(s<2)return s?In(e[0]):[];for(var c=-1,m=L(s);++c<s;)for(var b=e[c],w=-1;++w<s;)w!=c&&(m[c]=Vr(m[c]||b,e[w],n,o));return In(vt(m,1),n,o)}function ou(e,n,o){for(var s=-1,c=e.length,m=n.length,b={};++s<c;){var w=s<m?n[s]:i;o(b,e[s],w)}return b}function Sa(e){return lt(e)?e:[]}function Ea(e){return typeof e=="function"?e:Rt}function Mn(e,n){return _e(e)?e:Ma(e,n)?[e]:Mu(Ne(e))}var rp=Te;function Fn(e,n,o){var s=e.length;return o=o===i?s:o,!n&&o>=s?e:Gt(e,n,o)}var au=V1||function(e){return mt.clearTimeout(e)};function su(e,n){if(n)return e.slice();var o=e.length,s=kl?kl(o):new e.constructor(o);return e.copy(s),s}function Aa(e){var n=new e.constructor(e.byteLength);return new ki(n).set(new ki(e)),n}function ip(e,n){var o=n?Aa(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.byteLength)}function op(e){var n=new e.constructor(e.source,Vs.exec(e));return n.lastIndex=e.lastIndex,n}function ap(e){return Hr?Ge(Hr.call(e)):{}}function lu(e,n){var o=n?Aa(e.buffer):e.buffer;return new e.constructor(o,e.byteOffset,e.length)}function uu(e,n){if(e!==n){var o=e!==i,s=e===null,c=e===e,m=Bt(e),b=n!==i,w=n===null,$=n===n,P=Bt(n);if(!w&&!P&&!m&&e>n||m&&b&&$&&!w&&!P||s&&b&&$||!o&&$||!c)return 1;if(!s&&!m&&!P&&e<n||P&&o&&c&&!s&&!m||w&&o&&c||!b&&c||!$)return-1}return 0}function sp(e,n,o){for(var s=-1,c=e.criteria,m=n.criteria,b=c.length,w=o.length;++s<b;){var $=uu(c[s],m[s]);if($){if(s>=w)return $;var P=o[s];return $*(P=="desc"?-1:1)}}return e.index-n.index}function cu(e,n,o,s){for(var c=-1,m=e.length,b=o.length,w=-1,$=n.length,P=dt(m-b,0),W=L($+P),U=!s;++w<$;)W[w]=n[w];for(;++c<b;)(U||c<m)&&(W[o[c]]=e[c]);for(;P--;)W[w++]=e[c++];return W}function fu(e,n,o,s){for(var c=-1,m=e.length,b=-1,w=o.length,$=-1,P=n.length,W=dt(m-w,0),U=L(W+P),ne=!s;++c<W;)U[c]=e[c];for(var ue=c;++$<P;)U[ue+$]=n[$];for(;++b<w;)(ne||c<m)&&(U[ue+o[b]]=e[c++]);return U}function $t(e,n){var o=-1,s=e.length;for(n||(n=L(s));++o<s;)n[o]=e[o];return n}function ln(e,n,o,s){var c=!o;o||(o={});for(var m=-1,b=n.length;++m<b;){var w=n[m],$=s?s(o[w],e[w],w,o,e):i;$===i&&($=e[w]),c?gn(o,w,$):Zr(o,w,$)}return o}function lp(e,n){return ln(e,Ia(e),n)}function up(e,n){return ln(e,Su(e),n)}function Zi(e,n){return function(o,s){var c=_e(o)?p1:Lh,m=n?n():{};return c(o,e,he(s,2),m)}}function vr(e){return Te(function(n,o){var s=-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&&St(o[0],o[1],b)&&(m=c<3?i:m,c=1),n=Ge(n);++s<c;){var w=o[s];w&&e(n,w,s,m)}return n})}function du(e,n){return function(o,s){if(o==null)return o;if(!kt(o))return e(o,s);for(var c=o.length,m=n?c:-1,b=Ge(o);(n?m--:++m<c)&&s(b[m],m,b)!==!1;);return o}}function hu(e){return function(n,o,s){for(var c=-1,m=Ge(n),b=s(n),w=b.length;w--;){var $=b[e?w:++c];if(o(m[$],$,m)===!1)break}return n}}function cp(e,n,o){var s=n&R,c=Gr(e);function m(){var b=this&&this!==mt&&this instanceof m?c:e;return b.apply(s?o:this,arguments)}return m}function pu(e){return function(n){n=Ne(n);var o=cr(n)?en(n):i,s=o?o[0]:n.charAt(0),c=o?Fn(o,1).join(""):n.slice(1);return s[e]()+c}}function yr(e){return function(n){return Yo(dc(fc(n).replace(e1,"")),e,"")}}function Gr(e){return function(){var n=arguments;switch(n.length){case 0:return new e;case 1:return new e(n[0]);case 2:return new e(n[0],n[1]);case 3:return new e(n[0],n[1],n[2]);case 4:return new e(n[0],n[1],n[2],n[3]);case 5:return new e(n[0],n[1],n[2],n[3],n[4]);case 6:return new e(n[0],n[1],n[2],n[3],n[4],n[5]);case 7:return new e(n[0],n[1],n[2],n[3],n[4],n[5],n[6])}var o=mr(e.prototype),s=e.apply(o,n);return rt(s)?s:o}}function fp(e,n,o){var s=Gr(e);function c(){for(var m=arguments.length,b=L(m),w=m,$=br(c);w--;)b[w]=arguments[w];var P=m<3&&b[0]!==$&&b[m-1]!==$?[]:Rn(b,$);if(m-=P.length,m<o)return bu(e,n,Vi,c.placeholder,i,b,P,i,i,o-m);var W=this&&this!==mt&&this instanceof c?s:e;return Ft(W,this,b)}return c}function gu(e){return function(n,o,s){var c=Ge(n);if(!kt(n)){var m=he(o,3);n=pt(n),o=function(w){return m(c[w],w,c)}}var b=e(n,o,s);return b>-1?c[m?n[b]:b]:i}}function mu(e){return vn(function(n){var o=n.length,s=o,c=Ut.prototype.thru;for(e&&n.reverse();s--;){var m=n[s];if(typeof m!="function")throw new Nt(f);if(c&&!b&&Gi(m)=="wrapper")var b=new Ut([],!0)}for(s=b?s:o;++s<o;){m=n[s];var w=Gi(m),$=w=="wrapper"?La(m):i;$&&Fa($[0])&&$[1]==(V|k|M|Q)&&!$[4].length&&$[9]==1?b=b[Gi($[0])].apply(b,$[3]):b=m.length==1&&Fa(m)?b[w]():b.thru(m)}return function(){var P=arguments,W=P[0];if(b&&P.length==1&&_e(W))return b.plant(W).value();for(var U=0,ne=o?n[U].apply(this,P):W;++U<o;)ne=n[U].call(this,ne);return ne}})}function Vi(e,n,o,s,c,m,b,w,$,P){var W=n&V,U=n&R,ne=n&I,ue=n&(k|O),ge=n&pe,$e=ne?i:Gr(e);function me(){for(var Le=arguments.length,Fe=L(Le),Pt=Le;Pt--;)Fe[Pt]=arguments[Pt];if(ue)var Et=br(me),Wt=C1(Fe,Et);if(s&&(Fe=cu(Fe,s,c,ue)),m&&(Fe=fu(Fe,m,b,ue)),Le-=Wt,ue&&Le<P){var ut=Rn(Fe,Et);return bu(e,n,Vi,me.placeholder,o,Fe,ut,w,$,P-Le)}var rn=U?o:this,wn=ne?rn[e]:e;return Le=Fe.length,w?Fe=Lp(Fe,w):ge&&Le>1&&Fe.reverse(),W&&$<Le&&(Fe.length=$),this&&this!==mt&&this instanceof me&&(wn=$e||Gr(wn)),wn.apply(rn,Fe)}return me}function vu(e,n){return function(o,s){return Ph(o,e,n(s),{})}}function Ni(e,n){return function(o,s){var c;if(o===i&&s===i)return n;if(o!==i&&(c=o),s!==i){if(c===i)return s;typeof o=="string"||typeof s=="string"?(o=jt(o),s=jt(s)):(o=nu(o),s=nu(s)),c=e(o,s)}return c}}function $a(e){return vn(function(n){return n=et(n,zt(he())),Te(function(o){var s=this;return e(n,function(c){return Ft(c,s,o)})})})}function Ui(e,n){n=n===i?" ":jt(n);var o=n.length;if(o<2)return o?xa(n,e):n;var s=xa(n,Oi(e/fr(n)));return cr(n)?Fn(en(s),0,e).join(""):s.slice(0,e)}function dp(e,n,o,s){var c=n&R,m=Gr(e);function b(){for(var w=-1,$=arguments.length,P=-1,W=s.length,U=L(W+$),ne=this&&this!==mt&&this instanceof b?m:e;++P<W;)U[P]=s[P];for(;$--;)U[P++]=arguments[++w];return Ft(ne,c?o:this,U)}return b}function yu(e){return function(n,o,s){return s&&typeof s!="number"&&St(n,o,s)&&(o=s=i),n=xn(n),o===i?(o=n,n=0):o=xn(o),s=s===i?n<o?1:-1:xn(s),Yh(n,o,s,e)}}function qi(e){return function(n,o){return typeof n=="string"&&typeof o=="string"||(n=Xt(n),o=Xt(o)),e(n,o)}}function bu(e,n,o,s,c,m,b,w,$,P){var W=n&k,U=W?b:i,ne=W?i:b,ue=W?m:i,ge=W?i:m;n|=W?M:N,n&=~(W?N:M),n&T||(n&=-4);var $e=[e,n,c,ue,U,ge,ne,w,$,P],me=o.apply(i,$e);return Fa(e)&&Lu(me,$e),me.placeholder=s,Ou(me,e,n)}function ka(e){var n=ft[e];return function(o,s){if(o=Xt(o),s=s==null?0:bt(Ae(s),292),s&&Ol(o)){var c=(Ne(o)+"e").split("e"),m=n(c[0]+"e"+(+c[1]+s));return c=(Ne(m)+"e").split("e"),+(c[0]+"e"+(+c[1]-s))}return n(o)}}var hp=pr&&1/_i(new pr([,-0]))[1]==oe?function(e){return new pr(e)}:Xa;function xu(e){return function(n){var o=xt(n);return o==Z?ia(n):o==nt?R1(n):_1(n,e(n))}}function mn(e,n,o,s,c,m,b,w){var $=n&I;if(!$&&typeof e!="function")throw new Nt(f);var P=s?s.length:0;if(P||(n&=-97,s=c=i),b=b===i?b:dt(Ae(b),0),w=w===i?w:Ae(w),P-=c?c.length:0,n&N){var W=s,U=c;s=c=i}var ne=$?i:La(e),ue=[e,n,o,s,c,W,U,m,b,w];if(ne&&kp(ue,ne),e=ue[0],n=ue[1],o=ue[2],s=ue[3],c=ue[4],w=ue[9]=ue[9]===i?$?0:e.length:dt(ue[9]-P,0),!w&&n&(k|O)&&(n&=-25),!n||n==R)var ge=cp(e,n,o);else n==k||n==O?ge=fp(e,n,w):(n==M||n==(R|M))&&!c.length?ge=dp(e,n,o,s):ge=Vi.apply(i,ue);var $e=ne?eu:Lu;return Ou($e(ge,ue),e,n)}function wu(e,n,o,s){return e===i||nn(e,hr[o])&&!Ue.call(s,o)?n:e}function _u(e,n,o,s,c,m){return rt(e)&&rt(n)&&(m.set(n,e),Wi(e,n,i,_u,m),m.delete(n)),e}function pp(e){return Yr(e)?i:e}function Cu(e,n,o,s,c,m){var b=o&C,w=e.length,$=n.length;if(w!=$&&!(b&&$>w))return!1;var P=m.get(e),W=m.get(n);if(P&&W)return P==n&&W==e;var U=-1,ne=!0,ue=o&F?new Gn:i;for(m.set(e,n),m.set(n,e);++U<w;){var ge=e[U],$e=n[U];if(s)var me=b?s($e,ge,U,n,e,m):s(ge,$e,U,e,n,m);if(me!==i){if(me)continue;ne=!1;break}if(ue){if(!Qo(n,function(Le,Fe){if(!jr(ue,Fe)&&(ge===Le||c(ge,Le,o,s,m)))return ue.push(Fe)})){ne=!1;break}}else if(!(ge===$e||c(ge,$e,o,s,m))){ne=!1;break}}return m.delete(e),m.delete(n),ne}function gp(e,n,o,s,c,m,b){switch(o){case _t:if(e.byteLength!=n.byteLength||e.byteOffset!=n.byteOffset)return!1;e=e.buffer,n=n.buffer;case Qe:return!(e.byteLength!=n.byteLength||!m(new ki(e),new ki(n)));case de:case Se:case ie:return nn(+e,+n);case ye:return e.name==n.name&&e.message==n.message;case tt:case ot:return e==n+"";case Z:var w=ia;case nt:var $=s&C;if(w||(w=_i),e.size!=n.size&&!$)return!1;var P=b.get(e);if(P)return P==n;s|=F,b.set(e,n);var W=Cu(w(e),w(n),s,c,m,b);return b.delete(e),W;case re:if(Hr)return Hr.call(e)==Hr.call(n)}return!1}function mp(e,n,o,s,c,m){var b=o&C,w=Ta(e),$=w.length,P=Ta(n),W=P.length;if($!=W&&!b)return!1;for(var U=$;U--;){var ne=w[U];if(!(b?ne in n:Ue.call(n,ne)))return!1}var ue=m.get(e),ge=m.get(n);if(ue&&ge)return ue==n&&ge==e;var $e=!0;m.set(e,n),m.set(n,e);for(var me=b;++U<$;){ne=w[U];var Le=e[ne],Fe=n[ne];if(s)var Pt=b?s(Fe,Le,ne,n,e,m):s(Le,Fe,ne,e,n,m);if(!(Pt===i?Le===Fe||c(Le,Fe,o,s,m):Pt)){$e=!1;break}me||(me=ne=="constructor")}if($e&&!me){var Et=e.constructor,Wt=n.constructor;Et!=Wt&&"constructor"in e&&"constructor"in n&&!(typeof Et=="function"&&Et instanceof Et&&typeof Wt=="function"&&Wt instanceof Wt)&&($e=!1)}return m.delete(e),m.delete(n),$e}function vn(e){return ja(Tu(e,i,Bu),e+"")}function Ta(e){return Zl(e,pt,Ia)}function Ra(e){return Zl(e,Tt,Su)}var La=Mi?function(e){return Mi.get(e)}:Xa;function Gi(e){for(var n=e.name+"",o=gr[n],s=Ue.call(gr,n)?o.length:0;s--;){var c=o[s],m=c.func;if(m==null||m==e)return c.name}return n}function br(e){var n=Ue.call(p,"placeholder")?p:e;return n.placeholder}function he(){var e=p.iteratee||Ga;return e=e===Ga?Ul:e,arguments.length?e(arguments[0],arguments[1]):e}function Ki(e,n){var o=e.__data__;return Sp(n)?o[typeof n=="string"?"string":"hash"]:o.map}function Oa(e){for(var n=pt(e),o=n.length;o--;){var s=n[o],c=e[s];n[o]=[s,c,$u(c)]}return n}function Yn(e,n){var o=$1(e,n);return Nl(o)?o:i}function vp(e){var n=Ue.call(e,Un),o=e[Un];try{e[Un]=i;var s=!0}catch{}var c=Ai.call(e);return s&&(n?e[Un]=o:delete e[Un]),c}var Ia=aa?function(e){return e==null?[]:(e=Ge(e),kn(aa(e),function(n){return Rl.call(e,n)}))}:Ya,Su=aa?function(e){for(var n=[];e;)Tn(n,Ia(e)),e=Ti(e);return n}:Ya,xt=Ct;(sa&&xt(new sa(new ArrayBuffer(1)))!=_t||Pr&&xt(new Pr)!=Z||la&&xt(la.resolve())!=We||pr&&xt(new pr)!=nt||Wr&&xt(new Wr)!=Pe)&&(xt=function(e){var n=Ct(e),o=n==we?e.constructor:i,s=o?Qn(o):"";if(s)switch(s){case J1:return _t;case eh:return Z;case th:return We;case nh:return nt;case rh:return Pe}return n});function yp(e,n,o){for(var s=-1,c=o.length;++s<c;){var m=o[s],b=m.size;switch(m.type){case"drop":e+=b;break;case"dropRight":n-=b;break;case"take":n=bt(n,e+b);break;case"takeRight":e=dt(e,n-b);break}}return{start:e,end:n}}function bp(e){var n=e.match(E0);return n?n[1].split(A0):[]}function Eu(e,n,o){n=Mn(n,e);for(var s=-1,c=n.length,m=!1;++s<c;){var b=un(n[s]);if(!(m=e!=null&&o(e,b)))break;e=e[b]}return m||++s!=c?m:(c=e==null?0:e.length,!!c&&no(c)&&yn(b,c)&&(_e(e)||Jn(e)))}function xp(e){var n=e.length,o=new e.constructor(n);return n&&typeof e[0]=="string"&&Ue.call(e,"index")&&(o.index=e.index,o.input=e.input),o}function Au(e){return typeof e.constructor=="function"&&!Kr(e)?mr(Ti(e)):{}}function wp(e,n,o){var s=e.constructor;switch(n){case Qe:return Aa(e);case de:case Se:return new s(+e);case _t:return ip(e,o);case Vn:case Io:case Mo:case Fo:case zo:case jo:case Bo:case Po:case Wo:return lu(e,o);case Z:return new s;case ie:case ot:return new s(e);case tt:return op(e);case nt:return new s;case re:return ap(e)}}function _p(e,n){var o=n.length;if(!o)return e;var s=o-1;return n[s]=(o>1?"& ":"")+n[s],n=n.join(o>2?", ":" "),e.replace(S0,`{
|
|
9
|
-
/* [wrapped with `+
|
|
10
|
-
`)}function Cp(e){return _e(e)||Jn(e)||!!(Ll&&e&&e[Ll])}function yn(e,n){var o=typeof e;return n=n??ee,!!n&&(o=="number"||o!="symbol"&&F0.test(e))&&e>-1&&e%1==0&&e<n}function St(e,n,o){if(!rt(o))return!1;var s=typeof n;return(s=="number"?kt(o)&&yn(n,o.length):s=="string"&&n in o)?nn(o[n],e):!1}function Ma(e,n){if(_e(e))return!1;var o=typeof e;return o=="number"||o=="symbol"||o=="boolean"||e==null||Bt(e)?!0:x0.test(e)||!b0.test(e)||n!=null&&e in Ge(n)}function Sp(e){var n=typeof e;return n=="string"||n=="number"||n=="symbol"||n=="boolean"?e!=="__proto__":e===null}function Fa(e){var n=Gi(e),o=p[n];if(typeof o!="function"||!(n in Ie.prototype))return!1;if(e===o)return!0;var s=La(o);return!!s&&e===s[0]}function Ep(e){return!!$l&&$l in e}var Ap=Si?bn:Qa;function Kr(e){var n=e&&e.constructor,o=typeof n=="function"&&n.prototype||hr;return e===o}function $u(e){return e===e&&!rt(e)}function ku(e,n){return function(o){return o==null?!1:o[e]===n&&(n!==i||e in Ge(o))}}function $p(e){var n=eo(e,function(s){return o.size===v&&o.clear(),s}),o=n.cache;return n}function kp(e,n){var o=e[1],s=n[1],c=o|s,m=c<(R|I|V),b=s==V&&o==k||s==V&&o==Q&&e[7].length<=n[8]||s==(V|Q)&&n[7].length<=n[8]&&o==k;if(!(m||b))return e;s&R&&(e[2]=n[2],c|=o&R?0:T);var w=n[3];if(w){var $=e[3];e[3]=$?cu($,w,n[4]):w,e[4]=$?Rn(e[3],_):n[4]}return w=n[5],w&&($=e[5],e[5]=$?fu($,w,n[6]):w,e[6]=$?Rn(e[5],_):n[6]),w=n[7],w&&(e[7]=w),s&V&&(e[8]=e[8]==null?n[8]:bt(e[8],n[8])),e[9]==null&&(e[9]=n[9]),e[0]=n[0],e[1]=c,e}function Tp(e){var n=[];if(e!=null)for(var o in Ge(e))n.push(o);return n}function Rp(e){return Ai.call(e)}function Tu(e,n,o){return n=dt(n===i?e.length-1:n,0),function(){for(var s=arguments,c=-1,m=dt(s.length-n,0),b=L(m);++c<m;)b[c]=s[n+c];c=-1;for(var w=L(n+1);++c<n;)w[c]=s[c];return w[n]=o(b),Ft(e,this,w)}}function Ru(e,n){return n.length<2?e:Xn(e,Gt(n,0,-1))}function Lp(e,n){for(var o=e.length,s=bt(n.length,o),c=$t(e);s--;){var m=n[s];e[s]=yn(m,o)?c[m]:i}return e}function za(e,n){if(!(n==="constructor"&&typeof e[n]=="function")&&n!="__proto__")return e[n]}var Lu=Iu(eu),Xr=U1||function(e,n){return mt.setTimeout(e,n)},ja=Iu(ep);function Ou(e,n,o){var s=n+"";return ja(e,_p(s,Op(bp(s),o)))}function Iu(e){var n=0,o=0;return function(){var s=X1(),c=j-(s-o);if(o=s,c>0){if(++n>=D)return arguments[0]}else n=0;return e.apply(i,arguments)}}function Xi(e,n){var o=-1,s=e.length,c=s-1;for(n=n===i?s:n;++o<n;){var m=ba(o,c),b=e[m];e[m]=e[o],e[o]=b}return e.length=n,e}var Mu=$p(function(e){var n=[];return e.charCodeAt(0)===46&&n.push(""),e.replace(w0,function(o,s,c,m){n.push(c?m.replace(T0,"$1"):s||o)}),n});function un(e){if(typeof e=="string"||Bt(e))return e;var n=e+"";return n=="0"&&1/e==-1/0?"-0":n}function Qn(e){if(e!=null){try{return Ei.call(e)}catch{}try{return e+""}catch{}}return""}function Op(e,n){return Vt(Ke,function(o){var s="_."+o[0];n&o[1]&&!xi(e,s)&&e.push(s)}),e.sort()}function Fu(e){if(e instanceof Ie)return e.clone();var n=new Ut(e.__wrapped__,e.__chain__);return n.__actions__=$t(e.__actions__),n.__index__=e.__index__,n.__values__=e.__values__,n}function Ip(e,n,o){(o?St(e,n,o):n===i)?n=1:n=dt(Ae(n),0);var s=e==null?0:e.length;if(!s||n<1)return[];for(var c=0,m=0,b=L(Oi(s/n));c<s;)b[m++]=Gt(e,c,c+=n);return b}function Mp(e){for(var n=-1,o=e==null?0:e.length,s=0,c=[];++n<o;){var m=e[n];m&&(c[s++]=m)}return c}function Fp(){var e=arguments.length;if(!e)return[];for(var n=L(e-1),o=arguments[0],s=e;s--;)n[s-1]=arguments[s];return Tn(_e(o)?$t(o):[o],vt(n,1))}var zp=Te(function(e,n){return lt(e)?Vr(e,vt(n,1,lt,!0)):[]}),jp=Te(function(e,n){var o=Kt(n);return lt(o)&&(o=i),lt(e)?Vr(e,vt(n,1,lt,!0),he(o,2)):[]}),Bp=Te(function(e,n){var o=Kt(n);return lt(o)&&(o=i),lt(e)?Vr(e,vt(n,1,lt,!0),i,o):[]});function Pp(e,n,o){var s=e==null?0:e.length;return s?(n=o||n===i?1:Ae(n),Gt(e,n<0?0:n,s)):[]}function Wp(e,n,o){var s=e==null?0:e.length;return s?(n=o||n===i?1:Ae(n),n=s-n,Gt(e,0,n<0?0:n)):[]}function Dp(e,n){return e&&e.length?Hi(e,he(n,3),!0,!0):[]}function Hp(e,n){return e&&e.length?Hi(e,he(n,3),!0):[]}function Zp(e,n,o,s){var c=e==null?0:e.length;return c?(o&&typeof o!="number"&&St(e,n,o)&&(o=0,s=c),Fh(e,n,o,s)):[]}function zu(e,n,o){var s=e==null?0:e.length;if(!s)return-1;var c=o==null?0:Ae(o);return c<0&&(c=dt(s+c,0)),wi(e,he(n,3),c)}function ju(e,n,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?dt(s+c,0):bt(c,s-1)),wi(e,he(n,3),c,!0)}function Bu(e){var n=e==null?0:e.length;return n?vt(e,1):[]}function Vp(e){var n=e==null?0:e.length;return n?vt(e,oe):[]}function Np(e,n){var o=e==null?0:e.length;return o?(n=n===i?1:Ae(n),vt(e,n)):[]}function Up(e){for(var n=-1,o=e==null?0:e.length,s={};++n<o;){var c=e[n];s[c[0]]=c[1]}return s}function Pu(e){return e&&e.length?e[0]:i}function qp(e,n,o){var s=e==null?0:e.length;if(!s)return-1;var c=o==null?0:Ae(o);return c<0&&(c=dt(s+c,0)),ur(e,n,c)}function Gp(e){var n=e==null?0:e.length;return n?Gt(e,0,-1):[]}var Kp=Te(function(e){var n=et(e,Sa);return n.length&&n[0]===e[0]?pa(n):[]}),Xp=Te(function(e){var n=Kt(e),o=et(e,Sa);return n===Kt(o)?n=i:o.pop(),o.length&&o[0]===e[0]?pa(o,he(n,2)):[]}),Yp=Te(function(e){var n=Kt(e),o=et(e,Sa);return n=typeof n=="function"?n:i,n&&o.pop(),o.length&&o[0]===e[0]?pa(o,i,n):[]});function Qp(e,n){return e==null?"":G1.call(e,n)}function Kt(e){var n=e==null?0:e.length;return n?e[n-1]:i}function Jp(e,n,o){var s=e==null?0:e.length;if(!s)return-1;var c=s;return o!==i&&(c=Ae(o),c=c<0?dt(s+c,0):bt(c,s-1)),n===n?O1(e,n,c):wi(e,bl,c,!0)}function eg(e,n){return e&&e.length?Xl(e,Ae(n)):i}var tg=Te(Wu);function Wu(e,n){return e&&e.length&&n&&n.length?ya(e,n):e}function ng(e,n,o){return e&&e.length&&n&&n.length?ya(e,n,he(o,2)):e}function rg(e,n,o){return e&&e.length&&n&&n.length?ya(e,n,i,o):e}var ig=vn(function(e,n){var o=e==null?0:e.length,s=ca(e,n);return Jl(e,et(n,function(c){return yn(c,o)?+c:c}).sort(uu)),s});function og(e,n){var o=[];if(!(e&&e.length))return o;var s=-1,c=[],m=e.length;for(n=he(n,3);++s<m;){var b=e[s];n(b,s,e)&&(o.push(b),c.push(s))}return Jl(e,c),o}function Ba(e){return e==null?e:Q1.call(e)}function ag(e,n,o){var s=e==null?0:e.length;return s?(o&&typeof o!="number"&&St(e,n,o)?(n=0,o=s):(n=n==null?0:Ae(n),o=o===i?s:Ae(o)),Gt(e,n,o)):[]}function sg(e,n){return Di(e,n)}function lg(e,n,o){return wa(e,n,he(o,2))}function ug(e,n){var o=e==null?0:e.length;if(o){var s=Di(e,n);if(s<o&&nn(e[s],n))return s}return-1}function cg(e,n){return Di(e,n,!0)}function fg(e,n,o){return wa(e,n,he(o,2),!0)}function dg(e,n){var o=e==null?0:e.length;if(o){var s=Di(e,n,!0)-1;if(nn(e[s],n))return s}return-1}function hg(e){return e&&e.length?tu(e):[]}function pg(e,n){return e&&e.length?tu(e,he(n,2)):[]}function gg(e){var n=e==null?0:e.length;return n?Gt(e,1,n):[]}function mg(e,n,o){return e&&e.length?(n=o||n===i?1:Ae(n),Gt(e,0,n<0?0:n)):[]}function vg(e,n,o){var s=e==null?0:e.length;return s?(n=o||n===i?1:Ae(n),n=s-n,Gt(e,n<0?0:n,s)):[]}function yg(e,n){return e&&e.length?Hi(e,he(n,3),!1,!0):[]}function bg(e,n){return e&&e.length?Hi(e,he(n,3)):[]}var xg=Te(function(e){return In(vt(e,1,lt,!0))}),wg=Te(function(e){var n=Kt(e);return lt(n)&&(n=i),In(vt(e,1,lt,!0),he(n,2))}),_g=Te(function(e){var n=Kt(e);return n=typeof n=="function"?n:i,In(vt(e,1,lt,!0),i,n)});function Cg(e){return e&&e.length?In(e):[]}function Sg(e,n){return e&&e.length?In(e,he(n,2)):[]}function Eg(e,n){return n=typeof n=="function"?n:i,e&&e.length?In(e,i,n):[]}function Pa(e){if(!(e&&e.length))return[];var n=0;return e=kn(e,function(o){if(lt(o))return n=dt(o.length,n),!0}),na(n,function(o){return et(e,Jo(o))})}function Du(e,n){if(!(e&&e.length))return[];var o=Pa(e);return n==null?o:et(o,function(s){return Ft(n,i,s)})}var Ag=Te(function(e,n){return lt(e)?Vr(e,n):[]}),$g=Te(function(e){return Ca(kn(e,lt))}),kg=Te(function(e){var n=Kt(e);return lt(n)&&(n=i),Ca(kn(e,lt),he(n,2))}),Tg=Te(function(e){var n=Kt(e);return n=typeof n=="function"?n:i,Ca(kn(e,lt),i,n)}),Rg=Te(Pa);function Lg(e,n){return ou(e||[],n||[],Zr)}function Og(e,n){return ou(e||[],n||[],qr)}var Ig=Te(function(e){var n=e.length,o=n>1?e[n-1]:i;return o=typeof o=="function"?(e.pop(),o):i,Du(e,o)});function Hu(e){var n=p(e);return n.__chain__=!0,n}function Mg(e,n){return n(e),e}function Yi(e,n){return n(e)}var Fg=vn(function(e){var n=e.length,o=n?e[0]:0,s=this.__wrapped__,c=function(m){return ca(m,e)};return n>1||this.__actions__.length||!(s instanceof Ie)||!yn(o)?this.thru(c):(s=s.slice(o,+o+(n?1:0)),s.__actions__.push({func:Yi,args:[c],thisArg:i}),new Ut(s,this.__chain__).thru(function(m){return n&&!m.length&&m.push(i),m}))});function zg(){return Hu(this)}function jg(){return new Ut(this.value(),this.__chain__)}function Bg(){this.__values__===i&&(this.__values__=nc(this.value()));var e=this.__index__>=this.__values__.length,n=e?i:this.__values__[this.__index__++];return{done:e,value:n}}function Pg(){return this}function Wg(e){for(var n,o=this;o instanceof zi;){var s=Fu(o);s.__index__=0,s.__values__=i,n?c.__wrapped__=s:n=s;var c=s;o=o.__wrapped__}return c.__wrapped__=e,n}function Dg(){var e=this.__wrapped__;if(e instanceof Ie){var n=e;return this.__actions__.length&&(n=new Ie(this)),n=n.reverse(),n.__actions__.push({func:Yi,args:[Ba],thisArg:i}),new Ut(n,this.__chain__)}return this.thru(Ba)}function Hg(){return iu(this.__wrapped__,this.__actions__)}var Zg=Zi(function(e,n,o){Ue.call(e,o)?++e[o]:gn(e,o,1)});function Vg(e,n,o){var s=_e(e)?vl:Mh;return o&&St(e,n,o)&&(n=i),s(e,he(n,3))}function Ng(e,n){var o=_e(e)?kn:Dl;return o(e,he(n,3))}var Ug=gu(zu),qg=gu(ju);function Gg(e,n){return vt(Qi(e,n),1)}function Kg(e,n){return vt(Qi(e,n),oe)}function Xg(e,n,o){return o=o===i?1:Ae(o),vt(Qi(e,n),o)}function Zu(e,n){var o=_e(e)?Vt:On;return o(e,he(n,3))}function Vu(e,n){var o=_e(e)?g1:Wl;return o(e,he(n,3))}var Yg=Zi(function(e,n,o){Ue.call(e,o)?e[o].push(n):gn(e,o,[n])});function Qg(e,n,o,s){e=kt(e)?e:wr(e),o=o&&!s?Ae(o):0;var c=e.length;return o<0&&(o=dt(c+o,0)),ro(e)?o<=c&&e.indexOf(n,o)>-1:!!c&&ur(e,n,o)>-1}var Jg=Te(function(e,n,o){var s=-1,c=typeof n=="function",m=kt(e)?L(e.length):[];return On(e,function(b){m[++s]=c?Ft(n,b,o):Nr(b,n,o)}),m}),em=Zi(function(e,n,o){gn(e,o,n)});function Qi(e,n){var o=_e(e)?et:ql;return o(e,he(n,3))}function tm(e,n,o,s){return e==null?[]:(_e(n)||(n=n==null?[]:[n]),o=s?i:o,_e(o)||(o=o==null?[]:[o]),Yl(e,n,o))}var nm=Zi(function(e,n,o){e[o?0:1].push(n)},function(){return[[],[]]});function rm(e,n,o){var s=_e(e)?Yo:wl,c=arguments.length<3;return s(e,he(n,4),o,c,On)}function im(e,n,o){var s=_e(e)?m1:wl,c=arguments.length<3;return s(e,he(n,4),o,c,Wl)}function om(e,n){var o=_e(e)?kn:Dl;return o(e,to(he(n,3)))}function am(e){var n=_e(e)?zl:Qh;return n(e)}function sm(e,n,o){(o?St(e,n,o):n===i)?n=1:n=Ae(n);var s=_e(e)?Th:Jh;return s(e,n)}function lm(e){var n=_e(e)?Rh:tp;return n(e)}function um(e){if(e==null)return 0;if(kt(e))return ro(e)?fr(e):e.length;var n=xt(e);return n==Z||n==nt?e.size:ma(e).length}function cm(e,n,o){var s=_e(e)?Qo:np;return o&&St(e,n,o)&&(n=i),s(e,he(n,3))}var fm=Te(function(e,n){if(e==null)return[];var o=n.length;return o>1&&St(e,n[0],n[1])?n=[]:o>2&&St(n[0],n[1],n[2])&&(n=[n[0]]),Yl(e,vt(n,1),[])}),Ji=N1||function(){return mt.Date.now()};function dm(e,n){if(typeof n!="function")throw new Nt(f);return e=Ae(e),function(){if(--e<1)return n.apply(this,arguments)}}function Nu(e,n,o){return n=o?i:n,n=e&&n==null?e.length:n,mn(e,V,i,i,i,i,n)}function Uu(e,n){var o;if(typeof n!="function")throw new Nt(f);return e=Ae(e),function(){return--e>0&&(o=n.apply(this,arguments)),e<=1&&(n=i),o}}var Wa=Te(function(e,n,o){var s=R;if(o.length){var c=Rn(o,br(Wa));s|=M}return mn(e,s,n,o,c)}),qu=Te(function(e,n,o){var s=R|I;if(o.length){var c=Rn(o,br(qu));s|=M}return mn(n,s,e,o,c)});function Gu(e,n,o){n=o?i:n;var s=mn(e,k,i,i,i,i,i,n);return s.placeholder=Gu.placeholder,s}function Ku(e,n,o){n=o?i:n;var s=mn(e,O,i,i,i,i,i,n);return s.placeholder=Ku.placeholder,s}function Xu(e,n,o){var s,c,m,b,w,$,P=0,W=!1,U=!1,ne=!0;if(typeof e!="function")throw new Nt(f);n=Xt(n)||0,rt(o)&&(W=!!o.leading,U="maxWait"in o,m=U?dt(Xt(o.maxWait)||0,n):m,ne="trailing"in o?!!o.trailing:ne);function ue(ut){var rn=s,wn=c;return s=c=i,P=ut,b=e.apply(wn,rn),b}function ge(ut){return P=ut,w=Xr(Le,n),W?ue(ut):b}function $e(ut){var rn=ut-$,wn=ut-P,gc=n-rn;return U?bt(gc,m-wn):gc}function me(ut){var rn=ut-$,wn=ut-P;return $===i||rn>=n||rn<0||U&&wn>=m}function Le(){var ut=Ji();if(me(ut))return Fe(ut);w=Xr(Le,$e(ut))}function Fe(ut){return w=i,ne&&s?ue(ut):(s=c=i,b)}function Pt(){w!==i&&au(w),P=0,s=$=c=w=i}function Et(){return w===i?b:Fe(Ji())}function Wt(){var ut=Ji(),rn=me(ut);if(s=arguments,c=this,$=ut,rn){if(w===i)return ge($);if(U)return au(w),w=Xr(Le,n),ue($)}return w===i&&(w=Xr(Le,n)),b}return Wt.cancel=Pt,Wt.flush=Et,Wt}var hm=Te(function(e,n){return Pl(e,1,n)}),pm=Te(function(e,n,o){return Pl(e,Xt(n)||0,o)});function gm(e){return mn(e,pe)}function eo(e,n){if(typeof e!="function"||n!=null&&typeof n!="function")throw new Nt(f);var o=function(){var s=arguments,c=n?n.apply(this,s):s[0],m=o.cache;if(m.has(c))return m.get(c);var b=e.apply(this,s);return o.cache=m.set(c,b)||m,b};return o.cache=new(eo.Cache||pn),o}eo.Cache=pn;function to(e){if(typeof e!="function")throw new Nt(f);return function(){var n=arguments;switch(n.length){case 0:return!e.call(this);case 1:return!e.call(this,n[0]);case 2:return!e.call(this,n[0],n[1]);case 3:return!e.call(this,n[0],n[1],n[2])}return!e.apply(this,n)}}function mm(e){return Uu(2,e)}var vm=rp(function(e,n){n=n.length==1&&_e(n[0])?et(n[0],zt(he())):et(vt(n,1),zt(he()));var o=n.length;return Te(function(s){for(var c=-1,m=bt(s.length,o);++c<m;)s[c]=n[c].call(this,s[c]);return Ft(e,this,s)})}),Da=Te(function(e,n){var o=Rn(n,br(Da));return mn(e,M,i,n,o)}),Yu=Te(function(e,n){var o=Rn(n,br(Yu));return mn(e,N,i,n,o)}),ym=vn(function(e,n){return mn(e,Q,i,i,i,n)});function bm(e,n){if(typeof e!="function")throw new Nt(f);return n=n===i?n:Ae(n),Te(e,n)}function xm(e,n){if(typeof e!="function")throw new Nt(f);return n=n==null?0:dt(Ae(n),0),Te(function(o){var s=o[n],c=Fn(o,0,n);return s&&Tn(c,s),Ft(e,this,c)})}function wm(e,n,o){var s=!0,c=!0;if(typeof e!="function")throw new Nt(f);return rt(o)&&(s="leading"in o?!!o.leading:s,c="trailing"in o?!!o.trailing:c),Xu(e,n,{leading:s,maxWait:n,trailing:c})}function _m(e){return Nu(e,1)}function Cm(e,n){return Da(Ea(n),e)}function Sm(){if(!arguments.length)return[];var e=arguments[0];return _e(e)?e:[e]}function Em(e){return qt(e,x)}function Am(e,n){return n=typeof n=="function"?n:i,qt(e,x,n)}function $m(e){return qt(e,S|x)}function km(e,n){return n=typeof n=="function"?n:i,qt(e,S|x,n)}function Tm(e,n){return n==null||Bl(e,n,pt(n))}function nn(e,n){return e===n||e!==e&&n!==n}var Rm=qi(ha),Lm=qi(function(e,n){return e>=n}),Jn=Vl(function(){return arguments}())?Vl:function(e){return at(e)&&Ue.call(e,"callee")&&!Rl.call(e,"callee")},_e=L.isArray,Om=fl?zt(fl):Wh;function kt(e){return e!=null&&no(e.length)&&!bn(e)}function lt(e){return at(e)&&kt(e)}function Im(e){return e===!0||e===!1||at(e)&&Ct(e)==de}var zn=q1||Qa,Mm=dl?zt(dl):Dh;function Fm(e){return at(e)&&e.nodeType===1&&!Yr(e)}function zm(e){if(e==null)return!0;if(kt(e)&&(_e(e)||typeof e=="string"||typeof e.splice=="function"||zn(e)||xr(e)||Jn(e)))return!e.length;var n=xt(e);if(n==Z||n==nt)return!e.size;if(Kr(e))return!ma(e).length;for(var o in e)if(Ue.call(e,o))return!1;return!0}function jm(e,n){return Ur(e,n)}function Bm(e,n,o){o=typeof o=="function"?o:i;var s=o?o(e,n):i;return s===i?Ur(e,n,i,o):!!s}function Ha(e){if(!at(e))return!1;var n=Ct(e);return n==ye||n==Re||typeof e.message=="string"&&typeof e.name=="string"&&!Yr(e)}function Pm(e){return typeof e=="number"&&Ol(e)}function bn(e){if(!rt(e))return!1;var n=Ct(e);return n==J||n==ce||n==it||n==Xe}function Qu(e){return typeof e=="number"&&e==Ae(e)}function no(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=ee}function rt(e){var n=typeof e;return e!=null&&(n=="object"||n=="function")}function at(e){return e!=null&&typeof e=="object"}var Ju=hl?zt(hl):Zh;function Wm(e,n){return e===n||ga(e,n,Oa(n))}function Dm(e,n,o){return o=typeof o=="function"?o:i,ga(e,n,Oa(n),o)}function Hm(e){return ec(e)&&e!=+e}function Zm(e){if(Ap(e))throw new be(u);return Nl(e)}function Vm(e){return e===null}function Nm(e){return e==null}function ec(e){return typeof e=="number"||at(e)&&Ct(e)==ie}function Yr(e){if(!at(e)||Ct(e)!=we)return!1;var n=Ti(e);if(n===null)return!0;var o=Ue.call(n,"constructor")&&n.constructor;return typeof o=="function"&&o instanceof o&&Ei.call(o)==D1}var Za=pl?zt(pl):Vh;function Um(e){return Qu(e)&&e>=-9007199254740991&&e<=ee}var tc=gl?zt(gl):Nh;function ro(e){return typeof e=="string"||!_e(e)&&at(e)&&Ct(e)==ot}function Bt(e){return typeof e=="symbol"||at(e)&&Ct(e)==re}var xr=ml?zt(ml):Uh;function qm(e){return e===i}function Gm(e){return at(e)&&xt(e)==Pe}function Km(e){return at(e)&&Ct(e)==He}var Xm=qi(va),Ym=qi(function(e,n){return e<=n});function nc(e){if(!e)return[];if(kt(e))return ro(e)?en(e):$t(e);if(Br&&e[Br])return T1(e[Br]());var n=xt(e),o=n==Z?ia:n==nt?_i:wr;return o(e)}function xn(e){if(!e)return e===0?e:0;if(e=Xt(e),e===oe||e===-1/0){var n=e<0?-1:1;return n*ve}return e===e?e:0}function Ae(e){var n=xn(e),o=n%1;return n===n?o?n-o:n:0}function rc(e){return e?Kn(Ae(e),0,ke):0}function Xt(e){if(typeof e=="number")return e;if(Bt(e))return je;if(rt(e)){var n=typeof e.valueOf=="function"?e.valueOf():e;e=rt(n)?n+"":n}if(typeof e!="string")return e===0?e:+e;e=_l(e);var o=O0.test(e);return o||M0.test(e)?d1(e.slice(2),o?2:8):L0.test(e)?je:+e}function ic(e){return ln(e,Tt(e))}function Qm(e){return e?Kn(Ae(e),-9007199254740991,ee):e===0?e:0}function Ne(e){return e==null?"":jt(e)}var Jm=vr(function(e,n){if(Kr(n)||kt(n)){ln(n,pt(n),e);return}for(var o in n)Ue.call(n,o)&&Zr(e,o,n[o])}),oc=vr(function(e,n){ln(n,Tt(n),e)}),io=vr(function(e,n,o,s){ln(n,Tt(n),e,s)}),e2=vr(function(e,n,o,s){ln(n,pt(n),e,s)}),t2=vn(ca);function n2(e,n){var o=mr(e);return n==null?o:jl(o,n)}var r2=Te(function(e,n){e=Ge(e);var o=-1,s=n.length,c=s>2?n[2]:i;for(c&&St(n[0],n[1],c)&&(s=1);++o<s;)for(var m=n[o],b=Tt(m),w=-1,$=b.length;++w<$;){var P=b[w],W=e[P];(W===i||nn(W,hr[P])&&!Ue.call(e,P))&&(e[P]=m[P])}return e}),i2=Te(function(e){return e.push(i,_u),Ft(ac,i,e)});function o2(e,n){return yl(e,he(n,3),sn)}function a2(e,n){return yl(e,he(n,3),da)}function s2(e,n){return e==null?e:fa(e,he(n,3),Tt)}function l2(e,n){return e==null?e:Hl(e,he(n,3),Tt)}function u2(e,n){return e&&sn(e,he(n,3))}function c2(e,n){return e&&da(e,he(n,3))}function f2(e){return e==null?[]:Pi(e,pt(e))}function d2(e){return e==null?[]:Pi(e,Tt(e))}function Va(e,n,o){var s=e==null?i:Xn(e,n);return s===i?o:s}function h2(e,n){return e!=null&&Eu(e,n,zh)}function Na(e,n){return e!=null&&Eu(e,n,jh)}var p2=vu(function(e,n,o){n!=null&&typeof n.toString!="function"&&(n=Ai.call(n)),e[n]=o},qa(Rt)),g2=vu(function(e,n,o){n!=null&&typeof n.toString!="function"&&(n=Ai.call(n)),Ue.call(e,n)?e[n].push(o):e[n]=[o]},he),m2=Te(Nr);function pt(e){return kt(e)?Fl(e):ma(e)}function Tt(e){return kt(e)?Fl(e,!0):qh(e)}function v2(e,n){var o={};return n=he(n,3),sn(e,function(s,c,m){gn(o,n(s,c,m),s)}),o}function y2(e,n){var o={};return n=he(n,3),sn(e,function(s,c,m){gn(o,c,n(s,c,m))}),o}var b2=vr(function(e,n,o){Wi(e,n,o)}),ac=vr(function(e,n,o,s){Wi(e,n,o,s)}),x2=vn(function(e,n){var o={};if(e==null)return o;var s=!1;n=et(n,function(m){return m=Mn(m,e),s||(s=m.length>1),m}),ln(e,Ra(e),o),s&&(o=qt(o,S|E|x,pp));for(var c=n.length;c--;)_a(o,n[c]);return o});function w2(e,n){return sc(e,to(he(n)))}var _2=vn(function(e,n){return e==null?{}:Kh(e,n)});function sc(e,n){if(e==null)return{};var o=et(Ra(e),function(s){return[s]});return n=he(n),Ql(e,o,function(s,c){return n(s,c[0])})}function C2(e,n,o){n=Mn(n,e);var s=-1,c=n.length;for(c||(c=1,e=i);++s<c;){var m=e==null?i:e[un(n[s])];m===i&&(s=c,m=o),e=bn(m)?m.call(e):m}return e}function S2(e,n,o){return e==null?e:qr(e,n,o)}function E2(e,n,o,s){return s=typeof s=="function"?s:i,e==null?e:qr(e,n,o,s)}var lc=xu(pt),uc=xu(Tt);function A2(e,n,o){var s=_e(e),c=s||zn(e)||xr(e);if(n=he(n,4),o==null){var m=e&&e.constructor;c?o=s?new m:[]:rt(e)?o=bn(m)?mr(Ti(e)):{}:o={}}return(c?Vt:sn)(e,function(b,w,$){return n(o,b,w,$)}),o}function $2(e,n){return e==null?!0:_a(e,n)}function k2(e,n,o){return e==null?e:ru(e,n,Ea(o))}function T2(e,n,o,s){return s=typeof s=="function"?s:i,e==null?e:ru(e,n,Ea(o),s)}function wr(e){return e==null?[]:ra(e,pt(e))}function R2(e){return e==null?[]:ra(e,Tt(e))}function L2(e,n,o){return o===i&&(o=n,n=i),o!==i&&(o=Xt(o),o=o===o?o:0),n!==i&&(n=Xt(n),n=n===n?n:0),Kn(Xt(e),n,o)}function O2(e,n,o){return n=xn(n),o===i?(o=n,n=0):o=xn(o),e=Xt(e),Bh(e,n,o)}function I2(e,n,o){if(o&&typeof o!="boolean"&&St(e,n,o)&&(n=o=i),o===i&&(typeof n=="boolean"?(o=n,n=i):typeof e=="boolean"&&(o=e,e=i)),e===i&&n===i?(e=0,n=1):(e=xn(e),n===i?(n=e,e=0):n=xn(n)),e>n){var s=e;e=n,n=s}if(o||e%1||n%1){var c=Il();return bt(e+c*(n-e+f1("1e-"+((c+"").length-1))),n)}return ba(e,n)}var M2=yr(function(e,n,o){return n=n.toLowerCase(),e+(o?cc(n):n)});function cc(e){return Ua(Ne(e).toLowerCase())}function fc(e){return e=Ne(e),e&&e.replace(z0,S1).replace(t1,"")}function F2(e,n,o){e=Ne(e),n=jt(n);var s=e.length;o=o===i?s:Kn(Ae(o),0,s);var c=o;return o-=n.length,o>=0&&e.slice(o,c)==n}function z2(e){return e=Ne(e),e&&m0.test(e)?e.replace(Hs,E1):e}function j2(e){return e=Ne(e),e&&_0.test(e)?e.replace(Do,"\\$&"):e}var B2=yr(function(e,n,o){return e+(o?"-":"")+n.toLowerCase()}),P2=yr(function(e,n,o){return e+(o?" ":"")+n.toLowerCase()}),W2=pu("toLowerCase");function D2(e,n,o){e=Ne(e),n=Ae(n);var s=n?fr(e):0;if(!n||s>=n)return e;var c=(n-s)/2;return Ui(Ii(c),o)+e+Ui(Oi(c),o)}function H2(e,n,o){e=Ne(e),n=Ae(n);var s=n?fr(e):0;return n&&s<n?e+Ui(n-s,o):e}function Z2(e,n,o){e=Ne(e),n=Ae(n);var s=n?fr(e):0;return n&&s<n?Ui(n-s,o)+e:e}function V2(e,n,o){return o||n==null?n=0:n&&(n=+n),Y1(Ne(e).replace(Ho,""),n||0)}function N2(e,n,o){return(o?St(e,n,o):n===i)?n=1:n=Ae(n),xa(Ne(e),n)}function U2(){var e=arguments,n=Ne(e[0]);return e.length<3?n:n.replace(e[1],e[2])}var q2=yr(function(e,n,o){return e+(o?"_":"")+n.toLowerCase()});function G2(e,n,o){return o&&typeof o!="number"&&St(e,n,o)&&(n=o=i),o=o===i?ke:o>>>0,o?(e=Ne(e),e&&(typeof n=="string"||n!=null&&!Za(n))&&(n=jt(n),!n&&cr(e))?Fn(en(e),0,o):e.split(n,o)):[]}var K2=yr(function(e,n,o){return e+(o?" ":"")+Ua(n)});function X2(e,n,o){return e=Ne(e),o=o==null?0:Kn(Ae(o),0,e.length),n=jt(n),e.slice(o,o+n.length)==n}function Y2(e,n,o){var s=p.templateSettings;o&&St(e,n,o)&&(n=i),e=Ne(e),n=io({},n,s,wu);var c=io({},n.imports,s.imports,wu),m=pt(c),b=ra(c,m),w,$,P=0,W=n.interpolate||vi,U="__p += '",ne=oa((n.escape||vi).source+"|"+W.source+"|"+(W===Zs?R0:vi).source+"|"+(n.evaluate||vi).source+"|$","g"),ue="//# sourceURL="+(Ue.call(n,"sourceURL")?(n.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++a1+"]")+`
|
|
11
|
-
`;
|
|
12
|
-
__e(`+
|
|
13
|
-
'`),
|
|
14
|
-
`+
|
|
15
|
-
__p += '`),
|
|
16
|
-
((__t = (`+
|
|
17
|
-
'`),
|
|
18
|
-
`;var
|
|
19
|
-
`+
|
|
8
|
+
*/var nb=Ii.exports,ad;function rb(){return ad||(ad=1,function(e,n){(function(){var i,s="4.17.21",a=200,l="Unsupported core-js use. Try https://npms.io/search?q=ponyfill.",d="Expected a function",f="Invalid `variable` option passed into `_.template`",h="__lodash_hash_undefined__",p=500,x="__lodash_placeholder__",w=1,_=2,v=4,C=1,R=2,k=1,T=2,E=4,I=8,$=16,M=32,z=64,j=128,H=256,oe=512,te=30,re="...",B=800,W=16,P=1,le=2,K=3,ne=1/0,ie=9007199254740991,we=17976931348623157e292,pe=NaN,Se=4294967295,$e=Se-1,de=Se>>>1,De=[["ary",j],["bind",k],["bindKey",T],["curry",I],["curryRight",$],["flip",oe],["partial",M],["partialRight",z],["rearg",H]],Ze="[object Arguments]",Ee="[object Array]",st="[object AsyncFunction]",ye="[object Boolean]",Te="[object Date]",Fe="[object DOMException]",ke="[object Error]",ee="[object Function]",he="[object GeneratorFunction]",N="[object Map]",se="[object Number]",ge="[object Null]",Ae="[object Object]",Be="[object Promise]",Oe="[object Proxy]",tt="[object RegExp]",nt="[object Set]",it="[object String]",ae="[object Symbol]",Ge="[object Undefined]",Pe="[object WeakMap]",Ue="[object WeakSet]",Qe="[object ArrayBuffer]",ct="[object DataView]",cn="[object Float32Array]",un="[object Float64Array]",Yt="[object Int8Array]",_r="[object Int16Array]",Wn="[object Int32Array]",ri="[object Uint8Array]",Cr="[object Uint8ClampedArray]",ii="[object Uint16Array]",Sr="[object Uint32Array]",ys=/\b__p \+= '';/g,bs=/\b(__p \+=) '' \+/g,Zi=/(__e\(.*?\)|\b__t\)) \+\n'';/g,$t=/&(?:amp|lt|gt|quot|#39);/g,dn=/[&<>"']/g,xs=RegExp($t.source),oi=RegExp(dn.source),si=/<%-([\s\S]+?)%>/g,nr=/<%([\s\S]+?)%>/g,Er=/<%=([\s\S]+?)%>/g,rr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Vi=/^\w*$/,ai=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,xe=/[\\^$.*+?()[\]{}|]/g,vt=RegExp(xe.source),At=/^\s+/,bn=/\s/,Ni=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,O1=/\{\n\/\* \[wrapped with (.+)\] \*/,z1=/,? & /,L1=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,j1=/[()=,{}\[\]\/\s]/,D1=/\\(\\)?/g,P1=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,zl=/\w*$/,W1=/^[-+]0x[0-9a-f]+$/i,B1=/^0b[01]+$/i,H1=/^\[object .+?Constructor\]$/,Z1=/^0o[0-7]+$/i,V1=/^(?:0|[1-9]\d*)$/,N1=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Ui=/($^)/,U1=/['\n\r\u2028\u2029\\]/g,Gi="\\ud800-\\udfff",G1="\\u0300-\\u036f",q1="\\ufe20-\\ufe2f",K1="\\u20d0-\\u20ff",Ll=G1+q1+K1,jl="\\u2700-\\u27bf",Dl="a-z\\xdf-\\xf6\\xf8-\\xff",Y1="\\xac\\xb1\\xd7\\xf7",X1="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",Q1="\\u2000-\\u206f",J1=" \\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",Pl="A-Z\\xc0-\\xd6\\xd8-\\xde",Wl="\\ufe0e\\ufe0f",Bl=Y1+X1+Q1+J1,vs="['’]",eh="["+Gi+"]",Hl="["+Bl+"]",qi="["+Ll+"]",Zl="\\d+",th="["+jl+"]",Vl="["+Dl+"]",Nl="[^"+Gi+Bl+Zl+jl+Dl+Pl+"]",ws="\\ud83c[\\udffb-\\udfff]",nh="(?:"+qi+"|"+ws+")",Ul="[^"+Gi+"]",_s="(?:\\ud83c[\\udde6-\\uddff]){2}",Cs="[\\ud800-\\udbff][\\udc00-\\udfff]",kr="["+Pl+"]",Gl="\\u200d",ql="(?:"+Vl+"|"+Nl+")",rh="(?:"+kr+"|"+Nl+")",Kl="(?:"+vs+"(?:d|ll|m|re|s|t|ve))?",Yl="(?:"+vs+"(?:D|LL|M|RE|S|T|VE))?",Xl=nh+"?",Ql="["+Wl+"]?",ih="(?:"+Gl+"(?:"+[Ul,_s,Cs].join("|")+")"+Ql+Xl+")*",oh="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",sh="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",Jl=Ql+Xl+ih,ah="(?:"+[th,_s,Cs].join("|")+")"+Jl,lh="(?:"+[Ul+qi+"?",qi,_s,Cs,eh].join("|")+")",ch=RegExp(vs,"g"),uh=RegExp(qi,"g"),Ss=RegExp(ws+"(?="+ws+")|"+lh+Jl,"g"),dh=RegExp([kr+"?"+Vl+"+"+Kl+"(?="+[Hl,kr,"$"].join("|")+")",rh+"+"+Yl+"(?="+[Hl,kr+ql,"$"].join("|")+")",kr+"?"+ql+"+"+Kl,kr+"+"+Yl,sh,oh,Zl,ah].join("|"),"g"),fh=RegExp("["+Gl+Gi+Ll+Wl+"]"),hh=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ph=["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"],gh=-1,ot={};ot[cn]=ot[un]=ot[Yt]=ot[_r]=ot[Wn]=ot[ri]=ot[Cr]=ot[ii]=ot[Sr]=!0,ot[Ze]=ot[Ee]=ot[Qe]=ot[ye]=ot[ct]=ot[Te]=ot[ke]=ot[ee]=ot[N]=ot[se]=ot[Ae]=ot[tt]=ot[nt]=ot[it]=ot[Pe]=!1;var rt={};rt[Ze]=rt[Ee]=rt[Qe]=rt[ct]=rt[ye]=rt[Te]=rt[cn]=rt[un]=rt[Yt]=rt[_r]=rt[Wn]=rt[N]=rt[se]=rt[Ae]=rt[tt]=rt[nt]=rt[it]=rt[ae]=rt[ri]=rt[Cr]=rt[ii]=rt[Sr]=!0,rt[ke]=rt[ee]=rt[Pe]=!1;var mh={À:"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"},yh={"&":"&","<":"<",">":">",'"':""","'":"'"},bh={"&":"&","<":"<",">":">",""":'"',"'":"'"},xh={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},vh=parseFloat,wh=parseInt,ec=typeof zo=="object"&&zo&&zo.Object===Object&&zo,_h=typeof self=="object"&&self&&self.Object===Object&&self,wt=ec||_h||Function("return this")(),Es=n&&!n.nodeType&&n,ir=Es&&!0&&e&&!e.nodeType&&e,tc=ir&&ir.exports===Es,ks=tc&&ec.process,Xt=function(){try{var F=ir&&ir.require&&ir.require("util").types;return F||ks&&ks.binding&&ks.binding("util")}catch{}}(),nc=Xt&&Xt.isArrayBuffer,rc=Xt&&Xt.isDate,ic=Xt&&Xt.isMap,oc=Xt&&Xt.isRegExp,sc=Xt&&Xt.isSet,ac=Xt&&Xt.isTypedArray;function Ht(F,Z,D){switch(D.length){case 0:return F.call(Z);case 1:return F.call(Z,D[0]);case 2:return F.call(Z,D[0],D[1]);case 3:return F.call(Z,D[0],D[1],D[2])}return F.apply(Z,D)}function Ch(F,Z,D,fe){for(var Re=-1,qe=F==null?0:F.length;++Re<qe;){var mt=F[Re];Z(fe,mt,D(mt),F)}return fe}function Qt(F,Z){for(var D=-1,fe=F==null?0:F.length;++D<fe&&Z(F[D],D,F)!==!1;);return F}function Sh(F,Z){for(var D=F==null?0:F.length;D--&&Z(F[D],D,F)!==!1;);return F}function lc(F,Z){for(var D=-1,fe=F==null?0:F.length;++D<fe;)if(!Z(F[D],D,F))return!1;return!0}function Bn(F,Z){for(var D=-1,fe=F==null?0:F.length,Re=0,qe=[];++D<fe;){var mt=F[D];Z(mt,D,F)&&(qe[Re++]=mt)}return qe}function Ki(F,Z){var D=F==null?0:F.length;return!!D&&$r(F,Z,0)>-1}function $s(F,Z,D){for(var fe=-1,Re=F==null?0:F.length;++fe<Re;)if(D(Z,F[fe]))return!0;return!1}function at(F,Z){for(var D=-1,fe=F==null?0:F.length,Re=Array(fe);++D<fe;)Re[D]=Z(F[D],D,F);return Re}function Hn(F,Z){for(var D=-1,fe=Z.length,Re=F.length;++D<fe;)F[Re+D]=Z[D];return F}function As(F,Z,D,fe){var Re=-1,qe=F==null?0:F.length;for(fe&&qe&&(D=F[++Re]);++Re<qe;)D=Z(D,F[Re],Re,F);return D}function Eh(F,Z,D,fe){var Re=F==null?0:F.length;for(fe&&Re&&(D=F[--Re]);Re--;)D=Z(D,F[Re],Re,F);return D}function Ts(F,Z){for(var D=-1,fe=F==null?0:F.length;++D<fe;)if(Z(F[D],D,F))return!0;return!1}var kh=Rs("length");function $h(F){return F.split("")}function Ah(F){return F.match(L1)||[]}function cc(F,Z,D){var fe;return D(F,function(Re,qe,mt){if(Z(Re,qe,mt))return fe=qe,!1}),fe}function Yi(F,Z,D,fe){for(var Re=F.length,qe=D+(fe?1:-1);fe?qe--:++qe<Re;)if(Z(F[qe],qe,F))return qe;return-1}function $r(F,Z,D){return Z===Z?Wh(F,Z,D):Yi(F,uc,D)}function Th(F,Z,D,fe){for(var Re=D-1,qe=F.length;++Re<qe;)if(fe(F[Re],Z))return Re;return-1}function uc(F){return F!==F}function dc(F,Z){var D=F==null?0:F.length;return D?Ms(F,Z)/D:pe}function Rs(F){return function(Z){return Z==null?i:Z[F]}}function Is(F){return function(Z){return F==null?i:F[Z]}}function fc(F,Z,D,fe,Re){return Re(F,function(qe,mt,et){D=fe?(fe=!1,qe):Z(D,qe,mt,et)}),D}function Rh(F,Z){var D=F.length;for(F.sort(Z);D--;)F[D]=F[D].value;return F}function Ms(F,Z){for(var D,fe=-1,Re=F.length;++fe<Re;){var qe=Z(F[fe]);qe!==i&&(D=D===i?qe:D+qe)}return D}function Fs(F,Z){for(var D=-1,fe=Array(F);++D<F;)fe[D]=Z(D);return fe}function Ih(F,Z){return at(Z,function(D){return[D,F[D]]})}function hc(F){return F&&F.slice(0,yc(F)+1).replace(At,"")}function Zt(F){return function(Z){return F(Z)}}function Os(F,Z){return at(Z,function(D){return F[D]})}function li(F,Z){return F.has(Z)}function pc(F,Z){for(var D=-1,fe=F.length;++D<fe&&$r(Z,F[D],0)>-1;);return D}function gc(F,Z){for(var D=F.length;D--&&$r(Z,F[D],0)>-1;);return D}function Mh(F,Z){for(var D=F.length,fe=0;D--;)F[D]===Z&&++fe;return fe}var Fh=Is(mh),Oh=Is(yh);function zh(F){return"\\"+xh[F]}function Lh(F,Z){return F==null?i:F[Z]}function Ar(F){return fh.test(F)}function jh(F){return hh.test(F)}function Dh(F){for(var Z,D=[];!(Z=F.next()).done;)D.push(Z.value);return D}function zs(F){var Z=-1,D=Array(F.size);return F.forEach(function(fe,Re){D[++Z]=[Re,fe]}),D}function mc(F,Z){return function(D){return F(Z(D))}}function Zn(F,Z){for(var D=-1,fe=F.length,Re=0,qe=[];++D<fe;){var mt=F[D];(mt===Z||mt===x)&&(F[D]=x,qe[Re++]=D)}return qe}function Xi(F){var Z=-1,D=Array(F.size);return F.forEach(function(fe){D[++Z]=fe}),D}function Ph(F){var Z=-1,D=Array(F.size);return F.forEach(function(fe){D[++Z]=[fe,fe]}),D}function Wh(F,Z,D){for(var fe=D-1,Re=F.length;++fe<Re;)if(F[fe]===Z)return fe;return-1}function Bh(F,Z,D){for(var fe=D+1;fe--;)if(F[fe]===Z)return fe;return fe}function Tr(F){return Ar(F)?Zh(F):kh(F)}function fn(F){return Ar(F)?Vh(F):$h(F)}function yc(F){for(var Z=F.length;Z--&&bn.test(F.charAt(Z)););return Z}var Hh=Is(bh);function Zh(F){for(var Z=Ss.lastIndex=0;Ss.test(F);)++Z;return Z}function Vh(F){return F.match(Ss)||[]}function Nh(F){return F.match(dh)||[]}var Uh=function F(Z){Z=Z==null?wt:Rr.defaults(wt.Object(),Z,Rr.pick(wt,ph));var D=Z.Array,fe=Z.Date,Re=Z.Error,qe=Z.Function,mt=Z.Math,et=Z.Object,Ls=Z.RegExp,Gh=Z.String,Jt=Z.TypeError,Qi=D.prototype,qh=qe.prototype,Ir=et.prototype,Ji=Z["__core-js_shared__"],eo=qh.toString,Ye=Ir.hasOwnProperty,Kh=0,bc=function(){var t=/[^.]+$/.exec(Ji&&Ji.keys&&Ji.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),to=Ir.toString,Yh=eo.call(et),Xh=wt._,Qh=Ls("^"+eo.call(Ye).replace(xe,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),no=tc?Z.Buffer:i,Vn=Z.Symbol,ro=Z.Uint8Array,xc=no?no.allocUnsafe:i,io=mc(et.getPrototypeOf,et),vc=et.create,wc=Ir.propertyIsEnumerable,oo=Qi.splice,_c=Vn?Vn.isConcatSpreadable:i,ci=Vn?Vn.iterator:i,or=Vn?Vn.toStringTag:i,so=function(){try{var t=ur(et,"defineProperty");return t({},"",{}),t}catch{}}(),Jh=Z.clearTimeout!==wt.clearTimeout&&Z.clearTimeout,ep=fe&&fe.now!==wt.Date.now&&fe.now,tp=Z.setTimeout!==wt.setTimeout&&Z.setTimeout,ao=mt.ceil,lo=mt.floor,js=et.getOwnPropertySymbols,np=no?no.isBuffer:i,Cc=Z.isFinite,rp=Qi.join,ip=mc(et.keys,et),yt=mt.max,St=mt.min,op=fe.now,sp=Z.parseInt,Sc=mt.random,ap=Qi.reverse,Ds=ur(Z,"DataView"),ui=ur(Z,"Map"),Ps=ur(Z,"Promise"),Mr=ur(Z,"Set"),di=ur(Z,"WeakMap"),fi=ur(et,"create"),co=di&&new di,Fr={},lp=dr(Ds),cp=dr(ui),up=dr(Ps),dp=dr(Mr),fp=dr(di),uo=Vn?Vn.prototype:i,hi=uo?uo.valueOf:i,Ec=uo?uo.toString:i;function y(t){if(dt(t)&&!Ie(t)&&!(t instanceof He)){if(t instanceof en)return t;if(Ye.call(t,"__wrapped__"))return ku(t)}return new en(t)}var Or=function(){function t(){}return function(r){if(!ut(r))return{};if(vc)return vc(r);t.prototype=r;var o=new t;return t.prototype=i,o}}();function fo(){}function en(t,r){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!r,this.__index__=0,this.__values__=i}y.templateSettings={escape:si,evaluate:nr,interpolate:Er,variable:"",imports:{_:y}},y.prototype=fo.prototype,y.prototype.constructor=y,en.prototype=Or(fo.prototype),en.prototype.constructor=en;function He(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=Se,this.__views__=[]}function hp(){var t=new He(this.__wrapped__);return t.__actions__=Ft(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Ft(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Ft(this.__views__),t}function pp(){if(this.__filtered__){var t=new He(this);t.__dir__=-1,t.__filtered__=!0}else t=this.clone(),t.__dir__*=-1;return t}function gp(){var t=this.__wrapped__.value(),r=this.__dir__,o=Ie(t),u=r<0,g=o?t.length:0,b=$g(0,g,this.__views__),S=b.start,A=b.end,O=A-S,U=u?A:S-1,G=this.__iteratees__,Y=G.length,ce=0,me=St(O,this.__takeCount__);if(!o||!u&&g==O&&me==O)return Kc(t,this.__actions__);var _e=[];e:for(;O--&&ce<me;){U+=r;for(var Le=-1,Ce=t[U];++Le<Y;){var We=G[Le],Ve=We.iteratee,Ut=We.type,It=Ve(Ce);if(Ut==le)Ce=It;else if(!It){if(Ut==P)continue e;break e}}_e[ce++]=Ce}return _e}He.prototype=Or(fo.prototype),He.prototype.constructor=He;function sr(t){var r=-1,o=t==null?0:t.length;for(this.clear();++r<o;){var u=t[r];this.set(u[0],u[1])}}function mp(){this.__data__=fi?fi(null):{},this.size=0}function yp(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=r?1:0,r}function bp(t){var r=this.__data__;if(fi){var o=r[t];return o===h?i:o}return Ye.call(r,t)?r[t]:i}function xp(t){var r=this.__data__;return fi?r[t]!==i:Ye.call(r,t)}function vp(t,r){var o=this.__data__;return this.size+=this.has(t)?0:1,o[t]=fi&&r===i?h:r,this}sr.prototype.clear=mp,sr.prototype.delete=yp,sr.prototype.get=bp,sr.prototype.has=xp,sr.prototype.set=vp;function En(t){var r=-1,o=t==null?0:t.length;for(this.clear();++r<o;){var u=t[r];this.set(u[0],u[1])}}function wp(){this.__data__=[],this.size=0}function _p(t){var r=this.__data__,o=ho(r,t);if(o<0)return!1;var u=r.length-1;return o==u?r.pop():oo.call(r,o,1),--this.size,!0}function Cp(t){var r=this.__data__,o=ho(r,t);return o<0?i:r[o][1]}function Sp(t){return ho(this.__data__,t)>-1}function Ep(t,r){var o=this.__data__,u=ho(o,t);return u<0?(++this.size,o.push([t,r])):o[u][1]=r,this}En.prototype.clear=wp,En.prototype.delete=_p,En.prototype.get=Cp,En.prototype.has=Sp,En.prototype.set=Ep;function kn(t){var r=-1,o=t==null?0:t.length;for(this.clear();++r<o;){var u=t[r];this.set(u[0],u[1])}}function kp(){this.size=0,this.__data__={hash:new sr,map:new(ui||En),string:new sr}}function $p(t){var r=Eo(this,t).delete(t);return this.size-=r?1:0,r}function Ap(t){return Eo(this,t).get(t)}function Tp(t){return Eo(this,t).has(t)}function Rp(t,r){var o=Eo(this,t),u=o.size;return o.set(t,r),this.size+=o.size==u?0:1,this}kn.prototype.clear=kp,kn.prototype.delete=$p,kn.prototype.get=Ap,kn.prototype.has=Tp,kn.prototype.set=Rp;function ar(t){var r=-1,o=t==null?0:t.length;for(this.__data__=new kn;++r<o;)this.add(t[r])}function Ip(t){return this.__data__.set(t,h),this}function Mp(t){return this.__data__.has(t)}ar.prototype.add=ar.prototype.push=Ip,ar.prototype.has=Mp;function hn(t){var r=this.__data__=new En(t);this.size=r.size}function Fp(){this.__data__=new En,this.size=0}function Op(t){var r=this.__data__,o=r.delete(t);return this.size=r.size,o}function zp(t){return this.__data__.get(t)}function Lp(t){return this.__data__.has(t)}function jp(t,r){var o=this.__data__;if(o instanceof En){var u=o.__data__;if(!ui||u.length<a-1)return u.push([t,r]),this.size=++o.size,this;o=this.__data__=new kn(u)}return o.set(t,r),this.size=o.size,this}hn.prototype.clear=Fp,hn.prototype.delete=Op,hn.prototype.get=zp,hn.prototype.has=Lp,hn.prototype.set=jp;function kc(t,r){var o=Ie(t),u=!o&&fr(t),g=!o&&!u&&Kn(t),b=!o&&!u&&!g&&Dr(t),S=o||u||g||b,A=S?Fs(t.length,Gh):[],O=A.length;for(var U in t)(r||Ye.call(t,U))&&!(S&&(U=="length"||g&&(U=="offset"||U=="parent")||b&&(U=="buffer"||U=="byteLength"||U=="byteOffset")||Rn(U,O)))&&A.push(U);return A}function $c(t){var r=t.length;return r?t[Ys(0,r-1)]:i}function Dp(t,r){return ko(Ft(t),lr(r,0,t.length))}function Pp(t){return ko(Ft(t))}function Ws(t,r,o){(o!==i&&!pn(t[r],o)||o===i&&!(r in t))&&$n(t,r,o)}function pi(t,r,o){var u=t[r];(!(Ye.call(t,r)&&pn(u,o))||o===i&&!(r in t))&&$n(t,r,o)}function ho(t,r){for(var o=t.length;o--;)if(pn(t[o][0],r))return o;return-1}function Wp(t,r,o,u){return Nn(t,function(g,b,S){r(u,g,o(g),S)}),u}function Ac(t,r){return t&&vn(r,bt(r),t)}function Bp(t,r){return t&&vn(r,zt(r),t)}function $n(t,r,o){r=="__proto__"&&so?so(t,r,{configurable:!0,enumerable:!0,value:o,writable:!0}):t[r]=o}function Bs(t,r){for(var o=-1,u=r.length,g=D(u),b=t==null;++o<u;)g[o]=b?i:wa(t,r[o]);return g}function lr(t,r,o){return t===t&&(o!==i&&(t=t<=o?t:o),r!==i&&(t=t>=r?t:r)),t}function tn(t,r,o,u,g,b){var S,A=r&w,O=r&_,U=r&v;if(o&&(S=g?o(t,u,g,b):o(t)),S!==i)return S;if(!ut(t))return t;var G=Ie(t);if(G){if(S=Tg(t),!A)return Ft(t,S)}else{var Y=Et(t),ce=Y==ee||Y==he;if(Kn(t))return Qc(t,A);if(Y==Ae||Y==Ze||ce&&!g){if(S=O||ce?{}:yu(t),!A)return O?bg(t,Bp(S,t)):yg(t,Ac(S,t))}else{if(!rt[Y])return g?t:{};S=Rg(t,Y,A)}}b||(b=new hn);var me=b.get(t);if(me)return me;b.set(t,S),Uu(t)?t.forEach(function(Ce){S.add(tn(Ce,r,o,Ce,t,b))}):Vu(t)&&t.forEach(function(Ce,We){S.set(We,tn(Ce,r,o,We,t,b))});var _e=U?O?aa:sa:O?zt:bt,Le=G?i:_e(t);return Qt(Le||t,function(Ce,We){Le&&(We=Ce,Ce=t[We]),pi(S,We,tn(Ce,r,o,We,t,b))}),S}function Hp(t){var r=bt(t);return function(o){return Tc(o,t,r)}}function Tc(t,r,o){var u=o.length;if(t==null)return!u;for(t=et(t);u--;){var g=o[u],b=r[g],S=t[g];if(S===i&&!(g in t)||!b(S))return!1}return!0}function Rc(t,r,o){if(typeof t!="function")throw new Jt(d);return wi(function(){t.apply(i,o)},r)}function gi(t,r,o,u){var g=-1,b=Ki,S=!0,A=t.length,O=[],U=r.length;if(!A)return O;o&&(r=at(r,Zt(o))),u?(b=$s,S=!1):r.length>=a&&(b=li,S=!1,r=new ar(r));e:for(;++g<A;){var G=t[g],Y=o==null?G:o(G);if(G=u||G!==0?G:0,S&&Y===Y){for(var ce=U;ce--;)if(r[ce]===Y)continue e;O.push(G)}else b(r,Y,u)||O.push(G)}return O}var Nn=ru(xn),Ic=ru(Zs,!0);function Zp(t,r){var o=!0;return Nn(t,function(u,g,b){return o=!!r(u,g,b),o}),o}function po(t,r,o){for(var u=-1,g=t.length;++u<g;){var b=t[u],S=r(b);if(S!=null&&(A===i?S===S&&!Nt(S):o(S,A)))var A=S,O=b}return O}function Vp(t,r,o,u){var g=t.length;for(o=ze(o),o<0&&(o=-o>g?0:g+o),u=u===i||u>g?g:ze(u),u<0&&(u+=g),u=o>u?0:qu(u);o<u;)t[o++]=r;return t}function Mc(t,r){var o=[];return Nn(t,function(u,g,b){r(u,g,b)&&o.push(u)}),o}function _t(t,r,o,u,g){var b=-1,S=t.length;for(o||(o=Mg),g||(g=[]);++b<S;){var A=t[b];r>0&&o(A)?r>1?_t(A,r-1,o,u,g):Hn(g,A):u||(g[g.length]=A)}return g}var Hs=iu(),Fc=iu(!0);function xn(t,r){return t&&Hs(t,r,bt)}function Zs(t,r){return t&&Fc(t,r,bt)}function go(t,r){return Bn(r,function(o){return In(t[o])})}function cr(t,r){r=Gn(r,t);for(var o=0,u=r.length;t!=null&&o<u;)t=t[wn(r[o++])];return o&&o==u?t:i}function Oc(t,r,o){var u=r(t);return Ie(t)?u:Hn(u,o(t))}function Tt(t){return t==null?t===i?Ge:ge:or&&or in et(t)?kg(t):Pg(t)}function Vs(t,r){return t>r}function Np(t,r){return t!=null&&Ye.call(t,r)}function Up(t,r){return t!=null&&r in et(t)}function Gp(t,r,o){return t>=St(r,o)&&t<yt(r,o)}function Ns(t,r,o){for(var u=o?$s:Ki,g=t[0].length,b=t.length,S=b,A=D(b),O=1/0,U=[];S--;){var G=t[S];S&&r&&(G=at(G,Zt(r))),O=St(G.length,O),A[S]=!o&&(r||g>=120&&G.length>=120)?new ar(S&&G):i}G=t[0];var Y=-1,ce=A[0];e:for(;++Y<g&&U.length<O;){var me=G[Y],_e=r?r(me):me;if(me=o||me!==0?me:0,!(ce?li(ce,_e):u(U,_e,o))){for(S=b;--S;){var Le=A[S];if(!(Le?li(Le,_e):u(t[S],_e,o)))continue e}ce&&ce.push(_e),U.push(me)}}return U}function qp(t,r,o,u){return xn(t,function(g,b,S){r(u,o(g),b,S)}),u}function mi(t,r,o){r=Gn(r,t),t=wu(t,r);var u=t==null?t:t[wn(rn(r))];return u==null?i:Ht(u,t,o)}function zc(t){return dt(t)&&Tt(t)==Ze}function Kp(t){return dt(t)&&Tt(t)==Qe}function Yp(t){return dt(t)&&Tt(t)==Te}function yi(t,r,o,u,g){return t===r?!0:t==null||r==null||!dt(t)&&!dt(r)?t!==t&&r!==r:Xp(t,r,o,u,yi,g)}function Xp(t,r,o,u,g,b){var S=Ie(t),A=Ie(r),O=S?Ee:Et(t),U=A?Ee:Et(r);O=O==Ze?Ae:O,U=U==Ze?Ae:U;var G=O==Ae,Y=U==Ae,ce=O==U;if(ce&&Kn(t)){if(!Kn(r))return!1;S=!0,G=!1}if(ce&&!G)return b||(b=new hn),S||Dr(t)?pu(t,r,o,u,g,b):Sg(t,r,O,o,u,g,b);if(!(o&C)){var me=G&&Ye.call(t,"__wrapped__"),_e=Y&&Ye.call(r,"__wrapped__");if(me||_e){var Le=me?t.value():t,Ce=_e?r.value():r;return b||(b=new hn),g(Le,Ce,o,u,b)}}return ce?(b||(b=new hn),Eg(t,r,o,u,g,b)):!1}function Qp(t){return dt(t)&&Et(t)==N}function Us(t,r,o,u){var g=o.length,b=g,S=!u;if(t==null)return!b;for(t=et(t);g--;){var A=o[g];if(S&&A[2]?A[1]!==t[A[0]]:!(A[0]in t))return!1}for(;++g<b;){A=o[g];var O=A[0],U=t[O],G=A[1];if(S&&A[2]){if(U===i&&!(O in t))return!1}else{var Y=new hn;if(u)var ce=u(U,G,O,t,r,Y);if(!(ce===i?yi(G,U,C|R,u,Y):ce))return!1}}return!0}function Lc(t){if(!ut(t)||Og(t))return!1;var r=In(t)?Qh:H1;return r.test(dr(t))}function Jp(t){return dt(t)&&Tt(t)==tt}function eg(t){return dt(t)&&Et(t)==nt}function tg(t){return dt(t)&&Mo(t.length)&&!!ot[Tt(t)]}function jc(t){return typeof t=="function"?t:t==null?Lt:typeof t=="object"?Ie(t)?Wc(t[0],t[1]):Pc(t):od(t)}function Gs(t){if(!vi(t))return ip(t);var r=[];for(var o in et(t))Ye.call(t,o)&&o!="constructor"&&r.push(o);return r}function ng(t){if(!ut(t))return Dg(t);var r=vi(t),o=[];for(var u in t)u=="constructor"&&(r||!Ye.call(t,u))||o.push(u);return o}function qs(t,r){return t<r}function Dc(t,r){var o=-1,u=Ot(t)?D(t.length):[];return Nn(t,function(g,b,S){u[++o]=r(g,b,S)}),u}function Pc(t){var r=ca(t);return r.length==1&&r[0][2]?xu(r[0][0],r[0][1]):function(o){return o===t||Us(o,t,r)}}function Wc(t,r){return da(t)&&bu(r)?xu(wn(t),r):function(o){var u=wa(o,t);return u===i&&u===r?_a(o,t):yi(r,u,C|R)}}function mo(t,r,o,u,g){t!==r&&Hs(r,function(b,S){if(g||(g=new hn),ut(b))rg(t,r,S,o,mo,u,g);else{var A=u?u(ha(t,S),b,S+"",t,r,g):i;A===i&&(A=b),Ws(t,S,A)}},zt)}function rg(t,r,o,u,g,b,S){var A=ha(t,o),O=ha(r,o),U=S.get(O);if(U){Ws(t,o,U);return}var G=b?b(A,O,o+"",t,r,S):i,Y=G===i;if(Y){var ce=Ie(O),me=!ce&&Kn(O),_e=!ce&&!me&&Dr(O);G=O,ce||me||_e?Ie(A)?G=A:ft(A)?G=Ft(A):me?(Y=!1,G=Qc(O,!0)):_e?(Y=!1,G=Jc(O,!0)):G=[]:_i(O)||fr(O)?(G=A,fr(A)?G=Ku(A):(!ut(A)||In(A))&&(G=yu(O))):Y=!1}Y&&(S.set(O,G),g(G,O,u,b,S),S.delete(O)),Ws(t,o,G)}function Bc(t,r){var o=t.length;if(o)return r+=r<0?o:0,Rn(r,o)?t[r]:i}function Hc(t,r,o){r.length?r=at(r,function(b){return Ie(b)?function(S){return cr(S,b.length===1?b[0]:b)}:b}):r=[Lt];var u=-1;r=at(r,Zt(ve()));var g=Dc(t,function(b,S,A){var O=at(r,function(U){return U(b)});return{criteria:O,index:++u,value:b}});return Rh(g,function(b,S){return mg(b,S,o)})}function ig(t,r){return Zc(t,r,function(o,u){return _a(t,u)})}function Zc(t,r,o){for(var u=-1,g=r.length,b={};++u<g;){var S=r[u],A=cr(t,S);o(A,S)&&bi(b,Gn(S,t),A)}return b}function og(t){return function(r){return cr(r,t)}}function Ks(t,r,o,u){var g=u?Th:$r,b=-1,S=r.length,A=t;for(t===r&&(r=Ft(r)),o&&(A=at(t,Zt(o)));++b<S;)for(var O=0,U=r[b],G=o?o(U):U;(O=g(A,G,O,u))>-1;)A!==t&&oo.call(A,O,1),oo.call(t,O,1);return t}function Vc(t,r){for(var o=t?r.length:0,u=o-1;o--;){var g=r[o];if(o==u||g!==b){var b=g;Rn(g)?oo.call(t,g,1):Js(t,g)}}return t}function Ys(t,r){return t+lo(Sc()*(r-t+1))}function sg(t,r,o,u){for(var g=-1,b=yt(ao((r-t)/(o||1)),0),S=D(b);b--;)S[u?b:++g]=t,t+=o;return S}function Xs(t,r){var o="";if(!t||r<1||r>ie)return o;do r%2&&(o+=t),r=lo(r/2),r&&(t+=t);while(r);return o}function je(t,r){return pa(vu(t,r,Lt),t+"")}function ag(t){return $c(Pr(t))}function lg(t,r){var o=Pr(t);return ko(o,lr(r,0,o.length))}function bi(t,r,o,u){if(!ut(t))return t;r=Gn(r,t);for(var g=-1,b=r.length,S=b-1,A=t;A!=null&&++g<b;){var O=wn(r[g]),U=o;if(O==="__proto__"||O==="constructor"||O==="prototype")return t;if(g!=S){var G=A[O];U=u?u(G,O,A):i,U===i&&(U=ut(G)?G:Rn(r[g+1])?[]:{})}pi(A,O,U),A=A[O]}return t}var Nc=co?function(t,r){return co.set(t,r),t}:Lt,cg=so?function(t,r){return so(t,"toString",{configurable:!0,enumerable:!1,value:Sa(r),writable:!0})}:Lt;function ug(t){return ko(Pr(t))}function nn(t,r,o){var u=-1,g=t.length;r<0&&(r=-r>g?0:g+r),o=o>g?g:o,o<0&&(o+=g),g=r>o?0:o-r>>>0,r>>>=0;for(var b=D(g);++u<g;)b[u]=t[u+r];return b}function dg(t,r){var o;return Nn(t,function(u,g,b){return o=r(u,g,b),!o}),!!o}function yo(t,r,o){var u=0,g=t==null?u:t.length;if(typeof r=="number"&&r===r&&g<=de){for(;u<g;){var b=u+g>>>1,S=t[b];S!==null&&!Nt(S)&&(o?S<=r:S<r)?u=b+1:g=b}return g}return Qs(t,r,Lt,o)}function Qs(t,r,o,u){var g=0,b=t==null?0:t.length;if(b===0)return 0;r=o(r);for(var S=r!==r,A=r===null,O=Nt(r),U=r===i;g<b;){var G=lo((g+b)/2),Y=o(t[G]),ce=Y!==i,me=Y===null,_e=Y===Y,Le=Nt(Y);if(S)var Ce=u||_e;else U?Ce=_e&&(u||ce):A?Ce=_e&&ce&&(u||!me):O?Ce=_e&&ce&&!me&&(u||!Le):me||Le?Ce=!1:Ce=u?Y<=r:Y<r;Ce?g=G+1:b=G}return St(b,$e)}function Uc(t,r){for(var o=-1,u=t.length,g=0,b=[];++o<u;){var S=t[o],A=r?r(S):S;if(!o||!pn(A,O)){var O=A;b[g++]=S===0?0:S}}return b}function Gc(t){return typeof t=="number"?t:Nt(t)?pe:+t}function Vt(t){if(typeof t=="string")return t;if(Ie(t))return at(t,Vt)+"";if(Nt(t))return Ec?Ec.call(t):"";var r=t+"";return r=="0"&&1/t==-1/0?"-0":r}function Un(t,r,o){var u=-1,g=Ki,b=t.length,S=!0,A=[],O=A;if(o)S=!1,g=$s;else if(b>=a){var U=r?null:_g(t);if(U)return Xi(U);S=!1,g=li,O=new ar}else O=r?[]:A;e:for(;++u<b;){var G=t[u],Y=r?r(G):G;if(G=o||G!==0?G:0,S&&Y===Y){for(var ce=O.length;ce--;)if(O[ce]===Y)continue e;r&&O.push(Y),A.push(G)}else g(O,Y,o)||(O!==A&&O.push(Y),A.push(G))}return A}function Js(t,r){return r=Gn(r,t),t=wu(t,r),t==null||delete t[wn(rn(r))]}function qc(t,r,o,u){return bi(t,r,o(cr(t,r)),u)}function bo(t,r,o,u){for(var g=t.length,b=u?g:-1;(u?b--:++b<g)&&r(t[b],b,t););return o?nn(t,u?0:b,u?b+1:g):nn(t,u?b+1:0,u?g:b)}function Kc(t,r){var o=t;return o instanceof He&&(o=o.value()),As(r,function(u,g){return g.func.apply(g.thisArg,Hn([u],g.args))},o)}function ea(t,r,o){var u=t.length;if(u<2)return u?Un(t[0]):[];for(var g=-1,b=D(u);++g<u;)for(var S=t[g],A=-1;++A<u;)A!=g&&(b[g]=gi(b[g]||S,t[A],r,o));return Un(_t(b,1),r,o)}function Yc(t,r,o){for(var u=-1,g=t.length,b=r.length,S={};++u<g;){var A=u<b?r[u]:i;o(S,t[u],A)}return S}function ta(t){return ft(t)?t:[]}function na(t){return typeof t=="function"?t:Lt}function Gn(t,r){return Ie(t)?t:da(t,r)?[t]:Eu(Ke(t))}var fg=je;function qn(t,r,o){var u=t.length;return o=o===i?u:o,!r&&o>=u?t:nn(t,r,o)}var Xc=Jh||function(t){return wt.clearTimeout(t)};function Qc(t,r){if(r)return t.slice();var o=t.length,u=xc?xc(o):new t.constructor(o);return t.copy(u),u}function ra(t){var r=new t.constructor(t.byteLength);return new ro(r).set(new ro(t)),r}function hg(t,r){var o=r?ra(t.buffer):t.buffer;return new t.constructor(o,t.byteOffset,t.byteLength)}function pg(t){var r=new t.constructor(t.source,zl.exec(t));return r.lastIndex=t.lastIndex,r}function gg(t){return hi?et(hi.call(t)):{}}function Jc(t,r){var o=r?ra(t.buffer):t.buffer;return new t.constructor(o,t.byteOffset,t.length)}function eu(t,r){if(t!==r){var o=t!==i,u=t===null,g=t===t,b=Nt(t),S=r!==i,A=r===null,O=r===r,U=Nt(r);if(!A&&!U&&!b&&t>r||b&&S&&O&&!A&&!U||u&&S&&O||!o&&O||!g)return 1;if(!u&&!b&&!U&&t<r||U&&o&&g&&!u&&!b||A&&o&&g||!S&&g||!O)return-1}return 0}function mg(t,r,o){for(var u=-1,g=t.criteria,b=r.criteria,S=g.length,A=o.length;++u<S;){var O=eu(g[u],b[u]);if(O){if(u>=A)return O;var U=o[u];return O*(U=="desc"?-1:1)}}return t.index-r.index}function tu(t,r,o,u){for(var g=-1,b=t.length,S=o.length,A=-1,O=r.length,U=yt(b-S,0),G=D(O+U),Y=!u;++A<O;)G[A]=r[A];for(;++g<S;)(Y||g<b)&&(G[o[g]]=t[g]);for(;U--;)G[A++]=t[g++];return G}function nu(t,r,o,u){for(var g=-1,b=t.length,S=-1,A=o.length,O=-1,U=r.length,G=yt(b-A,0),Y=D(G+U),ce=!u;++g<G;)Y[g]=t[g];for(var me=g;++O<U;)Y[me+O]=r[O];for(;++S<A;)(ce||g<b)&&(Y[me+o[S]]=t[g++]);return Y}function Ft(t,r){var o=-1,u=t.length;for(r||(r=D(u));++o<u;)r[o]=t[o];return r}function vn(t,r,o,u){var g=!o;o||(o={});for(var b=-1,S=r.length;++b<S;){var A=r[b],O=u?u(o[A],t[A],A,o,t):i;O===i&&(O=t[A]),g?$n(o,A,O):pi(o,A,O)}return o}function yg(t,r){return vn(t,ua(t),r)}function bg(t,r){return vn(t,gu(t),r)}function xo(t,r){return function(o,u){var g=Ie(o)?Ch:Wp,b=r?r():{};return g(o,t,ve(u,2),b)}}function zr(t){return je(function(r,o){var u=-1,g=o.length,b=g>1?o[g-1]:i,S=g>2?o[2]:i;for(b=t.length>3&&typeof b=="function"?(g--,b):i,S&&Rt(o[0],o[1],S)&&(b=g<3?i:b,g=1),r=et(r);++u<g;){var A=o[u];A&&t(r,A,u,b)}return r})}function ru(t,r){return function(o,u){if(o==null)return o;if(!Ot(o))return t(o,u);for(var g=o.length,b=r?g:-1,S=et(o);(r?b--:++b<g)&&u(S[b],b,S)!==!1;);return o}}function iu(t){return function(r,o,u){for(var g=-1,b=et(r),S=u(r),A=S.length;A--;){var O=S[t?A:++g];if(o(b[O],O,b)===!1)break}return r}}function xg(t,r,o){var u=r&k,g=xi(t);function b(){var S=this&&this!==wt&&this instanceof b?g:t;return S.apply(u?o:this,arguments)}return b}function ou(t){return function(r){r=Ke(r);var o=Ar(r)?fn(r):i,u=o?o[0]:r.charAt(0),g=o?qn(o,1).join(""):r.slice(1);return u[t]()+g}}function Lr(t){return function(r){return As(rd(nd(r).replace(ch,"")),t,"")}}function xi(t){return function(){var r=arguments;switch(r.length){case 0:return new t;case 1:return new t(r[0]);case 2:return new t(r[0],r[1]);case 3:return new t(r[0],r[1],r[2]);case 4:return new t(r[0],r[1],r[2],r[3]);case 5:return new t(r[0],r[1],r[2],r[3],r[4]);case 6:return new t(r[0],r[1],r[2],r[3],r[4],r[5]);case 7:return new t(r[0],r[1],r[2],r[3],r[4],r[5],r[6])}var o=Or(t.prototype),u=t.apply(o,r);return ut(u)?u:o}}function vg(t,r,o){var u=xi(t);function g(){for(var b=arguments.length,S=D(b),A=b,O=jr(g);A--;)S[A]=arguments[A];var U=b<3&&S[0]!==O&&S[b-1]!==O?[]:Zn(S,O);if(b-=U.length,b<o)return uu(t,r,vo,g.placeholder,i,S,U,i,i,o-b);var G=this&&this!==wt&&this instanceof g?u:t;return Ht(G,this,S)}return g}function su(t){return function(r,o,u){var g=et(r);if(!Ot(r)){var b=ve(o,3);r=bt(r),o=function(A){return b(g[A],A,g)}}var S=t(r,o,u);return S>-1?g[b?r[S]:S]:i}}function au(t){return Tn(function(r){var o=r.length,u=o,g=en.prototype.thru;for(t&&r.reverse();u--;){var b=r[u];if(typeof b!="function")throw new Jt(d);if(g&&!S&&So(b)=="wrapper")var S=new en([],!0)}for(u=S?u:o;++u<o;){b=r[u];var A=So(b),O=A=="wrapper"?la(b):i;O&&fa(O[0])&&O[1]==(j|I|M|H)&&!O[4].length&&O[9]==1?S=S[So(O[0])].apply(S,O[3]):S=b.length==1&&fa(b)?S[A]():S.thru(b)}return function(){var U=arguments,G=U[0];if(S&&U.length==1&&Ie(G))return S.plant(G).value();for(var Y=0,ce=o?r[Y].apply(this,U):G;++Y<o;)ce=r[Y].call(this,ce);return ce}})}function vo(t,r,o,u,g,b,S,A,O,U){var G=r&j,Y=r&k,ce=r&T,me=r&(I|$),_e=r&oe,Le=ce?i:xi(t);function Ce(){for(var We=arguments.length,Ve=D(We),Ut=We;Ut--;)Ve[Ut]=arguments[Ut];if(me)var It=jr(Ce),Gt=Mh(Ve,It);if(u&&(Ve=tu(Ve,u,g,me)),b&&(Ve=nu(Ve,b,S,me)),We-=Gt,me&&We<U){var ht=Zn(Ve,It);return uu(t,r,vo,Ce.placeholder,o,Ve,ht,A,O,U-We)}var gn=Y?o:this,Fn=ce?gn[t]:t;return We=Ve.length,A?Ve=Wg(Ve,A):_e&&We>1&&Ve.reverse(),G&&O<We&&(Ve.length=O),this&&this!==wt&&this instanceof Ce&&(Fn=Le||xi(Fn)),Fn.apply(gn,Ve)}return Ce}function lu(t,r){return function(o,u){return qp(o,t,r(u),{})}}function wo(t,r){return function(o,u){var g;if(o===i&&u===i)return r;if(o!==i&&(g=o),u!==i){if(g===i)return u;typeof o=="string"||typeof u=="string"?(o=Vt(o),u=Vt(u)):(o=Gc(o),u=Gc(u)),g=t(o,u)}return g}}function ia(t){return Tn(function(r){return r=at(r,Zt(ve())),je(function(o){var u=this;return t(r,function(g){return Ht(g,u,o)})})})}function _o(t,r){r=r===i?" ":Vt(r);var o=r.length;if(o<2)return o?Xs(r,t):r;var u=Xs(r,ao(t/Tr(r)));return Ar(r)?qn(fn(u),0,t).join(""):u.slice(0,t)}function wg(t,r,o,u){var g=r&k,b=xi(t);function S(){for(var A=-1,O=arguments.length,U=-1,G=u.length,Y=D(G+O),ce=this&&this!==wt&&this instanceof S?b:t;++U<G;)Y[U]=u[U];for(;O--;)Y[U++]=arguments[++A];return Ht(ce,g?o:this,Y)}return S}function cu(t){return function(r,o,u){return u&&typeof u!="number"&&Rt(r,o,u)&&(o=u=i),r=Mn(r),o===i?(o=r,r=0):o=Mn(o),u=u===i?r<o?1:-1:Mn(u),sg(r,o,u,t)}}function Co(t){return function(r,o){return typeof r=="string"&&typeof o=="string"||(r=on(r),o=on(o)),t(r,o)}}function uu(t,r,o,u,g,b,S,A,O,U){var G=r&I,Y=G?S:i,ce=G?i:S,me=G?b:i,_e=G?i:b;r|=G?M:z,r&=~(G?z:M),r&E||(r&=-4);var Le=[t,r,g,me,Y,_e,ce,A,O,U],Ce=o.apply(i,Le);return fa(t)&&_u(Ce,Le),Ce.placeholder=u,Cu(Ce,t,r)}function oa(t){var r=mt[t];return function(o,u){if(o=on(o),u=u==null?0:St(ze(u),292),u&&Cc(o)){var g=(Ke(o)+"e").split("e"),b=r(g[0]+"e"+(+g[1]+u));return g=(Ke(b)+"e").split("e"),+(g[0]+"e"+(+g[1]-u))}return r(o)}}var _g=Mr&&1/Xi(new Mr([,-0]))[1]==ne?function(t){return new Mr(t)}:$a;function du(t){return function(r){var o=Et(r);return o==N?zs(r):o==nt?Ph(r):Ih(r,t(r))}}function An(t,r,o,u,g,b,S,A){var O=r&T;if(!O&&typeof t!="function")throw new Jt(d);var U=u?u.length:0;if(U||(r&=-97,u=g=i),S=S===i?S:yt(ze(S),0),A=A===i?A:ze(A),U-=g?g.length:0,r&z){var G=u,Y=g;u=g=i}var ce=O?i:la(t),me=[t,r,o,u,g,G,Y,b,S,A];if(ce&&jg(me,ce),t=me[0],r=me[1],o=me[2],u=me[3],g=me[4],A=me[9]=me[9]===i?O?0:t.length:yt(me[9]-U,0),!A&&r&(I|$)&&(r&=-25),!r||r==k)var _e=xg(t,r,o);else r==I||r==$?_e=vg(t,r,A):(r==M||r==(k|M))&&!g.length?_e=wg(t,r,o,u):_e=vo.apply(i,me);var Le=ce?Nc:_u;return Cu(Le(_e,me),t,r)}function fu(t,r,o,u){return t===i||pn(t,Ir[o])&&!Ye.call(u,o)?r:t}function hu(t,r,o,u,g,b){return ut(t)&&ut(r)&&(b.set(r,t),mo(t,r,i,hu,b),b.delete(r)),t}function Cg(t){return _i(t)?i:t}function pu(t,r,o,u,g,b){var S=o&C,A=t.length,O=r.length;if(A!=O&&!(S&&O>A))return!1;var U=b.get(t),G=b.get(r);if(U&&G)return U==r&&G==t;var Y=-1,ce=!0,me=o&R?new ar:i;for(b.set(t,r),b.set(r,t);++Y<A;){var _e=t[Y],Le=r[Y];if(u)var Ce=S?u(Le,_e,Y,r,t,b):u(_e,Le,Y,t,r,b);if(Ce!==i){if(Ce)continue;ce=!1;break}if(me){if(!Ts(r,function(We,Ve){if(!li(me,Ve)&&(_e===We||g(_e,We,o,u,b)))return me.push(Ve)})){ce=!1;break}}else if(!(_e===Le||g(_e,Le,o,u,b))){ce=!1;break}}return b.delete(t),b.delete(r),ce}function Sg(t,r,o,u,g,b,S){switch(o){case ct:if(t.byteLength!=r.byteLength||t.byteOffset!=r.byteOffset)return!1;t=t.buffer,r=r.buffer;case Qe:return!(t.byteLength!=r.byteLength||!b(new ro(t),new ro(r)));case ye:case Te:case se:return pn(+t,+r);case ke:return t.name==r.name&&t.message==r.message;case tt:case it:return t==r+"";case N:var A=zs;case nt:var O=u&C;if(A||(A=Xi),t.size!=r.size&&!O)return!1;var U=S.get(t);if(U)return U==r;u|=R,S.set(t,r);var G=pu(A(t),A(r),u,g,b,S);return S.delete(t),G;case ae:if(hi)return hi.call(t)==hi.call(r)}return!1}function Eg(t,r,o,u,g,b){var S=o&C,A=sa(t),O=A.length,U=sa(r),G=U.length;if(O!=G&&!S)return!1;for(var Y=O;Y--;){var ce=A[Y];if(!(S?ce in r:Ye.call(r,ce)))return!1}var me=b.get(t),_e=b.get(r);if(me&&_e)return me==r&&_e==t;var Le=!0;b.set(t,r),b.set(r,t);for(var Ce=S;++Y<O;){ce=A[Y];var We=t[ce],Ve=r[ce];if(u)var Ut=S?u(Ve,We,ce,r,t,b):u(We,Ve,ce,t,r,b);if(!(Ut===i?We===Ve||g(We,Ve,o,u,b):Ut)){Le=!1;break}Ce||(Ce=ce=="constructor")}if(Le&&!Ce){var It=t.constructor,Gt=r.constructor;It!=Gt&&"constructor"in t&&"constructor"in r&&!(typeof It=="function"&&It instanceof It&&typeof Gt=="function"&&Gt instanceof Gt)&&(Le=!1)}return b.delete(t),b.delete(r),Le}function Tn(t){return pa(vu(t,i,Tu),t+"")}function sa(t){return Oc(t,bt,ua)}function aa(t){return Oc(t,zt,gu)}var la=co?function(t){return co.get(t)}:$a;function So(t){for(var r=t.name+"",o=Fr[r],u=Ye.call(Fr,r)?o.length:0;u--;){var g=o[u],b=g.func;if(b==null||b==t)return g.name}return r}function jr(t){var r=Ye.call(y,"placeholder")?y:t;return r.placeholder}function ve(){var t=y.iteratee||Ea;return t=t===Ea?jc:t,arguments.length?t(arguments[0],arguments[1]):t}function Eo(t,r){var o=t.__data__;return Fg(r)?o[typeof r=="string"?"string":"hash"]:o.map}function ca(t){for(var r=bt(t),o=r.length;o--;){var u=r[o],g=t[u];r[o]=[u,g,bu(g)]}return r}function ur(t,r){var o=Lh(t,r);return Lc(o)?o:i}function kg(t){var r=Ye.call(t,or),o=t[or];try{t[or]=i;var u=!0}catch{}var g=to.call(t);return u&&(r?t[or]=o:delete t[or]),g}var ua=js?function(t){return t==null?[]:(t=et(t),Bn(js(t),function(r){return wc.call(t,r)}))}:Aa,gu=js?function(t){for(var r=[];t;)Hn(r,ua(t)),t=io(t);return r}:Aa,Et=Tt;(Ds&&Et(new Ds(new ArrayBuffer(1)))!=ct||ui&&Et(new ui)!=N||Ps&&Et(Ps.resolve())!=Be||Mr&&Et(new Mr)!=nt||di&&Et(new di)!=Pe)&&(Et=function(t){var r=Tt(t),o=r==Ae?t.constructor:i,u=o?dr(o):"";if(u)switch(u){case lp:return ct;case cp:return N;case up:return Be;case dp:return nt;case fp:return Pe}return r});function $g(t,r,o){for(var u=-1,g=o.length;++u<g;){var b=o[u],S=b.size;switch(b.type){case"drop":t+=S;break;case"dropRight":r-=S;break;case"take":r=St(r,t+S);break;case"takeRight":t=yt(t,r-S);break}}return{start:t,end:r}}function Ag(t){var r=t.match(O1);return r?r[1].split(z1):[]}function mu(t,r,o){r=Gn(r,t);for(var u=-1,g=r.length,b=!1;++u<g;){var S=wn(r[u]);if(!(b=t!=null&&o(t,S)))break;t=t[S]}return b||++u!=g?b:(g=t==null?0:t.length,!!g&&Mo(g)&&Rn(S,g)&&(Ie(t)||fr(t)))}function Tg(t){var r=t.length,o=new t.constructor(r);return r&&typeof t[0]=="string"&&Ye.call(t,"index")&&(o.index=t.index,o.input=t.input),o}function yu(t){return typeof t.constructor=="function"&&!vi(t)?Or(io(t)):{}}function Rg(t,r,o){var u=t.constructor;switch(r){case Qe:return ra(t);case ye:case Te:return new u(+t);case ct:return hg(t,o);case cn:case un:case Yt:case _r:case Wn:case ri:case Cr:case ii:case Sr:return Jc(t,o);case N:return new u;case se:case it:return new u(t);case tt:return pg(t);case nt:return new u;case ae:return gg(t)}}function Ig(t,r){var o=r.length;if(!o)return t;var u=o-1;return r[u]=(o>1?"& ":"")+r[u],r=r.join(o>2?", ":" "),t.replace(Ni,`{
|
|
9
|
+
/* [wrapped with `+r+`] */
|
|
10
|
+
`)}function Mg(t){return Ie(t)||fr(t)||!!(_c&&t&&t[_c])}function Rn(t,r){var o=typeof t;return r=r??ie,!!r&&(o=="number"||o!="symbol"&&V1.test(t))&&t>-1&&t%1==0&&t<r}function Rt(t,r,o){if(!ut(o))return!1;var u=typeof r;return(u=="number"?Ot(o)&&Rn(r,o.length):u=="string"&&r in o)?pn(o[r],t):!1}function da(t,r){if(Ie(t))return!1;var o=typeof t;return o=="number"||o=="symbol"||o=="boolean"||t==null||Nt(t)?!0:Vi.test(t)||!rr.test(t)||r!=null&&t in et(r)}function Fg(t){var r=typeof t;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?t!=="__proto__":t===null}function fa(t){var r=So(t),o=y[r];if(typeof o!="function"||!(r in He.prototype))return!1;if(t===o)return!0;var u=la(o);return!!u&&t===u[0]}function Og(t){return!!bc&&bc in t}var zg=Ji?In:Ta;function vi(t){var r=t&&t.constructor,o=typeof r=="function"&&r.prototype||Ir;return t===o}function bu(t){return t===t&&!ut(t)}function xu(t,r){return function(o){return o==null?!1:o[t]===r&&(r!==i||t in et(o))}}function Lg(t){var r=Ro(t,function(u){return o.size===p&&o.clear(),u}),o=r.cache;return r}function jg(t,r){var o=t[1],u=r[1],g=o|u,b=g<(k|T|j),S=u==j&&o==I||u==j&&o==H&&t[7].length<=r[8]||u==(j|H)&&r[7].length<=r[8]&&o==I;if(!(b||S))return t;u&k&&(t[2]=r[2],g|=o&k?0:E);var A=r[3];if(A){var O=t[3];t[3]=O?tu(O,A,r[4]):A,t[4]=O?Zn(t[3],x):r[4]}return A=r[5],A&&(O=t[5],t[5]=O?nu(O,A,r[6]):A,t[6]=O?Zn(t[5],x):r[6]),A=r[7],A&&(t[7]=A),u&j&&(t[8]=t[8]==null?r[8]:St(t[8],r[8])),t[9]==null&&(t[9]=r[9]),t[0]=r[0],t[1]=g,t}function Dg(t){var r=[];if(t!=null)for(var o in et(t))r.push(o);return r}function Pg(t){return to.call(t)}function vu(t,r,o){return r=yt(r===i?t.length-1:r,0),function(){for(var u=arguments,g=-1,b=yt(u.length-r,0),S=D(b);++g<b;)S[g]=u[r+g];g=-1;for(var A=D(r+1);++g<r;)A[g]=u[g];return A[r]=o(S),Ht(t,this,A)}}function wu(t,r){return r.length<2?t:cr(t,nn(r,0,-1))}function Wg(t,r){for(var o=t.length,u=St(r.length,o),g=Ft(t);u--;){var b=r[u];t[u]=Rn(b,o)?g[b]:i}return t}function ha(t,r){if(!(r==="constructor"&&typeof t[r]=="function")&&r!="__proto__")return t[r]}var _u=Su(Nc),wi=tp||function(t,r){return wt.setTimeout(t,r)},pa=Su(cg);function Cu(t,r,o){var u=r+"";return pa(t,Ig(u,Bg(Ag(u),o)))}function Su(t){var r=0,o=0;return function(){var u=op(),g=W-(u-o);if(o=u,g>0){if(++r>=B)return arguments[0]}else r=0;return t.apply(i,arguments)}}function ko(t,r){var o=-1,u=t.length,g=u-1;for(r=r===i?u:r;++o<r;){var b=Ys(o,g),S=t[b];t[b]=t[o],t[o]=S}return t.length=r,t}var Eu=Lg(function(t){var r=[];return t.charCodeAt(0)===46&&r.push(""),t.replace(ai,function(o,u,g,b){r.push(g?b.replace(D1,"$1"):u||o)}),r});function wn(t){if(typeof t=="string"||Nt(t))return t;var r=t+"";return r=="0"&&1/t==-1/0?"-0":r}function dr(t){if(t!=null){try{return eo.call(t)}catch{}try{return t+""}catch{}}return""}function Bg(t,r){return Qt(De,function(o){var u="_."+o[0];r&o[1]&&!Ki(t,u)&&t.push(u)}),t.sort()}function ku(t){if(t instanceof He)return t.clone();var r=new en(t.__wrapped__,t.__chain__);return r.__actions__=Ft(t.__actions__),r.__index__=t.__index__,r.__values__=t.__values__,r}function Hg(t,r,o){(o?Rt(t,r,o):r===i)?r=1:r=yt(ze(r),0);var u=t==null?0:t.length;if(!u||r<1)return[];for(var g=0,b=0,S=D(ao(u/r));g<u;)S[b++]=nn(t,g,g+=r);return S}function Zg(t){for(var r=-1,o=t==null?0:t.length,u=0,g=[];++r<o;){var b=t[r];b&&(g[u++]=b)}return g}function Vg(){var t=arguments.length;if(!t)return[];for(var r=D(t-1),o=arguments[0],u=t;u--;)r[u-1]=arguments[u];return Hn(Ie(o)?Ft(o):[o],_t(r,1))}var Ng=je(function(t,r){return ft(t)?gi(t,_t(r,1,ft,!0)):[]}),Ug=je(function(t,r){var o=rn(r);return ft(o)&&(o=i),ft(t)?gi(t,_t(r,1,ft,!0),ve(o,2)):[]}),Gg=je(function(t,r){var o=rn(r);return ft(o)&&(o=i),ft(t)?gi(t,_t(r,1,ft,!0),i,o):[]});function qg(t,r,o){var u=t==null?0:t.length;return u?(r=o||r===i?1:ze(r),nn(t,r<0?0:r,u)):[]}function Kg(t,r,o){var u=t==null?0:t.length;return u?(r=o||r===i?1:ze(r),r=u-r,nn(t,0,r<0?0:r)):[]}function Yg(t,r){return t&&t.length?bo(t,ve(r,3),!0,!0):[]}function Xg(t,r){return t&&t.length?bo(t,ve(r,3),!0):[]}function Qg(t,r,o,u){var g=t==null?0:t.length;return g?(o&&typeof o!="number"&&Rt(t,r,o)&&(o=0,u=g),Vp(t,r,o,u)):[]}function $u(t,r,o){var u=t==null?0:t.length;if(!u)return-1;var g=o==null?0:ze(o);return g<0&&(g=yt(u+g,0)),Yi(t,ve(r,3),g)}function Au(t,r,o){var u=t==null?0:t.length;if(!u)return-1;var g=u-1;return o!==i&&(g=ze(o),g=o<0?yt(u+g,0):St(g,u-1)),Yi(t,ve(r,3),g,!0)}function Tu(t){var r=t==null?0:t.length;return r?_t(t,1):[]}function Jg(t){var r=t==null?0:t.length;return r?_t(t,ne):[]}function em(t,r){var o=t==null?0:t.length;return o?(r=r===i?1:ze(r),_t(t,r)):[]}function tm(t){for(var r=-1,o=t==null?0:t.length,u={};++r<o;){var g=t[r];u[g[0]]=g[1]}return u}function Ru(t){return t&&t.length?t[0]:i}function nm(t,r,o){var u=t==null?0:t.length;if(!u)return-1;var g=o==null?0:ze(o);return g<0&&(g=yt(u+g,0)),$r(t,r,g)}function rm(t){var r=t==null?0:t.length;return r?nn(t,0,-1):[]}var im=je(function(t){var r=at(t,ta);return r.length&&r[0]===t[0]?Ns(r):[]}),om=je(function(t){var r=rn(t),o=at(t,ta);return r===rn(o)?r=i:o.pop(),o.length&&o[0]===t[0]?Ns(o,ve(r,2)):[]}),sm=je(function(t){var r=rn(t),o=at(t,ta);return r=typeof r=="function"?r:i,r&&o.pop(),o.length&&o[0]===t[0]?Ns(o,i,r):[]});function am(t,r){return t==null?"":rp.call(t,r)}function rn(t){var r=t==null?0:t.length;return r?t[r-1]:i}function lm(t,r,o){var u=t==null?0:t.length;if(!u)return-1;var g=u;return o!==i&&(g=ze(o),g=g<0?yt(u+g,0):St(g,u-1)),r===r?Bh(t,r,g):Yi(t,uc,g,!0)}function cm(t,r){return t&&t.length?Bc(t,ze(r)):i}var um=je(Iu);function Iu(t,r){return t&&t.length&&r&&r.length?Ks(t,r):t}function dm(t,r,o){return t&&t.length&&r&&r.length?Ks(t,r,ve(o,2)):t}function fm(t,r,o){return t&&t.length&&r&&r.length?Ks(t,r,i,o):t}var hm=Tn(function(t,r){var o=t==null?0:t.length,u=Bs(t,r);return Vc(t,at(r,function(g){return Rn(g,o)?+g:g}).sort(eu)),u});function pm(t,r){var o=[];if(!(t&&t.length))return o;var u=-1,g=[],b=t.length;for(r=ve(r,3);++u<b;){var S=t[u];r(S,u,t)&&(o.push(S),g.push(u))}return Vc(t,g),o}function ga(t){return t==null?t:ap.call(t)}function gm(t,r,o){var u=t==null?0:t.length;return u?(o&&typeof o!="number"&&Rt(t,r,o)?(r=0,o=u):(r=r==null?0:ze(r),o=o===i?u:ze(o)),nn(t,r,o)):[]}function mm(t,r){return yo(t,r)}function ym(t,r,o){return Qs(t,r,ve(o,2))}function bm(t,r){var o=t==null?0:t.length;if(o){var u=yo(t,r);if(u<o&&pn(t[u],r))return u}return-1}function xm(t,r){return yo(t,r,!0)}function vm(t,r,o){return Qs(t,r,ve(o,2),!0)}function wm(t,r){var o=t==null?0:t.length;if(o){var u=yo(t,r,!0)-1;if(pn(t[u],r))return u}return-1}function _m(t){return t&&t.length?Uc(t):[]}function Cm(t,r){return t&&t.length?Uc(t,ve(r,2)):[]}function Sm(t){var r=t==null?0:t.length;return r?nn(t,1,r):[]}function Em(t,r,o){return t&&t.length?(r=o||r===i?1:ze(r),nn(t,0,r<0?0:r)):[]}function km(t,r,o){var u=t==null?0:t.length;return u?(r=o||r===i?1:ze(r),r=u-r,nn(t,r<0?0:r,u)):[]}function $m(t,r){return t&&t.length?bo(t,ve(r,3),!1,!0):[]}function Am(t,r){return t&&t.length?bo(t,ve(r,3)):[]}var Tm=je(function(t){return Un(_t(t,1,ft,!0))}),Rm=je(function(t){var r=rn(t);return ft(r)&&(r=i),Un(_t(t,1,ft,!0),ve(r,2))}),Im=je(function(t){var r=rn(t);return r=typeof r=="function"?r:i,Un(_t(t,1,ft,!0),i,r)});function Mm(t){return t&&t.length?Un(t):[]}function Fm(t,r){return t&&t.length?Un(t,ve(r,2)):[]}function Om(t,r){return r=typeof r=="function"?r:i,t&&t.length?Un(t,i,r):[]}function ma(t){if(!(t&&t.length))return[];var r=0;return t=Bn(t,function(o){if(ft(o))return r=yt(o.length,r),!0}),Fs(r,function(o){return at(t,Rs(o))})}function Mu(t,r){if(!(t&&t.length))return[];var o=ma(t);return r==null?o:at(o,function(u){return Ht(r,i,u)})}var zm=je(function(t,r){return ft(t)?gi(t,r):[]}),Lm=je(function(t){return ea(Bn(t,ft))}),jm=je(function(t){var r=rn(t);return ft(r)&&(r=i),ea(Bn(t,ft),ve(r,2))}),Dm=je(function(t){var r=rn(t);return r=typeof r=="function"?r:i,ea(Bn(t,ft),i,r)}),Pm=je(ma);function Wm(t,r){return Yc(t||[],r||[],pi)}function Bm(t,r){return Yc(t||[],r||[],bi)}var Hm=je(function(t){var r=t.length,o=r>1?t[r-1]:i;return o=typeof o=="function"?(t.pop(),o):i,Mu(t,o)});function Fu(t){var r=y(t);return r.__chain__=!0,r}function Zm(t,r){return r(t),t}function $o(t,r){return r(t)}var Vm=Tn(function(t){var r=t.length,o=r?t[0]:0,u=this.__wrapped__,g=function(b){return Bs(b,t)};return r>1||this.__actions__.length||!(u instanceof He)||!Rn(o)?this.thru(g):(u=u.slice(o,+o+(r?1:0)),u.__actions__.push({func:$o,args:[g],thisArg:i}),new en(u,this.__chain__).thru(function(b){return r&&!b.length&&b.push(i),b}))});function Nm(){return Fu(this)}function Um(){return new en(this.value(),this.__chain__)}function Gm(){this.__values__===i&&(this.__values__=Gu(this.value()));var t=this.__index__>=this.__values__.length,r=t?i:this.__values__[this.__index__++];return{done:t,value:r}}function qm(){return this}function Km(t){for(var r,o=this;o instanceof fo;){var u=ku(o);u.__index__=0,u.__values__=i,r?g.__wrapped__=u:r=u;var g=u;o=o.__wrapped__}return g.__wrapped__=t,r}function Ym(){var t=this.__wrapped__;if(t instanceof He){var r=t;return this.__actions__.length&&(r=new He(this)),r=r.reverse(),r.__actions__.push({func:$o,args:[ga],thisArg:i}),new en(r,this.__chain__)}return this.thru(ga)}function Xm(){return Kc(this.__wrapped__,this.__actions__)}var Qm=xo(function(t,r,o){Ye.call(t,o)?++t[o]:$n(t,o,1)});function Jm(t,r,o){var u=Ie(t)?lc:Zp;return o&&Rt(t,r,o)&&(r=i),u(t,ve(r,3))}function e2(t,r){var o=Ie(t)?Bn:Mc;return o(t,ve(r,3))}var t2=su($u),n2=su(Au);function r2(t,r){return _t(Ao(t,r),1)}function i2(t,r){return _t(Ao(t,r),ne)}function o2(t,r,o){return o=o===i?1:ze(o),_t(Ao(t,r),o)}function Ou(t,r){var o=Ie(t)?Qt:Nn;return o(t,ve(r,3))}function zu(t,r){var o=Ie(t)?Sh:Ic;return o(t,ve(r,3))}var s2=xo(function(t,r,o){Ye.call(t,o)?t[o].push(r):$n(t,o,[r])});function a2(t,r,o,u){t=Ot(t)?t:Pr(t),o=o&&!u?ze(o):0;var g=t.length;return o<0&&(o=yt(g+o,0)),Fo(t)?o<=g&&t.indexOf(r,o)>-1:!!g&&$r(t,r,o)>-1}var l2=je(function(t,r,o){var u=-1,g=typeof r=="function",b=Ot(t)?D(t.length):[];return Nn(t,function(S){b[++u]=g?Ht(r,S,o):mi(S,r,o)}),b}),c2=xo(function(t,r,o){$n(t,o,r)});function Ao(t,r){var o=Ie(t)?at:Dc;return o(t,ve(r,3))}function u2(t,r,o,u){return t==null?[]:(Ie(r)||(r=r==null?[]:[r]),o=u?i:o,Ie(o)||(o=o==null?[]:[o]),Hc(t,r,o))}var d2=xo(function(t,r,o){t[o?0:1].push(r)},function(){return[[],[]]});function f2(t,r,o){var u=Ie(t)?As:fc,g=arguments.length<3;return u(t,ve(r,4),o,g,Nn)}function h2(t,r,o){var u=Ie(t)?Eh:fc,g=arguments.length<3;return u(t,ve(r,4),o,g,Ic)}function p2(t,r){var o=Ie(t)?Bn:Mc;return o(t,Io(ve(r,3)))}function g2(t){var r=Ie(t)?$c:ag;return r(t)}function m2(t,r,o){(o?Rt(t,r,o):r===i)?r=1:r=ze(r);var u=Ie(t)?Dp:lg;return u(t,r)}function y2(t){var r=Ie(t)?Pp:ug;return r(t)}function b2(t){if(t==null)return 0;if(Ot(t))return Fo(t)?Tr(t):t.length;var r=Et(t);return r==N||r==nt?t.size:Gs(t).length}function x2(t,r,o){var u=Ie(t)?Ts:dg;return o&&Rt(t,r,o)&&(r=i),u(t,ve(r,3))}var v2=je(function(t,r){if(t==null)return[];var o=r.length;return o>1&&Rt(t,r[0],r[1])?r=[]:o>2&&Rt(r[0],r[1],r[2])&&(r=[r[0]]),Hc(t,_t(r,1),[])}),To=ep||function(){return wt.Date.now()};function w2(t,r){if(typeof r!="function")throw new Jt(d);return t=ze(t),function(){if(--t<1)return r.apply(this,arguments)}}function Lu(t,r,o){return r=o?i:r,r=t&&r==null?t.length:r,An(t,j,i,i,i,i,r)}function ju(t,r){var o;if(typeof r!="function")throw new Jt(d);return t=ze(t),function(){return--t>0&&(o=r.apply(this,arguments)),t<=1&&(r=i),o}}var ya=je(function(t,r,o){var u=k;if(o.length){var g=Zn(o,jr(ya));u|=M}return An(t,u,r,o,g)}),Du=je(function(t,r,o){var u=k|T;if(o.length){var g=Zn(o,jr(Du));u|=M}return An(r,u,t,o,g)});function Pu(t,r,o){r=o?i:r;var u=An(t,I,i,i,i,i,i,r);return u.placeholder=Pu.placeholder,u}function Wu(t,r,o){r=o?i:r;var u=An(t,$,i,i,i,i,i,r);return u.placeholder=Wu.placeholder,u}function Bu(t,r,o){var u,g,b,S,A,O,U=0,G=!1,Y=!1,ce=!0;if(typeof t!="function")throw new Jt(d);r=on(r)||0,ut(o)&&(G=!!o.leading,Y="maxWait"in o,b=Y?yt(on(o.maxWait)||0,r):b,ce="trailing"in o?!!o.trailing:ce);function me(ht){var gn=u,Fn=g;return u=g=i,U=ht,S=t.apply(Fn,gn),S}function _e(ht){return U=ht,A=wi(We,r),G?me(ht):S}function Le(ht){var gn=ht-O,Fn=ht-U,sd=r-gn;return Y?St(sd,b-Fn):sd}function Ce(ht){var gn=ht-O,Fn=ht-U;return O===i||gn>=r||gn<0||Y&&Fn>=b}function We(){var ht=To();if(Ce(ht))return Ve(ht);A=wi(We,Le(ht))}function Ve(ht){return A=i,ce&&u?me(ht):(u=g=i,S)}function Ut(){A!==i&&Xc(A),U=0,u=O=g=A=i}function It(){return A===i?S:Ve(To())}function Gt(){var ht=To(),gn=Ce(ht);if(u=arguments,g=this,O=ht,gn){if(A===i)return _e(O);if(Y)return Xc(A),A=wi(We,r),me(O)}return A===i&&(A=wi(We,r)),S}return Gt.cancel=Ut,Gt.flush=It,Gt}var _2=je(function(t,r){return Rc(t,1,r)}),C2=je(function(t,r,o){return Rc(t,on(r)||0,o)});function S2(t){return An(t,oe)}function Ro(t,r){if(typeof t!="function"||r!=null&&typeof r!="function")throw new Jt(d);var o=function(){var u=arguments,g=r?r.apply(this,u):u[0],b=o.cache;if(b.has(g))return b.get(g);var S=t.apply(this,u);return o.cache=b.set(g,S)||b,S};return o.cache=new(Ro.Cache||kn),o}Ro.Cache=kn;function Io(t){if(typeof t!="function")throw new Jt(d);return function(){var r=arguments;switch(r.length){case 0:return!t.call(this);case 1:return!t.call(this,r[0]);case 2:return!t.call(this,r[0],r[1]);case 3:return!t.call(this,r[0],r[1],r[2])}return!t.apply(this,r)}}function E2(t){return ju(2,t)}var k2=fg(function(t,r){r=r.length==1&&Ie(r[0])?at(r[0],Zt(ve())):at(_t(r,1),Zt(ve()));var o=r.length;return je(function(u){for(var g=-1,b=St(u.length,o);++g<b;)u[g]=r[g].call(this,u[g]);return Ht(t,this,u)})}),ba=je(function(t,r){var o=Zn(r,jr(ba));return An(t,M,i,r,o)}),Hu=je(function(t,r){var o=Zn(r,jr(Hu));return An(t,z,i,r,o)}),$2=Tn(function(t,r){return An(t,H,i,i,i,r)});function A2(t,r){if(typeof t!="function")throw new Jt(d);return r=r===i?r:ze(r),je(t,r)}function T2(t,r){if(typeof t!="function")throw new Jt(d);return r=r==null?0:yt(ze(r),0),je(function(o){var u=o[r],g=qn(o,0,r);return u&&Hn(g,u),Ht(t,this,g)})}function R2(t,r,o){var u=!0,g=!0;if(typeof t!="function")throw new Jt(d);return ut(o)&&(u="leading"in o?!!o.leading:u,g="trailing"in o?!!o.trailing:g),Bu(t,r,{leading:u,maxWait:r,trailing:g})}function I2(t){return Lu(t,1)}function M2(t,r){return ba(na(r),t)}function F2(){if(!arguments.length)return[];var t=arguments[0];return Ie(t)?t:[t]}function O2(t){return tn(t,v)}function z2(t,r){return r=typeof r=="function"?r:i,tn(t,v,r)}function L2(t){return tn(t,w|v)}function j2(t,r){return r=typeof r=="function"?r:i,tn(t,w|v,r)}function D2(t,r){return r==null||Tc(t,r,bt(r))}function pn(t,r){return t===r||t!==t&&r!==r}var P2=Co(Vs),W2=Co(function(t,r){return t>=r}),fr=zc(function(){return arguments}())?zc:function(t){return dt(t)&&Ye.call(t,"callee")&&!wc.call(t,"callee")},Ie=D.isArray,B2=nc?Zt(nc):Kp;function Ot(t){return t!=null&&Mo(t.length)&&!In(t)}function ft(t){return dt(t)&&Ot(t)}function H2(t){return t===!0||t===!1||dt(t)&&Tt(t)==ye}var Kn=np||Ta,Z2=rc?Zt(rc):Yp;function V2(t){return dt(t)&&t.nodeType===1&&!_i(t)}function N2(t){if(t==null)return!0;if(Ot(t)&&(Ie(t)||typeof t=="string"||typeof t.splice=="function"||Kn(t)||Dr(t)||fr(t)))return!t.length;var r=Et(t);if(r==N||r==nt)return!t.size;if(vi(t))return!Gs(t).length;for(var o in t)if(Ye.call(t,o))return!1;return!0}function U2(t,r){return yi(t,r)}function G2(t,r,o){o=typeof o=="function"?o:i;var u=o?o(t,r):i;return u===i?yi(t,r,i,o):!!u}function xa(t){if(!dt(t))return!1;var r=Tt(t);return r==ke||r==Fe||typeof t.message=="string"&&typeof t.name=="string"&&!_i(t)}function q2(t){return typeof t=="number"&&Cc(t)}function In(t){if(!ut(t))return!1;var r=Tt(t);return r==ee||r==he||r==st||r==Oe}function Zu(t){return typeof t=="number"&&t==ze(t)}function Mo(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=ie}function ut(t){var r=typeof t;return t!=null&&(r=="object"||r=="function")}function dt(t){return t!=null&&typeof t=="object"}var Vu=ic?Zt(ic):Qp;function K2(t,r){return t===r||Us(t,r,ca(r))}function Y2(t,r,o){return o=typeof o=="function"?o:i,Us(t,r,ca(r),o)}function X2(t){return Nu(t)&&t!=+t}function Q2(t){if(zg(t))throw new Re(l);return Lc(t)}function J2(t){return t===null}function e8(t){return t==null}function Nu(t){return typeof t=="number"||dt(t)&&Tt(t)==se}function _i(t){if(!dt(t)||Tt(t)!=Ae)return!1;var r=io(t);if(r===null)return!0;var o=Ye.call(r,"constructor")&&r.constructor;return typeof o=="function"&&o instanceof o&&eo.call(o)==Yh}var va=oc?Zt(oc):Jp;function t8(t){return Zu(t)&&t>=-9007199254740991&&t<=ie}var Uu=sc?Zt(sc):eg;function Fo(t){return typeof t=="string"||!Ie(t)&&dt(t)&&Tt(t)==it}function Nt(t){return typeof t=="symbol"||dt(t)&&Tt(t)==ae}var Dr=ac?Zt(ac):tg;function n8(t){return t===i}function r8(t){return dt(t)&&Et(t)==Pe}function i8(t){return dt(t)&&Tt(t)==Ue}var o8=Co(qs),s8=Co(function(t,r){return t<=r});function Gu(t){if(!t)return[];if(Ot(t))return Fo(t)?fn(t):Ft(t);if(ci&&t[ci])return Dh(t[ci]());var r=Et(t),o=r==N?zs:r==nt?Xi:Pr;return o(t)}function Mn(t){if(!t)return t===0?t:0;if(t=on(t),t===ne||t===-1/0){var r=t<0?-1:1;return r*we}return t===t?t:0}function ze(t){var r=Mn(t),o=r%1;return r===r?o?r-o:r:0}function qu(t){return t?lr(ze(t),0,Se):0}function on(t){if(typeof t=="number")return t;if(Nt(t))return pe;if(ut(t)){var r=typeof t.valueOf=="function"?t.valueOf():t;t=ut(r)?r+"":r}if(typeof t!="string")return t===0?t:+t;t=hc(t);var o=B1.test(t);return o||Z1.test(t)?wh(t.slice(2),o?2:8):W1.test(t)?pe:+t}function Ku(t){return vn(t,zt(t))}function a8(t){return t?lr(ze(t),-9007199254740991,ie):t===0?t:0}function Ke(t){return t==null?"":Vt(t)}var l8=zr(function(t,r){if(vi(r)||Ot(r)){vn(r,bt(r),t);return}for(var o in r)Ye.call(r,o)&&pi(t,o,r[o])}),Yu=zr(function(t,r){vn(r,zt(r),t)}),Oo=zr(function(t,r,o,u){vn(r,zt(r),t,u)}),c8=zr(function(t,r,o,u){vn(r,bt(r),t,u)}),u8=Tn(Bs);function d8(t,r){var o=Or(t);return r==null?o:Ac(o,r)}var f8=je(function(t,r){t=et(t);var o=-1,u=r.length,g=u>2?r[2]:i;for(g&&Rt(r[0],r[1],g)&&(u=1);++o<u;)for(var b=r[o],S=zt(b),A=-1,O=S.length;++A<O;){var U=S[A],G=t[U];(G===i||pn(G,Ir[U])&&!Ye.call(t,U))&&(t[U]=b[U])}return t}),h8=je(function(t){return t.push(i,hu),Ht(Xu,i,t)});function p8(t,r){return cc(t,ve(r,3),xn)}function g8(t,r){return cc(t,ve(r,3),Zs)}function m8(t,r){return t==null?t:Hs(t,ve(r,3),zt)}function y8(t,r){return t==null?t:Fc(t,ve(r,3),zt)}function b8(t,r){return t&&xn(t,ve(r,3))}function x8(t,r){return t&&Zs(t,ve(r,3))}function v8(t){return t==null?[]:go(t,bt(t))}function w8(t){return t==null?[]:go(t,zt(t))}function wa(t,r,o){var u=t==null?i:cr(t,r);return u===i?o:u}function _8(t,r){return t!=null&&mu(t,r,Np)}function _a(t,r){return t!=null&&mu(t,r,Up)}var C8=lu(function(t,r,o){r!=null&&typeof r.toString!="function"&&(r=to.call(r)),t[r]=o},Sa(Lt)),S8=lu(function(t,r,o){r!=null&&typeof r.toString!="function"&&(r=to.call(r)),Ye.call(t,r)?t[r].push(o):t[r]=[o]},ve),E8=je(mi);function bt(t){return Ot(t)?kc(t):Gs(t)}function zt(t){return Ot(t)?kc(t,!0):ng(t)}function k8(t,r){var o={};return r=ve(r,3),xn(t,function(u,g,b){$n(o,r(u,g,b),u)}),o}function $8(t,r){var o={};return r=ve(r,3),xn(t,function(u,g,b){$n(o,g,r(u,g,b))}),o}var A8=zr(function(t,r,o){mo(t,r,o)}),Xu=zr(function(t,r,o,u){mo(t,r,o,u)}),T8=Tn(function(t,r){var o={};if(t==null)return o;var u=!1;r=at(r,function(b){return b=Gn(b,t),u||(u=b.length>1),b}),vn(t,aa(t),o),u&&(o=tn(o,w|_|v,Cg));for(var g=r.length;g--;)Js(o,r[g]);return o});function R8(t,r){return Qu(t,Io(ve(r)))}var I8=Tn(function(t,r){return t==null?{}:ig(t,r)});function Qu(t,r){if(t==null)return{};var o=at(aa(t),function(u){return[u]});return r=ve(r),Zc(t,o,function(u,g){return r(u,g[0])})}function M8(t,r,o){r=Gn(r,t);var u=-1,g=r.length;for(g||(g=1,t=i);++u<g;){var b=t==null?i:t[wn(r[u])];b===i&&(u=g,b=o),t=In(b)?b.call(t):b}return t}function F8(t,r,o){return t==null?t:bi(t,r,o)}function O8(t,r,o,u){return u=typeof u=="function"?u:i,t==null?t:bi(t,r,o,u)}var Ju=du(bt),ed=du(zt);function z8(t,r,o){var u=Ie(t),g=u||Kn(t)||Dr(t);if(r=ve(r,4),o==null){var b=t&&t.constructor;g?o=u?new b:[]:ut(t)?o=In(b)?Or(io(t)):{}:o={}}return(g?Qt:xn)(t,function(S,A,O){return r(o,S,A,O)}),o}function L8(t,r){return t==null?!0:Js(t,r)}function j8(t,r,o){return t==null?t:qc(t,r,na(o))}function D8(t,r,o,u){return u=typeof u=="function"?u:i,t==null?t:qc(t,r,na(o),u)}function Pr(t){return t==null?[]:Os(t,bt(t))}function P8(t){return t==null?[]:Os(t,zt(t))}function W8(t,r,o){return o===i&&(o=r,r=i),o!==i&&(o=on(o),o=o===o?o:0),r!==i&&(r=on(r),r=r===r?r:0),lr(on(t),r,o)}function B8(t,r,o){return r=Mn(r),o===i?(o=r,r=0):o=Mn(o),t=on(t),Gp(t,r,o)}function H8(t,r,o){if(o&&typeof o!="boolean"&&Rt(t,r,o)&&(r=o=i),o===i&&(typeof r=="boolean"?(o=r,r=i):typeof t=="boolean"&&(o=t,t=i)),t===i&&r===i?(t=0,r=1):(t=Mn(t),r===i?(r=t,t=0):r=Mn(r)),t>r){var u=t;t=r,r=u}if(o||t%1||r%1){var g=Sc();return St(t+g*(r-t+vh("1e-"+((g+"").length-1))),r)}return Ys(t,r)}var Z8=Lr(function(t,r,o){return r=r.toLowerCase(),t+(o?td(r):r)});function td(t){return Ca(Ke(t).toLowerCase())}function nd(t){return t=Ke(t),t&&t.replace(N1,Fh).replace(uh,"")}function V8(t,r,o){t=Ke(t),r=Vt(r);var u=t.length;o=o===i?u:lr(ze(o),0,u);var g=o;return o-=r.length,o>=0&&t.slice(o,g)==r}function N8(t){return t=Ke(t),t&&oi.test(t)?t.replace(dn,Oh):t}function U8(t){return t=Ke(t),t&&vt.test(t)?t.replace(xe,"\\$&"):t}var G8=Lr(function(t,r,o){return t+(o?"-":"")+r.toLowerCase()}),q8=Lr(function(t,r,o){return t+(o?" ":"")+r.toLowerCase()}),K8=ou("toLowerCase");function Y8(t,r,o){t=Ke(t),r=ze(r);var u=r?Tr(t):0;if(!r||u>=r)return t;var g=(r-u)/2;return _o(lo(g),o)+t+_o(ao(g),o)}function X8(t,r,o){t=Ke(t),r=ze(r);var u=r?Tr(t):0;return r&&u<r?t+_o(r-u,o):t}function Q8(t,r,o){t=Ke(t),r=ze(r);var u=r?Tr(t):0;return r&&u<r?_o(r-u,o)+t:t}function J8(t,r,o){return o||r==null?r=0:r&&(r=+r),sp(Ke(t).replace(At,""),r||0)}function ey(t,r,o){return(o?Rt(t,r,o):r===i)?r=1:r=ze(r),Xs(Ke(t),r)}function ty(){var t=arguments,r=Ke(t[0]);return t.length<3?r:r.replace(t[1],t[2])}var ny=Lr(function(t,r,o){return t+(o?"_":"")+r.toLowerCase()});function ry(t,r,o){return o&&typeof o!="number"&&Rt(t,r,o)&&(r=o=i),o=o===i?Se:o>>>0,o?(t=Ke(t),t&&(typeof r=="string"||r!=null&&!va(r))&&(r=Vt(r),!r&&Ar(t))?qn(fn(t),0,o):t.split(r,o)):[]}var iy=Lr(function(t,r,o){return t+(o?" ":"")+Ca(r)});function oy(t,r,o){return t=Ke(t),o=o==null?0:lr(ze(o),0,t.length),r=Vt(r),t.slice(o,o+r.length)==r}function sy(t,r,o){var u=y.templateSettings;o&&Rt(t,r,o)&&(r=i),t=Ke(t),r=Oo({},r,u,fu);var g=Oo({},r.imports,u.imports,fu),b=bt(g),S=Os(g,b),A,O,U=0,G=r.interpolate||Ui,Y="__p += '",ce=Ls((r.escape||Ui).source+"|"+G.source+"|"+(G===Er?P1:Ui).source+"|"+(r.evaluate||Ui).source+"|$","g"),me="//# sourceURL="+(Ye.call(r,"sourceURL")?(r.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++gh+"]")+`
|
|
11
|
+
`;t.replace(ce,function(Ce,We,Ve,Ut,It,Gt){return Ve||(Ve=Ut),Y+=t.slice(U,Gt).replace(U1,zh),We&&(A=!0,Y+=`' +
|
|
12
|
+
__e(`+We+`) +
|
|
13
|
+
'`),It&&(O=!0,Y+=`';
|
|
14
|
+
`+It+`;
|
|
15
|
+
__p += '`),Ve&&(Y+=`' +
|
|
16
|
+
((__t = (`+Ve+`)) == null ? '' : __t) +
|
|
17
|
+
'`),U=Gt+Ce.length,Ce}),Y+=`';
|
|
18
|
+
`;var _e=Ye.call(r,"variable")&&r.variable;if(!_e)Y=`with (obj) {
|
|
19
|
+
`+Y+`
|
|
20
20
|
}
|
|
21
|
-
`;else if(
|
|
22
|
-
`+(
|
|
23
|
-
`)+"var __t, __p = ''"+(
|
|
21
|
+
`;else if(j1.test(_e))throw new Re(f);Y=(O?Y.replace(ys,""):Y).replace(bs,"$1").replace(Zi,"$1;"),Y="function("+(_e||"obj")+`) {
|
|
22
|
+
`+(_e?"":`obj || (obj = {});
|
|
23
|
+
`)+"var __t, __p = ''"+(A?", __e = _.escape":"")+(O?`, __j = Array.prototype.join;
|
|
24
24
|
function print() { __p += __j.call(arguments, '') }
|
|
25
25
|
`:`;
|
|
26
|
-
`)+
|
|
27
|
-
}`;var $e=hc(function(){return Ze(m,ue+"return "+U).apply(i,b)});if($e.source=U,Ha($e))throw $e;return $e}function Q2(e){return Ne(e).toLowerCase()}function J2(e){return Ne(e).toUpperCase()}function e8(e,n,o){if(e=Ne(e),e&&(o||n===i))return _l(e);if(!e||!(n=jt(n)))return e;var s=en(e),c=en(n),m=Cl(s,c),b=Sl(s,c)+1;return Fn(s,m,b).join("")}function t8(e,n,o){if(e=Ne(e),e&&(o||n===i))return e.slice(0,Al(e)+1);if(!e||!(n=jt(n)))return e;var s=en(e),c=Sl(s,en(n))+1;return Fn(s,0,c).join("")}function n8(e,n,o){if(e=Ne(e),e&&(o||n===i))return e.replace(Ho,"");if(!e||!(n=jt(n)))return e;var s=en(e),c=Cl(s,en(n));return Fn(s,c).join("")}function r8(e,n){var o=Ce,s=Me;if(rt(n)){var c="separator"in n?n.separator:c;o="length"in n?Ae(n.length):o,s="omission"in n?jt(n.omission):s}e=Ne(e);var m=e.length;if(cr(e)){var b=en(e);m=b.length}if(o>=m)return e;var w=o-fr(s);if(w<1)return s;var $=b?Fn(b,0,w).join(""):e.slice(0,w);if(c===i)return $+s;if(b&&(w+=$.length-w),Za(c)){if(e.slice(w).search(c)){var P,W=$;for(c.global||(c=oa(c.source,Ne(Vs.exec(c))+"g")),c.lastIndex=0;P=c.exec(W);)var U=P.index;$=$.slice(0,U===i?w:U)}}else if(e.indexOf(jt(c),w)!=w){var ne=$.lastIndexOf(c);ne>-1&&($=$.slice(0,ne))}return $+s}function i8(e){return e=Ne(e),e&&g0.test(e)?e.replace(Ds,I1):e}var o8=yr(function(e,n,o){return e+(o?" ":"")+n.toUpperCase()}),Ua=pu("toUpperCase");function dc(e,n,o){return e=Ne(e),n=o?i:n,n===i?k1(e)?z1(e):b1(e):e.match(n)||[]}var hc=Te(function(e,n){try{return Ft(e,i,n)}catch(o){return Ha(o)?o:new be(o)}}),a8=vn(function(e,n){return Vt(n,function(o){o=un(o),gn(e,o,Wa(e[o],e))}),e});function s8(e){var n=e==null?0:e.length,o=he();return e=n?et(e,function(s){if(typeof s[1]!="function")throw new Nt(f);return[o(s[0]),s[1]]}):[],Te(function(s){for(var c=-1;++c<n;){var m=e[c];if(Ft(m[0],this,s))return Ft(m[1],this,s)}})}function l8(e){return Ih(qt(e,S))}function qa(e){return function(){return e}}function u8(e,n){return e==null||e!==e?n:e}var c8=mu(),f8=mu(!0);function Rt(e){return e}function Ga(e){return Ul(typeof e=="function"?e:qt(e,S))}function d8(e){return Gl(qt(e,S))}function h8(e,n){return Kl(e,qt(n,S))}var p8=Te(function(e,n){return function(o){return Nr(o,e,n)}}),g8=Te(function(e,n){return function(o){return Nr(e,o,n)}});function Ka(e,n,o){var s=pt(n),c=Pi(n,s);o==null&&!(rt(n)&&(c.length||!s.length))&&(o=n,n=e,e=this,c=Pi(n,pt(n)));var m=!(rt(o)&&"chain"in o)||!!o.chain,b=bn(e);return Vt(c,function(w){var $=n[w];e[w]=$,b&&(e.prototype[w]=function(){var P=this.__chain__;if(m||P){var W=e(this.__wrapped__),U=W.__actions__=$t(this.__actions__);return U.push({func:$,args:arguments,thisArg:e}),W.__chain__=P,W}return $.apply(e,Tn([this.value()],arguments))})}),e}function m8(){return mt._===this&&(mt._=H1),this}function Xa(){}function v8(e){return e=Ae(e),Te(function(n){return Xl(n,e)})}var y8=$a(et),b8=$a(vl),x8=$a(Qo);function pc(e){return Ma(e)?Jo(un(e)):Xh(e)}function w8(e){return function(n){return e==null?i:Xn(e,n)}}var _8=yu(),C8=yu(!0);function Ya(){return[]}function Qa(){return!1}function S8(){return{}}function E8(){return""}function A8(){return!0}function $8(e,n){if(e=Ae(e),e<1||e>ee)return[];var o=ke,s=bt(e,ke);n=he(n),e-=ke;for(var c=na(s,n);++o<e;)n(o);return c}function k8(e){return _e(e)?et(e,un):Bt(e)?[e]:$t(Mu(Ne(e)))}function T8(e){var n=++W1;return Ne(e)+n}var R8=Ni(function(e,n){return e+n},0),L8=ka("ceil"),O8=Ni(function(e,n){return e/n},1),I8=ka("floor");function M8(e){return e&&e.length?Bi(e,Rt,ha):i}function F8(e,n){return e&&e.length?Bi(e,he(n,2),ha):i}function z8(e){return xl(e,Rt)}function j8(e,n){return xl(e,he(n,2))}function B8(e){return e&&e.length?Bi(e,Rt,va):i}function P8(e,n){return e&&e.length?Bi(e,he(n,2),va):i}var W8=Ni(function(e,n){return e*n},1),D8=ka("round"),H8=Ni(function(e,n){return e-n},0);function Z8(e){return e&&e.length?ta(e,Rt):0}function V8(e,n){return e&&e.length?ta(e,he(n,2)):0}return p.after=dm,p.ary=Nu,p.assign=Jm,p.assignIn=oc,p.assignInWith=io,p.assignWith=e2,p.at=t2,p.before=Uu,p.bind=Wa,p.bindAll=a8,p.bindKey=qu,p.castArray=Sm,p.chain=Hu,p.chunk=Ip,p.compact=Mp,p.concat=Fp,p.cond=s8,p.conforms=l8,p.constant=qa,p.countBy=Zg,p.create=n2,p.curry=Gu,p.curryRight=Ku,p.debounce=Xu,p.defaults=r2,p.defaultsDeep=i2,p.defer=hm,p.delay=pm,p.difference=zp,p.differenceBy=jp,p.differenceWith=Bp,p.drop=Pp,p.dropRight=Wp,p.dropRightWhile=Dp,p.dropWhile=Hp,p.fill=Zp,p.filter=Ng,p.flatMap=Gg,p.flatMapDeep=Kg,p.flatMapDepth=Xg,p.flatten=Bu,p.flattenDeep=Vp,p.flattenDepth=Np,p.flip=gm,p.flow=c8,p.flowRight=f8,p.fromPairs=Up,p.functions=f2,p.functionsIn=d2,p.groupBy=Yg,p.initial=Gp,p.intersection=Kp,p.intersectionBy=Xp,p.intersectionWith=Yp,p.invert=p2,p.invertBy=g2,p.invokeMap=Jg,p.iteratee=Ga,p.keyBy=em,p.keys=pt,p.keysIn=Tt,p.map=Qi,p.mapKeys=v2,p.mapValues=y2,p.matches=d8,p.matchesProperty=h8,p.memoize=eo,p.merge=b2,p.mergeWith=ac,p.method=p8,p.methodOf=g8,p.mixin=Ka,p.negate=to,p.nthArg=v8,p.omit=x2,p.omitBy=w2,p.once=mm,p.orderBy=tm,p.over=y8,p.overArgs=vm,p.overEvery=b8,p.overSome=x8,p.partial=Da,p.partialRight=Yu,p.partition=nm,p.pick=_2,p.pickBy=sc,p.property=pc,p.propertyOf=w8,p.pull=tg,p.pullAll=Wu,p.pullAllBy=ng,p.pullAllWith=rg,p.pullAt=ig,p.range=_8,p.rangeRight=C8,p.rearg=ym,p.reject=om,p.remove=og,p.rest=bm,p.reverse=Ba,p.sampleSize=sm,p.set=S2,p.setWith=E2,p.shuffle=lm,p.slice=ag,p.sortBy=fm,p.sortedUniq=hg,p.sortedUniqBy=pg,p.split=G2,p.spread=xm,p.tail=gg,p.take=mg,p.takeRight=vg,p.takeRightWhile=yg,p.takeWhile=bg,p.tap=Mg,p.throttle=wm,p.thru=Yi,p.toArray=nc,p.toPairs=lc,p.toPairsIn=uc,p.toPath=k8,p.toPlainObject=ic,p.transform=A2,p.unary=_m,p.union=xg,p.unionBy=wg,p.unionWith=_g,p.uniq=Cg,p.uniqBy=Sg,p.uniqWith=Eg,p.unset=$2,p.unzip=Pa,p.unzipWith=Du,p.update=k2,p.updateWith=T2,p.values=wr,p.valuesIn=R2,p.without=Ag,p.words=dc,p.wrap=Cm,p.xor=$g,p.xorBy=kg,p.xorWith=Tg,p.zip=Rg,p.zipObject=Lg,p.zipObjectDeep=Og,p.zipWith=Ig,p.entries=lc,p.entriesIn=uc,p.extend=oc,p.extendWith=io,Ka(p,p),p.add=R8,p.attempt=hc,p.camelCase=M2,p.capitalize=cc,p.ceil=L8,p.clamp=L2,p.clone=Em,p.cloneDeep=$m,p.cloneDeepWith=km,p.cloneWith=Am,p.conformsTo=Tm,p.deburr=fc,p.defaultTo=u8,p.divide=O8,p.endsWith=F2,p.eq=nn,p.escape=z2,p.escapeRegExp=j2,p.every=Vg,p.find=Ug,p.findIndex=zu,p.findKey=o2,p.findLast=qg,p.findLastIndex=ju,p.findLastKey=a2,p.floor=I8,p.forEach=Zu,p.forEachRight=Vu,p.forIn=s2,p.forInRight=l2,p.forOwn=u2,p.forOwnRight=c2,p.get=Va,p.gt=Rm,p.gte=Lm,p.has=h2,p.hasIn=Na,p.head=Pu,p.identity=Rt,p.includes=Qg,p.indexOf=qp,p.inRange=O2,p.invoke=m2,p.isArguments=Jn,p.isArray=_e,p.isArrayBuffer=Om,p.isArrayLike=kt,p.isArrayLikeObject=lt,p.isBoolean=Im,p.isBuffer=zn,p.isDate=Mm,p.isElement=Fm,p.isEmpty=zm,p.isEqual=jm,p.isEqualWith=Bm,p.isError=Ha,p.isFinite=Pm,p.isFunction=bn,p.isInteger=Qu,p.isLength=no,p.isMap=Ju,p.isMatch=Wm,p.isMatchWith=Dm,p.isNaN=Hm,p.isNative=Zm,p.isNil=Nm,p.isNull=Vm,p.isNumber=ec,p.isObject=rt,p.isObjectLike=at,p.isPlainObject=Yr,p.isRegExp=Za,p.isSafeInteger=Um,p.isSet=tc,p.isString=ro,p.isSymbol=Bt,p.isTypedArray=xr,p.isUndefined=qm,p.isWeakMap=Gm,p.isWeakSet=Km,p.join=Qp,p.kebabCase=B2,p.last=Kt,p.lastIndexOf=Jp,p.lowerCase=P2,p.lowerFirst=W2,p.lt=Xm,p.lte=Ym,p.max=M8,p.maxBy=F8,p.mean=z8,p.meanBy=j8,p.min=B8,p.minBy=P8,p.stubArray=Ya,p.stubFalse=Qa,p.stubObject=S8,p.stubString=E8,p.stubTrue=A8,p.multiply=W8,p.nth=eg,p.noConflict=m8,p.noop=Xa,p.now=Ji,p.pad=D2,p.padEnd=H2,p.padStart=Z2,p.parseInt=V2,p.random=I2,p.reduce=rm,p.reduceRight=im,p.repeat=N2,p.replace=U2,p.result=C2,p.round=D8,p.runInContext=A,p.sample=am,p.size=um,p.snakeCase=q2,p.some=cm,p.sortedIndex=sg,p.sortedIndexBy=lg,p.sortedIndexOf=ug,p.sortedLastIndex=cg,p.sortedLastIndexBy=fg,p.sortedLastIndexOf=dg,p.startCase=K2,p.startsWith=X2,p.subtract=H8,p.sum=Z8,p.sumBy=V8,p.template=Y2,p.times=$8,p.toFinite=xn,p.toInteger=Ae,p.toLength=rc,p.toLower=Q2,p.toNumber=Xt,p.toSafeInteger=Qm,p.toString=Ne,p.toUpper=J2,p.trim=e8,p.trimEnd=t8,p.trimStart=n8,p.truncate=r8,p.unescape=i8,p.uniqueId=T8,p.upperCase=o8,p.upperFirst=Ua,p.each=Zu,p.eachRight=Vu,p.first=Pu,Ka(p,function(){var e={};return sn(p,function(n,o){Ue.call(p.prototype,o)||(e[o]=n)}),e}(),{chain:!1}),p.VERSION=a,Vt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(e){p[e].placeholder=p}),Vt(["drop","take"],function(e,n){Ie.prototype[e]=function(o){o=o===i?1:dt(Ae(o),0);var s=this.__filtered__&&!n?new Ie(this):this.clone();return s.__filtered__?s.__takeCount__=bt(o,s.__takeCount__):s.__views__.push({size:bt(o,ke),type:e+(s.__dir__<0?"Right":"")}),s},Ie.prototype[e+"Right"]=function(o){return this.reverse()[e](o).reverse()}}),Vt(["filter","map","takeWhile"],function(e,n){var o=n+1,s=o==G||o==te;Ie.prototype[e]=function(c){var m=this.clone();return m.__iteratees__.push({iteratee:he(c,3),type:o}),m.__filtered__=m.__filtered__||s,m}}),Vt(["head","last"],function(e,n){var o="take"+(n?"Right":"");Ie.prototype[e]=function(){return this[o](1).value()[0]}}),Vt(["initial","tail"],function(e,n){var o="drop"+(n?"":"Right");Ie.prototype[e]=function(){return this.__filtered__?new Ie(this):this[o](1)}}),Ie.prototype.compact=function(){return this.filter(Rt)},Ie.prototype.find=function(e){return this.filter(e).head()},Ie.prototype.findLast=function(e){return this.reverse().find(e)},Ie.prototype.invokeMap=Te(function(e,n){return typeof e=="function"?new Ie(this):this.map(function(o){return Nr(o,e,n)})}),Ie.prototype.reject=function(e){return this.filter(to(he(e)))},Ie.prototype.slice=function(e,n){e=Ae(e);var o=this;return o.__filtered__&&(e>0||n<0)?new Ie(o):(e<0?o=o.takeRight(-e):e&&(o=o.drop(e)),n!==i&&(n=Ae(n),o=n<0?o.dropRight(-n):o.take(n-e)),o)},Ie.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Ie.prototype.toArray=function(){return this.take(ke)},sn(Ie.prototype,function(e,n){var o=/^(?:filter|find|map|reject)|While$/.test(n),s=/^(?:head|last)$/.test(n),c=p[s?"take"+(n=="last"?"Right":""):n],m=s||/^find/.test(n);c&&(p.prototype[n]=function(){var b=this.__wrapped__,w=s?[1]:arguments,$=b instanceof Ie,P=w[0],W=$||_e(b),U=function(Le){var Fe=c.apply(p,Tn([Le],w));return s&&ne?Fe[0]:Fe};W&&o&&typeof P=="function"&&P.length!=1&&($=W=!1);var ne=this.__chain__,ue=!!this.__actions__.length,ge=m&&!ne,$e=$&&!ue;if(!m&&W){b=$e?b:new Ie(this);var me=e.apply(b,w);return me.__actions__.push({func:Yi,args:[U],thisArg:i}),new Ut(me,ne)}return ge&&$e?e.apply(this,w):(me=this.thru(U),ge?s?me.value()[0]:me.value():me)})}),Vt(["pop","push","shift","sort","splice","unshift"],function(e){var n=Ci[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 m=this.value();return n.apply(_e(m)?m:[],c)}return this[o](function(b){return n.apply(_e(b)?b:[],c)})}}),sn(Ie.prototype,function(e,n){var o=p[n];if(o){var s=o.name+"";Ue.call(gr,s)||(gr[s]=[]),gr[s].push({name:n,func:o})}}),gr[Vi(i,I).name]=[{name:"wrapper",func:i}],Ie.prototype.clone=ih,Ie.prototype.reverse=oh,Ie.prototype.value=ah,p.prototype.at=Fg,p.prototype.chain=zg,p.prototype.commit=jg,p.prototype.next=Bg,p.prototype.plant=Wg,p.prototype.reverse=Dg,p.prototype.toJSON=p.prototype.valueOf=p.prototype.value=Hg,p.prototype.first=p.prototype.head,Br&&(p.prototype[Br]=Pg),p},dr=j1();Nn?((Nn.exports=dr)._=dr,Go._=dr):mt._=dr}).call(G8)}(ai,ai.exports)),ai.exports}var ze=K8();const ws=t=>({none:0,hairline:t*.5,thin:t,thick:t*2,heavy:t*4}),_s=t=>({none:0,xs:t*.5,sm:t,md:t*2,lg:t*3,xl:t*4,full:9999}),X8=t=>["none","hairline","thin","thick","heavy"].includes(t),kf=t=>["none","xs","sm","md","lg","xl","full"].includes(t),So={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"},Tf=t=>t in So,Rf={primary:["#543ACC","#6949FF"],secondary:["#E0A800","#FFC107"],success:["#0FB57A","#12D18E"],danger:["#E64545","#F75555"],warning:["#E1B70D","#FACC15"],info:["#543ACC","#6949FF"]},Y8=t=>["primary","secondary","success","danger","warning","info"].includes(t),Q8=1,J8=8,ev=8,tv="Inter",nv="Sora",rv=10,iv=4,$n={borderWidth:Q8,space:J8,size:ev,font:{neutral:tv,heading:nv},fontSize:rv,radius:iv},Lf=t=>({none:"none",sm:`0 1px 2px 0 ${t.grey400}40`,md:`0 4px 6px -1px ${t.grey500}40, 0 2px 4px -1px ${t.grey400}40`,lg:`0 10px 15px -3px ${t.grey600}40, 0 4px 6px -2px ${t.grey500}40`}),ov=t=>["none","sm","md","lg"].includes(t),Cs=t=>({"2xs":t*.5,xs:t,sm:t*2,"sm-md":t*2.5,md:t*4,"md-lg":t*6,lg:t*8,xl:t*16,"2xl":t*32,"3xl":t*64,"4xl":t*128}),ir=t=>["2xs","xs","sm","sm-md","md","md-lg","lg","xl","2xl","3xl","4xl"].includes(t),Ss=t=>({none:0,"2xs":t*.25,xs:t*.5,sm:t,"sm-md":t*1.5,md:t*2,"md-lg":t*2.5,lg:t*3,xl:t*4,"2xl":t*5,"3xl":t*6,"4xl":t*8,"5xl":t*10,"6xl":t*12,"7xl":t*14,"8xl":t*16,"9xl":t*18,"10xl":t*20,"-xxs":t*-.25,"-xs":t*-.5,"-sm":t*-1,"-sm-md":t*-1.5,"-md":t*-2,"-md-lg":t*-2.5,"-lg":t*-3,"-xl":t*-4,"-2xl":t*-5,"-3xl":t*-6,"-4xl":t*-8,"-5xl":t*-10,"-6xl":t*-12,"-7xl":t*-14,"-8xl":t*-16,"-9xl":t*-18,"-10xl":t*-20}),Of=t=>["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(t),Es=({neutral:t,heading:r})=>({neutral:`"${t}", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif`,heading:`"${r}", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif`}),Eo=t=>({"2xs":t*.75,xs:t,small:t*1.25,medium:t*1.5,large:t*2,xl:t*2.5,"2xl":t*3,"3xl":t*3.5,"4xl":t*4,"5xl":t*5,"6xl":t*6}),As=t=>{const r=Eo(t),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}},$s=()=>({"extra-light":100,thin:200,light:300,regular:400,medium:500,semibold:600,bold:700,extrabold:800,black:900}),av=t=>["2xs","xs","small","medium","large","xl","2xl","3xl","4xl","5xl","6xl"].includes(t),sv=t=>["extra-light","thin","light","regular","medium","semibold","bold","extrabold","black"].includes(t);class lv{constructor({baseZIndex:r=10,step:i=10}={}){_r(this,"dependencies",new Map);_r(this,"zIndexes",null);_r(this,"nodes",new Set);_r(this,"baseZIndex");_r(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 sr=new lv({baseZIndex:100,step:10}),an={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(an.AIC_Kits_PageContent,an.AIC_Kits_Carousel);sr.register(an.AIC_Kits_Carousel,an.AIC_Kits_Dropdown);sr.register(an.AIC_Kits_Dropdown,an.AIC_Kits_Tooltip);sr.register(an.AIC_Kits_Tooltip,an.AIC_Kits_Modal);sr.register(an.AIC_Kits_Modal,an.AIC_Kits_Notification);const uv=(t=$n,r=So,i=Rf)=>{const a=Es(t.font),l=Eo(t.fontSize),u=As(t.fontSize),f=$s(),h=ws(t.borderWidth),g=Ss(t.space),v=Cs(t.size),_=_s(t.radius),S=Lf(r);return{colors:r,gradientColors:i,fonts:a,fontSizes:l,lineHeights:u,fontWeights:f,borderWidths:h,spaces:g,sizes:v,radii:_,shadows:S}},If=t=>({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"}}),Mf=t=>({defaultSize:"md",defaultIconSize:"md",defaultEmojiSize:"lg",defaultBrandSize:"md",defaultImageSize:"md",defaultSvgSize:"md"}),Ff=t=>({defaultSize:"md",defaultFallbackTextSize:"medium",fallbackBackgroundColor:"grey400",sizes:{sm:{fallbackTextSize:"small"},md:{fallbackTextSize:"medium"},lg:{fallbackTextSize:"xl"}}}),zf=t=>({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"}}}),jf=t=>({defaultBackgroundColor:"white",defaultHeaderParams:{backgroundColor:"white"},desktopMediaQuery:"(min-width: 768px)",mobilePaddingX:"md",desktopPaddingX:"xl",desktopContentMaxWidth:"1200px"}),Bf=t=>({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"}}}),Pf=t=>({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"}}),Wf=t=>({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"}}),Df=t=>({defaultColor:"grey300",defaultThickness:1}),Hf=t=>{const r=`0 0 16px 4px ${t.colors.grey400}40`;return{backgroundColor:"grey100",padding:"xs",radius:"full",avatarSize:"md",loadingGap:"sm",navItem:{radius:"full",paddingX:"md",paddingY:"sm",gap:"xs",large:{gap:"sm",containerHeight:30,fontSize:"large",iconSize:28,loadingSize:"small"},medium:{gap:"xs",containerHeight:24,fontSize:"medium",iconSize:22,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}}},Zf=t=>{const r="grey300",i="danger",a="primary",l="grey100",u="grey300",f="grey500",h="white",g="grey900",v="thin",_=`inset 0 0 0 ${t.borderWidths.thin}px ${t.colors[a]}`,S=`inset 0 0 0 ${t.borderWidths.thin}px ${t.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:a,errorColor:i,states:{default:{borderColor:r,backgroundColor:h,boxShadow:"none"},focused:{borderColor:a,backgroundColor:h,boxShadow:_},error:{borderColor:i,backgroundColor:h,boxShadow:S},disabled:{borderColor:u,backgroundColor:l,boxShadow:"none"}}}},Vf=t=>({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"]}}}),Nf=t=>({defaultGap:"sm",defaultPadding:"none"}),Uf=t=>({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}}),qf=t=>({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"}}}}}),Gf=t=>({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"]}}}),Kf=t=>({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"}}}),Xf=t=>{const r="grey300",i="danger",a="grey300",l="grey100",u="grey400",f="grey100",h="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:a,borderWidth:_},errored:{backgroundColor:v,borderColor:i,borderWidth:_}},filled:{default:{backgroundColor:f,borderColor:v,borderWidth:_},hover:{backgroundColor:h,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"}}},Yf=t=>({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}}}),Qf=t=>({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"}}}),Jf=t=>{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}}}}},ed=t=>({animation:{minScale:.92,maxScale:1,minOpacity:.7,maxOpacity:1,springConfig:{mass:.5}}}),td=t=>({defaultAccentColor:"#00adef",aspectRatio:56.25,playerSettings:{autoplay:!1,muted:!1,loop:!1,title:!1,byline:!1,portrait:!1,controls:!0}}),nd=t=>({art:Mf(),base:jf(),button:Bf(),divider:Df(),header:Hf(t),input:Zf(t),list:Nf(),loading:Uf(),pagination:qf(),skeleton:Yf(),touchable:ed(),vimeo:td(),carousel:Pf(),accordion:If(),tag:Qf(),checkbox:Wf(),select:Xf(),progress:Kf(),avatar:Ff(),tooltip:Jf(),barChart:zf(),pieChart:Gf(),lineChart:Vf()}),cv=Ss($n.space),fv=Cs($n.size),dv=ws($n.borderWidth),hv=_s($n.radius),pv=Eo($n.fontSize),gv=As($n.fontSize),mv=$s(),vc=Es($n.font),vv={spaces:cv,sizes:fv,colors:So,radii:hv,borderWidths:dv,fonts:vc,zIndex:sr,__hd__:{text:{fontSizes:pv,lineHeights:gv,fontWeights:mv,fonts:vc}}};function rd(){const t=vv,r=nd(t);return{...t,__hd__:{...t.__hd__,...r}}}const po=rd(),se=Dn.styled,Hn=Dn.keyframes,st=Dn.css,id=(t,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(t),yv=t=>typeof t=="function"?t(po):t?{...po,...t}:po,bv=({theme:t,children:r})=>{const i=yv(t);return y.jsx(Dn.StyleSheetManager,{shouldForwardProp:id,children:y.jsx(Dn.ThemeProvider,{theme:i,children:r})})},xe=Dn.useTheme,yt=()=>typeof document>"u",pi={xs:0,sm:600,md:900,lg:1200,xl:1536},ui=Object.keys(pi),Ao=t=>ze.isObject(t)&&("xs"in t||"sm"in t||"md"in t||"lg"in t||"xl"in t),Dt=(t,r)=>Ao(t)?Object.fromEntries(Object.entries(t).map(([i,a])=>[i,r(a)])):r(t),ds=t=>ze.reduce(t,(r,i,a)=>(ze.forEach(i,(l,u)=>{ze.has(r,u)||ze.set(r,u,{}),ze.set(r,[u,a],l)}),r),{}),od=(t,r)=>{const i=Object.fromEntries(Object.keys(t).map(h=>[h,ks(t[h])])),a=ds(i),l=Object.fromEntries(ui.map(h=>[h,r(a[h])])),u=ds(l);return Object.fromEntries(Object.entries(u).map(([h,g])=>[h,sd(g)]))},ad=(t,r)=>{if(!Ao(t))return t;switch(r){case"xs":return t.xs??t.sm??t.md??t.lg??t.xl;case"sm":return t.sm??t.xs??t.md??t.lg??t.xl;case"md":return t.md??t.sm??t.xs??t.lg??t.xl;case"lg":return t.lg??t.md??t.sm??t.xs??t.xl;case"xl":return t.xl??t.lg??t.md??t.sm??t.xs}},ks=t=>Object.fromEntries(Object.keys(pi).map(r=>[r,ad(t,r)])),sd=t=>{let r=t.xs;const i={xs:r};for(let a=1;a<ui.length;a++){const l=ui[a],u=t[l];ze.isEqual(u,r)||(i[l]=u,r=u)}return Object.keys(i).length===1?i.xs:i},Mr=t=>{const[r,i]=ze.partition(Object.entries(t),([u,f])=>Ao(f)),a=Object.fromEntries(r.map(([u,f])=>[u,ks(f)])),l=ze.compact(ui.map(u=>{const f=Object.fromEntries(Object.keys(a).map(g=>[g,a[g][u]]));if(u==="xs"){const g={...Object.fromEntries(i),...f};return ze.isEmpty(g)?null:st(g)}if(ze.isEmpty(f))return null;const h=`(min-width: ${pi[u]}px)`;return st`
|
|
28
|
-
@media ${
|
|
29
|
-
${
|
|
26
|
+
`)+Y+`return __p
|
|
27
|
+
}`;var Le=id(function(){return qe(b,me+"return "+Y).apply(i,S)});if(Le.source=Y,xa(Le))throw Le;return Le}function ay(t){return Ke(t).toLowerCase()}function ly(t){return Ke(t).toUpperCase()}function cy(t,r,o){if(t=Ke(t),t&&(o||r===i))return hc(t);if(!t||!(r=Vt(r)))return t;var u=fn(t),g=fn(r),b=pc(u,g),S=gc(u,g)+1;return qn(u,b,S).join("")}function uy(t,r,o){if(t=Ke(t),t&&(o||r===i))return t.slice(0,yc(t)+1);if(!t||!(r=Vt(r)))return t;var u=fn(t),g=gc(u,fn(r))+1;return qn(u,0,g).join("")}function dy(t,r,o){if(t=Ke(t),t&&(o||r===i))return t.replace(At,"");if(!t||!(r=Vt(r)))return t;var u=fn(t),g=pc(u,fn(r));return qn(u,g).join("")}function fy(t,r){var o=te,u=re;if(ut(r)){var g="separator"in r?r.separator:g;o="length"in r?ze(r.length):o,u="omission"in r?Vt(r.omission):u}t=Ke(t);var b=t.length;if(Ar(t)){var S=fn(t);b=S.length}if(o>=b)return t;var A=o-Tr(u);if(A<1)return u;var O=S?qn(S,0,A).join(""):t.slice(0,A);if(g===i)return O+u;if(S&&(A+=O.length-A),va(g)){if(t.slice(A).search(g)){var U,G=O;for(g.global||(g=Ls(g.source,Ke(zl.exec(g))+"g")),g.lastIndex=0;U=g.exec(G);)var Y=U.index;O=O.slice(0,Y===i?A:Y)}}else if(t.indexOf(Vt(g),A)!=A){var ce=O.lastIndexOf(g);ce>-1&&(O=O.slice(0,ce))}return O+u}function hy(t){return t=Ke(t),t&&xs.test(t)?t.replace($t,Hh):t}var py=Lr(function(t,r,o){return t+(o?" ":"")+r.toUpperCase()}),Ca=ou("toUpperCase");function rd(t,r,o){return t=Ke(t),r=o?i:r,r===i?jh(t)?Nh(t):Ah(t):t.match(r)||[]}var id=je(function(t,r){try{return Ht(t,i,r)}catch(o){return xa(o)?o:new Re(o)}}),gy=Tn(function(t,r){return Qt(r,function(o){o=wn(o),$n(t,o,ya(t[o],t))}),t});function my(t){var r=t==null?0:t.length,o=ve();return t=r?at(t,function(u){if(typeof u[1]!="function")throw new Jt(d);return[o(u[0]),u[1]]}):[],je(function(u){for(var g=-1;++g<r;){var b=t[g];if(Ht(b[0],this,u))return Ht(b[1],this,u)}})}function yy(t){return Hp(tn(t,w))}function Sa(t){return function(){return t}}function by(t,r){return t==null||t!==t?r:t}var xy=au(),vy=au(!0);function Lt(t){return t}function Ea(t){return jc(typeof t=="function"?t:tn(t,w))}function wy(t){return Pc(tn(t,w))}function _y(t,r){return Wc(t,tn(r,w))}var Cy=je(function(t,r){return function(o){return mi(o,t,r)}}),Sy=je(function(t,r){return function(o){return mi(t,o,r)}});function ka(t,r,o){var u=bt(r),g=go(r,u);o==null&&!(ut(r)&&(g.length||!u.length))&&(o=r,r=t,t=this,g=go(r,bt(r)));var b=!(ut(o)&&"chain"in o)||!!o.chain,S=In(t);return Qt(g,function(A){var O=r[A];t[A]=O,S&&(t.prototype[A]=function(){var U=this.__chain__;if(b||U){var G=t(this.__wrapped__),Y=G.__actions__=Ft(this.__actions__);return Y.push({func:O,args:arguments,thisArg:t}),G.__chain__=U,G}return O.apply(t,Hn([this.value()],arguments))})}),t}function Ey(){return wt._===this&&(wt._=Xh),this}function $a(){}function ky(t){return t=ze(t),je(function(r){return Bc(r,t)})}var $y=ia(at),Ay=ia(lc),Ty=ia(Ts);function od(t){return da(t)?Rs(wn(t)):og(t)}function Ry(t){return function(r){return t==null?i:cr(t,r)}}var Iy=cu(),My=cu(!0);function Aa(){return[]}function Ta(){return!1}function Fy(){return{}}function Oy(){return""}function zy(){return!0}function Ly(t,r){if(t=ze(t),t<1||t>ie)return[];var o=Se,u=St(t,Se);r=ve(r),t-=Se;for(var g=Fs(u,r);++o<t;)r(o);return g}function jy(t){return Ie(t)?at(t,wn):Nt(t)?[t]:Ft(Eu(Ke(t)))}function Dy(t){var r=++Kh;return Ke(t)+r}var Py=wo(function(t,r){return t+r},0),Wy=oa("ceil"),By=wo(function(t,r){return t/r},1),Hy=oa("floor");function Zy(t){return t&&t.length?po(t,Lt,Vs):i}function Vy(t,r){return t&&t.length?po(t,ve(r,2),Vs):i}function Ny(t){return dc(t,Lt)}function Uy(t,r){return dc(t,ve(r,2))}function Gy(t){return t&&t.length?po(t,Lt,qs):i}function qy(t,r){return t&&t.length?po(t,ve(r,2),qs):i}var Ky=wo(function(t,r){return t*r},1),Yy=oa("round"),Xy=wo(function(t,r){return t-r},0);function Qy(t){return t&&t.length?Ms(t,Lt):0}function Jy(t,r){return t&&t.length?Ms(t,ve(r,2)):0}return y.after=w2,y.ary=Lu,y.assign=l8,y.assignIn=Yu,y.assignInWith=Oo,y.assignWith=c8,y.at=u8,y.before=ju,y.bind=ya,y.bindAll=gy,y.bindKey=Du,y.castArray=F2,y.chain=Fu,y.chunk=Hg,y.compact=Zg,y.concat=Vg,y.cond=my,y.conforms=yy,y.constant=Sa,y.countBy=Qm,y.create=d8,y.curry=Pu,y.curryRight=Wu,y.debounce=Bu,y.defaults=f8,y.defaultsDeep=h8,y.defer=_2,y.delay=C2,y.difference=Ng,y.differenceBy=Ug,y.differenceWith=Gg,y.drop=qg,y.dropRight=Kg,y.dropRightWhile=Yg,y.dropWhile=Xg,y.fill=Qg,y.filter=e2,y.flatMap=r2,y.flatMapDeep=i2,y.flatMapDepth=o2,y.flatten=Tu,y.flattenDeep=Jg,y.flattenDepth=em,y.flip=S2,y.flow=xy,y.flowRight=vy,y.fromPairs=tm,y.functions=v8,y.functionsIn=w8,y.groupBy=s2,y.initial=rm,y.intersection=im,y.intersectionBy=om,y.intersectionWith=sm,y.invert=C8,y.invertBy=S8,y.invokeMap=l2,y.iteratee=Ea,y.keyBy=c2,y.keys=bt,y.keysIn=zt,y.map=Ao,y.mapKeys=k8,y.mapValues=$8,y.matches=wy,y.matchesProperty=_y,y.memoize=Ro,y.merge=A8,y.mergeWith=Xu,y.method=Cy,y.methodOf=Sy,y.mixin=ka,y.negate=Io,y.nthArg=ky,y.omit=T8,y.omitBy=R8,y.once=E2,y.orderBy=u2,y.over=$y,y.overArgs=k2,y.overEvery=Ay,y.overSome=Ty,y.partial=ba,y.partialRight=Hu,y.partition=d2,y.pick=I8,y.pickBy=Qu,y.property=od,y.propertyOf=Ry,y.pull=um,y.pullAll=Iu,y.pullAllBy=dm,y.pullAllWith=fm,y.pullAt=hm,y.range=Iy,y.rangeRight=My,y.rearg=$2,y.reject=p2,y.remove=pm,y.rest=A2,y.reverse=ga,y.sampleSize=m2,y.set=F8,y.setWith=O8,y.shuffle=y2,y.slice=gm,y.sortBy=v2,y.sortedUniq=_m,y.sortedUniqBy=Cm,y.split=ry,y.spread=T2,y.tail=Sm,y.take=Em,y.takeRight=km,y.takeRightWhile=$m,y.takeWhile=Am,y.tap=Zm,y.throttle=R2,y.thru=$o,y.toArray=Gu,y.toPairs=Ju,y.toPairsIn=ed,y.toPath=jy,y.toPlainObject=Ku,y.transform=z8,y.unary=I2,y.union=Tm,y.unionBy=Rm,y.unionWith=Im,y.uniq=Mm,y.uniqBy=Fm,y.uniqWith=Om,y.unset=L8,y.unzip=ma,y.unzipWith=Mu,y.update=j8,y.updateWith=D8,y.values=Pr,y.valuesIn=P8,y.without=zm,y.words=rd,y.wrap=M2,y.xor=Lm,y.xorBy=jm,y.xorWith=Dm,y.zip=Pm,y.zipObject=Wm,y.zipObjectDeep=Bm,y.zipWith=Hm,y.entries=Ju,y.entriesIn=ed,y.extend=Yu,y.extendWith=Oo,ka(y,y),y.add=Py,y.attempt=id,y.camelCase=Z8,y.capitalize=td,y.ceil=Wy,y.clamp=W8,y.clone=O2,y.cloneDeep=L2,y.cloneDeepWith=j2,y.cloneWith=z2,y.conformsTo=D2,y.deburr=nd,y.defaultTo=by,y.divide=By,y.endsWith=V8,y.eq=pn,y.escape=N8,y.escapeRegExp=U8,y.every=Jm,y.find=t2,y.findIndex=$u,y.findKey=p8,y.findLast=n2,y.findLastIndex=Au,y.findLastKey=g8,y.floor=Hy,y.forEach=Ou,y.forEachRight=zu,y.forIn=m8,y.forInRight=y8,y.forOwn=b8,y.forOwnRight=x8,y.get=wa,y.gt=P2,y.gte=W2,y.has=_8,y.hasIn=_a,y.head=Ru,y.identity=Lt,y.includes=a2,y.indexOf=nm,y.inRange=B8,y.invoke=E8,y.isArguments=fr,y.isArray=Ie,y.isArrayBuffer=B2,y.isArrayLike=Ot,y.isArrayLikeObject=ft,y.isBoolean=H2,y.isBuffer=Kn,y.isDate=Z2,y.isElement=V2,y.isEmpty=N2,y.isEqual=U2,y.isEqualWith=G2,y.isError=xa,y.isFinite=q2,y.isFunction=In,y.isInteger=Zu,y.isLength=Mo,y.isMap=Vu,y.isMatch=K2,y.isMatchWith=Y2,y.isNaN=X2,y.isNative=Q2,y.isNil=e8,y.isNull=J2,y.isNumber=Nu,y.isObject=ut,y.isObjectLike=dt,y.isPlainObject=_i,y.isRegExp=va,y.isSafeInteger=t8,y.isSet=Uu,y.isString=Fo,y.isSymbol=Nt,y.isTypedArray=Dr,y.isUndefined=n8,y.isWeakMap=r8,y.isWeakSet=i8,y.join=am,y.kebabCase=G8,y.last=rn,y.lastIndexOf=lm,y.lowerCase=q8,y.lowerFirst=K8,y.lt=o8,y.lte=s8,y.max=Zy,y.maxBy=Vy,y.mean=Ny,y.meanBy=Uy,y.min=Gy,y.minBy=qy,y.stubArray=Aa,y.stubFalse=Ta,y.stubObject=Fy,y.stubString=Oy,y.stubTrue=zy,y.multiply=Ky,y.nth=cm,y.noConflict=Ey,y.noop=$a,y.now=To,y.pad=Y8,y.padEnd=X8,y.padStart=Q8,y.parseInt=J8,y.random=H8,y.reduce=f2,y.reduceRight=h2,y.repeat=ey,y.replace=ty,y.result=M8,y.round=Yy,y.runInContext=F,y.sample=g2,y.size=b2,y.snakeCase=ny,y.some=x2,y.sortedIndex=mm,y.sortedIndexBy=ym,y.sortedIndexOf=bm,y.sortedLastIndex=xm,y.sortedLastIndexBy=vm,y.sortedLastIndexOf=wm,y.startCase=iy,y.startsWith=oy,y.subtract=Xy,y.sum=Qy,y.sumBy=Jy,y.template=sy,y.times=Ly,y.toFinite=Mn,y.toInteger=ze,y.toLength=qu,y.toLower=ay,y.toNumber=on,y.toSafeInteger=a8,y.toString=Ke,y.toUpper=ly,y.trim=cy,y.trimEnd=uy,y.trimStart=dy,y.truncate=fy,y.unescape=hy,y.uniqueId=Dy,y.upperCase=py,y.upperFirst=Ca,y.each=Ou,y.eachRight=zu,y.first=Ru,ka(y,function(){var t={};return xn(y,function(r,o){Ye.call(y.prototype,o)||(t[o]=r)}),t}(),{chain:!1}),y.VERSION=s,Qt(["bind","bindKey","curry","curryRight","partial","partialRight"],function(t){y[t].placeholder=y}),Qt(["drop","take"],function(t,r){He.prototype[t]=function(o){o=o===i?1:yt(ze(o),0);var u=this.__filtered__&&!r?new He(this):this.clone();return u.__filtered__?u.__takeCount__=St(o,u.__takeCount__):u.__views__.push({size:St(o,Se),type:t+(u.__dir__<0?"Right":"")}),u},He.prototype[t+"Right"]=function(o){return this.reverse()[t](o).reverse()}}),Qt(["filter","map","takeWhile"],function(t,r){var o=r+1,u=o==P||o==K;He.prototype[t]=function(g){var b=this.clone();return b.__iteratees__.push({iteratee:ve(g,3),type:o}),b.__filtered__=b.__filtered__||u,b}}),Qt(["head","last"],function(t,r){var o="take"+(r?"Right":"");He.prototype[t]=function(){return this[o](1).value()[0]}}),Qt(["initial","tail"],function(t,r){var o="drop"+(r?"":"Right");He.prototype[t]=function(){return this.__filtered__?new He(this):this[o](1)}}),He.prototype.compact=function(){return this.filter(Lt)},He.prototype.find=function(t){return this.filter(t).head()},He.prototype.findLast=function(t){return this.reverse().find(t)},He.prototype.invokeMap=je(function(t,r){return typeof t=="function"?new He(this):this.map(function(o){return mi(o,t,r)})}),He.prototype.reject=function(t){return this.filter(Io(ve(t)))},He.prototype.slice=function(t,r){t=ze(t);var o=this;return o.__filtered__&&(t>0||r<0)?new He(o):(t<0?o=o.takeRight(-t):t&&(o=o.drop(t)),r!==i&&(r=ze(r),o=r<0?o.dropRight(-r):o.take(r-t)),o)},He.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},He.prototype.toArray=function(){return this.take(Se)},xn(He.prototype,function(t,r){var o=/^(?:filter|find|map|reject)|While$/.test(r),u=/^(?:head|last)$/.test(r),g=y[u?"take"+(r=="last"?"Right":""):r],b=u||/^find/.test(r);g&&(y.prototype[r]=function(){var S=this.__wrapped__,A=u?[1]:arguments,O=S instanceof He,U=A[0],G=O||Ie(S),Y=function(We){var Ve=g.apply(y,Hn([We],A));return u&&ce?Ve[0]:Ve};G&&o&&typeof U=="function"&&U.length!=1&&(O=G=!1);var ce=this.__chain__,me=!!this.__actions__.length,_e=b&&!ce,Le=O&&!me;if(!b&&G){S=Le?S:new He(this);var Ce=t.apply(S,A);return Ce.__actions__.push({func:$o,args:[Y],thisArg:i}),new en(Ce,ce)}return _e&&Le?t.apply(this,A):(Ce=this.thru(Y),_e?u?Ce.value()[0]:Ce.value():Ce)})}),Qt(["pop","push","shift","sort","splice","unshift"],function(t){var r=Qi[t],o=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",u=/^(?:pop|shift)$/.test(t);y.prototype[t]=function(){var g=arguments;if(u&&!this.__chain__){var b=this.value();return r.apply(Ie(b)?b:[],g)}return this[o](function(S){return r.apply(Ie(S)?S:[],g)})}}),xn(He.prototype,function(t,r){var o=y[r];if(o){var u=o.name+"";Ye.call(Fr,u)||(Fr[u]=[]),Fr[u].push({name:r,func:o})}}),Fr[vo(i,T).name]=[{name:"wrapper",func:i}],He.prototype.clone=hp,He.prototype.reverse=pp,He.prototype.value=gp,y.prototype.at=Vm,y.prototype.chain=Nm,y.prototype.commit=Um,y.prototype.next=Gm,y.prototype.plant=Km,y.prototype.reverse=Ym,y.prototype.toJSON=y.prototype.valueOf=y.prototype.value=Xm,y.prototype.first=y.prototype.head,ci&&(y.prototype[ci]=qm),y},Rr=Uh();ir?((ir.exports=Rr)._=Rr,Es._=Rr):wt._=Rr}).call(nb)}(Ii,Ii.exports)),Ii.exports}var Ne=rb();const cl=e=>({none:0,hairline:e*.5,thin:e,thick:e*2,heavy:e*4}),ul=e=>({none:0,xs:e*.5,sm:e,md:e*2,lg:e*3,xl:e*4,full:9999}),ib=e=>["none","hairline","thin","thick","heavy"].includes(e),Df=e=>["none","xs","sm","md","lg","xl","full"].includes(e),ss={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"},Pf=e=>e in ss,Wf={primary:["#543ACC","#6949FF"],secondary:["#E0A800","#FFC107"],success:["#0FB57A","#12D18E"],danger:["#E64545","#F75555"],warning:["#E1B70D","#FACC15"],info:["#543ACC","#6949FF"]},ob=e=>["primary","secondary","success","danger","warning","info"].includes(e),sb=1,ab=8,lb=8,cb="Inter",ub="Sora",db=10,fb=4,Pn={borderWidth:sb,space:ab,size:lb,font:{neutral:cb,heading:ub},fontSize:db,radius:fb},Bf=e=>({none:"none",sm:`0 1px 2px 0 ${e.grey400}40`,md:`0 4px 6px -1px ${e.grey500}40, 0 2px 4px -1px ${e.grey400}40`,lg:`0 10px 15px -3px ${e.grey600}40, 0 4px 6px -2px ${e.grey500}40`}),hb=e=>["none","sm","md","lg"].includes(e),dl=e=>({"2xs":e*.5,xs:e,sm:e*2,"sm-md":e*2.5,md:e*4,"md-lg":e*6,lg:e*8,xl:e*16,"2xl":e*32,"3xl":e*64,"4xl":e*128}),yr=e=>["2xs","xs","sm","sm-md","md","md-lg","lg","xl","2xl","3xl","4xl"].includes(e),fl=e=>({none:0,"2xs":e*.25,xs:e*.5,sm:e,"sm-md":e*1.5,md:e*2,"md-lg":e*2.5,lg:e*3,xl:e*4,"2xl":e*5,"3xl":e*6,"4xl":e*8,"5xl":e*10,"6xl":e*12,"7xl":e*14,"8xl":e*16,"9xl":e*18,"10xl":e*20,"-xxs":e*-.25,"-xs":e*-.5,"-sm":e*-1,"-sm-md":e*-1.5,"-md":e*-2,"-md-lg":e*-2.5,"-lg":e*-3,"-xl":e*-4,"-2xl":e*-5,"-3xl":e*-6,"-4xl":e*-8,"-5xl":e*-10,"-6xl":e*-12,"-7xl":e*-14,"-8xl":e*-16,"-9xl":e*-18,"-10xl":e*-20}),Hf=e=>["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(e),hl=({neutral:e,heading:n})=>({neutral:`"${e}", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif`,heading:`"${n}", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif`}),as=e=>({"2xs":e*.75,xs:e,small:e*1.25,medium:e*1.5,large:e*2,xl:e*2.5,"2xl":e*3,"3xl":e*3.5,"4xl":e*4,"5xl":e*5,"6xl":e*6}),pl=e=>{const n=as(e),i=1.4;return{"2xs":n["2xs"]*i,xs:n.xs*i,small:n.small*i,medium:n.medium*i,large:n.large*i,xl:n.xl*i,"2xl":n["2xl"]*i,"3xl":n["3xl"]*i,"4xl":n["4xl"]*i,"5xl":n["5xl"]*i,"6xl":n["6xl"]*i}},gl=()=>({"extra-light":100,thin:200,light:300,regular:400,medium:500,semibold:600,bold:700,extrabold:800,black:900}),pb=e=>["2xs","xs","small","medium","large","xl","2xl","3xl","4xl","5xl","6xl"].includes(e),gb=e=>["extra-light","thin","light","regular","medium","semibold","bold","extrabold","black"].includes(e);class mb{constructor({baseZIndex:n=10,step:i=10}={}){Wr(this,"dependencies",new Map);Wr(this,"zIndexes",null);Wr(this,"nodes",new Set);Wr(this,"baseZIndex");Wr(this,"step");this.baseZIndex=n,this.step=i}register(n,i){this.nodes.add(n),this.nodes.add(i),this.dependencies.has(n)||this.dependencies.set(n,new Set),this.dependencies.get(n).add(i),this.zIndexes=null}deregister(n,i){const s=this.dependencies.get(n);s&&s.delete(i),this.zIndexes=null}getZIndex(n){return this.zIndexes||this._calculateZIndexes(),this.zIndexes.has(n)?this.zIndexes.get(n):(console.warn(`[ZIndexRegistry] ID '${n}' not found in the calculated z-index map. Returning a fallback value. Was it ever registered?`),this.baseZIndex)}_calculateZIndexes(){const n=new Map;for(const a of this.nodes)n.set(a,0);for(const a of this.dependencies.values())for(const l of a)n.set(l,(n.get(l)||0)+1);const i=[];for(const[a,l]of n.entries())l===0&&i.push(a);const s=[];for(;i.length>0;){const a=i.shift();s.push(a);const l=this.dependencies.get(a)||new Set;for(const d of l){const f=(n.get(d)||0)-1;n.set(d,f),f===0&&i.push(d)}}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 a=0;a<s.length;a++){const l=s[a];this.zIndexes.set(l,this.baseZIndex+a*this.step)}}}const wr=new mb({baseZIndex:100,step:10}),yn={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"};wr.register(yn.AIC_Kits_PageContent,yn.AIC_Kits_Carousel);wr.register(yn.AIC_Kits_Carousel,yn.AIC_Kits_Dropdown);wr.register(yn.AIC_Kits_Dropdown,yn.AIC_Kits_Tooltip);wr.register(yn.AIC_Kits_Tooltip,yn.AIC_Kits_Modal);wr.register(yn.AIC_Kits_Modal,yn.AIC_Kits_Notification);const yb=(e=Pn,n=ss,i=Wf)=>{const s=hl(e.font),a=as(e.fontSize),l=pl(e.fontSize),d=gl(),f=cl(e.borderWidth),h=fl(e.space),p=dl(e.size),x=ul(e.radius),w=Bf(n);return{colors:n,gradientColors:i,fonts:s,fontSizes:a,lineHeights:l,fontWeights:d,borderWidths:f,spaces:h,sizes:p,radii:x,shadows:w}},Zf=e=>({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"}}),Vf=e=>({defaultSize:"md",defaultIconSize:"md",defaultEmojiSize:"lg",defaultBrandSize:"md",defaultImageSize:"md",defaultSvgSize:"md"}),Nf=e=>({defaultSize:"md",defaultFallbackTextSize:"medium",fallbackBackgroundColor:"grey400",sizes:{sm:{fallbackTextSize:"small"},md:{fallbackTextSize:"medium"},lg:{fallbackTextSize:"xl"}}}),Uf=e=>({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"}}}),Gf=e=>({defaultBackgroundColor:"white",defaultHeaderParams:{backgroundColor:"white"},desktopMediaQuery:"(min-width: 768px)",mobilePaddingX:"md",desktopPaddingX:"xl",desktopContentMaxWidth:"1200px"}),qf=e=>({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"}}}),Kf=e=>({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"}}),Yf=e=>({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"}}),Xf=e=>{const n="primary",i="primary",s="white",a="grey300",l="grey100",d="grey400",f="primary",h="grey400",p="transparent";return{defaultSize:"md",defaultVariant:"outlined",defaultColor:n,borderRadii:{container:"lg",dateCell:"full",input:"md"},sizes:{sm:{containerPadding:"md",panelGap:"md",headerHeight:"xl",headerFontSize:"medium",headerFontWeight:"semibold",navButtonSize:"sm",navIconSize:"sm",weekdayFontSize:"2xs",dateCellSize:"xl",dateFontSize:"small",cellGap:"xs",timezoneFontSize:"2xs",borderWidth:"thin",viewHeight:258,viewWidth:280},md:{containerPadding:"lg",panelGap:"lg",headerHeight:"2xl",headerFontSize:"large",headerFontWeight:"semibold",navButtonSize:"sm-md",navIconSize:"sm-md",weekdayFontSize:"xs",dateCellSize:"2xl",dateFontSize:"medium",cellGap:"xs",timezoneFontSize:"xs",borderWidth:"thin",viewHeight:334,viewWidth:304},lg:{containerPadding:"xl",panelGap:"xl",headerHeight:"3xl",headerFontSize:"xl",headerFontWeight:"semibold",navButtonSize:"md",navIconSize:"md",weekdayFontSize:"small",dateCellSize:"3xl",dateFontSize:"large",cellGap:"xs",timezoneFontSize:"small",borderWidth:"thin",viewHeight:399,viewWidth:360}},variants:{outlined:{container:{backgroundColor:"white",borderColor:a},dateCells:{default:{backgroundColor:p,textColor:"grey900",borderColor:p},hover:{backgroundColor:l,textColor:"grey900",borderColor:p},today:{backgroundColor:p,textColor:f,borderColor:n},selected:{backgroundColor:i,textColor:s,borderColor:i},disabled:{backgroundColor:p,textColor:d,borderColor:p},outsideMonth:{backgroundColor:p,textColor:h,borderColor:p}}},filled:{container:{backgroundColor:"grey100",borderColor:p},dateCells:{default:{backgroundColor:p,textColor:"grey900",borderColor:p},hover:{backgroundColor:"grey200",textColor:"grey900",borderColor:p},today:{backgroundColor:p,textColor:f,borderColor:n},selected:{backgroundColor:i,textColor:s,borderColor:i},disabled:{backgroundColor:p,textColor:d,borderColor:p},outsideMonth:{backgroundColor:p,textColor:h,borderColor:p}}}},colors:{headerText:"grey900",weekdayText:"grey600",labelText:"grey700",helperText:"grey600",errorText:"danger",placeholderText:"grey500",selectedDateDisplay:"grey900",timezoneText:"grey700",timezoneIconColor:"grey600"},calendar:{weeksToShow:6,daysInWeek:7,panelMinWidth:280},popup:{offset:"sm",shadow:"lg",zIndex:110},animation:{duration:200,easing:"ease-out"},input:{iconColor:"grey600",borderColor:"grey300",focusBorderColor:n,errorBorderColor:"danger"}}},Qf=e=>({defaultColor:"grey300",defaultThickness:1}),Jf=e=>{const n=`0 0 16px 4px ${e.colors.grey400}40`;return{backgroundColor:"grey100",padding:"xs",radius:"full",avatarSize:"md",loadingGap:"sm",navItem:{radius:"full",paddingX:"md",paddingY:"sm",gap:"xs",large:{gap:"sm",containerHeight:30,fontSize:"large",iconSize:28,loadingSize:"small"},medium:{gap:"xs",containerHeight:24,fontSize:"medium",iconSize:22,loadingSize:"small"},active:{fontWeight:"medium",color:"black",backgroundColor:"white",hoverBackgroundColor:"white",hoverBoxShadow:n},inactive:{fontWeight:"regular",color:"grey600",backgroundColor:"transparent",hoverBackgroundColor:"white",hoverBoxShadow:n},hover:{color:"primary"}},profileDropdown:{offset:{top:72,right:0},containerPaddingRight:"md",spacingTop:"sm",padding:"sm",gap:"sm",borderRadius:24,boxShadow:n,backgroundColor:"white",defaultMaxHeight:300,minWidth:50,animationDuration:300},navDropdown:{spacingTop:"sm",paddingX:"md-lg",paddingY:"md",gap:"sm-md",borderRadius:24,boxShadow:n,backgroundColor:"white",defaultMaxHeight:300,minWidth:50,animationDuration:300}}},e0=e=>{const n="grey300",i="danger",s="primary",a="grey100",l="grey300",d="grey500",f="white",h="grey900",p="thin",x=`inset 0 0 0 ${e.borderWidths.thin}px ${e.colors[s]}`,w=`inset 0 0 0 ${e.borderWidths.thin}px ${e.colors[i]}`;return{borderRadius:"md",borderWidth:p,padding:{vertical:"sm",horizontal:"md"},fontSize:"medium",placeholderColor:"grey500",iconSpacing:"sm",iconSize:"sm-md",iconColor:"grey600",textColor:h,disabledTextColor:d,disabledBorderColor:l,focusColor:s,errorColor:i,states:{default:{borderColor:n,backgroundColor:f,boxShadow:"none"},focused:{borderColor:s,backgroundColor:f,boxShadow:x},error:{borderColor:i,backgroundColor:f,boxShadow:w},disabled:{borderColor:l,backgroundColor:a,boxShadow:"none"}}}},t0=e=>({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"]}}}),n0=e=>({defaultGap:"sm",defaultPadding:"none"}),r0=e=>({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}}),i0=e=>({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"}}}}}),o0=e=>({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"]}}}),s0=e=>({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"}}}),a0=e=>{const n="grey300",i="danger",s="grey300",a="grey100",l="grey400",d="grey100",f="grey200",h="white",p="transparent",x="thin",w="thick";return{defaultColor:"primary",defaultSize:"md",defaultVariant:"outlined",defaultCorner:"circle",squircleBorderRadii:{circle:"999px",rounded:"8px"},labelColor:"grey700",disabledLabelColor:l,valueColor:"grey900",placeholderColor:"grey500",helperTextColor:"grey600",errorColor:i,iconColor:"grey600",disabledContentColor:l,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:p,borderColor:n,borderWidth:x},hover:{backgroundColor:"grey100",borderColor:n,borderWidth:x},focused:{backgroundColor:p,borderColor:"primary",borderWidth:w},disabled:{backgroundColor:p,borderColor:s,borderWidth:x},errored:{backgroundColor:p,borderColor:i,borderWidth:x}},filled:{default:{backgroundColor:d,borderColor:p,borderWidth:x},hover:{backgroundColor:f,borderColor:p,borderWidth:x},focused:{backgroundColor:h,borderColor:"primary",borderWidth:w},disabled:{backgroundColor:a,borderColor:p,borderWidth:x},errored:{backgroundColor:h,borderColor:i,borderWidth:x}}},animation:{duration:200,easing:"ease-out"},dropdown:{backgroundColor:h,borderColor:n,shadow:"md",offset:"sm",zIndex:1e3,maxHeight:200,borderRadiusForCircle:"xl",borderRadiusForRounded:"md",itemTextColor:"grey900",itemSelectedTextColor:"grey900",itemHoverBackgroundColor:"grey100",itemSelectedBackgroundColor:"white",emptyTextColor:"grey500"}}},l0=e=>({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}}}),c0=e=>({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"}}}),u0=e=>({defaultSize:"md",defaultFormat:"24h",borderRadii:{input:"md",popup:"lg"},sizes:{sm:{inputHeight:"xl",inputPaddingHorizontal:"sm",inputFontSize:"small",iconSize:"sm",popupPadding:"sm",wheelItemHeight:28,wheelWidth:48,wheelFontSize:"small"},md:{inputHeight:"2xl",inputPaddingHorizontal:"md",inputFontSize:"medium",iconSize:"sm-md",popupPadding:"md",wheelItemHeight:36,wheelWidth:56,wheelFontSize:"medium"},lg:{inputHeight:"3xl",inputPaddingHorizontal:"lg",inputFontSize:"large",iconSize:"md",popupPadding:"lg",wheelItemHeight:44,wheelWidth:64,wheelFontSize:"large"}},colors:{inputBorder:"grey300",inputFocusBorder:"primary",inputErrorBorder:"danger",inputBg:"white",inputText:"grey900",inputPlaceholder:"grey500",labelText:"grey700",helperText:"grey600",errorText:"danger",wheelBg:"white",wheelText:"grey600",wheelSelectedBg:"primary100",wheelSelectedText:"grey900",clearButtonColor:"grey500",clearButtonHoverColor:"grey700",separatorColor:"grey400"},popup:{offset:"sm",shadow:"lg",zIndex:110},wheel:{visibleItems:3}}),d0=e=>{const n="sm";return{defaultBackgroundColor:"grey800",defaultTextColor:"white",defaultPlacement:"bottom",container:{padding:"sm",borderRadius:"md",shadow:"md",zIndex:9999,maxWidth:"300px"},text:{fontSize:"small"},positioning:{spacing:n,placements:{top:{bottom:"100%",left:"50%",transform:"translateX(-50%)",mb:n},bottom:{top:"100%",left:"50%",transform:"translateX(-50%)",mt:n},left:{top:"50%",right:"100%",transform:"translateY(-50%)",mr:n},right:{top:"50%",left:"100%",transform:"translateY(-50%)",ml:n}}}}},f0=e=>({animation:{minScale:.92,maxScale:1,minOpacity:.7,maxOpacity:1,springConfig:{mass:.5}}}),h0=e=>({defaultAccentColor:"#00adef",aspectRatio:56.25,playerSettings:{autoplay:!1,muted:!1,loop:!1,title:!1,byline:!1,portrait:!1,controls:!0}}),p0=e=>({art:Vf(),base:Gf(),button:qf(),divider:Qf(),header:Jf(e),input:e0(e),list:n0(),loading:r0(),pagination:i0(),skeleton:l0(),touchable:f0(),vimeo:h0(),carousel:Kf(),accordion:Zf(),tag:c0(),checkbox:Yf(),select:a0(),progress:s0(),avatar:Nf(),tooltip:d0(),barChart:Uf(),pieChart:o0(),lineChart:t0(),datepicker:Xf(),timepicker:u0()}),bb=fl(Pn.space),xb=dl(Pn.size),vb=cl(Pn.borderWidth),wb=ul(Pn.radius),_b=as(Pn.fontSize),Cb=pl(Pn.fontSize),Sb=gl(),ld=hl(Pn.font),Eb={spaces:bb,sizes:xb,colors:ss,radii:wb,borderWidths:vb,fonts:ld,zIndex:wr,__hd__:{text:{fontSizes:_b,lineHeights:Cb,fontWeights:Sb,fonts:ld}}};function g0(){const e=Eb,n=p0(e);return{...e,__hd__:{...e.__hd__,...n}}}const Go=g0(),ue=er.styled,Sn=er.keyframes,lt=er.css,m0=(e,n)=>!["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(e),kb=e=>typeof e=="function"?e(Go):e?{...Go,...e}:Go,$b=({theme:e,children:n})=>{const i=kb(e);return m.jsx(er.StyleSheetManager,{shouldForwardProp:m0,children:m.jsx(er.ThemeProvider,{theme:i,children:n})})},be=er.useTheme,Ct=()=>typeof document>"u",Bi={xs:0,sm:600,md:900,lg:1200,xl:1536},Li=Object.keys(Bi),ls=e=>Ne.isObject(e)&&("xs"in e||"sm"in e||"md"in e||"lg"in e||"xl"in e),Kt=(e,n)=>ls(e)?Object.fromEntries(Object.entries(e).map(([i,s])=>[i,n(s)])):n(e),Qa=e=>Ne.reduce(e,(n,i,s)=>(Ne.forEach(i,(a,l)=>{Ne.has(n,l)||Ne.set(n,l,{}),Ne.set(n,[l,s],a)}),n),{}),y0=(e,n)=>{const i=Object.fromEntries(Object.keys(e).map(f=>[f,ml(e[f])])),s=Qa(i),a=Object.fromEntries(Li.map(f=>[f,n(s[f])])),l=Qa(a);return Object.fromEntries(Object.entries(l).map(([f,h])=>[f,x0(h)]))},b0=(e,n)=>{if(!ls(e))return e;switch(n){case"xs":return e.xs??e.sm??e.md??e.lg??e.xl;case"sm":return e.sm??e.xs??e.md??e.lg??e.xl;case"md":return e.md??e.sm??e.xs??e.lg??e.xl;case"lg":return e.lg??e.md??e.sm??e.xs??e.xl;case"xl":return e.xl??e.lg??e.md??e.sm??e.xs}},ml=e=>Object.fromEntries(Object.keys(Bi).map(n=>[n,b0(e,n)])),x0=e=>{let n=e.xs;const i={xs:n};for(let s=1;s<Li.length;s++){const a=Li[s],l=e[a];Ne.isEqual(l,n)||(i[a]=l,n=l)}return Object.keys(i).length===1?i.xs:i},Jr=e=>{const[n,i]=Ne.partition(Object.entries(e),([l,d])=>ls(d)),s=Object.fromEntries(n.map(([l,d])=>[l,ml(d)])),a=Ne.compact(Li.map(l=>{const d=Object.fromEntries(Object.keys(s).map(h=>[h,s[h][l]]));if(l==="xs"){const h={...Object.fromEntries(i),...d};return Ne.isEmpty(h)?null:lt(h)}if(Ne.isEmpty(d))return null;const f=`(min-width: ${Bi[l]}px)`;return lt`
|
|
28
|
+
@media ${f} {
|
|
29
|
+
${lt(d)}
|
|
30
30
|
}
|
|
31
|
-
`}));return st`${l}`},xv={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"}},wv={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"}},_v={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"}},Cv={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"}},ld={...xv,...wv,..._v,...Cv},ud=["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"],Ts=["absoluteFill","fullWidth","fullHeight","fw","fh"],cd={absoluteFill:{position:"absolute",top:0,bottom:0,left:0,right:0},fullWidth:{width:"100%"},fullHeight:{height:"100%"},fw:{width:"100%"},fh:{height:"100%"}},fd=(t,r,i)=>{const a=ld[r],l=i[r];if(!l)return;const{scale:u,property:f}=a;switch(u){case"colors":return{[f]:Dt(l,h=>t.colors[h])};case"spaces":return{[f]:Dt(l,h=>t.spaces[h])};case"radii":return{[f]:Dt(l,h=>t.radii[h])};case"borderWidths":return{[f]:Dt(l,h=>t.borderWidths[h])}}},dd=(t,r)=>Object.keys(r).reduce((a,l)=>({...a,...fd(t,l,r)}),{}),Sv=t=>Ts.reduce((r,i)=>t[i]?{...r,...cd[i]}:r,{}),hd=Object.keys(ld),pd=(t,r)=>{const i=ze.pick(r,hd),a=ze.pick(r,[...ud]),l=ze.pick(r,[...Ts]);return Mr({...dd(t,i),...Sv(l),...a})},gd=se.div(({theme:t,...r})=>pd(t,r));function Ev({children:t,style:r,"data-testid":i,...a},l){return y.jsx(gd,{...a,style:r,ref:l,"data-testid":i,children:t})}const X=d.forwardRef(Ev),wt=(t,r)=>typeof r=="number"?`${r}px`:ze.isString(r)?ir(r)?`${t.sizes[r]}px`:r:"auto",md=t=>new RegExp("\\p{Emoji}","u").test(t)&&t.length<=2,vd=t=>ze.isString(t)&&t.includes("icon-"),yd=t=>{const r=[".jpg",".jpeg",".png",".gif",".webp",".svg"],i=t.toLowerCase();return ze.isString(t)&&(r.some(a=>i.endsWith(a))||t.startsWith("data:image/")||t.startsWith("http"))},bd=t=>ze.isString(t)&&t.startsWith("<svg"),xd=({art:t,width:r,height:i,style:a,"data-testid":l,...u})=>{const f=xe(),h=f.__hd__.art.defaultBrandSize||f.__hd__.art.defaultSize,g=wt(f,r??h),v=wt(f,i??h);return y.jsx(X,{display:"flex",alignItems:"center",justifyContent:"center",width:g,height:v,style:a,"data-testid":l,...u,children:t})},wd=({art:t,size:r,style:i,"data-testid":a,...l})=>{const u=xe(),f=u.__hd__.art.defaultEmojiSize||u.__hd__.art.defaultSize,h=wt(u,r??f),g=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]/g}`:"1";return y.jsx(X,{display:"flex",alignItems:"center",justifyContent:"center",width:h,height:h,style:{...i,fontSize:h,lineHeight:v},"data-testid":a,...l,children:t})},Rs=({art:t,size:r,color:i="currentColor",weight:a="regular",style:l,"data-testid":u,...f})=>{const h=xe(),g=h.__hd__.art.defaultIconSize||h.__hd__.art.defaultSize,v=wt(h,r??g),_=t;if(!_)return process.env.NODE_ENV!=="production"&&console.warn(`[IconArt] Icon component not found for art="${t}". This should not happen with TypeScript checks.`),null;const S=Tf(i)?h.colors[i]:i;return y.jsx(X,{display:"flex",alignItems:"center",justifyContent:"center",width:v,height:v,style:l,"data-testid":u,...f,children:y.jsx(_,{size:v,color:S,weight:a,style:l})})},Av=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"}))]]),$v=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"}))]]),kv=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"}))]]),Tv=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"}))]]),Rv=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"}))]]),Lv=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"}))]]),Ov=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"}))]]),Iv=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"}))]]),Mv=new Map([["bold",d.createElement(d.Fragment,null,d.createElement("path",{d:"M232.49,215.51,185,168a92.12,92.12,0,1,0-17,17l47.53,47.54a12,12,0,0,0,17-17ZM44,112a68,68,0,1,1,68,68A68.07,68.07,0,0,1,44,112Z"}))],["duotone",d.createElement(d.Fragment,null,d.createElement("path",{d:"M192,112a80,80,0,1,1-80-80A80,80,0,0,1,192,112Z",opacity:"0.2"}),d.createElement("path",{d:"M229.66,218.34,179.6,168.28a88.21,88.21,0,1,0-11.32,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z"}))],["fill",d.createElement(d.Fragment,null,d.createElement("path",{d:"M168,112a56,56,0,1,1-56-56A56,56,0,0,1,168,112Zm61.66,117.66a8,8,0,0,1-11.32,0l-50.06-50.07a88,88,0,1,1,11.32-11.31l50.06,50.06A8,8,0,0,1,229.66,229.66ZM112,184a72,72,0,1,0-72-72A72.08,72.08,0,0,0,112,184Z"}))],["light",d.createElement(d.Fragment,null,d.createElement("path",{d:"M228.24,219.76l-51.38-51.38a86.15,86.15,0,1,0-8.48,8.48l51.38,51.38a6,6,0,0,0,8.48-8.48ZM38,112a74,74,0,1,1,74,74A74.09,74.09,0,0,1,38,112Z"}))],["regular",d.createElement(d.Fragment,null,d.createElement("path",{d:"M229.66,218.34l-50.07-50.06a88.11,88.11,0,1,0-11.31,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z"}))],["thin",d.createElement(d.Fragment,null,d.createElement("path",{d:"M226.83,221.17l-52.7-52.7a84.1,84.1,0,1,0-5.66,5.66l52.7,52.7a4,4,0,0,0,5.66-5.66ZM36,112a76,76,0,1,1,76,76A76.08,76.08,0,0,1,36,112Z"}))]]),Fv=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"}))]]),zv=d.createContext({color:"currentColor",size:"1em",weight:"regular",mirrored:!1});var jv=Object.defineProperty,yo=Object.getOwnPropertySymbols,_d=Object.prototype.hasOwnProperty,Cd=Object.prototype.propertyIsEnumerable,yc=(t,r,i)=>r in t?jv(t,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[r]=i,bc=(t,r)=>{for(var i in r||(r={}))_d.call(r,i)&&yc(t,i,r[i]);if(yo)for(var i of yo(r))Cd.call(r,i)&&yc(t,i,r[i]);return t},xc=(t,r)=>{var i={};for(var a in t)_d.call(t,a)&&r.indexOf(a)<0&&(i[a]=t[a]);if(t!=null&&yo)for(var a of yo(t))r.indexOf(a)<0&&Cd.call(t,a)&&(i[a]=t[a]);return i};const Sd=d.forwardRef((t,r)=>{const i=t,{alt:a,color:l,size:u,weight:f,mirrored:h,children:g,weights:v}=i,_=xc(i,["alt","color","size","weight","mirrored","children","weights"]),S=d.useContext(zv),{color:E="currentColor",size:x,weight:C="regular",mirrored:F=!1}=S,R=xc(S,["color","size","weight","mirrored"]);return d.createElement("svg",bc(bc({ref:r,xmlns:"http://www.w3.org/2000/svg",width:u??x,height:u??x,fill:l??E,viewBox:"0 0 256 256",transform:h||F?"scale(-1, 1)":void 0},R),_),!!a&&d.createElement("title",null,a),g,v.get(f??C))});Sd.displayName="IconBase";const dn=Sd;var Bv=Object.defineProperty,Pv=Object.defineProperties,Wv=Object.getOwnPropertyDescriptors,wc=Object.getOwnPropertySymbols,Dv=Object.prototype.hasOwnProperty,Hv=Object.prototype.propertyIsEnumerable,_c=(t,r,i)=>r in t?Bv(t,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[r]=i,Zv=(t,r)=>{for(var i in r||(r={}))Dv.call(r,i)&&_c(t,i,r[i]);if(wc)for(var i of wc(r))Hv.call(r,i)&&_c(t,i,r[i]);return t},Vv=(t,r)=>Pv(t,Wv(r));const Ed=d.forwardRef((t,r)=>d.createElement(dn,Vv(Zv({ref:r},t),{weights:Av})));Ed.displayName="CaretDoubleLeft";var Nv=Object.defineProperty,Uv=Object.defineProperties,qv=Object.getOwnPropertyDescriptors,Cc=Object.getOwnPropertySymbols,Gv=Object.prototype.hasOwnProperty,Kv=Object.prototype.propertyIsEnumerable,Sc=(t,r,i)=>r in t?Nv(t,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[r]=i,Xv=(t,r)=>{for(var i in r||(r={}))Gv.call(r,i)&&Sc(t,i,r[i]);if(Cc)for(var i of Cc(r))Kv.call(r,i)&&Sc(t,i,r[i]);return t},Yv=(t,r)=>Uv(t,qv(r));const Ad=d.forwardRef((t,r)=>d.createElement(dn,Yv(Xv({ref:r},t),{weights:$v})));Ad.displayName="CaretDoubleRight";var Qv=Object.defineProperty,Jv=Object.defineProperties,ey=Object.getOwnPropertyDescriptors,Ec=Object.getOwnPropertySymbols,ty=Object.prototype.hasOwnProperty,ny=Object.prototype.propertyIsEnumerable,Ac=(t,r,i)=>r in t?Qv(t,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[r]=i,ry=(t,r)=>{for(var i in r||(r={}))ty.call(r,i)&&Ac(t,i,r[i]);if(Ec)for(var i of Ec(r))ny.call(r,i)&&Ac(t,i,r[i]);return t},iy=(t,r)=>Jv(t,ey(r));const Ls=d.forwardRef((t,r)=>d.createElement(dn,iy(ry({ref:r},t),{weights:kv})));Ls.displayName="CaretDown";var oy=Object.defineProperty,ay=Object.defineProperties,sy=Object.getOwnPropertyDescriptors,$c=Object.getOwnPropertySymbols,ly=Object.prototype.hasOwnProperty,uy=Object.prototype.propertyIsEnumerable,kc=(t,r,i)=>r in t?oy(t,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[r]=i,cy=(t,r)=>{for(var i in r||(r={}))ly.call(r,i)&&kc(t,i,r[i]);if($c)for(var i of $c(r))uy.call(r,i)&&kc(t,i,r[i]);return t},fy=(t,r)=>ay(t,sy(r));const Os=d.forwardRef((t,r)=>d.createElement(dn,fy(cy({ref:r},t),{weights:Tv})));Os.displayName="CaretLeft";var dy=Object.defineProperty,hy=Object.defineProperties,py=Object.getOwnPropertyDescriptors,Tc=Object.getOwnPropertySymbols,gy=Object.prototype.hasOwnProperty,my=Object.prototype.propertyIsEnumerable,Rc=(t,r,i)=>r in t?dy(t,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[r]=i,vy=(t,r)=>{for(var i in r||(r={}))gy.call(r,i)&&Rc(t,i,r[i]);if(Tc)for(var i of Tc(r))my.call(r,i)&&Rc(t,i,r[i]);return t},yy=(t,r)=>hy(t,py(r));const gi=d.forwardRef((t,r)=>d.createElement(dn,yy(vy({ref:r},t),{weights:Rv})));gi.displayName="CaretRight";var by=Object.defineProperty,xy=Object.defineProperties,wy=Object.getOwnPropertyDescriptors,Lc=Object.getOwnPropertySymbols,_y=Object.prototype.hasOwnProperty,Cy=Object.prototype.propertyIsEnumerable,Oc=(t,r,i)=>r in t?by(t,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[r]=i,Sy=(t,r)=>{for(var i in r||(r={}))_y.call(r,i)&&Oc(t,i,r[i]);if(Lc)for(var i of Lc(r))Cy.call(r,i)&&Oc(t,i,r[i]);return t},Ey=(t,r)=>xy(t,wy(r));const $d=d.forwardRef((t,r)=>d.createElement(dn,Ey(Sy({ref:r},t),{weights:Lv})));$d.displayName="Check";var Ay=Object.defineProperty,$y=Object.defineProperties,ky=Object.getOwnPropertyDescriptors,Ic=Object.getOwnPropertySymbols,Ty=Object.prototype.hasOwnProperty,Ry=Object.prototype.propertyIsEnumerable,Mc=(t,r,i)=>r in t?Ay(t,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[r]=i,Ly=(t,r)=>{for(var i in r||(r={}))Ty.call(r,i)&&Mc(t,i,r[i]);if(Ic)for(var i of Ic(r))Ry.call(r,i)&&Mc(t,i,r[i]);return t},Oy=(t,r)=>$y(t,ky(r));const kd=d.forwardRef((t,r)=>d.createElement(dn,Oy(Ly({ref:r},t),{weights:Ov})));kd.displayName="Eye";var Iy=Object.defineProperty,My=Object.defineProperties,Fy=Object.getOwnPropertyDescriptors,Fc=Object.getOwnPropertySymbols,zy=Object.prototype.hasOwnProperty,jy=Object.prototype.propertyIsEnumerable,zc=(t,r,i)=>r in t?Iy(t,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[r]=i,By=(t,r)=>{for(var i in r||(r={}))zy.call(r,i)&&zc(t,i,r[i]);if(Fc)for(var i of Fc(r))jy.call(r,i)&&zc(t,i,r[i]);return t},Py=(t,r)=>My(t,Fy(r));const Td=d.forwardRef((t,r)=>d.createElement(dn,Py(By({ref:r},t),{weights:Iv})));Td.displayName="EyeSlash";var Wy=Object.defineProperty,Dy=Object.defineProperties,Hy=Object.getOwnPropertyDescriptors,jc=Object.getOwnPropertySymbols,Zy=Object.prototype.hasOwnProperty,Vy=Object.prototype.propertyIsEnumerable,Bc=(t,r,i)=>r in t?Wy(t,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[r]=i,Ny=(t,r)=>{for(var i in r||(r={}))Zy.call(r,i)&&Bc(t,i,r[i]);if(jc)for(var i of jc(r))Vy.call(r,i)&&Bc(t,i,r[i]);return t},Uy=(t,r)=>Dy(t,Hy(r));const Rd=d.forwardRef((t,r)=>d.createElement(dn,Uy(Ny({ref:r},t),{weights:Mv})));Rd.displayName="MagnifyingGlass";var qy=Object.defineProperty,Gy=Object.defineProperties,Ky=Object.getOwnPropertyDescriptors,Pc=Object.getOwnPropertySymbols,Xy=Object.prototype.hasOwnProperty,Yy=Object.prototype.propertyIsEnumerable,Wc=(t,r,i)=>r in t?qy(t,r,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[r]=i,Qy=(t,r)=>{for(var i in r||(r={}))Xy.call(r,i)&&Wc(t,i,r[i]);if(Pc)for(var i of Pc(r))Yy.call(r,i)&&Wc(t,i,r[i]);return t},Jy=(t,r)=>Gy(t,Ky(r));const Ld=d.forwardRef((t,r)=>d.createElement(dn,Jy(Qy({ref:r},t),{weights:Fv})));Ld.displayName="SmileyXEyes";function eb(t){const r=d.useRef(void 0);return d.useEffect(()=>{r.current=t},[t]),r.current}const tb=Dn.keyframes`
|
|
31
|
+
`}));return lt`${a}`},Ab={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"}},Tb={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"}},Rb={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"}},Ib={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"}},v0={...Ab,...Tb,...Rb,...Ib},w0=["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"],yl=["absoluteFill","fullWidth","fullHeight","fw","fh"],_0={absoluteFill:{position:"absolute",top:0,bottom:0,left:0,right:0},fullWidth:{width:"100%"},fullHeight:{height:"100%"},fw:{width:"100%"},fh:{height:"100%"}},C0=(e,n,i)=>{const s=v0[n],a=i[n];if(!a)return;const{scale:l,property:d}=s;switch(l){case"colors":return{[d]:Kt(a,f=>e.colors[f])};case"spaces":return{[d]:Kt(a,f=>e.spaces[f])};case"radii":return{[d]:Kt(a,f=>e.radii[f])};case"borderWidths":return{[d]:Kt(a,f=>e.borderWidths[f])}}},S0=(e,n)=>Object.keys(n).reduce((s,a)=>({...s,...C0(e,a,n)}),{}),Mb=e=>yl.reduce((n,i)=>e[i]?{...n,..._0[i]}:n,{}),E0=Object.keys(v0),k0=(e,n)=>{const i=Ne.pick(n,E0),s=Ne.pick(n,[...w0]),a=Ne.pick(n,[...yl]);return Jr({...S0(e,i),...Mb(a),...s})},$0=ue.div(({theme:e,...n})=>k0(e,n));function Fb({children:e,style:n,"data-testid":i,...s},a){return m.jsx($0,{...s,style:n,ref:a,"data-testid":i,children:e})}const L=c.forwardRef(Fb),xt=(e,n)=>typeof n=="number"?`${n}px`:Ne.isString(n)?yr(n)?`${e.sizes[n]}px`:n:"auto",A0=e=>new RegExp("\\p{Emoji}","u").test(e)&&e.length<=2,T0=e=>Ne.isString(e)&&e.includes("icon-"),R0=e=>{const n=[".jpg",".jpeg",".png",".gif",".webp",".svg"],i=e.toLowerCase();return Ne.isString(e)&&(n.some(s=>i.endsWith(s))||e.startsWith("data:image/")||e.startsWith("http"))},I0=e=>Ne.isString(e)&&e.startsWith("<svg"),M0=({art:e,width:n,height:i,style:s,"data-testid":a,...l})=>{const d=be(),f=d.__hd__.art.defaultBrandSize||d.__hd__.art.defaultSize,h=xt(d,n??f),p=xt(d,i??f);return m.jsx(L,{display:"flex",alignItems:"center",justifyContent:"center",width:h,height:p,style:s,"data-testid":a,...l,children:e})},F0=({art:e,size:n,style:i,"data-testid":s,...a})=>{const l=be(),d=l.__hd__.art.defaultEmojiSize||l.__hd__.art.defaultSize,f=xt(l,n??d),h=typeof f=="string"&&f.endsWith("px")?parseInt(f,10):l.__hd__.text.fontSizes[d]??24,p=l.__hd__.text.lineHeights[d]?`${l.__hd__.text.lineHeights[d]/h}`:"1";return m.jsx(L,{display:"flex",alignItems:"center",justifyContent:"center",width:f,height:f,style:{...i,fontSize:f,lineHeight:p},"data-testid":s,...a,children:e})},bl=({art:e,size:n,color:i="currentColor",weight:s="regular",style:a,"data-testid":l,...d})=>{const f=be(),h=f.__hd__.art.defaultIconSize||f.__hd__.art.defaultSize,p=xt(f,n??h),x=e;if(!x)return process.env.NODE_ENV!=="production"&&console.warn(`[IconArt] Icon component not found for art="${e}". This should not happen with TypeScript checks.`),null;const w=Pf(i)?f.colors[i]:i;return m.jsx(L,{display:"flex",alignItems:"center",justifyContent:"center",width:p,height:p,style:a,"data-testid":l,...d,children:m.jsx(x,{size:p,color:w,weight:s,style:a})})},Ob=new Map([["bold",c.createElement(c.Fragment,null,c.createElement("path",{d:"M224.49,136.49l-72,72a12,12,0,0,1-17-17L187,140H40a12,12,0,0,1,0-24H187L135.51,64.48a12,12,0,0,1,17-17l72,72A12,12,0,0,1,224.49,136.49Z"}))],["duotone",c.createElement(c.Fragment,null,c.createElement("path",{d:"M216,128l-72,72V56Z",opacity:"0.2"}),c.createElement("path",{d:"M221.66,122.34l-72-72A8,8,0,0,0,136,56v64H40a8,8,0,0,0,0,16h96v64a8,8,0,0,0,13.66,5.66l72-72A8,8,0,0,0,221.66,122.34ZM152,180.69V75.31L204.69,128Z"}))],["fill",c.createElement(c.Fragment,null,c.createElement("path",{d:"M221.66,133.66l-72,72A8,8,0,0,1,136,200V136H40a8,8,0,0,1,0-16h96V56a8,8,0,0,1,13.66-5.66l72,72A8,8,0,0,1,221.66,133.66Z"}))],["light",c.createElement(c.Fragment,null,c.createElement("path",{d:"M220.24,132.24l-72,72a6,6,0,0,1-8.48-8.48L201.51,134H40a6,6,0,0,1,0-12H201.51L139.76,60.24a6,6,0,0,1,8.48-8.48l72,72A6,6,0,0,1,220.24,132.24Z"}))],["regular",c.createElement(c.Fragment,null,c.createElement("path",{d:"M221.66,133.66l-72,72a8,8,0,0,1-11.32-11.32L196.69,136H40a8,8,0,0,1,0-16H196.69L138.34,61.66a8,8,0,0,1,11.32-11.32l72,72A8,8,0,0,1,221.66,133.66Z"}))],["thin",c.createElement(c.Fragment,null,c.createElement("path",{d:"M218.83,130.83l-72,72a4,4,0,0,1-5.66-5.66L206.34,132H40a4,4,0,0,1,0-8H206.34L141.17,58.83a4,4,0,0,1,5.66-5.66l72,72A4,4,0,0,1,218.83,130.83Z"}))]]),zb=new Map([["bold",c.createElement(c.Fragment,null,c.createElement("path",{d:"M208,28H188V24a12,12,0,0,0-24,0v4H92V24a12,12,0,0,0-24,0v4H48A20,20,0,0,0,28,48V208a20,20,0,0,0,20,20H208a20,20,0,0,0,20-20V48A20,20,0,0,0,208,28ZM68,52a12,12,0,0,0,24,0h72a12,12,0,0,0,24,0h16V76H52V52ZM52,204V100H204V204Z"}))],["duotone",c.createElement(c.Fragment,null,c.createElement("path",{d:"M216,48V88H40V48a8,8,0,0,1,8-8H208A8,8,0,0,1,216,48Z",opacity:"0.2"}),c.createElement("path",{d:"M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM72,48v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24V80H48V48ZM208,208H48V96H208V208Z"}))],["fill",c.createElement(c.Fragment,null,c.createElement("path",{d:"M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32Zm0,48H48V48H72v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24Z"}))],["light",c.createElement(c.Fragment,null,c.createElement("path",{d:"M208,34H182V24a6,6,0,0,0-12,0V34H86V24a6,6,0,0,0-12,0V34H48A14,14,0,0,0,34,48V208a14,14,0,0,0,14,14H208a14,14,0,0,0,14-14V48A14,14,0,0,0,208,34ZM48,46H74V56a6,6,0,0,0,12,0V46h84V56a6,6,0,0,0,12,0V46h26a2,2,0,0,1,2,2V82H46V48A2,2,0,0,1,48,46ZM208,210H48a2,2,0,0,1-2-2V94H210V208A2,2,0,0,1,208,210Z"}))],["regular",c.createElement(c.Fragment,null,c.createElement("path",{d:"M208,32H184V24a8,8,0,0,0-16,0v8H88V24a8,8,0,0,0-16,0v8H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM72,48v8a8,8,0,0,0,16,0V48h80v8a8,8,0,0,0,16,0V48h24V80H48V48ZM208,208H48V96H208V208Z"}))],["thin",c.createElement(c.Fragment,null,c.createElement("path",{d:"M208,36H180V24a4,4,0,0,0-8,0V36H84V24a4,4,0,0,0-8,0V36H48A12,12,0,0,0,36,48V208a12,12,0,0,0,12,12H208a12,12,0,0,0,12-12V48A12,12,0,0,0,208,36ZM48,44H76V56a4,4,0,0,0,8,0V44h88V56a4,4,0,0,0,8,0V44h28a4,4,0,0,1,4,4V84H44V48A4,4,0,0,1,48,44ZM208,212H48a4,4,0,0,1-4-4V92H212V208A4,4,0,0,1,208,212Z"}))]]),Lb=new Map([["bold",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.createElement("path",{d:"M200,48V208l-80-80Z",opacity:"0.2"}),c.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",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.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"}))]]),jb=new Map([["bold",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.createElement("path",{d:"M136,128,56,208V48Z",opacity:"0.2"}),c.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",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.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"}))]]),Db=new Map([["bold",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.createElement("path",{d:"M208,96l-80,80L48,96Z",opacity:"0.2"}),c.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",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.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"}))]]),Pb=new Map([["bold",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.createElement("path",{d:"M160,48V208L80,128Z",opacity:"0.2"}),c.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",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.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"}))]]),Wb=new Map([["bold",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.createElement("path",{d:"M176,128,96,208V48Z",opacity:"0.2"}),c.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",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.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"}))]]),Bb=new Map([["bold",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.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"}),c.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",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.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"}))]]),Hb=new Map([["bold",c.createElement(c.Fragment,null,c.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,212Zm68-84a12,12,0,0,1-12,12H128a12,12,0,0,1-12-12V72a12,12,0,0,1,24,0v44h44A12,12,0,0,1,196,128Z"}))],["duotone",c.createElement(c.Fragment,null,c.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),c.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,216Zm64-88a8,8,0,0,1-8,8H128a8,8,0,0,1-8-8V72a8,8,0,0,1,16,0v48h48A8,8,0,0,1,192,128Z"}))],["fill",c.createElement(c.Fragment,null,c.createElement("path",{d:"M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm56,112H128a8,8,0,0,1-8-8V72a8,8,0,0,1,16,0v48h48a8,8,0,0,1,0,16Z"}))],["light",c.createElement(c.Fragment,null,c.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,218Zm62-90a6,6,0,0,1-6,6H128a6,6,0,0,1-6-6V72a6,6,0,0,1,12,0v50h50A6,6,0,0,1,190,128Z"}))],["regular",c.createElement(c.Fragment,null,c.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,216Zm64-88a8,8,0,0,1-8,8H128a8,8,0,0,1-8-8V72a8,8,0,0,1,16,0v48h48A8,8,0,0,1,192,128Z"}))],["thin",c.createElement(c.Fragment,null,c.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,220Zm60-92a4,4,0,0,1-4,4H128a4,4,0,0,1-4-4V72a4,4,0,0,1,8,0v52h52A4,4,0,0,1,188,128Z"}))]]),Zb=new Map([["bold",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.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"}),c.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",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.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"}))]]),Vb=new Map([["bold",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.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"}),c.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",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.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"}))]]),Nb=new Map([["bold",c.createElement(c.Fragment,null,c.createElement("path",{d:"M232.49,215.51,185,168a92.12,92.12,0,1,0-17,17l47.53,47.54a12,12,0,0,0,17-17ZM44,112a68,68,0,1,1,68,68A68.07,68.07,0,0,1,44,112Z"}))],["duotone",c.createElement(c.Fragment,null,c.createElement("path",{d:"M192,112a80,80,0,1,1-80-80A80,80,0,0,1,192,112Z",opacity:"0.2"}),c.createElement("path",{d:"M229.66,218.34,179.6,168.28a88.21,88.21,0,1,0-11.32,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z"}))],["fill",c.createElement(c.Fragment,null,c.createElement("path",{d:"M168,112a56,56,0,1,1-56-56A56,56,0,0,1,168,112Zm61.66,117.66a8,8,0,0,1-11.32,0l-50.06-50.07a88,88,0,1,1,11.32-11.31l50.06,50.06A8,8,0,0,1,229.66,229.66ZM112,184a72,72,0,1,0-72-72A72.08,72.08,0,0,0,112,184Z"}))],["light",c.createElement(c.Fragment,null,c.createElement("path",{d:"M228.24,219.76l-51.38-51.38a86.15,86.15,0,1,0-8.48,8.48l51.38,51.38a6,6,0,0,0,8.48-8.48ZM38,112a74,74,0,1,1,74,74A74.09,74.09,0,0,1,38,112Z"}))],["regular",c.createElement(c.Fragment,null,c.createElement("path",{d:"M229.66,218.34l-50.07-50.06a88.11,88.11,0,1,0-11.31,11.31l50.06,50.07a8,8,0,0,0,11.32-11.32ZM40,112a72,72,0,1,1,72,72A72.08,72.08,0,0,1,40,112Z"}))],["thin",c.createElement(c.Fragment,null,c.createElement("path",{d:"M226.83,221.17l-52.7-52.7a84.1,84.1,0,1,0-5.66,5.66l52.7,52.7a4,4,0,0,0,5.66-5.66ZM36,112a76,76,0,1,1,76,76A76.08,76.08,0,0,1,36,112Z"}))]]),Ub=new Map([["bold",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.createElement("path",{d:"M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z",opacity:"0.2"}),c.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",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.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",c.createElement(c.Fragment,null,c.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"}))]]),Gb=new Map([["bold",c.createElement(c.Fragment,null,c.createElement("path",{d:"M208.49,191.51a12,12,0,0,1-17,17L128,145,64.49,208.49a12,12,0,0,1-17-17L111,128,47.51,64.49a12,12,0,0,1,17-17L128,111l63.51-63.52a12,12,0,0,1,17,17L145,128Z"}))],["duotone",c.createElement(c.Fragment,null,c.createElement("path",{d:"M216,56V200a16,16,0,0,1-16,16H56a16,16,0,0,1-16-16V56A16,16,0,0,1,56,40H200A16,16,0,0,1,216,56Z",opacity:"0.2"}),c.createElement("path",{d:"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["fill",c.createElement(c.Fragment,null,c.createElement("path",{d:"M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM181.66,170.34a8,8,0,0,1-11.32,11.32L128,139.31,85.66,181.66a8,8,0,0,1-11.32-11.32L116.69,128,74.34,85.66A8,8,0,0,1,85.66,74.34L128,116.69l42.34-42.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["light",c.createElement(c.Fragment,null,c.createElement("path",{d:"M204.24,195.76a6,6,0,1,1-8.48,8.48L128,136.49,60.24,204.24a6,6,0,0,1-8.48-8.48L119.51,128,51.76,60.24a6,6,0,0,1,8.48-8.48L128,119.51l67.76-67.75a6,6,0,0,1,8.48,8.48L136.49,128Z"}))],["regular",c.createElement(c.Fragment,null,c.createElement("path",{d:"M205.66,194.34a8,8,0,0,1-11.32,11.32L128,139.31,61.66,205.66a8,8,0,0,1-11.32-11.32L116.69,128,50.34,61.66A8,8,0,0,1,61.66,50.34L128,116.69l66.34-66.35a8,8,0,0,1,11.32,11.32L139.31,128Z"}))],["thin",c.createElement(c.Fragment,null,c.createElement("path",{d:"M202.83,197.17a4,4,0,0,1-5.66,5.66L128,133.66,58.83,202.83a4,4,0,0,1-5.66-5.66L122.34,128,53.17,58.83a4,4,0,0,1,5.66-5.66L128,122.34l69.17-69.17a4,4,0,1,1,5.66,5.66L133.66,128Z"}))]]),qb=c.createContext({color:"currentColor",size:"1em",weight:"regular",mirrored:!1});var Kb=Object.defineProperty,Jo=Object.getOwnPropertySymbols,O0=Object.prototype.hasOwnProperty,z0=Object.prototype.propertyIsEnumerable,cd=(e,n,i)=>n in e?Kb(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i,ud=(e,n)=>{for(var i in n||(n={}))O0.call(n,i)&&cd(e,i,n[i]);if(Jo)for(var i of Jo(n))z0.call(n,i)&&cd(e,i,n[i]);return e},dd=(e,n)=>{var i={};for(var s in e)O0.call(e,s)&&n.indexOf(s)<0&&(i[s]=e[s]);if(e!=null&&Jo)for(var s of Jo(e))n.indexOf(s)<0&&z0.call(e,s)&&(i[s]=e[s]);return i};const L0=c.forwardRef((e,n)=>{const i=e,{alt:s,color:a,size:l,weight:d,mirrored:f,children:h,weights:p}=i,x=dd(i,["alt","color","size","weight","mirrored","children","weights"]),w=c.useContext(qb),{color:_="currentColor",size:v,weight:C="regular",mirrored:R=!1}=w,k=dd(w,["color","size","weight","mirrored"]);return c.createElement("svg",ud(ud({ref:n,xmlns:"http://www.w3.org/2000/svg",width:l??v,height:l??v,fill:a??_,viewBox:"0 0 256 256",transform:f||R?"scale(-1, 1)":void 0},k),x),!!s&&c.createElement("title",null,s),h,p.get(d??C))});L0.displayName="IconBase";const Bt=L0;var Yb=Object.defineProperty,Xb=Object.defineProperties,Qb=Object.getOwnPropertyDescriptors,fd=Object.getOwnPropertySymbols,Jb=Object.prototype.hasOwnProperty,ex=Object.prototype.propertyIsEnumerable,hd=(e,n,i)=>n in e?Yb(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i,tx=(e,n)=>{for(var i in n||(n={}))Jb.call(n,i)&&hd(e,i,n[i]);if(fd)for(var i of fd(n))ex.call(n,i)&&hd(e,i,n[i]);return e},nx=(e,n)=>Xb(e,Qb(n));const xl=c.forwardRef((e,n)=>c.createElement(Bt,nx(tx({ref:n},e),{weights:Ob})));xl.displayName="ArrowRight";var rx=Object.defineProperty,ix=Object.defineProperties,ox=Object.getOwnPropertyDescriptors,pd=Object.getOwnPropertySymbols,sx=Object.prototype.hasOwnProperty,ax=Object.prototype.propertyIsEnumerable,gd=(e,n,i)=>n in e?rx(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i,lx=(e,n)=>{for(var i in n||(n={}))sx.call(n,i)&&gd(e,i,n[i]);if(pd)for(var i of pd(n))ax.call(n,i)&&gd(e,i,n[i]);return e},cx=(e,n)=>ix(e,ox(n));const vl=c.forwardRef((e,n)=>c.createElement(Bt,cx(lx({ref:n},e),{weights:zb})));vl.displayName="CalendarBlank";var ux=Object.defineProperty,dx=Object.defineProperties,fx=Object.getOwnPropertyDescriptors,md=Object.getOwnPropertySymbols,hx=Object.prototype.hasOwnProperty,px=Object.prototype.propertyIsEnumerable,yd=(e,n,i)=>n in e?ux(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i,gx=(e,n)=>{for(var i in n||(n={}))hx.call(n,i)&&yd(e,i,n[i]);if(md)for(var i of md(n))px.call(n,i)&&yd(e,i,n[i]);return e},mx=(e,n)=>dx(e,fx(n));const j0=c.forwardRef((e,n)=>c.createElement(Bt,mx(gx({ref:n},e),{weights:Lb})));j0.displayName="CaretDoubleLeft";var yx=Object.defineProperty,bx=Object.defineProperties,xx=Object.getOwnPropertyDescriptors,bd=Object.getOwnPropertySymbols,vx=Object.prototype.hasOwnProperty,wx=Object.prototype.propertyIsEnumerable,xd=(e,n,i)=>n in e?yx(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i,_x=(e,n)=>{for(var i in n||(n={}))vx.call(n,i)&&xd(e,i,n[i]);if(bd)for(var i of bd(n))wx.call(n,i)&&xd(e,i,n[i]);return e},Cx=(e,n)=>bx(e,xx(n));const D0=c.forwardRef((e,n)=>c.createElement(Bt,Cx(_x({ref:n},e),{weights:jb})));D0.displayName="CaretDoubleRight";var Sx=Object.defineProperty,Ex=Object.defineProperties,kx=Object.getOwnPropertyDescriptors,vd=Object.getOwnPropertySymbols,$x=Object.prototype.hasOwnProperty,Ax=Object.prototype.propertyIsEnumerable,wd=(e,n,i)=>n in e?Sx(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i,Tx=(e,n)=>{for(var i in n||(n={}))$x.call(n,i)&&wd(e,i,n[i]);if(vd)for(var i of vd(n))Ax.call(n,i)&&wd(e,i,n[i]);return e},Rx=(e,n)=>Ex(e,kx(n));const wl=c.forwardRef((e,n)=>c.createElement(Bt,Rx(Tx({ref:n},e),{weights:Db})));wl.displayName="CaretDown";var Ix=Object.defineProperty,Mx=Object.defineProperties,Fx=Object.getOwnPropertyDescriptors,_d=Object.getOwnPropertySymbols,Ox=Object.prototype.hasOwnProperty,zx=Object.prototype.propertyIsEnumerable,Cd=(e,n,i)=>n in e?Ix(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i,Lx=(e,n)=>{for(var i in n||(n={}))Ox.call(n,i)&&Cd(e,i,n[i]);if(_d)for(var i of _d(n))zx.call(n,i)&&Cd(e,i,n[i]);return e},jx=(e,n)=>Mx(e,Fx(n));const cs=c.forwardRef((e,n)=>c.createElement(Bt,jx(Lx({ref:n},e),{weights:Pb})));cs.displayName="CaretLeft";var Dx=Object.defineProperty,Px=Object.defineProperties,Wx=Object.getOwnPropertyDescriptors,Sd=Object.getOwnPropertySymbols,Bx=Object.prototype.hasOwnProperty,Hx=Object.prototype.propertyIsEnumerable,Ed=(e,n,i)=>n in e?Dx(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i,Zx=(e,n)=>{for(var i in n||(n={}))Bx.call(n,i)&&Ed(e,i,n[i]);if(Sd)for(var i of Sd(n))Hx.call(n,i)&&Ed(e,i,n[i]);return e},Vx=(e,n)=>Px(e,Wx(n));const ei=c.forwardRef((e,n)=>c.createElement(Bt,Vx(Zx({ref:n},e),{weights:Wb})));ei.displayName="CaretRight";var Nx=Object.defineProperty,Ux=Object.defineProperties,Gx=Object.getOwnPropertyDescriptors,kd=Object.getOwnPropertySymbols,qx=Object.prototype.hasOwnProperty,Kx=Object.prototype.propertyIsEnumerable,$d=(e,n,i)=>n in e?Nx(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i,Yx=(e,n)=>{for(var i in n||(n={}))qx.call(n,i)&&$d(e,i,n[i]);if(kd)for(var i of kd(n))Kx.call(n,i)&&$d(e,i,n[i]);return e},Xx=(e,n)=>Ux(e,Gx(n));const P0=c.forwardRef((e,n)=>c.createElement(Bt,Xx(Yx({ref:n},e),{weights:Bb})));P0.displayName="Check";var Qx=Object.defineProperty,Jx=Object.defineProperties,e6=Object.getOwnPropertyDescriptors,Ad=Object.getOwnPropertySymbols,t6=Object.prototype.hasOwnProperty,n6=Object.prototype.propertyIsEnumerable,Td=(e,n,i)=>n in e?Qx(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i,r6=(e,n)=>{for(var i in n||(n={}))t6.call(n,i)&&Td(e,i,n[i]);if(Ad)for(var i of Ad(n))n6.call(n,i)&&Td(e,i,n[i]);return e},i6=(e,n)=>Jx(e,e6(n));const _l=c.forwardRef((e,n)=>c.createElement(Bt,i6(r6({ref:n},e),{weights:Hb})));_l.displayName="Clock";var o6=Object.defineProperty,s6=Object.defineProperties,a6=Object.getOwnPropertyDescriptors,Rd=Object.getOwnPropertySymbols,l6=Object.prototype.hasOwnProperty,c6=Object.prototype.propertyIsEnumerable,Id=(e,n,i)=>n in e?o6(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i,u6=(e,n)=>{for(var i in n||(n={}))l6.call(n,i)&&Id(e,i,n[i]);if(Rd)for(var i of Rd(n))c6.call(n,i)&&Id(e,i,n[i]);return e},d6=(e,n)=>s6(e,a6(n));const W0=c.forwardRef((e,n)=>c.createElement(Bt,d6(u6({ref:n},e),{weights:Zb})));W0.displayName="Eye";var f6=Object.defineProperty,h6=Object.defineProperties,p6=Object.getOwnPropertyDescriptors,Md=Object.getOwnPropertySymbols,g6=Object.prototype.hasOwnProperty,m6=Object.prototype.propertyIsEnumerable,Fd=(e,n,i)=>n in e?f6(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i,y6=(e,n)=>{for(var i in n||(n={}))g6.call(n,i)&&Fd(e,i,n[i]);if(Md)for(var i of Md(n))m6.call(n,i)&&Fd(e,i,n[i]);return e},b6=(e,n)=>h6(e,p6(n));const B0=c.forwardRef((e,n)=>c.createElement(Bt,b6(y6({ref:n},e),{weights:Vb})));B0.displayName="EyeSlash";var x6=Object.defineProperty,v6=Object.defineProperties,w6=Object.getOwnPropertyDescriptors,Od=Object.getOwnPropertySymbols,_6=Object.prototype.hasOwnProperty,C6=Object.prototype.propertyIsEnumerable,zd=(e,n,i)=>n in e?x6(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i,S6=(e,n)=>{for(var i in n||(n={}))_6.call(n,i)&&zd(e,i,n[i]);if(Od)for(var i of Od(n))C6.call(n,i)&&zd(e,i,n[i]);return e},E6=(e,n)=>v6(e,w6(n));const H0=c.forwardRef((e,n)=>c.createElement(Bt,E6(S6({ref:n},e),{weights:Nb})));H0.displayName="MagnifyingGlass";var k6=Object.defineProperty,$6=Object.defineProperties,A6=Object.getOwnPropertyDescriptors,Ld=Object.getOwnPropertySymbols,T6=Object.prototype.hasOwnProperty,R6=Object.prototype.propertyIsEnumerable,jd=(e,n,i)=>n in e?k6(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i,I6=(e,n)=>{for(var i in n||(n={}))T6.call(n,i)&&jd(e,i,n[i]);if(Ld)for(var i of Ld(n))R6.call(n,i)&&jd(e,i,n[i]);return e},M6=(e,n)=>$6(e,A6(n));const Z0=c.forwardRef((e,n)=>c.createElement(Bt,M6(I6({ref:n},e),{weights:Ub})));Z0.displayName="SmileyXEyes";var F6=Object.defineProperty,O6=Object.defineProperties,z6=Object.getOwnPropertyDescriptors,Dd=Object.getOwnPropertySymbols,L6=Object.prototype.hasOwnProperty,j6=Object.prototype.propertyIsEnumerable,Pd=(e,n,i)=>n in e?F6(e,n,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[n]=i,D6=(e,n)=>{for(var i in n||(n={}))L6.call(n,i)&&Pd(e,i,n[i]);if(Dd)for(var i of Dd(n))j6.call(n,i)&&Pd(e,i,n[i]);return e},P6=(e,n)=>O6(e,z6(n));const us=c.forwardRef((e,n)=>c.createElement(Bt,P6(D6({ref:n},e),{weights:Gb})));us.displayName="X";function W6(e){const n=c.useRef(void 0);return c.useEffect(()=>{n.current=e},[e]),n.current}const B6=er.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
|
+
`,H6=ue.div`
|
|
39
39
|
width: 100%;
|
|
40
40
|
height: 100%;
|
|
41
|
-
border-radius: ${({theme:
|
|
42
|
-
background: ${({theme:
|
|
41
|
+
border-radius: ${({theme:e,$variant:n})=>{const i=e.__hd__.skeleton.container[n].borderRadius;switch(n){case"circle":return`${e.radii[i]}px`;case"rounded":return`${e.radii[i]}px`;default:return`${e.radii[i]}px`}}};
|
|
42
|
+
background: ${({theme:e,$visible:n})=>{const i=e.__hd__.skeleton.animation.gradient,s=e.colors[i.start],a=e.colors[i.middle],l=e.colors[i.end];return n?`linear-gradient(
|
|
43
43
|
to right,
|
|
44
|
-
${
|
|
45
|
-
${
|
|
46
|
-
${
|
|
47
|
-
)`:
|
|
48
|
-
opacity: ${({theme:
|
|
49
|
-
transition: background ${({theme:
|
|
44
|
+
${s} 8%,
|
|
45
|
+
${a} 18%,
|
|
46
|
+
${l} 33%
|
|
47
|
+
)`:s}};
|
|
48
|
+
opacity: ${({theme:e,$variant:n})=>e.__hd__.skeleton.container[n].opacity};
|
|
49
|
+
transition: background ${({theme:e})=>e.__hd__.skeleton.animation.transition.backgroundDuration}ms ease-in-out;
|
|
50
50
|
background-size: 800px 100px;
|
|
51
|
-
animation: ${
|
|
51
|
+
animation: ${B6} ${({theme:e,$duration:n})=>n||e.__hd__.skeleton.animation.duration}ms linear infinite;
|
|
52
52
|
will-change: background-position;
|
|
53
53
|
transform: translateZ(0); /* Force hardware acceleration */
|
|
54
|
-
`,
|
|
54
|
+
`,Z6=({visible:e,variant:n,animationDuration:i,children:s,...a})=>{const l=be(),[d,f]=c.useState(e),h=c.useDeferredValue(e),p=c.useDeferredValue(d),x=l.__hd__.skeleton.animation.transition.backgroundDuration,w=l.__hd__.skeleton.animation.transition.contentFadeDuration;return c.useEffect(()=>{let _;return h?f(!0):_=setTimeout(()=>{f(!1)},x),()=>{_&&clearTimeout(_)}},[x,h]),m.jsxs(L,{...a,position:"relative",children:[m.jsx(L,{fw:!0,fh:!0,position:"relative",opacity:e?0:1,transition:`opacity ${w}ms ease-in-out`,children:s}),(e||h||d||p)&&m.jsx(L,{absoluteFill:!0,opacity:e&&d?1:0,transition:`opacity ${x}ms ease-in-out`,children:m.jsx(H6,{$variant:n,$duration:i,$visible:!0})})]})},Hi=({visible:e=!0,variant:n="rectangle",children:i,animationDuration:s=1500,...a})=>m.jsx(Z6,{visible:e,variant:n,animationDuration:s,...a,children:i}),V6=ue.p.attrs(({as:e})=>({as:e||"p"}))(({$themeFontSize:e,$themeFontWeight:n,$themeColor:i,$themeTypeface:s,theme:a,$textAlign:l,$textTransform:d,$textDecoration:f,$numberOfLines:h})=>{const p=a,x=Kt(n,v=>p.__hd__.text.fontWeights[v]),w={fontSize:Kt(e,v=>`${p.__hd__.text.fontSizes[v]}px`),lineHeight:Kt(e,v=>`${p.__hd__.text.lineHeights[v]}px`),letterSpacing:Kt(e,v=>`${p.__hd__.text.fontSizes[v]*.03}px`)},_=h?y0({numberOfLines:h,themeFontSize:e},({numberOfLines:v,themeFontSize:C})=>({display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:v,minHeight:`${p.__hd__.text.lineHeights[C]*v}px`,maxHeight:`${p.__hd__.text.lineHeights[C]*v}px`,overflow:"hidden"})):{};return Jr({...w,..._,fontFamily:Kt(s,v=>p.fonts[v]),fontWeight:x,color:Kt(i,v=>p.colors[v]),textAlign:l,textTransform:d,textDecoration:f,margin:0})}),V0=[{pattern:/<strong>(.*?)<\/strong>/g,props:{fontWeight:"bold"}}],N6=(e,n,i)=>{if(typeof e!="string")return e;let s=0;const a=[];return V0.forEach(({pattern:l,props:d})=>{Array.from(e.matchAll(l)).forEach(h=>{const[p,x]=h,w=h.index;w>s&&a.push(e.slice(s,w)),a.push(c.createElement(n,{...i,...d,key:w},x)),s=w+p.length})}),s<e.length&&a.push(e.slice(s)),a},U6=e=>function(i){const{useRichText:s=!1,children:a}=i;if(!s||typeof a!="string")return m.jsx(e,{...i,children:a});const l=N6(a.toString(),e,i);return m.jsx(e,{...i,children:l})};function G6({children:e,fontSize:n="medium",fontWeight:i="regular",color:s="grey900",typeface:a="neutral",textAlign:l,textTransform:d,textDecoration:f,numberOfLines:h,"data-testid":p,as:x="p",...w},_){return m.jsx(V6,{...w,$themeFontSize:n,$themeFontWeight:i,$themeColor:s,$themeTypeface:a,$textAlign:l,$textTransform:d,$textDecoration:f,ref:_,"data-testid":p,as:x,$numberOfLines:h,children:e})}const q6=c.forwardRef(G6),Xe=U6(q6),K6=()=>m.jsxs(L,{display:"flex",alignItems:"center",justifyContent:"center",gap:"2xs",children:[m.jsx(bl,{art:Z0,size:"sm",color:"grey600"}),m.jsx(Xe,{fontSize:"xs",color:"grey600",children:"Error"})]}),Y6=ue.img`
|
|
55
55
|
width: 100%;
|
|
56
56
|
height: 100%;
|
|
57
|
-
object-fit: ${({$objectFit:
|
|
58
|
-
object-position: ${({$objectPosition:
|
|
59
|
-
aspect-ratio: ${({$aspectRatio:
|
|
60
|
-
mix-blend-mode: ${({$mixBlendMode:
|
|
61
|
-
image-rendering: ${({$imageRendering:
|
|
62
|
-
`,Id=({art:t,width:r,height:i,style:a,"data-testid":l,alt:u,fallback:f,useSkeleton:h=!0,objectFit:g,objectPosition:v,aspectRatio:_,mixBlendMode:S,imageRendering:E,...x})=>{const C=xe(),[F,R]=d.useState(!0),[I,T]=d.useState(!1),k=C.__hd__.art.defaultImageSize||C.__hd__.art.defaultSize,O=Dt(r,Ce=>wt(C,Ce??k)),M=Dt(i,Ce=>wt(C,Ce??k)),N=x.r||x.radius||x.borderRadius||"md",V=eb(t);d.useEffect(()=>{!ze.isNil(V)&&V!==t&&(R(!0),T(!1))},[t,V]);const Q=()=>{R(!1)},pe=()=>{T(!0),R(!1)};return y.jsx(X,{display:"flex",alignItems:"center",justifyContent:"center",width:O,height:M,overflow:"hidden",style:a,"data-testid":l,...x,children:y.jsxs(mi,{visible:F,width:O,height:M,r:N,children:[I&&y.jsxs(X,{width:O,height:M,r:N,display:"flex",alignItems:"center",justifyContent:"center",bgColor:"grey200",children:[!F&&f,!F&&!f&&!u&&y.jsx(ht,{fontSize:"xs",color:"grey600",children:f||u}),!F&&!f&&!u&&ub()]}),!I&&(!yt()||!h)&&y.jsx(cb,{src:t,alt:ze.isString(u)?u:"Image",onLoad:Q,onError:pe,"data-testid":l?`${l}-image`:void 0,$objectFit:g,$objectPosition:v,$aspectRatio:_,$mixBlendMode:S,$imageRendering:E}),!I&&yt()&&h&&u]})})},Md=({art:t,width:r,height:i,style:a,"data-testid":l,...u})=>{const f=xe(),h=f.__hd__.art.defaultSvgSize||f.__hd__.art.defaultSize,g=wt(f,r??h),v=wt(f,i??h);return y.jsx(X,{display:"flex",alignItems:"center",justifyContent:"center",width:g,height:v,overflow:"hidden",style:a,"data-testid":l,dangerouslySetInnerHTML:{__html:t},...u})},Ht=t=>{const{art:r,type:i}=t;return i==="image"||ze.isString(r)&&yd(r)?y.jsx(Id,{...t}):i==="svg"||ze.isString(r)&&bd(r)?y.jsx(Md,{...t}):i==="emoji"||ze.isString(r)&&md(r)?y.jsx(wd,{...t}):i==="icon"||ze.isString(r)&&vd(r)?y.jsx(Rs,{...t}):i==="brand"?y.jsx(xd,{...t}):y.jsx(y.Fragment,{})},fb=t=>t==="sm"||t==="md"||t==="lg",Fd=({src:t,name:r,size:i,...a})=>{var _;const l=xe(),u=l.__hd__.avatar,f=i||u.defaultSize,h=wt(l,f);let g=u.defaultFallbackTextSize;typeof f=="string"&&fb(f)&&u.sizes[f]&&(g=u.sizes[f].fallbackTextSize);const v=u.fallbackBackgroundColor;return y.jsx(X,{width:h,height:h,r:"full",overflow:"hidden",display:"flex",alignItems:"center",justifyContent:"center",...a,children:t?y.jsx(Ht,{type:"image",art:t,width:"100%",height:"100%",objectFit:"cover"}):y.jsx(X,{width:"100%",height:"100%",bgColor:v,display:"flex",justifyContent:"center",alignItems:"center",children:y.jsx(ht,{color:"white",fontSize:g,fontWeight:"semibold",children:((_=r==null?void 0:r.charAt(0))==null?void 0:_.toUpperCase())||"U"})})})};function db(t){const[r,i]=d.useState(()=>(yt(),!1));return d.useEffect(()=>{if(yt())return;const a=window.matchMedia(t),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)}},[t]),r}const Fr=(t="xl")=>{const[r,i]=d.useState(()=>(typeof window>"u"||!window.matchMedia,t));return d.useEffect(()=>{if(yt())return;const l=["xl","lg","md","sm"].map(h=>({key:h,mql:window.matchMedia(`(min-width: ${pi[h]}px)`)})),u=()=>{for(const{key:h,mql:g}of l)if(g.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 hb(){const{innerWidth:t,innerHeight:r}=window;return{width:t,height:r}}const zd=()=>{const[t,r]=d.useState(()=>yt()?{width:void 0,height:void 0}:{width:void 0,height:void 0});return d.useEffect(()=>{if(yt())return;function i(){r(hb())}return i(),window.addEventListener("resize",i),()=>window.removeEventListener("resize",i)},[]),t},or=typeof window<"u"?d.useLayoutEffect:d.useEffect;function hs(t,r,i,a){const l=d.useRef(r);or(()=>{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(t,f,a),()=>{u.removeEventListener(t,f,a)}},[t,i,a])}function $o(t){const[r,i]=d.useState(!1),a=Fr(),l=a==="xs"||a==="sm",u=()=>{l||i(!0)},f=()=>{l||i(!1)};return hs("mouseenter",u,t),hs("mouseleave",f,t),l?!1:r}const pb=()=>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 Is(){const[t,r]=d.useState(pb);return d.useEffect(()=>{const i=a=>{a.pointerType==="touch"?t.isTouch||r({isMouse:!1,isTouch:!0}):a.pointerType==="mouse"&&(t.isMouse||r({isMouse:!0,isTouch:!1}))};return window.addEventListener("pointerdown",i,{passive:!0}),()=>{window.removeEventListener("pointerdown",i)}},[t]),t}var gb="2.0.3",ps=500,Dc="user-agent",Lr="",Hc="?",bo="function",Wn="undefined",Or="object",gs="string",Ot="browser",_n="cpu",fn="device",on="engine",Qt="os",kr="result",K="name",B="type",q="vendor",Y="version",It="architecture",ci="major",H="model",si="console",Ee="mobile",qe="tablet",ct="smarttv",cn="wearable",Ja="xr",li="embedded",Qr="inapp",Ms="brands",rr="formFactors",Fs="fullVersionList",Tr="platform",zs="platformVersion",ko="bitness",Zn="sec-ch-ua",mb=Zn+"-full-version-list",vb=Zn+"-arch",yb=Zn+"-"+ko,bb=Zn+"-form-factors",xb=Zn+"-"+Ee,wb=Zn+"-"+H,jd=Zn+"-"+Tr,_b=jd+"-version",Bd=[Ms,Fs,Ee,H,Tr,zs,It,rr,ko],ao="Amazon",Cr="Apple",Zc="ASUS",Vc="BlackBerry",er="Google",Nc="Huawei",Uc="Lenovo",qc="Honor",so="LG",es="Microsoft",ts="Motorola",ns="Nvidia",Gc="OnePlus",rs="OPPO",Jr="Samsung",Kc="Sharp",ei="Sony",is="Xiaomi",os="Zebra",Xc="Chrome",Yc="Chromium",jn="Chromecast",Cb="Edge",ti="Firefox",ni="Opera",as="Facebook",Qc="Sogou",Sr="Mobile ",ri=" Browser",ms="Windows",Sb=typeof window!==Wn,Mt=Sb&&window.navigator?window.navigator:void 0,Bn=Mt&&Mt.userAgentData?Mt.userAgentData:void 0,Eb=function(t,r){var i={},a=r;if(!xo(r)){a={};for(var l in r)for(var u in r[l])a[u]=r[l][u].concat(a[u]?a[u]:[])}for(var f in t)i[f]=a[f]&&a[f].length%2===0?a[f].concat(t[f]):t[f];return i},To=function(t){for(var r={},i=0;i<t.length;i++)r[t[i].toUpperCase()]=t[i];return r},vs=function(t,r){if(typeof t===Or&&t.length>0){for(var i in t)if(Cn(t[i])==Cn(r))return!0;return!1}return zr(t)?Cn(r).indexOf(Cn(t))!==-1:!1},xo=function(t,r){for(var i in t)return/^(browser|cpu|device|engine|os)$/.test(i)||(r?xo(t[i]):!1)},zr=function(t){return typeof t===gs},ss=function(t){if(t){for(var r=[],i=Ir(/\\?\"/g,t).split(","),a=0;a<i.length;a++)if(i[a].indexOf(";")>-1){var l=fi(i[a]).split(";v=");r[a]={brand:l[0],version:l[1]}}else r[a]=fi(i[a]);return r}},Cn=function(t){return zr(t)?t.toLowerCase():t},ls=function(t){return zr(t)?Ir(/[^\d\.]/g,t).split(".")[0]:void 0},Sn=function(t){for(var r in t){var i=t[r];typeof i==Or&&i.length==2?this[i[0]]=i[1]:this[i]=void 0}return this},Ir=function(t,r){return zr(r)?r.replace(t,Lr):r},ii=function(t){return Ir(/\\?\"/g,t)},fi=function(t,r){if(zr(t))return t=Ir(/^\s\s*/,t),typeof r===Wn?t:t.substring(0,ps)},us=function(t,r){if(!(!t||!r))for(var i=0,a,l,u,f,h,g;i<r.length&&!h;){var v=r[i],_=r[i+1];for(a=l=0;a<v.length&&!h&&v[a];)if(h=v[a++].exec(t),h)for(u=0;u<_.length;u++)g=h[++l],f=_[u],typeof f===Or&&f.length>0?f.length===2?typeof f[1]==bo?this[f[0]]=f[1].call(this,g):this[f[0]]=f[1]:f.length===3?typeof f[1]===bo&&!(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(t,r){for(var i in r)if(typeof r[i]===Or&&r[i].length>0){for(var a=0;a<r[i].length;a++)if(vs(r[i][a],t))return i===Hc?void 0:i}else if(vs(r[i],t))return i===Hc?void 0:i;return r.hasOwnProperty("*")?r["*"]:t},Jc={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"},ef={embedded:"Automotive",mobile:"Mobile",tablet:["Tablet","EInk"],smarttv:"TV",wearable:"Watch",xr:["VR","XR"],"?":["Desktop","Unknown"],"*":void 0},tf={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[Y,[K,Sr+"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[Y,[K,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[K,Y],[/opios[\/ ]+([\w\.]+)/i],[Y,[K,ni+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[Y,[K,ni+" GX"]],[/\bopr\/([\w\.]+)/i],[Y,[K,ni]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[Y,[K,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[Y,[K,"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],[K,Y],[/quark(?:pc)?\/([-\w\.]+)/i],[Y,[K,"Quark"]],[/\bddg\/([\w\.]+)/i],[Y,[K,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[Y,[K,"UCBrowser"]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[Y,[K,"WeChat"]],[/konqueror\/([\w\.]+)/i],[Y,[K,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[Y,[K,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[Y,[K,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[Y,[K,"Smart "+Uc+ri]],[/(avast|avg)\/([\w\.]+)/i],[[K,/(.+)/,"$1 Secure"+ri],Y],[/\bfocus\/([\w\.]+)/i],[Y,[K,ti+" Focus"]],[/\bopt\/([\w\.]+)/i],[Y,[K,ni+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[Y,[K,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[Y,[K,"Dolphin"]],[/coast\/([\w\.]+)/i],[Y,[K,ni+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[Y,[K,"MIUI"+ri]],[/fxios\/([\w\.-]+)/i],[Y,[K,Sr+ti]],[/\bqihoobrowser\/?([\w\.]*)/i],[Y,[K,"360"]],[/\b(qq)\/([\w\.]+)/i],[[K,/(.+)/,"$1Browser"],Y],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[K,/(.+)/,"$1"+ri],Y],[/samsungbrowser\/([\w\.]+)/i],[Y,[K,Jr+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[Y,[K,Qc+" Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[K,Qc+" Mobile"],Y],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[K,Y],[/(lbbrowser|rekonq)/i],[K],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[Y,K],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[K,as],Y,[B,Qr]],[/(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],[K,Y,[B,Qr]],[/\bgsa\/([\w\.]+) .*safari\//i],[Y,[K,"GSA"],[B,Qr]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[Y,[K,"TikTok"],[B,Qr]],[/\[(linkedin)app\]/i],[K,[B,Qr]],[/(chromium)[\/ ]([-\w\.]+)/i],[K,Y],[/headlesschrome(?:\/([\w\.]+)| )/i],[Y,[K,Xc+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[K,Xc+" WebView"],Y],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[Y,[K,"Android"+ri]],[/chrome\/([\w\.]+) mobile/i],[Y,[K,Sr+"Chrome"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[K,Y],[/version\/([\w\.\,]+) .*mobile(?:\/\w+ | ?)safari/i],[Y,[K,Sr+"Safari"]],[/iphone .*mobile(?:\/\w+ | ?)safari/i],[[K,Sr+"Safari"]],[/version\/([\w\.\,]+) .*(safari)/i],[Y,K],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[K,[Y,"1"]],[/(webkit|khtml)\/([\w\.]+)/i],[K,Y],[/(?:mobile|tablet);.*(firefox)\/([\w\.-]+)/i],[[K,Sr+ti],Y],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[K,"Netscape"],Y],[/(wolvic|librewolf)\/([\w\.]+)/i],[K,Y],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[Y,[K,ti+" 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],[K,[Y,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[K,[Y,/[^\d\.]+./,Lr]]],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/,Lr,Cn]],[/ 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,Cn]]],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,[q,Jr],[B,qe]],[/\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,[q,Jr],[B,Ee]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[H,[q,Cr],[B,Ee]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[H,[q,Cr],[B,qe]],[/(macintosh);/i],[H,[q,Cr]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[H,[q,Kc],[B,Ee]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[H,[q,qc],[B,qe]],[/honor([-\w ]+)[;\)]/i],[H,[q,qc],[B,Ee]],[/\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,[q,Nc],[B,qe]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[H,[q,Nc],[B,Ee]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[H,/_/g," "],[q,is],[B,qe]],[/\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," "],[q,is],[B,Ee]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[H,[q,rs],[B,Ee]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[H,[q,Pn,{OnePlus:["304","403","203"],"*":rs}],[B,qe]],[/(vivo (5r?|6|8l?|go|one|s|x[il]?[2-4]?)[\w\+ ]*)(?: bui|\))/i],[H,[q,"BLU"],[B,Ee]],[/; vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[H,[q,"Vivo"],[B,Ee]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[H,[q,"Realme"],[B,Ee]],[/\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,[q,ts],[B,Ee]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[H,[q,ts],[B,qe]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[H,[q,so],[B,qe]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+(?!.*(?:browser|netcast|android tv|watch))(\w+)/i,/\blg-?([\d\w]+) bui/i],[H,[q,so],[B,Ee]],[/(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,[q,Uc],[B,qe]],[/(nokia) (t[12][01])/i],[q,H,[B,qe]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[H,/_/g," "],[B,Ee],[q,"Nokia"]],[/(pixel (c|tablet))\b/i],[H,[q,er],[B,qe]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[H,[q,er],[B,Ee]],[/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,[q,ei],[B,Ee]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[H,"Xperia Tablet"],[q,ei],[B,qe]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[H,[q,Gc],[B,Ee]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[H,[q,ao],[B,qe]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[H,/(.+)/g,"Fire Phone $1"],[q,ao],[B,Ee]],[/(playbook);[-\w\),; ]+(rim)/i],[H,q,[B,qe]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[H,[q,Vc],[B,Ee]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[H,[q,Zc],[B,qe]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[H,[q,Zc],[B,Ee]],[/(nexus 9)/i],[H,[q,"HTC"],[B,qe]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[q,[H,/_/g," "],[B,Ee]],[/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,[q,"TCL"],[B,qe]],[/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,[q,"TCL"],[B,Ee]],[/(itel) ((\w+))/i],[[q,Cn],H,[B,Pn,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[H,[q,"Acer"],[B,qe]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[H,[q,"Meizu"],[B,Ee]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[H,[q,"Ulefone"],[B,Ee]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[H,[q,"Energizer"],[B,Ee]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[H,[q,"Cat"],[B,Ee]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[H,[q,"Smartfren"],[B,Ee]],[/droid.+; (a(?:015|06[35]|142p?))/i],[H,[q,"Nothing"],[B,Ee]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[H,[q,"Archos"],[B,qe]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[H,[q,"Archos"],[B,Ee]],[/(imo) (tab \w+)/i,/(infinix) (x1101b?)/i],[q,H,[B,qe]],[/(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],[q,H,[B,Ee]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i],[q,H,[B,qe]],[/(surface duo)/i],[H,[q,es],[B,qe]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[H,[q,"Fairphone"],[B,Ee]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[H,[q,ns],[B,qe]],[/(sprint) (\w+)/i],[q,H,[B,Ee]],[/(kin\.[onetw]{3})/i],[[H,/\./g," "],[q,es],[B,Ee]],[/droid.+; ([c6]+|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[H,[q,os],[B,qe]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[H,[q,os],[B,Ee]],[/smart-tv.+(samsung)/i],[q,[B,ct]],[/hbbtv.+maple;(\d+)/i],[[H,/^/,"SmartTV"],[q,Jr],[B,ct]],[/tcast.+(lg)e?. ([-\w]+)/i],[q,H,[B,ct]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[q,so],[B,ct]],[/(apple) ?tv/i],[q,[H,Cr+" TV"],[B,ct]],[/crkey.*devicetype\/chromecast/i],[[H,jn+" Third Generation"],[q,er],[B,ct]],[/crkey.*devicetype\/([^/]*)/i],[[H,/^/,"Chromecast "],[q,er],[B,ct]],[/fuchsia.*crkey/i],[[H,jn+" Nest Hub"],[q,er],[B,ct]],[/crkey/i],[[H,jn],[q,er],[B,ct]],[/(portaltv)/i],[H,[q,as],[B,ct]],[/droid.+aft(\w+)( bui|\))/i],[H,[q,ao],[B,ct]],[/(shield \w+ tv)/i],[H,[q,ns],[B,ct]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[H,[q,Kc],[B,ct]],[/(bravia[\w ]+)( bui|\))/i],[H,[q,ei],[B,ct]],[/(mi(tv|box)-?\w+) bui/i],[H,[q,is],[B,ct]],[/Hbbtv.*(technisat) (.*);/i],[q,H,[B,ct]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[q,fi],[H,fi],[B,ct]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[H,[B,ct]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[B,ct]],[/(ouya)/i,/(nintendo) (\w+)/i],[q,H,[B,si]],[/droid.+; (shield)( bui|\))/i],[H,[q,ns],[B,si]],[/(playstation \w+)/i],[H,[q,ei],[B,si]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[H,[q,es],[B,si]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[H,[q,Jr],[B,cn]],[/((pebble))app/i,/(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[q,H,[B,cn]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[H,[q,rs],[B,cn]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[H,[q,Cr],[B,cn]],[/(opwwe\d{3})/i],[H,[q,Gc],[B,cn]],[/(moto 360)/i],[H,[q,ts],[B,cn]],[/(smartwatch 3)/i],[H,[q,ei],[B,cn]],[/(g watch r)/i],[H,[q,so],[B,cn]],[/droid.+; (wt63?0{2,3})\)/i],[H,[q,os],[B,cn]],[/droid.+; (glass) \d/i],[H,[q,er],[B,Ja]],[/(pico) (4|neo3(?: link|pro)?)/i],[q,H,[B,Ja]],[/(quest( \d| pro)?s?).+vr/i],[H,[q,as],[B,Ja]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[q,[B,li]],[/(aeobc)\b/i],[H,[q,ao],[B,li]],[/(homepod).+mac os/i],[H,[q,Cr],[B,li]],[/windows iot/i],[[B,li]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+?(mobile|vr|\d) safari/i],[H,[B,Pn,{mobile:"Mobile",xr:"VR","*":qe}]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[B,qe]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[B,Ee]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[H,[q,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[Y,[K,Cb+"HTML"]],[/(arkweb)\/([\w\.]+)/i],[K,Y],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[Y,[K,"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],[K,Y],[/ladybird\//i],[[K,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[Y,K]],os:[[/microsoft (windows) (vista|xp)/i],[K,Y],[/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i],[K,[Y,Pn,Jc]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[Y,Pn,Jc],[K,ms]],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[Y,/_/g,"."],[K,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[K,"macOS"],[Y,/_/g,"."]],[/android ([\d\.]+).*crkey/i],[Y,[K,jn+" Android"]],[/fuchsia.*crkey\/([\d\.]+)/i],[Y,[K,jn+" Fuchsia"]],[/crkey\/([\d\.]+).*devicetype\/smartspeaker/i],[Y,[K,jn+" SmartSpeaker"]],[/linux.*crkey\/([\d\.]+)/i],[Y,[K,jn+" Linux"]],[/crkey\/([\d\.]+)/i],[Y,[K,jn]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[Y,K],[/(ubuntu) ([\w\.]+) like android/i],[[K,/(.+)/,"$1 Touch"],Y],[/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/\.; ]?([\d\.]*)/i],[K,Y],[/\(bb(10);/i],[Y,[K,Vc]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[Y,[K,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[Y,[K,ti+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[Y,[K,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[Y,[K,"watchOS"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[K,"Chrome OS"],Y],[/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],[K,Y],[/(sunos) ?([\w\.\d]*)/i],[[K,"Solaris"],Y],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[K,Y]]},lo=function(){var t={init:{},isIgnore:{},isIgnoreRgx:{},toString:{}};return Sn.call(t.init,[[Ot,[K,Y,ci,B]],[_n,[It]],[fn,[B,H,q]],[on,[K,Y]],[Qt,[K,Y]]]),Sn.call(t.isIgnore,[[Ot,[Y,ci]],[on,[Y]],[Qt,[Y]]]),Sn.call(t.isIgnoreRgx,[[Ot,/ ?browser$/i],[Qt,/ ?os$/i]]),Sn.call(t.toString,[[Ot,[K,Y]],[_n,[It]],[fn,[q,H]],[on,[K,Y]],[Qt,[K,Y]]]),t}(),Ab=function(t,r){var i=lo.init[r],a=lo.isIgnore[r]||0,l=lo.isIgnoreRgx[r]||0,u=lo.toString[r]||0;function f(){Sn.call(this,i)}return f.prototype.getItem=function(){return t},f.prototype.withClientHints=function(){return Bn?Bn.getHighEntropyValues(Bd).then(function(h){return t.setCH(new Pd(h,!1)).parseCH().get()}):t.parseCH().get()},f.prototype.withFeatureCheck=function(){return t.detectFeature().get()},r!=kr&&(f.prototype.is=function(h){var g=!1;for(var v in this)if(this.hasOwnProperty(v)&&!vs(a,v)&&Cn(l?Ir(l,this[v]):this[v])==Cn(l?Ir(l,h):h)){if(g=!0,h!=Wn)break}else if(h==Wn&&g){g=!g;break}return g},f.prototype.toString=function(){var h=Lr;for(var g in u)typeof this[u[g]]!==Wn&&(h+=(h?" ":Lr)+this[u[g]]);return h||Wn}),Bn||(f.prototype.then=function(h){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 h(_),_}),new f};function Pd(t,r){if(t=t||{},Sn.call(this,Bd),r)Sn.call(this,[[Ms,ss(t[Zn])],[Fs,ss(t[mb])],[Ee,/\?1/.test(t[xb])],[H,ii(t[wb])],[Tr,ii(t[jd])],[zs,ii(t[_b])],[It,ii(t[vb])],[rr,ss(t[bb])],[ko,ii(t[yb])]]);else for(var i in t)this.hasOwnProperty(i)&&typeof t[i]!==Wn&&(this[i]=t[i])}function nf(t,r,i,a){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(Mt&&Mt.userAgent==this.ua)switch(this.itemType){case Ot:Mt.brave&&typeof Mt.brave.isBrave==bo&&this.set(K,"Brave");break;case fn:!this.get(B)&&Bn&&Bn[Ee]&&this.set(B,Ee),this.get(H)=="Macintosh"&&Mt&&typeof Mt.standalone!==Wn&&Mt.maxTouchPoints&&Mt.maxTouchPoints>2&&this.set(H,"iPad").set(B,qe);break;case Qt:!this.get(K)&&Bn&&Bn[Tr]&&this.set(K,Bn[Tr]);break;case kr:var l=this.data,u=function(f){return l[f].getItem().detectFeature().get()};this.set(Ot,u(Ot)).set(_n,u(_n)).set(fn,u(fn)).set(on,u(on)).set(Qt,u(Qt))}return this},this.parseUA=function(){return this.itemType!=kr&&us.call(this.data,this.ua,this.rgxMap),this.itemType==Ot&&this.set(ci,ls(this.get(Y))),this},this.parseCH=function(){var l=this.uaCH,u=this.rgxMap;switch(this.itemType){case Ot:case on:var f=l[Fs]||l[Ms],h;if(f)for(var g in f){var v=f[g].brand||f[g],_=f[g].version;this.itemType==Ot&&!/not.a.brand/i.test(v)&&(!h||/chrom/i.test(h)&&v!=Yc)&&(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(K,v).set(Y,_).set(ci,ls(_)),h=v),this.itemType==on&&v==Yc&&this.set(Y,_)}break;case _n:var S=l[It];S&&(S&&l[ko]=="64"&&(S+="64"),us.call(this.data,S+";",u));break;case fn:if(l[Ee]&&this.set(B,Ee),l[H]&&(this.set(H,l[H]),!this.get(B)||!this.get(q))){var E={};us.call(E,"droid 9; "+l[H]+")",u),!this.get(B)&&E.type&&this.set(B,E.type),!this.get(q)&&E.vendor&&this.set(q,E.vendor)}if(l[rr]){var x;if(typeof l[rr]!="string")for(var C=0;!x&&C<l[rr].length;)x=Pn(l[rr][C++],ef);else x=Pn(l[rr],ef);this.set(B,x)}break;case Qt:var F=l[Tr];if(F){var R=l[zs];F==ms&&(R=parseInt(ls(R),10)>=13?"11":"10"),this.set(K,F).set(Y,R)}this.get(K)==ms&&l[H]=="Xbox"&&this.set(K,"Xbox").set(Y,void 0);break;case kr:var I=this.data,T=function(k){return I[k].getItem().setCH(l).parseCH().get()};this.set(Ot,T(Ot)).set(_n,T(_n)).set(fn,T(fn)).set(on,T(on)).set(Qt,T(Qt))}return this},Sn.call(this,[["itemType",t],["ua",r],["uaCH",a],["rgxMap",i],["data",Ab(this,t)]]),this}function An(t,r,i){if(typeof t===Or?(xo(t,!0)?(typeof r===Or&&(i=r),r=t):(i=t,r=void 0),t=void 0):typeof t===gs&&!xo(r,!0)&&(i=r,r=void 0),i&&typeof i.append===bo){var a={};i.forEach(function(g,v){a[v]=g}),i=a}if(!(this instanceof An))return new An(t,r,i).getResult();var l=typeof t===gs?t:i&&i[Dc]?i[Dc]:Mt&&Mt.userAgent?Mt.userAgent:Lr,u=new Pd(i,!0),f=r?Eb(tf,r):tf,h=function(g){return g==kr?function(){return new nf(g,l,f,u).set("ua",l).set(Ot,this.getBrowser()).set(_n,this.getCPU()).set(fn,this.getDevice()).set(on,this.getEngine()).set(Qt,this.getOS()).get()}:function(){return new nf(g,l,f[g],u).parseUA().get()}};return Sn.call(this,[["getBrowser",h(Ot)],["getCPU",h(_n)],["getDevice",h(fn)],["getEngine",h(on)],["getOS",h(Qt)],["getResult",h(kr)],["getUA",function(){return l}],["setUA",function(g){return zr(g)&&(l=g.length>ps?fi(g,ps):g),this}]]).setUA(l),this}An.VERSION=gb;An.BROWSER=To([K,Y,ci,B]);An.CPU=To([It]);An.DEVICE=To([H,q,B,si,Ee,ct,qe,cn,li]);An.ENGINE=An.OS=To([K,Y]);var Wd=(t=>(t.Desktop="Desktop",t.Mobile="Mobile",t.Tablet="Tablet",t.SmartTV="Smart TV",t.Bot="Bot/Crawler",t.Unknown="Unknown",t))(Wd||{}),Dd=(t=>(t.Chrome="Chrome",t.Firefox="Firefox",t.Safari="Safari",t.Edge="Edge",t.IE="IE/Edge Legacy",t.Opera="Opera",t.Brave="Brave",t.Other="Other",t))(Dd||{}),Hd=(t=>(t.Windows="Windows",t.macOS="macOS",t.Linux="Linux",t.Android="Android",t.iOS="iOS",t.Other="Other",t))(Hd||{});const ys=t=>{const i=new An(t).getResult(),l={deviceType:/bot|crawler|spider|crawling/i.test(t)?"Bot/Crawler":$b(i.device.type),browserName:kb(i.browser.name),osName:Tb(i.os.name)},u=l.deviceType==="Mobile"||l.deviceType==="Tablet";return{...i,normalized:l,isMobile:u,isDesktop:!u}},$b=t=>{if(!t)return"Desktop";const r=t.toLowerCase();return r==="mobile"?"Mobile":r==="tablet"?"Tablet":r==="smarttv"?"Smart TV":"Unknown"},kb=t=>{if(!t)return"Other";const r=t.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"},Tb=t=>{if(!t)return"Other";const r=t.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"},Rb=t=>{const[r,i]=d.useState(t?ys(t):void 0);return d.useEffect(()=>{r||i(ys(window.navigator.userAgent))},[r]),r},Lb=se(X)`
|
|
57
|
+
object-fit: ${({$objectFit:e})=>e};
|
|
58
|
+
object-position: ${({$objectPosition:e})=>e};
|
|
59
|
+
aspect-ratio: ${({$aspectRatio:e})=>e};
|
|
60
|
+
mix-blend-mode: ${({$mixBlendMode:e})=>e};
|
|
61
|
+
image-rendering: ${({$imageRendering:e})=>e};
|
|
62
|
+
`,N0=({art:e,width:n,height:i,style:s,"data-testid":a,alt:l,fallback:d,useSkeleton:f=!0,objectFit:h,objectPosition:p,aspectRatio:x,mixBlendMode:w,imageRendering:_,...v})=>{const C=be(),[R,k]=c.useState(!0),[T,E]=c.useState(!1),I=C.__hd__.art.defaultImageSize||C.__hd__.art.defaultSize,$=Kt(n,te=>xt(C,te??I)),M=Kt(i,te=>xt(C,te??I)),z=v.r||v.radius||v.borderRadius||"md",j=W6(e);c.useEffect(()=>{!Ne.isNil(j)&&j!==e&&(k(!0),E(!1))},[e,j]);const H=()=>{k(!1)},oe=()=>{E(!0),k(!1)};return m.jsx(L,{display:"flex",alignItems:"center",justifyContent:"center",width:$,height:M,overflow:"hidden",style:s,"data-testid":a,...v,children:m.jsxs(Hi,{visible:R,width:$,height:M,r:z,children:[T&&m.jsxs(L,{width:$,height:M,r:z,display:"flex",alignItems:"center",justifyContent:"center",bgColor:"grey200",children:[!R&&d,!R&&!d&&!l&&m.jsx(Xe,{fontSize:"xs",color:"grey600",children:d||l}),!R&&!d&&!l&&K6()]}),!T&&(!Ct()||!f)&&m.jsx(Y6,{src:e,alt:Ne.isString(l)?l:"Image",onLoad:H,onError:oe,"data-testid":a?`${a}-image`:void 0,$objectFit:h,$objectPosition:p,$aspectRatio:x,$mixBlendMode:w,$imageRendering:_}),!T&&Ct()&&f&&l]})})},U0=({art:e,width:n,height:i,style:s,"data-testid":a,...l})=>{const d=be(),f=d.__hd__.art.defaultSvgSize||d.__hd__.art.defaultSize,h=xt(d,n??f),p=xt(d,i??f);return m.jsx(L,{display:"flex",alignItems:"center",justifyContent:"center",width:h,height:p,overflow:"hidden",style:s,"data-testid":a,dangerouslySetInnerHTML:{__html:e},...l})},gt=e=>{const{art:n,type:i}=e;return i==="image"||Ne.isString(n)&&R0(n)?m.jsx(N0,{...e}):i==="svg"||Ne.isString(n)&&I0(n)?m.jsx(U0,{...e}):i==="emoji"||Ne.isString(n)&&A0(n)?m.jsx(F0,{...e}):i==="icon"||Ne.isString(n)&&T0(n)?m.jsx(bl,{...e}):i==="brand"?m.jsx(M0,{...e}):m.jsx(m.Fragment,{})},X6=e=>e==="sm"||e==="md"||e==="lg",G0=({src:e,name:n,size:i,...s})=>{var x;const a=be(),l=a.__hd__.avatar,d=i||l.defaultSize,f=xt(a,d);let h=l.defaultFallbackTextSize;typeof d=="string"&&X6(d)&&l.sizes[d]&&(h=l.sizes[d].fallbackTextSize);const p=l.fallbackBackgroundColor;return m.jsx(L,{width:f,height:f,r:"full",overflow:"hidden",display:"flex",alignItems:"center",justifyContent:"center",...s,children:e?m.jsx(gt,{type:"image",art:e,width:"100%",height:"100%",objectFit:"cover"}):m.jsx(L,{width:"100%",height:"100%",bgColor:p,display:"flex",justifyContent:"center",alignItems:"center",children:m.jsx(Xe,{color:"white",fontSize:h,fontWeight:"semibold",children:((x=n==null?void 0:n.charAt(0))==null?void 0:x.toUpperCase())||"U"})})})};function Q6(e){const[n,i]=c.useState(()=>(Ct(),!1));return c.useEffect(()=>{if(Ct())return;const s=window.matchMedia(e),a=l=>{i(l.matches)};return s.addEventListener?s.addEventListener("change",a):s.addListener(a),i(s.matches),()=>{s.removeEventListener?s.removeEventListener("change",a):s.removeListener(a)}},[e]),n}const ti=(e="xl")=>{const[n,i]=c.useState(()=>(typeof window>"u"||!window.matchMedia,e));return c.useEffect(()=>{if(Ct())return;const a=["xl","lg","md","sm"].map(f=>({key:f,mql:window.matchMedia(`(min-width: ${Bi[f]}px)`)})),l=()=>{for(const{key:f,mql:h}of a)if(h.matches)return f;return"xs"},d=()=>{i(l())};return d(),a.forEach(({mql:f})=>{f.addEventListener?f.addEventListener("change",d):f.addListener(d)}),()=>{a.forEach(({mql:f})=>{f.removeEventListener?f.removeEventListener("change",d):f.removeListener(d)})}},[]),n};function J6(){const{innerWidth:e,innerHeight:n}=window;return{width:e,height:n}}const q0=()=>{const[e,n]=c.useState(()=>Ct()?{width:void 0,height:void 0}:{width:void 0,height:void 0});return c.useEffect(()=>{if(Ct())return;function i(){n(J6())}return i(),window.addEventListener("resize",i),()=>window.removeEventListener("resize",i)},[]),e},br=typeof window<"u"?c.useLayoutEffect:c.useEffect;function Ja(e,n,i,s){const a=c.useRef(n);br(()=>{a.current=n},[n]),c.useEffect(()=>{const l=(i==null?void 0:i.current)??window;if(!(l&&l.addEventListener))return;const d=f=>{a.current(f)};return l.addEventListener(e,d,s),()=>{l.removeEventListener(e,d,s)}},[e,i,s])}function ds(e){const[n,i]=c.useState(!1),s=ti(),a=s==="xs"||s==="sm",l=()=>{a||i(!0)},d=()=>{a||i(!1)};return Ja("mouseenter",l,e),Ja("mouseleave",d,e),a?!1:n}const ev=()=>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 Cl(){const[e,n]=c.useState(ev);return c.useEffect(()=>{const i=s=>{s.pointerType==="touch"?e.isTouch||n({isMouse:!1,isTouch:!0}):s.pointerType==="mouse"&&(e.isMouse||n({isMouse:!0,isTouch:!1}))};return window.addEventListener("pointerdown",i,{passive:!0}),()=>{window.removeEventListener("pointerdown",i)}},[e]),e}var tv="2.0.3",el=500,Wd="user-agent",Kr="",Bd="?",es="function",Jn="undefined",Yr="object",tl="string",Dt="browser",On="cpu",Cn="device",mn="engine",ln="os",Ur="result",Q="name",V="type",X="vendor",J="version",Pt="architecture",ji="major",q="model",Mi="console",Me="mobile",Je="tablet",pt="smarttv",_n="wearable",Ra="xr",Fi="embedded",Ci="inapp",Sl="brands",mr="formFactors",El="fullVersionList",Gr="platform",kl="platformVersion",fs="bitness",tr="sec-ch-ua",nv=tr+"-full-version-list",rv=tr+"-arch",iv=tr+"-"+fs,ov=tr+"-form-factors",sv=tr+"-"+Me,av=tr+"-"+q,K0=tr+"-"+Gr,lv=K0+"-version",Y0=[Sl,El,Me,q,Gr,kl,Pt,mr,fs],Lo="Amazon",Br="Apple",Hd="ASUS",Zd="BlackBerry",hr="Google",Vd="Huawei",Nd="Lenovo",Ud="Honor",jo="LG",Ia="Microsoft",Ma="Motorola",Fa="Nvidia",Gd="OnePlus",Oa="OPPO",Si="Samsung",qd="Sharp",Ei="Sony",za="Xiaomi",La="Zebra",Kd="Chrome",Yd="Chromium",Yn="Chromecast",cv="Edge",ki="Firefox",$i="Opera",ja="Facebook",Xd="Sogou",Hr="Mobile ",Ai=" Browser",nl="Windows",uv=typeof window!==Jn,Wt=uv&&window.navigator?window.navigator:void 0,Xn=Wt&&Wt.userAgentData?Wt.userAgentData:void 0,dv=function(e,n){var i={},s=n;if(!ts(n)){s={};for(var a in n)for(var l in n[a])s[l]=n[a][l].concat(s[l]?s[l]:[])}for(var d in e)i[d]=s[d]&&s[d].length%2===0?s[d].concat(e[d]):e[d];return i},hs=function(e){for(var n={},i=0;i<e.length;i++)n[e[i].toUpperCase()]=e[i];return n},rl=function(e,n){if(typeof e===Yr&&e.length>0){for(var i in e)if(zn(e[i])==zn(n))return!0;return!1}return ni(e)?zn(n).indexOf(zn(e))!==-1:!1},ts=function(e,n){for(var i in e)return/^(browser|cpu|device|engine|os)$/.test(i)||(n?ts(e[i]):!1)},ni=function(e){return typeof e===tl},Da=function(e){if(e){for(var n=[],i=Xr(/\\?\"/g,e).split(","),s=0;s<i.length;s++)if(i[s].indexOf(";")>-1){var a=Di(i[s]).split(";v=");n[s]={brand:a[0],version:a[1]}}else n[s]=Di(i[s]);return n}},zn=function(e){return ni(e)?e.toLowerCase():e},Pa=function(e){return ni(e)?Xr(/[^\d\.]/g,e).split(".")[0]:void 0},Ln=function(e){for(var n in e){var i=e[n];typeof i==Yr&&i.length==2?this[i[0]]=i[1]:this[i]=void 0}return this},Xr=function(e,n){return ni(n)?n.replace(e,Kr):n},Ti=function(e){return Xr(/\\?\"/g,e)},Di=function(e,n){if(ni(e))return e=Xr(/^\s\s*/,e),typeof n===Jn?e:e.substring(0,el)},Wa=function(e,n){if(!(!e||!n))for(var i=0,s,a,l,d,f,h;i<n.length&&!f;){var p=n[i],x=n[i+1];for(s=a=0;s<p.length&&!f&&p[s];)if(f=p[s++].exec(e),f)for(l=0;l<x.length;l++)h=f[++a],d=x[l],typeof d===Yr&&d.length>0?d.length===2?typeof d[1]==es?this[d[0]]=d[1].call(this,h):this[d[0]]=d[1]:d.length===3?typeof d[1]===es&&!(d[1].exec&&d[1].test)?this[d[0]]=h?d[1].call(this,h,d[2]):void 0:this[d[0]]=h?h.replace(d[1],d[2]):void 0:d.length===4&&(this[d[0]]=h?d[3].call(this,h.replace(d[1],d[2])):void 0):this[d]=h||void 0;i+=2}},Qn=function(e,n){for(var i in n)if(typeof n[i]===Yr&&n[i].length>0){for(var s=0;s<n[i].length;s++)if(rl(n[i][s],e))return i===Bd?void 0:i}else if(rl(n[i],e))return i===Bd?void 0:i;return n.hasOwnProperty("*")?n["*"]:e},Qd={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"},Jd={embedded:"Automotive",mobile:"Mobile",tablet:["Tablet","EInk"],smarttv:"TV",wearable:"Watch",xr:["VR","XR"],"?":["Desktop","Unknown"],"*":void 0},ef={browser:[[/\b(?:crmo|crios)\/([\w\.]+)/i],[J,[Q,Hr+"Chrome"]],[/edg(?:e|ios|a)?\/([\w\.]+)/i],[J,[Q,"Edge"]],[/(opera mini)\/([-\w\.]+)/i,/(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i,/(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i],[Q,J],[/opios[\/ ]+([\w\.]+)/i],[J,[Q,$i+" Mini"]],[/\bop(?:rg)?x\/([\w\.]+)/i],[J,[Q,$i+" GX"]],[/\bopr\/([\w\.]+)/i],[J,[Q,$i]],[/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i],[J,[Q,"Baidu"]],[/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i],[J,[Q,"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],[Q,J],[/quark(?:pc)?\/([-\w\.]+)/i],[J,[Q,"Quark"]],[/\bddg\/([\w\.]+)/i],[J,[Q,"DuckDuckGo"]],[/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i],[J,[Q,"UCBrowser"]],[/microm.+\bqbcore\/([\w\.]+)/i,/\bqbcore\/([\w\.]+).+microm/i,/micromessenger\/([\w\.]+)/i],[J,[Q,"WeChat"]],[/konqueror\/([\w\.]+)/i],[J,[Q,"Konqueror"]],[/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i],[J,[Q,"IE"]],[/ya(?:search)?browser\/([\w\.]+)/i],[J,[Q,"Yandex"]],[/slbrowser\/([\w\.]+)/i],[J,[Q,"Smart "+Nd+Ai]],[/(avast|avg)\/([\w\.]+)/i],[[Q,/(.+)/,"$1 Secure"+Ai],J],[/\bfocus\/([\w\.]+)/i],[J,[Q,ki+" Focus"]],[/\bopt\/([\w\.]+)/i],[J,[Q,$i+" Touch"]],[/coc_coc\w+\/([\w\.]+)/i],[J,[Q,"Coc Coc"]],[/dolfin\/([\w\.]+)/i],[J,[Q,"Dolphin"]],[/coast\/([\w\.]+)/i],[J,[Q,$i+" Coast"]],[/miuibrowser\/([\w\.]+)/i],[J,[Q,"MIUI"+Ai]],[/fxios\/([\w\.-]+)/i],[J,[Q,Hr+ki]],[/\bqihoobrowser\/?([\w\.]*)/i],[J,[Q,"360"]],[/\b(qq)\/([\w\.]+)/i],[[Q,/(.+)/,"$1Browser"],J],[/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i],[[Q,/(.+)/,"$1"+Ai],J],[/samsungbrowser\/([\w\.]+)/i],[J,[Q,Si+" Internet"]],[/metasr[\/ ]?([\d\.]+)/i],[J,[Q,Xd+" Explorer"]],[/(sogou)mo\w+\/([\d\.]+)/i],[[Q,Xd+" Mobile"],J],[/(electron)\/([\w\.]+) safari/i,/(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i,/m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i],[Q,J],[/(lbbrowser|rekonq)/i],[Q],[/ome\/([\w\.]+) \w* ?(iron) saf/i,/ome\/([\w\.]+).+qihu (360)[es]e/i],[J,Q],[/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i],[[Q,ja],J,[V,Ci]],[/(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],[Q,J,[V,Ci]],[/\bgsa\/([\w\.]+) .*safari\//i],[J,[Q,"GSA"],[V,Ci]],[/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i],[J,[Q,"TikTok"],[V,Ci]],[/\[(linkedin)app\]/i],[Q,[V,Ci]],[/(chromium)[\/ ]([-\w\.]+)/i],[Q,J],[/headlesschrome(?:\/([\w\.]+)| )/i],[J,[Q,Kd+" Headless"]],[/ wv\).+(chrome)\/([\w\.]+)/i],[[Q,Kd+" WebView"],J],[/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i],[J,[Q,"Android"+Ai]],[/chrome\/([\w\.]+) mobile/i],[J,[Q,Hr+"Chrome"]],[/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i],[Q,J],[/version\/([\w\.\,]+) .*mobile(?:\/\w+ | ?)safari/i],[J,[Q,Hr+"Safari"]],[/iphone .*mobile(?:\/\w+ | ?)safari/i],[[Q,Hr+"Safari"]],[/version\/([\w\.\,]+) .*(safari)/i],[J,Q],[/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i],[Q,[J,"1"]],[/(webkit|khtml)\/([\w\.]+)/i],[Q,J],[/(?:mobile|tablet);.*(firefox)\/([\w\.-]+)/i],[[Q,Hr+ki],J],[/(navigator|netscape\d?)\/([-\w\.]+)/i],[[Q,"Netscape"],J],[/(wolvic|librewolf)\/([\w\.]+)/i],[Q,J],[/mobile vr; rv:([\w\.]+)\).+firefox/i],[J,[Q,ki+" 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],[Q,[J,/_/g,"."]],[/(cobalt)\/([\w\.]+)/i],[Q,[J,/[^\d\.]+./,Kr]]],cpu:[[/\b((amd|x|x86[-_]?|wow|win)64)\b/i],[[Pt,"amd64"]],[/(ia32(?=;))/i,/\b((i[346]|x)86)(pc)?\b/i],[[Pt,"ia32"]],[/\b(aarch64|arm(v?[89]e?l?|_?64))\b/i],[[Pt,"arm64"]],[/\b(arm(v[67])?ht?n?[fl]p?)\b/i],[[Pt,"armhf"]],[/( (ce|mobile); ppc;|\/[\w\.]+arm\b)/i],[[Pt,"arm"]],[/((ppc|powerpc)(64)?)( mac|;|\))/i],[[Pt,/ower/,Kr,zn]],[/ sun4\w[;\)]/i],[[Pt,"sparc"]],[/\b(avr32|ia64(?=;)|68k(?=\))|\barm(?=v([1-7]|[5-7]1)l?|;|eabi)|(irix|mips|sparc)(64)?\b|pa-risc)/i],[[Pt,zn]]],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],[q,[X,Si],[V,Je]],[/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i,/samsung[- ]((?!sm-[lr])[-\w]+)/i,/sec-(sgh\w+)/i],[q,[X,Si],[V,Me]],[/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i],[q,[X,Br],[V,Me]],[/\((ipad);[-\w\),; ]+apple/i,/applecoremedia\/[\w\.]+ \((ipad)/i,/\b(ipad)\d\d?,\d\d?[;\]].+ios/i],[q,[X,Br],[V,Je]],[/(macintosh);/i],[q,[X,Br]],[/\b(sh-?[altvz]?\d\d[a-ekm]?)/i],[q,[X,qd],[V,Me]],[/\b((?:brt|eln|hey2?|gdi|jdn)-a?[lnw]09|(?:ag[rm]3?|jdn2|kob2)-a?[lw]0[09]hn)(?: bui|\)|;)/i],[q,[X,Ud],[V,Je]],[/honor([-\w ]+)[;\)]/i],[q,[X,Ud],[V,Me]],[/\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],[q,[X,Vd],[V,Je]],[/(?:huawei)([-\w ]+)[;\)]/i,/\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i],[q,[X,Vd],[V,Me]],[/oid[^\)]+; (2[\dbc]{4}(182|283|rp\w{2})[cgl]|m2105k81a?c)(?: bui|\))/i,/\b((?:red)?mi[-_ ]?pad[\w- ]*)(?: bui|\))/i],[[q,/_/g," "],[X,za],[V,Je]],[/\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],[[q,/_/g," "],[X,za],[V,Me]],[/; (\w+) bui.+ oppo/i,/\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i],[q,[X,Oa],[V,Me]],[/\b(opd2(\d{3}a?))(?: bui|\))/i],[q,[X,Qn,{OnePlus:["304","403","203"],"*":Oa}],[V,Je]],[/(vivo (5r?|6|8l?|go|one|s|x[il]?[2-4]?)[\w\+ ]*)(?: bui|\))/i],[q,[X,"BLU"],[V,Me]],[/; vivo (\w+)(?: bui|\))/i,/\b(v[12]\d{3}\w?[at])(?: bui|;)/i],[q,[X,"Vivo"],[V,Me]],[/\b(rmx[1-3]\d{3})(?: bui|;|\))/i],[q,[X,"Realme"],[V,Me]],[/\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],[q,[X,Ma],[V,Me]],[/\b(mz60\d|xoom[2 ]{0,2}) build\//i],[q,[X,Ma],[V,Je]],[/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i],[q,[X,jo],[V,Je]],[/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i,/\blg[-e;\/ ]+(?!.*(?:browser|netcast|android tv|watch))(\w+)/i,/\blg-?([\d\w]+) bui/i],[q,[X,jo],[V,Me]],[/(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],[q,[X,Nd],[V,Je]],[/(nokia) (t[12][01])/i],[X,q,[V,Je]],[/(?:maemo|nokia).*(n900|lumia \d+|rm-\d+)/i,/nokia[-_ ]?(([-\w\. ]*))/i],[[q,/_/g," "],[V,Me],[X,"Nokia"]],[/(pixel (c|tablet))\b/i],[q,[X,hr],[V,Je]],[/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i],[q,[X,hr],[V,Me]],[/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],[q,[X,Ei],[V,Me]],[/sony tablet [ps]/i,/\b(?:sony)?sgp\w+(?: bui|\))/i],[[q,"Xperia Tablet"],[X,Ei],[V,Je]],[/ (kb2005|in20[12]5|be20[12][59])\b/i,/(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i],[q,[X,Gd],[V,Me]],[/(alexa)webm/i,/(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i,/(kf[a-z]+)( bui|\)).+silk\//i],[q,[X,Lo],[V,Je]],[/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i],[[q,/(.+)/g,"Fire Phone $1"],[X,Lo],[V,Me]],[/(playbook);[-\w\),; ]+(rim)/i],[q,X,[V,Je]],[/\b((?:bb[a-f]|st[hv])100-\d)/i,/\(bb10; (\w+)/i],[q,[X,Zd],[V,Me]],[/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i],[q,[X,Hd],[V,Je]],[/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i],[q,[X,Hd],[V,Me]],[/(nexus 9)/i],[q,[X,"HTC"],[V,Je]],[/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i,/(zte)[- ]([\w ]+?)(?: bui|\/|\))/i,/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i],[X,[q,/_/g," "],[V,Me]],[/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],[q,[X,"TCL"],[V,Je]],[/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],[q,[X,"TCL"],[V,Me]],[/(itel) ((\w+))/i],[[X,zn],q,[V,Qn,{tablet:["p10001l","w7001"],"*":"mobile"}]],[/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i],[q,[X,"Acer"],[V,Je]],[/droid.+; (m[1-5] note) bui/i,/\bmz-([-\w]{2,})/i],[q,[X,"Meizu"],[V,Me]],[/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i],[q,[X,"Ulefone"],[V,Me]],[/; (energy ?\w+)(?: bui|\))/i,/; energizer ([\w ]+)(?: bui|\))/i],[q,[X,"Energizer"],[V,Me]],[/; cat (b35);/i,/; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i],[q,[X,"Cat"],[V,Me]],[/((?:new )?andromax[\w- ]+)(?: bui|\))/i],[q,[X,"Smartfren"],[V,Me]],[/droid.+; (a(?:015|06[35]|142p?))/i],[q,[X,"Nothing"],[V,Me]],[/; (x67 5g|tikeasy \w+|ac[1789]\d\w+)( b|\))/i,/archos ?(5|gamepad2?|([\w ]*[t1789]|hello) ?\d+[\w ]*)( b|\))/i],[q,[X,"Archos"],[V,Je]],[/archos ([\w ]+)( b|\))/i,/; (ac[3-6]\d\w{2,8})( b|\))/i],[q,[X,"Archos"],[V,Me]],[/(imo) (tab \w+)/i,/(infinix) (x1101b?)/i],[X,q,[V,Je]],[/(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],[X,q,[V,Me]],[/(kobo)\s(ereader|touch)/i,/(hp).+(touchpad(?!.+tablet)|tablet)/i,/(kindle)\/([\w\.]+)/i],[X,q,[V,Je]],[/(surface duo)/i],[q,[X,Ia],[V,Je]],[/droid [\d\.]+; (fp\du?)(?: b|\))/i],[q,[X,"Fairphone"],[V,Me]],[/((?:tegranote|shield t(?!.+d tv))[\w- ]*?)(?: b|\))/i],[q,[X,Fa],[V,Je]],[/(sprint) (\w+)/i],[X,q,[V,Me]],[/(kin\.[onetw]{3})/i],[[q,/\./g," "],[X,Ia],[V,Me]],[/droid.+; ([c6]+|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i],[q,[X,La],[V,Je]],[/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i],[q,[X,La],[V,Me]],[/smart-tv.+(samsung)/i],[X,[V,pt]],[/hbbtv.+maple;(\d+)/i],[[q,/^/,"SmartTV"],[X,Si],[V,pt]],[/tcast.+(lg)e?. ([-\w]+)/i],[X,q,[V,pt]],[/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i],[[X,jo],[V,pt]],[/(apple) ?tv/i],[X,[q,Br+" TV"],[V,pt]],[/crkey.*devicetype\/chromecast/i],[[q,Yn+" Third Generation"],[X,hr],[V,pt]],[/crkey.*devicetype\/([^/]*)/i],[[q,/^/,"Chromecast "],[X,hr],[V,pt]],[/fuchsia.*crkey/i],[[q,Yn+" Nest Hub"],[X,hr],[V,pt]],[/crkey/i],[[q,Yn],[X,hr],[V,pt]],[/(portaltv)/i],[q,[X,ja],[V,pt]],[/droid.+aft(\w+)( bui|\))/i],[q,[X,Lo],[V,pt]],[/(shield \w+ tv)/i],[q,[X,Fa],[V,pt]],[/\(dtv[\);].+(aquos)/i,/(aquos-tv[\w ]+)\)/i],[q,[X,qd],[V,pt]],[/(bravia[\w ]+)( bui|\))/i],[q,[X,Ei],[V,pt]],[/(mi(tv|box)-?\w+) bui/i],[q,[X,za],[V,pt]],[/Hbbtv.*(technisat) (.*);/i],[X,q,[V,pt]],[/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i,/hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i],[[X,Di],[q,Di],[V,pt]],[/droid.+; ([\w- ]+) (?:android tv|smart[- ]?tv)/i],[q,[V,pt]],[/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i],[[V,pt]],[/(ouya)/i,/(nintendo) (\w+)/i],[X,q,[V,Mi]],[/droid.+; (shield)( bui|\))/i],[q,[X,Fa],[V,Mi]],[/(playstation \w+)/i],[q,[X,Ei],[V,Mi]],[/\b(xbox(?: one)?(?!; xbox))[\); ]/i],[q,[X,Ia],[V,Mi]],[/\b(sm-[lr]\d\d[0156][fnuw]?s?|gear live)\b/i],[q,[X,Si],[V,_n]],[/((pebble))app/i,/(asus|google|lg|oppo) ((pixel |zen)?watch[\w ]*)( bui|\))/i],[X,q,[V,_n]],[/(ow(?:19|20)?we?[1-3]{1,3})/i],[q,[X,Oa],[V,_n]],[/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i],[q,[X,Br],[V,_n]],[/(opwwe\d{3})/i],[q,[X,Gd],[V,_n]],[/(moto 360)/i],[q,[X,Ma],[V,_n]],[/(smartwatch 3)/i],[q,[X,Ei],[V,_n]],[/(g watch r)/i],[q,[X,jo],[V,_n]],[/droid.+; (wt63?0{2,3})\)/i],[q,[X,La],[V,_n]],[/droid.+; (glass) \d/i],[q,[X,hr],[V,Ra]],[/(pico) (4|neo3(?: link|pro)?)/i],[X,q,[V,Ra]],[/(quest( \d| pro)?s?).+vr/i],[q,[X,ja],[V,Ra]],[/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i],[X,[V,Fi]],[/(aeobc)\b/i],[q,[X,Lo],[V,Fi]],[/(homepod).+mac os/i],[q,[X,Br],[V,Fi]],[/windows iot/i],[[V,Fi]],[/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+?(mobile|vr|\d) safari/i],[q,[V,Qn,{mobile:"Mobile",xr:"VR","*":Je}]],[/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i],[[V,Je]],[/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i],[[V,Me]],[/droid .+?; ([\w\. -]+)( bui|\))/i],[q,[X,"Generic"]]],engine:[[/windows.+ edge\/([\w\.]+)/i],[J,[Q,cv+"HTML"]],[/(arkweb)\/([\w\.]+)/i],[Q,J],[/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i],[J,[Q,"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],[Q,J],[/ladybird\//i],[[Q,"LibWeb"]],[/rv\:([\w\.]{1,9})\b.+(gecko)/i],[J,Q]],os:[[/microsoft (windows) (vista|xp)/i],[Q,J],[/(windows (?:phone(?: os)?|mobile|iot))[\/ ]?([\d\.\w ]*)/i],[Q,[J,Qn,Qd]],[/windows nt 6\.2; (arm)/i,/windows[\/ ]([ntce\d\. ]+\w)(?!.+xbox)/i,/(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[J,Qn,Qd],[Q,nl]],[/[adehimnop]{4,7}\b(?:.*os ([\w]+) like mac|; opera)/i,/(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i,/cfnetwork\/.+darwin/i],[[J,/_/g,"."],[Q,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[Q,"macOS"],[J,/_/g,"."]],[/android ([\d\.]+).*crkey/i],[J,[Q,Yn+" Android"]],[/fuchsia.*crkey\/([\d\.]+)/i],[J,[Q,Yn+" Fuchsia"]],[/crkey\/([\d\.]+).*devicetype\/smartspeaker/i],[J,[Q,Yn+" SmartSpeaker"]],[/linux.*crkey\/([\d\.]+)/i],[J,[Q,Yn+" Linux"]],[/crkey\/([\d\.]+)/i],[J,[Q,Yn]],[/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i],[J,Q],[/(ubuntu) ([\w\.]+) like android/i],[[Q,/(.+)/,"$1 Touch"],J],[/(android|bada|blackberry|kaios|maemo|meego|openharmony|qnx|rim tablet os|sailfish|series40|symbian|tizen|webos)\w*[-\/\.; ]?([\d\.]*)/i],[Q,J],[/\(bb(10);/i],[J,[Q,Zd]],[/(?:symbian ?os|symbos|s60(?=;)|series ?60)[-\/ ]?([\w\.]*)/i],[J,[Q,"Symbian"]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[J,[Q,ki+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[J,[Q,"webOS"]],[/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i],[J,[Q,"watchOS"]],[/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i],[[Q,"Chrome OS"],J],[/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],[Q,J],[/(sunos) ?([\w\.\d]*)/i],[[Q,"Solaris"],J],[/((?:open)?solaris)[-\/ ]?([\w\.]*)/i,/(aix) ((\d)(?=\.|\)| )[\w\.])*/i,/\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i,/(unix) ?([\w\.]*)/i],[Q,J]]},Do=function(){var e={init:{},isIgnore:{},isIgnoreRgx:{},toString:{}};return Ln.call(e.init,[[Dt,[Q,J,ji,V]],[On,[Pt]],[Cn,[V,q,X]],[mn,[Q,J]],[ln,[Q,J]]]),Ln.call(e.isIgnore,[[Dt,[J,ji]],[mn,[J]],[ln,[J]]]),Ln.call(e.isIgnoreRgx,[[Dt,/ ?browser$/i],[ln,/ ?os$/i]]),Ln.call(e.toString,[[Dt,[Q,J]],[On,[Pt]],[Cn,[X,q]],[mn,[Q,J]],[ln,[Q,J]]]),e}(),fv=function(e,n){var i=Do.init[n],s=Do.isIgnore[n]||0,a=Do.isIgnoreRgx[n]||0,l=Do.toString[n]||0;function d(){Ln.call(this,i)}return d.prototype.getItem=function(){return e},d.prototype.withClientHints=function(){return Xn?Xn.getHighEntropyValues(Y0).then(function(f){return e.setCH(new X0(f,!1)).parseCH().get()}):e.parseCH().get()},d.prototype.withFeatureCheck=function(){return e.detectFeature().get()},n!=Ur&&(d.prototype.is=function(f){var h=!1;for(var p in this)if(this.hasOwnProperty(p)&&!rl(s,p)&&zn(a?Xr(a,this[p]):this[p])==zn(a?Xr(a,f):f)){if(h=!0,f!=Jn)break}else if(f==Jn&&h){h=!h;break}return h},d.prototype.toString=function(){var f=Kr;for(var h in l)typeof this[l[h]]!==Jn&&(f+=(f?" ":Kr)+this[l[h]]);return f||Jn}),Xn||(d.prototype.then=function(f){var h=this,p=function(){for(var w in h)h.hasOwnProperty(w)&&(this[w]=h[w])};p.prototype={is:d.prototype.is,toString:d.prototype.toString};var x=new p;return f(x),x}),new d};function X0(e,n){if(e=e||{},Ln.call(this,Y0),n)Ln.call(this,[[Sl,Da(e[tr])],[El,Da(e[nv])],[Me,/\?1/.test(e[sv])],[q,Ti(e[av])],[Gr,Ti(e[K0])],[kl,Ti(e[lv])],[Pt,Ti(e[rv])],[mr,Da(e[ov])],[fs,Ti(e[iv])]]);else for(var i in e)this.hasOwnProperty(i)&&typeof e[i]!==Jn&&(this[i]=e[i])}function tf(e,n,i,s){return this.get=function(a){return a?this.data.hasOwnProperty(a)?this.data[a]:void 0:this.data},this.set=function(a,l){return this.data[a]=l,this},this.setCH=function(a){return this.uaCH=a,this},this.detectFeature=function(){if(Wt&&Wt.userAgent==this.ua)switch(this.itemType){case Dt:Wt.brave&&typeof Wt.brave.isBrave==es&&this.set(Q,"Brave");break;case Cn:!this.get(V)&&Xn&&Xn[Me]&&this.set(V,Me),this.get(q)=="Macintosh"&&Wt&&typeof Wt.standalone!==Jn&&Wt.maxTouchPoints&&Wt.maxTouchPoints>2&&this.set(q,"iPad").set(V,Je);break;case ln:!this.get(Q)&&Xn&&Xn[Gr]&&this.set(Q,Xn[Gr]);break;case Ur:var a=this.data,l=function(d){return a[d].getItem().detectFeature().get()};this.set(Dt,l(Dt)).set(On,l(On)).set(Cn,l(Cn)).set(mn,l(mn)).set(ln,l(ln))}return this},this.parseUA=function(){return this.itemType!=Ur&&Wa.call(this.data,this.ua,this.rgxMap),this.itemType==Dt&&this.set(ji,Pa(this.get(J))),this},this.parseCH=function(){var a=this.uaCH,l=this.rgxMap;switch(this.itemType){case Dt:case mn:var d=a[El]||a[Sl],f;if(d)for(var h in d){var p=d[h].brand||d[h],x=d[h].version;this.itemType==Dt&&!/not.a.brand/i.test(p)&&(!f||/chrom/i.test(f)&&p!=Yd)&&(p=Qn(p,{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(Q,p).set(J,x).set(ji,Pa(x)),f=p),this.itemType==mn&&p==Yd&&this.set(J,x)}break;case On:var w=a[Pt];w&&(w&&a[fs]=="64"&&(w+="64"),Wa.call(this.data,w+";",l));break;case Cn:if(a[Me]&&this.set(V,Me),a[q]&&(this.set(q,a[q]),!this.get(V)||!this.get(X))){var _={};Wa.call(_,"droid 9; "+a[q]+")",l),!this.get(V)&&_.type&&this.set(V,_.type),!this.get(X)&&_.vendor&&this.set(X,_.vendor)}if(a[mr]){var v;if(typeof a[mr]!="string")for(var C=0;!v&&C<a[mr].length;)v=Qn(a[mr][C++],Jd);else v=Qn(a[mr],Jd);this.set(V,v)}break;case ln:var R=a[Gr];if(R){var k=a[kl];R==nl&&(k=parseInt(Pa(k),10)>=13?"11":"10"),this.set(Q,R).set(J,k)}this.get(Q)==nl&&a[q]=="Xbox"&&this.set(Q,"Xbox").set(J,void 0);break;case Ur:var T=this.data,E=function(I){return T[I].getItem().setCH(a).parseCH().get()};this.set(Dt,E(Dt)).set(On,E(On)).set(Cn,E(Cn)).set(mn,E(mn)).set(ln,E(ln))}return this},Ln.call(this,[["itemType",e],["ua",n],["uaCH",s],["rgxMap",i],["data",fv(this,e)]]),this}function Dn(e,n,i){if(typeof e===Yr?(ts(e,!0)?(typeof n===Yr&&(i=n),n=e):(i=e,n=void 0),e=void 0):typeof e===tl&&!ts(n,!0)&&(i=n,n=void 0),i&&typeof i.append===es){var s={};i.forEach(function(h,p){s[p]=h}),i=s}if(!(this instanceof Dn))return new Dn(e,n,i).getResult();var a=typeof e===tl?e:i&&i[Wd]?i[Wd]:Wt&&Wt.userAgent?Wt.userAgent:Kr,l=new X0(i,!0),d=n?dv(ef,n):ef,f=function(h){return h==Ur?function(){return new tf(h,a,d,l).set("ua",a).set(Dt,this.getBrowser()).set(On,this.getCPU()).set(Cn,this.getDevice()).set(mn,this.getEngine()).set(ln,this.getOS()).get()}:function(){return new tf(h,a,d[h],l).parseUA().get()}};return Ln.call(this,[["getBrowser",f(Dt)],["getCPU",f(On)],["getDevice",f(Cn)],["getEngine",f(mn)],["getOS",f(ln)],["getResult",f(Ur)],["getUA",function(){return a}],["setUA",function(h){return ni(h)&&(a=h.length>el?Di(h,el):h),this}]]).setUA(a),this}Dn.VERSION=tv;Dn.BROWSER=hs([Q,J,ji,V]);Dn.CPU=hs([Pt]);Dn.DEVICE=hs([q,X,V,Mi,Me,pt,Je,_n,Fi]);Dn.ENGINE=Dn.OS=hs([Q,J]);var Q0=(e=>(e.Desktop="Desktop",e.Mobile="Mobile",e.Tablet="Tablet",e.SmartTV="Smart TV",e.Bot="Bot/Crawler",e.Unknown="Unknown",e))(Q0||{}),J0=(e=>(e.Chrome="Chrome",e.Firefox="Firefox",e.Safari="Safari",e.Edge="Edge",e.IE="IE/Edge Legacy",e.Opera="Opera",e.Brave="Brave",e.Other="Other",e))(J0||{}),e1=(e=>(e.Windows="Windows",e.macOS="macOS",e.Linux="Linux",e.Android="Android",e.iOS="iOS",e.Other="Other",e))(e1||{});const il=e=>{const i=new Dn(e).getResult(),a={deviceType:/bot|crawler|spider|crawling/i.test(e)?"Bot/Crawler":hv(i.device.type),browserName:pv(i.browser.name),osName:gv(i.os.name)},l=a.deviceType==="Mobile"||a.deviceType==="Tablet";return{...i,normalized:a,isMobile:l,isDesktop:!l}},hv=e=>{if(!e)return"Desktop";const n=e.toLowerCase();return n==="mobile"?"Mobile":n==="tablet"?"Tablet":n==="smarttv"?"Smart TV":"Unknown"},pv=e=>{if(!e)return"Other";const n=e.toLowerCase();return n.includes("brave")?"Brave":n.includes("edge")?"Edge":n.includes("opera")?"Opera":n.includes("ie")||n.includes("trident")?"IE/Edge Legacy":n.includes("chrome")?"Chrome":n.includes("firefox")?"Firefox":n.includes("safari")?"Safari":"Other"},gv=e=>{if(!e)return"Other";const n=e.toLowerCase();return n.includes("windows")?"Windows":n.includes("mac os")?"macOS":["ubuntu","debian","fedora","linux"].some(i=>n.includes(i))?"Linux":n.includes("android")?"Android":n.includes("ios")?"iOS":"Other"},mv=e=>{const[n,i]=c.useState(e?il(e):void 0);return c.useEffect(()=>{n||i(il(window.navigator.userAgent))},[n]),n};function $l({anchorRef:e,popupRef:n,offsetValue:i,isOpen:s,useFixedPosition:a=!1}){const l=c.useCallback(()=>{const d=e.current,f=n.current;if(!d||!f)return;const h=d.getBoundingClientRect(),p=f.getBoundingClientRect();if(a){let R=h.bottom+i,k=h.left;k+p.width>window.innerWidth-16&&(k=window.innerWidth-p.width-16),k<16&&(k=16);const T=window.innerHeight-h.bottom-i,E=h.top-i;T<p.height&&E>=p.height&&(R=h.top-p.height-i),f.style.position="fixed",f.style.inset=`${R}px auto auto ${k}px`;return}const x=d.offsetParent;if(!x)return;const w=x.getBoundingClientRect();let _=h.bottom-w.top+i,v=h.left-w.left;v+p.width>w.width-16&&(v=w.width-p.width-16),v<16&&(v=16);const C=h.top-w.top;_+p.height>w.height-16&&C>=p.height+i&&(_=h.top-w.top-p.height-i),f.style.inset=`${_}px auto auto ${v}px`},[e,n,i,a]);c.useLayoutEffect(()=>{s&&requestAnimationFrame(l)},[s,l]),c.useEffect(()=>{if(s)return window.addEventListener("resize",l),a&&window.addEventListener("scroll",l,!0),()=>{window.removeEventListener("resize",l),a&&window.removeEventListener("scroll",l,!0)}},[s,l,a])}const yv=ue(L)`
|
|
63
63
|
position: absolute;
|
|
64
64
|
top: 0;
|
|
65
65
|
left: 0;
|
|
@@ -68,9 +68,9 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
68
68
|
display: flex;
|
|
69
69
|
justify-content: center;
|
|
70
70
|
align-items: center;
|
|
71
|
-
`,
|
|
72
|
-
width: ${({size:
|
|
73
|
-
height: ${({size:
|
|
71
|
+
`,bv=ue.div`
|
|
72
|
+
width: ${({size:e})=>e};
|
|
73
|
+
height: ${({size:e})=>e};
|
|
74
74
|
border-radius: 50%;
|
|
75
75
|
position: relative;
|
|
76
76
|
|
|
@@ -83,9 +83,9 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
83
83
|
width: 100%;
|
|
84
84
|
height: 100%;
|
|
85
85
|
border-radius: 50%;
|
|
86
|
-
border: ${({strokeWidth:
|
|
87
|
-
border-top-color: ${({color:
|
|
88
|
-
border-right-color: ${({color:
|
|
86
|
+
border: ${({strokeWidth:e})=>e} solid transparent;
|
|
87
|
+
border-top-color: ${({color:e})=>e};
|
|
88
|
+
border-right-color: ${({color:e})=>e};
|
|
89
89
|
animation: spin 1s linear infinite;
|
|
90
90
|
}
|
|
91
91
|
|
|
@@ -94,152 +94,154 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
94
94
|
transform: rotate(360deg);
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
|
-
`,
|
|
97
|
+
`,nf=({size:e,color:n="primary","data-testid":i})=>{const s=be(),l=Object.keys(s.__hd__.loading.sizes).includes(e)?s.__hd__.loading.sizes[e]:e,f=Object.keys(s.__hd__.loading.strokeWidths).includes(e)?s.__hd__.loading.strokeWidths[e]:"2px",h=s.colors[n]||n;return m.jsx(bv,{size:l,color:h,strokeWidth:f,"data-testid":i})},Al=({size:e,loading:n=!0,color:i="primary",children:s,"data-testid":a,...l})=>{const d=be(),[f,h]=c.useState(n),[p,x]=c.useState(n?1:0),[w,_]=c.useState(n?0:1);return c.useEffect(()=>{let v;return n?(h(!0),x(1),_(0)):(x(0),_(1),v=setTimeout(()=>{h(!1)},d.__hd__.loading.animation.showingDuration)),()=>{v&&clearTimeout(v)}},[n,d.__hd__.loading.animation.showingDuration]),s?m.jsxs(L,{position:"relative",...l,children:[f&&m.jsx(yv,{style:{opacity:p,transition:`opacity ${d.__hd__.loading.animation.showingDuration}ms`},children:m.jsx(nf,{size:e,color:i,"data-testid":a})}),m.jsx(L,{style:{opacity:w,transition:`opacity ${d.__hd__.loading.animation.contentShowingDuration}ms`},children:s})]}):f?m.jsx(nf,{size:e,color:i,"data-testid":a}):null};function xv({children:e,onClick:n,style:i,useScaleAnimation:s=!0,useOpacityAnimation:a=!0,href:l,target:d,rel:f,"data-testid":h,...p},x){const w=be(),[_,v]=c.useState(!1),C=c.useCallback(()=>{v(!0)},[]),R=c.useCallback(()=>{v(!1)},[]),k=c.useCallback(()=>{v(!1)},[]),T=c.useMemo(()=>{const I=[];return s&&I.push("transform 0.2s ease"),a&&I.push("opacity 0.2s ease"),I.join(", ")},[s,a]),E={ref:x,onClick:n,onMouseDown:C,onMouseUp:R,onMouseLeave:k,style:i,"data-testid":h,transition:T,transform:s?`scale(${_?w.__hd__.touchable.animation.minScale:w.__hd__.touchable.animation.maxScale})`:void 0,opacity:a?_?w.__hd__.touchable.animation.minOpacity:w.__hd__.touchable.animation.maxOpacity:void 0,cursor:"pointer",...p};return l?m.jsx(L,{as:"a",href:l,target:d,rel:f,...E,children:e}):m.jsx(L,{...E,children:e})}const vv=c.forwardRef(xv),kt=vv,ps=(e,n,i,s="solid",a)=>{if(a)return e.colors.grey500;if(i)return e.colors[i];switch(s){case"outlined":case"text":return e.colors[n];case"solid":default:return n==="white"?e.colors.grey900:e.colors.white}},Tl=ue(L)`
|
|
98
98
|
display: flex;
|
|
99
99
|
flex-direction: row;
|
|
100
100
|
justify-content: center;
|
|
101
101
|
align-items: center;
|
|
102
102
|
position: relative;
|
|
103
|
-
background-color: ${({theme:
|
|
104
|
-
border-radius: ${({theme:
|
|
105
|
-
padding: ${({$paddingVertical:
|
|
106
|
-
border: ${({$borderWidth:
|
|
107
|
-
${({$variant:
|
|
108
|
-
pointer-events: ${({$disabled:
|
|
109
|
-
cursor: ${({$disabled:
|
|
103
|
+
background-color: ${({theme:e,$backgroundColor:n})=>n==="disabled"?e.colors.grey200:e.colors[n]};
|
|
104
|
+
border-radius: ${({theme:e,$borderRadius:n})=>e.radii[n]}px;
|
|
105
|
+
padding: ${({$paddingVertical:e,$paddingHorizontal:n,theme:i})=>`${i.spaces[e]}px ${i.spaces[n]}px`};
|
|
106
|
+
border: ${({$borderWidth:e,theme:n})=>n.borderWidths[e]}px solid transparent;
|
|
107
|
+
${({$variant:e,$color:n,theme:i})=>e==="outlined"&&`border-color: ${i.colors[n]};`}
|
|
108
|
+
pointer-events: ${({$disabled:e})=>e?"none":"auto"};
|
|
109
|
+
cursor: ${({$disabled:e})=>e?"not-allowed":"pointer"};
|
|
110
110
|
// Add border-color to transition
|
|
111
111
|
transition: opacity 0.2s ease-in-out, background-color 0.2s ease-in-out, color 0.2s ease-in-out, border-color 0.2s ease-in-out;
|
|
112
|
-
opacity: ${({$disabled:
|
|
112
|
+
opacity: ${({$disabled:e})=>e?.7:1}; // Keep base opacity for disabled state
|
|
113
113
|
|
|
114
114
|
@media (min-width: 900px) {
|
|
115
115
|
&:hover {
|
|
116
|
-
${({$disabled:
|
|
116
|
+
${({$disabled:e,$variant:n,$color:i,$borderWidth:s,theme:a})=>!e&&`
|
|
117
117
|
opacity: 1; // Ensure full opacity on hover
|
|
118
118
|
// Solid: background white, border with main color
|
|
119
|
-
${
|
|
119
|
+
${n==="solid"?`background-color: ${a.colors.white}; border-color: ${a.colors[i]}; border-width: ${a.borderWidths[s]}px;`:""}
|
|
120
120
|
// Outlined: background with main color, border remains same (or becomes transparent/main color based on design)
|
|
121
|
-
${
|
|
121
|
+
${n==="outlined"?`background-color: ${a.colors[i]}; border-color: ${a.colors[i]};`:""}
|
|
122
122
|
// Text variant doesn't change background or border on hover
|
|
123
123
|
`}
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
|
-
`,
|
|
127
|
-
color: ${({theme:
|
|
128
|
-
font-size: ${({theme:
|
|
129
|
-
font-weight: ${({theme:
|
|
126
|
+
`,wv=ue(Xe)`
|
|
127
|
+
color: ${({theme:e,$themeColor:n,$themeTextColor:i,$variant:s,$disabled:a})=>ps(e,n,i,s,a)};
|
|
128
|
+
font-size: ${({theme:e,$themeFontSize:n})=>e.__hd__.text.fontSizes[n]}px;
|
|
129
|
+
font-weight: ${({theme:e,$themeFontWeight:n})=>e.__hd__.text.fontWeights[n]};
|
|
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:
|
|
134
|
+
${Tl}:hover & {
|
|
135
|
+
${({$variant:e,theme:n,$themeColor:i,$disabled:s})=>!s&&`
|
|
136
136
|
// Solid: text becomes main color
|
|
137
|
-
${
|
|
137
|
+
${e==="solid"?`color: ${n.colors[i]};`:""}
|
|
138
138
|
// Outlined: text becomes white
|
|
139
|
-
${
|
|
139
|
+
${e==="outlined"?`color: ${n.colors.white};`:""}
|
|
140
140
|
// Text: opacity changes
|
|
141
|
-
${
|
|
141
|
+
${e==="text"?`color: ${n.colors.primary};`:""}
|
|
142
142
|
`}
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
|
-
`,
|
|
145
|
+
`,rf=ue(L)`
|
|
146
146
|
display: flex;
|
|
147
147
|
align-items: center;
|
|
148
|
-
margin-left: ${({theme:
|
|
149
|
-
margin-right: ${({theme:
|
|
150
|
-
`,
|
|
148
|
+
margin-left: ${({theme:e,$themePosition:n,$iconSpacing:i})=>n==="right"?`${e.spaces[i]}px`:0};
|
|
149
|
+
margin-right: ${({theme:e,$themePosition:n,$iconSpacing:i,$hasText:s})=>n==="left"&&s?`${e.spaces[i]}px`:0};
|
|
150
|
+
`,of=ue(gt)`
|
|
151
151
|
transition: color 0.2s ease-in-out;
|
|
152
|
-
color: ${({theme:
|
|
153
|
-
width: ${({theme:
|
|
154
|
-
height: ${({theme:
|
|
152
|
+
color: ${({theme:e,$themeColor:n,$themeTextColor:i,$variant:s,$disabled:a})=>ps(e,n,i,s,a)};
|
|
153
|
+
width: ${({theme:e,$iconSize:n})=>e.sizes[n]}px;
|
|
154
|
+
height: ${({theme:e,$iconSize:n})=>e.sizes[n]}px;
|
|
155
155
|
|
|
156
156
|
@media (min-width: 900px) {
|
|
157
|
-
${
|
|
158
|
-
${({$variant:
|
|
157
|
+
${Tl}:hover & {
|
|
158
|
+
${({$variant:e,theme:n,$themeColor:i,$disabled:s})=>!s&&`
|
|
159
159
|
// Solid: text becomes main color
|
|
160
|
-
${
|
|
160
|
+
${e==="solid"?`color: ${n.colors[i]};`:""}
|
|
161
161
|
// Outlined: text becomes white
|
|
162
|
-
${
|
|
162
|
+
${e==="outlined"?`color: ${n.colors.white};`:""}
|
|
163
163
|
// Text: opacity changes
|
|
164
|
-
${
|
|
164
|
+
${e==="text"?`color: ${n.colors.primary};`:""}
|
|
165
165
|
`}
|
|
166
166
|
}
|
|
167
167
|
}
|
|
168
|
-
`,
|
|
169
|
-
background-color: ${({theme:
|
|
170
|
-
${({$orientation:
|
|
171
|
-
height: ${
|
|
168
|
+
`,Qr=({disabled:e=!1,icon:n,color:i,textColor:s,loading:a=!1,onClick:l,rightIcon:d,corner:f="circle",variant:h="solid",size:p="md",style:x,"data-testid":w,text:_,...v})=>{var P;const C=be(),R=C.__hd__.button,k=R.defaultColor||"primary",T=i||k,E=((P=R.variants)==null?void 0:P[h])||{},I=R.sizes[p],$=e||a,M=c.useMemo(()=>$&&h==="solid"?"disabled":h==="solid"?T:E.bgColor||"transparent",[T,$,h,E.bgColor]),z=c.useMemo(()=>ps(C,T,s,h,$),[C,T,s,h,$]),j=le=>{e||a||l==null||l(le)},H=h==="text"?"none":I.paddingHorizontal,oe=h==="text"?"none":I.paddingVertical,te=I.fontSize,re=I.iconSize,B=R.iconSpacing||"xs",W=m.jsxs(L,{display:"flex",alignItems:"center",gap:B,children:[n&&m.jsx(rf,{$themePosition:"left",$iconSpacing:B,$hasText:!!_,children:m.jsx(of,{$themeColor:T,$themeTextColor:s,$variant:h,$disabled:$,$iconSize:re,type:"icon",art:n,weight:I.iconWeight,size:re})}),_&&m.jsx(wv,{$themeColor:T,$themeTextColor:s,$themeFontSize:te,$themeFontWeight:I.fontWeight,$disabled:$,$variant:h,as:"span",children:_}),d&&m.jsx(rf,{$themePosition:"right",$iconSpacing:B,children:m.jsx(of,{$themeColor:T,$themeTextColor:s,$variant:h,$disabled:$,$iconSize:re,weight:I.iconWeight,type:"icon",art:d,size:re})})]});return m.jsx(kt,{onClick:j,style:x,"data-testid":w,...v,children:m.jsx(Tl,{$backgroundColor:M,$paddingHorizontal:H,$paddingVertical:oe,$borderRadius:I.squircleBorderRadii[f],$borderWidth:I.borderWidth,$disabled:$,$variant:h,$color:T,$size:p,children:m.jsx(Al,{size:"small",color:z,loading:a,display:"flex",alignItems:"center",justifyContent:"center",children:W})})})},_v=ue(L)`
|
|
169
|
+
background-color: ${({theme:e,$color:n})=>e.colors[n]};
|
|
170
|
+
${({$orientation:e,$thickness:n})=>e==="horizontal"?`
|
|
171
|
+
height: ${n}px;
|
|
172
172
|
width: 100%;
|
|
173
173
|
`:`
|
|
174
|
-
width: ${
|
|
174
|
+
width: ${n}px;
|
|
175
175
|
height: 100%;
|
|
176
176
|
`}
|
|
177
|
-
`,
|
|
177
|
+
`,t1=({orientation:e="horizontal",color:n,thickness:i,...s})=>{var p,x;const a=be(),l=(p=a.__hd__.divider)==null?void 0:p.defaultColor,d=(x=a.__hd__.divider)==null?void 0:x.defaultThickness,f=n||l||"grey300",h=i||d||1;return m.jsx(_v,{$orientation:e,$color:f,$thickness:h,...s})},n1=ue(kt)`
|
|
178
178
|
display: flex;
|
|
179
179
|
align-items: center;
|
|
180
180
|
justify-content: center;
|
|
181
181
|
transition: background-color 0.2s ease-in-out, transform 50ms ease-in-out, box-shadow 0.2s ease-in-out;
|
|
182
|
-
background-color: ${({theme:
|
|
183
|
-
box-shadow: ${({$themeBoxShadow:
|
|
184
|
-
border-radius: ${({theme:
|
|
185
|
-
padding-left: ${({theme:
|
|
186
|
-
padding-right: ${({theme:
|
|
187
|
-
padding-top: ${({theme:
|
|
188
|
-
padding-bottom: ${({theme:
|
|
189
|
-
gap: ${({theme:
|
|
182
|
+
background-color: ${({theme:e,$themeBackgroundColor:n})=>e.colors[n]};
|
|
183
|
+
box-shadow: ${({$themeBoxShadow:e})=>e};
|
|
184
|
+
border-radius: ${({theme:e,$themeRadius:n,$isRound:i})=>i?"50%":`${e.radii[n]}px`};
|
|
185
|
+
padding-left: ${({theme:e,$themePaddingX:n,$themePaddingY:i,$isRound:s})=>e.spaces[s?i:n]}px;
|
|
186
|
+
padding-right: ${({theme:e,$themePaddingX:n,$themePaddingY:i,$isRound:s})=>e.spaces[s?i:n]}px;
|
|
187
|
+
padding-top: ${({theme:e,$themePaddingY:n})=>e.spaces[n]}px;
|
|
188
|
+
padding-bottom: ${({theme:e,$themePaddingY:n})=>e.spaces[n]}px;
|
|
189
|
+
gap: ${({theme:e,$gap:n})=>e.spaces[n]}px;
|
|
190
190
|
&:hover {
|
|
191
|
-
box-shadow: ${({$themeHoverBoxShadow:
|
|
192
|
-
background-color: ${({theme:
|
|
191
|
+
box-shadow: ${({$themeHoverBoxShadow:e})=>e};
|
|
192
|
+
background-color: ${({theme:e,$themeHoverBackgroundColor:n})=>e.colors[n]};
|
|
193
193
|
}
|
|
194
|
-
`,sf=
|
|
194
|
+
`,sf=ue.span`
|
|
195
195
|
display: inline-flex;
|
|
196
196
|
align-items: center;
|
|
197
197
|
justify-content: center;
|
|
198
|
-
height: ${({$themeHeight:
|
|
199
|
-
min-width: ${({$themeMinWidth:
|
|
200
|
-
gap: ${({theme:
|
|
198
|
+
height: ${({$themeHeight:e})=>e}px;
|
|
199
|
+
min-width: ${({$themeMinWidth:e})=>e}px;
|
|
200
|
+
gap: ${({theme:e,$themeGap:n})=>e.spaces[n]}px;
|
|
201
201
|
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;
|
|
202
|
-
color: ${({theme:
|
|
203
|
-
font-weight: ${({theme:
|
|
204
|
-
font-size: ${({theme:
|
|
205
|
-
rotate: ${({$isDropdownItem:
|
|
206
|
-
${
|
|
207
|
-
color: ${({theme:
|
|
208
|
-
rotate: ${({$isDropdownItem:
|
|
209
|
-
}
|
|
210
|
-
${({$isLoading:
|
|
202
|
+
color: ${({theme:e,$themeColor:n})=>e.colors[n]};
|
|
203
|
+
font-weight: ${({theme:e,$themeFontWeight:n})=>e.__hd__.text.fontWeights[n]};
|
|
204
|
+
font-size: ${({theme:e,$themeFontSize:n})=>e.__hd__.text.fontSizes[n]}px;
|
|
205
|
+
rotate: ${({$isDropdownItem:e,$isDropdownOpen:n})=>!e&&n?"-180deg":void 0};
|
|
206
|
+
${n1}:hover & {
|
|
207
|
+
color: ${({theme:e,$themeHoverColor:n})=>e.colors[n]};
|
|
208
|
+
rotate: ${({$isDropdownItem:e,$isDropdownOpen:n})=>!e&&n?"-90deg":void 0};
|
|
209
|
+
}
|
|
210
|
+
${({$isLoading:e})=>e&&`
|
|
211
211
|
opacity: 0;
|
|
212
212
|
`}
|
|
213
213
|
white-space: nowrap;
|
|
214
|
-
`,Lo=({label:t,icon:r,iconSize:i,isActive:a,isLoading:l,dropdownItems:u=[],onClick:f,size:h="large",isDropdownOpen:g=!1,isDropdownItem:v=!1,onMouseEnter:_,onToggleDropdown:S,paddingX:E,paddingY:x,isRound:C=!1})=>{const F=xe(),{isTouch:R}=Is(),I=u.length>0,T=()=>{if(R&&I){g?f==null||f():S==null||S();return}f==null||f()},k=F.__hd__.header,O=k.navItem,M=a?O.active:O.inactive,N=d.useMemo(()=>v?"transparent":g?M.hoverBackgroundColor:M.backgroundColor,[v,g,M.backgroundColor,M.hoverBackgroundColor]);return y.jsxs(Vd,{onClick:T,onMouseEnter:_,$themeBackgroundColor:N,$themeBoxShadow:!v&&g?M.hoverBoxShadow:"none",$themeHoverBackgroundColor:v?"transparent":M.hoverBackgroundColor,$themeHoverBoxShadow:v?"none":M.hoverBoxShadow,$themeHoverColor:O.active.backgroundColor,$themeRadius:O.radius,$themePaddingX:E??O.paddingX,$themePaddingY:x??O.paddingY,$gap:k.loadingGap,$isRound:C,children:[y.jsx(X,{display:"flex",justifyContent:"start",alignItems:"center",flex:1,children:y.jsxs(sf,{$themeFontWeight:M.fontWeight,$themeFontSize:O[h].fontSize,$themeColor:M.color,$themeHoverColor:O.hover.color,$themeGap:O[h].gap,$themeHeight:O[h].containerHeight,$themeMinWidth:O[h].containerHeight,$isLoading:l??!1,children:[r&&y.jsx(Ht,{type:"icon",art:r,size:i??O[h].iconSize}),t]})}),(u.length>0||g)&&y.jsxs(sf,{$themeFontWeight:M.fontWeight,$themeFontSize:O[h].fontSize,$themeColor:M.color,$themeHoverColor:O.hover.color,$themeGap:O[h].gap,$themeHeight:O[h].containerHeight,$isLoading:l??!1,$isDropdownOpen:g,$isDropdownItem:v,children:[u.length>0&&y.jsx(Ls,{size:16,weight:"bold"}),v&&y.jsx(gi,{rotate:45,size:16,weight:"bold"})]}),y.jsx(X,{display:"flex",alignItems:"center",justifyContent:"center",absoluteFill:!0,opacity:l?1:0,transition:"opacity 0.2s ease-in-out",children:y.jsx(js,{size:O[h].loadingSize,color:M.color})})]})};function jb({userProfile:t,dropdownItems:r,maxHeight:i},a){const l=xe(),u=l.__hd__.header.profileDropdown,[f,h]=d.useState(!1),g=d.useRef(null),v=d.useRef(null),_=ze.isString(u.minWidth)&&ir(u.minWidth)?l.sizes[u.minWidth]:u.minWidth,S=ze.isString(i)&&ir(i)?l.sizes[i]:i||u.defaultMaxHeight,E=()=>{g.current&&clearTimeout(g.current),v.current&&clearTimeout(v.current)},x=(F=()=>{})=>{E(),h(!0),g.current=setTimeout(F,u.animationDuration)},C=(F=()=>{})=>{E(),h(!1),v.current=setTimeout(F,u.animationDuration)};return d.useImperativeHandle(a,()=>({showDropdown:x,hideDropdown:C})),y.jsx(X,{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:()=>C(),children:y.jsxs(X,{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:[t!=null&&t.name?y.jsx(X,{py:u.padding,mx:"md",children:y.jsx(ht,{textAlign:"left",children:t.name})}):y.jsx(X,{py:u.padding,mx:"md",children:y.jsx(ht,{textAlign:"left",children:t==null?void 0:t.email})}),y.jsx(X,{p:u.padding,children:y.jsx(Zd,{})}),r==null?void 0:r.map(F=>y.jsx(Lo,{label:F.label,onClick:F.onClick,isActive:F.isActive,size:"medium",isDropdownItem:!0},F.label))]})})}const Bb=d.forwardRef(jb),Nd=({isSignedIn:t=!1,isDropdownVisible:r,setIsDropdownVisible:i,userProfile:a,dropdownItems:l,profileDropdownMaxHeight:u,onProfileClick:f,onSignInClick:h,onRegisterClick:g})=>{const v=xe(),[_,S]=d.useState(!1),[E,x]=d.useState(!0),C=d.useDeferredValue(_),F=Fr(),R=!yt()&&F==="xs";d.useEffect(()=>{yt()||(S(!R),setTimeout(()=>{x(!1)},300))},[R]);const I=v.__hd__.header.avatarSize||"md",T=d.useRef(null),k=()=>{var M;i(!0),(M=T.current)==null||M.showDropdown()},O=()=>{var M;(M=T.current)==null||M.hideDropdown(()=>{i(!1)})};return d.useEffect(()=>{r?k():O()},[r]),y.jsx(mi,{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(X,{display:"flex",flexDirection:"row",alignItems:"center",children:[t?y.jsx(Jt,{onClick:f,children:y.jsxs(X,{display:"flex",flexDirection:"row",alignItems:"center",p:"sm",r:"full",bgColor:"grey100",onMouseEnter:k,onMouseLeave:O,children:[y.jsx(Fd,{src:a==null?void 0:a.avatar,name:a==null?void 0:a.name,size:I}),(a==null?void 0:a.name)&&y.jsx(X,{ml:"sm",children:y.jsx(ht,{fontWeight:"medium",children:a.name})})]})}):y.jsxs(y.Fragment,{children:[y.jsx(X,{mr:"md",children:y.jsx(bs,{text:"Sign in",variant:"text",color:"black",onClick:h})}),y.jsx(bs,{text:"Register",color:"primary",corner:"rounded",onClick:g})]}),t&&y.jsx(Bb,{ref:T,userProfile:a,dropdownItems:l,maxHeight:u})]})})},Pb="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",Ud=({logo:t=Pb,onLogoClick:r})=>y.jsx(X,{children:y.jsx(Jt,{onClick:r,children:y.jsx(Ht,{art:t,type:"svg",width:"lg",height:"lg"})})}),Wb=({dropdownMaxHeight:t,dropdownMinWidth:r,isDropdownOpen:i=!1,dropdownItems:a=[]})=>{const l=xe(),u=l.__hd__.header.navDropdown,f=ze.isString(t)&&ir(t)?l.sizes[t]:t||u.defaultMaxHeight,h=ze.isString(r)&&ir(r)?l.sizes[r]:r||u.minWidth;return y.jsx(X,{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:y.jsx(X,{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((g,v)=>y.jsx(Lo,{isDropdownOpen:!0,isDropdownItem:!0,size:"medium",paddingX:"none",paddingY:"none",...g},`nav-dropdown-item-${v}`))})})},Db=se.span`
|
|
214
|
+
`,gs=({label:e,icon:n,iconSize:i,isActive:s,isLoading:a,dropdownItems:l=[],onClick:d,size:f="large",isDropdownOpen:h=!1,isDropdownItem:p=!1,onMouseEnter:x,onToggleDropdown:w,paddingX:_,paddingY:v,isRound:C=!1})=>{const R=be(),{isTouch:k}=Cl(),T=l.length>0,E=()=>{if(k&&T){h?d==null||d():w==null||w();return}d==null||d()},I=R.__hd__.header,$=I.navItem,M=s?$.active:$.inactive,z=c.useMemo(()=>p?"transparent":h?M.hoverBackgroundColor:M.backgroundColor,[p,h,M.backgroundColor,M.hoverBackgroundColor]);return m.jsxs(n1,{onClick:E,onMouseEnter:x,$themeBackgroundColor:z,$themeBoxShadow:!p&&h?M.hoverBoxShadow:"none",$themeHoverBackgroundColor:p?"transparent":M.hoverBackgroundColor,$themeHoverBoxShadow:p?"none":M.hoverBoxShadow,$themeHoverColor:$.active.backgroundColor,$themeRadius:$.radius,$themePaddingX:_??$.paddingX,$themePaddingY:v??$.paddingY,$gap:I.loadingGap,$isRound:C,children:[m.jsx(L,{display:"flex",justifyContent:"start",alignItems:"center",flex:1,children:m.jsxs(sf,{$themeFontWeight:M.fontWeight,$themeFontSize:$[f].fontSize,$themeColor:M.color,$themeHoverColor:$.hover.color,$themeGap:$[f].gap,$themeHeight:$[f].containerHeight,$themeMinWidth:$[f].containerHeight,$isLoading:a??!1,children:[n&&m.jsx(gt,{type:"icon",art:n,size:i??$[f].iconSize}),e]})}),(l.length>0||h)&&m.jsxs(sf,{$themeFontWeight:M.fontWeight,$themeFontSize:$[f].fontSize,$themeColor:M.color,$themeHoverColor:$.hover.color,$themeGap:$[f].gap,$themeHeight:$[f].containerHeight,$isLoading:a??!1,$isDropdownOpen:h,$isDropdownItem:p,children:[l.length>0&&m.jsx(wl,{size:16,weight:"bold"}),p&&m.jsx(ei,{rotate:45,size:16,weight:"bold"})]}),m.jsx(L,{display:"flex",alignItems:"center",justifyContent:"center",absoluteFill:!0,opacity:a?1:0,transition:"opacity 0.2s ease-in-out",children:m.jsx(Al,{size:$[f].loadingSize,color:M.color})})]})};function Cv({userProfile:e,dropdownItems:n,maxHeight:i},s){const a=be(),l=a.__hd__.header.profileDropdown,[d,f]=c.useState(!1),h=c.useRef(null),p=c.useRef(null),x=Ne.isString(l.minWidth)&&yr(l.minWidth)?a.sizes[l.minWidth]:l.minWidth,w=Ne.isString(i)&&yr(i)?a.sizes[i]:i||l.defaultMaxHeight,_=()=>{h.current&&clearTimeout(h.current),p.current&&clearTimeout(p.current)},v=(R=()=>{})=>{_(),f(!0),h.current=setTimeout(R,l.animationDuration)},C=(R=()=>{})=>{_(),f(!1),p.current=setTimeout(R,l.animationDuration)};return c.useImperativeHandle(s,()=>({showDropdown:v,hideDropdown:C})),m.jsx(L,{position:"absolute",top:l.offset.top,right:l.offset.right,minWidth:x,zIndex:d?a.zIndex.getZIndex("AIC_Kits_Dropdown"):-1,opacity:d?1:0,transition:`opacity ${l.animationDuration}ms ease-in-out, z-index ${l.animationDuration}ms ease-in-out`,onMouseEnter:()=>v(),onMouseLeave:()=>C(),children:m.jsxs(L,{overflow:"hidden",mt:l.spacingTop,mr:l.containerPaddingRight,padding:l.padding,backgroundColor:l.backgroundColor,boxShadow:l.boxShadow,maxHeight:d?w:0,transition:`max-height ${l.animationDuration}ms ease-in-out`,style:{borderRadius:l.borderRadius},display:"flex",flexDirection:"column",children:[e!=null&&e.name?m.jsx(L,{py:l.padding,mx:"md",children:m.jsx(Xe,{textAlign:"left",children:e.name})}):m.jsx(L,{py:l.padding,mx:"md",children:m.jsx(Xe,{textAlign:"left",children:e==null?void 0:e.email})}),m.jsx(L,{p:l.padding,children:m.jsx(t1,{})}),n==null?void 0:n.map(R=>m.jsx(gs,{label:R.label,onClick:R.onClick,isActive:R.isActive,size:"medium",isDropdownItem:!0},R.label))]})})}const Sv=c.forwardRef(Cv),r1=({isSignedIn:e=!1,isDropdownVisible:n,setIsDropdownVisible:i,userProfile:s,dropdownItems:a,profileDropdownMaxHeight:l,onProfileClick:d,onSignInClick:f,onRegisterClick:h})=>{const p=be(),[x,w]=c.useState(!1),[_,v]=c.useState(!0),C=c.useDeferredValue(x),R=ti(),k=!Ct()&&R==="xs";c.useEffect(()=>{Ct()||(w(!k),setTimeout(()=>{v(!1)},300))},[k]);const T=p.__hd__.header.avatarSize||"md",E=c.useRef(null),I=()=>{var M;i(!0),(M=E.current)==null||M.showDropdown()},$=()=>{var M;(M=E.current)==null||M.hideDropdown(()=>{i(!1)})};return c.useEffect(()=>{n?I():$()},[n]),m.jsx(Hi,{display:"flex",visible:_,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:m.jsxs(L,{display:"flex",flexDirection:"row",alignItems:"center",children:[e?m.jsx(kt,{onClick:d,children:m.jsxs(L,{display:"flex",flexDirection:"row",alignItems:"center",p:"sm",r:"full",bgColor:"grey100",onMouseEnter:I,onMouseLeave:$,children:[m.jsx(G0,{src:s==null?void 0:s.avatar,name:s==null?void 0:s.name,size:T}),(s==null?void 0:s.name)&&m.jsx(L,{ml:"sm",children:m.jsx(Xe,{fontWeight:"medium",children:s.name})})]})}):m.jsxs(m.Fragment,{children:[m.jsx(L,{mr:"md",children:m.jsx(Qr,{text:"Sign in",variant:"text",color:"black",onClick:f})}),m.jsx(Qr,{text:"Register",color:"primary",corner:"rounded",onClick:h})]}),e&&m.jsx(Sv,{ref:E,userProfile:s,dropdownItems:a,maxHeight:l})]})})},Ev="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",i1=({logo:e=Ev,onLogoClick:n})=>m.jsx(L,{children:m.jsx(kt,{onClick:n,children:m.jsx(gt,{art:e,type:"svg",width:"lg",height:"lg"})})}),kv=({dropdownMaxHeight:e,dropdownMinWidth:n,isDropdownOpen:i=!1,dropdownItems:s=[]})=>{const a=be(),l=a.__hd__.header.navDropdown,d=Ne.isString(e)&&yr(e)?a.sizes[e]:e||l.defaultMaxHeight,f=Ne.isString(n)&&yr(n)?a.sizes[n]:n||l.minWidth;return m.jsx(L,{position:"absolute",top:"100%",left:0,minWidth:f,zIndex:i?a.zIndex.getZIndex("AIC_Kits_Dropdown"):-1,opacity:i?1:0,transition:`z-index ${l.animationDuration}ms ease-in, opacity ${l.animationDuration}ms ease-in`,children:m.jsx(L,{overflow:"hidden",display:"flex",flexDirection:"column",mt:l.spacingTop,px:l.paddingX,py:l.paddingY,gap:l.gap,backgroundColor:l.backgroundColor,boxShadow:l.boxShadow,maxHeight:i?d:0,transition:`max-height ${l.animationDuration}ms ease-in`,style:{borderRadius:l.borderRadius},children:s.length>0&&s.map((h,p)=>m.jsx(gs,{isDropdownOpen:!0,isDropdownItem:!0,size:"medium",paddingX:"none",paddingY:"none",...h},`nav-dropdown-item-${p}`))})})},$v=ue.span`
|
|
215
215
|
position: relative;
|
|
216
|
-
`,
|
|
216
|
+
`,Av=({item:e,index:n,openItemIndex:i,handleNavItemMouseEnter:s,handleNavItemMouseLeave:a,handleNavItemToggleDropdown:l})=>{var x,w;const[d,f]=c.useState(0),h=c.useRef(null),{isMouse:p}=Cl();return c.useLayoutEffect(()=>{h.current&&f(h.current.offsetWidth)},[e]),m.jsxs($v,{onMouseLeave:p?a:void 0,onMouseEnter:p?()=>s(e,n):void 0,children:[m.jsx(L,{ref:h,display:"inline-block",children:m.jsx(gs,{...e,isActive:i!==n&&(e.isActive||((x=e.dropdownItems)==null?void 0:x.some(_=>_.isActive)))||e.isActive,isLoading:i!==n&&(e.isLoading||((w=e.dropdownItems)==null?void 0:w.some(_=>_.isLoading)))||e.isLoading,isDropdownOpen:i===n,onToggleDropdown:()=>l(n)})}),e.dropdownItems&&e.dropdownItems.length>0&&m.jsx(kv,{dropdownItems:e.dropdownItems,isDropdownOpen:i===n,dropdownMinWidth:d})]})},o1=({navItems:e=[]})=>{const i=be().__hd__.header,s=c.useRef(null),[a,l]=c.useState(!1),[d,f]=c.useState(!0),h=ti(),p=!Ct()&&h==="xs",[x,w]=c.useState(null);c.useEffect(()=>{Ct()||(l(!p),setTimeout(()=>{f(!1)},300))},[p]),c.useEffect(()=>{const k=T=>{s.current&&!s.current.contains(T.target)&&w(null)};return x!==null&&document.addEventListener("mousedown",k),()=>{document.removeEventListener("mousedown",k)}},[x]);const _=c.useDeferredValue(a),v=(k,T)=>{k.dropdownItems&&k.dropdownItems.length>0&&w(T)},C=()=>{w(null)},R=k=>{w(T=>T===k?null:k)};return m.jsx(Hi,{display:"flex",visible:d,maxWidth:_?"100%":"0px",maxHeight:_?"100%":"0px",opacity:_?1:0,variant:"transparent",transition:"max-width 0.3s ease-in-out, opacity 0.3s ease-in-out",r:"lg",py:"sm",children:m.jsx(L,{ref:s,display:"flex",flexDirection:"row",justifyContent:"center",flex:1,gap:i.navItem.gap,p:i.padding,r:i.radius,bgColor:i.backgroundColor,children:e.map((k,T)=>m.jsx(Av,{item:k,index:T,openItemIndex:x,handleNavItemMouseEnter:v,handleNavItemMouseLeave:C,handleNavItemToggleDropdown:R},`nav-item-wrapper-${T}`))})})},s1=({onSearchClick:e,isSearchActive:n=!1,isSearchLoading:i=!1})=>{const a=be().__hd__.header,[l,d]=c.useState(!1),[f,h]=c.useState(!0),p=ti(),x=!Ct()&&p==="xs";c.useEffect(()=>{Ct()||(d(!x),setTimeout(()=>{h(!1)},300))},[x]);const w=c.useDeferredValue(l);return m.jsx(Hi,{display:"flex",visible:f,maxWidth:w?"100%":"0px",maxHeight:w?"100%":"0px",opacity:w?1:0,variant:"transparent",transition:"max-width 0.3s ease-in-out, opacity 0.3s ease-in-out",r:"lg",py:"sm",children:m.jsx(L,{display:"flex",flexDirection:"row",justifyContent:"center",alignItems:"center",p:a.padding,r:a.radius,bgColor:a.backgroundColor,children:m.jsx(gs,{icon:H0,isActive:n,isLoading:i,onClick:e,isRound:!0})})})};function Tv({backgroundColor:e="white",logo:n,navItems:i=[],isSignedIn:s=!1,userProfile:a,profileDropdownItems:l,profileDropdownMaxHeight:d,onLogoClick:f,onNavItemClick:h,onSignInClick:p,onRegisterClick:x,onProfileClick:w,onSearchClick:_,isSearchActive:v,isSearchLoading:C,...R},k){const[T,E]=c.useState(!1);return c.useImperativeHandle(k,()=>({showDropdown:()=>E(!0),hideDropdown:()=>E(!1)})),m.jsxs(L,{display:"flex",flexDirection:"row",justifyContent:"space-between",alignItems:"center",width:"100%",p:"md",bgColor:e,...R,children:[m.jsx(i1,{logo:n,onLogoClick:f}),m.jsxs(L,{display:"flex",flexDirection:"row",alignItems:"center",gap:"sm-md",children:[m.jsx(o1,{navItems:i,onNavItemClick:h}),_&&m.jsx(s1,{onSearchClick:_,isSearchActive:v,isSearchLoading:C})]}),m.jsx(r1,{isSignedIn:s,isDropdownVisible:T,setIsDropdownVisible:E,userProfile:a,dropdownItems:l,profileDropdownMaxHeight:d,onSignInClick:p,onRegisterClick:x,onProfileClick:w})]})}const a1=c.forwardRef(Tv),Rv=(e,n,i)=>{let s={};return e?n==="padded"?(s.maxWidth=void 0,s.px=i.desktopPaddingX):(s.maxWidth=i.desktopContentMaxWidth,s.px=i.mobilePaddingX):(s.maxWidth=void 0,s.px=i.mobilePaddingX),s},Iv=(e,n)=>{const i={};return e&&n==="maxWidth"&&(i.marginLeft="auto",i.marginRight="auto"),i},Mv=({children:e,backgroundColor:n="white",header:i,contentLayoutMode:s="maxWidth",style:a,...l})=>{const f=be().__hd__.base,h=ti(),p=Ct()||h==="md"||h==="lg"||h==="xl",x=Rv(p,s,f),w=Iv(p,s);return m.jsxs(L,{display:"flex",flexDirection:"column",width:"100%",height:"100%",position:"relative",bgColor:n,style:a,...l,children:[i&&m.jsx(a1,{...i}),m.jsx(L,{flex:1,overflow:"visible",position:"relative",width:"100%",...x,style:w,children:e})]})},Fv=ue.div`
|
|
217
217
|
display: flex;
|
|
218
218
|
flex-direction: row;
|
|
219
219
|
align-items: center;
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
border: ${
|
|
224
|
-
|
|
220
|
+
overflow: hidden;
|
|
221
|
+
${({theme:e,$isFocused:n,$isDisabled:i,$error:s,$borderColor:a,$bgColor:l})=>{const d=e.__hd__.input;let f="default";s?f="error":i?f="disabled":n&&(f="focused");const h=d.states[f],p=f==="focused"&&a?`0 0 0 2px ${e.colors[a]} inset`:h.boxShadow,x=e.spaces[d.padding.vertical],w=e.spaces[d.padding.horizontal],_=e.radii[d.borderRadius],v=e.borderWidths[d.borderWidth],C=f!=="disabled"&&l?e.colors[l]:h.backgroundColor;return`
|
|
222
|
+
padding: ${x}px ${w}px;
|
|
223
|
+
border-radius: ${_}px;
|
|
224
|
+
border: ${v}px solid ${e.colors[h.borderColor]};
|
|
225
|
+
box-shadow: ${p};
|
|
225
226
|
background-color: ${C};
|
|
226
227
|
opacity: ${i?.7:1};
|
|
227
228
|
transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
228
229
|
`}}
|
|
229
|
-
`,
|
|
230
|
+
`,af=ue.input`
|
|
230
231
|
flex: 1;
|
|
232
|
+
min-width: 0;
|
|
231
233
|
border: none;
|
|
232
234
|
background: transparent;
|
|
233
235
|
outline: none;
|
|
234
|
-
font-size: ${({theme:
|
|
235
|
-
color: ${({theme:
|
|
236
|
+
font-size: ${({theme:e})=>`${e.__hd__.text.fontSizes[e.__hd__.input.fontSize||"medium"]}px`};
|
|
237
|
+
color: ${({theme:e})=>e.colors[e.__hd__.input.textColor||"grey900"]};
|
|
236
238
|
|
|
237
239
|
&::placeholder {
|
|
238
|
-
color: ${({theme:
|
|
240
|
+
color: ${({theme:e})=>e.colors[e.__hd__.input.placeholderColor||"grey500"]};
|
|
239
241
|
}
|
|
240
242
|
|
|
241
243
|
&:disabled {
|
|
242
|
-
color: ${({theme:
|
|
244
|
+
color: ${({theme:e})=>e.colors[e.__hd__.input.disabledTextColor||"grey500"]};
|
|
243
245
|
cursor: not-allowed;
|
|
244
246
|
}
|
|
245
247
|
|
|
@@ -247,117 +249,117 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
247
249
|
&::-ms-reveal {
|
|
248
250
|
display: none;
|
|
249
251
|
}
|
|
250
|
-
`,Gb=(t,r)=>{const{value:i="",onChange:a,placeholder:l="",disabled:u=!1,error:f,label:h,helperText:g,leftIcon:v,rightIcon:_,borderColor:S,bgColor:E,multiline:x,...C}=t,F=xe(),R=F.__hd__.input,[I,T]=d.useState(!1),k=d.useRef(null),[O,M]=d.useState(i),[N,V]=d.useState(!1),[Q,pe]=d.useState(null),Ce=!x&&C.type==="password";d.useEffect(()=>{M(i)},[i]),d.useEffect(()=>{if(Ce&&k.current&&Q!==null){const ee=k.current,ve=Q;requestAnimationFrame(()=>{ee&&(ee.focus(),ee.setSelectionRange(ve,ve))}),pe(null)}},[N,Ce,Q]),d.useImperativeHandle(r,()=>({focus:()=>{var ee;return(ee=k.current)==null?void 0:ee.focus()},blur:()=>{var ee;return(ee=k.current)==null?void 0:ee.blur()},get value(){return O}}));const Me=ee=>{T(!0),t.onFocus&&t.onFocus(ee)},D=ee=>{T(!1),t.onBlur&&t.onBlur(ee)},j=ee=>{const ve=ee.target.value;M(ve),a==null||a(ve)},G=wt(F,R.iconSize),le=u?R.disabledTextColor:R.iconColor,te=()=>{Ce&&k.current&&(pe(k.current.selectionStart),V(!N))},oe={ref:k,value:O,onChange:j,onFocus:Me,onBlur:D,placeholder:l,disabled:u};return y.jsxs(X,{fw:!0,children:[h&&y.jsx(X,{mb:"xs",children:y.jsx(ht,{fontWeight:"medium",children:h})}),y.jsxs(qb,{$isFocused:I,$isDisabled:u,$error:!!f,$borderColor:S,$bgColor:E,children:[v&&y.jsx(X,{mr:R.iconSpacing,children:y.jsx(Ht,{type:"icon",art:v,size:G,color:le})}),x?y.jsx(lf,{as:"textarea",...oe,...C}):y.jsx(lf,{...oe,...C,type:N?"text":C.type}),Ce&&I?y.jsx(X,{ml:R.iconSpacing,onClick:te,onMouseDown:ee=>ee.preventDefault(),cursor:"pointer","data-testid":"password-toggle-icon",children:y.jsx(Ht,{type:"icon",art:N?kd:Td,size:G,color:le})}):!Ce&&_&&y.jsx(X,{ml:R.iconSpacing,children:y.jsx(Ht,{type:"icon",art:_,size:G,color:le})})]}),(f||g)&&y.jsx(X,{mt:"xs",children:y.jsx(ht,{fontSize:"xs",color:f?"danger":"grey600",children:f||g})})]})},Kb=d.forwardRef(Gb),Xb=["p","padding","pt","pb","pl","pr","px","py","gap","display","flexDirection","alignItems","justifyContent","flexWrap","flexGrow","flexShrink","flexBasis","flex"];function Yb(t){const r={},i={},a={};for(const l in t)if(Object.prototype.hasOwnProperty.call(t,l)){const u=t[l];Xb.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 Qb(t,r){var k,O;const{listProps:i,contentProps:a,containerProps:l}=Yb(t),{data:u=[],renderItem:f,keyExtractor:h,ListEmptyComponent:g,ListHeaderComponent:v,ListFooterComponent:_,ItemSeparatorComponent:S,itemGap:E}=i,x=xe(),C=((k=x.__hd__.list)==null?void 0:k.defaultGap)||"xs",F=E||C,R=((O=x.__hd__.list)==null?void 0:O.defaultPadding)||"0px",I=a.p??a.padding??R,T=()=>u.length===0&&g?g:u.map((M,N)=>{const V=h?h(M,N):String(N),Q=f?f(M,N):null;return Q?y.jsxs(d.Fragment,{children:[Q,S&&N<u.length-1?S:null]},V):null});return y.jsx(X,{ref:r,overflow:"auto",width:"100%",...l,children:y.jsxs(X,{display:"flex",flexDirection:"column",gap:F,p:I,...a,children:[v,T(),_]})})}const Jb=d.forwardRef(Qb);/*! @vimeo/player v2.27.1 | (c) 2025 Vimeo | MIT License | https://github.com/vimeo/player.js */function uf(t,r){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);r&&(a=a.filter(function(l){return Object.getOwnPropertyDescriptor(t,l).enumerable})),i.push.apply(i,a)}return i}function cf(t){for(var r=1;r<arguments.length;r++){var i=arguments[r]!=null?arguments[r]:{};r%2?uf(Object(i),!0).forEach(function(a){go(t,a,i[a])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):uf(Object(i)).forEach(function(a){Object.defineProperty(t,a,Object.getOwnPropertyDescriptor(i,a))})}return t}function At(){At=function(){return t};var t={},r=Object.prototype,i=r.hasOwnProperty,a=Object.defineProperty||function(D,j,G){D[j]=G.value},l=typeof Symbol=="function"?Symbol:{},u=l.iterator||"@@iterator",f=l.asyncIterator||"@@asyncIterator",h=l.toStringTag||"@@toStringTag";function g(D,j,G){return Object.defineProperty(D,j,{value:G,enumerable:!0,configurable:!0,writable:!0}),D[j]}try{g({},"")}catch{g=function(j,G,le){return j[G]=le}}function v(D,j,G,le){var te=j&&j.prototype instanceof E?j:E,oe=Object.create(te.prototype),ee=new pe(le||[]);return a(oe,"_invoke",{value:M(D,G,ee)}),oe}function _(D,j,G){try{return{type:"normal",arg:D.call(j,G)}}catch(le){return{type:"throw",arg:le}}}t.wrap=v;var S={};function E(){}function x(){}function C(){}var F={};g(F,u,function(){return this});var R=Object.getPrototypeOf,I=R&&R(R(Ce([])));I&&I!==r&&i.call(I,u)&&(F=I);var T=C.prototype=E.prototype=Object.create(F);function k(D){["next","throw","return"].forEach(function(j){g(D,j,function(G){return this._invoke(j,G)})})}function O(D,j){function G(te,oe,ee,ve){var je=_(D[te],D,oe);if(je.type!=="throw"){var ke=je.arg,Oe=ke.value;return Oe&&typeof Oe=="object"&&i.call(Oe,"__await")?j.resolve(Oe.__await).then(function(De){G("next",De,ee,ve)},function(De){G("throw",De,ee,ve)}):j.resolve(Oe).then(function(De){ke.value=De,ee(ke)},function(De){return G("throw",De,ee,ve)})}ve(je.arg)}var le;a(this,"_invoke",{value:function(te,oe){function ee(){return new j(function(ve,je){G(te,oe,ve,je)})}return le=le?le.then(ee,ee):ee()}})}function M(D,j,G){var le="suspendedStart";return function(te,oe){if(le==="executing")throw new Error("Generator is already running");if(le==="completed"){if(te==="throw")throw oe;return Me()}for(G.method=te,G.arg=oe;;){var ee=G.delegate;if(ee){var ve=N(ee,G);if(ve){if(ve===S)continue;return ve}}if(G.method==="next")G.sent=G._sent=G.arg;else if(G.method==="throw"){if(le==="suspendedStart")throw le="completed",G.arg;G.dispatchException(G.arg)}else G.method==="return"&&G.abrupt("return",G.arg);le="executing";var je=_(D,j,G);if(je.type==="normal"){if(le=G.done?"completed":"suspendedYield",je.arg===S)continue;return{value:je.arg,done:G.done}}je.type==="throw"&&(le="completed",G.method="throw",G.arg=je.arg)}}}function N(D,j){var G=j.method,le=D.iterator[G];if(le===void 0)return j.delegate=null,G==="throw"&&D.iterator.return&&(j.method="return",j.arg=void 0,N(D,j),j.method==="throw")||G!=="return"&&(j.method="throw",j.arg=new TypeError("The iterator does not provide a '"+G+"' method")),S;var te=_(le,D.iterator,j.arg);if(te.type==="throw")return j.method="throw",j.arg=te.arg,j.delegate=null,S;var oe=te.arg;return oe?oe.done?(j[D.resultName]=oe.value,j.next=D.nextLoc,j.method!=="return"&&(j.method="next",j.arg=void 0),j.delegate=null,S):oe:(j.method="throw",j.arg=new TypeError("iterator result is not an object"),j.delegate=null,S)}function V(D){var j={tryLoc:D[0]};1 in D&&(j.catchLoc=D[1]),2 in D&&(j.finallyLoc=D[2],j.afterLoc=D[3]),this.tryEntries.push(j)}function Q(D){var j=D.completion||{};j.type="normal",delete j.arg,D.completion=j}function pe(D){this.tryEntries=[{tryLoc:"root"}],D.forEach(V,this),this.reset(!0)}function Ce(D){if(D){var j=D[u];if(j)return j.call(D);if(typeof D.next=="function")return D;if(!isNaN(D.length)){var G=-1,le=function te(){for(;++G<D.length;)if(i.call(D,G))return te.value=D[G],te.done=!1,te;return te.value=void 0,te.done=!0,te};return le.next=le}}return{next:Me}}function Me(){return{value:void 0,done:!0}}return x.prototype=C,a(T,"constructor",{value:C,configurable:!0}),a(C,"constructor",{value:x,configurable:!0}),x.displayName=g(C,h,"GeneratorFunction"),t.isGeneratorFunction=function(D){var j=typeof D=="function"&&D.constructor;return!!j&&(j===x||(j.displayName||j.name)==="GeneratorFunction")},t.mark=function(D){return Object.setPrototypeOf?Object.setPrototypeOf(D,C):(D.__proto__=C,g(D,h,"GeneratorFunction")),D.prototype=Object.create(T),D},t.awrap=function(D){return{__await:D}},k(O.prototype),g(O.prototype,f,function(){return this}),t.AsyncIterator=O,t.async=function(D,j,G,le,te){te===void 0&&(te=Promise);var oe=new O(v(D,j,G,le),te);return t.isGeneratorFunction(j)?oe:oe.next().then(function(ee){return ee.done?ee.value:oe.next()})},k(T),g(T,h,"Generator"),g(T,u,function(){return this}),g(T,"toString",function(){return"[object Generator]"}),t.keys=function(D){var j=Object(D),G=[];for(var le in j)G.push(le);return G.reverse(),function te(){for(;G.length;){var oe=G.pop();if(oe in j)return te.value=oe,te.done=!1,te}return te.done=!0,te}},t.values=Ce,pe.prototype={constructor:pe,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 j in this)j.charAt(0)==="t"&&i.call(this,j)&&!isNaN(+j.slice(1))&&(this[j]=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 j=this;function G(je,ke){return oe.type="throw",oe.arg=D,j.next=je,ke&&(j.method="next",j.arg=void 0),!!ke}for(var le=this.tryEntries.length-1;le>=0;--le){var te=this.tryEntries[le],oe=te.completion;if(te.tryLoc==="root")return G("end");if(te.tryLoc<=this.prev){var ee=i.call(te,"catchLoc"),ve=i.call(te,"finallyLoc");if(ee&&ve){if(this.prev<te.catchLoc)return G(te.catchLoc,!0);if(this.prev<te.finallyLoc)return G(te.finallyLoc)}else if(ee){if(this.prev<te.catchLoc)return G(te.catchLoc,!0)}else{if(!ve)throw new Error("try statement without catch or finally");if(this.prev<te.finallyLoc)return G(te.finallyLoc)}}}},abrupt:function(D,j){for(var G=this.tryEntries.length-1;G>=0;--G){var le=this.tryEntries[G];if(le.tryLoc<=this.prev&&i.call(le,"finallyLoc")&&this.prev<le.finallyLoc){var te=le;break}}te&&(D==="break"||D==="continue")&&te.tryLoc<=j&&j<=te.finallyLoc&&(te=null);var oe=te?te.completion:{};return oe.type=D,oe.arg=j,te?(this.method="next",this.next=te.finallyLoc,S):this.complete(oe)},complete:function(D,j){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"&&j&&(this.next=j),S},finish:function(D){for(var j=this.tryEntries.length-1;j>=0;--j){var G=this.tryEntries[j];if(G.finallyLoc===D)return this.complete(G.completion,G.afterLoc),Q(G),S}},catch:function(D){for(var j=this.tryEntries.length-1;j>=0;--j){var G=this.tryEntries[j];if(G.tryLoc===D){var le=G.completion;if(le.type==="throw"){var te=le.arg;Q(G)}return te}}throw new Error("illegal catch attempt")},delegateYield:function(D,j,G){return this.delegate={iterator:Ce(D),resultName:j,nextLoc:G},this.method==="next"&&(this.arg=void 0),S}},t}function ff(t,r,i,a,l,u,f){try{var h=t[u](f),g=h.value}catch(v){i(v);return}h.done?r(g):Promise.resolve(g).then(a,l)}function nr(t){return function(){var r=this,i=arguments;return new Promise(function(a,l){var u=t.apply(r,i);function f(g){ff(u,a,l,f,h,"next",g)}function h(g){ff(u,a,l,f,h,"throw",g)}f(void 0)})}}function Xd(t,r){if(!(t instanceof r))throw new TypeError("Cannot call a class as a function")}function e3(t,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(t,Jd(a.key),a)}}function Yd(t,r,i){return r&&e3(t.prototype,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function go(t,r,i){return r=Jd(r),r in t?Object.defineProperty(t,r,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[r]=i,t}function t3(t,r){if(typeof r!="function"&&r!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(r&&r.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),r&&hi(t,r)}function di(t){return di=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},di(t)}function hi(t,r){return hi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,l){return a.__proto__=l,a},hi(t,r)}function Qd(){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 mo(t,r,i){return Qd()?mo=Reflect.construct.bind():mo=function(l,u,f){var h=[null];h.push.apply(h,u);var g=Function.bind.apply(l,h),v=new g;return f&&hi(v,f.prototype),v},mo.apply(null,arguments)}function n3(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function xs(t){var r=typeof Map=="function"?new Map:void 0;return xs=function(a){if(a===null||!n3(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 mo(a,arguments,di(this).constructor)}return l.prototype=Object.create(a.prototype,{constructor:{value:l,enumerable:!1,writable:!0,configurable:!0}}),hi(l,a)},xs(t)}function vo(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function r3(t,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 vo(t)}function i3(t){var r=Qd();return function(){var a=di(t),l;if(r){var u=di(this).constructor;l=Reflect.construct(a,arguments,u)}else l=a.apply(this,arguments);return r3(this,l)}}function o3(t,r){if(typeof t!="object"||t===null)return t;var i=t[Symbol.toPrimitive];if(i!==void 0){var a=i.call(t,r);if(typeof a!="object")return a;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}function Jd(t){var r=o3(t,"string");return typeof r=="symbol"?r:String(r)}var e0=typeof global<"u"&&{}.toString.call(global)==="[object global]";function df(t,r){return t.indexOf(r.toLowerCase())===0?t:"".concat(r.toLowerCase()).concat(t.substr(0,1).toUpperCase()).concat(t.substr(1))}function a3(t){return!!(t&&t.nodeType===1&&"nodeName"in t&&t.ownerDocument&&t.ownerDocument.defaultView)}function s3(t){return!isNaN(parseFloat(t))&&isFinite(t)&&Math.floor(t)==t}function ar(t){return/^(https?:)?\/\/((((player|www)\.)?vimeo\.com)|((player\.)?[a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))(?=$|\/)/.test(t)}function t0(t){var r=/^https:\/\/player\.((vimeo\.com)|([a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))\/video\/\d+/;return r.test(t)}function l3(t){for(var r=(t||"").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 n0(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.id,i=t.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(s3(a))return"https://vimeo.com/".concat(a);if(ar(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 hf=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(g){return r[u](g,a)})}}},u3=typeof Array.prototype.indexOf<"u",c3=typeof window<"u"&&typeof window.postMessage<"u";if(!e0&&(!u3||!c3))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var Rr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function f3(t,r){return r={exports:{}},t(r,r.exports),r.exports}/*!
|
|
252
|
+
`,Ov=(e,n)=>{const{value:i="",onChange:s,placeholder:a="",disabled:l=!1,error:d,label:f,helperText:h,leftIcon:p,rightIcon:x,onClear:w,borderColor:_,bgColor:v,multiline:C,...R}=e,k=be(),T=k.__hd__.input,[E,I]=c.useState(!1),$=c.useRef(null),[M,z]=c.useState(i),[j,H]=c.useState(!1),[oe,te]=c.useState(null),re=!C&&R.type==="password";c.useEffect(()=>{z(i)},[i]),c.useEffect(()=>{if(re&&$.current&&oe!==null){const pe=$.current,Se=oe;requestAnimationFrame(()=>{pe&&(pe.focus(),pe.setSelectionRange(Se,Se))}),te(null)}},[j,re,oe]),c.useImperativeHandle(n,()=>({focus:()=>{var pe;return(pe=$.current)==null?void 0:pe.focus()},blur:()=>{var pe;return(pe=$.current)==null?void 0:pe.blur()},get value(){return M}}));const B=pe=>{I(!0),e.onFocus&&e.onFocus(pe)},W=pe=>{I(!1),e.onBlur&&e.onBlur(pe)},P=pe=>{const Se=pe.target.value;z(Se),s==null||s(Se)},le=xt(k,T.iconSize),K=l?T.disabledTextColor:T.iconColor,ne=()=>{re&&$.current&&(te($.current.selectionStart),H(!j))},ie=()=>{$.current&&(z(""),s==null||s(""),w==null||w())},we={ref:$,value:M,onChange:P,onFocus:B,onBlur:W,placeholder:a,disabled:l};return m.jsxs(L,{fw:!0,children:[f&&m.jsx(L,{mb:"xs",children:m.jsx(Xe,{fontWeight:"medium",children:f})}),m.jsxs(Fv,{$isFocused:E,$isDisabled:l,$error:!!d,$borderColor:_,$bgColor:v,children:[p&&m.jsx(L,{mr:T.iconSpacing,children:m.jsx(gt,{type:"icon",art:p,size:le,color:K})}),C?m.jsx(af,{as:"textarea",...we,...R}):m.jsx(af,{...we,...R,type:j?"text":R.type}),re&&E?m.jsx(L,{ml:T.iconSpacing,onClick:ne,onMouseDown:pe=>pe.preventDefault(),cursor:"pointer","data-testid":"password-toggle-icon",children:m.jsx(gt,{type:"icon",art:j?W0:B0,size:le,color:K})}):w&&M&&!l?m.jsx(kt,{onClick:ie,children:m.jsx(L,{ml:T.iconSpacing,children:m.jsx(gt,{type:"icon",art:us,size:le,color:K})})}):!re&&x&&m.jsx(L,{ml:T.iconSpacing,children:m.jsx(gt,{type:"icon",art:x,size:le,color:K})})]}),(d||h)&&m.jsx(L,{mt:"xs",children:m.jsx(Xe,{fontSize:"xs",color:d?"danger":"grey600",children:d||h})})]})},Rl=c.forwardRef(Ov),zv=["p","padding","pt","pb","pl","pr","px","py","gap","display","flexDirection","alignItems","justifyContent","flexWrap","flexGrow","flexShrink","flexBasis","flex"];function Lv(e){const n={},i={},s={};for(const a in e)if(Object.prototype.hasOwnProperty.call(e,a)){const l=e[a];zv.includes(a)?n[a]=l:a!=="data"&&a!=="renderItem"&&a!=="keyExtractor"&&a!=="ListEmptyComponent"&&a!=="ListHeaderComponent"&&a!=="ListFooterComponent"&&a!=="ItemSeparatorComponent"&&a!=="itemGap"?i[a]=l:s[a]=l}return{listProps:s,contentProps:n,containerProps:i}}function jv(e,n){var I,$;const{listProps:i,contentProps:s,containerProps:a}=Lv(e),{data:l=[],renderItem:d,keyExtractor:f,ListEmptyComponent:h,ListHeaderComponent:p,ListFooterComponent:x,ItemSeparatorComponent:w,itemGap:_}=i,v=be(),C=((I=v.__hd__.list)==null?void 0:I.defaultGap)||"xs",R=_||C,k=(($=v.__hd__.list)==null?void 0:$.defaultPadding)||"0px",T=s.p??s.padding??k,E=()=>l.length===0&&h?h:l.map((M,z)=>{const j=f?f(M,z):String(z),H=d?d(M,z):null;return H?m.jsxs(c.Fragment,{children:[H,w&&z<l.length-1?w:null]},j):null});return m.jsx(L,{ref:n,overflow:"auto",width:"100%",...a,children:m.jsxs(L,{display:"flex",flexDirection:"column",gap:R,p:T,...s,children:[p,E(),x]})})}const Dv=c.forwardRef(jv);/*! @vimeo/player v2.27.1 | (c) 2025 Vimeo | MIT License | https://github.com/vimeo/player.js */function lf(e,n){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);n&&(s=s.filter(function(a){return Object.getOwnPropertyDescriptor(e,a).enumerable})),i.push.apply(i,s)}return i}function cf(e){for(var n=1;n<arguments.length;n++){var i=arguments[n]!=null?arguments[n]:{};n%2?lf(Object(i),!0).forEach(function(s){qo(e,s,i[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):lf(Object(i)).forEach(function(s){Object.defineProperty(e,s,Object.getOwnPropertyDescriptor(i,s))})}return e}function Mt(){Mt=function(){return e};var e={},n=Object.prototype,i=n.hasOwnProperty,s=Object.defineProperty||function(B,W,P){B[W]=P.value},a=typeof Symbol=="function"?Symbol:{},l=a.iterator||"@@iterator",d=a.asyncIterator||"@@asyncIterator",f=a.toStringTag||"@@toStringTag";function h(B,W,P){return Object.defineProperty(B,W,{value:P,enumerable:!0,configurable:!0,writable:!0}),B[W]}try{h({},"")}catch{h=function(W,P,le){return W[P]=le}}function p(B,W,P,le){var K=W&&W.prototype instanceof _?W:_,ne=Object.create(K.prototype),ie=new oe(le||[]);return s(ne,"_invoke",{value:M(B,P,ie)}),ne}function x(B,W,P){try{return{type:"normal",arg:B.call(W,P)}}catch(le){return{type:"throw",arg:le}}}e.wrap=p;var w={};function _(){}function v(){}function C(){}var R={};h(R,l,function(){return this});var k=Object.getPrototypeOf,T=k&&k(k(te([])));T&&T!==n&&i.call(T,l)&&(R=T);var E=C.prototype=_.prototype=Object.create(R);function I(B){["next","throw","return"].forEach(function(W){h(B,W,function(P){return this._invoke(W,P)})})}function $(B,W){function P(K,ne,ie,we){var pe=x(B[K],B,ne);if(pe.type!=="throw"){var Se=pe.arg,$e=Se.value;return $e&&typeof $e=="object"&&i.call($e,"__await")?W.resolve($e.__await).then(function(de){P("next",de,ie,we)},function(de){P("throw",de,ie,we)}):W.resolve($e).then(function(de){Se.value=de,ie(Se)},function(de){return P("throw",de,ie,we)})}we(pe.arg)}var le;s(this,"_invoke",{value:function(K,ne){function ie(){return new W(function(we,pe){P(K,ne,we,pe)})}return le=le?le.then(ie,ie):ie()}})}function M(B,W,P){var le="suspendedStart";return function(K,ne){if(le==="executing")throw new Error("Generator is already running");if(le==="completed"){if(K==="throw")throw ne;return re()}for(P.method=K,P.arg=ne;;){var ie=P.delegate;if(ie){var we=z(ie,P);if(we){if(we===w)continue;return we}}if(P.method==="next")P.sent=P._sent=P.arg;else if(P.method==="throw"){if(le==="suspendedStart")throw le="completed",P.arg;P.dispatchException(P.arg)}else P.method==="return"&&P.abrupt("return",P.arg);le="executing";var pe=x(B,W,P);if(pe.type==="normal"){if(le=P.done?"completed":"suspendedYield",pe.arg===w)continue;return{value:pe.arg,done:P.done}}pe.type==="throw"&&(le="completed",P.method="throw",P.arg=pe.arg)}}}function z(B,W){var P=W.method,le=B.iterator[P];if(le===void 0)return W.delegate=null,P==="throw"&&B.iterator.return&&(W.method="return",W.arg=void 0,z(B,W),W.method==="throw")||P!=="return"&&(W.method="throw",W.arg=new TypeError("The iterator does not provide a '"+P+"' method")),w;var K=x(le,B.iterator,W.arg);if(K.type==="throw")return W.method="throw",W.arg=K.arg,W.delegate=null,w;var ne=K.arg;return ne?ne.done?(W[B.resultName]=ne.value,W.next=B.nextLoc,W.method!=="return"&&(W.method="next",W.arg=void 0),W.delegate=null,w):ne:(W.method="throw",W.arg=new TypeError("iterator result is not an object"),W.delegate=null,w)}function j(B){var W={tryLoc:B[0]};1 in B&&(W.catchLoc=B[1]),2 in B&&(W.finallyLoc=B[2],W.afterLoc=B[3]),this.tryEntries.push(W)}function H(B){var W=B.completion||{};W.type="normal",delete W.arg,B.completion=W}function oe(B){this.tryEntries=[{tryLoc:"root"}],B.forEach(j,this),this.reset(!0)}function te(B){if(B){var W=B[l];if(W)return W.call(B);if(typeof B.next=="function")return B;if(!isNaN(B.length)){var P=-1,le=function K(){for(;++P<B.length;)if(i.call(B,P))return K.value=B[P],K.done=!1,K;return K.value=void 0,K.done=!0,K};return le.next=le}}return{next:re}}function re(){return{value:void 0,done:!0}}return v.prototype=C,s(E,"constructor",{value:C,configurable:!0}),s(C,"constructor",{value:v,configurable:!0}),v.displayName=h(C,f,"GeneratorFunction"),e.isGeneratorFunction=function(B){var W=typeof B=="function"&&B.constructor;return!!W&&(W===v||(W.displayName||W.name)==="GeneratorFunction")},e.mark=function(B){return Object.setPrototypeOf?Object.setPrototypeOf(B,C):(B.__proto__=C,h(B,f,"GeneratorFunction")),B.prototype=Object.create(E),B},e.awrap=function(B){return{__await:B}},I($.prototype),h($.prototype,d,function(){return this}),e.AsyncIterator=$,e.async=function(B,W,P,le,K){K===void 0&&(K=Promise);var ne=new $(p(B,W,P,le),K);return e.isGeneratorFunction(W)?ne:ne.next().then(function(ie){return ie.done?ie.value:ne.next()})},I(E),h(E,f,"Generator"),h(E,l,function(){return this}),h(E,"toString",function(){return"[object Generator]"}),e.keys=function(B){var W=Object(B),P=[];for(var le in W)P.push(le);return P.reverse(),function K(){for(;P.length;){var ne=P.pop();if(ne in W)return K.value=ne,K.done=!1,K}return K.done=!0,K}},e.values=te,oe.prototype={constructor:oe,reset:function(B){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(H),!B)for(var W in this)W.charAt(0)==="t"&&i.call(this,W)&&!isNaN(+W.slice(1))&&(this[W]=void 0)},stop:function(){this.done=!0;var B=this.tryEntries[0].completion;if(B.type==="throw")throw B.arg;return this.rval},dispatchException:function(B){if(this.done)throw B;var W=this;function P(pe,Se){return ne.type="throw",ne.arg=B,W.next=pe,Se&&(W.method="next",W.arg=void 0),!!Se}for(var le=this.tryEntries.length-1;le>=0;--le){var K=this.tryEntries[le],ne=K.completion;if(K.tryLoc==="root")return P("end");if(K.tryLoc<=this.prev){var ie=i.call(K,"catchLoc"),we=i.call(K,"finallyLoc");if(ie&&we){if(this.prev<K.catchLoc)return P(K.catchLoc,!0);if(this.prev<K.finallyLoc)return P(K.finallyLoc)}else if(ie){if(this.prev<K.catchLoc)return P(K.catchLoc,!0)}else{if(!we)throw new Error("try statement without catch or finally");if(this.prev<K.finallyLoc)return P(K.finallyLoc)}}}},abrupt:function(B,W){for(var P=this.tryEntries.length-1;P>=0;--P){var le=this.tryEntries[P];if(le.tryLoc<=this.prev&&i.call(le,"finallyLoc")&&this.prev<le.finallyLoc){var K=le;break}}K&&(B==="break"||B==="continue")&&K.tryLoc<=W&&W<=K.finallyLoc&&(K=null);var ne=K?K.completion:{};return ne.type=B,ne.arg=W,K?(this.method="next",this.next=K.finallyLoc,w):this.complete(ne)},complete:function(B,W){if(B.type==="throw")throw B.arg;return B.type==="break"||B.type==="continue"?this.next=B.arg:B.type==="return"?(this.rval=this.arg=B.arg,this.method="return",this.next="end"):B.type==="normal"&&W&&(this.next=W),w},finish:function(B){for(var W=this.tryEntries.length-1;W>=0;--W){var P=this.tryEntries[W];if(P.finallyLoc===B)return this.complete(P.completion,P.afterLoc),H(P),w}},catch:function(B){for(var W=this.tryEntries.length-1;W>=0;--W){var P=this.tryEntries[W];if(P.tryLoc===B){var le=P.completion;if(le.type==="throw"){var K=le.arg;H(P)}return K}}throw new Error("illegal catch attempt")},delegateYield:function(B,W,P){return this.delegate={iterator:te(B),resultName:W,nextLoc:P},this.method==="next"&&(this.arg=void 0),w}},e}function uf(e,n,i,s,a,l,d){try{var f=e[l](d),h=f.value}catch(p){i(p);return}f.done?n(h):Promise.resolve(h).then(s,a)}function gr(e){return function(){var n=this,i=arguments;return new Promise(function(s,a){var l=e.apply(n,i);function d(h){uf(l,s,a,d,f,"next",h)}function f(h){uf(l,s,a,d,f,"throw",h)}d(void 0)})}}function l1(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}function Pv(e,n){for(var i=0;i<n.length;i++){var s=n[i];s.enumerable=s.enumerable||!1,s.configurable=!0,"value"in s&&(s.writable=!0),Object.defineProperty(e,d1(s.key),s)}}function c1(e,n,i){return n&&Pv(e.prototype,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function qo(e,n,i){return n=d1(n),n in e?Object.defineProperty(e,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[n]=i,e}function Wv(e,n){if(typeof n!="function"&&n!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(n&&n.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),n&&Wi(e,n)}function Pi(e){return Pi=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(i){return i.__proto__||Object.getPrototypeOf(i)},Pi(e)}function Wi(e,n){return Wi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(s,a){return s.__proto__=a,s},Wi(e,n)}function u1(){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 Ko(e,n,i){return u1()?Ko=Reflect.construct.bind():Ko=function(a,l,d){var f=[null];f.push.apply(f,l);var h=Function.bind.apply(a,f),p=new h;return d&&Wi(p,d.prototype),p},Ko.apply(null,arguments)}function Bv(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function ol(e){var n=typeof Map=="function"?new Map:void 0;return ol=function(s){if(s===null||!Bv(s))return s;if(typeof s!="function")throw new TypeError("Super expression must either be null or a function");if(typeof n<"u"){if(n.has(s))return n.get(s);n.set(s,a)}function a(){return Ko(s,arguments,Pi(this).constructor)}return a.prototype=Object.create(s.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),Wi(a,s)},ol(e)}function Yo(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Hv(e,n){if(n&&(typeof n=="object"||typeof n=="function"))return n;if(n!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return Yo(e)}function Zv(e){var n=u1();return function(){var s=Pi(e),a;if(n){var l=Pi(this).constructor;a=Reflect.construct(s,arguments,l)}else a=s.apply(this,arguments);return Hv(this,a)}}function Vv(e,n){if(typeof e!="object"||e===null)return e;var i=e[Symbol.toPrimitive];if(i!==void 0){var s=i.call(e,n);if(typeof s!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}function d1(e){var n=Vv(e,"string");return typeof n=="symbol"?n:String(n)}var f1=typeof global<"u"&&{}.toString.call(global)==="[object global]";function df(e,n){return e.indexOf(n.toLowerCase())===0?e:"".concat(n.toLowerCase()).concat(e.substr(0,1).toUpperCase()).concat(e.substr(1))}function Nv(e){return!!(e&&e.nodeType===1&&"nodeName"in e&&e.ownerDocument&&e.ownerDocument.defaultView)}function Uv(e){return!isNaN(parseFloat(e))&&isFinite(e)&&Math.floor(e)==e}function xr(e){return/^(https?:)?\/\/((((player|www)\.)?vimeo\.com)|((player\.)?[a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))(?=$|\/)/.test(e)}function h1(e){var n=/^https:\/\/player\.((vimeo\.com)|([a-zA-Z0-9-]+\.(videoji\.(hk|cn)|vimeo\.work)))\/video\/\d+/;return n.test(e)}function Gv(e){for(var n=(e||"").match(/^(?:https?:)?(?:\/\/)?([^/?]+)/),i=(n&&n[1]||"").replace("player.",""),s=[".videoji.hk",".vimeo.work",".videoji.cn"],a=0,l=s;a<l.length;a++){var d=l[a];if(i.endsWith(d))return i}return"vimeo.com"}function p1(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=e.id,i=e.url,s=n||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(Uv(s))return"https://vimeo.com/".concat(s);if(xr(s))return s.replace("http:","https:");throw n?new TypeError("“".concat(n,"” is not a valid video id.")):new TypeError("“".concat(s,"” is not a vimeo.com url."))}var ff=function(n,i,s){var a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"addEventListener",l=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"removeEventListener",d=typeof i=="string"?[i]:i;return d.forEach(function(f){n[a](f,s)}),{cancel:function(){return d.forEach(function(h){return n[l](h,s)})}}},qv=typeof Array.prototype.indexOf<"u",Kv=typeof window<"u"&&typeof window.postMessage<"u";if(!f1&&(!qv||!Kv))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var qr=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Yv(e,n){return n={exports:{}},e(n,n.exports),n.exports}/*!
|
|
251
253
|
* weakmap-polyfill v2.0.4 - ECMAScript6 WeakMap polyfill
|
|
252
254
|
* https://github.com/polygonplanet/weakmap-polyfill
|
|
253
255
|
* Copyright (c) 2015-2021 polygonplanet <polygon.planet.aqua@gmail.com>
|
|
254
256
|
* @license MIT
|
|
255
|
-
*/(function(
|
|
257
|
+
*/(function(e){if(e.WeakMap)return;var n=Object.prototype.hasOwnProperty,i=Object.defineProperty&&function(){try{return Object.defineProperty({},"x",{value:1}).x===1}catch{}}(),s=function(l,d,f){i?Object.defineProperty(l,d,{configurable:!0,writable:!0,value:f}):l[d]=f};e.WeakMap=function(){function l(){if(this===void 0)throw new TypeError("Constructor WeakMap requires 'new'");if(s(this,"_id",f("_WeakMap")),arguments.length>0)throw new TypeError("WeakMap iterable is not supported")}s(l.prototype,"delete",function(p){if(d(this,"delete"),!a(p))return!1;var x=p[this._id];return x&&x[0]===p?(delete p[this._id],!0):!1}),s(l.prototype,"get",function(p){if(d(this,"get"),!!a(p)){var x=p[this._id];if(x&&x[0]===p)return x[1]}}),s(l.prototype,"has",function(p){if(d(this,"has"),!a(p))return!1;var x=p[this._id];return!!(x&&x[0]===p)}),s(l.prototype,"set",function(p,x){if(d(this,"set"),!a(p))throw new TypeError("Invalid value used as weak map key");var w=p[this._id];return w&&w[0]===p?(w[1]=x,this):(s(p,this._id,[p,x]),this)});function d(p,x){if(!a(p)||!n.call(p,"_id"))throw new TypeError(x+" method called on incompatible receiver "+typeof p)}function f(p){return p+"_"+h()+"."+h()}function h(){return Math.random().toString().substring(2)}return s(l,"_polyfill",!0),l}();function a(l){return Object(l)===l}})(typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:qr);var sn=Yv(function(e){/*! Native Promise Only
|
|
256
258
|
v0.8.1 (c) Kyle Simpson
|
|
257
259
|
MIT License: http://getify.mit-license.org
|
|
258
|
-
*/(function(i,a,l){a[i]=a[i]||l(),t.exports&&(t.exports=a[i])})("Promise",Rr,function(){var i,a,l,u=Object.prototype.toString,f=typeof setImmediate<"u"?function(k){return setImmediate(k)}:setTimeout;try{Object.defineProperty({},"x",{}),i=function(k,O,M,N){return Object.defineProperty(k,O,{value:M,writable:!0,configurable:N!==!1})}}catch{i=function(O,M,N){return O[M]=N,O}}l=function(){var k,O,M;function N(V,Q){this.fn=V,this.self=Q,this.next=void 0}return{add:function(Q,pe){M=new N(Q,pe),O?O.next=M:k=M,O=M,M=void 0},drain:function(){var Q=k;for(k=O=a=void 0;Q;)Q.fn.call(Q.self),Q=Q.next}}}();function h(T,k){l.add(T,k),a||(a=f(l.drain))}function g(T){var k,O=typeof T;return T!=null&&(O=="object"||O=="function")&&(k=T.then),typeof k=="function"?k:!1}function v(){for(var T=0;T<this.chain.length;T++)_(this,this.state===1?this.chain[T].success:this.chain[T].failure,this.chain[T]);this.chain.length=0}function _(T,k,O){var M,N;try{k===!1?O.reject(T.msg):(k===!0?M=T.msg:M=k.call(void 0,T.msg),M===O.promise?O.reject(TypeError("Promise-chain cycle")):(N=g(M))?N.call(M,O.resolve,O.reject):O.resolve(M))}catch(V){O.reject(V)}}function S(T){var k,O=this;if(!O.triggered){O.triggered=!0,O.def&&(O=O.def);try{(k=g(T))?h(function(){var M=new C(O);try{k.call(T,function(){S.apply(M,arguments)},function(){E.apply(M,arguments)})}catch(N){E.call(M,N)}}):(O.msg=T,O.state=1,O.chain.length>0&&h(v,O))}catch(M){E.call(new C(O),M)}}}function E(T){var k=this;k.triggered||(k.triggered=!0,k.def&&(k=k.def),k.msg=T,k.state=2,k.chain.length>0&&h(v,k))}function x(T,k,O,M){for(var N=0;N<k.length;N++)(function(Q){T.resolve(k[Q]).then(function(Ce){O(Q,Ce)},M)})(N)}function C(T){this.def=T,this.triggered=!1}function F(T){this.promise=T,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function R(T){if(typeof T!="function")throw TypeError("Not a function");if(this.__NPO__!==0)throw TypeError("Not a promise");this.__NPO__=1;var k=new F(this);this.then=function(M,N){var V={success:typeof M=="function"?M:!0,failure:typeof N=="function"?N:!1};return V.promise=new this.constructor(function(pe,Ce){if(typeof pe!="function"||typeof Ce!="function")throw TypeError("Not a function");V.resolve=pe,V.reject=Ce}),k.chain.push(V),k.state!==0&&h(v,k),V.promise},this.catch=function(M){return this.then(void 0,M)};try{T.call(void 0,function(M){S.call(k,M)},function(M){E.call(k,M)})}catch(O){E.call(k,O)}}var I=i({},"constructor",R,!1);return R.prototype=I,i(I,"__NPO__",0,!1),i(R,"resolve",function(k){var O=this;return k&&typeof k=="object"&&k.__NPO__===1?k:new O(function(N,V){if(typeof N!="function"||typeof V!="function")throw TypeError("Not a function");N(k)})}),i(R,"reject",function(k){return new this(function(M,N){if(typeof M!="function"||typeof N!="function")throw TypeError("Not a function");N(k)})}),i(R,"all",function(k){var O=this;return u.call(k)!="[object Array]"?O.reject(TypeError("Not an array")):k.length===0?O.resolve([]):new O(function(N,V){if(typeof N!="function"||typeof V!="function")throw TypeError("Not a function");var Q=k.length,pe=Array(Q),Ce=0;x(O,k,function(D,j){pe[D]=j,++Ce===Q&&N(pe)},V)})}),i(R,"race",function(k){var O=this;return u.call(k)!="[object Array]"?O.reject(TypeError("Not an array")):new O(function(N,V){if(typeof N!="function"||typeof V!="function")throw TypeError("Not a function");x(O,k,function(pe,Ce){N(Ce)},V)})}),R})}),En=new WeakMap;function oi(t,r,i){var a=En.get(t.element)||{};r in a||(a[r]=[]),a[r].push(i),En.set(t.element,a)}function wo(t,r){var i=En.get(t.element)||{};return i[r]||[]}function _o(t,r,i){var a=En.get(t.element)||{};if(!a[r])return!0;if(!i)return a[r]=[],En.set(t.element,a),!0;var l=a[r].indexOf(i);return l!==-1&&a[r].splice(l,1),En.set(t.element,a),a[r]&&a[r].length===0}function d3(t,r){var i=wo(t,r);if(i.length<1)return!1;var a=i.shift();return _o(t,r,a),a}function h3(t,r){var i=En.get(t);En.set(r,i),En.delete(t)}function Oo(t){if(typeof t=="string")try{t=JSON.parse(t)}catch(r){return console.warn(r),{}}return t}function tr(t,r,i){if(!(!t.element.contentWindow||!t.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)),t.element.contentWindow.postMessage(a,t.origin)}}function p3(t,r){r=Oo(r);var i=[],a;if(r.event){if(r.event==="error"){var l=wo(t,r.data.method);l.forEach(function(f){var h=new Error(r.data.message);h.name=r.data.name,f.reject(h),_o(t,r.data.method,f)})}i=wo(t,"event:".concat(r.event)),a=r.data}else if(r.method){var u=d3(t,r.method);u&&(i.push(u),a=r.value)}i.forEach(function(f){try{if(typeof f=="function"){f.call(t,a);return}f.resolve(a)}catch{}})}var g3=["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 r0(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return g3.reduce(function(i,a){var l=t.getAttribute("data-vimeo-".concat(a));return(l||l==="")&&(i[a]=l===""?1:l),i},r)}function Ps(t,r){var i=t.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 i0(t){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(!ar(t))throw new TypeError("“".concat(t,"” is not a vimeo.com url."));var u=l3(t),f="https://".concat(u,"/api/oembed.json?url=").concat(encodeURIComponent(t));for(var h in r)r.hasOwnProperty(h)&&(f+="&".concat(h,"=").concat(encodeURIComponent(r[h])));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(t,"” was not found.")));return}if(g.status===403){l(new Error("“".concat(t,"” is not embeddable.")));return}try{var v=JSON.parse(g.responseText);if(v.domain_status_code===403){Ps(v,i),l(new Error("“".concat(t,"” is not embeddable.")));return}a(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 m3(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document,r=[].slice.call(t.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=r0(a),u=n0(l);i0(u,l,a).then(function(f){return Ps(f,a)}).catch(i)}catch(f){i(f)}})}function v3(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoPlayerResizeEmbeds_){window.VimeoPlayerResizeEmbeds_=!0;var r=function(a){if(ar(a.origin)&&!(!a.data||a.data.event!=="spacechange")){for(var l=t.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 y3(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoSeoMetadataAppended){window.VimeoSeoMetadataAppended=!0;var r=function(a){if(ar(a.origin)){var l=Oo(a.data);if(!(!l||l.event!=="ready"))for(var u=t.querySelectorAll("iframe"),f=0;f<u.length;f++){var h=u[f],g=h.contentWindow===a.source;if(t0(h.src)&&g){var v=new Ws(h);v.callMethod("appendVideoMetadata",window.location.href)}}}};window.addEventListener("message",r)}}function b3(){var t=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(ar(l.origin)){var u=Oo(l.data);if(!(!u||u.event!=="ready"))for(var f=t.querySelectorAll("iframe"),h=function(){var _=f[g],S=_.contentWindow===l.source;if(t0(_.src)&&S){var E=new Ws(_);E.getVideoId().then(function(x){var C=new RegExp("[?&]vimeo_t_".concat(x,"=([^&#]*)")).exec(window.location.href);if(C&&C[1]){var F=decodeURI(C[1]);E.setCurrentTime(F)}}).catch(r)}},g=0;g<f.length;g++)h()}};window.addEventListener("message",i)}}function x3(){var t=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:t.fullscreenchange,fullscreenerror:t.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 g=l[t.requestFullscreen]();g instanceof Promise&&g.then(h).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 h=document[t.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[t.fullscreenElement]}},element:{enumerable:!0,get:function(){return document[t.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return!!document[t.fullscreenEnabled]}}}),i}var w3={role:"viewer",autoPlayMuted:!0,allowedDrift:.3,maxAllowedDrift:1,minCheckInterval:.1,maxRateAdjustment:.2,maxTimeToCatchUp:1},_3=function(t){t3(i,t);var r=i3(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 Xd(this,i),u=r.call(this),go(vo(u),"logger",void 0),go(vo(u),"speedAdjustment",0),go(vo(u),"adjustSpeed",function(){var g=nr(At().mark(function v(_,S){var E;return At().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=h,u.init(l,a,cf(cf({},w3),f)),u}return Yd(i,[{key:"disconnect",value:function(){this.dispatchEvent(new Event("disconnect"))}},{key:"init",value:function(){var a=nr(At().mark(function u(f,h,g){var v=this,_,S,E;return At().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,h,g);case 5:_=hf(f,"change",function(){return v.updatePlayer(f,h,g)}),S=this.maintainPlaybackPosition(f,h,g),this.addEventListener("disconnect",function(){S.cancel(),_.cancel()}),C.next=14;break;case 10:return C.next=12,this.updateTimingObject(f,h);case 12:E=hf(h,["seeked","play","pause","ratechange"],function(){return v.updateTimingObject(f,h)},"on","off"),this.addEventListener("disconnect",function(){return E.cancel()});case 14:case"end":return C.stop()}},u,this)}));function l(u,f,h){return a.apply(this,arguments)}return l}()},{key:"updateTimingObject",value:function(){var a=nr(At().mark(function u(f,h){return At().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=nr(At().mark(function u(f,h,g){var v,_,S;return At().wrap(function(x){for(;;)switch(x.prev=x.next){case 0:if(v=f.query(),_=v.position,S=v.velocity,typeof _=="number"&&h.setCurrentTime(_),typeof S!="number"){x.next=25;break}if(S!==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(!(S>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 C=nr(At().mark(function F(R){return At().wrap(function(T){for(;;)switch(T.prev=T.next){case 0:if(!(R.name==="NotAllowedError"&&g.autoPlayMuted)){T.next=5;break}return T.next=3,h.setMuted(!0);case 3:return T.next=5,h.play().catch(function(k){return console.error("Couldn't play the video from TimingSrcConnector. Error:",k)});case 5:case"end":return T.stop()}},F)}));return function(F){return C.apply(this,arguments)}}());case 18:this.updatePlayer(f,h,g);case 19:return x.next=21,h.getPlaybackRate();case 21:if(x.t2=x.sent,x.t3=S,x.t2===x.t3){x.next=25;break}h.setPlaybackRate(S);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,g=f.allowedDrift,v=f.maxAllowedDrift,_=f.minCheckInterval,S=f.maxRateAdjustment,E=f.maxTimeToCatchUp,x=Math.min(E,Math.max(_,v))*1e3,C=function(){var R=nr(At().mark(function I(){var T,k,O,M,N;return At().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,T=Q.t2-Q.t3,k=Math.abs(T),h.log("Drift: ".concat(T)),!(k>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(!(k>g)){Q.next=29;break}return O=k/E,M=S,N=O<M?(M-O)/2:M,Q.next=28,h.adjustSpeed(u,N*Math.sign(T));case 28:h.log("Resync by playbackRate");case 29:case"end":return Q.stop()}},I)}));return function(){return R.apply(this,arguments)}}(),F=setInterval(function(){return C()},x);return{cancel:function(){return clearInterval(F)}}}},{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 g(){l.readyState===u?f():l.addEventListener("readystatechange",g,{once:!0})};h()})}}]),i}(xs(EventTarget)),Er=new WeakMap,cs=new WeakMap,Lt={},Ws=function(){function t(r){var i=this,a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(Xd(this,t),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)),!a3(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"&&!ar(r.getAttribute("src")||""))throw new Error("The player element passed isn’t a Vimeo embed.");if(Er.has(r))return Er.get(r);this._window=r.ownerDocument.defaultView,this.element=r,this.origin="*";var u=new Yt(function(h,g){if(i._onMessage=function(S){if(!(!ar(S.origin)||i.element.contentWindow!==S.source)){i.origin==="*"&&(i.origin=S.origin);var E=Oo(S.data),x=E&&E.event==="error",C=x&&E.data&&E.data.method==="ready";if(C){var F=new Error(E.data.message);F.name=E.data.name,g(F);return}var R=E&&E.event==="ready",I=E&&E.method==="ping";if(R||I){i.element.setAttribute("data-ready","true"),h();return}p3(i,E)}},i._window.addEventListener("message",i._onMessage),i.element.nodeName!=="IFRAME"){var v=r0(r,a),_=n0(v);i0(_,v,r).then(function(S){var E=Ps(S,r);return i.element=E,i._originalElement=r,h3(r,E),Er.set(i.element,i),S}).catch(g)}});if(cs.set(this,u),Er.set(this.element,this),this.element.nodeName==="IFRAME"&&tr(this,"ping"),Lt.isEnabled){var f=function(){return Lt.exit()};this.fullscreenchangeHandler=function(){Lt.isFullscreen?oi(i,"event:exitFullscreen",f):_o(i,"event:exitFullscreen",f),i.ready().then(function(){tr(i,"fullscreenchange",Lt.isFullscreen)})},Lt.on("fullscreenchange",this.fullscreenchangeHandler)}return this}return Yd(t,[{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 Yt(function(h,g){return a.ready().then(function(){oi(a,i,{resolve:h,reject:g}),tr(a,i,u)}).catch(g)})}},{key:"get",value:function(i){var a=this;return new Yt(function(l,u){return i=df(i,"get"),a.ready().then(function(){oi(a,i,{resolve:l,reject:u}),tr(a,i)}).catch(u)})}},{key:"set",value:function(i,a){var l=this;return new Yt(function(u,f){if(i=df(i,"set"),a==null)throw new TypeError("There must be a value to set.");return l.ready().then(function(){oi(l,i,{resolve:u,reject:f}),tr(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=wo(this,"event:".concat(i));l.length===0&&this.callMethod("addEventListener",i).catch(function(){}),oi(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=_o(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=cs.get(this)||new Yt(function(a,l){l(new Error("Unknown player. Probably unloaded."))});return Yt.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 Lt.isEnabled?Lt.request(this.element):this.callMethod("requestFullscreen")}},{key:"exitFullscreen",value:function(){return Lt.isEnabled?Lt.exit():this.callMethod("exitFullscreen")}},{key:"getFullscreen",value:function(){return Lt.isEnabled?Yt.resolve(Lt.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 Yt(function(a){if(cs.delete(i),Er.delete(i.element),i._originalElement&&(Er.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),Lt.isEnabled&&Lt.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 Yt.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 Yt(function(u,f){return f(new TypeError("Argument must be an array."))});var a=new Yt(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 Yt.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=nr(At().mark(function a(l,u){var f=this,h;return At().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 _3(this,l,u),tr(this,"notifyTimingObjectConnect"),h.addEventListener("disconnect",function(){return tr(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}()}]),t}();e0||(Lt=x3(),m3(),v3(),y3(),b3());const C3=(t,r,i,a)=>({id:parseInt(t,10),width:typeof r=="number"?r:void 0,height:typeof i=="number"?i:void 0,...a}),S3=async(t,r)=>{if(t)try{const i=[];typeof r.loop=="boolean"&&i.push(t.getLoop().then(a=>{if(a!==r.loop)return t.setLoop(r.loop)})),r.color&&i.push(t.getColor().then(a=>{if(a!==r.color)return t.setColor(r.color)})),typeof r.muted=="boolean"&&i.push(t.getMuted().then(a=>{if(a!==r.muted)return t.setMuted(r.muted)})),await Promise.all(i)}catch(i){console.warn("Error enforcing player config:",i)}},E3=t=>({ready:t.onReady,play:t.onPlay,pause:t.onPlayerPause,ended:t.onEnd,timeupdate:t.onTimeUpdate?r=>{var i;(i=t.onTimeUpdate)==null||i.call(t,r.seconds)}:void 0,progress:t.onProgress?r=>{var i;(i=t.onProgress)==null||i.call(t,r.percent)}:void 0,seeking:t.onSeeking,seeked:t.onSeeked,error:t.onPlayerError}),A3=t=>{var i,a;const r=xe();return d.useMemo(()=>{var u,f;return{...(u=r.__hd__.vimeo)==null?void 0:u.playerSettings,...t,color:(t==null?void 0:t.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,t])},$3=(t,r,i,a,l)=>{const u=d.useRef(null);return d.useEffect(()=>t.current?((async()=>{try{const h=C3(r,i,a,l);t.current&&(u.current=new Ws(t.current,h),setTimeout(()=>{S3(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},k3=(t,r)=>{d.useEffect(()=>{if(!t.current||!r)return;const i=t.current,a=E3(r);return Object.entries(a).forEach(([l,u])=>{u&&i.on(l,u)}),()=>{t.current&&Object.entries(a).forEach(([l,u])=>{if(u)try{t.current.off(l,u)}catch{}})}},[t,r])},T3=se.div`
|
|
260
|
+
*/(function(i,s,a){s[i]=s[i]||a(),e.exports&&(e.exports=s[i])})("Promise",qr,function(){var i,s,a,l=Object.prototype.toString,d=typeof setImmediate<"u"?function(I){return setImmediate(I)}:setTimeout;try{Object.defineProperty({},"x",{}),i=function(I,$,M,z){return Object.defineProperty(I,$,{value:M,writable:!0,configurable:z!==!1})}}catch{i=function($,M,z){return $[M]=z,$}}a=function(){var I,$,M;function z(j,H){this.fn=j,this.self=H,this.next=void 0}return{add:function(H,oe){M=new z(H,oe),$?$.next=M:I=M,$=M,M=void 0},drain:function(){var H=I;for(I=$=s=void 0;H;)H.fn.call(H.self),H=H.next}}}();function f(E,I){a.add(E,I),s||(s=d(a.drain))}function h(E){var I,$=typeof E;return E!=null&&($=="object"||$=="function")&&(I=E.then),typeof I=="function"?I:!1}function p(){for(var E=0;E<this.chain.length;E++)x(this,this.state===1?this.chain[E].success:this.chain[E].failure,this.chain[E]);this.chain.length=0}function x(E,I,$){var M,z;try{I===!1?$.reject(E.msg):(I===!0?M=E.msg:M=I.call(void 0,E.msg),M===$.promise?$.reject(TypeError("Promise-chain cycle")):(z=h(M))?z.call(M,$.resolve,$.reject):$.resolve(M))}catch(j){$.reject(j)}}function w(E){var I,$=this;if(!$.triggered){$.triggered=!0,$.def&&($=$.def);try{(I=h(E))?f(function(){var M=new C($);try{I.call(E,function(){w.apply(M,arguments)},function(){_.apply(M,arguments)})}catch(z){_.call(M,z)}}):($.msg=E,$.state=1,$.chain.length>0&&f(p,$))}catch(M){_.call(new C($),M)}}}function _(E){var I=this;I.triggered||(I.triggered=!0,I.def&&(I=I.def),I.msg=E,I.state=2,I.chain.length>0&&f(p,I))}function v(E,I,$,M){for(var z=0;z<I.length;z++)(function(H){E.resolve(I[H]).then(function(te){$(H,te)},M)})(z)}function C(E){this.def=E,this.triggered=!1}function R(E){this.promise=E,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function k(E){if(typeof E!="function")throw TypeError("Not a function");if(this.__NPO__!==0)throw TypeError("Not a promise");this.__NPO__=1;var I=new R(this);this.then=function(M,z){var j={success:typeof M=="function"?M:!0,failure:typeof z=="function"?z:!1};return j.promise=new this.constructor(function(oe,te){if(typeof oe!="function"||typeof te!="function")throw TypeError("Not a function");j.resolve=oe,j.reject=te}),I.chain.push(j),I.state!==0&&f(p,I),j.promise},this.catch=function(M){return this.then(void 0,M)};try{E.call(void 0,function(M){w.call(I,M)},function(M){_.call(I,M)})}catch($){_.call(I,$)}}var T=i({},"constructor",k,!1);return k.prototype=T,i(T,"__NPO__",0,!1),i(k,"resolve",function(I){var $=this;return I&&typeof I=="object"&&I.__NPO__===1?I:new $(function(z,j){if(typeof z!="function"||typeof j!="function")throw TypeError("Not a function");z(I)})}),i(k,"reject",function(I){return new this(function(M,z){if(typeof M!="function"||typeof z!="function")throw TypeError("Not a function");z(I)})}),i(k,"all",function(I){var $=this;return l.call(I)!="[object Array]"?$.reject(TypeError("Not an array")):I.length===0?$.resolve([]):new $(function(z,j){if(typeof z!="function"||typeof j!="function")throw TypeError("Not a function");var H=I.length,oe=Array(H),te=0;v($,I,function(B,W){oe[B]=W,++te===H&&z(oe)},j)})}),i(k,"race",function(I){var $=this;return l.call(I)!="[object Array]"?$.reject(TypeError("Not an array")):new $(function(z,j){if(typeof z!="function"||typeof j!="function")throw TypeError("Not a function");v($,I,function(oe,te){z(te)},j)})}),k})}),jn=new WeakMap;function Ri(e,n,i){var s=jn.get(e.element)||{};n in s||(s[n]=[]),s[n].push(i),jn.set(e.element,s)}function ns(e,n){var i=jn.get(e.element)||{};return i[n]||[]}function rs(e,n,i){var s=jn.get(e.element)||{};if(!s[n])return!0;if(!i)return s[n]=[],jn.set(e.element,s),!0;var a=s[n].indexOf(i);return a!==-1&&s[n].splice(a,1),jn.set(e.element,s),s[n]&&s[n].length===0}function Xv(e,n){var i=ns(e,n);if(i.length<1)return!1;var s=i.shift();return rs(e,n,s),s}function Qv(e,n){var i=jn.get(e);jn.set(n,i),jn.delete(e)}function ms(e){if(typeof e=="string")try{e=JSON.parse(e)}catch(n){return console.warn(n),{}}return e}function pr(e,n,i){if(!(!e.element.contentWindow||!e.element.contentWindow.postMessage)){var s={method:n};i!==void 0&&(s.value=i);var a=parseFloat(navigator.userAgent.toLowerCase().replace(/^.*msie (\d+).*$/,"$1"));a>=8&&a<10&&(s=JSON.stringify(s)),e.element.contentWindow.postMessage(s,e.origin)}}function Jv(e,n){n=ms(n);var i=[],s;if(n.event){if(n.event==="error"){var a=ns(e,n.data.method);a.forEach(function(d){var f=new Error(n.data.message);f.name=n.data.name,d.reject(f),rs(e,n.data.method,d)})}i=ns(e,"event:".concat(n.event)),s=n.data}else if(n.method){var l=Xv(e,n.method);l&&(i.push(l),s=n.value)}i.forEach(function(d){try{if(typeof d=="function"){d.call(e,s);return}d.resolve(s)}catch{}})}var ew=["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 g1(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return ew.reduce(function(i,s){var a=e.getAttribute("data-vimeo-".concat(s));return(a||a==="")&&(i[s]=a===""?1:a),i},n)}function Il(e,n){var i=e.html;if(!n)throw new TypeError("An element must be provided");if(n.getAttribute("data-vimeo-initialized")!==null)return n.querySelector("iframe");var s=document.createElement("div");return s.innerHTML=i,n.appendChild(s.firstChild),n.setAttribute("data-vimeo-initialized","true"),n.querySelector("iframe")}function m1(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},i=arguments.length>2?arguments[2]:void 0;return new Promise(function(s,a){if(!xr(e))throw new TypeError("“".concat(e,"” is not a vimeo.com url."));var l=Gv(e),d="https://".concat(l,"/api/oembed.json?url=").concat(encodeURIComponent(e));for(var f in n)n.hasOwnProperty(f)&&(d+="&".concat(f,"=").concat(encodeURIComponent(n[f])));var h="XDomainRequest"in window?new XDomainRequest:new XMLHttpRequest;h.open("GET",d,!0),h.onload=function(){if(h.status===404){a(new Error("“".concat(e,"” was not found.")));return}if(h.status===403){a(new Error("“".concat(e,"” is not embeddable.")));return}try{var p=JSON.parse(h.responseText);if(p.domain_status_code===403){Il(p,i),a(new Error("“".concat(e,"” is not embeddable.")));return}s(p)}catch(x){a(x)}},h.onerror=function(){var p=h.status?" (".concat(h.status,")"):"";a(new Error("There was an error fetching the embed code from Vimeo".concat(p,".")))},h.send()})}function tw(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document,n=[].slice.call(e.querySelectorAll("[data-vimeo-id], [data-vimeo-url]")),i=function(a){"console"in window&&console.error&&console.error("There was an error creating an embed: ".concat(a))};n.forEach(function(s){try{if(s.getAttribute("data-vimeo-defer")!==null)return;var a=g1(s),l=p1(a);m1(l,a,s).then(function(d){return Il(d,s)}).catch(i)}catch(d){i(d)}})}function nw(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoPlayerResizeEmbeds_){window.VimeoPlayerResizeEmbeds_=!0;var n=function(s){if(xr(s.origin)&&!(!s.data||s.data.event!=="spacechange")){for(var a=e.querySelectorAll("iframe"),l=0;l<a.length;l++)if(a[l].contentWindow===s.source){var d=a[l].parentElement;d.style.paddingBottom="".concat(s.data.data[0].bottom,"px");break}}};window.addEventListener("message",n)}}function rw(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoSeoMetadataAppended){window.VimeoSeoMetadataAppended=!0;var n=function(s){if(xr(s.origin)){var a=ms(s.data);if(!(!a||a.event!=="ready"))for(var l=e.querySelectorAll("iframe"),d=0;d<l.length;d++){var f=l[d],h=f.contentWindow===s.source;if(h1(f.src)&&h){var p=new Ml(f);p.callMethod("appendVideoMetadata",window.location.href)}}}};window.addEventListener("message",n)}}function iw(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;if(!window.VimeoCheckedUrlTimeParam){window.VimeoCheckedUrlTimeParam=!0;var n=function(a){"console"in window&&console.error&&console.error("There was an error getting video Id: ".concat(a))},i=function(a){if(xr(a.origin)){var l=ms(a.data);if(!(!l||l.event!=="ready"))for(var d=e.querySelectorAll("iframe"),f=function(){var x=d[h],w=x.contentWindow===a.source;if(h1(x.src)&&w){var _=new Ml(x);_.getVideoId().then(function(v){var C=new RegExp("[?&]vimeo_t_".concat(v,"=([^&#]*)")).exec(window.location.href);if(C&&C[1]){var R=decodeURI(C[1]);_.setCurrentTime(R)}}).catch(n)}},h=0;h<d.length;h++)f()}};window.addEventListener("message",i)}}function ow(){var e=function(){for(var s,a=[["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"]],l=0,d=a.length,f={};l<d;l++)if(s=a[l],s&&s[1]in document){for(l=0;l<s.length;l++)f[a[0][l]]=s[l];return f}return!1}(),n={fullscreenchange:e.fullscreenchange,fullscreenerror:e.fullscreenerror},i={request:function(a){return new Promise(function(l,d){var f=function p(){i.off("fullscreenchange",p),l()};i.on("fullscreenchange",f),a=a||document.documentElement;var h=a[e.requestFullscreen]();h instanceof Promise&&h.then(f).catch(d)})},exit:function(){return new Promise(function(a,l){if(!i.isFullscreen){a();return}var d=function h(){i.off("fullscreenchange",h),a()};i.on("fullscreenchange",d);var f=document[e.exitFullscreen]();f instanceof Promise&&f.then(d).catch(l)})},on:function(a,l){var d=n[a];d&&document.addEventListener(d,l)},off:function(a,l){var d=n[a];d&&document.removeEventListener(d,l)}};return Object.defineProperties(i,{isFullscreen:{get:function(){return!!document[e.fullscreenElement]}},element:{enumerable:!0,get:function(){return document[e.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return!!document[e.fullscreenEnabled]}}}),i}var sw={role:"viewer",autoPlayMuted:!0,allowedDrift:.3,maxAllowedDrift:1,minCheckInterval:.1,maxRateAdjustment:.2,maxTimeToCatchUp:1},aw=function(e){Wv(i,e);var n=Zv(i);function i(s,a){var l,d=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},f=arguments.length>3?arguments[3]:void 0;return l1(this,i),l=n.call(this),qo(Yo(l),"logger",void 0),qo(Yo(l),"speedAdjustment",0),qo(Yo(l),"adjustSpeed",function(){var h=gr(Mt().mark(function p(x,w){var _;return Mt().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:if(l.speedAdjustment!==w){C.next=2;break}return C.abrupt("return");case 2:return C.next=4,x.getPlaybackRate();case 4:return C.t0=C.sent,C.t1=l.speedAdjustment,C.t2=C.t0-C.t1,C.t3=w,_=C.t2+C.t3,l.log("New playbackRate: ".concat(_)),C.next=12,x.setPlaybackRate(_);case 12:l.speedAdjustment=w;case 13:case"end":return C.stop()}},p)}));return function(p,x){return h.apply(this,arguments)}}()),l.logger=f,l.init(a,s,cf(cf({},sw),d)),l}return c1(i,[{key:"disconnect",value:function(){this.dispatchEvent(new Event("disconnect"))}},{key:"init",value:function(){var s=gr(Mt().mark(function l(d,f,h){var p=this,x,w,_;return Mt().wrap(function(C){for(;;)switch(C.prev=C.next){case 0:return C.next=2,this.waitForTOReadyState(d,"open");case 2:if(h.role!=="viewer"){C.next=10;break}return C.next=5,this.updatePlayer(d,f,h);case 5:x=ff(d,"change",function(){return p.updatePlayer(d,f,h)}),w=this.maintainPlaybackPosition(d,f,h),this.addEventListener("disconnect",function(){w.cancel(),x.cancel()}),C.next=14;break;case 10:return C.next=12,this.updateTimingObject(d,f);case 12:_=ff(f,["seeked","play","pause","ratechange"],function(){return p.updateTimingObject(d,f)},"on","off"),this.addEventListener("disconnect",function(){return _.cancel()});case 14:case"end":return C.stop()}},l,this)}));function a(l,d,f){return s.apply(this,arguments)}return a}()},{key:"updateTimingObject",value:function(){var s=gr(Mt().mark(function l(d,f){return Mt().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return p.t0=d,p.next=3,f.getCurrentTime();case 3:return p.t1=p.sent,p.next=6,f.getPaused();case 6:if(!p.sent){p.next=10;break}p.t2=0,p.next=13;break;case 10:return p.next=12,f.getPlaybackRate();case 12:p.t2=p.sent;case 13:p.t3=p.t2,p.t4={position:p.t1,velocity:p.t3},p.t0.update.call(p.t0,p.t4);case 16:case"end":return p.stop()}},l)}));function a(l,d){return s.apply(this,arguments)}return a}()},{key:"updatePlayer",value:function(){var s=gr(Mt().mark(function l(d,f,h){var p,x,w;return Mt().wrap(function(v){for(;;)switch(v.prev=v.next){case 0:if(p=d.query(),x=p.position,w=p.velocity,typeof x=="number"&&f.setCurrentTime(x),typeof w!="number"){v.next=25;break}if(w!==0){v.next=11;break}return v.next=6,f.getPaused();case 6:if(v.t0=v.sent,v.t0!==!1){v.next=9;break}f.pause();case 9:v.next=25;break;case 11:if(!(w>0)){v.next=25;break}return v.next=14,f.getPaused();case 14:if(v.t1=v.sent,v.t1!==!0){v.next=19;break}return v.next=18,f.play().catch(function(){var C=gr(Mt().mark(function R(k){return Mt().wrap(function(E){for(;;)switch(E.prev=E.next){case 0:if(!(k.name==="NotAllowedError"&&h.autoPlayMuted)){E.next=5;break}return E.next=3,f.setMuted(!0);case 3:return E.next=5,f.play().catch(function(I){return console.error("Couldn't play the video from TimingSrcConnector. Error:",I)});case 5:case"end":return E.stop()}},R)}));return function(R){return C.apply(this,arguments)}}());case 18:this.updatePlayer(d,f,h);case 19:return v.next=21,f.getPlaybackRate();case 21:if(v.t2=v.sent,v.t3=w,v.t2===v.t3){v.next=25;break}f.setPlaybackRate(w);case 25:case"end":return v.stop()}},l,this)}));function a(l,d,f){return s.apply(this,arguments)}return a}()},{key:"maintainPlaybackPosition",value:function(a,l,d){var f=this,h=d.allowedDrift,p=d.maxAllowedDrift,x=d.minCheckInterval,w=d.maxRateAdjustment,_=d.maxTimeToCatchUp,v=Math.min(_,Math.max(x,p))*1e3,C=function(){var k=gr(Mt().mark(function T(){var E,I,$,M,z;return Mt().wrap(function(H){for(;;)switch(H.prev=H.next){case 0:if(H.t0=a.query().velocity===0,H.t0){H.next=6;break}return H.next=4,l.getPaused();case 4:H.t1=H.sent,H.t0=H.t1===!0;case 6:if(!H.t0){H.next=8;break}return H.abrupt("return");case 8:return H.t2=a.query().position,H.next=11,l.getCurrentTime();case 11:if(H.t3=H.sent,E=H.t2-H.t3,I=Math.abs(E),f.log("Drift: ".concat(E)),!(I>p)){H.next=22;break}return H.next=18,f.adjustSpeed(l,0);case 18:l.setCurrentTime(a.query().position),f.log("Resync by currentTime"),H.next=29;break;case 22:if(!(I>h)){H.next=29;break}return $=I/_,M=w,z=$<M?(M-$)/2:M,H.next=28,f.adjustSpeed(l,z*Math.sign(E));case 28:f.log("Resync by playbackRate");case 29:case"end":return H.stop()}},T)}));return function(){return k.apply(this,arguments)}}(),R=setInterval(function(){return C()},v);return{cancel:function(){return clearInterval(R)}}}},{key:"log",value:function(a){var l;(l=this.logger)===null||l===void 0||l.call(this,"TimingSrcConnector: ".concat(a))}},{key:"waitForTOReadyState",value:function(a,l){return new Promise(function(d){var f=function h(){a.readyState===l?d():a.addEventListener("readystatechange",h,{once:!0})};f()})}}]),i}(ol(EventTarget)),Zr=new WeakMap,Ba=new WeakMap,jt={},Ml=function(){function e(n){var i=this,s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(l1(this,e),window.jQuery&&n instanceof jQuery&&(n.length>1&&window.console&&console.warn&&console.warn("A jQuery object with multiple elements was passed, using the first element."),n=n[0]),typeof document<"u"&&typeof n=="string"&&(n=document.getElementById(n)),!Nv(n))throw new TypeError("You must pass either a valid element or a valid id.");if(n.nodeName!=="IFRAME"){var a=n.querySelector("iframe");a&&(n=a)}if(n.nodeName==="IFRAME"&&!xr(n.getAttribute("src")||""))throw new Error("The player element passed isn’t a Vimeo embed.");if(Zr.has(n))return Zr.get(n);this._window=n.ownerDocument.defaultView,this.element=n,this.origin="*";var l=new sn(function(f,h){if(i._onMessage=function(w){if(!(!xr(w.origin)||i.element.contentWindow!==w.source)){i.origin==="*"&&(i.origin=w.origin);var _=ms(w.data),v=_&&_.event==="error",C=v&&_.data&&_.data.method==="ready";if(C){var R=new Error(_.data.message);R.name=_.data.name,h(R);return}var k=_&&_.event==="ready",T=_&&_.method==="ping";if(k||T){i.element.setAttribute("data-ready","true"),f();return}Jv(i,_)}},i._window.addEventListener("message",i._onMessage),i.element.nodeName!=="IFRAME"){var p=g1(n,s),x=p1(p);m1(x,p,n).then(function(w){var _=Il(w,n);return i.element=_,i._originalElement=n,Qv(n,_),Zr.set(i.element,i),w}).catch(h)}});if(Ba.set(this,l),Zr.set(this.element,this),this.element.nodeName==="IFRAME"&&pr(this,"ping"),jt.isEnabled){var d=function(){return jt.exit()};this.fullscreenchangeHandler=function(){jt.isFullscreen?Ri(i,"event:exitFullscreen",d):rs(i,"event:exitFullscreen",d),i.ready().then(function(){pr(i,"fullscreenchange",jt.isFullscreen)})},jt.on("fullscreenchange",this.fullscreenchangeHandler)}return this}return c1(e,[{key:"callMethod",value:function(i){for(var s=this,a=arguments.length,l=new Array(a>1?a-1:0),d=1;d<a;d++)l[d-1]=arguments[d];if(i==null)throw new TypeError("You must pass a method name.");return new sn(function(f,h){return s.ready().then(function(){Ri(s,i,{resolve:f,reject:h}),pr(s,i,l)}).catch(h)})}},{key:"get",value:function(i){var s=this;return new sn(function(a,l){return i=df(i,"get"),s.ready().then(function(){Ri(s,i,{resolve:a,reject:l}),pr(s,i)}).catch(l)})}},{key:"set",value:function(i,s){var a=this;return new sn(function(l,d){if(i=df(i,"set"),s==null)throw new TypeError("There must be a value to set.");return a.ready().then(function(){Ri(a,i,{resolve:l,reject:d}),pr(a,i,s)}).catch(d)})}},{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 a=ns(this,"event:".concat(i));a.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 a=rs(this,"event:".concat(i),s);a&&this.callMethod("removeEventListener",i).catch(function(l){})}},{key:"loadVideo",value:function(i){return this.callMethod("loadVideo",i)}},{key:"ready",value:function(){var i=Ba.get(this)||new sn(function(s,a){a(new Error("Unknown player. Probably unloaded."))});return sn.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 jt.isEnabled?jt.request(this.element):this.callMethod("requestFullscreen")}},{key:"exitFullscreen",value:function(){return jt.isEnabled?jt.exit():this.callMethod("exitFullscreen")}},{key:"getFullscreen",value:function(){return jt.isEnabled?sn.resolve(jt.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 sn(function(s){if(Ba.delete(i),Zr.delete(i.element),i._originalElement&&(Zr.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 a=i.element.querySelector("iframe");a&&a.parentNode&&(a.parentNode.parentNode&&i._originalElement&&i._originalElement!==a.parentNode?a.parentNode.parentNode.removeChild(a.parentNode):a.parentNode.removeChild(a))}i._window.removeEventListener("message",i._onMessage),jt.isEnabled&&jt.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 sn.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 sn(function(l,d){return d(new TypeError("Argument must be an array."))});var s=new sn(function(l){return l(null)}),a=[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 sn.all(a)}},{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 n=gr(Mt().mark(function s(a,l){var d=this,f;return Mt().wrap(function(p){for(;;)switch(p.prev=p.next){case 0:if(a){p.next=2;break}throw new TypeError("A Timing Object must be provided.");case 2:return p.next=4,this.ready();case 4:return f=new aw(this,a,l),pr(this,"notifyTimingObjectConnect"),f.addEventListener("disconnect",function(){return pr(d,"notifyTimingObjectDisconnect")}),p.abrupt("return",f);case 8:case"end":return p.stop()}},s,this)}));function i(s,a){return n.apply(this,arguments)}return i}()}]),e}();f1||(jt=ow(),tw(),nw(),rw(),iw());const lw=(e,n,i,s)=>({id:parseInt(e,10),width:typeof n=="number"?n:void 0,height:typeof i=="number"?i:void 0,...s}),cw=async(e,n)=>{if(e)try{const i=[];typeof n.loop=="boolean"&&i.push(e.getLoop().then(s=>{if(s!==n.loop)return e.setLoop(n.loop)})),n.color&&i.push(e.getColor().then(s=>{if(s!==n.color)return e.setColor(n.color)})),typeof n.muted=="boolean"&&i.push(e.getMuted().then(s=>{if(s!==n.muted)return e.setMuted(n.muted)})),await Promise.all(i)}catch(i){console.warn("Error enforcing player config:",i)}},uw=e=>({ready:e.onReady,play:e.onPlay,pause:e.onPlayerPause,ended:e.onEnd,timeupdate:e.onTimeUpdate?n=>{var i;(i=e.onTimeUpdate)==null||i.call(e,n.seconds)}:void 0,progress:e.onProgress?n=>{var i;(i=e.onProgress)==null||i.call(e,n.percent)}:void 0,seeking:e.onSeeking,seeked:e.onSeeked,error:e.onPlayerError}),dw=e=>{var i,s;const n=be();return c.useMemo(()=>{var l,d;return{...(l=n.__hd__.vimeo)==null?void 0:l.playerSettings,...e,color:(e==null?void 0:e.color)||((d=n.__hd__.vimeo)==null?void 0:d.defaultAccentColor)||"#00adef"}},[(i=n.__hd__.vimeo)==null?void 0:i.playerSettings,(s=n.__hd__.vimeo)==null?void 0:s.defaultAccentColor,e])},fw=(e,n,i,s,a)=>{const l=c.useRef(null);return c.useEffect(()=>e.current?((async()=>{try{const f=lw(n,i,s,a);e.current&&(l.current=new Ml(e.current,f),setTimeout(()=>{cw(l.current,a)},100))}catch(f){console.error("Failed to initialize Vimeo player:",f)}})(),()=>{l.current&&(l.current.destroy(),l.current=null)}):void 0,[n,i,s]),l},hw=(e,n)=>{c.useEffect(()=>{if(!e.current||!n)return;const i=e.current,s=uw(n);return Object.entries(s).forEach(([a,l])=>{l&&i.on(a,l)}),()=>{e.current&&Object.entries(s).forEach(([a,l])=>{if(l)try{e.current.off(a,l)}catch{}})}},[e,n])},pw=ue.div`
|
|
259
261
|
position: relative;
|
|
260
262
|
width: 100%;
|
|
261
263
|
height: 100%;
|
|
262
264
|
overflow: hidden;
|
|
263
|
-
`,
|
|
265
|
+
`,gw=ue.div`
|
|
264
266
|
position: relative;
|
|
265
|
-
padding-bottom: ${({$aspectRatio:
|
|
267
|
+
padding-bottom: ${({$aspectRatio:e})=>`${e}%`};
|
|
266
268
|
height: 0;
|
|
267
269
|
overflow: hidden;
|
|
268
|
-
`,
|
|
270
|
+
`,mw=ue.div`
|
|
269
271
|
position: absolute;
|
|
270
272
|
top: 0;
|
|
271
273
|
left: 0;
|
|
272
274
|
width: 100%;
|
|
273
275
|
height: 100%;
|
|
274
|
-
`,
|
|
276
|
+
`,yw=({videoId:e,width:n="100%",height:i="auto",config:s,callbacks:a})=>{var _;const l=be(),d=c.useRef(null),[f]=c.useState(`vimeo-player-${Math.random().toString(36).substr(2,9)}`),h=i==="auto",p=((_=l.__hd__.vimeo)==null?void 0:_.aspectRatio)||56.25,x=dw(s),w=fw(d,e,n,i,x);return hw(w,a),h?m.jsx(gw,{$aspectRatio:p,children:m.jsx(mw,{ref:d,id:f})}):m.jsx(pw,{style:{width:n,height:i},children:m.jsx("div",{ref:d,id:f,style:{width:"100%",height:"100%"}})})},bw={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%"},xw="https://player.vimeo.com",vw=({videoId:e,playerWidth:n,playerHeight:i,config:s,callbacks:a,...l})=>m.jsx(L,{overflow:"hidden",...l,children:m.jsx(yw,{videoId:e,width:n,height:i,config:s,callbacks:a})});function hf({item:e,index:n,renderItem:i}){return m.jsx(L,{flexShrink:0,children:i({item:e,index:n,isFocused:!0})})}function Po({item:e,index:n,isFocused:i,renderItem:s,itemsPerView:a,itemWidth:l}){const d=Ne.isNil(a)?void 0:`0 0 ${100/a}%`;return m.jsx(L,{flex:Ne.isNil(l)?d:void 0,width:l,overflow:"hidden",children:s({item:e,index:n,isFocused:i})})}const ww=/^(\d+|\d*\.\d+)(px)$/,_w=(e,n)=>{if(typeof n=="string"){if(yr(n))return e.sizes[n];if(ww.test(n))return parseInt(n.replace("px",""),10);throw new Error("Invalid itemWidth, must be a Size or a number or a valid pixel value")}return n},Ha=(e,n,i,s)=>{if(s)return`calc(-${e} * (${s}px + ${i}px))`;const a=e*(100/n),l=e*i;return`calc(-${a}% - ${l}px)`},Vr=(e,n,i,s)=>s?`${s(e,n)}${i||""}`:`carousel-item-${n}${i||""}`,Cw=Sn`
|
|
275
277
|
0% { transform: translateX(0); }
|
|
276
278
|
100% { transform: translateX(-50%); } /* Scroll one full set of items */
|
|
277
|
-
`,
|
|
279
|
+
`,Sw=ue(L)`
|
|
278
280
|
display: flex;
|
|
279
281
|
align-items: stretch; // Use stretch to ensure items fill height if needed
|
|
280
|
-
gap: ${({$itemSpacing:
|
|
282
|
+
gap: ${({$itemSpacing:e})=>e||0}px;
|
|
281
283
|
will-change: transform;
|
|
282
|
-
transition: ${({$autoScroll:
|
|
284
|
+
transition: ${({$autoScroll:e})=>e?"none":"transform 0.5s ease-in-out"};
|
|
283
285
|
|
|
284
286
|
/* Apply animation conditionally using the css helper */
|
|
285
|
-
animation: ${({$autoScroll:
|
|
286
|
-
`;function
|
|
287
|
+
animation: ${({$autoScroll:e,$scrollDuration:n})=>e?lt`${Cw} ${n}s linear infinite`:"none"};
|
|
288
|
+
`;function Ew({itemSpacing:e,itemsWrapperRef:n,items:i,renderItem:s,keyExtractor:a,autoScroll:l,activeIndex:d,virtualActiveIndex:f,itemsPerView:h=1,itemWidth:p,infiniteLoop:x=!1}){const w=be(),v=w.__hd__.carousel.autoScroll,C=typeof l=="object"&&l.speed||v.defaultSpeed,R=c.useMemo(()=>{if(i.length<=h)return i;const M=i.length%h;return M===0?i:i.slice(0,i.length-M)},[i,h]),k=l?R.length*(C/5):0,T=w.spaces[e||w.__hd__.carousel.container.defaultItemSpacing]||0,E=x&&!l&&R.length>1,I=c.useMemo(()=>{if(p)return p*h+T*(h-1)},[p,h,T]),$=c.useMemo(()=>{if(l)return m.jsxs(m.Fragment,{children:[R.map((M,z)=>m.jsx(hf,{item:M,index:z,renderItem:s},Vr(M,z,"-auto-scroll",a))),R.map((M,z)=>m.jsx(hf,{item:M,index:z+R.length,renderItem:s},Vr(M,z,"-duplicate",a)))]});if(E){const M=z=>{const j=f-R.length;return z>=j&&z<j+h};return m.jsxs(m.Fragment,{children:[R.map((z,j)=>{const H=j;return m.jsx(Po,{item:z,index:H,isFocused:M(j),renderItem:s,itemsPerView:h,itemWidth:p},Vr(z,H,"-prefix",a))}),R.map((z,j)=>m.jsx(Po,{item:z,index:j,isFocused:M(j),renderItem:s,itemsPerView:h,itemWidth:p},Vr(z,j,void 0,a))),R.map((z,j)=>{const H=j;return m.jsx(Po,{item:z,index:H,isFocused:M(j),renderItem:s,itemsPerView:h,itemWidth:p},Vr(z,H,"-suffix",a))})]})}return R.map((M,z)=>m.jsx(Po,{item:M,index:z,isFocused:z>=d&&z<d+h,renderItem:s,itemsPerView:h,itemWidth:p},Vr(M,z,void 0,a)))},[l,E,R,a,s,f,h,p,d]);return m.jsx(L,{width:I,display:"flex",children:m.jsx(Sw,{$autoScroll:!!l,$scrollDuration:k,$itemSpacing:T,ref:n,children:$})})}const kw=ue(cs)`
|
|
287
289
|
transition: color 0.2s ease;
|
|
288
|
-
color: ${({$color:
|
|
289
|
-
|
|
290
|
+
color: ${({$color:e,theme:n})=>n.colors[e]};
|
|
291
|
+
`,$w=ue(ei)`
|
|
290
292
|
transition: color 0.2s ease;
|
|
291
|
-
color: ${({$color:
|
|
292
|
-
`;function
|
|
293
|
-
opacity ${
|
|
294
|
-
transition: transform ${({$duration:
|
|
295
|
-
transform: rotate(${({$isExpanded:
|
|
293
|
+
color: ${({$color:e,theme:n})=>n.colors[e]};
|
|
294
|
+
`;function pf({isLeft:e,onPrev:n,onNext:i}){const s=c.useRef(null),a=ds(s),l=be(),d=l.__hd__.carousel.navigation,f=l.spaces[d.buttonPadding]*2+l.sizes[d.iconSize],h=xt(l,d.iconSize),p=a?d.buttonBackgroundColor:d.buttonColor,x=typeof h=="string"?parseInt(h,10):h;return m.jsx(kt,{onClick:e?n:i,ml:e?{xs:"none",sm:d.marginHorizontal}:void 0,mr:e?void 0:{xs:"none",sm:d.marginHorizontal},ref:s,children:m.jsx(L,{display:"flex",justifyContent:"center",alignItems:"center",width:f,height:f,p:d.buttonPadding,r:d.buttonBorderRadius,bgColor:a?d.buttonColor:d.buttonBackgroundColor,transition:"background-color 0.2s ease",zIndex:l.zIndex.getZIndex("AIC_Kits_Carousel"),boxShadow:"0 0 16px 0 rgba(0, 0, 0, 0.1)",ref:s,children:e?m.jsx(kw,{size:x,weight:"bold",$color:p}):m.jsx($w,{size:x,weight:"bold",$color:p})})})}function Aw({itemsCount:e,activeIndex:n,onDotClick:i}){const s=be(),a=s.__hd__.carousel.pagination,l=a.container,d=xt(s,a.dotSize);return m.jsx(L,{display:"flex",justifyContent:"center",alignItems:"center",mt:l.marginTop,p:l.padding,r:l.borderRadius,bgColor:l.backgroundColor,gap:l.gap,children:Array.from({length:e}).map((f,h)=>m.jsx(L,{width:d,height:d,r:a.dotBorderRadius,bgColor:h===n?a.activeColor:a.inactiveColor,cursor:"pointer",transition:"background-color 0.3s ease",onClick:()=>i(h)},`dot-${h}`))})}function Tw({items:e,renderItem:n,showPagination:i=!0,showNavigation:s=!0,autoPlay:a=!1,autoScroll:l=!1,initialIndex:d=0,onIndexChange:f,keyExtractor:h,itemSpacing:p,itemsPerView:x=1,itemWidth:w,infiniteLoop:_=!1,...v},C){const R=be(),{width:k}=q0(),T=R.__hd__.carousel,E=c.useMemo(()=>{if(e.length<=x)return e;const ae=e.length%x;return ae===0?e:e.slice(0,e.length-ae)},[e,x]),[I,$]=c.useState(d),[M,z]=c.useState(d),j=c.useRef(null),H=c.useRef(null),oe=c.useRef(null),te=c.useRef(!1),[re,B]=c.useState(!1),[W,P]=c.useState(null),[le,K]=c.useState(0),ne=!!l,ie=ne?1:Math.max(1,x),we=ne?void 0:_w(R,w),pe=R.spaces[p||T.container.defaultItemSpacing]||0,Se=ne?!1:i,$e=ne?!1:s,de=_&&!ne&&E.length>1,De=Math.max(0,E.length-ie),Ze=Math.ceil(E.length/ie),Ee=typeof a=="object"&&a.delay||3e3,st=c.useCallback(ae=>{if(E.length===0)return 0;for(;ae<0;)ae+=E.length;return ae%E.length},[E.length]),ye=c.useCallback(ae=>{if(!de)return{virtualIndex:ae,realIndex:ae,needsSnap:!1};let Ge=ae,Pe=ae,Ue=!1;return ae<0||ae>De?(Ge=E.length+ae,Pe=st(ae),Ue=!0):(Ge=E.length+ae,Pe=ae,Ue=!1),{virtualIndex:Ge,realIndex:Pe,needsSnap:Ue}},[de,E.length,De,st]),Te=c.useCallback(ae=>{if(!de||!j.current)return;const Ge=E.length+ae,Pe=Ha(Ge,ie,pe,we);j.current.style.transition="none",j.current.style.transform=`translateX(${Pe})`,z(Ge),requestAnimationFrame(()=>{j.current&&(j.current.style.transition="")})},[de,E.length,ie,pe,we]),Fe=c.useCallback(()=>{if(j.current){const ae=window.getComputedStyle(j.current),Ge=new DOMMatrixReadOnly(ae.transform);K(Ge.e)}},[]),ke=c.useCallback(ae=>{const Ge=de?ae:Math.max(0,Math.min(ae,De)),Pe=ye(Ge),Ue=Math.max(0,Math.min(Ge,De));if((Ue!==I||re)&&($(Ue),f==null||f(Ue)),j.current&&!ne){const Qe=Pe.virtualIndex;z(Qe);const ct=Ha(Qe,ie,pe,we);j.current.style.transform=`translateX(${ct})`,j.current.style.transition="",queueMicrotask(()=>{Fe()}),Pe.needsSnap&&(oe.current&&clearTimeout(oe.current),oe.current=setTimeout(()=>{Te(Pe.realIndex),$(Pe.realIndex),f==null||f(Pe.realIndex)},500))}},[de,De,I,f,ne,ie,pe,we,Fe,re,ye,Te]),ee=c.useCallback(()=>{_&&E.length>0?ke(I+ie):ke(Math.min(I+ie,De))},[_,I,ie,De,E.length,ke]),he=c.useCallback(()=>{_&&E.length>0?ke(I-ie):ke(Math.max(I-ie,0))},[_,I,ie,E.length,ke]);c.useImperativeHandle(C,()=>({goToIndex:ke,goToNext:ee,goToPrev:he}));const N=c.useCallback(()=>{H.current&&clearTimeout(H.current)},[]),se=()=>{te.current=!0,a&&!ne&&N(),ne&&j.current&&(j.current.style.animationPlayState="paused")},ge=c.useCallback(()=>{if(te.current=!1,a&&!ne&&!re){N();const ae=(I+1)%E.length,Ge=Math.min(ae,De);H.current=setTimeout(()=>ke(Ge),Ee)}ne&&j.current&&(j.current.style.animationPlayState="running")},[a,ne,re,N,I,E.length,De,Ee,ke]),Ae=c.useCallback(ae=>{ne||e.length<=ie||(oe.current&&(clearTimeout(oe.current),oe.current=null),Fe(),N(),B(!0),P(ae),j.current&&(j.current.style.transition="none"))},[ne,N,e.length,ie,Fe]),Be=c.useCallback(ae=>{if(!re||W===null||ne||!j.current)return;const Ge=ae-W;j.current.style.transform=`translateX(${le+Ge}px)`},[re,W,ne,le]),Oe=c.useCallback(()=>{if(!re||W===null||ne)return;B(!1);let ae=we;!ae&&j.current&&j.current.firstChild&&(ae=j.current.firstChild.clientWidth),!ae&&j.current&&(ae=j.current.clientWidth/ie);const Ge=(ae||0)/3;if(j.current){const Pe=window.getComputedStyle(j.current),ct=new DOMMatrixReadOnly(Pe.transform).e-le;j.current.style.transition="",Math.abs(ct)>Ge?ct<0?ee():he():ke(I)}P(null),a&&!te.current&&(H.current=setTimeout(()=>ee(),Ee))},[re,W,ne,we,ie,ee,he,I,a,Ee,le,ke]),tt=Math.floor(I/ie),nt=ae=>ke(ae*ie);c.useEffect(()=>{if(!a||ne||te.current||re){N();return}const ae=(I+1)%E.length,Ge=Math.min(ae,De);return H.current=setTimeout(()=>ke(Ge),Ee),N},[I,a,Ee,ke,N,ne,E.length,De,re]),c.useEffect(()=>{if(!Ct()){if(de){const ae=E.length+d;if(z(ae),j.current){const Ge=Ha(ae,ie,pe,we);j.current.style.transform=`translateX(${Ge})`,j.current.style.transition="none",requestAnimationFrame(()=>{j.current&&(j.current.style.transition="")})}}ke(d)}},[k,d,de,E.length,ie,pe,we]),c.useEffect(()=>()=>{H.current&&clearTimeout(H.current),oe.current&&clearTimeout(oe.current)},[]);const it=()=>{re&&j.current&&Oe(),ge()};return m.jsxs(L,{fw:!0,overflow:"hidden",onMouseEnter:se,onMouseLeave:it,onTouchStart:ae=>Ae(ae.touches[0].clientX),onTouchMove:ae=>Be(ae.touches[0].clientX),onTouchEnd:Oe,onMouseDown:ae=>{ae.button===0&&Ae(ae.clientX)},onMouseMove:ae=>{ae.buttons===1&&re&&Be(ae.clientX)},onMouseUp:ae=>{ae.button===0&&re&&Oe()},display:"flex",flexDirection:"column",alignItems:"center",...v,children:[m.jsxs(L,{position:"relative",display:"flex",justifyContent:"center",alignItems:"center",fw:!0,children:[m.jsx(Ew,{itemsWrapperRef:j,itemSpacing:p,activeIndex:I,virtualActiveIndex:M,items:E,renderItem:n,keyExtractor:h,autoScroll:l,itemsPerView:ie,itemWidth:we,infiniteLoop:_}),$e&&e.length>ie&&m.jsx(L,{position:"absolute",left:0,top:"50%",transform:"translateY(-50%)",children:m.jsx(pf,{isLeft:!0,onPrev:he,onNext:ee})}),$e&&e.length>ie&&m.jsx(L,{position:"absolute",right:0,top:"50%",transform:"translateY(-50%)",children:m.jsx(pf,{isLeft:!1,onPrev:he,onNext:ee})})]}),Se&&Ze>1&&m.jsx(Aw,{itemsCount:Ze,activeIndex:tt,onDotClick:nt})]})}const Rw=c.forwardRef(Tw);function Iw({renderContent:e,isExpanded:n}){const s=be().__hd__.accordion,a=s.animation,l=c.useRef(null),[d,f]=c.useState(0);return c.useEffect(()=>{n&&l.current&&f(l.current.scrollHeight)},[n,e]),m.jsx(L,{overflow:"hidden",transition:`height ${a.duration}ms ${a.easing},
|
|
295
|
+
opacity ${a.duration}ms ${a.easing}`,height:n?d:0,opacity:n?1:0,children:m.jsx(L,{ref:l,pt:s.gap,children:e()})})}const Mw=ue(ei)`
|
|
296
|
+
transition: transform ${({$duration:e,$easing:n})=>`${e}ms ${n}`};
|
|
297
|
+
transform: rotate(${({$isExpanded:e})=>e?"90deg":"0deg"});
|
|
296
298
|
flex-shrink: 0; /* Prevent icon from shrinking */
|
|
297
|
-
`;function
|
|
299
|
+
`;function Fw({renderHeader:e,isExpanded:n,onToggle:i,disabled:s,iconPosition:a="left"}){const l=be(),d=l.__hd__.accordion,f=d.header,h=d.animation,p=xt(l,f.iconSize),x=l.colors[f.iconColor]||f.iconColor,w=m.jsx(kt,{onClick:s?void 0:i,cursor:s?"not-allowed":"pointer",opacity:s?f.disabledOpacity:1,children:m.jsx(Mw,{size:p,color:x,weight:"bold",$isExpanded:n,$duration:h.duration,$easing:h.easing})});return m.jsx(kt,{onClick:s?void 0:i,cursor:s?"not-allowed":"pointer",opacity:s?f.disabledOpacity:1,useScaleAnimation:!1,children:m.jsxs(L,{display:"flex",alignItems:"center",gap:a==="none"?void 0:f.gap,children:[a==="left"&&w,m.jsx(L,{flex:1,children:e(n)}),a==="right"&&w]})})}function Ow({renderHeader:e,renderContent:n,initialExpanded:i=!1,expanded:s,onExpandedChange:a,disabled:l=!1,iconPosition:d="left",...f}){const p=be().__hd__.accordion,x=s!==void 0,[w,_]=c.useState(i),v=x?s:w;c.useEffect(()=>{x&&_(s)},[x,s]);const C=c.useCallback(()=>{if(l)return;const R=!v;x||_(R),a==null||a(R)},[l,v,x,a]);return m.jsxs(L,{p:p.paddingVertical,px:p.paddingHorizontal,r:p.borderRadius,b:p.borderWidth,borderColor:p.borderColor,bgColor:p.backgroundColor,...f,children:[m.jsx(Fw,{renderHeader:e,isExpanded:v,onToggle:C,disabled:l,iconPosition:d}),m.jsx(Iw,{renderContent:n,isExpanded:v})]})}const y1=(e,n,i,s)=>i?e.colors[i]:s==="solid"?n==="white"?e.colors.grey900:e.colors.white:e.colors[n],zw=ue(L)`
|
|
298
300
|
display: inline-flex; /* Use inline-flex to allow tags to flow like text */
|
|
299
301
|
align-items: center;
|
|
300
302
|
justify-content: center;
|
|
301
303
|
white-space: nowrap; /* Prevent text wrapping */
|
|
302
|
-
border-width: ${({theme:
|
|
304
|
+
border-width: ${({theme:e})=>e.borderWidths.thin}px; /* Use thin border for outlined */
|
|
303
305
|
border-style: solid;
|
|
304
|
-
gap: ${({theme:
|
|
305
|
-
padding: ${({theme:
|
|
306
|
+
gap: ${({theme:e,$gap:n})=>e.spaces[n]}px;
|
|
307
|
+
padding: ${({theme:e,$paddingVertical:n,$paddingHorizontal:i})=>`${e.spaces[n]}px ${e.spaces[i]}px`};
|
|
306
308
|
|
|
307
|
-
border-radius: ${({theme:
|
|
309
|
+
border-radius: ${({theme:e,$radius:n})=>Df(n)?`${e.radii[n]}px`:n};
|
|
308
310
|
|
|
309
|
-
background-color: ${({theme:
|
|
311
|
+
background-color: ${({theme:e,$variant:n,$color:i})=>n==="solid"?e.colors[i]:e.colors.transparent};
|
|
310
312
|
|
|
311
|
-
border-color: ${({theme:
|
|
312
|
-
`,
|
|
313
|
-
color: ${({theme:
|
|
314
|
-
font-size: ${({theme:
|
|
313
|
+
border-color: ${({theme:e,$variant:n,$color:i})=>n==="outlined"?e.colors[i]:e.colors.transparent};
|
|
314
|
+
`,Lw=ue(Xe)`
|
|
315
|
+
color: ${({theme:e,$color:n,$textColor:i,$variant:s})=>y1(e,n,i,s)};
|
|
316
|
+
font-size: ${({theme:e,$fontSize:n})=>e.__hd__.text.fontSizes[n]}px;
|
|
315
317
|
/* Use medium weight for tags by default, can be customized via theme if needed */
|
|
316
|
-
font-weight: ${({theme:
|
|
318
|
+
font-weight: ${({theme:e})=>e.__hd__.text.fontWeights.medium};
|
|
317
319
|
line-height: 1; /* Ensure tight line height for tags */
|
|
318
|
-
`,
|
|
320
|
+
`,jw=({variant:e,color:n,textColor:i,size:s,radius:a,icon:l,rightIcon:d,children:f,style:h,"data-testid":p,...x})=>{const w=be(),_=w.__hd__.tag,v=e??_.defaultVariant,C=n??_.defaultColor,R=s??_.defaultSize,k=a??_.defaultRadius,T=y1(w,C,i,v),E=c.useMemo(()=>_.sizes[R],[_.sizes,R]);return m.jsxs(zw,{$variant:v,$color:C,$textColor:i,$size:R,$radius:k,$paddingVertical:E.paddingVertical,$paddingHorizontal:E.paddingHorizontal,$fontSize:E.fontSize,$gap:E.gap,$iconSize:E.iconSize,style:h,"data-testid":p,...x,children:[l&&m.jsx(gt,{type:"icon",art:l,size:E.iconSize,color:T,weight:"regular"}),m.jsx(Lw,{$color:C,$textColor:i,$variant:v,$fontSize:E.fontSize,as:"span",children:f}),d&&m.jsx(gt,{type:"icon",art:d,size:E.iconSize,color:T,weight:"regular"})]})},Dw=({label:e,checked:n,onChange:i,disabled:s=!1,color:a,size:l,style:d,"data-testid":f})=>{const h=be(),p=h.__hd__.checkbox,[x,w]=c.useState(n);c.useEffect(()=>{w(n)},[n]);const _=a??p.defaultColor,v=l??p.defaultSize,C=p.sizes[v],R=p.animation,k=xt(h,C.iconSize),T=x?_:"white",E=x?_:p.uncheckedBorderColor,I=s?p.disabledColor:T,$=s?p.disabledColor:E,M=()=>{if(s)return;const z=!x;w(z),i(z)};return m.jsxs(kt,{onClick:s?void 0:M,style:d,"data-testid":f,useScaleAnimation:!1,useOpacityAnimation:!1,display:"inline-flex",alignItems:"center",cursor:s?"not-allowed":"pointer",children:[m.jsx(L,{display:"flex",alignItems:"center",justifyContent:"center",borderRadius:C.borderRadius,borderWidth:C.borderWidth,borderColor:$,backgroundColor:I,filter:s?"opacity(0.5)":"none",transition:`background-color ${R.duration}ms ${R.easing}, border-color ${R.duration}ms ${R.easing}`,children:m.jsx(gt,{type:"icon",art:P0,size:k,color:h.colors[p.iconColor],weight:"bold",opacity:x?1:0,transition:`opacity ${R.duration}ms ${R.easing}`,margin:C.iconMargin})}),e&&m.jsx(L,{pl:C.labelPaddingLeft,children:m.jsx(Xe,{fontSize:C.labelFontSize,color:s?p.disabledTextColor:p.textColor,as:"span",children:e})})]})};function b1({value:e,onChange:n,disabled:i=!1}){const[s,a]=c.useState(!1),[l,d]=c.useState(!1),[f,h]=c.useState(e),p=c.useRef(null);c.useEffect(()=>{h(e)},[e]);const x=c.useCallback(()=>{i||a(v=>!v)},[i]),w=c.useCallback(v=>{v.disabled||(h(v.value),n==null||n(v.value),a(!1))},[n]),_=c.useCallback(()=>{a(!1)},[]);return{isOpen:s,setIsOpen:a,isHovering:l,setIsHovering:d,selectedValue:f,selectRef:p,handleToggle:x,handleSelect:w,handleClose:_}}function x1({option:e,isSelected:n,isDisabled:i,onSelect:s,sizeConfig:a,themeSelect:l,animation:d}){const f=c.useRef(null),h=ds(f),p=l.dropdown;let x=p.backgroundColor;n?x=p.itemSelectedBackgroundColor:h&&!i&&(x=p.itemHoverBackgroundColor);const w=i?l.disabledContentColor:n?p.itemSelectedTextColor:p.itemTextColor;return m.jsx(kt,{ref:f,onClick:()=>!i&&s(e),useScaleAnimation:!1,useOpacityAnimation:!1,cursor:i?"not-allowed":"pointer",fw:!0,children:m.jsx(L,{p:a.dropdownPaddingVertical,px:a.dropdownPaddingHorizontal,bgColor:x,transition:`background-color ${d.duration}ms ${d.easing}`,opacity:i?l.disabledOpacity:1,display:"block",overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",children:m.jsx(Xe,{fontSize:a.fontSize,color:w,fontWeight:n?"semibold":"regular",as:"span",children:e.label})})},e.value)}function Pw({anchorRef:e,isOpen:n,options:i,onSelect:s,selectedValue:a,onClose:l,size:d,borderRadius:f}){const h=be(),p=h.__hd__.select,x=p.dropdown,w=c.useRef(null),_=p.sizes[d],v=p.animation,C=h.spaces[x.offset];return c.useEffect(()=>{const R=k=>{w.current&&!w.current.contains(k.target)&&e.current&&!e.current.contains(k.target)&&l()};return n&&document.addEventListener("mousedown",R),()=>{document.removeEventListener("mousedown",R)}},[n,l,e]),c.useEffect(()=>{if(!n)return;const R=k=>{k.key==="Escape"&&l()};return document.addEventListener("keydown",R),()=>document.removeEventListener("keydown",R)},[n,l]),Ct()||!n?null:m.jsx(L,{ref:w,bgColor:x.backgroundColor,b:x.borderColor!=="transparent"?_.borderWidth:"none",borderColor:x.borderColor,boxShadow:x.shadow,position:"absolute",top:`calc(100% + ${C}px)`,left:0,right:0,zIndex:h.zIndex.getZIndex("AIC_Kits_Dropdown"),maxHeight:x.maxHeight,overflowY:"auto",transition:`opacity ${v.duration}ms ${v.easing},max-height ${v.duration}ms ${v.easing}`,onClick:R=>R.stopPropagation(),onMouseDown:R=>R.stopPropagation(),style:{borderRadius:f},children:i.length>0?i.map(R=>{const k=R.value===a,T=!!R.disabled;return m.jsx(x1,{option:R,isSelected:k,isDisabled:T,onSelect:s,sizeConfig:_,themeSelect:p,animation:v},R.value)}):m.jsx(L,{p:_.dropdownPaddingVertical,px:_.dropdownPaddingHorizontal,children:m.jsx(Xe,{fontSize:_.fontSize,color:x.emptyTextColor,as:"span",children:"No options available"})})})}const Ww=({fontSize:e,color:n,...i})=>{const s=be(),a={border:"none",backgroundColor:"transparent",outline:"none",width:"100%",fontFamily:"inherit",padding:0,fontSize:s.__hd__.text.fontSizes[e],color:s.colors[n]};return m.jsx("input",{style:a,...i})},v1=({placeholder:e,selectedOptionLabel:n,isOpen:i,isDisabled:s,handleToggle:a,iconSizePx:l,inputBorderRadius:d,sizeConfig:f,animation:h,currentBgColor:p,currentBorderColor:x,baseBorderWidthKey:w,insetBoxShadow:_,textColor:v,iconColor:C,testId:R,setIsHovering:k,searchable:T,searchTerm:E,onSearchChange:I})=>{const $=i&&T;return m.jsx(kt,{onClick:a,cursor:s?"not-allowed":"pointer",useScaleAnimation:!1,useOpacityAnimation:!1,"data-testid":R,onMouseEnter:()=>k(!0),onMouseLeave:()=>k(!1),children:m.jsxs(L,{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",p:f.paddingVertical,px:f.paddingHorizontal,b:w,borderColor:x,bgColor:p,opacity:1,transition:`background-color ${h.duration}ms ${h.easing}, border-color ${h.duration}ms ${h.easing}, box-shadow ${h.duration}ms ${h.easing}`,gap:f.gap,style:{borderRadius:d,boxShadow:_},children:[m.jsx(L,{flex:1,overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis",children:$?m.jsx(Ww,{value:E,onChange:M=>I(M.target.value),placeholder:e,onClick:M=>M.stopPropagation(),autoFocus:!0,fontSize:f.fontSize,color:v}):m.jsx(Xe,{fontSize:f.fontSize,color:v,as:"span",children:n||e})}),m.jsx(gt,{type:"icon",art:wl,size:l,color:C,weight:"bold",transition:`transform ${h.duration}ms ${h.easing}`,transform:i?"rotate(180deg)":"rotate(0deg)"})]})})};function w1({theme:e,themeSelect:n,variant:i,isDisabled:s,isErrored:a,isOpen:l,isHovering:d,focusColor:f}){const h=n.variants[i],p="thin",x=e.borderWidths[p];let w;s?w=h.disabled:a?w=h.errored:l?w={...h.focused,borderColor:f}:d?w=h.hover:w=h.default;let _="none";if(!s&&!a&&l){const v=h.focused.borderWidth,C=e.borderWidths[v],R=Math.max(0,C-x);if(R>0){const k=e.colors[f];_=`inset 0 0 0 ${R}px ${k}`}}return{backgroundColor:w.backgroundColor,borderColor:w.borderColor,borderWidth:p,insetBoxShadow:_}}const Bw=({options:e,value:n,onChange:i,placeholder:s="Select an option",label:a,helperText:l,error:d,disabled:f=!1,variant:h="outlined",color:p,size:x,corner:w,style:_,"data-testid":v,searchable:C=!1})=>{var ke;const R=be(),k=R.__hd__.select,[T,E]=c.useState(""),{isOpen:I,isHovering:$,selectedValue:M,selectRef:z,handleToggle:j,handleSelect:H,handleClose:oe,setIsHovering:te}=b1({value:n,onChange:i,disabled:f});c.useEffect(()=>{I&&E("")},[I]);const re=c.useMemo(()=>T?e.filter(ee=>ee.label.toLowerCase().includes(T.toLowerCase())):e,[e,T]),B=p??k.defaultColor,W=x??k.defaultSize,P=w??k.defaultCorner,le=k.sizes[W],K=k.animation,ne=k.squircleBorderRadii[P],ie=P==="circle"?k.dropdown.borderRadiusForCircle:k.dropdown.borderRadiusForRounded,we=R.radii[ie],pe=!!d,Se=f,{backgroundColor:$e,borderColor:de,borderWidth:De,insetBoxShadow:Ze}=w1({theme:R,themeSelect:k,variant:h,isDisabled:Se,isErrored:pe,isOpen:I,isHovering:$,focusColor:B}),Ee=Se?k.disabledContentColor:k.iconColor,st=Se?k.disabledContentColor:M!=null?k.valueColor:k.placeholderColor,ye=Se?k.disabledLabelColor:k.labelColor,Te=(ke=e.find(ee=>ee.value===M))==null?void 0:ke.label,Fe=xt(R,le.iconSize);return m.jsxs(L,{fw:!0,style:_,position:"relative",ref:z,children:[a&&m.jsx(L,{mb:"xs",children:m.jsx(Xe,{fontWeight:"medium",color:ye,children:a})}),m.jsx(v1,{placeholder:s,selectedOptionLabel:Te,isOpen:I,isDisabled:Se,handleToggle:j,iconSizePx:Fe,inputBorderRadius:ne,sizeConfig:le,animation:K,currentBgColor:$e,currentBorderColor:de,baseBorderWidthKey:De,insetBoxShadow:Ze,textColor:st,iconColor:Ee,testId:v,setIsHovering:te,searchable:C,searchTerm:T,onSearchChange:E}),(d||l)&&m.jsx(L,{children:m.jsx(Xe,{fontSize:"xs",color:d?k.errorColor:k.helperTextColor,as:"span",children:d||l})}),m.jsx(Pw,{anchorRef:z,isOpen:I,options:re,onSelect:H,selectedValue:M,onClose:oe,size:W,borderRadius:`${we}px`})]})},gf=c.createContext({columns:12}),Wo={xs:0,sm:600,md:900,lg:1200,xl:1536},mf=(e,n)=>Ne.isNumber(n)?`${n}px`:Hf(n)?`${e.spaces[n]??0}px`:n,Nr=(e,n)=>{if(n!==void 0)if(Ne.isObject(n)){const i={};for(const s in n){const a=s,l=n[a];l!==void 0&&(i[a]=mf(e,l))}return i}else return mf(e,n)},Hw=(e,n)=>{if(e<1||e>n)return console.warn(`AIC-Kits Grid: Size prop should be between 1 and ${n}. Received ${e}.`),"auto";const i=e/n,s=1-i,a=(i*100).toFixed(6).replace(/\.0+$/,""),l=s.toFixed(6).replace(/\.0+$/,"");return`calc(${a}% - ${l} * var(--grid-column-gap, 0px))`},Zw=(e,n)=>{if(e<1||e>n-1)return console.warn(`AIC-Kits Grid: Offset prop should be between 1 and ${n-1}. Received ${e}.`),"0";const i=e/n,s=-i,a=(i*100).toFixed(6).replace(/\.0+$/,""),l=s.toFixed(6).replace(/\.0+$/,"");return`calc(${a}% - ${l} * var(--grid-column-gap, 0px))`},Vw=({sizeValue:e,offsetValue:n,currentTotalColumns:i})=>{let s="";if(e==="auto")s+=`
|
|
319
321
|
flex-basis: auto;
|
|
320
322
|
flex-grow: 0;
|
|
321
323
|
flex-shrink: 0; /* Prevent shrinking below content size */
|
|
322
324
|
max-width: none; /* Allow content to define width */
|
|
323
325
|
width: auto; /* Explicit width auto */
|
|
324
|
-
`;else if(
|
|
326
|
+
`;else if(e==="grow")s+=`
|
|
325
327
|
flex-basis: 0; /* Basis 0 allows grow */
|
|
326
328
|
flex-grow: 1;
|
|
327
329
|
max-width: 100%; /* Can grow up to 100% */
|
|
328
330
|
width: auto; /* Let flexbox handle width */
|
|
329
|
-
`;else if(typeof
|
|
330
|
-
flex-basis: ${
|
|
331
|
+
`;else if(typeof e=="number"){const a=Hw(e,i);s+=`
|
|
332
|
+
flex-basis: ${a};
|
|
331
333
|
flex-grow: 0;
|
|
332
334
|
flex-shrink: 0; /* Prevent shrinking when space is tight */
|
|
333
|
-
`}return
|
|
334
|
-
`:
|
|
335
|
-
`}}}return
|
|
335
|
+
`}return n==="auto"?s+="margin-left: auto;":typeof n=="number"?s+=`margin-left: ${Zw(n,i)};`:s+="margin-left: 0;",s},Nw=({size:e,offset:n,columnsContext:i})=>{let s="";const a=typeof i=="object"?i:{xs:i},l=typeof e=="object"?e:{xs:e},d=typeof n=="object"?n:{xs:n},f=Array.from(new Set([...Object.keys(Wo),...Ne.isObject(l)?Object.keys(l):[],...Ne.isObject(d)?Object.keys(d):[],...Ne.isObject(a)?Object.keys(a):[]]));f.sort((p,x)=>Wo[p]-Wo[x]);let h=typeof(a==null?void 0:a.xs)=="number"?a.xs:12;for(const p of f){a[p]!==void 0&&(h=a[p]);const x=l[p],w=d[p];if(x!==void 0||w!==void 0||p==="xs"||a[p]!==void 0){const _=Vw({sizeValue:x??l.xs,offsetValue:w??d.xs,currentTotalColumns:h});if(_){const v=p==="xs"?"":`@media (min-width: ${Wo[p]}px)`;v?s+=`${v} { ${_} }
|
|
336
|
+
`:s+=_+`
|
|
337
|
+
`}}}return er.css`${s}`},Uw=ue(L)`
|
|
336
338
|
box-sizing: border-box;
|
|
337
339
|
margin: 0; // Reset margin by default
|
|
338
340
|
|
|
339
341
|
// --- Container Styles ---
|
|
340
|
-
${({container:
|
|
342
|
+
${({container:e,theme:n,spacing:i,rowSpacing:s,columnSpacing:a,columns:l})=>e&<`
|
|
341
343
|
display: flex;
|
|
342
344
|
flex-wrap: wrap;
|
|
343
345
|
width: 100%; // Default container width
|
|
344
346
|
|
|
345
347
|
// Apply spacing using gap properties (more modern)
|
|
346
348
|
// Use helper to resolve responsive values
|
|
347
|
-
${i&&
|
|
348
|
-
${
|
|
349
|
-
row-gap: ${
|
|
350
|
-
--grid-row-gap: ${
|
|
349
|
+
${i&<`gap: ${Nr(n,i)};`}
|
|
350
|
+
${s&<`
|
|
351
|
+
row-gap: ${Nr(n,s)};
|
|
352
|
+
--grid-row-gap: ${Nr(n,s)};
|
|
351
353
|
`}
|
|
352
|
-
${
|
|
353
|
-
column-gap: ${
|
|
354
|
+
${a&<`
|
|
355
|
+
column-gap: ${Nr(n,a)};
|
|
354
356
|
/* Expose for child items so they can calc width incl. gap */
|
|
355
|
-
--grid-column-gap: ${
|
|
357
|
+
--grid-column-gap: ${Nr(n,a)};
|
|
356
358
|
`}
|
|
357
359
|
|
|
358
360
|
/* Fallback when only spacing is provided (uniform gap) */
|
|
359
|
-
${i&&!
|
|
360
|
-
--grid-column-gap: ${
|
|
361
|
+
${i&&!a&<`
|
|
362
|
+
--grid-column-gap: ${Nr(n,i)};
|
|
361
363
|
`}
|
|
362
364
|
|
|
363
365
|
// Note: Fallback for browsers without gap support (e.g., negative margins)
|
|
@@ -365,43 +367,43 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
365
367
|
// Consider a polyfill or different approach if needed.
|
|
366
368
|
|
|
367
369
|
// Apply custom column count styling if needed (e.g., for debugging)
|
|
368
|
-
// ${
|
|
370
|
+
// ${l&&typeof l=="number"&<`/* Custom columns: ${l} */`}
|
|
369
371
|
`}
|
|
370
372
|
|
|
371
373
|
// --- Item Styles ---
|
|
372
|
-
${({container:
|
|
374
|
+
${({container:e,size:n,offset:i,theme:s,columnsContext:a})=>!e&&(n!==void 0||i!==void 0)&<`
|
|
373
375
|
/* Reset margin potentially added by parent container's negative margin fallback */
|
|
374
376
|
/* margin: 0; */
|
|
375
|
-
${
|
|
377
|
+
${Nw({size:n,offset:i,columnsContext:a})}
|
|
376
378
|
`}
|
|
377
|
-
`,
|
|
378
|
-
border-radius: ${({theme:
|
|
379
|
-
width: ${({theme:
|
|
380
|
-
height: ${({theme:
|
|
379
|
+
`,_1=c.forwardRef(({container:e=!1,spacing:n,rowSpacing:i,columnSpacing:s,columns:a=12,size:l,offset:d,children:f,...h},p)=>{const x=c.useContext(gf),w=a!==void 0?a:x.columns;return m.jsx(gf.Provider,{value:{columns:w},children:m.jsx(Uw,{ref:p,container:e,spacing:e?n:void 0,rowSpacing:e?i:void 0,columnSpacing:e?s:void 0,size:l,offset:d,columns:a,columnsContext:w,...h,children:f})})});_1.displayName="Grid";const is=ue(kt)`
|
|
380
|
+
border-radius: ${({theme:e,$borderRadius:n})=>e.radii[n]}px;
|
|
381
|
+
width: ${({theme:e,$size:n})=>e.sizes[n]}px;
|
|
382
|
+
height: ${({theme:e,$size:n})=>e.sizes[n]}px;
|
|
381
383
|
display: flex;
|
|
382
384
|
align-items: center;
|
|
383
385
|
justify-content: center;
|
|
384
|
-
background-color: ${({theme:
|
|
386
|
+
background-color: ${({theme:e,$color:n,$selected:i})=>i?e.colors[n]:e.colors.white};
|
|
385
387
|
&:hover {
|
|
386
|
-
background-color: ${({theme:
|
|
388
|
+
background-color: ${({theme:e,$color:n,$selected:i})=>i?void 0:e.colors[n]};
|
|
387
389
|
}
|
|
388
390
|
transition: background-color 0.2s ease-in-out, transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
|
|
389
|
-
`,yf=
|
|
390
|
-
color: ${({theme:
|
|
391
|
-
font-size: ${({theme:
|
|
392
|
-
${
|
|
393
|
-
color: ${({theme:
|
|
391
|
+
`,yf=ue(Xe)`
|
|
392
|
+
color: ${({theme:e,$selected:n,$defaultColor:i})=>n?e.colors.white:e.colors[i]};
|
|
393
|
+
font-size: ${({theme:e,$fontSize:n})=>e.__hd__.text.fontSizes[n]}px;
|
|
394
|
+
${is}:hover & {
|
|
395
|
+
color: ${({theme:e,$selected:n})=>n?void 0:e.colors.white};
|
|
394
396
|
}
|
|
395
397
|
transition: color 0.2s ease-in-out, transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
|
|
396
|
-
`,
|
|
397
|
-
color: ${({theme:
|
|
398
|
-
${
|
|
399
|
-
color: ${({theme:
|
|
398
|
+
`,Gw=ue(gt)`
|
|
399
|
+
color: ${({theme:e,$color:n,$selected:i})=>i?e.colors.white:e.colors[n]};
|
|
400
|
+
${is}:hover & {
|
|
401
|
+
color: ${({theme:e,$color:n,$selected:i})=>i?e.colors[n]:e.colors.white};
|
|
400
402
|
}
|
|
401
403
|
transition: color 0.2s ease-in-out, transform 0.2s ease-in-out, opacity 0.2s ease-in-out;
|
|
402
|
-
width: ${({theme:
|
|
403
|
-
height: ${({theme:
|
|
404
|
-
`,
|
|
404
|
+
width: ${({theme:e,$size:n})=>e.sizes[n]}px;
|
|
405
|
+
height: ${({theme:e,$size:n})=>e.sizes[n]}px;
|
|
406
|
+
`,C1=({type:e="page",page:n,currentPage:i,selected:s=!1,disabled:a=!1,onClick:l,shape:d="circular",size:f="medium",color:h="primary",count:p})=>{const _=be().__hd__.pagination.item,v=_.sizes[f],C=_.shapes[d],R=T=>{if(console.log("type",e,"page",n,"currentPage",i,"count",p),a){T.stopPropagation();return}e==="first"&&(l==null||l(p&&p>=1?1:null,T)),e==="last"&&(l==null||l(p&&p>=1?p:null,T)),e==="previous"&&(l==null||l(i>=2?i-1:null,T)),e==="next"&&(l==null||l(i<=p-1?i+1:null,T)),e==="page"&&(l==null||l(n??null,T))},k=c.useMemo(()=>{switch(e){case"previous":return cs;case"next":return ei;case"first":return j0;case"last":return D0;default:return null}},[e]);return e==="page"?m.jsx(is,{onClick:s?void 0:R,useScaleAnimation:!s,useOpacityAnimation:!s,$borderRadius:C.container.borderRadius,$size:v.container.size,$selected:s,$color:h,children:m.jsx(yf,{color:a?_.text.disabledColor:_.text.color,$defaultColor:_.defaultColor,$fontSize:v.text.fontSize,$selected:s,$color:h,children:String(n)})}):e==="end-ellipsis"||e==="start-ellipsis"?m.jsx(yf,{color:a?_.text.disabledColor:_.text.color,$defaultColor:_.defaultColor,$fontSize:v.text.fontSize,$selected:s,$color:h,children:"..."}):m.jsx(is,{onClick:R,$borderRadius:C.container.borderRadius,$size:v.container.size,$selected:s,$color:h,children:k&&m.jsx(Gw,{type:"icon",art:k,$color:h,$selected:s,$size:v.icon.size,weight:v.icon.weight})})},qw=({count:e,page:n,boundaryCount:i=1,siblingCount:s=1,showFirstButton:a=!1,showLastButton:l=!1,showPrevNextButtons:d=!0})=>{const f=(k,T)=>{const E=T-k+1;return Array.from({length:E},(I,$)=>k+$)},h=f(1,Math.min(i,e)),p=f(Math.max(e-i+1,i+1),e),x=Math.max(Math.min(n-s,e-i-s*2-1),i+2),w=Math.min(Math.max(n+s,i+s*2+2),p.length>0?p[0]-2:e-1),_=[];a&&_.push("first"),d&&_.push("previous"),_.push(...h);const v=h.length>0?h[h.length-1]:0;x===v+2?_.push(v+1):x>v+2&&_.push("start-ellipsis"),x<=w&&_.push(...f(x,w));const C=p.length>0?p[0]:e+1;return w===C-2?_.push(C-1):w<C-2&&_.push("end-ellipsis"),_.push(...p),d&&_.push("next"),l&&_.push("last"),{items:_.filter((k,T,E)=>typeof k=="number"?k>=1&&k<=e&&E.indexOf(k)===T:E.indexOf(k)===T).map(k=>{let T,E;return typeof k=="number"?(T="page",E=k):T=k,{type:T,page:E,selected:E===n,disabled:(T==="previous"||T==="first")&&n<=1||(T==="next"||T==="last")&&n>=e}})}},Kw=({count:e=1,page:n=1,onChange:i,boundaryCount:s=1,siblingCount:a=1,showFirstButton:l=!1,showLastButton:d=!1,showPrevNextButtons:f=!0,shape:h="circular",size:p="medium",color:x="primary"})=>{const _=be().__hd__.pagination,{items:v}=qw({count:e,page:n,boundaryCount:s,siblingCount:a,showFirstButton:l,showLastButton:d,showPrevNextButtons:f}),C=c.useCallback((R,k)=>{i&&R!==null&&i(R,k)},[i]);return m.jsx(L,{display:"flex",flexDirection:"row",alignItems:"center",gap:_.container.sizes[p].gap,children:v.map((R,k)=>m.jsx(C1,{count:e,type:R.type,page:R.page,currentPage:n,selected:R.selected,disabled:R.disabled,onClick:C,shape:h,size:p,color:x},`${R.type}-${R.page||k}`))})},Yw=Sn`
|
|
405
407
|
0% {
|
|
406
408
|
left: 0%;
|
|
407
409
|
width: 0%;
|
|
@@ -417,106 +419,106 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
417
419
|
width: 0%; /* Smallest at the right end */
|
|
418
420
|
transform: translateX(0%); /* Ensure it exits cleanly if it was translateX(100%) it would go off screen too fast */
|
|
419
421
|
}
|
|
420
|
-
`,
|
|
422
|
+
`,Xw=ue(L)`
|
|
421
423
|
position: relative;
|
|
422
424
|
overflow: hidden;
|
|
423
|
-
height: ${({theme:
|
|
424
|
-
background-color: ${({theme:
|
|
425
|
-
border-radius: ${({theme:
|
|
426
|
-
border-width: ${({theme:
|
|
427
|
-
border-style: ${({$borderWidthKey:
|
|
428
|
-
border-color: ${({theme:
|
|
429
|
-
`,
|
|
425
|
+
height: ${({theme:e,$heightKey:n})=>e.sizes[n]}px;
|
|
426
|
+
background-color: ${({theme:e,$backgroundColorKey:n})=>e.colors[n]||n};
|
|
427
|
+
border-radius: ${({theme:e,$borderRadiusKey:n})=>e.radii[n]}px;
|
|
428
|
+
border-width: ${({theme:e,$borderWidthKey:n})=>n?e.borderWidths[n]:0}px;
|
|
429
|
+
border-style: ${({$borderWidthKey:e})=>e?"solid":"none"};
|
|
430
|
+
border-color: ${({theme:e,$borderColorKey:n})=>n?e.colors[n]||n:"transparent"};
|
|
431
|
+
`,Qw=ue(L)`
|
|
430
432
|
width: 100%;
|
|
431
433
|
height: 100%;
|
|
432
434
|
position: relative; /* For absolute positioning of the indicator */
|
|
433
|
-
`,
|
|
435
|
+
`,Jw=ue(L)`
|
|
434
436
|
position: absolute;
|
|
435
437
|
top: 0;
|
|
436
438
|
bottom: 0;
|
|
437
439
|
/* Removed left: 0; as animation will control it for indeterminate */
|
|
438
440
|
height: 100%;
|
|
439
|
-
background-color: ${({theme:
|
|
440
|
-
border-radius: ${({theme:
|
|
441
|
+
background-color: ${({theme:e,$progressColorKey:n})=>e.colors[n]};
|
|
442
|
+
border-radius: ${({theme:e,$borderRadiusKey:n})=>e.radii[n]}px;
|
|
441
443
|
|
|
442
|
-
${({$progressValue:
|
|
443
|
-
width: ${
|
|
444
|
+
${({$progressValue:e})=>e!==void 0?lt`
|
|
445
|
+
width: ${e}%;
|
|
444
446
|
left: 0; // Explicitly set left for determinate state
|
|
445
447
|
transition: width 0.3s ease-in-out;
|
|
446
|
-
`:
|
|
448
|
+
`:lt`
|
|
447
449
|
/* Indeterminate: animation controls width and position */
|
|
448
|
-
animation: ${
|
|
450
|
+
animation: ${Yw} 2s infinite linear alternate;
|
|
449
451
|
`}
|
|
450
|
-
`,
|
|
452
|
+
`,e3=({value:e,color:n,size:i,variant:s,testID:a="progress",...l})=>{const f=be().__hd__.progress,h=s||f.defaultVariant,p=i||f.defaultSize,{height:x,borderRadius:w}=f.sizes[p],{containerBackgroundColor:_,containerBorderColor:v,containerBorderWidth:C,defaultProgressColor:R}=f.variants[h],k=n||R;let T=v;h==="outlined"&&(T=k);const E=e!==void 0?Math.max(0,Math.min(e,100)):void 0;return m.jsx(Xw,{$heightKey:x,$borderRadiusKey:w,$backgroundColorKey:_,$borderColorKey:T,$borderWidthKey:C,"data-testid":`${a}-container`,...l,children:m.jsx(Qw,{"data-testid":`${a}-bar`,children:m.jsx(Jw,{$progressColorKey:k,$progressValue:E,$borderRadiusKey:w,"data-testid":`${a}-indicator`})})})},t3=ue(L)`
|
|
451
453
|
position: fixed;
|
|
452
454
|
top: 0;
|
|
453
455
|
left: 0;
|
|
454
456
|
right: 0;
|
|
455
457
|
bottom: 0;
|
|
456
458
|
background-color: rgba(0, 0, 0, 0.5); // Semi-transparent black
|
|
457
|
-
z-index: ${
|
|
459
|
+
z-index: ${e=>e.zIndex};
|
|
458
460
|
display: flex;
|
|
459
461
|
align-items: center;
|
|
460
462
|
justify-content: center;
|
|
461
|
-
`;let
|
|
463
|
+
`;let Bo=0,bf;const n3=({open:e,onClose:n,children:i,"data-testid":s,...a})=>{const l=be();if(c.useEffect(()=>{if(!(typeof document>"u"))return e&&(Bo===0&&(bf=document.body.style.overflow,document.body.style.overflow="hidden"),Bo++),()=>{e&&(Bo--,Bo===0&&(document.body.style.overflow=bf))}},[e]),!e)return null;const d=f=>{f.target===f.currentTarget&&(n==null||n())};return m.jsx(t3,{zIndex:l.zIndex.getZIndex("AIC_Kits_Modal"),onClick:d,"data-testid":s?`${s}-backdrop`:void 0,children:m.jsx(L,{maxHeight:"100vh",overflowY:"auto",...a,"data-testid":s?`${s}-container`:void 0,children:i})})},r3=({children:e,description:n,placement:i,backgroundColor:s,color:a})=>{const l=be(),d=l.__hd__.tooltip,f=i??d.defaultPlacement,h=s??d.defaultBackgroundColor,p=a??d.defaultTextColor,x=c.useRef(null),w=ds(x),_=d.positioning.placements[f];return m.jsxs(L,{display:"inline-block",position:"relative",ref:x,children:[e,w&&m.jsx(L,{position:"absolute",bgColor:h,p:d.container.padding,r:d.container.borderRadius,boxShadow:d.container.shadow,zIndex:l.zIndex.getZIndex("AIC_Kits_Tooltip"),width:"max-content",maxWidth:d.container.maxWidth,..._,children:m.jsx(Xe,{color:p,fontSize:d.text.fontSize,children:n})})]})},i3=Sn`
|
|
462
464
|
from {
|
|
463
465
|
opacity: 0;
|
|
464
466
|
}
|
|
465
467
|
to {
|
|
466
468
|
opacity: 1;
|
|
467
469
|
}
|
|
468
|
-
`,
|
|
470
|
+
`,o3=ue(L)`
|
|
469
471
|
position: relative;
|
|
470
472
|
display: block;
|
|
471
|
-
${({$width:
|
|
472
|
-
`,
|
|
473
|
+
${({$width:e,$minWidth:n,$maxWidth:i})=>{const s=e&&typeof e=="object";if(s||n&&typeof n=="object"||i&&typeof i=="object"){const h={};return typeof e=="string"?h.width=e:typeof e=="number"?(h.width="100%",i===void 0&&(h.maxWidth=`${e}px`)):s&&(h.width="100%",i===void 0&&(h.maxWidth=e)),typeof n=="number"?h.minWidth=`${n}px`:(typeof n=="string"||n)&&(h.minWidth=n),i!==void 0&&(typeof i=="string"?i==="auto"?h.maxWidth="none":h.maxWidth=i:typeof i=="number"?h.maxWidth=`${i}px`:h.maxWidth=i),Jr(h)}const f={};return typeof e=="string"?e==="auto"||e==="100%"||/^\d+(\.\d+)?(px|%|em|rem|vw|vh)$/.test(e)?f.width=e:f.width="100%":typeof e=="number"&&(f.width="100%",i===void 0&&(f.maxWidth=`${e}px`)),n!==void 0&&(typeof n=="number"?f.minWidth=`${n}px`:typeof n=="string"&&(f.minWidth=n)),i!==void 0&&(typeof i=="string"?i==="auto"?f.maxWidth="none":f.maxWidth=i:typeof i=="number"&&(f.maxWidth=`${i}px`)),lt(f)}}
|
|
474
|
+
`,s3=ue.svg`
|
|
473
475
|
display: block;
|
|
474
476
|
flex-shrink: 0;
|
|
475
|
-
width: ${({$width:
|
|
476
|
-
height: ${({$height:
|
|
477
|
-
`;
|
|
478
|
-
fill: ${({theme:
|
|
479
|
-
animation: ${
|
|
477
|
+
width: ${({$width:e})=>e===void 0?"100%":typeof e=="number"?`${e}px`:e};
|
|
478
|
+
height: ${({$height:e})=>e?`${e}px`:"auto"};
|
|
479
|
+
`;ue.rect`
|
|
480
|
+
fill: ${({theme:e,$colorKey:n})=>e.colors[n]};
|
|
481
|
+
animation: ${i3} ${({$animationDuration:e})=>e}ms ease-out;
|
|
480
482
|
transition: opacity 0.3s ease;
|
|
481
483
|
cursor: pointer;
|
|
482
484
|
|
|
483
485
|
&:hover {
|
|
484
486
|
opacity: 0.8;
|
|
485
487
|
}
|
|
486
|
-
`;const xf=
|
|
487
|
-
stroke: ${({theme:
|
|
488
|
+
`;const xf=ue.line`
|
|
489
|
+
stroke: ${({theme:e,$colorKey:n})=>e.colors[n]||n};
|
|
488
490
|
stroke-width: 1;
|
|
489
491
|
shape-rendering: crispEdges;
|
|
490
|
-
`,
|
|
491
|
-
fill: ${({theme:
|
|
492
|
+
`,Ho=ue.text`
|
|
493
|
+
fill: ${({theme:e,$colorKey:n})=>e.colors[n]||n};
|
|
492
494
|
font-size: 12px;
|
|
493
|
-
font-family: ${({theme:
|
|
494
|
-
`,
|
|
495
|
-
stroke: ${({theme:
|
|
495
|
+
font-family: ${({theme:e})=>e.fonts.neutral};
|
|
496
|
+
`,a3=ue.line`
|
|
497
|
+
stroke: ${({theme:e,$colorKey:n})=>e.colors[n]||n};
|
|
496
498
|
stroke-width: 1;
|
|
497
499
|
stroke-dasharray: 2, 2;
|
|
498
500
|
opacity: 0.3;
|
|
499
|
-
`,
|
|
501
|
+
`,l3=ue.div`
|
|
500
502
|
position: absolute;
|
|
501
|
-
left: ${({$left:
|
|
502
|
-
top: ${({$top:
|
|
503
|
+
left: ${({$left:e})=>e}px;
|
|
504
|
+
top: ${({$top:e})=>e}px;
|
|
503
505
|
transform: translate(-50%, -100%);
|
|
504
|
-
background-color: ${({theme:
|
|
505
|
-
color: ${({theme:
|
|
506
|
+
background-color: ${({theme:e})=>e.colors.grey800||"#333"};
|
|
507
|
+
color: ${({theme:e})=>e.colors.white||"#fff"};
|
|
506
508
|
padding: 8px 12px;
|
|
507
509
|
border-radius: 6px;
|
|
508
510
|
font-size: 12px;
|
|
509
|
-
font-family: ${({theme:
|
|
511
|
+
font-family: ${({theme:e})=>e.fonts.neutral||"sans-serif"};
|
|
510
512
|
white-space: nowrap;
|
|
511
513
|
pointer-events: none;
|
|
512
514
|
z-index: 1000;
|
|
513
515
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
|
514
|
-
`,
|
|
516
|
+
`,c3=ue.div`
|
|
515
517
|
font-weight: 600;
|
|
516
518
|
margin-bottom: 4px;
|
|
517
|
-
`,
|
|
519
|
+
`,u3=ue.div`
|
|
518
520
|
font-weight: 400;
|
|
519
|
-
`,
|
|
521
|
+
`,d3=({data:e,width:n=400,minWidth:i=200,maxWidth:s,height:a=300,chartMargin:l,color:d,size:f,variant:h,showGrid:p=!0,showXAxis:x=!0,showYAxis:w=!0,orientation:_="vertical",showTooltip:v=!0,testID:C="bar-chart",...R})=>{var ke,ee,he;const k=be(),T=(ke=k.__hd__)==null?void 0:ke.barChart,E=c.useRef(null),[I,$]=c.useState(()=>{if(typeof n=="number")return n;if(typeof n=="string"){const N=n.match(/^(\d+(?:\.\d+)?)px$/);if(N)return parseFloat(N[1])}return 400}),[M,z]=c.useState(40),[j,H]=c.useState(null),[oe,te]=c.useState(null),re=h||(T==null?void 0:T.defaultVariant)||"default",B=f||(T==null?void 0:T.defaultSize)||"md";c.useEffect(()=>{if(!w||_!=="vertical"||(l==null?void 0:l.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 se=document.createElementNS("http://www.w3.org/2000/svg","text");se.style.fontSize="12px",se.style.fontFamily=k.fonts.neutral||"sans-serif",N.appendChild(se);const ge=e.map(tt=>tt.value),Ae=ge.length>0?Math.max(...ge):100,Be=5;let Oe=0;for(let tt=0;tt<Be;tt++){const nt=Ae/(Be-1)*tt;se.textContent=Math.round(nt).toString();const it=se.getBBox();Oe=Math.max(Oe,it.width)}document.body.removeChild(N),z(Math.ceil(Oe)+15)},[e,k.fonts.neutral,w,_,l==null?void 0:l.left]),c.useEffect(()=>{if(!w||_!=="horizontal"||(l==null?void 0:l.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 se=document.createElementNS("http://www.w3.org/2000/svg","text");se.style.fontSize="12px",se.style.fontFamily=k.fonts.neutral||"sans-serif",N.appendChild(se);let ge=0;e.forEach(Ae=>{se.textContent=Ae.label;const Be=se.getBBox();ge=Math.max(ge,Be.width)}),document.body.removeChild(N),z(Math.ceil(ge)+15)},[e,k.fonts.neutral,w,_,l==null?void 0:l.left]);const W={top:(l==null?void 0:l.top)??20,right:(l==null?void 0:l.right)??20,bottom:(l==null?void 0:l.bottom)??40,left:(l==null?void 0:l.left)??M};br(()=>{const N=E.current;if(!N)return;const se=()=>{if(typeof n=="number"){$(n);return}if(typeof n=="string"&&/^\d+(?:\.\d+)?px$/.test(n)){const Be=n.match(/^(\d+(?:\.\d+)?)px$/);if(Be){$(parseFloat(Be[1]));return}}const Ae=N.clientWidth;Ae>0&&$(Ae)};se();let ge;return typeof ResizeObserver<"u"?(ge=new ResizeObserver(se),ge.observe(N)):window.addEventListener("resize",se),()=>{ge?ge.disconnect():window.removeEventListener("resize",se)}},[n,i,s]);const P=(()=>{if(typeof a=="number")return a;if(typeof a=="string"){const N=a.match(/^(\d+(?:\.\d+)?)px$/);if(N)return parseFloat(N[1])}return 300})(),{barRadius:le=4,axisColor:K="grey600",gridColor:ne="grey200",labelColor:ie="grey600"}=((ee=T==null?void 0:T.sizes)==null?void 0:ee[B])||{},{defaultBarColor:we="primary"}=((he=T==null?void 0:T.variants)==null?void 0:he[re])||{},pe=d||we,Se=Math.max(0,I-W.left-W.right),$e=Math.max(0,P-W.top-W.bottom),de=e.map(N=>N.value),De=de.length>0?Math.max(...de):100,Ze=.6,Ee=_==="vertical"?Se/Math.max(e.length,1):$e/Math.max(e.length,1),st=Math.max(Ee*Ze,1),ye=N=>{const se=De||100,ge=N||0;return _==="vertical"?ge/se*$e:ge/se*Se},Te=c.useMemo(()=>Array.from({length:5},(se,ge)=>{const Ae=De/4*ge,Be=De||100,Oe=Ae||0,tt=_==="vertical"?$e-Oe/Be*$e:Oe/Be*Se;return{value:Ae,position:tt}}),[De,$e,Se,_]),Fe=(N,se)=>{const Ae=Math.floor(se/7);if(N.length<=Ae)return N;const Be=Math.max(1,Ae-3);return N.substring(0,Be)+"..."};return m.jsxs(o3,{ref:E,"data-testid":`${C}-container`,$width:n,$minWidth:i,$maxWidth:s,...R,children:[m.jsxs(s3,{$width:I,$height:P,viewBox:`0 0 ${I} ${P}`,role:"img","aria-label":"Bar chart","data-testid":`${C}-svg`,children:[m.jsx("title",{children:"Bar chart"}),m.jsxs("g",{transform:`translate(${W.left}, ${W.top})`,children:[p&&Te.map((N,se)=>m.jsx(a3,{$colorKey:ne,x1:_==="vertical"?0:N.position,y1:_==="vertical"?N.position:0,x2:_==="vertical"?Se:N.position,y2:_==="vertical"?N.position:$e,"data-testid":`${C}-grid-line-${se}`},se)),e.map((N,se)=>{const ge=ye(N.value);let Ae,Be,Oe,tt;if(_==="vertical")Ae=se*Ee+(Ee-st)/2,Be=$e-ge,Oe=st,tt=ge;else{const Ue=se*Ee;Ae=0,Be=Ue+(Ee-st)/2,Oe=ge,tt=st}const nt=2,it=Math.max(Oe,nt),ae=Math.max(tt,nt),Ge=N.color||pe,Pe=k.colors[Ge]||Ge||"#6949FF";return m.jsx("rect",{x:Ae,y:Be,width:it,height:ae,fill:Pe,rx:Math.min(le,ae/2,it/2),ry:Math.min(le,ae/2,it/2),opacity:j===se?1:.9,cursor:"pointer",onMouseEnter:Ue=>{var Qe;if(H(se),v){const ct=Ue.currentTarget.getBoundingClientRect(),cn=(Qe=E.current)==null?void 0:Qe.getBoundingClientRect();cn&&te({x:ct.left-cn.left+ct.width/2,y:ct.top-cn.top})}Ue.currentTarget.style.filter="brightness(1.1)"},onMouseLeave:Ue=>{H(null),te(null),Ue.currentTarget.style.filter="brightness(1)"},"data-testid":`${C}-bar-${se}`},se)}),x&&m.jsxs(m.Fragment,{children:[m.jsx(xf,{$colorKey:K,x1:0,y1:$e,x2:Se,y2:$e,"data-testid":`${C}-x-axis`}),_==="vertical"&&e.map((N,se)=>{const ge=se*Ee+Ee/2,Ae=$e+20,Be=Ee*.9,Oe=Fe(N.label,Be);return m.jsxs(Ho,{x:ge,y:Ae,$colorKey:ie,textAnchor:"middle","data-testid":`${C}-x-label-${se}`,children:[N.label!==Oe&&m.jsx("title",{children:N.label}),Oe]},se)}),_==="horizontal"&&Te.map((N,se)=>m.jsxs("g",{children:[m.jsx("line",{x1:N.position,y1:$e,x2:N.position,y2:$e+5,stroke:k.colors[K]||K,strokeWidth:1}),m.jsx(Ho,{x:N.position,y:$e+20,$colorKey:ie,textAnchor:"middle","data-testid":`${C}-x-value-${se}`,children:Math.round(N.value)})]},`x-tick-${se}`))]}),w&&m.jsxs(m.Fragment,{children:[m.jsx(xf,{$colorKey:K,x1:0,y1:0,x2:0,y2:$e,"data-testid":`${C}-y-axis`}),_==="vertical"&&Te.map((N,se)=>m.jsxs("g",{children:[m.jsx("line",{x1:-5,y1:N.position,x2:0,y2:N.position,stroke:k.colors[K]||K,strokeWidth:1}),m.jsx(Ho,{x:-10,y:N.position,$colorKey:ie,textAnchor:"end",dominantBaseline:"middle","data-testid":`${C}-y-value-${se}`,children:Math.round(N.value)})]},`y-tick-${se}`)),_==="horizontal"&&e.map((N,se)=>{const ge=se*Ee+Ee/2;return m.jsx(Ho,{x:-10,y:ge,$colorKey:ie,textAnchor:"end",dominantBaseline:"middle","data-testid":`${C}-y-label-${se}`,children:N.label},`y-cat-${se}`)})]})]})]}),v&&j!==null&&oe&&m.jsxs(l3,{$left:oe.x,$top:oe.y-10,"data-testid":`${C}-tooltip`,children:[m.jsx(c3,{children:e[j].label}),m.jsxs(u3,{children:["Value: ",e[j].value]})]})]})},f3=Sn`
|
|
520
522
|
from {
|
|
521
523
|
opacity: 0;
|
|
522
524
|
transform: scale(0.8);
|
|
@@ -525,24 +527,24 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
525
527
|
opacity: 1;
|
|
526
528
|
transform: scale(1);
|
|
527
529
|
}
|
|
528
|
-
`,
|
|
530
|
+
`,h3=ue(L)`
|
|
529
531
|
position: relative;
|
|
530
|
-
display: ${({$showLegend:
|
|
531
|
-
flex-direction: ${({$legendPosition:
|
|
532
|
-
align-items: ${({$legendPosition:
|
|
532
|
+
display: ${({$showLegend:e,$legendPosition:n})=>e?"flex":"inline-flex"};
|
|
533
|
+
flex-direction: ${({$legendPosition:e})=>e==="left"?"row-reverse":e==="right"?"row":"column"};
|
|
534
|
+
align-items: ${({$legendPosition:e})=>"center"};
|
|
533
535
|
justify-content: center;
|
|
534
536
|
gap: 20px;
|
|
535
|
-
${({$width:
|
|
536
|
-
`,
|
|
537
|
+
${({$width:e,$height:n,$minWidth:i,$maxWidth:s,$minHeight:a,$maxHeight:l})=>{const d=e&&typeof e=="object",f=n&&typeof n=="object";if(d||f||i&&typeof i=="object"||s&&typeof s=="object"||a&&typeof a=="object"||l&&typeof l=="object"){const C={};return typeof e=="string"?C.width=e:typeof e=="number"?(C.width="100%",s===void 0&&(C.maxWidth=`${e}px`)):d&&(C.width="100%",s===void 0&&(C.maxWidth=e)),typeof n=="string"?C.height=n:typeof n=="number"?(C.height="auto",l===void 0&&(C.maxHeight=`${n}px`)):f&&(C.height="auto",l===void 0&&(C.maxHeight=n)),typeof i=="number"?C.minWidth=`${i}px`:(typeof i=="string"||i)&&(C.minWidth=i),s!==void 0&&(typeof s=="string"?s==="auto"?C.maxWidth="none":C.maxWidth=s:typeof s=="number"?C.maxWidth=`${s}px`:C.maxWidth=s),typeof a=="number"?C.minHeight=`${a}px`:(typeof a=="string"||a)&&(C.minHeight=a),l!==void 0&&(typeof l=="string"?l==="auto"?C.maxHeight="none":C.maxHeight=l:typeof l=="number"?C.maxHeight=`${l}px`:C.maxHeight=l),Jr(C)}const v={};return typeof e=="string"?e==="auto"||e==="100%"||/^\d+(\.\d+)?(px|%|em|rem|vw|vh)$/.test(e)?v.width=e:v.width="100%":typeof e=="number"&&(v.width="100%",s===void 0&&(v.maxWidth=`${e}px`)),typeof n=="string"?n==="auto"||n==="100%"||/^\d+(\.\d+)?(px|%|em|rem|vw|vh)$/.test(n)?v.height=n:v.height="auto":typeof n=="number"&&(v.height="auto",l===void 0&&(v.maxHeight=`${n}px`)),i!==void 0&&(typeof i=="number"?v.minWidth=`${i}px`:typeof i=="string"&&(v.minWidth=i)),s!==void 0&&(typeof s=="string"?s==="auto"?v.maxWidth="none":v.maxWidth=s:typeof s=="number"&&(v.maxWidth=`${s}px`)),a!==void 0&&(typeof a=="number"?v.minHeight=`${a}px`:typeof a=="string"&&(v.minHeight=a)),l!==void 0&&(typeof l=="string"?l==="auto"?v.maxHeight="none":v.maxHeight=l:typeof l=="number"&&(v.maxHeight=`${l}px`)),lt(v)}}
|
|
538
|
+
`,p3=ue.svg`
|
|
537
539
|
display: block;
|
|
538
540
|
flex-shrink: 0;
|
|
539
|
-
width: ${({$width:
|
|
540
|
-
height: ${({$height:
|
|
541
|
-
`,
|
|
542
|
-
fill: ${({theme:
|
|
543
|
-
stroke: ${({theme:
|
|
544
|
-
stroke-width: ${({$strokeWidth:
|
|
545
|
-
animation: ${
|
|
541
|
+
width: ${({$width:e})=>e===void 0?"100%":typeof e=="number"?`${e}px`:e};
|
|
542
|
+
height: ${({$height:e})=>e?`${e}px`:"auto"};
|
|
543
|
+
`,g3=ue.path`
|
|
544
|
+
fill: ${({theme:e,$colorKey:n})=>e.colors[n]};
|
|
545
|
+
stroke: ${({theme:e,$strokeColorKey:n})=>e.colors[n]||n};
|
|
546
|
+
stroke-width: ${({$strokeWidth:e})=>e}px;
|
|
547
|
+
animation: ${f3} ${({$animationDuration:e})=>e}ms ease-out;
|
|
546
548
|
transform: translate(0, 0);
|
|
547
549
|
cursor: pointer;
|
|
548
550
|
transition: transform 0.2s ease, filter 0.2s ease;
|
|
@@ -551,68 +553,68 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
551
553
|
transform: scale(1.1);
|
|
552
554
|
filter: brightness(1.1);
|
|
553
555
|
}
|
|
554
|
-
`,
|
|
556
|
+
`,m3=ue.text`
|
|
555
557
|
fill: white;
|
|
556
|
-
font-size: ${({$fontSize:
|
|
557
|
-
font-family: ${({theme:
|
|
558
|
+
font-size: ${({$fontSize:e})=>e}px;
|
|
559
|
+
font-family: ${({theme:e})=>e.fonts.neutral};
|
|
558
560
|
font-weight: 600;
|
|
559
561
|
pointer-events: none;
|
|
560
562
|
user-select: none;
|
|
561
563
|
filter: drop-shadow(0px 1px 2px rgba(0, 0, 0, 0.5));
|
|
562
|
-
`,
|
|
564
|
+
`,y3=ue(L)`
|
|
563
565
|
display: flex;
|
|
564
|
-
flex-direction: ${({$position:
|
|
565
|
-
flex-wrap: ${({$position:
|
|
566
|
-
gap: ${({$spacing:
|
|
567
|
-
padding: ${({$spacing:
|
|
568
|
-
${({$position:
|
|
569
|
-
`,
|
|
566
|
+
flex-direction: ${({$position:e})=>e==="left"||e==="right"?"column":"row"};
|
|
567
|
+
flex-wrap: ${({$position:e})=>e==="top"||e==="bottom"?"wrap":"nowrap"};
|
|
568
|
+
gap: ${({$spacing:e})=>e}px;
|
|
569
|
+
padding: ${({$spacing:e})=>e}px;
|
|
570
|
+
${({$position:e})=>e==="top"?lt`margin-bottom: 20px;`:e==="bottom"?lt`margin-top: 20px;`:e==="left"?lt`margin-right: 20px;`:e==="right"?lt`margin-left: 20px;`:""}
|
|
571
|
+
`,b3=ue(L)`
|
|
570
572
|
display: flex;
|
|
571
573
|
align-items: center;
|
|
572
|
-
gap: ${({$spacing:
|
|
574
|
+
gap: ${({$spacing:e})=>e/2}px;
|
|
573
575
|
cursor: pointer;
|
|
574
576
|
transition: opacity 0.2s ease;
|
|
575
577
|
|
|
576
578
|
&:hover {
|
|
577
579
|
opacity: 0.8;
|
|
578
580
|
}
|
|
579
|
-
`,
|
|
580
|
-
width: ${({$size:
|
|
581
|
-
height: ${({$size:
|
|
582
|
-
background-color: ${({theme:
|
|
581
|
+
`,x3=ue(L)`
|
|
582
|
+
width: ${({$size:e})=>e}px;
|
|
583
|
+
height: ${({$size:e})=>e}px;
|
|
584
|
+
background-color: ${({theme:e,$colorKey:n})=>e.colors[n]};
|
|
583
585
|
border-radius: 2px;
|
|
584
586
|
flex-shrink: 0;
|
|
585
|
-
`,
|
|
586
|
-
font-size: ${({$fontSize:
|
|
587
|
-
color: ${({theme:
|
|
588
|
-
font-family: ${({theme:
|
|
587
|
+
`,v3=ue.span`
|
|
588
|
+
font-size: ${({$fontSize:e})=>e}px;
|
|
589
|
+
color: ${({theme:e,$colorKey:n})=>e.colors[n]||n};
|
|
590
|
+
font-family: ${({theme:e})=>e.fonts.neutral};
|
|
589
591
|
white-space: nowrap;
|
|
590
|
-
`,
|
|
591
|
-
M ${
|
|
592
|
-
A ${
|
|
593
|
-
L ${
|
|
594
|
-
A ${i} ${i} 0 ${
|
|
592
|
+
`,w3=(e,n,i,s)=>{const a=e*Math.PI/180,l=n*Math.PI/180,d=Math.cos(a)*s,f=Math.sin(a)*s,h=Math.cos(l)*s,p=Math.sin(l)*s,x=n-e>180?1:0;if(i>0){const w=Math.cos(a)*i,_=Math.sin(a)*i,v=Math.cos(l)*i,C=Math.sin(l)*i;return`
|
|
593
|
+
M ${d} ${f}
|
|
594
|
+
A ${s} ${s} 0 ${x} 1 ${h} ${p}
|
|
595
|
+
L ${v} ${C}
|
|
596
|
+
A ${i} ${i} 0 ${x} 0 ${w} ${_}
|
|
595
597
|
Z
|
|
596
598
|
`}else return`
|
|
597
599
|
M 0 0
|
|
598
|
-
L ${
|
|
599
|
-
A ${
|
|
600
|
+
L ${d} ${f}
|
|
601
|
+
A ${s} ${s} 0 ${x} 1 ${h} ${p}
|
|
600
602
|
Z
|
|
601
|
-
`},
|
|
603
|
+
`},_3=({data:e,width:n=400,height:i=400,minWidth:s=200,maxWidth:a,minHeight:l=200,maxHeight:d,innerRadius:f=0,outerRadius:h,padAngle:p=0,size:x,variant:w,showLabels:_=!1,showLegend:v=!0,legendPosition:C="right",animationDuration:R=300,startAngle:k=-90,testID:T="pie-chart",...E})=>{var Ee,st;const $=be().__hd__.pieChart,M=c.useRef(null),[z,j]=c.useState(()=>{if(typeof n=="number")return n;if(typeof n=="string"){const ye=n.match(/^(\d+(?:\.\d+)?)px$/);if(ye)return parseFloat(ye[1])}return 400}),[H,oe]=c.useState(()=>{if(typeof i=="number")return i;if(typeof i=="string"){const ye=i.match(/^(\d+(?:\.\d+)?)px$/);if(ye)return parseFloat(ye[1])}return 400}),te=w||($==null?void 0:$.defaultVariant)||"default",re=x||($==null?void 0:$.defaultSize)||"md";br(()=>{const ye=M.current;if(!ye)return;const Te=()=>{if(typeof n=="number"){j(n);return}if(typeof n=="string"&&/^\d+(?:\.\d+)?px$/.test(n)){const ee=n.match(/^(\d+(?:\.\d+)?)px$/);if(ee){j(parseFloat(ee[1]));return}}const ke=ye.clientWidth;ke>0&&j(ke)};Te();let Fe;return typeof ResizeObserver<"u"?(Fe=new ResizeObserver(Te),Fe.observe(ye)):window.addEventListener("resize",Te),()=>{Fe?Fe.disconnect():window.removeEventListener("resize",Te)}},[n,s,a]),br(()=>{const ye=M.current;if(!ye)return;const Te=()=>{if(typeof i=="number"){oe(i);return}if(typeof i=="string"&&/^\d+(?:\.\d+)?px$/.test(i)){const ee=i.match(/^(\d+(?:\.\d+)?)px$/);if(ee){oe(parseFloat(ee[1]));return}}const ke=ye.clientHeight;ke>0&&oe(ke)};Te();let Fe;return typeof ResizeObserver<"u"?(Fe=new ResizeObserver(Te),Fe.observe(ye)):window.addEventListener("resize",Te),()=>{Fe?Fe.disconnect():window.removeEventListener("resize",Te)}},[i,l,d]);const{strokeWidth:B=1,strokeColor:W="white",labelColor:P="grey600",labelFontSize:le=12,legendFontSize:K=14,legendSpacing:ne=8}=((Ee=$==null?void 0:$.sizes)==null?void 0:Ee[re])||{},{defaultColors:ie=["primary","secondary","success","warning","danger"]}=((st=$==null?void 0:$.variants)==null?void 0:st[te])||{},we=Math.min(z,H),pe=we/2,Se=we/2,$e=h||we/2-20,de=f*$e,De=c.useMemo(()=>{const ye=e.reduce((Fe,ke)=>Fe+ke.value,0);let Te=k;return e.map((Fe,ke)=>{const ee=Fe.value/ye*100,he=Fe.value/ye*360-p,N={...Fe,percentage:ee,startAngle:Te,endAngle:Te+he,midAngle:Te+he/2,color:Fe.color||ie[ke%ie.length]};return Te+=he+p,N})},[e,k,p,ie]),Ze=(ye,Te)=>{const Fe=ye*Math.PI/180,ke=de>0?(de+$e)/2:Te*.7;return{x:Math.cos(Fe)*ke,y:Math.sin(Fe)*ke}};return m.jsxs(h3,{ref:M,$legendPosition:C,$showLegend:v,$width:n,$height:i,$minWidth:s,$maxWidth:a||n,$minHeight:l,$maxHeight:d||i,"data-testid":`${T}-container`,...E,children:[m.jsxs(p3,{$width:we,$height:we,viewBox:`0 0 ${we} ${we}`,role:"img","aria-label":"Pie chart","data-testid":`${T}-svg`,children:[m.jsx("title",{children:"Pie chart"}),m.jsx("g",{transform:`translate(${pe}, ${Se})`,children:De.map((ye,Te)=>{const Fe=w3(ye.startAngle,ye.endAngle,de,$e),ke=Ze(ye.midAngle,$e);return m.jsxs("g",{children:[m.jsx(g3,{d:Fe,$colorKey:ye.color,$strokeWidth:B,$strokeColorKey:W,$animationDuration:R,$startAngle:ye.startAngle,$endAngle:ye.endAngle,"data-testid":`${T}-slice-${Te}`}),_&&m.jsxs(m3,{x:ke.x,y:ke.y,$colorKey:P,$fontSize:le,textAnchor:"middle",dominantBaseline:"middle","data-testid":`${T}-label-${Te}`,children:[ye.percentage.toFixed(1),"%"]})]},Te)})})]}),v&&m.jsx(y3,{$position:C,$spacing:ne,"data-testid":`${T}-legend`,children:De.map((ye,Te)=>m.jsxs(b3,{$spacing:ne,"data-testid":`${T}-legend-item-${Te}`,children:[m.jsx(x3,{$colorKey:ye.color,$size:K}),m.jsxs(v3,{$fontSize:K,$colorKey:P,children:[ye.label," (",ye.percentage.toFixed(1),"%)"]})]},Te))})]})},C3=Sn`
|
|
602
604
|
from {
|
|
603
605
|
stroke-dashoffset: 1000;
|
|
604
606
|
}
|
|
605
607
|
to {
|
|
606
608
|
stroke-dashoffset: 0;
|
|
607
609
|
}
|
|
608
|
-
`,
|
|
610
|
+
`,S3=Sn`
|
|
609
611
|
from {
|
|
610
612
|
opacity: 0;
|
|
611
613
|
}
|
|
612
614
|
to {
|
|
613
615
|
opacity: 0.3;
|
|
614
616
|
}
|
|
615
|
-
`,
|
|
617
|
+
`,E3=Sn`
|
|
616
618
|
0% {
|
|
617
619
|
transform: scale(0);
|
|
618
620
|
opacity: 0;
|
|
@@ -625,25 +627,25 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
625
627
|
transform: scale(1);
|
|
626
628
|
opacity: 1;
|
|
627
629
|
}
|
|
628
|
-
`,
|
|
630
|
+
`,k3=ue(L)`
|
|
629
631
|
position: relative;
|
|
630
632
|
display: block;
|
|
631
|
-
${({$width:
|
|
632
|
-
|
|
633
|
+
${({$width:e,$minWidth:n,$maxWidth:i,$height:s,$minHeight:a,$maxHeight:l})=>{const d=e&&typeof e=="object",f=n&&typeof n=="object",h=i&&typeof i=="object",p=s&&typeof s=="object";if(d||f||h||p||a&&typeof a=="object"||l&&typeof l=="object"){const C={};return typeof e=="string"?C.width=e:typeof e=="number"?(C.width="100%",i===void 0&&(C.maxWidth=`${e}px`)):d&&(C.width="100%",i===void 0&&(C.maxWidth=e)),typeof n=="number"?C.minWidth=`${n}px`:(typeof n=="string"||n)&&(C.minWidth=n),i!==void 0&&(typeof i=="string"?i==="auto"?C.maxWidth="none":C.maxWidth=i:typeof i=="number"?C.maxWidth=`${i}px`:C.maxWidth=i),typeof s=="string"?C.height=s:typeof s=="number"?(C.height="auto",l===void 0&&(C.maxHeight=`${s}px`)):p&&(C.height="auto",l===void 0&&(C.maxHeight=s)),typeof a=="number"?C.minHeight=`${a}px`:(typeof a=="string"||a)&&(C.minHeight=a),l!==void 0&&(typeof l=="string"?l==="auto"?C.maxHeight="none":C.maxHeight=l:typeof l=="number"?C.maxHeight=`${l}px`:C.maxHeight=l),Jr(C)}const v={};return typeof e=="string"?e==="auto"||e==="100%"||/^\d+(\.\d+)?(px|%|em|rem|vw|vh)$/.test(e)?v.width=e:v.width="100%":typeof e=="number"&&(v.width="100%",i===void 0&&(v.maxWidth=`${e}px`)),n!==void 0&&(typeof n=="number"?v.minWidth=`${n}px`:typeof n=="string"&&(v.minWidth=n)),i!==void 0&&(typeof i=="string"?i==="auto"?v.maxWidth="none":v.maxWidth=i:typeof i=="number"&&(v.maxWidth=`${i}px`)),typeof s=="string"?s==="auto"||s==="100%"||/^\d+(\.\d+)?(px|%|em|rem|vw|vh)$/.test(s)?v.height=s:v.height="auto":typeof s=="number"&&(v.height="auto",l===void 0&&(v.maxHeight=`${s}px`)),a!==void 0&&(typeof a=="number"?v.minHeight=`${a}px`:typeof a=="string"&&(v.minHeight=a)),l!==void 0&&(typeof l=="string"?l==="auto"?v.maxHeight="none":v.maxHeight=l:typeof l=="number"&&(v.maxHeight=`${l}px`)),lt(v)}}
|
|
634
|
+
`,$3=ue.svg`
|
|
633
635
|
display: block;
|
|
634
636
|
flex-shrink: 0;
|
|
635
|
-
width: ${({$width:
|
|
636
|
-
height: ${({$height:
|
|
637
|
-
`,
|
|
637
|
+
width: ${({$width:e})=>e===void 0?"100%":typeof e=="number"?`${e}px`:e};
|
|
638
|
+
height: ${({$height:e})=>e?`${e}px`:"auto"};
|
|
639
|
+
`,A3=ue.path`
|
|
638
640
|
fill: none;
|
|
639
|
-
stroke: ${({theme:
|
|
640
|
-
stroke-width: ${({$strokeWidth:
|
|
641
|
-
stroke-dasharray: ${({$strokeDasharray:
|
|
641
|
+
stroke: ${({theme:e,$colorKey:n})=>e.colors[n]};
|
|
642
|
+
stroke-width: ${({$strokeWidth:e})=>e}px;
|
|
643
|
+
stroke-dasharray: ${({$strokeDasharray:e})=>e||"none"};
|
|
642
644
|
stroke-linecap: round;
|
|
643
645
|
stroke-linejoin: round;
|
|
644
646
|
stroke-dasharray: 1000;
|
|
645
647
|
stroke-dashoffset: 1000;
|
|
646
|
-
animation: ${
|
|
648
|
+
animation: ${C3} ${({$animationDuration:e})=>e}ms ease-out forwards;
|
|
647
649
|
transition: stroke 0.3s ease;
|
|
648
650
|
cursor: pointer;
|
|
649
651
|
transition: opacity 0.2s ease, filter 0.2s ease;
|
|
@@ -652,70 +654,70 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
652
654
|
opacity: 1;
|
|
653
655
|
filter: brightness(1.1);
|
|
654
656
|
}
|
|
655
|
-
`,
|
|
656
|
-
fill: ${({theme:
|
|
657
|
+
`,T3=ue.path`
|
|
658
|
+
fill: ${({theme:e,$colorKey:n})=>e.colors[n]};
|
|
657
659
|
opacity: 0;
|
|
658
|
-
animation: ${
|
|
659
|
-
animation-delay: ${({$animationDuration:
|
|
660
|
-
`,
|
|
661
|
-
fill: ${({theme:
|
|
660
|
+
animation: ${S3} ${({$animationDuration:e})=>e}ms ease-out forwards;
|
|
661
|
+
animation-delay: ${({$animationDuration:e})=>e/2}ms;
|
|
662
|
+
`,R3=ue.circle`
|
|
663
|
+
fill: ${({theme:e,$colorKey:n})=>e.colors[n]};
|
|
662
664
|
stroke: white;
|
|
663
665
|
stroke-width: 2px;
|
|
664
666
|
cursor: pointer;
|
|
665
667
|
transform-origin: center;
|
|
666
|
-
animation: ${
|
|
667
|
-
animation-delay: ${({$animationDuration:
|
|
668
|
+
animation: ${E3} ${({$animationDuration:e})=>e/3}ms ease-out forwards;
|
|
669
|
+
animation-delay: ${({$animationDuration:e})=>e}ms;
|
|
668
670
|
opacity: 0;
|
|
669
671
|
|
|
670
672
|
&:hover {
|
|
671
673
|
transform: scale(1.5);
|
|
672
674
|
filter: brightness(1.2);
|
|
673
675
|
}
|
|
674
|
-
`,
|
|
675
|
-
stroke: ${({theme:
|
|
676
|
+
`,vf=ue.line`
|
|
677
|
+
stroke: ${({theme:e,$colorKey:n})=>e.colors[n]||n};
|
|
676
678
|
stroke-width: 1;
|
|
677
679
|
shape-rendering: crispEdges;
|
|
678
|
-
`,
|
|
679
|
-
fill: ${({theme:
|
|
680
|
-
font-size: ${({$fontSize:
|
|
681
|
-
font-family: ${({theme:
|
|
680
|
+
`,wf=ue.text`
|
|
681
|
+
fill: ${({theme:e,$colorKey:n})=>e.colors[n]||n};
|
|
682
|
+
font-size: ${({$fontSize:e})=>e}px;
|
|
683
|
+
font-family: ${({theme:e})=>e.fonts.neutral};
|
|
682
684
|
user-select: none;
|
|
683
|
-
`,
|
|
684
|
-
stroke: ${({theme:
|
|
685
|
+
`,_f=ue.line`
|
|
686
|
+
stroke: ${({theme:e,$colorKey:n})=>e.colors[n]||n};
|
|
685
687
|
stroke-width: 1;
|
|
686
688
|
stroke-dasharray: 2, 2;
|
|
687
689
|
opacity: 0.3;
|
|
688
|
-
`,
|
|
690
|
+
`,Cf=ue(L)`
|
|
689
691
|
display: flex;
|
|
690
692
|
flex-direction: row;
|
|
691
693
|
flex-wrap: wrap;
|
|
692
|
-
gap: ${({$spacing:
|
|
693
|
-
padding: ${({$spacing:
|
|
694
|
+
gap: ${({$spacing:e})=>e*1.5}px;
|
|
695
|
+
padding: ${({$spacing:e})=>e}px;
|
|
694
696
|
justify-content: center;
|
|
695
|
-
margin-bottom: ${({$position:
|
|
696
|
-
margin-top: ${({$position:
|
|
697
|
-
`,
|
|
697
|
+
margin-bottom: ${({$position:e})=>e==="top"?"10px":"0"};
|
|
698
|
+
margin-top: ${({$position:e})=>e==="bottom"?"10px":"0"};
|
|
699
|
+
`,Sf=ue(L)`
|
|
698
700
|
display: flex;
|
|
699
701
|
align-items: center;
|
|
700
|
-
gap: ${({$spacing:
|
|
702
|
+
gap: ${({$spacing:e})=>e/2}px;
|
|
701
703
|
cursor: pointer;
|
|
702
704
|
transition: opacity 0.2s ease;
|
|
703
705
|
|
|
704
706
|
&:hover {
|
|
705
707
|
opacity: 0.7;
|
|
706
708
|
}
|
|
707
|
-
`,
|
|
709
|
+
`,Ef=ue(L)`
|
|
708
710
|
width: 24px;
|
|
709
|
-
height: ${({$strokeWidth:
|
|
710
|
-
background-color: ${({theme:
|
|
711
|
+
height: ${({$strokeWidth:e})=>e}px;
|
|
712
|
+
background-color: ${({theme:e,$colorKey:n})=>e.colors[n]};
|
|
711
713
|
flex-shrink: 0;
|
|
712
|
-
${({$strokeDasharray:
|
|
713
|
-
|
|
714
|
-
font-size: ${({$fontSize:
|
|
715
|
-
color: ${({theme:
|
|
716
|
-
font-family: ${({theme:
|
|
714
|
+
${({$strokeDasharray:e})=>e?`background-image: repeating-linear-gradient(90deg, currentColor 0, currentColor ${e.split(",")[0]}px, transparent ${e.split(",")[0]}px, transparent ${e.split(",")[1]||e.split(",")[0]}px);`:""}
|
|
715
|
+
`,kf=ue.span`
|
|
716
|
+
font-size: ${({$fontSize:e})=>e}px;
|
|
717
|
+
color: ${({theme:e,$colorKey:n})=>e.colors[n]||n};
|
|
718
|
+
font-family: ${({theme:e})=>e.fonts.neutral};
|
|
717
719
|
white-space: nowrap;
|
|
718
|
-
`;
|
|
720
|
+
`;ue(L)`
|
|
719
721
|
position: absolute;
|
|
720
722
|
background: white;
|
|
721
723
|
border: 1px solid #ddd;
|
|
@@ -724,7 +726,172 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
724
726
|
pointer-events: none;
|
|
725
727
|
z-index: 1000;
|
|
726
728
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
|
|
727
|
-
`;
|
|
729
|
+
`;ue(L)`
|
|
728
730
|
font-size: 12px;
|
|
729
|
-
font-family: ${({theme:
|
|
730
|
-
`;const Ux=(t,r)=>{if(t.length===0)return"";if(r==="linear")return t.map((i,a)=>`${a===0?"M":"L"} ${i.x} ${i.y}`).join(" ");if(r==="smooth"){let i=`M ${t[0].x} ${t[0].y}`;for(let a=1;a<t.length;a++){const l=t[Math.max(0,a-2)],u=t[a-1],f=t[a],h=t[Math.min(t.length-1,a+1)],g=u.x+(f.x-l.x)/6,v=u.y+(f.y-l.y)/6,_=f.x-(h.x-u.x)/6,S=f.y-(h.y-u.y)/6;i+=` C ${g} ${v}, ${_} ${S}, ${f.x} ${f.y}`}return i}if(r==="step"){let i=`M ${t[0].x} ${t[0].y}`;for(let a=1;a<t.length;a++){const l=(t[a-1].x+t[a].x)/2;i+=` L ${l} ${t[a-1].y} L ${l} ${t[a].y} L ${t[a].x} ${t[a].y}`}return i}return""},qx=({series:t,width:r=600,minWidth:i=300,maxWidth:a,height:l=400,minHeight:u=300,maxHeight:f,chartMargin:h,size:g,variant:v,showGrid:_=!0,showXAxis:S=!0,showYAxis:E=!0,showLegend:x=!0,legendPosition:C="top",curve:F="linear",animationDuration:R=500,xAxisLabels:I,yDomain:T,testID:k="line-chart",...O})=>{const M=xe(),N=M.__hd__.lineChart,V=d.useRef(null),[Q,pe]=d.useState(()=>{if(typeof r=="number")return r;if(typeof r=="string"){const J=r.match(/^(\d+(?:\.\d+)?)px$/);if(J)return parseFloat(J[1])}return 600}),[Ce,Me]=d.useState(()=>{if(typeof l=="number")return l;if(typeof l=="string"){const J=l.match(/^(\d+(?:\.\d+)?)px$/);if(J)return parseFloat(J[1])}return 400}),D=v||N.defaultVariant,j=g||N.defaultSize;or(()=>{const J=V.current;if(!J)return;const ce=()=>{if(typeof r=="number")pe(r);else if(typeof r=="string"&&/^\d+(?:\.\d+)?px$/.test(r)){const fe=r.match(/^(\d+(?:\.\d+)?)px$/);fe&&pe(parseFloat(fe[1]))}else{const fe=J.clientWidth;fe>0&&pe(fe)}const ie=(()=>{if(typeof l=="number")return l;if(typeof l=="string"){const fe=l.match(/^(\d+(?:\.\d+)?)px$/);if(fe)return parseFloat(fe[1])}return 400})();Me(ie)};ce();let Z;return typeof ResizeObserver<"u"?(Z=new ResizeObserver(ce),Z.observe(J)):window.addEventListener("resize",ce),()=>{Z?Z.disconnect():window.removeEventListener("resize",ce)}},[r,l]),or(()=>{const J=V.current;if(!J)return;const ce=()=>{if(typeof r=="number")pe(r);else if(typeof r=="string"&&/^\d+(?:\.\d+)?px$/.test(r)){const fe=r.match(/^(\d+(?:\.\d+)?)px$/);fe&&pe(parseFloat(fe[1]))}else{const fe=J.clientWidth;fe>0&&pe(fe)}const ie=(()=>{if(typeof l=="number")return l;if(typeof l=="string"){const fe=l.match(/^(\d+(?:\.\d+)?)px$/);if(fe)return parseFloat(fe[1])}return 400})();Me(ie)};ce();let Z;return typeof ResizeObserver<"u"?(Z=new ResizeObserver(ce),Z.observe(J)):window.addEventListener("resize",ce),()=>{Z?Z.disconnect():window.removeEventListener("resize",ce)}},[r,l]);const{strokeWidth:G,dotRadius:le,axisColor:te,gridColor:oe,labelColor:ee,labelFontSize:ve,legendFontSize:je,legendSpacing:ke}=N.sizes[j],{defaultColors:Oe}=N.variants[D],[De,Ke]=d.useMemo(()=>{if(T)return T;let J=1/0,ce=-1/0;return t.forEach(Z=>{Z.data.forEach(ie=>{J=Math.min(J,ie.y),ce=Math.max(ce,ie.y)})}),J===1/0||ce===-1/0?[0,1]:[Math.floor(J-(ce-J)*.1),Math.ceil(ce+(ce-J)*.1)]},[t,T]),gt=d.useMemo(()=>{const ce=Array.from({length:5},(ot,re)=>(De+(Ke-De)*(re/4)).toFixed(1)),Z=M.fonts.neutral,ie=`${ve}px ${Z}`,fe=ve*.6;let we=null;typeof document<"u"&&(we=document.createElement("canvas").getContext("2d"),we&&(we.font=ie));const We=ot=>we?we.measureText(ot).width:ot.length*fe,Xe=ce.reduce((ot,re)=>Math.max(ot,We(re)),0),tt=Math.ceil(Xe+12),nt=(h==null?void 0:h.left)??50;return Math.max(nt,tt)},[De,Ke,h==null?void 0:h.left,ve,M.fonts.neutral]),Be={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:gt},it=Math.max(0,Q-Be.left-Be.right),de=Math.max(0,Ce-Be.top-Be.bottom),{processedSeries:Se,xLabels:Re,yTicks:ye}=d.useMemo(()=>{const J=new Set,ce=[];let Z=1/0,ie=-1/0;t.forEach(Pe=>{Pe.data.forEach(He=>{const Qe=String(He.x);J.has(Qe)||(J.add(Qe),ce.push(Qe)),Z=Math.min(Z,He.y),ie=Math.max(ie,He.y)})});const[fe,we]=T||[Math.floor(Z-(ie-Z)*.1),Math.ceil(ie+(ie-Z)*.1)],We=I||ce,Xe=it/(We.length-1||1),tt=new Map(We.map((Pe,He)=>[String(Pe),He*Xe])),nt=Pe=>{const He=(Pe-fe)/(we-fe||1);return de-He*de},ot=t.map((Pe,He)=>({...Pe,color:Pe.color||Oe[He%Oe.length],points:Pe.data.map(Qe=>({x:tt.get(String(Qe.x))||0,y:nt(Qe.y),originalX:Qe.x,originalY:Qe.y}))})),re=5,Ve=Array.from({length:re},(Pe,He)=>{const Qe=fe+(we-fe)*(He/(re-1));return{value:Qe,position:nt(Qe),label:Qe.toFixed(1)}});return{processedSeries:ot,xLabels:We,yTicks:Ve.reverse()}},[t,it,de,I,T,Oe]);return y.jsxs(Dx,{ref:V,"data-testid":`${k}-container`,$width:r,$minWidth:i,$maxWidth:a,$height:l,$minHeight:u,$maxHeight:f,...O,children:[x&&C==="top"&&y.jsx(Sf,{$position:C,$spacing:ke,"data-testid":`${k}-legend`,children:Se.map((J,ce)=>y.jsxs(Ef,{$spacing:ke,"data-testid":`${k}-legend-item-${ce}`,children:[y.jsx(Af,{$colorKey:J.color,$strokeWidth:J.strokeWidth||G,$strokeDasharray:J.strokeDasharray}),y.jsx($f,{$fontSize:je,$colorKey:ee,children:J.label})]},J.id))}),y.jsxs(Hx,{$width:Q,$height:Ce,viewBox:`0 0 ${Q} ${Ce}`,role:"img","aria-label":"Line chart","data-testid":`${k}-svg`,children:[y.jsx("title",{children:"Line chart"}),y.jsxs("g",{transform:`translate(${Be.left}, ${Be.top})`,children:[_&&y.jsxs(y.Fragment,{children:[ye.map((J,ce)=>y.jsx(Cf,{$colorKey:oe,x1:0,y1:J.position,x2:it,y2:J.position,"data-testid":`${k}-grid-h-${ce}`},`h-grid-${ce}`)),Re.map((J,ce)=>{const Z=ce*it/(Re.length-1||1);return y.jsx(Cf,{$colorKey:oe,x1:Z,y1:0,x2:Z,y2:de,"data-testid":`${k}-grid-v-${ce}`},`v-grid-${ce}`)})]}),Se.map((J,ce)=>{var fe,we;const Z=Ux(J.points,F),ie=J.showArea?`${Z} L ${((fe=J.points[J.points.length-1])==null?void 0:fe.x)||0} ${de} L ${((we=J.points[0])==null?void 0:we.x)||0} ${de} Z`:"";return y.jsxs("g",{children:[J.showArea&&y.jsx(Vx,{d:ie,$colorKey:J.color,$animationDuration:R,"data-testid":`${k}-area-${ce}`}),y.jsx(Zx,{d:Z,$colorKey:J.color,$strokeWidth:J.strokeWidth||G,$strokeDasharray:J.strokeDasharray,$animationDuration:R,"data-testid":`${k}-line-${ce}`}),J.showDots!==!1&&J.points.map((We,Xe)=>y.jsx(Nx,{cx:We.x,cy:We.y,r:le,$colorKey:J.color,$animationDuration:R,"data-testid":`${k}-dot-${ce}-${Xe}`},Xe))]},J.id)}),S&&y.jsxs(y.Fragment,{children:[y.jsx(wf,{$colorKey:te,x1:0,y1:de,x2:it,y2:de,"data-testid":`${k}-x-axis`}),Re.map((J,ce)=>{const Z=ce*it/(Re.length-1||1);return y.jsx(_f,{x:Z,y:de+20,$colorKey:ee,$fontSize:ve,textAnchor:"middle","data-testid":`${k}-x-label-${ce}`,children:J},ce)})]}),E&&y.jsxs(y.Fragment,{children:[y.jsx(wf,{$colorKey:te,x1:0,y1:0,x2:0,y2:de,"data-testid":`${k}-y-axis`}),ye.map((J,ce)=>y.jsx(_f,{x:-10,y:J.position,$colorKey:ee,$fontSize:ve,textAnchor:"end",dominantBaseline:"middle","data-testid":`${k}-y-label-${ce}`,children:J.label},ce))]})]})]}),x&&C==="bottom"&&y.jsx(Sf,{$position:C,$spacing:ke,"data-testid":`${k}-legend`,children:Se.map((J,ce)=>y.jsxs(Ef,{$spacing:ke,"data-testid":`${k}-legend-item-${ce}`,children:[y.jsx(Af,{$colorKey:J.color,$strokeWidth:J.strokeWidth||G,$strokeDasharray:J.strokeDasharray}),y.jsx($f,{$fontSize:je,$colorKey:ee,children:J.label})]},J.id))})]})};exports.AIC_Kits_StackingLayers=an;exports.Accordion=K3;exports.Art=Ht;exports.Avatar=Fd;exports.BarChart=Ax;exports.Base=Ub;exports.Box=X;exports.Brand=xd;exports.Button=bs;exports.Carousel=N3;exports.Checkbox=J3;exports.DEFAULT_VIMEO_CONFIG=I3;exports.Divider=Zd;exports.Emoji=wd;exports.Grid=c0;exports.Header=Kd;exports.HeaderAuth=Nd;exports.HeaderLogo=Ud;exports.HeaderNav=qd;exports.HeaderSearch=Gd;exports.Icon=Rs;exports.Image=Id;exports.Input=Kb;exports.LineChart=qx;exports.List=Jb;exports.Loading=js;exports.Modal=vx;exports.NormalizedBrowserName=Dd;exports.NormalizedDeviceType=Wd;exports.NormalizedOSName=Hd;exports.Pagination=cx;exports.PaginationItem=f0;exports.PieChart=jx;exports.Progress=gx;exports.RESPONSIVE_BREAKPOINTS=pi;exports.RESPONSIVE_BREAKPOINT_KEYS=ui;exports.SUPPORTED_RICH_TEXT_TAGS=Od;exports.Select=nx;exports.SelectDropdownItem=s0;exports.SelectInputDisplay=l0;exports.Skeleton=mi;exports.StyledBox=gd;exports.Svg=Md;exports.Tag=Q3;exports.Text=ht;exports.ThemeProvider=bv;exports.Tooltip=yx;exports.Touchable=Jt;exports.VIMEO_HOST=M3;exports.Vimeo=F3;exports.accordionTheme=If;exports.artTheme=Mf;exports.avatarTheme=Ff;exports.barChartTheme=zf;exports.baseTheme=jf;exports.buttonTheme=Bf;exports.carouselTheme=Pf;exports.checkboxTheme=Wf;exports.configKeys=hd;exports.css=st;exports.cssPropsKey=ud;exports.customBoxPropsConfig=cd;exports.customBoxPropsKey=Ts;exports.defaultColorPalette=So;exports.defaultGradientColorPalette=Rf;exports.defaultScale=$n;exports.defaultTheme=po;exports.dividerTheme=Df;exports.genBoxStyle=pd;exports.generateResponsiveStyles=Mr;exports.getBorderWidths=ws;exports.getComponentsTheme=nd;exports.getFontSizes=Eo;exports.getFontWeights=$s;exports.getFonts=Es;exports.getGlobalTheme=uv;exports.getLineHeights=As;exports.getPaginationTheme=qf;exports.getRadii=_s;exports.getResponsiveValue=ad;exports.getSelectStyles=u0;exports.getShadows=Lf;exports.getSizeValue=wt;exports.getSizes=Cs;exports.getSpaces=Ss;exports.getTextColor=Ro;exports.getTheme=rd;exports.getThemeValue=fd;exports.headerTheme=Hf;exports.inferResponsiveValues=od;exports.inputTheme=Zf;exports.isBorderWidth=X8;exports.isColor=Tf;exports.isEmoji=md;exports.isFontSize=av;exports.isFontWeight=sv;exports.isGradientColor=Y8;exports.isIcon=vd;exports.isImage=yd;exports.isRadius=kf;exports.isResponsiveValue=Ao;exports.isSSR=yt;exports.isShadow=ov;exports.isSize=ir;exports.isSpace=Of;exports.isSvg=bd;exports.keyframes=Hn;exports.lineChartTheme=Vf;exports.listTheme=Nf;exports.loadingTheme=Uf;exports.mapStylePropToThemeValue=dd;exports.parseUserAgent=ys;exports.pieChartTheme=Gf;exports.populateResponsiveValue=ks;exports.progressTheme=Kf;exports.reduceResponsiveValue=sd;exports.selectTheme=Xf;exports.shouldForwardProp=id;exports.skeletonTheme=Yf;exports.styled=se;exports.tagTheme=Qf;exports.tooltipTheme=Jf;exports.touchableTheme=ed;exports.transformResponsiveValue=Dt;exports.transposeObject=ds;exports.useEventListener=hs;exports.useHover=$o;exports.useInteractionDetector=Is;exports.useIsomorphicLayoutEffect=or;exports.useMediaQuery=db;exports.useResponsiveBreakpoint=Fr;exports.useSelectState=a0;exports.useTheme=xe;exports.useUserAgent=Rb;exports.useWindowDimensions=zd;exports.vimeoTheme=td;exports.zIndexRegistry=sr;
|
|
731
|
+
font-family: ${({theme:e})=>e.fonts.neutral};
|
|
732
|
+
`;const I3=(e,n)=>{if(e.length===0)return"";if(n==="linear")return e.map((i,s)=>`${s===0?"M":"L"} ${i.x} ${i.y}`).join(" ");if(n==="smooth"){let i=`M ${e[0].x} ${e[0].y}`;for(let s=1;s<e.length;s++){const a=e[Math.max(0,s-2)],l=e[s-1],d=e[s],f=e[Math.min(e.length-1,s+1)],h=l.x+(d.x-a.x)/6,p=l.y+(d.y-a.y)/6,x=d.x-(f.x-l.x)/6,w=d.y-(f.y-l.y)/6;i+=` C ${h} ${p}, ${x} ${w}, ${d.x} ${d.y}`}return i}if(n==="step"){let i=`M ${e[0].x} ${e[0].y}`;for(let s=1;s<e.length;s++){const a=(e[s-1].x+e[s].x)/2;i+=` L ${a} ${e[s-1].y} L ${a} ${e[s].y} L ${e[s].x} ${e[s].y}`}return i}return""},M3=({series:e,width:n=600,minWidth:i=300,maxWidth:s,height:a=400,minHeight:l=300,maxHeight:d,chartMargin:f,size:h,variant:p,showGrid:x=!0,showXAxis:w=!0,showYAxis:_=!0,showLegend:v=!0,legendPosition:C="top",curve:R="linear",animationDuration:k=500,xAxisLabels:T,yDomain:E,testID:I="line-chart",...$})=>{const M=be(),z=M.__hd__.lineChart,j=c.useRef(null),[H,oe]=c.useState(()=>{if(typeof n=="number")return n;if(typeof n=="string"){const ee=n.match(/^(\d+(?:\.\d+)?)px$/);if(ee)return parseFloat(ee[1])}return 600}),[te,re]=c.useState(()=>{if(typeof a=="number")return a;if(typeof a=="string"){const ee=a.match(/^(\d+(?:\.\d+)?)px$/);if(ee)return parseFloat(ee[1])}return 400}),B=p||z.defaultVariant,W=h||z.defaultSize;br(()=>{const ee=j.current;if(!ee)return;const he=()=>{if(typeof n=="number")oe(n);else if(typeof n=="string"&&/^\d+(?:\.\d+)?px$/.test(n)){const ge=n.match(/^(\d+(?:\.\d+)?)px$/);ge&&oe(parseFloat(ge[1]))}else{const ge=ee.clientWidth;ge>0&&oe(ge)}const se=(()=>{if(typeof a=="number")return a;if(typeof a=="string"){const ge=a.match(/^(\d+(?:\.\d+)?)px$/);if(ge)return parseFloat(ge[1])}return 400})();re(se)};he();let N;return typeof ResizeObserver<"u"?(N=new ResizeObserver(he),N.observe(ee)):window.addEventListener("resize",he),()=>{N?N.disconnect():window.removeEventListener("resize",he)}},[n,a]),br(()=>{const ee=j.current;if(!ee)return;const he=()=>{if(typeof n=="number")oe(n);else if(typeof n=="string"&&/^\d+(?:\.\d+)?px$/.test(n)){const ge=n.match(/^(\d+(?:\.\d+)?)px$/);ge&&oe(parseFloat(ge[1]))}else{const ge=ee.clientWidth;ge>0&&oe(ge)}const se=(()=>{if(typeof a=="number")return a;if(typeof a=="string"){const ge=a.match(/^(\d+(?:\.\d+)?)px$/);if(ge)return parseFloat(ge[1])}return 400})();re(se)};he();let N;return typeof ResizeObserver<"u"?(N=new ResizeObserver(he),N.observe(ee)):window.addEventListener("resize",he),()=>{N?N.disconnect():window.removeEventListener("resize",he)}},[n,a]);const{strokeWidth:P,dotRadius:le,axisColor:K,gridColor:ne,labelColor:ie,labelFontSize:we,legendFontSize:pe,legendSpacing:Se}=z.sizes[W],{defaultColors:$e}=z.variants[B],[de,De]=c.useMemo(()=>{if(E)return E;let ee=1/0,he=-1/0;return e.forEach(N=>{N.data.forEach(se=>{ee=Math.min(ee,se.y),he=Math.max(he,se.y)})}),ee===1/0||he===-1/0?[0,1]:[Math.floor(ee-(he-ee)*.1),Math.ceil(he+(he-ee)*.1)]},[e,E]),Ze=c.useMemo(()=>{const he=Array.from({length:5},(it,ae)=>(de+(De-de)*(ae/4)).toFixed(1)),N=M.fonts.neutral,se=`${we}px ${N}`,ge=we*.6;let Ae=null;typeof document<"u"&&(Ae=document.createElement("canvas").getContext("2d"),Ae&&(Ae.font=se));const Be=it=>Ae?Ae.measureText(it).width:it.length*ge,Oe=he.reduce((it,ae)=>Math.max(it,Be(ae)),0),tt=Math.ceil(Oe+12),nt=(f==null?void 0:f.left)??50;return Math.max(nt,tt)},[de,De,f==null?void 0:f.left,we,M.fonts.neutral]),Ee={top:(f==null?void 0:f.top)??20,right:(f==null?void 0:f.right)??20,bottom:(f==null?void 0:f.bottom)??40,left:Ze},st=Math.max(0,H-Ee.left-Ee.right),ye=Math.max(0,te-Ee.top-Ee.bottom),{processedSeries:Te,xLabels:Fe,yTicks:ke}=c.useMemo(()=>{const ee=new Set,he=[];let N=1/0,se=-1/0;e.forEach(Pe=>{Pe.data.forEach(Ue=>{const Qe=String(Ue.x);ee.has(Qe)||(ee.add(Qe),he.push(Qe)),N=Math.min(N,Ue.y),se=Math.max(se,Ue.y)})});const[ge,Ae]=E||[Math.floor(N-(se-N)*.1),Math.ceil(se+(se-N)*.1)],Be=T||he,Oe=st/(Be.length-1||1),tt=new Map(Be.map((Pe,Ue)=>[String(Pe),Ue*Oe])),nt=Pe=>{const Ue=(Pe-ge)/(Ae-ge||1);return ye-Ue*ye},it=e.map((Pe,Ue)=>({...Pe,color:Pe.color||$e[Ue%$e.length],points:Pe.data.map(Qe=>({x:tt.get(String(Qe.x))||0,y:nt(Qe.y),originalX:Qe.x,originalY:Qe.y}))})),ae=5,Ge=Array.from({length:ae},(Pe,Ue)=>{const Qe=ge+(Ae-ge)*(Ue/(ae-1));return{value:Qe,position:nt(Qe),label:Qe.toFixed(1)}});return{processedSeries:it,xLabels:Be,yTicks:Ge.reverse()}},[e,st,ye,T,E,$e]);return m.jsxs(k3,{ref:j,"data-testid":`${I}-container`,$width:n,$minWidth:i,$maxWidth:s,$height:a,$minHeight:l,$maxHeight:d,...$,children:[v&&C==="top"&&m.jsx(Cf,{$position:C,$spacing:Se,"data-testid":`${I}-legend`,children:Te.map((ee,he)=>m.jsxs(Sf,{$spacing:Se,"data-testid":`${I}-legend-item-${he}`,children:[m.jsx(Ef,{$colorKey:ee.color,$strokeWidth:ee.strokeWidth||P,$strokeDasharray:ee.strokeDasharray}),m.jsx(kf,{$fontSize:pe,$colorKey:ie,children:ee.label})]},ee.id))}),m.jsxs($3,{$width:H,$height:te,viewBox:`0 0 ${H} ${te}`,role:"img","aria-label":"Line chart","data-testid":`${I}-svg`,children:[m.jsx("title",{children:"Line chart"}),m.jsxs("g",{transform:`translate(${Ee.left}, ${Ee.top})`,children:[x&&m.jsxs(m.Fragment,{children:[ke.map((ee,he)=>m.jsx(_f,{$colorKey:ne,x1:0,y1:ee.position,x2:st,y2:ee.position,"data-testid":`${I}-grid-h-${he}`},`h-grid-${he}`)),Fe.map((ee,he)=>{const N=he*st/(Fe.length-1||1);return m.jsx(_f,{$colorKey:ne,x1:N,y1:0,x2:N,y2:ye,"data-testid":`${I}-grid-v-${he}`},`v-grid-${he}`)})]}),Te.map((ee,he)=>{var ge,Ae;const N=I3(ee.points,R),se=ee.showArea?`${N} L ${((ge=ee.points[ee.points.length-1])==null?void 0:ge.x)||0} ${ye} L ${((Ae=ee.points[0])==null?void 0:Ae.x)||0} ${ye} Z`:"";return m.jsxs("g",{children:[ee.showArea&&m.jsx(T3,{d:se,$colorKey:ee.color,$animationDuration:k,"data-testid":`${I}-area-${he}`}),m.jsx(A3,{d:N,$colorKey:ee.color,$strokeWidth:ee.strokeWidth||P,$strokeDasharray:ee.strokeDasharray,$animationDuration:k,"data-testid":`${I}-line-${he}`}),ee.showDots!==!1&&ee.points.map((Be,Oe)=>m.jsx(R3,{cx:Be.x,cy:Be.y,r:le,$colorKey:ee.color,$animationDuration:k,"data-testid":`${I}-dot-${he}-${Oe}`},Oe))]},ee.id)}),w&&m.jsxs(m.Fragment,{children:[m.jsx(vf,{$colorKey:K,x1:0,y1:ye,x2:st,y2:ye,"data-testid":`${I}-x-axis`}),Fe.map((ee,he)=>{const N=he*st/(Fe.length-1||1);return m.jsx(wf,{x:N,y:ye+20,$colorKey:ie,$fontSize:we,textAnchor:"middle","data-testid":`${I}-x-label-${he}`,children:ee},he)})]}),_&&m.jsxs(m.Fragment,{children:[m.jsx(vf,{$colorKey:K,x1:0,y1:0,x2:0,y2:ye,"data-testid":`${I}-y-axis`}),ke.map((ee,he)=>m.jsx(wf,{x:-10,y:ee.position,$colorKey:ie,$fontSize:we,textAnchor:"end",dominantBaseline:"middle","data-testid":`${I}-y-label-${he}`,children:ee.label},he))]})]})]}),v&&C==="bottom"&&m.jsx(Cf,{$position:C,$spacing:Se,"data-testid":`${I}-legend`,children:Te.map((ee,he)=>m.jsxs(Sf,{$spacing:Se,"data-testid":`${I}-legend-item-${he}`,children:[m.jsx(Ef,{$colorKey:ee.color,$strokeWidth:ee.strokeWidth||P,$strokeDasharray:ee.strokeDasharray}),m.jsx(kf,{$fontSize:pe,$colorKey:ie,children:ee.label})]},ee.id))})]})},F3="md",O3="24h",z3=1,L3=Array.from({length:24},(e,n)=>n.toString().padStart(2,"0")),j3=Array.from({length:12},(e,n)=>(n+1).toString().padStart(2,"0")),D3=["AM","PM"],P3=ue.div`
|
|
733
|
+
display: flex;
|
|
734
|
+
align-items: center;
|
|
735
|
+
justify-content: center;
|
|
736
|
+
cursor: pointer;
|
|
737
|
+
transition: background-color 0.15s ease, color 0.15s ease, opacity 0.15s ease;
|
|
738
|
+
user-select: none;
|
|
739
|
+
|
|
740
|
+
${({theme:e,$size:n,$isSelected:i,$offset:s})=>{const a=e.__hd__.timepicker,l=a.sizes[n],d=e.__hd__.text,f=i?e.colors.primary:"transparent",h=i?e.colors.white:e.colors[a.colors.wheelText],p=i?1:Math.max(.3,1-Math.abs(s)*.25),x=i?d.fontWeights.semibold:d.fontWeights.regular;return`
|
|
741
|
+
height: ${l.wheelItemHeight}px;
|
|
742
|
+
font-size: ${d.fontSizes[l.wheelFontSize]}px;
|
|
743
|
+
font-weight: ${x};
|
|
744
|
+
color: ${h};
|
|
745
|
+
background-color: ${f};
|
|
746
|
+
opacity: ${p};
|
|
747
|
+
border-radius: ${e.radii.sm}px;
|
|
748
|
+
|
|
749
|
+
&:hover {
|
|
750
|
+
${i?"":`
|
|
751
|
+
background-color: ${e.colors.primary100};
|
|
752
|
+
opacity: 1;
|
|
753
|
+
`}
|
|
754
|
+
}
|
|
755
|
+
`}}
|
|
756
|
+
`,W3=ue.div`
|
|
757
|
+
display: flex;
|
|
758
|
+
flex-direction: row;
|
|
759
|
+
align-items: center;
|
|
760
|
+
overflow: hidden;
|
|
761
|
+
|
|
762
|
+
${({theme:e,$isFocused:n,$isDisabled:i,$error:s})=>{const a=e.__hd__.input;let l=e.colors[a.states.default.borderColor],d=a.states.default.boxShadow;s?(l=e.colors[a.states.error.borderColor],d=a.states.error.boxShadow):i?l=e.colors[a.states.disabled.borderColor]:n&&(l=e.colors[a.states.focused.borderColor],d=a.states.focused.boxShadow);const f=e.spaces[a.padding.vertical],h=e.spaces[a.padding.horizontal],p=e.radii[a.borderRadius],x=e.borderWidths[a.borderWidth];return`
|
|
763
|
+
padding: ${f}px ${h}px;
|
|
764
|
+
border-radius: ${p}px;
|
|
765
|
+
border: ${x}px solid ${l};
|
|
766
|
+
box-shadow: ${d};
|
|
767
|
+
background-color: ${i?e.colors[a.states.disabled.backgroundColor]:e.colors[a.states.default.backgroundColor]};
|
|
768
|
+
opacity: ${i?.7:1};
|
|
769
|
+
transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
770
|
+
`}}
|
|
771
|
+
`,$f=ue.input`
|
|
772
|
+
flex: 1;
|
|
773
|
+
min-width: 0;
|
|
774
|
+
border: none;
|
|
775
|
+
background: transparent;
|
|
776
|
+
outline: none;
|
|
777
|
+
text-align: center;
|
|
778
|
+
font-size: ${({theme:e})=>`${e.__hd__.text.fontSizes[e.__hd__.input.fontSize||"medium"]}px`};
|
|
779
|
+
color: ${({theme:e})=>e.colors[e.__hd__.input.textColor||"grey900"]};
|
|
780
|
+
|
|
781
|
+
&::placeholder {
|
|
782
|
+
color: ${({theme:e})=>e.colors[e.__hd__.input.placeholderColor||"grey500"]};
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
&:disabled {
|
|
786
|
+
color: ${({theme:e})=>e.colors[e.__hd__.input.disabledTextColor||"grey500"]};
|
|
787
|
+
cursor: not-allowed;
|
|
788
|
+
}
|
|
789
|
+
`,Zo=({items:e,selectedValue:n,onSelect:i,size:s})=>{const l=be().__hd__.timepicker,d=l.sizes[s],f=l.wheel.visibleItems,h=d.wheelItemHeight,p=c.useRef(null),x=c.useRef(null),[w,_]=c.useState(!1),[v,C]=c.useState(0),[R,k]=c.useState(0),[T,E]=c.useState(0);c.useEffect(()=>{const te=e.indexOf(n);te!==-1&&(E(te),k(0))},[n,e]);const I=c.useCallback(()=>{const te=f*h,re=T*h;return te-re+R},[T,R,f,h]),$=c.useCallback(te=>{te.preventDefault(),_(!0),C(te.clientY),te.target.setPointerCapture(te.pointerId)},[]),M=c.useCallback(te=>{if(!w)return;const re=te.clientY-v;k(re)},[w,v]),z=c.useCallback(te=>{if(!w)return;_(!1),te.target.releasePointerCapture(te.pointerId);const re=Math.round(-R/h);let B=T+re;B=Math.max(0,Math.min(e.length-1,B)),E(B),k(0),i(e[B])},[w,R,h,T,e,i]);c.useEffect(()=>{const te=p.current;if(!te)return;const re=B=>{B.preventDefault(),B.stopPropagation();const W=B.deltaY>0?1:-1;let P=T+W;P=Math.max(0,Math.min(e.length-1,P)),P!==T&&(E(P),i(e[P]))};return te.addEventListener("wheel",re,{passive:!1}),()=>te.removeEventListener("wheel",re)},[T,e,i]);const j=c.useCallback(te=>{te!==T&&(E(te),i(e[te]))},[T,e,i]),H=()=>e.map((te,re)=>{const B=re-T;return m.jsx(P3,{$size:s,$isSelected:re===T,$offset:B,onClick:()=>j(re),children:te},te)}),oe=h*(2*f+1);return m.jsxs(L,{ref:p,position:"relative",overflow:"hidden",width:d.wheelWidth,height:oe,onPointerDown:$,onPointerMove:M,onPointerUp:z,onPointerCancel:z,children:[m.jsx(L,{position:"absolute",left:0,right:0,top:f*h,height:h,bgColor:l.colors.wheelSelectedBg,r:"sm",zIndex:0,pointerEvents:"none"}),m.jsx(L,{ref:x,position:"absolute",top:0,left:0,right:0,zIndex:1,transform:`translateY(${I()}px)`,transition:`${w?"none":"transform 0.2s ease-out"}`,children:H()})]})};function B3(e){const n=[];for(let i=0;i<60;i+=e)n.push(i.toString().padStart(2,"0"));return n}function Oi(e){const n=e>=12?"PM":"AM";let i=e%12;return i===0&&(i=12),{hours:i,period:n}}function Xo(e,n){return n==="AM"?e===12?0:e:e===12?12:e+12}function qt(e,n){if(!e)return"";const{hours:i,minutes:s}=e;if(n==="24h")return`${i.toString().padStart(2,"0")}:${s.toString().padStart(2,"0")}`;const{hours:a,period:l}=Oi(i);return`${a.toString().padStart(2,"0")}:${s.toString().padStart(2,"0")} ${l}`}function Za(e,n){if(!e||e.trim()==="")return null;if(n==="24h"){const d=e.match(/^(\d{1,2}):(\d{2})$/);if(!d)return null;const f=parseInt(d[1],10),h=parseInt(d[2],10);return f<0||f>23||h<0||h>59?null:{hours:f,minutes:h}}const i=e.match(/^(\d{1,2}):(\d{2})\s*(AM|PM)$/i);if(!i)return null;const s=parseInt(i[1],10),a=parseInt(i[2],10),l=i[3].toUpperCase();return s<1||s>12||a<0||a>59?null:{hours:Xo(s,l),minutes:a}}function H3(e,n){return Math.round(e/n)*n}function Af(e,n){return qt(e,n)}function Fl(e,n){return!e||!n?e===n:e.hours===n.hours&&e.minutes===n.minutes}function Tf(e){return e.hours*60+e.minutes}function Z3(e,n){if(!e||!n)return null;const i=Tf(e),s=Tf(n);return i<s?-1:i>s?1:0}function V3(e,n){if(!n)return 0;const i=e.findIndex(s=>Fl(s,n));return i>=0?i:0}const zi=({value:e,onChange:n,format:i,minuteStep:s,size:a,slots:l,markerValue:d,markerLabel:f})=>{const p=be().__hd__.timepicker,x=p.sizes[a],w=c.useMemo(()=>!l||l.length===0?null:l.map(j=>Af(j,i)),[l,i]),_=c.useCallback(()=>{if(!l||l.length===0)return"";const j=V3(l,e);return Af(l[j],i)},[l,e,i]),v=c.useCallback(j=>{if(!l||!w)return;const H=w.indexOf(j);H>=0&&H<l.length&&n(l[H])},[l,w,n]),C=i==="24h"?L3:j3,R=c.useMemo(()=>B3(s),[s]),k=c.useCallback(()=>{if(!e)return C[0];if(i==="24h")return e.hours.toString().padStart(2,"0");const{hours:j}=Oi(e.hours);return j.toString().padStart(2,"0")},[e,i,C]),T=c.useCallback(()=>e?e.minutes.toString().padStart(2,"0"):R[0],[e,R]),E=c.useCallback(()=>{if(!e)return"AM";const{period:j}=Oi(e.hours);return j},[e]),I=c.useCallback(j=>{const H=parseInt(j,10),oe=(e==null?void 0:e.minutes)??0;if(i==="24h")n({hours:H,minutes:oe});else{const te=e?Oi(e.hours).period:"AM",re=Xo(H,te);n({hours:re,minutes:oe})}},[e,i,n]),$=c.useCallback(j=>{const H=parseInt(j,10),oe=(e==null?void 0:e.hours)??0;n({hours:oe,minutes:H})},[e,n]),M=c.useCallback(j=>{if(!e){const te=Xo(12,j);n({hours:te,minutes:0});return}const{hours:H}=Oi(e.hours),oe=Xo(H,j);n({hours:oe,minutes:e.minutes})},[e,n]),z=()=>!d||!f?null:m.jsxs(L,{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"center",gap:"2xs",mb:"xs",py:"2xs",px:"xs",bgColor:"primary100",r:"sm",children:[m.jsx(Xe,{fontSize:"xs",color:"grey600",children:f}),m.jsx(Xe,{fontSize:"xs",fontWeight:"semibold",color:"primary",children:qt(d,i)})]});return w&&w.length>0?m.jsxs(L,{display:"flex",flexDirection:"column",alignItems:"center",children:[z(),m.jsx(L,{display:"flex",flexDirection:"row",alignItems:"center",children:m.jsx(Zo,{items:w,selectedValue:_(),onSelect:v,size:a})})]}):m.jsxs(L,{display:"flex",flexDirection:"column",alignItems:"center",children:[z(),m.jsxs(L,{display:"flex",flexDirection:"row",alignItems:"center",children:[m.jsx(Zo,{items:C,selectedValue:k(),onSelect:I,size:a}),m.jsx(L,{display:"flex",alignItems:"center",justifyContent:"center",px:"2xs",children:m.jsx(Xe,{fontSize:x.wheelFontSize,fontWeight:"semibold",color:p.colors.separatorColor,children:":"})}),m.jsx(Zo,{items:R,selectedValue:T(),onSelect:$,size:a}),i==="12h"&&m.jsxs(m.Fragment,{children:[m.jsx(L,{display:"flex",alignItems:"center",justifyContent:"center",px:"2xs"}),m.jsx(Zo,{items:D3,selectedValue:E(),onSelect:M,size:a})]})]})]})};function sl(e){return new Date(e.getFullYear(),e.getMonth(),1)}function N3(e){return new Date(e.getFullYear(),e.getMonth()+1,0)}function os(e,n){const i=new Date(e);return i.setMonth(i.getMonth()+n),i}function Ol(e,n){const i=new Date(e);return i.setDate(i.getDate()+n),i}function vr(e,n){return!e||!n?!1:e.getFullYear()===n.getFullYear()&&e.getMonth()===n.getMonth()&&e.getDate()===n.getDate()}function U3(e,n){return e.getFullYear()===n.getFullYear()&&e.getMonth()===n.getMonth()}function G3(e){return vr(e,new Date)}function S1(e,n){const i=new Date(e.getFullYear(),e.getMonth(),e.getDate()),s=new Date(n.getFullYear(),n.getMonth(),n.getDate());return i<s}function E1(e,n){const i=new Date(e.getFullYear(),e.getMonth(),e.getDate()),s=new Date(n.getFullYear(),n.getMonth(),n.getDate());return i>s}function q3(e,n){const i=sl(e),a=(i.getDay()-n+7)%7;return Ol(i,-a)}function K3(e,n){const i=q3(e,n),s=[];for(let a=0;a<42;a++)s.push(Ol(i,a));return s}function Y3(e,n,i="short"){const s=new Intl.DateTimeFormat(e,{weekday:i}),a=[],l=new Date(1970,0,4);for(let d=0;d<7;d++){const f=(n+d)%7,h=Ol(l,f);a.push(s.format(h).toUpperCase())}return a}function k1(e,n){var i,s,a;return n?!!(n.minDate&&S1(e,n.minDate)||n.maxDate&&E1(e,n.maxDate)||(i=n.disabledDaysOfWeek)!=null&&i.includes(e.getDay())||(s=n.disabledDates)!=null&&s.some(l=>vr(l,e))||(a=n.isDateDisabled)!=null&&a.call(n,e)):!1}function Rf(e,n,i){if(!i)return!1;if(n==="prev"&&i.minDate){const s=sl(e),a=os(s,-1),l=N3(a);return S1(l,i.minDate)}if(n==="next"&&i.maxDate){const s=sl(e),a=os(s,1);return E1(a,i.maxDate)}return!1}function If(e,n){return new Intl.DateTimeFormat(n,{month:"long"}).format(e)}function Vo(e){return e.getFullYear().toString()}function X3(e){const n=new Intl.DateTimeFormat(e,{month:"short"}),i=[];for(let s=0;s<12;s++){const a=new Date(2024,s,1);i.push(n.format(a))}return i}function Qo(e){const n=Math.floor(e/12)*12,i=[];for(let s=0;s<12;s++)i.push(n+s);return i}function No(e,n){const i=new Date(e);return i.setFullYear(i.getFullYear()+n),i}function Q3(e,n){return e?new Intl.DateTimeFormat(n,{month:"short",day:"numeric",year:"numeric"}).format(e):""}function J3(e,n="24h"){if(!e)return"";const{hours:i,minutes:s}=e;if(n==="24h")return`${i.toString().padStart(2,"0")}:${s.toString().padStart(2,"0")}`;const a=i>=12?"PM":"AM";return`${i%12||12}:${s.toString().padStart(2,"0")} ${a}`}function an(e,n,i,s,a="24h"){if(!e)return"";const l=e.getDate().toString().padStart(2,"0"),d=(e.getMonth()+1).toString().padStart(2,"0"),f=e.getFullYear(),h=`${l}/${d}/${f}`;if(s&&i){const p=J3(i,a);return`${h} ${p}`}return h}function Mf(e,n){if(!e||e.trim()==="")return null;const i=e.trim(),s=i.match(/^(.+?)\s+(\d{1,2}):(\d{2})$/);if(s){const[,d,f,h]=s,p=parseInt(f,10),x=parseInt(h,10);if(p>=0&&p<24&&x>=0&&x<60){const w=Va(d);if(w)return{date:w,time:{hours:p,minutes:x}}}}const a=i.match(/^(.+?)\s+(\d{1,2}):(\d{2})\s*(AM|PM|am|pm)$/i);if(a){const[,d,f,h,p]=a;let x=parseInt(f,10);const w=parseInt(h,10),_=p.toUpperCase()==="PM";if(_&&x!==12?x+=12:!_&&x===12&&(x=0),x>=0&&x<24&&w>=0&&w<60){const v=Va(d);if(v)return{date:v,time:{hours:x,minutes:w}}}}const l=Va(i);return l?{date:l,time:null}:null}function Va(e,n){const i=e.trim();if(/^\d{4}-\d{1,2}-\d{1,2}$/.test(i)){const[a,l,d]=i.split("-").map(Number),f=new Date(a,l-1,d);if(Ff(f,a,l-1,d))return f}const s=i.match(/^(\d{1,2})[/\-.](\d{1,2})[/\-.](\d{2,4})$/);if(s){const[,a,l,d]=s,f=parseInt(a,10),h=parseInt(l,10)-1;let p=parseInt(d,10);p<100&&(p+=p<50?2e3:1900);const x=new Date(p,h,f);if(Ff(x,p,h,f))return x}return null}function Ff(e,n,i,s){return e instanceof Date&&!isNaN(e.getTime())&&e.getFullYear()===n&&e.getMonth()===i&&e.getDate()===s}function e4(e){try{const n=new Date,a=new Intl.DateTimeFormat("en-US",{timeZone:e,timeZoneName:"shortOffset"}).formatToParts(n).find(l=>l.type==="timeZoneName");return(a==null?void 0:a.value)??""}catch{return""}}function t4(e){const n=e.split("/");if(n.length===1)return n[0].replace(/_/g," ");const i=n[0],s=n.slice(1).join(" - ").replace(/_/g," ");return`${i} - ${s}`}function n4(e){try{const n=new Date,i=new Date(n.toLocaleString("en-US",{timeZone:"UTC"}));return(new Date(n.toLocaleString("en-US",{timeZone:e})).getTime()-i.getTime())/6e4}catch{return 0}}function r4(){var e;try{const n=(e=Intl.supportedValuesOf)==null?void 0:e.call(Intl,"timeZone");return n?n.map(i=>{const s=e4(i),a=n4(i);return{value:i,label:`${t4(i)} (${s})`,offset:s,abbreviation:s,_offsetMinutes:a}}).sort((i,s)=>i._offsetMinutes-s._offsetMinutes).map(({_offsetMinutes:i,...s})=>s):[]}catch{return[]}}function i4(e,n,i,s){if(!i||!s||i===s)return{date:e,time:n};try{const a=e.getFullYear(),l=e.getMonth(),d=e.getDate(),f=new Date(Date.UTC(a,l,d,n.hours,n.minutes,0)),h=new Intl.DateTimeFormat("en-CA",{timeZone:i,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",hour12:!1}),p=(H,oe)=>{var te;return parseInt(((te=H.find(re=>re.type===oe))==null?void 0:te.value)??"0",10)},x=h.formatToParts(f),w=p(x,"hour"),_=p(x,"minute"),v=n.hours*60+n.minutes,C=w*60+_,R=v-C,k=new Date(f.getTime()+R*60*1e3),E=new Intl.DateTimeFormat("en-CA",{timeZone:s,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",hour12:!1}).formatToParts(k),I=p(E,"year"),$=p(E,"month")-1,M=p(E,"day"),z=p(E,"hour"),j=p(E,"minute");return{date:new Date(I,$,M),time:{hours:z,minutes:j}}}catch{return{date:e,time:n}}}function o4(e,n){if(!e.date||!e.time||!n)return e;const i=i4(e.date,e.time,e.timezone,n);return{date:i.date,time:i.time,timezone:n}}function s4(e,n){return n?e.map(i=>o4(i,n)):e}function a4(e){const n=new Map;for(const i of e)if(i.date){const s=`${i.date.getFullYear()}-${i.date.getMonth()}-${i.date.getDate()}`;n.has(s)||n.set(s,i.date)}return Array.from(n.values())}function al(e,n){if(!n)return[];const i=[];for(const s of e)s.date&&s.time&&vr(s.date,n)&&i.push(s.time);return i.sort((s,a)=>{const l=s.hours*60+s.minutes,d=a.hours*60+a.minutes;return l-d})}function $1(e,n){return e.some(i=>i.date&&vr(i.date,n))}function l4(e){const n=new Map;for(const i of e)if(i.time){const s=`${i.time.hours}:${i.time.minutes}`;n.has(s)||n.set(s,i.time)}return Array.from(n.values()).sort((i,s)=>{const a=i.hours*60+i.minutes,l=s.hours*60+s.minutes;return a-l})}function A1(e,n){return{...n,isDateDisabled:i=>{var s;return(s=n==null?void 0:n.isDateDisabled)!=null&&s.call(n,i)?!0:!$1(e,i)}}}function Of(e){if(!e.date)return 0;const n=e.date,i=e.time??{hours:0,minutes:0};return new Date(n.getFullYear(),n.getMonth(),n.getDate(),i.hours,i.minutes).getTime()}function c4(e,n){if(!(e!=null&&e.date)||!(n!=null&&n.date))return null;const i=Of(e),s=Of(n);return i<s?-1:i>s?1:0}let Na=null;const u4=()=>(Na||(Na=r4()),Na);u4();const d4="en-US",f4=1,h4=ue.div`
|
|
790
|
+
display: flex;
|
|
791
|
+
align-items: center;
|
|
792
|
+
justify-content: center;
|
|
793
|
+
user-select: none;
|
|
794
|
+
transition: background-color 0.15s ease, color 0.15s ease;
|
|
795
|
+
|
|
796
|
+
${({theme:e,$isSelected:n,$isToday:i,$isDisabled:s,$isOutsideMonth:a,$isRangeMarker:l,$size:d,$fontSize:f})=>{const h=e.__hd__.text;let p="transparent",x=e.colors.grey900,w=h.fontWeights.medium,_="none";s||a?x=e.colors.grey400:n?(p=e.colors.primary,x=e.colors.white,w=h.fontWeights.semibold):l?(p=e.colors.primary100,x=e.colors.primary,w=h.fontWeights.semibold):i&&(_=`1px solid ${e.colors.primary}`);const v=s||a?"default":"pointer",C=s?.5:1;return`
|
|
797
|
+
width: ${d}px;
|
|
798
|
+
height: ${d}px;
|
|
799
|
+
border-radius: ${e.radii.sm}px;
|
|
800
|
+
background-color: ${p};
|
|
801
|
+
color: ${x};
|
|
802
|
+
cursor: ${v};
|
|
803
|
+
opacity: ${C};
|
|
804
|
+
font-weight: ${w};
|
|
805
|
+
font-size: ${f}px;
|
|
806
|
+
border: ${_};
|
|
807
|
+
|
|
808
|
+
&:hover {
|
|
809
|
+
${!n&&!s&&!a?`
|
|
810
|
+
background-color: ${e.colors.primary100};
|
|
811
|
+
`:""}
|
|
812
|
+
}
|
|
813
|
+
`}}
|
|
814
|
+
`,T1=ue.div`
|
|
815
|
+
display: flex;
|
|
816
|
+
align-items: center;
|
|
817
|
+
justify-content: center;
|
|
818
|
+
width: 100%;
|
|
819
|
+
user-select: none;
|
|
820
|
+
transition: background-color 0.15s ease, color 0.15s ease;
|
|
821
|
+
|
|
822
|
+
${({theme:e,$isSelected:n,$isDisabled:i,$isCurrent:s,$height:a,$fontSize:l})=>{const d=e.__hd__.text;let f="transparent",h=e.colors.grey900,p=d.fontWeights.medium,x="none";i?h=e.colors.grey400:n?(f=e.colors.primary,h=e.colors.white,p=d.fontWeights.semibold):s&&(x=`1px solid ${e.colors.primary}`);const w=i?"default":"pointer",_=i?.4:1;return`
|
|
823
|
+
height: ${a}px;
|
|
824
|
+
border-radius: ${e.radii.sm}px;
|
|
825
|
+
background-color: ${f};
|
|
826
|
+
color: ${h};
|
|
827
|
+
cursor: ${w};
|
|
828
|
+
opacity: ${_};
|
|
829
|
+
font-weight: ${p};
|
|
830
|
+
font-size: ${l}px;
|
|
831
|
+
border: ${x};
|
|
832
|
+
|
|
833
|
+
&:hover {
|
|
834
|
+
${!n&&!i?`
|
|
835
|
+
background-color: ${e.colors.primary100};
|
|
836
|
+
`:""}
|
|
837
|
+
}
|
|
838
|
+
`}}
|
|
839
|
+
`,p4=ue.div`
|
|
840
|
+
display: flex;
|
|
841
|
+
flex-direction: row;
|
|
842
|
+
align-items: center;
|
|
843
|
+
overflow: hidden;
|
|
844
|
+
|
|
845
|
+
${({theme:e,$isFocused:n,$isDisabled:i,$error:s})=>{const a=e.__hd__.input;let l=e.colors[a.states.default.borderColor],d=a.states.default.boxShadow;s?(l=e.colors[a.states.error.borderColor],d=a.states.error.boxShadow):i?l=e.colors[a.states.disabled.borderColor]:n&&(l=e.colors[a.states.focused.borderColor],d=a.states.focused.boxShadow);const f=e.spaces[a.padding.vertical],h=e.spaces[a.padding.horizontal],p=e.radii[a.borderRadius],x=e.borderWidths[a.borderWidth];return`
|
|
846
|
+
padding: ${f}px ${h}px;
|
|
847
|
+
border-radius: ${p}px;
|
|
848
|
+
border: ${x}px solid ${l};
|
|
849
|
+
box-shadow: ${d};
|
|
850
|
+
background-color: ${i?e.colors[a.states.disabled.backgroundColor]:e.colors[a.states.default.backgroundColor]};
|
|
851
|
+
opacity: ${i?.7:1};
|
|
852
|
+
transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
|
|
853
|
+
`}}
|
|
854
|
+
`,zf=ue.input`
|
|
855
|
+
flex: 1;
|
|
856
|
+
min-width: 0;
|
|
857
|
+
border: none;
|
|
858
|
+
background: transparent;
|
|
859
|
+
outline: none;
|
|
860
|
+
text-align: center;
|
|
861
|
+
font-size: ${({theme:e})=>`${e.__hd__.text.fontSizes[e.__hd__.input.fontSize||"medium"]}px`};
|
|
862
|
+
color: ${({theme:e})=>e.colors[e.__hd__.input.textColor||"grey900"]};
|
|
863
|
+
|
|
864
|
+
&::placeholder {
|
|
865
|
+
color: ${({theme:e})=>e.colors[e.__hd__.input.placeholderColor||"grey500"]};
|
|
866
|
+
}
|
|
867
|
+
|
|
868
|
+
&:disabled {
|
|
869
|
+
color: ${({theme:e})=>e.colors[e.__hd__.input.disabledTextColor||"grey500"]};
|
|
870
|
+
cursor: not-allowed;
|
|
871
|
+
}
|
|
872
|
+
`,g4=({date:e,currentMonth:n,selectedDate:i,rangeMarkerDate:s,disabled:a,dateConfig:l,sizeConfig:d,locale:f,onDateClick:h})=>{const p=be(),x=!U3(e,n),w=vr(e,i),_=!w&&vr(e,s??null),v=G3(e),C=k1(e,l)||a,R=!C&&!x,k=()=>{R&&h(e)};return m.jsx(h4,{$isSelected:w,$isToday:v&&!w&&!_,$isDisabled:C||!!a,$isOutsideMonth:x,$isRangeMarker:_,$size:p.spaces[d.dateCellSize],$fontSize:p.__hd__.text.fontSizes[d.dateFontSize],onClick:k,role:"gridcell","aria-label":new Intl.DateTimeFormat(f,{weekday:"long",year:"numeric",month:"long",day:"numeric"}).format(e),"aria-selected":w,"aria-disabled":!R,children:e.getDate()})},m4=({currentMonth:e,selectedDate:n,onDateClick:i,dateConfig:s,weekStartDay:a,locale:l,size:d,disabled:f,rangeMarkerDate:h})=>{const p=Y3(l,a,"short"),x=K3(e,a),w=be(),_=w.__hd__.datepicker,v=_.sizes[d];return m.jsxs(m.Fragment,{children:[m.jsx(L,{display:"grid",gap:v.cellGap,mb:"xs",style:{gridTemplateColumns:"repeat(7, 1fr)"},children:p.map((C,R)=>m.jsx(L,{display:"flex",alignItems:"center",justifyContent:"center",height:w.spaces[v.dateCellSize],children:m.jsx(Xe,{fontSize:v.weekdayFontSize,fontWeight:"medium",color:_.colors.weekdayText,children:C})},`weekday-${R}`))}),m.jsx(L,{display:"grid",gap:v.cellGap,style:{gridTemplateColumns:"repeat(7, 1fr)"},children:x.map((C,R)=>m.jsx(g4,{date:C,currentMonth:e,selectedDate:n,rangeMarkerDate:h,disabled:f,dateConfig:s,sizeConfig:v,locale:l,onDateClick:i},`date-${R}`))})]})},y4=ue.div`
|
|
873
|
+
&:hover > * > * {
|
|
874
|
+
color: ${({theme:e})=>e.colors.primary} !important;
|
|
875
|
+
}
|
|
876
|
+
`,Ua=({onClick:e,text:n,ariaLabel:i,fontSize:s,fontWeight:a,color:l})=>m.jsx(y4,{children:m.jsx(kt,{onClick:e,cursor:"pointer","aria-label":i,children:m.jsx(Xe,{fontSize:s,fontWeight:a,color:l,children:n})})}),b4=Sn`
|
|
877
|
+
from {
|
|
878
|
+
transform: translateX(-100%);
|
|
879
|
+
opacity: 0;
|
|
880
|
+
}
|
|
881
|
+
to {
|
|
882
|
+
transform: translateX(0);
|
|
883
|
+
opacity: 1;
|
|
884
|
+
}
|
|
885
|
+
`,x4=Sn`
|
|
886
|
+
from {
|
|
887
|
+
transform: translateX(100%);
|
|
888
|
+
opacity: 0;
|
|
889
|
+
}
|
|
890
|
+
to {
|
|
891
|
+
transform: translateX(0);
|
|
892
|
+
opacity: 1;
|
|
893
|
+
}
|
|
894
|
+
`,v4=ue(L)`
|
|
895
|
+
${({$direction:e,$duration:n,$easing:i})=>e==="prev"?lt`animation: ${b4} ${n}ms ${i};`:e==="next"?lt`animation: ${x4} ${n}ms ${i};`:""}
|
|
896
|
+
will-change: transform, opacity;
|
|
897
|
+
`,w4=({currentMonth:e,onPrevMonth:n,onNextMonth:i,locale:s,size:a,disabled:l,dateConfig:d,viewMode:f,onMonthClick:h,onYearClick:p})=>{const x=be(),w=x.__hd__.datepicker,_=w.sizes[a],[v,C]=c.useState(null),[R,k]=c.useState(0),T=()=>{C("prev"),k(z=>z+1),n()},E=()=>{C("next"),k(z=>z+1),i()},I=l||(f==="days"?Rf(e,"prev",d):f==="months"?d!=null&&d.minDate?e.getFullYear()-1<d.minDate.getFullYear():!1:f==="years"&&d!=null&&d.minDate?Qo(e.getFullYear())[0]-12<d.minDate.getFullYear():!1),$=l||(f==="days"?Rf(e,"next",d):f==="months"?d!=null&&d.maxDate?e.getFullYear()+1>d.maxDate.getFullYear():!1:f==="years"&&d!=null&&d.maxDate?Qo(e.getFullYear())[11]+1>d.maxDate.getFullYear():!1),M=()=>{if(f==="days")return m.jsxs(L,{display:"flex",flexDirection:"row",alignItems:"center",gap:"xs",children:[m.jsx(Ua,{onClick:h,text:If(e,s),ariaLabel:`Select month, currently ${If(e,s)}`,fontSize:_.headerFontSize,fontWeight:_.headerFontWeight,color:"grey900"}),m.jsx(Ua,{onClick:p,text:Vo(e),ariaLabel:`Select year, currently ${Vo(e)}`,fontSize:_.headerFontSize,fontWeight:_.headerFontWeight,color:"grey900"})]});if(f==="months")return m.jsx(Ua,{onClick:p,text:Vo(e),ariaLabel:`Select year, currently ${Vo(e)}`,fontSize:_.headerFontSize,fontWeight:_.headerFontWeight,color:"grey900"});if(f==="years"){const z=Qo(e.getFullYear());return m.jsxs(Xe,{as:"span",fontSize:_.headerFontSize,fontWeight:_.headerFontWeight,color:w.colors.headerText,children:[z[0]," - ",z[11]]})}return null};return m.jsxs(L,{display:"flex",flexDirection:"row",alignItems:"center",justifyContent:"space-between",height:x.spaces[_.headerHeight],children:[m.jsx(Qr,{onClick:I?void 0:T,variant:"text",size:a,color:"grey900",icon:cs,disabled:I,"aria-label":f==="days"?"Previous month":f==="months"?"Previous year":"Previous decade"}),m.jsx(v4,{$direction:v,$duration:w.animation.duration,$easing:w.animation.easing,display:"flex",flexDirection:"row",alignItems:"center",gap:"xs",onAnimationEnd:()=>C(null),children:M()},R),m.jsx(Qr,{onClick:$?void 0:E,variant:"text",size:a,color:"grey900",icon:ei,disabled:$,"aria-label":f==="days"?"Next month":f==="months"?"Next year":"Next decade"})]})},_4=({currentYear:e,selectedMonth:n,selectedYear:i,onSelect:s,locale:a,size:l,dateConfig:d,disabled:f})=>{const h=X3(a),p=k=>{if(f)return!0;if(!d)return!1;const T=new Date(e,k,1),E=new Date(e,k+1,0);return!!(d.minDate&&E<d.minDate||d.maxDate&&T>d.maxDate)},x=k=>n===k&&i===e,w=k=>{const T=new Date;return e===T.getFullYear()&&k===T.getMonth()},_=be(),v=_.__hd__.datepicker,C=_.__hd__.text,R=v.sizes[l];return m.jsx(L,{display:"grid",gap:R.cellGap,width:R.viewWidth,minHeight:R.viewHeight,alignItems:"center",justifyContent:"center",style:{gridTemplateColumns:"repeat(4, 1fr)"},children:h.map((k,T)=>{const E=x(T),I=p(T),$=w(T)&&!E;return m.jsx(T1,{$isSelected:E,$isDisabled:I,$isCurrent:$,$height:_.spaces[R.dateCellSize],$fontSize:C.fontSizes[R.dateFontSize],onClick:I?void 0:()=>s(T),role:"option","aria-label":`Select ${k}`,"aria-selected":E,"aria-disabled":I,children:k},T)})})},C4=({currentYear:e,selectedYear:n,onSelect:i,size:s,dateConfig:a,disabled:l})=>{const d=be(),f=d.__hd__.datepicker,h=d.__hd__.text,p=f.sizes[s],x=Qo(e),w=new Date().getFullYear(),_=v=>{if(l)return!0;if(!a)return!1;const C=new Date(v,0,1),R=new Date(v,11,31);return!!(a.minDate&&R<a.minDate||a.maxDate&&C>a.maxDate)};return m.jsx(L,{display:"grid",gap:p.cellGap,width:p.viewWidth,minHeight:p.viewHeight,alignItems:"center",justifyContent:"center",style:{gridTemplateColumns:"repeat(4, 1fr)"},children:x.map(v=>{const C=n===v,R=_(v),k=v===w&&!C;return m.jsx(T1,{$isSelected:C,$isDisabled:R,$isCurrent:k,$height:d.spaces[p.dateCellSize],$fontSize:h.fontSizes[p.dateFontSize],onClick:R?void 0:()=>i(v),role:"option","aria-label":`Select ${v}`,"aria-selected":C,"aria-disabled":R,children:v},v)})})},Lf=({currentMonth:e,selectedDate:n,onDateSelect:i,onMonthChange:s,dateConfig:a,weekStartDay:l,locale:d,size:f,disabled:h,rangeMarkerDate:p})=>{const[x,w]=c.useState("days"),_=c.useCallback(()=>{x==="days"?s(os(e,-1)):x==="months"?s(No(e,-1)):x==="years"&&s(No(e,-12))},[e,s,x]),v=c.useCallback(()=>{x==="days"?s(os(e,1)):x==="months"?s(No(e,1)):x==="years"&&s(No(e,12))},[e,s,x]),C=c.useCallback(()=>{w("months")},[]),R=c.useCallback(()=>{w("years")},[]),k=c.useCallback(H=>{const oe=new Date(e.getFullYear(),H,1);s(oe),w("days")},[e,s]),T=c.useCallback(H=>{const oe=new Date(H,e.getMonth(),1);s(oe),w("months")},[e,s]),E=c.useCallback(()=>{const H=new Date;s(H),i(H)},[s,i]),I=c.useMemo(()=>h||k1(new Date,a),[a,h]),$=()=>x==="months"?m.jsx(_4,{currentYear:e.getFullYear(),selectedMonth:(n==null?void 0:n.getMonth())??null,selectedYear:(n==null?void 0:n.getFullYear())??null,onSelect:k,locale:d,size:f,dateConfig:a,disabled:h}):x==="years"?m.jsx(C4,{currentYear:e.getFullYear(),selectedYear:(n==null?void 0:n.getFullYear())??null,onSelect:T,size:f,dateConfig:a,disabled:h}):m.jsxs(L,{width:j.viewWidth,minHeight:j.viewHeight,children:[m.jsx(m4,{currentMonth:e,selectedDate:n,onDateClick:i,dateConfig:a,weekStartDay:l,locale:d,size:f,disabled:h,rangeMarkerDate:p}),m.jsx(L,{display:"flex",justifyContent:"center",pt:"md",bt:"thin",borderTopColor:"grey200",children:m.jsx(Qr,{variant:"text",color:"primary",size:f,text:"Today",disabled:I,onClick:E})})]}),z=be().__hd__.datepicker,j=z.sizes[f];return m.jsxs(L,{display:"flex",flexDirection:"column",gap:"md",minWidth:z.calendar.panelMinWidth,children:[m.jsx(w4,{currentMonth:e,onPrevMonth:_,onNextMonth:v,locale:d,size:f,disabled:h,dateConfig:a,viewMode:x,onMonthClick:C,onYearClick:R}),$()]})},ll=c.forwardRef(({value:e,onChange:n,onFocus:i,onBlur:s,onEnterPress:a,onClear:l,placeholder:d="Select a date",label:f,helperText:h,error:p,disabled:x,hasValue:w},_)=>{const v=c.useRef(null);c.useEffect(()=>{typeof _=="function"?_(v.current):_&&(_.current=v.current)},[_]);const C=c.useCallback(E=>{var I;E.key==="Enter"&&(a==null||a(),(I=v.current)==null||I.blur())},[a]),R=c.useCallback(E=>{n(E)},[n]),k=c.useCallback(()=>{i()},[i]),T=c.useCallback(()=>{l==null||l()},[l]);return m.jsx(Rl,{ref:v,value:e,onChange:R,onBlur:s,onKeyDown:C,onFocus:k,placeholder:d,disabled:x,label:f,helperText:h,error:p,rightIcon:w?void 0:vl,clearable:w,onClear:T})});ll.displayName="DatePickerInput";const Ga=({isOpen:e,anchorRef:n,onClose:i,children:s,size:a,isFixedPosition:l=!1})=>{const d=be(),f=d.__hd__.datepicker,h=c.useRef(null),p=d.spaces[f.popup.offset];$l({anchorRef:n,popupRef:h,offsetValue:p,isOpen:e,useFixedPosition:l});const x=c.useCallback(v=>{v.target===v.currentTarget&&i()},[i]),w=c.useCallback(v=>{v.preventDefault()},[]);if(c.useEffect(()=>{if(!e)return;const v=C=>{(C.key==="Escape"||C.key==="Tab")&&i()};return document.addEventListener("keydown",v),()=>document.removeEventListener("keydown",v)},[e,i]),!e||typeof document>"u")return null;const _=m.jsxs(m.Fragment,{children:[m.jsx(L,{position:"fixed",top:0,left:0,right:0,bottom:0,zIndex:f.popup.zIndex-1,onClick:x}),m.jsx(L,{ref:h,position:"absolute",zIndex:f.popup.zIndex,role:"dialog","aria-modal":"true",onMouseDown:w,children:s})]});return l?jf.createPortal(_,document.body):_},R1=c.forwardRef(({startValue:e,endValue:n,onStartChange:i,onEndChange:s,onStartFocus:a,onEndFocus:l,onStartBlur:d,onEndBlur:f,onStartEnterPress:h,onEndEnterPress:p,onClear:x,hasValue:w,disabled:_,error:v,startPlaceholder:C="Start date",endPlaceholder:R="End date"},k)=>{const T=c.useRef(null),E=c.useRef(null),[I,$]=c.useState(!1),M=be(),z=M.__hd__.input,j=xt(M,z.iconSize),H=_?z.disabledTextColor:z.iconColor;c.useImperativeHandle(k,()=>({focusStart:()=>{var K;return(K=T.current)==null?void 0:K.focus()},focusEnd:()=>{var K;return(K=E.current)==null?void 0:K.focus()},blurStart:()=>{var K;return(K=T.current)==null?void 0:K.blur()},blurEnd:()=>{var K;return(K=E.current)==null?void 0:K.blur()}}));const oe=c.useCallback(()=>{$(!0),a()},[a]),te=c.useCallback(()=>{$(!0),l()},[l]),re=c.useCallback(()=>{$(!1),d==null||d()},[d]),B=c.useCallback(()=>{$(!1),f==null||f()},[f]),W=c.useCallback(K=>{var ne;K.key==="Enter"&&(h==null||h(),(ne=T.current)==null||ne.blur())},[h]),P=c.useCallback(K=>{var ne;K.key==="Enter"&&(p==null||p(),(ne=E.current)==null||ne.blur())},[p]),le=c.useCallback(K=>{K.stopPropagation(),x==null||x()},[x]);return m.jsxs(p4,{$isFocused:I,$isDisabled:!!_,$error:!!v,children:[m.jsx(zf,{ref:T,value:e,onChange:K=>i(K.target.value),onFocus:oe,onBlur:re,onKeyDown:W,disabled:_,placeholder:C}),m.jsx(L,{display:"flex",alignItems:"center",justifyContent:"center",px:"xs",children:m.jsx(gt,{type:"icon",art:xl,size:16,color:"grey400"})}),m.jsx(zf,{ref:E,value:n,onChange:K=>s(K.target.value),onFocus:te,onBlur:B,onKeyDown:P,disabled:_,placeholder:R}),m.jsx(L,{ml:"xs",pl:"xs",children:w?m.jsx(kt,{onClick:le,children:m.jsx(L,{ml:z.iconSpacing,children:m.jsx(gt,{type:"icon",art:us,size:j,color:H})})}):m.jsx(L,{ml:z.iconSpacing,children:m.jsx(gt,{type:"icon",art:vl,size:j,color:H})})})]})});R1.displayName="DatePickerRangeInput";function qa({value:e,onChange:n,onClose:i,open:s,onOpenChange:a,defaultMonth:l,defaultTimezone:d,disabled:f,showTime:h}){const[p,x]=c.useState(!1),w=s??p,[_,v]=c.useState((e==null?void 0:e.date)??null),[C,R]=c.useState((e==null?void 0:e.time)??null),[k,T]=c.useState((e==null?void 0:e.timezone)??d??null),[E,I]=c.useState((e==null?void 0:e.date)??l??new Date),$=c.useRef(null),M=c.useRef(null),z=c.useRef(!1),j=c.useRef(_),H=c.useRef(C),oe=c.useRef(k);j.current=_,H.current=C,oe.current=k,c.useEffect(()=>{if(z.current){z.current=!1;return}e&&(e.date!==void 0&&(v(e.date),e.date&&I(e.date)),e.time!==void 0&&R(e.time),e.timezone&&T(e.timezone))},[e]);const te=c.useCallback(()=>{if(!f){if(!_){const de=new Date;de.setHours(0,0,0,0),v(de),I(de)}if(h&&!C){const de=new Date;R({hours:de.getHours(),minutes:de.getMinutes()})}x(!0),a==null||a(!0)}},[f,a,_,C,h]),re=c.useCallback(()=>{x(!1),a==null||a(!1);const de=j.current,De=H.current,Ze=oe.current;if(de){const Ee={date:de,time:h?De:void 0,timezone:Ze};n==null||n(Ee)}i==null||i()},[a,i,n,h]),B=c.useCallback(()=>{f||(w?re():te())},[f,w,re,te]),W=c.useCallback(de=>{z.current=!0,v(de),de&&I(de)},[]),P=c.useCallback(de=>{z.current=!0,R(de)},[]),le=c.useCallback(de=>{z.current=!0,v(de);const De={date:de,time:h?C:void 0,timezone:k};n==null||n(De)},[k,C,h,n]),K=c.useCallback(de=>{z.current=!0,R(de);const De={date:_,time:de,timezone:k};n==null||n(De)},[_,k,n]),ne=c.useCallback(de=>{T(de);const De={date:_,time:h?C:void 0,timezone:de};n==null||n(De)},[_,C,h,n]),ie=c.useCallback(de=>{I(de)},[]),we=c.useCallback(()=>{v((e==null?void 0:e.date)??null),R((e==null?void 0:e.time)??null),T((e==null?void 0:e.timezone)??d??null),I((e==null?void 0:e.date)??l??new Date)},[e,d,l]),pe=c.useCallback(()=>({date:_,time:h?C:void 0,timezone:k}),[_,C,k,h]),Se=c.useCallback(()=>{var de;(de=M.current)==null||de.focus()},[]),$e=c.useCallback(de=>{x(de),de||(a==null||a(!1),i==null||i())},[a,i]);return{isOpen:w,selectedDate:_,selectedTime:C,selectedTimezone:k,currentMonth:E,containerRef:$,inputRef:M,handleOpen:te,handleClose:re,setIsOpen:$e,handleToggle:B,handleDateSelect:le,setSelectedDatePreview:W,handleTimeSelect:K,setSelectedTimePreview:P,handleTimezoneChange:ne,handleMonthChange:ie,reset:we,getValue:pe,focus:Se}}const I1=c.forwardRef(({value:e,onChange:n,onClose:i,range:s=!1,startValue:a,endValue:l,onStartChange:d,onEndChange:f,mode:h="inline",showInlineInput:p=!1,open:x,onOpenChange:w,dateConfig:_,disablePastDates:v=!1,defaultMonth:C,weekStartDay:R=f4,locale:k=d4,showTime:T=!1,timeFormat:E="24h",minuteStep:I=1,timeSlots:$,slots:M,size:z,variant:j,label:H,helperText:oe,error:te,disabled:re=!1,loading:B=!1,isFixedPosition:W=!1,...P},le)=>{const ne=be().__hd__.datepicker,ie=z??ne.defaultSize,we=j??ne.defaultVariant,pe=Intl.DateTimeFormat().resolvedOptions().timeZone,Se=qa({value:e,onChange:n,onClose:i,open:x,onOpenChange:w,defaultMonth:C,defaultTimezone:pe,disabled:re,showTime:T}),$e=qa({value:a,onChange:d,onClose:i,defaultMonth:C,defaultTimezone:pe,disabled:re,showTime:T}),de=qa({value:l,onChange:f,onClose:i,defaultMonth:C,defaultTimezone:pe,disabled:re,showTime:T}),{isOpen:De,selectedDate:Ze,selectedTime:Ee,currentMonth:st,containerRef:ye,handleOpen:Te,handleClose:Fe,handleToggle:ke,handleDateSelect:ee,setSelectedDatePreview:he,setSelectedTimePreview:N,handleMonthChange:se,reset:ge,getValue:Ae,focus:Be}=Se,Oe=c.useMemo(()=>!M||M.length===0?M:s4(M,pe),[M,pe]),tt=c.useMemo(()=>{let xe=_;if(v){const vt=new Date;vt.setHours(0,0,0,0),xe={...xe,minDate:xe!=null&&xe.minDate&&xe.minDate>vt?xe.minDate:vt}}return Oe&&Oe.length>0&&(xe=A1(Oe,xe)),xe},[v,_,Oe]),nt=c.useRef(null),it=c.useRef(null),ae=c.useRef(null),Ge=c.useRef(null),Pe=c.useRef(ee),Ue=c.useRef(se),Qe=c.useRef(N),ct=c.useRef(null);ae.current=Ze,Ge.current=Ee,Pe.current=ee,Ue.current=se,Qe.current=N;const cn=c.useRef(!1),[un,Yt]=c.useState(()=>an(Ze,k,Ee,T,E));c.useEffect(()=>{if(cn.current)return;if(ct.current==="input"){ct.current=null;return}const xe=(e==null?void 0:e.date)??null,vt=(e==null?void 0:e.time)??null,At=an(xe,k,vt,T,E);Yt(At),ct.current="calendar"},[e==null?void 0:e.date,e==null?void 0:e.time,k,T,E]),c.useEffect(()=>{if(ct.current==="calendar"){ct.current=null;return}const xe=Mf(un);if(xe&&((!ae.current||!vr(xe.date,ae.current))&&(Pe.current(xe.date),Ue.current(xe.date)),T&&xe.time)){const At=Ge.current;(!At||At.hours!==xe.time.hours||At.minutes!==xe.time.minutes)&&Qe.current(xe.time)}},[un,k,T]);const _r=c.useCallback(xe=>{cn.current=!0,ct.current="input",Yt(xe)},[]),Wn=c.useCallback(()=>{if(cn.current=!1,ct.current=null,De)return;if(!un.trim()){ee(null),Yt("");return}const xe=Mf(un);xe?(ee(xe.date),se(xe.date),xe.time&&T&&N(xe.time),Yt(an(xe.date,k,xe.time??Ee,T,E))):Yt(Ze?an(Ze,k,Ee,T,E):"")},[un,k,Ze,Ee,De,T,E,ee,se,N]),ri=c.useCallback(()=>{ke()},[ke]),Cr=c.useCallback(()=>{he(null),Yt(""),n==null||n({date:null,timezone:pe})},[he,n,pe]),ii=c.useCallback(xe=>{he(xe);let vt=Ee;if(xe&&Oe&&Oe.length>0){const At=al(Oe,xe);At.length>0&&(Ee&&At.some(Ni=>Ni.hours===Ee.hours&&Ni.minutes===Ee.minutes)||(vt=At[0],N(vt)))}Yt(xe?an(xe,k,vt,T,E):"")},[he,N,k,Ee,T,E,Oe]);c.useImperativeHandle(le,()=>({open:Te,close:Fe,reset:ge,getValue:Ae,focus:Be}),[Te,Fe,ge,Ae,Be]);const Sr=c.useMemo(()=>Oe&&Oe.length>0?Ze?al(Oe,Ze):void 0:$,[Oe,Ze,$]),ys=T&&(!Oe||Oe.length===0||Ze!==null),bs=c.useCallback(xe=>{N(xe),Ze&&Yt(an(Ze,k,xe,T,E))},[N,Ze,k,T,E]),Zi=()=>m.jsxs(L,{display:"flex",flexDirection:"row",alignItems:"center",gap:ne.sizes[ie].panelGap,children:[m.jsx(Lf,{currentMonth:st,selectedDate:Ze,onDateSelect:ii,onMonthChange:se,dateConfig:tt,weekStartDay:R,locale:k,size:ie,disabled:re||B}),ys&&m.jsx(zi,{value:Ee,onChange:bs,format:E,minuteStep:I,size:ie,slots:Sr})]}),$t=ne.sizes[ie],dn=ne.variants[we],xs=c.useRef(null),oi=c.useRef(null),[si,nr]=c.useState(()=>an((a==null?void 0:a.date)??null,k,(a==null?void 0:a.time)??null,T,E)),[Er,rr]=c.useState(()=>an((l==null?void 0:l.date)??null,k,(l==null?void 0:l.time)??null,T,E));c.useEffect(()=>{s&&nr(an((a==null?void 0:a.date)??null,k,(a==null?void 0:a.time)??null,T,E))},[s,a==null?void 0:a.date,a==null?void 0:a.time,k,T,E]),c.useEffect(()=>{s&&rr(an((l==null?void 0:l.date)??null,k,(l==null?void 0:l.time)??null,T,E))},[s,l==null?void 0:l.date,l==null?void 0:l.time,k,T,E]);const Vi=(xe,vt,At)=>m.jsxs(L,{display:"flex",flexDirection:"row",alignItems:"center",gap:ne.sizes[ie].panelGap,children:[m.jsx(Lf,{currentMonth:xe.currentMonth,selectedDate:xe.selectedDate,onDateSelect:bn=>{xe.setSelectedDatePreview(bn),vt(bn?an(bn,k,xe.selectedTime,T,E):"")},onMonthChange:xe.handleMonthChange,dateConfig:tt,weekStartDay:R,locale:k,size:ie,disabled:re||B,rangeMarkerDate:At}),T&&xe.selectedDate&&m.jsx(zi,{value:xe.selectedTime,onChange:bn=>{xe.setSelectedTimePreview(bn),xe.selectedDate&&vt(an(xe.selectedDate,k,bn,T,E))},format:E,minuteStep:I,size:ie,slots:Sr})]}),ai=c.useRef(!1);return c.useEffect(()=>{if(!s||$e.isOpen||de.isOpen)return;if(ai.current){ai.current=!1;return}if(c4(a,l)===1){ai.current=!0,d==null||d(l),f==null||f(a);const vt=si;nr(Er),rr(vt)}},[s,a,l,$e.isOpen,de.isOpen,d,f,si,Er]),s?m.jsxs(L,{position:"relative",...P,children:[H&&m.jsx(L,{mb:"xs",children:m.jsx(Xe,{fontWeight:"medium",children:H})}),m.jsx(L,{ref:oi,children:m.jsx(R1,{ref:xs,startValue:si,endValue:Er,onStartChange:nr,onEndChange:rr,onStartFocus:()=>{$e.handleOpen(),de.setIsOpen(!1)},onEndFocus:()=>{de.handleOpen(),$e.setIsOpen(!1)},onStartBlur:()=>{},onEndBlur:()=>{},onClear:()=>{$e.reset(),de.reset(),nr(""),rr("")},hasValue:!!(a!=null&&a.date)||!!(l!=null&&l.date),disabled:re||B,error:!!te})}),(te||oe)&&m.jsx(L,{mt:"xs",children:m.jsx(Xe,{fontSize:"xs",color:te?"danger":"grey600",children:te||oe})}),m.jsx(Ga,{isOpen:$e.isOpen,anchorRef:oi,onClose:$e.handleClose,size:ie,isFixedPosition:W,children:m.jsx(L,{display:"flex",flexDirection:"column",p:$t.containerPadding,gap:$t.panelGap,bgColor:dn.container.backgroundColor,b:$t.borderWidth,borderColor:dn.container.borderColor,r:ne.borderRadii.container,children:Vi($e,nr,l==null?void 0:l.date)})}),m.jsx(Ga,{isOpen:de.isOpen,anchorRef:oi,onClose:de.handleClose,size:ie,isFixedPosition:W,children:m.jsx(L,{display:"flex",flexDirection:"column",p:$t.containerPadding,gap:$t.panelGap,bgColor:dn.container.backgroundColor,b:$t.borderWidth,borderColor:dn.container.borderColor,r:ne.borderRadii.container,children:Vi(de,rr,a==null?void 0:a.date)})})]}):h==="inline"?m.jsx(L,{ref:ye,position:"relative",...P,children:m.jsxs(L,{display:"flex",flexDirection:"column",p:$t.containerPadding,gap:$t.panelGap,bgColor:dn.container.backgroundColor,b:$t.borderWidth,borderColor:dn.container.borderColor,r:ne.borderRadii.container,children:[p&&m.jsx(ll,{ref:nt,value:un,onChange:_r,onFocus:()=>{},onBlur:Wn,onEnterPress:Wn,disabled:re||B,hasValue:!!Ze,onClear:Cr}),Zi()]})}):m.jsxs(L,{ref:ye,position:"relative",...P,children:[m.jsx(L,{ref:it,position:"relative",children:m.jsx(ll,{ref:nt,value:un,onChange:_r,onFocus:ri,onBlur:Wn,onEnterPress:Wn,onClear:Cr,label:H,helperText:oe,error:te,disabled:re||B,hasValue:!!Ze})}),m.jsx(Ga,{isOpen:De,anchorRef:it,onClose:Fe,size:ie,isFixedPosition:W,children:m.jsx(L,{display:"flex",flexDirection:"column",p:$t.containerPadding,gap:$t.panelGap,bgColor:dn.container.backgroundColor,b:$t.borderWidth,borderColor:dn.container.borderColor,r:ne.borderRadii.container,children:Zi()})})]})});I1.displayName="DatePicker";function Uo(e,n){return{hours:e.hours,minutes:H3(e.minutes,n)}}function Ka(e,n){if(n.length===0)return null;const i=n.find(d=>Fl(d,e));if(i)return i;const s=e.hours*60+e.minutes;let a=n[0],l=Math.abs(n[0].hours*60+n[0].minutes-s);for(const d of n){const f=d.hours*60+d.minutes,h=Math.abs(f-s);h<l&&(l=h,a=d)}return a}function Ya({value:e,onChange:n,format:i,minuteStep:s=1,slots:a}){const[l,d]=c.useState(!1),[f,h]=c.useState(null),[p,x]=c.useState(()=>e?qt(e,i):""),w=c.useRef(!1),_=c.useRef(!1);c.useEffect(()=>{w.current||x(e?qt(e,i):"")},[e,i]),c.useEffect(()=>{const $=l&&!_.current;if(_.current=l,$){if(e)h(e);else{const M=new Date;let z={hours:M.getHours(),minutes:M.getMinutes()};a&&a.length>0?z=Ka(z,a)??a[0]:z=Uo(z,s),h(z)}w.current=!0}else l||(w.current=!1)},[l,e,s,a]);const v=c.useCallback(()=>{d(!0)},[]),C=c.useCallback(()=>{d(!1),f?(n==null||n(f),x(qt(f,i))):x(e?qt(e,i):"")},[f,n,i,e]),R=c.useCallback(()=>{h(null),x(""),n==null||n(null)},[n]),k=c.useCallback($=>{x($);const M=Za($,i);if(M){let z=M;a&&a.length>0?z=a.find(H=>Fl(H,M))??null:z=Uo(M,s),z&&h(z)}},[i,s,a]),T=c.useCallback($=>{h($),x(qt($,i))},[i]),E=c.useCallback(()=>{if(!l){const $=Za(p,i);if($){let M=$;a&&a.length>0?M=Ka($,a):M=Uo($,s),M?(n==null||n(M),x(qt(M,i))):x(e?qt(e,i):"")}else x(e?qt(e,i):"")}},[l,p,i,n,e,s,a]),I=c.useCallback(()=>{const $=Za(p,i);if($){let M=$;a&&a.length>0?M=Ka($,a):M=Uo($,s),M?(h(M),n==null||n(M),x(qt(M,i))):x(e?qt(e,i):"")}else x(e?qt(e,i):"");d(!1)},[p,i,n,e,s,a]);return{isOpen:l,setIsOpen:d,inputValue:p,setInputValue:x,editingValue:f,setEditingValue:h,handleOpen:v,handleClose:C,handleClear:R,handleInputChange:k,handleWheelChange:T,handleInputBlur:E,handleEnterPress:I}}const M1=c.forwardRef(({value:e,onChange:n,onFocus:i,onBlur:s,onEnterPress:a,onClear:l,label:d,helperText:f,error:h,disabled:p,hasValue:x,placeholder:w="Select a time"},_)=>{const v=c.useRef(null);c.useEffect(()=>{typeof _=="function"?_(v.current):_&&(_.current=v.current)},[_]);const C=c.useCallback(E=>{var I;E.key==="Enter"&&(a==null||a(),(I=v.current)==null||I.blur())},[a]),R=c.useCallback(E=>{n(E)},[n]),k=c.useCallback(()=>{i()},[i]),T=c.useCallback(()=>{l==null||l()},[l]);return m.jsx(Rl,{ref:v,value:e,onChange:R,onBlur:s,onKeyDown:C,onFocus:k,disabled:p,label:d,helperText:f,error:h,placeholder:w,rightIcon:x?void 0:_l,clearable:x,onClear:T})});M1.displayName="TimePickerInput";const Xa=({isOpen:e,anchorRef:n,onClose:i,children:s,size:a,isFixedPosition:l=!1})=>{const d=be(),f=d.__hd__.timepicker,h=c.useRef(null),p=d.spaces[f.popup.offset];$l({anchorRef:n,popupRef:h,offsetValue:p,isOpen:e,useFixedPosition:l});const x=c.useCallback(_=>{_.target===_.currentTarget&&i()},[i]);if(c.useEffect(()=>{if(!e)return;const _=v=>{(v.key==="Escape"||v.key==="Tab")&&i()};return document.addEventListener("keydown",_),()=>document.removeEventListener("keydown",_)},[e,i]),!e||typeof document>"u")return null;const w=m.jsxs(m.Fragment,{children:[m.jsx(L,{position:"fixed",top:0,left:0,right:0,bottom:0,zIndex:f.popup.zIndex-1,onClick:x}),m.jsx(L,{ref:h,position:"absolute",display:"flex",flexDirection:"row",zIndex:f.popup.zIndex,p:f.sizes[a].popupPadding,bgColor:f.colors.wheelBg,r:f.borderRadii.popup,borderWidth:"thin",borderColor:"grey200",role:"dialog","aria-modal":"true",children:s})]});return l?jf.createPortal(w,document.body):w},F1=c.forwardRef(({startValue:e,endValue:n,onStartChange:i,onEndChange:s,onStartFocus:a,onEndFocus:l,onStartBlur:d,onEndBlur:f,onStartEnterPress:h,onEndEnterPress:p,onClear:x,hasValue:w,disabled:_,error:v},C)=>{const R=c.useRef(null),k=c.useRef(null),[T,E]=c.useState(!1),I=be(),$=I.__hd__.input,M=xt(I,$.iconSize),z=_?$.disabledTextColor:$.iconColor;c.useImperativeHandle(C,()=>({focusStart:()=>{var P;return(P=R.current)==null?void 0:P.focus()},focusEnd:()=>{var P;return(P=k.current)==null?void 0:P.focus()},blurStart:()=>{var P;return(P=R.current)==null?void 0:P.blur()},blurEnd:()=>{var P;return(P=k.current)==null?void 0:P.blur()}}));const j=c.useCallback(()=>{E(!0),a()},[a]),H=c.useCallback(()=>{E(!0),l()},[l]),oe=c.useCallback(()=>{E(!1),d==null||d()},[d]),te=c.useCallback(()=>{E(!1),f==null||f()},[f]),re=c.useCallback(P=>{var le;P.key==="Enter"&&(h==null||h(),(le=R.current)==null||le.blur())},[h]),B=c.useCallback(P=>{var le;P.key==="Enter"&&(p==null||p(),(le=k.current)==null||le.blur())},[p]),W=c.useCallback(P=>{P.stopPropagation(),x==null||x()},[x]);return m.jsxs(W3,{$isFocused:T,$isDisabled:!!_,$error:!!v,children:[m.jsx($f,{ref:R,value:e,onChange:P=>i(P.target.value),onFocus:j,onBlur:oe,onKeyDown:re,disabled:_,placeholder:"--:--"}),m.jsx(L,{display:"flex",alignItems:"center",justifyContent:"center",px:"xs",children:m.jsx(gt,{type:"icon",art:xl,size:16,color:"grey400"})}),m.jsx($f,{ref:k,value:n,onChange:P=>s(P.target.value),onFocus:H,onBlur:te,onKeyDown:B,disabled:_,placeholder:"--:--"}),m.jsx(L,{ml:"xs",pl:"xs",children:w?m.jsx(kt,{onClick:W,children:m.jsx(L,{ml:$.iconSpacing,children:m.jsx(gt,{type:"icon",art:us,size:M,color:z})})}):m.jsx(L,{ml:$.iconSpacing,children:m.jsx(gt,{type:"icon",art:_l,size:M,color:z})})})]})});F1.displayName="TimePickerRangeInput";const S4=({value:e,onChange:n,range:i=!1,startValue:s,endValue:a,onStartChange:l,onEndChange:d,format:f=O3,minuteStep:h=z3,slots:p,size:x=F3,disabled:w=!1,label:_,helperText:v,error:C,isFixedPosition:R=!1,...k},T)=>{const E=c.useRef(null),I=c.useRef(null),$=Ya({value:e??null,onChange:n,format:f,minuteStep:h,slots:p}),M=Ya({value:s??null,onChange:l,format:f,minuteStep:h,slots:p}),z=Ya({value:a??null,onChange:d,format:f,minuteStep:h,slots:p});c.useImperativeHandle(T,()=>({open:()=>{i?M.setIsOpen(!0):$.setIsOpen(!0)},close:()=>{i?(M.setIsOpen(!1),z.setIsOpen(!1)):$.setIsOpen(!1)},reset:()=>{i?(M.handleClear(),z.handleClear()):$.handleClear()},getValue:()=>i?s??null:e??null,focus:()=>{var re;(re=E.current)==null||re.focus()}}));const j=c.useCallback(re=>{$.handleWheelChange(re)},[$]),H=c.useCallback(re=>{M.handleWheelChange(re)},[M]),oe=c.useCallback(re=>{z.handleWheelChange(re)},[z]),te=c.useRef(!1);return c.useEffect(()=>{if(!i||M.isOpen||z.isOpen)return;if(te.current){te.current=!1;return}Z3(s,a)===1&&(te.current=!0,l==null||l(a),d==null||d(s))},[i,s,a,M.isOpen,z.isOpen,l,d]),i?m.jsxs(L,{...k,position:"relative",children:[_&&m.jsx(L,{mb:"xs",children:m.jsx(Xe,{fontWeight:"medium",children:_})}),m.jsx(L,{ref:I,children:m.jsx(F1,{startValue:M.inputValue,endValue:z.inputValue,onStartChange:M.handleInputChange,onEndChange:z.handleInputChange,onStartFocus:M.handleOpen,onEndFocus:z.handleOpen,onStartBlur:M.handleInputBlur,onEndBlur:z.handleInputBlur,onStartEnterPress:M.handleEnterPress,onEndEnterPress:z.handleEnterPress,onClear:()=>{M.handleClear(),z.handleClear()},hasValue:M.inputValue!==""||z.inputValue!=="",disabled:w,error:!!C})}),(C||v)&&m.jsx(L,{mt:"xs",children:m.jsx(Xe,{fontSize:"xs",color:C?"danger":"grey600",children:C||v})}),m.jsx(Xa,{isOpen:M.isOpen,anchorRef:I,onClose:M.handleClose,size:x,isFixedPosition:R,children:m.jsx(zi,{value:M.editingValue,onChange:H,format:f,minuteStep:h,size:x,slots:p,markerValue:a,markerLabel:a?"End:":void 0})}),m.jsx(Xa,{isOpen:z.isOpen,anchorRef:I,onClose:z.handleClose,size:x,isFixedPosition:R,children:m.jsx(zi,{value:z.editingValue,onChange:oe,format:f,minuteStep:h,size:x,slots:p,markerValue:s,markerLabel:s?"Start:":void 0})})]}):m.jsxs(L,{...k,position:"relative",children:[m.jsx(L,{ref:I,children:m.jsx(M1,{ref:E,value:$.inputValue,onChange:$.handleInputChange,onFocus:$.handleOpen,onBlur:$.handleInputBlur,onEnterPress:$.handleEnterPress,onClear:$.handleClear,label:_,helperText:v,error:C,disabled:w,hasValue:$.inputValue!==""})}),m.jsx(Xa,{isOpen:$.isOpen,anchorRef:I,onClose:$.handleClose,size:x,isFixedPosition:R,children:m.jsx(zi,{value:$.editingValue,onChange:j,format:f,minuteStep:h,size:x,slots:p})})]})},E4=c.forwardRef(S4);exports.AIC_Kits_StackingLayers=yn;exports.Accordion=Ow;exports.Art=gt;exports.Avatar=G0;exports.BarChart=d3;exports.Base=Mv;exports.Box=L;exports.Brand=M0;exports.Button=Qr;exports.Carousel=Rw;exports.Checkbox=Dw;exports.DEFAULT_VIMEO_CONFIG=bw;exports.DatePicker=I1;exports.Divider=t1;exports.Emoji=F0;exports.Grid=_1;exports.Header=a1;exports.HeaderAuth=r1;exports.HeaderLogo=i1;exports.HeaderNav=o1;exports.HeaderSearch=s1;exports.Icon=bl;exports.Image=N0;exports.Input=Rl;exports.LineChart=M3;exports.List=Dv;exports.Loading=Al;exports.Modal=n3;exports.NormalizedBrowserName=J0;exports.NormalizedDeviceType=Q0;exports.NormalizedOSName=e1;exports.Pagination=Kw;exports.PaginationItem=C1;exports.PieChart=_3;exports.Progress=e3;exports.RESPONSIVE_BREAKPOINTS=Bi;exports.RESPONSIVE_BREAKPOINT_KEYS=Li;exports.SUPPORTED_RICH_TEXT_TAGS=V0;exports.Select=Bw;exports.SelectDropdownItem=x1;exports.SelectInputDisplay=v1;exports.Skeleton=Hi;exports.StyledBox=$0;exports.Svg=U0;exports.Tag=jw;exports.Text=Xe;exports.ThemeProvider=$b;exports.TimePicker=E4;exports.Tooltip=r3;exports.Touchable=kt;exports.VIMEO_HOST=xw;exports.Vimeo=vw;exports.accordionTheme=Zf;exports.artTheme=Vf;exports.avatarTheme=Nf;exports.barChartTheme=Uf;exports.baseTheme=Gf;exports.buttonTheme=qf;exports.carouselTheme=Kf;exports.checkboxTheme=Yf;exports.configKeys=E0;exports.createSlotsDateConfig=A1;exports.css=lt;exports.cssPropsKey=w0;exports.customBoxPropsConfig=_0;exports.customBoxPropsKey=yl;exports.dateHasSlots=$1;exports.datepickerTheme=Xf;exports.defaultColorPalette=ss;exports.defaultGradientColorPalette=Wf;exports.defaultScale=Pn;exports.defaultTheme=Go;exports.dividerTheme=Qf;exports.formatDateTimeForInput=Q3;exports.genBoxStyle=k0;exports.generateResponsiveStyles=Jr;exports.getAllUniqueTimeSlots=l4;exports.getBorderWidths=cl;exports.getComponentsTheme=p0;exports.getDatesFromSlots=a4;exports.getFontSizes=as;exports.getFontWeights=gl;exports.getFonts=hl;exports.getGlobalTheme=yb;exports.getLineHeights=pl;exports.getPaginationTheme=i0;exports.getRadii=ul;exports.getResponsiveValue=b0;exports.getSelectStyles=w1;exports.getShadows=Bf;exports.getSizeValue=xt;exports.getSizes=dl;exports.getSpaces=fl;exports.getTextColor=ps;exports.getTheme=g0;exports.getThemeValue=C0;exports.getTimeSlotsForDate=al;exports.headerTheme=Jf;exports.inferResponsiveValues=y0;exports.inputTheme=e0;exports.isBorderWidth=ib;exports.isColor=Pf;exports.isEmoji=A0;exports.isFontSize=pb;exports.isFontWeight=gb;exports.isGradientColor=ob;exports.isIcon=T0;exports.isImage=R0;exports.isRadius=Df;exports.isResponsiveValue=ls;exports.isSSR=Ct;exports.isShadow=hb;exports.isSize=yr;exports.isSpace=Hf;exports.isSvg=I0;exports.keyframes=Sn;exports.lineChartTheme=t0;exports.listTheme=n0;exports.loadingTheme=r0;exports.mapStylePropToThemeValue=S0;exports.parseUserAgent=il;exports.pieChartTheme=o0;exports.populateResponsiveValue=ml;exports.progressTheme=s0;exports.reduceResponsiveValue=x0;exports.selectTheme=a0;exports.shouldForwardProp=m0;exports.skeletonTheme=l0;exports.styled=ue;exports.tagTheme=c0;exports.timepickerTheme=u0;exports.tooltipTheme=d0;exports.touchableTheme=f0;exports.transformResponsiveValue=Kt;exports.transposeObject=Qa;exports.useEventListener=Ja;exports.useHover=ds;exports.useInteractionDetector=Cl;exports.useIsomorphicLayoutEffect=br;exports.useMediaQuery=Q6;exports.usePopupPosition=$l;exports.useResponsiveBreakpoint=ti;exports.useSelectState=b1;exports.useTheme=be;exports.useUserAgent=mv;exports.useWindowDimensions=q0;exports.vimeoTheme=h0;exports.zIndexRegistry=wr;
|