UNPKG

xeslive_components

Version:

Vue Component's store for TAL

1 lines 170 kB
!function(t,n){"object"==typeof exports&&"object"==typeof module?module.exports=n():"function"==typeof define&&define.amd?define([],n):"object"==typeof exports?exports.xeslive_componets=n():t.xeslive_componets=n()}("undefined"!=typeof self?self:this,function(){return function(t){function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}var e={};return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="",n(n.s=63)}([function(t,n,e){var r=e(27)("wks"),i=e(20),o=e(4).Symbol,s="function"==typeof o;(t.exports=function(t){return r[t]||(r[t]=s&&o[t]||(s?o:i)("Symbol."+t))}).store=r},function(t,n){t.exports=function(t,n,e,r,i,o){var s,a=t=t||{},u=typeof t.default;"object"!==u&&"function"!==u||(s=t,a=t.default);var c="function"==typeof a?a.options:a;n&&(c.render=n.render,c.staticRenderFns=n.staticRenderFns,c._compiled=!0),e&&(c.functional=!0),i&&(c._scopeId=i);var f;if(o?(f=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),r&&r.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(o)},c._ssrRegister=f):r&&(f=r),f){var h=c.functional,l=h?c.render:c.beforeCreate;h?(c._injectStyles=f,c.render=function(t,n){return f.call(n),l(t,n)}):c.beforeCreate=l?[].concat(l,f):[f]}return{esModule:s,exports:a,options:c}}},function(t,n){function e(t,n){var e=t[1]||"",i=t[3];if(!i)return e;if(n&&"function"==typeof btoa){var o=r(i);return[e].concat(i.sources.map(function(t){return"/*# sourceURL="+i.sourceRoot+t+" */"})).concat([o]).join("\n")}return[e].join("\n")}function r(t){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */"}t.exports=function(t){var n=[];return n.toString=function(){return this.map(function(n){var r=e(n,t);return n[2]?"@media "+n[2]+"{"+r+"}":r}).join("")},n.i=function(t,e){"string"==typeof t&&(t=[[null,t,""]]);for(var r={},i=0;i<this.length;i++){var o=this[i][0];"number"==typeof o&&(r[o]=!0)}for(i=0;i<t.length;i++){var s=t[i];"number"==typeof s[0]&&r[s[0]]||(e&&!s[2]?s[2]=e:e&&(s[2]="("+s[2]+") and ("+e+")"),n.push(s))}},n}},function(t,n,e){function r(t){for(var n=0;n<t.length;n++){var e=t[n],r=f[e.id];if(r){r.refs++;for(var i=0;i<r.parts.length;i++)r.parts[i](e.parts[i]);for(;i<e.parts.length;i++)r.parts.push(o(e.parts[i]));r.parts.length>e.parts.length&&(r.parts.length=e.parts.length)}else{for(var s=[],i=0;i<e.parts.length;i++)s.push(o(e.parts[i]));f[e.id]={id:e.id,refs:1,parts:s}}}}function i(){var t=document.createElement("style");return t.type="text/css",h.appendChild(t),t}function o(t){var n,e,r=document.querySelector("style["+y+'~="'+t.id+'"]');if(r){if(p)return A;r.parentNode.removeChild(r)}if(m){var o=d++;r=l||(l=i()),n=s.bind(null,r,o,!1),e=s.bind(null,r,o,!0)}else r=i(),n=a.bind(null,r),e=function(){r.parentNode.removeChild(r)};return n(t),function(r){if(r){if(r.css===t.css&&r.media===t.media&&r.sourceMap===t.sourceMap)return;n(t=r)}else e()}}function s(t,n,e,r){var i=e?"":r.css;if(t.styleSheet)t.styleSheet.cssText=g(n,i);else{var o=document.createTextNode(i),s=t.childNodes;s[n]&&t.removeChild(s[n]),s.length?t.insertBefore(o,s[n]):t.appendChild(o)}}function a(t,n){var e=n.css,r=n.media,i=n.sourceMap;if(r&&t.setAttribute("media",r),v.ssrId&&t.setAttribute(y,n.id),i&&(e+="\n/*# sourceURL="+i.sources[0]+" */",e+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}var u="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!u)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var c=e(66),f={},h=u&&(document.head||document.getElementsByTagName("head")[0]),l=null,d=0,p=!1,A=function(){},v=null,y="data-vue-ssr-id",m="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());t.exports=function(t,n,e,i){p=e,v=i||{};var o=c(t,n);return r(o),function(n){for(var e=[],i=0;i<o.length;i++){var s=o[i],a=f[s.id];a.refs--,e.push(a)}n?(o=c(t,n),r(o)):o=[];for(var i=0;i<e.length;i++){var a=e[i];if(0===a.refs){for(var u=0;u<a.parts.length;u++)a.parts[u]();delete f[a.id]}}}};var g=function(){var t=[];return function(n,e){return t[n]=e,t.filter(Boolean).join("\n")}}()},function(t,n){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},function(t,n){var e=t.exports={version:"2.5.7"};"number"==typeof __e&&(__e=e)},function(t,n,e){var r=e(12),i=e(42),o=e(24),s=Object.defineProperty;n.f=e(10)?Object.defineProperty:function(t,n,e){if(r(t),n=o(n,!0),r(e),i)try{return s(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[n]=e.value),t}},function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},function(t,n,e){"use strict";function r(t){u||e(67)}Object.defineProperty(n,"__esModule",{value:!0});var i=e(36),o=e.n(i);for(var s in i)"default"!==s&&function(t){e.d(n,t,function(){return i[t]})}(s);var a=e(100),u=!1,c=e(1),f=r,h=c(o.a,a.a,!1,f,"data-v-6c09dedc",null);h.options.__file="src/components/questionDBRender/DisplayObject.vue",n.default=h.exports},function(t,n,e){var r=e(6),i=e(15);t.exports=e(10)?function(t,n,e){return r.f(t,n,i(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n,e){t.exports=!e(14)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n,e){var r=e(47),i=e(23);t.exports=function(t){return r(i(t))}},function(t,n,e){var r=e(13);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n){t.exports={}},function(t,n){t.exports=!0},function(t,n,e){var r=e(4),i=e(5),o=e(41),s=e(9),a=e(7),u=function(t,n,e){var c,f,h,l=t&u.F,d=t&u.G,p=t&u.S,A=t&u.P,v=t&u.B,y=t&u.W,m=d?i:i[n]||(i[n]={}),g=m.prototype,x=d?r:p?r[n]:(r[n]||{}).prototype;d&&(e=n);for(c in e)(f=!l&&x&&void 0!==x[c])&&a(m,c)||(h=f?x[c]:e[c],m[c]=d&&"function"!=typeof x[c]?e[c]:v&&f?o(h,r):y&&x[c]==h?function(t){var n=function(n,e,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,e)}return new t(n,e,r)}return t.apply(this,arguments)};return n.prototype=t.prototype,n}(h):A&&"function"==typeof h?o(Function.call,h):h,A&&((m.virtual||(m.virtual={}))[c]=h,t&u.R&&g&&!g[c]&&s(g,c,h)))};u.F=1,u.G=2,u.S=4,u.P=8,u.B=16,u.W=32,u.U=64,u.R=128,t.exports=u},function(t,n,e){var r=e(46),i=e(28);t.exports=Object.keys||function(t){return r(t,i)}},function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+r).toString(36))}},function(t,n){n.f={}.propertyIsEnumerable},function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,e){var r=e(13);t.exports=function(t,n){if(!r(t))return t;var e,i;if(n&&"function"==typeof(e=t.toString)&&!r(i=e.call(t)))return i;if("function"==typeof(e=t.valueOf)&&!r(i=e.call(t)))return i;if(!n&&"function"==typeof(e=t.toString)&&!r(i=e.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},function(t,n,e){var r=e(27)("keys"),i=e(20);t.exports=function(t){return r[t]||(r[t]=i(t))}},function(t,n,e){var r=e(5),i=e(4),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(t.exports=function(t,n){return o[t]||(o[t]=void 0!==n?n:{})})("versions",[]).push({version:r.version,mode:e(17)?"pure":"global",copyright:"© 2018 Denis Pushkarev (zloirock.ru)"})},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n,e){var r=e(6).f,i=e(7),o=e(0)("toStringTag");t.exports=function(t,n,e){t&&!i(t=e?t:t.prototype,o)&&r(t,o,{configurable:!0,value:n})}},function(t,n,e){var r=e(23);t.exports=function(t){return Object(r(t))}},function(t,n,e){n.f=e(0)},function(t,n,e){var r=e(4),i=e(5),o=e(17),s=e(31),a=e(6).f;t.exports=function(t){var n=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==t.charAt(0)||t in n||a(n,t,{value:s.f(t)})}},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,e){"use strict";function r(t){u||e(64)}Object.defineProperty(n,"__esModule",{value:!0});var i=e(35),o=e.n(i);for(var s in i)"default"!==s&&function(t){e.d(n,t,function(){return i[t]})}(s);var a=e(112),u=!1,c=e(1),f=r,h=c(o.a,a.a,!1,f,null,null);h.options.__file="src/components/questionDBRender/VText.vue",n.default=h.exports},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(n,"__esModule",{value:!0});var i=e(8),o=r(i),s=e(101),a=r(s),u=e(102),c=r(u),f=e(103),h=e(110).Promise;n.default={name:"VText",extends:o.default,props:["nodeData","mathjax","transformData"],data:function(){return{}},mounted:function(){var t=this;this.$nextTick(function(){var n=this;"notepad"===t.nodeData.name&&""===t.nodeData.texture.content&&(t.nodeData.texture.content="笔记显示区"),"option_label"===t.nodeData.name&&""!==t.nodeData.texture.content&&(t.$el.innerHTML+=".");var e=h.resolve(),r=[].slice.call(t.$el.getElementsByTagName("img"));e.then(function(){if(0!==r.length)return h.all(r.map(function(n,e){return new h(function(e,r){if("localhost"===location.hostname||"127.0.0.1"===location.hostname||"192.168.1.139"===location.hostname||"192.168.31.105"===location.hostname){var i=n.getAttribute("data-resourceid");null===i&&r("data-resourceid 不存在");var o=t.transformData.resource.getResourceById(1*i);n.onload=function(){e()},n.onerror=function(t){r(t)},n.setAttribute("src",f.resolve(o.host+"/",o.src))}else e()})}))}).then(function(){if(0!==r.length)return h.all(r.map(function(n,e){return new h(function(e,r){var i=t.transformData.main.rectangle.width,o=n.naturalWidth?n.naturalWidth:n.width,s=n.naturalHeight?n.naturalHeight:n.height;if(0===o){var a=n.getAttribute("data-width"),u=n.getAttribute("data-height");1*a>i-420?n.style.width="100%":(n.style.width=a/100+"rem",n.style.height=u/100+"rem")}else o>i-420?n.style.width="100%":(n.style.width=o/100+"rem",n.style.height=s/100+"rem");n.style.verticalAlign="middle",setTimeout(function(){e()})})}))}).then(function(){if(0!==r.length)return h.all(r.map(function(t,n){return new h(function(n,e){var r=t.getAttribute("data-width"),i=t.getAttribute("data-height"),o=r/i;"100%"===t.style.width&&(t.style.height=t.offsetWidth/o/Math.floor(base)+"rem"),t.style.verticalAlign="middle",n()})}))}).then(function(){return new h(function(e,r){function i(t){var n='<span class="typo-em-char" style="background:rgba(0,0,0,0) url('+a.default+') repeat-x center bottom;padding-bottom: 0.15rem;background-size: 1em;">{{c}}</span>';return t.replace(/\S/g,function(t,e){return t.match(/[a-zA-Z0-9\u4E00-\u9FA5\uF900-\uFA2D]/g)?n.replace("{{c}}",t):t})}[].slice.call(n.$el.querySelectorAll(".test_blank")).map(function(t){t.style.width=parseInt(t.style.width)/100+"rem",t.style.display="inline-block",t.style.borderBottom=".01rem solid"}),[].slice.call(n.$el.querySelectorAll(".wave")).map(function(t){t.style.background="rgba(0,0,0,0) url("+c.default+") repeat-x center bottom",t.style.paddingBottom=".1rem"}),[].slice.call(n.$el.querySelectorAll(".typo-em")).map(function(t){t.innerHTML=i(t.innerText)}),t.nodeData.texture.content=t.$el.innerHTML,e()})}).then(function(){return new h(function(n,e){console.log("MathJax render",t.mathjax,MathJax),t.mathjax?setTimeout(function(){MathJax.Hub.Queue(["Typeset",MathJax.Hub,t.$el]),setTimeout(function(){MathJax.Hub.Queue(function(){console.log("mathjax rendered:",t.nodeData.name+t.nodeData.id,t.$el),n()})},1e3)}):n()})}).then(function(){return new h(function(n,e){t.updateRectangle(),t.updateStyle(),t.$emit("Event_ChildMounted",{name:t.nodeData.name+t.nodeData.id}),setTimeout(function(){n()},500)})}).then(function(){}).catch(function(t){throw t})})},computed:{},methods:{}}},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(37),i=function(t){return t&&t.__esModule?t:{default:t}}(r);n.default={name:"DisplayObject",props:[],mixins:[i.default],data:function(){return{}},components:{},mounted:function(){},updated:function(){},computed:{dom:function(){return this.$el}},methods:{}}},function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=e(38),i=e.n(r);for(var o in r)"default"!==o&&function(t){e.d(n,t,function(){return r[t]})}(o);var s=e(1),a=s(i.a,null,!1,null,null,null);a.options.__file="src/components/questionDBRender/Common.vue",n.default=a.exports},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(n,"__esModule",{value:!0});var i=e(69),o=r(i),s=e(95),a=r(s),u=e(99),c=e(50);n.default={name:"Common",data:function(){return{style:this.nodeData.texture.style}},mounted:function(){},filters:{toRem:function(t){var n={};for(var e in t)"number"==typeof t[e]&&"opacity"!==e&&0!==t[e]&&(n[e]=t[e]/100+"rem");return(0,a.default)({},t,n)}},computed:{},methods:{updateChildrenRectangle:function(){this.$children.map(function(t){"object"===(0,o.default)(t.nodeData)&&(t.updateChildrenRectangle(),t.updateRectangle())})},compType:function(t){return(0,u.getCompTypeByNum)(t)},getClsName:function(){var t=[];return t.push("comp"),t.push("comp-"+this.compType(this.nodeData)),t.push("comp-"+this.nodeData.name),t},getStyle:function(){var t=this.$el.style,n={};for(var e in t){var r=t[e];if(t.hasOwnProperty(e)&&""!=r&&isNaN(e)){var i=1*r.split(/rem|px/)[0];/(rem|px)$/.test(r)&&!isNaN(i)&&"opacity"!==e?n[e]=Number((100*i).toFixed(4)):n[e]=t[e]}}return this.nodeData.texture.style},getRectangle:function(){var t=(new c.dataBox.SAT).rectangle,n=Math.floor(window.base);return new t({x:100*this.$el.offsetLeft/n,y:100*this.$el.offsetTop/n,width:100*this.$el.offsetWidth/n,height:100*this.$el.offsetHeight/n})},updateRectangle:function(){return(0,a.default)(this.nodeData.rectangle,this.getRectangle())},updateStyle:function(){return(0,a.default)(this.nodeData.texture.style,this.getStyle())}}}},function(t,n,e){"use strict";var r=e(72)(!0);e(40)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,n=this._t,e=this._i;return e>=n.length?{value:void 0,done:!0}:(t=r(n,e),this._i+=t.length,{value:t,done:!1})})},function(t,n,e){"use strict";var r=e(17),i=e(18),o=e(44),s=e(9),a=e(16),u=e(74),c=e(29),f=e(79),h=e(0)("iterator"),l=!([].keys&&"next"in[].keys()),d=function(){return this};t.exports=function(t,n,e,p,A,v,y){u(e,n,p);var m,g,x,b=function(t){if(!l&&t in C)return C[t];switch(t){case"keys":case"values":return function(){return new e(this,t)}}return function(){return new e(this,t)}},w=n+" Iterator",q="values"==A,k=!1,C=t.prototype,B=C[h]||C["@@iterator"]||A&&C[A],I=B||b(A),D=A?q?b("entries"):I:void 0,O="Array"==n?C.entries||B:B;if(O&&(x=f(O.call(new t)))!==Object.prototype&&x.next&&(c(x,w,!0),r||"function"==typeof x[h]||s(x,h,d)),q&&B&&"values"!==B.name&&(k=!0,I=function(){return B.call(this)}),r&&!y||!l&&!k&&C[h]||s(C,h,I),a[n]=I,a[w]=d,A)if(m={values:q?I:b("values"),keys:v?I:b("keys"),entries:D},y)for(g in m)g in C||o(C,g,m[g]);else i(i.P+i.F*(l||k),n,m);return m}},function(t,n,e){var r=e(73);t.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,i){return t.call(n,e,r,i)}}return function(){return t.apply(n,arguments)}}},function(t,n,e){t.exports=!e(10)&&!e(14)(function(){return 7!=Object.defineProperty(e(43)("div"),"a",{get:function(){return 7}}).a})},function(t,n,e){var r=e(13),i=e(4).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,n,e){t.exports=e(9)},function(t,n,e){var r=e(12),i=e(75),o=e(28),s=e(26)("IE_PROTO"),a=function(){},u=function(){var t,n=e(43)("iframe"),r=o.length;for(n.style.display="none",e(78).appendChild(n),n.src="javascript:",t=n.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),u=t.F;r--;)delete u.prototype[o[r]];return u()};t.exports=Object.create||function(t,n){var e;return null!==t?(a.prototype=r(t),e=new a,a.prototype=null,e[s]=t):e=u(),void 0===n?e:i(e,n)}},function(t,n,e){var r=e(7),i=e(11),o=e(76)(!1),s=e(26)("IE_PROTO");t.exports=function(t,n){var e,a=i(t),u=0,c=[];for(e in a)e!=s&&r(a,e)&&c.push(e);for(;n.length>u;)r(a,e=n[u++])&&(~o(c,e)||c.push(e));return c}},function(t,n,e){var r=e(25);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,n,e){var r=e(22),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,n,e){var r=e(46),i=e(28).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},function(t,n){!function(t){function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}var e={};n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:r})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)},n.p="",n(n.s=69)}([function(t,n,e){"use strict";n.__esModule=!0,n.default=function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}},function(t,n,e){"use strict";n.__esModule=!0;var r=e(76),i=function(t){return t&&t.__esModule?t:{default:t}}(r);n.default=function(){function t(t,n){for(var e=0;e<n.length;e++){var r=n[e];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),(0,i.default)(t,r.key,r)}}return function(n,e,r){return e&&t(n.prototype,e),r&&t(n,r),n}}()},function(t,n){var e=t.exports={version:"2.5.3"};"number"==typeof __e&&(__e=e)},function(t,n,e){var r=e(32)("wks"),i=e(20),o=e(6).Symbol,s="function"==typeof o;(t.exports=function(t){return r[t]||(r[t]=s&&o[t]||(s?o:i)("Symbol."+t))}).store=r},function(t,n,e){var r=e(6),i=e(2),o=e(26),s=e(12),a=function(t,n,e){var u,c,f,h=t&a.F,l=t&a.G,d=t&a.S,p=t&a.P,A=t&a.B,v=t&a.W,y=l?i:i[n]||(i[n]={}),m=y.prototype,g=l?r:d?r[n]:(r[n]||{}).prototype;l&&(e=n);for(u in e)(c=!h&&g&&void 0!==g[u])&&u in y||(f=c?g[u]:e[u],y[u]=l&&"function"!=typeof g[u]?e[u]:A&&c?o(f,r):v&&g[u]==f?function(t){var n=function(n,e,r){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(n);case 2:return new t(n,e)}return new t(n,e,r)}return t.apply(this,arguments)};return n.prototype=t.prototype,n}(f):p&&"function"==typeof f?o(Function.call,f):f,p&&((y.virtual||(y.virtual={}))[u]=f,t&a.R&&m&&!m[u]&&s(m,u,f)))};a.F=1,a.G=2,a.S=4,a.P=8,a.B=16,a.W=32,a.U=64,a.R=128,t.exports=a},function(t,n,e){t.exports={default:e(70),__esModule:!0}},function(t,n){var e=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=e)},function(t,n,e){var r=e(9),i=e(48),o=e(27),s=Object.defineProperty;n.f=e(10)?Object.defineProperty:function(t,n,e){if(r(t),n=o(n,!0),r(e),i)try{return s(t,n,e)}catch(t){}if("get"in e||"set"in e)throw TypeError("Accessors not supported!");return"value"in e&&(t[n]=e.value),t}},function(t,n,e){var r=e(51),i=e(29);t.exports=function(t){return r(i(t))}},function(t,n,e){var r=e(13);t.exports=function(t){if(!r(t))throw TypeError(t+" is not an object!");return t}},function(t,n,e){t.exports=!e(14)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,n){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},function(t,n,e){var r=e(7),i=e(16);t.exports=e(10)?function(t,n,e){return r.f(t,n,i(1,e))}:function(t,n,e){return t[n]=e,t}},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,n){t.exports={}},function(t,n){t.exports=function(t,n){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:n}}},function(t,n,e){var r=e(50),i=e(33);t.exports=Object.keys||function(t){return r(t,i)}},function(t,n){n.f={}.propertyIsEnumerable},function(t,n,e){"use strict";e.d(n,"a",function(){return o});var r=e(0),i=e.n(r),o=function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;i()(this,t),this.x=n,this.y=e,this.name="point"}},function(t,n){var e=0,r=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++e+r).toString(36))}},function(t,n,e){var r=e(29);t.exports=function(t){return Object(r(t))}},function(t,n,e){t.exports={default:e(79),__esModule:!0}},function(t,n,e){"use strict";var r=e(83)(!0);e(60)(String,"String",function(t){this._t=String(t),this._i=0},function(){var t,n=this._t,e=this._i;return e>=n.length?{value:void 0,done:!0}:(t=r(n,e),this._i+=t.length,{value:t,done:!1})})},function(t,n,e){"use strict";e.d(n,"a",function(){return u});var r=e(0),i=e.n(r),o=e(1),s=e.n(o),a=e(19),u=function(){function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,s=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;i()(this,t),this.a=n,this.b=e,this.c=r,this.d=o,this.tx=s,this.ty=a,this.array=null}return s()(t,[{key:"fromArray",value:function(t){void 0!==t&&0!==t.length||(t=[1,0,0,0,1,0]),this.a=t[0],this.b=t[1],this.c=t[3],this.d=t[4],this.tx=t[2],this.ty=t[5]}},{key:"fromCssArray",value:function(t){void 0!==t&&0!==t.length||(t=[1,0,0,1,0,0]),this.a=t[0],this.c=t[1],this.b=t[2],this.d=t[3],this.tx=t[4],this.ty=t[5]}},{key:"set",value:function(t,n,e,r,i,o){return this.a=t,this.b=n,this.c=e,this.d=r,this.tx=i,this.ty=o,this}},{key:"toCssArray",value:function(){var t=new Array(6);return t[0]=this.a,t[1]=this.b,t[2]=this.c,t[3]=this.d,t[4]=this.tx,t[5]=this.ty,t}},{key:"toArray",value:function(t,n){this.array||(this.array=new Float32Array(9));var e=n||this.array;return t?(e[0]=this.a,aarray[1]=this.b,e[2]=0,e[3]=this.c,e[4]=this.d,e[5]=0,e[6]=this.tx,e[7]=this.ty,e[8]=1):(e[0]=this.a,e[1]=this.c,e[2]=this.tx,e[3]=this.b,e[4]=this.d,e[5]=this.ty,e[6]=0,e[7]=0,e[8]=1),e}},{key:"apply",value:function(t,n){n=n||new a.a;var e=t.x,r=t.y;return n.x=this.a*e+this.c*r+this.tx,n.y=this.b*e+this.d*r+this.ty,n}},{key:"applyInverse",value:function(t,n){n=n||new a.a;var e=1/(this.a*this.d+this.c*-this.b),r=t.x,i=t.y;return n.x=this.d*e*r+-this.c*e*i+(this.ty*this.c-this.tx*this.d)*e,n.y=this.a*e*i+-this.b*e*r+(-this.ty*this.a+this.tx*this.b)*e,n}},{key:"translate",value:function(t,n){return this.tx+=t,this.ty+=n,this}},{key:"scale",value:function(t,n){return this.a*=t,this.d*=n,this.c*=t,this.b*=n,this.tx*=t,this.ty*=n,this}},{key:"rotate",value:function(t){var n=Math.cos(t),e=Math.sin(t),r=this.a,i=this.c,o=this.tx;return this.a=r*n-this.b*e,this.b=r*e+this.b*n,this.c=i*n-this.d*e,this.d=i*e+this.d*n,this.tx=o*n-this.ty*e,this.ty=o*e+this.ty*n,this}},{key:"append",value:function(t){var n=this.a,e=this.b,r=this.c,i=this.d;return this.a=t.a*n+t.b*r,this.b=t.a*e+t.b*i,this.c=t.c*n+t.d*r,this.d=t.c*e+t.d*i,this.tx=t.tx*n+t.ty*r+this.tx,this.ty=t.tx*e+t.ty*i+this.ty,this}},{key:"setTransform",value:function(t,n,e,r,i,o,s,a,u){var c=Math.sin(s),f=Math.cos(s),h=Math.cos(u),l=Math.sin(u),d=-Math.sin(a),p=Math.cos(a),A=f*i,v=c*i,y=-c*o,m=f*o;return this.a=h*A+l*y,this.b=h*v+l*m,this.c=d*A+p*y,this.d=d*v+p*m,this.tx=t+(e*A+r*y),this.ty=n+(e*v+r*m),this}},{key:"prepend",value:function(t){var n=this.tx;if(1!==t.a||0!==t.b||0!==t.c||1!==t.d){var e=this.a,r=this.c;this.a=e*t.a+this.b*t.c,this.b=e*t.b+this.b*t.d,this.c=r*t.a+this.d*t.c,this.d=r*t.b+this.d*t.d}return this.tx=n*t.a+this.ty*t.c+t.tx,this.ty=n*t.b+this.ty*t.d+t.ty,this}},{key:"decompose",value:function(t){var n=this.a,e=this.b,r=this.c,i=this.d,o=-Math.atan2(-r,i),s=Math.atan2(e,n);return Math.abs(o+s)<1e-5?(t.rotation=s,n<0&&i>=0&&(t.rotation+=t.rotation<=0?Math.PI:-Math.PI),t.skew.x=t.skew.y=0):(t.skew.x=o,t.skew.y=s),t.scale.x=Math.sqrt(n*n+e*e),t.scale.y=Math.sqrt(r*r+i*i),t.position.x=this.tx,t.position.y=this.ty,t}},{key:"invert",value:function(){var t=this.a,n=this.b,e=this.c,r=this.d,i=this.tx,o=t*r-n*e;return this.a=r/o,this.b=-n/o,this.c=-e/o,this.d=t/o,this.tx=(e*this.ty-r*i)/o,this.ty=-(t*this.ty-n*i)/o,this}},{key:"identity",value:function(){return this.a=1,this.b=0,this.c=0,this.d=1,this.tx=0,this.ty=0,this}},{key:"clone",value:function(){var n=new t;return n.a=this.a,n.b=this.b,n.c=this.c,n.d=this.d,n.tx=this.tx,n.ty=this.ty,n}},{key:"copy",value:function(t){return t.a=this.a,t.b=this.b,t.c=this.c,t.d=this.d,t.tx=this.tx,t.ty=this.ty,t}}],[{key:"IDENTITY",get:function(){return new t}},{key:"TEMP_MATRIX",get:function(){return new t}}]),t}()},function(t,n,e){"use strict";n.__esModule=!0;var r=e(119),i=function(t){return t&&t.__esModule?t:{default:t}}(r);n.default=function(t){if(Array.isArray(t)){for(var n=0,e=Array(t.length);n<t.length;n++)e[n]=t[n];return e}return(0,i.default)(t)}},function(t,n,e){var r=e(72);t.exports=function(t,n,e){if(r(t),void 0===n)return t;switch(e){case 1:return function(e){return t.call(n,e)};case 2:return function(e,r){return t.call(n,e,r)};case 3:return function(e,r,i){return t.call(n,e,r,i)}}return function(){return t.apply(n,arguments)}}},function(t,n,e){var r=e(13);t.exports=function(t,n){if(!r(t))return t;var e,i;if(n&&"function"==typeof(e=t.toString)&&!r(i=e.call(t)))return i;if("function"==typeof(e=t.valueOf)&&!r(i=e.call(t)))return i;if(!n&&"function"==typeof(e=t.toString)&&!r(i=e.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},function(t,n){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},function(t,n){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,n){var e=Math.ceil,r=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?r:e)(t)}},function(t,n,e){var r=e(32)("keys"),i=e(20);t.exports=function(t){return r[t]||(r[t]=i(t))}},function(t,n,e){var r=e(6),i=r["__core-js_shared__"]||(r["__core-js_shared__"]={});t.exports=function(t){return i[t]||(i[t]={})}},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,e){"use strict";e.d(n,"a",function(){return u});var r=e(0),i=e.n(r),o=e(1),s=e.n(o),a=e(19),u=function(){function t(n){var e=n.x,r=void 0===e?0:e,o=n.y,s=void 0===o?0:o,a=n.width,u=void 0===a?0:a,c=n.height,f=void 0===c?0:c;i()(this,t),this._x=r,this._y=s,this._width=u,this._height=f,this.name="polygon"}return s()(t,[{key:"x",get:function(){return this._x},set:function(t){this._x=1*t}},{key:"y",get:function(){return this._y},set:function(t){this._y=1*t}},{key:"width",get:function(){return this._width},set:function(t){this._width=1*t}},{key:"height",get:function(){return this._height},set:function(t){this._height=1*t}}]),s()(t,[{key:"set",value:function(t){var n=t.x,e=void 0===n?0:n,r=t.y,i=void 0===r?0:r,o=t.width,s=void 0===o?0:o,a=t.height,u=void 0===a?0:a;this.x=e,this.y=i,this.width=s,this.height=u}},{key:"toJson",value:function(){return[this.x,this.y,this.width,this.height]}},{key:"plane",get:function(){return this.y+this.height/2},set:function(t){this.y=t-this.height/2}},{key:"vertical",get:function(){return this.x+this.width/2},set:function(t){this.x=t-this.width/2}},{key:"points",get:function(){return[new a.a(this.x,this.y),new a.a(this.x+this.width,this.y),new a.a(this.x+this.width,this.y+this.height),new a.a(this.x,this.y+this.height)]}}]),t}()},function(t,n,e){"use strict";e.d(n,"a",function(){return a});var r=e(0),i=e.n(r),o=e(1),s=e.n(o),a=function(){function t(n,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;i()(this,t),this._x=r,this._y=o,this.cb=n,this.scope=e}return s()(t,[{key:"set",value:function(t,n){var e=t||0,r=n||(0!==n?e:0);this._x===e&&this._y===r||(this._x=e,this._y=r,this.cb.call(this.scope))}},{key:"copy",value:function(t){this._x===t.x&&this._y===t.y||(this._x=t.x,this._y=t.y,this.cb.call(this.scope))}},{key:"x",get:function(){return this._x},set:function(t){this._x!==t&&(this._x=t,this.cb.call(this.scope))}},{key:"y",get:function(){return this._y},set:function(t){this._y!==t&&(this._y=t,this.cb.call(this.scope))}}]),t}()},function(t,n,e){"use strict";n.__esModule=!0;var r=e(59),i=function(t){return t&&t.__esModule?t:{default:t}}(r);n.default=function(t,n){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!n||"object"!==(void 0===n?"undefined":(0,i.default)(n))&&"function"!=typeof n?t:n}},function(t,n){t.exports=!0},function(t,n,e){var r=e(9),i=e(85),o=e(33),s=e(31)("IE_PROTO"),a=function(){},u=function(){var t,n=e(49)("iframe"),r=o.length;for(n.style.display="none",e(86).appendChild(n),n.src="javascript:",t=n.contentWindow.document,t.open(),t.write("<script>document.F=Object<\/script>"),t.close(),u=t.F;r--;)delete u.prototype[o[r]];return u()};t.exports=Object.create||function(t,n){var e;return null!==t?(a.prototype=r(t),e=new a,a.prototype=null,e[s]=t):e=u(),void 0===n?e:i(e,n)}},function(t,n,e){var r=e(7).f,i=e(11),o=e(3)("toStringTag");t.exports=function(t,n,e){t&&!i(t=e?t:t.prototype,o)&&r(t,o,{configurable:!0,value:n})}},function(t,n,e){e(87);for(var r=e(6),i=e(12),o=e(15),s=e(3)("toStringTag"),a="CSSRuleList,CSSStyleDeclaration,CSSValueList,ClientRectList,DOMRectList,DOMStringList,DOMTokenList,DataTransferItemList,FileList,HTMLAllCollection,HTMLCollection,HTMLFormElement,HTMLSelectElement,MediaList,MimeTypeArray,NamedNodeMap,NodeList,PaintRequestList,Plugin,PluginArray,SVGLengthList,SVGNumberList,SVGPathSegList,SVGPointList,SVGStringList,SVGTransformList,SourceBufferList,StyleSheetList,TextTrackCueList,TextTrackList,TouchList".split(","),u=0;u<a.length;u++){var c=a[u],f=r[c],h=f&&f.prototype;h&&!h[s]&&i(h,s,c),o[c]=o.Array}},function(t,n,e){n.f=e(3)},function(t,n,e){var r=e(6),i=e(2),o=e(38),s=e(42),a=e(7).f;t.exports=function(t){var n=i.Symbol||(i.Symbol=o?{}:r.Symbol||{});"_"==t.charAt(0)||t in n||a(n,t,{value:s.f(t)})}},function(t,n,e){var r=e(18),i=e(16),o=e(8),s=e(27),a=e(11),u=e(48),c=Object.getOwnPropertyDescriptor;n.f=e(10)?c:function(t,n){if(t=o(t),n=s(n,!0),u)try{return c(t,n)}catch(t){}if(a(t,n))return i(!r.f.call(t,n),t[n])}},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var i=e(100),o=r(i),s=e(104),a=r(s),u=e(59),c=r(u);n.default=function(t,n){if("function"!=typeof n&&null!==n)throw new TypeError("Super expression must either be null or a function, not "+(void 0===n?"undefined":(0,c.default)(n)));t.prototype=(0,a.default)(n&&n.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),n&&(o.default?(0,o.default)(t,n):t.__proto__=n)}},function(t,n,e){"use strict";e.d(n,"b",function(){return r}),e.d(n,"a",function(){return i});var r=["VText","VImage","VAudio","VVideo"],i=["DisplayObject","Container","Stage"]},function(t,n,e){"use strict";function r(t){var n=new u.a(t.resource);return{main:i(t.main.pages[0]),resource:n}}function i(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,e={Container:a.b,DisplayObject:a.c,Stage:a.d},r=null;t.texture.style=s()({},l.commonStyle,l.defaultStyle[t.texture.type],t.texture.style);var o=c.a[t.type];return r=new e[o](t),r.children=[],a.f<=r.id&&Object(a.g)(r.id+1),void 0===t.children&&(t.children=[]),t.children.map(function(t){r.children.push(i(t,r))}),"Stage"===c.a[t.type]&&(d=r,r.actionManager=new h.a(t.actionList),r.animationManager=new f.a(t.animationList)),r.parent=n,r.stage=d,r}n.b=r,n.a=i;var o=e(5),s=e.n(o),a=e(53),u=e(130),c=e(46),f=e(132),h=e(136),l=e(139),d=(e.n(l),null)},function(t,n,e){t.exports=!e(10)&&!e(14)(function(){return 7!=Object.defineProperty(e(49)("div"),"a",{get:function(){return 7}}).a})},function(t,n,e){var r=e(13),i=e(6).document,o=r(i)&&r(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,n,e){var r=e(11),i=e(8),o=e(74)(!1),s=e(31)("IE_PROTO");t.exports=function(t,n){var e,a=i(t),u=0,c=[];for(e in a)e!=s&&r(a,e)&&c.push(e);for(;n.length>u;)r(a,e=n[u++])&&(~o(c,e)||c.push(e));return c}},function(t,n,e){var r=e(28);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==r(t)?t.split(""):Object(t)}},function(t,n,e){var r=e(30),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},function(t,n,e){"use strict";var r=e(54),i=e(63),o=e(67),s=e(129),a=e(55);e.d(n,"c",function(){return r.a}),e.d(n,"e",function(){return i.a}),e.d(n,"b",function(){return o.a}),e.d(n,"d",function(){return s.a}),e.d(n,"f",function(){return r.b}),e.d(n,"g",function(){return r.c}),e.d(n,"a",function(){return a.a})},function(t,n,e){"use strict";function r(){return m++}function i(t){m=t}e.d(n,"a",function(){return g}),e.d(n,"b",function(){return m}),e.d(n,"c",function(){return i});var o=e(5),s=e.n(o),a=e(0),u=e.n(a),c=e(1),f=e.n(c),h=e(55),l=e(36),d=e(35),p=e(56),A=(e(24),e(63)),v=e(118),y=e(46),m=0,g=function(){function t(n){var e=n.texture,i=void 0===e?null:e,o=n.visible,s=void 0===o||o,a=n.id,c=void 0===a?r():a,f=n.name,v=void 0===f?this._id:f,y=n.rectangle,m=void 0===y?{}:y,g=n.transform,x=n.type,b=n.edit;u()(this,t),this._id=c,this._name=v,this._visible=s,this._rectangle=new d.a({x:m[0],y:m[1],width:m[2],height:m[3]}),this._transform=new p.a,this._transform.setTransformFromArray(g),this._texture=new A.a(i),this._parent=null,this._stage=null,this._bounds=new h.a,this._type=x,this.isMounted=!0,this.enter={},this.leave={},this._boundsID=0,this._lastBoundsID=-1,this._boundsRect=new d.a({x:0,y:0,width:0,height:0}),this._localBoundsRect=null,this.tempDisplayObjectParent=null,this._destroyed=!1,this._anchor=new l.a(this._onAnchorUpdate,this),this.vertexData=new Float32Array(8),this._x=0,this._y=0,this.vertexTrimmedData=null,this._transformID=-1,this._textureID=-1,this._transformTrimmedID=-1,this._textureTrimmedID=-1,this.edit=b||{layer:{lock:!1,hide:!1},control:{permission:[1,1,1,1]}}}return f()(t,[{key:"x",get:function(){return this.rectangle.x},set:function(t){this.rectangle.x=t,this.updateTransform()}},{key:"y",get:function(){return this.rectangle.y},set:function(t){this.rectangle.y=t,this.updateTransform()}},{key:"position",get:function(){return this.transform.position},set:function(t){this.transform.position.copy(t)}},{key:"scale",get:function(){return this.transform.scale},set:function(t){this.transform.scale.copy(t)}},{key:"pivot",get:function(){return this.transform.pivot},set:function(t){this.transform.pivot.copy(t)}},{key:"skew",get:function(){return this.transform.skew},set:function(t){this.transform.skew.copy(t)}},{key:"rotation",get:function(){return this.transform.rotation},set:function(t){this.transform.rotation=t,this.updateTransform()}},{key:"bounds",get:function(){return this._bounds},set:function(t){this._bounds=t}},{key:"stage",get:function(){return this._stage},set:function(t){this._stage=t}},{key:"type",get:function(){return y.a[this._type]},set:function(t){this._type=t}},{key:"id",get:function(){return this._id},set:function(t){this._id=t}},{key:"name",get:function(){return this._name},set:function(t){this._name=t}},{key:"rectangle",get:function(){return this._rectangle}},{key:"visible",get:function(){return this._visible},set:function(t){this._visible=t}},{key:"transform",get:function(){return this._transform}}]),f()(t,[{key:"_onAnchorUpdate",value:function(){this._transformID=-1,this._transformTrimmedID=-1}},{key:"updateTransform",value:function(){this.transform.updateTransform(this.parent.transform),this._bounds.updateID++,this._calculateBounds()}},{key:"_recursivePostUpdateTransform",value:function(){this.parent?(this.parent._recursivePostUpdateTransform(),this.transform.updateTransform(this.parent.transform)):this.transform.updateTransform(this._tempDisplayObjectParent.transform)}},{key:"getBounds",value:function(t,n){return t||(this.parent?(this._recursivePostUpdateTransform(),this.updateTransform()):(this.parent=this._tempDisplayObjectParent,this.updateTransform(),this.parent=null)),n||(this._boundsRect||(this._boundsRect=new d.a({x:0,y:0,width:1,height:1})),n=this._boundsRect),this._bounds.getRectangle(n)}},{key:"calculateVertices",value:function(){var t=this.transform.worldTransform,n=t.a,e=t.b,r=t.c,i=t.d,o=t.tx,s=t.ty,a=this.vertexData,u=(this._anchor,this.rectangle.x+this.rectangle.width),c=this.rectangle.x,f=this.rectangle.y+this.rectangle.height,h=this.rectangle.y;a[0]=n*c+r*h+o,a[1]=i*h+e*c+s,a[2]=n*u+r*h+o,a[3]=i*h+e*u+s,a[4]=n*u+r*f+o,a[5]=i*f+e*u+s,a[6]=n*c+r*f+o,a[7]=i*f+e*c+s}},{key:"_calculateBounds",value:function(){this.calculateVertices(),this._bounds.clear(),this._bounds.addQuad(this.vertexData),console.log(this._bounds)}},{key:"getLocalBounds",value:function(t){var n=this.transform,e=this.parent;this.parent=null,this.transform=this._tempDisplayObjectParent.transform,t||(this._localBoundsRect||(this._localBoundsRect=new d.a),t=this._localBoundsRect);var r=this.getBounds(!1,t);return this.parent=e,this.transform=n,r}},{key:"destroy",value:function(){this.parent&&this.parent.removeChild(this),this.parent=null,this._bounds=null,this._destroyed=!0}},{key:"toJson",value:function(){return s()({},{id:this.id,name:this.name,visible:this.visible,rectangle:this.rectangle.toJson(),transform:this.transform.toJson(),texture:this.texture.toJson(),type:this._type})}},{key:"getDescents",value:function(){return!1}},{key:"getAnimationData",value:function(){}},{key:"_tempDisplayObjectParent",get:function(){return null===this.tempDisplayObjectParent&&(this.tempDisplayObjectParent=new t({texture:{}})),this.tempDisplayObjectParent}},{key:"boundsRect",get:function(){return this.getBounds(!0)}},{key:"parent",get:function(){return this._parent},set:function(t){this._parent=t}},{key:"texture",get:function(){return this._texture},set:function(t){this._texture=t}},{key:"toStyle",get:function(){return(new v.a).toStyle(this)}},{key:"toTransform",get:function(){return(new v.a).toTransfrom(this)}}]),t}()},function(t,n,e){"use strict";e.d(n,"a",function(){return u});var r=e(0),i=e.n(r),o=e(1),s=e.n(o),a=e(35),u=function(){function t(){i()(this,t),this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.maxY=-1/0,this.rect=null}return s()(t,[{key:"isEmpty",value:function(){return this.minX>this.maxX||this.minY>this.maxY}},{key:"clear",value:function(){this.updateID++,this.minX=1/0,this.minY=1/0,this.maxX=-1/0,this.maxY=-1/0}},{key:"getRectangle",value:function(t){return this.minX>this.maxX||this.minY>this.maxY?a.a.EMPTY:(t=t||new a.a({x:0,y:0,width:1,height:1}),t.x=this.minX,t.y=this.minY,t.width=this.maxX-this.minX,t.height=this.maxY-this.minY,t)}},{key:"addPoint",value:function(t){this.minX=Math.min(this.minX,t.x),this.maxX=Math.max(this.maxX,t.x),this.minY=Math.min(this.minY,t.y),this.maxY=Math.max(this.maxY,t.y)}},{key:"addQuad",value:function(t){var n=this.minX,e=this.minY,r=this.maxX,i=this.maxY,o=t[0],s=t[1];n=o<n?o:n,e=s<e?s:e,r=o>r?o:r,i=s>i?s:i,o=t[2],s=t[3],n=o<n?o:n,e=s<e?s:e,r=o>r?o:r,i=s>i?s:i,o=t[4],s=t[5],n=o<n?o:n,e=s<e?s:e,r=o>r?o:r,i=s>i?s:i,o=t[6],s=t[7],n=o<n?o:n,e=s<e?s:e,r=o>r?o:r,i=s>i?s:i,this.minX=n,this.minY=e,this.maxX=r,this.maxY=i}},{key:"addFrame",value:function(t,n,e,r,i){var o=t.worldTransform,s=o.a,a=o.b,u=o.c,c=o.d,f=o.tx,h=o.ty,l=this.minX,d=this.minY,p=this.maxX,A=this.maxY,v=s*n+u*e+f,y=a*n+c*e+h;l=v<l?v:l,d=y<d?y:d,p=v>p?v:p,A=y>A?y:A,v=s*r+u*e+f,y=a*r+c*e+h,l=v<l?v:l,d=y<d?y:d,p=v>p?v:p,A=y>A?y:A,v=s*n+u*i+f,y=a*n+c*i+h,l=v<l?v:l,d=y<d?y:d,p=v>p?v:p,A=y>A?y:A,v=s*r+u*i+f,y=a*r+c*i+h,l=v<l?v:l,d=y<d?y:d,p=v>p?v:p,A=y>A?y:A,this.minX=l,this.minY=d,this.maxX=p,this.maxY=A}},{key:"addVertices",value:function(t,n,e,r){for(var i=t.worldTransform,o=i.a,s=i.b,a=i.c,u=i.d,c=i.tx,f=i.ty,h=this.minX,l=this.minY,d=this.maxX,p=this.maxY,A=e;A<r;A+=2){var v=n[A],y=n[A+1],m=o*v+a*y+c,g=u*y+s*v+f;h=m<h?m:h,l=g<l?g:l,d=m>d?m:d,p=g>p?g:p}this.minX=h,this.minY=l,this.maxX=d,this.maxY=p}},{key:"addBounds",value:function(t){var n=this.minX,e=this.minY,r=this.maxX,i=this.maxY;this.minX=t.minX<n?t.minX:n,this.minY=t.minY<e?t.minY:e,this.maxX=t.maxX>r?t.maxX:r,this.maxY=t.maxY>i?t.maxY:i}},{key:"addBoundsMask",value:function(t,n){var e=t.minX>n.minX?t.minX:n.minX,r=t.minY>n.minY?t.minY:n.minY,i=t.maxX<n.maxX?t.maxX:n.maxX,o=t.maxY<n.maxY?t.maxY:n.maxY;if(e<=i&&r<=o){var s=this.minX,a=this.minY,u=this.maxX,c=this.maxY;this.minX=e<s?e:s,this.minY=r<a?r:a,this.maxX=i>u?i:u,this.maxY=o>c?o:c}}},{key:"addBoundsArea",value:function(t,n){var e=t.minX>n.x?t.minX:n.x,r=t.minY>n.y?t.minY:n.y,i=t.maxX<n.x+n.width?t.maxX:n.x+n.width,o=t.maxY<n.y+n.height?t.maxY:n.y+n.height;if(e<=i&&r<=o){var s=this.minX,a=this.minY,u=this.maxX,c=this.maxY;this.minX=e<s?e:s,this.minY=r<a?r:a,this.maxX=i>u?i:u,this.maxY=o>c?o:c}}}]),t}()},function(t,n,e){"use strict";e.d(n,"a",function(){return v});var r=e(22),i=e.n(r),o=e(0),s=e.n(o),a=e(1),u=e.n(a),c=e(37),f=e.n(c),h=e(45),l=e.n(h),d=e(36),p=e(107),A=e(24),v=function(t){function n(){s()(this,n);var t=f()(this,(n.__proto__||i()(n)).call(this));return t.position=new d.a(t.onChange,t,0,0),t.scale=new d.a(t.onChange,t,1,1),t.pivot=new d.a(t.onChange,t,0,0),t.skew=new d.a(t.updateSkew,t,0,0),t._rotation=0,t._cx=1,t._sx=0,t._cy=0,t._sy=1,t._localID=0,t._currentLocalID=0,t._rotateDeg=0,t}return l()(n,t),u()(n,[{key:"onChange",value:function(){this._localID++,this.updateTransform(this)}},{key:"updateSkew",value:function(){this._cx=Math.cos(this._rotation+this.skew._y),this._sx=Math.sin(this._rotation+this.skew._y),this._cy=-Math.sin(this._rotation-this.skew._x),this._sy=Math.cos(this._rotation-this.skew._x),this._localID++,this.updateTransform(this)}},{key:"updateLocalTransform",value:function(){var t=this.localTransform;this._localID!==this._currentLocalID&&(t.a=this._cx*this.scale._x,t.b=this._sx*this.scale._x,t.c=this._cy*this.scale._y,t.d=this._sy*this.scale._y,t.tx=this.position._x-(this.pivot._x*t.a+this.pivot._y*t.c),t.ty=this.position._y-(this.pivot._x*t.b+this.pivot._y*t.d),this._currentLocalID=this._localID,this._parentID=-1)}},{key:"setTransformFromArray",value:function(t){t=t&&9===t.length?t:[0,0,1,1,0,0,0,0,0],this.setTransform(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8])}},{key:"setTransform",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,e=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0,s=arguments.length>6&&void 0!==arguments[6]?arguments[6]:0,a=arguments.length>7&&void 0!==arguments[7]?arguments[7]:0,u=arguments.length>8&&void 0!==arguments[8]?arguments[8]:0;return this.position.x=t,this.position.y=n,this.scale.x=e||1,this.scale.y=r||1,this.rotation=i,this.skew.x=o,this.skew.y=s,this.pivot.x=a,this.pivot.y=u,this}},{key:"updateTransform",value:function(t){var n=this.localTransform;if(this._localID!==this._currentLocalID&&(n.a=this._cx*this.scale._x,n.b=this._sx*this.scale._x,n.c=this._cy*this.scale._y,n.d=this._sy*this.scale._y,n.tx=this.position._x-(this.pivot._x*n.a+this.pivot._y*n.c),n.ty=this.position._y-(this.pivot._x*n.b+this.pivot._y*n.d),this._currentLocalID=this._localID,this._parentID=-1),this._parentID!==t._worldID){var e=t.worldTransform,r=this.worldTransform;r.a=n.a*e.a+n.b*e.c,r.b=n.a*e.b+n.b*e.d,r.c=n.c*e.a+n.d*e.c,r.d=n.c*e.b+n.d*e.d,r.tx=n.tx*e.a+n.ty*e.c+e.tx,r.ty=n.tx*e.b+n.ty*e.d+e.ty,this._parentID=t._worldID,this._worldID++}}},{key:"setFromMatrix",value:function(t){t.decompose(this),this._localID++}},{key:"setFromCssArray",value:function(t){var n=new A.a;n.fromArray(t),this.setFromMatrix(n)}},{key:"toJson",value:function(){var t=[];return t[0]=this.position.x,t[1]=this.position.y,t[2]=this.scale.x,t[3]=this.scale.y,t[4]=this.rotation,t[5]=this.skew.x,t[6]=this.skew.y,t[7]=this.pivot.x,t[8]=this.pivot.y,t}},{key:"rotation",get:function(){return this._rotateDeg},set:function(t){this._rotateDeg=t,this._rotation=2*t*Math.PI/360,this.updateSkew()}}]),n}(p.a)},function(t,n,e){var r=e(11),i=e(21),o=e(31)("IE_PROTO"),s=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),r(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?s:null}},function(t,n,e){var r=e(4),i=e(2),o=e(14);t.exports=function(t,n){var e=(i.Object||{})[t]||Object[t],s={};s[t]=n(e),r(r.S+r.F*o(function(){e(1)}),"Object",s)}},function(t,n,e){"use strict";function r(t){return t&&t.__esModule?t:{default:t}}n.__esModule=!0;var i=e(81),o=r(i),s=e(90),a=r(s),u="function"==typeof a.default&&"symbol"==typeof o.default?function(t){return typeof t}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":typeof t};n.default="function"==typeof a.default&&"symbol"===u(o.default)?function(t){return void 0===t?"undefined":u(t)}:function(t){return t&&"function"==typeof a.default&&t.constructor===a.default&&t!==a.default.prototype?"symbol":void 0===t?"undefined":u(t)}},function(t,n,e){"use strict";var r=e(38),i=e(4),o=e(61),s=e(12),a=e(11),u=e(15),c=e(84),f=e(40),h=e(57),l=e(3)("iterator"),d=!([].keys&&"next"in[].keys()),p=function(){return this};t.exports=function(t,n,e,A,v,y,m){c(e,n,A);var g,x,b,w=function(t){if(!d&&t in B)return B[t];switch(t){case"keys":case"values":return function(){return new e(this,t)}}return function(){return new e(this,t)}},q=n+" Iterator",k="values"==v,C=!1,B=t.prototype,I=B[l]||B["@@iterator"]||v&&B[v],D=!d&&I||w(v),O=v?k?w("entries"):D:void 0,S="Array"==n?B.entries||I:I;if(S&&(b=h(S.call(new t)))!==Object.prototype&&b.next&&(f(b,q,!0),r||a(b,l)||s(b,l,p)),k&&I&&"values"!==I.name&&(C=!0,D=function(){return I.call(this)}),r&&!m||!d&&!C&&B[l]||s(B,l,D),u[n]=D,u[q]=p,v)if(g={values:k?D:w("values"),keys:y?D:w("keys"),entries:O},m)for(x in g)x in B||o(B,x,g[x]);else i(i.P+i.F*(d||C),n,g);return g}},function(t,n,e){t.exports=e(12)},function(t,n,e){var r=e(50),i=e(33).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},function(t,n,e){"use strict";e.d(n,"a",function(){return p});var r=e(108),i=e.n(r),o=e(64),s=e.n(o),a=e(114),u=e.n(a),c=e(0),f=e.n(c),h=e(1),l=e.n(h),d=e(46),p=function(){function t(n){var e=n.content,r=void 0===e?{}:e,i=n.type,o=void 0===i?-1:i,s=n.style,a=void 0===s?{}:s;f()(this,t),this._content=r,this._type=o,this._style=a}return l()(t,[{key:"content",get:function(){return this._content},set:function(t){this._content=t}},{key:"type",get:function(){return d.b[this._type]},set:function(t){this._type=t}},{key:"style",get:function(){return this._style},set:function(t){this._style=t}}]),l()(t,[{key:"toJson",value:function(){var t=!0,n=!1,e=void 0;try{for(var r,o=s()(i()(this.style));!(t=(r=o.next()).done);t=!0){var a=r.value,c=u()(a,2);c[0],c[1]}}catch(t){n=!0,e=t}finally{try{!t&&o.return&&o.return()}finally{if(n)throw e}}return{content:this.content,type:this._type,style:this.style}}}]),t}()},function(t,n,e){t.exports={default:e(112),__esModule:!0}},function(t,n,e){var r=e(66),i=e(3)("iterator"),o=e(15);t.exports=e(2).getIteratorMethod=function(t){if(void 0!=t)return t[i]||t["@@iterator"]||o[r(t)]}},function(t,n,e){var r=e(28),i=e(3)("toStringTag"),o="Arguments"==r(function(){return arguments}()),s=function(t,n){try{return t[n]}catch(t){}};t.exports=function(t){var n,e,a;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=s(n=Object(t),i))?e:o?r(n):"Object"==(a=r(n))&&"function"==typeof n.callee?"Arguments":a}},function(t,n,e){"use strict";e.d(n,"a",function(){return b});var r=e(5),i=e.n(r),o=e(25),s=e.n(o),a=e(22),u=e.n(a),c=e(0),f=e.n(c),h=e(1),l=e.n(h),d=e(37),p=e.n(d),A=e(68),v=e.n(A),y=e(45),m=e.n(y),g=e(54),x=e(47),b=function(t){function n(t){f()(this,n);var e=p()(this,(n.__proto__||u()(n)).call(this,t));return e.children=[],e}return m()(n,t),l()(n,[{key:"getDescents",value:function(){var t=[].concat(s()(this.children));return t.map(function(n){n.getDescents()&&(t=[].concat(s()(t),s()(n.getDescents())))}),[].concat(s()(t))}},{key:"getDescentById",value:function(t){return[].concat(s()(this.getDescents()),[this]).find(function(n){return n.id===t})}},{key:"getDescentsByName",value:function(t){return this.getDescents().filter(function(n){return n.name===t})}},{key:"addChild",value:function(t){var n=t.isMounted?t:Object(x.a)(t,this);return this.children.push(n),n}},{key:"calculateBounds",value:function(){this._bounds.clear(),this._calculateBounds();for(var t=0;t<this.children.length;t++){var n=this.children[t];n.visible&&(n.calculateBounds(),this._bounds.add