meta-lightbox/dist/js/app.js

1 line
73 KiB
JavaScript
Raw Normal View History

2021-07-19 18:41:20 +02:00
!function(){var e={131:function(e,t,n){e.exports=n(190)},309:function(e,t,n){"use strict";var r=n(193),i=n(567),d=n(971),h=n(450),y=n(876),g=n(105),b=n(364),v=n(817);e.exports=function xhrAdapter(e){return new Promise((function dispatchXhrRequest(t,n){var _=e.data,w=e.headers;r.isFormData(_)&&delete w["Content-Type"];var C=new XMLHttpRequest;if(e.auth){var S=e.auth.username||"",E=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";w.Authorization="Basic "+btoa(S+":"+E)}var x=y(e.baseURL,e.url);if(C.open(e.method.toUpperCase(),h(x,e.params,e.paramsSerializer),!0),C.timeout=e.timeout,C.onreadystatechange=function handleLoad(){if(C&&4===C.readyState&&(0!==C.status||C.responseURL&&0===C.responseURL.indexOf("file:"))){var r="getAllResponseHeaders"in C?g(C.getAllResponseHeaders()):null,d={data:e.responseType&&"text"!==e.responseType?C.response:C.responseText,status:C.status,statusText:C.statusText,headers:r,config:e,request:C};i(t,n,d),C=null}},C.onabort=function handleAbort(){C&&(n(v("Request aborted",e,"ECONNABORTED",C)),C=null)},C.onerror=function handleError(){n(v("Network Error",e,null,C)),C=null},C.ontimeout=function handleTimeout(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(v(t,e,"ECONNABORTED",C)),C=null},r.isStandardBrowserEnv()){var k=(e.withCredentials||b(x))&&e.xsrfCookieName?d.read(e.xsrfCookieName):void 0;k&&(w[e.xsrfHeaderName]=k)}if("setRequestHeader"in C&&r.forEach(w,(function setRequestHeader(e,t){"undefined"===typeof _&&"content-type"===t.toLowerCase()?delete w[t]:C.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(C.withCredentials=!!e.withCredentials),e.responseType)try{C.responseType=e.responseType}catch(K){if("json"!==e.responseType)throw K}"function"===typeof e.onDownloadProgress&&C.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&C.upload&&C.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function onCanceled(e){C&&(C.abort(),n(e),C=null)})),_||(_=null),C.send(_)}))}},190:function(e,t,n){"use strict";var r=n(193),i=n(34),d=n(985),h=n(398);function createInstance(e){var t=new d(e),n=i(d.prototype.request,t);return r.extend(n,d.prototype,t),r.extend(n,t),n}var y=createInstance(n(849));y.Axios=d,y.create=function create(e){return createInstance(h(y.defaults,e))},y.Cancel=n(24),y.CancelToken=n(90),y.isCancel=n(780),y.all=function all(e){return Promise.all(e)},y.spread=n(506),y.isAxiosError=n(69),e.exports=y,e.exports.default=y},24: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},90:function(e,t,n){"use strict";var r=n(24);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},780:function(e){"use strict";e.exports=function isCancel(e){return!(!e||!e.__CANCEL__)}},985:function(e,t,n){"use strict";var r=n(193),i=n(450),d=n(370),h=n(235),y=n(398);function Axios(e){this.defaults=e,this.interceptors={request:new d,response:new d}}Axios.prototype.request=function request(e){"string"===typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=y(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=[h,void 0],n=Promise.resolve(e);for(this.interceptors.request.forEach((function unshiftRequestInterceptors(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function pushResponseInterceptors(e){t.push(e.fulfilled,e.rejected)}));t.length;)n=n.then(t.shift(),t.shift());retu