403Webshell
Server IP : 80.87.202.40  /  Your IP : 216.73.216.169
Web Server : Apache
System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64
User : bitrix ( 600)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : OFF |  Sudo : ON |  Pkexec : ON
Directory :  /home/bitrix/ext_www/rospirotorg.ru/bitrix/js/ui/vue3/pinia/dist/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/bitrix/ext_www/rospirotorg.ru/bitrix/js/ui/vue3/pinia/dist/pinia.bundle.min.js
(function(){if(typeof this.BX!=="undefined"&&typeof this.BX.Vue3!=="undefined"&&typeof this.BX.Vue3.Pinia!=="undefined"){var e="2.2.2";if(this.BX.Vue3.Pinia.version!==e){console.warn("BX.Vue3.Pinia already loaded. Loaded: "+this.BX.Vue3.Pinia.version+", Skipped: "+e+". Version differences may cause errors!")}return}this.BX=this.BX||{};this.BX.Vue3=this.BX.Vue3||{};(function(e,t){"use strict";
/**
	 * pinia v2.2.2
	 * (c) 2024 Eduardo San Martin Morote
	 * @license MIT
	 *
	 * @source: https://unpkg.com/pinia@2.2.2/dist/pinia.esm-browser.js
	 * @source: https://github.com/vueuse/vue-demi/blob/master/lib/v3/index.cjs
	 */const n=false;function o(e,t,n){if(Array.isArray(e)){e.length=Math.max(e.length,t);e.splice(t,1,n)}else if(typeof e==="object"){e[t]=n}return n}function i(e,t){if(Array.isArray(e)){e.splice(t,1)}else if(typeof e==="object"){delete e[t]}}function s(){return r().__VUE_DEVTOOLS_GLOBAL_HOOK__}function r(){return typeof navigator!=="undefined"?window:typeof global!=="undefined"?global:{}}const a="devtools-plugin:setup";function c(e,t){const n=s();if(n){n.emit(a,e,t)}else{const n=r();const o=n.__VUE_DEVTOOLS_PLUGINS__=n.__VUE_DEVTOOLS_PLUGINS__||[];o.push({pluginDescriptor:e,setupFn:t})}}let u;const l=e=>u=e;const f=()=>t.hasInjectionContext()&&t.inject(p)||u;const p=Symbol("pinia");function d(e){return e&&typeof e==="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!=="function"}(function(e){e["direct"]="direct";e["patchObject"]="patch object";e["patchFunction"]="patch function"})(e.MutationType||(e.MutationType={}));const h=typeof window!=="undefined";const y=(()=>typeof window==="object"&&window.window===window?window:typeof self==="object"&&self.self===self?self:typeof global==="object"&&global.global===global?global:typeof globalThis==="object"?globalThis:{HTMLElement:null})();function g(e,{autoBom:t=false}={}){if(t&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type)){return new Blob([String.fromCharCode(65279),e],{type:e.type})}return e}function m(e,t,n){const o=new XMLHttpRequest;o.open("GET",e);o.responseType="blob";o.onload=function(){$(o.response,t,n)};o.onerror=function(){console.error("could not download file")};o.send()}function _(e){const t=new XMLHttpRequest;t.open("HEAD",e,false);try{t.send()}catch(e){}return t.status>=200&&t.status<=299}function b(e){try{e.dispatchEvent(new MouseEvent("click"))}catch(t){const n=document.createEvent("MouseEvents");n.initMouseEvent("click",true,true,window,0,0,0,80,20,false,false,false,false,0,null);e.dispatchEvent(n)}}const v=typeof navigator==="object"?navigator:{userAgent:""};const w=(()=>/Macintosh/.test(v.userAgent)&&/AppleWebKit/.test(v.userAgent)&&!/Safari/.test(v.userAgent))();const $=!h?()=>{}:typeof HTMLAnchorElement!=="undefined"&&"download"in HTMLAnchorElement.prototype&&!w?S:"msSaveOrOpenBlob"in v?O:P;function S(e,t="download",n){const o=document.createElement("a");o.download=t;o.rel="noopener";if(typeof e==="string"){o.href=e;if(o.origin!==location.origin){if(_(o.href)){m(e,t,n)}else{o.target="_blank";b(o)}}else{b(o)}}else{o.href=URL.createObjectURL(e);setTimeout((function(){URL.revokeObjectURL(o.href)}),4e4);setTimeout((function(){b(o)}),0)}}function O(e,t="download",n){if(typeof e==="string"){if(_(e)){m(e,t,n)}else{const t=document.createElement("a");t.href=e;t.target="_blank";setTimeout((function(){b(t)}))}}else{navigator.msSaveOrOpenBlob(g(e,n),t)}}function P(e,t,n,o){o=o||open("","_blank");if(o){o.document.title=o.document.body.innerText="downloading..."}if(typeof e==="string")return m(e,t,n);const i=e.type==="application/octet-stream";const s=/constructor/i.test(String(y.HTMLElement))||"safari"in y;const r=/CriOS\/[\d]+/.test(navigator.userAgent);if((r||i&&s||w)&&typeof FileReader!=="undefined"){const t=new FileReader;t.onloadend=function(){let e=t.result;if(typeof e!=="string"){o=null;throw new Error("Wrong reader.result type")}e=r?e:e.replace(/^data:[^;]*;/,"data:attachment/file;");if(o){o.location.href=e}else{location.assign(e)}o=null};t.readAsDataURL(e)}else{const t=URL.createObjectURL(e);if(o)o.location.assign(t);else location.href=t;o=null;setTimeout((function(){URL.revokeObjectURL(t)}),4e4)}}function T(e,t){const n="\ud83c\udf4d "+e;if(typeof __VUE_DEVTOOLS_TOAST__==="function"){__VUE_DEVTOOLS_TOAST__(n,t)}else if(t==="error"){console.error(n)}else if(t==="warn"){console.warn(n)}else{console.log(n)}}function j(e){return"_a"in e&&"install"in e}function E(){if(!("clipboard"in navigator)){T(`Your browser doesn't support the Clipboard API`,"error");return true}}function k(e){if(e instanceof Error&&e.message.toLowerCase().includes("document is not focused")){T('You need to activate the "Emulate a focused page" setting in the "Rendering" panel of devtools.',"warn");return true}return false}async function I(e){if(E())return;try{await navigator.clipboard.writeText(JSON.stringify(e.state.value));T("Global state copied to clipboard.")}catch(e){if(k(e))return;T(`Failed to serialize the state. Check the console for more details.`,"error");console.error(e)}}async function R(e){if(E())return;try{U(e,JSON.parse(await navigator.clipboard.readText()));T("Global state pasted from clipboard.")}catch(e){if(k(e))return;T(`Failed to deserialize the state from clipboard. Check the console for more details.`,"error");console.error(e)}}async function A(e){try{$(new Blob([JSON.stringify(e.state.value)],{type:"text/plain;charset=utf-8"}),"pinia-state.json")}catch(e){T(`Failed to export the state as JSON. Check the console for more details.`,"error");console.error(e)}}let V;function C(){if(!V){V=document.createElement("input");V.type="file";V.accept=".json"}function e(){return new Promise(((e,t)=>{V.onchange=async()=>{const t=V.files;if(!t)return e(null);const n=t.item(0);if(!n)return e(null);return e({text:await n.text(),file:n})};V.oncancel=()=>e(null);V.onerror=t;V.click()}))}return e}async function L(e){try{const t=C();const n=await t();if(!n)return;const{text:o,file:i}=n;U(e,JSON.parse(o));T(`Global state imported from "${i.name}".`)}catch(e){T(`Failed to import the state from JSON. Check the console for more details.`,"error");console.error(e)}}function U(e,t){for(const n in t){const o=e.state.value[n];if(o){Object.assign(o,t[n])}else{e.state.value[n]=t[n]}}}function x(e){return{_custom:{display:e}}}const M="\ud83c\udf4d Pinia (root)";const B="_root";function D(e){return j(e)?{id:B,label:M}:{id:e.$id,label:e.$id}}function N(e){if(j(e)){const t=Array.from(e._s.keys());const n=e._s;const o={state:t.map((t=>({editable:true,key:t,value:e.state.value[t]}))),getters:t.filter((e=>n.get(e)._getters)).map((e=>{const t=n.get(e);return{editable:false,key:e,value:t._getters.reduce(((e,n)=>{e[n]=t[n];return e}),{})}}))};return o}const t={state:Object.keys(e.$state).map((t=>({editable:true,key:t,value:e.$state[t]})))};if(e._getters&&e._getters.length){t.getters=e._getters.map((t=>({editable:false,key:t,value:e[t]})))}if(e._customProperties.size){t.customProperties=Array.from(e._customProperties).map((t=>({editable:true,key:t,value:e[t]})))}return t}function X(e){if(!e)return{};if(Array.isArray(e)){return e.reduce(((e,t)=>{e.keys.push(t.key);e.operations.push(t.type);e.oldValue[t.key]=t.oldValue;e.newValue[t.key]=t.newValue;return e}),{oldValue:{},keys:[],operations:[],newValue:{}})}else{return{operation:x(e.type),key:x(e.key),oldValue:e.oldValue,newValue:e.newValue}}}function F(t){switch(t){case e.MutationType.direct:return"mutation";case e.MutationType.patchFunction:return"$patch";case e.MutationType.patchObject:return"$patch";default:return"unknown"}}let H=true;const J=[];const G="pinia:mutations";const W="pinia";const{assign:z}=Object;const Y=e=>"\ud83c\udf4d "+e;function q(e,n){c({id:"dev.esm.pinia",label:"Pinia \ud83c\udf4d",logo:"https://pinia.vuejs.org/logo.svg",packageName:"pinia",homepage:"https://pinia.vuejs.org",componentStateTypes:J,app:e},(o=>{if(typeof o.now!=="function"){T("You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html.")}o.addTimelineLayer({id:G,label:`Pinia \ud83c\udf4d`,color:15064968});o.addInspector({id:W,label:"Pinia \ud83c\udf4d",icon:"storage",treeFilterPlaceholder:"Search stores",actions:[{icon:"content_copy",action:()=>{I(n)},tooltip:"Serialize and copy the state"},{icon:"content_paste",action:async()=>{await R(n);o.sendInspectorTree(W);o.sendInspectorState(W)},tooltip:"Replace the state with the content of your clipboard"},{icon:"save",action:()=>{A(n)},tooltip:"Save the state as a JSON file"},{icon:"folder_open",action:async()=>{await L(n);o.sendInspectorTree(W);o.sendInspectorState(W)},tooltip:"Import the state from a JSON file"}],nodeActions:[{icon:"restore",tooltip:'Reset the state (with "$reset")',action:e=>{const t=n._s.get(e);if(!t){T(`Cannot reset "${e}" store because it wasn't found.`,"warn")}else if(typeof t.$reset!=="function"){T(`Cannot reset "${e}" store because it doesn't have a "$reset" method implemented.`,"warn")}else{t.$reset();T(`Store "${e}" reset.`)}}}]});o.on.inspectComponent(((e,n)=>{const o=e.componentInstance&&e.componentInstance.proxy;if(o&&o._pStores){const n=e.componentInstance.proxy._pStores;Object.values(n).forEach((n=>{e.instanceData.state.push({type:Y(n.$id),key:"state",editable:true,value:n._isOptionsAPI?{_custom:{value:t.toRaw(n.$state),actions:[{icon:"restore",tooltip:"Reset the state of this store",action:()=>n.$reset()}]}}:Object.keys(n.$state).reduce(((e,t)=>{e[t]=n.$state[t];return e}),{})});if(n._getters&&n._getters.length){e.instanceData.state.push({type:Y(n.$id),key:"getters",editable:false,value:n._getters.reduce(((e,t)=>{try{e[t]=n[t]}catch(n){e[t]=n}return e}),{})})}}))}}));o.on.getInspectorTree((t=>{if(t.app===e&&t.inspectorId===W){let e=[n];e=e.concat(Array.from(n._s.values()));t.rootNodes=(t.filter?e.filter((e=>"$id"in e?e.$id.toLowerCase().includes(t.filter.toLowerCase()):M.toLowerCase().includes(t.filter.toLowerCase()))):e).map(D)}}));globalThis.$pinia=n;o.on.getInspectorState((o=>{if(o.app===e&&o.inspectorId===W){const e=o.nodeId===B?n:n._s.get(o.nodeId);if(!e){return}if(e){if(o.nodeId!==B)globalThis.$store=t.toRaw(e);o.state=N(e)}}}));o.on.editInspectorState(((t,o)=>{if(t.app===e&&t.inspectorId===W){const e=t.nodeId===B?n:n._s.get(t.nodeId);if(!e){return T(`store "${t.nodeId}" not found`,"error")}const{path:o}=t;if(!j(e)){if(o.length!==1||!e._customProperties.has(o[0])||o[0]in e.$state){o.unshift("$state")}}else{o.unshift("state")}H=false;t.set(e,o,t.state.value);H=true}}));o.on.editComponentState((e=>{if(e.type.startsWith("\ud83c\udf4d")){const t=e.type.replace(/^\ud83c\udf4d\s*/,"");const o=n._s.get(t);if(!o){return T(`store "${t}" not found`,"error")}const{path:i}=e;if(i[0]!=="state"){return T(`Invalid path for store "${t}":\n${i}\nOnly state can be modified.`)}i[0]="$state";H=false;e.set(o,i,e.state.value);H=true}}))}))}function K(n,o){if(!J.includes(Y(o.$id))){J.push(Y(o.$id))}c({id:"dev.esm.pinia",label:"Pinia \ud83c\udf4d",logo:"https://pinia.vuejs.org/logo.svg",packageName:"pinia",homepage:"https://pinia.vuejs.org",componentStateTypes:J,app:n,settings:{logStoreChanges:{label:"Notify about new/deleted stores",type:"boolean",defaultValue:true}}},(n=>{const i=typeof n.now==="function"?n.now.bind(n):Date.now;o.$onAction((({after:e,onError:t,name:s,args:r})=>{const a=Q++;n.addTimelineEvent({layerId:G,event:{time:i(),title:"\ud83d\udeeb "+s,subtitle:"start",data:{store:x(o.$id),action:x(s),args:r},groupId:a}});e((e=>{Z=undefined;n.addTimelineEvent({layerId:G,event:{time:i(),title:"\ud83d\udeec "+s,subtitle:"end",data:{store:x(o.$id),action:x(s),args:r,result:e},groupId:a}})}));t((e=>{Z=undefined;n.addTimelineEvent({layerId:G,event:{time:i(),logType:"error",title:"\ud83d\udca5 "+s,subtitle:"end",data:{store:x(o.$id),action:x(s),args:r,error:e},groupId:a}})}))}),true);o._customProperties.forEach((e=>{t.watch((()=>t.unref(o[e])),((t,o)=>{n.notifyComponentUpdate();n.sendInspectorState(W);if(H){n.addTimelineEvent({layerId:G,event:{time:i(),title:"Change",subtitle:e,data:{newValue:t,oldValue:o},groupId:Z}})}}),{deep:true})}));o.$subscribe((({events:t,type:s},r)=>{n.notifyComponentUpdate();n.sendInspectorState(W);if(!H)return;const a={time:i(),title:F(s),data:z({store:x(o.$id)},X(t)),groupId:Z};if(s===e.MutationType.patchFunction){a.subtitle="\u2935\ufe0f"}else if(s===e.MutationType.patchObject){a.subtitle="\ud83e\udde9"}else if(t&&!Array.isArray(t)){a.subtitle=t.type}if(t){a.data["rawEvent(s)"]={_custom:{display:"DebuggerEvent",type:"object",tooltip:"raw DebuggerEvent[]",value:t}}}n.addTimelineEvent({layerId:G,event:a})}),{detached:true,flush:"sync"});const s=o._hotUpdate;o._hotUpdate=t.markRaw((e=>{s(e);n.addTimelineEvent({layerId:G,event:{time:i(),title:"\ud83d\udd25 "+o.$id,subtitle:"HMR update",data:{store:x(o.$id),info:x(`HMR update`)}}});n.notifyComponentUpdate();n.sendInspectorTree(W);n.sendInspectorState(W)}));const{$dispose:r}=o;o.$dispose=()=>{r();n.notifyComponentUpdate();n.sendInspectorTree(W);n.sendInspectorState(W);n.getSettings().logStoreChanges&&T(`Disposed "${o.$id}" store \ud83d\uddd1`)};n.notifyComponentUpdate();n.sendInspectorTree(W);n.sendInspectorState(W);n.getSettings().logStoreChanges&&T(`"${o.$id}" store installed \ud83c\udd95`)}))}let Q=0;let Z;function ee(e,n,o){const i=n.reduce(((n,o)=>{n[o]=t.toRaw(e)[o];return n}),{});for(const t in i){e[t]=function(){const n=Q;const s=o?new Proxy(e,{get(...e){Z=n;return Reflect.get(...e)},set(...e){Z=n;return Reflect.set(...e)}}):e;Z=n;const r=i[t].apply(s,arguments);Z=undefined;return r}}}function te({app:e,store:n,options:o}){if(n.$id.startsWith("__hot:")){return}n._isOptionsAPI=!!o.state;if(!n._p._testing){ee(n,Object.keys(o.actions),n._isOptionsAPI);const e=n._hotUpdate;t.toRaw(n)._hotUpdate=function(t){e.apply(this,arguments);ee(n,Object.keys(t._hmrPayload.actions),!!n._isOptionsAPI)}}K(e,n)}function ne(){const e=t.effectScope(true);const o=e.run((()=>t.ref({})));let i=[];let s=[];const r=t.markRaw({install(e){l(r);{r._a=e;e.provide(p,r);e.config.globalProperties.$pinia=r;if(h){q(e,r)}s.forEach((e=>i.push(e)));s=[]}},use(e){if(!this._a&&!n){s.push(e)}else{i.push(e)}return this},_p:i,_a:null,_e:e,_s:new Map,state:o});if(typeof Proxy!=="undefined"){r.use(te)}return r}function oe(e){e._e.stop();e._s.clear();e._p.splice(0);e.state.value={};e._a=null}const ie=e=>typeof e==="function"&&typeof e.$id==="string";function se(e,n){for(const o in n){const i=n[o];if(!(o in e)){continue}const s=e[o];if(d(s)&&d(i)&&!t.isRef(i)&&!t.isReactive(i)){e[o]=se(s,i)}else{{e[o]=i}}}return e}function re(e,t){return n=>{const o=t.data.pinia||e._pinia;if(!o){return}t.data.pinia=o;for(const i in n){const s=n[i];if(ie(s)&&o._s.has(s.$id)){const n=s.$id;if(n!==e.$id){console.warn(`The id of the store changed from "${e.$id}" to "${n}". Reloading.`);return t.invalidate()}const i=o._s.get(n);if(!i){console.log(`[Pinia]: skipping hmr because store doesn't exist yet`);return}s(o,i)}}}}const ae=()=>{};function ce(e,n,o,i=ae){e.push(n);const s=()=>{const t=e.indexOf(n);if(t>-1){e.splice(t,1);i()}};if(!o&&t.getCurrentScope()){t.onScopeDispose(s)}return s}function ue(e,...t){e.slice().forEach((e=>{e(...t)}))}const le=e=>e();const fe=Symbol();const pe=Symbol();function de(e,n){if(e instanceof Map&&n instanceof Map){n.forEach(((t,n)=>e.set(n,t)))}else if(e instanceof Set&&n instanceof Set){n.forEach(e.add,e)}for(const o in n){if(!n.hasOwnProperty(o))continue;const i=n[o];const s=e[o];if(d(s)&&d(i)&&e.hasOwnProperty(o)&&!t.isRef(i)&&!t.isReactive(i)){e[o]=de(s,i)}else{e[o]=i}}return e}const he=Symbol("pinia:skipHydration");function ye(e){return Object.defineProperty(e,he,{})}function ge(e){return!d(e)||!e.hasOwnProperty(he)}const{assign:me}=Object;function _e(e){return!!(t.isRef(e)&&e.effect)}function be(e,n,o,i){const{state:s,actions:r,getters:a}=n;const c=o.state.value[e];let u;function f(){if(!c&&!i){{o.state.value[e]=s?s():{}}}const n=i?t.toRefs(t.ref(s?s():{}).value):t.toRefs(o.state.value[e]);return me(n,r,Object.keys(a||{}).reduce(((i,s)=>{if(s in n){console.warn(`[\ud83c\udf4d]: A getter cannot have the same name as another state property. Rename one of them. Found with "${s}" in store "${e}".`)}i[s]=t.markRaw(t.computed((()=>{l(o);const t=o._s.get(e);return a[s].call(t,t)})));return i}),{}))}u=ve(e,f,n,o,i,true);return u}function ve(n,s,r={},a,c,u){let f;const p=me({actions:{}},r);if(!a._e.active){throw new Error("Pinia destroyed")}const y={deep:true};{y.onTrigger=e=>{if(g){v=e}else if(g==false&&!I._hotUpdating){if(Array.isArray(v)){v.push(e)}else{console.error("\ud83c\udf4d debuggerEvents should be an array. This is most likely an internal Pinia bug.")}}}}let g;let m;let _=[];let b=[];let v;const w=a.state.value[n];if(!u&&!w&&!c){{a.state.value[n]={}}}const $=t.ref({});let S;function O(o){let i;g=m=false;{v=[]}if(typeof o==="function"){o(a.state.value[n]);i={type:e.MutationType.patchFunction,storeId:n,events:v}}else{de(a.state.value[n],o);i={type:e.MutationType.patchObject,payload:o,storeId:n,events:v}}const s=S=Symbol();t.nextTick().then((()=>{if(S===s){g=true}}));m=true;ue(_,i,a.state.value[n])}const P=u?function e(){const{state:t}=r;const n=t?t():{};this.$patch((e=>{me(e,n)}))}:()=>{throw new Error(`\ud83c\udf4d: Store "${n}" is built using the setup syntax and does not implement $reset().`)};function T(){f.stop();_=[];b=[];a._s.delete(n)}const j=(e,t="")=>{if(fe in e){e[pe]=t;return e}const o=function(){l(a);const t=Array.from(arguments);const i=[];const s=[];function r(e){i.push(e)}function c(e){s.push(e)}ue(b,{args:t,name:o[pe],store:I,after:r,onError:c});let u;try{u=e.apply(this&&this.$id===n?this:I,t)}catch(e){ue(s,e);throw e}if(u instanceof Promise){return u.then((e=>{ue(i,e);return e})).catch((e=>{ue(s,e);return Promise.reject(e)}))}ue(i,u);return u};o[fe]=true;o[pe]=t;return o};const E=t.markRaw({actions:{},getters:{},state:[],hotState:$});const k={_p:a,$id:n,$onAction:ce.bind(null,b),$patch:O,$reset:P,$subscribe(o,i={}){const s=ce(_,o,i.detached,(()=>r()));const r=f.run((()=>t.watch((()=>a.state.value[n]),(t=>{if(i.flush==="sync"?m:g){o({storeId:n,type:e.MutationType.direct,events:v},t)}}),me({},y,i))));return s},$dispose:T};const I=t.reactive(me({_hmrPayload:E,_customProperties:t.markRaw(new Set)},k));a._s.set(n,I);const R=a._a&&a._a.runWithContext||le;const A=R((()=>a._e.run((()=>(f=t.effectScope()).run((()=>s({action:j})))))));for(const e in A){const i=A[e];if(t.isRef(i)&&!_e(i)||t.isReactive(i)){if(c){o($.value,e,t.toRef(A,e))}else if(!u){if(w&&ge(i)){if(t.isRef(i)){i.value=w[e]}else{de(i,w[e])}}{a.state.value[n][e]=i}}{E.state.push(e)}}else if(typeof i==="function"){const t=c?i:j(i,e);{A[e]=t}{E.actions[e]=i}p.actions[e]=i}else{if(_e(i)){E.getters[e]=u?r.getters[e]:i;if(h){const n=A._getters||(A._getters=t.markRaw([]));n.push(e)}}}}{me(I,A);me(t.toRaw(I),A)}Object.defineProperty(I,"$state",{get:()=>c?$.value:a.state.value[n],set:e=>{if(c){throw new Error("cannot set hotState")}O((t=>{me(t,e)}))}});{I._hotUpdate=t.markRaw((e=>{I._hotUpdating=true;e._hmrPayload.state.forEach((n=>{if(n in I.$state){const t=e.$state[n];const o=I.$state[n];if(typeof t==="object"&&d(t)&&d(o)){se(t,o)}else{e.$state[n]=o}}o(I,n,t.toRef(e.$state,n))}));Object.keys(I.$state).forEach((t=>{if(!(t in e.$state)){i(I,t)}}));g=false;m=false;a.state.value[n]=t.toRef(e._hmrPayload,"hotState");m=true;t.nextTick().then((()=>{g=true}));for(const t in e._hmrPayload.actions){const n=e[t];o(I,t,j(n,t))}for(const n in e._hmrPayload.getters){const i=e._hmrPayload.getters[n];const s=u?t.computed((()=>{l(a);return i.call(I,I)})):i;o(I,n,s)}Object.keys(I._hmrPayload.getters).forEach((t=>{if(!(t in e._hmrPayload.getters)){i(I,t)}}));Object.keys(I._hmrPayload.actions).forEach((t=>{if(!(t in e._hmrPayload.actions)){i(I,t)}}));I._hmrPayload=e._hmrPayload;I._getters=e._getters;I._hotUpdating=false}))}if(h){const e={writable:true,configurable:true,enumerable:false};["_p","_hmrPayload","_getters","_customProperties"].forEach((t=>{Object.defineProperty(I,t,me({value:I[t]},e))}))}a._p.forEach((e=>{if(h){const t=f.run((()=>e({store:I,app:a._a,pinia:a,options:p})));Object.keys(t||{}).forEach((e=>I._customProperties.add(e)));me(I,t)}else{me(I,f.run((()=>e({store:I,app:a._a,pinia:a,options:p}))))}}));if(I.$state&&typeof I.$state==="object"&&typeof I.$state.constructor==="function"&&!I.$state.constructor.toString().includes("[native code]")){console.warn(`[\ud83c\udf4d]: The "state" must be a plain object. It cannot be\n`+`\tstate: () => new MyClass()\n`+`Found in store "${I.$id}".`)}if(w&&u&&r.hydrate){r.hydrate(I.$state,w)}g=true;m=true;return I}function we(e,n,o){let i;let s;const r=typeof n==="function";if(typeof e==="string"){i=e;s=r?o:n}else{s=e;i=e.id;if(typeof i!=="string"){throw new Error(`[\ud83c\udf4d]: "defineStore()" must be passed a store id as its first argument.`)}}function a(e,o){const c=t.hasInjectionContext();e=e||(c?t.inject(p,null):null);if(e)l(e);if(!u){throw new Error(`[\ud83c\udf4d]: "getActivePinia()" was called but there was no active Pinia. Are you trying to use a store before calling "app.use(pinia)"?\n`+`See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help.\n`+`This will fail in production.`)}e=u;if(!e._s.has(i)){if(r){ve(i,n,s,e)}else{be(i,s,e)}{a._pinia=e}}const f=e._s.get(i);if(o){const t="__hot:"+i;const a=r?ve(t,n,s,e,true):be(t,me({},s),e,true);o._hotUpdate(a);delete e.state.value[t];e._s.delete(t)}if(h){const e=t.getCurrentInstance();if(e&&e.proxy&&!o){const t=e.proxy;const n="_pStores"in t?t._pStores:t._pStores={};n[i]=f}}return f}a.$id=i;return a}let $e="Store";function Se(e){$e=e}function Oe(...e){if(Array.isArray(e[0])){console.warn(`[\ud83c\udf4d]: Directly pass all stores to "mapStores()" without putting them in an array:\n`+`Replace\n`+`\tmapStores([useAuthStore, useCartStore])\n`+`with\n`+`\tmapStores(useAuthStore, useCartStore)\n`+`This will fail in production if not fixed.`);e=e[0]}return e.reduce(((e,t)=>{e[t.$id+$e]=function(){return t(this.$pinia)};return e}),{})}function Pe(e,t){return Array.isArray(t)?t.reduce(((t,n)=>{t[n]=function(){return e(this.$pinia)[n]};return t}),{}):Object.keys(t).reduce(((n,o)=>{n[o]=function(){const n=e(this.$pinia);const i=t[o];return typeof i==="function"?i.call(this,n):n[i]};return n}),{})}const Te=Pe;function je(e,t){return Array.isArray(t)?t.reduce(((t,n)=>{t[n]=function(...t){return e(this.$pinia)[n](...t)};return t}),{}):Object.keys(t).reduce(((n,o)=>{n[o]=function(...n){return e(this.$pinia)[t[o]](...n)};return n}),{})}function Ee(e,t){return Array.isArray(t)?t.reduce(((t,n)=>{t[n]={get(){return e(this.$pinia)[n]},set(t){return e(this.$pinia)[n]=t}};return t}),{}):Object.keys(t).reduce(((n,o)=>{n[o]={get(){return e(this.$pinia)[t[o]]},set(n){return e(this.$pinia)[t[o]]=n}};return n}),{})}function ke(e){{e=t.toRaw(e);const n={};for(const o in e){const i=e[o];if(t.isRef(i)||t.isReactive(i)){n[o]=t.toRef(e,o)}}return n}}const Ie=function(e){e.mixin({beforeCreate(){const e=this.$options;if(e.pinia){const t=e.pinia;if(!this._provided){const e={};Object.defineProperty(this,"_provided",{get:()=>e,set:t=>Object.assign(e,t)})}this._provided[p]=t;if(!this.$pinia){this.$pinia=t}t._a=this;if(h){l(t)}if(h){q(t._a,t)}}else if(!this.$pinia&&e.parent&&e.parent.$pinia){this.$pinia=e.parent.$pinia}},destroyed(){delete this._pStores}})};const Re="2.2.2";e.PiniaVuePlugin=Ie;e.acceptHMRUpdate=re;e.createPinia=ne;e.defineStore=we;e.disposePinia=oe;e.getActivePinia=f;e.mapActions=je;e.mapGetters=Te;e.mapState=Pe;e.mapStores=Oe;e.mapWritableState=Ee;e.setActivePinia=l;e.setMapStoreSuffix=Se;e.skipHydrate=ye;e.storeToRefs=ke;e.version=Re})(this.BX.Vue3.Pinia=this.BX.Vue3.Pinia||{},BX.Vue3)})();
//# sourceMappingURL=pinia.bundle.map.js

Youez - 2016 - github.com/yon3zu
LinuXploit