@dropins/tools 0.22.0-alpha1 → 0.22.0
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/event-bus.js +1 -1
- package/fetch-graphql.js +1 -1
- package/initializer.js +1 -1
- package/package.json +1 -1
- package/preact-compat.js +1 -1
- package/preact-hooks.js +1 -1
- package/preact-jsx-runtime.js +1 -1
- package/preact.js +1 -1
package/event-bus.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const id=248;export const ids=[248];export const modules={846:(e,t,n)=>{function i(e,t,n){var i;return(t="symbol"==typeof(i=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,
|
|
1
|
+
export const id=248;export const ids=[248];export const modules={846:(e,t,n)=>{function i(e,t,n){var i;return(t="symbol"==typeof(i=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(t))?i:String(i))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{A:()=>o});var r=Date.now().toString(36).substring(2);class o{static on(e,t,n){if("undefined"!=typeof BroadcastChannel){var i=new BroadcastChannel("ElsieSDK/EventBus");if(null!=n&&n.eager){var r=this._lastEvent[e];r&&t(r.payload)}return i.addEventListener("message",(n=>{var{data:i}=n;this._identifier&&this._identifier!==i.identifier||i.event===e&&t(i.payload)})),window.addEventListener("beforeunload",(()=>{i.close()})),{off(){i.close()}}}}static emit(e,t){if("undefined"!=typeof BroadcastChannel){var n=new BroadcastChannel("ElsieSDK/EventBus");n.postMessage({event:e,identifier:this._identifier,payload:t}),this._lastEvent[e]={payload:t},n.close()}}static enableLogger(e){var t;"undefined"!=typeof BroadcastChannel&&(null===(t=this._logger)||void 0===t||t.close(),this._logger=null,!1!==e&&(this._logger=new BroadcastChannel("ElsieSDK/EventBus"),this._logger.addEventListener("message",(e=>{var{data:t}=e;this._identifier&&this._identifier!==t.identifier||(console.group("📡 Event (".concat(t.identifier,") ➡ ").concat(t.event)),console.log(t.payload),console.groupEnd())})),window.addEventListener("beforeunload",(()=>{var e;null===(e=this._logger)||void 0===e||e.close()}))))}}i(o,"_identifier",r),i(o,"_logger",null),i(o,"_lastEvent",{})}};import e from"./runtime.js";import*as t from"./event-bus.js";e.C(t);var n=(846,e(e.s=846)).A;export{n as events};
|
package/fetch-graphql.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const id=85;export const ids=[85];export const modules={597:(e,t,r)=>{function n(e,t,r,n,a,i,s){try{var h=e[i](s),o=h.value}catch(e){return void r(e)}h.done?t(o):Promise.resolve(o).then(n,a)}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){s
|
|
1
|
+
export const id=85;export const ids=[85];export const modules={597:(e,t,r)=>{function n(e,t,r,n,a,i,s){try{var h=e[i](s),o=h.value}catch(e){return void r(e)}h.done?t(o):Promise.resolve(o).then(n,a)}function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){var n,a,i,s;n=e,a=t,i=r[t],(a="symbol"==typeof(s=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(a))?s:String(s))in n?Object.defineProperty(n,a,{value:i,enumerable:!0,configurable:!0,writable:!0}):n[a]=i})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}r.d(t,{AZ:()=>u,Cz:()=>c,MR:()=>l,Np:()=>d,WI:()=>p,Xx:()=>f,zj:()=>v});var s={"Content-Type":"application/json",Accept:"application/json"};class h{get endpoint(){return this._endpoint}get fetchGraphQlHeaders(){return this._fetchGraphQlHeaders}setEndpoint(e){this._endpoint=e}setFetchGraphQlHeader(e,t){this._fetchGraphQlHeaders=i(i({},this.fetchGraphQlHeaders),{},{[e]:t})}removeFetchGraphQlHeader(e){var t;null===(t=this._fetchGraphQlHeaders)||void 0===t||delete t[e]}setFetchGraphQlHeaders(e){this._fetchGraphQlHeaders=i({},e)}fetchGraphQl(e,t){var r,a=this;return(r=function*(){var r,n=a.endpoint,h=a.fetchGraphQlHeaders;if(!n)throw Error('Missing "url"');var o,p=null!==(r=null==t?void 0:t.method)&&void 0!==r?r:"POST",c=null==t?void 0:t.cache,l=null==t?void 0:t.signal,d=new URL(n),f=i(i({},s),h);return"POST"===p&&(o=JSON.stringify({query:e,variables:null==t?void 0:t.variables})),"GET"===p&&(d.searchParams.append("query",function(e){return(e=(e=e.replace(/#.*/g,"")).replace(/\s+/g," ")).trim()}(e)),null!=t&&t.variables&&d.searchParams.append("variables",JSON.stringify(t.variables))),yield fetch(d,{method:p,headers:f,body:o,cache:c,signal:l}).then((e=>e.json()))},function(){var e=this,t=arguments;return new Promise((function(a,i){var s=r.apply(e,t);function h(e){n(s,a,i,h,o,"next",e)}function o(e){n(s,a,i,h,o,"throw",e)}h(void 0)}))})()}getConfig(){return{endpoint:this.endpoint,fetchGraphQlHeaders:this.fetchGraphQlHeaders}}getMethods(){return{setEndpoint:this.setEndpoint.bind(this),setFetchGraphQlHeader:this.setFetchGraphQlHeader.bind(this),removeFetchGraphQlHeader:this.removeFetchGraphQlHeader.bind(this),setFetchGraphQlHeaders:this.setFetchGraphQlHeaders.bind(this),fetchGraphQl:this.fetchGraphQl.bind(this),getConfig:this.getConfig.bind(this)}}}var o=new h;class p extends h{get endpoint(){var e;return null!==(e=this._endpoint)&&void 0!==e?e:o.endpoint}get fetchGraphQlHeaders(){return(this._endpoint?this._fetchGraphQlHeaders:i(i({},this._fetchGraphQlHeaders),o.fetchGraphQlHeaders))||{}}}var{setEndpoint:c,setFetchGraphQlHeaders:l,setFetchGraphQlHeader:d,removeFetchGraphQlHeader:f,fetchGraphQl:u,getConfig:v}=o.getMethods()}};import e from"./runtime.js";import*as t from"./fetch-graphql.js";e.C(t);var r=(597,e(e.s=597)),n=r.WI,a=r.AZ,i=r.zj,s=r.Xx,h=r.Cz,o=r.Np,p=r.MR;export{n as FetchGraphQL,a as fetchGraphQl,i as getConfig,s as removeFetchGraphQlHeader,h as setEndpoint,o as setFetchGraphQlHeader,p as setFetchGraphQlHeaders};
|
package/initializer.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const id=865;export const ids=[865];export const modules={173:(t,e,r)=>{r.d(e,{H:()=>
|
|
1
|
+
export const id=865;export const ids=[865];export const modules={173:(t,e,r)=>{r.d(e,{H:()=>p,W:()=>f});class i{constructor(t){this.config=t}getConfig(){return this.config}setConfig(t){this.config=t}}var n=new class{get map(){return this._map}set map(t){this._map=t}getMethods(){return{setMap:t=>{this.map=t},getMap:()=>this.map}}},{setMap:s,getMap:a}=n.getMethods(),o=["imageParamsKeyMap"];function l(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,i)}return r}function c(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?l(Object(r),!0).forEach((function(e){u(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function u(t,e,r){var i;return(e="symbol"==typeof(i=function(t,e){if("object"!=typeof t||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var i=r.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(e))?i:String(i))in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}class p{constructor(t){var{init:e,listeners:r}=t;u(this,"_listeners",[]),u(this,"config",new i({})),this.listeners=t=>(this._listeners.forEach((t=>t.off())),this._listeners=r(t)),this.init=t=>{var r=t,{imageParamsKeyMap:i}=r,n=function(t,e){if(null==t)return{};var r,i,n=function(t,e){if(null==t)return{};var r,i,n={},s=Object.keys(t);for(i=0;i<s.length;i++)r=s[i],e.indexOf(r)>=0||(n[r]=t[r]);return n}(t,e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);for(i=0;i<s.length;i++)r=s[i],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(t,r)&&(n[r]=t[r])}return n}(r,o);return this.config.setConfig(c(c({},this.config.getConfig()),n)),s(i),e(t)}}}class f{static register(t,e){var r,i;f._mounted&&(null===(r=t.listeners)||void 0===r||r.call(t,e),null===(i=t.init)||void 0===i||i.call(t,e)),f._initializers.push([t,e])}static mount(){var t,e;f._mounted=!0,null===(t=f._initializers)||void 0===t||t.forEach((t=>{var e,[r,i]=t;null===(e=r.listeners)||void 0===e||e.call(r,i)})),null===(e=f._initializers)||void 0===e||e.forEach((t=>{var e,[r,i]=t;null===(e=r.init)||void 0===e||e.call(r,c({imageParamsKeyMap:f._imageParamsKeyMap},i))}))}static setImageParamKeys(t){f._imageParamsKeyMap=t}}u(f,"_initializers",[]),u(f,"_mounted",!1),u(f,"_imageParamsKeyMap",void 0)}};import t from"./runtime.js";import*as e from"./initializer.js";t.C(e);var r=(173,t(t.s=173)),i=r.H,n=r.W;export{i as Initializer,n as initializers};
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name": "@dropins/tools", "version": "0.22.0
|
|
1
|
+
{"name": "@dropins/tools", "version": "0.22.0"}
|
package/preact-compat.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const id=829;export const ids=[829,174,673];export const modules={464:(n,e,t)=>{t.d(e,{Ay:()=>ln,Bi:()=>r.Bi,Bw:()=>J,FK:()=>_.FK,I5:()=>_n,J0:()=>r.J0,KQ:()=>nn,Kr:()=>r.Kr,Lf:()=>k,MN:()=>r.MN,Md:()=>r.Md,NT:()=>r.NT,Nf:()=>r.Nf,Ob:()=>$,Qv:()=>T,RZ:()=>g,Rf:()=>f,SA:()=>B,WO:()=>r.WO,XX:()=>A,Yn:()=>r.Yn,ZR:()=>G,_3:()=>_._3,d5:()=>S,hb:()=>r.hb,li:()=>r.li,n:()=>_.n,o6:()=>i,oK:()=>j,ph:()=>l,pn:()=>tn,q6:()=>_.q6,qX:()=>Z,rE:()=>X,rS:()=>Q,rz:()=>on,sp:()=>en,tY:()=>y,uA:()=>_.uA,vJ:()=>r.vJ,vq:()=>rn,xJ:()=>Y,yL:()=>p,zO:()=>q,zv:()=>z});var _=t(754),r=t(416);function o(n,e){for(var t in e)n[t]=e[t];return n}function u(n,e){for(var t in n)if("__source"!==t&&!(t in e))return!0;for(var _ in e)if("__source"!==_&&n[_]!==e[_])return!0;return!1}function i(n,e){this.props=n,this.context=e}function l(n,e){function t(n){var t=this.props.ref,_=t==n.ref;return!_&&t&&(t.call?t(null):t.current=null),e?!e(this.props,n)||!_:u(this.props,n)}function r(e){return this.shouldComponentUpdate=t,(0,_.n)(n,e)}return r.displayName="Memo("+(n.displayName||n.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(i.prototype=new _.uA).isPureReactComponent=!0,i.prototype.shouldComponentUpdate=function(n,e){return u(this.props,n)||u(this.state,e)};var c=_.fF.__b;_.fF.__b=function(n){n.type&&n.type.__f&&n.ref&&(n.props.ref=n.ref,n.ref=null),c&&c(n)};var a="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function f(n){function e(e){var t=o({},e);return delete t.ref,n(t,e.ref||null)}return e.$$typeof=a,e.render=e,e.prototype.isReactComponent=e.__f=!0,e.displayName="ForwardRef("+(n.displayName||n.name)+")",e}var s=function(n,e){return null==n?null:(0,_.v2)((0,_.v2)(n).map(e))},p={map:s,forEach:s,count:function(n){return n?(0,_.v2)(n).length:0},only:function(n){var e=(0,_.v2)(n);if(1!==e.length)throw"Children.only";return e[0]},toArray:_.v2},d=_.fF.__e;_.fF.__e=function(n,e,t,_){if(n.then)for(var r,o=e;o=o.__;)if((r=o.__c)&&r.__c)return null==e.__e&&(e.__e=t.__e,e.__k=t.__k),r.__c(n,e);d(n,e,t,_)};var h=_.fF.unmount;function v(n,e,t){return n&&(n.__c&&n.__c.__H&&(n.__c.__H.__.forEach((function(n){"function"==typeof n.__c&&n.__c()})),n.__c.__H=null),null!=(n=o({},n)).__c&&(n.__c.__P===t&&(n.__c.__P=e),n.__c=null),n.__k=n.__k&&n.__k.map((function(n){return v(n,e,t)}))),n}function m(n,e,t){return n&&t&&(n.__v=null,n.__k=n.__k&&n.__k.map((function(n){return m(n,e,t)})),n.__c&&n.__c.__P===e&&(n.__e&&t.appendChild(n.__e),n.__c.__e=!0,n.__c.__P=t)),n}function y(){this.__u=0,this.t=null,this.__b=null}function b(n){var e=n.__.__c;return e&&e.__a&&e.__a(n)}function g(n){var e,t,r;function o(o){if(e||(e=n()).then((function(n){t=n.default||n}),(function(n){r=n})),r)throw r;if(!t)throw e;return(0,_.n)(t,o)}return o.displayName="Lazy",o.__f=!0,o}function k(){this.u=null,this.o=null}_.fF.unmount=function(n){var e=n.__c;e&&e.__R&&e.__R(),e&&32&n.__u&&(n.type=null),h&&h(n)},(y.prototype=new _.uA).__c=function(n,e){var t=e.__c,_=this;null==_.t&&(_.t=[]),_.t.push(t);var r=b(_.__v),o=!1,u=function(){o||(o=!0,t.__R=null,r?r(i):i())};t.__R=u;var i=function(){if(! --_.__u){if(_.state.__a){var n=_.state.__a;_.__v.__k[0]=m(n,n.__c.__P,n.__c.__O)}var e;for(_.setState({__a:_.__b=null});e=_.t.pop();)e.forceUpdate()}};_.__u++||32&e.__u||_.setState({__a:_.__b=_.__v.__k[0]}),n.then(u,u)},y.prototype.componentWillUnmount=function(){this.t=[]},y.prototype.render=function(n,e){if(this.__b){if(this.__v.__k){var t=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=v(this.__b,t,r.__O=r.__P)}this.__b=null}var o=e.__a&&(0,_.n)(_.FK,null,n.fallback);return o&&(o.__u&=-33),[(0,_.n)(_.FK,null,e.__a?null:n.children),o]};var C=function(n,e,t){if(++t[1]===t[0]&&n.o.delete(e),n.props.revealOrder&&("t"!==n.props.revealOrder[0]||!n.o.size))for(t=n.u;t;){for(;t.length>3;)t.pop()();if(t[1]<t[0])break;n.u=t=t[2]}};function N(n){return this.getChildContext=function(){return n.context},n.children}function E(n){var e=this,t=n.i;e.componentWillUnmount=function(){(0,_.XX)(null,e.l),e.l=null,e.i=null},e.i&&e.i!==t&&e.componentWillUnmount(),e.l||(e.i=t,e.l={nodeType:1,parentNode:t,childNodes:[],appendChild:function(n){this.childNodes.push(n),e.i.appendChild(n)},insertBefore:function(n,t){this.childNodes.push(n),e.i.appendChild(n)},removeChild:function(n){this.childNodes.splice(this.childNodes.indexOf(n)>>>1,1),e.i.removeChild(n)}}),(0,_.XX)((0,_.n)(N,{context:e.context},n.__v),e.l)}function S(n,e){var t=(0,_.n)(E,{__v:n,i:e});return t.containerInfo=e,t}(k.prototype=new _.uA).__a=function(n){var e=this,t=b(e.__v),_=e.o.get(n);return _[0]++,function(r){var o=function(){e.props.revealOrder?(_.push(r),C(e,n,_)):r()};t?t(o):o()}},k.prototype.render=function(n){this.u=null,this.o=new Map;var e=(0,_.v2)(n.children);n.revealOrder&&"b"===n.revealOrder[0]&&e.reverse();for(var t=e.length;t--;)this.o.set(e[t],this.u=[1,0,this.u]);return n.children},k.prototype.componentDidUpdate=k.prototype.componentDidMount=function(){var n=this;this.o.forEach((function(e,t){C(n,t,e)}))};var x="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,F=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,P=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,w=/[A-Z0-9]/g,O="undefined"!=typeof document,R=function(n){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(n)};function A(n,e,t){return null==e.__k&&(e.textContent=""),(0,_.XX)(n,e),"function"==typeof t&&t(),n?n.__c:null}function T(n,e,t){return(0,_.Qv)(n,e),"function"==typeof t&&t(),n?n.__c:null}_.uA.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(n){Object.defineProperty(_.uA.prototype,n,{configurable:!0,get:function(){return this["UNSAFE_"+n]},set:function(e){Object.defineProperty(this,n,{configurable:!0,writable:!0,value:e})}})}));var U=_.fF.event;function H(){}function D(){return this.cancelBubble}function M(){return this.defaultPrevented}_.fF.event=function(n){return U&&(n=U(n)),n.persist=H,n.isPropagationStopped=D,n.isDefaultPrevented=M,n.nativeEvent=n};var L,W={enumerable:!1,configurable:!0,get:function(){return this.class}},V=_.fF.vnode;_.fF.vnode=function(n){"string"==typeof n.type&&function(n){var e=n.props,t=n.type,r={};for(var o in e){var u=e[o];if(!("value"===o&&"defaultValue"in e&&null==u||O&&"children"===o&&"noscript"===t||"class"===o||"className"===o)){var i=o.toLowerCase();"defaultValue"===o&&"value"in e&&null==e.value?o="value":"download"===o&&!0===u?u="":"translate"===i&&"no"===u?u=!1:"ondoubleclick"===i?o="ondblclick":"onchange"!==i||"input"!==t&&"textarea"!==t||R(e.type)?"onfocus"===i?o="onfocusin":"onblur"===i?o="onfocusout":P.test(o)?o=i:-1===t.indexOf("-")&&F.test(o)?o=o.replace(w,"-$&").toLowerCase():null===u&&(u=void 0):i=o="oninput","oninput"===i&&r[o=i]&&(o="oninputCapture"),r[o]=u}}"select"==t&&r.multiple&&Array.isArray(r.value)&&(r.value=(0,_.v2)(e.children).forEach((function(n){n.props.selected=-1!=r.value.indexOf(n.props.value)}))),"select"==t&&null!=r.defaultValue&&(r.value=(0,_.v2)(e.children).forEach((function(n){n.props.selected=r.multiple?-1!=r.defaultValue.indexOf(n.props.value):r.defaultValue==n.props.value}))),e.class&&!e.className?(r.class=e.class,Object.defineProperty(r,"className",W)):(e.className&&!e.class||e.class&&e.className)&&(r.class=r.className=e.className),n.props=r}(n),n.$$typeof=x,V&&V(n)};var I=_.fF.__r;_.fF.__r=function(n){I&&I(n),L=n.__c};var K=_.fF.diffed;_.fF.diffed=function(n){K&&K(n);var e=n.props,t=n.__e;null!=t&&"textarea"===n.type&&"value"in e&&e.value!==t.value&&(t.value=null==e.value?"":e.value),L=null};var B={ReactCurrentDispatcher:{current:{readContext:function(n){return L.__n[n.__c].props.value}}}},X="17.0.2";function J(n){return _.n.bind(null,n)}function q(n){return!!n&&n.$$typeof===x}function z(n){return q(n)&&n.type===_.FK}function $(n){return q(n)?_.Ob.apply(null,arguments):n}function Y(n){return!!n.__k&&((0,_.XX)(null,n),!0)}function j(n){return n&&(n.base||1===n.nodeType&&n)||null}var Q=function(n,e){return n(e)},Z=function(n,e){return n(e)},G=_.FK;function nn(n){n()}function en(n){return n}function tn(){return[!1,nn]}var _n=r.Nf,rn=q;function on(n,e){var t=e(),_=(0,r.J0)({h:{__:t,v:e}}),o=_[0].h,u=_[1];return(0,r.Nf)((function(){o.__=t,o.v=e,un(o)&&u({h:o})}),[n,t,e]),(0,r.vJ)((function(){return un(o)&&u({h:o}),n((function(){un(o)&&u({h:o})}))}),[n]),t}function un(n){var e,t,_=n.v,r=n.__;try{var o=_();return!((e=r)===(t=o)&&(0!==e||1/e==1/t)||e!=e&&t!=t)}catch(n){return!0}}var ln={useState:r.J0,useId:r.Bi,useReducer:r.WO,useEffect:r.vJ,useLayoutEffect:r.Nf,useInsertionEffect:_n,useTransition:tn,useDeferredValue:en,useSyncExternalStore:on,startTransition:nn,useRef:r.li,useImperativeHandle:r.Yn,useMemo:r.Kr,useCallback:r.hb,useContext:r.NT,useDebugValue:r.MN,version:"17.0.2",Children:p,render:A,hydrate:T,unmountComponentAtNode:Y,createPortal:S,createElement:_.n,createContext:_.q6,createFactory:J,cloneElement:$,createRef:_._3,Fragment:_.FK,isValidElement:q,isElement:rn,isFragment:z,findDOMNode:j,Component:_.uA,PureComponent:i,memo:l,forwardRef:f,flushSync:Z,unstable_batchedUpdates:Q,StrictMode:G,Suspense:y,SuspenseList:k,lazy:g,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:B}},754:(n,e,t)=>{t.d(e,{FK:()=>k,Ob:()=>J,Qv:()=>X,XX:()=>B,_3:()=>g,fF:()=>r,h:()=>y,n:()=>y,q6:()=>q,uA:()=>C,v2:()=>R,zO:()=>u});var _,r,o,u,i,l,c,a,f,s={},p=[],d=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,h=Array.isArray;function v(n,e){for(var t in e)n[t]=e[t];return n}function m(n){var e=n.parentNode;e&&e.removeChild(n)}function y(n,e,t){var r,o,u,i={};for(u in e)"key"==u?r=e[u]:"ref"==u?o=e[u]:i[u]=e[u];if(arguments.length>2&&(i.children=arguments.length>3?_.call(arguments,2):t),"function"==typeof n&&null!=n.defaultProps)for(u in n.defaultProps)void 0===i[u]&&(i[u]=n.defaultProps[u]);return b(n,i,r,o,null)}function b(n,e,t,_,u){var i={type:n,props:e,key:t,ref:_,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==u?++o:u,__i:-1,__u:0};return null==u&&null!=r.vnode&&r.vnode(i),i}function g(){return{current:null}}function k(n){return n.children}function C(n,e){this.props=n,this.context=e}function N(n,e){if(null==e)return n.__?N(n.__,n.__i+1):null;for(var t;e<n.__k.length;e++)if(null!=(t=n.__k[e])&&null!=t.__e)return t.__e;return"function"==typeof n.type?N(n):null}function E(n,e,t){var _,o=n.__v,u=o.__e,i=n.__P;if(i)return(_=v({},o)).__v=o.__v+1,r.vnode&&r.vnode(_),M(i,_,o,n.__n,void 0!==i.ownerSVGElement,32&o.__u?[u]:null,e,null==u?N(o):u,!!(32&o.__u),t),_.__v=o.__v,_.__.__k[_.__i]=_,_.__d=void 0,_.__e!=u&&S(_),_}function S(n){var e,t;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,e=0;e<n.__k.length;e++)if(null!=(t=n.__k[e])&&null!=t.__e){n.__e=n.__c.base=t.__e;break}return S(n)}}function x(n){(!n.__d&&(n.__d=!0)&&i.push(n)&&!F.__r++||l!==r.debounceRendering)&&((l=r.debounceRendering)||c)(F)}function F(){var n,e,t,_=[],o=[];for(i.sort(a);n=i.shift();)n.__d&&(t=i.length,e=E(n,_,o)||e,0===t||i.length>t?(L(_,e,o),o.length=_.length=0,e=void 0,i.sort(a)):e&&r.__c&&r.__c(e,p));e&&L(_,e,o),F.__r=0}function P(n,e,t,_,r,o,u,i,l,c,a){var f,d,h,v,m,y=_&&_.__k||p,b=e.length;for(t.__d=l,w(t,e,y),l=t.__d,f=0;f<b;f++)null!=(h=t.__k[f])&&"boolean"!=typeof h&&"function"!=typeof h&&(d=-1===h.__i?s:y[h.__i]||s,h.__i=f,M(n,h,d,r,o,u,i,l,c,a),v=h.__e,h.ref&&d.ref!=h.ref&&(d.ref&&V(d.ref,null,h),a.push(h.ref,h.__c||v,h)),null==m&&null!=v&&(m=v),65536&h.__u||d.__k===h.__k?l=O(h,l,n):"function"==typeof h.type&&void 0!==h.__d?l=h.__d:v&&(l=v.nextSibling),h.__d=void 0,h.__u&=-196609);t.__d=l,t.__e=m}function w(n,e,t){var _,r,o,u,i,l=e.length,c=t.length,a=c,f=0;for(n.__k=[],_=0;_<l;_++)u=_+f,null!=(r=n.__k[_]=null==(r=e[_])||"boolean"==typeof r||"function"==typeof r?null:"string"==typeof r||"number"==typeof r||"bigint"==typeof r||r.constructor==String?b(null,r,null,null,null):h(r)?b(k,{children:r},null,null,null):void 0===r.constructor&&r.__b>0?b(r.type,r.props,r.key,r.ref?r.ref:null,r.__v):r)?(r.__=n,r.__b=n.__b+1,i=A(r,t,u,a),r.__i=i,o=null,-1!==i&&(a--,(o=t[i])&&(o.__u|=131072)),null==o||null===o.__v?(-1==i&&f--,"function"!=typeof r.type&&(r.__u|=65536)):i!==u&&(i===u+1?f++:i>u?a>l-u?f+=i-u:f--:i<u?i==u-1&&(f=i-u):f=0,i!==_+f&&(r.__u|=65536))):(o=t[u])&&null==o.key&&o.__e&&!(131072&o.__u)&&(o.__e==n.__d&&(n.__d=N(o)),I(o,o,!1),t[u]=null,a--);if(a)for(_=0;_<c;_++)null!=(o=t[_])&&!(131072&o.__u)&&(o.__e==n.__d&&(n.__d=N(o)),I(o,o))}function O(n,e,t){var _,r;if("function"==typeof n.type){for(_=n.__k,r=0;_&&r<_.length;r++)_[r]&&(_[r].__=n,e=O(_[r],e,t));return e}n.__e!=e&&(t.insertBefore(n.__e,e||null),e=n.__e);do{e=e&&e.nextSibling}while(null!=e&&8===e.nodeType);return e}function R(n,e){return e=e||[],null==n||"boolean"==typeof n||(h(n)?n.some((function(n){R(n,e)})):e.push(n)),e}function A(n,e,t,_){var r=n.key,o=n.type,u=t-1,i=t+1,l=e[t];if(null===l||l&&r==l.key&&o===l.type&&!(131072&l.__u))return t;if(_>(null==l||131072&l.__u?0:1))for(;u>=0||i<e.length;){if(u>=0){if((l=e[u])&&!(131072&l.__u)&&r==l.key&&o===l.type)return u;u--}if(i<e.length){if((l=e[i])&&!(131072&l.__u)&&r==l.key&&o===l.type)return i;i++}}return-1}function T(n,e,t){"-"===e[0]?n.setProperty(e,null==t?"":t):n[e]=null==t?"":"number"!=typeof t||d.test(e)?t:t+"px"}function U(n,e,t,_,r){var o;n:if("style"===e)if("string"==typeof t)n.style.cssText=t;else{if("string"==typeof _&&(n.style.cssText=_=""),_)for(e in _)t&&e in t||T(n.style,e,"");if(t)for(e in t)_&&t[e]===_[e]||T(n.style,e,t[e])}else if("o"===e[0]&&"n"===e[1])o=e!==(e=e.replace(/(PointerCapture)$|Capture$/i,"$1")),e=e.toLowerCase()in n?e.toLowerCase().slice(2):e.slice(2),n.l||(n.l={}),n.l[e+o]=t,t?_?t.u=_.u:(t.u=Date.now(),n.addEventListener(e,o?D:H,o)):n.removeEventListener(e,o?D:H,o);else{if(r)e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==e&&"height"!==e&&"href"!==e&&"list"!==e&&"form"!==e&&"tabIndex"!==e&&"download"!==e&&"rowSpan"!==e&&"colSpan"!==e&&"role"!==e&&e in n)try{n[e]=null==t?"":t;break n}catch(n){}"function"==typeof t||(null==t||!1===t&&"-"!==e[4]?n.removeAttribute(e):n.setAttribute(e,t))}}function H(n){if(this.l){var e=this.l[n.type+!1];if(n.t){if(n.t<=e.u)return}else n.t=Date.now();return e(r.event?r.event(n):n)}}function D(n){if(this.l)return this.l[n.type+!0](r.event?r.event(n):n)}function M(n,e,t,_,o,u,i,l,c,a){var f,s,p,d,m,y,b,g,N,E,S,x,F,w,O,R=e.type;if(void 0!==e.constructor)return null;128&t.__u&&(c=!!(32&t.__u),u=[l=e.__e=t.__e]),(f=r.__b)&&f(e);n:if("function"==typeof R)try{if(g=e.props,N=(f=R.contextType)&&_[f.__c],E=f?N?N.props.value:f.__:_,t.__c?b=(s=e.__c=t.__c).__=s.__E:("prototype"in R&&R.prototype.render?e.__c=s=new R(g,E):(e.__c=s=new C(g,E),s.constructor=R,s.render=K),N&&N.sub(s),s.props=g,s.state||(s.state={}),s.context=E,s.__n=_,p=s.__d=!0,s.__h=[],s._sb=[]),null==s.__s&&(s.__s=s.state),null!=R.getDerivedStateFromProps&&(s.__s==s.state&&(s.__s=v({},s.__s)),v(s.__s,R.getDerivedStateFromProps(g,s.__s))),d=s.props,m=s.state,s.__v=e,p)null==R.getDerivedStateFromProps&&null!=s.componentWillMount&&s.componentWillMount(),null!=s.componentDidMount&&s.__h.push(s.componentDidMount);else{if(null==R.getDerivedStateFromProps&&g!==d&&null!=s.componentWillReceiveProps&&s.componentWillReceiveProps(g,E),!s.__e&&(null!=s.shouldComponentUpdate&&!1===s.shouldComponentUpdate(g,s.__s,E)||e.__v===t.__v)){for(e.__v!==t.__v&&(s.props=g,s.state=s.__s,s.__d=!1),e.__e=t.__e,e.__k=t.__k,e.__k.forEach((function(n){n&&(n.__=e)})),S=0;S<s._sb.length;S++)s.__h.push(s._sb[S]);s._sb=[],s.__h.length&&i.push(s);break n}null!=s.componentWillUpdate&&s.componentWillUpdate(g,s.__s,E),null!=s.componentDidUpdate&&s.__h.push((function(){s.componentDidUpdate(d,m,y)}))}if(s.context=E,s.props=g,s.__P=n,s.__e=!1,x=r.__r,F=0,"prototype"in R&&R.prototype.render){for(s.state=s.__s,s.__d=!1,x&&x(e),f=s.render(s.props,s.state,s.context),w=0;w<s._sb.length;w++)s.__h.push(s._sb[w]);s._sb=[]}else do{s.__d=!1,x&&x(e),f=s.render(s.props,s.state,s.context),s.state=s.__s}while(s.__d&&++F<25);s.state=s.__s,null!=s.getChildContext&&(_=v(v({},_),s.getChildContext())),p||null==s.getSnapshotBeforeUpdate||(y=s.getSnapshotBeforeUpdate(d,m)),P(n,h(O=null!=f&&f.type===k&&null==f.key?f.props.children:f)?O:[O],e,t,_,o,u,i,l,c,a),s.base=e.__e,e.__u&=-161,s.__h.length&&i.push(s),b&&(s.__E=s.__=null)}catch(n){e.__v=null,c||null!=u?(e.__e=l,e.__u|=c?160:32,u[u.indexOf(l)]=null):(e.__e=t.__e,e.__k=t.__k),r.__e(n,e,t)}else null==u&&e.__v===t.__v?(e.__k=t.__k,e.__e=t.__e):e.__e=W(t.__e,e,t,_,o,u,i,c,a);(f=r.diffed)&&f(e)}function L(n,e,t){for(var _=0;_<t.length;_++)V(t[_],t[++_],t[++_]);r.__c&&r.__c(e,n),n.some((function(e){try{n=e.__h,e.__h=[],n.some((function(n){n.call(e)}))}catch(n){r.__e(n,e.__v)}}))}function W(n,e,t,r,o,u,i,l,c){var a,f,p,d,v,y,b,g=t.props,k=e.props,C=e.type;if("svg"===C&&(o=!0),null!=u)for(a=0;a<u.length;a++)if((v=u[a])&&"setAttribute"in v==!!C&&(C?v.localName===C:3===v.nodeType)){n=v,u[a]=null;break}if(null==n){if(null===C)return document.createTextNode(k);n=o?document.createElementNS("http://www.w3.org/2000/svg",C):document.createElement(C,k.is&&k),u=null,l=!1}if(null===C)g===k||l&&n.data===k||(n.data=k);else{if(u=u&&_.call(n.childNodes),g=t.props||s,!l&&null!=u)for(g={},a=0;a<n.attributes.length;a++)g[(v=n.attributes[a]).name]=v.value;for(a in g)v=g[a],"children"==a||("dangerouslySetInnerHTML"==a?p=v:"key"===a||a in k||U(n,a,null,v,o));for(a in k)v=k[a],"children"==a?d=v:"dangerouslySetInnerHTML"==a?f=v:"value"==a?y=v:"checked"==a?b=v:"key"===a||l&&"function"!=typeof v||g[a]===v||U(n,a,v,g[a],o);if(f)l||p&&(f.__html===p.__html||f.__html===n.innerHTML)||(n.innerHTML=f.__html),e.__k=[];else if(p&&(n.innerHTML=""),P(n,h(d)?d:[d],e,t,r,o&&"foreignObject"!==C,u,i,u?u[0]:t.__k&&N(t,0),l,c),null!=u)for(a=u.length;a--;)null!=u[a]&&m(u[a]);l||(a="value",void 0!==y&&(y!==n[a]||"progress"===C&&!y||"option"===C&&y!==g[a])&&U(n,a,y,g[a],!1),a="checked",void 0!==b&&b!==n[a]&&U(n,a,b,g[a],!1))}return n}function V(n,e,t){try{"function"==typeof n?n(e):n.current=e}catch(n){r.__e(n,t)}}function I(n,e,t){var _,o;if(r.unmount&&r.unmount(n),(_=n.ref)&&(_.current&&_.current!==n.__e||V(_,null,e)),null!=(_=n.__c)){if(_.componentWillUnmount)try{_.componentWillUnmount()}catch(n){r.__e(n,e)}_.base=_.__P=null,n.__c=void 0}if(_=n.__k)for(o=0;o<_.length;o++)_[o]&&I(_[o],e,t||"function"!=typeof n.type);t||null==n.__e||m(n.__e),n.__=n.__e=n.__d=void 0}function K(n,e,t){return this.constructor(n,t)}function B(n,e,t){var o,u,i,l;r.__&&r.__(n,e),u=(o="function"==typeof t)?null:t&&t.__k||e.__k,i=[],l=[],M(e,n=(!o&&t||e).__k=y(k,null,[n]),u||s,s,void 0!==e.ownerSVGElement,!o&&t?[t]:u?null:e.firstChild?_.call(e.childNodes):null,i,!o&&t?t:u?u.__e:e.firstChild,o,l),n.__d=void 0,L(i,n,l)}function X(n,e){B(n,e,X)}function J(n,e,t){var r,o,u,i,l=v({},n.props);for(u in n.type&&n.type.defaultProps&&(i=n.type.defaultProps),e)"key"==u?r=e[u]:"ref"==u?o=e[u]:l[u]=void 0===e[u]&&void 0!==i?i[u]:e[u];return arguments.length>2&&(l.children=arguments.length>3?_.call(arguments,2):t),b(n.type,l,r||n.key,o||n.ref,null)}function q(n,e){var t={__c:e="__cC"+f++,__:n,Consumer:function(n,e){return n.children(e)},Provider:function(n){var t,_;return this.getChildContext||(t=[],(_={})[e]=this,this.getChildContext=function(){return _},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&t.some((function(n){n.__e=!0,x(n)}))},this.sub=function(n){t.push(n);var e=n.componentWillUnmount;n.componentWillUnmount=function(){t.splice(t.indexOf(n),1),e&&e.call(n)}}),n.children}};return t.Provider.__=t.Consumer.contextType=t}_=p.slice,r={__e:function(n,e,t,_){for(var r,o,u;e=e.__;)if((r=e.__c)&&!r.__)try{if((o=r.constructor)&&null!=o.getDerivedStateFromError&&(r.setState(o.getDerivedStateFromError(n)),u=r.__d),null!=r.componentDidCatch&&(r.componentDidCatch(n,_||{}),u=r.__d),u)return r.__E=r}catch(e){n=e}throw n}},o=0,u=function(n){return null!=n&&null==n.constructor},C.prototype.setState=function(n,e){var t;t=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=v({},this.state),"function"==typeof n&&(n=n(v({},t),this.props)),n&&v(t,n),null!=n&&this.__v&&(e&&this._sb.push(e),x(this))},C.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),x(this))},C.prototype.render=k,i=[],c="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,a=function(n,e){return n.__v.__b-e.__v.__b},F.__r=0,f=0},416:(n,e,t)=>{t.d(e,{Bi:()=>O,J0:()=>b,Kr:()=>S,MN:()=>P,Md:()=>w,NT:()=>F,Nf:()=>C,WO:()=>g,Yn:()=>E,hb:()=>x,li:()=>N,vJ:()=>k});var _,r,o,u,i=t(754),l=0,c=[],a=[],f=i.fF,s=f.__b,p=f.__r,d=f.diffed,h=f.__c,v=f.unmount,m=f.__;function y(n,e){f.__h&&f.__h(r,n,l||e),l=0;var t=r.__H||(r.__H={__:[],__h:[]});return n>=t.__.length&&t.__.push({__V:a}),t.__[n]}function b(n){return l=1,g(M,n)}function g(n,e,t){var o=y(_++,2);if(o.t=n,!o.__c&&(o.__=[t?t(e):M(void 0,e),function(n){var e=o.__N?o.__N[0]:o.__[0],t=o.t(e,n);e!==t&&(o.__N=[t,o.__[1]],o.__c.setState({}))}],o.__c=r,!r.u)){var u=function(n,e,t){if(!o.__c.__H)return!0;var _=o.__c.__H.__.filter((function(n){return!!n.__c}));if(_.every((function(n){return!n.__N})))return!i||i.call(this,n,e,t);var r=!1;return _.forEach((function(n){if(n.__N){var e=n.__[0];n.__=n.__N,n.__N=void 0,e!==n.__[0]&&(r=!0)}})),!(!r&&o.__c.props===n)&&(!i||i.call(this,n,e,t))};r.u=!0;var i=r.shouldComponentUpdate,l=r.componentWillUpdate;r.componentWillUpdate=function(n,e,t){if(this.__e){var _=i;i=void 0,u(n,e,t),i=_}l&&l.call(this,n,e,t)},r.shouldComponentUpdate=u}return o.__N||o.__}function k(n,e){var t=y(_++,3);!f.__s&&D(t.__H,e)&&(t.__=n,t.i=e,r.__H.__h.push(t))}function C(n,e){var t=y(_++,4);!f.__s&&D(t.__H,e)&&(t.__=n,t.i=e,r.__h.push(t))}function N(n){return l=5,S((function(){return{current:n}}),[])}function E(n,e,t){l=6,C((function(){return"function"==typeof n?(n(e()),function(){return n(null)}):n?(n.current=e(),function(){return n.current=null}):void 0}),null==t?t:t.concat(n))}function S(n,e){var t=y(_++,7);return D(t.__H,e)?(t.__V=n(),t.i=e,t.__h=n,t.__V):t.__}function x(n,e){return l=8,S((function(){return n}),e)}function F(n){var e=r.context[n.__c],t=y(_++,9);return t.c=n,e?(null==t.__&&(t.__=!0,e.sub(r)),e.props.value):n.__}function P(n,e){f.useDebugValue&&f.useDebugValue(e?e(n):n)}function w(n){var e=y(_++,10),t=b();return e.__=n,r.componentDidCatch||(r.componentDidCatch=function(n,_){e.__&&e.__(n,_),t[1](n)}),[t[0],function(){t[1](void 0)}]}function O(){var n=y(_++,11);if(!n.__){for(var e=r.__v;null!==e&&!e.__m&&null!==e.__;)e=e.__;var t=e.__m||(e.__m=[0,0]);n.__="P"+t[0]+"-"+t[1]++}return n.__}function R(){for(var n;n=c.shift();)if(n.__P&&n.__H)try{n.__H.__h.forEach(U),n.__H.__h.forEach(H),n.__H.__h=[]}catch(e){n.__H.__h=[],f.__e(e,n.__v)}}f.__b=function(n){r=null,s&&s(n)},f.__=function(n,e){n&&e.__k&&e.__k.__m&&(n.__m=e.__k.__m),m&&m(n,e)},f.__r=function(n){p&&p(n),_=0;var e=(r=n.__c).__H;e&&(o===r?(e.__h=[],r.__h=[],e.__.forEach((function(n){n.__N&&(n.__=n.__N),n.__V=a,n.__N=n.i=void 0}))):(e.__h.forEach(U),e.__h.forEach(H),e.__h=[],_=0)),o=r},f.diffed=function(n){d&&d(n);var e=n.__c;e&&e.__H&&(e.__H.__h.length&&(1!==c.push(e)&&u===f.requestAnimationFrame||((u=f.requestAnimationFrame)||T)(R)),e.__H.__.forEach((function(n){n.i&&(n.__H=n.i),n.__V!==a&&(n.__=n.__V),n.i=void 0,n.__V=a}))),o=r=null},f.__c=function(n,e){e.some((function(n){try{n.__h.forEach(U),n.__h=n.__h.filter((function(n){return!n.__||H(n)}))}catch(t){e.some((function(n){n.__h&&(n.__h=[])})),e=[],f.__e(t,n.__v)}})),h&&h(n,e)},f.unmount=function(n){v&&v(n);var e,t=n.__c;t&&t.__H&&(t.__H.__.forEach((function(n){try{U(n)}catch(n){e=n}})),t.__H=void 0,e&&f.__e(e,t.__v))};var A="function"==typeof requestAnimationFrame;function T(n){var e,t=function(){clearTimeout(_),A&&cancelAnimationFrame(e),setTimeout(n)},_=setTimeout(t,100);A&&(e=requestAnimationFrame(t))}function U(n){var e=r,t=n.__c;"function"==typeof t&&(n.__c=void 0,t()),r=e}function H(n){var e=r;n.__c=n.__(),r=e}function D(n,e){return!n||n.length!==e.length||e.some((function(e,t){return e!==n[t]}))}function M(n,e){return"function"==typeof e?e(n):e}}};import n from"./runtime.js";import*as e from"./preact-compat.js";n.C(e);var t,_=(t=464,n(n.s=t)),r=_.yL,o=_.uA,u=_.FK,i=_.o6,l=_.ZR,c=_.tY,a=_.Lf,f=_.SA,s=_.Ob,p=_.q6,d=_.n,h=_.Bw,v=_.d5,m=_._3,y=_.Ay,b=_.oK,g=_.qX,k=_.Rf,C=_.Qv,N=_.vq,E=_.zv,S=_.zO,x=_.RZ,F=_.ph,P=_.XX,w=_.KQ,O=_.xJ,R=_.rS,A=_.hb,T=_.NT,U=_.MN,H=_.sp,D=_.vJ,M=_.Md,L=_.Bi,W=_.Yn,V=_.I5,I=_.Nf,K=_.Kr,B=_.WO,X=_.li,J=_.J0,q=_.rz,z=_.pn,$=_.rE;export{r as Children,o as Component,u as Fragment,i as PureComponent,l as StrictMode,c as Suspense,a as SuspenseList,f as __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,s as cloneElement,p as createContext,d as createElement,h as createFactory,v as createPortal,m as createRef,y as default,b as findDOMNode,g as flushSync,k as forwardRef,C as hydrate,N as isElement,E as isFragment,S as isValidElement,x as lazy,F as memo,P as render,w as startTransition,O as unmountComponentAtNode,R as unstable_batchedUpdates,A as useCallback,T as useContext,U as useDebugValue,H as useDeferredValue,D as useEffect,M as useErrorBoundary,L as useId,W as useImperativeHandle,V as useInsertionEffect,I as useLayoutEffect,K as useMemo,B as useReducer,X as useRef,J as useState,q as useSyncExternalStore,z as useTransition,$ as version};
|
|
1
|
+
export const id=829;export const ids=[829,174,673];export const modules={464:(n,e,t)=>{t.d(e,{Ay:()=>ln,Bi:()=>r.Bi,Bw:()=>J,FK:()=>_.FK,I5:()=>_n,J0:()=>r.J0,KQ:()=>nn,Kr:()=>r.Kr,Lf:()=>k,MN:()=>r.MN,Md:()=>r.Md,NT:()=>r.NT,Nf:()=>r.Nf,Ob:()=>$,Qv:()=>T,RZ:()=>g,Rf:()=>f,SA:()=>B,WO:()=>r.WO,XX:()=>A,Yn:()=>r.Yn,ZR:()=>G,_3:()=>_._3,d5:()=>S,hb:()=>r.hb,li:()=>r.li,n:()=>_.n,o6:()=>i,oK:()=>j,ph:()=>l,pn:()=>tn,q6:()=>_.q6,qX:()=>Z,rE:()=>X,rS:()=>Q,rz:()=>on,sp:()=>en,tY:()=>y,uA:()=>_.uA,vJ:()=>r.vJ,vq:()=>rn,xJ:()=>Y,yL:()=>p,zO:()=>q,zv:()=>z});var _=t(754),r=t(416);function o(n,e){for(var t in e)n[t]=e[t];return n}function u(n,e){for(var t in n)if("__source"!==t&&!(t in e))return!0;for(var _ in e)if("__source"!==_&&n[_]!==e[_])return!0;return!1}function i(n,e){this.props=n,this.context=e}function l(n,e){function t(n){var t=this.props.ref,_=t==n.ref;return!_&&t&&(t.call?t(null):t.current=null),e?!e(this.props,n)||!_:u(this.props,n)}function r(e){return this.shouldComponentUpdate=t,(0,_.n)(n,e)}return r.displayName="Memo("+(n.displayName||n.name)+")",r.prototype.isReactComponent=!0,r.__f=!0,r}(i.prototype=new _.uA).isPureReactComponent=!0,i.prototype.shouldComponentUpdate=function(n,e){return u(this.props,n)||u(this.state,e)};var c=_.fF.__b;_.fF.__b=function(n){n.type&&n.type.__f&&n.ref&&(n.props.ref=n.ref,n.ref=null),c&&c(n)};var a="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function f(n){function e(e){var t=o({},e);return delete t.ref,n(t,e.ref||null)}return e.$$typeof=a,e.render=e,e.prototype.isReactComponent=e.__f=!0,e.displayName="ForwardRef("+(n.displayName||n.name)+")",e}var s=function(n,e){return null==n?null:(0,_.v2)((0,_.v2)(n).map(e))},p={map:s,forEach:s,count:function(n){return n?(0,_.v2)(n).length:0},only:function(n){var e=(0,_.v2)(n);if(1!==e.length)throw"Children.only";return e[0]},toArray:_.v2},d=_.fF.__e;_.fF.__e=function(n,e,t,_){if(n.then)for(var r,o=e;o=o.__;)if((r=o.__c)&&r.__c)return null==e.__e&&(e.__e=t.__e,e.__k=t.__k),r.__c(n,e);d(n,e,t,_)};var h=_.fF.unmount;function v(n,e,t){return n&&(n.__c&&n.__c.__H&&(n.__c.__H.__.forEach((function(n){"function"==typeof n.__c&&n.__c()})),n.__c.__H=null),null!=(n=o({},n)).__c&&(n.__c.__P===t&&(n.__c.__P=e),n.__c=null),n.__k=n.__k&&n.__k.map((function(n){return v(n,e,t)}))),n}function m(n,e,t){return n&&t&&(n.__v=null,n.__k=n.__k&&n.__k.map((function(n){return m(n,e,t)})),n.__c&&n.__c.__P===e&&(n.__e&&t.appendChild(n.__e),n.__c.__e=!0,n.__c.__P=t)),n}function y(){this.__u=0,this.t=null,this.__b=null}function b(n){var e=n.__.__c;return e&&e.__a&&e.__a(n)}function g(n){var e,t,r;function o(o){if(e||(e=n()).then((function(n){t=n.default||n}),(function(n){r=n})),r)throw r;if(!t)throw e;return(0,_.n)(t,o)}return o.displayName="Lazy",o.__f=!0,o}function k(){this.u=null,this.o=null}_.fF.unmount=function(n){var e=n.__c;e&&e.__R&&e.__R(),e&&32&n.__u&&(n.type=null),h&&h(n)},(y.prototype=new _.uA).__c=function(n,e){var t=e.__c,_=this;null==_.t&&(_.t=[]),_.t.push(t);var r=b(_.__v),o=!1,u=function(){o||(o=!0,t.__R=null,r?r(i):i())};t.__R=u;var i=function(){if(! --_.__u){if(_.state.__a){var n=_.state.__a;_.__v.__k[0]=m(n,n.__c.__P,n.__c.__O)}var e;for(_.setState({__a:_.__b=null});e=_.t.pop();)e.forceUpdate()}};_.__u++||32&e.__u||_.setState({__a:_.__b=_.__v.__k[0]}),n.then(u,u)},y.prototype.componentWillUnmount=function(){this.t=[]},y.prototype.render=function(n,e){if(this.__b){if(this.__v.__k){var t=document.createElement("div"),r=this.__v.__k[0].__c;this.__v.__k[0]=v(this.__b,t,r.__O=r.__P)}this.__b=null}var o=e.__a&&(0,_.n)(_.FK,null,n.fallback);return o&&(o.__u&=-33),[(0,_.n)(_.FK,null,e.__a?null:n.children),o]};var C=function(n,e,t){if(++t[1]===t[0]&&n.o.delete(e),n.props.revealOrder&&("t"!==n.props.revealOrder[0]||!n.o.size))for(t=n.u;t;){for(;t.length>3;)t.pop()();if(t[1]<t[0])break;n.u=t=t[2]}};function N(n){return this.getChildContext=function(){return n.context},n.children}function E(n){var e=this,t=n.i;e.componentWillUnmount=function(){(0,_.XX)(null,e.l),e.l=null,e.i=null},e.i&&e.i!==t&&e.componentWillUnmount(),e.l||(e.i=t,e.l={nodeType:1,parentNode:t,childNodes:[],appendChild:function(n){this.childNodes.push(n),e.i.appendChild(n)},insertBefore:function(n,t){this.childNodes.push(n),e.i.appendChild(n)},removeChild:function(n){this.childNodes.splice(this.childNodes.indexOf(n)>>>1,1),e.i.removeChild(n)}}),(0,_.XX)((0,_.n)(N,{context:e.context},n.__v),e.l)}function S(n,e){var t=(0,_.n)(E,{__v:n,i:e});return t.containerInfo=e,t}(k.prototype=new _.uA).__a=function(n){var e=this,t=b(e.__v),_=e.o.get(n);return _[0]++,function(r){var o=function(){e.props.revealOrder?(_.push(r),C(e,n,_)):r()};t?t(o):o()}},k.prototype.render=function(n){this.u=null,this.o=new Map;var e=(0,_.v2)(n.children);n.revealOrder&&"b"===n.revealOrder[0]&&e.reverse();for(var t=e.length;t--;)this.o.set(e[t],this.u=[1,0,this.u]);return n.children},k.prototype.componentDidUpdate=k.prototype.componentDidMount=function(){var n=this;this.o.forEach((function(e,t){C(n,t,e)}))};var x="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,F=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,P=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,w=/[A-Z0-9]/g,O="undefined"!=typeof document,R=function(n){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(n)};function A(n,e,t){return null==e.__k&&(e.textContent=""),(0,_.XX)(n,e),"function"==typeof t&&t(),n?n.__c:null}function T(n,e,t){return(0,_.Qv)(n,e),"function"==typeof t&&t(),n?n.__c:null}_.uA.prototype.isReactComponent={},["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(n){Object.defineProperty(_.uA.prototype,n,{configurable:!0,get:function(){return this["UNSAFE_"+n]},set:function(e){Object.defineProperty(this,n,{configurable:!0,writable:!0,value:e})}})}));var U=_.fF.event;function H(){}function D(){return this.cancelBubble}function M(){return this.defaultPrevented}_.fF.event=function(n){return U&&(n=U(n)),n.persist=H,n.isPropagationStopped=D,n.isDefaultPrevented=M,n.nativeEvent=n};var L,W={enumerable:!1,configurable:!0,get:function(){return this.class}},V=_.fF.vnode;_.fF.vnode=function(n){"string"==typeof n.type&&function(n){var e=n.props,t=n.type,r={};for(var o in e){var u=e[o];if(!("value"===o&&"defaultValue"in e&&null==u||O&&"children"===o&&"noscript"===t||"class"===o||"className"===o)){var i=o.toLowerCase();"defaultValue"===o&&"value"in e&&null==e.value?o="value":"download"===o&&!0===u?u="":"translate"===i&&"no"===u?u=!1:"ondoubleclick"===i?o="ondblclick":"onchange"!==i||"input"!==t&&"textarea"!==t||R(e.type)?"onfocus"===i?o="onfocusin":"onblur"===i?o="onfocusout":P.test(o)?o=i:-1===t.indexOf("-")&&F.test(o)?o=o.replace(w,"-$&").toLowerCase():null===u&&(u=void 0):i=o="oninput","oninput"===i&&r[o=i]&&(o="oninputCapture"),r[o]=u}}"select"==t&&r.multiple&&Array.isArray(r.value)&&(r.value=(0,_.v2)(e.children).forEach((function(n){n.props.selected=-1!=r.value.indexOf(n.props.value)}))),"select"==t&&null!=r.defaultValue&&(r.value=(0,_.v2)(e.children).forEach((function(n){n.props.selected=r.multiple?-1!=r.defaultValue.indexOf(n.props.value):r.defaultValue==n.props.value}))),e.class&&!e.className?(r.class=e.class,Object.defineProperty(r,"className",W)):(e.className&&!e.class||e.class&&e.className)&&(r.class=r.className=e.className),n.props=r}(n),n.$$typeof=x,V&&V(n)};var I=_.fF.__r;_.fF.__r=function(n){I&&I(n),L=n.__c};var K=_.fF.diffed;_.fF.diffed=function(n){K&&K(n);var e=n.props,t=n.__e;null!=t&&"textarea"===n.type&&"value"in e&&e.value!==t.value&&(t.value=null==e.value?"":e.value),L=null};var B={ReactCurrentDispatcher:{current:{readContext:function(n){return L.__n[n.__c].props.value}}}},X="17.0.2";function J(n){return _.n.bind(null,n)}function q(n){return!!n&&n.$$typeof===x}function z(n){return q(n)&&n.type===_.FK}function $(n){return q(n)?_.Ob.apply(null,arguments):n}function Y(n){return!!n.__k&&((0,_.XX)(null,n),!0)}function j(n){return n&&(n.base||1===n.nodeType&&n)||null}var Q=function(n,e){return n(e)},Z=function(n,e){return n(e)},G=_.FK;function nn(n){n()}function en(n){return n}function tn(){return[!1,nn]}var _n=r.Nf,rn=q;function on(n,e){var t=e(),_=(0,r.J0)({h:{__:t,v:e}}),o=_[0].h,u=_[1];return(0,r.Nf)((function(){o.__=t,o.v=e,un(o)&&u({h:o})}),[n,t,e]),(0,r.vJ)((function(){return un(o)&&u({h:o}),n((function(){un(o)&&u({h:o})}))}),[n]),t}function un(n){var e,t,_=n.v,r=n.__;try{var o=_();return!((e=r)===(t=o)&&(0!==e||1/e==1/t)||e!=e&&t!=t)}catch(n){return!0}}var ln={useState:r.J0,useId:r.Bi,useReducer:r.WO,useEffect:r.vJ,useLayoutEffect:r.Nf,useInsertionEffect:_n,useTransition:tn,useDeferredValue:en,useSyncExternalStore:on,startTransition:nn,useRef:r.li,useImperativeHandle:r.Yn,useMemo:r.Kr,useCallback:r.hb,useContext:r.NT,useDebugValue:r.MN,version:"17.0.2",Children:p,render:A,hydrate:T,unmountComponentAtNode:Y,createPortal:S,createElement:_.n,createContext:_.q6,createFactory:J,cloneElement:$,createRef:_._3,Fragment:_.FK,isValidElement:q,isElement:rn,isFragment:z,findDOMNode:j,Component:_.uA,PureComponent:i,memo:l,forwardRef:f,flushSync:Z,unstable_batchedUpdates:Q,StrictMode:G,Suspense:y,SuspenseList:k,lazy:g,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:B}},754:(n,e,t)=>{t.d(e,{FK:()=>k,Ob:()=>J,Qv:()=>X,XX:()=>B,_3:()=>g,fF:()=>r,h:()=>y,n:()=>y,q6:()=>q,uA:()=>C,v2:()=>R,zO:()=>u});var _,r,o,u,i,l,c,a,f,s={},p=[],d=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,h=Array.isArray;function v(n,e){for(var t in e)n[t]=e[t];return n}function m(n){var e=n.parentNode;e&&e.removeChild(n)}function y(n,e,t){var r,o,u,i={};for(u in e)"key"==u?r=e[u]:"ref"==u?o=e[u]:i[u]=e[u];if(arguments.length>2&&(i.children=arguments.length>3?_.call(arguments,2):t),"function"==typeof n&&null!=n.defaultProps)for(u in n.defaultProps)void 0===i[u]&&(i[u]=n.defaultProps[u]);return b(n,i,r,o,null)}function b(n,e,t,_,u){var i={type:n,props:e,key:t,ref:_,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==u?++o:u,__i:-1,__u:0};return null==u&&null!=r.vnode&&r.vnode(i),i}function g(){return{current:null}}function k(n){return n.children}function C(n,e){this.props=n,this.context=e}function N(n,e){if(null==e)return n.__?N(n.__,n.__i+1):null;for(var t;e<n.__k.length;e++)if(null!=(t=n.__k[e])&&null!=t.__e)return t.__e;return"function"==typeof n.type?N(n):null}function E(n,e,t){var _,o=n.__v,u=o.__e,i=n.__P;if(i)return(_=v({},o)).__v=o.__v+1,r.vnode&&r.vnode(_),M(i,_,o,n.__n,void 0!==i.ownerSVGElement,32&o.__u?[u]:null,e,null==u?N(o):u,!!(32&o.__u),t),_.__v=o.__v,_.__.__k[_.__i]=_,_.__d=void 0,_.__e!=u&&S(_),_}function S(n){var e,t;if(null!=(n=n.__)&&null!=n.__c){for(n.__e=n.__c.base=null,e=0;e<n.__k.length;e++)if(null!=(t=n.__k[e])&&null!=t.__e){n.__e=n.__c.base=t.__e;break}return S(n)}}function x(n){(!n.__d&&(n.__d=!0)&&i.push(n)&&!F.__r++||l!==r.debounceRendering)&&((l=r.debounceRendering)||c)(F)}function F(){var n,e,t,_=[],o=[];for(i.sort(a);n=i.shift();)n.__d&&(t=i.length,e=E(n,_,o)||e,0===t||i.length>t?(L(_,e,o),o.length=_.length=0,e=void 0,i.sort(a)):e&&r.__c&&r.__c(e,p));e&&L(_,e,o),F.__r=0}function P(n,e,t,_,r,o,u,i,l,c,a){var f,d,h,v,m,y=_&&_.__k||p,b=e.length;for(t.__d=l,w(t,e,y),l=t.__d,f=0;f<b;f++)null!=(h=t.__k[f])&&"boolean"!=typeof h&&"function"!=typeof h&&(d=-1===h.__i?s:y[h.__i]||s,h.__i=f,M(n,h,d,r,o,u,i,l,c,a),v=h.__e,h.ref&&d.ref!=h.ref&&(d.ref&&V(d.ref,null,h),a.push(h.ref,h.__c||v,h)),null==m&&null!=v&&(m=v),65536&h.__u||d.__k===h.__k?l=O(h,l,n):"function"==typeof h.type&&void 0!==h.__d?l=h.__d:v&&(l=v.nextSibling),h.__d=void 0,h.__u&=-196609);t.__d=l,t.__e=m}function w(n,e,t){var _,r,o,u,i,l=e.length,c=t.length,a=c,f=0;for(n.__k=[],_=0;_<l;_++)u=_+f,null!=(r=n.__k[_]=null==(r=e[_])||"boolean"==typeof r||"function"==typeof r?null:"string"==typeof r||"number"==typeof r||"bigint"==typeof r||r.constructor==String?b(null,r,null,null,null):h(r)?b(k,{children:r},null,null,null):void 0===r.constructor&&r.__b>0?b(r.type,r.props,r.key,r.ref?r.ref:null,r.__v):r)?(r.__=n,r.__b=n.__b+1,i=A(r,t,u,a),r.__i=i,o=null,-1!==i&&(a--,(o=t[i])&&(o.__u|=131072)),null==o||null===o.__v?(-1==i&&f--,"function"!=typeof r.type&&(r.__u|=65536)):i!==u&&(i===u+1?f++:i>u?a>l-u?f+=i-u:f--:i<u?i==u-1&&(f=i-u):f=0,i!==_+f&&(r.__u|=65536))):(o=t[u])&&null==o.key&&o.__e&&!(131072&o.__u)&&(o.__e==n.__d&&(n.__d=N(o)),I(o,o,!1),t[u]=null,a--);if(a)for(_=0;_<c;_++)null!=(o=t[_])&&!(131072&o.__u)&&(o.__e==n.__d&&(n.__d=N(o)),I(o,o))}function O(n,e,t){var _,r;if("function"==typeof n.type){for(_=n.__k,r=0;_&&r<_.length;r++)_[r]&&(_[r].__=n,e=O(_[r],e,t));return e}n.__e!=e&&(t.insertBefore(n.__e,e||null),e=n.__e);do{e=e&&e.nextSibling}while(null!=e&&8===e.nodeType);return e}function R(n,e){return e=e||[],null==n||"boolean"==typeof n||(h(n)?n.some((function(n){R(n,e)})):e.push(n)),e}function A(n,e,t,_){var r=n.key,o=n.type,u=t-1,i=t+1,l=e[t];if(null===l||l&&r==l.key&&o===l.type&&!(131072&l.__u))return t;if(_>(null==l||131072&l.__u?0:1))for(;u>=0||i<e.length;){if(u>=0){if((l=e[u])&&!(131072&l.__u)&&r==l.key&&o===l.type)return u;u--}if(i<e.length){if((l=e[i])&&!(131072&l.__u)&&r==l.key&&o===l.type)return i;i++}}return-1}function T(n,e,t){"-"===e[0]?n.setProperty(e,null==t?"":t):n[e]=null==t?"":"number"!=typeof t||d.test(e)?t:t+"px"}function U(n,e,t,_,r){var o;n:if("style"===e)if("string"==typeof t)n.style.cssText=t;else{if("string"==typeof _&&(n.style.cssText=_=""),_)for(e in _)t&&e in t||T(n.style,e,"");if(t)for(e in t)_&&t[e]===_[e]||T(n.style,e,t[e])}else if("o"===e[0]&&"n"===e[1])o=e!==(e=e.replace(/(PointerCapture)$|Capture$/i,"$1")),e=e.toLowerCase()in n?e.toLowerCase().slice(2):e.slice(2),n.l||(n.l={}),n.l[e+o]=t,t?_?t.u=_.u:(t.u=Date.now(),n.addEventListener(e,o?D:H,o)):n.removeEventListener(e,o?D:H,o);else{if(r)e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==e&&"height"!==e&&"href"!==e&&"list"!==e&&"form"!==e&&"tabIndex"!==e&&"download"!==e&&"rowSpan"!==e&&"colSpan"!==e&&"role"!==e&&e in n)try{n[e]=null==t?"":t;break n}catch(n){}"function"==typeof t||(null==t||!1===t&&"-"!==e[4]?n.removeAttribute(e):n.setAttribute(e,t))}}function H(n){if(this.l){var e=this.l[n.type+!1];if(n.t){if(n.t<=e.u)return}else n.t=Date.now();return e(r.event?r.event(n):n)}}function D(n){if(this.l)return this.l[n.type+!0](r.event?r.event(n):n)}function M(n,e,t,_,o,u,i,l,c,a){var f,s,p,d,m,y,b,g,N,E,S,x,F,w,O,R=e.type;if(void 0!==e.constructor)return null;128&t.__u&&(c=!!(32&t.__u),u=[l=e.__e=t.__e]),(f=r.__b)&&f(e);n:if("function"==typeof R)try{if(g=e.props,N=(f=R.contextType)&&_[f.__c],E=f?N?N.props.value:f.__:_,t.__c?b=(s=e.__c=t.__c).__=s.__E:("prototype"in R&&R.prototype.render?e.__c=s=new R(g,E):(e.__c=s=new C(g,E),s.constructor=R,s.render=K),N&&N.sub(s),s.props=g,s.state||(s.state={}),s.context=E,s.__n=_,p=s.__d=!0,s.__h=[],s._sb=[]),null==s.__s&&(s.__s=s.state),null!=R.getDerivedStateFromProps&&(s.__s==s.state&&(s.__s=v({},s.__s)),v(s.__s,R.getDerivedStateFromProps(g,s.__s))),d=s.props,m=s.state,s.__v=e,p)null==R.getDerivedStateFromProps&&null!=s.componentWillMount&&s.componentWillMount(),null!=s.componentDidMount&&s.__h.push(s.componentDidMount);else{if(null==R.getDerivedStateFromProps&&g!==d&&null!=s.componentWillReceiveProps&&s.componentWillReceiveProps(g,E),!s.__e&&(null!=s.shouldComponentUpdate&&!1===s.shouldComponentUpdate(g,s.__s,E)||e.__v===t.__v)){for(e.__v!==t.__v&&(s.props=g,s.state=s.__s,s.__d=!1),e.__e=t.__e,e.__k=t.__k,e.__k.forEach((function(n){n&&(n.__=e)})),S=0;S<s._sb.length;S++)s.__h.push(s._sb[S]);s._sb=[],s.__h.length&&i.push(s);break n}null!=s.componentWillUpdate&&s.componentWillUpdate(g,s.__s,E),null!=s.componentDidUpdate&&s.__h.push((function(){s.componentDidUpdate(d,m,y)}))}if(s.context=E,s.props=g,s.__P=n,s.__e=!1,x=r.__r,F=0,"prototype"in R&&R.prototype.render){for(s.state=s.__s,s.__d=!1,x&&x(e),f=s.render(s.props,s.state,s.context),w=0;w<s._sb.length;w++)s.__h.push(s._sb[w]);s._sb=[]}else do{s.__d=!1,x&&x(e),f=s.render(s.props,s.state,s.context),s.state=s.__s}while(s.__d&&++F<25);s.state=s.__s,null!=s.getChildContext&&(_=v(v({},_),s.getChildContext())),p||null==s.getSnapshotBeforeUpdate||(y=s.getSnapshotBeforeUpdate(d,m)),P(n,h(O=null!=f&&f.type===k&&null==f.key?f.props.children:f)?O:[O],e,t,_,o,u,i,l,c,a),s.base=e.__e,e.__u&=-161,s.__h.length&&i.push(s),b&&(s.__E=s.__=null)}catch(n){e.__v=null,c||null!=u?(e.__e=l,e.__u|=c?160:32,u[u.indexOf(l)]=null):(e.__e=t.__e,e.__k=t.__k),r.__e(n,e,t)}else null==u&&e.__v===t.__v?(e.__k=t.__k,e.__e=t.__e):e.__e=W(t.__e,e,t,_,o,u,i,c,a);(f=r.diffed)&&f(e)}function L(n,e,t){for(var _=0;_<t.length;_++)V(t[_],t[++_],t[++_]);r.__c&&r.__c(e,n),n.some((function(e){try{n=e.__h,e.__h=[],n.some((function(n){n.call(e)}))}catch(n){r.__e(n,e.__v)}}))}function W(n,e,t,r,o,u,i,l,c){var a,f,p,d,v,y,b,g=t.props,k=e.props,C=e.type;if("svg"===C&&(o=!0),null!=u)for(a=0;a<u.length;a++)if((v=u[a])&&"setAttribute"in v==!!C&&(C?v.localName===C:3===v.nodeType)){n=v,u[a]=null;break}if(null==n){if(null===C)return document.createTextNode(k);n=o?document.createElementNS("http://www.w3.org/2000/svg",C):document.createElement(C,k.is&&k),u=null,l=!1}if(null===C)g===k||l&&n.data===k||(n.data=k);else{if(u=u&&_.call(n.childNodes),g=t.props||s,!l&&null!=u)for(g={},a=0;a<n.attributes.length;a++)g[(v=n.attributes[a]).name]=v.value;for(a in g)v=g[a],"children"==a||("dangerouslySetInnerHTML"==a?p=v:"key"===a||a in k||U(n,a,null,v,o));for(a in k)v=k[a],"children"==a?d=v:"dangerouslySetInnerHTML"==a?f=v:"value"==a?y=v:"checked"==a?b=v:"key"===a||l&&"function"!=typeof v||g[a]===v||U(n,a,v,g[a],o);if(f)l||p&&(f.__html===p.__html||f.__html===n.innerHTML)||(n.innerHTML=f.__html),e.__k=[];else if(p&&(n.innerHTML=""),P(n,h(d)?d:[d],e,t,r,o&&"foreignObject"!==C,u,i,u?u[0]:t.__k&&N(t,0),l,c),null!=u)for(a=u.length;a--;)null!=u[a]&&m(u[a]);l||(a="value",void 0!==y&&(y!==n[a]||"progress"===C&&!y||"option"===C&&y!==g[a])&&U(n,a,y,g[a],!1),a="checked",void 0!==b&&b!==n[a]&&U(n,a,b,g[a],!1))}return n}function V(n,e,t){try{"function"==typeof n?n(e):n.current=e}catch(n){r.__e(n,t)}}function I(n,e,t){var _,o;if(r.unmount&&r.unmount(n),(_=n.ref)&&(_.current&&_.current!==n.__e||V(_,null,e)),null!=(_=n.__c)){if(_.componentWillUnmount)try{_.componentWillUnmount()}catch(n){r.__e(n,e)}_.base=_.__P=null,n.__c=void 0}if(_=n.__k)for(o=0;o<_.length;o++)_[o]&&I(_[o],e,t||"function"!=typeof n.type);t||null==n.__e||m(n.__e),n.__=n.__e=n.__d=void 0}function K(n,e,t){return this.constructor(n,t)}function B(n,e,t){var o,u,i,l;r.__&&r.__(n,e),u=(o="function"==typeof t)?null:t&&t.__k||e.__k,i=[],l=[],M(e,n=(!o&&t||e).__k=y(k,null,[n]),u||s,s,void 0!==e.ownerSVGElement,!o&&t?[t]:u?null:e.firstChild?_.call(e.childNodes):null,i,!o&&t?t:u?u.__e:e.firstChild,o,l),n.__d=void 0,L(i,n,l)}function X(n,e){B(n,e,X)}function J(n,e,t){var r,o,u,i,l=v({},n.props);for(u in n.type&&n.type.defaultProps&&(i=n.type.defaultProps),e)"key"==u?r=e[u]:"ref"==u?o=e[u]:l[u]=void 0===e[u]&&void 0!==i?i[u]:e[u];return arguments.length>2&&(l.children=arguments.length>3?_.call(arguments,2):t),b(n.type,l,r||n.key,o||n.ref,null)}function q(n,e){var t={__c:e="__cC"+f++,__:n,Consumer:function(n,e){return n.children(e)},Provider:function(n){var t,_;return this.getChildContext||(t=[],(_={})[e]=this,this.getChildContext=function(){return _},this.shouldComponentUpdate=function(n){this.props.value!==n.value&&t.some((function(n){n.__e=!0,x(n)}))},this.sub=function(n){t.push(n);var e=n.componentWillUnmount;n.componentWillUnmount=function(){t.splice(t.indexOf(n),1),e&&e.call(n)}}),n.children}};return t.Provider.__=t.Consumer.contextType=t}_=p.slice,r={__e:function(n,e,t,_){for(var r,o,u;e=e.__;)if((r=e.__c)&&!r.__)try{if((o=r.constructor)&&null!=o.getDerivedStateFromError&&(r.setState(o.getDerivedStateFromError(n)),u=r.__d),null!=r.componentDidCatch&&(r.componentDidCatch(n,_||{}),u=r.__d),u)return r.__E=r}catch(e){n=e}throw n}},o=0,u=function(n){return null!=n&&null==n.constructor},C.prototype.setState=function(n,e){var t;t=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=v({},this.state),"function"==typeof n&&(n=n(v({},t),this.props)),n&&v(t,n),null!=n&&this.__v&&(e&&this._sb.push(e),x(this))},C.prototype.forceUpdate=function(n){this.__v&&(this.__e=!0,n&&this.__h.push(n),x(this))},C.prototype.render=k,i=[],c="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,a=function(n,e){return n.__v.__b-e.__v.__b},F.__r=0,f=0},416:(n,e,t)=>{t.d(e,{Bi:()=>O,J0:()=>b,Kr:()=>S,MN:()=>P,Md:()=>w,NT:()=>F,Nf:()=>C,WO:()=>g,Yn:()=>E,hb:()=>x,li:()=>N,vJ:()=>k});var _,r,o,u,i=t(754),l=0,c=[],a=[],f=i.fF,s=f.__b,p=f.__r,d=f.diffed,h=f.__c,v=f.unmount,m=f.__;function y(n,e){f.__h&&f.__h(r,n,l||e),l=0;var t=r.__H||(r.__H={__:[],__h:[]});return n>=t.__.length&&t.__.push({__V:a}),t.__[n]}function b(n){return l=1,g(M,n)}function g(n,e,t){var o=y(_++,2);if(o.t=n,!o.__c&&(o.__=[t?t(e):M(void 0,e),function(n){var e=o.__N?o.__N[0]:o.__[0],t=o.t(e,n);e!==t&&(o.__N=[t,o.__[1]],o.__c.setState({}))}],o.__c=r,!r.u)){var u=function(n,e,t){if(!o.__c.__H)return!0;var _=o.__c.__H.__.filter((function(n){return!!n.__c}));if(_.every((function(n){return!n.__N})))return!i||i.call(this,n,e,t);var r=!1;return _.forEach((function(n){if(n.__N){var e=n.__[0];n.__=n.__N,n.__N=void 0,e!==n.__[0]&&(r=!0)}})),!(!r&&o.__c.props===n)&&(!i||i.call(this,n,e,t))};r.u=!0;var i=r.shouldComponentUpdate,l=r.componentWillUpdate;r.componentWillUpdate=function(n,e,t){if(this.__e){var _=i;i=void 0,u(n,e,t),i=_}l&&l.call(this,n,e,t)},r.shouldComponentUpdate=u}return o.__N||o.__}function k(n,e){var t=y(_++,3);!f.__s&&D(t.__H,e)&&(t.__=n,t.i=e,r.__H.__h.push(t))}function C(n,e){var t=y(_++,4);!f.__s&&D(t.__H,e)&&(t.__=n,t.i=e,r.__h.push(t))}function N(n){return l=5,S((function(){return{current:n}}),[])}function E(n,e,t){l=6,C((function(){return"function"==typeof n?(n(e()),function(){return n(null)}):n?(n.current=e(),function(){return n.current=null}):void 0}),null==t?t:t.concat(n))}function S(n,e){var t=y(_++,7);return D(t.__H,e)?(t.__V=n(),t.i=e,t.__h=n,t.__V):t.__}function x(n,e){return l=8,S((function(){return n}),e)}function F(n){var e=r.context[n.__c],t=y(_++,9);return t.c=n,e?(null==t.__&&(t.__=!0,e.sub(r)),e.props.value):n.__}function P(n,e){f.useDebugValue&&f.useDebugValue(e?e(n):n)}function w(n){var e=y(_++,10),t=b();return e.__=n,r.componentDidCatch||(r.componentDidCatch=function(n,_){e.__&&e.__(n,_),t[1](n)}),[t[0],function(){t[1](void 0)}]}function O(){var n=y(_++,11);if(!n.__){for(var e=r.__v;null!==e&&!e.__m&&null!==e.__;)e=e.__;var t=e.__m||(e.__m=[0,0]);n.__="P"+t[0]+"-"+t[1]++}return n.__}function R(){for(var n;n=c.shift();)if(n.__P&&n.__H)try{n.__H.__h.forEach(U),n.__H.__h.forEach(H),n.__H.__h=[]}catch(e){n.__H.__h=[],f.__e(e,n.__v)}}f.__b=function(n){r=null,s&&s(n)},f.__=function(n,e){n&&e.__k&&e.__k.__m&&(n.__m=e.__k.__m),m&&m(n,e)},f.__r=function(n){p&&p(n),_=0;var e=(r=n.__c).__H;e&&(o===r?(e.__h=[],r.__h=[],e.__.forEach((function(n){n.__N&&(n.__=n.__N),n.__V=a,n.__N=n.i=void 0}))):(e.__h.forEach(U),e.__h.forEach(H),e.__h=[],_=0)),o=r},f.diffed=function(n){d&&d(n);var e=n.__c;e&&e.__H&&(e.__H.__h.length&&(1!==c.push(e)&&u===f.requestAnimationFrame||((u=f.requestAnimationFrame)||T)(R)),e.__H.__.forEach((function(n){n.i&&(n.__H=n.i),n.__V!==a&&(n.__=n.__V),n.i=void 0,n.__V=a}))),o=r=null},f.__c=function(n,e){e.some((function(n){try{n.__h.forEach(U),n.__h=n.__h.filter((function(n){return!n.__||H(n)}))}catch(t){e.some((function(n){n.__h&&(n.__h=[])})),e=[],f.__e(t,n.__v)}})),h&&h(n,e)},f.unmount=function(n){v&&v(n);var e,t=n.__c;t&&t.__H&&(t.__H.__.forEach((function(n){try{U(n)}catch(n){e=n}})),t.__H=void 0,e&&f.__e(e,t.__v))};var A="function"==typeof requestAnimationFrame;function T(n){var e,t=function(){clearTimeout(_),A&&cancelAnimationFrame(e),setTimeout(n)},_=setTimeout(t,100);A&&(e=requestAnimationFrame(t))}function U(n){var e=r,t=n.__c;"function"==typeof t&&(n.__c=void 0,t()),r=e}function H(n){var e=r;n.__c=n.__(),r=e}function D(n,e){return!n||n.length!==e.length||e.some((function(e,t){return e!==n[t]}))}function M(n,e){return"function"==typeof e?e(n):e}}};import n from"./runtime.js";import*as e from"./preact-compat.js";n.C(e);var t=(464,n(n.s=464)),_=t.yL,r=t.uA,o=t.FK,u=t.o6,i=t.ZR,l=t.tY,c=t.Lf,a=t.SA,f=t.Ob,s=t.q6,p=t.n,d=t.Bw,h=t.d5,v=t._3,m=t.Ay,y=t.oK,b=t.qX,g=t.Rf,k=t.Qv,C=t.vq,N=t.zv,E=t.zO,S=t.RZ,x=t.ph,F=t.XX,P=t.KQ,w=t.xJ,O=t.rS,R=t.hb,A=t.NT,T=t.MN,U=t.sp,H=t.vJ,D=t.Md,M=t.Bi,L=t.Yn,W=t.I5,V=t.Nf,I=t.Kr,K=t.WO,B=t.li,X=t.J0,J=t.rz,q=t.pn,z=t.rE;export{_ as Children,r as Component,o as Fragment,u as PureComponent,i as StrictMode,l as Suspense,c as SuspenseList,a as __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,f as cloneElement,s as createContext,p as createElement,d as createFactory,h as createPortal,v as createRef,m as default,y as findDOMNode,b as flushSync,g as forwardRef,k as hydrate,C as isElement,N as isFragment,E as isValidElement,S as lazy,x as memo,F as render,P as startTransition,w as unmountComponentAtNode,O as unstable_batchedUpdates,R as useCallback,A as useContext,T as useDebugValue,U as useDeferredValue,H as useEffect,D as useErrorBoundary,M as useId,L as useImperativeHandle,W as useInsertionEffect,V as useLayoutEffect,I as useMemo,K as useReducer,B as useRef,X as useState,J as useSyncExternalStore,q as useTransition,z as version};
|
package/preact-hooks.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const id=673;export const ids=[673,174];export const modules={754:(_,n,e)=>{e.d(n,{FK:()=>k,Ob:()=>J,Qv:()=>$,XX:()=>I,_3:()=>b,fF:()=>o,h:()=>y,n:()=>y,q6:()=>j,uA:()=>C,v2:()=>T,zO:()=>u});var t,o,r,u,l,i,c,f,s,a={},p=[],h=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,d=Array.isArray;function v(_,n){for(var e in n)_[e]=n[e];return _}function m(_){var n=_.parentNode;n&&n.removeChild(_)}function y(_,n,e){var o,r,u,l={};for(u in n)"key"==u?o=n[u]:"ref"==u?r=n[u]:l[u]=n[u];if(arguments.length>2&&(l.children=arguments.length>3?t.call(arguments,2):e),"function"==typeof _&&null!=_.defaultProps)for(u in _.defaultProps)void 0===l[u]&&(l[u]=_.defaultProps[u]);return g(_,l,o,r,null)}function g(_,n,e,t,u){var l={type:_,props:n,key:e,ref:t,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==u?++r:u,__i:-1,__u:0};return null==u&&null!=o.vnode&&o.vnode(l),l}function b(){return{current:null}}function k(_){return _.children}function C(_,n){this.props=_,this.context=n}function x(_,n){if(null==n)return _.__?x(_.__,_.__i+1):null;for(var e;n<_.__k.length;n++)if(null!=(e=_.__k[n])&&null!=e.__e)return e.__e;return"function"==typeof _.type?x(_):null}function H(_,n,e){var t,r=_.__v,u=r.__e,l=_.__P;if(l)return(t=v({},r)).__v=r.__v+1,o.vnode&&o.vnode(t),A(l,t,r,_.__n,void 0!==l.ownerSVGElement,32&r.__u?[u]:null,n,null==u?x(r):u,!!(32&r.__u),e),t.__v=r.__v,t.__.__k[t.__i]=t,t.__d=void 0,t.__e!=u&&E(t),t}function E(_){var n,e;if(null!=(_=_.__)&&null!=_.__c){for(_.__e=_.__c.base=null,n=0;n<_.__k.length;n++)if(null!=(e=_.__k[n])&&null!=e.__e){_.__e=_.__c.base=e.__e;break}return E(_)}}function N(_){(!_.__d&&(_.__d=!0)&&l.push(_)&&!P.__r++||i!==o.debounceRendering)&&((i=o.debounceRendering)||c)(P)}function P(){var _,n,e,t=[],r=[];for(l.sort(f);_=l.shift();)_.__d&&(e=l.length,n=H(_,t,r)||n,0===e||l.length>e?(L(t,n,r),r.length=t.length=0,n=void 0,l.sort(f)):n&&o.__c&&o.__c(n,p));n&&L(t,n,r),P.__r=0}function S(_,n,e,t,o,r,u,l,i,c,f){var s,h,d,v,m,y=t&&t.__k||p,g=n.length;for(e.__d=i,w(e,n,y),i=e.__d,s=0;s<g;s++)null!=(d=e.__k[s])&&"boolean"!=typeof d&&"function"!=typeof d&&(h=-1===d.__i?a:y[d.__i]||a,d.__i=s,A(_,d,h,o,r,u,l,i,c,f),v=d.__e,d.ref&&h.ref!=d.ref&&(h.ref&&B(h.ref,null,d),f.push(d.ref,d.__c||v,d)),null==m&&null!=v&&(m=v),65536&d.__u||h.__k===d.__k?i=D(d,i,_):"function"==typeof d.type&&void 0!==d.__d?i=d.__d:v&&(i=v.nextSibling),d.__d=void 0,d.__u&=-196609);e.__d=i,e.__e=m}function w(_,n,e){var t,o,r,u,l,i=n.length,c=e.length,f=c,s=0;for(_.__k=[],t=0;t<i;t++)u=t+s,null!=(o=_.__k[t]=null==(o=n[t])||"boolean"==typeof o||"function"==typeof o?null:"string"==typeof o||"number"==typeof o||"bigint"==typeof o||o.constructor==String?g(null,o,null,null,null):d(o)?g(k,{children:o},null,null,null):void 0===o.constructor&&o.__b>0?g(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)?(o.__=_,o.__b=_.__b+1,l=U(o,e,u,f),o.__i=l,r=null,-1!==l&&(f--,(r=e[l])&&(r.__u|=131072)),null==r||null===r.__v?(-1==l&&s--,"function"!=typeof o.type&&(o.__u|=65536)):l!==u&&(l===u+1?s++:l>u?f>i-u?s+=l-u:s--:l<u?l==u-1&&(s=l-u):s=0,l!==t+s&&(o.__u|=65536))):(r=e[u])&&null==r.key&&r.__e&&!(131072&r.__u)&&(r.__e==_.__d&&(_.__d=x(r)),R(r,r,!1),e[u]=null,f--);if(f)for(t=0;t<c;t++)null!=(r=e[t])&&!(131072&r.__u)&&(r.__e==_.__d&&(_.__d=x(r)),R(r,r))}function D(_,n,e){var t,o;if("function"==typeof _.type){for(t=_.__k,o=0;t&&o<t.length;o++)t[o]&&(t[o].__=_,n=D(t[o],n,e));return n}_.__e!=n&&(e.insertBefore(_.__e,n||null),n=_.__e);do{n=n&&n.nextSibling}while(null!=n&&8===n.nodeType);return n}function T(_,n){return n=n||[],null==_||"boolean"==typeof _||(d(_)?_.some((function(_){T(_,n)})):n.push(_)),n}function U(_,n,e,t){var o=_.key,r=_.type,u=e-1,l=e+1,i=n[e];if(null===i||i&&o==i.key&&r===i.type&&!(131072&i.__u))return e;if(t>(null==i||131072&i.__u?0:1))for(;u>=0||l<n.length;){if(u>=0){if((i=n[u])&&!(131072&i.__u)&&o==i.key&&r===i.type)return u;u--}if(l<n.length){if((i=n[l])&&!(131072&i.__u)&&o==i.key&&r===i.type)return l;l++}}return-1}function F(_,n,e){"-"===n[0]?_.setProperty(n,null==e?"":e):_[n]=null==e?"":"number"!=typeof e||h.test(n)?e:e+"px"}function M(_,n,e,t,o){var r;_:if("style"===n)if("string"==typeof e)_.style.cssText=e;else{if("string"==typeof t&&(_.style.cssText=t=""),t)for(n in t)e&&n in e||F(_.style,n,"");if(e)for(n in e)t&&e[n]===t[n]||F(_.style,n,e[n])}else if("o"===n[0]&&"n"===n[1])r=n!==(n=n.replace(/(PointerCapture)$|Capture$/i,"$1")),n=n.toLowerCase()in _?n.toLowerCase().slice(2):n.slice(2),_.l||(_.l={}),_.l[n+r]=e,e?t?e.u=t.u:(e.u=Date.now(),_.addEventListener(n,r?V:W,r)):_.removeEventListener(n,r?V:W,r);else{if(o)n=n.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==n&&"height"!==n&&"href"!==n&&"list"!==n&&"form"!==n&&"tabIndex"!==n&&"download"!==n&&"rowSpan"!==n&&"colSpan"!==n&&"role"!==n&&n in _)try{_[n]=null==e?"":e;break _}catch(_){}"function"==typeof e||(null==e||!1===e&&"-"!==n[4]?_.removeAttribute(n):_.setAttribute(n,e))}}function W(_){if(this.l){var n=this.l[_.type+!1];if(_.t){if(_.t<=n.u)return}else _.t=Date.now();return n(o.event?o.event(_):_)}}function V(_){if(this.l)return this.l[_.type+!0](o.event?o.event(_):_)}function A(_,n,e,t,r,u,l,i,c,f){var s,a,p,h,m,y,g,b,x,H,E,N,P,w,D,T=n.type;if(void 0!==n.constructor)return null;128&e.__u&&(c=!!(32&e.__u),u=[i=n.__e=e.__e]),(s=o.__b)&&s(n);_:if("function"==typeof T)try{if(b=n.props,x=(s=T.contextType)&&t[s.__c],H=s?x?x.props.value:s.__:t,e.__c?g=(a=n.__c=e.__c).__=a.__E:("prototype"in T&&T.prototype.render?n.__c=a=new T(b,H):(n.__c=a=new C(b,H),a.constructor=T,a.render=q),x&&x.sub(a),a.props=b,a.state||(a.state={}),a.context=H,a.__n=t,p=a.__d=!0,a.__h=[],a._sb=[]),null==a.__s&&(a.__s=a.state),null!=T.getDerivedStateFromProps&&(a.__s==a.state&&(a.__s=v({},a.__s)),v(a.__s,T.getDerivedStateFromProps(b,a.__s))),h=a.props,m=a.state,a.__v=n,p)null==T.getDerivedStateFromProps&&null!=a.componentWillMount&&a.componentWillMount(),null!=a.componentDidMount&&a.__h.push(a.componentDidMount);else{if(null==T.getDerivedStateFromProps&&b!==h&&null!=a.componentWillReceiveProps&&a.componentWillReceiveProps(b,H),!a.__e&&(null!=a.shouldComponentUpdate&&!1===a.shouldComponentUpdate(b,a.__s,H)||n.__v===e.__v)){for(n.__v!==e.__v&&(a.props=b,a.state=a.__s,a.__d=!1),n.__e=e.__e,n.__k=e.__k,n.__k.forEach((function(_){_&&(_.__=n)})),E=0;E<a._sb.length;E++)a.__h.push(a._sb[E]);a._sb=[],a.__h.length&&l.push(a);break _}null!=a.componentWillUpdate&&a.componentWillUpdate(b,a.__s,H),null!=a.componentDidUpdate&&a.__h.push((function(){a.componentDidUpdate(h,m,y)}))}if(a.context=H,a.props=b,a.__P=_,a.__e=!1,N=o.__r,P=0,"prototype"in T&&T.prototype.render){for(a.state=a.__s,a.__d=!1,N&&N(n),s=a.render(a.props,a.state,a.context),w=0;w<a._sb.length;w++)a.__h.push(a._sb[w]);a._sb=[]}else do{a.__d=!1,N&&N(n),s=a.render(a.props,a.state,a.context),a.state=a.__s}while(a.__d&&++P<25);a.state=a.__s,null!=a.getChildContext&&(t=v(v({},t),a.getChildContext())),p||null==a.getSnapshotBeforeUpdate||(y=a.getSnapshotBeforeUpdate(h,m)),S(_,d(D=null!=s&&s.type===k&&null==s.key?s.props.children:s)?D:[D],n,e,t,r,u,l,i,c,f),a.base=n.__e,n.__u&=-161,a.__h.length&&l.push(a),g&&(a.__E=a.__=null)}catch(_){n.__v=null,c||null!=u?(n.__e=i,n.__u|=c?160:32,u[u.indexOf(i)]=null):(n.__e=e.__e,n.__k=e.__k),o.__e(_,n,e)}else null==u&&n.__v===e.__v?(n.__k=e.__k,n.__e=e.__e):n.__e=O(e.__e,n,e,t,r,u,l,c,f);(s=o.diffed)&&s(n)}function L(_,n,e){for(var t=0;t<e.length;t++)B(e[t],e[++t],e[++t]);o.__c&&o.__c(n,_),_.some((function(n){try{_=n.__h,n.__h=[],_.some((function(_){_.call(n)}))}catch(_){o.__e(_,n.__v)}}))}function O(_,n,e,o,r,u,l,i,c){var f,s,p,h,v,y,g,b=e.props,k=n.props,C=n.type;if("svg"===C&&(r=!0),null!=u)for(f=0;f<u.length;f++)if((v=u[f])&&"setAttribute"in v==!!C&&(C?v.localName===C:3===v.nodeType)){_=v,u[f]=null;break}if(null==_){if(null===C)return document.createTextNode(k);_=r?document.createElementNS("http://www.w3.org/2000/svg",C):document.createElement(C,k.is&&k),u=null,i=!1}if(null===C)b===k||i&&_.data===k||(_.data=k);else{if(u=u&&t.call(_.childNodes),b=e.props||a,!i&&null!=u)for(b={},f=0;f<_.attributes.length;f++)b[(v=_.attributes[f]).name]=v.value;for(f in b)v=b[f],"children"==f||("dangerouslySetInnerHTML"==f?p=v:"key"===f||f in k||M(_,f,null,v,r));for(f in k)v=k[f],"children"==f?h=v:"dangerouslySetInnerHTML"==f?s=v:"value"==f?y=v:"checked"==f?g=v:"key"===f||i&&"function"!=typeof v||b[f]===v||M(_,f,v,b[f],r);if(s)i||p&&(s.__html===p.__html||s.__html===_.innerHTML)||(_.innerHTML=s.__html),n.__k=[];else if(p&&(_.innerHTML=""),S(_,d(h)?h:[h],n,e,o,r&&"foreignObject"!==C,u,l,u?u[0]:e.__k&&x(e,0),i,c),null!=u)for(f=u.length;f--;)null!=u[f]&&m(u[f]);i||(f="value",void 0!==y&&(y!==_[f]||"progress"===C&&!y||"option"===C&&y!==b[f])&&M(_,f,y,b[f],!1),f="checked",void 0!==g&&g!==_[f]&&M(_,f,g,b[f],!1))}return _}function B(_,n,e){try{"function"==typeof _?_(n):_.current=n}catch(_){o.__e(_,e)}}function R(_,n,e){var t,r;if(o.unmount&&o.unmount(_),(t=_.ref)&&(t.current&&t.current!==_.__e||B(t,null,n)),null!=(t=_.__c)){if(t.componentWillUnmount)try{t.componentWillUnmount()}catch(_){o.__e(_,n)}t.base=t.__P=null,_.__c=void 0}if(t=_.__k)for(r=0;r<t.length;r++)t[r]&&R(t[r],n,e||"function"!=typeof _.type);e||null==_.__e||m(_.__e),_.__=_.__e=_.__d=void 0}function q(_,n,e){return this.constructor(_,e)}function I(_,n,e){var r,u,l,i;o.__&&o.__(_,n),u=(r="function"==typeof e)?null:e&&e.__k||n.__k,l=[],i=[],A(n,_=(!r&&e||n).__k=y(k,null,[_]),u||a,a,void 0!==n.ownerSVGElement,!r&&e?[e]:u?null:n.firstChild?t.call(n.childNodes):null,l,!r&&e?e:u?u.__e:n.firstChild,r,i),_.__d=void 0,L(l,_,i)}function $(_,n){I(_,n,$)}function J(_,n,e){var o,r,u,l,i=v({},_.props);for(u in _.type&&_.type.defaultProps&&(l=_.type.defaultProps),n)"key"==u?o=n[u]:"ref"==u?r=n[u]:i[u]=void 0===n[u]&&void 0!==l?l[u]:n[u];return arguments.length>2&&(i.children=arguments.length>3?t.call(arguments,2):e),g(_.type,i,o||_.key,r||_.ref,null)}function j(_,n){var e={__c:n="__cC"+s++,__:_,Consumer:function(_,n){return _.children(n)},Provider:function(_){var e,t;return this.getChildContext||(e=[],(t={})[n]=this,this.getChildContext=function(){return t},this.shouldComponentUpdate=function(_){this.props.value!==_.value&&e.some((function(_){_.__e=!0,N(_)}))},this.sub=function(_){e.push(_);var n=_.componentWillUnmount;_.componentWillUnmount=function(){e.splice(e.indexOf(_),1),n&&n.call(_)}}),_.children}};return e.Provider.__=e.Consumer.contextType=e}t=p.slice,o={__e:function(_,n,e,t){for(var o,r,u;n=n.__;)if((o=n.__c)&&!o.__)try{if((r=o.constructor)&&null!=r.getDerivedStateFromError&&(o.setState(r.getDerivedStateFromError(_)),u=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(_,t||{}),u=o.__d),u)return o.__E=o}catch(n){_=n}throw _}},r=0,u=function(_){return null!=_&&null==_.constructor},C.prototype.setState=function(_,n){var e;e=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=v({},this.state),"function"==typeof _&&(_=_(v({},e),this.props)),_&&v(e,_),null!=_&&this.__v&&(n&&this._sb.push(n),N(this))},C.prototype.forceUpdate=function(_){this.__v&&(this.__e=!0,_&&this.__h.push(_),N(this))},C.prototype.render=k,l=[],c="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,f=function(_,n){return _.__v.__b-n.__v.__b},P.__r=0,s=0},416:(_,n,e)=>{e.d(n,{Bi:()=>D,J0:()=>g,Kr:()=>E,MN:()=>S,Md:()=>w,NT:()=>P,Nf:()=>C,WO:()=>b,Yn:()=>H,hb:()=>N,li:()=>x,vJ:()=>k});var t,o,r,u,l=e(754),i=0,c=[],f=[],s=l.fF,a=s.__b,p=s.__r,h=s.diffed,d=s.__c,v=s.unmount,m=s.__;function y(_,n){s.__h&&s.__h(o,_,i||n),i=0;var e=o.__H||(o.__H={__:[],__h:[]});return _>=e.__.length&&e.__.push({__V:f}),e.__[_]}function g(_){return i=1,b(A,_)}function b(_,n,e){var r=y(t++,2);if(r.t=_,!r.__c&&(r.__=[e?e(n):A(void 0,n),function(_){var n=r.__N?r.__N[0]:r.__[0],e=r.t(n,_);n!==e&&(r.__N=[e,r.__[1]],r.__c.setState({}))}],r.__c=o,!o.u)){var u=function(_,n,e){if(!r.__c.__H)return!0;var t=r.__c.__H.__.filter((function(_){return!!_.__c}));if(t.every((function(_){return!_.__N})))return!l||l.call(this,_,n,e);var o=!1;return t.forEach((function(_){if(_.__N){var n=_.__[0];_.__=_.__N,_.__N=void 0,n!==_.__[0]&&(o=!0)}})),!(!o&&r.__c.props===_)&&(!l||l.call(this,_,n,e))};o.u=!0;var l=o.shouldComponentUpdate,i=o.componentWillUpdate;o.componentWillUpdate=function(_,n,e){if(this.__e){var t=l;l=void 0,u(_,n,e),l=t}i&&i.call(this,_,n,e)},o.shouldComponentUpdate=u}return r.__N||r.__}function k(_,n){var e=y(t++,3);!s.__s&&V(e.__H,n)&&(e.__=_,e.i=n,o.__H.__h.push(e))}function C(_,n){var e=y(t++,4);!s.__s&&V(e.__H,n)&&(e.__=_,e.i=n,o.__h.push(e))}function x(_){return i=5,E((function(){return{current:_}}),[])}function H(_,n,e){i=6,C((function(){return"function"==typeof _?(_(n()),function(){return _(null)}):_?(_.current=n(),function(){return _.current=null}):void 0}),null==e?e:e.concat(_))}function E(_,n){var e=y(t++,7);return V(e.__H,n)?(e.__V=_(),e.i=n,e.__h=_,e.__V):e.__}function N(_,n){return i=8,E((function(){return _}),n)}function P(_){var n=o.context[_.__c],e=y(t++,9);return e.c=_,n?(null==e.__&&(e.__=!0,n.sub(o)),n.props.value):_.__}function S(_,n){s.useDebugValue&&s.useDebugValue(n?n(_):_)}function w(_){var n=y(t++,10),e=g();return n.__=_,o.componentDidCatch||(o.componentDidCatch=function(_,t){n.__&&n.__(_,t),e[1](_)}),[e[0],function(){e[1](void 0)}]}function D(){var _=y(t++,11);if(!_.__){for(var n=o.__v;null!==n&&!n.__m&&null!==n.__;)n=n.__;var e=n.__m||(n.__m=[0,0]);_.__="P"+e[0]+"-"+e[1]++}return _.__}function T(){for(var _;_=c.shift();)if(_.__P&&_.__H)try{_.__H.__h.forEach(M),_.__H.__h.forEach(W),_.__H.__h=[]}catch(n){_.__H.__h=[],s.__e(n,_.__v)}}s.__b=function(_){o=null,a&&a(_)},s.__=function(_,n){_&&n.__k&&n.__k.__m&&(_.__m=n.__k.__m),m&&m(_,n)},s.__r=function(_){p&&p(_),t=0;var n=(o=_.__c).__H;n&&(r===o?(n.__h=[],o.__h=[],n.__.forEach((function(_){_.__N&&(_.__=_.__N),_.__V=f,_.__N=_.i=void 0}))):(n.__h.forEach(M),n.__h.forEach(W),n.__h=[],t=0)),r=o},s.diffed=function(_){h&&h(_);var n=_.__c;n&&n.__H&&(n.__H.__h.length&&(1!==c.push(n)&&u===s.requestAnimationFrame||((u=s.requestAnimationFrame)||F)(T)),n.__H.__.forEach((function(_){_.i&&(_.__H=_.i),_.__V!==f&&(_.__=_.__V),_.i=void 0,_.__V=f}))),r=o=null},s.__c=function(_,n){n.some((function(_){try{_.__h.forEach(M),_.__h=_.__h.filter((function(_){return!_.__||W(_)}))}catch(e){n.some((function(_){_.__h&&(_.__h=[])})),n=[],s.__e(e,_.__v)}})),d&&d(_,n)},s.unmount=function(_){v&&v(_);var n,e=_.__c;e&&e.__H&&(e.__H.__.forEach((function(_){try{M(_)}catch(_){n=_}})),e.__H=void 0,n&&s.__e(n,e.__v))};var U="function"==typeof requestAnimationFrame;function F(_){var n,e=function(){clearTimeout(t),U&&cancelAnimationFrame(n),setTimeout(_)},t=setTimeout(e,100);U&&(n=requestAnimationFrame(e))}function M(_){var n=o,e=_.__c;"function"==typeof e&&(_.__c=void 0,e()),o=n}function W(_){var n=o;_.__c=_.__(),o=n}function V(_,n){return!_||_.length!==n.length||n.some((function(n,e){return n!==_[e]}))}function A(_,n){return"function"==typeof n?n(_):n}}};import _ from"./runtime.js";import*as n from"./preact-hooks.js";_.C(n);var e,t=(e=416,_(_.s=e)),o=t.hb,r=t.NT,u=t.MN,l=t.vJ,i=t.Md,c=t.Bi,f=t.Yn,s=t.Nf,a=t.Kr,p=t.WO,h=t.li,d=t.J0;export{o as useCallback,r as useContext,u as useDebugValue,l as useEffect,i as useErrorBoundary,c as useId,f as useImperativeHandle,s as useLayoutEffect,a as useMemo,p as useReducer,h as useRef,d as useState};
|
|
1
|
+
export const id=673;export const ids=[673,174];export const modules={754:(_,n,e)=>{e.d(n,{FK:()=>k,Ob:()=>J,Qv:()=>$,XX:()=>I,_3:()=>b,fF:()=>o,h:()=>y,n:()=>y,q6:()=>j,uA:()=>C,v2:()=>T,zO:()=>u});var t,o,r,u,l,i,c,f,s,a={},p=[],h=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,d=Array.isArray;function v(_,n){for(var e in n)_[e]=n[e];return _}function m(_){var n=_.parentNode;n&&n.removeChild(_)}function y(_,n,e){var o,r,u,l={};for(u in n)"key"==u?o=n[u]:"ref"==u?r=n[u]:l[u]=n[u];if(arguments.length>2&&(l.children=arguments.length>3?t.call(arguments,2):e),"function"==typeof _&&null!=_.defaultProps)for(u in _.defaultProps)void 0===l[u]&&(l[u]=_.defaultProps[u]);return g(_,l,o,r,null)}function g(_,n,e,t,u){var l={type:_,props:n,key:e,ref:t,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==u?++r:u,__i:-1,__u:0};return null==u&&null!=o.vnode&&o.vnode(l),l}function b(){return{current:null}}function k(_){return _.children}function C(_,n){this.props=_,this.context=n}function x(_,n){if(null==n)return _.__?x(_.__,_.__i+1):null;for(var e;n<_.__k.length;n++)if(null!=(e=_.__k[n])&&null!=e.__e)return e.__e;return"function"==typeof _.type?x(_):null}function H(_,n,e){var t,r=_.__v,u=r.__e,l=_.__P;if(l)return(t=v({},r)).__v=r.__v+1,o.vnode&&o.vnode(t),A(l,t,r,_.__n,void 0!==l.ownerSVGElement,32&r.__u?[u]:null,n,null==u?x(r):u,!!(32&r.__u),e),t.__v=r.__v,t.__.__k[t.__i]=t,t.__d=void 0,t.__e!=u&&E(t),t}function E(_){var n,e;if(null!=(_=_.__)&&null!=_.__c){for(_.__e=_.__c.base=null,n=0;n<_.__k.length;n++)if(null!=(e=_.__k[n])&&null!=e.__e){_.__e=_.__c.base=e.__e;break}return E(_)}}function N(_){(!_.__d&&(_.__d=!0)&&l.push(_)&&!P.__r++||i!==o.debounceRendering)&&((i=o.debounceRendering)||c)(P)}function P(){var _,n,e,t=[],r=[];for(l.sort(f);_=l.shift();)_.__d&&(e=l.length,n=H(_,t,r)||n,0===e||l.length>e?(L(t,n,r),r.length=t.length=0,n=void 0,l.sort(f)):n&&o.__c&&o.__c(n,p));n&&L(t,n,r),P.__r=0}function S(_,n,e,t,o,r,u,l,i,c,f){var s,h,d,v,m,y=t&&t.__k||p,g=n.length;for(e.__d=i,w(e,n,y),i=e.__d,s=0;s<g;s++)null!=(d=e.__k[s])&&"boolean"!=typeof d&&"function"!=typeof d&&(h=-1===d.__i?a:y[d.__i]||a,d.__i=s,A(_,d,h,o,r,u,l,i,c,f),v=d.__e,d.ref&&h.ref!=d.ref&&(h.ref&&B(h.ref,null,d),f.push(d.ref,d.__c||v,d)),null==m&&null!=v&&(m=v),65536&d.__u||h.__k===d.__k?i=D(d,i,_):"function"==typeof d.type&&void 0!==d.__d?i=d.__d:v&&(i=v.nextSibling),d.__d=void 0,d.__u&=-196609);e.__d=i,e.__e=m}function w(_,n,e){var t,o,r,u,l,i=n.length,c=e.length,f=c,s=0;for(_.__k=[],t=0;t<i;t++)u=t+s,null!=(o=_.__k[t]=null==(o=n[t])||"boolean"==typeof o||"function"==typeof o?null:"string"==typeof o||"number"==typeof o||"bigint"==typeof o||o.constructor==String?g(null,o,null,null,null):d(o)?g(k,{children:o},null,null,null):void 0===o.constructor&&o.__b>0?g(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)?(o.__=_,o.__b=_.__b+1,l=U(o,e,u,f),o.__i=l,r=null,-1!==l&&(f--,(r=e[l])&&(r.__u|=131072)),null==r||null===r.__v?(-1==l&&s--,"function"!=typeof o.type&&(o.__u|=65536)):l!==u&&(l===u+1?s++:l>u?f>i-u?s+=l-u:s--:l<u?l==u-1&&(s=l-u):s=0,l!==t+s&&(o.__u|=65536))):(r=e[u])&&null==r.key&&r.__e&&!(131072&r.__u)&&(r.__e==_.__d&&(_.__d=x(r)),R(r,r,!1),e[u]=null,f--);if(f)for(t=0;t<c;t++)null!=(r=e[t])&&!(131072&r.__u)&&(r.__e==_.__d&&(_.__d=x(r)),R(r,r))}function D(_,n,e){var t,o;if("function"==typeof _.type){for(t=_.__k,o=0;t&&o<t.length;o++)t[o]&&(t[o].__=_,n=D(t[o],n,e));return n}_.__e!=n&&(e.insertBefore(_.__e,n||null),n=_.__e);do{n=n&&n.nextSibling}while(null!=n&&8===n.nodeType);return n}function T(_,n){return n=n||[],null==_||"boolean"==typeof _||(d(_)?_.some((function(_){T(_,n)})):n.push(_)),n}function U(_,n,e,t){var o=_.key,r=_.type,u=e-1,l=e+1,i=n[e];if(null===i||i&&o==i.key&&r===i.type&&!(131072&i.__u))return e;if(t>(null==i||131072&i.__u?0:1))for(;u>=0||l<n.length;){if(u>=0){if((i=n[u])&&!(131072&i.__u)&&o==i.key&&r===i.type)return u;u--}if(l<n.length){if((i=n[l])&&!(131072&i.__u)&&o==i.key&&r===i.type)return l;l++}}return-1}function F(_,n,e){"-"===n[0]?_.setProperty(n,null==e?"":e):_[n]=null==e?"":"number"!=typeof e||h.test(n)?e:e+"px"}function M(_,n,e,t,o){var r;_:if("style"===n)if("string"==typeof e)_.style.cssText=e;else{if("string"==typeof t&&(_.style.cssText=t=""),t)for(n in t)e&&n in e||F(_.style,n,"");if(e)for(n in e)t&&e[n]===t[n]||F(_.style,n,e[n])}else if("o"===n[0]&&"n"===n[1])r=n!==(n=n.replace(/(PointerCapture)$|Capture$/i,"$1")),n=n.toLowerCase()in _?n.toLowerCase().slice(2):n.slice(2),_.l||(_.l={}),_.l[n+r]=e,e?t?e.u=t.u:(e.u=Date.now(),_.addEventListener(n,r?V:W,r)):_.removeEventListener(n,r?V:W,r);else{if(o)n=n.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==n&&"height"!==n&&"href"!==n&&"list"!==n&&"form"!==n&&"tabIndex"!==n&&"download"!==n&&"rowSpan"!==n&&"colSpan"!==n&&"role"!==n&&n in _)try{_[n]=null==e?"":e;break _}catch(_){}"function"==typeof e||(null==e||!1===e&&"-"!==n[4]?_.removeAttribute(n):_.setAttribute(n,e))}}function W(_){if(this.l){var n=this.l[_.type+!1];if(_.t){if(_.t<=n.u)return}else _.t=Date.now();return n(o.event?o.event(_):_)}}function V(_){if(this.l)return this.l[_.type+!0](o.event?o.event(_):_)}function A(_,n,e,t,r,u,l,i,c,f){var s,a,p,h,m,y,g,b,x,H,E,N,P,w,D,T=n.type;if(void 0!==n.constructor)return null;128&e.__u&&(c=!!(32&e.__u),u=[i=n.__e=e.__e]),(s=o.__b)&&s(n);_:if("function"==typeof T)try{if(b=n.props,x=(s=T.contextType)&&t[s.__c],H=s?x?x.props.value:s.__:t,e.__c?g=(a=n.__c=e.__c).__=a.__E:("prototype"in T&&T.prototype.render?n.__c=a=new T(b,H):(n.__c=a=new C(b,H),a.constructor=T,a.render=q),x&&x.sub(a),a.props=b,a.state||(a.state={}),a.context=H,a.__n=t,p=a.__d=!0,a.__h=[],a._sb=[]),null==a.__s&&(a.__s=a.state),null!=T.getDerivedStateFromProps&&(a.__s==a.state&&(a.__s=v({},a.__s)),v(a.__s,T.getDerivedStateFromProps(b,a.__s))),h=a.props,m=a.state,a.__v=n,p)null==T.getDerivedStateFromProps&&null!=a.componentWillMount&&a.componentWillMount(),null!=a.componentDidMount&&a.__h.push(a.componentDidMount);else{if(null==T.getDerivedStateFromProps&&b!==h&&null!=a.componentWillReceiveProps&&a.componentWillReceiveProps(b,H),!a.__e&&(null!=a.shouldComponentUpdate&&!1===a.shouldComponentUpdate(b,a.__s,H)||n.__v===e.__v)){for(n.__v!==e.__v&&(a.props=b,a.state=a.__s,a.__d=!1),n.__e=e.__e,n.__k=e.__k,n.__k.forEach((function(_){_&&(_.__=n)})),E=0;E<a._sb.length;E++)a.__h.push(a._sb[E]);a._sb=[],a.__h.length&&l.push(a);break _}null!=a.componentWillUpdate&&a.componentWillUpdate(b,a.__s,H),null!=a.componentDidUpdate&&a.__h.push((function(){a.componentDidUpdate(h,m,y)}))}if(a.context=H,a.props=b,a.__P=_,a.__e=!1,N=o.__r,P=0,"prototype"in T&&T.prototype.render){for(a.state=a.__s,a.__d=!1,N&&N(n),s=a.render(a.props,a.state,a.context),w=0;w<a._sb.length;w++)a.__h.push(a._sb[w]);a._sb=[]}else do{a.__d=!1,N&&N(n),s=a.render(a.props,a.state,a.context),a.state=a.__s}while(a.__d&&++P<25);a.state=a.__s,null!=a.getChildContext&&(t=v(v({},t),a.getChildContext())),p||null==a.getSnapshotBeforeUpdate||(y=a.getSnapshotBeforeUpdate(h,m)),S(_,d(D=null!=s&&s.type===k&&null==s.key?s.props.children:s)?D:[D],n,e,t,r,u,l,i,c,f),a.base=n.__e,n.__u&=-161,a.__h.length&&l.push(a),g&&(a.__E=a.__=null)}catch(_){n.__v=null,c||null!=u?(n.__e=i,n.__u|=c?160:32,u[u.indexOf(i)]=null):(n.__e=e.__e,n.__k=e.__k),o.__e(_,n,e)}else null==u&&n.__v===e.__v?(n.__k=e.__k,n.__e=e.__e):n.__e=O(e.__e,n,e,t,r,u,l,c,f);(s=o.diffed)&&s(n)}function L(_,n,e){for(var t=0;t<e.length;t++)B(e[t],e[++t],e[++t]);o.__c&&o.__c(n,_),_.some((function(n){try{_=n.__h,n.__h=[],_.some((function(_){_.call(n)}))}catch(_){o.__e(_,n.__v)}}))}function O(_,n,e,o,r,u,l,i,c){var f,s,p,h,v,y,g,b=e.props,k=n.props,C=n.type;if("svg"===C&&(r=!0),null!=u)for(f=0;f<u.length;f++)if((v=u[f])&&"setAttribute"in v==!!C&&(C?v.localName===C:3===v.nodeType)){_=v,u[f]=null;break}if(null==_){if(null===C)return document.createTextNode(k);_=r?document.createElementNS("http://www.w3.org/2000/svg",C):document.createElement(C,k.is&&k),u=null,i=!1}if(null===C)b===k||i&&_.data===k||(_.data=k);else{if(u=u&&t.call(_.childNodes),b=e.props||a,!i&&null!=u)for(b={},f=0;f<_.attributes.length;f++)b[(v=_.attributes[f]).name]=v.value;for(f in b)v=b[f],"children"==f||("dangerouslySetInnerHTML"==f?p=v:"key"===f||f in k||M(_,f,null,v,r));for(f in k)v=k[f],"children"==f?h=v:"dangerouslySetInnerHTML"==f?s=v:"value"==f?y=v:"checked"==f?g=v:"key"===f||i&&"function"!=typeof v||b[f]===v||M(_,f,v,b[f],r);if(s)i||p&&(s.__html===p.__html||s.__html===_.innerHTML)||(_.innerHTML=s.__html),n.__k=[];else if(p&&(_.innerHTML=""),S(_,d(h)?h:[h],n,e,o,r&&"foreignObject"!==C,u,l,u?u[0]:e.__k&&x(e,0),i,c),null!=u)for(f=u.length;f--;)null!=u[f]&&m(u[f]);i||(f="value",void 0!==y&&(y!==_[f]||"progress"===C&&!y||"option"===C&&y!==b[f])&&M(_,f,y,b[f],!1),f="checked",void 0!==g&&g!==_[f]&&M(_,f,g,b[f],!1))}return _}function B(_,n,e){try{"function"==typeof _?_(n):_.current=n}catch(_){o.__e(_,e)}}function R(_,n,e){var t,r;if(o.unmount&&o.unmount(_),(t=_.ref)&&(t.current&&t.current!==_.__e||B(t,null,n)),null!=(t=_.__c)){if(t.componentWillUnmount)try{t.componentWillUnmount()}catch(_){o.__e(_,n)}t.base=t.__P=null,_.__c=void 0}if(t=_.__k)for(r=0;r<t.length;r++)t[r]&&R(t[r],n,e||"function"!=typeof _.type);e||null==_.__e||m(_.__e),_.__=_.__e=_.__d=void 0}function q(_,n,e){return this.constructor(_,e)}function I(_,n,e){var r,u,l,i;o.__&&o.__(_,n),u=(r="function"==typeof e)?null:e&&e.__k||n.__k,l=[],i=[],A(n,_=(!r&&e||n).__k=y(k,null,[_]),u||a,a,void 0!==n.ownerSVGElement,!r&&e?[e]:u?null:n.firstChild?t.call(n.childNodes):null,l,!r&&e?e:u?u.__e:n.firstChild,r,i),_.__d=void 0,L(l,_,i)}function $(_,n){I(_,n,$)}function J(_,n,e){var o,r,u,l,i=v({},_.props);for(u in _.type&&_.type.defaultProps&&(l=_.type.defaultProps),n)"key"==u?o=n[u]:"ref"==u?r=n[u]:i[u]=void 0===n[u]&&void 0!==l?l[u]:n[u];return arguments.length>2&&(i.children=arguments.length>3?t.call(arguments,2):e),g(_.type,i,o||_.key,r||_.ref,null)}function j(_,n){var e={__c:n="__cC"+s++,__:_,Consumer:function(_,n){return _.children(n)},Provider:function(_){var e,t;return this.getChildContext||(e=[],(t={})[n]=this,this.getChildContext=function(){return t},this.shouldComponentUpdate=function(_){this.props.value!==_.value&&e.some((function(_){_.__e=!0,N(_)}))},this.sub=function(_){e.push(_);var n=_.componentWillUnmount;_.componentWillUnmount=function(){e.splice(e.indexOf(_),1),n&&n.call(_)}}),_.children}};return e.Provider.__=e.Consumer.contextType=e}t=p.slice,o={__e:function(_,n,e,t){for(var o,r,u;n=n.__;)if((o=n.__c)&&!o.__)try{if((r=o.constructor)&&null!=r.getDerivedStateFromError&&(o.setState(r.getDerivedStateFromError(_)),u=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(_,t||{}),u=o.__d),u)return o.__E=o}catch(n){_=n}throw _}},r=0,u=function(_){return null!=_&&null==_.constructor},C.prototype.setState=function(_,n){var e;e=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=v({},this.state),"function"==typeof _&&(_=_(v({},e),this.props)),_&&v(e,_),null!=_&&this.__v&&(n&&this._sb.push(n),N(this))},C.prototype.forceUpdate=function(_){this.__v&&(this.__e=!0,_&&this.__h.push(_),N(this))},C.prototype.render=k,l=[],c="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,f=function(_,n){return _.__v.__b-n.__v.__b},P.__r=0,s=0},416:(_,n,e)=>{e.d(n,{Bi:()=>D,J0:()=>g,Kr:()=>E,MN:()=>S,Md:()=>w,NT:()=>P,Nf:()=>C,WO:()=>b,Yn:()=>H,hb:()=>N,li:()=>x,vJ:()=>k});var t,o,r,u,l=e(754),i=0,c=[],f=[],s=l.fF,a=s.__b,p=s.__r,h=s.diffed,d=s.__c,v=s.unmount,m=s.__;function y(_,n){s.__h&&s.__h(o,_,i||n),i=0;var e=o.__H||(o.__H={__:[],__h:[]});return _>=e.__.length&&e.__.push({__V:f}),e.__[_]}function g(_){return i=1,b(A,_)}function b(_,n,e){var r=y(t++,2);if(r.t=_,!r.__c&&(r.__=[e?e(n):A(void 0,n),function(_){var n=r.__N?r.__N[0]:r.__[0],e=r.t(n,_);n!==e&&(r.__N=[e,r.__[1]],r.__c.setState({}))}],r.__c=o,!o.u)){var u=function(_,n,e){if(!r.__c.__H)return!0;var t=r.__c.__H.__.filter((function(_){return!!_.__c}));if(t.every((function(_){return!_.__N})))return!l||l.call(this,_,n,e);var o=!1;return t.forEach((function(_){if(_.__N){var n=_.__[0];_.__=_.__N,_.__N=void 0,n!==_.__[0]&&(o=!0)}})),!(!o&&r.__c.props===_)&&(!l||l.call(this,_,n,e))};o.u=!0;var l=o.shouldComponentUpdate,i=o.componentWillUpdate;o.componentWillUpdate=function(_,n,e){if(this.__e){var t=l;l=void 0,u(_,n,e),l=t}i&&i.call(this,_,n,e)},o.shouldComponentUpdate=u}return r.__N||r.__}function k(_,n){var e=y(t++,3);!s.__s&&V(e.__H,n)&&(e.__=_,e.i=n,o.__H.__h.push(e))}function C(_,n){var e=y(t++,4);!s.__s&&V(e.__H,n)&&(e.__=_,e.i=n,o.__h.push(e))}function x(_){return i=5,E((function(){return{current:_}}),[])}function H(_,n,e){i=6,C((function(){return"function"==typeof _?(_(n()),function(){return _(null)}):_?(_.current=n(),function(){return _.current=null}):void 0}),null==e?e:e.concat(_))}function E(_,n){var e=y(t++,7);return V(e.__H,n)?(e.__V=_(),e.i=n,e.__h=_,e.__V):e.__}function N(_,n){return i=8,E((function(){return _}),n)}function P(_){var n=o.context[_.__c],e=y(t++,9);return e.c=_,n?(null==e.__&&(e.__=!0,n.sub(o)),n.props.value):_.__}function S(_,n){s.useDebugValue&&s.useDebugValue(n?n(_):_)}function w(_){var n=y(t++,10),e=g();return n.__=_,o.componentDidCatch||(o.componentDidCatch=function(_,t){n.__&&n.__(_,t),e[1](_)}),[e[0],function(){e[1](void 0)}]}function D(){var _=y(t++,11);if(!_.__){for(var n=o.__v;null!==n&&!n.__m&&null!==n.__;)n=n.__;var e=n.__m||(n.__m=[0,0]);_.__="P"+e[0]+"-"+e[1]++}return _.__}function T(){for(var _;_=c.shift();)if(_.__P&&_.__H)try{_.__H.__h.forEach(M),_.__H.__h.forEach(W),_.__H.__h=[]}catch(n){_.__H.__h=[],s.__e(n,_.__v)}}s.__b=function(_){o=null,a&&a(_)},s.__=function(_,n){_&&n.__k&&n.__k.__m&&(_.__m=n.__k.__m),m&&m(_,n)},s.__r=function(_){p&&p(_),t=0;var n=(o=_.__c).__H;n&&(r===o?(n.__h=[],o.__h=[],n.__.forEach((function(_){_.__N&&(_.__=_.__N),_.__V=f,_.__N=_.i=void 0}))):(n.__h.forEach(M),n.__h.forEach(W),n.__h=[],t=0)),r=o},s.diffed=function(_){h&&h(_);var n=_.__c;n&&n.__H&&(n.__H.__h.length&&(1!==c.push(n)&&u===s.requestAnimationFrame||((u=s.requestAnimationFrame)||F)(T)),n.__H.__.forEach((function(_){_.i&&(_.__H=_.i),_.__V!==f&&(_.__=_.__V),_.i=void 0,_.__V=f}))),r=o=null},s.__c=function(_,n){n.some((function(_){try{_.__h.forEach(M),_.__h=_.__h.filter((function(_){return!_.__||W(_)}))}catch(e){n.some((function(_){_.__h&&(_.__h=[])})),n=[],s.__e(e,_.__v)}})),d&&d(_,n)},s.unmount=function(_){v&&v(_);var n,e=_.__c;e&&e.__H&&(e.__H.__.forEach((function(_){try{M(_)}catch(_){n=_}})),e.__H=void 0,n&&s.__e(n,e.__v))};var U="function"==typeof requestAnimationFrame;function F(_){var n,e=function(){clearTimeout(t),U&&cancelAnimationFrame(n),setTimeout(_)},t=setTimeout(e,100);U&&(n=requestAnimationFrame(e))}function M(_){var n=o,e=_.__c;"function"==typeof e&&(_.__c=void 0,e()),o=n}function W(_){var n=o;_.__c=_.__(),o=n}function V(_,n){return!_||_.length!==n.length||n.some((function(n,e){return n!==_[e]}))}function A(_,n){return"function"==typeof n?n(_):n}}};import _ from"./runtime.js";import*as n from"./preact-hooks.js";_.C(n);var e=(416,_(_.s=416)),t=e.hb,o=e.NT,r=e.MN,u=e.vJ,l=e.Md,i=e.Bi,c=e.Yn,f=e.Nf,s=e.Kr,a=e.WO,p=e.li,h=e.J0;export{t as useCallback,o as useContext,r as useDebugValue,u as useEffect,l as useErrorBoundary,i as useId,c as useImperativeHandle,f as useLayoutEffect,s as useMemo,a as useReducer,p as useRef,h as useState};
|
package/preact-jsx-runtime.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const id=221;export const ids=[221,174];export const modules={754:(e,t,n)=>{n.d(t,{FK:()=>k,Ob:()=>I,Qv:()=>B,XX:()=>O,_3:()=>b,fF:()=>r,h:()=>m,n:()=>m,q6:()=>V,uA:()=>x,v2:()=>U,zO:()=>l});var _,r,o,l,u,i,s,f,c,p={},a=[],d=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,h=Array.isArray;function v(e,t){for(var n in t)e[n]=t[n];return e}function y(e){var t=e.parentNode;t&&t.removeChild(e)}function m(e,t,n){var r,o,l,u={};for(l in t)"key"==l?r=t[l]:"ref"==l?o=t[l]:u[l]=t[l];if(arguments.length>2&&(u.children=arguments.length>3?_.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(l in e.defaultProps)void 0===u[l]&&(u[l]=e.defaultProps[l]);return g(e,u,r,o,null)}function g(e,t,n,_,l){var u={type:e,props:t,key:n,ref:_,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==l?++o:l,__i:-1,__u:0};return null==l&&null!=r.vnode&&r.vnode(u),u}function b(){return{current:null}}function k(e){return e.children}function x(e,t){this.props=e,this.context=t}function C(e,t){if(null==t)return e.__?C(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?C(e):null}function w(e,t,n){var _,o=e.__v,l=o.__e,u=e.__P;if(u)return(_=v({},o)).__v=o.__v+1,r.vnode&&r.vnode(_),K(u,_,o,e.__n,void 0!==u.ownerSVGElement,32&o.__u?[l]:null,t,null==l?C(o):l,!!(32&o.__u),n),_.__v=o.__v,_.__.__k[_.__i]=_,_.__d=void 0,_.__e!=l&&P(_),_}function P(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return P(e)}}function S(e){(!e.__d&&(e.__d=!0)&&u.push(e)&&!F.__r++||i!==r.debounceRendering)&&((i=r.debounceRendering)||s)(F)}function F(){var e,t,n,_=[],o=[];for(u.sort(f);e=u.shift();)e.__d&&(n=u.length,t=w(e,_,o)||t,0===n||u.length>n?(N(_,t,o),o.length=_.length=0,t=void 0,u.sort(f)):t&&r.__c&&r.__c(t,a));t&&N(_,t,o),F.__r=0}function D(e,t,n,_,r,o,l,u,i,s,f){var c,d,h,v,y,m=_&&_.__k||a,g=t.length;for(n.__d=i,E(n,t,m),i=n.__d,c=0;c<g;c++)null!=(h=n.__k[c])&&"boolean"!=typeof h&&"function"!=typeof h&&(d=-1===h.__i?p:m[h.__i]||p,h.__i=c,K(e,h,d,r,o,l,u,i,s,f),v=h.__e,h.ref&&d.ref!=h.ref&&(d.ref&&H(d.ref,null,h),f.push(h.ref,h.__c||v,h)),null==y&&null!=v&&(y=v),65536&h.__u||d.__k===h.__k?i=T(h,i,e):"function"==typeof h.type&&void 0!==h.__d?i=h.__d:v&&(i=v.nextSibling),h.__d=void 0,h.__u&=-196609);n.__d=i,n.__e=y}function E(e,t,n){var _,r,o,l,u,i=t.length,s=n.length,f=s,c=0;for(e.__k=[],_=0;_<i;_++)l=_+c,null!=(r=e.__k[_]=null==(r=t[_])||"boolean"==typeof r||"function"==typeof r?null:"string"==typeof r||"number"==typeof r||"bigint"==typeof r||r.constructor==String?g(null,r,null,null,null):h(r)?g(k,{children:r},null,null,null):void 0===r.constructor&&r.__b>0?g(r.type,r.props,r.key,r.ref?r.ref:null,r.__v):r)?(r.__=e,r.__b=e.__b+1,u=j(r,n,l,f),r.__i=u,o=null,-1!==u&&(f--,(o=n[u])&&(o.__u|=131072)),null==o||null===o.__v?(-1==u&&c--,"function"!=typeof r.type&&(r.__u|=65536)):u!==l&&(u===l+1?c++:u>l?f>i-l?c+=u-l:c--:u<l?u==l-1&&(c=u-l):c=0,u!==_+c&&(r.__u|=65536))):(o=n[l])&&null==o.key&&o.__e&&!(131072&o.__u)&&(o.__e==e.__d&&(e.__d=C(o)),R(o,o,!1),n[l]=null,f--);if(f)for(_=0;_<s;_++)null!=(o=n[_])&&!(131072&o.__u)&&(o.__e==e.__d&&(e.__d=C(o)),R(o,o))}function T(e,t,n){var _,r;if("function"==typeof e.type){for(_=e.__k,r=0;_&&r<_.length;r++)_[r]&&(_[r].__=e,t=T(_[r],t,n));return t}e.__e!=t&&(n.insertBefore(e.__e,t||null),t=e.__e);do{t=t&&t.nextSibling}while(null!=t&&8===t.nodeType);return t}function U(e,t){return t=t||[],null==e||"boolean"==typeof e||(h(e)?e.some((function(e){U(e,t)})):t.push(e)),t}function j(e,t,n,_){var r=e.key,o=e.type,l=n-1,u=n+1,i=t[n];if(null===i||i&&r==i.key&&o===i.type&&!(131072&i.__u))return n;if(_>(null==i||131072&i.__u?0:1))for(;l>=0||u<t.length;){if(l>=0){if((i=t[l])&&!(131072&i.__u)&&r==i.key&&o===i.type)return l;l--}if(u<t.length){if((i=t[u])&&!(131072&i.__u)&&r==i.key&&o===i.type)return u;u++}}return-1}function A(e,t,n){"-"===t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||d.test(t)?n:n+"px"}function W(e,t,n,_,r){var o;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof _&&(e.style.cssText=_=""),_)for(t in _)n&&t in n||A(e.style,t,"");if(n)for(t in n)_&&n[t]===_[t]||A(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])o=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=n,n?_?n.u=_.u:(n.u=Date.now(),e.addEventListener(t,o?M:L,o)):e.removeEventListener(t,o?M:L,o);else{if(r)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==t&&"height"!==t&&"href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&"rowSpan"!==t&&"colSpan"!==t&&"role"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&"-"!==t[4]?e.removeAttribute(t):e.setAttribute(t,n))}}function L(e){if(this.l){var t=this.l[e.type+!1];if(e.t){if(e.t<=t.u)return}else e.t=Date.now();return t(r.event?r.event(e):e)}}function M(e){if(this.l)return this.l[e.type+!0](r.event?r.event(e):e)}function K(e,t,n,_,o,l,u,i,s,f){var c,p,a,d,y,m,g,b,C,w,P,S,F,E,T,U=t.type;if(void 0!==t.constructor)return null;128&n.__u&&(s=!!(32&n.__u),l=[i=t.__e=n.__e]),(c=r.__b)&&c(t);e:if("function"==typeof U)try{if(b=t.props,C=(c=U.contextType)&&_[c.__c],w=c?C?C.props.value:c.__:_,n.__c?g=(p=t.__c=n.__c).__=p.__E:("prototype"in U&&U.prototype.render?t.__c=p=new U(b,w):(t.__c=p=new x(b,w),p.constructor=U,p.render=z),C&&C.sub(p),p.props=b,p.state||(p.state={}),p.context=w,p.__n=_,a=p.__d=!0,p.__h=[],p._sb=[]),null==p.__s&&(p.__s=p.state),null!=U.getDerivedStateFromProps&&(p.__s==p.state&&(p.__s=v({},p.__s)),v(p.__s,U.getDerivedStateFromProps(b,p.__s))),d=p.props,y=p.state,p.__v=t,a)null==U.getDerivedStateFromProps&&null!=p.componentWillMount&&p.componentWillMount(),null!=p.componentDidMount&&p.__h.push(p.componentDidMount);else{if(null==U.getDerivedStateFromProps&&b!==d&&null!=p.componentWillReceiveProps&&p.componentWillReceiveProps(b,w),!p.__e&&(null!=p.shouldComponentUpdate&&!1===p.shouldComponentUpdate(b,p.__s,w)||t.__v===n.__v)){for(t.__v!==n.__v&&(p.props=b,p.state=p.__s,p.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach((function(e){e&&(e.__=t)})),P=0;P<p._sb.length;P++)p.__h.push(p._sb[P]);p._sb=[],p.__h.length&&u.push(p);break e}null!=p.componentWillUpdate&&p.componentWillUpdate(b,p.__s,w),null!=p.componentDidUpdate&&p.__h.push((function(){p.componentDidUpdate(d,y,m)}))}if(p.context=w,p.props=b,p.__P=e,p.__e=!1,S=r.__r,F=0,"prototype"in U&&U.prototype.render){for(p.state=p.__s,p.__d=!1,S&&S(t),c=p.render(p.props,p.state,p.context),E=0;E<p._sb.length;E++)p.__h.push(p._sb[E]);p._sb=[]}else do{p.__d=!1,S&&S(t),c=p.render(p.props,p.state,p.context),p.state=p.__s}while(p.__d&&++F<25);p.state=p.__s,null!=p.getChildContext&&(_=v(v({},_),p.getChildContext())),a||null==p.getSnapshotBeforeUpdate||(m=p.getSnapshotBeforeUpdate(d,y)),D(e,h(T=null!=c&&c.type===k&&null==c.key?c.props.children:c)?T:[T],t,n,_,o,l,u,i,s,f),p.base=t.__e,t.__u&=-161,p.__h.length&&u.push(p),g&&(p.__E=p.__=null)}catch(e){t.__v=null,s||null!=l?(t.__e=i,t.__u|=s?160:32,l[l.indexOf(i)]=null):(t.__e=n.__e,t.__k=n.__k),r.__e(e,t,n)}else null==l&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=$(n.__e,t,n,_,o,l,u,s,f);(c=r.diffed)&&c(t)}function N(e,t,n){for(var _=0;_<n.length;_++)H(n[_],n[++_],n[++_]);r.__c&&r.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){r.__e(e,t.__v)}}))}function $(e,t,n,r,o,l,u,i,s){var f,c,a,d,v,m,g,b=n.props,k=t.props,x=t.type;if("svg"===x&&(o=!0),null!=l)for(f=0;f<l.length;f++)if((v=l[f])&&"setAttribute"in v==!!x&&(x?v.localName===x:3===v.nodeType)){e=v,l[f]=null;break}if(null==e){if(null===x)return document.createTextNode(k);e=o?document.createElementNS("http://www.w3.org/2000/svg",x):document.createElement(x,k.is&&k),l=null,i=!1}if(null===x)b===k||i&&e.data===k||(e.data=k);else{if(l=l&&_.call(e.childNodes),b=n.props||p,!i&&null!=l)for(b={},f=0;f<e.attributes.length;f++)b[(v=e.attributes[f]).name]=v.value;for(f in b)v=b[f],"children"==f||("dangerouslySetInnerHTML"==f?a=v:"key"===f||f in k||W(e,f,null,v,o));for(f in k)v=k[f],"children"==f?d=v:"dangerouslySetInnerHTML"==f?c=v:"value"==f?m=v:"checked"==f?g=v:"key"===f||i&&"function"!=typeof v||b[f]===v||W(e,f,v,b[f],o);if(c)i||a&&(c.__html===a.__html||c.__html===e.innerHTML)||(e.innerHTML=c.__html),t.__k=[];else if(a&&(e.innerHTML=""),D(e,h(d)?d:[d],t,n,r,o&&"foreignObject"!==x,l,u,l?l[0]:n.__k&&C(n,0),i,s),null!=l)for(f=l.length;f--;)null!=l[f]&&y(l[f]);i||(f="value",void 0!==m&&(m!==e[f]||"progress"===x&&!m||"option"===x&&m!==b[f])&&W(e,f,m,b[f],!1),f="checked",void 0!==g&&g!==e[f]&&W(e,f,g,b[f],!1))}return e}function H(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){r.__e(e,n)}}function R(e,t,n){var _,o;if(r.unmount&&r.unmount(e),(_=e.ref)&&(_.current&&_.current!==e.__e||H(_,null,t)),null!=(_=e.__c)){if(_.componentWillUnmount)try{_.componentWillUnmount()}catch(e){r.__e(e,t)}_.base=_.__P=null,e.__c=void 0}if(_=e.__k)for(o=0;o<_.length;o++)_[o]&&R(_[o],t,n||"function"!=typeof e.type);n||null==e.__e||y(e.__e),e.__=e.__e=e.__d=void 0}function z(e,t,n){return this.constructor(e,n)}function O(e,t,n){var o,l,u,i;r.__&&r.__(e,t),l=(o="function"==typeof n)?null:n&&n.__k||t.__k,u=[],i=[],K(t,e=(!o&&n||t).__k=m(k,null,[e]),l||p,p,void 0!==t.ownerSVGElement,!o&&n?[n]:l?null:t.firstChild?_.call(t.childNodes):null,u,!o&&n?n:l?l.__e:t.firstChild,o,i),e.__d=void 0,N(u,e,i)}function B(e,t){O(e,t,B)}function I(e,t,n){var r,o,l,u,i=v({},e.props);for(l in e.type&&e.type.defaultProps&&(u=e.type.defaultProps),t)"key"==l?r=t[l]:"ref"==l?o=t[l]:i[l]=void 0===t[l]&&void 0!==u?u[l]:t[l];return arguments.length>2&&(i.children=arguments.length>3?_.call(arguments,2):n),g(e.type,i,r||e.key,o||e.ref,null)}function V(e,t){var n={__c:t="__cC"+c++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,_;return this.getChildContext||(n=[],(_={})[t]=this,this.getChildContext=function(){return _},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some((function(e){e.__e=!0,S(e)}))},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}_=a.slice,r={__e:function(e,t,n,_){for(var r,o,l;t=t.__;)if((r=t.__c)&&!r.__)try{if((o=r.constructor)&&null!=o.getDerivedStateFromError&&(r.setState(o.getDerivedStateFromError(e)),l=r.__d),null!=r.componentDidCatch&&(r.componentDidCatch(e,_||{}),l=r.__d),l)return r.__E=r}catch(t){e=t}throw e}},o=0,l=function(e){return null!=e&&null==e.constructor},x.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=v({},this.state),"function"==typeof e&&(e=e(v({},n),this.props)),e&&v(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),S(this))},x.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),S(this))},x.prototype.render=k,u=[],s="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,f=function(e,t){return e.__v.__b-t.__v.__b},F.__r=0,c=0},755:(e,t,n)=>{n.d(t,{FD:()=>s,FK:()=>_.FK,Kg:()=>f,P9:()=>s,R_:()=>a,Y:()=>s,zt:()=>d});var _=n(754),r=/["&<]/;function o(e){if(0===e.length||!1===r.test(e))return e;for(var t=0,n=0,_="",o="";n<e.length;n++){switch(e.charCodeAt(n)){case 34:o=""";break;case 38:o="&";break;case 60:o="<";break;default:continue}n!==t&&(_+=e.slice(t,n)),_+=o,t=n+1}return n!==t&&(_+=e.slice(t,n)),_}var l=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,u=0,i=Array.isArray;function s(e,t,n,r,o,l){var i,s,f={};for(s in t)"ref"==s?i=t[s]:f[s]=t[s];var c={type:e,props:f,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--u,__i:-1,__u:0,__source:o,__self:l};if("function"==typeof e&&(i=e.defaultProps))for(s in i)void 0===f[s]&&(f[s]=i[s]);return _.fF.vnode&&_.fF.vnode(c),c}function f(e){var t=s(_.FK,{tpl:e,exprs:[].slice.call(arguments,1)});return t.key=t.__v,t}var c={},p=/[A-Z]/g;function a(e,t){if(_.fF.attr){var n=_.fF.attr(e,t);if("string"==typeof n)return n}if("ref"===e||"key"===e)return"";if("style"===e&&"object"==typeof t){var r="";for(var u in t){var i=t[u];if(null!=i&&""!==i){var s="-"==u[0]?u:c[u]||(c[u]=u.replace(p,"-$&").toLowerCase()),f=";";"number"!=typeof i||s.startsWith("--")||l.test(s)||(f="px;"),r=r+s+":"+i+f}}return e+'="'+r+'"'}return null==t||!1===t||"function"==typeof t||"object"==typeof t?"":!0===t?e:e+'="'+o(t)+'"'}function d(e){if(null==e||"boolean"==typeof e||"function"==typeof e)return null;if("object"==typeof e){if(void 0===e.constructor)return e;if(i(e)){for(var t=0;t<e.length;t++)e[t]=d(e[t]);return e}}return o(""+e)}}};import e from"./runtime.js";import*as t from"./preact-jsx-runtime.js";e.C(t);var n,_=(n=755,e(e.s=n)),r=_.FK,o=_.Y,l=_.R_,u=_.P9,i=_.zt,s=_.Kg,f=_.FD;export{r as Fragment,o as jsx,l as jsxAttr,u as jsxDEV,i as jsxEscape,s as jsxTemplate,f as jsxs};
|
|
1
|
+
export const id=221;export const ids=[221,174];export const modules={754:(e,t,n)=>{n.d(t,{FK:()=>k,Ob:()=>I,Qv:()=>B,XX:()=>O,_3:()=>b,fF:()=>r,h:()=>m,n:()=>m,q6:()=>V,uA:()=>x,v2:()=>U,zO:()=>l});var _,r,o,l,u,i,s,f,c,p={},a=[],d=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,h=Array.isArray;function v(e,t){for(var n in t)e[n]=t[n];return e}function y(e){var t=e.parentNode;t&&t.removeChild(e)}function m(e,t,n){var r,o,l,u={};for(l in t)"key"==l?r=t[l]:"ref"==l?o=t[l]:u[l]=t[l];if(arguments.length>2&&(u.children=arguments.length>3?_.call(arguments,2):n),"function"==typeof e&&null!=e.defaultProps)for(l in e.defaultProps)void 0===u[l]&&(u[l]=e.defaultProps[l]);return g(e,u,r,o,null)}function g(e,t,n,_,l){var u={type:e,props:t,key:n,ref:_,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==l?++o:l,__i:-1,__u:0};return null==l&&null!=r.vnode&&r.vnode(u),u}function b(){return{current:null}}function k(e){return e.children}function x(e,t){this.props=e,this.context=t}function C(e,t){if(null==t)return e.__?C(e.__,e.__i+1):null;for(var n;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e)return n.__e;return"function"==typeof e.type?C(e):null}function w(e,t,n){var _,o=e.__v,l=o.__e,u=e.__P;if(u)return(_=v({},o)).__v=o.__v+1,r.vnode&&r.vnode(_),K(u,_,o,e.__n,void 0!==u.ownerSVGElement,32&o.__u?[l]:null,t,null==l?C(o):l,!!(32&o.__u),n),_.__v=o.__v,_.__.__k[_.__i]=_,_.__d=void 0,_.__e!=l&&P(_),_}function P(e){var t,n;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,t=0;t<e.__k.length;t++)if(null!=(n=e.__k[t])&&null!=n.__e){e.__e=e.__c.base=n.__e;break}return P(e)}}function S(e){(!e.__d&&(e.__d=!0)&&u.push(e)&&!F.__r++||i!==r.debounceRendering)&&((i=r.debounceRendering)||s)(F)}function F(){var e,t,n,_=[],o=[];for(u.sort(f);e=u.shift();)e.__d&&(n=u.length,t=w(e,_,o)||t,0===n||u.length>n?(N(_,t,o),o.length=_.length=0,t=void 0,u.sort(f)):t&&r.__c&&r.__c(t,a));t&&N(_,t,o),F.__r=0}function D(e,t,n,_,r,o,l,u,i,s,f){var c,d,h,v,y,m=_&&_.__k||a,g=t.length;for(n.__d=i,E(n,t,m),i=n.__d,c=0;c<g;c++)null!=(h=n.__k[c])&&"boolean"!=typeof h&&"function"!=typeof h&&(d=-1===h.__i?p:m[h.__i]||p,h.__i=c,K(e,h,d,r,o,l,u,i,s,f),v=h.__e,h.ref&&d.ref!=h.ref&&(d.ref&&H(d.ref,null,h),f.push(h.ref,h.__c||v,h)),null==y&&null!=v&&(y=v),65536&h.__u||d.__k===h.__k?i=T(h,i,e):"function"==typeof h.type&&void 0!==h.__d?i=h.__d:v&&(i=v.nextSibling),h.__d=void 0,h.__u&=-196609);n.__d=i,n.__e=y}function E(e,t,n){var _,r,o,l,u,i=t.length,s=n.length,f=s,c=0;for(e.__k=[],_=0;_<i;_++)l=_+c,null!=(r=e.__k[_]=null==(r=t[_])||"boolean"==typeof r||"function"==typeof r?null:"string"==typeof r||"number"==typeof r||"bigint"==typeof r||r.constructor==String?g(null,r,null,null,null):h(r)?g(k,{children:r},null,null,null):void 0===r.constructor&&r.__b>0?g(r.type,r.props,r.key,r.ref?r.ref:null,r.__v):r)?(r.__=e,r.__b=e.__b+1,u=j(r,n,l,f),r.__i=u,o=null,-1!==u&&(f--,(o=n[u])&&(o.__u|=131072)),null==o||null===o.__v?(-1==u&&c--,"function"!=typeof r.type&&(r.__u|=65536)):u!==l&&(u===l+1?c++:u>l?f>i-l?c+=u-l:c--:u<l?u==l-1&&(c=u-l):c=0,u!==_+c&&(r.__u|=65536))):(o=n[l])&&null==o.key&&o.__e&&!(131072&o.__u)&&(o.__e==e.__d&&(e.__d=C(o)),R(o,o,!1),n[l]=null,f--);if(f)for(_=0;_<s;_++)null!=(o=n[_])&&!(131072&o.__u)&&(o.__e==e.__d&&(e.__d=C(o)),R(o,o))}function T(e,t,n){var _,r;if("function"==typeof e.type){for(_=e.__k,r=0;_&&r<_.length;r++)_[r]&&(_[r].__=e,t=T(_[r],t,n));return t}e.__e!=t&&(n.insertBefore(e.__e,t||null),t=e.__e);do{t=t&&t.nextSibling}while(null!=t&&8===t.nodeType);return t}function U(e,t){return t=t||[],null==e||"boolean"==typeof e||(h(e)?e.some((function(e){U(e,t)})):t.push(e)),t}function j(e,t,n,_){var r=e.key,o=e.type,l=n-1,u=n+1,i=t[n];if(null===i||i&&r==i.key&&o===i.type&&!(131072&i.__u))return n;if(_>(null==i||131072&i.__u?0:1))for(;l>=0||u<t.length;){if(l>=0){if((i=t[l])&&!(131072&i.__u)&&r==i.key&&o===i.type)return l;l--}if(u<t.length){if((i=t[u])&&!(131072&i.__u)&&r==i.key&&o===i.type)return u;u++}}return-1}function A(e,t,n){"-"===t[0]?e.setProperty(t,null==n?"":n):e[t]=null==n?"":"number"!=typeof n||d.test(t)?n:n+"px"}function W(e,t,n,_,r){var o;e:if("style"===t)if("string"==typeof n)e.style.cssText=n;else{if("string"==typeof _&&(e.style.cssText=_=""),_)for(t in _)n&&t in n||A(e.style,t,"");if(n)for(t in n)_&&n[t]===_[t]||A(e.style,t,n[t])}else if("o"===t[0]&&"n"===t[1])o=t!==(t=t.replace(/(PointerCapture)$|Capture$/i,"$1")),t=t.toLowerCase()in e?t.toLowerCase().slice(2):t.slice(2),e.l||(e.l={}),e.l[t+o]=n,n?_?n.u=_.u:(n.u=Date.now(),e.addEventListener(t,o?M:L,o)):e.removeEventListener(t,o?M:L,o);else{if(r)t=t.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==t&&"height"!==t&&"href"!==t&&"list"!==t&&"form"!==t&&"tabIndex"!==t&&"download"!==t&&"rowSpan"!==t&&"colSpan"!==t&&"role"!==t&&t in e)try{e[t]=null==n?"":n;break e}catch(e){}"function"==typeof n||(null==n||!1===n&&"-"!==t[4]?e.removeAttribute(t):e.setAttribute(t,n))}}function L(e){if(this.l){var t=this.l[e.type+!1];if(e.t){if(e.t<=t.u)return}else e.t=Date.now();return t(r.event?r.event(e):e)}}function M(e){if(this.l)return this.l[e.type+!0](r.event?r.event(e):e)}function K(e,t,n,_,o,l,u,i,s,f){var c,p,a,d,y,m,g,b,C,w,P,S,F,E,T,U=t.type;if(void 0!==t.constructor)return null;128&n.__u&&(s=!!(32&n.__u),l=[i=t.__e=n.__e]),(c=r.__b)&&c(t);e:if("function"==typeof U)try{if(b=t.props,C=(c=U.contextType)&&_[c.__c],w=c?C?C.props.value:c.__:_,n.__c?g=(p=t.__c=n.__c).__=p.__E:("prototype"in U&&U.prototype.render?t.__c=p=new U(b,w):(t.__c=p=new x(b,w),p.constructor=U,p.render=z),C&&C.sub(p),p.props=b,p.state||(p.state={}),p.context=w,p.__n=_,a=p.__d=!0,p.__h=[],p._sb=[]),null==p.__s&&(p.__s=p.state),null!=U.getDerivedStateFromProps&&(p.__s==p.state&&(p.__s=v({},p.__s)),v(p.__s,U.getDerivedStateFromProps(b,p.__s))),d=p.props,y=p.state,p.__v=t,a)null==U.getDerivedStateFromProps&&null!=p.componentWillMount&&p.componentWillMount(),null!=p.componentDidMount&&p.__h.push(p.componentDidMount);else{if(null==U.getDerivedStateFromProps&&b!==d&&null!=p.componentWillReceiveProps&&p.componentWillReceiveProps(b,w),!p.__e&&(null!=p.shouldComponentUpdate&&!1===p.shouldComponentUpdate(b,p.__s,w)||t.__v===n.__v)){for(t.__v!==n.__v&&(p.props=b,p.state=p.__s,p.__d=!1),t.__e=n.__e,t.__k=n.__k,t.__k.forEach((function(e){e&&(e.__=t)})),P=0;P<p._sb.length;P++)p.__h.push(p._sb[P]);p._sb=[],p.__h.length&&u.push(p);break e}null!=p.componentWillUpdate&&p.componentWillUpdate(b,p.__s,w),null!=p.componentDidUpdate&&p.__h.push((function(){p.componentDidUpdate(d,y,m)}))}if(p.context=w,p.props=b,p.__P=e,p.__e=!1,S=r.__r,F=0,"prototype"in U&&U.prototype.render){for(p.state=p.__s,p.__d=!1,S&&S(t),c=p.render(p.props,p.state,p.context),E=0;E<p._sb.length;E++)p.__h.push(p._sb[E]);p._sb=[]}else do{p.__d=!1,S&&S(t),c=p.render(p.props,p.state,p.context),p.state=p.__s}while(p.__d&&++F<25);p.state=p.__s,null!=p.getChildContext&&(_=v(v({},_),p.getChildContext())),a||null==p.getSnapshotBeforeUpdate||(m=p.getSnapshotBeforeUpdate(d,y)),D(e,h(T=null!=c&&c.type===k&&null==c.key?c.props.children:c)?T:[T],t,n,_,o,l,u,i,s,f),p.base=t.__e,t.__u&=-161,p.__h.length&&u.push(p),g&&(p.__E=p.__=null)}catch(e){t.__v=null,s||null!=l?(t.__e=i,t.__u|=s?160:32,l[l.indexOf(i)]=null):(t.__e=n.__e,t.__k=n.__k),r.__e(e,t,n)}else null==l&&t.__v===n.__v?(t.__k=n.__k,t.__e=n.__e):t.__e=$(n.__e,t,n,_,o,l,u,s,f);(c=r.diffed)&&c(t)}function N(e,t,n){for(var _=0;_<n.length;_++)H(n[_],n[++_],n[++_]);r.__c&&r.__c(t,e),e.some((function(t){try{e=t.__h,t.__h=[],e.some((function(e){e.call(t)}))}catch(e){r.__e(e,t.__v)}}))}function $(e,t,n,r,o,l,u,i,s){var f,c,a,d,v,m,g,b=n.props,k=t.props,x=t.type;if("svg"===x&&(o=!0),null!=l)for(f=0;f<l.length;f++)if((v=l[f])&&"setAttribute"in v==!!x&&(x?v.localName===x:3===v.nodeType)){e=v,l[f]=null;break}if(null==e){if(null===x)return document.createTextNode(k);e=o?document.createElementNS("http://www.w3.org/2000/svg",x):document.createElement(x,k.is&&k),l=null,i=!1}if(null===x)b===k||i&&e.data===k||(e.data=k);else{if(l=l&&_.call(e.childNodes),b=n.props||p,!i&&null!=l)for(b={},f=0;f<e.attributes.length;f++)b[(v=e.attributes[f]).name]=v.value;for(f in b)v=b[f],"children"==f||("dangerouslySetInnerHTML"==f?a=v:"key"===f||f in k||W(e,f,null,v,o));for(f in k)v=k[f],"children"==f?d=v:"dangerouslySetInnerHTML"==f?c=v:"value"==f?m=v:"checked"==f?g=v:"key"===f||i&&"function"!=typeof v||b[f]===v||W(e,f,v,b[f],o);if(c)i||a&&(c.__html===a.__html||c.__html===e.innerHTML)||(e.innerHTML=c.__html),t.__k=[];else if(a&&(e.innerHTML=""),D(e,h(d)?d:[d],t,n,r,o&&"foreignObject"!==x,l,u,l?l[0]:n.__k&&C(n,0),i,s),null!=l)for(f=l.length;f--;)null!=l[f]&&y(l[f]);i||(f="value",void 0!==m&&(m!==e[f]||"progress"===x&&!m||"option"===x&&m!==b[f])&&W(e,f,m,b[f],!1),f="checked",void 0!==g&&g!==e[f]&&W(e,f,g,b[f],!1))}return e}function H(e,t,n){try{"function"==typeof e?e(t):e.current=t}catch(e){r.__e(e,n)}}function R(e,t,n){var _,o;if(r.unmount&&r.unmount(e),(_=e.ref)&&(_.current&&_.current!==e.__e||H(_,null,t)),null!=(_=e.__c)){if(_.componentWillUnmount)try{_.componentWillUnmount()}catch(e){r.__e(e,t)}_.base=_.__P=null,e.__c=void 0}if(_=e.__k)for(o=0;o<_.length;o++)_[o]&&R(_[o],t,n||"function"!=typeof e.type);n||null==e.__e||y(e.__e),e.__=e.__e=e.__d=void 0}function z(e,t,n){return this.constructor(e,n)}function O(e,t,n){var o,l,u,i;r.__&&r.__(e,t),l=(o="function"==typeof n)?null:n&&n.__k||t.__k,u=[],i=[],K(t,e=(!o&&n||t).__k=m(k,null,[e]),l||p,p,void 0!==t.ownerSVGElement,!o&&n?[n]:l?null:t.firstChild?_.call(t.childNodes):null,u,!o&&n?n:l?l.__e:t.firstChild,o,i),e.__d=void 0,N(u,e,i)}function B(e,t){O(e,t,B)}function I(e,t,n){var r,o,l,u,i=v({},e.props);for(l in e.type&&e.type.defaultProps&&(u=e.type.defaultProps),t)"key"==l?r=t[l]:"ref"==l?o=t[l]:i[l]=void 0===t[l]&&void 0!==u?u[l]:t[l];return arguments.length>2&&(i.children=arguments.length>3?_.call(arguments,2):n),g(e.type,i,r||e.key,o||e.ref,null)}function V(e,t){var n={__c:t="__cC"+c++,__:e,Consumer:function(e,t){return e.children(t)},Provider:function(e){var n,_;return this.getChildContext||(n=[],(_={})[t]=this,this.getChildContext=function(){return _},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&n.some((function(e){e.__e=!0,S(e)}))},this.sub=function(e){n.push(e);var t=e.componentWillUnmount;e.componentWillUnmount=function(){n.splice(n.indexOf(e),1),t&&t.call(e)}}),e.children}};return n.Provider.__=n.Consumer.contextType=n}_=a.slice,r={__e:function(e,t,n,_){for(var r,o,l;t=t.__;)if((r=t.__c)&&!r.__)try{if((o=r.constructor)&&null!=o.getDerivedStateFromError&&(r.setState(o.getDerivedStateFromError(e)),l=r.__d),null!=r.componentDidCatch&&(r.componentDidCatch(e,_||{}),l=r.__d),l)return r.__E=r}catch(t){e=t}throw e}},o=0,l=function(e){return null!=e&&null==e.constructor},x.prototype.setState=function(e,t){var n;n=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=v({},this.state),"function"==typeof e&&(e=e(v({},n),this.props)),e&&v(n,e),null!=e&&this.__v&&(t&&this._sb.push(t),S(this))},x.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),S(this))},x.prototype.render=k,u=[],s="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,f=function(e,t){return e.__v.__b-t.__v.__b},F.__r=0,c=0},755:(e,t,n)=>{n.d(t,{FD:()=>s,FK:()=>_.FK,Kg:()=>f,P9:()=>s,R_:()=>a,Y:()=>s,zt:()=>d});var _=n(754),r=/["&<]/;function o(e){if(0===e.length||!1===r.test(e))return e;for(var t=0,n=0,_="",o="";n<e.length;n++){switch(e.charCodeAt(n)){case 34:o=""";break;case 38:o="&";break;case 60:o="<";break;default:continue}n!==t&&(_+=e.slice(t,n)),_+=o,t=n+1}return n!==t&&(_+=e.slice(t,n)),_}var l=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,u=0,i=Array.isArray;function s(e,t,n,r,o,l){var i,s,f={};for(s in t)"ref"==s?i=t[s]:f[s]=t[s];var c={type:e,props:f,key:n,ref:i,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:--u,__i:-1,__u:0,__source:o,__self:l};if("function"==typeof e&&(i=e.defaultProps))for(s in i)void 0===f[s]&&(f[s]=i[s]);return _.fF.vnode&&_.fF.vnode(c),c}function f(e){var t=s(_.FK,{tpl:e,exprs:[].slice.call(arguments,1)});return t.key=t.__v,t}var c={},p=/[A-Z]/g;function a(e,t){if(_.fF.attr){var n=_.fF.attr(e,t);if("string"==typeof n)return n}if("ref"===e||"key"===e)return"";if("style"===e&&"object"==typeof t){var r="";for(var u in t){var i=t[u];if(null!=i&&""!==i){var s="-"==u[0]?u:c[u]||(c[u]=u.replace(p,"-$&").toLowerCase()),f=";";"number"!=typeof i||s.startsWith("--")||l.test(s)||(f="px;"),r=r+s+":"+i+f}}return e+'="'+r+'"'}return null==t||!1===t||"function"==typeof t||"object"==typeof t?"":!0===t?e:e+'="'+o(t)+'"'}function d(e){if(null==e||"boolean"==typeof e||"function"==typeof e)return null;if("object"==typeof e){if(void 0===e.constructor)return e;if(i(e)){for(var t=0;t<e.length;t++)e[t]=d(e[t]);return e}}return o(""+e)}}};import e from"./runtime.js";import*as t from"./preact-jsx-runtime.js";e.C(t);var n=(755,e(e.s=755)),_=n.FK,r=n.Y,o=n.R_,l=n.P9,u=n.zt,i=n.Kg,s=n.FD;export{_ as Fragment,r as jsx,o as jsxAttr,l as jsxDEV,u as jsxEscape,i as jsxTemplate,s as jsxs};
|
package/preact.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const id=174;export const ids=[174];export const modules={754:(e,n,t)=>{t.d(n,{FK:()=>b,Ob:()=>I,Qv:()=>B,XX:()=>z,_3:()=>k,fF:()=>o,h:()=>m,n:()=>m,q6:()=>V,uA:()=>x,v2:()=>F,zO:()=>r});var _,o,l,r,u,i,s,c,f,p={},a=[],d=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,h=Array.isArray;function v(e,n){for(var t in n)e[t]=n[t];return e}function y(e){var n=e.parentNode;n&&n.removeChild(e)}function m(e,n,t){var o,l,r,u={};for(r in n)"key"==r?o=n[r]:"ref"==r?l=n[r]:u[r]=n[r];if(arguments.length>2&&(u.children=arguments.length>3?_.call(arguments,2):t),"function"==typeof e&&null!=e.defaultProps)for(r in e.defaultProps)void 0===u[r]&&(u[r]=e.defaultProps[r]);return g(e,u,o,l,null)}function g(e,n,t,_,r){var u={type:e,props:n,key:t,ref:_,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==r?++l:r,__i:-1,__u:0};return null==r&&null!=o.vnode&&o.vnode(u),u}function k(){return{current:null}}function b(e){return e.children}function x(e,n){this.props=e,this.context=n}function C(e,n){if(null==n)return e.__?C(e.__,e.__i+1):null;for(var t;n<e.__k.length;n++)if(null!=(t=e.__k[n])&&null!=t.__e)return t.__e;return"function"==typeof e.type?C(e):null}function P(e,n,t){var _,l=e.__v,r=l.__e,u=e.__P;if(u)return(_=v({},l)).__v=l.__v+1,o.vnode&&o.vnode(_),O(u,_,l,e.__n,void 0!==u.ownerSVGElement,32&l.__u?[r]:null,n,null==r?C(l):r,!!(32&l.__u),t),_.__v=l.__v,_.__.__k[_.__i]=_,_.__d=void 0,_.__e!=r&&w(_),_}function w(e){var n,t;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,n=0;n<e.__k.length;n++)if(null!=(t=e.__k[n])&&null!=t.__e){e.__e=e.__c.base=t.__e;break}return w(e)}}function S(e){(!e.__d&&(e.__d=!0)&&u.push(e)&&!E.__r++||i!==o.debounceRendering)&&((i=o.debounceRendering)||s)(E)}function E(){var e,n,t,_=[],l=[];for(u.sort(c);e=u.shift();)e.__d&&(t=u.length,n=P(e,_,l)||n,0===t||u.length>t?(H(_,n,l),l.length=_.length=0,n=void 0,u.sort(c)):n&&o.__c&&o.__c(n,a));n&&H(_,n,l),E.__r=0}function D(e,n,t,_,o,l,r,u,i,s,c){var f,d,h,v,y,m=_&&_.__k||a,g=n.length;for(t.__d=i,U(t,n,m),i=t.__d,f=0;f<g;f++)null!=(h=t.__k[f])&&"boolean"!=typeof h&&"function"!=typeof h&&(d=-1===h.__i?p:m[h.__i]||p,h.__i=f,O(e,h,d,o,l,r,u,i,s,c),v=h.__e,h.ref&&d.ref!=h.ref&&(d.ref&&$(d.ref,null,h),c.push(h.ref,h.__c||v,h)),null==y&&null!=v&&(y=v),65536&h.__u||d.__k===h.__k?i=T(h,i,e):"function"==typeof h.type&&void 0!==h.__d?i=h.__d:v&&(i=v.nextSibling),h.__d=void 0,h.__u&=-196609);t.__d=i,t.__e=y}function U(e,n,t){var _,o,l,r,u,i=n.length,s=t.length,c=s,f=0;for(e.__k=[],_=0;_<i;_++)r=_+f,null!=(o=e.__k[_]=null==(o=n[_])||"boolean"==typeof o||"function"==typeof o?null:"string"==typeof o||"number"==typeof o||"bigint"==typeof o||o.constructor==String?g(null,o,null,null,null):h(o)?g(b,{children:o},null,null,null):void 0===o.constructor&&o.__b>0?g(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)?(o.__=e,o.__b=e.__b+1,u=W(o,t,r,c),o.__i=u,l=null,-1!==u&&(c--,(l=t[u])&&(l.__u|=131072)),null==l||null===l.__v?(-1==u&&f--,"function"!=typeof o.type&&(o.__u|=65536)):u!==r&&(u===r+1?f++:u>r?c>i-r?f+=u-r:f--:u<r?u==r-1&&(f=u-r):f=0,u!==_+f&&(o.__u|=65536))):(l=t[r])&&null==l.key&&l.__e&&!(131072&l.__u)&&(l.__e==e.__d&&(e.__d=C(l)),X(l,l,!1),t[r]=null,c--);if(c)for(_=0;_<s;_++)null!=(l=t[_])&&!(131072&l.__u)&&(l.__e==e.__d&&(e.__d=C(l)),X(l,l))}function T(e,n,t){var _,o;if("function"==typeof e.type){for(_=e.__k,o=0;_&&o<_.length;o++)_[o]&&(_[o].__=e,n=T(_[o],n,t));return n}e.__e!=n&&(t.insertBefore(e.__e,n||null),n=e.__e);do{n=n&&n.nextSibling}while(null!=n&&8===n.nodeType);return n}function F(e,n){return n=n||[],null==e||"boolean"==typeof e||(h(e)?e.some((function(e){F(e,n)})):n.push(e)),n}function W(e,n,t,_){var o=e.key,l=e.type,r=t-1,u=t+1,i=n[t];if(null===i||i&&o==i.key&&l===i.type&&!(131072&i.__u))return t;if(_>(null==i||131072&i.__u?0:1))for(;r>=0||u<n.length;){if(r>=0){if((i=n[r])&&!(131072&i.__u)&&o==i.key&&l===i.type)return r;r--}if(u<n.length){if((i=n[u])&&!(131072&i.__u)&&o==i.key&&l===i.type)return u;u++}}return-1}function L(e,n,t){"-"===n[0]?e.setProperty(n,null==t?"":t):e[n]=null==t?"":"number"!=typeof t||d.test(n)?t:t+"px"}function M(e,n,t,_,o){var l;e:if("style"===n)if("string"==typeof t)e.style.cssText=t;else{if("string"==typeof _&&(e.style.cssText=_=""),_)for(n in _)t&&n in t||L(e.style,n,"");if(t)for(n in t)_&&t[n]===_[n]||L(e.style,n,t[n])}else if("o"===n[0]&&"n"===n[1])l=n!==(n=n.replace(/(PointerCapture)$|Capture$/i,"$1")),n=n.toLowerCase()in e?n.toLowerCase().slice(2):n.slice(2),e.l||(e.l={}),e.l[n+l]=t,t?_?t.u=_.u:(t.u=Date.now(),e.addEventListener(n,l?N:A,l)):e.removeEventListener(n,l?N:A,l);else{if(o)n=n.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==n&&"height"!==n&&"href"!==n&&"list"!==n&&"form"!==n&&"tabIndex"!==n&&"download"!==n&&"rowSpan"!==n&&"colSpan"!==n&&"role"!==n&&n in e)try{e[n]=null==t?"":t;break e}catch(e){}"function"==typeof t||(null==t||!1===t&&"-"!==n[4]?e.removeAttribute(n):e.setAttribute(n,t))}}function A(e){if(this.l){var n=this.l[e.type+!1];if(e.t){if(e.t<=n.u)return}else e.t=Date.now();return n(o.event?o.event(e):e)}}function N(e){if(this.l)return this.l[e.type+!0](o.event?o.event(e):e)}function O(e,n,t,_,l,r,u,i,s,c){var f,p,a,d,y,m,g,k,C,P,w,S,E,U,T,F=n.type;if(void 0!==n.constructor)return null;128&t.__u&&(s=!!(32&t.__u),r=[i=n.__e=t.__e]),(f=o.__b)&&f(n);e:if("function"==typeof F)try{if(k=n.props,C=(f=F.contextType)&&_[f.__c],P=f?C?C.props.value:f.__:_,t.__c?g=(p=n.__c=t.__c).__=p.__E:("prototype"in F&&F.prototype.render?n.__c=p=new F(k,P):(n.__c=p=new x(k,P),p.constructor=F,p.render=j),C&&C.sub(p),p.props=k,p.state||(p.state={}),p.context=P,p.__n=_,a=p.__d=!0,p.__h=[],p._sb=[]),null==p.__s&&(p.__s=p.state),null!=F.getDerivedStateFromProps&&(p.__s==p.state&&(p.__s=v({},p.__s)),v(p.__s,F.getDerivedStateFromProps(k,p.__s))),d=p.props,y=p.state,p.__v=n,a)null==F.getDerivedStateFromProps&&null!=p.componentWillMount&&p.componentWillMount(),null!=p.componentDidMount&&p.__h.push(p.componentDidMount);else{if(null==F.getDerivedStateFromProps&&k!==d&&null!=p.componentWillReceiveProps&&p.componentWillReceiveProps(k,P),!p.__e&&(null!=p.shouldComponentUpdate&&!1===p.shouldComponentUpdate(k,p.__s,P)||n.__v===t.__v)){for(n.__v!==t.__v&&(p.props=k,p.state=p.__s,p.__d=!1),n.__e=t.__e,n.__k=t.__k,n.__k.forEach((function(e){e&&(e.__=n)})),w=0;w<p._sb.length;w++)p.__h.push(p._sb[w]);p._sb=[],p.__h.length&&u.push(p);break e}null!=p.componentWillUpdate&&p.componentWillUpdate(k,p.__s,P),null!=p.componentDidUpdate&&p.__h.push((function(){p.componentDidUpdate(d,y,m)}))}if(p.context=P,p.props=k,p.__P=e,p.__e=!1,S=o.__r,E=0,"prototype"in F&&F.prototype.render){for(p.state=p.__s,p.__d=!1,S&&S(n),f=p.render(p.props,p.state,p.context),U=0;U<p._sb.length;U++)p.__h.push(p._sb[U]);p._sb=[]}else do{p.__d=!1,S&&S(n),f=p.render(p.props,p.state,p.context),p.state=p.__s}while(p.__d&&++E<25);p.state=p.__s,null!=p.getChildContext&&(_=v(v({},_),p.getChildContext())),a||null==p.getSnapshotBeforeUpdate||(m=p.getSnapshotBeforeUpdate(d,y)),D(e,h(T=null!=f&&f.type===b&&null==f.key?f.props.children:f)?T:[T],n,t,_,l,r,u,i,s,c),p.base=n.__e,n.__u&=-161,p.__h.length&&u.push(p),g&&(p.__E=p.__=null)}catch(e){n.__v=null,s||null!=r?(n.__e=i,n.__u|=s?160:32,r[r.indexOf(i)]=null):(n.__e=t.__e,n.__k=t.__k),o.__e(e,n,t)}else null==r&&n.__v===t.__v?(n.__k=t.__k,n.__e=t.__e):n.__e=R(t.__e,n,t,_,l,r,u,s,c);(f=o.diffed)&&f(n)}function H(e,n,t){for(var _=0;_<t.length;_++)$(t[_],t[++_],t[++_]);o.__c&&o.__c(n,e),e.some((function(n){try{e=n.__h,n.__h=[],e.some((function(e){e.call(n)}))}catch(e){o.__e(e,n.__v)}}))}function R(e,n,t,o,l,r,u,i,s){var c,f,a,d,v,m,g,k=t.props,b=n.props,x=n.type;if("svg"===x&&(l=!0),null!=r)for(c=0;c<r.length;c++)if((v=r[c])&&"setAttribute"in v==!!x&&(x?v.localName===x:3===v.nodeType)){e=v,r[c]=null;break}if(null==e){if(null===x)return document.createTextNode(b);e=l?document.createElementNS("http://www.w3.org/2000/svg",x):document.createElement(x,b.is&&b),r=null,i=!1}if(null===x)k===b||i&&e.data===b||(e.data=b);else{if(r=r&&_.call(e.childNodes),k=t.props||p,!i&&null!=r)for(k={},c=0;c<e.attributes.length;c++)k[(v=e.attributes[c]).name]=v.value;for(c in k)v=k[c],"children"==c||("dangerouslySetInnerHTML"==c?a=v:"key"===c||c in b||M(e,c,null,v,l));for(c in b)v=b[c],"children"==c?d=v:"dangerouslySetInnerHTML"==c?f=v:"value"==c?m=v:"checked"==c?g=v:"key"===c||i&&"function"!=typeof v||k[c]===v||M(e,c,v,k[c],l);if(f)i||a&&(f.__html===a.__html||f.__html===e.innerHTML)||(e.innerHTML=f.__html),n.__k=[];else if(a&&(e.innerHTML=""),D(e,h(d)?d:[d],n,t,o,l&&"foreignObject"!==x,r,u,r?r[0]:t.__k&&C(t,0),i,s),null!=r)for(c=r.length;c--;)null!=r[c]&&y(r[c]);i||(c="value",void 0!==m&&(m!==e[c]||"progress"===x&&!m||"option"===x&&m!==k[c])&&M(e,c,m,k[c],!1),c="checked",void 0!==g&&g!==e[c]&&M(e,c,g,k[c],!1))}return e}function $(e,n,t){try{"function"==typeof e?e(n):e.current=n}catch(e){o.__e(e,t)}}function X(e,n,t){var _,l;if(o.unmount&&o.unmount(e),(_=e.ref)&&(_.current&&_.current!==e.__e||$(_,null,n)),null!=(_=e.__c)){if(_.componentWillUnmount)try{_.componentWillUnmount()}catch(e){o.__e(e,n)}_.base=_.__P=null,e.__c=void 0}if(_=e.__k)for(l=0;l<_.length;l++)_[l]&&X(_[l],n,t||"function"!=typeof e.type);t||null==e.__e||y(e.__e),e.__=e.__e=e.__d=void 0}function j(e,n,t){return this.constructor(e,t)}function z(e,n,t){var l,r,u,i;o.__&&o.__(e,n),r=(l="function"==typeof t)?null:t&&t.__k||n.__k,u=[],i=[],O(n,e=(!l&&t||n).__k=m(b,null,[e]),r||p,p,void 0!==n.ownerSVGElement,!l&&t?[t]:r?null:n.firstChild?_.call(n.childNodes):null,u,!l&&t?t:r?r.__e:n.firstChild,l,i),e.__d=void 0,H(u,e,i)}function B(e,n){z(e,n,B)}function I(e,n,t){var o,l,r,u,i=v({},e.props);for(r in e.type&&e.type.defaultProps&&(u=e.type.defaultProps),n)"key"==r?o=n[r]:"ref"==r?l=n[r]:i[r]=void 0===n[r]&&void 0!==u?u[r]:n[r];return arguments.length>2&&(i.children=arguments.length>3?_.call(arguments,2):t),g(e.type,i,o||e.key,l||e.ref,null)}function V(e,n){var t={__c:n="__cC"+f++,__:e,Consumer:function(e,n){return e.children(n)},Provider:function(e){var t,_;return this.getChildContext||(t=[],(_={})[n]=this,this.getChildContext=function(){return _},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&t.some((function(e){e.__e=!0,S(e)}))},this.sub=function(e){t.push(e);var n=e.componentWillUnmount;e.componentWillUnmount=function(){t.splice(t.indexOf(e),1),n&&n.call(e)}}),e.children}};return t.Provider.__=t.Consumer.contextType=t}_=a.slice,o={__e:function(e,n,t,_){for(var o,l,r;n=n.__;)if((o=n.__c)&&!o.__)try{if((l=o.constructor)&&null!=l.getDerivedStateFromError&&(o.setState(l.getDerivedStateFromError(e)),r=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,_||{}),r=o.__d),r)return o.__E=o}catch(n){e=n}throw e}},l=0,r=function(e){return null!=e&&null==e.constructor},x.prototype.setState=function(e,n){var t;t=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=v({},this.state),"function"==typeof e&&(e=e(v({},t),this.props)),e&&v(t,e),null!=e&&this.__v&&(n&&this._sb.push(n),S(this))},x.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),S(this))},x.prototype.render=b,u=[],s="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,c=function(e,n){return e.__v.__b-n.__v.__b},E.__r=0,f=0}};import e from"./runtime.js";import*as n from"./preact.js";e.C(n);var t,_=(t=754,e(e.s=t)),o=_.uA,l=_.FK,r=_.Ob,u=_.q6,i=_.n,s=_._3,c=_.h,f=_.Qv,p=_.zO,a=_.fF,d=_.XX,h=_.v2;export{o as Component,l as Fragment,r as cloneElement,u as createContext,i as createElement,s as createRef,c as h,f as hydrate,p as isValidElement,a as options,d as render,h as toChildArray};
|
|
1
|
+
export const id=174;export const ids=[174];export const modules={754:(e,n,t)=>{t.d(n,{FK:()=>b,Ob:()=>I,Qv:()=>B,XX:()=>z,_3:()=>k,fF:()=>o,h:()=>m,n:()=>m,q6:()=>V,uA:()=>x,v2:()=>F,zO:()=>r});var _,o,l,r,u,i,s,c,f,p={},a=[],d=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,h=Array.isArray;function v(e,n){for(var t in n)e[t]=n[t];return e}function y(e){var n=e.parentNode;n&&n.removeChild(e)}function m(e,n,t){var o,l,r,u={};for(r in n)"key"==r?o=n[r]:"ref"==r?l=n[r]:u[r]=n[r];if(arguments.length>2&&(u.children=arguments.length>3?_.call(arguments,2):t),"function"==typeof e&&null!=e.defaultProps)for(r in e.defaultProps)void 0===u[r]&&(u[r]=e.defaultProps[r]);return g(e,u,o,l,null)}function g(e,n,t,_,r){var u={type:e,props:n,key:t,ref:_,__k:null,__:null,__b:0,__e:null,__d:void 0,__c:null,constructor:void 0,__v:null==r?++l:r,__i:-1,__u:0};return null==r&&null!=o.vnode&&o.vnode(u),u}function k(){return{current:null}}function b(e){return e.children}function x(e,n){this.props=e,this.context=n}function C(e,n){if(null==n)return e.__?C(e.__,e.__i+1):null;for(var t;n<e.__k.length;n++)if(null!=(t=e.__k[n])&&null!=t.__e)return t.__e;return"function"==typeof e.type?C(e):null}function P(e,n,t){var _,l=e.__v,r=l.__e,u=e.__P;if(u)return(_=v({},l)).__v=l.__v+1,o.vnode&&o.vnode(_),O(u,_,l,e.__n,void 0!==u.ownerSVGElement,32&l.__u?[r]:null,n,null==r?C(l):r,!!(32&l.__u),t),_.__v=l.__v,_.__.__k[_.__i]=_,_.__d=void 0,_.__e!=r&&w(_),_}function w(e){var n,t;if(null!=(e=e.__)&&null!=e.__c){for(e.__e=e.__c.base=null,n=0;n<e.__k.length;n++)if(null!=(t=e.__k[n])&&null!=t.__e){e.__e=e.__c.base=t.__e;break}return w(e)}}function S(e){(!e.__d&&(e.__d=!0)&&u.push(e)&&!E.__r++||i!==o.debounceRendering)&&((i=o.debounceRendering)||s)(E)}function E(){var e,n,t,_=[],l=[];for(u.sort(c);e=u.shift();)e.__d&&(t=u.length,n=P(e,_,l)||n,0===t||u.length>t?(H(_,n,l),l.length=_.length=0,n=void 0,u.sort(c)):n&&o.__c&&o.__c(n,a));n&&H(_,n,l),E.__r=0}function D(e,n,t,_,o,l,r,u,i,s,c){var f,d,h,v,y,m=_&&_.__k||a,g=n.length;for(t.__d=i,U(t,n,m),i=t.__d,f=0;f<g;f++)null!=(h=t.__k[f])&&"boolean"!=typeof h&&"function"!=typeof h&&(d=-1===h.__i?p:m[h.__i]||p,h.__i=f,O(e,h,d,o,l,r,u,i,s,c),v=h.__e,h.ref&&d.ref!=h.ref&&(d.ref&&$(d.ref,null,h),c.push(h.ref,h.__c||v,h)),null==y&&null!=v&&(y=v),65536&h.__u||d.__k===h.__k?i=T(h,i,e):"function"==typeof h.type&&void 0!==h.__d?i=h.__d:v&&(i=v.nextSibling),h.__d=void 0,h.__u&=-196609);t.__d=i,t.__e=y}function U(e,n,t){var _,o,l,r,u,i=n.length,s=t.length,c=s,f=0;for(e.__k=[],_=0;_<i;_++)r=_+f,null!=(o=e.__k[_]=null==(o=n[_])||"boolean"==typeof o||"function"==typeof o?null:"string"==typeof o||"number"==typeof o||"bigint"==typeof o||o.constructor==String?g(null,o,null,null,null):h(o)?g(b,{children:o},null,null,null):void 0===o.constructor&&o.__b>0?g(o.type,o.props,o.key,o.ref?o.ref:null,o.__v):o)?(o.__=e,o.__b=e.__b+1,u=W(o,t,r,c),o.__i=u,l=null,-1!==u&&(c--,(l=t[u])&&(l.__u|=131072)),null==l||null===l.__v?(-1==u&&f--,"function"!=typeof o.type&&(o.__u|=65536)):u!==r&&(u===r+1?f++:u>r?c>i-r?f+=u-r:f--:u<r?u==r-1&&(f=u-r):f=0,u!==_+f&&(o.__u|=65536))):(l=t[r])&&null==l.key&&l.__e&&!(131072&l.__u)&&(l.__e==e.__d&&(e.__d=C(l)),X(l,l,!1),t[r]=null,c--);if(c)for(_=0;_<s;_++)null!=(l=t[_])&&!(131072&l.__u)&&(l.__e==e.__d&&(e.__d=C(l)),X(l,l))}function T(e,n,t){var _,o;if("function"==typeof e.type){for(_=e.__k,o=0;_&&o<_.length;o++)_[o]&&(_[o].__=e,n=T(_[o],n,t));return n}e.__e!=n&&(t.insertBefore(e.__e,n||null),n=e.__e);do{n=n&&n.nextSibling}while(null!=n&&8===n.nodeType);return n}function F(e,n){return n=n||[],null==e||"boolean"==typeof e||(h(e)?e.some((function(e){F(e,n)})):n.push(e)),n}function W(e,n,t,_){var o=e.key,l=e.type,r=t-1,u=t+1,i=n[t];if(null===i||i&&o==i.key&&l===i.type&&!(131072&i.__u))return t;if(_>(null==i||131072&i.__u?0:1))for(;r>=0||u<n.length;){if(r>=0){if((i=n[r])&&!(131072&i.__u)&&o==i.key&&l===i.type)return r;r--}if(u<n.length){if((i=n[u])&&!(131072&i.__u)&&o==i.key&&l===i.type)return u;u++}}return-1}function L(e,n,t){"-"===n[0]?e.setProperty(n,null==t?"":t):e[n]=null==t?"":"number"!=typeof t||d.test(n)?t:t+"px"}function M(e,n,t,_,o){var l;e:if("style"===n)if("string"==typeof t)e.style.cssText=t;else{if("string"==typeof _&&(e.style.cssText=_=""),_)for(n in _)t&&n in t||L(e.style,n,"");if(t)for(n in t)_&&t[n]===_[n]||L(e.style,n,t[n])}else if("o"===n[0]&&"n"===n[1])l=n!==(n=n.replace(/(PointerCapture)$|Capture$/i,"$1")),n=n.toLowerCase()in e?n.toLowerCase().slice(2):n.slice(2),e.l||(e.l={}),e.l[n+l]=t,t?_?t.u=_.u:(t.u=Date.now(),e.addEventListener(n,l?N:A,l)):e.removeEventListener(n,l?N:A,l);else{if(o)n=n.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!==n&&"height"!==n&&"href"!==n&&"list"!==n&&"form"!==n&&"tabIndex"!==n&&"download"!==n&&"rowSpan"!==n&&"colSpan"!==n&&"role"!==n&&n in e)try{e[n]=null==t?"":t;break e}catch(e){}"function"==typeof t||(null==t||!1===t&&"-"!==n[4]?e.removeAttribute(n):e.setAttribute(n,t))}}function A(e){if(this.l){var n=this.l[e.type+!1];if(e.t){if(e.t<=n.u)return}else e.t=Date.now();return n(o.event?o.event(e):e)}}function N(e){if(this.l)return this.l[e.type+!0](o.event?o.event(e):e)}function O(e,n,t,_,l,r,u,i,s,c){var f,p,a,d,y,m,g,k,C,P,w,S,E,U,T,F=n.type;if(void 0!==n.constructor)return null;128&t.__u&&(s=!!(32&t.__u),r=[i=n.__e=t.__e]),(f=o.__b)&&f(n);e:if("function"==typeof F)try{if(k=n.props,C=(f=F.contextType)&&_[f.__c],P=f?C?C.props.value:f.__:_,t.__c?g=(p=n.__c=t.__c).__=p.__E:("prototype"in F&&F.prototype.render?n.__c=p=new F(k,P):(n.__c=p=new x(k,P),p.constructor=F,p.render=j),C&&C.sub(p),p.props=k,p.state||(p.state={}),p.context=P,p.__n=_,a=p.__d=!0,p.__h=[],p._sb=[]),null==p.__s&&(p.__s=p.state),null!=F.getDerivedStateFromProps&&(p.__s==p.state&&(p.__s=v({},p.__s)),v(p.__s,F.getDerivedStateFromProps(k,p.__s))),d=p.props,y=p.state,p.__v=n,a)null==F.getDerivedStateFromProps&&null!=p.componentWillMount&&p.componentWillMount(),null!=p.componentDidMount&&p.__h.push(p.componentDidMount);else{if(null==F.getDerivedStateFromProps&&k!==d&&null!=p.componentWillReceiveProps&&p.componentWillReceiveProps(k,P),!p.__e&&(null!=p.shouldComponentUpdate&&!1===p.shouldComponentUpdate(k,p.__s,P)||n.__v===t.__v)){for(n.__v!==t.__v&&(p.props=k,p.state=p.__s,p.__d=!1),n.__e=t.__e,n.__k=t.__k,n.__k.forEach((function(e){e&&(e.__=n)})),w=0;w<p._sb.length;w++)p.__h.push(p._sb[w]);p._sb=[],p.__h.length&&u.push(p);break e}null!=p.componentWillUpdate&&p.componentWillUpdate(k,p.__s,P),null!=p.componentDidUpdate&&p.__h.push((function(){p.componentDidUpdate(d,y,m)}))}if(p.context=P,p.props=k,p.__P=e,p.__e=!1,S=o.__r,E=0,"prototype"in F&&F.prototype.render){for(p.state=p.__s,p.__d=!1,S&&S(n),f=p.render(p.props,p.state,p.context),U=0;U<p._sb.length;U++)p.__h.push(p._sb[U]);p._sb=[]}else do{p.__d=!1,S&&S(n),f=p.render(p.props,p.state,p.context),p.state=p.__s}while(p.__d&&++E<25);p.state=p.__s,null!=p.getChildContext&&(_=v(v({},_),p.getChildContext())),a||null==p.getSnapshotBeforeUpdate||(m=p.getSnapshotBeforeUpdate(d,y)),D(e,h(T=null!=f&&f.type===b&&null==f.key?f.props.children:f)?T:[T],n,t,_,l,r,u,i,s,c),p.base=n.__e,n.__u&=-161,p.__h.length&&u.push(p),g&&(p.__E=p.__=null)}catch(e){n.__v=null,s||null!=r?(n.__e=i,n.__u|=s?160:32,r[r.indexOf(i)]=null):(n.__e=t.__e,n.__k=t.__k),o.__e(e,n,t)}else null==r&&n.__v===t.__v?(n.__k=t.__k,n.__e=t.__e):n.__e=R(t.__e,n,t,_,l,r,u,s,c);(f=o.diffed)&&f(n)}function H(e,n,t){for(var _=0;_<t.length;_++)$(t[_],t[++_],t[++_]);o.__c&&o.__c(n,e),e.some((function(n){try{e=n.__h,n.__h=[],e.some((function(e){e.call(n)}))}catch(e){o.__e(e,n.__v)}}))}function R(e,n,t,o,l,r,u,i,s){var c,f,a,d,v,m,g,k=t.props,b=n.props,x=n.type;if("svg"===x&&(l=!0),null!=r)for(c=0;c<r.length;c++)if((v=r[c])&&"setAttribute"in v==!!x&&(x?v.localName===x:3===v.nodeType)){e=v,r[c]=null;break}if(null==e){if(null===x)return document.createTextNode(b);e=l?document.createElementNS("http://www.w3.org/2000/svg",x):document.createElement(x,b.is&&b),r=null,i=!1}if(null===x)k===b||i&&e.data===b||(e.data=b);else{if(r=r&&_.call(e.childNodes),k=t.props||p,!i&&null!=r)for(k={},c=0;c<e.attributes.length;c++)k[(v=e.attributes[c]).name]=v.value;for(c in k)v=k[c],"children"==c||("dangerouslySetInnerHTML"==c?a=v:"key"===c||c in b||M(e,c,null,v,l));for(c in b)v=b[c],"children"==c?d=v:"dangerouslySetInnerHTML"==c?f=v:"value"==c?m=v:"checked"==c?g=v:"key"===c||i&&"function"!=typeof v||k[c]===v||M(e,c,v,k[c],l);if(f)i||a&&(f.__html===a.__html||f.__html===e.innerHTML)||(e.innerHTML=f.__html),n.__k=[];else if(a&&(e.innerHTML=""),D(e,h(d)?d:[d],n,t,o,l&&"foreignObject"!==x,r,u,r?r[0]:t.__k&&C(t,0),i,s),null!=r)for(c=r.length;c--;)null!=r[c]&&y(r[c]);i||(c="value",void 0!==m&&(m!==e[c]||"progress"===x&&!m||"option"===x&&m!==k[c])&&M(e,c,m,k[c],!1),c="checked",void 0!==g&&g!==e[c]&&M(e,c,g,k[c],!1))}return e}function $(e,n,t){try{"function"==typeof e?e(n):e.current=n}catch(e){o.__e(e,t)}}function X(e,n,t){var _,l;if(o.unmount&&o.unmount(e),(_=e.ref)&&(_.current&&_.current!==e.__e||$(_,null,n)),null!=(_=e.__c)){if(_.componentWillUnmount)try{_.componentWillUnmount()}catch(e){o.__e(e,n)}_.base=_.__P=null,e.__c=void 0}if(_=e.__k)for(l=0;l<_.length;l++)_[l]&&X(_[l],n,t||"function"!=typeof e.type);t||null==e.__e||y(e.__e),e.__=e.__e=e.__d=void 0}function j(e,n,t){return this.constructor(e,t)}function z(e,n,t){var l,r,u,i;o.__&&o.__(e,n),r=(l="function"==typeof t)?null:t&&t.__k||n.__k,u=[],i=[],O(n,e=(!l&&t||n).__k=m(b,null,[e]),r||p,p,void 0!==n.ownerSVGElement,!l&&t?[t]:r?null:n.firstChild?_.call(n.childNodes):null,u,!l&&t?t:r?r.__e:n.firstChild,l,i),e.__d=void 0,H(u,e,i)}function B(e,n){z(e,n,B)}function I(e,n,t){var o,l,r,u,i=v({},e.props);for(r in e.type&&e.type.defaultProps&&(u=e.type.defaultProps),n)"key"==r?o=n[r]:"ref"==r?l=n[r]:i[r]=void 0===n[r]&&void 0!==u?u[r]:n[r];return arguments.length>2&&(i.children=arguments.length>3?_.call(arguments,2):t),g(e.type,i,o||e.key,l||e.ref,null)}function V(e,n){var t={__c:n="__cC"+f++,__:e,Consumer:function(e,n){return e.children(n)},Provider:function(e){var t,_;return this.getChildContext||(t=[],(_={})[n]=this,this.getChildContext=function(){return _},this.shouldComponentUpdate=function(e){this.props.value!==e.value&&t.some((function(e){e.__e=!0,S(e)}))},this.sub=function(e){t.push(e);var n=e.componentWillUnmount;e.componentWillUnmount=function(){t.splice(t.indexOf(e),1),n&&n.call(e)}}),e.children}};return t.Provider.__=t.Consumer.contextType=t}_=a.slice,o={__e:function(e,n,t,_){for(var o,l,r;n=n.__;)if((o=n.__c)&&!o.__)try{if((l=o.constructor)&&null!=l.getDerivedStateFromError&&(o.setState(l.getDerivedStateFromError(e)),r=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(e,_||{}),r=o.__d),r)return o.__E=o}catch(n){e=n}throw e}},l=0,r=function(e){return null!=e&&null==e.constructor},x.prototype.setState=function(e,n){var t;t=null!=this.__s&&this.__s!==this.state?this.__s:this.__s=v({},this.state),"function"==typeof e&&(e=e(v({},t),this.props)),e&&v(t,e),null!=e&&this.__v&&(n&&this._sb.push(n),S(this))},x.prototype.forceUpdate=function(e){this.__v&&(this.__e=!0,e&&this.__h.push(e),S(this))},x.prototype.render=b,u=[],s="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,c=function(e,n){return e.__v.__b-n.__v.__b},E.__r=0,f=0}};import e from"./runtime.js";import*as n from"./preact.js";e.C(n);var t=(754,e(e.s=754)),_=t.uA,o=t.FK,l=t.Ob,r=t.q6,u=t.n,i=t._3,s=t.h,c=t.Qv,f=t.zO,p=t.fF,a=t.XX,d=t.v2;export{_ as Component,o as Fragment,l as cloneElement,r as createContext,u as createElement,i as createRef,s as h,c as hydrate,f as isValidElement,p as options,a as render,d as toChildArray};
|