UNPKG

@ouim/simple-logto

Version:

A simpler way to use @logto/react with prebuilt UI components and hooks for fast authentication setup

33 lines (30 loc) 173 kB
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const N=require("react"),mn=require("@logto/react"),Bo=require("react-dom");function Uo(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const p=Uo(N),$o=Uo(Bo);var Hn={exports:{}},bt={};/** * @license React * react-jsx-runtime.production.min.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Yr;function bs(){if(Yr)return bt;Yr=1;var e=N,t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,o=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function a(s,u,l){var d,c={},f=null,m=null;l!==void 0&&(f=""+l),u.key!==void 0&&(f=""+u.key),u.ref!==void 0&&(m=u.ref);for(d in u)r.call(u,d)&&!i.hasOwnProperty(d)&&(c[d]=u[d]);if(s&&s.defaultProps)for(d in u=s.defaultProps,u)c[d]===void 0&&(c[d]=u[d]);return{$$typeof:t,type:s,key:f,ref:m,props:c,_owner:o.current}}return bt.Fragment=n,bt.jsx=a,bt.jsxs=a,bt}var xt={};/** * @license React * react-jsx-runtime.development.js * * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */var Zr;function xs(){return Zr||(Zr=1,process.env.NODE_ENV!=="production"&&function(){var e=N,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),c=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),y=Symbol.iterator,h="@@iterator";function g(v){if(v===null||typeof v!="object")return null;var E=y&&v[y]||v[h];return typeof E=="function"?E:null}var w=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function x(v){{for(var E=arguments.length,P=new Array(E>1?E-1:0),F=1;F<E;F++)P[F-1]=arguments[F];S("error",v,P)}}function S(v,E,P){{var F=w.ReactDebugCurrentFrame,Y=F.getStackAddendum();Y!==""&&(E+="%s",P=P.concat([Y]));var J=P.map(function($){return String($)});J.unshift("Warning: "+E),Function.prototype.apply.call(console[v],console,J)}}var C=!1,M=!1,I=!1,A=!1,R=!1,j;j=Symbol.for("react.module.reference");function O(v){return!!(typeof v=="string"||typeof v=="function"||v===r||v===i||R||v===o||v===l||v===d||A||v===m||C||M||I||typeof v=="object"&&v!==null&&(v.$$typeof===f||v.$$typeof===c||v.$$typeof===a||v.$$typeof===s||v.$$typeof===u||v.$$typeof===j||v.getModuleId!==void 0))}function D(v,E,P){var F=v.displayName;if(F)return F;var Y=E.displayName||E.name||"";return Y!==""?P+"("+Y+")":P}function k(v){return v.displayName||"Context"}function _(v){if(v==null)return null;if(typeof v.tag=="number"&&x("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof v=="function")return v.displayName||v.name||null;if(typeof v=="string")return v;switch(v){case r:return"Fragment";case n:return"Portal";case i:return"Profiler";case o:return"StrictMode";case l:return"Suspense";case d:return"SuspenseList"}if(typeof v=="object")switch(v.$$typeof){case s:var E=v;return k(E)+".Consumer";case a:var P=v;return k(P._context)+".Provider";case u:return D(v,v.render,"ForwardRef");case c:var F=v.displayName||null;return F!==null?F:_(v.type)||"Memo";case f:{var Y=v,J=Y._payload,$=Y._init;try{return _($(J))}catch{return null}}}return null}var G=Object.assign,H=0,W,K,L,T,B,Z,ue;function We(){}We.__reactDisabledLog=!0;function Ye(){{if(H===0){W=console.log,K=console.info,L=console.warn,T=console.error,B=console.group,Z=console.groupCollapsed,ue=console.groupEnd;var v={configurable:!0,enumerable:!0,value:We,writable:!0};Object.defineProperties(console,{info:v,log:v,warn:v,error:v,group:v,groupCollapsed:v,groupEnd:v})}H++}}function et(){{if(H--,H===0){var v={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:G({},v,{value:W}),info:G({},v,{value:K}),warn:G({},v,{value:L}),error:G({},v,{value:T}),group:G({},v,{value:B}),groupCollapsed:G({},v,{value:Z}),groupEnd:G({},v,{value:ue})})}H<0&&x("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var ye=w.ReactCurrentDispatcher,de;function Re(v,E,P){{if(de===void 0)try{throw Error()}catch(Y){var F=Y.stack.trim().match(/\n( *(at )?)/);de=F&&F[1]||""}return` `+de+v}}var re=!1,Ae;{var Vt=typeof WeakMap=="function"?WeakMap:Map;Ae=new Vt}function yt(v,E){if(!v||re)return"";{var P=Ae.get(v);if(P!==void 0)return P}var F;re=!0;var Y=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var J;J=ye.current,ye.current=null,Ye();try{if(E){var $=function(){throw Error()};if(Object.defineProperty($.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct($,[])}catch(ce){F=ce}Reflect.construct(v,[],$)}else{try{$.call()}catch(ce){F=ce}v.call($.prototype)}}else{try{throw Error()}catch(ce){F=ce}v()}}catch(ce){if(ce&&F&&typeof ce.stack=="string"){for(var U=ce.stack.split(` `),oe=F.stack.split(` `),ee=U.length-1,te=oe.length-1;ee>=1&&te>=0&&U[ee]!==oe[te];)te--;for(;ee>=1&&te>=0;ee--,te--)if(U[ee]!==oe[te]){if(ee!==1||te!==1)do if(ee--,te--,te<0||U[ee]!==oe[te]){var ve=` `+U[ee].replace(" at new "," at ");return v.displayName&&ve.includes("<anonymous>")&&(ve=ve.replace("<anonymous>",v.displayName)),typeof v=="function"&&Ae.set(v,ve),ve}while(ee>=1&&te>=0);break}}}finally{re=!1,ye.current=J,et(),Error.prepareStackTrace=Y}var rt=v?v.displayName||v.name:"",Ke=rt?Re(rt):"";return typeof v=="function"&&Ae.set(v,Ke),Ke}function Ze(v,E,P){return yt(v,!1)}function Gt(v){var E=v.prototype;return!!(E&&E.isReactComponent)}function tt(v,E,P){if(v==null)return"";if(typeof v=="function")return yt(v,Gt(v));if(typeof v=="string")return Re(v);switch(v){case l:return Re("Suspense");case d:return Re("SuspenseList")}if(typeof v=="object")switch(v.$$typeof){case u:return Ze(v.render);case c:return tt(v.type,E,P);case f:{var F=v,Y=F._payload,J=F._init;try{return tt(J(Y),E,P)}catch{}}}return""}var Xe=Object.prototype.hasOwnProperty,Bt={},Ut=w.ReactDebugCurrentFrame;function Le(v){if(v){var E=v._owner,P=tt(v.type,v._source,E?E.type:null);Ut.setExtraStackFrame(P)}else Ut.setExtraStackFrame(null)}function qa(v,E,P,F,Y){{var J=Function.call.bind(Xe);for(var $ in v)if(J(v,$)){var U=void 0;try{if(typeof v[$]!="function"){var oe=Error((F||"React class")+": "+P+" type `"+$+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof v[$]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw oe.name="Invariant Violation",oe}U=v[$](E,$,F,P,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(ee){U=ee}U&&!(U instanceof Error)&&(Le(Y),x("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",F||"React class",P,$,typeof U),Le(null)),U instanceof Error&&!(U.message in Bt)&&(Bt[U.message]=!0,Le(Y),x("Failed %s type: %s",P,U.message),Le(null))}}}var Qa=Array.isArray;function En(v){return Qa(v)}function es(v){{var E=typeof Symbol=="function"&&Symbol.toStringTag,P=E&&v[Symbol.toStringTag]||v.constructor.name||"Object";return P}}function ts(v){try{return jr(v),!1}catch{return!0}}function jr(v){return""+v}function Dr(v){if(ts(v))return x("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",es(v)),jr(v)}var wt=w.ReactCurrentOwner,ns={key:!0,ref:!0,__self:!0,__source:!0},Fr,Wr,Rn;Rn={};function rs(v){if(Xe.call(v,"ref")){var E=Object.getOwnPropertyDescriptor(v,"ref").get;if(E&&E.isReactWarning)return!1}return v.ref!==void 0}function os(v){if(Xe.call(v,"key")){var E=Object.getOwnPropertyDescriptor(v,"key").get;if(E&&E.isReactWarning)return!1}return v.key!==void 0}function is(v,E){if(typeof v.ref=="string"&&wt.current&&E&&wt.current.stateNode!==E){var P=_(wt.current.type);Rn[P]||(x('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref',_(wt.current.type),v.ref),Rn[P]=!0)}}function as(v,E){{var P=function(){Fr||(Fr=!0,x("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",E))};P.isReactWarning=!0,Object.defineProperty(v,"key",{get:P,configurable:!0})}}function ss(v,E){{var P=function(){Wr||(Wr=!0,x("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",E))};P.isReactWarning=!0,Object.defineProperty(v,"ref",{get:P,configurable:!0})}}var cs=function(v,E,P,F,Y,J,$){var U={$$typeof:t,type:v,key:E,ref:P,props:$,_owner:J};return U._store={},Object.defineProperty(U._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(U,"_self",{configurable:!1,enumerable:!1,writable:!1,value:F}),Object.defineProperty(U,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Y}),Object.freeze&&(Object.freeze(U.props),Object.freeze(U)),U};function ls(v,E,P,F,Y){{var J,$={},U=null,oe=null;P!==void 0&&(Dr(P),U=""+P),os(E)&&(Dr(E.key),U=""+E.key),rs(E)&&(oe=E.ref,is(E,Y));for(J in E)Xe.call(E,J)&&!ns.hasOwnProperty(J)&&($[J]=E[J]);if(v&&v.defaultProps){var ee=v.defaultProps;for(J in ee)$[J]===void 0&&($[J]=ee[J])}if(U||oe){var te=typeof v=="function"?v.displayName||v.name||"Unknown":v;U&&as($,te),oe&&ss($,te)}return cs(v,U,oe,Y,F,wt.current,$)}}var An=w.ReactCurrentOwner,Vr=w.ReactDebugCurrentFrame;function nt(v){if(v){var E=v._owner,P=tt(v.type,v._source,E?E.type:null);Vr.setExtraStackFrame(P)}else Vr.setExtraStackFrame(null)}var Mn;Mn=!1;function Pn(v){return typeof v=="object"&&v!==null&&v.$$typeof===t}function Gr(){{if(An.current){var v=_(An.current.type);if(v)return` Check the render method of \``+v+"`."}return""}}function us(v){{if(v!==void 0){var E=v.fileName.replace(/^.*[\\\/]/,""),P=v.lineNumber;return` Check your code at `+E+":"+P+"."}return""}}var Br={};function ds(v){{var E=Gr();if(!E){var P=typeof v=="string"?v:v.displayName||v.name;P&&(E=` Check the top-level render call using <`+P+">.")}return E}}function Ur(v,E){{if(!v._store||v._store.validated||v.key!=null)return;v._store.validated=!0;var P=ds(E);if(Br[P])return;Br[P]=!0;var F="";v&&v._owner&&v._owner!==An.current&&(F=" It was passed a child from "+_(v._owner.type)+"."),nt(v),x('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',P,F),nt(null)}}function $r(v,E){{if(typeof v!="object")return;if(En(v))for(var P=0;P<v.length;P++){var F=v[P];Pn(F)&&Ur(F,E)}else if(Pn(v))v._store&&(v._store.validated=!0);else if(v){var Y=g(v);if(typeof Y=="function"&&Y!==v.entries)for(var J=Y.call(v),$;!($=J.next()).done;)Pn($.value)&&Ur($.value,E)}}}function fs(v){{var E=v.type;if(E==null||typeof E=="string")return;var P;if(typeof E=="function")P=E.propTypes;else if(typeof E=="object"&&(E.$$typeof===u||E.$$typeof===c))P=E.propTypes;else return;if(P){var F=_(E);qa(P,v.props,"prop",F,v)}else if(E.PropTypes!==void 0&&!Mn){Mn=!0;var Y=_(E);x("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Y||"Unknown")}typeof E.getDefaultProps=="function"&&!E.getDefaultProps.isReactClassApproved&&x("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function ps(v){{for(var E=Object.keys(v.props),P=0;P<E.length;P++){var F=E[P];if(F!=="children"&&F!=="key"){nt(v),x("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",F),nt(null);break}}v.ref!==null&&(nt(v),x("Invalid attribute `ref` supplied to `React.Fragment`."),nt(null))}}var zr={};function Hr(v,E,P,F,Y,J){{var $=O(v);if(!$){var U="";(v===void 0||typeof v=="object"&&v!==null&&Object.keys(v).length===0)&&(U+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var oe=us(Y);oe?U+=oe:U+=Gr();var ee;v===null?ee="null":En(v)?ee="array":v!==void 0&&v.$$typeof===t?(ee="<"+(_(v.type)||"Unknown")+" />",U=" Did you accidentally export a JSX literal instead of a component?"):ee=typeof v,x("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",ee,U)}var te=ls(v,E,P,Y,J);if(te==null)return te;if($){var ve=E.children;if(ve!==void 0)if(F)if(En(ve)){for(var rt=0;rt<ve.length;rt++)$r(ve[rt],v);Object.freeze&&Object.freeze(ve)}else x("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else $r(ve,v)}if(Xe.call(E,"key")){var Ke=_(v),ce=Object.keys(E).filter(function(ws){return ws!=="key"}),kn=ce.length>0?"{key: someKey, "+ce.join(": ..., ")+": ...}":"{key: someKey}";if(!zr[Ke+kn]){var ys=ce.length>0?"{"+ce.join(": ..., ")+": ...}":"{}";x(`A props object containing a "key" prop is being spread into JSX: let props = %s; <%s {...props} /> React keys must be passed directly to JSX without using spread: let props = %s; <%s key={someKey} {...props} />`,kn,Ke,ys,Ke),zr[Ke+kn]=!0}}return v===r?ps(te):fs(te),te}}function ms(v,E,P){return Hr(v,E,P,!0)}function vs(v,E,P){return Hr(v,E,P,!1)}var hs=vs,gs=ms;xt.Fragment=r,xt.jsx=hs,xt.jsxs=gs}()),xt}process.env.NODE_ENV==="production"?Hn.exports=bs():Hn.exports=xs();var b=Hn.exports;function zo(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=zo(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function dr(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=zo(e))&&(r&&(r+=" "),r+=t);return r}const fr="-",Ss=e=>{const t=Es(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:a=>{const s=a.split(fr);return s[0]===""&&s.length!==1&&s.shift(),Ho(s,t)||Cs(a)},getConflictingClassGroupIds:(a,s)=>{const u=n[a]||[];return s&&r[a]?[...u,...r[a]]:u}}},Ho=(e,t)=>{var a;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?Ho(e.slice(1),r):void 0;if(o)return o;if(t.validators.length===0)return;const i=e.join(fr);return(a=t.validators.find(({validator:s})=>s(i)))==null?void 0:a.classGroupId},Xr=/^\[(.+)\]$/,Cs=e=>{if(Xr.test(e)){const t=Xr.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},Es=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return As(Object.entries(e.classGroups),n).forEach(([i,a])=>{Yn(a,r,i,t)}),r},Yn=(e,t,n,r)=>{e.forEach(o=>{if(typeof o=="string"){const i=o===""?t:Kr(t,o);i.classGroupId=n;return}if(typeof o=="function"){if(Rs(o)){Yn(o(r),t,n,r);return}t.validators.push({validator:o,classGroupId:n});return}Object.entries(o).forEach(([i,a])=>{Yn(a,Kr(t,i),n,r)})})},Kr=(e,t)=>{let n=e;return t.split(fr).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},Rs=e=>e.isThemeGetter,As=(e,t)=>t?e.map(([n,r])=>{const o=r.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([a,s])=>[t+a,s])):i);return[n,o]}):e,Ms=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const o=(i,a)=>{n.set(i,a),t++,t>e&&(t=0,r=n,n=new Map)};return{get(i){let a=n.get(i);if(a!==void 0)return a;if((a=r.get(i))!==void 0)return o(i,a),a},set(i,a){n.has(i)?n.set(i,a):o(i,a)}}},Yo="!",Ps=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,o=t[0],i=t.length,a=s=>{const u=[];let l=0,d=0,c;for(let g=0;g<s.length;g++){let w=s[g];if(l===0){if(w===o&&(r||s.slice(g,g+i)===t)){u.push(s.slice(d,g)),d=g+i;continue}if(w==="/"){c=g;continue}}w==="["?l++:w==="]"&&l--}const f=u.length===0?s:s.substring(d),m=f.startsWith(Yo),y=m?f.substring(1):f,h=c&&c>d?c-d:void 0;return{modifiers:u,hasImportantModifier:m,baseClassName:y,maybePostfixModifierPosition:h}};return n?s=>n({className:s,parseClassName:a}):a},ks=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t},Ts=e=>({cache:Ms(e.cacheSize),parseClassName:Ps(e),...Ss(e)}),Is=/\s+/,Os=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,i=[],a=e.trim().split(Is);let s="";for(let u=a.length-1;u>=0;u-=1){const l=a[u],{modifiers:d,hasImportantModifier:c,baseClassName:f,maybePostfixModifierPosition:m}=n(l);let y=!!m,h=r(y?f.substring(0,m):f);if(!h){if(!y){s=l+(s.length>0?" "+s:s);continue}if(h=r(f),!h){s=l+(s.length>0?" "+s:s);continue}y=!1}const g=ks(d).join(":"),w=c?g+Yo:g,x=w+h;if(i.includes(x))continue;i.push(x);const S=o(h,y);for(let C=0;C<S.length;++C){const M=S[C];i.push(w+M)}s=l+(s.length>0?" "+s:s)}return s};function Ls(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=Zo(t))&&(r&&(r+=" "),r+=n);return r}const Zo=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Zo(e[r]))&&(n&&(n+=" "),n+=t);return n};function _s(e,...t){let n,r,o,i=a;function a(u){const l=t.reduce((d,c)=>c(d),e());return n=Ts(l),r=n.cache.get,o=n.cache.set,i=s,s(u)}function s(u){const l=r(u);if(l)return l;const d=Os(u,n);return o(u,d),d}return function(){return i(Ls.apply(null,arguments))}}const q=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},Xo=/^\[(?:([a-z-]+):)?(.+)\]$/i,Ns=/^\d+\/\d+$/,js=new Set(["px","full","screen"]),Ds=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Fs=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Ws=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Vs=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Gs=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,_e=e=>ut(e)||js.has(e)||Ns.test(e),Ve=e=>mt(e,"length",Xs),ut=e=>!!e&&!Number.isNaN(Number(e)),Tn=e=>mt(e,"number",ut),St=e=>!!e&&Number.isInteger(Number(e)),Bs=e=>e.endsWith("%")&&ut(e.slice(0,-1)),V=e=>Xo.test(e),Ge=e=>Ds.test(e),Us=new Set(["length","size","percentage"]),$s=e=>mt(e,Us,Ko),zs=e=>mt(e,"position",Ko),Hs=new Set(["image","url"]),Ys=e=>mt(e,Hs,Js),Zs=e=>mt(e,"",Ks),Ct=()=>!0,mt=(e,t,n)=>{const r=Xo.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},Xs=e=>Fs.test(e)&&!Ws.test(e),Ko=()=>!1,Ks=e=>Vs.test(e),Js=e=>Gs.test(e),qs=()=>{const e=q("colors"),t=q("spacing"),n=q("blur"),r=q("brightness"),o=q("borderColor"),i=q("borderRadius"),a=q("borderSpacing"),s=q("borderWidth"),u=q("contrast"),l=q("grayscale"),d=q("hueRotate"),c=q("invert"),f=q("gap"),m=q("gradientColorStops"),y=q("gradientColorStopPositions"),h=q("inset"),g=q("margin"),w=q("opacity"),x=q("padding"),S=q("saturate"),C=q("scale"),M=q("sepia"),I=q("skew"),A=q("space"),R=q("translate"),j=()=>["auto","contain","none"],O=()=>["auto","hidden","clip","visible","scroll"],D=()=>["auto",V,t],k=()=>[V,t],_=()=>["",_e,Ve],G=()=>["auto",ut,V],H=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],W=()=>["solid","dashed","dotted","double","none"],K=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],L=()=>["start","end","center","between","around","evenly","stretch"],T=()=>["","0",V],B=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Z=()=>[ut,V];return{cacheSize:500,separator:":",theme:{colors:[Ct],spacing:[_e,Ve],blur:["none","",Ge,V],brightness:Z(),borderColor:[e],borderRadius:["none","","full",Ge,V],borderSpacing:k(),borderWidth:_(),contrast:Z(),grayscale:T(),hueRotate:Z(),invert:T(),gap:k(),gradientColorStops:[e],gradientColorStopPositions:[Bs,Ve],inset:D(),margin:D(),opacity:Z(),padding:k(),saturate:Z(),scale:Z(),sepia:T(),skew:Z(),space:k(),translate:k()},classGroups:{aspect:[{aspect:["auto","square","video",V]}],container:["container"],columns:[{columns:[Ge]}],"break-after":[{"break-after":B()}],"break-before":[{"break-before":B()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...H(),V]}],overflow:[{overflow:O()}],"overflow-x":[{"overflow-x":O()}],"overflow-y":[{"overflow-y":O()}],overscroll:[{overscroll:j()}],"overscroll-x":[{"overscroll-x":j()}],"overscroll-y":[{"overscroll-y":j()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[h]}],"inset-x":[{"inset-x":[h]}],"inset-y":[{"inset-y":[h]}],start:[{start:[h]}],end:[{end:[h]}],top:[{top:[h]}],right:[{right:[h]}],bottom:[{bottom:[h]}],left:[{left:[h]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",St,V]}],basis:[{basis:D()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",V]}],grow:[{grow:T()}],shrink:[{shrink:T()}],order:[{order:["first","last","none",St,V]}],"grid-cols":[{"grid-cols":[Ct]}],"col-start-end":[{col:["auto",{span:["full",St,V]},V]}],"col-start":[{"col-start":G()}],"col-end":[{"col-end":G()}],"grid-rows":[{"grid-rows":[Ct]}],"row-start-end":[{row:["auto",{span:[St,V]},V]}],"row-start":[{"row-start":G()}],"row-end":[{"row-end":G()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",V]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",V]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...L()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...L(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...L(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[x]}],px:[{px:[x]}],py:[{py:[x]}],ps:[{ps:[x]}],pe:[{pe:[x]}],pt:[{pt:[x]}],pr:[{pr:[x]}],pb:[{pb:[x]}],pl:[{pl:[x]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[A]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[A]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",V,t]}],"min-w":[{"min-w":[V,t,"min","max","fit"]}],"max-w":[{"max-w":[V,t,"none","full","min","max","fit","prose",{screen:[Ge]},Ge]}],h:[{h:[V,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[V,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[V,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[V,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Ge,Ve]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Tn]}],"font-family":[{font:[Ct]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",V]}],"line-clamp":[{"line-clamp":["none",ut,Tn]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",_e,V]}],"list-image":[{"list-image":["none",V]}],"list-style-type":[{list:["none","disc","decimal",V]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[w]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[w]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...W(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",_e,Ve]}],"underline-offset":[{"underline-offset":["auto",_e,V]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:k()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",V]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",V]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[w]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...H(),zs]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",$s]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Ys]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[y]}],"gradient-via-pos":[{via:[y]}],"gradient-to-pos":[{to:[y]}],"gradient-from":[{from:[m]}],"gradient-via":[{via:[m]}],"gradient-to":[{to:[m]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[w]}],"border-style":[{border:[...W(),"hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[w]}],"divide-style":[{divide:W()}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["",...W()]}],"outline-offset":[{"outline-offset":[_e,V]}],"outline-w":[{outline:[_e,Ve]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:_()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[_e,Ve]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Ge,Zs]}],"shadow-color":[{shadow:[Ct]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":[...K(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":K()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",Ge,V]}],grayscale:[{grayscale:[l]}],"hue-rotate":[{"hue-rotate":[d]}],invert:[{invert:[c]}],saturate:[{saturate:[S]}],sepia:[{sepia:[M]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[l]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[d]}],"backdrop-invert":[{"backdrop-invert":[c]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[S]}],"backdrop-sepia":[{"backdrop-sepia":[M]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",V]}],duration:[{duration:Z()}],ease:[{ease:["linear","in","out","in-out",V]}],delay:[{delay:Z()}],animate:[{animate:["none","spin","ping","pulse","bounce",V]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[C]}],"scale-x":[{"scale-x":[C]}],"scale-y":[{"scale-y":[C]}],rotate:[{rotate:[St,V]}],"translate-x":[{"translate-x":[R]}],"translate-y":[{"translate-y":[R]}],"skew-x":[{"skew-x":[I]}],"skew-y":[{"skew-y":[I]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",V]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",V]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":k()}],"scroll-mx":[{"scroll-mx":k()}],"scroll-my":[{"scroll-my":k()}],"scroll-ms":[{"scroll-ms":k()}],"scroll-me":[{"scroll-me":k()}],"scroll-mt":[{"scroll-mt":k()}],"scroll-mr":[{"scroll-mr":k()}],"scroll-mb":[{"scroll-mb":k()}],"scroll-ml":[{"scroll-ml":k()}],"scroll-p":[{"scroll-p":k()}],"scroll-px":[{"scroll-px":k()}],"scroll-py":[{"scroll-py":k()}],"scroll-ps":[{"scroll-ps":k()}],"scroll-pe":[{"scroll-pe":k()}],"scroll-pt":[{"scroll-pt":k()}],"scroll-pr":[{"scroll-pr":k()}],"scroll-pb":[{"scroll-pb":k()}],"scroll-pl":[{"scroll-pl":k()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",V]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[_e,Ve,Tn]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},Jo=_s(qs);var be=function(){return be=Object.assign||function(t){for(var n,r=1,o=arguments.length;r<o;r++){n=arguments[r];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},be.apply(this,arguments)};function qo(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function Te(e,t,n,r){function o(i){return i instanceof n?i:new n(function(a){a(i)})}return new(n||(n=Promise))(function(i,a){function s(d){try{l(r.next(d))}catch(c){a(c)}}function u(d){try{l(r.throw(d))}catch(c){a(c)}}function l(d){d.done?i(d.value):o(d.value).then(s,u)}l((r=r.apply(e,t||[])).next())})}function Ie(e,t){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,a=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return a.next=s(0),a.throw=s(1),a.return=s(2),typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function s(l){return function(d){return u([l,d])}}function u(l){if(r)throw new TypeError("Generator is already executing.");for(;a&&(a=0,l[0]&&(n=0)),n;)try{if(r=1,o&&(i=l[0]&2?o.return:l[0]?o.throw||((i=o.return)&&i.call(o),0):o.next)&&!(i=i.call(o,l[1])).done)return i;switch(o=0,i&&(l=[l[0]&2,i.value]),l[0]){case 0:case 1:i=l;break;case 4:return n.label++,{value:l[1],done:!1};case 5:n.label++,o=l[1],l=[0];continue;case 7:l=n.ops.pop(),n.trys.pop();continue;default:if(i=n.trys,!(i=i.length>0&&i[i.length-1])&&(l[0]===6||l[0]===2)){n=0;continue}if(l[0]===3&&(!i||l[1]>i[0]&&l[1]<i[3])){n.label=l[1];break}if(l[0]===6&&n.label<i[1]){n.label=i[1],i=l;break}if(i&&n.label<i[2]){n.label=i[2],n.ops.push(l);break}i[2]&&n.ops.pop(),n.trys.pop();continue}l=t.call(e,n)}catch(d){l=[6,d],o=0}finally{r=i=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}function pr(e,t,n){if(n||arguments.length===2)for(var r=0,o=t.length,i;r<o;r++)(i||!(r in t))&&(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}var Qo="4.6.2";function sn(e,t){return new Promise(function(n){return setTimeout(n,e,t)})}function Qs(){return new Promise(function(e){var t=new MessageChannel;t.port1.onmessage=function(){return e()},t.port2.postMessage(null)})}function ec(e,t){t===void 0&&(t=1/0);var n=window.requestIdleCallback;return n?new Promise(function(r){return n.call(window,function(){return r()},{timeout:t})}):sn(Math.min(e,t))}function ei(e){return!!e&&typeof e.then=="function"}function Jr(e,t){try{var n=e();ei(n)?n.then(function(r){return t(!0,r)},function(r){return t(!1,r)}):t(!0,n)}catch(r){t(!1,r)}}function qr(e,t,n){return n===void 0&&(n=16),Te(this,void 0,void 0,function(){var r,o,i,a;return Ie(this,function(s){switch(s.label){case 0:r=Array(e.length),o=Date.now(),i=0,s.label=1;case 1:return i<e.length?(r[i]=t(e[i],i),a=Date.now(),a>=o+n?(o=a,[4,Qs()]):[3,3]):[3,4];case 2:s.sent(),s.label=3;case 3:return++i,[3,1];case 4:return[2,r]}})})}function At(e){return e.then(void 0,function(){}),e}function tc(e,t){for(var n=0,r=e.length;n<r;++n)if(e[n]===t)return!0;return!1}function nc(e,t){return!tc(e,t)}function mr(e){return parseInt(e)}function we(e){return parseFloat(e)}function Ne(e,t){return typeof e=="number"&&isNaN(e)?t:e}function ae(e){return e.reduce(function(t,n){return t+(n?1:0)},0)}function ti(e,t){if(t===void 0&&(t=1),Math.abs(t)>=1)return Math.round(e/t)*t;var n=1/t;return Math.round(e*n)/n}function rc(e){for(var t,n,r="Unexpected syntax '".concat(e,"'"),o=/^\s*([a-z-]*)(.*)$/i.exec(e),i=o[1]||void 0,a={},s=/([.:#][\w-]+|\[.+?\])/gi,u=function(f,m){a[f]=a[f]||[],a[f].push(m)};;){var l=s.exec(o[2]);if(!l)break;var d=l[0];switch(d[0]){case".":u("class",d.slice(1));break;case"#":u("id",d.slice(1));break;case"[":{var c=/^\[([\w-]+)([~|^$*]?=("(.*?)"|([\w-]+)))?(\s+[is])?\]$/.exec(d);if(c)u(c[1],(n=(t=c[4])!==null&&t!==void 0?t:c[5])!==null&&n!==void 0?n:"");else throw new Error(r);break}default:throw new Error(r)}}return[i,a]}function oc(e){for(var t=new Uint8Array(e.length),n=0;n<e.length;n++){var r=e.charCodeAt(n);if(r>127)return new TextEncoder().encode(e);t[n]=r}return t}function Be(e,t){var n=e[0]>>>16,r=e[0]&65535,o=e[1]>>>16,i=e[1]&65535,a=t[0]>>>16,s=t[0]&65535,u=t[1]>>>16,l=t[1]&65535,d=0,c=0,f=0,m=0;m+=i+l,f+=m>>>16,m&=65535,f+=o+u,c+=f>>>16,f&=65535,c+=r+s,d+=c>>>16,c&=65535,d+=n+a,d&=65535,e[0]=d<<16|c,e[1]=f<<16|m}function he(e,t){var n=e[0]>>>16,r=e[0]&65535,o=e[1]>>>16,i=e[1]&65535,a=t[0]>>>16,s=t[0]&65535,u=t[1]>>>16,l=t[1]&65535,d=0,c=0,f=0,m=0;m+=i*l,f+=m>>>16,m&=65535,f+=o*l,c+=f>>>16,f&=65535,f+=i*u,c+=f>>>16,f&=65535,c+=r*l,d+=c>>>16,c&=65535,c+=o*u,d+=c>>>16,c&=65535,c+=i*s,d+=c>>>16,c&=65535,d+=n*l+r*u+o*s+i*a,d&=65535,e[0]=d<<16|c,e[1]=f<<16|m}function ot(e,t){var n=e[0];t%=64,t===32?(e[0]=e[1],e[1]=n):t<32?(e[0]=n<<t|e[1]>>>32-t,e[1]=e[1]<<t|n>>>32-t):(t-=32,e[0]=e[1]<<t|n>>>32-t,e[1]=n<<t|e[1]>>>32-t)}function fe(e,t){t%=64,t!==0&&(t<32?(e[0]=e[1]>>>32-t,e[1]=e[1]<<t):(e[0]=e[1]<<t-32,e[1]=0))}function Q(e,t){e[0]^=t[0],e[1]^=t[1]}var ic=[4283543511,3981806797],ac=[3301882366,444984403];function Qr(e){var t=[0,e[0]>>>1];Q(e,t),he(e,ic),t[1]=e[0]>>>1,Q(e,t),he(e,ac),t[1]=e[0]>>>1,Q(e,t)}var $t=[2277735313,289559509],zt=[1291169091,658871167],eo=[0,5],sc=[0,1390208809],cc=[0,944331445];function lc(e,t){var n=oc(e);t=t||0;var r=[0,n.length],o=r[1]%16,i=r[1]-o,a=[0,t],s=[0,t],u=[0,0],l=[0,0],d;for(d=0;d<i;d=d+16)u[0]=n[d+4]|n[d+5]<<8|n[d+6]<<16|n[d+7]<<24,u[1]=n[d]|n[d+1]<<8|n[d+2]<<16|n[d+3]<<24,l[0]=n[d+12]|n[d+13]<<8|n[d+14]<<16|n[d+15]<<24,l[1]=n[d+8]|n[d+9]<<8|n[d+10]<<16|n[d+11]<<24,he(u,$t),ot(u,31),he(u,zt),Q(a,u),ot(a,27),Be(a,s),he(a,eo),Be(a,sc),he(l,zt),ot(l,33),he(l,$t),Q(s,l),ot(s,31),Be(s,a),he(s,eo),Be(s,cc);u[0]=0,u[1]=0,l[0]=0,l[1]=0;var c=[0,0];switch(o){case 15:c[1]=n[d+14],fe(c,48),Q(l,c);case 14:c[1]=n[d+13],fe(c,40),Q(l,c);case 13:c[1]=n[d+12],fe(c,32),Q(l,c);case 12:c[1]=n[d+11],fe(c,24),Q(l,c);case 11:c[1]=n[d+10],fe(c,16),Q(l,c);case 10:c[1]=n[d+9],fe(c,8),Q(l,c);case 9:c[1]=n[d+8],Q(l,c),he(l,zt),ot(l,33),he(l,$t),Q(s,l);case 8:c[1]=n[d+7],fe(c,56),Q(u,c);case 7:c[1]=n[d+6],fe(c,48),Q(u,c);case 6:c[1]=n[d+5],fe(c,40),Q(u,c);case 5:c[1]=n[d+4],fe(c,32),Q(u,c);case 4:c[1]=n[d+3],fe(c,24),Q(u,c);case 3:c[1]=n[d+2],fe(c,16),Q(u,c);case 2:c[1]=n[d+1],fe(c,8),Q(u,c);case 1:c[1]=n[d],Q(u,c),he(u,$t),ot(u,31),he(u,zt),Q(a,u)}return Q(a,r),Q(s,r),Be(a,s),Be(s,a),Qr(a),Qr(s),Be(a,s),Be(s,a),("00000000"+(a[0]>>>0).toString(16)).slice(-8)+("00000000"+(a[1]>>>0).toString(16)).slice(-8)+("00000000"+(s[0]>>>0).toString(16)).slice(-8)+("00000000"+(s[1]>>>0).toString(16)).slice(-8)}function uc(e){var t;return be({name:e.name,message:e.message,stack:(t=e.stack)===null||t===void 0?void 0:t.split(` `)},e)}function dc(e){return/^function\s.*?\{\s*\[native code]\s*}$/.test(String(e))}function fc(e){return typeof e!="function"}function pc(e,t){var n=At(new Promise(function(r){var o=Date.now();Jr(e.bind(null,t),function(){for(var i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];var s=Date.now()-o;if(!i[0])return r(function(){return{error:i[1],duration:s}});var u=i[1];if(fc(u))return r(function(){return{value:u,duration:s}});r(function(){return new Promise(function(l){var d=Date.now();Jr(u,function(){for(var c=[],f=0;f<arguments.length;f++)c[f]=arguments[f];var m=s+Date.now()-d;if(!c[0])return l({error:c[1],duration:m});l({value:c[1],duration:m})})})})})}));return function(){return n.then(function(o){return o()})}}function mc(e,t,n,r){var o=Object.keys(e).filter(function(a){return nc(n,a)}),i=At(qr(o,function(a){return pc(e[a],t)},r));return function(){return Te(this,void 0,void 0,function(){var s,u,l,d,c;return Ie(this,function(f){switch(f.label){case 0:return[4,i];case 1:return s=f.sent(),[4,qr(s,function(m){return At(m())},r)];case 2:return u=f.sent(),[4,Promise.all(u)];case 3:for(l=f.sent(),d={},c=0;c<o.length;++c)d[o[c]]=l[c];return[2,d]}})})}}function ni(){var e=window,t=navigator;return ae(["MSCSSMatrix"in e,"msSetImmediate"in e,"msIndexedDB"in e,"msMaxTouchPoints"in t,"msPointerEnabled"in t])>=4}function vc(){var e=window,t=navigator;return ae(["msWriteProfilerMark"in e,"MSStream"in e,"msLaunchUri"in t,"msSaveBlob"in t])>=3&&!ni()}function Ot(){var e=window,t=navigator;return ae(["webkitPersistentStorage"in t,"webkitTemporaryStorage"in t,(t.vendor||"").indexOf("Google")===0,"webkitResolveLocalFileSystemURL"in e,"BatteryManager"in e,"webkitMediaStream"in e,"webkitSpeechGrammar"in e])>=5}function Ee(){var e=window,t=navigator;return ae(["ApplePayError"in e,"CSSPrimitiveValue"in e,"Counter"in e,t.vendor.indexOf("Apple")===0,"RGBColor"in e,"WebKitMediaKeys"in e])>=4}function vr(){var e=window,t=e.HTMLElement,n=e.Document;return ae(["safari"in e,!("ongestureend"in e),!("TouchEvent"in e),!("orientation"in e),t&&!("autocapitalize"in t.prototype),n&&"pointerLockElement"in n.prototype])>=4}function Lt(){var e=window;return dc(e.print)&&String(e.browser)==="[object WebPageNamespace]"}function ri(){var e,t,n=window;return ae(["buildID"in navigator,"MozAppearance"in((t=(e=document.documentElement)===null||e===void 0?void 0:e.style)!==null&&t!==void 0?t:{}),"onmozfullscreenchange"in n,"mozInnerScreenX"in n,"CSSMozDocumentRule"in n,"CanvasCaptureMediaStream"in n])>=4}function hc(){var e=window;return ae([!("MediaSettingsRange"in e),"RTCEncodedAudioFrame"in e,""+e.Intl=="[object Intl]",""+e.Reflect=="[object Reflect]"])>=3}function gc(){var e=window,t=e.URLPattern;return ae(["union"in Set.prototype,"Iterator"in e,t&&"hasRegExpGroups"in t.prototype,"RGB8"in WebGLRenderingContext.prototype])>=3}function yc(){var e=window;return ae(["DOMRectList"in e,"RTCPeerConnectionIceEvent"in e,"SVGGeometryElement"in e,"ontransitioncancel"in e])>=3}function _t(){var e=window,t=navigator,n=e.CSS,r=e.HTMLButtonElement;return ae([!("getStorageUpdates"in t),r&&"popover"in r.prototype,"CSSCounterStyleRule"in e,n.supports("font-size-adjust: ex-height 0.5"),n.supports("text-transform: full-width")])>=4}function wc(){if(navigator.platform==="iPad")return!0;var e=screen,t=e.width/e.height;return ae(["MediaSource"in window,!!Element.prototype.webkitRequestFullscreen,t>.65&&t<1.53])>=2}function bc(){var e=document;return e.fullscreenElement||e.msFullscreenElement||e.mozFullScreenElement||e.webkitFullscreenElement||null}function xc(){var e=document;return(e.exitFullscreen||e.msExitFullscreen||e.mozCancelFullScreen||e.webkitExitFullscreen).call(e)}function hr(){var e=Ot(),t=ri(),n=window,r=navigator,o="connection";return e?ae([!("SharedWorker"in n),r[o]&&"ontypechange"in r[o],!("sinkId"in new Audio)])>=2:t?ae(["onorientationchange"in n,"orientation"in n,/android/i.test(r.appVersion)])>=2:!1}function Sc(){var e=navigator,t=window,n=Audio.prototype,r=t.visualViewport;return ae(["srLatency"in n,"srChannelCount"in n,"devicePosture"in e,r&&"segments"in r,"getTextInformation"in Image.prototype])>=3}function Cc(){return Ac()?-4:Ec()}function Ec(){var e=window,t=e.OfflineAudioContext||e.webkitOfflineAudioContext;if(!t)return-2;if(Rc())return-1;var n=4500,r=5e3,o=new t(1,r,44100),i=o.createOscillator();i.type="triangle",i.frequency.value=1e4;var a=o.createDynamicsCompressor();a.threshold.value=-50,a.knee.value=40,a.ratio.value=12,a.attack.value=0,a.release.value=.25,i.connect(a),a.connect(o.destination),i.start(0);var s=Mc(o),u=s[0],l=s[1],d=At(u.then(function(c){return Pc(c.getChannelData(0).subarray(n))},function(c){if(c.name==="timeout"||c.name==="suspended")return-3;throw c}));return function(){return l(),d}}function Rc(){return Ee()&&!vr()&&!yc()}function Ac(){return Ee()&&_t()&&Lt()||Ot()&&Sc()&&gc()}function Mc(e){var t=3,n=500,r=500,o=5e3,i=function(){},a=new Promise(function(s,u){var l=!1,d=0,c=0;e.oncomplete=function(y){return s(y.renderedBuffer)};var f=function(){setTimeout(function(){return u(to("timeout"))},Math.min(r,c+o-Date.now()))},m=function(){try{var y=e.startRendering();switch(ei(y)&&At(y),e.state){case"running":c=Date.now(),l&&f();break;case"suspended":document.hidden||d++,l&&d>=t?u(to("suspended")):setTimeout(m,n);break}}catch(h){u(h)}};m(),i=function(){l||(l=!0,c>0&&f())}});return[a,i]}function Pc(e){for(var t=0,n=0;n<e.length;++n)t+=Math.abs(e[n]);return t}function to(e){var t=new Error(e);return t.name=e,t}function oi(e,t,n){var r,o,i;return n===void 0&&(n=50),Te(this,void 0,void 0,function(){var a,s;return Ie(this,function(u){switch(u.label){case 0:a=document,u.label=1;case 1:return a.body?[3,3]:[4,sn(n)];case 2:return u.sent(),[3,1];case 3:s=a.createElement("iframe"),u.label=4;case 4:return u.trys.push([4,,10,11]),[4,new Promise(function(l,d){var c=!1,f=function(){c=!0,l()},m=function(g){c=!0,d(g)};s.onload=f,s.onerror=m;var y=s.style;y.setProperty("display","block","important"),y.position="absolute",y.top="0",y.left="0",y.visibility="hidden",t&&"srcdoc"in s?s.srcdoc=t:s.src="about:blank",a.body.appendChild(s);var h=function(){var g,w;c||(((w=(g=s.contentWindow)===null||g===void 0?void 0:g.document)===null||w===void 0?void 0:w.readyState)==="complete"?f():setTimeout(h,10))};h()})];case 5:u.sent(),u.label=6;case 6:return!((o=(r=s.contentWindow)===null||r===void 0?void 0:r.document)===null||o===void 0)&&o.body?[3,8]:[4,sn(n)];case 7:return u.sent(),[3,6];case 8:return[4,e(s,s.contentWindow)];case 9:return[2,u.sent()];case 10:return(i=s.parentNode)===null||i===void 0||i.removeChild(s),[7];case 11:return[2]}})})}function kc(e){for(var t=rc(e),n=t[0],r=t[1],o=document.createElement(n??"div"),i=0,a=Object.keys(r);i<a.length;i++){var s=a[i],u=r[s].join(" ");s==="style"?Tc(o.style,u):o.setAttribute(s,u)}return o}function Tc(e,t){for(var n=0,r=t.split(";");n<r.length;n++){var o=r[n],i=/^\s*([\w-]+)\s*:\s*(.+?)(\s*!([\w-]+))?\s*$/.exec(o);if(i){var a=i[1],s=i[2],u=i[4];e.setProperty(a,s,u||"")}}}function Ic(){for(var e=window;;){var t=e.parent;if(!t||t===e)return!1;try{if(t.location.origin!==e.location.origin)return!0}catch(n){if(n instanceof Error&&n.name==="SecurityError")return!0;throw n}e=t}}var Oc="mmMwWLliI0O&1",Lc="48px",it=["monospace","sans-serif","serif"],no=["sans-serif-thin","ARNO PRO","Agency FB","Arabic Typesetting","Arial Unicode MS","AvantGarde Bk BT","BankGothic Md BT","Batang","Bitstream Vera Sans Mono","Calibri","Century","Century Gothic","Clarendon","EUROSTILE","Franklin Gothic","Futura Bk BT","Futura Md BT","GOTHAM","Gill Sans","HELV","Haettenschweiler","Helvetica Neue","Humanst521 BT","Leelawadee","Letter Gothic","Levenim MT","Lucida Bright","Lucida Sans","Menlo","MS Mincho","MS Outlook","MS Reference Specialty","MS UI Gothic","MT Extra","MYRIAD PRO","Marlett","Meiryo UI","Microsoft Uighur","Minion Pro","Monotype Corsiva","PMingLiU","Pristina","SCRIPTINA","Segoe UI Light","Serifa","SimHei","Small Fonts","Staccato222 BT","TRAJAN PRO","Univers CE 55 Medium","Vrinda","ZWAdobeF"];function _c(){var e=this;return oi(function(t,n){var r=n.document;return Te(e,void 0,void 0,function(){var o,i,a,s,u,l,d,c,f,m,y,h;return Ie(