main-legacy.cf78dbc6.js 2.2 KB

1
  1. System.register(["./App-legacy.705693f7.js","./lib-flexible-legacy.e8ca3d6a.js"],(function(){"use strict";var e,t,n,o;return{setters:[function(c){e=c.s,t=c.f,n=c.c,o=c.A},function(){}],execute:function(){!function(){if("undefined"!=typeof window){var e,t="ontouchstart"in window;document.createTouch||(document.createTouch=function(e,t,o,c,i,u,r){return new n(t,o,{pageX:c,pageY:i,screenX:u,screenY:r,clientX:c-window.pageXOffset,clientY:i-window.pageYOffset},0,0)}),document.createTouchList||(document.createTouchList=function(){for(var e=c(),t=0;t<arguments.length;t++)e[t]=arguments[t];return e.length=arguments.length,e}),Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(e){var t=this;do{if(t.matches(e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null});var n=function(e,t,n,o,c){o=o||0,c=c||0,this.identifier=t,this.target=e,this.clientX=n.clientX+o,this.clientY=n.clientY+c,this.screenX=n.screenX+o,this.screenY=n.screenY+c,this.pageX=n.pageX+o,this.pageY=n.pageY+c},o=!1;s.multiTouchOffset=75,t||new s}function c(){var e=[];return e.item=function(e){return this[e]||null},e.identifiedTouch=function(e){return this[e+1]||null},e}function i(t){return function(n){var c,i,s;"mousedown"===n.type&&(o=!0),"mouseup"===n.type&&(o=!1),("mousemove"!==n.type||o)&&(("mousedown"===n.type||!e||e&&!e.dispatchEvent)&&(e=n.target),null==e.closest("[data-no-touch-simulate]")&&(c=t,i=n,(s=document.createEvent("Event")).initEvent(c,!0,!0),s.altKey=i.altKey,s.ctrlKey=i.ctrlKey,s.metaKey=i.metaKey,s.shiftKey=i.shiftKey,s.touches=r(i),s.targetTouches=r(i),s.changedTouches=u(i),e.dispatchEvent(s)),"mouseup"===n.type&&(e=null))}}function u(t){var o=c();return o.push(new n(e,1,t,0,0)),o}function r(e){return"mouseup"===e.type?c():u(e)}function s(){window.addEventListener("mousedown",i("touchstart"),!0),window.addEventListener("mousemove",i("touchmove"),!0),window.addEventListener("mouseup",i("touchend"),!0)}}(),e.clintNmae="colexiu",window.DYEnvironment="colexiu";try{document.body.style.setProperty("--osdm-zoom",""+t())}catch(c){console.log("🚀 ~ error",c)}n(o).mount("#app")}}}));