silverstripe-webpack/app/client/dist/js/app.js

1 line
78 KiB
JavaScript
Raw Normal View History

2021-09-05 22:12:21 +02:00
!function(){var e={779:function(e,t,n){var r={"./bg.png":623,"./logo.png":48,"./logo.svg":262,"./original.png":253,"./original2.png":862,"./photo1.png":542,"./photo2.jpg":320,"./photo3.svg":688,"app/client/src/img/bg.png":623,"app/client/src/img/logo.png":48,"app/client/src/img/logo.svg":262,"app/client/src/img/original.png":253,"app/client/src/img/original2.png":862,"app/client/src/img/photo1.png":542,"app/client/src/img/photo2.jpg":320,"app/client/src/img/photo3.svg":688,"bg.png":623,"img/bg.png":623,"img/logo.png":48,"img/logo.svg":262,"img/original.png":253,"img/original2.png":862,"img/photo1.png":542,"img/photo2.jpg":320,"img/photo3.svg":688,"logo.png":48,"logo.svg":262,"original.png":253,"original2.png":862,"photo1.png":542,"photo2.jpg":320,"photo3.svg":688};function webpackContext(e){var t=webpackContextResolve(e);return n(t)}function webpackContextResolve(e){if(!n.o(r,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return r[e]}webpackContext.keys=function webpackContextKeys(){return Object.keys(r)},webpackContext.resolve=webpackContextResolve,e.exports=webpackContext,webpackContext.id=779},920:function(e,t,n){e.exports=n(53)},344:function(e,t,n){"use strict";var r=n(528),o=n(131),a=n(675),i=n(72),s=n(845),c=n(974),l=n(701),u=n(170);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 h=new XMLHttpRequest;if(e.auth){var m=e.auth.username||"",g=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";d.Authorization="Basic "+btoa(m+":"+g)}var y=s(e.baseURL,e.url);function onloadend(){if(h){var r="getAllResponseHeaders"in h?c(h.getAllResponseHeaders()):null,a={data:p&&"text"!==p&&"json"!==p?h.response:h.responseText,status:h.status,statusText:h.statusText,headers:r,config:e,request:h};o(t,n,a),h=null}}if(h.open(e.method.toUpperCase(),i(y,e.params,e.paramsSerializer),!0),h.timeout=e.timeout,"onloadend"in h?h.onloadend=onloadend:h.onreadystatechange=function handleLoad(){h&&4===h.readyState&&(0!==h.status||h.responseURL&&0===h.responseURL.indexOf("file:"))&&setTimeout(onloadend)},h.onabort=function handleAbort(){h&&(n(u("Request aborted",e,"ECONNABORTED",h)),h=null)},h.onerror=function handleError(){n(u("Network Error",e,null,h)),h=null},h.ontimeout=function handleTimeout(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(u(t,e,e.transitional&&e.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",h)),h=null},r.isStandardBrowserEnv()){var v=(e.withCredentials||l(y))&&e.xsrfCookieName?a.read(e.xsrfCookieName):void 0;v&&(d[e.xsrfHeaderName]=v)}"setRequestHeader"in h&&r.forEach(d,(function setRequestHeader(e,t){"undefined"===typeof f&&"content-type"===t.toLowerCase()?delete d[t]:h.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(h.withCredentials=!!e.withCredentials),p&&"json"!==p&&(h.responseType=e.responseType),"function"===typeof e.onDownloadProgress&&h.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&h.upload&&h.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function onCanceled(e){h&&(h.abort(),n(e),h=null)})),f||(f=null),h.send(f)}))}},53:function(e,t,n){"use strict";var r=n(528),o=n(993),a=n(693),i=n(299);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(512));s.Axios=a,s.create=function create(e){return createInstance(i(s.defaults,e))},s.Cancel=n(126),s.CancelToken=n(387),s.isCancel=n(135),s.all=function all(e){return Promise.all(e)},s.spread=n(318),s.isAxiosError=n(312),e.exports=s,e.exports.default=s},126: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},387:function(e,t,n){"use strict";var r=n(126);function CancelToken(e){if("function"!==typeof e)throw