platypush/platypush/backend/http/webapp/dist/static/js/chunk-vendors-legacy.6835b8...

8 lines
176 KiB
JavaScript
Raw Normal View History

(self["webpackChunkplatypush"]=self["webpackChunkplatypush"]||[]).push([[4998],{2262:function(t,e,n){"use strict";n.d(e,{Bj:function(){return i},Fl:function(){return Jt},IU:function(){return Rt},Jd:function(){return _},PG:function(){return _t},SU:function(){return Dt},Um:function(){return xt},WL:function(){return Bt},X$:function(){return R},X3:function(){return kt},XI:function(){return Lt},Xl:function(){return At},dq:function(){return Pt},iH:function(){return Nt},j:function(){return O},lk:function(){return S},qj:function(){return bt},qq:function(){return b},yT:function(){return Ot}});var r=n(3577);let o;class i{constructor(t=!1){this.active=!0,this.effects=[],this.cleanups=[],!t&&o&&(this.parent=o,this.index=(o.scopes||(o.scopes=[])).push(this)-1)}run(t){if(this.active)try{return o=this,t()}finally{o=this.parent}else 0}on(){o=this}off(){o=this.parent}stop(t){if(this.active){let e,n;for(e=0,n=this.effects.length;e<n;e++)this.effects[e].stop();for(e=0,n=this.cleanups.length;e<n;e++)this.cleanups[e]();if(this.scopes)for(e=0,n=this.scopes.length;e<n;e++)this.scopes[e].stop(!0);if(this.parent&&!t){const t=this.parent.scopes.pop();t&&t!==this&&(this.parent.scopes[this.index]=t,t.index=this.index)}this.active=!1}}}function s(t,e=o){e&&e.active&&e.effects.push(t)}const c=t=>{const e=new Set(t);return e.w=0,e.n=0,e},u=t=>(t.w&h)>0,a=t=>(t.n&h)>0,l=({deps:t})=>{if(t.length)for(let e=0;e<t.length;e++)t[e].w|=h},f=t=>{const{deps:e}=t;if(e.length){let n=0;for(let r=0;r<e.length;r++){const o=e[r];u(o)&&!a(o)?o.delete(t):e[n++]=o,o.w&=~h,o.n&=~h}e.length=n}},p=new WeakMap;let d=0,h=1;const v=30;let m;const g=Symbol(""),y=Symbol("");class b{constructor(t,e=null,n){this.fn=t,this.scheduler=e,this.active=!0,this.deps=[],this.parent=void 0,s(this,n)}run(){if(!this.active)return this.fn();let t=m,e=w;while(t){if(t===this)return;t=t.parent}try{return this.parent=m,m=this,w=!0,h=1<<++d,d<=v?l(this):x(this),this.fn()}finally{d<=v&&f(this),h=1<<--d,m=this.parent,w=e,this.parent=void 0}}stop(){this.active&&(x(this),this.onStop&&this.onStop(),this.active=!1)}}function x(t){const{deps:e}=t;if(e.length){for(let n=0;n<e.length;n++)e[n].delete(t);e.length=0}}let w=!0;const E=[];function _(){E.push(w),w=!1}function S(){const t=E.pop();w=void 0===t||t}function O(t,e,n){if(w&&m){let e=p.get(t);e||p.set(t,e=new Map);let r=e.get(n);r||e.set(n,r=c());const o=void 0;k(r,o)}}function k(t,e){let n=!1;d<=v?a(t)||(t.n|=h,n=!u(t)):n=!t.has(m),n&&(t.add(m),m.deps.push(t))}function R(t,e,n,o,i,s){const u=p.get(t);if(!u)return;let a=[];if("clear"===e)a=[...u.values()];else if("length"===n&&(0,r.kJ)(t))u.forEach(((t,e)=>{("length"===e||e>=o)&&a.push(t)}));else switch(void 0!==n&&a.push(u.get(n)),e){case"add":(0,r.kJ)(t)?(0,r.S0)(n)&&a.push(u.get("length")):(a.push(u.get(g)),(0,r._N)(t)&&a.push(u.get(y)));break;case"delete":(0,r.kJ)(t)||(a.push(u.get(g)),(0,r._N)(t)&&a.push(u.get(y)));break;case"set":(0,r._N)(t)&&a.push(u.get(g));break}if(1===a.length)a[0]&&A(a[0]);else{const t=[];for(const e of a)e&&t.push(...e);A(c(t))}}function A(t,e){for(const n of(0,r.kJ)(t)?t:[...t])(n!==m||n.allowRecurse)&&(n.scheduler?n.scheduler():n.run())}const j=(0,r.fY)("__proto__,__v_isRef,__isVue"),C=new Set(Object.getOwnPropertyNames(Symbol).map((t=>Symbol[t])).filter(r.yk)),T=F(),I=F(!1,!0),P=F(!0),N=L();function L(){const t={};return["includes","indexOf","lastIndexOf"].forEach((e=>{t[e]=function(...t){const n=Rt(this);for(let e=0,o=this.length;e<o;e++)O(n,"get",e+"");const r=n[e](...t);return-1===r||!1===r?n[e](...t.map(Rt)):r}})),["push","pop","shift","unshift","splice"].forEach((e=>{t[e]=function(...t){_();const n=Rt(this)[e].apply(this,t);return S(),n}})),t}function F(t=!1,e=!1){return function(n,o,i){if("__v_isReactive"===o)return!t;if("__v_isReadonly"===o)return t;if("__v_isShallow"===o)return e;if("__v_raw"===o&&i===(t?e?mt:vt:e?ht:dt).get(n))return n;const s=(0,r.kJ)(n);if(!t&&s&&(0,r.RI)(N,o))return Reflect.get(N,o,i);const c=Reflect.get(n,o,i);if((0,r.yk)(o)?C.has(o):j(o))return c;if(t||O(n,"get",o),e)return c;if(Pt(c)){const t=!s||!(0,r.S0)(o);return t?c.value:c}return(0,r
/*!
* vue-router v4.0.14
* (c) 2022 Eduardo San Martin Morote
* @license MIT
*/
const i="function"===typeof Symbol&&"symbol"===typeof Symbol.toStringTag,s=t=>i?Symbol(t):"_vr_"+t,c=s("rvlm"),u=s("rvd"),a=s("r"),l=s("rl"),f=s("rvl"),p="undefined"!==typeof window;function d(t){return t.__esModule||i&&"Module"===t[Symbol.toStringTag]}const h=Object.assign;function v(t,e){const n={};for(const r in e){const o=e[r];n[r]=Array.isArray(o)?o.map(t):t(o)}return n}const m=()=>{};const g=/\/$/,y=t=>t.replace(g,"");function b(t,e,n="/"){let r,o={},i="",s="";const c=e.indexOf("?"),u=e.indexOf("#",c>-1?c:0);return c>-1&&(r=e.slice(0,c),i=e.slice(c+1,u>-1?u:e.length),o=t(i)),u>-1&&(r=r||e.slice(0,u),s=e.slice(u,e.length)),r=R(null!=r?r:e,n),{fullPath:r+(i&&"?")+i+s,path:r,query:o,hash:s}}function x(t,e){const n=e.query?t(e.query):"";return e.path+(n&&"?")+n+(e.hash||"")}function w(t,e){return e&&t.toLowerCase().startsWith(e.toLowerCase())?t.slice(e.length)||"/":t}function E(t,e,n){const r=e.matched.length-1,o=n.matched.length-1;return r>-1&&r===o&&_(e.matched[r],n.matched[o])&&S(e.params,n.params)&&t(e.query)===t(n.query)&&e.hash===n.hash}function _(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function S(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const n in t)if(!O(t[n],e[n]))return!1;return!0}function O(t,e){return Array.isArray(t)?k(t,e):Array.isArray(e)?k(e,t):t===e}function k(t,e){return Array.isArray(e)?t.length===e.length&&t.every(((t,n)=>t===e[n])):1===t.length&&t[0]===e}function R(t,e){if(t.startsWith("/"))return t;if(!t)return e;const n=e.split("/"),r=t.split("/");let o,i,s=n.length-1;for(o=0;o<r.length;o++)if(i=r[o],1!==s&&"."!==i){if(".."!==i)break;s--}return n.slice(0,s).join("/")+"/"+r.slice(o-(o===r.length?1:0)).join("/")}var A,j;(function(t){t["pop"]="pop",t["push"]="push"})(A||(A={})),function(t){t["back"]="back",t["forward"]="forward",t["unknown"]=""}(j||(j={}));function C(t){if(!t)if(p){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return"/"!==t[0]&&"#"!==t[0]&&(t="/"+t),y(t)}const T=/^[^#]+#/;function I(t,e){return t.replace(T,"#")+e}function P(t,e){const n=document.documentElement.getBoundingClientRect(),r=t.getBoundingClientRect();return{behavior:e.behavior,left:r.left-n.left-(e.left||0),top:r.top-n.top-(e.top||0)}}const N=()=>({left:window.pageXOffset,top:window.pageYOffset});function L(t){let e;if("el"in t){const n=t.el,r="string"===typeof n&&n.startsWith("#");0;const o="string"===typeof n?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!o)return;e=P(o,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(null!=e.left?e.left:window.pageXOffset,null!=e.top?e.top:window.pageYOffset)}function F(t,e){const n=history.state?history.state.position-e:-1;return n+t}const M=new Map;function D(t,e){M.set(t,e)}function U(t){const e=M.get(t);return M.delete(t),e}let B=()=>location.protocol+"//"+location.host;function $(t,e){const{pathname:n,search:r,hash:o}=e,i=t.indexOf("#");if(i>-1){let e=o.includes(t.slice(i))?t.slice(i).length:1,n=o.slice(e);return"/"!==n[0]&&(n="/"+n),w(n,"")}const s=w(n,t);return s+r+o}function J(t,e,n,r){let o=[],i=[],s=null;const c=({state:i})=>{const c=$(t,location),u=n.value,a=e.value;let l=0;if(i){if(n.value=c,e.value=i,s&&s===u)return void(s=null);l=a?i.position-a.position:0}else r(c);o.forEach((t=>{t(n.value,u,{delta:l,type:A.pop,direction:l?l>0?j.forward:j.back:j.unknown})}))};function u(){s=n.value}function a(t){o.push(t);const e=()=>{const e=o.indexOf(t);e>-1&&o.splice(e,1)};return i.push(e),e}function l(){const{history:t}=window;t.state&&t.replaceState(h({},t.state,{scroll:N()}),"")}function f(){for(const t of i)t();i=[],window.removeEventListener("popstate",c),window.removeEventListener("beforeunload",l)}return window.addEventListener("popstate",c),window.addEventListener("beforeunload",l),{pauseListeners:u,listen:a,destroy:f}}function q(t,e,n,r=!1,o=!1){return{back:t,current:e,forward:n,replaced:r,position:window.history.length,scroll:o?N():null}}function V(t){const{history:e,location:n}=window,r={value:$(t,n)},o={
//# sourceMappingURL=chunk-vendors-legacy.6835b8d0.js.map