2 lines
21 KiB
JavaScript
2 lines
21 KiB
JavaScript
|
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=function(n,e){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e]=n[e])},t(n,e)};var n,e=function(){return e=Object.assign||function(t){for(var n,e=1,r=arguments.length;e<r;e++)for(var o in n=arguments[e])Object.prototype.hasOwnProperty.call(n,o)&&(t[o]=n[o]);return t},e.apply(this,arguments)};function r(t){var n="function"==typeof Symbol&&Symbol.iterator,e=n&&t[n],r=0;if(e)return e.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(n?"Object is not iterable.":"Symbol.iterator is not defined.")}function o(t,n){var e="function"==typeof Symbol&&t[Symbol.iterator];if(!e)return t;var r,o,i=e.call(t),u=[];try{for(;(void 0===n||n-- >0)&&!(r=i.next()).done;)u.push(r.value)}catch(t){o={error:t}}finally{try{r&&!r.done&&(e=i.return)&&e.call(i)}finally{if(o)throw o.error}}return u}function i(t,n,e){if(e||2===arguments.length)for(var r,o=0,i=n.length;o<i;o++)!r&&o in n||(r||(r=Array.prototype.slice.call(n,0,o)),r[o]=n[o]);return t.concat(r||Array.prototype.slice.call(n))}var u=[],a=function(){function t(t){this.active=!0,this.effects=[],this.cleanups=[],this.vm=t}return t.prototype.run=function(t){if(this.active)try{return this.on(),t()}finally{this.off()}},t.prototype.on=function(){this.active&&(u.push(this),n=this)},t.prototype.off=function(){this.active&&(u.pop(),n=u[u.length-1])},t.prototype.stop=function(){this.active&&(this.vm.$destroy(),this.effects.forEach((function(t){return t.stop()})),this.cleanups.forEach((function(t){return t()})),this.active=!1)},t}(),f=function(e){function r(t){void 0===t&&(t=!1);var r,o=void 0;return function(t){var n=_;_=!1;try{t()}finally{_=n}}((function(){o=T(h())})),r=e.call(this,o)||this,t||function(t,e){var r;if((e=e||n)&&e.active)return void e.effects.push(t);var o=null===(r=x())||void 0===r?void 0:r.proxy;o&&o.$on("hook:destroyed",(function(){return t.stop()}))}(r),r}return function(n,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=n}t(n,e),n.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}(r,e),r}(a);function c(){return n}function s(){var t,n;return(null===(t=c())||void 0===t?void 0:t.vm)||(null===(n=x())||void 0===n?void 0:n.proxy)}var l=void 0;try{var p=require("vue");p&&y(p)?l=p:p&&"default"in p&&y(p.default)&&(l=p.default)}catch(t){}var v=null,d=null,_=!0;function y(t){return t&&B(t)&&"Vue"===t.name}function h(){return v}function b(){return v||l}function g(t){if(_){var n=d;null==n||n.scope.off(),null==(d=t)||d.scope.on()}}function x(){return d}var m=new WeakMap;function w(t){if(m.has(t))return m.get(t);var n={proxy:t,update:t.$forceUpdate,type:t.$options,uid:t._uid,emit:t.$emit.bind(t),parent:null,root:null};!function(t){if(!t.scope){var n=new a(t.proxy);t.scope=n,t.proxy.$on("hook:destroyed",(function(){return n.stop()}))}t.scope}(n);return["data","props","attrs","refs","vnode","slots"].forEach((function(e){S(n,e,{get:function(){return t["$".concat(e)]}})})),S(n,"isMounted",{get:function(){return t._isMounted}}),S(n,"isUnmounted",{get:function(){return t._isDestroyed}}),S(n,"isDeactivated",{get:function(){return t._inactive}}),S(n,"emitted",{get:function(){return t._events}}),m.set(t,n),t.$parent&&(n.parent=w(t.$parent)),t.$root&&(n.root=w(t.$root)),n}function $(t){return"function"==typeof t&&/native code/.test(t.toString())}var j="undefined"!=typeof Symbol&&$(Symbol)&&"undefined"!=typeof Reflect&&$(Reflect.ownKeys),O=function(t){return t};function S(t,n,e){var r=e.get,o=e.set;Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:r||O,set:o||O})}function k(t,n,e,r){Object.defineProperty(t,n,{value:e,enumerable:!!r,writable:!0,configurable:!0})}function E(t,n){return Object.hasOwnProperty.call(t,n)}function R(t){return Array.isArray(t)}var M,C=Object.prototype.toString,P=fun
|