var t={622:(t,e,n)=>{n.d(e,{Ob:()=>z,Qv:()=>B,XX:()=>V,fF:()=>o,h:()=>x,q6:()=>J,uA:()=>E,zO:()=>s});var r,o,i,s,u,c,l,_,a,f,p,h,d,v={},y=[],g=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,m=Array.isArray;function w(t,e){for(var n in e)t[n]=e[n];return t}function b(t){t&&t.parentNode&&t.parentNode.removeChild(t)}function x(t,e,n){var o,i,s,u={};for(s in e)"key"==s?o=e[s]:"ref"==s?i=e[s]:u[s]=e[s];if(arguments.length>2&&(u.children=arguments.length>3?r.call(arguments,2):n),"function"==typeof t&&null!=t.defaultProps)for(s in t.defaultProps)void 0===u[s]&&(u[s]=t.defaultProps[s]);return S(t,u,o,i,null)}function S(t,e,n,r,s){var u={type:t,props:e,key:n,ref:r,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:null==s?++i:s,__i:-1,__u:0};return null==s&&null!=o.vnode&&o.vnode(u),u}function k(t){return t.children}function E(t,e){this.props=t,this.context=e}function P(t,e){if(null==e)return t.__?P(t.__,t.__i+1):null;for(var n;el&&u.sort(_),t=u.shift(),l=u.length,t.__d&&(n=void 0,r=void 0,i=(r=(e=t).__v).__e,s=[],c=[],e.__P&&((n=w({},r)).__v=r.__v+1,o.vnode&&o.vnode(n),U(e.__P,n,r,e.__n,e.__P.namespaceURI,32&r.__u?[i]:null,s,null==i?P(r):i,!!(32&r.__u),c),n.__v=r.__v,n.__.__k[n.__i]=n,A(s,n,c),r.__e=r.__=null,n.__e!=i&&C(n)));M.__r=0}function T(t,e,n,r,o,i,s,u,c,l,_){var a,f,p,h,d,g,m,w=r&&r.__k||y,b=e.length;for(c=N(n,e,w,c,b),a=0;a0?S(s.type,s.props,s.key,s.ref?s.ref:null,s.__v):s).__=t,s.__b=t.__b+1,u=null,-1!=(l=s.__i=$(s,n,c,a))&&(a--,(u=n[l])&&(u.__u|=2)),null==u||null==u.__v?(-1==l&&(o>_?f--:o<_&&f++),"function"!=typeof s.type&&(s.__u|=4)):l!=c&&(l==c-1?f--:l==c+1?f++:(l>c?f--:f++,s.__u|=4))):t.__k[i]=null;if(a)for(i=0;i<_;i++)null!=(u=n[i])&&!(2&u.__u)&&(u.__e==r&&(r=p(u)),r(u,u));return r}function j(t,e,n,r){var o,i;if("function"==typeof t.type){for(o=t.__k,i=0;o&&i(_?1:0))for(o=n-1,i=n+1;o>=0||i=0?o--:i++])&&!(2&l.__u)&&u==l.key&&c==l.type)return s;return-1}function H(t,e,n){"-"==e[0]?t.setProperty(e,null==n?"":n):t[e]=null==n?"":"number"!=typeof n||g.test(e)?n:n+"px"}function W(t,e,n,r,o){var i,s;t:if("style"==e)if("string"==typeof n)t.style.cssText=n;else{if("string"==typeof r&&(t.style.cssText=r=""),r)for(e in r)n&&e in n||H(t.style,e,"");if(n)for(e in n)r&&n[e]==r[e]||H(t.style,e,n[e])}else if("o"==e[0]&&"n"==e[1])i=e!=(e=e.replace(a,"1ドル")),s=e.toLowerCase(),e=s in t||"onFocusOut"==e||"onFocusIn"==e?s.slice(2):e.slice(2),t.l||(t.l={}),t.l[e+i]=n,n?r?n.u=r.u:(n.u=f,t.addEventListener(e,i?h:p,i)):t.removeEventListener(e,i?h:p,i);else{if("http://www.w3.org/2000/svg"==o)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&&"popover"!=e&&e in t)try{t[e]=null==n?"":n;break t}catch(t){}"function"==typeof n||(null==n||!1===n&&"-"!=e[4]?t.removeAttribute(e):t.setAttribute(e,"popover"==e&&1==n?"":n))}}function I(t){return function(e){if(this.l){var n=this.l[e.type+t];if(null==e.t)e.t=f++;else if(e.t0?t:m(t)?t.map(L):w({},t)}function q(t,e,n,i,s,u,c,l,_){var a,f,p,h,d,y,g,w=n.props,x=e.props,S=e.type;if("svg"==S?s="http://www.w3.org/2000/svg":"math"==S?s="http://www.w3.org/1998/Math/MathML":s||(s="http://www.w3.org/1999/xhtml"),null!=u)for(a=0;a2&&(c.children=arguments.length>3?r.call(arguments,2):n),S(t.type,c,o||t.key,i||t.ref,null)}function J(t){function e(t){var n,r;return this.getChildContext||(n=new Set,(r={})[e.__c]=this,this.getChildContext=function(){return r},this.componentWillUnmount=function(){n=null},this.shouldComponentUpdate=function(t){this.props.value!=t.value&&n.forEach((function(t){t.__e=!0,O(t)}))},this.sub=function(t){n.add(t);var e=t.componentWillUnmount;t.componentWillUnmount=function(){n&&n.delete(t),e&&e.call(t)}}),t.children}return e.__c="__cC"+d++,e.__=t,e.Provider=e.__l=(e.Consumer=function(t,e){return t.children(e)}).contextType=e,e}r=y.slice,o={__e:function(t,e,n,r){for(var o,i,s;e=e.__;)if((o=e.__c)&&!o.__)try{if((i=o.constructor)&&null!=i.getDerivedStateFromError&&(o.setState(i.getDerivedStateFromError(t)),s=o.__d),null!=o.componentDidCatch&&(o.componentDidCatch(t,r||{}),s=o.__d),s)return o.__E=o}catch(e){t=e}throw t}},i=0,s=function(t){return null!=t&&null==t.constructor},E.prototype.setState=function(t,e){var n;n=null!=this.__s&&this.__s!=this.state?this.__s:this.__s=w({},this.state),"function"==typeof t&&(t=t(w({},n),this.props)),t&&w(n,t),null!=t&&this.__v&&(e&&this._sb.push(e),O(this))},E.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),O(this))},E.prototype.render=k,u=[],l="function"==typeof Promise?Promise.prototype.then.bind(Promise.resolve()):setTimeout,_=function(t,e){return t.__v.__b-e.__v.__b},M.__r=0,a=/(PointerCapture)$|Capture$/i,f=0,p=I(!1),h=I(!0),d=0}},e={};function n(r){var o=e[r];if(void 0!==o)return o.exports;var i=e[r]={exports:{}};return t[r](i,i.exports,n),i.exports}n.d=(t,e)=>{for(var r in e)n.o(e,r)&&!n.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var r={};n.d(r,{zj:()=>ye,SD:()=>ht,V6:()=>dt,$K:()=>yt,vT:()=>ge,jb:()=>Xe,yT:()=>mt,M_:()=>we,hb:()=>Pt,vJ:()=>kt,ip:()=>St,Nf:()=>Et,Kr:()=>Ct,li:()=>x,J0:()=>m,FH:()=>xt,v4:()=>bt,mh:()=>Tt});var o,i,s,u,c=n(622),l=0,_=[],a=c.fF,f=a.__b,p=a.__r,h=a.diffed,d=a.__c,v=a.unmount,y=a.__;function g(t,e){a.__h&&a.__h(i,t,l||e),l=0;var n=i.__H||(i.__H={__:[],__h:[]});return t>=n.__.length&&n.__.push({}),n.__[t]}function m(t){return l=1,function(t,e,n){var r=g(o++,2);if(r.t=t,!r.__c&&(r.__=[n?n(e):j(void 0,e),function(t){var e=r.__N?r.__N[0]:r.__[0],n=r.t(e,t);e!==n&&(r.__N=[n,r.__[1]],r.__c.setState({}))}],r.__c=i,!i.__f)){var s=function(t,e,n){if(!r.__c.__H)return!0;var o=r.__c.__H.__.filter((function(t){return!!t.__c}));if(o.every((function(t){return!t.__N})))return!u||u.call(this,t,e,n);var i=r.__c.props!==t;return o.forEach((function(t){if(t.__N){var e=t.__[0];t.__=t.__N,t.__N=void 0,e!==t.__[0]&&(i=!0)}})),u&&u.call(this,t,e,n)||i};i.__f=!0;var u=i.shouldComponentUpdate,c=i.componentWillUpdate;i.componentWillUpdate=function(t,e,n){if(this.__e){var r=u;u=void 0,s(t,e,n),u=r}c&&c.call(this,t,e,n)},i.shouldComponentUpdate=s}return r.__N||r.__}(j,t)}function w(t,e){var n=g(o++,3);!a.__s&&N(n.__H,e)&&(n.__=t,n.u=e,i.__H.__h.push(n))}function b(t,e){var n=g(o++,4);!a.__s&&N(n.__H,e)&&(n.__=t,n.u=e,i.__h.push(n))}function x(t){return l=5,S((function(){return{current:t}}),[])}function S(t,e){var n=g(o++,7);return N(n.__H,e)&&(n.__=t(),n.__H=e,n.__h=t),n.__}function k(t,e){return l=8,S((function(){return t}),e)}function E(t){var e=i.context[t.__c],n=g(o++,9);return n.c=t,e?(null==n.__&&(n.__=!0,e.sub(i)),e.props.value):t.__}function P(){for(var t;t=_.shift();)if(t.__P&&t.__H)try{t.__H.__h.forEach(M),t.__H.__h.forEach(T),t.__H.__h=[]}catch(e){t.__H.__h=[],a.__e(e,t.__v)}}a.__b=function(t){i=null,f&&f(t)},a.__=function(t,e){t&&e.__k&&e.__k.__m&&(t.__m=e.__k.__m),y&&y(t,e)},a.__r=function(t){p&&p(t),o=0;var e=(i=t.__c).__H;e&&(s===i?(e.__h=[],i.__h=[],e.__.forEach((function(t){t.__N&&(t.__=t.__N),t.u=t.__N=void 0}))):(e.__h.forEach(M),e.__h.forEach(T),e.__h=[],o=0)),s=i},a.diffed=function(t){h&&h(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(1!==_.push(e)&&u===a.requestAnimationFrame||((u=a.requestAnimationFrame)||O)(P)),e.__H.__.forEach((function(t){t.u&&(t.__H=t.u),t.u=void 0}))),s=i=null},a.__c=function(t,e){e.some((function(t){try{t.__h.forEach(M),t.__h=t.__h.filter((function(t){return!t.__||T(t)}))}catch(n){e.some((function(t){t.__h&&(t.__h=[])})),e=[],a.__e(n,t.__v)}})),d&&d(t,e)},a.unmount=function(t){v&&v(t);var e,n=t.__c;n&&n.__H&&(n.__H.__.forEach((function(t){try{M(t)}catch(t){e=t}})),n.__H=void 0,e&&a.__e(e,n.__v))};var C="function"==typeof requestAnimationFrame;function O(t){var e,n=function(){clearTimeout(r),C&&cancelAnimationFrame(e),setTimeout(t)},r=setTimeout(n,35);C&&(e=requestAnimationFrame(n))}function M(t){var e=i,n=t.__c;"function"==typeof n&&(t.__c=void 0,n()),i=e}function T(t){var e=i;t.__c=t.__(),i=e}function N(t,e){return!t||t.length!==e.length||e.some((function(e,n){return e!==t[n]}))}function j(t,e){return"function"==typeof e?e(t):e}var $=Symbol.for("preact-signals");function H(){if(L>1)L--;else{for(var t,e=!1;void 0!==A;){var n=A;for(A=void 0,q++;void 0!==n;){var r=n.o;if(n.o=void 0,n.f&=-3,!(8&n.f)&&B(n))try{n.c()}catch(n){e||(t=n,e=!0)}n=r}}if(q=0,L--,e)throw t}}function W(t){if(L>0)return t();L++;try{return t()}finally{H()}}var I=void 0;function U(t){var e=I;I=void 0;try{return t()}finally{I=e}}var F,A=void 0,L=0,q=0,D=0;function R(t){if(void 0!==I){var e=t.n;if(void 0===e||e.t!==I)return e={i:0,S:t,p:I.s,n:void 0,t:I,e:void 0,x:void 0,r:e},void 0!==I.s&&(I.s.n=e),I.s=e,t.n=e,32&I.f&&t.S(e),e;if(-1===e.i)return e.i=0,void 0!==e.n&&(e.n.p=e.p,void 0!==e.p&&(e.p.n=e.n),e.p=I.s,e.n=void 0,I.s.n=e,I.s=e),e}}function G(t,e){this.v=t,this.i=0,this.n=void 0,this.t=void 0,this.W=null==e?void 0:e.watched,this.Z=null==e?void 0:e.unwatched,this.name=null==e?void 0:e.name}function V(t,e){return new G(t,e)}function B(t){for(var e=t.s;void 0!==e;e=e.n)if(e.S.i!==e.i||!e.S.h()||e.S.i!==e.i)return!0;return!1}function z(t){for(var e=t.s;void 0!==e;e=e.n){var n=e.S.n;if(void 0!==n&&(e.r=n),e.S.n=e,e.i=-1,void 0===e.n){t.s=e;break}}}function J(t){for(var e=t.s,n=void 0;void 0!==e;){var r=e.p;-1===e.i?(e.S.U(e),void 0!==r&&(r.n=e.n),void 0!==e.n&&(e.n.p=r)):n=e,e.S.n=e.r,void 0!==e.r&&(e.r=void 0),e=r}t.s=n}function K(t,e){G.call(this,void 0),this.x=t,this.s=void 0,this.g=D-1,this.f=4,this.W=null==e?void 0:e.watched,this.Z=null==e?void 0:e.unwatched,this.name=null==e?void 0:e.name}function X(t,e){return new K(t,e)}function Z(t){var e=t.u;if(t.u=void 0,"function"==typeof e){L++;var n=I;I=void 0;try{e()}catch(e){throw t.f&=-2,t.f|=8,Q(t),e}finally{I=n,H()}}}function Q(t){for(var e=t.s;void 0!==e;e=e.n)e.S.U(e);t.x=void 0,t.s=void 0,Z(t)}function Y(t){if(I!==this)throw new Error("Out-of-order effect");J(this),I=t,this.f&=-2,8&this.f&&Q(this),H()}function tt(t,e){this.x=t,this.u=void 0,this.s=void 0,this.o=void 0,this.f=32,this.name=null==e?void 0:e.name}function et(t,e){var n=new tt(t,e);try{n.c()}catch(t){throw n.d(),t}var r=n.d.bind(n);return r[Symbol.dispose]=r,r}function nt(t,e){c.fF[t]=e.bind(null,c.fF[t]||function(){})}function rt(t){F&&F(),F=t&&t.S()}function ot(t){var e=this,n=t.data,r=function(t){return S((function(){return V(t)}),[])}(n);r.value=n;var o=S((function(){for(var t=e.__v;t=t.__;)if(t.__c){t.__c.__$f|=4;break}return e.__$u.c=function(){var t,n=e.__$u.S(),r=o.value;n(),(0,c.zO)(r)||3!==(null==(t=e.base)?void 0:t.nodeType)?(e.__$f|=1,e.setState({})):e.base.data=r},X((function(){var t=r.value.value;return 0===t?0:!0===t?"":t||""}))}),[]);return o.value}function it(t,e,n,r){var o=e in t&&void 0===t.ownerSVGElement,i=V(n);return{o:function(t,e){i.value=t,r=e},d:et((function(){var n=i.value.value;r[e]!==n&&(r[e]=n,o?t[e]=n:n?t.setAttribute(e,n):t.removeAttribute(e))}))}}G.prototype.brand=,ドルG.prototype.h=function(){return!0},G.prototype.S=function(t){var e=this,n=this.t;n!==t&&void 0===t.e&&(t.x=n,this.t=t,void 0!==n?n.e=t:U((function(){var t;null==(t=e.W)||t.call(e)})))},G.prototype.U=function(t){var e=this;if(void 0!==this.t){var n=t.e,r=t.x;void 0!==n&&(n.x=r,t.e=void 0),void 0!==r&&(r.e=n,t.x=void 0),t===this.t&&(this.t=r,void 0===r&&U((function(){var t;null==(t=e.Z)||t.call(e)})))}},G.prototype.subscribe=function(t){var e=this;return et((function(){var n=e.value,r=I;I=void 0;try{t(n)}finally{I=r}}),{name:"sub"})},G.prototype.valueOf=function(){return this.value},G.prototype.toString=function(){return this.value+""},G.prototype.toJSON=function(){return this.value},G.prototype.peek=function(){var t=I;I=void 0;try{return this.value}finally{I=t}},Object.defineProperty(G.prototype,"value",{get:function(){var t=R(this);return void 0!==t&&(t.i=this.i),this.v},set:function(t){if(t!==this.v){if(q>100)throw new Error("Cycle detected");this.v=t,this.i++,D++,L++;try{for(var e=this.t;void 0!==e;e=e.x)e.t.N()}finally{H()}}}}),K.prototype=new G,K.prototype.h=function(){if(this.f&=-3,1&this.f)return!1;if(32==(36&this.f))return!0;if(this.f&=-5,this.g===D)return!0;if(this.g=D,this.f|=1,this.i>0&&!B(this))return this.f&=-2,!0;var t=I;try{z(this),I=this;var e=this.x();(16&this.f||this.v!==e||0===this.i)&&(this.v=e,this.f&=-17,this.i++)}catch(t){this.v=t,this.f|=16,this.i++}return I=t,J(this),this.f&=-2,!0},K.prototype.S=function(t){if(void 0===this.t){this.f|=36;for(var e=this.s;void 0!==e;e=e.n)e.S.S(e)}G.prototype.S.call(this,t)},K.prototype.U=function(t){if(void 0!==this.t&&(G.prototype.U.call(this,t),void 0===this.t)){this.f&=-33;for(var e=this.s;void 0!==e;e=e.n)e.S.U(e)}},K.prototype.N=function(){if(!(2&this.f)){this.f|=6;for(var t=this.t;void 0!==t;t=t.x)t.t.N()}},Object.defineProperty(K.prototype,"value",{get:function(){if(1&this.f)throw new Error("Cycle detected");var t=R(this);if(this.h(),void 0!==t&&(t.i=this.i),16&this.f)throw this.v;return this.v}}),tt.prototype.c=function(){var t=this.S();try{if(8&this.f)return;if(void 0===this.x)return;var e=this.x();"function"==typeof e&&(this.u=e)}finally{t()}},tt.prototype.S=function(){if(1&this.f)throw new Error("Cycle detected");this.f|=1,this.f&=-9,Z(this),z(this),L++;var t=I;return I=this,Y.bind(this,t)},tt.prototype.N=function(){2&this.f||(this.f|=2,this.o=A,A=this)},tt.prototype.d=function(){this.f|=8,1&this.f||Q(this)},tt.prototype.dispose=function(){this.d()},ot.displayName="_st",Object.defineProperties(G.prototype,{constructor:{configurable:!0,value:void 0},type:{configurable:!0,value:ot},props:{configurable:!0,get:function(){return{data:this}}},__b:{configurable:!0,value:1}}),nt("__b",(function(t,e){if("string"==typeof e.type){var n,r=e.props;for(var o in r)if("children"!==o){var i=r[o];i instanceof G&&(n||(e.__np=n={}),n[o]=i,r[o]=i.peek())}}t(e)})),nt("__r",(function(t,e){rt();var n,r=e.__c;r&&(r.__$f&=-2,void 0===(n=r.__$u)&&(r.__$u=n=function(){var t;return et((function(){t=this})),t.c=function(){r.__$f|=1,r.setState({})},t}())),rt(n),t(e)})),nt("__e",(function(t,e,n,r){rt(),t(e,n,r)})),nt("diffed",(function(t,e){var n;if(rt(),"string"==typeof e.type&&(n=e.__e)){var r=e.__np,o=e.props;if(r){var i=n.U;if(i)for(var s in i){var u=i[s];void 0===u||s in r||(u.d(),i[s]=void 0)}else n.U=i={};for(var c in r){var l=i[c],_=r[c];void 0===l?(l=it(n,c,_,o),i[c]=l):l.o(_,o)}}}t(e)})),nt("unmount",(function(t,e){if("string"==typeof e.type){var n=e.__e;if(n){var r=n.U;if(r)for(var o in n.U=void 0,r){var i=r[o];i&&i.d()}}}else{var s=e.__c;if(s){var u=s.__$u;u&&(s.__$u=void 0,u.d())}}t(e)})),nt("__h",(function(t,e,n,r){(r<3||9===r)&&(e.__$f|=2),t(e,n,r)})),c.ua.prototype.shouldcomponentupdate=function(t,e){var n=this.__$u,r=n&&void 0!==n.s;for(var o in e)return!0;if(this.__f||"boolean"==typeof this.u&&!0===this.u){if(!(r||2&this.__$f||4&this.__$f))return!0;if(1&this.__$f)return!0}else{if(!(r||4&this.__$f))return!0;if(3&this.__$f)return!0}for(var i in t)if("__source"!==i&&t[i]!==this.props[i])return!0;for(var s in this.props)if(!(s in t))return!0;return!1};const st=[],ut=()=>st.slice(-1)[0],ct=t=>{st.push(t)},lt=()=>{st.pop()},_t=[],at=()=>_t.slice(-1)[0],ft=t=>{_t.push(t)},pt=()=>{_t.pop()},ht=t=>at().context[t||ut()],dt=()=>{const t=at();const{ref:e,attributes:n}=t;return Object.freeze({ref:e.current,attributes:$t(n,{})})},vt=V(0);function yt(t){const e=at();return yt.subscribe=vt.value,Wt(e.serverContext[t||ut()])}yt.subscribe=0;const gt=t=>new Promise((e=>{const n=()=>{clearTimeout(r),window.cancelAnimationFrame(o),setTimeout((()=>{t(),e()}))},r=setTimeout(n,100),o=window.requestAnimationFrame(n)})),mt="function"==typeof window.scheduler?.yield?window.scheduler.yield.bind(window.scheduler):()=>new Promise((t=>{setTimeout(t,0)}));function wt(t){w((()=>{let e=null,n=!1;return e=function(t,e){let n=()=>{};const r=et((function(){return n=this.c.bind(this),this.x=t,this.c=e,t()}));return{flush:n,dispose:r}}(t,(async()=>{e&&!n&&(n=!0,await gt(e.flush),n=!1)})),e.dispose}),[])}function bt(t){const e=at(),n=ut();let r;r="GeneratorFunction"===t?.constructor?.name?async(...r)=>{const o=t(...r);let i,s,u;for(;;){ct(n),ft(e);try{s=u?o.throw(u):o.next(i),u=void 0}catch(t){throw t}finally{pt(),lt()}try{i=await s.value}catch(t){u=t}if(s.done){if(u)throw u;break}}return i}:(...r)=>{ct(n),ft(e);try{return t(...r)}finally{lt(),pt()}};if(t.sync){const t=r;return t.sync=!0,t}return r}function xt(t){wt(bt(t))}function St(t){w(bt(t),[])}function kt(t,e){w(bt(t),e)}function Et(t,e){b(bt(t),e)}function Pt(t,e){return k(bt(t),e)}function Ct(t,e){return S(bt(t),e)}const Ot=t=>{0},Mt=t=>Boolean(t&&"object"==typeof t&&t.constructor===Object);function Tt(t){const e=t;return e.sync=!0,e}const Nt=new WeakMap,jt=t=>{const e=()=>!1;return{get(e,n){const r=e[n];return r&&"object"==typeof r?$t(r,{errorMessage:t}):r},set:e,deleteProperty:e,defineProperty:e}};function $t(t,e){const n=e?.errorMessage??"Cannot modify read-only object";if(!Nt.has(t)){const e=jt(n);Nt.set(t,new Proxy(t,e))}return Nt.get(t)}const Ht=V(0);function Wt(t){return Mt(t)?Object.fromEntries(Object.entries(t).map((([t,e])=>[t,Wt(e)]))):Array.isArray(t)?t.map((t=>Wt(t))):t}const It=new WeakMap,Ut=new WeakMap,Ft=new WeakMap,At=new Set([Object,Array]),Lt=(t,e,n)=>{if(!Rt(e))throw Error("This object cannot be proxified.");if(!It.has(e)){const r=new Proxy(e,n);It.set(e,r),Ut.set(r,e),Ft.set(r,t)}return It.get(e)},qt=t=>It.get(t),Dt=t=>Ft.get(t),Rt=t=>"object"==typeof t&&null!==t&&(!Ft.has(t)&&At.has(t.constructor)),Gt={};class Vt{owner;computedsByScope;valueSignal;getterSignal;pendingGetter;constructor(t){this.owner=t,this.computedsByScope=new WeakMap}setValue(t){this.update({value:t})}setGetter(t){this.update({get:t})}setPendingGetter(t){this.pendingGetter=t,queueMicrotask((()=>this.consolidateGetter()))}consolidateGetter(){const t=this.pendingGetter;t&&(this.pendingGetter=void 0,this.update({get:t}))}getComputed(){const t=at()||Gt;if(this.valueSignal||this.getterSignal||this.update({}),this.pendingGetter&&this.consolidateGetter(),!this.computedsByScope.has(t)){const e=()=>{const t=this.getterSignal?.value;return t?t.call(this.owner):this.valueSignal?.value};ct(Dt(this.owner)),this.computedsByScope.set(t,X(bt(e))),lt()}return this.computedsByScope.get(t)}update({get:t,value:e}){this.valueSignal?e===this.valueSignal.peek()&&t===this.getterSignal.peek()||W((()=>{this.valueSignal.value=e,this.getterSignal.value=t})):(this.valueSignal=V(e),this.getterSignal=V(t))}}const Bt=new Set(Object.getOwnPropertyNames(Symbol).map((t=>Symbol[t])).filter((t=>"symbol"==typeof t))),zt=new WeakMap,Jt=(t,e)=>zt.has(t)&&zt.get(t).has(e),Kt=(t,e,n)=>{zt.has(t)||zt.set(t,new Map),e="number"==typeof e?`${e}`:e;const r=zt.get(t);if(!r.has(e)){const o=Dt(t),i=new Vt(t);if(r.set(e,i),n){const{get:t,value:e}=n;t?i.setGetter(t):i.setValue(Rt(e)?te(o,e):e)}}return r.get(e)},Xt=new WeakMap;let Zt=!1;const Qt=Symbol("PENDING_GETTER"),Yt={get(t,e,n){if(Zt||!t.hasOwnProperty(e)&&e in t||"symbol"==typeof e&&Bt.has(e))return Reflect.get(t,e,n);const r=Object.getOwnPropertyDescriptor(t,e),o=Kt(n,e,r).getComputed().value;if(o===Qt)throw Qt;if("function"==typeof o){const t=Dt(n);return(...e)=>{ct(t);try{return o.call(n,...e)}finally{lt()}}}return o},set(t,e,n,r){ct(Dt(r));try{return Reflect.set(t,e,n,r)}finally{lt()}},defineProperty(t,e,n){const r=!(e in t),o=Reflect.defineProperty(t,e,n);if(o){const o=qt(t),i=Kt(o,e),{get:s,value:u}=n;if(s)i.setGetter(s);else{const t=Dt(o);i.setValue(Rt(u)?te(t,u):u)}if(r&&Xt.has(t)&&Xt.get(t).value++,Array.isArray(t)&&zt.get(o)?.has("length")){Kt(o,"length").setValue(t.length)}}return o},deleteProperty(t,e){const n=Reflect.deleteProperty(t,e);if(n){Kt(qt(t),e).setValue(void 0),Xt.has(t)&&Xt.get(t).value++}return n},ownKeys:t=>(Xt.has(t)||Xt.set(t,V(0)),Xt._=Xt.get(t).value,Reflect.ownKeys(t))},te=(t,e)=>Lt(t,e,Yt),ee=(t,e,n=!0)=>{if(!Mt(t)||!Mt(e))return;let r=!1;for(const o in e){const i=!(o in t);r=r||i;const s=Object.getOwnPropertyDescriptor(e,o),u=qt(t),c=!!u&&Jt(u,o)&&Kt(u,o);if("function"==typeof s.get||"function"==typeof s.set)(n||i)&&(Object.defineProperty(t,o,{...s,configurable:!0,enumerable:!0}),s.get&&c&&c.setPendingGetter(s.get));else if(Mt(e[o])){const r=Object.getOwnPropertyDescriptor(t,o)?.value;if(i||n&&!Mt(r)){if(t[o]={},c){const e=Dt(u);c.setValue(te(e,t[o]))}ee(t[o],e[o],n)}else Mt(r)&&ee(t[o],e[o],n)}else if((n||i)&&(Object.defineProperty(t,o,s),c)){const{value:t}=s,e=Dt(u);c.setValue(Rt(t)?te(e,t):t)}}r&&Xt.has(t)&&Xt.get(t).value++},ne=(t,e,n=!0)=>W((()=>{return ee((r=t,Ut.get(r)||t),e,n);var r})),re=new WeakSet,oe={get:(t,e,n)=>{const r=Reflect.get(t,e),o=Dt(n);if(void 0===r&&re.has(n)){const n={};return Reflect.set(t,e,n),ie(o,n,!1)}if("function"==typeof r){ct(o);const t=bt(r);return lt(),t}return Mt(r)&&Rt(r)?ie(o,r,!1):r}},ie=(t,e,n=!0)=>{const r=Lt(t,e,oe);return r&&n&&re.add(r),r},se=new WeakMap,ue=new WeakMap,ce=new WeakSet,le=Reflect.getOwnPropertyDescriptor,_e={get:(t,e)=>{const n=ue.get(t),r=t[e];return e in t?r:n[e]},set:(t,e,n)=>{const r=ue.get(t);return(e in t||!(e in r)?t:r)[e]=n,!0},ownKeys:t=>[...new Set([...Object.keys(ue.get(t)),...Object.keys(t)])],getOwnPropertyDescriptor:(t,e)=>le(t,e)||le(ue.get(t),e),has:(t,e)=>Reflect.has(t,e)||Reflect.has(ue.get(t),e)},ae=(t,e={})=>{if(ce.has(t))throw Error("This object cannot be proxified.");if(ue.set(t,e),!se.has(t)){const e=new Proxy(t,_e);se.set(t,e),ce.add(e)}return se.get(t)},fe=new Map,pe=new Map,he=new Map,de=new Map,ve=new Map,ye=t=>de.get(t||ut())||{};function ge(t){const e=t||ut();return ve.has(e)||ve.set(e,{}),ge.subscribe=Ht.value,Wt(ve.get(e))}ge.subscribe=0;const me="I acknowledge that using a private store means my plugin will inevitably break on the next store release.";function we(t,{state:e={},...n}={},{lock:r=!1}={}){if(fe.has(t)){if(r===me||he.has(t)){const e=he.get(t);if(!(r===me||!0!==r&&r===e))throw e?Error("Cannot unlock a private store with an invalid lock code"):Error("Cannot lock a public store")}else he.set(t,r);const o=pe.get(t);ne(o,n),ne(o.state,e)}else{r!==me&&he.set(t,r);const o={state:te(t,Mt(e)?e:{}),...n},i=ie(t,o);pe.set(t,o),fe.set(t,i)}return fe.get(t)}const be=(t=document)=>{const e=t.getElementById("wp-script-module-data-@wordpress/interactivity")??t.getElementById("wp-interactivity-data");if(e?.textContent)try{return JSON.parse(e.textContent)}catch{}return{}},xe=t=>{ve.clear(),de.clear(),Mt(t?.state)&&Object.entries(t.state).forEach((([t,e])=>{const n=we(t,{},{lock:me});ne(n.state,e,!1),ve.set(t,e)})),Mt(t?.config)&&Object.entries(t.config).forEach((([t,e])=>{de.set(t,e)})),Mt(t?.derivedStateClosures)&&Object.entries(t.derivedStateClosures).forEach((([t,e])=>{const n=we(t,{},{lock:me});e.forEach((t=>{const e=t.split("."),r=e.splice(-1,1)[0],o=e.reduce(((t,e)=>((t,e)=>{Zt=!0;try{return t[e]}finally{Zt=!1}})(t,e)),n),i=Object.getOwnPropertyDescriptor(o,r);Mt(i?.value)&&(o[r]=Qt)}))}))},Se=be();function ke(t){return null!==t.suffix}function Ee(t){return null===t.suffix}xe(Se);const Pe=(0,c.q6)({client:{},server:{}}),Ce={},Oe={},Me=(t,e,{priority:n=10}={})=>{Ce[t]=e,Oe[t]=n},Te=({scope:t})=>(e,...n)=>{let{value:r,namespace:o}=e;if("string"!=typeof r)throw new Error("The `value` prop should be a string path");const i="!"===r[0]&&!!(r=r.slice(1));ft(t);const s=((t,e)=>{if(!e)return void Ot();let n=fe.get(e);void 0===n&&(n=we(e,{},{lock:me}));const r={...n,context:at().context[e]};try{return t.split(".").reduce(((t,e)=>t[e]),r)}catch(t){if(t===Qt)return Qt}})(r,o);if("function"==typeof s){if(i){Ot();const t=!s(...n);return pt(),t}pt();const e=(...e)=>{ft(t);const n=s(...e);return pt(),n};if(s.sync){e.sync=!0}return e}const u=s;return pt(),i&&s!==Qt?!u:u},Ne=({directives:t,priorityLevels:[e,...n],element:r,originalProps:o,previousScope:i})=>{const s=x({}).current;s.evaluate=k(Te({scope:s}),[]);const{client:u,server:l}=E(Pe);s.context=u,s.serverContext=l,s.ref=i?.ref||x(null),r=(0,c.Ob)(r,{ref:s.ref}),s.attributes=r.props;const _=n.length>0?(0,c.h)(Ne,{directives:t,priorityLevels:n,element:r,originalProps:o,previousScope:s}):r,a={...o,children:_},f={directives:t,props:a,element:r,context:Pe,evaluate:s.evaluate};ft(s);for(const t of e){const e=Ce[t]?.(f);void 0!==e&&(a.children=e)}return pt(),a.children},je=c.fF.vnode;c.fF.vnode=t=>{if(t.props.__directives){const e=t.props,n=e.__directives;n.key&&(t.key=n.key.find(Ee).value),delete e.__directives;const r=(t=>{const e=Object.keys(t).reduce(((t,e)=>{if(Ce[e]){const n=Oe[e];(t[n]=t[n]||[]).push(e)}return t}),{});return Object.entries(e).sort((([t],[e])=>parseInt(t)-parseInt(e))).map((([,t])=>t))})(n);r.length>0&&(t.props={directives:n,priorityLevels:r,originalProps:e,type:t.type,element:(0,c.h)(t.type,e),top:!0},t.type=Ne)}je&&je(t)};function $e(t){return new Proxy(t,{get(t,e,n){const r=t[e];return r instanceof Function?function(...e){return r.apply(this===n?t:this,e)}:r}})}const He=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,We=/\/\*[^]*?\*\/| +/g,Ie=/\n+/g,Ue=t=>({directives:e,evaluate:n})=>{e[`on-${t}`].filter(ke).forEach((e=>{const r=e.suffix.split("--",2)[0];St((()=>{const o=t=>{const r=n(e);"function"==typeof r&&(r?.sync||(t=$e(t)),r(t))},i="window"===t?window:document;return i.addEventListener(r,o),()=>i.removeEventListener(r,o)}))}))},Fe=(t,e,n,r,o)=>{const i={...t.client,[e]:{...t.client[e],[r]:n}},s={...at(),context:i,serverContext:t.server};return o?Te({scope:s})(o):n},Ae=t=>({directives:e,evaluate:n})=>{e[`on-async-${t}`].filter(ke).forEach((e=>{const r=e.suffix.split("--",1)[0];St((()=>{const o=async t=>{await mt();const r=n(e);"function"==typeof r&&r(t)},i="window"===t?window:document;return i.addEventListener(r,o,{passive:!0}),()=>i.removeEventListener(r,o)}))}))},Le=new Map;const qe="data-wp-",De=[],Re=/[^a-z0-9-_]/i;const Ge=/^([\w_\/-]+)::(.+)$/,Ve=new WeakSet;function Be(t){const e=new Set,n=new Set,r=document.createTreeWalker(t,205);const o=function t(o){const{nodeType:i}=o;if(3===i)return o.data;if(4===i)return n.add(o),o.nodeValue;if(8===i||7===i)return e.add(o),null;const s=o,{attributes:u}=s,l=s.localName,_={},a=[],f=[];let p=!1,h=!1;for(let t=0;t{const o=function(t){const e=t.substring(8);if(Re.test(e))return null;const n=e.indexOf("--");if(-1===n)return{prefix:e,suffix:null,uniqueId:null};const r=e.substring(0,n),o=e.substring(n);if(o.startsWith("---")&&"-"!==o[3])return{prefix:r,suffix:null,uniqueId:o.substring(3)||null};let i=o.substring(2);const s=i.indexOf("---");if(-1!==s&&"-"!==i.substring(s)[3]){const t=i.substring(s+3)||null;return i=i.substring(0,s)||null,{prefix:r,suffix:i,uniqueId:t}}return{prefix:r,suffix:i||null,uniqueId:null}}(e);if(null===o)return t;const{prefix:i,suffix:s,uniqueId:u}=o;return t[i]=t[i]||[],t[i].push({namespace:n??De[De.length-1]??null,value:r,suffix:s,uniqueId:u}),t}),{});for(const t in _.__directives)_.__directives[t].sort(((t,e)=>{const n=t.suffix??"",r=e.suffix??"";if(n!==r)return ni)-+(oBe(t)));else{let e=r.firstChild();if(e){for(;e;){const n=t(e);n&&a.push(n),e=r.nextSibling()}r.parentNode()}}return h&&De.pop(),(0,c.h)(l,_,a)}(r.currentNode);return e.forEach((t=>t.remove())),n.forEach((t=>t.replaceWith(new window.Text(t.nodeValue??"")))),o}const ze=new WeakMap,Je=t=>{const e=Array.isArray(t)?t[0]:t;if(!e.parentElement)throw Error("The passed region should be an element with a parent.");return ze.has(e)||ze.set(e,((t,e)=>{const n=(e=[].concat(e))[e.length-1].nextSibling;function r(e,r){t.insertBefore(e,r||n)}return t.__k={nodeType:1,parentNode:t,firstChild:e[0],childNodes:e,insertBefore:r,appendChild:r,removeChild(e){t.removeChild(e)},contains(e){t.contains(e)}}})(e.parentElement,t)),ze.get(e)},Ke=new WeakMap,Xe=t=>{if("I acknowledge that using private APIs means my theme or plugin will inevitably break in the next version of WordPress."===t)return{getRegionRootFragment:Je,initialVdom:Ke,toVdom:Be,directive:Me,getNamespace:ut,h:c.h,cloneElement:c.Ob,render:c.XX,proxifyState:te,parseServerData:be,populateServerData:xe,batch:W,routerRegions:Le,deepReadOnly:$t,navigationSignal:Ht};throw new Error("Forbidden access.")};Me("context",(({directives:{context:t},props:{children:e},context:n})=>{const r=t.filter(Ee).reverse();if(!r.length)return;const{Provider:o}=n,{client:i,server:s}=E(n),u=x({}),l={},_={client:{...i},server:{...s}},a=new Set;return r.forEach((({value:t,namespace:e,uniqueId:n})=>{Mt(t)&&(u.current[e]||(u.current[e]=te(e,{})),ne(u.current[e],Wt(t),!1),l[e]=t,a.add(e))})),a.forEach((t=>{_.client[t]=ae(u.current[t],i[t]),_.server[t]=ae(l[t],s[t])})),(0,c.h)(o,{value:_},e)}),{priority:5}),Me("watch",(({directives:{watch:t},evaluate:e})=>{t.forEach((t=>{xt((()=>{let n=e(t);return"function"==typeof n&&(n=n()),n}))}))})),Me("init",(({directives:{init:t},evaluate:e})=>{t.forEach((t=>{St((()=>{let n=e(t);return"function"==typeof n&&(n=n()),n}))}))})),Me("on",(({directives:{on:t},element:e,evaluate:n})=>{const r=new Map;t.filter(ke).forEach((t=>{const e=t.suffix.split("--",2);r.has(e[0])||r.set(e[0],new Set),r.get(e[0]).add(t)})),r.forEach(((t,r)=>{const o=e.props[`on${r}`];e.props[`on${r}`]=e=>{o&&o(e),t.forEach((t=>{const r=n(t);"function"==typeof r&&(r?.sync||(e=$e(e)),r(e))}))}}))})),Me("on-async",(({directives:{"on-async":t},element:e,evaluate:n})=>{const r=new Map;t.filter(ke).forEach((t=>{const e=t.suffix.split("--",1)[0];r.has(e)||r.set(e,new Set),r.get(e).add(t)})),r.forEach(((t,r)=>{const o=e.props[`on${r}`];e.props[`on${r}`]=e=>{o&&o(e),t.forEach((async t=>{await mt();const r=n(t);"function"==typeof r&&r(e)}))}}))})),Me("on-window",Ue("window")),Me("on-document",Ue("document")),Me("on-async-window",Ae("window")),Me("on-async-document",Ae("document")),Me("class",(({directives:{class:t},element:e,evaluate:n})=>{t.filter(ke).forEach((t=>{const r=t.uniqueId?`${t.suffix}---${t.uniqueId}`:t.suffix;let o=n(t);if(o===Qt)return;"function"==typeof o&&(o=o());const i=e.props.class||"",s=new RegExp(`(^|\\s)${r}(\\s|$)`,"g");o?s.test(i)||(e.props.class=i?`${i} ${r}`:r):e.props.class=i.replace(s," ").trim(),St((()=>{o?e.ref.current.classList.add(r):e.ref.current.classList.remove(r)}))}))})),Me("style",(({directives:{style:t},element:e,evaluate:n})=>{t.filter(ke).forEach((t=>{if(t.uniqueId)return;const r=t.suffix;let o=n(t);o!==Qt&&("function"==typeof o&&(o=o()),e.props.style=e.props.style||{},"string"==typeof e.props.style&&(e.props.style=(t=>{const e=[{}];let n,r;for(;n=He.exec(t.replace(We,""));)n[4]?e.shift():n[3]?(r=n[3].replace(Ie," ").trim(),e.unshift(e[0][r]=e[0][r]||{})):e[0][n[1]]=n[2].replace(Ie," ").trim();return e[0]})(e.props.style)),o?e.props.style[r]=o:delete e.props.style[r],St((()=>{o?e.ref.current.style.setProperty(r,o):e.ref.current.style.removeProperty(r)})))}))})),Me("bind",(({directives:{bind:t},element:e,evaluate:n})=>{t.filter(ke).forEach((t=>{if(t.uniqueId)return;const r=t.suffix;let o=n(t);o!==Qt&&("function"==typeof o&&(o=o()),e.props[r]=o,St((()=>{const t=e.ref.current;if("style"!==r){if("width"!==r&&"height"!==r&&"href"!==r&&"list"!==r&&"form"!==r&&"tabIndex"!==r&&"download"!==r&&"rowSpan"!==r&&"colSpan"!==r&&"role"!==r&&r in t)try{return void(t[r]=null==o?"":o)}catch(t){}null==o||!1===o&&"-"!==r[4]?t.removeAttribute(r):t.setAttribute(r,o)}else"string"==typeof o&&(t.style.cssText=o)})))}))})),Me("ignore",(({element:{type:t,props:{innerHTML:e,...n}}})=>{const r=S((()=>e),[]);return(0,c.h)(t,{dangerouslySetInnerHTML:{__html:r},...n})})),Me("text",(({directives:{text:t},element:e,evaluate:n})=>{const r=t.filter(Ee);r.length&&r.forEach((t=>{if(!t.uniqueId)try{let r=n(t);if(r===Qt)return;"function"==typeof r&&(r=r()),e.props.children="object"==typeof r?null:r.toString()}catch(t){e.props.children=null}}))})),Me("run",(({directives:{run:t},evaluate:e})=>{t.forEach((t=>{let n=e(t);return"function"==typeof n&&(n=n()),n}))})),Me("each",(({directives:{each:t,"each-key":e},context:n,element:r,evaluate:o})=>{if("template"!==r.type)return;const{Provider:i}=n,s=E(n),[u]=t,{namespace:l,suffix:_,uniqueId:a}=u;if(t.length>1)return;if(a)return;let f=o(u);if(f===Qt)return;if("function"==typeof f&&(f=f()),"function"!=typeof f?.[Symbol.iterator])return;const p=_?_.replace(/^-+|-+$/g,"").toLowerCase().replace(/-([a-z])/g,(function(t,e){return e.toUpperCase()})):"item",h=[],d=function*(t,e,n,r,o){const{current:i}=x(new Map);for(const s of n){const n=Fe(t,e,s,r,o);i.has(n)||i.set(n,ae(te(e,{[r]:void 0}),t.client[e])),yield[s,i.get(n),n]}}(s,l,f,p,e?.[0]);for(const[t,e,n]of d){const o={client:{...s.client,[l]:e},server:{...s.server}};o.client[l][p]=t,h.push((0,c.h)(i,{value:o,key:n},r.props.content))}return h}),{priority:20}),Me("each-child",(({directives:{"each-child":t},element:e,evaluate:n})=>{const r=t.find(Ee);if(r)return n(r)===Qt?e:null}),{priority:1}),Me("router-region",(({directives:{"router-region":t}})=>{const e=t.find(Ee);if(!e)return;if(e.suffix)return;if(e.uniqueId)return;const n="string"==typeof e.value?e.value:e.value.id;Le.has(n)||Le.set(n,V());const r=Le.get(n).value;if(b((()=>{r&&"string"!=typeof r.type&&(vt.value=vt.peek()+1)}),[r]),r&&"string"!=typeof r.type){const t=at();return(0,c.Ob)(r,{previousScope:t})}return r}),{priority:1}),(async()=>{const t=document.querySelectorAll("[data-wp-interactive]");await new Promise((t=>{setTimeout(t,0)}));for(const e of t)if(!Ve.has(e)){await mt();const t=Je(e),n=Be(e);Ke.set(e,n),await mt(),(0,c.Qv)(n,t)}})();var Ze=r.zj,Qe=r.SD,Ye=r.V6,tn=r.$K,en=r.vT,nn=r.jb,rn=r.yT,on=r.M_,sn=r.hb,un=r.vJ,cn=r.ip,ln=r.Nf,_n=r.Kr,an=r.li,fn=r.J0,pn=r.FH,hn=r.v4,dn=r.mh;export{Ze as getConfig,Qe as getContext,Ye as getElement,tn as getServerContext,en as getServerState,nn as privateApis,rn as splitTask,on as store,sn as useCallback,un as useEffect,cn as useInit,ln as useLayoutEffect,_n as useMemo,an as useRef,fn as useState,pn as useWatch,hn as withScope,dn as withSyncEvent};

AltStyle によって変換されたページ (->オリジナル) /