platypush/platypush/backend/http/webapp/dist/static/js/chunk-vendors.0f6060b6.js

8 lines
123 KiB
JavaScript
Raw Normal View History

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