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

1 line
39 KiB
JavaScript
Raw Normal View History

2021-09-12 23:19:05 +02:00
!function(){var e={617:function(e,t,n){e.exports=n(456)},990:function(e,t,n){"use strict";var r=n(390),o=n(72),a=n(894),i=n(359),s=n(215),c=n(758),u=n(763),l=n(547);e.exports=function xhrAdapter(e){return new Promise((function dispatchXhrRequest(t,n){var f=e.data,d=e.headers,p=e.responseType;r.isFormData(f)&&delete d["Content-Type"];var m=new XMLHttpRequest;if(e.auth){var h=e.auth.username||"",g=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";d.Authorization="Basic "+btoa(h+":"+g)}var y=s(e.baseURL,e.url);function onloadend(){if(m){var r="getAllResponseHeaders"in m?c(m.getAllResponseHeaders()):null,a={data:p&&"text"!==p&&"json"!==p?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:r,config:e,request:m};o(t,n,a),m=null}}if(m.open(e.method.toUpperCase(),i(y,e.params,e.paramsSerializer),!0),m.timeout=e.timeout,"onloadend"in m?m.onloadend=onloadend:m.onreadystatechange=function handleLoad(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(onloadend)},m.onabort=function handleAbort(){m&&(n(l("Request aborted",e,"ECONNABORTED",m)),m=null)},m.onerror=function handleError(){n(l("Network Error",e,null,m)),m=null},m.ontimeout=function handleTimeout(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(l(t,e,e.transitional&&e.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",m)),m=null},r.isStandardBrowserEnv()){var v=(e.withCredentials||u(y))&&e.xsrfCookieName?a.read(e.xsrfCookieName):void 0;v&&(d[e.xsrfHeaderName]=v)}"setRequestHeader"in m&&r.forEach(d,(function setRequestHeader(e,t){"undefined"===typeof f&&"content-type"===t.toLowerCase()?delete d[t]:m.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(m.withCredentials=!!e.withCredentials),p&&"json"!==p&&(m.responseType=e.responseType),"function"===typeof e.onDownloadProgress&&m.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&m.upload&&m.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function onCanceled(e){m&&(m.abort(),n(e),m=null)})),f||(f=null),m.send(f)}))}},456:function(e,t,n){"use strict";var r=n(390),o=n(691),a=n(963),i=n(881);function createInstance(e){var t=new a(e),n=o(a.prototype.request,t);return r.extend(n,a.prototype,t),r.extend(n,t),n}var s=createInstance(n(754));s.Axios=a,s.create=function create(e){return createInstance(i(s.defaults,e))},s.Cancel=n(681),s.CancelToken=n(335),s.isCancel=n(114),s.all=function all(e){return Promise.all(e)},s.spread=n(852),s.isAxiosError=n(481),e.exports=s,e.exports.default=s},681: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},335:function(e,t,n){"use strict";var r=n(681);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;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.source=function source(){var e;return{token:new CancelToken((function executor(t){e=t})),cancel:e}},e.exports=CancelToken},114:function(e){"use strict";e.exports=function isCancel(e){return!(!e||!e.__CANCEL__)}},963:function(e,t,n){"use strict";var r=n(390),o=n(359),a=n(550),i=n(404),s=n(881),c=n(938),u=c.validators;function Axios(e){this.defaults=e,this.interceptors={request:new a,response:new a}}Axios.prototype.request=function request(e){"string"===typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=s(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=e.transitional;void 0!==t&&c.assertOptions(t,{silentJSONParsing:u.transitional(u.boolean,"1.0.0"),forcedJSONParsing:u.transitional(u.boolean,"1.0.0"),clarifyTimeoutErr