From 8048f7cbef62f8eada4ce33aec18f1256e7c219c Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 9 Dec 2025 22:11:45 +0100 Subject: [PATCH] Fix: Update to new ComfyUI API and fix asset paths - Migrate from deprecated imports (../../scripts/app.js) to window.comfyAPI - Fix asset paths for /extensions/ directory structure - Update Vite base path from /ComfyUI-ultimate-openpose-editor/ to /extensions/ComfyUI-ultimate-openpose-editor/ui/ - Resolves browser reload loop and 404 errors on newer ComfyUI versions --- js/openpose_editor.js | 50 ++++++++++++++++++++-------------- js/ui/OpenposeEditor.html | 8 ++++-- js/ui/assets/index-cd1939ba.js | 5 ++-- 3 files changed, 38 insertions(+), 25 deletions(-) diff --git a/js/openpose_editor.js b/js/openpose_editor.js index 8fb2a10..d8a6910 100644 --- a/js/openpose_editor.js +++ b/js/openpose_editor.js @@ -1,6 +1,13 @@ -import { app } from "../../scripts/app.js"; -import { ComfyDialog, $el } from "../../scripts/ui.js"; -import { ComfyApp } from "../../scripts/app.js"; +// Use new ComfyUI API directly to avoid deprecation issues +const app = window.comfyAPI?.app?.app; +const ComfyDialog = window.comfyAPI?.ui?.ComfyDialog; +const $el = window.comfyAPI?.ui?.$el; +const ComfyApp = window.comfyAPI?.app?.ComfyApp; + +// Fallback for older versions +if (!app || !ComfyDialog || !$el || !ComfyApp) { + console.error('[OpenposeEditor] ComfyUI API not available, extension disabled'); +} function addMenuHandler(nodeType, cb) { @@ -149,24 +156,27 @@ class OpenposeEditorDialog extends ComfyDialog { } } -app.registerExtension({ - name: "OpenposeEditor", +// Only register if API is available +if (app && ComfyDialog && $el && ComfyApp) { + app.registerExtension({ + name: "OpenposeEditor", - async beforeRegisterNodeDef(nodeType, nodeData) { - if (nodeData.name === "OpenposeEditorNode") { - addMenuHandler(nodeType, function (_, options) { - options.unshift({ - content: "Open in Openpose Editor", - callback: () => { - // `this` is the node instance - ComfyApp.copyToClipspace(this); - ComfyApp.clipspace_return_node = this; + async beforeRegisterNodeDef(nodeType, nodeData) { + if (nodeData.name === "OpenposeEditorNode") { + addMenuHandler(nodeType, function (_, options) { + options.unshift({ + content: "Open in Openpose Editor", + callback: () => { + // `this` is the node instance + ComfyApp.copyToClipspace(this); + ComfyApp.clipspace_return_node = this; - const dlg = OpenposeEditorDialog.getInstance(); - dlg.show(); - }, + const dlg = OpenposeEditorDialog.getInstance(); + dlg.show(); + }, + }); }); - }); + } } - } -}); + }); +} diff --git a/js/ui/OpenposeEditor.html b/js/ui/OpenposeEditor.html index 1e2d106..f451343 100644 --- a/js/ui/OpenposeEditor.html +++ b/js/ui/OpenposeEditor.html @@ -57,9 +57,9 @@ Openpose Editor - - - + + +
>>0?1:0),bt=bt+Ct,yt=yt+zt+(bt>>>0>>0?1:0),bt=bt+ne,yt=yt+fe+(bt>>>0>>0?1:0),mn=lt+et,an=rt+nt+(mn>>>0>>0?1:0);pe=se,ye=ge,se=te,ge=ie,te=L,ie=Y,Y=ee+bt|0,L=ve+yt+(Y>>>0>>0?1:0)|0,ve=ue,ee=de,ue=Q,de=oe,Q=j,oe=q,q=bt+mn|0,j=yt+an+(q>>>0>>0?1:0)|0}D=m.low=D+q,m.high=E+j+(D>>>0>>0?1:0),N=y.low=N+oe,y.high=I+Q+(N>>>0>>0?1:0),W=b.low=W+de,b.high=F+ue+(W>>>0>>0?1:0),H=x.low=H+ee,x.high=z+ve+(H>>>0>>0?1:0),V=S.low=V+Y,S.high=$+L+(V>>>0>>0?1:0),K=_.low=K+ie,_.high=A+te+(K>>>0>>0?1:0),U=O.low=U+ge,O.high=R+se+(U>>>0>>0?1:0),B=k.low=B+ye,k.high=G+pe+(B>>>0>>0?1:0)},_doFinalize:function(){var g=this._data,p=g.words,v=this._nDataBytes*8,m=g.sigBytes*8;p[m>>>5]|=128<<24-m%32,p[(m+128>>>10<<5)+30]=Math.floor(v/4294967296),p[(m+128>>>10<<5)+31]=v,g.sigBytes=p.length*4,this._process();var y=this._hash.toX32();return y},clone:function(){var g=o.clone.call(this);return g._hash=this._hash.clone(),g},blockSize:1024/32});r.SHA512=o._createHelper(c),r.HmacSHA512=o._createHmacHelper(c)}(),n.SHA512})}(q1)),q1.exports}var Z1={exports:{}},OO;function Q1e(){return OO||(OO=1,function(t,e){(function(n,r,a){t.exports=r(dn(),np(),uI())})(Dt,function(n){return function(){var r=n,a=r.x64,o=a.Word,h=a.WordArray,l=r.algo,i=l.SHA512,u=l.SHA384=i.extend({_doReset:function(){this._hash=new h.init([new o.init(3418070365,3238371032),new o.init(1654270250,914150663),new o.init(2438529370,812702999),new o.init(355462360,4144912697),new o.init(1731405415,4290775857),new o.init(2394180231,1750603025),new o.init(3675008525,1694076839),new o.init(1203062813,3204075428)])},_doFinalize:function(){var d=i._doFinalize.call(this);return d.sigBytes-=16,d}});r.SHA384=i._createHelper(u),r.HmacSHA384=i._createHmacHelper(u)}(),n.SHA384})}(Z1)),Z1.exports}var J1={exports:{}},TO;function eye(){return TO||(TO=1,function(t,e){(function(n,r,a){t.exports=r(dn(),np())})(Dt,function(n){return function(r){var a=n,o=a.lib,h=o.WordArray,l=o.Hasher,i=a.x64,u=i.Word,d=a.algo,s=[],f=[],c=[];(function(){for(var v=1,m=0,y=0;y<24;y++){s[v+5*m]=(y+1)*(y+2)/2%64;var b=m%5,x=(2*v+3*m)%5;v=b,m=x}for(var v=0;v<5;v++)for(var m=0;m<5;m++)f[v+5*m]=m+(2*v+3*m)%5*5;for(var S=1,_=0;_<24;_++){for(var O=0,k=0,E=0;E<7;E++){if(S&1){var D=(1<>>24)&16711935|(S<<24|S>>>8)&4278255360,_=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360;var O=y[x];O.high^=_,O.low^=S}for(var k=0;k<24;k++){for(var E=0;E<5;E++){for(var D=0,I=0,N=0;N<5;N++){var O=y[E+5*N];D^=O.high,I^=O.low}var F=g[E];F.high=D,F.low=I}for(var E=0;E<5;E++)for(var W=g[(E+4)%5],z=g[(E+1)%5],H=z.high,$=z.low,D=W.high^(H<<1|$>>>31),I=W.low^($<<1|H>>>31),N=0;N<5;N++){var O=y[E+5*N];O.high^=D,O.low^=I}for(var V=1;V<25;V++){var D,I,O=y[V],A=O.high,K=O.low,R=s[V];R<32?(D=A<>>32-R,I=K<>>32-R):(D=K<>>64-R,I=A<>>64-R);var U=g[f[V]];U.high=D,U.low=I}var G=g[0],B=y[0];G.high=B.high,G.low=B.low;for(var E=0;E<5;E++)for(var N=0;N<5;N++){var V=E+5*N,O=y[V],j=g[V],q=g[(E+1)%5+5*N],Q=g[(E+2)%5+5*N];O.high=j.high^~q.high&Q.high,O.low=j.low^~q.low&Q.low}var O=y[0],oe=c[k];O.high^=oe.high,O.low^=oe.low}},_doFinalize:function(){var v=this._data,m=v.words;this._nDataBytes*8;var y=v.sigBytes*8,b=this.blockSize*32;m[y>>>5]|=1<<24-y%32,m[(r.ceil((y+1)/b)*b>>>5)-1]|=128,v.sigBytes=m.length*4,this._process();for(var x=this._state,S=this.cfg.outputLength/8,_=S/8,O=[],k=0;k<_;k++){var E=x[k],D=E.high,I=E.low;D=(D<<8|D>>>24)&16711935|(D<<24|D>>>8)&4278255360,I=(I<<8|I>>>24)&16711935|(I<<24|I>>>8)&4278255360,O.push(I),O.push(D)}return new h.init(O,S)},clone:function(){for(var v=l.clone.call(this),m=v._state=this._state.slice(0),y=0;y<25;y++)m[y]=m[y].clone();return v}});a.SHA3=l._createHelper(p),a.HmacSHA3=l._createHmacHelper(p)}(Math),n.SHA3})}(J1)),J1.exports}var Q1={exports:{}},kO;function tye(){return kO||(kO=1,function(t,e){(function(n,r){t.exports=r(dn())})(Dt,function(n){/** @preserve +-37 73 -127 99 -202 59z" data-v-3df26ed3>`,1),R1e=[I1e];function N1e(t,e,n,r,a,o){return Hn(),Ra("svg",M1e,R1e)}const B1e=Ol(F1e,[["render",N1e],["__scopeId","data-v-3df26ed3"]]),L1e=[1,0,0,1,0,0],$1e={props:{object:{type:wd,required:!0},display_name:{type:String,required:!0}},computed:{flipDisabled(){return this.object.grouped||!this.object.visible||this.object.locked}},watch:{"object.visible":{handler(t){this.updateKeypointsVisibility(t)},immediate:!0}},methods:{updateKeypointsVisibility(t){this.object.grouped&&this.object.group.set({visible:t});let e=!0;for(const n of this.object.keypoints)n._visible&&(e=!1),n._visible&&(n._visible=t);t&&e&&this.object.keypoints.forEach(n=>n._visible=!0)},removeObject(){this.$emit("removeObject",this.object)},onVisibleChange(t){this.$nextTick(()=>{var e;(e=this.object.canvas)==null||e.renderAll()})},onCoordsChange(t){var e;t.updateConnections(L1e),t.setCoords(),(e=t.canvas)==null||e.renderAll()},onKeypointXChange(t,e){e.x=t,this.onCoordsChange(e)},onKeypointYChange(t,e){e.y=t,this.onCoordsChange(e)},unjamInvalidKeypoints(){var o;const t=this.object.canvas.width,e=this.object.canvas.height;this.object.grouped=!1;let n=10,r=10;const a=Math.min(e,t)/10;console.log(this.object.invalidKeypoints()),this.object.invalidKeypoints().forEach(h=>{h.x=n,h.y=r,n+a>t?(r+=a,n=0):n+=a,h._visible=!0,this.onCoordsChange(h)}),(o=this.object.canvas)==null||o.renderAll()},flipObject(){var e;function t(n){if(!n.canvas)return!1;let r=n.canvas.getActiveObject();return r instanceof Qn.fabric.ActiveSelection?r.contains(mt(n)):!1}if(this.flipDisabled||bn.some(this.object.keypoints,n=>t(n))){ld.warn("Cannot flip when object is grouped or selected");return}this.object.flip(),(e=this.object.canvas)==null||e.renderAll()}},components:{VisibleSwitch:_1e,GroupSwitch:D1e,LockSwitch:oI,CloseOutlined:fi,FireOutlined:Vme,FlipOutlined:B1e}};function j1e(t,e,n,r,a,o){const h=Xt("VisibleSwitch"),l=Xt("GroupSwitch"),i=Xt("LockSwitch"),u=Xt("FlipOutlined"),d=Xt("fire-outlined"),s=Xt("close-outlined"),f=Xt("a-input-number"),c=Xt("a-space"),g=Xt("a-list-item"),p=Xt("a-list"),v=Xt("a-collapse-panel");return Hn(),ai(v,null,{header:Rt(()=>[w(h,{visible:n.object.visible,"onUpdate:visible":[e[0]||(e[0]=m=>n.object.visible=m),o.onVisibleChange]},null,8,["visible","onUpdate:visible"]),w(l,{grouped:n.object.grouped,"onUpdate:grouped":e[1]||(e[1]=m=>n.object.grouped=m)},null,8,["grouped"]),w(i,{locked:n.object.locked,"onUpdate:locked":e[2]||(e[2]=m=>n.object.locked=m)},null,8,["locked"]),n.object.flippable?(Hn(),ai(u,{key:0,onClick:Rf(o.flipObject,["stop"]),title:t.$t("ui.flip"),class:os({flipDisabled:o.flipDisabled})},null,8,["onClick","title","class"])):wi("",!0),Ji("span",{class:os({hidden:!n.object.visible})},Jn(n.display_name),3),n.object.hasInvalidKeypoints()?(Hn(),ai(d,{key:1,onClick:Rf(o.unjamInvalidKeypoints,["stop"]),title:"Move all invalid keypoints to visible canvas for edit.",class:"unjam-button"},null,8,["onClick"])):wi("",!0),w(s,{onClick:o.removeObject,class:"close-icon"},null,8,["onClick"])]),default:Rt(()=>[Bu(t.$slots,"extra-control",{},void 0,!0),w(p,{size:"small"},{default:Rt(()=>[(Hn(!0),Ra(_t,null,vk(n.object.keypoints,m=>(Hn(),ai(g,{key:m.id,class:os({"keypoint-selected":m.selected})},{default:Rt(()=>[w(h,{visible:m._visible,"onUpdate:visible":[y=>m._visible=y,o.onVisibleChange]},null,8,["visible","onUpdate:visible"]),Ji("span",{class:os({hidden:!m._visible})},Jn(m.name),3),w(c,{class:"coords-group"},{default:Rt(()=>[w(f,{value:m.x,onChange:y=>o.onKeypointXChange(y,m),"addon-before":"x",disabled:m.selected_in_group,precision:2},null,8,["value","onChange","disabled"]),w(f,{value:m.y,onChange:y=>o.onKeypointYChange(y,m),"addon-before":"y",disabled:m.selected_in_group,precision:2},null,8,["value","onChange","disabled"])]),_:2},1024)]),_:2},1032,["class"]))),128))]),_:1})]),_:3})}const H1e=Ol($1e,[["render",j1e],["__scopeId","data-v-1d917c1f"]]),V1e={name:"Header",components:{GithubOutlined:Ume,StarOutlined:a1e},setup(t){let e=ae(null);return gt(async()=>{const n="westNeighbor",r="ComfyUI-ultimate-openpose-editor";try{const a=await fetch(`https://api.github.com/repos/${n}/${r}`);if(a.ok){const o=await a.json();e.value=o.stargazers_count}else console.error("Failed to fetch star count from GitHub")}catch(a){console.error("Error fetching star count:",a)}}),{stars:e}}},z1e={href:"https://github.com/westNeighbor/ComfyUI-ultimate-openpose-editor",target:"_blank"},W1e=Ji("span",null,[Ji("b",null,"ComfyUI-ULTIMATE-OPENPOSE-EDITOR")],-1),K1e={key:0,href:"https://github.com/westNeighbor/extensions/ComfyUI-ultimate-openpose-editor/ui/stargazers",target:"_blank"};function U1e(t,e,n,r,a,o){const h=Xt("github-outlined"),l=Xt("star-outlined"),i=Xt("a-space"),u=Xt("a-page-header"),d=Xt("a-affix");return Hn(),Ra("header",null,[w(d,{"offset-top":0},{default:Rt(()=>[w(u,null,{title:Rt(()=>[w(i,null,{default:Rt(()=>[Ji("a",z1e,[w(h)]),W1e,r.stars!==null?(Hn(),Ra("a",K1e,[Sn(Jn(r.stars)+" ",1),w(l)])):wi("",!0)]),_:1})]),_:1})]),_:1})])}const Y1e=Ol(V1e,[["render",U1e]]);var lI={exports:{}};function G1e(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var j1={exports:{}},gO;function dn(){return gO||(gO=1,function(t,e){(function(n,r){t.exports=r()})(Dt,function(){var n=n||function(r,a){var o;if(typeof window<"u"&&window.crypto&&(o=window.crypto),typeof self<"u"&&self.crypto&&(o=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(o=globalThis.crypto),!o&&typeof window<"u"&&window.msCrypto&&(o=window.msCrypto),!o&&typeof Dt<"u"&&Dt.crypto&&(o=Dt.crypto),!o&&typeof G1e=="function")try{o=Gh}catch{}var h=function(){if(o){if(typeof o.getRandomValues=="function")try{return o.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof o.randomBytes=="function")try{return o.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},l=Object.create||function(){function y(){}return function(b){var x;return y.prototype=b,x=new y,y.prototype=null,x}}(),i={},u=i.lib={},d=u.Base=function(){return{extend:function(y){var b=l(this);return y&&b.mixIn(y),(!b.hasOwnProperty("init")||this.init===b.init)&&(b.init=function(){b.$super.init.apply(this,arguments)}),b.init.prototype=b,b.$super=this,b},create:function(){var y=this.extend();return y.init.apply(y,arguments),y},init:function(){},mixIn:function(y){for(var b in y)y.hasOwnProperty(b)&&(this[b]=y[b]);y.hasOwnProperty("toString")&&(this.toString=y.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),s=u.WordArray=d.extend({init:function(y,b){y=this.words=y||[],b!=a?this.sigBytes=b:this.sigBytes=y.length*4},toString:function(y){return(y||c).stringify(this)},concat:function(y){var b=this.words,x=y.words,S=this.sigBytes,_=y.sigBytes;if(this.clamp(),S%4)for(var O=0;O<_;O++){var k=x[O>>>2]>>>24-O%4*8&255;b[S+O>>>2]|=k<<24-(S+O)%4*8}else for(var E=0;E<_;E+=4)b[S+E>>>2]=x[E>>>2];return this.sigBytes+=_,this},clamp:function(){var y=this.words,b=this.sigBytes;y[b>>>2]&=4294967295<<32-b%4*8,y.length=r.ceil(b/4)},clone:function(){var y=d.clone.call(this);return y.words=this.words.slice(0),y},random:function(y){for(var b=[],x=0;x>>2]>>>24-_%4*8&255;S.push((O>>>4).toString(16)),S.push((O&15).toString(16))}return S.join("")},parse:function(y){for(var b=y.length,x=[],S=0;S>>3]|=parseInt(y.substr(S,2),16)<<24-S%8*4;return new s.init(x,b/2)}},g=f.Latin1={stringify:function(y){for(var b=y.words,x=y.sigBytes,S=[],_=0;_>>2]>>>24-_%4*8&255;S.push(String.fromCharCode(O))}return S.join("")},parse:function(y){for(var b=y.length,x=[],S=0;S>>2]|=(y.charCodeAt(S)&255)<<24-S%4*8;return new s.init(x,b)}},p=f.Utf8={stringify:function(y){try{return decodeURIComponent(escape(g.stringify(y)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(y){return g.parse(unescape(encodeURIComponent(y)))}},v=u.BufferedBlockAlgorithm=d.extend({reset:function(){this._data=new s.init,this._nDataBytes=0},_append:function(y){typeof y=="string"&&(y=p.parse(y)),this._data.concat(y),this._nDataBytes+=y.sigBytes},_process:function(y){var b,x=this._data,S=x.words,_=x.sigBytes,O=this.blockSize,k=O*4,E=_/k;y?E=r.ceil(E):E=r.max((E|0)-this._minBufferSize,0);var D=E*O,I=r.min(D*4,_);if(D){for(var N=0;N>>2]|=i[s]<<24-s%4*8;h.call(this,d,u)}else h.apply(this,arguments)};l.prototype=o}}(),n.lib.WordArray})}(V1)),V1.exports}var z1={exports:{}},yO;function q1e(){return yO||(yO=1,function(t,e){(function(n,r){t.exports=r(dn())})(Dt,function(n){return function(){var r=n,a=r.lib,o=a.WordArray,h=r.enc;h.Utf16=h.Utf16BE={stringify:function(i){for(var u=i.words,d=i.sigBytes,s=[],f=0;f>>2]>>>16-f%4*8&65535;s.push(String.fromCharCode(c))}return s.join("")},parse:function(i){for(var u=i.length,d=[],s=0;s>>1]|=i.charCodeAt(s)<<16-s%2*16;return o.create(d,u*2)}},h.Utf16LE={stringify:function(i){for(var u=i.words,d=i.sigBytes,s=[],f=0;f>>2]>>>16-f%4*8&65535);s.push(String.fromCharCode(c))}return s.join("")},parse:function(i){for(var u=i.length,d=[],s=0;s>>1]|=l(i.charCodeAt(s)<<16-s%2*16);return o.create(d,u*2)}};function l(i){return i<<8&4278255360|i>>>8&16711935}}(),n.enc.Utf16})}(z1)),z1.exports}var W1={exports:{}},bO;function Is(){return bO||(bO=1,function(t,e){(function(n,r){t.exports=r(dn())})(Dt,function(n){return function(){var r=n,a=r.lib,o=a.WordArray,h=r.enc;h.Base64={stringify:function(i){var u=i.words,d=i.sigBytes,s=this._map;i.clamp();for(var f=[],c=0;c>>2]>>>24-c%4*8&255,p=u[c+1>>>2]>>>24-(c+1)%4*8&255,v=u[c+2>>>2]>>>24-(c+2)%4*8&255,m=g<<16|p<<8|v,y=0;y<4&&c+y*.75>>6*(3-y)&63));var b=s.charAt(64);if(b)for(;f.length%4;)f.push(b);return f.join("")},parse:function(i){var u=i.length,d=this._map,s=this._reverseMap;if(!s){s=this._reverseMap=[];for(var f=0;f>>6-c%4*2,v=g|p;s[f>>>2]|=v<<24-f%4*8,f++}return o.create(s,f)}}(),n.enc.Base64})}(W1)),W1.exports}var K1={exports:{}},xO;function Z1e(){return xO||(xO=1,function(t,e){(function(n,r){t.exports=r(dn())})(Dt,function(n){return function(){var r=n,a=r.lib,o=a.WordArray,h=r.enc;h.Base64url={stringify:function(i,u){u===void 0&&(u=!0);var d=i.words,s=i.sigBytes,f=u?this._safe_map:this._map;i.clamp();for(var c=[],g=0;g>>2]>>>24-g%4*8&255,v=d[g+1>>>2]>>>24-(g+1)%4*8&255,m=d[g+2>>>2]>>>24-(g+2)%4*8&255,y=p<<16|v<<8|m,b=0;b<4&&g+b*.75>>6*(3-b)&63));var x=f.charAt(64);if(x)for(;c.length%4;)c.push(x);return c.join("")},parse:function(i,u){u===void 0&&(u=!0);var d=i.length,s=u?this._safe_map:this._map,f=this._reverseMap;if(!f){f=this._reverseMap=[];for(var c=0;c>>6-c%4*2,v=g|p;s[f>>>2]|=v<<24-f%4*8,f++}return o.create(s,f)}}(),n.enc.Base64url})}(K1)),K1.exports}var U1={exports:{}},CO;function Rs(){return CO||(CO=1,function(t,e){(function(n,r){t.exports=r(dn())})(Dt,function(n){return function(r){var a=n,o=a.lib,h=o.WordArray,l=o.Hasher,i=a.algo,u=[];(function(){for(var p=0;p<64;p++)u[p]=r.abs(r.sin(p+1))*4294967296|0})();var d=i.MD5=l.extend({_doReset:function(){this._hash=new h.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(p,v){for(var m=0;m<16;m++){var y=v+m,b=p[y];p[y]=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360}var x=this._hash.words,S=p[v+0],_=p[v+1],O=p[v+2],k=p[v+3],E=p[v+4],D=p[v+5],I=p[v+6],N=p[v+7],F=p[v+8],W=p[v+9],z=p[v+10],H=p[v+11],$=p[v+12],V=p[v+13],A=p[v+14],K=p[v+15],R=x[0],U=x[1],G=x[2],B=x[3];R=s(R,U,G,B,S,7,u[0]),B=s(B,R,U,G,_,12,u[1]),G=s(G,B,R,U,O,17,u[2]),U=s(U,G,B,R,k,22,u[3]),R=s(R,U,G,B,E,7,u[4]),B=s(B,R,U,G,D,12,u[5]),G=s(G,B,R,U,I,17,u[6]),U=s(U,G,B,R,N,22,u[7]),R=s(R,U,G,B,F,7,u[8]),B=s(B,R,U,G,W,12,u[9]),G=s(G,B,R,U,z,17,u[10]),U=s(U,G,B,R,H,22,u[11]),R=s(R,U,G,B,$,7,u[12]),B=s(B,R,U,G,V,12,u[13]),G=s(G,B,R,U,A,17,u[14]),U=s(U,G,B,R,K,22,u[15]),R=f(R,U,G,B,_,5,u[16]),B=f(B,R,U,G,I,9,u[17]),G=f(G,B,R,U,H,14,u[18]),U=f(U,G,B,R,S,20,u[19]),R=f(R,U,G,B,D,5,u[20]),B=f(B,R,U,G,z,9,u[21]),G=f(G,B,R,U,K,14,u[22]),U=f(U,G,B,R,E,20,u[23]),R=f(R,U,G,B,W,5,u[24]),B=f(B,R,U,G,A,9,u[25]),G=f(G,B,R,U,k,14,u[26]),U=f(U,G,B,R,F,20,u[27]),R=f(R,U,G,B,V,5,u[28]),B=f(B,R,U,G,O,9,u[29]),G=f(G,B,R,U,N,14,u[30]),U=f(U,G,B,R,$,20,u[31]),R=c(R,U,G,B,D,4,u[32]),B=c(B,R,U,G,F,11,u[33]),G=c(G,B,R,U,H,16,u[34]),U=c(U,G,B,R,A,23,u[35]),R=c(R,U,G,B,_,4,u[36]),B=c(B,R,U,G,E,11,u[37]),G=c(G,B,R,U,N,16,u[38]),U=c(U,G,B,R,z,23,u[39]),R=c(R,U,G,B,V,4,u[40]),B=c(B,R,U,G,S,11,u[41]),G=c(G,B,R,U,k,16,u[42]),U=c(U,G,B,R,I,23,u[43]),R=c(R,U,G,B,W,4,u[44]),B=c(B,R,U,G,$,11,u[45]),G=c(G,B,R,U,K,16,u[46]),U=c(U,G,B,R,O,23,u[47]),R=g(R,U,G,B,S,6,u[48]),B=g(B,R,U,G,N,10,u[49]),G=g(G,B,R,U,A,15,u[50]),U=g(U,G,B,R,D,21,u[51]),R=g(R,U,G,B,$,6,u[52]),B=g(B,R,U,G,k,10,u[53]),G=g(G,B,R,U,z,15,u[54]),U=g(U,G,B,R,_,21,u[55]),R=g(R,U,G,B,F,6,u[56]),B=g(B,R,U,G,K,10,u[57]),G=g(G,B,R,U,I,15,u[58]),U=g(U,G,B,R,V,21,u[59]),R=g(R,U,G,B,E,6,u[60]),B=g(B,R,U,G,H,10,u[61]),G=g(G,B,R,U,O,15,u[62]),U=g(U,G,B,R,W,21,u[63]),x[0]=x[0]+R|0,x[1]=x[1]+U|0,x[2]=x[2]+G|0,x[3]=x[3]+B|0},_doFinalize:function(){var p=this._data,v=p.words,m=this._nDataBytes*8,y=p.sigBytes*8;v[y>>>5]|=128<<24-y%32;var b=r.floor(m/4294967296),x=m;v[(y+64>>>9<<4)+15]=(b<<8|b>>>24)&16711935|(b<<24|b>>>8)&4278255360,v[(y+64>>>9<<4)+14]=(x<<8|x>>>24)&16711935|(x<<24|x>>>8)&4278255360,p.sigBytes=(v.length+1)*4,this._process();for(var S=this._hash,_=S.words,O=0;O<4;O++){var k=_[O];_[O]=(k<<8|k>>>24)&16711935|(k<<24|k>>>8)&4278255360}return S},clone:function(){var p=l.clone.call(this);return p._hash=this._hash.clone(),p}});function s(p,v,m,y,b,x,S){var _=p+(v&m|~v&y)+b+S;return(_<>>32-x)+v}function f(p,v,m,y,b,x,S){var _=p+(v&y|m&~y)+b+S;return(_<>>32-x)+v}function c(p,v,m,y,b,x,S){var _=p+(v^m^y)+b+S;return(_<>>32-x)+v}function g(p,v,m,y,b,x,S){var _=p+(m^(v|~y))+b+S;return(_<>>32-x)+v}a.MD5=l._createHelper(d),a.HmacMD5=l._createHmacHelper(d)}(Math),n.MD5})}(U1)),U1.exports}var Y1={exports:{}},SO;function sI(){return SO||(SO=1,function(t,e){(function(n,r){t.exports=r(dn())})(Dt,function(n){return function(){var r=n,a=r.lib,o=a.WordArray,h=a.Hasher,l=r.algo,i=[],u=l.SHA1=h.extend({_doReset:function(){this._hash=new o.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(d,s){for(var f=this._hash.words,c=f[0],g=f[1],p=f[2],v=f[3],m=f[4],y=0;y<80;y++){if(y<16)i[y]=d[s+y]|0;else{var b=i[y-3]^i[y-8]^i[y-14]^i[y-16];i[y]=b<<1|b>>>31}var x=(c<<5|c>>>27)+m+i[y];y<20?x+=(g&p|~g&v)+1518500249:y<40?x+=(g^p^v)+1859775393:y<60?x+=(g&p|g&v|p&v)-1894007588:x+=(g^p^v)-899497514,m=v,v=p,p=g<<30|g>>>2,g=c,c=x}f[0]=f[0]+c|0,f[1]=f[1]+g|0,f[2]=f[2]+p|0,f[3]=f[3]+v|0,f[4]=f[4]+m|0},_doFinalize:function(){var d=this._data,s=d.words,f=this._nDataBytes*8,c=d.sigBytes*8;return s[c>>>5]|=128<<24-c%32,s[(c+64>>>9<<4)+14]=Math.floor(f/4294967296),s[(c+64>>>9<<4)+15]=f,d.sigBytes=s.length*4,this._process(),this._hash},clone:function(){var d=h.clone.call(this);return d._hash=this._hash.clone(),d}});r.SHA1=h._createHelper(u),r.HmacSHA1=h._createHmacHelper(u)}(),n.SHA1})}(Y1)),Y1.exports}var G1={exports:{}},wO;function ow(){return wO||(wO=1,function(t,e){(function(n,r){t.exports=r(dn())})(Dt,function(n){return function(r){var a=n,o=a.lib,h=o.WordArray,l=o.Hasher,i=a.algo,u=[],d=[];(function(){function c(m){for(var y=r.sqrt(m),b=2;b<=y;b++)if(!(m%b))return!1;return!0}function g(m){return(m-(m|0))*4294967296|0}for(var p=2,v=0;v<64;)c(p)&&(v<8&&(u[v]=g(r.pow(p,1/2))),d[v]=g(r.pow(p,1/3)),v++),p++})();var s=[],f=i.SHA256=l.extend({_doReset:function(){this._hash=new h.init(u.slice(0))},_doProcessBlock:function(c,g){for(var p=this._hash.words,v=p[0],m=p[1],y=p[2],b=p[3],x=p[4],S=p[5],_=p[6],O=p[7],k=0;k<64;k++){if(k<16)s[k]=c[g+k]|0;else{var E=s[k-15],D=(E<<25|E>>>7)^(E<<14|E>>>18)^E>>>3,I=s[k-2],N=(I<<15|I>>>17)^(I<<13|I>>>19)^I>>>10;s[k]=D+s[k-7]+N+s[k-16]}var F=x&S^~x&_,W=v&m^v&y^m&y,z=(v<<30|v>>>2)^(v<<19|v>>>13)^(v<<10|v>>>22),H=(x<<26|x>>>6)^(x<<21|x>>>11)^(x<<7|x>>>25),$=O+H+F+d[k]+s[k],V=z+W;O=_,_=S,S=x,x=b+$|0,b=y,y=m,m=v,v=$+V|0}p[0]=p[0]+v|0,p[1]=p[1]+m|0,p[2]=p[2]+y|0,p[3]=p[3]+b|0,p[4]=p[4]+x|0,p[5]=p[5]+S|0,p[6]=p[6]+_|0,p[7]=p[7]+O|0},_doFinalize:function(){var c=this._data,g=c.words,p=this._nDataBytes*8,v=c.sigBytes*8;return g[v>>>5]|=128<<24-v%32,g[(v+64>>>9<<4)+14]=r.floor(p/4294967296),g[(v+64>>>9<<4)+15]=p,c.sigBytes=g.length*4,this._process(),this._hash},clone:function(){var c=l.clone.call(this);return c._hash=this._hash.clone(),c}});a.SHA256=l._createHelper(f),a.HmacSHA256=l._createHmacHelper(f)}(Math),n.SHA256})}(G1)),G1.exports}var X1={exports:{}},_O;function J1e(){return _O||(_O=1,function(t,e){(function(n,r,a){t.exports=r(dn(),ow())})(Dt,function(n){return function(){var r=n,a=r.lib,o=a.WordArray,h=r.algo,l=h.SHA256,i=h.SHA224=l.extend({_doReset:function(){this._hash=new o.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var u=l._doFinalize.call(this);return u.sigBytes-=4,u}});r.SHA224=l._createHelper(i),r.HmacSHA224=l._createHmacHelper(i)}(),n.SHA224})}(X1)),X1.exports}var q1={exports:{}},PO;function uI(){return PO||(PO=1,function(t,e){(function(n,r,a){t.exports=r(dn(),np())})(Dt,function(n){return function(){var r=n,a=r.lib,o=a.Hasher,h=r.x64,l=h.Word,i=h.WordArray,u=r.algo;function d(){return l.create.apply(l,arguments)}var s=[d(1116352408,3609767458),d(1899447441,602891725),d(3049323471,3964484399),d(3921009573,2173295548),d(961987163,4081628472),d(1508970993,3053834265),d(2453635748,2937671579),d(2870763221,3664609560),d(3624381080,2734883394),d(310598401,1164996542),d(607225278,1323610764),d(1426881987,3590304994),d(1925078388,4068182383),d(2162078206,991336113),d(2614888103,633803317),d(3248222580,3479774868),d(3835390401,2666613458),d(4022224774,944711139),d(264347078,2341262773),d(604807628,2007800933),d(770255983,1495990901),d(1249150122,1856431235),d(1555081692,3175218132),d(1996064986,2198950837),d(2554220882,3999719339),d(2821834349,766784016),d(2952996808,2566594879),d(3210313671,3203337956),d(3336571891,1034457026),d(3584528711,2466948901),d(113926993,3758326383),d(338241895,168717936),d(666307205,1188179964),d(773529912,1546045734),d(1294757372,1522805485),d(1396182291,2643833823),d(1695183700,2343527390),d(1986661051,1014477480),d(2177026350,1206759142),d(2456956037,344077627),d(2730485921,1290863460),d(2820302411,3158454273),d(3259730800,3505952657),d(3345764771,106217008),d(3516065817,3606008344),d(3600352804,1432725776),d(4094571909,1467031594),d(275423344,851169720),d(430227734,3100823752),d(506948616,1363258195),d(659060556,3750685593),d(883997877,3785050280),d(958139571,3318307427),d(1322822218,3812723403),d(1537002063,2003034995),d(1747873779,3602036899),d(1955562222,1575990012),d(2024104815,1125592928),d(2227730452,2716904306),d(2361852424,442776044),d(2428436474,593698344),d(2756734187,3733110249),d(3204031479,2999351573),d(3329325298,3815920427),d(3391569614,3928383900),d(3515267271,566280711),d(3940187606,3454069534),d(4118630271,4000239992),d(116418474,1914138554),d(174292421,2731055270),d(289380356,3203993006),d(460393269,320620315),d(685471733,587496836),d(852142971,1086792851),d(1017036298,365543100),d(1126000580,2618297676),d(1288033470,3409855158),d(1501505948,4234509866),d(1607167915,987167468),d(1816402316,1246189591)],f=[];(function(){for(var g=0;g<80;g++)f[g]=d()})();var c=u.SHA512=o.extend({_doReset:function(){this._hash=new i.init([new l.init(1779033703,4089235720),new l.init(3144134277,2227873595),new l.init(1013904242,4271175723),new l.init(2773480762,1595750129),new l.init(1359893119,2917565137),new l.init(2600822924,725511199),new l.init(528734635,4215389547),new l.init(1541459225,327033209)])},_doProcessBlock:function(g,p){for(var v=this._hash.words,m=v[0],y=v[1],b=v[2],x=v[3],S=v[4],_=v[5],O=v[6],k=v[7],E=m.high,D=m.low,I=y.high,N=y.low,F=b.high,W=b.low,z=x.high,H=x.low,$=S.high,V=S.low,A=_.high,K=_.low,R=O.high,U=O.low,G=k.high,B=k.low,j=E,q=D,Q=I,oe=N,ue=F,de=W,ve=z,ee=H,L=$,Y=V,te=A,ie=K,se=R,ge=U,pe=G,ye=B,ce=0;ce<80;ce++){var ne,fe,Ce=f[ce];if(ce<16)fe=Ce.high=g[p+ce*2]|0,ne=Ce.low=g[p+ce*2+1]|0;else{var Oe=f[ce-15],Le=Oe.high,$e=Oe.low,Ee=(Le>>>1|$e<<31)^(Le>>>8|$e<<24)^Le>>>7,we=($e>>>1|Le<<31)^($e>>>8|Le<<24)^($e>>>7|Le<<25),Ne=f[ce-2],je=Ne.high,Ae=Ne.low,Se=(je>>>19|Ae<<13)^(je<<3|Ae>>>29)^je>>>6,Te=(Ae>>>19|je<<13)^(Ae<<3|je>>>29)^(Ae>>>6|je<<26),ke=f[ce-7],Be=ke.high,We=ke.low,Ke=f[ce-16],De=Ke.high,Ie=Ke.low;ne=we+We,fe=Ee+Be+(ne>>>0>>0?1:0),ne=ne+Te,fe=fe+Se+(ne>>>0>>0?1:0),ne=ne+Ie,fe=fe+De+(ne>>>0>>0?1:0),Ce.high=fe,Ce.low=ne}var Ge=L&te^~L&se,tt=Y&ie^~Y&ge,nt=j&Q^j&ue^Q&ue,et=q&oe^q&de^oe&de,rt=(j>>>28|q<<4)^(j<<30|q>>>2)^(j<<25|q>>>7),lt=(q>>>28|j<<4)^(q<<30|j>>>2)^(q<<25|j>>>7),at=(L>>>14|Y<<18)^(L>>>18|Y<<14)^(L<<23|Y>>>9),vt=(Y>>>14|L<<18)^(Y>>>18|L<<14)^(Y<<23|L>>>9),dt=s[ce],zt=dt.high,Ct=dt.low,bt=ye+vt,yt=pe+at+(bt>>>0>>0?1:0),bt=bt+tt,yt=yt+Ge+(bt>>>0>>0?1:0),bt=bt+Ct,yt=yt+zt+(bt>>>0>>0?1:0),bt=bt+ne,yt=yt+fe+(bt>>>0>>0?1:0),mn=lt+et,an=rt+nt+(mn>>>0>>0?1:0);pe=se,ye=ge,se=te,ge=ie,te=L,ie=Y,Y=ee+bt|0,L=ve+yt+(Y>>>0>>0?1:0)|0,ve=ue,ee=de,ue=Q,de=oe,Q=j,oe=q,q=bt+mn|0,j=yt+an+(q>>>0>>0?1:0)|0}D=m.low=D+q,m.high=E+j+(D>>>0>>0?1:0),N=y.low=N+oe,y.high=I+Q+(N>>>0>>0?1:0),W=b.low=W+de,b.high=F+ue+(W>>>0>>0?1:0),H=x.low=H+ee,x.high=z+ve+(H>>>0>>0?1:0),V=S.low=V+Y,S.high=$+L+(V>>>0>>0?1:0),K=_.low=K+ie,_.high=A+te+(K>>>0>>0?1:0),U=O.low=U+ge,O.high=R+se+(U>>>0>>0?1:0),B=k.low=B+ye,k.high=G+pe+(B>>>0>>0?1:0)},_doFinalize:function(){var g=this._data,p=g.words,v=this._nDataBytes*8,m=g.sigBytes*8;p[m>>>5]|=128<<24-m%32,p[(m+128>>>10<<5)+30]=Math.floor(v/4294967296),p[(m+128>>>10<<5)+31]=v,g.sigBytes=p.length*4,this._process();var y=this._hash.toX32();return y},clone:function(){var g=o.clone.call(this);return g._hash=this._hash.clone(),g},blockSize:1024/32});r.SHA512=o._createHelper(c),r.HmacSHA512=o._createHmacHelper(c)}(),n.SHA512})}(q1)),q1.exports}var Z1={exports:{}},OO;function Q1e(){return OO||(OO=1,function(t,e){(function(n,r,a){t.exports=r(dn(),np(),uI())})(Dt,function(n){return function(){var r=n,a=r.x64,o=a.Word,h=a.WordArray,l=r.algo,i=l.SHA512,u=l.SHA384=i.extend({_doReset:function(){this._hash=new h.init([new o.init(3418070365,3238371032),new o.init(1654270250,914150663),new o.init(2438529370,812702999),new o.init(355462360,4144912697),new o.init(1731405415,4290775857),new o.init(2394180231,1750603025),new o.init(3675008525,1694076839),new o.init(1203062813,3204075428)])},_doFinalize:function(){var d=i._doFinalize.call(this);return d.sigBytes-=16,d}});r.SHA384=i._createHelper(u),r.HmacSHA384=i._createHmacHelper(u)}(),n.SHA384})}(Z1)),Z1.exports}var J1={exports:{}},TO;function eye(){return TO||(TO=1,function(t,e){(function(n,r,a){t.exports=r(dn(),np())})(Dt,function(n){return function(r){var a=n,o=a.lib,h=o.WordArray,l=o.Hasher,i=a.x64,u=i.Word,d=a.algo,s=[],f=[],c=[];(function(){for(var v=1,m=0,y=0;y<24;y++){s[v+5*m]=(y+1)*(y+2)/2%64;var b=m%5,x=(2*v+3*m)%5;v=b,m=x}for(var v=0;v<5;v++)for(var m=0;m<5;m++)f[v+5*m]=m+(2*v+3*m)%5*5;for(var S=1,_=0;_<24;_++){for(var O=0,k=0,E=0;E<7;E++){if(S&1){var D=(1<>>24)&16711935|(S<<24|S>>>8)&4278255360,_=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360;var O=y[x];O.high^=_,O.low^=S}for(var k=0;k<24;k++){for(var E=0;E<5;E++){for(var D=0,I=0,N=0;N<5;N++){var O=y[E+5*N];D^=O.high,I^=O.low}var F=g[E];F.high=D,F.low=I}for(var E=0;E<5;E++)for(var W=g[(E+4)%5],z=g[(E+1)%5],H=z.high,$=z.low,D=W.high^(H<<1|$>>>31),I=W.low^($<<1|H>>>31),N=0;N<5;N++){var O=y[E+5*N];O.high^=D,O.low^=I}for(var V=1;V<25;V++){var D,I,O=y[V],A=O.high,K=O.low,R=s[V];R<32?(D=A<>>32-R,I=K<>>32-R):(D=K<>>64-R,I=A<>>64-R);var U=g[f[V]];U.high=D,U.low=I}var G=g[0],B=y[0];G.high=B.high,G.low=B.low;for(var E=0;E<5;E++)for(var N=0;N<5;N++){var V=E+5*N,O=y[V],j=g[V],q=g[(E+1)%5+5*N],Q=g[(E+2)%5+5*N];O.high=j.high^~q.high&Q.high,O.low=j.low^~q.low&Q.low}var O=y[0],oe=c[k];O.high^=oe.high,O.low^=oe.low}},_doFinalize:function(){var v=this._data,m=v.words;this._nDataBytes*8;var y=v.sigBytes*8,b=this.blockSize*32;m[y>>>5]|=1<<24-y%32,m[(r.ceil((y+1)/b)*b>>>5)-1]|=128,v.sigBytes=m.length*4,this._process();for(var x=this._state,S=this.cfg.outputLength/8,_=S/8,O=[],k=0;k<_;k++){var E=x[k],D=E.high,I=E.low;D=(D<<8|D>>>24)&16711935|(D<<24|D>>>8)&4278255360,I=(I<<8|I>>>24)&16711935|(I<<24|I>>>8)&4278255360,O.push(I),O.push(D)}return new h.init(O,S)},clone:function(){for(var v=l.clone.call(this),m=v._state=this._state.slice(0),y=0;y<25;y++)m[y]=m[y].clone();return v}});a.SHA3=l._createHelper(p),a.HmacSHA3=l._createHmacHelper(p)}(Math),n.SHA3})}(J1)),J1.exports}var Q1={exports:{}},kO;function tye(){return kO||(kO=1,function(t,e){(function(n,r){t.exports=r(dn())})(Dt,function(n){/** @preserve (c) 2012 by Cédric Mesnil. All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -638,3 +638,4 @@ function print() { __p += __j.call(arguments, '') } * (c) 2022 kazuya kawaguchi * Released under the MIT License. */const Xbe="9.2.2";function qbe(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(_f().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(_f().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(_f().__INTLIFY_PROD_DEVTOOLS__=!1)}let wI=yn.__EXTEND_POINT__;const fa=()=>++wI,dr={UNEXPECTED_RETURN_TYPE:wI,INVALID_ARGUMENT:fa(),MUST_BE_CALL_SETUP_TOP:fa(),NOT_INSLALLED:fa(),NOT_AVAILABLE_IN_LEGACY_MODE:fa(),REQUIRED_VALUE:fa(),INVALID_VALUE:fa(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:fa(),NOT_INSLALLED_WITH_PROVIDE:fa(),UNEXPECTED_ERROR:fa(),NOT_COMPATIBLE_LEGACY_VUE_I18N:fa(),BRIDGE_SUPPORT_VUE_2_ONLY:fa(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:fa(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:fa(),__EXTEND_POINT__:fa()};function br(t,...e){return ap(t,null,void 0)}const fx=kl("__transrateVNode"),dx=kl("__datetimeParts"),vx=kl("__numberParts"),_I=kl("__setPluralRules");kl("__intlifyMeta");const PI=kl("__injectWithOption");function hx(t){if(!Rn(t))return t;for(const e in t)if(sw(t,e))if(!e.includes("."))Rn(t[e])&&hx(t[e]);else{const n=e.split("."),r=n.length-1;let a=t;for(let o=0;o{if("locale"in l&&"resource"in l){const{locale:i,resource:u}=l;i?(h[i]=h[i]||{},Pf(u,h[i])):Pf(u,h)}else ut(l)&&Pf(JSON.parse(l),h)}),a==null&&o)for(const l in h)sw(h,l)&&hx(h[l]);return h}const ch=t=>!Rn(t)||In(t);function Pf(t,e){if(ch(t)||ch(e))throw br(dr.INVALID_VALUE);for(const n in t)sw(t,n)&&(ch(t[n])||ch(e[n])?e[n]=t[n]:Pf(t[n],e[n]))}function OI(t){return t.type}function TI(t,e,n){let r=Rn(e.messages)?e.messages:{};"__i18nGlobal"in n&&(r=op(t.locale.value,{messages:r,__i18n:n.__i18nGlobal}));const a=Object.keys(r);a.length&&a.forEach(o=>{t.mergeLocaleMessage(o,r[o])});{if(Rn(e.datetimeFormats)){const o=Object.keys(e.datetimeFormats);o.length&&o.forEach(h=>{t.mergeDateTimeFormat(h,e.datetimeFormats[h])})}if(Rn(e.numberFormats)){const o=Object.keys(e.numberFormats);o.length&&o.forEach(h=>{t.mergeNumberFormat(h,e.numberFormats[h])})}}}function mT(t){return w(No,null,t,0)}const yT="__INTLIFY_META__";let bT=0;function xT(t){return(e,n,r,a)=>t(n,r,Xn()||void 0,a)}const Zbe=()=>{const t=Xn();let e=null;return t&&(e=OI(t)[yT])?{[yT]:e}:null};function dw(t={},e){const{__root:n}=t,r=n===void 0;let a=fn(t.inheritLocale)?t.inheritLocale:!0;const o=ae(n&&a?n.locale.value:ut(t.locale)?t.locale:_d),h=ae(n&&a?n.fallbackLocale.value:ut(t.fallbackLocale)||In(t.fallbackLocale)||Yt(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:o.value),l=ae(op(o.value,t)),i=ae(Yt(t.datetimeFormats)?t.datetimeFormats:{[o.value]:{}}),u=ae(Yt(t.numberFormats)?t.numberFormats:{[o.value]:{}});let d=n?n.missingWarn:fn(t.missingWarn)||xl(t.missingWarn)?t.missingWarn:!0,s=n?n.fallbackWarn:fn(t.fallbackWarn)||xl(t.fallbackWarn)?t.fallbackWarn:!0,f=n?n.fallbackRoot:fn(t.fallbackRoot)?t.fallbackRoot:!0,c=!!t.fallbackFormat,g=or(t.missing)?t.missing:null,p=or(t.missing)?xT(t.missing):null,v=or(t.postTranslation)?t.postTranslation:null,m=n?n.warnHtmlMessage:fn(t.warnHtmlMessage)?t.warnHtmlMessage:!0,y=!!t.escapeParameter;const b=n?n.modifiers:Yt(t.modifiers)?t.modifiers:{};let x=t.pluralRules||n&&n.pluralRules,S;S=(()=>{r&&sT(null);const ne={version:Xbe,locale:o.value,fallbackLocale:h.value,messages:l.value,modifiers:b,pluralRules:x,missing:p===null?void 0:p,missingWarn:d,fallbackWarn:s,fallbackFormat:c,unresolving:!0,postTranslation:v===null?void 0:v,warnHtmlMessage:m,escapeParameter:y,messageResolver:t.messageResolver,__meta:{framework:"vue"}};ne.datetimeFormats=i.value,ne.numberFormats=u.value,ne.__datetimeFormatters=Yt(S)?S.__datetimeFormatters:void 0,ne.__numberFormatters=Yt(S)?S.__numberFormatters:void 0;const fe=Vbe(ne);return r&&sT(fe),fe})(),Gc(S,o.value,h.value);function O(){return[o.value,h.value,l.value,i.value,u.value]}const k=Z({get:()=>o.value,set:ne=>{o.value=ne,S.locale=o.value}}),E=Z({get:()=>h.value,set:ne=>{h.value=ne,S.fallbackLocale=h.value,Gc(S,o.value,ne)}}),D=Z(()=>l.value),I=Z(()=>i.value),N=Z(()=>u.value);function F(){return or(v)?v:null}function W(ne){v=ne,S.postTranslation=ne}function z(){return g}function H(ne){ne!==null&&(p=xT(ne)),g=ne,S.missing=p}const $=(ne,fe,Ce,Oe,Le,$e)=>{O();let Ee;if(__INTLIFY_PROD_DEVTOOLS__)try{lT(Zbe()),r||(S.fallbackContext=n?Hbe():void 0),Ee=ne(S)}finally{lT(null),r||(S.fallbackContext=void 0)}else Ee=ne(S);if(mr(Ee)&&Ee===ip){const[we,Ne]=fe();return n&&f?Oe(n):Le(we)}else{if($e(Ee))return Ee;throw br(dr.UNEXPECTED_RETURN_TYPE)}};function V(...ne){return $(fe=>Reflect.apply(dT,null,[fe,...ne]),()=>sx(...ne),"translate",fe=>Reflect.apply(fe.t,fe,[...ne]),fe=>fe,fe=>ut(fe))}function A(...ne){const[fe,Ce,Oe]=ne;if(Oe&&!Rn(Oe))throw br(dr.INVALID_ARGUMENT);return V(fe,Ce,Pr({resolvedMessage:!0},Oe||{}))}function K(...ne){return $(fe=>Reflect.apply(vT,null,[fe,...ne]),()=>ux(...ne),"datetime format",fe=>Reflect.apply(fe.d,fe,[...ne]),()=>iT,fe=>ut(fe))}function R(...ne){return $(fe=>Reflect.apply(gT,null,[fe,...ne]),()=>cx(...ne),"number format",fe=>Reflect.apply(fe.n,fe,[...ne]),()=>iT,fe=>ut(fe))}function U(ne){return ne.map(fe=>ut(fe)||mr(fe)||fn(fe)?mT(String(fe)):fe)}const B={normalize:U,interpolate:ne=>ne,type:"vnode"};function j(...ne){return $(fe=>{let Ce;const Oe=fe;try{Oe.processor=B,Ce=Reflect.apply(dT,null,[Oe,...ne])}finally{Oe.processor=null}return Ce},()=>sx(...ne),"translate",fe=>fe[fx](...ne),fe=>[mT(fe)],fe=>In(fe))}function q(...ne){return $(fe=>Reflect.apply(gT,null,[fe,...ne]),()=>cx(...ne),"number format",fe=>fe[vx](...ne),()=>[],fe=>ut(fe)||In(fe))}function Q(...ne){return $(fe=>Reflect.apply(vT,null,[fe,...ne]),()=>ux(...ne),"datetime format",fe=>fe[dx](...ne),()=>[],fe=>ut(fe)||In(fe))}function oe(ne){x=ne,S.pluralRules=x}function ue(ne,fe){const Ce=ut(fe)?fe:o.value,Oe=ee(Ce);return S.messageResolver(Oe,ne)!==null}function de(ne){let fe=null;const Ce=dI(S,h.value,o.value);for(let Oe=0;Oe{a&&(o.value=ne,S.locale=ne,Gc(S,o.value,h.value))}),Re(n.fallbackLocale,ne=>{a&&(h.value=ne,S.fallbackLocale=ne,Gc(S,o.value,h.value))}));const ce={id:bT,locale:k,fallbackLocale:E,get inheritLocale(){return a},set inheritLocale(ne){a=ne,ne&&n&&(o.value=n.locale.value,h.value=n.fallbackLocale.value,Gc(S,o.value,h.value))},get availableLocales(){return Object.keys(l.value).sort()},messages:D,get modifiers(){return b},get pluralRules(){return x||{}},get isGlobal(){return r},get missingWarn(){return d},set missingWarn(ne){d=ne,S.missingWarn=d},get fallbackWarn(){return s},set fallbackWarn(ne){s=ne,S.fallbackWarn=s},get fallbackRoot(){return f},set fallbackRoot(ne){f=ne},get fallbackFormat(){return c},set fallbackFormat(ne){c=ne,S.fallbackFormat=c},get warnHtmlMessage(){return m},set warnHtmlMessage(ne){m=ne,S.warnHtmlMessage=ne},get escapeParameter(){return y},set escapeParameter(ne){y=ne,S.escapeParameter=ne},t:V,getLocaleMessage:ee,setLocaleMessage:L,mergeLocaleMessage:Y,getPostTranslationHandler:F,setPostTranslationHandler:W,getMissingHandler:z,setMissingHandler:H,[_I]:oe};return ce.datetimeFormats=I,ce.numberFormats=N,ce.rt=A,ce.te=ue,ce.tm=ve,ce.d=K,ce.n=R,ce.getDateTimeFormat=te,ce.setDateTimeFormat=ie,ce.mergeDateTimeFormat=se,ce.getNumberFormat=ge,ce.setNumberFormat=pe,ce.mergeNumberFormat=ye,ce[PI]=t.__injectWithOption,ce[fx]=j,ce[dx]=Q,ce[vx]=q,ce}function Jbe(t){const e=ut(t.locale)?t.locale:_d,n=ut(t.fallbackLocale)||In(t.fallbackLocale)||Yt(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:e,r=or(t.missing)?t.missing:void 0,a=fn(t.silentTranslationWarn)||xl(t.silentTranslationWarn)?!t.silentTranslationWarn:!0,o=fn(t.silentFallbackWarn)||xl(t.silentFallbackWarn)?!t.silentFallbackWarn:!0,h=fn(t.fallbackRoot)?t.fallbackRoot:!0,l=!!t.formatFallbackMessages,i=Yt(t.modifiers)?t.modifiers:{},u=t.pluralizationRules,d=or(t.postTranslation)?t.postTranslation:void 0,s=ut(t.warnHtmlInMessage)?t.warnHtmlInMessage!=="off":!0,f=!!t.escapeParameterHtml,c=fn(t.sync)?t.sync:!0;let g=t.messages;if(Yt(t.sharedMessages)){const S=t.sharedMessages;g=Object.keys(S).reduce((O,k)=>{const E=O[k]||(O[k]={});return Pr(E,S[k]),O},g||{})}const{__i18n:p,__root:v,__injectWithOption:m}=t,y=t.datetimeFormats,b=t.numberFormats,x=t.flatJson;return{locale:e,fallbackLocale:n,messages:g,flatJson:x,datetimeFormats:y,numberFormats:b,missing:r,missingWarn:a,fallbackWarn:o,fallbackRoot:h,fallbackFormat:l,modifiers:i,pluralRules:u,postTranslation:d,warnHtmlMessage:s,escapeParameter:f,messageResolver:t.messageResolver,inheritLocale:c,__i18n:p,__root:v,__injectWithOption:m}}function gx(t={},e){{const n=dw(Jbe(t)),r={id:n.id,get locale(){return n.locale.value},set locale(a){n.locale.value=a},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(a){n.fallbackLocale.value=a},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(a){},get missing(){return n.getMissingHandler()},set missing(a){n.setMissingHandler(a)},get silentTranslationWarn(){return fn(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(a){n.missingWarn=fn(a)?!a:a},get silentFallbackWarn(){return fn(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(a){n.fallbackWarn=fn(a)?!a:a},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(a){n.fallbackFormat=a},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(a){n.setPostTranslationHandler(a)},get sync(){return n.inheritLocale},set sync(a){n.inheritLocale=a},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(a){n.warnHtmlMessage=a!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(a){n.escapeParameter=a},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(a){},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...a){const[o,h,l]=a,i={};let u=null,d=null;if(!ut(o))throw br(dr.INVALID_ARGUMENT);const s=o;return ut(h)?i.locale=h:In(h)?u=h:Yt(h)&&(d=h),In(l)?u=l:Yt(l)&&(d=l),Reflect.apply(n.t,n,[s,u||d||{},i])},rt(...a){return Reflect.apply(n.rt,n,[...a])},tc(...a){const[o,h,l]=a,i={plural:1};let u=null,d=null;if(!ut(o))throw br(dr.INVALID_ARGUMENT);const s=o;return ut(h)?i.locale=h:mr(h)?i.plural=h:In(h)?u=h:Yt(h)&&(d=h),ut(l)?i.locale=l:In(l)?u=l:Yt(l)&&(d=l),Reflect.apply(n.t,n,[s,u||d||{},i])},te(a,o){return n.te(a,o)},tm(a){return n.tm(a)},getLocaleMessage(a){return n.getLocaleMessage(a)},setLocaleMessage(a,o){n.setLocaleMessage(a,o)},mergeLocaleMessage(a,o){n.mergeLocaleMessage(a,o)},d(...a){return Reflect.apply(n.d,n,[...a])},getDateTimeFormat(a){return n.getDateTimeFormat(a)},setDateTimeFormat(a,o){n.setDateTimeFormat(a,o)},mergeDateTimeFormat(a,o){n.mergeDateTimeFormat(a,o)},n(...a){return Reflect.apply(n.n,n,[...a])},getNumberFormat(a){return n.getNumberFormat(a)},setNumberFormat(a,o){n.setNumberFormat(a,o)},mergeNumberFormat(a,o){n.mergeNumberFormat(a,o)},getChoiceIndex(a,o){return-1},__onComponentInstanceCreated(a){const{componentInstanceCreatedListener:o}=t;o&&o(a,r)}};return r}}const vw={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:t=>t==="parent"||t==="global",default:"parent"},i18n:{type:Object}};function Qbe({slots:t},e){return e.length===1&&e[0]==="default"?(t.default?t.default():[]).reduce((r,a)=>r=[...r,...In(a.children)?a.children:[a]],[]):e.reduce((n,r)=>{const a=t[r];return a&&(n[r]=a()),n},{})}function kI(t){return _t}const CT={name:"i18n-t",props:Pr({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:t=>mr(t)||!isNaN(t)}},vw),setup(t,e){const{slots:n,attrs:r}=e,a=t.i18n||hw({useScope:t.scope,__useComponent:!0});return()=>{const o=Object.keys(n).filter(s=>s!=="_"),h={};t.locale&&(h.locale=t.locale),t.plural!==void 0&&(h.plural=ut(t.plural)?+t.plural:t.plural);const l=Qbe(e,o),i=a[fx](t.keypath,l,h),u=Pr({},r),d=ut(t.tag)||Rn(t.tag)?t.tag:kI();return If(d,u,i)}}};function exe(t){return In(t)&&!ut(t[0])}function EI(t,e,n,r){const{slots:a,attrs:o}=e;return()=>{const h={part:!0};let l={};t.locale&&(h.locale=t.locale),ut(t.format)?h.key=t.format:Rn(t.format)&&(ut(t.format.key)&&(h.key=t.format.key),l=Object.keys(t.format).reduce((f,c)=>n.includes(c)?Pr({},f,{[c]:t.format[c]}):f,{}));const i=r(t.value,h,l);let u=[h.key];In(i)?u=i.map((f,c)=>{const g=a[f.type],p=g?g({[f.type]:f.value,index:c,parts:i}):[f.value];return exe(p)&&(p[0].key=`${f.type}-${c}`),p}):ut(i)&&(u=[i]);const d=Pr({},o),s=ut(t.tag)||Rn(t.tag)?t.tag:kI();return If(s,d,u)}}const ST={name:"i18n-n",props:Pr({value:{type:Number,required:!0},format:{type:[String,Object]}},vw),setup(t,e){const n=t.i18n||hw({useScope:"parent",__useComponent:!0});return EI(t,e,SI,(...r)=>n[vx](...r))}},wT={name:"i18n-d",props:Pr({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},vw),setup(t,e){const n=t.i18n||hw({useScope:"parent",__useComponent:!0});return EI(t,e,CI,(...r)=>n[dx](...r))}};function txe(t,e){const n=t;if(t.mode==="composition")return n.__getInstance(e)||t.global;{const r=n.__getInstance(e);return r!=null?r.__composer:t.global.__composer}}function nxe(t){const e=h=>{const{instance:l,modifiers:i,value:u}=h;if(!l||!l.$)throw br(dr.UNEXPECTED_ERROR);const d=txe(t,l.$),s=_T(u);return[Reflect.apply(d.t,d,[...PT(s)]),d]};return{created:(h,l)=>{const[i,u]=e(l);ox&&t.global===u&&(h.__i18nWatcher=Re(u.locale,()=>{l.instance&&l.instance.$forceUpdate()})),h.__composer=u,h.textContent=i},unmounted:h=>{ox&&h.__i18nWatcher&&(h.__i18nWatcher(),h.__i18nWatcher=void 0,delete h.__i18nWatcher),h.__composer&&(h.__composer=void 0,delete h.__composer)},beforeUpdate:(h,{value:l})=>{if(h.__composer){const i=h.__composer,u=_T(l);h.textContent=Reflect.apply(i.t,i,[...PT(u)])}},getSSRProps:h=>{const[l]=e(h);return{textContent:l}}}}function _T(t){if(ut(t))return{path:t};if(Yt(t)){if(!("path"in t))throw br(dr.REQUIRED_VALUE,"path");return t}else throw br(dr.INVALID_VALUE)}function PT(t){const{path:e,locale:n,args:r,choice:a,plural:o}=t,h={},l=r||{};return ut(n)&&(h.locale=n),mr(a)&&(h.plural=a),mr(o)&&(h.plural=o),[e,l,h]}function rxe(t,e,...n){const r=Yt(n[0])?n[0]:{},a=!!r.useI18nComponentName;(fn(r.globalInstall)?r.globalInstall:!0)&&(t.component(a?"i18n":CT.name,CT),t.component(ST.name,ST),t.component(wT.name,wT)),t.directive("t",nxe(e))}function axe(t,e,n){return{beforeCreate(){const r=Xn();if(!r)throw br(dr.UNEXPECTED_ERROR);const a=this.$options;if(a.i18n){const o=a.i18n;a.__i18n&&(o.__i18n=a.__i18n),o.__root=e,this===this.$root?this.$i18n=OT(t,o):(o.__injectWithOption=!0,this.$i18n=gx(o))}else a.__i18n?this===this.$root?this.$i18n=OT(t,a):this.$i18n=gx({__i18n:a.__i18n,__injectWithOption:!0,__root:e}):this.$i18n=t;a.__i18nGlobal&&TI(e,a,a),t.__onComponentInstanceCreated(this.$i18n),n.__setInstance(r,this.$i18n),this.$t=(...o)=>this.$i18n.t(...o),this.$rt=(...o)=>this.$i18n.rt(...o),this.$tc=(...o)=>this.$i18n.tc(...o),this.$te=(o,h)=>this.$i18n.te(o,h),this.$d=(...o)=>this.$i18n.d(...o),this.$n=(...o)=>this.$i18n.n(...o),this.$tm=o=>this.$i18n.tm(o)},mounted(){},unmounted(){const r=Xn();if(!r)throw br(dr.UNEXPECTED_ERROR);delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,n.__deleteInstance(r),delete this.$i18n}}}function OT(t,e){t.locale=e.locale||t.locale,t.fallbackLocale=e.fallbackLocale||t.fallbackLocale,t.missing=e.missing||t.missing,t.silentTranslationWarn=e.silentTranslationWarn||t.silentFallbackWarn,t.silentFallbackWarn=e.silentFallbackWarn||t.silentFallbackWarn,t.formatFallbackMessages=e.formatFallbackMessages||t.formatFallbackMessages,t.postTranslation=e.postTranslation||t.postTranslation,t.warnHtmlInMessage=e.warnHtmlInMessage||t.warnHtmlInMessage,t.escapeParameterHtml=e.escapeParameterHtml||t.escapeParameterHtml,t.sync=e.sync||t.sync,t.__composer[_I](e.pluralizationRules||t.pluralizationRules);const n=op(t.locale,{messages:e.messages,__i18n:e.__i18n});return Object.keys(n).forEach(r=>t.mergeLocaleMessage(r,n[r])),e.datetimeFormats&&Object.keys(e.datetimeFormats).forEach(r=>t.mergeDateTimeFormat(r,e.datetimeFormats[r])),e.numberFormats&&Object.keys(e.numberFormats).forEach(r=>t.mergeNumberFormat(r,e.numberFormats[r])),t}const ixe=kl("global-vue-i18n");function oxe(t={},e){const n=__VUE_I18N_LEGACY_API__&&fn(t.legacy)?t.legacy:__VUE_I18N_LEGACY_API__,r=fn(t.globalInjection)?t.globalInjection:!0,a=__VUE_I18N_LEGACY_API__&&n?!!t.allowComposition:!0,o=new Map,[h,l]=lxe(t,n),i=kl("");function u(f){return o.get(f)||null}function d(f,c){o.set(f,c)}function s(f){o.delete(f)}{const f={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return a},async install(c,...g){c.__VUE_I18N_SYMBOL__=i,c.provide(c.__VUE_I18N_SYMBOL__,f),!n&&r&&pxe(c,f.global),__VUE_I18N_FULL_INSTALL__&&rxe(c,f,...g),__VUE_I18N_LEGACY_API__&&n&&c.mixin(axe(l,l.__composer,f));const p=c.unmount;c.unmount=()=>{f.dispose(),p()}},get global(){return l},dispose(){h.stop()},__instances:o,__getInstance:u,__setInstance:d,__deleteInstance:s};return f}}function hw(t={}){const e=Xn();if(e==null)throw br(dr.MUST_BE_CALL_SETUP_TOP);if(!e.isCE&&e.appContext.app!=null&&!e.appContext.app.__VUE_I18N_SYMBOL__)throw br(dr.NOT_INSLALLED);const n=sxe(e),r=cxe(n),a=OI(e),o=uxe(t,a);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!t.__useComponent){if(!n.allowComposition)throw br(dr.NOT_AVAILABLE_IN_LEGACY_MODE);return vxe(e,o,r,t)}if(o==="global")return TI(r,t,a),r;if(o==="parent"){let i=fxe(n,e,t.__useComponent);return i==null&&(i=r),i}const h=n;let l=h.__getInstance(e);if(l==null){const i=Pr({},t);"__i18n"in a&&(i.__i18n=a.__i18n),r&&(i.__root=r),l=dw(i),dxe(h,e),h.__setInstance(e,l)}return l}function lxe(t,e,n){const r=IT();{const a=__VUE_I18N_LEGACY_API__&&e?r.run(()=>gx(t)):r.run(()=>dw(t));if(a==null)throw br(dr.UNEXPECTED_ERROR);return[r,a]}}function sxe(t){{const e=Tt(t.isCE?ixe:t.appContext.app.__VUE_I18N_SYMBOL__);if(!e)throw br(t.isCE?dr.NOT_INSLALLED_WITH_PROVIDE:dr.UNEXPECTED_ERROR);return e}}function uxe(t,e){return rp(t)?"__i18n"in e?"local":"global":t.useScope?t.useScope:"local"}function cxe(t){return t.mode==="composition"?t.global:t.global.__composer}function fxe(t,e,n=!1){let r=null;const a=e.root;let o=e.parent;for(;o!=null;){const h=t;if(t.mode==="composition")r=h.__getInstance(o);else if(__VUE_I18N_LEGACY_API__){const l=h.__getInstance(o);l!=null&&(r=l.__composer,n&&r&&!r[PI]&&(r=null))}if(r!=null||a===o)break;o=o.parent}return r}function dxe(t,e,n){gt(()=>{},e),Nr(()=>{t.__deleteInstance(e)},e)}function vxe(t,e,n,r={}){const a=e==="local",o=$t(null);if(a&&t.proxy&&!(t.proxy.$options.i18n||t.proxy.$options.__i18n))throw br(dr.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const h=fn(r.inheritLocale)?r.inheritLocale:!0,l=ae(a&&h?n.locale.value:ut(r.locale)?r.locale:_d),i=ae(a&&h?n.fallbackLocale.value:ut(r.fallbackLocale)||In(r.fallbackLocale)||Yt(r.fallbackLocale)||r.fallbackLocale===!1?r.fallbackLocale:l.value),u=ae(op(l.value,r)),d=ae(Yt(r.datetimeFormats)?r.datetimeFormats:{[l.value]:{}}),s=ae(Yt(r.numberFormats)?r.numberFormats:{[l.value]:{}}),f=a?n.missingWarn:fn(r.missingWarn)||xl(r.missingWarn)?r.missingWarn:!0,c=a?n.fallbackWarn:fn(r.fallbackWarn)||xl(r.fallbackWarn)?r.fallbackWarn:!0,g=a?n.fallbackRoot:fn(r.fallbackRoot)?r.fallbackRoot:!0,p=!!r.fallbackFormat,v=or(r.missing)?r.missing:null,m=or(r.postTranslation)?r.postTranslation:null,y=a?n.warnHtmlMessage:fn(r.warnHtmlMessage)?r.warnHtmlMessage:!0,b=!!r.escapeParameter,x=a?n.modifiers:Yt(r.modifiers)?r.modifiers:{},S=r.pluralRules||a&&n.pluralRules;function _(){return[l.value,i.value,u.value,d.value,s.value]}const O=Z({get:()=>o.value?o.value.locale.value:l.value,set:Y=>{o.value&&(o.value.locale.value=Y),l.value=Y}}),k=Z({get:()=>o.value?o.value.fallbackLocale.value:i.value,set:Y=>{o.value&&(o.value.fallbackLocale.value=Y),i.value=Y}}),E=Z(()=>o.value?o.value.messages.value:u.value),D=Z(()=>d.value),I=Z(()=>s.value);function N(){return o.value?o.value.getPostTranslationHandler():m}function F(Y){o.value&&o.value.setPostTranslationHandler(Y)}function W(){return o.value?o.value.getMissingHandler():v}function z(Y){o.value&&o.value.setMissingHandler(Y)}function H(Y){return _(),Y()}function $(...Y){return o.value?H(()=>Reflect.apply(o.value.t,null,[...Y])):H(()=>"")}function V(...Y){return o.value?Reflect.apply(o.value.rt,null,[...Y]):""}function A(...Y){return o.value?H(()=>Reflect.apply(o.value.d,null,[...Y])):H(()=>"")}function K(...Y){return o.value?H(()=>Reflect.apply(o.value.n,null,[...Y])):H(()=>"")}function R(Y){return o.value?o.value.tm(Y):{}}function U(Y,te){return o.value?o.value.te(Y,te):!1}function G(Y){return o.value?o.value.getLocaleMessage(Y):{}}function B(Y,te){o.value&&(o.value.setLocaleMessage(Y,te),u.value[Y]=te)}function j(Y,te){o.value&&o.value.mergeLocaleMessage(Y,te)}function q(Y){return o.value?o.value.getDateTimeFormat(Y):{}}function Q(Y,te){o.value&&(o.value.setDateTimeFormat(Y,te),d.value[Y]=te)}function oe(Y,te){o.value&&o.value.mergeDateTimeFormat(Y,te)}function ue(Y){return o.value?o.value.getNumberFormat(Y):{}}function de(Y,te){o.value&&(o.value.setNumberFormat(Y,te),s.value[Y]=te)}function ve(Y,te){o.value&&o.value.mergeNumberFormat(Y,te)}const ee={get id(){return o.value?o.value.id:-1},locale:O,fallbackLocale:k,messages:E,datetimeFormats:D,numberFormats:I,get inheritLocale(){return o.value?o.value.inheritLocale:h},set inheritLocale(Y){o.value&&(o.value.inheritLocale=Y)},get availableLocales(){return o.value?o.value.availableLocales:Object.keys(u.value)},get modifiers(){return o.value?o.value.modifiers:x},get pluralRules(){return o.value?o.value.pluralRules:S},get isGlobal(){return o.value?o.value.isGlobal:!1},get missingWarn(){return o.value?o.value.missingWarn:f},set missingWarn(Y){o.value&&(o.value.missingWarn=Y)},get fallbackWarn(){return o.value?o.value.fallbackWarn:c},set fallbackWarn(Y){o.value&&(o.value.missingWarn=Y)},get fallbackRoot(){return o.value?o.value.fallbackRoot:g},set fallbackRoot(Y){o.value&&(o.value.fallbackRoot=Y)},get fallbackFormat(){return o.value?o.value.fallbackFormat:p},set fallbackFormat(Y){o.value&&(o.value.fallbackFormat=Y)},get warnHtmlMessage(){return o.value?o.value.warnHtmlMessage:y},set warnHtmlMessage(Y){o.value&&(o.value.warnHtmlMessage=Y)},get escapeParameter(){return o.value?o.value.escapeParameter:b},set escapeParameter(Y){o.value&&(o.value.escapeParameter=Y)},t:$,getPostTranslationHandler:N,setPostTranslationHandler:F,getMissingHandler:W,setMissingHandler:z,rt:V,d:A,n:K,tm:R,te:U,getLocaleMessage:G,setLocaleMessage:B,mergeLocaleMessage:j,getDateTimeFormat:q,setDateTimeFormat:Q,mergeDateTimeFormat:oe,getNumberFormat:ue,setNumberFormat:de,mergeNumberFormat:ve};function L(Y){Y.locale.value=l.value,Y.fallbackLocale.value=i.value,Object.keys(u.value).forEach(te=>{Y.mergeLocaleMessage(te,u.value[te])}),Object.keys(d.value).forEach(te=>{Y.mergeDateTimeFormat(te,d.value[te])}),Object.keys(s.value).forEach(te=>{Y.mergeNumberFormat(te,s.value[te])}),Y.escapeParameter=b,Y.fallbackFormat=p,Y.fallbackRoot=g,Y.fallbackWarn=c,Y.missingWarn=f,Y.warnHtmlMessage=y}return nd(()=>{if(t.proxy==null||t.proxy.$i18n==null)throw br(dr.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const Y=o.value=t.proxy.$i18n.__composer;e==="global"?(l.value=Y.locale.value,i.value=Y.fallbackLocale.value,u.value=Y.messages.value,d.value=Y.datetimeFormats.value,s.value=Y.numberFormats.value):a&&L(Y)}),ee}const hxe=["locale","fallbackLocale","availableLocales"],gxe=["t","rt","d","n","tm"];function pxe(t,e){const n=Object.create(null);hxe.forEach(r=>{const a=Object.getOwnPropertyDescriptor(e,r);if(!a)throw br(dr.UNEXPECTED_ERROR);const o=yr(a.value)?{get(){return a.value.value},set(h){a.value.value=h}}:{get(){return a.get&&a.get()}};Object.defineProperty(n,r,o)}),t.config.globalProperties.$i18n=n,gxe.forEach(r=>{const a=Object.getOwnPropertyDescriptor(e,r);if(!a||!a.value)throw br(dr.UNEXPECTED_ERROR);Object.defineProperty(t.config.globalProperties,`$${r}`,a)})}Bbe(Wbe);Lbe(bbe);$be(dI);qbe();if(__INTLIFY_PROD_DEVTOOLS__){const t=_f();t.__INTLIFY__=!0,kbe(t.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const mxe={en:{ui:{sendPose:"Send pose to ControlNet",keybinding:"Key Bindings",canvas:"Canvas",resizeCanvas:"Resize Canvas",resetZoom:"Reset Zoom",backgroundImage:"Background Image",uploadImage:"Upload Image",poseControl:"Pose Control",addPerson:"Add Person",uploadJSON:"Upload JSON",downloadJSON:"Download JSON",downloadImage:"Download Image",addLeftHand:"Add left hand",addRightHand:"Add right hand",addFace:"Add face",panningKeybinding:"(SPACE / F) + Drag Mouse",panningDescription:"Hold key to pan the canvas",zoomKeybinding:"Mouse wheel",zoomDescription:"Zoom in/out",hideKeybinding:"Right click",hideDescription:"Hide keypoint",flip:"Flip object"}},zh:{ui:{sendPose:"发送姿势到ControlNet",keybinding:"键位绑定",canvas:"画布",resizeCanvas:"调整画布大小",resetZoom:"重置画布缩放",backgroundImage:"背景图片",uploadImage:"上传图片",poseControl:"姿势控制",addPerson:"添加人物",uploadJSON:"上传JSON",downloadJSON:"下载JSON",downloadImage:"下载图片",addLeftHand:"添加左手",addRightHand:"添加右手",addFace:"添加脸部",panningKeybinding:"(空格 或 F) + 拖动鼠标",panningDescription:"拖动画布",zoomKeybinding:"鼠标滚轮",zoomDescription:"调整画布缩放",hideKeybinding:"鼠标右键",hideDescription:"隐藏关键点",flip:"左右翻转"}},ja:{ui:{sendPose:"ControlNetにポーズを送信",keybinding:"キーバインディング",canvas:"キャンバス",resizeCanvas:"キャンバスのサイズを調整",resetZoom:"ズームをリセット",backgroundImage:"背景画像",uploadImage:"画像をアップロード",poseControl:"ポーズコントロール",addPerson:"人物を追加",uploadJSON:"JSONをアップロード",downloadJSON:"JSONをダウンロード",downloadImage:"画像をダウンロード",addLeftHand:"左手を追加",addRightHand:"右手を追加",addFace:"顔を追加",panningKeybinding:"(SPACE / F) + マウスのドラッグ",panningDescription:"キーを押しながらキャンバスをパン",zoomKeybinding:"マウスホイール",zoomDescription:"ズームイン/アウト",hideKeybinding:"右クリック",hideDescription:"キーポイントを隠す"}},ko:{ui:{sendPose:"ControlNet에 자세 보내기",keybinding:"키 바인딩",canvas:"캔버스",resizeCanvas:"캔버스 크기 조정",resetZoom:"줌 리셋",backgroundImage:"배경 이미지",uploadImage:"이미지 업로드",poseControl:"자세 제어",addPerson:"사람 추가",uploadJSON:"JSON 업로드",downloadJSON:"JSON 다운로드",downloadImage:"이미지 다운로드",addLeftHand:"왼손 추가",addRightHand:"오른손 추가",addFace:"얼굴 추가",panningKeybinding:"(스페이스바 / F) + 마우스 드래그",panningDescription:"키를 누르고 캔버스 이동",zoomKeybinding:"마우스 휠",zoomDescription:"확대/축소",hideKeybinding:"오른쪽 클릭",hideDescription:"키포인트 숨기기"}},ru:{ui:{sendPose:"Отправить позу в ControlNet",keybinding:"Привязка клавиш",canvas:"Холст",resizeCanvas:"Изменить размер холста",resetZoom:"Сбросить масштаб",backgroundImage:"Фоновое изображение",uploadImage:"Загрузить изображение",poseControl:"Управление позой",addPerson:"Добавить персонажа",uploadJSON:"Загрузить JSON",downloadJSON:"Скачать JSON",downloadImage:"Скачать изображение",addLeftHand:"Добавить левую руку",addRightHand:"Добавить правую руку",addFace:"Добавить лицо",panningKeybinding:"(ПРОБЕЛ / F) + Перетаскивание мыши",panningDescription:"Зажмите клавишу, чтобы передвинуть холст",zoomKeybinding:"Колесо мыши",zoomDescription:"Увеличить/уменьшить",hideKeybinding:"Правый клик",hideDescription:"Скрыть ключевую точку"}},de:{ui:{sendPose:"Pose an ControlNet senden",keybinding:"Tastenbelegung",canvas:"Leinwand",resizeCanvas:"Leinwandgröße ändern",resetZoom:"Zoom zurücksetzen",backgroundImage:"Hintergrundbild",uploadImage:"Bild hochladen",poseControl:"Pose Kontrolle",addPerson:"Person hinzufügen",uploadJSON:"JSON hochladen",downloadJSON:"JSON herunterladen",downloadImage:"Bild herunterladen",addLeftHand:"Linke Hand hinzufügen",addRightHand:"Rechte Hand hinzufügen",addFace:"Gesicht hinzufügen",panningKeybinding:"(LEERTASTE / F) + Maus ziehen",panningDescription:"Halten Sie die Taste gedrückt, um die Leinwand zu verschieben",zoomKeybinding:"Mausrad",zoomDescription:"Vergrößern/Verkleinern",hideKeybinding:"Rechtsklick",hideDescription:"Schlüsselpunkt verbergen"}},es:{ui:{sendPose:"Enviar pose a ControlNet",keybinding:"Atajos de teclado",canvas:"Lienzo",resizeCanvas:"Cambiar tamaño de lienzo",resetZoom:"Restablecer zoom",backgroundImage:"Imagen de fondo",uploadImage:"Subir imagen",poseControl:"Control de pose",addPerson:"Añadir persona",uploadJSON:"Subir JSON",downloadJSON:"Descargar JSON",downloadImage:"Descargar imagen",addLeftHand:"Añadir mano izquierda",addRightHand:"Añadir mano derecha",addFace:"Añadir rostro",panningKeybinding:"(ESPACIO / F) + Arrastrar ratón",panningDescription:"Mantén presionada la tecla para mover el lienzo",zoomKeybinding:"Rueda del ratón",zoomDescription:"Acercar/Alejar",hideKeybinding:"Clic derecho",hideDescription:"Ocultar punto clave"}},fr:{ui:{sendPose:"Envoyer la pose à ControlNet",keybinding:"Raccourcis clavier",canvas:"Toile",resizeCanvas:"Redimensionner la toile",resetZoom:"Réinitialiser le zoom",backgroundImage:"Image de fond",uploadImage:"Télécharger une image",poseControl:"Contrôle de pose",addPerson:"Ajouter une personne",uploadJSON:"Télécharger JSON",downloadJSON:"Télécharger JSON",downloadImage:"Télécharger une image",addLeftHand:"Ajouter la main gauche",addRightHand:"Ajouter la main droite",addFace:"Ajouter un visage",panningKeybinding:"(ESPACE / F) + Glisser la souris",panningDescription:"Maintenez la touche pour déplacer la toile",zoomKeybinding:"Molette de la souris",zoomDescription:"Zoomer/Dézoomer",hideKeybinding:"Clic droit",hideDescription:"Masquer le point clé"}}},yxe=oxe({locale:navigator.language.split("-")[0]||"en",fallbackLocale:"en",messages:mxe}),bxe=new URLSearchParams(window.location.search),xxe=bxe.get("theme");xxe==="dark"?(h4(()=>Promise.resolve({}),["assets/antd.dark-4fd6fdfe.css"]),document.body.classList.add("dark-theme")):h4(()=>Promise.resolve({}),["assets/antd.dark-4fd6fdfe.css"]);const Cxe=Nk(Nye);Cxe.use(Nme()).use(Bye).use(Mme).use(yxe).mount("#app")});export default Sxe(); +