InvokeAI/frontend/dist/assets/polyfills-legacy-dde3a68a.js

5 lines
33 KiB
JavaScript
Raw Normal View History

!function(){"use strict";var t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},r=function(t){return t&&t.Math==Math&&t},e=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof t&&t)||function(){return this}()||Function("return this")(),n={},o=function(t){try{return!!t()}catch(r){return!0}},i=!o((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),c=!o((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")})),u=c,a=Function.prototype.call,f=u?a.bind(a):function(){return a.apply(a,arguments)},s={},l={}.propertyIsEnumerable,p=Object.getOwnPropertyDescriptor,d=p&&!l.call({1:2},1);s.f=d?function(t){var r=p(this,t);return!!r&&r.enumerable}:l;var y,h,v=function(t,r){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:r}},g=c,m=Function.prototype,E=m.call,b=g&&m.bind.bind(E,E),O=g?b:function(t){return function(){return E.apply(t,arguments)}},w=O,A=w({}.toString),T=w("".slice),S=function(t){return T(A(t),8,-1)},R=o,I=S,_=Object,j=O("".split),P=R((function(){return!_("z").propertyIsEnumerable(0)}))?function(t){return"String"==I(t)?j(t,""):_(t)}:_,x=function(t){return null==t},C=x,L=TypeError,M=function(t){if(C(t))throw L("Can't call method on "+t);return t},D=P,N=M,k=function(t){return D(N(t))},F="object"==typeof document&&document.all,U={all:F,IS_HTMLDDA:void 0===F&&void 0!==F},W=U.all,V=U.IS_HTMLDDA?function(t){return"function"==typeof t||t===W}:function(t){return"function"==typeof t},z=V,Y=U.all,B=U.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:z(t)||t===Y}:function(t){return"object"==typeof t?null!==t:z(t)},H=e,G=V,q=function(t){return G(t)?t:void 0},X=function(t,r){return arguments.length<2?q(H[t]):H[t]&&H[t][r]},Q=O({}.isPrototypeOf),J=X("navigator","userAgent")||"",K=e,Z=J,$=K.process,tt=K.Deno,rt=$&&$.versions||tt&&tt.version,et=rt&&rt.v8;et&&(h=(y=et.split("."))[0]>0&&y[0]<4?1:+(y[0]+y[1])),!h&&Z&&(!(y=Z.match(/Edge\/(\d+)/))||y[1]>=74)&&(y=Z.match(/Chrome\/(\d+)/))&&(h=+y[1]);var nt=h,ot=o,it=!!Object.getOwnPropertySymbols&&!ot((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&nt&&nt<41})),ct=it&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,ut=X,at=V,ft=Q,st=Object,lt=ct?function(t){return"symbol"==typeof t}:function(t){var r=ut("Symbol");return at(r)&&ft(r.prototype,st(t))},pt=String,dt=function(t){try{return pt(t)}catch(r){return"Object"}},yt=V,ht=dt,vt=TypeError,gt=function(t){if(yt(t))return t;throw vt(ht(t)+" is not a function")},mt=gt,Et=x,bt=f,Ot=V,wt=B,At=TypeError,Tt={exports:{}},St=e,Rt=Object.defineProperty,It=function(t,r){try{Rt(St,t,{value:r,configurable:!0,writable:!0})}catch(e){St[t]=r}return r},_t=It,jt="__core-js_shared__",Pt=e[jt]||_t(jt,{}),xt=Pt;(Tt.exports=function(t,r){return xt[t]||(xt[t]=void 0!==r?r:{})})("versions",[]).push({version:"3.26.1",mode:"global",copyright:"© 2014-2022 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.26.1/LICENSE",source:"https://github.com/zloirock/core-js"});var Ct=M,Lt=Object,Mt=function(t){return Lt(Ct(t))},Dt=Mt,Nt=O({}.hasOwnProperty),kt=Object.hasOwn||function(t,r){return Nt(Dt(t),r)},Ft=O,Ut=0,Wt=Math.random(),Vt=Ft(1..toString),zt=function(t){return"Symbol("+(void 0===t?"":t)+")_"+Vt(++Ut+Wt,36)},Yt=e,Bt=Tt.exports,Ht=kt,Gt=zt,qt=it,Xt=ct,Qt=Bt("wks"),Jt=Yt.Symbol,Kt=Jt&&Jt.for,Zt=Xt?Jt:Jt&&Jt.withoutSetter||Gt,$t=function(t){if(!Ht(Qt,t)||!qt&&"string"!=typeof Qt[t]){var r="Symbol."+t;qt&&Ht(Jt,t)?Qt[t]=Jt[t]:Qt[t]=Xt&&Kt?Kt(r):Zt(r)}return Qt[t]},tr=f,rr=B,er=lt,nr=function(t,r){var e=t[r];return Et(e)?void 0:mt(e)},or=function(t,r){var e,n;if("string"===r&&Ot(e=t.toString)&&!wt(n=bt(e,t)))return n;if(Ot(e=t.valueOf)&&!wt(n=bt(e,t)))return n;if("string"!==r&&Ot(e=t.toString)&&!wt(n=bt(e,t)))return n;throw At("Can't convert object to primitive value")},ir=TypeError,cr=$t("toPrimitive"),ur=function(t,r){if(!rr(t)||er(t
/*!
* SJS 6.13.0
*/!function(){function r(t,r){return(r||"")+" (SystemJS https://github.com/systemjs/systemjs/blob/main/docs/errors.md#"+t+")"}function e(t,r){if(-1!==t.indexOf("\\")&&(t=t.replace(T,"/")),"/"===t[0]&&"/"===t[1])return r.slice(0,r.indexOf(":")+1)+t;if("."===t[0]&&("/"===t[1]||"."===t[1]&&("/"===t[2]||2===t.length&&(t+="/"))||1===t.length&&(t+="/"))||"/"===t[0]){var e,n=r.slice(0,r.indexOf(":")+1);if(e="/"===r[n.length+1]?"file:"!==n?(e=r.slice(n.length+2)).slice(e.indexOf("/")+1):r.slice(8):r.slice(n.length+("/"===r[n.length])),"/"===t[0])return r.slice(0,r.length-e.length-1)+t;for(var o=e.slice(0,e.lastIndexOf("/")+1)+t,i=[],c=-1,u=0;u<o.length;u++)-1!==c?"/"===o[u]&&(i.push(o.slice(c,u+1)),c=-1):"."===o[u]?"."!==o[u+1]||"/"!==o[u+2]&&u+2!==o.length?"/"===o[u+1]||u+1===o.length?u+=1:c=u:(i.pop(),u+=2):c=u;return-1!==c&&i.push(o.slice(c)),r.slice(0,r.length-e.length)+i.join("")}}function n(t,r){return e(t,r)||(-1!==t.indexOf(":")?t:e("./"+t,r))}function o(t,r,n,o,i){for(var c in t){var u=e(c,n)||c,s=t[c];if("string"==typeof s){var l=f(o,e(s,n)||s,i);l?r[u]=l:a("W1",c,s)}}}function i(t,r,e){var i;for(i in t.imports&&o(t.imports,e.imports,r,e,null),t.scopes||{}){var c=n(i,r);o(t.scopes[i],e.scopes[c]||(e.scopes[c]={}),r,e,c)}for(i in t.depcache||{})e.depcache[n(i,r)]=t.depcache[i];for(i in t.integrity||{})e.integrity[n(i,r)]=t.integrity[i]}function c(t,r){if(r[t])return t;var e=t.length;do{var n=t.slice(0,e+1);if(n in r)return n}while(-1!==(e=t.lastIndexOf("/",e-1)))}function u(t,r){var e=c(t,r);if(e){var n=r[e];if(null===n)return;if(!(t.length>e.length&&"/"!==n[n.length-1]))return n+t.slice(e.length);a("W2",e,n)}}function a(t,e,n){console.warn(r(t,[n,e].join(", ")))}function f(t,r,e){for(var n=t.scopes,o=e&&c(e,n);o;){var i=u(r,n[o]);if(i)return i;o=c(o.slice(0,o.lastIndexOf("/")),n)}return u(r,t.imports)||-1!==r.indexOf(":")&&r}function s(){this[R]={}}function l(t,e,n){var o=t[R][e];if(o)return o;var i=[],c=Object.create(null);S&&Object.defineProperty(c,S,{value:"Module"});var u=Promise.resolve().then((function(){return t.instantiate(e,n)})).then((function(n){if(!n)throw Error(r(2,e));var u=n[1]((function(t,r){o.h=!0;var e=!1;if("string"==typeof t)t in c&&c[t]===r||(c[t]=r,e=!0);else{for(var n in t)r=t[n],n in c&&c[n]===r||(c[n]=r,e=!0);t&&t.__esModule&&(c.__esModule=t.__esModule)}if(e)for(var u=0;u<i.length;u++){var a=i[u];a&&a(c)}return r}),2===n[1].length?{import:function(r){return t.import(r,e)},meta:t.createContext(e)}:void 0);return o.e=u.execute||function(){},[n[0],u.setters||[]]}),(function(t){throw o.e=null,o.er=t,t})),a=u.then((function(r){return Promise.all(r[0].map((function(n,o){var i=r[1][o];return Promise.resolve(t.resolve(n,e)).then((function(r){var n=l(t,r,e);return Promise.resolve(n.I).then((function(){return i&&(n.i.push(i),!n.h&&n.I||i(n.n)),n}))}))}))).then((function(t){o.d=t}))}));return o=t[R][e]={id:e,i:i,n:c,I:u,L:a,h:!1,d:void 0,e:void 0,er:void 0,E:void 0,C:void 0,p:void 0}}function p(t,r,e,n){if(!n[r.id])return n[r.id]=!0,Promise.resolve(r.L).then((function(){return r.p&&null!==r.p.e||(r.p=e),Promise.all(r.d.map((function(r){return p(t,r,e,n)})))})).catch((function(t){if(r.er)throw t;throw r.e=null,t}))}function d(t,r){return r.C=p(t,r,r,{}).then((function(){return y(t,r,{})})).then((function(){return r.n}))}function y(t,r,e){function n(){try{var t=i.call(_);if(t)return t=t.then((function(){r.C=r.n,r.E=null}),(function(t){throw r.er=t,r.E=null,t})),r.E=t;r.C=r.n,r.L=r.I=void 0}catch(e){throw r.er=e,e}}if(!e[r.id]){if(e[r.id]=!0,!r.e){if(r.er)throw r.er;return r.E?r.E:void 0}var o,i=r.e;return r.e=null,r.d.forEach((function(n){try{var i=y(t,n,e);i&&(o=o||[]).push(i)}catch(u){throw r.er=u,u}})),o?Promise.all(o).then(n):n()}}function h(){[].forEach.call(document.querySelectorAll("script"),(function(t){if(!t.sp)if("systemjs-module"===t.type){if(t.sp=!0,!t.src)return;System.import("import:"===t.src.slice(0,7)?t.src.slice(7):n(t.src,v)).catch((function(r){if(r.message.indexOf("https://github.com/systemjs/systemjs/blob/main/docs/errors.md#3")>-1){var e=document.createEvent("Event");e.initEvent("err