svgedit/dist/editor/system/extensions/ext-server_opensave/ext-server_opensave.js

2 lines
212 KiB
JavaScript
Raw Normal View History

2020-10-05 20:01:57 +00:00
System.register([],(function(t){"use strict";return{execute:function(){var r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function createCommonjsModule(t,r,i){return t(i={path:r,exports:{},require:function(t,r){return function commonjsRequire(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==r&&i.path)}},i.exports),i.exports}var check=function(t){return t&&t.Math==Math&&t},i=check("object"==typeof globalThis&&globalThis)||check("object"==typeof window&&window)||check("object"==typeof self&&self)||check("object"==typeof r&&r)||Function("return this")(),fails=function(t){try{return!!t()}catch(t){return!0}},o=!fails((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),a={}.propertyIsEnumerable,u=Object.getOwnPropertyDescriptor,l={f:u&&!a.call({1:2},1)?function propertyIsEnumerable(t){var r=u(this,t);return!!r&&r.enumerable}:a},createPropertyDescriptor=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}},h={}.toString,classofRaw=function(t){return h.call(t).slice(8,-1)},p="".split,y=fails((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==classofRaw(t)?p.call(t,""):Object(t)}:Object,requireObjectCoercible=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t},toIndexedObject=function(t){return y(requireObjectCoercible(t))},isObject=function(t){return"object"==typeof t?null!==t:"function"==typeof t},toPrimitive=function(t,r){if(!isObject(t))return t;var i,o;if(r&&"function"==typeof(i=t.toString)&&!isObject(o=i.call(t)))return o;if("function"==typeof(i=t.valueOf)&&!isObject(o=i.call(t)))return o;if(!r&&"function"==typeof(i=t.toString)&&!isObject(o=i.call(t)))return o;throw TypeError("Can't convert object to primitive value")},g={}.hasOwnProperty,has=function(t,r){return g.call(t,r)},d=i.document,v=isObject(d)&&isObject(d.createElement),documentCreateElement=function(t){return v?d.createElement(t):{}},x=!o&&!fails((function(){return 7!=Object.defineProperty(documentCreateElement("div"),"a",{get:function(){return 7}}).a})),b=Object.getOwnPropertyDescriptor,S={f:o?b:function getOwnPropertyDescriptor(t,r){if(t=toIndexedObject(t),r=toPrimitive(r,!0),x)try{return b(t,r)}catch(t){}if(has(t,r))return createPropertyDescriptor(!l.f.call(t,r),t[r])}},anObject=function(t){if(!isObject(t))throw TypeError(String(t)+" is not an object");return t},w=Object.defineProperty,k={f:o?w:function defineProperty(t,r,i){if(anObject(t),r=toPrimitive(r,!0),anObject(i),x)try{return w(t,r,i)}catch(t){}if("get"in i||"set"in i)throw TypeError("Accessors not supported");return"value"in i&&(t[r]=i.value),t}},E=o?function(t,r,i){return k.f(t,r,createPropertyDescriptor(1,i))}:function(t,r,i){return t[r]=i,t},setGlobal=function(t,r){try{E(i,t,r)}catch(o){i[t]=r}return r},P="__core-js_shared__",C=i[P]||setGlobal(P,{}),R=Function.toString;"function"!=typeof C.inspectSource&&(C.inspectSource=function(t){return R.call(t)});var A,T,_,M=C.inspectSource,N=i.WeakMap,O="function"==typeof N&&/native code/.test(M(N)),D=createCommonjsModule((function(t){(t.exports=function(t,r){return C[t]||(C[t]=void 0!==r?r:{})})("versions",[]).push({version:"3.6.5",mode:"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})})),$=0,I=Math.random(),uid=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++$+I).toString(36)},V=D("keys"),sharedKey=function(t){return V[t]||(V[t]=uid(t))},L={},j=i.WeakMap;if(O){var B=new j,G=B.get,z=B.has,U=B.set;A=function(t,r){return U.call(B,t,r),r},T=function(t){return G.call(B,t)||{}},_=function(t){return z.call(B,t)}}else{var q=sharedKey("state");L[q]=!0,A=function(t,r){return E(t,q,r),r},T=function(t){return has(t,q)?t[q]:{}},_=function(t){return has(t,q)}}var W,H,X={set:A,get:T,has:_,enforce:function(t){return _(t)?T(t):A(t,{})},getterFor:function(t){return function(r){var i;if(!isObject(r)||(i=T(r)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return i}}},Y=