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

1 line
78 KiB
JavaScript
Raw Normal View History

2021-09-08 22:55:08 +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":49,"./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":49,"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":49,"img/photo1.png":542,"img/photo2.jpg":320,"img/photo3.svg":688,"logo.png":48,"logo.svg":262,"original.png":253,"original2.png":49,"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},917:function(e,t,n){e.exports=n(754)},358:function(e,t,n){"use strict";var r=n(642),o=n(399),a=n(741),i=n(410),s=n(23),c=n(125),l=n(1),u=n(308);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)}))}},754:function(e,t,n){"use strict";var r=n(642),o=n(317),a=n(912),i=n(138);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(108));s.Axios=a,s.create=function create(e){return createInstance(i(s.defaults,e))},s.Cancel=n(37),s.CancelToken=n(966),s.isCancel=n(532),s.all=function all(e){return Promise.all(e)},s.spread=n(172),s.isAxiosError=n(366),e.exports=s,e.exports.default=s},37: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},966:function(e,t,n){"use strict";var r=n(37);function CancelToken(e){if("function"!==typeof e)throw new Typ