@lanaco/lnc-react-ui 3.11.35 → 4.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -3
- package/dist/Accordion.cjs +6 -0
- package/dist/Accordion.js +65 -0
- package/dist/AccordionDetails.cjs +7 -0
- package/dist/AccordionDetails.js +32 -0
- package/dist/AccordionSummary.cjs +12 -0
- package/dist/AccordionSummary.js +78 -0
- package/dist/ActionsToolbar.cjs +19 -0
- package/dist/ActionsToolbar.js +225 -0
- package/dist/Alert.cjs +40 -0
- package/dist/Alert.js +138 -0
- package/dist/Avatar.cjs +16 -0
- package/dist/Avatar.js +114 -0
- package/dist/Badge.cjs +17 -0
- package/dist/Badge.js +70 -0
- package/dist/Breadcrumbs.cjs +8 -0
- package/dist/Breadcrumbs.js +131 -0
- package/dist/Button.cjs +127 -0
- package/dist/Button.js +542 -0
- package/dist/ButtonGroup.cjs +44 -0
- package/dist/ButtonGroup.js +112 -0
- package/dist/CheckBoxInput.cjs +118 -0
- package/dist/CheckBoxInput.js +348 -0
- package/dist/Chip.cjs +27 -0
- package/dist/Chip.js +189 -0
- package/dist/ColorInput.cjs +60 -0
- package/dist/ColorInput.js +256 -0
- package/dist/ConfirmationForm.cjs +22 -0
- package/dist/ConfirmationForm.js +169 -0
- package/dist/Content.cjs +1 -0
- package/dist/Content.js +18 -0
- package/dist/CustomStyles-CqlCjTgU.cjs +8 -0
- package/dist/CustomStyles-nfD3J1mi.js +2881 -0
- package/dist/DataView.cjs +1 -0
- package/dist/DataView.js +62 -0
- package/dist/DateInput.cjs +296 -0
- package/dist/DateInput.js +7042 -0
- package/dist/DecimalInput.cjs +54 -0
- package/dist/DecimalInput.js +697 -0
- package/dist/DetailsView.cjs +18 -0
- package/dist/DetailsView.js +243 -0
- package/dist/DoubleRangeSlider.cjs +114 -0
- package/dist/DoubleRangeSlider.js +289 -0
- package/dist/DragAndDropFile.cjs +31 -0
- package/dist/DragAndDropFile.js +2331 -0
- package/dist/DragDropFiles.cjs +14 -0
- package/dist/DragDropFiles.js +175 -0
- package/dist/Drawer.cjs +6 -0
- package/dist/Drawer.js +206 -0
- package/dist/Dropdown.cjs +1 -0
- package/dist/Dropdown.js +266 -0
- package/dist/DropdownItem.cjs +36 -0
- package/dist/DropdownItem.js +241 -0
- package/dist/DropdownLookup.cjs +1 -0
- package/dist/DropdownLookup.js +325 -0
- package/dist/DropdownMenu-B6qr13ik.cjs +19 -0
- package/dist/DropdownMenu-DZi3TJ8Q.js +1547 -0
- package/dist/DropdownMenu.cjs +1 -0
- package/dist/DropdownMenu.js +12 -0
- package/dist/EditableTable.cjs +21 -0
- package/dist/EditableTable.js +462 -0
- package/dist/FileInput.cjs +47 -0
- package/dist/FileInput.js +206 -0
- package/dist/FlexBox.cjs +9 -0
- package/dist/FlexBox.js +97 -0
- package/dist/FlexGrid.cjs +1 -0
- package/dist/FlexGrid.js +78 -0
- package/dist/FlexGridItem.cjs +7 -0
- package/dist/FlexGridItem.js +97 -0
- package/dist/Footer.cjs +1 -0
- package/dist/Footer.js +18 -0
- package/dist/FormField.cjs +11 -0
- package/dist/FormField.js +65 -0
- package/dist/FormView.cjs +13 -0
- package/dist/FormView.js +354 -0
- package/dist/Grid.cjs +13 -0
- package/dist/Grid.js +62 -0
- package/dist/GridItem.cjs +15 -0
- package/dist/GridItem.js +72 -0
- package/dist/Header.cjs +1 -0
- package/dist/Header.js +18 -0
- package/dist/Icon.cjs +8 -0
- package/dist/Icon.js +59 -0
- package/dist/IconButton.cjs +122 -0
- package/dist/IconButton.js +481 -0
- package/dist/Kanban.cjs +85 -0
- package/dist/Kanban.js +4793 -0
- package/dist/KanbanActionsToolbar.cjs +19 -0
- package/dist/KanbanActionsToolbar.js +152 -0
- package/dist/KanbanCard-ConTmu3w.cjs +30 -0
- package/dist/KanbanCard-D9OhU8C6.js +175 -0
- package/dist/KanbanCard.cjs +1 -0
- package/dist/KanbanCard.js +12 -0
- package/dist/KanbanFooter.cjs +5 -0
- package/dist/KanbanFooter.js +84 -0
- package/dist/KanbanHeader.cjs +15 -0
- package/dist/KanbanHeader.js +127 -0
- package/dist/KanbanView.cjs +8 -0
- package/dist/KanbanView.js +255 -0
- package/dist/Link.cjs +15 -0
- package/dist/Link.js +62 -0
- package/dist/MenuItem.cjs +36 -0
- package/dist/MenuItem.js +230 -0
- package/dist/Modal.cjs +84 -0
- package/dist/Modal.js +372 -0
- package/dist/MultiSelectDropdown.cjs +1 -0
- package/dist/MultiSelectDropdown.js +261 -0
- package/dist/MultiSelectDropdownLookup.cjs +1 -0
- package/dist/MultiSelectDropdownLookup.js +274 -0
- package/dist/NestedDropdownItem.cjs +6 -0
- package/dist/NestedDropdownItem.js +102 -0
- package/dist/NestedMenuItem.cjs +6 -0
- package/dist/NestedMenuItem.js +115 -0
- package/dist/Notification.cjs +83 -0
- package/dist/Notification.js +1079 -0
- package/dist/NumberInput.cjs +45 -0
- package/dist/NumberInput.js +241 -0
- package/dist/PageLayout.cjs +26 -0
- package/dist/PageLayout.js +92 -0
- package/dist/PasswordInput.cjs +47 -0
- package/dist/PasswordInput.js +230 -0
- package/dist/ProgressBar.cjs +22 -0
- package/dist/ProgressBar.js +92 -0
- package/dist/RadioGroup.cjs +7 -0
- package/dist/RadioGroup.js +104 -0
- package/dist/RadioInput.cjs +117 -0
- package/dist/RadioInput.js +362 -0
- package/dist/RangeSlider.cjs +72 -0
- package/dist/RangeSlider.js +253 -0
- package/dist/SearchBar.cjs +100 -0
- package/dist/SearchBar.js +994 -0
- package/dist/Separator.cjs +6 -0
- package/dist/Separator.js +37 -0
- package/dist/Sidebar.cjs +39 -0
- package/dist/Sidebar.js +123 -0
- package/dist/Spinner.cjs +38 -0
- package/dist/Spinner.js +114 -0
- package/dist/Surface.cjs +7 -0
- package/dist/Surface.js +60 -0
- package/dist/SwipeableDrawer.cjs +33 -0
- package/dist/SwipeableDrawer.js +213 -0
- package/dist/Table.cjs +170 -0
- package/dist/Table.js +1408 -0
- package/dist/TableView-Cj5_fbSR.js +481 -0
- package/dist/TableView-D8ex512p.cjs +19 -0
- package/dist/TableView.cjs +1 -0
- package/dist/TableView.js +11 -0
- package/dist/Tabs.cjs +7 -0
- package/dist/Tabs.js +72 -0
- package/dist/TextAreaInput.cjs +33 -0
- package/dist/TextAreaInput.js +320 -0
- package/dist/TextInput.cjs +45 -0
- package/dist/TextInput.js +227 -0
- package/dist/ThemeProvider.cjs +113 -0
- package/dist/ThemeProvider.js +1340 -0
- package/dist/TimeInput.cjs +31 -0
- package/dist/TimeInput.js +133 -0
- package/dist/Toggle.cjs +151 -0
- package/dist/Toggle.js +421 -0
- package/dist/TreeMenu.cjs +15 -0
- package/dist/TreeMenu.js +108 -0
- package/dist/TreeMenuSeparator.cjs +6 -0
- package/dist/TreeMenuSeparator.js +40 -0
- package/dist/UploadedFile.cjs +39 -0
- package/dist/UploadedFile.js +192 -0
- package/dist/defineProperty-BHpTtkhC.js +110 -0
- package/dist/defineProperty-DHvxLH8G.cjs +1 -0
- package/dist/emotion-element-5486c51c.browser.esm-CSejtOeT.js +886 -0
- package/dist/emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs +1 -0
- package/dist/emotion-is-prop-valid.esm-BzFBwmJz.js +10 -0
- package/dist/emotion-is-prop-valid.esm-CMrshNb7.cjs +1 -0
- package/dist/emotion-react.browser.esm-DQBL7Wls.cjs +1 -0
- package/dist/emotion-react.browser.esm-OWM-uG8Q.js +94 -0
- package/dist/emotion-styled.browser.esm-BZSYYThs.js +210 -0
- package/dist/emotion-styled.browser.esm-Cbp_XsK4.cjs +1 -0
- package/dist/floating-ui.dom-1F2mTXOe.cjs +1 -0
- package/dist/floating-ui.dom-BdUovkEr.js +938 -0
- package/dist/hoist-non-react-statics.cjs-B8r9S_ak.cjs +15 -0
- package/dist/hoist-non-react-statics.cjs-Drf1aBlk.js +235 -0
- package/dist/index-BLQWNy78.js +109 -0
- package/dist/index-BP5r5zGN.cjs +1 -0
- package/dist/index-B_da1uvD.js +451 -0
- package/dist/index-BjdOz5Ok.cjs +1 -0
- package/dist/index-BklgDeu4.js +42 -0
- package/dist/index-C29T0m2a.cjs +174 -0
- package/dist/index-CZJEA84h.js +19069 -0
- package/dist/index-Cdkz-XH-.js +127 -0
- package/dist/index-D5vEbKUT.js +81 -0
- package/dist/index-DXnSjbfJ.cjs +20 -0
- package/dist/index-Ds9PUTwb.js +667 -0
- package/dist/index-Dzkd2i4n.cjs +1 -0
- package/dist/index-IO9v6o0I.cjs +5 -0
- package/dist/index-P-naJISQ.cjs +1 -0
- package/dist/index.cjs +26 -0
- package/dist/index.js +378 -0
- package/dist/motion-CtkUpWEn.js +3785 -0
- package/dist/motion-Oud-wpUz.cjs +1 -0
- package/dist/objectWithoutPropertiesLoose-Bz3hwpmU.cjs +1 -0
- package/dist/objectWithoutPropertiesLoose-DwEN6RBQ.js +12 -0
- package/dist/setPrototypeOf-4aSEnBDm.cjs +1 -0
- package/dist/setPrototypeOf-a891FLQJ.js +13 -0
- package/dist/style.css +5 -0
- package/dist/tslib.es6-ZNVz5r_T.js +90 -0
- package/dist/tslib.es6-fPwcSa2V.cjs +1 -0
- package/dist/use-isomorphic-layout-effect.browser.esm-CkGv31zs.cjs +1 -0
- package/dist/use-isomorphic-layout-effect.browser.esm-DERp5kr6.js +5 -0
- package/dist/useUpdateEffect-BtMgpgIV.cjs +1 -0
- package/dist/useUpdateEffect-CuYWz7EA.js +15 -0
- package/dist/utils-DEke8iwo.js +10196 -0
- package/dist/utils-hdRGTsQ7.cjs +13 -0
- package/eslint.config.js +38 -0
- package/package.json +137 -58
- package/vite.config.js +135 -0
- package/jest.config.js +0 -7
- package/lib/index.esm.js +0 -84028
- package/lib/index.js +0 -84165
- package/rc1 +0 -0
- package/test/jest/__mocks__/styleMock.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const ee=require("react");function _e(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const n=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,n.get?n:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const k=_e(ee);var Ne=!1;function Me(e){if(e.sheet)return e.sheet;for(var r=0;r<document.styleSheets.length;r++)if(document.styleSheets[r].ownerNode===e)return document.styleSheets[r]}function Ie(e){var r=document.createElement("style");return r.setAttribute("data-emotion",e.key),e.nonce!==void 0&&r.setAttribute("nonce",e.nonce),r.appendChild(document.createTextNode("")),r.setAttribute("data-s",""),r}var We=function(){function e(t){var n=this;this._insertTag=function(a){var i;n.tags.length===0?n.insertionPoint?i=n.insertionPoint.nextSibling:n.prepend?i=n.container.firstChild:i=n.before:i=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(a,i),n.tags.push(a)},this.isSpeedy=t.speedy===void 0?!Ne:t.speedy,this.tags=[],this.ctr=0,this.nonce=t.nonce,this.key=t.key,this.container=t.container,this.prepend=t.prepend,this.insertionPoint=t.insertionPoint,this.before=null}var r=e.prototype;return r.hydrate=function(n){n.forEach(this._insertTag)},r.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Ie(this));var a=this.tags[this.tags.length-1];if(this.isSpeedy){var i=Me(a);try{i.insertRule(n,i.cssRules.length)}catch{}}else a.appendChild(document.createTextNode(n));this.ctr++},r.flush=function(){this.tags.forEach(function(n){var a;return(a=n.parentNode)==null?void 0:a.removeChild(n)}),this.tags=[],this.ctr=0},e}(),w="-ms-",Y="-moz-",o="-webkit-",ve="comm",ae="rule",ie="decl",ze="@import",be="@keyframes",De="@layer",Fe=Math.abs,Z=String.fromCharCode,Le=Object.assign;function je(e,r){return g(e,0)^45?(((r<<2^g(e,0))<<2^g(e,1))<<2^g(e,2))<<2^g(e,3):0}function ge(e){return e.trim()}function Ge(e,r){return(e=r.exec(e))?e[0]:e}function f(e,r,t){return e.replace(r,t)}function re(e,r){return e.indexOf(r)}function g(e,r){return e.charCodeAt(r)|0}function D(e,r,t){return e.slice(r,t)}function A(e){return e.length}function se(e){return e.length}function q(e,r){return r.push(e),e}function Ve(e,r){return e.map(r).join("")}var J=1,I=1,ye=0,C=0,b=0,W="";function Q(e,r,t,n,a,i,s){return{value:e,root:r,parent:t,type:n,props:a,children:i,line:J,column:I,length:s,return:""}}function z(e,r){return Le(Q("",null,null,"",null,null,0),e,{length:-e.length},r)}function qe(){return b}function Be(){return b=C>0?g(W,--C):0,I--,b===10&&(I=1,J--),b}function S(){return b=C<ye?g(W,C++):0,I++,b===10&&(I=1,J++),b}function P(){return g(W,C)}function B(){return C}function G(e,r){return D(W,e,r)}function F(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function we(e){return J=I=1,ye=A(W=e),C=0,[]}function xe(e){return W="",e}function H(e){return ge(G(C-1,te(e===91?e+2:e===40?e+1:e)))}function He(e){for(;(b=P())&&b<33;)S();return F(e)>2||F(b)>3?"":" "}function Ke(e,r){for(;--r&&S()&&!(b<48||b>102||b>57&&b<65||b>70&&b<97););return G(e,B()+(r<6&&P()==32&&S()==32))}function te(e){for(;S();)switch(b){case e:return C;case 34:case 39:e!==34&&e!==39&&te(b);break;case 40:e===41&&te(e);break;case 92:S();break}return C}function Ye(e,r){for(;S()&&e+b!==57;)if(e+b===84&&P()===47)break;return"/*"+G(r,C-1)+"*"+Z(e===47?e:S())}function Ue(e){for(;!F(P());)S();return G(e,C)}function Ze(e){return xe(K("",null,null,null,[""],e=we(e),0,[0],e))}function K(e,r,t,n,a,i,s,c,u){for(var h=0,l=0,p=s,R=0,_=0,E=0,m=1,x=1,v=1,y=0,$="",V=a,N=i,O=n,d=$;x;)switch(E=y,y=S()){case 40:if(E!=108&&g(d,p-1)==58){re(d+=f(H(y),"&","&\f"),"&\f")!=-1&&(v=-1);break}case 34:case 39:case 91:d+=H(y);break;case 9:case 10:case 13:case 32:d+=He(E);break;case 92:d+=Ke(B()-1,7);continue;case 47:switch(P()){case 42:case 47:q(Je(Ye(S(),B()),r,t),u);break;default:d+="/"}break;case 123*m:c[h++]=A(d)*v;case 125*m:case 59:case 0:switch(y){case 0:case 125:x=0;case 59+l:v==-1&&(d=f(d,/\f/g,"")),_>0&&A(d)-p&&q(_>32?ue(d+";",n,t,p-1):ue(f(d," ","")+";",n,t,p-2),u);break;case 59:d+=";";default:if(q(O=fe(d,r,t,h,l,a,c,$,V=[],N=[],p),i),y===123)if(l===0)K(d,r,O,O,V,i,p,c,N);else switch(R===99&&g(d,3)===110?100:R){case 100:case 108:case 109:case 115:K(e,O,O,n&&q(fe(e,O,O,0,0,a,c,$,a,V=[],p),N),a,N,p,c,n?V:N);break;default:K(d,O,O,O,[""],N,0,c,N)}}h=l=_=0,m=v=1,$=d="",p=s;break;case 58:p=1+A(d),_=E;default:if(m<1){if(y==123)--m;else if(y==125&&m++==0&&Be()==125)continue}switch(d+=Z(y),y*m){case 38:v=l>0?1:(d+="\f",-1);break;case 44:c[h++]=(A(d)-1)*v,v=1;break;case 64:P()===45&&(d+=H(S())),R=P(),l=p=A($=d+=Ue(B())),y++;break;case 45:E===45&&A(d)==2&&(m=0)}}return i}function fe(e,r,t,n,a,i,s,c,u,h,l){for(var p=a-1,R=a===0?i:[""],_=se(R),E=0,m=0,x=0;E<n;++E)for(var v=0,y=D(e,p+1,p=Fe(m=s[E])),$=e;v<_;++v)($=ge(m>0?R[v]+" "+y:f(y,/&\f/g,R[v])))&&(u[x++]=$);return Q(e,r,t,a===0?ae:c,u,h,l)}function Je(e,r,t){return Q(e,r,t,ve,Z(qe()),D(e,2,-2),0)}function ue(e,r,t,n){return Q(e,r,t,ie,D(e,0,n),D(e,n+1,-1),n)}function M(e,r){for(var t="",n=se(e),a=0;a<n;a++)t+=r(e[a],a,e,r)||"";return t}function Qe(e,r,t,n){switch(e.type){case De:if(e.children.length)break;case ze:case ie:return e.return=e.return||e.value;case ve:return"";case be:return e.return=e.value+"{"+M(e.children,n)+"}";case ae:e.value=e.props.join(",")}return A(t=M(e.children,n))?e.return=e.value+"{"+t+"}":""}function Xe(e){var r=se(e);return function(t,n,a,i){for(var s="",c=0;c<r;c++)s+=e[c](t,n,a,i)||"";return s}}function er(e){return function(r){r.root||(r=r.return)&&e(r)}}var he=function(r){var t=new WeakMap;return function(n){if(t.has(n))return t.get(n);var a=r(n);return t.set(n,a),a}};function Ce(e){var r=Object.create(null);return function(t){return r[t]===void 0&&(r[t]=e(t)),r[t]}}var rr=function(r,t,n){for(var a=0,i=0;a=i,i=P(),a===38&&i===12&&(t[n]=1),!F(i);)S();return G(r,C)},tr=function(r,t){var n=-1,a=44;do switch(F(a)){case 0:a===38&&P()===12&&(t[n]=1),r[n]+=rr(C-1,t,n);break;case 2:r[n]+=H(a);break;case 4:if(a===44){r[++n]=P()===58?"&\f":"",t[n]=r[n].length;break}default:r[n]+=Z(a)}while(a=S());return r},nr=function(r,t){return xe(tr(we(r),t))},de=new WeakMap,ar=function(r){if(!(r.type!=="rule"||!r.parent||r.length<1)){for(var t=r.value,n=r.parent,a=r.column===n.column&&r.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(r.props.length===1&&t.charCodeAt(0)!==58&&!de.get(n))&&!a){de.set(r,!0);for(var i=[],s=nr(t,i),c=n.props,u=0,h=0;u<s.length;u++)for(var l=0;l<c.length;l++,h++)r.props[h]=i[u]?s[u].replace(/&\f/g,c[l]):c[l]+" "+s[u]}}},ir=function(r){if(r.type==="decl"){var t=r.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(r.return="",r.value="")}};function Ee(e,r){switch(je(e,r)){case 5103:return o+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return o+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return o+e+Y+e+w+e+e;case 6828:case 4268:return o+e+w+e+e;case 6165:return o+e+w+"flex-"+e+e;case 5187:return o+e+f(e,/(\w+).+(:[^]+)/,o+"box-$1$2"+w+"flex-$1$2")+e;case 5443:return o+e+w+"flex-item-"+f(e,/flex-|-self/,"")+e;case 4675:return o+e+w+"flex-line-pack"+f(e,/align-content|flex-|-self/,"")+e;case 5548:return o+e+w+f(e,"shrink","negative")+e;case 5292:return o+e+w+f(e,"basis","preferred-size")+e;case 6060:return o+"box-"+f(e,"-grow","")+o+e+w+f(e,"grow","positive")+e;case 4554:return o+f(e,/([^-])(transform)/g,"$1"+o+"$2")+e;case 6187:return f(f(f(e,/(zoom-|grab)/,o+"$1"),/(image-set)/,o+"$1"),e,"")+e;case 5495:case 3959:return f(e,/(image-set\([^]*)/,o+"$1$`$1");case 4968:return f(f(e,/(.+:)(flex-)?(.*)/,o+"box-pack:$3"+w+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+o+e+e;case 4095:case 3583:case 4068:case 2532:return f(e,/(.+)-inline(.+)/,o+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(A(e)-1-r>6)switch(g(e,r+1)){case 109:if(g(e,r+4)!==45)break;case 102:return f(e,/(.+:)(.+)-([^]+)/,"$1"+o+"$2-$3$1"+Y+(g(e,r+3)==108?"$3":"$2-$3"))+e;case 115:return~re(e,"stretch")?Ee(f(e,"stretch","fill-available"),r)+e:e}break;case 4949:if(g(e,r+1)!==115)break;case 6444:switch(g(e,A(e)-3-(~re(e,"!important")&&10))){case 107:return f(e,":",":"+o)+e;case 101:return f(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+o+(g(e,14)===45?"inline-":"")+"box$3$1"+o+"$2$3$1"+w+"$2box$3")+e}break;case 5936:switch(g(e,r+11)){case 114:return o+e+w+f(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return o+e+w+f(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return o+e+w+f(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return o+e+w+e+e}return e}var sr=function(r,t,n,a){if(r.length>-1&&!r.return)switch(r.type){case ie:r.return=Ee(r.value,r.length);break;case be:return M([z(r,{value:f(r.value,"@","@"+o)})],a);case ae:if(r.length)return Ve(r.props,function(i){switch(Ge(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return M([z(r,{props:[f(i,/:(read-\w+)/,":"+Y+"$1")]})],a);case"::placeholder":return M([z(r,{props:[f(i,/:(plac\w+)/,":"+o+"input-$1")]}),z(r,{props:[f(i,/:(plac\w+)/,":"+Y+"$1")]}),z(r,{props:[f(i,/:(plac\w+)/,w+"input-$1")]})],a)}return""})}},cr=[sr],or=function(r){var t=r.key;if(t==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(m){var x=m.getAttribute("data-emotion");x.indexOf(" ")!==-1&&(document.head.appendChild(m),m.setAttribute("data-s",""))})}var a=r.stylisPlugins||cr,i={},s,c=[];s=r.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(m){for(var x=m.getAttribute("data-emotion").split(" "),v=1;v<x.length;v++)i[x[v]]=!0;c.push(m)});var u,h=[ar,ir];{var l,p=[Qe,er(function(m){l.insert(m)})],R=Xe(h.concat(a,p)),_=function(x){return M(Ze(x),R)};u=function(x,v,y,$){l=y,_(x?x+"{"+v.styles+"}":v.styles),$&&(E.inserted[v.name]=!0)}}var E={key:t,sheet:new We({key:t,container:s,nonce:r.nonce,speedy:r.speedy,prepend:r.prepend,insertionPoint:r.insertionPoint}),nonce:r.nonce,inserted:i,registered:{},insert:u};return E.sheet.hydrate(c),E};function U(){return U=Object.assign?Object.assign.bind():function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},U.apply(null,arguments)}var fr=!0;function Se(e,r,t){var n="";return t.split(" ").forEach(function(a){e[a]!==void 0?r.push(e[a]+";"):a&&(n+=a+" ")}),n}var ce=function(r,t,n){var a=r.key+"-"+t.name;(n===!1||fr===!1)&&r.registered[a]===void 0&&(r.registered[a]=t.styles)},ke=function(r,t,n){ce(r,t,n);var a=r.key+"-"+t.name;if(r.inserted[t.name]===void 0){var i=t;do r.insert(t===i?"."+a:"",i,r.sheet,!0),i=i.next;while(i!==void 0)}};function ur(e){for(var r=0,t,n=0,a=e.length;a>=4;++n,a-=4)t=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,t=(t&65535)*1540483477+((t>>>16)*59797<<16),t^=t>>>24,r=(t&65535)*1540483477+((t>>>16)*59797<<16)^(r&65535)*1540483477+((r>>>16)*59797<<16);switch(a){case 3:r^=(e.charCodeAt(n+2)&255)<<16;case 2:r^=(e.charCodeAt(n+1)&255)<<8;case 1:r^=e.charCodeAt(n)&255,r=(r&65535)*1540483477+((r>>>16)*59797<<16)}return r^=r>>>13,r=(r&65535)*1540483477+((r>>>16)*59797<<16),((r^r>>>15)>>>0).toString(36)}var hr={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},dr=!1,lr=/[A-Z]|^ms/g,mr=/_EMO_([^_]+?)_([^]*?)_EMO_/g,$e=function(r){return r.charCodeAt(1)===45},le=function(r){return r!=null&&typeof r!="boolean"},X=Ce(function(e){return $e(e)?e:e.replace(lr,"-$&").toLowerCase()}),me=function(r,t){switch(r){case"animation":case"animationName":if(typeof t=="string")return t.replace(mr,function(n,a,i){return T={name:a,styles:i,next:T},a})}return hr[r]!==1&&!$e(r)&&typeof t=="number"&&t!==0?t+"px":t},pr="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function L(e,r,t){if(t==null)return"";var n=t;if(n.__emotion_styles!==void 0)return n;switch(typeof t){case"boolean":return"";case"object":{var a=t;if(a.anim===1)return T={name:a.name,styles:a.styles,next:T},a.name;var i=t;if(i.styles!==void 0){var s=i.next;if(s!==void 0)for(;s!==void 0;)T={name:s.name,styles:s.styles,next:T},s=s.next;var c=i.styles+";";return c}return vr(e,r,t)}case"function":{if(e!==void 0){var u=T,h=t(e);return T=u,L(e,r,h)}break}}var l=t;if(r==null)return l;var p=r[l];return p!==void 0?p:l}function vr(e,r,t){var n="";if(Array.isArray(t))for(var a=0;a<t.length;a++)n+=L(e,r,t[a])+";";else for(var i in t){var s=t[i];if(typeof s!="object"){var c=s;r!=null&&r[c]!==void 0?n+=i+"{"+r[c]+"}":le(c)&&(n+=X(i)+":"+me(i,c)+";")}else{if(i==="NO_COMPONENT_SELECTOR"&&dr)throw new Error(pr);if(Array.isArray(s)&&typeof s[0]=="string"&&(r==null||r[s[0]]===void 0))for(var u=0;u<s.length;u++)le(s[u])&&(n+=X(i)+":"+me(i,s[u])+";");else{var h=L(e,r,s);switch(i){case"animation":case"animationName":{n+=X(i)+":"+h+";";break}default:n+=i+"{"+h+"}"}}}}return n}var pe=/label:\s*([^\s;{]+)\s*(;|$)/g,T;function Oe(e,r,t){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var n=!0,a="";T=void 0;var i=e[0];if(i==null||i.raw===void 0)n=!1,a+=L(t,r,i);else{var s=i;a+=s[0]}for(var c=1;c<e.length;c++)if(a+=L(t,r,e[c]),n){var u=i;a+=u[c]}pe.lastIndex=0;for(var h="",l;(l=pe.exec(a))!==null;)h+="-"+l[1];var p=ur(a)+h;return{name:p,styles:a,next:T}}var br=function(r){return r()},gr=k.useInsertionEffect?k.useInsertionEffect:!1,Ae=gr||br,Te=!1,Pe=k.createContext(typeof HTMLElement<"u"?or({key:"css"}):null);Pe.Provider;var Re=function(r){return ee.forwardRef(function(t,n){var a=ee.useContext(Pe);return r(t,a,n)})},j=k.createContext({}),yr=function(){return k.useContext(j)},wr=function(r,t){if(typeof t=="function"){var n=t(r);return n}return U({},r,t)},xr=he(function(e){return he(function(r){return wr(e,r)})}),Cr=function(r){var t=k.useContext(j);return r.theme!==t&&(t=xr(t)(r.theme)),k.createElement(j.Provider,{value:t},r.children)},oe={}.hasOwnProperty,ne="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",Er=function(r,t){var n={};for(var a in t)oe.call(t,a)&&(n[a]=t[a]);return n[ne]=r,n},Sr=function(r){var t=r.cache,n=r.serialized,a=r.isStringTag;return ce(t,n,a),Ae(function(){return ke(t,n,a)}),null},kr=Re(function(e,r,t){var n=e.css;typeof n=="string"&&r.registered[n]!==void 0&&(n=r.registered[n]);var a=e[ne],i=[n],s="";typeof e.className=="string"?s=Se(r.registered,i,e.className):e.className!=null&&(s=e.className+" ");var c=Oe(i,void 0,k.useContext(j));s+=r.key+"-"+c.name;var u={};for(var h in e)oe.call(e,h)&&h!=="css"&&h!==ne&&!Te&&(u[h]=e[h]);return u.className=s,t&&(u.ref=t),k.createElement(k.Fragment,null,k.createElement(Sr,{cache:r,serialized:c,isStringTag:typeof a=="string"}),k.createElement(a,u))}),$r=kr;exports.Emotion$1=$r;exports.ThemeContext=j;exports.ThemeProvider=Cr;exports._extends=U;exports.createEmotionProps=Er;exports.getRegisteredStyles=Se;exports.hasOwn=oe;exports.insertStyles=ke;exports.isDevelopment=Te;exports.memoize=Ce;exports.registerStyles=ce;exports.serializeStyles=Oe;exports.useInsertionEffectAlwaysWithSyncFallback=Ae;exports.useTheme=yr;exports.withEmotionCache=Re;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { m as t } from "./emotion-element-5486c51c.browser.esm-CSejtOeT.js";
|
|
2
|
+
var r = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, a = /* @__PURE__ */ t(
|
|
3
|
+
function(e) {
|
|
4
|
+
return r.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
|
|
5
|
+
}
|
|
6
|
+
/* Z+1 */
|
|
7
|
+
);
|
|
8
|
+
export {
|
|
9
|
+
a as i
|
|
10
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const t=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs");var r=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,i=t.memoize(function(e){return r.test(e)||e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)<91});exports.isPropValid=i;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const l=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),h=require("react");require("./hoist-non-react-statics.cjs-B8r9S_ak.cjs");function b(t){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const e in t)if(e!=="default"){const n=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(r,e,n.get?n:{enumerable:!0,get:()=>t[e]})}}return r.default=t,Object.freeze(r)}const u=b(h);var w=function(r,e){var n=arguments;if(e==null||!l.hasOwn.call(e,"css"))return u.createElement.apply(void 0,n);var a=n.length,i=new Array(a);i[0]=l.Emotion$1,i[1]=l.createEmotionProps(r,e);for(var s=2;s<a;s++)i[s]=n[s];return u.createElement.apply(null,i)};function g(){for(var t=arguments.length,r=new Array(t),e=0;e<t;e++)r[e]=arguments[e];return l.serializeStyles(r)}var d=function(){var r=g.apply(void 0,arguments),e="animation-"+r.name;return{name:e,styles:"@keyframes "+e+"{"+r.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}},E=function t(r){for(var e=r.length,n=0,a="";n<e;n++){var i=r[n];if(i!=null){var s=void 0;switch(typeof i){case"boolean":break;case"object":{if(Array.isArray(i))s=t(i);else{s="";for(var o in i)i[o]&&o&&(s&&(s+=" "),s+=o)}break}default:s=i}s&&(a&&(a+=" "),a+=s)}}return a};function p(t,r,e){var n=[],a=l.getRegisteredStyles(t,n,e);return n.length<2?e:a+r(n)}var S=function(r){var e=r.cache,n=r.serializedArr;return l.useInsertionEffectAlwaysWithSyncFallback(function(){for(var a=0;a<n.length;a++)l.insertStyles(e,n[a],!1)}),null},x=l.withEmotionCache(function(t,r){var e=!1,n=[],a=function(){if(e&&l.isDevelopment)throw new Error("css can only be used during render");for(var f=arguments.length,m=new Array(f),c=0;c<f;c++)m[c]=arguments[c];var v=l.serializeStyles(m,r.registered);return n.push(v),l.registerStyles(r,v,!1),r.key+"-"+v.name},i=function(){if(e&&l.isDevelopment)throw new Error("cx can only be used during render");for(var f=arguments.length,m=new Array(f),c=0;c<f;c++)m[c]=arguments[c];return p(r.registered,a,E(m))},s={css:a,cx:i,theme:u.useContext(l.ThemeContext)},o=t.children(s);return e=!0,u.createElement(u.Fragment,null,u.createElement(S,{cache:r,serializedArr:n}),o)});exports.ClassNames=x;exports.css=g;exports.jsx=w;exports.keyframes=d;
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { w as y, s as g, a as w, h as E, E as d, c as p, b, i as x, d as v, r as S, g as z } from "./emotion-element-5486c51c.browser.esm-CSejtOeT.js";
|
|
2
|
+
import * as u from "react";
|
|
3
|
+
import "./hoist-non-react-statics.cjs-Drf1aBlk.js";
|
|
4
|
+
var F = function(r, e) {
|
|
5
|
+
var n = arguments;
|
|
6
|
+
if (e == null || !E.call(e, "css"))
|
|
7
|
+
return u.createElement.apply(void 0, n);
|
|
8
|
+
var a = n.length, s = new Array(a);
|
|
9
|
+
s[0] = d, s[1] = p(r, e);
|
|
10
|
+
for (var t = 2; t < a; t++)
|
|
11
|
+
s[t] = n[t];
|
|
12
|
+
return u.createElement.apply(null, s);
|
|
13
|
+
};
|
|
14
|
+
function A() {
|
|
15
|
+
for (var i = arguments.length, r = new Array(i), e = 0; e < i; e++)
|
|
16
|
+
r[e] = arguments[e];
|
|
17
|
+
return g(r);
|
|
18
|
+
}
|
|
19
|
+
var M = function() {
|
|
20
|
+
var r = A.apply(void 0, arguments), e = "animation-" + r.name;
|
|
21
|
+
return {
|
|
22
|
+
name: e,
|
|
23
|
+
styles: "@keyframes " + e + "{" + r.styles + "}",
|
|
24
|
+
anim: 1,
|
|
25
|
+
toString: function() {
|
|
26
|
+
return "_EMO_" + this.name + "_" + this.styles + "_EMO_";
|
|
27
|
+
}
|
|
28
|
+
};
|
|
29
|
+
}, C = function i(r) {
|
|
30
|
+
for (var e = r.length, n = 0, a = ""; n < e; n++) {
|
|
31
|
+
var s = r[n];
|
|
32
|
+
if (s != null) {
|
|
33
|
+
var t = void 0;
|
|
34
|
+
switch (typeof s) {
|
|
35
|
+
case "boolean":
|
|
36
|
+
break;
|
|
37
|
+
case "object": {
|
|
38
|
+
if (Array.isArray(s))
|
|
39
|
+
t = i(s);
|
|
40
|
+
else {
|
|
41
|
+
t = "";
|
|
42
|
+
for (var o in s)
|
|
43
|
+
s[o] && o && (t && (t += " "), t += o);
|
|
44
|
+
}
|
|
45
|
+
break;
|
|
46
|
+
}
|
|
47
|
+
default:
|
|
48
|
+
t = s;
|
|
49
|
+
}
|
|
50
|
+
t && (a && (a += " "), a += t);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
return a;
|
|
54
|
+
};
|
|
55
|
+
function j(i, r, e) {
|
|
56
|
+
var n = [], a = z(i, n, e);
|
|
57
|
+
return n.length < 2 ? e : a + r(n);
|
|
58
|
+
}
|
|
59
|
+
var I = function(r) {
|
|
60
|
+
var e = r.cache, n = r.serializedArr;
|
|
61
|
+
return b(function() {
|
|
62
|
+
for (var a = 0; a < n.length; a++)
|
|
63
|
+
x(e, n[a], !1);
|
|
64
|
+
}), null;
|
|
65
|
+
}, D = /* @__PURE__ */ y(function(i, r) {
|
|
66
|
+
var e = !1, n = [], a = function() {
|
|
67
|
+
if (e && v)
|
|
68
|
+
throw new Error("css can only be used during render");
|
|
69
|
+
for (var c = arguments.length, m = new Array(c), l = 0; l < c; l++)
|
|
70
|
+
m[l] = arguments[l];
|
|
71
|
+
var f = g(m, r.registered);
|
|
72
|
+
return n.push(f), S(r, f, !1), r.key + "-" + f.name;
|
|
73
|
+
}, s = function() {
|
|
74
|
+
if (e && v)
|
|
75
|
+
throw new Error("cx can only be used during render");
|
|
76
|
+
for (var c = arguments.length, m = new Array(c), l = 0; l < c; l++)
|
|
77
|
+
m[l] = arguments[l];
|
|
78
|
+
return j(r.registered, a, C(m));
|
|
79
|
+
}, t = {
|
|
80
|
+
css: a,
|
|
81
|
+
cx: s,
|
|
82
|
+
theme: u.useContext(w)
|
|
83
|
+
}, o = i.children(t);
|
|
84
|
+
return e = !0, /* @__PURE__ */ u.createElement(u.Fragment, null, /* @__PURE__ */ u.createElement(I, {
|
|
85
|
+
cache: r,
|
|
86
|
+
serializedArr: n
|
|
87
|
+
}), o);
|
|
88
|
+
});
|
|
89
|
+
export {
|
|
90
|
+
D as C,
|
|
91
|
+
A as c,
|
|
92
|
+
F as j,
|
|
93
|
+
M as k
|
|
94
|
+
};
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
import { _ as x, w as z, a as I, g as R, s as j, r as q, b as A, i as D } from "./emotion-element-5486c51c.browser.esm-CSejtOeT.js";
|
|
2
|
+
import * as c from "react";
|
|
3
|
+
import { i as G } from "./emotion-is-prop-valid.esm-BzFBwmJz.js";
|
|
4
|
+
var L = G, M = function(e) {
|
|
5
|
+
return e !== "theme";
|
|
6
|
+
}, N = function(e) {
|
|
7
|
+
return typeof e == "string" && // 96 is one less than the char code
|
|
8
|
+
// for "a" so this is checking that
|
|
9
|
+
// it's a lowercase character
|
|
10
|
+
e.charCodeAt(0) > 96 ? L : M;
|
|
11
|
+
}, O = function(e, a, s) {
|
|
12
|
+
var r;
|
|
13
|
+
if (a) {
|
|
14
|
+
var i = a.shouldForwardProp;
|
|
15
|
+
r = e.__emotion_forwardProp && i ? function(l) {
|
|
16
|
+
return e.__emotion_forwardProp(l) && i(l);
|
|
17
|
+
} : i;
|
|
18
|
+
}
|
|
19
|
+
return typeof r != "function" && s && (r = e.__emotion_forwardProp), r;
|
|
20
|
+
}, U = !1, V = function(e) {
|
|
21
|
+
var a = e.cache, s = e.serialized, r = e.isStringTag;
|
|
22
|
+
return q(a, s, r), A(function() {
|
|
23
|
+
return D(a, s, r);
|
|
24
|
+
}), null;
|
|
25
|
+
}, W = function o(e, a) {
|
|
26
|
+
var s = e.__emotion_real === e, r = s && e.__emotion_base || e, i, l;
|
|
27
|
+
a !== void 0 && (i = a.label, l = a.target);
|
|
28
|
+
var _ = O(e, a, s), P = _ || N(r), b = !P("as");
|
|
29
|
+
return function() {
|
|
30
|
+
var u = arguments, d = s && e.__emotion_styles !== void 0 ? e.__emotion_styles.slice(0) : [];
|
|
31
|
+
if (i !== void 0 && d.push("label:" + i + ";"), u[0] == null || u[0].raw === void 0)
|
|
32
|
+
d.push.apply(d, u);
|
|
33
|
+
else {
|
|
34
|
+
d.push(u[0][0]);
|
|
35
|
+
for (var T = u.length, p = 1; p < T; p++)
|
|
36
|
+
d.push(u[p], u[0][p]);
|
|
37
|
+
}
|
|
38
|
+
var n = z(function(t, m, w) {
|
|
39
|
+
var y = b && t.as || r, f = "", S = [], v = t;
|
|
40
|
+
if (t.theme == null) {
|
|
41
|
+
v = {};
|
|
42
|
+
for (var C in t)
|
|
43
|
+
v[C] = t[C];
|
|
44
|
+
v.theme = c.useContext(I);
|
|
45
|
+
}
|
|
46
|
+
typeof t.className == "string" ? f = R(m.registered, S, t.className) : t.className != null && (f = t.className + " ");
|
|
47
|
+
var F = j(d.concat(S), m.registered, v);
|
|
48
|
+
f += m.key + "-" + F.name, l !== void 0 && (f += " " + l);
|
|
49
|
+
var k = b && _ === void 0 ? N(y) : P, h = {};
|
|
50
|
+
for (var g in t)
|
|
51
|
+
b && g === "as" || k(g) && (h[g] = t[g]);
|
|
52
|
+
return h.className = f, w && (h.ref = w), /* @__PURE__ */ c.createElement(c.Fragment, null, /* @__PURE__ */ c.createElement(V, {
|
|
53
|
+
cache: m,
|
|
54
|
+
serialized: F,
|
|
55
|
+
isStringTag: typeof y == "string"
|
|
56
|
+
}), /* @__PURE__ */ c.createElement(y, h));
|
|
57
|
+
});
|
|
58
|
+
return n.displayName = i !== void 0 ? i : "Styled(" + (typeof r == "string" ? r : r.displayName || r.name || "Component") + ")", n.defaultProps = e.defaultProps, n.__emotion_real = n, n.__emotion_base = r, n.__emotion_styles = d, n.__emotion_forwardProp = _, Object.defineProperty(n, "toString", {
|
|
59
|
+
value: function() {
|
|
60
|
+
return l === void 0 && U ? "NO_COMPONENT_SELECTOR" : "." + l;
|
|
61
|
+
}
|
|
62
|
+
}), n.withComponent = function(t, m) {
|
|
63
|
+
return o(t, x({}, a, m, {
|
|
64
|
+
shouldForwardProp: O(n, m, !0)
|
|
65
|
+
})).apply(void 0, d);
|
|
66
|
+
}, n;
|
|
67
|
+
};
|
|
68
|
+
}, B = [
|
|
69
|
+
"a",
|
|
70
|
+
"abbr",
|
|
71
|
+
"address",
|
|
72
|
+
"area",
|
|
73
|
+
"article",
|
|
74
|
+
"aside",
|
|
75
|
+
"audio",
|
|
76
|
+
"b",
|
|
77
|
+
"base",
|
|
78
|
+
"bdi",
|
|
79
|
+
"bdo",
|
|
80
|
+
"big",
|
|
81
|
+
"blockquote",
|
|
82
|
+
"body",
|
|
83
|
+
"br",
|
|
84
|
+
"button",
|
|
85
|
+
"canvas",
|
|
86
|
+
"caption",
|
|
87
|
+
"cite",
|
|
88
|
+
"code",
|
|
89
|
+
"col",
|
|
90
|
+
"colgroup",
|
|
91
|
+
"data",
|
|
92
|
+
"datalist",
|
|
93
|
+
"dd",
|
|
94
|
+
"del",
|
|
95
|
+
"details",
|
|
96
|
+
"dfn",
|
|
97
|
+
"dialog",
|
|
98
|
+
"div",
|
|
99
|
+
"dl",
|
|
100
|
+
"dt",
|
|
101
|
+
"em",
|
|
102
|
+
"embed",
|
|
103
|
+
"fieldset",
|
|
104
|
+
"figcaption",
|
|
105
|
+
"figure",
|
|
106
|
+
"footer",
|
|
107
|
+
"form",
|
|
108
|
+
"h1",
|
|
109
|
+
"h2",
|
|
110
|
+
"h3",
|
|
111
|
+
"h4",
|
|
112
|
+
"h5",
|
|
113
|
+
"h6",
|
|
114
|
+
"head",
|
|
115
|
+
"header",
|
|
116
|
+
"hgroup",
|
|
117
|
+
"hr",
|
|
118
|
+
"html",
|
|
119
|
+
"i",
|
|
120
|
+
"iframe",
|
|
121
|
+
"img",
|
|
122
|
+
"input",
|
|
123
|
+
"ins",
|
|
124
|
+
"kbd",
|
|
125
|
+
"keygen",
|
|
126
|
+
"label",
|
|
127
|
+
"legend",
|
|
128
|
+
"li",
|
|
129
|
+
"link",
|
|
130
|
+
"main",
|
|
131
|
+
"map",
|
|
132
|
+
"mark",
|
|
133
|
+
"marquee",
|
|
134
|
+
"menu",
|
|
135
|
+
"menuitem",
|
|
136
|
+
"meta",
|
|
137
|
+
"meter",
|
|
138
|
+
"nav",
|
|
139
|
+
"noscript",
|
|
140
|
+
"object",
|
|
141
|
+
"ol",
|
|
142
|
+
"optgroup",
|
|
143
|
+
"option",
|
|
144
|
+
"output",
|
|
145
|
+
"p",
|
|
146
|
+
"param",
|
|
147
|
+
"picture",
|
|
148
|
+
"pre",
|
|
149
|
+
"progress",
|
|
150
|
+
"q",
|
|
151
|
+
"rp",
|
|
152
|
+
"rt",
|
|
153
|
+
"ruby",
|
|
154
|
+
"s",
|
|
155
|
+
"samp",
|
|
156
|
+
"script",
|
|
157
|
+
"section",
|
|
158
|
+
"select",
|
|
159
|
+
"small",
|
|
160
|
+
"source",
|
|
161
|
+
"span",
|
|
162
|
+
"strong",
|
|
163
|
+
"style",
|
|
164
|
+
"sub",
|
|
165
|
+
"summary",
|
|
166
|
+
"sup",
|
|
167
|
+
"table",
|
|
168
|
+
"tbody",
|
|
169
|
+
"td",
|
|
170
|
+
"textarea",
|
|
171
|
+
"tfoot",
|
|
172
|
+
"th",
|
|
173
|
+
"thead",
|
|
174
|
+
"time",
|
|
175
|
+
"title",
|
|
176
|
+
"tr",
|
|
177
|
+
"track",
|
|
178
|
+
"u",
|
|
179
|
+
"ul",
|
|
180
|
+
"var",
|
|
181
|
+
"video",
|
|
182
|
+
"wbr",
|
|
183
|
+
// SVG
|
|
184
|
+
"circle",
|
|
185
|
+
"clipPath",
|
|
186
|
+
"defs",
|
|
187
|
+
"ellipse",
|
|
188
|
+
"foreignObject",
|
|
189
|
+
"g",
|
|
190
|
+
"image",
|
|
191
|
+
"line",
|
|
192
|
+
"linearGradient",
|
|
193
|
+
"mask",
|
|
194
|
+
"path",
|
|
195
|
+
"pattern",
|
|
196
|
+
"polygon",
|
|
197
|
+
"polyline",
|
|
198
|
+
"radialGradient",
|
|
199
|
+
"rect",
|
|
200
|
+
"stop",
|
|
201
|
+
"svg",
|
|
202
|
+
"text",
|
|
203
|
+
"tspan"
|
|
204
|
+
], E = W.bind();
|
|
205
|
+
B.forEach(function(o) {
|
|
206
|
+
E[o] = E(o);
|
|
207
|
+
});
|
|
208
|
+
export {
|
|
209
|
+
E as n
|
|
210
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const u=require("./emotion-element-5486c51c.browser.esm-QRQ5FSjv.cjs"),q=require("react"),z=require("./emotion-is-prop-valid.esm-CMrshNb7.cjs");function D(a){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(a){for(const r in a)if(r!=="default"){const i=Object.getOwnPropertyDescriptor(a,r);Object.defineProperty(e,r,i.get?i:{enumerable:!0,get:()=>a[r]})}}return e.default=a,Object.freeze(e)}const p=D(q);var I=z.isPropValid,R=function(e){return e!=="theme"},E=function(e){return typeof e=="string"&&e.charCodeAt(0)>96?I:R},T=function(e,r,i){var t;if(r){var l=r.shouldForwardProp;t=e.__emotion_forwardProp&&l?function(s){return e.__emotion_forwardProp(s)&&l(s)}:l}return typeof t!="function"&&i&&(t=e.__emotion_forwardProp),t},x=!1,A=function(e){var r=e.cache,i=e.serialized,t=e.isStringTag;return u.registerStyles(r,i,t),u.useInsertionEffectAlwaysWithSyncFallback(function(){return u.insertStyles(r,i,t)}),null},G=function a(e,r){var i=e.__emotion_real===e,t=i&&e.__emotion_base||e,l,s;r!==void 0&&(l=r.label,s=r.target);var b=T(e,r,i),w=b||E(t),y=!w("as");return function(){var c=arguments,d=i&&e.__emotion_styles!==void 0?e.__emotion_styles.slice(0):[];if(l!==void 0&&d.push("label:"+l+";"),c[0]==null||c[0].raw===void 0)d.push.apply(d,c);else{d.push(c[0][0]);for(var j=c.length,v=1;v<j;v++)d.push(c[v],c[0][v])}var o=u.withEmotionCache(function(n,f,O){var P=y&&n.as||t,m="",N=[],g=n;if(n.theme==null){g={};for(var C in n)g[C]=n[C];g.theme=p.useContext(u.ThemeContext)}typeof n.className=="string"?m=u.getRegisteredStyles(f.registered,N,n.className):n.className!=null&&(m=n.className+" ");var F=u.serializeStyles(d.concat(N),f.registered,g);m+=f.key+"-"+F.name,s!==void 0&&(m+=" "+s);var k=y&&b===void 0?E(P):w,h={};for(var _ in n)y&&_==="as"||k(_)&&(h[_]=n[_]);return h.className=m,O&&(h.ref=O),p.createElement(p.Fragment,null,p.createElement(A,{cache:f,serialized:F,isStringTag:typeof P=="string"}),p.createElement(P,h))});return o.displayName=l!==void 0?l:"Styled("+(typeof t=="string"?t:t.displayName||t.name||"Component")+")",o.defaultProps=e.defaultProps,o.__emotion_real=o,o.__emotion_base=t,o.__emotion_styles=d,o.__emotion_forwardProp=b,Object.defineProperty(o,"toString",{value:function(){return s===void 0&&x?"NO_COMPONENT_SELECTOR":"."+s}}),o.withComponent=function(n,f){return a(n,u._extends({},r,f,{shouldForwardProp:T(o,f,!0)})).apply(void 0,d)},o}},M=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],S=G.bind();M.forEach(function(a){S[a]=S(a)});exports.newStyled=S;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const X=Math.min,k=Math.max,q=Math.round,U=Math.floor,C=t=>({x:t,y:t}),kt={left:"right",right:"left",bottom:"top",top:"bottom"},Ft={start:"end",end:"start"};function ht(t,e,n){return k(t,X(e,n))}function J(t,e){return typeof t=="function"?t(e):t}function F(t){return t.split("-")[0]}function Q(t){return t.split("-")[1]}function yt(t){return t==="x"?"y":"x"}function vt(t){return t==="y"?"height":"width"}function W(t){return["top","bottom"].includes(F(t))?"y":"x"}function bt(t){return yt(W(t))}function Bt(t,e,n){n===void 0&&(n=!1);const o=Q(t),i=bt(t),r=vt(i);let s=i==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return e.reference[r]>e.floating[r]&&(s=K(s)),[s,K(s)]}function Mt(t){const e=K(t);return[it(t),e,it(e)]}function it(t){return t.replace(/start|end/g,e=>Ft[e])}function Nt(t,e,n){const o=["left","right"],i=["right","left"],r=["top","bottom"],s=["bottom","top"];switch(t){case"top":case"bottom":return n?e?i:o:e?o:i;case"left":case"right":return e?r:s;default:return[]}}function Vt(t,e,n,o){const i=Q(t);let r=Nt(F(t),n==="start",o);return i&&(r=r.map(s=>s+"-"+i),e&&(r=r.concat(r.map(it)))),r}function K(t){return t.replace(/left|right|bottom|top/g,e=>kt[e])}function Wt(t){return{top:0,right:0,bottom:0,left:0,...t}}function Ht(t){return typeof t!="number"?Wt(t):{top:t,right:t,bottom:t,left:t}}function G(t){const{x:e,y:n,width:o,height:i}=t;return{width:o,height:i,top:n,left:e,right:e+o,bottom:n+i,x:e,y:n}}function gt(t,e,n){let{reference:o,floating:i}=t;const r=W(e),s=bt(e),c=vt(s),l=F(e),f=r==="y",d=o.x+o.width/2-i.width/2,a=o.y+o.height/2-i.height/2,m=o[c]/2-i[c]/2;let u;switch(l){case"top":u={x:d,y:o.y-i.height};break;case"bottom":u={x:d,y:o.y+o.height};break;case"right":u={x:o.x+o.width,y:a};break;case"left":u={x:o.x-i.width,y:a};break;default:u={x:o.x,y:o.y}}switch(Q(e)){case"start":u[s]-=m*(n&&f?-1:1);break;case"end":u[s]+=m*(n&&f?-1:1);break}return u}const $t=async(t,e,n)=>{const{placement:o="bottom",strategy:i="absolute",middleware:r=[],platform:s}=n,c=r.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(e));let f=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:d,y:a}=gt(f,o,l),m=o,u={},g=0;for(let p=0;p<c.length;p++){const{name:w,fn:h}=c[p],{x,y,data:b,reset:v}=await h({x:d,y:a,initialPlacement:o,placement:m,strategy:i,middlewareData:u,rects:f,platform:s,elements:{reference:t,floating:e}});d=x??d,a=y??a,u={...u,[w]:{...u[w],...b}},v&&g<=50&&(g++,typeof v=="object"&&(v.placement&&(m=v.placement),v.rects&&(f=v.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):v.rects),{x:d,y:a}=gt(f,m,l)),p=-1)}return{x:d,y:a,placement:m,strategy:i,middlewareData:u}};async function At(t,e){var n;e===void 0&&(e={});const{x:o,y:i,platform:r,rects:s,elements:c,strategy:l}=t,{boundary:f="clippingAncestors",rootBoundary:d="viewport",elementContext:a="floating",altBoundary:m=!1,padding:u=0}=J(e,t),g=Ht(u),w=c[m?a==="floating"?"reference":"floating":a],h=G(await r.getClippingRect({element:(n=await(r.isElement==null?void 0:r.isElement(w)))==null||n?w:w.contextElement||await(r.getDocumentElement==null?void 0:r.getDocumentElement(c.floating)),boundary:f,rootBoundary:d,strategy:l})),x=a==="floating"?{x:o,y:i,width:s.floating.width,height:s.floating.height}:s.reference,y=await(r.getOffsetParent==null?void 0:r.getOffsetParent(c.floating)),b=await(r.isElement==null?void 0:r.isElement(y))?await(r.getScale==null?void 0:r.getScale(y))||{x:1,y:1}:{x:1,y:1},v=G(r.convertOffsetParentRelativeRectToViewportRelativeRect?await r.convertOffsetParentRelativeRectToViewportRelativeRect({elements:c,rect:x,offsetParent:y,strategy:l}):x);return{top:(h.top-v.top+g.top)/b.y,bottom:(v.bottom-h.bottom+g.bottom)/b.y,left:(h.left-v.left+g.left)/b.x,right:(v.right-h.right+g.right)/b.x}}const _t=function(t){return t===void 0&&(t={}),{name:"flip",options:t,async fn(e){var n,o;const{placement:i,middlewareData:r,rects:s,initialPlacement:c,platform:l,elements:f}=e,{mainAxis:d=!0,crossAxis:a=!0,fallbackPlacements:m,fallbackStrategy:u="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:p=!0,...w}=J(t,e);if((n=r.arrow)!=null&&n.alignmentOffset)return{};const h=F(i),x=W(c),y=F(c)===c,b=await(l.isRTL==null?void 0:l.isRTL(f.floating)),v=m||(y||!p?[K(c)]:Mt(c)),M=g!=="none";!m&&M&&v.push(...Vt(c,p,g,b));const Dt=[c,...v],nt=await At(e,w),Y=[];let z=((o=r.flip)==null?void 0:o.overflows)||[];if(d&&Y.push(nt[h]),a){const P=Bt(i,s,b);Y.push(nt[P[0]],nt[P[1]])}if(z=[...z,{placement:i,overflows:Y}],!Y.every(P=>P<=0)){var at,ut;const P=(((at=r.flip)==null?void 0:at.index)||0)+1,mt=Dt[P];if(mt)return{data:{index:P,overflows:z},reset:{placement:mt}};let I=(ut=z.filter(N=>N.overflows[0]<=0).sort((N,L)=>N.overflows[1]-L.overflows[1])[0])==null?void 0:ut.placement;if(!I)switch(u){case"bestFit":{var dt;const N=(dt=z.filter(L=>{if(M){const S=W(L.placement);return S===x||S==="y"}return!0}).map(L=>[L.placement,L.overflows.filter(S=>S>0).reduce((S,Pt)=>S+Pt,0)]).sort((L,S)=>L[1]-S[1])[0])==null?void 0:dt[0];N&&(I=N);break}case"initialPlacement":I=c;break}if(i!==I)return{reset:{placement:I}}}return{}}}};async function zt(t,e){const{placement:n,platform:o,elements:i}=t,r=await(o.isRTL==null?void 0:o.isRTL(i.floating)),s=F(n),c=Q(n),l=W(n)==="y",f=["left","top"].includes(s)?-1:1,d=r&&l?-1:1,a=J(e,t);let{mainAxis:m,crossAxis:u,alignmentAxis:g}=typeof a=="number"?{mainAxis:a,crossAxis:0,alignmentAxis:null}:{mainAxis:a.mainAxis||0,crossAxis:a.crossAxis||0,alignmentAxis:a.alignmentAxis};return c&&typeof g=="number"&&(u=c==="end"?g*-1:g),l?{x:u*d,y:m*f}:{x:m*f,y:u*d}}const It=function(t){return t===void 0&&(t=0),{name:"offset",options:t,async fn(e){var n,o;const{x:i,y:r,placement:s,middlewareData:c}=e,l=await zt(e,t);return s===((n=c.offset)==null?void 0:n.placement)&&(o=c.arrow)!=null&&o.alignmentOffset?{}:{x:i+l.x,y:r+l.y,data:{...l,placement:s}}}}},jt=function(t){return t===void 0&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:o,placement:i}=e,{mainAxis:r=!0,crossAxis:s=!1,limiter:c={fn:w=>{let{x:h,y:x}=w;return{x:h,y:x}}},...l}=J(t,e),f={x:n,y:o},d=await At(e,l),a=W(F(i)),m=yt(a);let u=f[m],g=f[a];if(r){const w=m==="y"?"top":"left",h=m==="y"?"bottom":"right",x=u+d[w],y=u-d[h];u=ht(x,u,y)}if(s){const w=a==="y"?"top":"left",h=a==="y"?"bottom":"right",x=g+d[w],y=g-d[h];g=ht(x,g,y)}const p=c.fn({...e,[m]:u,[a]:g});return{...p,data:{x:p.x-n,y:p.y-o,enabled:{[m]:r,[a]:s}}}}}};function Z(){return typeof window<"u"}function _(t){return Rt(t)?(t.nodeName||"").toLowerCase():"#document"}function A(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function E(t){var e;return(e=(Rt(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Rt(t){return Z()?t instanceof Node||t instanceof A(t).Node:!1}function R(t){return Z()?t instanceof Element||t instanceof A(t).Element:!1}function T(t){return Z()?t instanceof HTMLElement||t instanceof A(t).HTMLElement:!1}function pt(t){return!Z()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof A(t).ShadowRoot}function j(t){const{overflow:e,overflowX:n,overflowY:o,display:i}=O(t);return/auto|scroll|overlay|hidden|clip/.test(e+o+n)&&!["inline","contents"].includes(i)}function Yt(t){return["table","td","th"].includes(_(t))}function tt(t){return[":popover-open",":modal"].some(e=>{try{return t.matches(e)}catch{return!1}})}function rt(t){const e=ct(),n=R(t)?O(t):t;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(o=>(n.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(n.contain||"").includes(o))}function Ut(t){let e=D(t);for(;T(e)&&!H(e);){if(rt(e))return e;if(tt(e))return null;e=D(e)}return null}function ct(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function H(t){return["html","body","#document"].includes(_(t))}function O(t){return A(t).getComputedStyle(t)}function et(t){return R(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function D(t){if(_(t)==="html")return t;const e=t.assignedSlot||t.parentNode||pt(t)&&t.host||E(t);return pt(e)?e.host:e}function Ot(t){const e=D(t);return H(e)?t.ownerDocument?t.ownerDocument.body:t.body:T(e)&&j(e)?e:Ot(e)}function $(t,e,n){var o;e===void 0&&(e=[]),n===void 0&&(n=!0);const i=Ot(t),r=i===((o=t.ownerDocument)==null?void 0:o.body),s=A(i);if(r){const c=st(s);return e.concat(s,s.visualViewport||[],j(i)?i:[],c&&n?$(c):[])}return e.concat(i,$(i,[],n))}function st(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Ct(t){const e=O(t);let n=parseFloat(e.width)||0,o=parseFloat(e.height)||0;const i=T(t),r=i?t.offsetWidth:n,s=i?t.offsetHeight:o,c=q(n)!==r||q(o)!==s;return c&&(n=r,o=s),{width:n,height:o,$:c}}function lt(t){return R(t)?t:t.contextElement}function V(t){const e=lt(t);if(!T(e))return C(1);const n=e.getBoundingClientRect(),{width:o,height:i,$:r}=Ct(e);let s=(r?q(n.width):n.width)/o,c=(r?q(n.height):n.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!c||!Number.isFinite(c))&&(c=1),{x:s,y:c}}const Xt=C(0);function Tt(t){const e=A(t);return!ct()||!e.visualViewport?Xt:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function qt(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==A(t)?!1:e}function B(t,e,n,o){e===void 0&&(e=!1),n===void 0&&(n=!1);const i=t.getBoundingClientRect(),r=lt(t);let s=C(1);e&&(o?R(o)&&(s=V(o)):s=V(t));const c=qt(r,n,o)?Tt(r):C(0);let l=(i.left+c.x)/s.x,f=(i.top+c.y)/s.y,d=i.width/s.x,a=i.height/s.y;if(r){const m=A(r),u=o&&R(o)?A(o):o;let g=m,p=st(g);for(;p&&o&&u!==g;){const w=V(p),h=p.getBoundingClientRect(),x=O(p),y=h.left+(p.clientLeft+parseFloat(x.paddingLeft))*w.x,b=h.top+(p.clientTop+parseFloat(x.paddingTop))*w.y;l*=w.x,f*=w.y,d*=w.x,a*=w.y,l+=y,f+=b,g=A(p),p=st(g)}}return G({width:d,height:a,x:l,y:f})}function ft(t,e){const n=et(t).scrollLeft;return e?e.left+n:B(E(t)).left+n}function Et(t,e,n){n===void 0&&(n=!1);const o=t.getBoundingClientRect(),i=o.left+e.scrollLeft-(n?0:ft(t,o)),r=o.top+e.scrollTop;return{x:i,y:r}}function Kt(t){let{elements:e,rect:n,offsetParent:o,strategy:i}=t;const r=i==="fixed",s=E(o),c=e?tt(e.floating):!1;if(o===s||c&&r)return n;let l={scrollLeft:0,scrollTop:0},f=C(1);const d=C(0),a=T(o);if((a||!a&&!r)&&((_(o)!=="body"||j(s))&&(l=et(o)),T(o))){const u=B(o);f=V(o),d.x=u.x+o.clientLeft,d.y=u.y+o.clientTop}const m=s&&!a&&!r?Et(s,l,!0):C(0);return{width:n.width*f.x,height:n.height*f.y,x:n.x*f.x-l.scrollLeft*f.x+d.x+m.x,y:n.y*f.y-l.scrollTop*f.y+d.y+m.y}}function Gt(t){return Array.from(t.getClientRects())}function Jt(t){const e=E(t),n=et(t),o=t.ownerDocument.body,i=k(e.scrollWidth,e.clientWidth,o.scrollWidth,o.clientWidth),r=k(e.scrollHeight,e.clientHeight,o.scrollHeight,o.clientHeight);let s=-n.scrollLeft+ft(t);const c=-n.scrollTop;return O(o).direction==="rtl"&&(s+=k(e.clientWidth,o.clientWidth)-i),{width:i,height:r,x:s,y:c}}function Qt(t,e){const n=A(t),o=E(t),i=n.visualViewport;let r=o.clientWidth,s=o.clientHeight,c=0,l=0;if(i){r=i.width,s=i.height;const f=ct();(!f||f&&e==="fixed")&&(c=i.offsetLeft,l=i.offsetTop)}return{width:r,height:s,x:c,y:l}}function Zt(t,e){const n=B(t,!0,e==="fixed"),o=n.top+t.clientTop,i=n.left+t.clientLeft,r=T(t)?V(t):C(1),s=t.clientWidth*r.x,c=t.clientHeight*r.y,l=i*r.x,f=o*r.y;return{width:s,height:c,x:l,y:f}}function wt(t,e,n){let o;if(e==="viewport")o=Qt(t,n);else if(e==="document")o=Jt(E(t));else if(R(e))o=Zt(e,n);else{const i=Tt(t);o={x:e.x-i.x,y:e.y-i.y,width:e.width,height:e.height}}return G(o)}function Lt(t,e){const n=D(t);return n===e||!R(n)||H(n)?!1:O(n).position==="fixed"||Lt(n,e)}function te(t,e){const n=e.get(t);if(n)return n;let o=$(t,[],!1).filter(c=>R(c)&&_(c)!=="body"),i=null;const r=O(t).position==="fixed";let s=r?D(t):t;for(;R(s)&&!H(s);){const c=O(s),l=rt(s);!l&&c.position==="fixed"&&(i=null),(r?!l&&!i:!l&&c.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||j(s)&&!l&&Lt(t,s))?o=o.filter(d=>d!==s):i=c,s=D(s)}return e.set(t,o),o}function ee(t){let{element:e,boundary:n,rootBoundary:o,strategy:i}=t;const s=[...n==="clippingAncestors"?tt(e)?[]:te(e,this._c):[].concat(n),o],c=s[0],l=s.reduce((f,d)=>{const a=wt(e,d,i);return f.top=k(a.top,f.top),f.right=X(a.right,f.right),f.bottom=X(a.bottom,f.bottom),f.left=k(a.left,f.left),f},wt(e,c,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function ne(t){const{width:e,height:n}=Ct(t);return{width:e,height:n}}function oe(t,e,n){const o=T(e),i=E(e),r=n==="fixed",s=B(t,!0,r,e);let c={scrollLeft:0,scrollTop:0};const l=C(0);if(o||!o&&!r)if((_(e)!=="body"||j(i))&&(c=et(e)),o){const m=B(e,!0,r,e);l.x=m.x+e.clientLeft,l.y=m.y+e.clientTop}else i&&(l.x=ft(i));const f=i&&!o&&!r?Et(i,c):C(0),d=s.left+c.scrollLeft-l.x-f.x,a=s.top+c.scrollTop-l.y-f.y;return{x:d,y:a,width:s.width,height:s.height}}function ot(t){return O(t).position==="static"}function xt(t,e){if(!T(t)||O(t).position==="fixed")return null;if(e)return e(t);let n=t.offsetParent;return E(t)===n&&(n=n.ownerDocument.body),n}function St(t,e){const n=A(t);if(tt(t))return n;if(!T(t)){let i=D(t);for(;i&&!H(i);){if(R(i)&&!ot(i))return i;i=D(i)}return n}let o=xt(t,e);for(;o&&Yt(o)&&ot(o);)o=xt(o,e);return o&&H(o)&&ot(o)&&!rt(o)?n:o||Ut(t)||n}const ie=async function(t){const e=this.getOffsetParent||St,n=this.getDimensions,o=await n(t.floating);return{reference:oe(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function se(t){return O(t).direction==="rtl"}const re={convertOffsetParentRelativeRectToViewportRelativeRect:Kt,getDocumentElement:E,getClippingRect:ee,getOffsetParent:St,getElementRects:ie,getClientRects:Gt,getDimensions:ne,getScale:V,isElement:R,isRTL:se};function ce(t,e){let n=null,o;const i=E(t);function r(){var c;clearTimeout(o),(c=n)==null||c.disconnect(),n=null}function s(c,l){c===void 0&&(c=!1),l===void 0&&(l=1),r();const{left:f,top:d,width:a,height:m}=t.getBoundingClientRect();if(c||e(),!a||!m)return;const u=U(d),g=U(i.clientWidth-(f+a)),p=U(i.clientHeight-(d+m)),w=U(f),x={rootMargin:-u+"px "+-g+"px "+-p+"px "+-w+"px",threshold:k(0,X(1,l))||1};let y=!0;function b(v){const M=v[0].intersectionRatio;if(M!==l){if(!y)return s();M?s(!1,M):o=setTimeout(()=>{s(!1,1e-7)},1e3)}y=!1}try{n=new IntersectionObserver(b,{...x,root:i.ownerDocument})}catch{n=new IntersectionObserver(b,x)}n.observe(t)}return s(!0),r}function le(t,e,n,o){o===void 0&&(o={});const{ancestorScroll:i=!0,ancestorResize:r=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:c=typeof IntersectionObserver=="function",animationFrame:l=!1}=o,f=lt(t),d=i||r?[...f?$(f):[],...$(e)]:[];d.forEach(h=>{i&&h.addEventListener("scroll",n,{passive:!0}),r&&h.addEventListener("resize",n)});const a=f&&c?ce(f,n):null;let m=-1,u=null;s&&(u=new ResizeObserver(h=>{let[x]=h;x&&x.target===f&&u&&(u.unobserve(e),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var y;(y=u)==null||y.observe(e)})),n()}),f&&!l&&u.observe(f),u.observe(e));let g,p=l?B(t):null;l&&w();function w(){const h=B(t);p&&(h.x!==p.x||h.y!==p.y||h.width!==p.width||h.height!==p.height)&&n(),p=h,g=requestAnimationFrame(w)}return n(),()=>{var h;d.forEach(x=>{i&&x.removeEventListener("scroll",n),r&&x.removeEventListener("resize",n)}),a==null||a(),(h=u)==null||h.disconnect(),u=null,l&&cancelAnimationFrame(g)}}const fe=It,ae=jt,ue=_t,de=(t,e,n)=>{const o=new Map,i={platform:re,...n},r={...i.platform,_c:o};return $t(t,e,{...i,platform:r})};exports.autoUpdate=le;exports.computePosition=de;exports.flip=ue;exports.getOverflowAncestors=$;exports.offset=fe;exports.shift=ae;
|