webpack-bootstrap-ui-kit/dist/js/app.js

1 line
125 KiB
JavaScript
Raw Normal View History

2021-10-28 03:12:01 +02:00
!function(){var e={490:function(e,t,n){e.exports=n(41)},184:function(e,t,n){"use strict";var r=n(989),o=n(564),i=n(132),a=n(642),s=n(894),c=n(464),l=n(984),u=n(350),f=n(765),p=n(512);e.exports=function xhrAdapter(e){return new Promise((function dispatchXhrRequest(t,n){var h,v=e.data,g=e.headers,b=e.responseType;function done(){e.cancelToken&&e.cancelToken.unsubscribe(h),e.signal&&e.signal.removeEventListener("abort",h)}r.isFormData(v)&&delete g["Content-Type"];var w=new XMLHttpRequest;if(e.auth){var _=e.auth.username||"",k=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";g.Authorization="Basic "+btoa(_+":"+k)}var E=s(e.baseURL,e.url);function onloadend(){if(w){var r="getAllResponseHeaders"in w?c(w.getAllResponseHeaders()):null,i={data:b&&"text"!==b&&"json"!==b?w.response:w.responseText,status:w.status,statusText:w.statusText,headers:r,config:e,request:w};o((function _resolve(e){t(e),done()}),(function _reject(e){n(e),done()}),i),w=null}}if(w.open(e.method.toUpperCase(),a(E,e.params,e.paramsSerializer),!0),w.timeout=e.timeout,"onloadend"in w?w.onloadend=onloadend:w.onreadystatechange=function handleLoad(){w&&4===w.readyState&&(0!==w.status||w.responseURL&&0===w.responseURL.indexOf("file:"))&&setTimeout(onloadend)},w.onabort=function handleAbort(){w&&(n(u("Request aborted",e,"ECONNABORTED",w)),w=null)},w.onerror=function handleError(){n(u("Network Error",e,null,w)),w=null},w.ontimeout=function handleTimeout(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",r=e.transitional||f.transitional;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(u(t,e,r.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",w)),w=null},r.isStandardBrowserEnv()){var A=(e.withCredentials||l(E))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;A&&(g[e.xsrfHeaderName]=A)}"setRequestHeader"in w&&r.forEach(g,(function setRequestHeader(e,t){"undefined"===typeof v&&"content-type"===t.toLowerCase()?delete g[t]:w.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(w.withCredentials=!!e.withCredentials),b&&"json"!==b&&(w.responseType=e.responseType),"function"===typeof e.onDownloadProgress&&w.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&w.upload&&w.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(h=function onCanceled(e){w&&(n(!e||e&&e.type?new p("canceled"):e),w.abort(),w=null)},e.cancelToken&&e.cancelToken.subscribe(h),e.signal&&(e.signal.aborted?h():e.signal.addEventListener("abort",h))),v||(v=null),w.send(v)}))}},41:function(e,t,n){"use strict";var r=n(989),o=n(18),i=n(626),a=n(130);var s=function createInstance(e){var t=new i(e),n=o(i.prototype.request,t);return r.extend(n,i.prototype,t),r.extend(n,t),n.create=function create(t){return createInstance(a(e,t))},n}(n(765));s.Axios=i,s.Cancel=n(512),s.CancelToken=n(471),s.isCancel=n(83),s.VERSION=n(552).version,s.all=function all(e){return Promise.all(e)},s.spread=n(501),s.isAxiosError=n(605),e.exports=s,e.exports.default=s},512:function(e){"use strict";function Cancel(e){this.message=e}Cancel.prototype.toString=function toString(){return"Cancel"+(this.message?": "+this.message:"")},Cancel.prototype.__CANCEL__=!0,e.exports=Cancel},471:function(e,t,n){"use strict";var r=n(512);function CancelToken(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function promiseExecutor(e){t=e}));var n=this;this.promise.then((function(e){if(n._listeners){var t,r=n._listeners.length;for(t=0;t<r;t++)n._listeners[t](e);n._listeners=null}})),this.promise.then=function(e){var t,r=new Promise((function(e){n.subscribe(e),t=e})).then(e);return r.cancel=function reject(){n.unsubscribe(t)},r},e((function cancel(e){n.reason||(n.reason=new r(e),t(n.reason))}))}CancelToken.prototype.throwIfRequested=function throwIfRequested(){if(this.reason)throw this.reason},CancelToken.prototype.subscribe=function subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},CancelToken.prototype.unsubscribe=function unsubscribe(e