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

2 lines
412 KiB
JavaScript

/*! For license information please see app.js.LICENSE.txt */
!function(){var e={6999:function(e,t,n){var r={"./bg.png":6316,"./logo.png":1887,"./logo.svg":738,"./original.png":1582,"./original2.png":104,"./photo1.png":8035,"./photo2.jpg":7675,"./photo3.svg":5192,"app/client/src/img/bg.png":6316,"app/client/src/img/logo.png":1887,"app/client/src/img/logo.svg":738,"app/client/src/img/original.png":1582,"app/client/src/img/original2.png":104,"app/client/src/img/photo1.png":8035,"app/client/src/img/photo2.jpg":7675,"app/client/src/img/photo3.svg":5192,"bg.png":6316,"img/bg.png":6316,"img/logo.png":1887,"img/logo.svg":738,"img/original.png":1582,"img/original2.png":104,"img/photo1.png":8035,"img/photo2.jpg":7675,"img/photo3.svg":5192,"logo.png":1887,"logo.svg":738,"original.png":1582,"original2.png":104,"photo1.png":8035,"photo2.jpg":7675,"photo3.svg":5192};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=6999},3458:function(e){var t={getParents:function(e,t){for(var n=[],r=e;r&&r!==document;)t?r.matches(t)&&n.push(r):n.push(r),r=r.parentNode;return n}};e.exports=t,e.exports.default=t},7500:function(){},559:function(e,t,n){"use strict";n.d(t,{ApolloLink:function(){return d.i0},from:function(){return d.Dp}});var r=n(7283);n.o(r,"ApolloLink")&&n.d(t,{ApolloLink:function(){return r.ApolloLink}}),n.o(r,"from")&&n.d(t,{from:function(){return r.from}});var i=n(7500);n.o(i,"ApolloLink")&&n.d(t,{ApolloLink:function(){return i.ApolloLink}}),n.o(i,"from")&&n.d(t,{from:function(){return i.from}});var d=n(4898);(0,n(9304).U6)("log")},7283:function(){},3574:function(e,t,n){"use strict";var r=n(559);n.o(r,"ApolloLink")&&n.d(t,{ApolloLink:function(){return r.ApolloLink}}),n.o(r,"from")&&n.d(t,{from:function(){return r.from}});var i=n(4554);n.o(i,"ApolloLink")&&n.d(t,{ApolloLink:function(){return i.ApolloLink}}),n.o(i,"from")&&n.d(t,{from:function(){return i.from}})},741:function(e,t,n){"use strict";n.d(t,{i:function(){return g}});var r=n(4878),i=n(9304),d=n(2753),h=n.n(d);var y=n(9203);function passthrough(e,t){return t?t(e):h().of()}function toLink(e){return"function"===typeof e?new g(e):e}function isTerminating(e){return e.request.length<=1}!function(e){function LinkError(t,n){var r=e.call(this,t)||this;return r.link=n,r}(0,r.ZT)(LinkError,e)}(Error);var g=function(){function ApolloLink(e){e&&(this.request=e)}return ApolloLink.empty=function(){return new ApolloLink((function(){return h().of()}))},ApolloLink.from=function(e){return 0===e.length?ApolloLink.empty():e.map(toLink).reduce((function(e,t){return e.concat(t)}))},ApolloLink.split=function(e,t,n){var r=toLink(t),i=toLink(n||new ApolloLink(passthrough));return isTerminating(r)&&isTerminating(i)?new ApolloLink((function(t){return e(t)?r.request(t)||h().of():i.request(t)||h().of()})):new ApolloLink((function(t,n){return e(t)?r.request(t,n)||h().of():i.request(t,n)||h().of()}))},ApolloLink.execute=function(e,t){return e.request(function createOperation(e,t){var n=(0,r.pi)({},e);return Object.defineProperty(t,"setContext",{enumerable:!1,value:function setContext(e){n="function"===typeof e?(0,r.pi)((0,r.pi)({},n),e(n)):(0,r.pi)((0,r.pi)({},n),e)}}),Object.defineProperty(t,"getContext",{enumerable:!1,value:function getContext(){return(0,r.pi)({},n)}}),t}(t.context,function transformOperation(e){var t={variables:e.variables||{},extensions:e.extensions||{},operationName:e.operationName,query:e.query};return t.operationName||(t.operationName="string"!==typeof t.query?(0,y.rY)(t.query)||void 0:""),t}(function validateOperation(e){for(var t=["query","operationName","variables","extensions","context"],n=0,r=Object.keys(e);n<r.length;n++){var d=r[n];if(t.indexOf(d)<0)throw new i.ej(26)}return e}(t))))||h().of()},ApolloLink.concat=function(e,t){var n=toLink(e);if(isTerminating(n))return n;var r=toLink(t);return isTerminating(r)?new ApolloLink((function(e){return n.request(e,(function(e){return r.request(e)||h().of()}))||h().of()})):new ApolloLink((function(e,t){return n.request(e,(function(e){return r.request(e,t)||h().of()}))||h().of()}))},ApolloLink.prototype.split=function(e,t,n){return this.concat(ApolloLink.split(e,t,n||new ApolloLink(passthrough)))},ApolloLink.prototype.concat=function(e){return ApolloLink.concat(this,e)},ApolloLink.prototype.request=function(e,t){throw new i.ej(21)},ApolloLink.prototype.onError=function(e,t){if(t&&t.error)return t.error(e),!1;throw e},ApolloLink.prototype.setOnError=function(e){return this.onError=e,this},ApolloLink}()},4898:function(e,t,n){"use strict";n.d(t,{i0:function(){return r.i},Dp:function(){return i}});var r=n(741),i=r.i.from},4554:function(e,t,n){"use strict";var r=n(9235);n.o(r,"ApolloLink")&&n.d(t,{ApolloLink:function(){return r.ApolloLink}}),n.o(r,"from")&&n.d(t,{from:function(){return r.from}})},9235:function(){},6795:function(e,t,n){"use strict";n.d(t,{Yk:function(){return getFragmentQueryDocument},F:function(){return createFragmentMap},hi:function(){return getFragmentFromSelection}});var r=n(4878),i=n(9304);function getFragmentQueryDocument(e,t){var n=t,d=[];return e.definitions.forEach((function(e){if("OperationDefinition"===e.kind)throw new i.ej(42);"FragmentDefinition"===e.kind&&d.push(e)})),"undefined"===typeof n&&((0,i.kG)(1===d.length,43),n=d[0].name.value),(0,r.pi)((0,r.pi)({},e),{definitions:(0,r.pr)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:n}}]}}],e.definitions)})}function createFragmentMap(e){void 0===e&&(e=[]);var t={};return e.forEach((function(e){t[e.name.value]=e})),t}function getFragmentFromSelection(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":var n=t&&t[e.name.value];return(0,i.kG)(n,44),n;default:return null}}},9203:function(e,t,n){"use strict";n.d(t,{A$:function(){return checkDocument},$H:function(){return getOperationDefinition},rY:function(){return getOperationName},kU:function(){return getFragmentDefinitions},iW:function(){return getQueryDefinition},pD:function(){return getFragmentDefinition},p$:function(){return getMainDefinition},O4:function(){return getDefaultValues}});var r=n(9304),i=n(8452);function checkDocument(e){(0,r.kG)(e&&"Document"===e.kind,45);var t=e.definitions.filter((function(e){return"FragmentDefinition"!==e.kind})).map((function(e){if("OperationDefinition"!==e.kind)throw new r.ej(46);return e}));return(0,r.kG)(t.length<=1,47),e}function getOperationDefinition(e){return checkDocument(e),e.definitions.filter((function(e){return"OperationDefinition"===e.kind}))[0]}function getOperationName(e){return e.definitions.filter((function(e){return"OperationDefinition"===e.kind&&e.name})).map((function(e){return e.name.value}))[0]||null}function getFragmentDefinitions(e){return e.definitions.filter((function(e){return"FragmentDefinition"===e.kind}))}function getQueryDefinition(e){var t=getOperationDefinition(e);return(0,r.kG)(t&&"query"===t.operation,48),t}function getFragmentDefinition(e){(0,r.kG)("Document"===e.kind,49),(0,r.kG)(e.definitions.length<=1,50);var t=e.definitions[0];return(0,r.kG)("FragmentDefinition"===t.kind,51),t}function getMainDefinition(e){var t;checkDocument(e);for(var n=0,i=e.definitions;n<i.length;n++){var d=i[n];if("OperationDefinition"===d.kind){var h=d.operation;if("query"===h||"mutation"===h||"subscription"===h)return d}"FragmentDefinition"!==d.kind||t||(t=d)}if(t)return t;throw new r.ej(52)}function getDefaultValues(e){var t=Object.create(null),n=e&&e.variableDefinitions;return n&&n.length&&n.forEach((function(e){e.defaultValue&&(0,i.vb)(t,e.variable.name,e.defaultValue)})),t}},8452:function(e,t,n){"use strict";n.d(t,{kQ:function(){return makeReference},Yk:function(){return isReference},vb:function(){return valueToObjectRepresentation},vf:function(){return storeKeyNameFromField},PT:function(){return getStoreKeyName},NC:function(){return argumentsObjectFromField},u2:function(){return resultKeyNameFromField},qw:function(){return getTypenameFromResult},My:function(){return isField},Ao:function(){return isInlineFragment}});var r=n(9564),i=n.n(r),d=n(9304),h=n(6795);function _typeof(e){return(_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(e){return typeof e}:function _typeof(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function makeReference(e){return{__ref:String(e)}}function isReference(e){return Boolean(e&&"object"===_typeof(e)&&"string"===typeof e.__ref)}function valueToObjectRepresentation(e,t,n,r){if(function isIntValue(e){return"IntValue"===e.kind}(n)||function isFloatValue(e){return"FloatValue"===e.kind}(n))e[t.value]=Number(n.value);else if(function isBooleanValue(e){return"BooleanValue"===e.kind}(n)||function isStringValue(e){return"StringValue"===e.kind}(n))e[t.value]=n.value;else if(function isObjectValue(e){return"ObjectValue"===e.kind}(n)){var i={};n.fields.map((function(e){return valueToObjectRepresentation(i,e.name,e.value,r)})),e[t.value]=i}else if(function isVariable(e){return"Variable"===e.kind}(n)){var h=(r||{})[n.name.value];e[t.value]=h}else if(function isListValue(e){return"ListValue"===e.kind}(n))e[t.value]=n.values.map((function(e){var n={};return valueToObjectRepresentation(n,t,e,r),n[t.value]}));else if(function isEnumValue(e){return"EnumValue"===e.kind}(n))e[t.value]=n.value;else{if(!function isNullValue(e){return"NullValue"===e.kind}(n))throw new d.ej(53);e[t.value]=null}}function storeKeyNameFromField(e,t){var n=null;e.directives&&(n={},e.directives.forEach((function(e){n[e.name.value]={},e.arguments&&e.arguments.forEach((function(r){var i=r.name,d=r.value;return valueToObjectRepresentation(n[e.name.value],i,d,t)}))})));var r=null;return e.arguments&&e.arguments.length&&(r={},e.arguments.forEach((function(e){var n=e.name,i=e.value;return valueToObjectRepresentation(r,n,i,t)}))),getStoreKeyName(e.name.value,r,n)}var y=["connection","include","skip","client","rest","export"];function getStoreKeyName(e,t,n){if(t&&n&&n.connection&&n.connection.key){if(n.connection.filter&&n.connection.filter.length>0){var r=n.connection.filter?n.connection.filter:[];r.sort();var d={};return r.forEach((function(e){d[e]=t[e]})),n.connection.key+"("+JSON.stringify(d)+")"}return n.connection.key}var h=e;if(t){var g=i()(t);h+="("+g+")"}return n&&Object.keys(n).forEach((function(e){-1===y.indexOf(e)&&(n[e]&&Object.keys(n[e]).length?h+="@"+e+"("+JSON.stringify(n[e])+")":h+="@"+e)})),h}function argumentsObjectFromField(e,t){if(e.arguments&&e.arguments.length){var n={};return e.arguments.forEach((function(e){var r=e.name,i=e.value;return valueToObjectRepresentation(n,r,i,t)})),n}return null}function resultKeyNameFromField(e){return e.alias?e.alias.value:e.name.value}function getTypenameFromResult(e,t,n){if("string"===typeof e.__typename)return e.__typename;for(var r=0,i=t.selections;r<i.length;r++){var d=i[r];if(isField(d)){if("__typename"===d.name.value)return e[resultKeyNameFromField(d)]}else{var y=getTypenameFromResult(e,(0,h.hi)(d,n).selectionSet,n);if("string"===typeof y)return y}}}function isField(e){return"Field"===e.kind}function isInlineFragment(e){return"InlineFragment"===e.kind}},3180:function(e,t,n){e.exports=n(7186)},9344:function(e,t,n){"use strict";var r=n(1658),i=n(9780),d=n(1440),h=n(386),y=n(3847),g=n(5482),v=n(6844),_=n(7113);e.exports=function xhrAdapter(e){return new Promise((function dispatchXhrRequest(t,n){var b=e.data,w=e.headers;r.isFormData(b)&&delete w["Content-Type"];var E=new XMLHttpRequest;if(e.auth){var k=e.auth.username||"",S=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";w.Authorization="Basic "+btoa(k+":"+S)}var C=y(e.baseURL,e.url);if(E.open(e.method.toUpperCase(),h(C,e.params,e.paramsSerializer),!0),E.timeout=e.timeout,E.onreadystatechange=function handleLoad(){if(E&&4===E.readyState&&(0!==E.status||E.responseURL&&0===E.responseURL.indexOf("file:"))){var r="getAllResponseHeaders"in E?g(E.getAllResponseHeaders()):null,d={data:e.responseType&&"text"!==e.responseType?E.response:E.responseText,status:E.status,statusText:E.statusText,headers:r,config:e,request:E};i(t,n,d),E=null}},E.onabort=function handleAbort(){E&&(n(_("Request aborted",e,"ECONNABORTED",E)),E=null)},E.onerror=function handleError(){n(_("Network Error",e,null,E)),E=null},E.ontimeout=function handleTimeout(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),n(_(t,e,"ECONNABORTED",E)),E=null},r.isStandardBrowserEnv()){var O=(e.withCredentials||v(C))&&e.xsrfCookieName?d.read(e.xsrfCookieName):void 0;O&&(w[e.xsrfHeaderName]=O)}if("setRequestHeader"in E&&r.forEach(w,(function setRequestHeader(e,t){"undefined"===typeof b&&"content-type"===t.toLowerCase()?delete w[t]:E.setRequestHeader(t,e)})),r.isUndefined(e.withCredentials)||(E.withCredentials=!!e.withCredentials),e.responseType)try{E.responseType=e.responseType}catch(T){if("json"!==e.responseType)throw T}"function"===typeof e.onDownloadProgress&&E.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&E.upload&&E.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function onCanceled(e){E&&(E.abort(),n(e),E=null)})),b||(b=null),E.send(b)}))}},7186:function(e,t,n){"use strict";var r=n(1658),i=n(7200),d=n(8323),h=n(750);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(9368));y.Axios=d,y.create=function create(e){return createInstance(h(y.defaults,e))},y.Cancel=n(2913),y.CancelToken=n(8319),y.isCancel=n(7530),y.all=function all(e){return Promise.all(e)},y.spread=n(3393),y.isAxiosError=n(608),e.exports=y,e.exports.default=y},2913: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},8319:function(e,t,n){"use strict";var r=n(2913);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},7530:function(e){"use strict";e.exports=function isCancel(e){return!(!e||!e.__CANCEL__)}},8323:function(e,t,n){"use strict";var r=n(1658),i=n(386),d=n(2818),h=n(827),y=n(750);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());return n},Axios.prototype.getUri=function getUri(e){return e=y(this.defaults,e),i(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},r.forEach(["delete","get","head","options"],(function forEachMethodNoData(e){Axios.prototype[e]=function(t,n){return this.request(y(n||{},{method:e,url:t,data:(n||{}).data}))}})),r.forEach(["post","put","patch"],(function forEachMethodWithData(e){Axios.prototype[e]=function(t,n,r){return this.request(y(r||{},{method:e,url:t,data:n}))}})),e.exports=Axios},2818:function(e,t,n){"use strict";var r=n(1658);function InterceptorManager(){this.handlers=[]}InterceptorManager.prototype.use=function use(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},InterceptorManager.prototype.eject=function eject(e){this.handlers[e]&&(this.handlers[e]=null)},InterceptorManager.prototype.forEach=function forEach(e){r.forEach(this.handlers,(function forEachHandler(t){null!==t&&e(t)}))},e.exports=InterceptorManager},3847:function(e,t,n){"use strict";var r=n(6617),i=n(3292);e.exports=function buildFullPath(e,t){return e&&!r(t)?i(e,t):t}},7113:function(e,t,n){"use strict";var r=n(188);e.exports=function createError(e,t,n,i,d){var h=new Error(e);return r(h,t,n,i,d)}},827:function(e,t,n){"use strict";var r=n(1658),i=n(2464),d=n(7530),h=n(9368);function throwIfCancellationRequested(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function dispatchRequest(e){return throwIfCancellationRequested(e),e.headers=e.headers||{},e.data=i(e.data,e.headers,e.transformRequest),e.headers=r.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),r.forEach(["delete","get","head","post","put","patch","common"],(function cleanHeaderConfig(t){delete e.headers[t]})),(e.adapter||h.adapter)(e).then((function onAdapterResolution(t){return throwIfCancellationRequested(e),t.data=i(t.data,t.headers,e.transformResponse),t}),(function onAdapterRejection(t){return d(t)||(throwIfCancellationRequested(e),t&&t.response&&(t.response.data=i(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},188:function(e){"use strict";e.exports=function enhanceError(e,t,n,r,i){return e.config=t,n&&(e.code=n),e.request=r,e.response=i,e.isAxiosError=!0,e.toJSON=function toJSON(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},750:function(e,t,n){"use strict";var r=n(1658);e.exports=function mergeConfig(e,t){t=t||{};var n={},i=["url","method","data"],d=["headers","auth","proxy","params"],h=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],y=["validateStatus"];function getMergedValue(e,t){return r.isPlainObject(e)&&r.isPlainObject(t)?r.merge(e,t):r.isPlainObject(t)?r.merge({},t):r.isArray(t)?t.slice():t}function mergeDeepProperties(i){r.isUndefined(t[i])?r.isUndefined(e[i])||(n[i]=getMergedValue(void 0,e[i])):n[i]=getMergedValue(e[i],t[i])}r.forEach(i,(function valueFromConfig2(e){r.isUndefined(t[e])||(n[e]=getMergedValue(void 0,t[e]))})),r.forEach(d,mergeDeepProperties),r.forEach(h,(function defaultToConfig2(i){r.isUndefined(t[i])?r.isUndefined(e[i])||(n[i]=getMergedValue(void 0,e[i])):n[i]=getMergedValue(void 0,t[i])})),r.forEach(y,(function merge(r){r in t?n[r]=getMergedValue(e[r],t[r]):r in e&&(n[r]=getMergedValue(void 0,e[r]))}));var g=i.concat(d).concat(h).concat(y),v=Object.keys(e).concat(Object.keys(t)).filter((function filterAxiosKeys(e){return-1===g.indexOf(e)}));return r.forEach(v,mergeDeepProperties),n}},9780:function(e,t,n){"use strict";var r=n(7113);e.exports=function settle(e,t,n){var i=n.config.validateStatus;n.status&&i&&!i(n.status)?t(r("Request failed with status code "+n.status,n.config,null,n.request,n)):e(n)}},2464:function(e,t,n){"use strict";var r=n(1658);e.exports=function transformData(e,t,n){return r.forEach(n,(function transform(n){e=n(e,t)})),e}},9368:function(e,t,n){"use strict";var r=n(1658),i=n(8826),d={"Content-Type":"application/x-www-form-urlencoded"};function setContentTypeIfUnset(e,t){!r.isUndefined(e)&&r.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var h={adapter:function getDefaultAdapter(){var e;return("undefined"!==typeof XMLHttpRequest||"undefined"!==typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(e=n(9344)),e}(),transformRequest:[function transformRequest(e,t){return i(t,"Accept"),i(t,"Content-Type"),r.isFormData(e)||r.isArrayBuffer(e)||r.isBuffer(e)||r.isStream(e)||r.isFile(e)||r.isBlob(e)?e:r.isArrayBufferView(e)?e.buffer:r.isURLSearchParams(e)?(setContentTypeIfUnset(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):r.isObject(e)?(setContentTypeIfUnset(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function transformResponse(e){if("string"===typeof e)try{e=JSON.parse(e)}catch(t){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function validateStatus(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};r.forEach(["delete","get","head"],(function forEachMethodNoData(e){h.headers[e]={}})),r.forEach(["post","put","patch"],(function forEachMethodWithData(e){h.headers[e]=r.merge(d)})),e.exports=h},7200:function(e){"use strict";e.exports=function bind(e,t){return function wrap(){for(var n=new Array(arguments.length),r=0;r<n.length;r++)n[r]=arguments[r];return e.apply(t,n)}}},386:function(e,t,n){"use strict";var r=n(1658);function encode(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function buildURL(e,t,n){if(!t)return e;var i;if(n)i=n(t);else if(r.isURLSearchParams(t))i=t.toString();else{var d=[];r.forEach(t,(function serialize(e,t){null!==e&&"undefined"!==typeof e&&(r.isArray(e)?t+="[]":e=[e],r.forEach(e,(function parseValue(e){r.isDate(e)?e=e.toISOString():r.isObject(e)&&(e=JSON.stringify(e)),d.push(encode(t)+"="+encode(e))})))})),i=d.join("&")}if(i){var h=e.indexOf("#");-1!==h&&(e=e.slice(0,h)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},3292:function(e){"use strict";e.exports=function combineURLs(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},1440:function(e,t,n){"use strict";var r=n(1658);e.exports=r.isStandardBrowserEnv()?function standardBrowserEnv(){return{write:function write(e,t,n,i,d,h){var y=[];y.push(e+"="+encodeURIComponent(t)),r.isNumber(n)&&y.push("expires="+new Date(n).toGMTString()),r.isString(i)&&y.push("path="+i),r.isString(d)&&y.push("domain="+d),!0===h&&y.push("secure"),document.cookie=y.join("; ")},read:function read(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function remove(e){this.write(e,"",Date.now()-864e5)}}}():{write:function write(){},read:function read(){return null},remove:function remove(){}}},6617:function(e){"use strict";e.exports=function isAbsoluteURL(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},608:function(e){"use strict";function _typeof(e){return(_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(e){return typeof e}:function _typeof(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}e.exports=function isAxiosError(e){return"object"===_typeof(e)&&!0===e.isAxiosError}},6844:function(e,t,n){"use strict";var r=n(1658);e.exports=r.isStandardBrowserEnv()?function standardBrowserEnv(){var e,t=/(msie|trident)/i.test(navigator.userAgent),n=document.createElement("a");function resolveURL(e){var r=e;return t&&(n.setAttribute("href",r),r=n.href),n.setAttribute("href",r),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return e=resolveURL(window.location.href),function isURLSameOrigin(t){var n=r.isString(t)?resolveURL(t):t;return n.protocol===e.protocol&&n.host===e.host}}():function isURLSameOrigin(){return!0}},8826:function(e,t,n){"use strict";var r=n(1658);e.exports=function normalizeHeaderName(e,t){r.forEach(e,(function processHeader(n,r){r!==t&&r.toUpperCase()===t.toUpperCase()&&(e[t]=n,delete e[r])}))}},5482:function(e,t,n){"use strict";var r=n(1658),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function parseHeaders(e){var t,n,d,h={};return e?(r.forEach(e.split("\n"),(function parser(e){if(d=e.indexOf(":"),t=r.trim(e.substr(0,d)).toLowerCase(),n=r.trim(e.substr(d+1)),t){if(h[t]&&i.indexOf(t)>=0)return;h[t]="set-cookie"===t?(h[t]?h[t]:[]).concat([n]):h[t]?h[t]+", "+n:n}})),h):h}},3393:function(e){"use strict";e.exports=function spread(e){return function wrap(t){return e.apply(null,t)}}},1658:function(e,t,n){"use strict";function _typeof(e){return(_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(e){return typeof e}:function _typeof(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var r=n(7200),i=Object.prototype.toString;function isArray(e){return"[object Array]"===i.call(e)}function isUndefined(e){return"undefined"===typeof e}function isObject(e){return null!==e&&"object"===_typeof(e)}function isPlainObject(e){if("[object Object]"!==i.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function isFunction(e){return"[object Function]"===i.call(e)}function forEach(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==_typeof(e)&&(e=[e]),isArray(e))for(var n=0,r=e.length;n<r;n++)t.call(null,e[n],n,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}e.exports={isArray:isArray,isArrayBuffer:function isArrayBuffer(e){return"[object ArrayBuffer]"===i.call(e)},isBuffer:function isBuffer(e){return null!==e&&!isUndefined(e)&&null!==e.constructor&&!isUndefined(e.constructor)&&"function"===typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function isFormData(e){return"undefined"!==typeof FormData&&e instanceof FormData},isArrayBufferView:function isArrayBufferView(e){return"undefined"!==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function isString(e){return"string"===typeof e},isNumber:function isNumber(e){return"number"===typeof e},isObject:isObject,isPlainObject:isPlainObject,isUndefined:isUndefined,isDate:function isDate(e){return"[object Date]"===i.call(e)},isFile:function isFile(e){return"[object File]"===i.call(e)},isBlob:function isBlob(e){return"[object Blob]"===i.call(e)},isFunction:isFunction,isStream:function isStream(e){return isObject(e)&&isFunction(e.pipe)},isURLSearchParams:function isURLSearchParams(e){return"undefined"!==typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function isStandardBrowserEnv(){return("undefined"===typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!==typeof window&&"undefined"!==typeof document)},forEach:forEach,merge:function merge(){var e={};function assignValue(t,n){isPlainObject(e[n])&&isPlainObject(t)?e[n]=merge(e[n],t):isPlainObject(t)?e[n]=merge({},t):isArray(t)?e[n]=t.slice():e[n]=t}for(var t=0,n=arguments.length;t<n;t++)forEach(arguments[t],assignValue);return e},extend:function extend(e,t,n){return forEach(t,(function assignValue(t,i){e[i]=n&&"function"===typeof t?r(t,n):t})),e},trim:function trim(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")},stripBOM:function stripBOM(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},3823:function(e){"use strict";function balanced(e,t,n){e instanceof RegExp&&(e=maybeMatch(e,n)),t instanceof RegExp&&(t=maybeMatch(t,n));var r=range(e,t,n);return r&&{start:r[0],end:r[1],pre:n.slice(0,r[0]),body:n.slice(r[0]+e.length,r[1]),post:n.slice(r[1]+t.length)}}function maybeMatch(e,t){var n=t.match(e);return n?n[0]:null}function range(e,t,n){var r,i,d,h,y,g=n.indexOf(e),v=n.indexOf(t,g+1),_=g;if(g>=0&&v>0){if(e===t)return[g,v];for(r=[],d=n.length;_>=0&&!y;)_===g?(r.push(_),g=n.indexOf(e,_+1)):1===r.length?y=[r.pop(),v]:((i=r.pop())<d&&(d=i,h=v),v=n.indexOf(t,_+1)),_=g<v&&g>=0?g:v;r.length&&(y=[d,h])}return y}e.exports=balanced,balanced.range=range},4294:function(e,t,n){var r=n(3823);e.exports=function expandTop(e){if(!e)return[];"{}"===e.substr(0,2)&&(e="\\{\\}"+e.substr(2));return expand(function escapeBraces(e){return e.split("\\\\").join(i).split("\\{").join(d).split("\\}").join(h).split("\\,").join(y).split("\\.").join(g)}(e),!0).map(unescapeBraces)};var i="\0SLASH"+Math.random()+"\0",d="\0OPEN"+Math.random()+"\0",h="\0CLOSE"+Math.random()+"\0",y="\0COMMA"+Math.random()+"\0",g="\0PERIOD"+Math.random()+"\0";function numeric(e){return parseInt(e,10)==e?parseInt(e,10):e.charCodeAt(0)}function unescapeBraces(e){return e.split(i).join("\\").split(d).join("{").split(h).join("}").split(y).join(",").split(g).join(".")}function parseCommaParts(e){if(!e)return[""];var t=[],n=r("{","}",e);if(!n)return e.split(",");var i=n.pre,d=n.body,h=n.post,y=i.split(",");y[y.length-1]+="{"+d+"}";var g=parseCommaParts(h);return h.length&&(y[y.length-1]+=g.shift(),y.push.apply(y,g)),t.push.apply(t,y),t}function embrace(e){return"{"+e+"}"}function isPadded(e){return/^-?0\d/.test(e)}function lte(e,t){return e<=t}function gte(e,t){return e>=t}function expand(e,t){var n=[],i=r("{","}",e);if(!i)return[e];var d=i.pre,y=i.post.length?expand(i.post,!1):[""];if(/\$$/.test(i.pre))for(var g=0;g<y.length;g++){var v=d+"{"+i.body+"}"+y[g];n.push(v)}else{var _,b,w=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(i.body),E=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(i.body),k=w||E,S=i.body.indexOf(",")>=0;if(!k&&!S)return i.post.match(/,.*\}/)?expand(e=i.pre+"{"+i.body+h+i.post):[e];if(k)_=i.body.split(/\.\./);else if(1===(_=parseCommaParts(i.body)).length&&1===(_=expand(_[0],!1).map(embrace)).length)return y.map((function(e){return i.pre+_[0]+e}));if(k){var C=numeric(_[0]),O=numeric(_[1]),T=Math.max(_[0].length,_[1].length),A=3==_.length?Math.abs(numeric(_[2])):1,x=lte;O<C&&(A*=-1,x=gte);var I=_.some(isPadded);b=[];for(var D=C;x(D,O);D+=A){var L;if(E)"\\"===(L=String.fromCharCode(D))&&(L="");else if(L=String(D),I){var N=T-L.length;if(N>0){var P=new Array(N+1).join("0");L=D<0?"-"+P+L.slice(1):P+L}}b.push(L)}}else{b=[];for(var R=0;R<_.length;R++)b.push.apply(b,expand(_[R],!1))}for(R=0;R<b.length;R++)for(g=0;g<y.length;g++){v=d+b[R]+y[g];(!t||k||v)&&n.push(v)}}return n}},9564:function(e){"use strict";function _typeof(e){return(_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(e){return typeof e}:function _typeof(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}e.exports=function(e,t){t||(t={}),"function"===typeof t&&(t={cmp:t});var n,r="boolean"===typeof t.cycles&&t.cycles,i=t.cmp&&(n=t.cmp,function(e){return function(t,r){var i={key:t,value:e[t]},d={key:r,value:e[r]};return n(i,d)}}),d=[];return function stringify(e){if(e&&e.toJSON&&"function"===typeof e.toJSON&&(e=e.toJSON()),void 0!==e){if("number"==typeof e)return isFinite(e)?""+e:"null";if("object"!==_typeof(e))return JSON.stringify(e);var t,n;if(Array.isArray(e)){for(n="[",t=0;t<e.length;t++)t&&(n+=","),n+=stringify(e[t])||"null";return n+"]"}if(null===e)return"null";if(-1!==d.indexOf(e)){if(r)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}var h=d.push(e)-1,y=Object.keys(e).sort(i&&i(e));for(n="",t=0;t<y.length;t++){var g=y[t],v=stringify(e[g]);v&&(n&&(n+=","),n+=JSON.stringify(g)+":"+v)}return d.splice(h,1),"{"+n+"}"}}(e)}},1535:function(e,t){var n,r,i;r=[],void 0===(i="function"===typeof(n=function(){var e={host:"https://www.instagram.com/",username:"",tag:"",user_id:"",location:"",container:"",display_profile:!0,display_biography:!0,display_gallery:!0,display_captions:!1,display_igtv:!1,max_tries:8,callback:null,cdnUrlResolver:null,styling:!0,items:8,items_per_row:4,margin:.5,image_size:640,lazy_load:!1,cache_time:360,on_error:console.error},t={150:0,240:1,320:2,480:3,640:4},n={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;","`":"&#x60;","=":"&#x3D;"};function escape_string(e){return e.replace(/[&<>"'`=\/]/g,(function(e){return n[e]}))}function parse_caption(e,t){return"undefined"!==typeof e.node.edge_media_to_caption.edges[0]&&"undefined"!==typeof e.node.edge_media_to_caption.edges[0].node&&"undefined"!==typeof e.node.edge_media_to_caption.edges[0].node.text&&null!==e.node.edge_media_to_caption.edges[0].node.text?e.node.edge_media_to_caption.edges[0].node.text:"undefined"!==typeof e.node.title&&null!==e.node.title&&0!=e.node.title.length?e.node.title:"undefined"!==typeof e.node.accessibility_caption&&null!==e.node.accessibility_caption&&0!=e.node.accessibility_caption.length&&e.node.accessibility_caption}function get_cache(e,t){var n=t||!1;if(!t&&e.cache_time>0){var r=localStorage.getItem(e.cache_time_key);null!==r&&parseInt(r)+6e4*e.cache_time>(new Date).getTime()&&(n=!0)}if(n){var i=localStorage.getItem(e.cache_data_key);if(null!==i)return JSON.parse(i)}return!1}function set_cache(e,t){var n=localStorage.getItem(e.cache_time_key);0!=e.cache_time&&(null===n||parseInt(n)+6e4*e.cache_time>(new Date).getTime())&&(localStorage.setItem(e.cache_data_key,JSON.stringify(t)),localStorage.setItem(e.cache_time_key,(new Date).getTime()))}function parse_response(e,t){switch(e){case"username":case"tag":case"location":try{t=t.split("window._sharedData = ")[1].split("<\/script>")[0]}catch(n){return!1}return"undefined"!==typeof(t=(t=JSON.parse(t.substr(0,t.length-1))).entry_data.ProfilePage||t.entry_data.TagPage||t.entry_data.LocationsPage)&&(t[0].graphql.user||t[0].graphql.hashtag||t[0].graphql.location);case"userid":return"undefined"!==typeof t.data.user&&t.data.user}}function request_data(e,t,n,r,i,d){var h;i&&d&&(h="https://images"+~~(3333*Math.random())+"-focus-opensocial.googleusercontent.com/gadgets/proxy?container=none&url="+e);var y=new XMLHttpRequest;y.onload=function(e){4===y.readyState&&200===y.status&&(data=parse_response(t,y.responseText),!1!==data?r(data):r(!1))},y.onerror=function(h){n>1?(console.warn("Instagram Feed: Request failed, "+(n-1)+" tries left. Retrying..."),request_data(e,t,n-1,r,i,!d)):r(!1,h)},y.open("GET",h||e,!0),y.send()}function get_data(t,n){var r=get_cache(t,!1);if(!1!==r)n(r);else{var i;switch(t.type){case"username":i=t.host+t.id+"/";break;case"tag":i=t.host+"explore/tags/"+t.id+"/";break;case"location":i=t.host+"explore/locations/"+t.id+"/";break;case"userid":i=t.host+'graphql/query/?query_id=17888483320059182&variables={"id":"'+t.id+'","first":'+t.items+',"after":null}'}request_data(i,t.type,t.max_tries,(function(e,r){!1!==e?(set_cache(t,e),n(e)):"undefined"===typeof r?t.on_error("Instagram Feed: It looks like the profile you are trying to fetch is age restricted. See https://github.com/jsanahuja/InstagramFeed/issues/26",3):!1!==(e=get_cache(t,!0))?n(e):t.on_error("Instagram Feed: Unable to fetch the given user/tag. Instagram responded with the status code: "+r.status,5)}),t.host===e.host&&"userid"!=t.type,!1)}}function resolveUrl(e,t){return"function"===typeof t?t(e):e}function render(e,n){var r,i="";if(e.styling?(r={profile_container:' style="text-align:center;"',profile_image:' style="border-radius:10em;width:15%;max-width:125px;min-width:50px;"',profile_name:' style="font-size:1.2em;"',profile_biography:' style="font-size:1em;"',gallery_image:' style="width:100%;"',gallery_image_link:' style="width:'+(100-2*e.margin*e.items_per_row)/e.items_per_row+"%; margin:"+e.margin+'%;position:relative; display: inline-block; height: 100%;"'},e.display_captions&&(i+="<style> a[data-caption]:hover::after { content: attr(data-caption); text-align: center; font-size: 0.8rem; color: black; position: absolute; left: 0; right: 0; bottom: 0; padding: 1%; max-height: 100%; overflow-y: auto; overflow-x: hidden; background-color: hsla(0, 100%, 100%, 0.8); } </style>")):r={profile_container:"",profile_image:"",profile_name:"",profile_biography:"",gallery_image:"",gallery_image_link:""},e.display_profile&&"userid"!==e.type&&(i+='<div class="instagram_profile"'+r.profile_container+">",i+='<img class="instagram_profile_image" src="'+resolveUrl(n.profile_pic_url,e.cdnUrlResolver)+'" alt="'+("tag"==e.type?n.name+" tag pic":n.username+" profile pic")+'"'+r.profile_image+(e.lazy_load?' loading="lazy"':"")+" />","tag"==e.type?i+='<p class="instagram_tag"'+r.profile_name+'><a href="https://www.instagram.com/explore/tags/'+e.tag+'/" rel="noopener" target="_blank">#'+e.tag+"</a></p>":"username"==e.type?(i+="<p class='instagram_username'"+r.profile_name+">@"+n.full_name+" (<a href='https://www.instagram.com/"+e.username+"/' rel='noopener' target='_blank'>@"+e.username+"</a>)</p>",e.display_biography&&(i+="<p class='instagram_biography'"+r.profile_biography+">"+n.biography+"</p>")):"location"==e.type&&(i+="<p class='instagram_location'"+r.profile_name+"><a href='https://www.instagram.com/explore/locations/"+e.location+"/' rel='noopener' target='_blank'>"+n.name+"</a></p>"),i+="</div>"),e.display_gallery)if("undefined"!==typeof n.is_private&&!0===n.is_private)i+='<p class="instagram_private"><strong>This profile is private</strong></p>';else{var d="undefined"!==typeof t[e.image_size]?t[e.image_size]:t[640],h=(n.edge_owner_to_timeline_media||n.edge_hashtag_to_media||n.edge_location_to_media).edges,y=h.length>e.items?e.items:h.length;i+="<div class='instagram_gallery'>";for(var g=0;g<y;g++){var v,_,b="https://www.instagram.com/p/"+h[g].node.shortcode;switch(!1===(E=parse_caption(h[g],n))&&(E=("userid"==e.type?"":e.id)+" image"),E=escape_string(E),h[g].node.__typename){case"GraphSidecar":_="sidecar",v=h[g].node.thumbnail_resources[d].src;break;case"GraphVideo":_="video",v=h[g].node.thumbnail_src;break;default:_="image",v=h[g].node.thumbnail_resources[d].src}i+='<a href="'+b+'"'+(e.display_captions?' data-caption="'+E+'"':"")+' class="instagram-'+_+'" rel="noopener" target="_blank"'+r.gallery_image_link+">",i+="<img"+(e.lazy_load?' loading="lazy"':"")+' src="'+resolveUrl(v,e.cdnUrlResolver)+'" alt="'+E+'"'+r.gallery_image+" />",i+="</a>"}i+="</div>"}if(e.display_igtv&&"undefined"!==typeof n.edge_felix_video_timeline){var w=n.edge_felix_video_timeline.edges;if(y=w.length>e.items?e.items:w.length,w.length>0){for(i+='<div class="instagram_igtv">',g=0;g<y;g++){var E;b="https://www.instagram.com/p/"+w[g].node.shortcode,!1===(E=parse_caption(w[g],n))&&(E=("userid"==e.type?"":e.id)+" image"),E=escape_string(E),i+='<a href="'+b+'"'+(e.display_captions?' data-caption="'+E+'"':"")+' rel="noopener" target="_blank"'+r.gallery_image_link+">",i+="<img"+(e.lazy_load?' loading="lazy"':"")+' src="'+resolveUrl(w[g].node.thumbnail_src,e.cdnUrlResolver)+'" alt="'+E+'"'+r.gallery_image+" />",i+="</a>"}i+="</div>"}}e.container.innerHTML=i}return"function"!=typeof Object.assign&&(Object.assign=function(e){"use strict";if(null==e)throw new TypeError("Cannot convert undefined or null to object");e=Object(e);for(var t=1;t<arguments.length;t++){var n=arguments[t];if(null!=n)for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}),function(t){this.valid=!1;var n=Object.assign({},e);return""==(n=Object.assign(n,t)).username&&""==n.tag&&""==n.user_id&&""==n.location?(n.on_error("Instagram Feed: Error, no username, tag or user_id defined.",1),!1):("undefined"!==typeof t.display_profile&&t.display_profile&&""!=n.user_id&&console.warn("Instagram Feed: 'display_profile' is not available using 'user_id' (GraphQL API)"),"undefined"===typeof t.display_biography||!t.display_biography||""==n.tag&&""==n.location&&""==n.user_id||console.warn("Instagram Feed: 'display_biography' is not available unless you are loading an user ('username' parameter)"),"undefined"!==typeof n.get_data&&console.warn("Instagram Feed: options.get_data is deprecated, options.callback is always called if defined"),null==n.callback&&""==n.container?(n.on_error("Instagram Feed: Error, neither container found nor callback defined.",2),!1):null!=n.cdnUrlResolver&&"function"!==typeof n.cdnUrlResolver?(n.on_error("Instagram Feed: options.cdnUrlResolver must be a function or null."),!1):(""!=n.username?(n.type="username",n.id=n.username):""!=n.tag?(n.type="tag",n.id=n.tag):""!=n.location?(n.type="location",n.id=n.location):(n.type="userid",n.id=n.user_id),n.cache_data_key="instagramFeed_"+n.type+"_"+n.id,n.cache_time_key=n.cache_data_key+"_time",get_data(n,(function(e){""!=n.container&&render(n,e),null!=n.callback&&n.callback(e)})),void(this.valid=!0)))}})?n.apply(t,r):n)||(e.exports=i)},4982:function(e,t,n){var r,i,d;function _typeof2(e){return(_typeof2="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof2(e){return typeof e}:function _typeof2(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}d=function(){"use strict";function _typeof(e){return(_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(e){return typeof e}:function _typeof(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _createClass(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),e}function _toConsumableArray(e){return function _arrayWithoutHoles(e){if(Array.isArray(e))return _arrayLikeToArray(e)}(e)||function _iterableToArray(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function _unsupportedIterableToArray(e,t){if(e){if("string"===typeof e)return _arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(e,t):void 0}}(e)||function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var e=function(){function KeyCombo(e){_classCallCheck(this,KeyCombo),this.sourceStr=e,this.subCombos=KeyCombo.parseComboStr(e),this.keyNames=this.subCombos.reduce((function(e,t){return e.concat(t)}),[])}return _createClass(KeyCombo,[{key:"check",value:function check(e){for(var t=0,n=0;n<this.subCombos.length;n+=1)if(-1===(t=this._checkSubCombo(this.subCombos[n],t,e)))return!1;return!0}},{key:"isEqual",value:function isEqual(e){if(!e||"string"!==typeof e&&"object"!==_typeof(e))return!1;if("string"===typeof e&&(e=new KeyCombo(e)),this.subCombos.length!==e.subCombos.length)return!1;for(var t=0;t<this.subCombos.length;t+=1)if(this.subCombos[t].length!==e.subCombos[t].length)return!1;for(var n=0;n<this.subCombos.length;n+=1){for(var r=this.subCombos[n],i=e.subCombos[n].slice(0),d=0;d<r.length;d+=1){var h=r[d],y=i.indexOf(h);y>-1&&i.splice(y,1)}if(0!==i.length)return!1}return!0}},{key:"_checkSubCombo",value:function _checkSubCombo(e,t,n){e=e.slice(0),n=n.slice(t);for(var r=t,i=0;i<e.length;i+=1){var d=e[i];if("\\"===d[0]){var h=d.slice(1);h!==KeyCombo.comboDeliminator&&h!==KeyCombo.keyDeliminator||(d=h)}var y=n.indexOf(d);if(y>-1&&(e.splice(i,1),i-=1,y>r&&(r=y),0===e.length))return r}return-1}}]),KeyCombo}();e.comboDeliminator=">",e.keyDeliminator="+",e.parseComboStr=function(t){for(var n=e._splitStr(t,e.comboDeliminator),r=[],i=0;i<n.length;i+=1)r.push(e._splitStr(n[i],e.keyDeliminator));return r},e._splitStr=function(e,t){for(var n=e,r=t,i="",d=[],h=0;h<n.length;h+=1)h>0&&n[h]===r&&"\\"!==n[h-1]&&(d.push(i.trim()),i="",h+=1),i+=n[h];return i&&d.push(i.trim()),d};var t=function(){function Locale(e){_classCallCheck(this,Locale),this.localeName=e,this.activeTargetKeys=[],this.pressedKeys=[],this._appliedMacros=[],this._keyMap={},this._killKeyCodes=[],this._macros=[]}return _createClass(Locale,[{key:"bindKeyCode",value:function bindKeyCode(e,t){"string"===typeof t&&(t=[t]),this._keyMap[e]=t}},{key:"bindMacro",value:function bindMacro(t,n){"string"===typeof n&&(n=[n]);var r=null;"function"===typeof n&&(r=n,n=null);var i={keyCombo:new e(t),keyNames:n,handler:r};this._macros.push(i)}},{key:"getKeyCodes",value:function getKeyCodes(e){var t=[];for(var n in this._keyMap)this._keyMap[n].indexOf(e)>-1&&t.push(0|n);return t}},{key:"getKeyNames",value:function getKeyNames(e){return this._keyMap[e]||[]}},{key:"setKillKey",value:function setKillKey(e){if("string"!==typeof e)this._killKeyCodes.push(e);else for(var t=this.getKeyCodes(e),n=0;n<t.length;n+=1)this.setKillKey(t[n])}},{key:"pressKey",value:function pressKey(e){if("string"!==typeof e){this.activeTargetKeys.length=0;for(var t=this.getKeyNames(e),n=0;n<t.length;n+=1)this.activeTargetKeys.push(t[n]),-1===this.pressedKeys.indexOf(t[n])&&this.pressedKeys.push(t[n]);this._applyMacros()}else for(var r=this.getKeyCodes(e),i=0;i<r.length;i+=1)this.pressKey(r[i])}},{key:"releaseKey",value:function releaseKey(e){if("string"===typeof e)for(var t=this.getKeyCodes(e),n=0;n<t.length;n+=1)this.releaseKey(t[n]);else{var r=this.getKeyNames(e);if(-1!==this._killKeyCodes.indexOf(e))this.pressedKeys.length=0;else for(var i=0;i<r.length;i+=1){var d=this.pressedKeys.indexOf(r[i]);d>-1&&this.pressedKeys.splice(d,1)}this.activeTargetKeys.length=0,this._clearMacros()}}},{key:"_applyMacros",value:function _applyMacros(){for(var e=this._macros.slice(0),t=0;t<e.length;t+=1){var n=e[t];if(n.keyCombo.check(this.pressedKeys)){n.handler&&(n.keyNames=n.handler(this.pressedKeys));for(var r=0;r<n.keyNames.length;r+=1)-1===this.pressedKeys.indexOf(n.keyNames[r])&&this.pressedKeys.push(n.keyNames[r]);this._appliedMacros.push(n)}}}},{key:"_clearMacros",value:function _clearMacros(){for(var e=0;e<this._appliedMacros.length;e+=1){var t=this._appliedMacros[e];if(!t.keyCombo.check(this.pressedKeys)){for(var n=0;n<t.keyNames.length;n+=1){var r=this.pressedKeys.indexOf(t.keyNames[n]);r>-1&&this.pressedKeys.splice(r,1)}t.handler&&(t.keyNames=null),this._appliedMacros.splice(e,1),e-=1}}}}]),Locale}(),r=function(){function Keyboard(e,t,n,r){_classCallCheck(this,Keyboard),this._locale=null,this._currentContext="",this._contexts={},this._listeners=[],this._appliedListeners=[],this._locales={},this._targetElement=null,this._targetWindow=null,this._targetPlatform="",this._targetUserAgent="",this._isModernBrowser=!1,this._targetKeyDownBinding=null,this._targetKeyUpBinding=null,this._targetResetBinding=null,this._paused=!1,this._contexts.global={listeners:this._listeners,targetWindow:e,targetElement:t,targetPlatform:n,targetUserAgent:r},this.setContext("global")}return _createClass(Keyboard,[{key:"setLocale",value:function setLocale(e,n){var r=null;return"string"===typeof e?n?n(r=new t(e),this._targetPlatform,this._targetUserAgent):r=this._locales[e]||null:e=(r=e)._localeName,this._locale=r,this._locales[e]=r,r&&(this._locale.pressedKeys=r.pressedKeys),this}},{key:"getLocale",value:function getLocale(e){return e||(e=this._locale.localeName),this._locales[e]||null}},{key:"bind",value:function bind(t,n,r,i){if(null!==t&&"function"!==typeof t||(i=r,r=n,n=t,t=null),t&&"object"===_typeof(t)&&"number"===typeof t.length){for(var d=0;d<t.length;d+=1)this.bind(t[d],n,r);return this}return this._listeners.push({keyCombo:t?new e(t):null,pressHandler:n||null,releaseHandler:r||null,preventRepeat:i||!1,preventRepeatByDefault:i||!1,executingHandler:!1}),this}},{key:"addListener",value:function addListener(e,t,n,r){return this.bind(e,t,n,r)}},{key:"on",value:function on(e,t,n,r){return this.bind(e,t,n,r)}},{key:"bindPress",value:function bindPress(e,t,n){return this.bind(e,t,null,n)}},{key:"bindRelease",value:function bindRelease(e,t){return this.bind(e,null,t,preventRepeatByDefault)}},{key:"unbind",value:function unbind(e,t,n){if(null!==e&&"function"!==typeof e||(n=t,t=e,e=null),e&&"object"===_typeof(e)&&"number"===typeof e.length){for(var r=0;r<e.length;r+=1)this.unbind(e[r],t,n);return this}for(var i=0;i<this._listeners.length;i+=1){var d=this._listeners[i],h=!e&&!d.keyCombo||d.keyCombo&&d.keyCombo.isEqual(e),y=!t&&!n||!t&&!d.pressHandler||t===d.pressHandler,g=!t&&!n||!n&&!d.releaseHandler||n===d.releaseHandler;h&&y&&g&&(this._listeners.splice(i,1),i-=1)}return this}},{key:"removeListener",value:function removeListener(e,t,n){return this.unbind(e,t,n)}},{key:"off",value:function off(e,t,n){return this.unbind(e,t,n)}},{key:"setContext",value:function setContext(e){if(this._locale&&this.releaseAllKeys(),!this._contexts[e]){var t=this._contexts.global;this._contexts[e]={listeners:[],targetWindow:t.targetWindow,targetElement:t.targetElement,targetPlatform:t.targetPlatform,targetUserAgent:t.targetUserAgent}}var n=this._contexts[e];return this._currentContext=e,this._listeners=n.listeners,this.stop(),this.watch(n.targetWindow,n.targetElement,n.targetPlatform,n.targetUserAgent),this}},{key:"getContext",value:function getContext(){return this._currentContext}},{key:"withContext",value:function withContext(e,t){var n=this.getContext();return this.setContext(e),t(),this.setContext(n),this}},{key:"watch",value:function watch(e,t,r,i){var d=this;this.stop();var h="undefined"!==typeof globalThis?globalThis:"undefined"!==typeof n.g?n.g:"undefined"!==typeof window?window:{};if(!e){if(!h.addEventListener&&!h.attachEvent)throw new Error("Cannot find window functions addEventListener or attachEvent.");e=h}if("number"===typeof e.nodeType&&(i=r,r=t,t=e,e=h),!e.addEventListener&&!e.attachEvent)throw new Error("Cannot find addEventListener or attachEvent methods on targetWindow.");this._isModernBrowser=!!e.addEventListener;var y=e.navigator&&e.navigator.userAgent||"",g=e.navigator&&e.navigator.platform||"";t&&null!==t||(t=e.document),r&&null!==r||(r=g),i&&null!==i||(i=y),this._targetKeyDownBinding=function(e){d.pressKey(e.keyCode,e),d._handleCommandBug(e,g)},this._targetKeyUpBinding=function(e){d.releaseKey(e.keyCode,e)},this._targetResetBinding=function(e){d.releaseAllKeys(e)},this._bindEvent(t,"keydown",this._targetKeyDownBinding),this._bindEvent(t,"keyup",this._targetKeyUpBinding),this._bindEvent(e,"focus",this._targetResetBinding),this._bindEvent(e,"blur",this._targetResetBinding),this._targetElement=t,this._targetWindow=e,this._targetPlatform=r,this._targetUserAgent=i;var v=this._contexts[this._currentContext];return v.targetWindow=this._targetWindow,v.targetElement=this._targetElement,v.targetPlatform=this._targetPlatform,v.targetUserAgent=this._targetUserAgent,this}},{key:"stop",value:function stop(){if(this._targetElement&&this._targetWindow)return this._unbindEvent(this._targetElement,"keydown",this._targetKeyDownBinding),this._unbindEvent(this._targetElement,"keyup",this._targetKeyUpBinding),this._unbindEvent(this._targetWindow,"focus",this._targetResetBinding),this._unbindEvent(this._targetWindow,"blur",this._targetResetBinding),this._targetWindow=null,this._targetElement=null,this}},{key:"pressKey",value:function pressKey(e,t){if(this._paused)return this;if(!this._locale)throw new Error("Locale not set");return this._locale.pressKey(e),this._applyBindings(t),this}},{key:"releaseKey",value:function releaseKey(e,t){if(this._paused)return this;if(!this._locale)throw new Error("Locale not set");return this._locale.releaseKey(e),this._clearBindings(t),this}},{key:"releaseAllKeys",value:function releaseAllKeys(e){if(this._paused)return this;if(!this._locale)throw new Error("Locale not set");return this._locale.pressedKeys.length=0,this._clearBindings(e),this}},{key:"pause",value:function pause(){return this._paused||(this._locale&&this.releaseAllKeys(),this._paused=!0),this}},{key:"resume",value:function resume(){return this._paused=!1,this}},{key:"reset",value:function reset(){return this.releaseAllKeys(),this._listeners.length=0,this}},{key:"_bindEvent",value:function _bindEvent(e,t,n){return this._isModernBrowser?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)}},{key:"_unbindEvent",value:function _unbindEvent(e,t,n){return this._isModernBrowser?e.removeEventListener(t,n,!1):e.detachEvent("on"+t,n)}},{key:"_getGroupedListeners",value:function _getGroupedListeners(){var e=[],t=[],n=this._listeners;return"global"!==this._currentContext&&(n=[].concat(_toConsumableArray(n),_toConsumableArray(this._contexts.global.listeners))),n.sort((function(e,t){return(t.keyCombo?t.keyCombo.keyNames.length:0)-(e.keyCombo?e.keyCombo.keyNames.length:0)})).forEach((function(n){for(var r=-1,i=0;i<t.length;i+=1)(null===t[i]&&null===n.keyCombo||null!==t[i]&&t[i].isEqual(n.keyCombo))&&(r=i);-1===r&&(r=t.length,t.push(n.keyCombo)),e[r]||(e[r]=[]),e[r].push(n)})),e}},{key:"_applyBindings",value:function _applyBindings(e){var t=this,n=!1;e||(e={}),e.preventRepeat=function(){n=!0},e.pressedKeys=this._locale.pressedKeys.slice(0);for(var r=this._locale.activeTargetKeys,i=this._locale.pressedKeys.slice(0),d=this._getGroupedListeners(),h=function _loop(h){var y=d[h],g=y[0].keyCombo;if(null===g||g.check(i)&&r.some((function(e){return g.keyNames.includes(e)}))){for(var v=0;v<y.length;v+=1){var _=y[v];_.executingHandler||!_.pressHandler||_.preventRepeat||(_.executingHandler=!0,_.pressHandler.call(t,e),_.executingHandler=!1,(n||_.preventRepeatByDefault)&&(_.preventRepeat=!0,n=!1)),-1===t._appliedListeners.indexOf(_)&&t._appliedListeners.push(_)}if(g)for(var b=0;b<g.keyNames.length;b+=1){var w=i.indexOf(g.keyNames[b]);-1!==w&&(i.splice(w,1),b-=1)}}},y=0;y<d.length;y+=1)h(y)}},{key:"_clearBindings",value:function _clearBindings(e){e||(e={}),e.pressedKeys=this._locale.pressedKeys.slice(0);for(var t=0;t<this._appliedListeners.length;t+=1){var n=this._appliedListeners[t],r=n.keyCombo;null!==r&&r.check(this._locale.pressedKeys)||(n.preventRepeat=!1,null===r&&0!==e.pressedKeys.length||(this._appliedListeners.splice(t,1),t-=1),!n.executingHandler&&n.releaseHandler&&(n.executingHandler=!0,n.releaseHandler.call(this,e),n.executingHandler=!1))}}},{key:"_handleCommandBug",value:function _handleCommandBug(e,t){t.match("Mac")&&this._locale.pressedKeys.includes("command")&&!["shift","ctrl","alt","capslock","tab","command"].includes(this._locale.getKeyNames(e.keyCode)[0])&&this._targetKeyUpBinding(e)}}]),Keyboard}(),i=new r;return i.setLocale("us",(function us(e,t,n){e.bindKeyCode(3,["cancel"]),e.bindKeyCode(8,["backspace"]),e.bindKeyCode(9,["tab"]),e.bindKeyCode(12,["clear"]),e.bindKeyCode(13,["enter"]),e.bindKeyCode(16,["shift"]),e.bindKeyCode(17,["ctrl"]),e.bindKeyCode(18,["alt","menu"]),e.bindKeyCode(19,["pause","break"]),e.bindKeyCode(20,["capslock"]),e.bindKeyCode(27,["escape","esc"]),e.bindKeyCode(32,["space","spacebar"]),e.bindKeyCode(33,["pageup"]),e.bindKeyCode(34,["pagedown"]),e.bindKeyCode(35,["end"]),e.bindKeyCode(36,["home"]),e.bindKeyCode(37,["left"]),e.bindKeyCode(38,["up"]),e.bindKeyCode(39,["right"]),e.bindKeyCode(40,["down"]),e.bindKeyCode(41,["select"]),e.bindKeyCode(42,["printscreen"]),e.bindKeyCode(43,["execute"]),e.bindKeyCode(44,["snapshot"]),e.bindKeyCode(45,["insert","ins"]),e.bindKeyCode(46,["delete","del"]),e.bindKeyCode(47,["help"]),e.bindKeyCode(145,["scrolllock","scroll"]),e.bindKeyCode(188,["comma",","]),e.bindKeyCode(190,["period","."]),e.bindKeyCode(191,["slash","forwardslash","/"]),e.bindKeyCode(192,["graveaccent","`"]),e.bindKeyCode(219,["openbracket","["]),e.bindKeyCode(220,["backslash","\\"]),e.bindKeyCode(221,["closebracket","]"]),e.bindKeyCode(222,["apostrophe","'"]),e.bindKeyCode(48,["zero","0"]),e.bindKeyCode(49,["one","1"]),e.bindKeyCode(50,["two","2"]),e.bindKeyCode(51,["three","3"]),e.bindKeyCode(52,["four","4"]),e.bindKeyCode(53,["five","5"]),e.bindKeyCode(54,["six","6"]),e.bindKeyCode(55,["seven","7"]),e.bindKeyCode(56,["eight","8"]),e.bindKeyCode(57,["nine","9"]),e.bindKeyCode(96,["numzero","num0"]),e.bindKeyCode(97,["numone","num1"]),e.bindKeyCode(98,["numtwo","num2"]),e.bindKeyCode(99,["numthree","num3"]),e.bindKeyCode(100,["numfour","num4"]),e.bindKeyCode(101,["numfive","num5"]),e.bindKeyCode(102,["numsix","num6"]),e.bindKeyCode(103,["numseven","num7"]),e.bindKeyCode(104,["numeight","num8"]),e.bindKeyCode(105,["numnine","num9"]),e.bindKeyCode(106,["nummultiply","num*"]),e.bindKeyCode(107,["numadd","num+"]),e.bindKeyCode(108,["numenter"]),e.bindKeyCode(109,["numsubtract","num-"]),e.bindKeyCode(110,["numdecimal","num."]),e.bindKeyCode(111,["numdivide","num/"]),e.bindKeyCode(144,["numlock","num"]),e.bindKeyCode(112,["f1"]),e.bindKeyCode(113,["f2"]),e.bindKeyCode(114,["f3"]),e.bindKeyCode(115,["f4"]),e.bindKeyCode(116,["f5"]),e.bindKeyCode(117,["f6"]),e.bindKeyCode(118,["f7"]),e.bindKeyCode(119,["f8"]),e.bindKeyCode(120,["f9"]),e.bindKeyCode(121,["f10"]),e.bindKeyCode(122,["f11"]),e.bindKeyCode(123,["f12"]),e.bindKeyCode(124,["f13"]),e.bindKeyCode(125,["f14"]),e.bindKeyCode(126,["f15"]),e.bindKeyCode(127,["f16"]),e.bindKeyCode(128,["f17"]),e.bindKeyCode(129,["f18"]),e.bindKeyCode(130,["f19"]),e.bindKeyCode(131,["f20"]),e.bindKeyCode(132,["f21"]),e.bindKeyCode(133,["f22"]),e.bindKeyCode(134,["f23"]),e.bindKeyCode(135,["f24"]),e.bindMacro("shift + `",["tilde","~"]),e.bindMacro("shift + 1",["exclamation","exclamationpoint","!"]),e.bindMacro("shift + 2",["at","@"]),e.bindMacro("shift + 3",["number","#"]),e.bindMacro("shift + 4",["dollar","dollars","dollarsign","$"]),e.bindMacro("shift + 5",["percent","%"]),e.bindMacro("shift + 6",["caret","^"]),e.bindMacro("shift + 7",["ampersand","and","&"]),e.bindMacro("shift + 8",["asterisk","*"]),e.bindMacro("shift + 9",["openparen","("]),e.bindMacro("shift + 0",["closeparen",")"]),e.bindMacro("shift + -",["underscore","_"]),e.bindMacro("shift + =",["plus","+"]),e.bindMacro("shift + [",["opencurlybrace","opencurlybracket","{"]),e.bindMacro("shift + ]",["closecurlybrace","closecurlybracket","}"]),e.bindMacro("shift + \\",["verticalbar","|"]),e.bindMacro("shift + ;",["colon",":"]),e.bindMacro("shift + '",["quotationmark","'"]),e.bindMacro("shift + !,",["openanglebracket","<"]),e.bindMacro("shift + .",["closeanglebracket",">"]),e.bindMacro("shift + /",["questionmark","?"]),t.match("Mac")?e.bindMacro("command",["mod","modifier"]):e.bindMacro("ctrl",["mod","modifier"]);for(var r=65;r<=90;r+=1){var i=String.fromCharCode(r+32),d=String.fromCharCode(r);e.bindKeyCode(r,i),e.bindMacro("shift + "+i,d),e.bindMacro("capslock + "+i,d)}var h,y,g=n.match("Firefox")?59:186,v=n.match("Firefox")?173:189,_=n.match("Firefox")?61:187;t.match("Mac")&&(n.match("Safari")||n.match("Chrome"))?(h=91,y=93):t.match("Mac")&&n.match("Opera")?(h=17,y=17):t.match("Mac")&&n.match("Firefox")&&(h=224,y=224),e.bindKeyCode(g,["semicolon",";"]),e.bindKeyCode(v,["dash","-"]),e.bindKeyCode(_,["equal","equalsign","="]),e.bindKeyCode(h,["command","windows","win","super","leftcommand","leftwindows","leftwin","leftsuper"]),e.bindKeyCode(y,["command","windows","win","super","rightcommand","rightwindows","rightwin","rightsuper"]),e.setKillKey("command")})),i.Keyboard=r,i.Locale=t,i.KeyCombo=e,i},"object"===_typeof2(t)?e.exports=d():void 0===(i="function"===typeof(r=d)?r.call(t,n,t,e):r)||(e.exports=i)},3738:function(e,t,n){e.exports=minimatch,minimatch.Minimatch=Minimatch;var r={sep:"/"};try{r=n(2061)}catch(w){}var i=minimatch.GLOBSTAR=Minimatch.GLOBSTAR={},d=n(4294),h={"!":{open:"(?:(?!(?:",close:"))[^/]*?)"},"?":{open:"(?:",close:")?"},"+":{open:"(?:",close:")+"},"*":{open:"(?:",close:")*"},"@":{open:"(?:",close:")"}},y="[^/]",g="[^/]*?",v=function charSet(e){return e.split("").reduce((function(e,t){return e[t]=!0,e}),{})}("().*{}+?[]^$\\!");var _=/\/+/;function ext(e,t){e=e||{},t=t||{};var n={};return Object.keys(t).forEach((function(e){n[e]=t[e]})),Object.keys(e).forEach((function(t){n[t]=e[t]})),n}function minimatch(e,t,n){if("string"!==typeof t)throw new TypeError("glob pattern string required");return n||(n={}),!(!n.nocomment&&"#"===t.charAt(0))&&(""===t.trim()?""===e:new Minimatch(t,n).match(e))}function Minimatch(e,t){if(!(this instanceof Minimatch))return new Minimatch(e,t);if("string"!==typeof e)throw new TypeError("glob pattern string required");t||(t={}),e=e.trim(),"/"!==r.sep&&(e=e.split(r.sep).join("/")),this.options=t,this.set=[],this.pattern=e,this.regexp=null,this.negate=!1,this.comment=!1,this.empty=!1,this.make()}function braceExpand(e,t){if(t||(t=this instanceof Minimatch?this.options:{}),"undefined"===typeof(e="undefined"===typeof e?this.pattern:e))throw new TypeError("undefined pattern");return t.nobrace||!e.match(/\{.*\}/)?[e]:d(e)}minimatch.filter=function filter(e,t){return t=t||{},function(n,r,i){return minimatch(n,e,t)}},minimatch.defaults=function(e){if(!e||!Object.keys(e).length)return minimatch;var t=minimatch,n=function minimatch(n,r,i){return t.minimatch(n,r,ext(e,i))};return n.Minimatch=function Minimatch(n,r){return new t.Minimatch(n,ext(e,r))},n},Minimatch.defaults=function(e){return e&&Object.keys(e).length?minimatch.defaults(e).Minimatch:Minimatch},Minimatch.prototype.debug=function(){},Minimatch.prototype.make=function make(){if(this._made)return;var e=this.pattern,t=this.options;if(!t.nocomment&&"#"===e.charAt(0))return void(this.comment=!0);if(!e)return void(this.empty=!0);this.parseNegate();var n=this.globSet=this.braceExpand();t.debug&&(this.debug=console.error);this.debug(this.pattern,n),n=this.globParts=n.map((function(e){return e.split(_)})),this.debug(this.pattern,n),n=n.map((function(e,t,n){return e.map(this.parse,this)}),this),this.debug(this.pattern,n),n=n.filter((function(e){return-1===e.indexOf(!1)})),this.debug(this.pattern,n),this.set=n},Minimatch.prototype.parseNegate=function parseNegate(){var e=this.pattern,t=!1,n=this.options,r=0;if(n.nonegate)return;for(var i=0,d=e.length;i<d&&"!"===e.charAt(i);i++)t=!t,r++;r&&(this.pattern=e.substr(r));this.negate=t},minimatch.braceExpand=function(e,t){return braceExpand(e,t)},Minimatch.prototype.braceExpand=braceExpand,Minimatch.prototype.parse=function parse(e,t){if(e.length>65536)throw new TypeError("pattern is too long");var n=this.options;if(!n.noglobstar&&"**"===e)return i;if(""===e)return"";var r,d="",_=!!n.nocase,E=!1,k=[],S=[],C=!1,O=-1,T=-1,A="."===e.charAt(0)?"":n.dot?"(?!(?:^|\\/)\\.{1,2}(?:$|\\/))":"(?!\\.)",x=this;function clearStateChar(){if(r){switch(r){case"*":d+=g,_=!0;break;case"?":d+=y,_=!0;break;default:d+="\\"+r}x.debug("clearStateChar %j %j",r,d),r=!1}}for(var I,D=0,L=e.length;D<L&&(I=e.charAt(D));D++)if(this.debug("%s\t%s %s %j",e,D,d,I),E&&v[I])d+="\\"+I,E=!1;else switch(I){case"/":return!1;case"\\":clearStateChar(),E=!0;continue;case"?":case"*":case"+":case"@":case"!":if(this.debug("%s\t%s %s %j <-- stateChar",e,D,d,I),C){this.debug(" in class"),"!"===I&&D===T+1&&(I="^"),d+=I;continue}x.debug("call clearStateChar %j",r),clearStateChar(),r=I,n.noext&&clearStateChar();continue;case"(":if(C){d+="(";continue}if(!r){d+="\\(";continue}k.push({type:r,start:D-1,reStart:d.length,open:h[r].open,close:h[r].close}),d+="!"===r?"(?:(?!(?:":"(?:",this.debug("plType %j %j",r,d),r=!1;continue;case")":if(C||!k.length){d+="\\)";continue}clearStateChar(),_=!0;var N=k.pop();d+=N.close,"!"===N.type&&S.push(N),N.reEnd=d.length;continue;case"|":if(C||!k.length||E){d+="\\|",E=!1;continue}clearStateChar(),d+="|";continue;case"[":if(clearStateChar(),C){d+="\\"+I;continue}C=!0,T=D,O=d.length,d+=I;continue;case"]":if(D===T+1||!C){d+="\\"+I,E=!1;continue}if(C){var P=e.substring(T+1,D);try{RegExp("["+P+"]")}catch(w){var R=this.parse(P,b);d=d.substr(0,O)+"\\["+R[0]+"\\]",_=_||R[1],C=!1;continue}}_=!0,C=!1,d+=I;continue;default:clearStateChar(),E?E=!1:!v[I]||"^"===I&&C||(d+="\\"),d+=I}C&&(P=e.substr(T+1),R=this.parse(P,b),d=d.substr(0,O)+"\\["+R[0],_=_||R[1]);for(N=k.pop();N;N=k.pop()){var j=d.slice(N.reStart+N.open.length);this.debug("setting tail",d,N),j=j.replace(/((?:\\{2}){0,64})(\\?)\|/g,(function(e,t,n){return n||(n="\\"),t+t+n+"|"})),this.debug("tail=%j\n %s",j,j,N,d);var M="*"===N.type?g:"?"===N.type?y:"\\"+N.type;_=!0,d=d.slice(0,N.reStart)+M+"\\("+j}clearStateChar(),E&&(d+="\\\\");var F=!1;switch(d.charAt(0)){case".":case"[":case"(":F=!0}for(var q=S.length-1;q>-1;q--){var B=S[q],Q=d.slice(0,B.reStart),K=d.slice(B.reStart,B.reEnd-8),V=d.slice(B.reEnd-8,B.reEnd),U=d.slice(B.reEnd);V+=U;var H=Q.split("(").length-1,z=U;for(D=0;D<H;D++)z=z.replace(/\)[+*?]?/,"");var W="";""===(U=z)&&t!==b&&(W="$"),d=Q+K+U+W+V}""!==d&&_&&(d="(?=.)"+d);F&&(d=A+d);if(t===b)return[d,_];if(!_)return function globUnescape(e){return e.replace(/\\(.)/g,"$1")}(e);var G=n.nocase?"i":"";try{var Y=new RegExp("^"+d+"$",G)}catch(w){return new RegExp("$.")}return Y._glob=e,Y._src=d,Y};var b={};minimatch.makeRe=function(e,t){return new Minimatch(e,t||{}).makeRe()},Minimatch.prototype.makeRe=function makeRe(){if(this.regexp||!1===this.regexp)return this.regexp;var e=this.set;if(!e.length)return this.regexp=!1,this.regexp;var t=this.options,n=t.noglobstar?g:t.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",r=t.nocase?"i":"",d=e.map((function(e){return e.map((function(e){return e===i?n:"string"===typeof e?function regExpEscape(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}(e):e._src})).join("\\/")})).join("|");d="^(?:"+d+")$",this.negate&&(d="^(?!"+d+").*$");try{this.regexp=new RegExp(d,r)}catch(h){this.regexp=!1}return this.regexp},minimatch.match=function(e,t,n){var r=new Minimatch(t,n=n||{});return e=e.filter((function(e){return r.match(e)})),r.options.nonull&&!e.length&&e.push(t),e},Minimatch.prototype.match=function match(e,t){if(this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return""===e;if("/"===e&&t)return!0;var n=this.options;"/"!==r.sep&&(e=e.split(r.sep).join("/"));e=e.split(_),this.debug(this.pattern,"split",e);var i,d,h=this.set;for(this.debug(this.pattern,"set",h),d=e.length-1;d>=0&&!(i=e[d]);d--);for(d=0;d<h.length;d++){var y=h[d],g=e;if(n.matchBase&&1===y.length&&(g=[i]),this.matchOne(g,y,t))return!!n.flipNegate||!this.negate}return!n.flipNegate&&this.negate},Minimatch.prototype.matchOne=function(e,t,n){var r=this.options;this.debug("matchOne",{this:this,file:e,pattern:t}),this.debug("matchOne",e.length,t.length);for(var d=0,h=0,y=e.length,g=t.length;d<y&&h<g;d++,h++){this.debug("matchOne loop");var v,_=t[h],b=e[d];if(this.debug(t,_,b),!1===_)return!1;if(_===i){this.debug("GLOBSTAR",[t,_,b]);var w=d,E=h+1;if(E===g){for(this.debug("** at the end");d<y;d++)if("."===e[d]||".."===e[d]||!r.dot&&"."===e[d].charAt(0))return!1;return!0}for(;w<y;){var k=e[w];if(this.debug("\nglobstar while",e,w,t,E,k),this.matchOne(e.slice(w),t.slice(E),n))return this.debug("globstar found match!",w,y,k),!0;if("."===k||".."===k||!r.dot&&"."===k.charAt(0)){this.debug("dot detected!",e,w,t,E);break}this.debug("globstar swallow a segment, and continue"),w++}return!(!n||(this.debug("\n>>> no match, partial?",e,w,t,E),w!==y))}if("string"===typeof _?(v=r.nocase?b.toLowerCase()===_.toLowerCase():b===_,this.debug("string match",_,b,v)):(v=b.match(_),this.debug("pattern match",_,b,v)),!v)return!1}if(d===y&&h===g)return!0;if(d===y)return n;if(h===g)return d===y-1&&""===e[d];throw new Error("wtf?")}},2768:function(e,t,n){"use strict";var r=n(7068);function emptyFunction(){}function emptyFunctionWithReset(){}emptyFunctionWithReset.resetWarningCache=emptyFunction,e.exports=function(){function shim(e,t,n,i,d,h){if(h!==r){var y=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw y.name="Invariant Violation",y}}function getShim(){return shim}shim.isRequired=shim;var e={array:shim,bool:shim,func:shim,number:shim,object:shim,string:shim,symbol:shim,any:shim,arrayOf:getShim,element:shim,elementType:shim,instanceOf:getShim,node:shim,objectOf:getShim,oneOf:getShim,oneOfType:getShim,shape:getShim,exact:getShim,checkPropTypes:emptyFunctionWithReset,resetWarningCache:emptyFunction};return e.PropTypes=e,e}},1056:function(e,t,n){e.exports=n(2768)()},7068:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},9639:function(e,t,n){var r,i,d;i=[t,n(1837)],void 0===(d="function"===typeof(r=function(e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=_interopRequireDefault(t);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}e.default=n.default})?r.apply(t,i):r)||(e.exports=d)},1837:function(e,t,n){var r,i,d;function _typeof(e){return(_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(e){return typeof e}:function _typeof(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}i=[t,n(3804),n(1056)],void 0===(d="function"===typeof(r=function(e,t,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.setHasSupportToCaptureOption=setHasSupportToCaptureOption;var r=_interopRequireDefault(t),i=_interopRequireDefault(n);function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}var d=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function _objectWithoutProperties(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var h=function(){function defineProperties(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(e,t,n){return t&&defineProperties(e.prototype,t),n&&defineProperties(e,n),e}}();function _possibleConstructorReturn(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==_typeof(t)&&"function"!==typeof t?e:t}function _inherits(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+_typeof(t));e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var y=!1;function setHasSupportToCaptureOption(e){y=e}try{addEventListener("test",null,Object.defineProperty({},"capture",{get:function get(){setHasSupportToCaptureOption(!0)}}))}catch(v){}function getSafeEventHandlerOpts(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{capture:!0};return y?e:e.capture}function getPosition(e){if("touches"in e){var t=e.touches[0];return{x:t.pageX,y:t.pageY}}return{x:e.screenX,y:e.screenY}}var g=function(e){function ReactSwipe(){var e;_classCallCheck(this,ReactSwipe);for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=_possibleConstructorReturn(this,(e=ReactSwipe.__proto__||Object.getPrototypeOf(ReactSwipe)).call.apply(e,[this].concat(n)));return i._handleSwipeStart=i._handleSwipeStart.bind(i),i._handleSwipeMove=i._handleSwipeMove.bind(i),i._handleSwipeEnd=i._handleSwipeEnd.bind(i),i._onMouseDown=i._onMouseDown.bind(i),i._onMouseMove=i._onMouseMove.bind(i),i._onMouseUp=i._onMouseUp.bind(i),i._setSwiperRef=i._setSwiperRef.bind(i),i}return _inherits(ReactSwipe,e),h(ReactSwipe,[{key:"componentDidMount",value:function componentDidMount(){this.swiper&&this.swiper.addEventListener("touchmove",this._handleSwipeMove,getSafeEventHandlerOpts({capture:!0,passive:!1}))}},{key:"componentWillUnmount",value:function componentWillUnmount(){this.swiper&&this.swiper.removeEventListener("touchmove",this._handleSwipeMove,getSafeEventHandlerOpts({capture:!0,passive:!1}))}},{key:"_onMouseDown",value:function _onMouseDown(e){this.props.allowMouseEvents&&(this.mouseDown=!0,document.addEventListener("mouseup",this._onMouseUp),document.addEventListener("mousemove",this._onMouseMove),this._handleSwipeStart(e))}},{key:"_onMouseMove",value:function _onMouseMove(e){this.mouseDown&&this._handleSwipeMove(e)}},{key:"_onMouseUp",value:function _onMouseUp(e){this.mouseDown=!1,document.removeEventListener("mouseup",this._onMouseUp),document.removeEventListener("mousemove",this._onMouseMove),this._handleSwipeEnd(e)}},{key:"_handleSwipeStart",value:function _handleSwipeStart(e){var t=getPosition(e),n=t.x,r=t.y;this.moveStart={x:n,y:r},this.props.onSwipeStart(e)}},{key:"_handleSwipeMove",value:function _handleSwipeMove(e){if(this.moveStart){var t=getPosition(e),n=t.x,r=t.y,i=n-this.moveStart.x,d=r-this.moveStart.y;this.moving=!0,this.props.onSwipeMove({x:i,y:d},e)&&e.cancelable&&e.preventDefault(),this.movePosition={deltaX:i,deltaY:d}}}},{key:"_handleSwipeEnd",value:function _handleSwipeEnd(e){this.props.onSwipeEnd(e);var t=this.props.tolerance;this.moving&&this.movePosition&&(this.movePosition.deltaX<-t?this.props.onSwipeLeft(1,e):this.movePosition.deltaX>t&&this.props.onSwipeRight(1,e),this.movePosition.deltaY<-t?this.props.onSwipeUp(1,e):this.movePosition.deltaY>t&&this.props.onSwipeDown(1,e)),this.moveStart=null,this.moving=!1,this.movePosition=null}},{key:"_setSwiperRef",value:function _setSwiperRef(e){this.swiper=e,this.props.innerRef(e)}},{key:"render",value:function render(){var e=this.props,t=(e.tagName,e.className),n=e.style,i=e.children,h=(e.allowMouseEvents,e.onSwipeUp,e.onSwipeDown,e.onSwipeLeft,e.onSwipeRight,e.onSwipeStart,e.onSwipeMove,e.onSwipeEnd,e.innerRef,e.tolerance,_objectWithoutProperties(e,["tagName","className","style","children","allowMouseEvents","onSwipeUp","onSwipeDown","onSwipeLeft","onSwipeRight","onSwipeStart","onSwipeMove","onSwipeEnd","innerRef","tolerance"]));return r.default.createElement(this.props.tagName,d({ref:this._setSwiperRef,onMouseDown:this._onMouseDown,onTouchStart:this._handleSwipeStart,onTouchEnd:this._handleSwipeEnd,className:t,style:n},h),i)}}]),ReactSwipe}(t.Component);g.displayName="ReactSwipe",g.propTypes={tagName:i.default.string,className:i.default.string,style:i.default.object,children:i.default.node,allowMouseEvents:i.default.bool,onSwipeUp:i.default.func,onSwipeDown:i.default.func,onSwipeLeft:i.default.func,onSwipeRight:i.default.func,onSwipeStart:i.default.func,onSwipeMove:i.default.func,onSwipeEnd:i.default.func,innerRef:i.default.func,tolerance:i.default.number.isRequired},g.defaultProps={tagName:"div",allowMouseEvents:!1,onSwipeUp:function onSwipeUp(){},onSwipeDown:function onSwipeDown(){},onSwipeLeft:function onSwipeLeft(){},onSwipeRight:function onSwipeRight(){},onSwipeStart:function onSwipeStart(){},onSwipeMove:function onSwipeMove(){},onSwipeEnd:function onSwipeEnd(){},innerRef:function innerRef(){},tolerance:0},e.default=g})?r.apply(t,i):r)||(e.exports=d)},3309:function(e,t,n){var r,i,d,h;function _typeof(e){return(_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(e){return typeof e}:function _typeof(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}h=function(e,t,n,r){"use strict";function o(e){return e&&"object"==_typeof(e)&&"default"in e?e:{default:e}}var i=o(t),d=o(n),h=o(r),y=function a(){return(y=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function u(e,t,n,r){return new(n||(n=Promise))((function(i,d){function c(e){try{a(r.next(e))}catch(e){d(e)}}function s(e){try{a(r.throw(e))}catch(e){d(e)}}function a(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(c,s)}a((r=r.apply(e,t||[])).next())}))}function l(e,t){var n,r,i,d,h={label:0,sent:function sent(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return d={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(d[Symbol.iterator]=function(){return this}),d;function s(d){return function(y){return function(d){if(n)throw new TypeError("Generator is already executing.");for(;h;)try{if(n=1,r&&(i=2&d[0]?r.return:d[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,d[1])).done)return i;switch(r=0,i&&(d=[2&d[0],i.value]),d[0]){case 0:case 1:i=d;break;case 4:return h.label++,{value:d[1],done:!1};case 5:h.label++,r=d[1],d=[0];continue;case 7:d=h.ops.pop(),h.trys.pop();continue;default:if(!((i=(i=h.trys).length>0&&i[i.length-1])||6!==d[0]&&2!==d[0])){h=0;continue}if(3===d[0]&&(!i||d[1]>i[0]&&d[1]<i[3])){h.label=d[1];break}if(6===d[0]&&h.label<i[1]){h.label=i[1],i=d;break}if(i&&h.label<i[2]){h.label=i[2],h.ops.push(d);break}i[2]&&h.ops.pop(),h.trys.pop();continue}d=t.call(e,h)}catch(e){d=[6,e],r=0}finally{n=i=0}if(5&d[0])throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}([d,y])}}}var g=[{provider_name:"YouTube",provider_url:"https://www.youtube.com/",endpoints:[{schemes:["https://*.youtube.com/watch*","https://*.youtube.com/v/*","https://youtu.be/*"],url:"https://www.youtube.com/oembed",discovery:!0}]},{provider_name:"Reddit",provider_url:"https://reddit.com/",endpoints:[{schemes:["https://reddit.com/r/*/comments/*/*","https://www.reddit.com/r/*/comments/*/*"],url:"https://www.reddit.com/oembed"}]},{provider_name:"Flickr",provider_url:"https://www.flickr.com/",endpoints:[{schemes:["http://*.flickr.com/photos/*","http://flic.kr/p/*","https://*.flickr.com/photos/*","https://flic.kr/p/*"],url:"https://www.flickr.com/services/oembed/",discovery:!0}]},{provider_name:"Vimeo",provider_url:"https://vimeo.com/",endpoints:[{schemes:["https://vimeo.com/*","https://vimeo.com/album/*/video/*","https://vimeo.com/channels/*/*","https://vimeo.com/groups/*/videos/*","https://vimeo.com/ondemand/*/*","https://player.vimeo.com/video/*"],url:"https://vimeo.com/api/oembed.{format}",discovery:!0}]},{provider_name:"SoundCloud",provider_url:"http://soundcloud.com/",endpoints:[{schemes:["http://soundcloud.com/*","https://soundcloud.com/*","https://soundcloud.app.goog.gl/*"],url:"https://soundcloud.com/oembed"}]},{provider_name:"Twitter",provider_url:"http://www.twitter.com/",endpoints:[{schemes:["https://twitter.com/*/status/*","https://*.twitter.com/*/status/*","https://twitter.com/*/moments/*","https://*.twitter.com/*/moments/*"],url:"https://publish.twitter.com/oembed"}]},{provider_name:"GIPHY",provider_url:"https://giphy.com",endpoints:[{schemes:["https://giphy.com/gifs/*","http://gph.is/*","https://media.giphy.com/media/*/giphy.gif"],url:"https://giphy.com/services/oembed",discovery:!0}]}];function m(e,t,n){return u(this,void 0,void 0,(function(){var r,i,d,y,g,v;return l(this,(function(_){switch(_.label){case 0:if(r=p(n.url,t),i=r.base_url,d=r.requestInterceptor,y=r.responceInterceptor,!i)throw Error("Invalid url: cannot guess oembed endpoint");return g=function(e,t){e.endsWith("/")&&(e=e.slice(0,-1));var n=/\{format\}/gi;if(e.match(n)&&(e=e.replace(n,"json")),!t)return e;var r=/\{url\}/gi,i=/\{raw_url\}/gi;return t.match(i)?t.replace(i,e):t.match(r)?(e=encodeURIComponent(e),t.replace(r,e)):(t.endsWith("/")&&(t=t.slice(0,-1)),t+"/"+e)}(i,e),v=h.default.create(),d&&v.interceptors.request.use(d),y&&v.interceptors.response.use(y),[4,v.get(g,{params:n})];case 1:return[2,_.sent().data]}}))}))}function p(e,t){var n,r,i;return(t=t||g).forEach((function(t){var h;t.endpoints.forEach((function(t){(function(e,t){return Boolean(t.find((function(t){return d.default(e,t,{nocase:!0})})))||Boolean(t.find((function(t){return d.default(e,t.replace(/\*/g,"**"),{nocase:!0})})))})(e,t.schemes)&&(h=t)})),h&&(n=h.url,r=t.requestInterceptor,i=t.responceInterceptor)})),{base_url:n,requestInterceptor:r,responceInterceptor:i}}function f(e,n,r){var i=[];t.useEffect((function(){var t=document.createElement("div");return t.innerHTML=e,t.querySelectorAll("script").forEach((function(e){var t=document.createElement("script");Array.from(e.attributes).forEach((function(e){"id"!==e.nodeName&&t.setAttribute(e.nodeName,e.nodeValue||"")})),t.innerHTML=e.innerHTML,Object.entries(n||{}).forEach((function(e){var n=e[0],r=e[1];t.setAttribute(n,r)})),document.body.appendChild(t),i=i.concat(t)})),function(){i.forEach((function(e){document.body.removeChild(e)})),i=[]}}),r||[e])}e.default=function(e){var n=e.url,r=e.proxy,d=e.style,h=e.options,g=e.providers,v=e.ImgComponent,_=e.LinkComponent,b=e.FallbackElement,w=e.LoadingFallbackElement,E=t.useState(void 0),k=E[0],S=E[1],C=t.useState("idle"),O=C[0],T=C[1],A=t.useState(""),x=A[0],I=A[1];f(x,{defer:""}),t.useEffect((function(){"idle"===O&&function(){u(this,void 0,void 0,(function(){var e,t;return l(this,(function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),T("loading"),[4,m(r,g,y(y({url:n,maxwidth:700,maxheight:500,align:"center"},h),{format:"json"}))];case 1:if(!(e=i.sent()))throw Error("Nill embed responce");return T("done"),S(e),e.html&&I(e.html),[3,3];case 2:return t=i.sent(),console.error("Error",t),T("error"),[3,3];case 3:return[2]}}))}))}()}),[O]);var D,L=i.default.createElement("a",{href:n,target:"_blank",rel:"nofollow noreferrer noopener"},n);return k&&!k.html&&("photo"===k.type?D=v?i.default.createElement(v,{responce:k}):i.default.createElement("img",{alt:"",src:k.url}):"link"===k.type&&(D=_?i.default.createElement(_,{responce:k}):i.default.createElement("a",{href:n,target:"_blank",rel:"nofollow noreferrer noopener"},n))),"loading"===O||"idle"===O?w||L:"error"===O?b||L:i.default.createElement("span",{style:d,className:"__embed __embed_column"},D,x&&i.default.createElement("span",{className:"__embed_column",dangerouslySetInnerHTML:{__html:x}}),i.default.createElement("style",null,".__embed {\n margin: auto;\n width: 100%;\n max-width: 700px;\n} \n.__embed iframe {\n width: 100%;\n margin: auto;\n}\n.__embed img, .__embed video {\n width: 100%;\n margin: 0;\n}\n.__embed blockquote {\n margin: 0;\n}\n.__embed span {\n border: 0;\n} \n.__embed_column {\n width: 100%;\n display: flex;\n flex-direction: column;\n}"))},e.defaultProviders=g,e.getEndpoint=p,e.requestEmbed=m,e.useScript=f,Object.defineProperty(e,"__esModule",{value:!0})},"object"==_typeof(t)?h(t,n(3804),n(3738),n(3180)):(i=[t,n(3804),n(3738),n(3180)],void 0===(d="function"===typeof(r=h)?r.apply(t,i):r)||(e.exports=d))},9304:function(e,t,n){"use strict";n.d(t,{ej:function(){return y},kG:function(){return invariant},U6:function(){return setVerbosity}});var r=n(4878);function _typeof(e){return(_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(e){return typeof e}:function _typeof(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i="Invariant Violation",d=Object.setPrototypeOf,h=void 0===d?function(e,t){return e.__proto__=t,e}:d,y=function(e){function InvariantError(t){void 0===t&&(t=i);var n=e.call(this,"number"===typeof t?i+": "+t+" (see https://github.com/apollographql/invariant-packages)":t)||this;return n.framesToPop=1,n.name=i,h(n,InvariantError.prototype),n}return(0,r.ZT)(InvariantError,e),InvariantError}(Error);function invariant(e,t){if(!e)throw new y(t)}var g=["log","warn","error","silent"],v=g.indexOf("log");function wrapConsoleMethod(e){return function(){if(g.indexOf(e)>=v)return console[e].apply(console,arguments)}}function setVerbosity(e){var t=g[v];return v=Math.max(0,g.indexOf(e)),t}!function(e){e.log=wrapConsoleMethod("log"),e.warn=wrapConsoleMethod("warn"),e.error=wrapConsoleMethod("error")}(invariant||(invariant={}));"object"===("undefined"===typeof process?"undefined":_typeof(process))&&"object"===_typeof({NODE_ENV:"production"})&&process},4878:function(e,t,n){"use strict";n.d(t,{ZT:function(){return __extends},pi:function(){return i},_T:function(){return __rest},mG:function(){return __awaiter},Jh:function(){return __generator},pr:function(){return __spreadArrays}});var r=function extendStatics(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)};function __extends(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}var i=function __assign(){return(i=Object.assign||function __assign(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function __rest(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function __awaiter(e,t,n,r){return new(n||(n=Promise))((function(i,d){function fulfilled(e){try{step(r.next(e))}catch(t){d(t)}}function rejected(e){try{step(r.throw(e))}catch(t){d(t)}}function step(e){e.done?i(e.value):function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(fulfilled,rejected)}step((r=r.apply(e,t||[])).next())}))}function __generator(e,t){var n,r,i,d,h={label:0,sent:function sent(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return d={next:verb(0),throw:verb(1),return:verb(2)},"function"===typeof Symbol&&(d[Symbol.iterator]=function(){return this}),d;function verb(d){return function(y){return function step(d){if(n)throw new TypeError("Generator is already executing.");for(;h;)try{if(n=1,r&&(i=2&d[0]?r.return:d[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,d[1])).done)return i;switch(r=0,i&&(d=[2&d[0],i.value]),d[0]){case 0:case 1:i=d;break;case 4:return h.label++,{value:d[1],done:!1};case 5:h.label++,r=d[1],d=[0];continue;case 7:d=h.ops.pop(),h.trys.pop();continue;default:if(!(i=(i=h.trys).length>0&&i[i.length-1])&&(6===d[0]||2===d[0])){h=0;continue}if(3===d[0]&&(!i||d[1]>i[0]&&d[1]<i[3])){h.label=d[1];break}if(6===d[0]&&h.label<i[1]){h.label=i[1],i=d;break}if(i&&h.label<i[2]){h.label=i[2],h.ops.push(d);break}i[2]&&h.ops.pop(),h.trys.pop();continue}d=t.call(e,h)}catch(y){d=[6,y],r=0}finally{n=i=0}if(5&d[0])throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}([d,y])}}}Object.create;function __spreadArrays(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var d=arguments[t],h=0,y=d.length;h<y;h++,i++)r[i]=d[h];return r}Object.create},2753:function(e,t,n){e.exports=n(6052).Observable},6052:function(e,t){"use strict";function _typeof(e){return(_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(e){return typeof e}:function _typeof(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _defineProperties(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _createClass(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),e}t.Observable=void 0;var n=function hasSymbols(){return"function"===typeof Symbol},r=function hasSymbol(e){return n()&&Boolean(Symbol[e])},i=function getSymbol(e){return r(e)?Symbol[e]:"@@"+e};n()&&!r("observable")&&(Symbol.observable=Symbol("observable"));var d=i("iterator"),h=i("observable"),y=i("species");function getMethod(e,t){var n=e[t];if(null!=n){if("function"!==typeof n)throw new TypeError(n+" is not a function");return n}}function getSpecies(e){var t=e.constructor;return void 0!==t&&null===(t=t[y])&&(t=void 0),void 0!==t?t:_}function isObservable(e){return e instanceof _}function hostReportError(e){hostReportError.log?hostReportError.log(e):setTimeout((function(){throw e}))}function enqueue(e){Promise.resolve().then((function(){try{e()}catch(t){hostReportError(t)}}))}function cleanupSubscription(e){var t=e._cleanup;if(void 0!==t&&(e._cleanup=void 0,t))try{if("function"===typeof t)t();else{var n=getMethod(t,"unsubscribe");n&&n.call(t)}}catch(r){hostReportError(r)}}function closeSubscription(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function notifySubscription(e,t,n){e._state="running";var r=e._observer;try{var i=getMethod(r,t);switch(t){case"next":i&&i.call(r,n);break;case"error":if(closeSubscription(e),!i)throw n;i.call(r,n);break;case"complete":closeSubscription(e),i&&i.call(r)}}catch(d){hostReportError(d)}"closed"===e._state?cleanupSubscription(e):"running"===e._state&&(e._state="ready")}function onNotify(e,t,n){if("closed"!==e._state){if("buffering"!==e._state)return"ready"!==e._state?(e._state="buffering",e._queue=[{type:t,value:n}],void enqueue((function(){return function flushSubscription(e){var t=e._queue;if(t){e._queue=void 0,e._state="ready";for(var n=0;n<t.length&&(notifySubscription(e,t[n].type,t[n].value),"closed"!==e._state);++n);}}(e)}))):void notifySubscription(e,t,n);e._queue.push({type:t,value:n})}}var g=function(){function Subscription(e,t){_classCallCheck(this,Subscription),this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";var n=new v(this);try{this._cleanup=t.call(void 0,n)}catch(r){n.error(r)}"initializing"===this._state&&(this._state="ready")}return _createClass(Subscription,[{key:"unsubscribe",value:function unsubscribe(){"closed"!==this._state&&(closeSubscription(this),cleanupSubscription(this))}},{key:"closed",get:function get(){return"closed"===this._state}}]),Subscription}(),v=function(){function SubscriptionObserver(e){_classCallCheck(this,SubscriptionObserver),this._subscription=e}return _createClass(SubscriptionObserver,[{key:"next",value:function next(e){onNotify(this._subscription,"next",e)}},{key:"error",value:function error(e){onNotify(this._subscription,"error",e)}},{key:"complete",value:function complete(){onNotify(this._subscription,"complete")}},{key:"closed",get:function get(){return"closed"===this._subscription._state}}]),SubscriptionObserver}(),_=function(){function Observable(e){if(_classCallCheck(this,Observable),!(this instanceof Observable))throw new TypeError("Observable cannot be called as a function");if("function"!==typeof e)throw new TypeError("Observable initializer must be a function");this._subscriber=e}return _createClass(Observable,[{key:"subscribe",value:function subscribe(e){return"object"===_typeof(e)&&null!==e||(e={next:e,error:arguments[1],complete:arguments[2]}),new g(e,this._subscriber)}},{key:"forEach",value:function forEach(e){var t=this;return new Promise((function(n,r){if("function"===typeof e)var i=t.subscribe({next:function next(t){try{e(t,done)}catch(n){r(n),i.unsubscribe()}},error:r,complete:n});else r(new TypeError(e+" is not a function"));function done(){i.unsubscribe(),n()}}))}},{key:"map",value:function map(e){var t=this;if("function"!==typeof e)throw new TypeError(e+" is not a function");return new(getSpecies(this))((function(n){return t.subscribe({next:function next(t){try{t=e(t)}catch(r){return n.error(r)}n.next(t)},error:function error(e){n.error(e)},complete:function complete(){n.complete()}})}))}},{key:"filter",value:function filter(e){var t=this;if("function"!==typeof e)throw new TypeError(e+" is not a function");return new(getSpecies(this))((function(n){return t.subscribe({next:function next(t){try{if(!e(t))return}catch(r){return n.error(r)}n.next(t)},error:function error(e){n.error(e)},complete:function complete(){n.complete()}})}))}},{key:"reduce",value:function reduce(e){var t=this;if("function"!==typeof e)throw new TypeError(e+" is not a function");var n=getSpecies(this),r=arguments.length>1,i=!1,d=arguments[1],h=d;return new n((function(n){return t.subscribe({next:function next(t){var d=!i;if(i=!0,!d||r)try{h=e(h,t)}catch(y){return n.error(y)}else h=t},error:function error(e){n.error(e)},complete:function complete(){if(!i&&!r)return n.error(new TypeError("Cannot reduce an empty sequence"));n.next(h),n.complete()}})}))}},{key:"concat",value:function concat(){for(var e=this,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=getSpecies(this);return new i((function(t){var r,d=0;return function startNext(e){r=e.subscribe({next:function next(e){t.next(e)},error:function error(e){t.error(e)},complete:function complete(){d===n.length?(r=void 0,t.complete()):startNext(i.from(n[d++]))}})}(e),function(){r&&(r.unsubscribe(),r=void 0)}}))}},{key:"flatMap",value:function flatMap(e){var t=this;if("function"!==typeof e)throw new TypeError(e+" is not a function");var n=getSpecies(this);return new n((function(r){var i=[],d=t.subscribe({next:function next(t){if(e)try{t=e(t)}catch(h){return r.error(h)}var d=n.from(t).subscribe({next:function next(e){r.next(e)},error:function error(e){r.error(e)},complete:function complete(){var e=i.indexOf(d);e>=0&&i.splice(e,1),completeIfDone()}});i.push(d)},error:function error(e){r.error(e)},complete:function complete(){completeIfDone()}});function completeIfDone(){d.closed&&0===i.length&&r.complete()}return function(){i.forEach((function(e){return e.unsubscribe()})),d.unsubscribe()}}))}},{key:h,value:function value(){return this}}],[{key:"from",value:function from(e){var t="function"===typeof this?this:Observable;if(null==e)throw new TypeError(e+" is not an object");var n=getMethod(e,h);if(n){var i=n.call(e);if(Object(i)!==i)throw new TypeError(i+" is not an object");return isObservable(i)&&i.constructor===t?i:new t((function(e){return i.subscribe(e)}))}if(r("iterator")&&(n=getMethod(e,d)))return new t((function(t){enqueue((function(){if(!t.closed){var r=!0,i=!1,d=void 0;try{for(var h,y=n.call(e)[Symbol.iterator]();!(r=(h=y.next()).done);r=!0){var g=h.value;if(t.next(g),t.closed)return}}catch(v){i=!0,d=v}finally{try{r||null==y.return||y.return()}finally{if(i)throw d}}t.complete()}}))}));if(Array.isArray(e))return new t((function(t){enqueue((function(){if(!t.closed){for(var n=0;n<e.length;++n)if(t.next(e[n]),t.closed)return;t.complete()}}))}));throw new TypeError(e+" is not observable")}},{key:"of",value:function of(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r="function"===typeof this?this:Observable;return new r((function(e){enqueue((function(){if(!e.closed){for(var n=0;n<t.length;++n)if(e.next(t[n]),e.closed)return;e.complete()}}))}))}},{key:y,get:function get(){return this}}]),Observable}();t.Observable=_,n()&&Object.defineProperty(_,Symbol("extensions"),{value:{symbol:h,hostReportError:hostReportError},configurable:!0})},6316:function(e){e.exports="../img/bg.png"},1887:function(e){e.exports="../img/logo.png"},738:function(e){e.exports="../img/logo.svg"},1582:function(e){e.exports="../img/original.png"},104:function(e){e.exports="../img/original2.png"},8035:function(e){e.exports="../img/photo1.png"},7675:function(e){e.exports="../img/photo2.jpg"},5192:function(e){e.exports="../img/photo3.svg"},3429:function(e){function webpackEmptyContext(e){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}webpackEmptyContext.keys=function(){return[]},webpackEmptyContext.resolve=webpackEmptyContext,webpackEmptyContext.id=3429,e.exports=webpackEmptyContext},3804:function(e){"use strict";e.exports=React},2061:function(){}},t={};function __webpack_require__(n){var r=t[n];if(void 0!==r)return r.exports;var i=t[n]={exports:{}};return e[n].call(i.exports,i,i.exports,__webpack_require__),i.exports}__webpack_require__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(t,{a:t}),t},__webpack_require__.d=function(e,t){for(var n in t)__webpack_require__.o(t,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__webpack_require__.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"===typeof window)return window}}(),__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){"use strict";var e={};__webpack_require__.r(e),__webpack_require__.d(e,{afterMain:function(){return wn},afterRead:function(){return vn},afterWrite:function(){return Sn},applyStyles:function(){return On},arrow:function(){return In},auto:function(){return rn},basePlacements:function(){return an},beforeMain:function(){return _n},beforeRead:function(){return yn},beforeWrite:function(){return En},bottom:function(){return en},clippingParents:function(){return un},computeStyles:function(){return Ln},createPopper:function(){return Hn},createPopperBase:function(){return Un},createPopperLite:function(){return zn},detectOverflow:function(){return detectOverflow},end:function(){return cn},eventListeners:function(){return Pn},flip:function(){return Mn},hide:function(){return Fn},left:function(){return nn},main:function(){return bn},modifierPhases:function(){return Cn},offset:function(){return qn},placements:function(){return mn},popper:function(){return pn},popperGenerator:function(){return popperGenerator},popperOffsets:function(){return Bn},preventOverflow:function(){return Qn},read:function(){return gn},reference:function(){return dn},right:function(){return tn},start:function(){return sn},top:function(){return Zt},variationPlacements:function(){return hn},viewport:function(){return ln},write:function(){return kn}});var t="ajax-load",n="load",r=__webpack_require__(3804),i=__webpack_require__.n(r),d=ReactDOM,h=__webpack_require__.n(d),y=__webpack_require__(9639),g=__webpack_require__.n(y),v=__webpack_require__(4982),_=__webpack_require__.n(v),b=__webpack_require__(3309),w=__webpack_require__.n(b);function _typeof(e){return(_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(e){return typeof e}:function _typeof(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _toConsumableArray(e){return function _arrayWithoutHoles(e){if(Array.isArray(e))return _arrayLikeToArray(e)}(e)||function _iterableToArray(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function _unsupportedIterableToArray(e,t){if(!e)return;if("string"===typeof e)return _arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(e,t)}(e)||function _nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function _defineProperties(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _setPrototypeOf(e,t){return(_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(e,t){return e.__proto__=t,e})(e,t)}function _createSuper(e){var t=function _isNativeReflectConstruct(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var n,r=_getPrototypeOf(e);if(t){var i=_getPrototypeOf(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return _possibleConstructorReturn(this,n)}}function _possibleConstructorReturn(e,t){return!t||"object"!==_typeof(t)&&"function"!==typeof t?_assertThisInitialized(e):t}function _assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _getPrototypeOf(e){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var E=window,k={provider_name:"Instagram",provider_url:"https://instagram.com",endpoints:[{schemes:["http://instagram.com/*/p/*,","http://www.instagram.com/*/p/*,","https://instagram.com/*/p/*,","https://www.instagram.com/*/p/*,","http://instagram.com/p/*","http://instagr.am/p/*","http://www.instagram.com/p/*","http://www.instagr.am/p/*","https://instagram.com/p/*","https://instagr.am/p/*","https://www.instagram.com/p/*","https://www.instagr.am/p/*","http://instagram.com/tv/*","http://instagr.am/tv/*","http://www.instagram.com/tv/*","http://www.instagr.am/tv/*","https://instagram.com/tv/*","https://instagr.am/tv/*","https://www.instagram.com/tv/*","https://www.instagr.am/tv/*"],url:"https://graph.facebook.com/v9.0/instagram_oembed",formats:["json"]},{schemes:["http://instagram.com/*/p/*,","http://www.instagram.com/*/p/*,","https://instagram.com/*/p/*,","https://www.instagram.com/*/p/*,","http://instagram.com/p/*","http://instagr.am/p/*","http://www.instagram.com/p/*","http://www.instagr.am/p/*","https://instagram.com/p/*","https://instagr.am/p/*","https://www.instagram.com/p/*","https://www.instagr.am/p/*","http://instagram.com/tv/*","http://instagr.am/tv/*","http://www.instagram.com/tv/*","http://www.instagr.am/tv/*","https://instagram.com/tv/*","https://instagr.am/tv/*","https://www.instagram.com/tv/*","https://www.instagr.am/tv/*"],url:"https://api.instagram.com/oembed",formats:["json"]}]},S=__webpack_require__(3180),C=function(e){!function _inherits(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_setPrototypeOf(e,t)}(MetaWindow,e);var t=_createSuper(MetaWindow);function MetaWindow(e){var n;!function _classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,MetaWindow),_defineProperty(_assertThisInitialized(n=t.call(this,e)),"state",{content:"",type:[],shown:!1,loading:!1,error:!1,embed:!1,collections:[],current:null}),_defineProperty(_assertThisInitialized(n),"_currIndex",(function(){var e=_assertThisInitialized(n),t=e.state.current,r=t.getAttribute("data-gallery");return e.state.collections[r].indexOf(t)})),_defineProperty(_assertThisInitialized(n),"next",(function(){var e=_assertThisInitialized(n),t=e.state.current.getAttribute("data-gallery"),r=e._currIndex();r<e.state.collections[t].length-1?r++:r=0,e.state.collections[t][r].click(),console.log("".concat(e.name,": next")),E.dispatchEvent(new Event("{ui.name}.next"))})),_defineProperty(_assertThisInitialized(n),"prev",(function(){var e=_assertThisInitialized(n),t=e.state.current.getAttribute("data-gallery"),r=e._currIndex();r>0?r--:r=e.state.collections[t].length-1,e.state.collections[t][r].click(),console.log("".concat(e.name,": prev")),E.dispatchEvent(new Event("{ui.name}.prev"))})),_defineProperty(_assertThisInitialized(n),"reset",(function(){_assertThisInitialized(n).setState({content:"",type:[],shown:!1,loading:!1,error:!1,embed:!1})})),_defineProperty(_assertThisInitialized(n),"embed",(function(e){var t=_assertThisInitialized(n);console.log("".concat(t.name,": embed")),t.reset(),t.setState({embed:e,loading:!1,type:["embed","video"]}),t.show()})),_defineProperty(_assertThisInitialized(n),"load",(function(e){var t=_assertThisInitialized(n),r=t.axios;t.reset(),t.setState({loading:!0}),t.show(),r.get(e,{responseType:"arraybuffer"}).then((function(e){switch(console.log("".concat(t.name,": response content-type: ").concat(e.headers["content-type"])),e.headers["content-type"]){case"image/jpeg":case"image/png":case"image/svg+xml":case"image/bmp":case"image/gif":case"image/tiff":case"image/webp":case"image/jpg":case"image/svg":t.setContent('<img src="data:'.concat(e.headers["content-type"],";base64,").concat(t._imageEncode(e.data),'" />'),"image");break;case"application/json":case"application/ld+json":case"application/json; charset=UTF-8":var n=JSON.parse(t._abToString(e.data));t.setContent("".concat(n.Content),"text html json");break;case"text/html":case"application/xhtml+xml":case"text/plain":case"text/html; charset=UTF-8":case"application/xhtml+xml; charset=UTF-8":case"text/plain; charset=UTF-8":t.setContent(t._abToString(e.data),"text html pajax");break;default:console.warn("".concat(t.name,": Unknown response content-type!"))}E.dispatchEvent(new Event("{ui.name}.loaded"))})).catch((function(e){console.error(e);var n="";if(e.response)switch(e.response.status){case 404:n="Not Found.";break;case 500:n="Server issue, please try again latter.";break;default:n="Something went wrong."}else e.request?n="No response received":console.warn("Error",e.message);t.setState({error:n}),E.dispatchEvent(new Event("{ui.name}.error"))})).then((function(){t.setState({loading:!1})}))})),_defineProperty(_assertThisInitialized(n),"_abToString",(function(e){return String.fromCharCode.apply(null,new Uint8Array(e))})),_defineProperty(_assertThisInitialized(n),"_imageEncode",(function(e){new Uint8Array(e);return btoa([].reduce.call(new Uint8Array(e),(function(e,t){return e+String.fromCharCode(t)}),""))})),_defineProperty(_assertThisInitialized(n),"setContent",(function(e,t){var r=_assertThisInitialized(n);console.log("".concat(r.name,": setContent"));var i=t||["html","text"];Array.isArray(i)||(i=t.split(" ")),r.setState({content:e,type:i})})),_defineProperty(_assertThisInitialized(n),"show",(function(){var e=_assertThisInitialized(n);console.log("".concat(e.name,": show")),e.setState({shown:!0}),E.dispatchEvent(new Event("{ui.name}.show"))})),_defineProperty(_assertThisInitialized(n),"hide",(function(){var e=_assertThisInitialized(n);console.log("".concat(e.name,": hide")),_().withContext(name,(function(){_().unbind("left",e.prev),_().unbind("right",e.next)})),_().setContext("index"),e.setState({shown:!1}),E.dispatchEvent(new Event("{ui.name}.hide"))})),_defineProperty(_assertThisInitialized(n),"getHtml",(function(){return{__html:_assertThisInitialized(n).state.content}}));var r=_assertThisInitialized(n);return r.name=r.constructor.name,console.log("".concat(r.name,": init")),r.axios=S,E.dispatchEvent(new Event("{ui.name}.init")),n}return function _createClass(e,t,n){return t&&_defineProperties(e.prototype,t),n&&_defineProperties(e,n),e}(MetaWindow,[{key:"onSwipeMove",value:function onSwipeMove(e,t){var n=this.ui,r=e.x;n.locked||Math.abs(r)<50||(n.locked=!0,setTimeout((function(){n.locked=!1}),1e3),r>0?(console.log("".concat(n.name,": swipe right")),n.prev()):(console.log("".concat(n.name,": swipe left")),n.next()))}},{key:"render",value:function render(){var e=this,t=e.name,n=null,r=e.state.current;if(_().setContext(t),_().withContext(t,(function(){_().unbind("left",e.prev),_().unbind("right",e.next)})),r){var i=r.getAttribute("data-gallery");i&&e.state.collections[i].length>1&&(n=React.createElement("nav",{className:"meta-navs"},React.createElement("button",{className:"meta-nav meta-nav-arrow meta-nav-arrow__prev a",onClick:e.prev},React.createElement("i",{className:"fa fas fa-chevron-left"}),React.createElement("span",{className:"sr-only"},"Previous")),React.createElement("button",{className:"meta-nav meta-nav-arrow meta-nav-arrow__next a",onClick:e.next},React.createElement("i",{className:"fa fas fa-chevron-right"}),React.createElement("span",{className:"sr-only"},"Next"))),_().withContext(t,(function(){_().bind("left",e.prev),_().bind("right",e.next)})))}var d=e.state.embed?React.createElement("section",{className:"meta-wrap typography"},React.createElement(w(),{url:e.state.embed,providers:[].concat(_toConsumableArray(b.defaultProviders),[k]),LoadingFallbackElement:React.createElement("div",{className:"meta-spinner_embed"},"... Loading ...")})):React.createElement("section",{className:"meta-wrap typography",dangerouslySetInnerHTML:e.getHtml()}),h="meta-".concat(t," meta-").concat(t,"__").concat(e.state.type.join(" meta-".concat(t,"__"))),y="meta-".concat(t,"-overlay").concat(e.state.shown?" meta-".concat(t,"-overlay__open"):"").concat(e.state.loading?" meta-".concat(t,"-overlay__loading"):"").concat(e.state.error?" meta-".concat(t,"-overlay__error"):"");return React.createElement(g(),{className:h,ui:e,onSwipeMove:e.onSwipeMove},React.createElement("div",{className:y},React.createElement("article",{className:"meta-content"},n,React.createElement("button",{className:"meta-nav meta-close a",onClick:e.hide},React.createElement("i",{className:"fa fas fa-times"}),React.createElement("span",{className:"sr-only"},"Close")),React.createElement("div",{className:"meta-spinner"},"... Loading ..."),React.createElement("div",{className:"meta-error alert alert-danger"},e.state.error),d)))}}]),MetaWindow}(r.Component),O=(function(e){var r=h().render(i().createElement(C,null),document.getElementById("MetaLightboxApp")),d=function initMetaWindowLinks(){var e=r;console.log("MetaWindow: [links] init"),document.querySelectorAll('[data-toggle="lightbox"],[data-gallery="${gallery}"]').forEach((function(t){var n=t.getAttribute("data-gallery");n&&(e.state.collections[n]=[],document.querySelectorAll('[data-toggle="lightbox"][data-gallery="'.concat(n,'"]')).forEach((function(t){e.state.collections[n].push(t)}))),t.addEventListener("click",(function(t){t.preventDefault(),console.log("MetaWindow: [link] click");var n=t.currentTarget,r=n.getAttribute("href")||n.getAttribute("data-href"),i=n.getAttribute("data-embed");e.state.current=n,i?e.embed(r):e.load(r)}))}))};e.addEventListener("".concat(n),d),e.addEventListener("".concat(t),d),e.addEventListener("MetaWindow.initLinks",d)}(window),{APOLLO_ERROR:"apollo-error",AJAX:"ajax-load",AJAXMAIN:"ajax-main-load",MAININIT:"main-init",TABHIDDEN:"tab-hidden",TABFOCUSED:"tab-focused",OFFLINE:"offline",ONLINE:"online",BACKONLINE:"back-online",TOUCHENABLE:"touch-enabled",TOUCHDISABLED:"touch-disabled",LOADED:"load",SWIPELEFT:"swipeleft panleft",SWIPERIGHT:"swiperight panright",ALLERTAPPEARED:"alert-appeared",ALERTREMOVED:"alert-removed",LODEDANDREADY:"load-ready",LAZYIMAGEREADY:"image-lazy-bg-loaded",LAZYIMAGESREADY:"images-lazy-loaded",MAPLOADED:"map-loaded",MAPAPILOADED:"map-api-loaded",MAPMARKERCLICK:"map-marker-click",MAPPOPUPCLOSE:"map-popup-close",SCROLL:"scroll",RESIZE:"resize",CAROUSEL_READY:"bs.carousel.ready",SET_TARGET_UPDATE:"set-target-update",RESTORE_FIELD:"restore-field",FORM_INIT_BASICS:"form-basics",FORM_INIT_STEPPED:"form-init-stepped",FORM_INIT_VALIDATE:"form-init-validate",FORM_INIT_VALIDATE_FIELD:"form-init-validate-field",FORM_INIT_STORAGE:"form-init-storage",FORM_VALIDATION_FAILED:"form-validation-failed",FORM_STEPPED_NEW_STEP:"form-new-step",FORM_STEPPED_FIRST_STEP:"form-first-step",FORM_STEPPED_LAST_STEP:"form-last-step",FORM_FIELDS:"input,textarea,select"}),T={ENVS:["xs","sm","md","lg","xl","xxl","xxxl"]},A=__webpack_require__(4878);function isObjectLike_typeof(e){return(isObjectLike_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(e){return typeof e}:function _typeof(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}"function"===typeof Symbol&&null!=Symbol.iterator&&Symbol.iterator,"function"===typeof Symbol&&null!=Symbol.asyncIterator&&Symbol.asyncIterator;var x="function"===typeof Symbol&&null!=Symbol.toStringTag?Symbol.toStringTag:"@@toStringTag";function getLocation(e,t){for(var n,r=/\r\n|[\n\r]/g,i=1,d=t+1;(n=r.exec(e.body))&&n.index<t;)i+=1,d=t+1-(n.index+n[0].length);return{line:i,column:d}}function printLocation(e){return printSourceLocation(e.source,getLocation(e.source,e.start))}function printSourceLocation(e,t){var n=e.locationOffset.column-1,r=whitespace(n)+e.body,i=t.line-1,d=e.locationOffset.line-1,h=t.line+d,y=1===t.line?n:0,g=t.column+y,v="".concat(e.name,":").concat(h,":").concat(g,"\n"),_=r.split(/\r\n|[\n\r]/g),b=_[i];if(b.length>120){for(var w=Math.floor(g/80),E=g%80,k=[],S=0;S<b.length;S+=80)k.push(b.slice(S,S+80));return v+printPrefixedLines([["".concat(h),k[0]]].concat(k.slice(1,w+1).map((function(e){return["",e]})),[[" ",whitespace(E-1)+"^"],["",k[w+1]]]))}return v+printPrefixedLines([["".concat(h-1),_[i-1]],["".concat(h),b],["",whitespace(g-1)+"^"],["".concat(h+1),_[i+1]]])}function printPrefixedLines(e){var t=e.filter((function(e){e[0];return void 0!==e[1]})),n=Math.max.apply(Math,t.map((function(e){return e[0].length})));return t.map((function(e){var t=e[0],r=e[1];return function leftPad(e,t){return whitespace(e-t.length)+t}(n,t)+(r?" | "+r:" |")})).join("\n")}function whitespace(e){return Array(e+1).join(" ")}function GraphQLError_typeof(e){return(GraphQLError_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(e){return typeof e}:function _typeof(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function GraphQLError_defineProperties(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function GraphQLError_possibleConstructorReturn(e,t){return!t||"object"!==GraphQLError_typeof(t)&&"function"!==typeof t?GraphQLError_assertThisInitialized(e):t}function GraphQLError_assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _wrapNativeSuper(e){var t="function"===typeof Map?new Map:void 0;return(_wrapNativeSuper=function _wrapNativeSuper(e){if(null===e||!function _isNativeFunction(e){return-1!==Function.toString.call(e).indexOf("[native code]")}(e))return e;if("function"!==typeof e)throw new TypeError("Super expression must either be null or a function");if("undefined"!==typeof t){if(t.has(e))return t.get(e);t.set(e,Wrapper)}function Wrapper(){return _construct(e,arguments,GraphQLError_getPrototypeOf(this).constructor)}return Wrapper.prototype=Object.create(e.prototype,{constructor:{value:Wrapper,enumerable:!1,writable:!0,configurable:!0}}),GraphQLError_setPrototypeOf(Wrapper,e)})(e)}function _construct(e,t,n){return(_construct=GraphQLError_isNativeReflectConstruct()?Reflect.construct:function _construct(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&GraphQLError_setPrototypeOf(i,n.prototype),i}).apply(null,arguments)}function GraphQLError_isNativeReflectConstruct(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}function GraphQLError_setPrototypeOf(e,t){return(GraphQLError_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(e,t){return e.__proto__=t,e})(e,t)}function GraphQLError_getPrototypeOf(e){return(GraphQLError_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var I=function(e){!function GraphQLError_inherits(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&GraphQLError_setPrototypeOf(e,t)}(GraphQLError,e);var t=function GraphQLError_createSuper(e){var t=GraphQLError_isNativeReflectConstruct();return function _createSuperInternal(){var n,r=GraphQLError_getPrototypeOf(e);if(t){var i=GraphQLError_getPrototypeOf(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return GraphQLError_possibleConstructorReturn(this,n)}}(GraphQLError);function GraphQLError(e,n,r,i,d,h,y){var g,v,_,b,w;!function GraphQLError_classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,GraphQLError),w=t.call(this,e);var E,k=Array.isArray(n)?0!==n.length?n:void 0:n?[n]:void 0,S=r;!S&&k&&(S=null===(E=k[0].loc)||void 0===E?void 0:E.source);var C,O=i;!O&&k&&(O=k.reduce((function(e,t){return t.loc&&e.push(t.loc.start),e}),[])),O&&0===O.length&&(O=void 0),i&&r?C=i.map((function(e){return getLocation(r,e)})):k&&(C=k.reduce((function(e,t){return t.loc&&e.push(getLocation(t.loc.source,t.loc.start)),e}),[]));var T=y;if(null==T&&null!=h){var A=h.extensions;(function isObjectLike(e){return"object"==isObjectLike_typeof(e)&&null!==e})(A)&&(T=A)}return Object.defineProperties(GraphQLError_assertThisInitialized(w),{name:{value:"GraphQLError"},message:{value:e,enumerable:!0,writable:!0},locations:{value:null!==(g=C)&&void 0!==g?g:void 0,enumerable:null!=C},path:{value:null!==d&&void 0!==d?d:void 0,enumerable:null!=d},nodes:{value:null!==k&&void 0!==k?k:void 0},source:{value:null!==(v=S)&&void 0!==v?v:void 0},positions:{value:null!==(_=O)&&void 0!==_?_:void 0},originalError:{value:h},extensions:{value:null!==(b=T)&&void 0!==b?b:void 0,enumerable:null!=T}}),null!==h&&void 0!==h&&h.stack?(Object.defineProperty(GraphQLError_assertThisInitialized(w),"stack",{value:h.stack,writable:!0,configurable:!0}),GraphQLError_possibleConstructorReturn(w)):(Error.captureStackTrace?Error.captureStackTrace(GraphQLError_assertThisInitialized(w),GraphQLError):Object.defineProperty(GraphQLError_assertThisInitialized(w),"stack",{value:Error().stack,writable:!0,configurable:!0}),w)}return function GraphQLError_createClass(e,t,n){return t&&GraphQLError_defineProperties(e.prototype,t),n&&GraphQLError_defineProperties(e,n),e}(GraphQLError,[{key:"toString",value:function toString(){return function printError(e){var t=e.message;if(e.nodes)for(var n=0,r=e.nodes;n<r.length;n++){var i=r[n];i.loc&&(t+="\n\n"+printLocation(i.loc))}else if(e.source&&e.locations)for(var d=0,h=e.locations;d<h.length;d++){var y=h[d];t+="\n\n"+printSourceLocation(e.source,y)}return t}(this)}},{key:x,get:function get(){return"Object"}}]),GraphQLError}(_wrapNativeSuper(Error));function syntaxError(e,t,n){return new I("Syntax Error: ".concat(n),void 0,e,[t])}var D=Object.freeze({NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",VARIABLE:"Variable",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType",SCHEMA_DEFINITION:"SchemaDefinition",OPERATION_TYPE_DEFINITION:"OperationTypeDefinition",SCALAR_TYPE_DEFINITION:"ScalarTypeDefinition",OBJECT_TYPE_DEFINITION:"ObjectTypeDefinition",FIELD_DEFINITION:"FieldDefinition",INPUT_VALUE_DEFINITION:"InputValueDefinition",INTERFACE_TYPE_DEFINITION:"InterfaceTypeDefinition",UNION_TYPE_DEFINITION:"UnionTypeDefinition",ENUM_TYPE_DEFINITION:"EnumTypeDefinition",ENUM_VALUE_DEFINITION:"EnumValueDefinition",INPUT_OBJECT_TYPE_DEFINITION:"InputObjectTypeDefinition",DIRECTIVE_DEFINITION:"DirectiveDefinition",SCHEMA_EXTENSION:"SchemaExtension",SCALAR_TYPE_EXTENSION:"ScalarTypeExtension",OBJECT_TYPE_EXTENSION:"ObjectTypeExtension",INTERFACE_TYPE_EXTENSION:"InterfaceTypeExtension",UNION_TYPE_EXTENSION:"UnionTypeExtension",ENUM_TYPE_EXTENSION:"EnumTypeExtension",INPUT_OBJECT_TYPE_EXTENSION:"InputObjectTypeExtension"});var L="function"===typeof Symbol&&"function"===typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):void 0;function defineInspect(e){var t=e.prototype.toJSON;"function"===typeof t||function invariant_invariant(e,t){if(!Boolean(e))throw new Error(null!=t?t:"Unexpected invariant triggered.")}(0),e.prototype.inspect=t,L&&(e.prototype[L]=t)}var N=function(){function Location(e,t,n){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=n}return Location.prototype.toJSON=function toJSON(){return{start:this.start,end:this.end}},Location}();defineInspect(N);var P=function(){function Token(e,t,n,r,i,d,h){this.kind=e,this.start=t,this.end=n,this.line=r,this.column=i,this.value=h,this.prev=d,this.next=null}return Token.prototype.toJSON=function toJSON(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}},Token}();function isNode(e){return null!=e&&"string"===typeof e.kind}defineInspect(P);var R=Object.freeze({SOF:"<SOF>",EOF:"<EOF>",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"});function inspect_typeof(e){return(inspect_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(e){return typeof e}:function _typeof(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function inspect(e){return formatValue(e,[])}function formatValue(e,t){switch(inspect_typeof(e)){case"string":return JSON.stringify(e);case"function":return e.name?"[function ".concat(e.name,"]"):"[function]";case"object":return null===e?"null":function formatObjectValue(e,t){if(-1!==t.indexOf(e))return"[Circular]";var n=[].concat(t,[e]),r=function getCustomFn(e){var t=e[String(L)];if("function"===typeof t)return t;if("function"===typeof e.inspect)return e.inspect}(e);if(void 0!==r){var i=r.call(e);if(i!==e)return"string"===typeof i?i:formatValue(i,n)}else if(Array.isArray(e))return function formatArray(e,t){if(0===e.length)return"[]";if(t.length>2)return"[Array]";for(var n=Math.min(10,e.length),r=e.length-n,i=[],d=0;d<n;++d)i.push(formatValue(e[d],t));1===r?i.push("... 1 more item"):r>1&&i.push("... ".concat(r," more items"));return"["+i.join(", ")+"]"}(e,n);return function formatObject(e,t){var n=Object.keys(e);if(0===n.length)return"{}";if(t.length>2)return"["+function getObjectTag(e){var t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"===typeof e.constructor){var n=e.constructor.name;if("string"===typeof n&&""!==n)return n}return t}(e)+"]";return"{ "+n.map((function(n){return n+": "+formatValue(e[n],t)})).join(", ")+" }"}(e,n)}(e,t);default:return String(e)}}function devAssert(e,t){if(!Boolean(e))throw new Error(t)}var j=function instanceOf(e,t){return e instanceof t};function source_defineProperties(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var M=function(){function Source(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GraphQL request",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{line:1,column:1};"string"===typeof e||devAssert(0,"Body must be a string. Received: ".concat(inspect(e),".")),this.body=e,this.name=t,this.locationOffset=n,this.locationOffset.line>0||devAssert(0,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||devAssert(0,"column in locationOffset is 1-indexed and must be positive.")}return function source_createClass(e,t,n){return t&&source_defineProperties(e.prototype,t),n&&source_defineProperties(e,n),e}(Source,[{key:x,get:function get(){return"Source"}}]),Source}();var F=Object.freeze({QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"});function dedentBlockStringValue(e){var t=e.split(/\r\n|[\n\r]/g),n=function getBlockStringIndentation(e){for(var t,n=!0,r=!0,i=0,d=null,h=0;h<e.length;++h)switch(e.charCodeAt(h)){case 13:10===e.charCodeAt(h+1)&&++h;case 10:n=!1,r=!0,i=0;break;case 9:case 32:++i;break;default:r&&!n&&(null===d||i<d)&&(d=i),r=!1}return null!==(t=d)&&void 0!==t?t:0}(e);if(0!==n)for(var r=1;r<t.length;r++)t[r]=t[r].slice(n);for(var i=0;i<t.length&&isBlank(t[i]);)++i;for(var d=t.length;d>i&&isBlank(t[d-1]);)--d;return t.slice(i,d).join("\n")}function isBlank(e){for(var t=0;t<e.length;++t)if(" "!==e[t]&&"\t"!==e[t])return!1;return!0}var q=function(){function Lexer(e){var t=new P(R.SOF,0,0,0,0,null);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}var e=Lexer.prototype;return e.advance=function advance(){return this.lastToken=this.token,this.token=this.lookahead()},e.lookahead=function lookahead(){var e=this.token;if(e.kind!==R.EOF)do{var t;e=null!==(t=e.next)&&void 0!==t?t:e.next=readToken(this,e)}while(e.kind===R.COMMENT);return e},Lexer}();function printCharCode(e){return isNaN(e)?R.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'"\\u'.concat(("00"+e.toString(16).toUpperCase()).slice(-4),'"')}function readToken(e,t){for(var n=e.source,r=n.body,i=r.length,d=t.end;d<i;){var h=r.charCodeAt(d),y=e.line,g=1+d-e.lineStart;switch(h){case 65279:case 9:case 32:case 44:++d;continue;case 10:++d,++e.line,e.lineStart=d;continue;case 13:10===r.charCodeAt(d+1)?d+=2:++d,++e.line,e.lineStart=d;continue;case 33:return new P(R.BANG,d,d+1,y,g,t);case 35:return readComment(n,d,y,g,t);case 36:return new P(R.DOLLAR,d,d+1,y,g,t);case 38:return new P(R.AMP,d,d+1,y,g,t);case 40:return new P(R.PAREN_L,d,d+1,y,g,t);case 41:return new P(R.PAREN_R,d,d+1,y,g,t);case 46:if(46===r.charCodeAt(d+1)&&46===r.charCodeAt(d+2))return new P(R.SPREAD,d,d+3,y,g,t);break;case 58:return new P(R.COLON,d,d+1,y,g,t);case 61:return new P(R.EQUALS,d,d+1,y,g,t);case 64:return new P(R.AT,d,d+1,y,g,t);case 91:return new P(R.BRACKET_L,d,d+1,y,g,t);case 93:return new P(R.BRACKET_R,d,d+1,y,g,t);case 123:return new P(R.BRACE_L,d,d+1,y,g,t);case 124:return new P(R.PIPE,d,d+1,y,g,t);case 125:return new P(R.BRACE_R,d,d+1,y,g,t);case 34:return 34===r.charCodeAt(d+1)&&34===r.charCodeAt(d+2)?readBlockString(n,d,y,g,t,e):readString(n,d,y,g,t);case 45:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return readNumber(n,d,h,y,g,t);case 65:case 66:case 67:case 68:case 69:case 70:case 71:case 72:case 73:case 74:case 75:case 76:case 77:case 78:case 79:case 80:case 81:case 82:case 83:case 84:case 85:case 86:case 87:case 88:case 89:case 90:case 95:case 97:case 98:case 99:case 100:case 101:case 102:case 103:case 104:case 105:case 106:case 107:case 108:case 109:case 110:case 111:case 112:case 113:case 114:case 115:case 116:case 117:case 118:case 119:case 120:case 121:case 122:return readName(n,d,y,g,t)}throw syntaxError(n,d,unexpectedCharacterMessage(h))}var v=e.line,_=1+d-e.lineStart;return new P(R.EOF,i,i,v,_,t)}function unexpectedCharacterMessage(e){return e<32&&9!==e&&10!==e&&13!==e?"Cannot contain the invalid character ".concat(printCharCode(e),"."):39===e?"Unexpected single quote character ('), did you mean to use a double quote (\")?":"Cannot parse the unexpected character ".concat(printCharCode(e),".")}function readComment(e,t,n,r,i){var d,h=e.body,y=t;do{d=h.charCodeAt(++y)}while(!isNaN(d)&&(d>31||9===d));return new P(R.COMMENT,t,y,n,r,i,h.slice(t+1,y))}function readNumber(e,t,n,r,i,d){var h=e.body,y=n,g=t,v=!1;if(45===y&&(y=h.charCodeAt(++g)),48===y){if((y=h.charCodeAt(++g))>=48&&y<=57)throw syntaxError(e,g,"Invalid number, unexpected digit after 0: ".concat(printCharCode(y),"."))}else g=readDigits(e,g,y),y=h.charCodeAt(g);if(46===y&&(v=!0,y=h.charCodeAt(++g),g=readDigits(e,g,y),y=h.charCodeAt(g)),69!==y&&101!==y||(v=!0,43!==(y=h.charCodeAt(++g))&&45!==y||(y=h.charCodeAt(++g)),g=readDigits(e,g,y),y=h.charCodeAt(g)),46===y||function isNameStart(e){return 95===e||e>=65&&e<=90||e>=97&&e<=122}(y))throw syntaxError(e,g,"Invalid number, expected digit but got: ".concat(printCharCode(y),"."));return new P(v?R.FLOAT:R.INT,t,g,r,i,d,h.slice(t,g))}function readDigits(e,t,n){var r=e.body,i=t,d=n;if(d>=48&&d<=57){do{d=r.charCodeAt(++i)}while(d>=48&&d<=57);return i}throw syntaxError(e,i,"Invalid number, expected digit but got: ".concat(printCharCode(d),"."))}function readString(e,t,n,r,i){for(var d,h,y,g,v=e.body,_=t+1,b=_,w=0,E="";_<v.length&&!isNaN(w=v.charCodeAt(_))&&10!==w&&13!==w;){if(34===w)return E+=v.slice(b,_),new P(R.STRING,t,_+1,n,r,i,E);if(w<32&&9!==w)throw syntaxError(e,_,"Invalid character within String: ".concat(printCharCode(w),"."));if(++_,92===w){switch(E+=v.slice(b,_-1),w=v.charCodeAt(_)){case 34:E+='"';break;case 47:E+="/";break;case 92:E+="\\";break;case 98:E+="\b";break;case 102:E+="\f";break;case 110:E+="\n";break;case 114:E+="\r";break;case 116:E+="\t";break;case 117:var k=(d=v.charCodeAt(_+1),h=v.charCodeAt(_+2),y=v.charCodeAt(_+3),g=v.charCodeAt(_+4),char2hex(d)<<12|char2hex(h)<<8|char2hex(y)<<4|char2hex(g));if(k<0){var S=v.slice(_+1,_+5);throw syntaxError(e,_,"Invalid character escape sequence: \\u".concat(S,"."))}E+=String.fromCharCode(k),_+=4;break;default:throw syntaxError(e,_,"Invalid character escape sequence: \\".concat(String.fromCharCode(w),"."))}b=++_}}throw syntaxError(e,_,"Unterminated string.")}function readBlockString(e,t,n,r,i,d){for(var h=e.body,y=t+3,g=y,v=0,_="";y<h.length&&!isNaN(v=h.charCodeAt(y));){if(34===v&&34===h.charCodeAt(y+1)&&34===h.charCodeAt(y+2))return _+=h.slice(g,y),new P(R.BLOCK_STRING,t,y+3,n,r,i,dedentBlockStringValue(_));if(v<32&&9!==v&&10!==v&&13!==v)throw syntaxError(e,y,"Invalid character within String: ".concat(printCharCode(v),"."));10===v?(++y,++d.line,d.lineStart=y):13===v?(10===h.charCodeAt(y+1)?y+=2:++y,++d.line,d.lineStart=y):92===v&&34===h.charCodeAt(y+1)&&34===h.charCodeAt(y+2)&&34===h.charCodeAt(y+3)?(_+=h.slice(g,y)+'"""',g=y+=4):++y}throw syntaxError(e,y,"Unterminated string.")}function char2hex(e){return e>=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function readName(e,t,n,r,i){for(var d=e.body,h=d.length,y=t+1,g=0;y!==h&&!isNaN(g=d.charCodeAt(y))&&(95===g||g>=48&&g<=57||g>=65&&g<=90||g>=97&&g<=122);)++y;return new P(R.NAME,t,y,n,r,i,d.slice(t,y))}var B=function(){function Parser(e,t){var n=function isSource(e){return j(e,M)}(e)?e:new M(e);this._lexer=new q(n),this._options=t}var e=Parser.prototype;return e.parseName=function parseName(){var e=this.expectToken(R.NAME);return{kind:D.NAME,value:e.value,loc:this.loc(e)}},e.parseDocument=function parseDocument(){var e=this._lexer.token;return{kind:D.DOCUMENT,definitions:this.many(R.SOF,this.parseDefinition,R.EOF),loc:this.loc(e)}},e.parseDefinition=function parseDefinition(){if(this.peek(R.NAME))switch(this._lexer.token.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return this.parseTypeSystemDefinition();case"extend":return this.parseTypeSystemExtension()}else{if(this.peek(R.BRACE_L))return this.parseOperationDefinition();if(this.peekDescription())return this.parseTypeSystemDefinition()}throw this.unexpected()},e.parseOperationDefinition=function parseOperationDefinition(){var e=this._lexer.token;if(this.peek(R.BRACE_L))return{kind:D.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet(),loc:this.loc(e)};var t,n=this.parseOperationType();return this.peek(R.NAME)&&(t=this.parseName()),{kind:D.OPERATION_DEFINITION,operation:n,name:t,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},e.parseOperationType=function parseOperationType(){var e=this.expectToken(R.NAME);switch(e.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw this.unexpected(e)},e.parseVariableDefinitions=function parseVariableDefinitions(){return this.optionalMany(R.PAREN_L,this.parseVariableDefinition,R.PAREN_R)},e.parseVariableDefinition=function parseVariableDefinition(){var e=this._lexer.token;return{kind:D.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(R.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(R.EQUALS)?this.parseValueLiteral(!0):void 0,directives:this.parseDirectives(!0),loc:this.loc(e)}},e.parseVariable=function parseVariable(){var e=this._lexer.token;return this.expectToken(R.DOLLAR),{kind:D.VARIABLE,name:this.parseName(),loc:this.loc(e)}},e.parseSelectionSet=function parseSelectionSet(){var e=this._lexer.token;return{kind:D.SELECTION_SET,selections:this.many(R.BRACE_L,this.parseSelection,R.BRACE_R),loc:this.loc(e)}},e.parseSelection=function parseSelection(){return this.peek(R.SPREAD)?this.parseFragment():this.parseField()},e.parseField=function parseField(){var e,t,n=this._lexer.token,r=this.parseName();return this.expectOptionalToken(R.COLON)?(e=r,t=this.parseName()):t=r,{kind:D.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(R.BRACE_L)?this.parseSelectionSet():void 0,loc:this.loc(n)}},e.parseArguments=function parseArguments(e){var t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(R.PAREN_L,t,R.PAREN_R)},e.parseArgument=function parseArgument(){var e=this._lexer.token,t=this.parseName();return this.expectToken(R.COLON),{kind:D.ARGUMENT,name:t,value:this.parseValueLiteral(!1),loc:this.loc(e)}},e.parseConstArgument=function parseConstArgument(){var e=this._lexer.token;return{kind:D.ARGUMENT,name:this.parseName(),value:(this.expectToken(R.COLON),this.parseValueLiteral(!0)),loc:this.loc(e)}},e.parseFragment=function parseFragment(){var e=this._lexer.token;this.expectToken(R.SPREAD);var t=this.expectOptionalKeyword("on");return!t&&this.peek(R.NAME)?{kind:D.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1),loc:this.loc(e)}:{kind:D.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},e.parseFragmentDefinition=function parseFragmentDefinition(){var e,t=this._lexer.token;return this.expectKeyword("fragment"),!0===(null===(e=this._options)||void 0===e?void 0:e.experimentalFragmentVariables)?{kind:D.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}:{kind:D.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}},e.parseFragmentName=function parseFragmentName(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()},e.parseValueLiteral=function parseValueLiteral(e){var t=this._lexer.token;switch(t.kind){case R.BRACKET_L:return this.parseList(e);case R.BRACE_L:return this.parseObject(e);case R.INT:return this._lexer.advance(),{kind:D.INT,value:t.value,loc:this.loc(t)};case R.FLOAT:return this._lexer.advance(),{kind:D.FLOAT,value:t.value,loc:this.loc(t)};case R.STRING:case R.BLOCK_STRING:return this.parseStringLiteral();case R.NAME:switch(this._lexer.advance(),t.value){case"true":return{kind:D.BOOLEAN,value:!0,loc:this.loc(t)};case"false":return{kind:D.BOOLEAN,value:!1,loc:this.loc(t)};case"null":return{kind:D.NULL,loc:this.loc(t)};default:return{kind:D.ENUM,value:t.value,loc:this.loc(t)}}case R.DOLLAR:if(!e)return this.parseVariable()}throw this.unexpected()},e.parseStringLiteral=function parseStringLiteral(){var e=this._lexer.token;return this._lexer.advance(),{kind:D.STRING,value:e.value,block:e.kind===R.BLOCK_STRING,loc:this.loc(e)}},e.parseList=function parseList(e){var t=this,n=this._lexer.token;return{kind:D.LIST,values:this.any(R.BRACKET_L,(function item(){return t.parseValueLiteral(e)}),R.BRACKET_R),loc:this.loc(n)}},e.parseObject=function parseObject(e){var t=this,n=this._lexer.token;return{kind:D.OBJECT,fields:this.any(R.BRACE_L,(function item(){return t.parseObjectField(e)}),R.BRACE_R),loc:this.loc(n)}},e.parseObjectField=function parseObjectField(e){var t=this._lexer.token,n=this.parseName();return this.expectToken(R.COLON),{kind:D.OBJECT_FIELD,name:n,value:this.parseValueLiteral(e),loc:this.loc(t)}},e.parseDirectives=function parseDirectives(e){for(var t=[];this.peek(R.AT);)t.push(this.parseDirective(e));return t},e.parseDirective=function parseDirective(e){var t=this._lexer.token;return this.expectToken(R.AT),{kind:D.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e),loc:this.loc(t)}},e.parseTypeReference=function parseTypeReference(){var e,t=this._lexer.token;return this.expectOptionalToken(R.BRACKET_L)?(e=this.parseTypeReference(),this.expectToken(R.BRACKET_R),e={kind:D.LIST_TYPE,type:e,loc:this.loc(t)}):e=this.parseNamedType(),this.expectOptionalToken(R.BANG)?{kind:D.NON_NULL_TYPE,type:e,loc:this.loc(t)}:e},e.parseNamedType=function parseNamedType(){var e=this._lexer.token;return{kind:D.NAMED_TYPE,name:this.parseName(),loc:this.loc(e)}},e.parseTypeSystemDefinition=function parseTypeSystemDefinition(){var e=this.peekDescription()?this._lexer.lookahead():this._lexer.token;if(e.kind===R.NAME)switch(e.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}throw this.unexpected(e)},e.peekDescription=function peekDescription(){return this.peek(R.STRING)||this.peek(R.BLOCK_STRING)},e.parseDescription=function parseDescription(){if(this.peekDescription())return this.parseStringLiteral()},e.parseSchemaDefinition=function parseSchemaDefinition(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");var n=this.parseDirectives(!0),r=this.many(R.BRACE_L,this.parseOperationTypeDefinition,R.BRACE_R);return{kind:D.SCHEMA_DEFINITION,description:t,directives:n,operationTypes:r,loc:this.loc(e)}},e.parseOperationTypeDefinition=function parseOperationTypeDefinition(){var e=this._lexer.token,t=this.parseOperationType();this.expectToken(R.COLON);var n=this.parseNamedType();return{kind:D.OPERATION_TYPE_DEFINITION,operation:t,type:n,loc:this.loc(e)}},e.parseScalarTypeDefinition=function parseScalarTypeDefinition(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");var n=this.parseName(),r=this.parseDirectives(!0);return{kind:D.SCALAR_TYPE_DEFINITION,description:t,name:n,directives:r,loc:this.loc(e)}},e.parseObjectTypeDefinition=function parseObjectTypeDefinition(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");var n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseDirectives(!0),d=this.parseFieldsDefinition();return{kind:D.OBJECT_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:d,loc:this.loc(e)}},e.parseImplementsInterfaces=function parseImplementsInterfaces(){var e;if(!this.expectOptionalKeyword("implements"))return[];if(!0===(null===(e=this._options)||void 0===e?void 0:e.allowLegacySDLImplementsInterfaces)){var t=[];this.expectOptionalToken(R.AMP);do{t.push(this.parseNamedType())}while(this.expectOptionalToken(R.AMP)||this.peek(R.NAME));return t}return this.delimitedMany(R.AMP,this.parseNamedType)},e.parseFieldsDefinition=function parseFieldsDefinition(){var e;return!0===(null===(e=this._options)||void 0===e?void 0:e.allowLegacySDLEmptyFields)&&this.peek(R.BRACE_L)&&this._lexer.lookahead().kind===R.BRACE_R?(this._lexer.advance(),this._lexer.advance(),[]):this.optionalMany(R.BRACE_L,this.parseFieldDefinition,R.BRACE_R)},e.parseFieldDefinition=function parseFieldDefinition(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseArgumentDefs();this.expectToken(R.COLON);var i=this.parseTypeReference(),d=this.parseDirectives(!0);return{kind:D.FIELD_DEFINITION,description:t,name:n,arguments:r,type:i,directives:d,loc:this.loc(e)}},e.parseArgumentDefs=function parseArgumentDefs(){return this.optionalMany(R.PAREN_L,this.parseInputValueDef,R.PAREN_R)},e.parseInputValueDef=function parseInputValueDef(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName();this.expectToken(R.COLON);var r,i=this.parseTypeReference();this.expectOptionalToken(R.EQUALS)&&(r=this.parseValueLiteral(!0));var d=this.parseDirectives(!0);return{kind:D.INPUT_VALUE_DEFINITION,description:t,name:n,type:i,defaultValue:r,directives:d,loc:this.loc(e)}},e.parseInterfaceTypeDefinition=function parseInterfaceTypeDefinition(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");var n=this.parseName(),r=this.parseImplementsInterfaces(),i=this.parseDirectives(!0),d=this.parseFieldsDefinition();return{kind:D.INTERFACE_TYPE_DEFINITION,description:t,name:n,interfaces:r,directives:i,fields:d,loc:this.loc(e)}},e.parseUnionTypeDefinition=function parseUnionTypeDefinition(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");var n=this.parseName(),r=this.parseDirectives(!0),i=this.parseUnionMemberTypes();return{kind:D.UNION_TYPE_DEFINITION,description:t,name:n,directives:r,types:i,loc:this.loc(e)}},e.parseUnionMemberTypes=function parseUnionMemberTypes(){return this.expectOptionalToken(R.EQUALS)?this.delimitedMany(R.PIPE,this.parseNamedType):[]},e.parseEnumTypeDefinition=function parseEnumTypeDefinition(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");var n=this.parseName(),r=this.parseDirectives(!0),i=this.parseEnumValuesDefinition();return{kind:D.ENUM_TYPE_DEFINITION,description:t,name:n,directives:r,values:i,loc:this.loc(e)}},e.parseEnumValuesDefinition=function parseEnumValuesDefinition(){return this.optionalMany(R.BRACE_L,this.parseEnumValueDefinition,R.BRACE_R)},e.parseEnumValueDefinition=function parseEnumValueDefinition(){var e=this._lexer.token,t=this.parseDescription(),n=this.parseName(),r=this.parseDirectives(!0);return{kind:D.ENUM_VALUE_DEFINITION,description:t,name:n,directives:r,loc:this.loc(e)}},e.parseInputObjectTypeDefinition=function parseInputObjectTypeDefinition(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");var n=this.parseName(),r=this.parseDirectives(!0),i=this.parseInputFieldsDefinition();return{kind:D.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:n,directives:r,fields:i,loc:this.loc(e)}},e.parseInputFieldsDefinition=function parseInputFieldsDefinition(){return this.optionalMany(R.BRACE_L,this.parseInputValueDef,R.BRACE_R)},e.parseTypeSystemExtension=function parseTypeSystemExtension(){var e=this._lexer.lookahead();if(e.kind===R.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)},e.parseSchemaExtension=function parseSchemaExtension(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");var t=this.parseDirectives(!0),n=this.optionalMany(R.BRACE_L,this.parseOperationTypeDefinition,R.BRACE_R);if(0===t.length&&0===n.length)throw this.unexpected();return{kind:D.SCHEMA_EXTENSION,directives:t,operationTypes:n,loc:this.loc(e)}},e.parseScalarTypeExtension=function parseScalarTypeExtension(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");var t=this.parseName(),n=this.parseDirectives(!0);if(0===n.length)throw this.unexpected();return{kind:D.SCALAR_TYPE_EXTENSION,name:t,directives:n,loc:this.loc(e)}},e.parseObjectTypeExtension=function parseObjectTypeExtension(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");var t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseDirectives(!0),i=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===i.length)throw this.unexpected();return{kind:D.OBJECT_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i,loc:this.loc(e)}},e.parseInterfaceTypeExtension=function parseInterfaceTypeExtension(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");var t=this.parseName(),n=this.parseImplementsInterfaces(),r=this.parseDirectives(!0),i=this.parseFieldsDefinition();if(0===n.length&&0===r.length&&0===i.length)throw this.unexpected();return{kind:D.INTERFACE_TYPE_EXTENSION,name:t,interfaces:n,directives:r,fields:i,loc:this.loc(e)}},e.parseUnionTypeExtension=function parseUnionTypeExtension(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");var t=this.parseName(),n=this.parseDirectives(!0),r=this.parseUnionMemberTypes();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:D.UNION_TYPE_EXTENSION,name:t,directives:n,types:r,loc:this.loc(e)}},e.parseEnumTypeExtension=function parseEnumTypeExtension(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");var t=this.parseName(),n=this.parseDirectives(!0),r=this.parseEnumValuesDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:D.ENUM_TYPE_EXTENSION,name:t,directives:n,values:r,loc:this.loc(e)}},e.parseInputObjectTypeExtension=function parseInputObjectTypeExtension(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");var t=this.parseName(),n=this.parseDirectives(!0),r=this.parseInputFieldsDefinition();if(0===n.length&&0===r.length)throw this.unexpected();return{kind:D.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:n,fields:r,loc:this.loc(e)}},e.parseDirectiveDefinition=function parseDirectiveDefinition(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(R.AT);var n=this.parseName(),r=this.parseArgumentDefs(),i=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");var d=this.parseDirectiveLocations();return{kind:D.DIRECTIVE_DEFINITION,description:t,name:n,arguments:r,repeatable:i,locations:d,loc:this.loc(e)}},e.parseDirectiveLocations=function parseDirectiveLocations(){return this.delimitedMany(R.PIPE,this.parseDirectiveLocation)},e.parseDirectiveLocation=function parseDirectiveLocation(){var e=this._lexer.token,t=this.parseName();if(void 0!==F[t.value])return t;throw this.unexpected(e)},e.loc=function loc(e){var t;if(!0!==(null===(t=this._options)||void 0===t?void 0:t.noLocation))return new N(e,this._lexer.lastToken,this._lexer.source)},e.peek=function peek(e){return this._lexer.token.kind===e},e.expectToken=function expectToken(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t;throw syntaxError(this._lexer.source,t.start,"Expected ".concat(getTokenKindDesc(e),", found ").concat(getTokenDesc(t),"."))},e.expectOptionalToken=function expectOptionalToken(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t},e.expectKeyword=function expectKeyword(e){var t=this._lexer.token;if(t.kind!==R.NAME||t.value!==e)throw syntaxError(this._lexer.source,t.start,'Expected "'.concat(e,'", found ').concat(getTokenDesc(t),"."));this._lexer.advance()},e.expectOptionalKeyword=function expectOptionalKeyword(e){var t=this._lexer.token;return t.kind===R.NAME&&t.value===e&&(this._lexer.advance(),!0)},e.unexpected=function unexpected(e){var t=null!==e&&void 0!==e?e:this._lexer.token;return syntaxError(this._lexer.source,t.start,"Unexpected ".concat(getTokenDesc(t),"."))},e.any=function any(e,t,n){this.expectToken(e);for(var r=[];!this.expectOptionalToken(n);)r.push(t.call(this));return r},e.optionalMany=function optionalMany(e,t,n){if(this.expectOptionalToken(e)){var r=[];do{r.push(t.call(this))}while(!this.expectOptionalToken(n));return r}return[]},e.many=function many(e,t,n){this.expectToken(e);var r=[];do{r.push(t.call(this))}while(!this.expectOptionalToken(n));return r},e.delimitedMany=function delimitedMany(e,t){this.expectOptionalToken(e);var n=[];do{n.push(t.call(this))}while(this.expectOptionalToken(e));return n},Parser}();function getTokenDesc(e){var t=e.value;return getTokenKindDesc(e.kind)+(null!=t?' "'.concat(t,'"'):"")}function getTokenKindDesc(e){return function isPunctuatorTokenKind(e){return e===R.BANG||e===R.DOLLAR||e===R.AMP||e===R.PAREN_L||e===R.PAREN_R||e===R.SPREAD||e===R.COLON||e===R.EQUALS||e===R.AT||e===R.BRACKET_L||e===R.BRACKET_R||e===R.BRACE_L||e===R.PIPE||e===R.BRACE_R}(e)?'"'.concat(e,'"'):e}function lib_typeof(e){return(lib_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(e){return typeof e}:function _typeof(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var Q=new Map,K=new Map,V=!0,U=!1;function normalize(e){return e.replace(/[\s,]+/g," ").trim()}function processFragments(e){var t=new Set,n=[];return e.definitions.forEach((function(e){if("FragmentDefinition"===e.kind){var r=e.name.value,i=function cacheKeyFromLoc(e){return normalize(e.source.body.substring(e.start,e.end))}(e.loc),d=K.get(r);d&&!d.has(i)?V&&console.warn("Warning: fragment with name "+r+" already exists.\ngraphql-tag enforces all fragment names across your application to be unique; read more about\nthis in the docs: http://dev.apollodata.com/core/fragments.html#unique-names"):d||K.set(r,d=new Set),d.add(i),t.has(i)||(t.add(i),n.push(e))}else n.push(e)})),(0,A.pi)((0,A.pi)({},e),{definitions:n})}function parseDocument(e){var t=normalize(e);if(!Q.has(t)){var n=function parse(e,t){return new B(e,t).parseDocument()}(e,{experimentalFragmentVariables:U});if(!n||"Document"!==n.kind)throw new Error("Not a valid GraphQL document.");Q.set(t,function stripLoc(e){var t=new Set(e.definitions);t.forEach((function(e){e.loc&&delete e.loc,Object.keys(e).forEach((function(n){var r=e[n];r&&"object"===lib_typeof(r)&&t.add(r)}))}));var n=e.loc;return n&&(delete n.startToken,delete n.endToken),e}(processFragments(n)))}return Q.get(t)}function gql(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];"string"===typeof e&&(e=[e]);var r=e[0];return t.forEach((function(t,n){t&&"Document"===t.kind?r+=t.loc.source.body:r+=t,r+=e[n+1]})),parseDocument(r)}var H,z=gql,W=function resetCaches(){Q.clear(),K.clear()},G=function disableFragmentWarnings(){V=!1},Y=function enableExperimentalFragmentVariables(){U=!0},J=function disableExperimentalFragmentVariables(){U=!1};(H=gql||(gql={})).gql=z,H.resetCaches=W,H.disableFragmentWarnings=G,H.enableExperimentalFragmentVariables=Y,H.disableExperimentalFragmentVariables=J,gql.default=gql;var X=gql;function trie_esm_typeof(e){return(trie_esm_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(e){return typeof e}:function _typeof(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var Z=function defaultMakeData(){return Object.create(null)},ee=Array.prototype,te=ee.forEach,ne=ee.slice,re=function(){function Trie(e,t){void 0===e&&(e=!0),void 0===t&&(t=Z),this.weakness=e,this.makeData=t}return Trie.prototype.lookup=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return this.lookupArray(e)},Trie.prototype.lookupArray=function(e){var t=this;return te.call(e,(function(e){return t=t.getChildTrie(e)})),t.data||(t.data=this.makeData(ne.call(e)))},Trie.prototype.getChildTrie=function(e){var t=this.weakness&&function isObjRef(e){switch(trie_esm_typeof(e)){case"object":if(null===e)break;case"function":return!0}return!1}(e)?this.weak||(this.weak=new WeakMap):this.strong||(this.strong=new Map),n=t.get(e);return n||t.set(e,n=new Trie(this.weakness,this.makeData)),n},Trie}();var oe=null,ie={},ae=1,se="@wry/context:Slot",ce=Array,ue=ce[se]||function(){var e=function makeSlotClass(){return function(){function Slot(){this.id=["slot",ae++,Date.now(),Math.random().toString(36).slice(2)].join(":")}return Slot.prototype.hasValue=function(){for(var e=oe;e;e=e.parent)if(this.id in e.slots){var t=e.slots[this.id];if(t===ie)break;return e!==oe&&(oe.slots[this.id]=t),!0}return oe&&(oe.slots[this.id]=ie),!1},Slot.prototype.getValue=function(){if(this.hasValue())return oe.slots[this.id]},Slot.prototype.withValue=function(e,t,n,r){var i,d=((i={__proto__:null})[this.id]=e,i),h=oe;oe={parent:h,slots:d};try{return t.apply(r,n)}finally{oe=h}},Slot.bind=function(e){var t=oe;return function(){var n=oe;try{return oe=t,e.apply(this,arguments)}finally{oe=n}}},Slot.noContext=function(e,t,n){if(!oe)return e.apply(n,t);var r=oe;try{return oe=null,e.apply(n,t)}finally{oe=r}},Slot}()}();try{Object.defineProperty(ce,se,{value:ce[se]=e,enumerable:!1,writable:!1,configurable:!1})}finally{return e}}();ue.bind,ue.noContext;function defaultDispose(){}var le,pe=function(){function Cache(e,t){void 0===e&&(e=1/0),void 0===t&&(t=defaultDispose),this.max=e,this.dispose=t,this.map=new Map,this.newest=null,this.oldest=null}return Cache.prototype.has=function(e){return this.map.has(e)},Cache.prototype.get=function(e){var t=this.getNode(e);return t&&t.value},Cache.prototype.getNode=function(e){var t=this.map.get(e);if(t&&t!==this.newest){var n=t.older,r=t.newer;r&&(r.older=n),n&&(n.newer=r),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=r)}return t},Cache.prototype.set=function(e,t){var n=this.getNode(e);return n?n.value=t:(n={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=n),this.newest=n,this.oldest=this.oldest||n,this.map.set(e,n),n.value)},Cache.prototype.clean=function(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)},Cache.prototype.delete=function(e){var t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),this.dispose(t.value,e),!0)},Cache}(),fe=new ue,de=Object.prototype.hasOwnProperty,he=void 0===(le=Array.from)?function(e){var t=[];return e.forEach((function(e){return t.push(e)})),t}:le;function maybeUnsubscribe(e){var t=e.unsubscribe;"function"===typeof t&&(e.unsubscribe=void 0,t())}var me=[];function assert(e,t){if(!e)throw new Error(t||"assertion failure")}function valueGet(e){switch(e.length){case 0:throw new Error("unknown value");case 1:return e[0];case 2:throw e[1]}}var ye=function(){function Entry(e){this.fn=e,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++Entry.count}return Entry.prototype.peek=function(){if(1===this.value.length&&!mightBeDirty(this))return rememberParent(this),this.value[0]},Entry.prototype.recompute=function(e){return assert(!this.recomputing,"already recomputing"),rememberParent(this),mightBeDirty(this)?function reallyRecompute(e,t){forgetChildren(e),fe.withValue(e,recomputeNewValue,[e,t]),function maybeSubscribe(e,t){if("function"===typeof e.subscribe)try{maybeUnsubscribe(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(n){return e.setDirty(),!1}return!0}(e,t)&&function setClean(e){if(e.dirty=!1,mightBeDirty(e))return;reportClean(e)}(e);return valueGet(e.value)}(this,e):valueGet(this.value)},Entry.prototype.setDirty=function(){this.dirty||(this.dirty=!0,this.value.length=0,reportDirty(this),maybeUnsubscribe(this))},Entry.prototype.dispose=function(){var e=this;this.setDirty(),forgetChildren(this),eachParent(this,(function(t,n){t.setDirty(),forgetChild(t,e)}))},Entry.prototype.forget=function(){this.dispose()},Entry.prototype.dependOn=function(e){e.add(this),this.deps||(this.deps=me.pop()||new Set),this.deps.add(e)},Entry.prototype.forgetDeps=function(){var e=this;this.deps&&(he(this.deps).forEach((function(t){return t.delete(e)})),this.deps.clear(),me.push(this.deps),this.deps=null)},Entry.count=0,Entry}();function rememberParent(e){var t=fe.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),mightBeDirty(e)?reportDirtyChild(t,e):reportCleanChild(t,e),t}function recomputeNewValue(e,t){e.recomputing=!0,e.value.length=0;try{e.value[0]=e.fn.apply(null,t)}catch(n){e.value[1]=n}e.recomputing=!1}function mightBeDirty(e){return e.dirty||!(!e.dirtyChildren||!e.dirtyChildren.size)}function reportDirty(e){eachParent(e,reportDirtyChild)}function reportClean(e){eachParent(e,reportCleanChild)}function eachParent(e,t){var n=e.parents.size;if(n)for(var r=he(e.parents),i=0;i<n;++i)t(r[i],e)}function reportDirtyChild(e,t){assert(e.childValues.has(t)),assert(mightBeDirty(t));var n=!mightBeDirty(e);if(e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=me.pop()||new Set;e.dirtyChildren.add(t),n&&reportDirty(e)}function reportCleanChild(e,t){assert(e.childValues.has(t)),assert(!mightBeDirty(t));var n=e.childValues.get(t);0===n.length?e.childValues.set(t,function valueCopy(e){return e.slice(0)}(t.value)):function valueIs(e,t){var n=e.length;return n>0&&n===t.length&&e[n-1]===t[n-1]}(n,t.value)||e.setDirty(),removeDirtyChild(e,t),mightBeDirty(e)||reportClean(e)}function removeDirtyChild(e,t){var n=e.dirtyChildren;n&&(n.delete(t),0===n.size&&(me.length<100&&me.push(n),e.dirtyChildren=null))}function forgetChildren(e){e.childValues.size>0&&e.childValues.forEach((function(t,n){forgetChild(e,n)})),e.forgetDeps(),assert(null===e.dirtyChildren)}function forgetChild(e,t){t.parents.delete(e),e.childValues.delete(t),removeDirtyChild(e,t)}var ge={setDirty:!0,dispose:!0,forget:!0};function dep(e){var t=new Map,n=e&&e.subscribe;function depend(e){var r=fe.getValue();if(r){var i=t.get(e);i||t.set(e,i=new Set),r.dependOn(i),"function"===typeof n&&(maybeUnsubscribe(i),i.unsubscribe=n(e))}}return depend.dirty=function dirty(e,n){var r=t.get(e);if(r){var i=n&&de.call(ge,n)?n:"setDirty";he(r).forEach((function(e){return e[i]()})),t.delete(e),maybeUnsubscribe(r)}},depend}function makeDefaultMakeCacheKeyFunction(){var e=new re("function"===typeof WeakMap);return function(){return e.lookupArray(arguments)}}makeDefaultMakeCacheKeyFunction();var ve=new Set;function wrap(e,t){void 0===t&&(t=Object.create(null));var n=new pe(t.max||Math.pow(2,16),(function(e){return e.dispose()})),r=t.keyArgs,i=t.makeCacheKey||makeDefaultMakeCacheKeyFunction(),d=function optimistic(){var d=i.apply(null,r?r.apply(null,arguments):arguments);if(void 0===d)return e.apply(null,arguments);var h=n.get(d);h||(n.set(d,h=new ye(e)),h.subscribe=t.subscribe,h.forget=function(){return n.delete(d)});var y=h.recompute(Array.prototype.slice.call(arguments));return n.set(d,h),ve.add(n),fe.hasValue()||(ve.forEach((function(e){return e.clean()})),ve.clear()),y};function dirtyKey(e){var t=n.get(e);t&&t.setDirty()}function peekKey(e){var t=n.get(e);if(t)return t.peek()}function forgetKey(e){return n.delete(e)}return Object.defineProperty(d,"size",{get:function get(){return n.map.size},configurable:!1,enumerable:!1}),d.dirtyKey=dirtyKey,d.dirty=function dirty(){dirtyKey(i.apply(null,arguments))},d.peekKey=peekKey,d.peek=function peek(){return peekKey(i.apply(null,arguments))},d.forgetKey=forgetKey,d.forget=function forget(){return forgetKey(i.apply(null,arguments))},d.makeCacheKey=i,d.getKey=r?function getKey(){return i.apply(null,r.apply(null,arguments))}:i,Object.freeze(d)}var _e=__webpack_require__(6795),be=function(){function ApolloCache(){this.getFragmentDoc=wrap(_e.Yk)}return ApolloCache.prototype.recordOptimisticTransaction=function(e,t){this.performTransaction(e,t)},ApolloCache.prototype.transformDocument=function(e){return e},ApolloCache.prototype.identify=function(e){},ApolloCache.prototype.gc=function(){return[]},ApolloCache.prototype.modify=function(e){return!1},ApolloCache.prototype.transformForLink=function(e){return e},ApolloCache.prototype.readQuery=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read({rootId:e.id||"ROOT_QUERY",query:e.query,variables:e.variables,returnPartialData:e.returnPartialData,optimistic:t})},ApolloCache.prototype.readFragment=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read({query:this.getFragmentDoc(e.fragment,e.fragmentName),variables:e.variables,rootId:e.id,returnPartialData:e.returnPartialData,optimistic:t})},ApolloCache.prototype.writeQuery=function(e){return this.write({dataId:e.id||"ROOT_QUERY",result:e.data,query:e.query,variables:e.variables,broadcast:e.broadcast})},ApolloCache.prototype.writeFragment=function(e){return this.write({dataId:e.id,result:e.data,variables:e.variables,query:this.getFragmentDoc(e.fragment,e.fragmentName),broadcast:e.broadcast})},ApolloCache}(),we=function we(e,t,n,r,i){this.message=e,this.path=t,this.query=n,this.clientOnly=r,this.variables=i},Ee=__webpack_require__(8452),ke={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],FloatValue:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},Se=Object.freeze({});function visit(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ke,r=void 0,i=Array.isArray(e),d=[e],h=-1,y=[],g=void 0,v=void 0,_=void 0,b=[],w=[],E=e;do{var k=++h===d.length,S=k&&0!==y.length;if(k){if(v=0===w.length?void 0:b[b.length-1],g=_,_=w.pop(),S){if(i)g=g.slice();else{for(var C={},O=0,T=Object.keys(g);O<T.length;O++){var A=T[O];C[A]=g[A]}g=C}for(var x=0,I=0;I<y.length;I++){var D=y[I][0],L=y[I][1];i&&(D-=x),i&&null===L?(g.splice(D,1),x++):g[D]=L}}h=r.index,d=r.keys,y=r.edits,i=r.inArray,r=r.prev}else{if(v=_?i?h:d[h]:void 0,null===(g=_?_[v]:E)||void 0===g)continue;_&&b.push(v)}var N,P=void 0;if(!Array.isArray(g)){if(!isNode(g))throw new Error("Invalid AST Node: ".concat(inspect(g),"."));var R=getVisitFn(t,g.kind,k);if(R){if((P=R.call(t,g,v,_,b,w))===Se)break;if(!1===P){if(!k){b.pop();continue}}else if(void 0!==P&&(y.push([v,P]),!k)){if(!isNode(P)){b.pop();continue}g=P}}}if(void 0===P&&S&&y.push([v,g]),k)b.pop();else r={inArray:i,index:h,keys:d,edits:y,prev:r},d=(i=Array.isArray(g))?g:null!==(N=n[g.kind])&&void 0!==N?N:[],h=-1,y=[],_&&w.push(_),_=g}while(void 0!==r);return 0!==y.length&&(E=y[y.length-1][1]),E}function getVisitFn(e,t,n){var r=e[t];if(r){if(!n&&"function"===typeof r)return r;var i=n?r.leave:r.enter;if("function"===typeof i)return i}else{var d=n?e.leave:e.enter;if(d){if("function"===typeof d)return d;var h=d[t];if("function"===typeof h)return h}}}var Ce=__webpack_require__(9304),Oe=__webpack_require__(9203);function filterInPlace(e,t,n){var r=0;return e.forEach((function(n,i){t.call(this,n,i,e)&&(e[r++]=n)}),n),e.length=r,e}var Te={kind:"Field",name:{kind:"Name",value:"__typename"}};function isEmpty(e,t){return e.selectionSet.selections.every((function(e){return"FragmentSpread"===e.kind&&isEmpty(t[e.name.value],t)}))}function nullIfDocIsEmpty(e){return isEmpty((0,Oe.$H)(e)||(0,Oe.pD)(e),(0,_e.F)((0,Oe.kU)(e)))?null:e}function getDirectiveMatcher(e){return function directiveMatcher(t){return e.some((function(e){return e.name&&e.name===t.name.value||e.test&&e.test(t)}))}}function removeDirectivesFromDocument(e,t){var n=Object.create(null),r=[],i=Object.create(null),d=[],h=nullIfDocIsEmpty(visit(t,{Variable:{enter:function enter(e,t,r){"VariableDefinition"!==r.kind&&(n[e.name.value]=!0)}},Field:{enter:function enter(t){if(e&&t.directives&&(e.some((function(e){return e.remove}))&&t.directives&&t.directives.some(getDirectiveMatcher(e))))return t.arguments&&t.arguments.forEach((function(e){"Variable"===e.value.kind&&r.push({name:e.value.name.value})})),t.selectionSet&&getAllFragmentSpreadsFromSelectionSet(t.selectionSet).forEach((function(e){d.push({name:e.name.value})})),null}},FragmentSpread:{enter:function enter(e){i[e.name.value]=!0}},Directive:{enter:function enter(t){if(getDirectiveMatcher(e)(t))return null}}}));return h&&filterInPlace(r,(function(e){return!!e.name&&!n[e.name]})).length&&(h=function removeArgumentsFromDocument(e,t){var n=function getArgumentMatcher(e){return function argumentMatcher(t){return e.some((function(e){return t.value&&"Variable"===t.value.kind&&t.value.name&&(e.name===t.value.name.value||e.test&&e.test(t))}))}}(e);return nullIfDocIsEmpty(visit(t,{OperationDefinition:{enter:function enter(t){return(0,A.pi)((0,A.pi)({},t),{variableDefinitions:t.variableDefinitions?t.variableDefinitions.filter((function(t){return!e.some((function(e){return e.name===t.variable.name.value}))})):[]})}},Field:{enter:function enter(t){if(e.some((function(e){return e.remove}))){var r=0;if(t.arguments&&t.arguments.forEach((function(e){n(e)&&(r+=1)})),1===r)return null}}},Argument:{enter:function enter(e){if(n(e))return null}}}))}(r,h)),h&&filterInPlace(d,(function(e){return!!e.name&&!i[e.name]})).length&&(h=function removeFragmentSpreadFromDocument(e,t){function enter(t){if(e.some((function(e){return e.name===t.name.value})))return null}return nullIfDocIsEmpty(visit(t,{FragmentSpread:{enter:enter},FragmentDefinition:{enter:enter}}))}(d,h)),h}function addTypenameToDocument(e){return visit((0,Oe.A$)(e),{SelectionSet:{enter:function enter(e,t,n){if(!n||"OperationDefinition"!==n.kind){var r=e.selections;if(r)if(!r.some((function(e){return(0,Ee.My)(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))}))){var i=n;if(!((0,Ee.My)(i)&&i.directives&&i.directives.some((function(e){return"export"===e.name.value}))))return(0,A.pi)((0,A.pi)({},e),{selections:(0,A.pr)(r,[Te])})}}}}})}addTypenameToDocument.added=function(e){return e===Te};var Ae={test:function test(e){var t="connection"===e.name.value;return t&&(!e.arguments||e.arguments.some((function(e){return"key"===e.name.value}))),t}};function getAllFragmentSpreadsFromSelectionSet(e){var t=[];return e.selections.forEach((function(e){((0,Ee.My)(e)||(0,Ee.Ao)(e))&&e.selectionSet?getAllFragmentSpreadsFromSelectionSet(e.selectionSet).forEach((function(e){return t.push(e)})):"FragmentSpread"===e.kind&&t.push(e)})),t}function buildQueryFromSelectionSet(e){return"query"===(0,Oe.p$)(e).operation?e:visit(e,{OperationDefinition:{enter:function enter(e){return(0,A.pi)((0,A.pi)({},e),{operation:"query"})}}})}function shouldInclude(e,t){var n=e.directives;return!n||!n.length||function getInclusionDirectives(e){var t=[];e&&e.length&&e.forEach((function(e){if(function isInclusionDirective(e){var t=e.name.value;return"skip"===t||"include"===t}(e)){var n=e.arguments;e.name.value;(0,Ce.kG)(n&&1===n.length,39);var r=n[0];(0,Ce.kG)(r.name&&"if"===r.name.value,40);var i=r.value;(0,Ce.kG)(i&&("Variable"===i.kind||"BooleanValue"===i.kind),41),t.push({directive:e,ifArgument:r})}}));return t}(n).every((function(e){var n=e.directive,r=e.ifArgument,i=!1;return"Variable"===r.value.kind?(i=t&&t[r.value.name.value],(0,Ce.kG)(void 0!==i,38)):i=r.value.value,"skip"===n.name.value?!i:i}))}function hasDirectives(e,t){return function getDirectiveNames(e){var t=[];return visit(e,{Directive:function Directive(e){t.push(e.name.value)}}),t}(t).some((function(t){return e.indexOf(t)>-1}))}function hasClientExports(e){return e&&hasDirectives(["client"],e)&&hasDirectives(["export"],e)}function mergeDeep_typeof(e){return(mergeDeep_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(e){return typeof e}:function _typeof(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var xe=Object.prototype.hasOwnProperty;function mergeDeep(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return mergeDeepArray(e)}function mergeDeepArray(e){var t=e[0]||{},n=e.length;if(n>1)for(var r=new De,i=1;i<n;++i)t=r.merge(t,e[i]);return t}function isObject(e){return null!==e&&"object"===mergeDeep_typeof(e)}var Ie=function defaultReconciler(e,t,n){return this.merge(e[n],t[n])},De=function(){function DeepMerger(e){void 0===e&&(e=Ie),this.reconciler=e,this.isObject=isObject,this.pastCopies=new Set}return DeepMerger.prototype.merge=function(e,t){for(var n=this,r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];return isObject(t)&&isObject(e)?(Object.keys(t).forEach((function(i){if(xe.call(e,i)){var d=e[i];if(t[i]!==d){var h=n.reconciler.apply(n,(0,A.pr)([e,t,i],r));h!==d&&((e=n.shallowCopyForMerge(e))[i]=h)}}else(e=n.shallowCopyForMerge(e))[i]=t[i]})),e):t},DeepMerger.prototype.shallowCopyForMerge=function(e){return isObject(e)&&!this.pastCopies.has(e)&&(e=Array.isArray(e)?e.slice(0):(0,A.pi)({__proto__:Object.getPrototypeOf(e)},e),this.pastCopies.add(e)),e},DeepMerger}(),Le=Object.prototype,Ne=Le.toString,Pe=Le.hasOwnProperty,Re=Function.prototype.toString,je=new Map;function equality_esm_equal(e,t){try{return check(e,t)}finally{je.clear()}}function check(e,t){if(e===t)return!0;var n=Ne.call(e);if(n!==Ne.call(t))return!1;switch(n){case"[object Array]":if(e.length!==t.length)return!1;case"[object Object]":if(previouslyCompared(e,t))return!0;var r=definedKeys(e),i=definedKeys(t),d=r.length;if(d!==i.length)return!1;for(var h=0;h<d;++h)if(!Pe.call(t,r[h]))return!1;for(h=0;h<d;++h){var y=r[h];if(!check(e[y],t[y]))return!1}return!0;case"[object Error]":return e.name===t.name&&e.message===t.message;case"[object Number]":if(e!==e)return t!==t;case"[object Boolean]":case"[object Date]":return+e===+t;case"[object RegExp]":case"[object String]":return e==""+t;case"[object Map]":case"[object Set]":if(e.size!==t.size)return!1;if(previouslyCompared(e,t))return!0;for(var g=e.entries(),v="[object Map]"===n;;){var _=g.next();if(_.done)break;var b=_.value,w=b[0],E=b[1];if(!t.has(w))return!1;if(v&&!check(E,t.get(w)))return!1}return!0;case"[object Uint16Array]":case"[object Uint8Array]":case"[object Uint32Array]":case"[object Int32Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object ArrayBuffer]":e=new Uint8Array(e),t=new Uint8Array(t);case"[object DataView]":var k=e.byteLength;if(k===t.byteLength)for(;k--&&e[k]===t[k];);return-1===k;case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":var S=Re.call(e);return S===Re.call(t)&&!function endsWith(e,t){var n=e.length-t.length;return n>=0&&e.indexOf(t,n)===n}(S,Me)}return!1}function definedKeys(e){return Object.keys(e).filter(isDefinedKey,e)}function isDefinedKey(e){return void 0!==this[e]}var Me="{ [native code] }";function previouslyCompared(e,t){var n=je.get(e);if(n){if(n.has(t))return!0}else je.set(e,n=new Set);return n.add(t),!1}function canUse_typeof(e){return(canUse_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(e){return typeof e}:function _typeof(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var Fe="function"===typeof WeakMap&&!("object"===("undefined"===typeof navigator?"undefined":canUse_typeof(navigator))&&"ReactNative"===navigator.product);function helpers_typeof(e){return(helpers_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(e){return typeof e}:function _typeof(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var qe=Object.prototype.hasOwnProperty;var Be=/^[_a-z][_0-9a-z]*/i;function helpers_fieldNameFromStoreName(e){var t=e.match(Be);return t?t[0]:e}function selectionSetMatchesResult(e,t,n){return!(!t||"object"!==helpers_typeof(t))&&(Array.isArray(t)?t.every((function(t){return selectionSetMatchesResult(e,t,n)})):e.selections.every((function(e){if((0,Ee.My)(e)&&shouldInclude(e,n)){var r=(0,Ee.u2)(e);return qe.call(t,r)&&(!e.selectionSet||selectionSetMatchesResult(e.selectionSet,t[r],n))}return!0})))}function storeValueIsStoreObject(e){return null!==e&&"object"===helpers_typeof(e)&&!(0,Ee.Yk)(e)&&!Array.isArray(e)}function entityStore_typeof(e){return(entityStore_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(e){return typeof e}:function _typeof(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var Qe=Object.create(null),Ke=function delModifier(){return Qe},Ve=Object.create(null),Ue=function(){function EntityStore(e,t){var n=this;this.policies=e,this.group=t,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(e,t){return(0,Ee.Yk)(e)?n.get(e.__ref,t):e&&e[t]},this.canRead=function(e){return(0,Ee.Yk)(e)?n.has(e.__ref):"object"===entityStore_typeof(e)},this.toReference=function(e,t){if("string"===typeof e)return(0,Ee.kQ)(e);if((0,Ee.Yk)(e))return e;var r=n.policies.identify(e)[0];if(r){var i=(0,Ee.kQ)(r);return t&&n.merge(r,e),i}}}return EntityStore.prototype.toObject=function(){return(0,A.pi)({},this.data)},EntityStore.prototype.has=function(e){return void 0!==this.lookup(e,!0)},EntityStore.prototype.get=function(e,t){if(this.group.depend(e,t),qe.call(this.data,e)){var n=this.data[e];if(n&&qe.call(n,t))return n[t]}return"__typename"===t&&qe.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof ze?this.parent.get(e,t):void 0},EntityStore.prototype.lookup=function(e,t){return t&&this.group.depend(e,"__exists"),qe.call(this.data,e)?this.data[e]:this instanceof ze?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?Object.create(null):void 0},EntityStore.prototype.merge=function(e,t){var n=this,r=this.lookup(e),i=new De(storeObjectReconciler).merge(r,t);if(this.data[e]=i,i!==r&&(delete this.refs[e],this.group.caching)){var d=Object.create(null);r||(d.__exists=1),Object.keys(t).forEach((function(e){if(!r||r[e]!==i[e]){d[e]=1;var t=helpers_fieldNameFromStoreName(e);t===e||n.policies.hasKeyArgs(i.__typename,t)||(d[t]=1),void 0!==i[e]||n instanceof ze||delete i[e]}})),Object.keys(d).forEach((function(t){return n.group.dirty(e,t)}))}},EntityStore.prototype.modify=function(e,t){var n=this,r=this.lookup(e);if(r){var i=Object.create(null),d=!1,h=!0,y={DELETE:Qe,INVALIDATE:Ve,isReference:Ee.Yk,toReference:this.toReference,canRead:this.canRead,readField:function readField(t,r){return n.policies.readField("string"===typeof t?{fieldName:t,from:r||(0,Ee.kQ)(e)}:t,{store:n})}};if(Object.keys(r).forEach((function(g){var v=helpers_fieldNameFromStoreName(g),_=r[g];if(void 0!==_){var b="function"===typeof t?t:t[g]||t[v];if(b){var w=b===Ke?Qe:b(_,(0,A.pi)((0,A.pi)({},y),{fieldName:v,storeFieldName:g,storage:n.getStorage(e,g)}));w===Ve?n.group.dirty(e,g):(w===Qe&&(w=void 0),w!==_&&(i[g]=w,d=!0,_=w))}void 0!==_&&(h=!1)}})),d)return this.merge(e,i),h&&(this instanceof ze?this.data[e]=void 0:delete this.data[e],this.group.dirty(e,"__exists")),!0}return!1},EntityStore.prototype.delete=function(e,t,n){var r,i=this.lookup(e);if(i){var d=this.getFieldValue(i,"__typename"),h=t&&n?this.policies.getStoreFieldName({typename:d,fieldName:t,args:n}):t;return this.modify(e,h?((r={})[h]=Ke,r):Ke)}return!1},EntityStore.prototype.evict=function(e){var t=!1;return e.id&&(qe.call(this.data,e.id)&&(t=this.delete(e.id,e.fieldName,e.args)),this instanceof ze&&(t=this.parent.evict(e)||t),(e.fieldName||t)&&this.group.dirty(e.id,e.fieldName||"__exists")),t},EntityStore.prototype.clear=function(){this.replace(null)},EntityStore.prototype.extract=function(){var e=this,t=this.toObject(),n=[];return this.getRootIdSet().forEach((function(t){qe.call(e.policies.rootTypenamesById,t)||n.push(t)})),n.length&&(t.__META={extraRootIds:n.sort()}),t},EntityStore.prototype.replace=function(e){var t=this;if(Object.keys(this.data).forEach((function(n){e&&qe.call(e,n)||t.delete(n)})),e){var n=e.__META,r=(0,A._T)(e,["__META"]);Object.keys(r).forEach((function(e){t.merge(e,r[e])})),n&&n.extraRootIds.forEach(this.retain,this)}},EntityStore.prototype.retain=function(e){return this.rootIds[e]=(this.rootIds[e]||0)+1},EntityStore.prototype.release=function(e){if(this.rootIds[e]>0){var t=--this.rootIds[e];return t||delete this.rootIds[e],t}return 0},EntityStore.prototype.getRootIdSet=function(e){return void 0===e&&(e=new Set),Object.keys(this.rootIds).forEach(e.add,e),this instanceof ze?this.parent.getRootIdSet(e):Object.keys(this.policies.rootTypenamesById).forEach(e.add,e),e},EntityStore.prototype.gc=function(){var e=this,t=this.getRootIdSet(),n=this.toObject();t.forEach((function(r){qe.call(n,r)&&(Object.keys(e.findChildRefIds(r)).forEach(t.add,t),delete n[r])}));var r=Object.keys(n);if(r.length){for(var i=this;i instanceof ze;)i=i.parent;r.forEach((function(e){return i.delete(e)}))}return r},EntityStore.prototype.findChildRefIds=function(e){if(!qe.call(this.refs,e)){var t=this.refs[e]=Object.create(null),n=new Set([this.data[e]]),r=function canTraverse_1(e){return null!==e&&"object"===entityStore_typeof(e)};n.forEach((function(e){(0,Ee.Yk)(e)?t[e.__ref]=!0:r(e)&&Object.values(e).filter(r).forEach(n.add,n)}))}return this.refs[e]},EntityStore.prototype.makeCacheKey=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return this.group.keyMaker.lookupArray(e)},EntityStore}(),He=function(){function CacheGroup(e){this.caching=e,this.d=null,this.keyMaker=new re(Fe),this.d=e?dep():null}return CacheGroup.prototype.depend=function(e,t){if(this.d){this.d(makeDepKey(e,t));var n=helpers_fieldNameFromStoreName(t);n!==t&&this.d(makeDepKey(e,n))}},CacheGroup.prototype.dirty=function(e,t){this.d&&this.d.dirty(makeDepKey(e,t))},CacheGroup}();function makeDepKey(e,t){return t+"#"+e}!function(e){var t=function(e){function Root(t){var n=t.policies,r=t.resultCaching,i=void 0===r||r,d=t.seed,h=e.call(this,n,new He(i))||this;return h.storageTrie=new re(Fe),h.sharedLayerGroup=new He(i),d&&h.replace(d),h}return(0,A.ZT)(Root,e),Root.prototype.addLayer=function(e,t){return new ze(e,this,t,this.sharedLayerGroup)},Root.prototype.removeLayer=function(){return this},Root.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},Root}(e);e.Root=t}(Ue||(Ue={}));var ze=function(e){function Layer(t,n,r,i){var d=e.call(this,n.policies,i)||this;return d.id=t,d.parent=n,d.replay=r,d.group=i,r(d),d}return(0,A.ZT)(Layer,e),Layer.prototype.addLayer=function(e,t){return new Layer(e,this,t,this.group)},Layer.prototype.removeLayer=function(e){var t=this,n=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEach((function(e){t.data[e]!==n.lookup(e)&&t.delete(e)})),n):n===this.parent?this:n.addLayer(this.id,this.replay)},Layer.prototype.toObject=function(){return(0,A.pi)((0,A.pi)({},this.parent.toObject()),this.data)},Layer.prototype.findChildRefIds=function(t){var n=this.parent.findChildRefIds(t);return qe.call(this.data,t)?(0,A.pi)((0,A.pi)({},n),e.prototype.findChildRefIds.call(this,t)):n},Layer.prototype.getStorage=function(){for(var e=this.parent;e.parent;)e=e.parent;return e.getStorage.apply(e,arguments)},Layer}(Ue);function storeObjectReconciler(e,t,n){var r=e[n],i=t[n];return equality_esm_equal(r,i)?r:i}function supportsResultCaching(e){return!!(e instanceof Ue&&e.group.caching)}function missingFromInvariant(e,t){return new we(e.message,t.path.slice(),t.query,t.clientOnly,t.variables)}var We=function(){function StoreReader(e){var t=this;this.config=e,this.executeSelectionSet=wrap((function(e){return t.execSelectionSetImpl(e)}),{keyArgs:function keyArgs(e){return[e.selectionSet,e.objectOrReference,e.context]},makeCacheKey:function makeCacheKey(e,t,n){if(supportsResultCaching(n.store))return n.store.makeCacheKey(e,(0,Ee.Yk)(t)?t.__ref:t,n.varString)}}),this.knownResults=new WeakMap,this.executeSubSelectedArray=wrap((function(e){return t.execSubSelectedArrayImpl(e)}),{makeCacheKey:function makeCacheKey(e){var t=e.field,n=e.array,r=e.context;if(supportsResultCaching(r.store))return r.store.makeCacheKey(t,n,r.varString)}}),this.config=(0,A.pi)({addTypename:!0},e)}return StoreReader.prototype.diffQueryAgainstStore=function(e){var t=e.store,n=e.query,r=e.rootId,i=void 0===r?"ROOT_QUERY":r,d=e.variables,h=e.returnPartialData,y=void 0===h||h,g=this.config.cache.policies;d=(0,A.pi)((0,A.pi)({},(0,Oe.O4)((0,Oe.iW)(n))),d);var v=this.executeSelectionSet({selectionSet:(0,Oe.p$)(n).selectionSet,objectOrReference:(0,Ee.kQ)(i),context:{store:t,query:n,policies:g,variables:d,varString:JSON.stringify(d),fragmentMap:(0,_e.F)((0,Oe.kU)(n)),path:[],clientOnly:!1}}),_=v.missing&&v.missing.length>0;if(_&&!y)throw v.missing[0];return{result:v.result,missing:v.missing,complete:!_}},StoreReader.prototype.isFresh=function(e,t,n,r){if(supportsResultCaching(r.store)&&this.knownResults.get(e)===n){var i=this.executeSelectionSet.peek(n,t,r);if(i&&e===i.result)return!0}return!1},StoreReader.prototype.execSelectionSetImpl=function(e){var t=this,n=e.selectionSet,r=e.objectOrReference,i=e.context;if((0,Ee.Yk)(r)&&!i.policies.rootTypenamesById[r.__ref]&&!i.store.has(r.__ref))return{result:{},missing:[missingFromInvariant(new Ce.ej(4),i)]};var d=i.variables,h=i.policies,y=i.store,g=[],v={result:null},_=y.getFieldValue(r,"__typename");function getMissing(){return v.missing||(v.missing=[])}function handleMissing(e){var t;return e.missing&&(t=getMissing()).push.apply(t,e.missing),e.result}this.config.addTypename&&"string"===typeof _&&!h.rootIdsByTypename[_]&&g.push({__typename:_});var b=new Set(n.selections);return b.forEach((function(e){var n;if(shouldInclude(e,d))if((0,Ee.My)(e)){var y=h.readField({fieldName:e.name.value,field:e,variables:i.variables,from:r},i),v=(0,Ee.u2)(e);i.path.push(v);var w=i.clientOnly;i.clientOnly=w||!(!e.directives||!e.directives.some((function(e){return"client"===e.name.value}))),void 0===y?addTypenameToDocument.added(e)||getMissing().push(missingFromInvariant(new Ce.ej(5),i)):Array.isArray(y)?y=handleMissing(t.executeSubSelectedArray({field:e,array:y,context:i})):e.selectionSet&&null!=y&&(y=handleMissing(t.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:y,context:i}))),void 0!==y&&g.push(((n={})[v]=y,n)),i.clientOnly=w,(0,Ce.kG)(i.path.pop()===v)}else{var E=(0,_e.hi)(e,i.fragmentMap);E&&h.fragmentMatches(E,_)&&E.selectionSet.selections.forEach(b.add,b)}})),v.result=mergeDeepArray(g),this.knownResults.set(v.result,n),v},StoreReader.prototype.execSubSelectedArrayImpl=function(e){var t,n=this,r=e.field,i=e.array,d=e.context;function handleMissing(e,n){return e.missing&&(t=t||[]).push.apply(t,e.missing),(0,Ce.kG)(d.path.pop()===n),e.result}return r.selectionSet&&(i=i.filter(d.store.canRead)),{result:i=i.map((function(e,t){return null===e?null:(d.path.push(t),Array.isArray(e)?handleMissing(n.executeSubSelectedArray({field:r,array:e,context:d}),t):r.selectionSet?handleMissing(n.executeSelectionSet({selectionSet:r.selectionSet,objectOrReference:e,context:d}),t):((0,Ce.kG)(d.path.pop()===t),e))})),missing:t}},StoreReader}();var Ge=function(){function StoreWriter(e,t){this.cache=e,this.reader=t}return StoreWriter.prototype.writeToStore=function(e){var t=e.query,n=e.result,r=e.dataId,i=e.store,d=e.variables,h=(0,Oe.$H)(t),y=function makeProcessedFieldsMerger(){return new De}();d=(0,A.pi)((0,A.pi)({},(0,Oe.O4)(h)),d);var g=this.processSelectionSet({result:n||Object.create(null),dataId:r,selectionSet:h.selectionSet,mergeTree:{map:new Map},context:{store:i,written:Object.create(null),merge:function merge(e,t){return y.merge(e,t)},variables:d,varString:JSON.stringify(d),fragmentMap:(0,_e.F)((0,Oe.kU)(t))}});if(!(0,Ee.Yk)(g))throw new Ce.ej(7);return i.retain(g.__ref),g},StoreWriter.prototype.processSelectionSet=function(e){var t=this,n=e.dataId,r=e.result,i=e.selectionSet,d=e.context,h=e.mergeTree,y=this.cache.policies,g=y.identify(r,i,d.fragmentMap),v=g[0],_=g[1];if("string"===typeof(n=n||v)){var b=d.written[n]||(d.written[n]=[]),w=(0,Ee.kQ)(n);if(b.indexOf(i)>=0)return w;if(b.push(i),this.reader&&this.reader.isFresh(r,w,i,d))return w}var E=Object.create(null);_&&(E=d.merge(E,_));var k=n&&y.rootTypenamesById[n]||(0,Ee.qw)(r,i,d.fragmentMap)||n&&d.store.get(n,"__typename");"string"===typeof k&&(E.__typename=k);var S=new Set(i.selections);if(S.forEach((function(e){var n;if(shouldInclude(e,d.variables))if((0,Ee.My)(e)){var i=(0,Ee.u2)(e),g=r[i];if("undefined"!==typeof g){var v=y.getStoreFieldName({typename:k,fieldName:e.name.value,field:e,variables:d.variables}),_=getChildMergeTree(h,v),b=t.processFieldValue(g,e,d,_),w=e.selectionSet&&d.store.getFieldValue(b,"__typename")||void 0,C=y.getMergeFunction(k,e.name.value,w);C?_.info={field:e,typename:k,merge:C}:maybeRecycleChildMergeTree(h,v),E=d.merge(E,((n={})[v]=b,n))}else if(y.usingPossibleTypes&&!hasDirectives(["defer","client"],e))throw new Ce.ej(8)}else{var O=(0,_e.hi)(e,d.fragmentMap);O&&y.fragmentMatches(O,k,r,d.variables)&&O.selectionSet.selections.forEach(S.add,S)}})),"string"===typeof n){var C=(0,Ee.kQ)(n);return h.map.size&&(E=this.applyMerges(h,C,E,d)),d.store.merge(n,E),C}return E},StoreWriter.prototype.processFieldValue=function(e,t,n,r){var i=this;return t.selectionSet&&null!==e?Array.isArray(e)?e.map((function(e,d){var h=i.processFieldValue(e,t,n,getChildMergeTree(r,d));return maybeRecycleChildMergeTree(r,d),h})):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:n,mergeTree:r}):e},StoreWriter.prototype.applyMerges=function(e,t,n,r,i){var d,h=this;if(e.map.size&&!(0,Ee.Yk)(n)){var y,g=Array.isArray(n)||!(0,Ee.Yk)(t)&&!storeValueIsStoreObject(t)?void 0:t,v=n;g&&!i&&(i=[(0,Ee.Yk)(g)?g.__ref:g]);var _=function getValue_1(e,t){return Array.isArray(e)?"number"===typeof t?e[t]:void 0:r.store.getFieldValue(e,String(t))};e.map.forEach((function(e,t){i&&i.push(t);var n=_(g,t),d=_(v,t),b=h.applyMerges(e,n,d,r,i);b!==d&&(y=y||new Map).set(t,b),i&&(0,Ce.kG)(i.pop()===t)})),y&&(n=Array.isArray(v)?v.slice(0):(0,A.pi)({},v),y.forEach((function(e,t){n[t]=e})))}return e.info?this.cache.policies.runMergeFunction(t,n,e.info,r,i&&(d=r.store).getStorage.apply(d,i)):n},StoreWriter}(),Ye=[];function getChildMergeTree(e,t){var n=e.map;return n.has(t)||n.set(t,Ye.pop()||{map:new Map}),n.get(t)}function maybeRecycleChildMergeTree(e,t){var n=e.map,r=n.get(t);!r||r.info||r.map.size||(Ye.push(r),n.delete(t))}new Set;var Je=new ue,Xe=new WeakMap;function getCacheInfo(e){var t=Xe.get(e);return t||Xe.set(e,t={vars:new Set,dep:dep()}),t}function makeVar(e){var t=new Set,n=new Set,r=function rv(r){if(arguments.length>0){if(e!==r){e=r,t.forEach((function(e){getCacheInfo(e).dep.dirty(rv),broadcast(e)}));var d=Array.from(n);n.clear(),d.forEach((function(t){return t(e)}))}}else{var h=Je.getValue();h&&(i(h),getCacheInfo(h).dep(rv))}return e};r.onNextChange=function(e){return n.add(e),function(){n.delete(e)}};var i=r.attachCache=function(e){return t.add(e),getCacheInfo(e).vars.add(r),r};return r.forgetCache=function(e){return t.delete(e)},r}function broadcast(e){e.broadcastWatches&&e.broadcastWatches()}function policies_typeof(e){return(policies_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(e){return typeof e}:function _typeof(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function argsFromFieldSpecifier(e){return void 0!==e.args?e.args:e.field?(0,Ee.NC)(e.field,e.variables):null}var $e=function defaultDataIdFromObject(e,t){var n=e.__typename,r=e.id,i=e._id;if("string"===typeof n&&(t&&(t.keyObject=void 0!==r?{id:r}:void 0!==i?{_id:i}:void 0),void 0===r&&(r=i),void 0!==r))return n+":"+("number"===typeof r||"string"===typeof r?r:JSON.stringify(r))},Ze=function nullKeyFieldsFn(){},et=function simpleKeyArgsFn(e,t){return t.fieldName},tt=function mergeTrueFn(e,t,n){return(0,n.mergeObjects)(e,t)},nt=function mergeFalseFn(e,t){return t},rt=function(){function Policies(e){this.config=e,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=(0,A.pi)({dataIdFromObject:$e},e),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),e.possibleTypes&&this.addPossibleTypes(e.possibleTypes),e.typePolicies&&this.addTypePolicies(e.typePolicies)}return Policies.prototype.identify=function(e,t,n){var r=t&&n?(0,Ee.qw)(e,t,n):e.__typename;if(r===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var i,d={typename:r,selectionSet:t,fragmentMap:n},h=r&&this.getTypePolicy(r),y=h&&h.keyFn||this.config.dataIdFromObject;y;){var g=y(e,d);if(!Array.isArray(g)){i=g;break}y=keyFieldsFnFromSpecifier(g)}return i=i?String(i):void 0,d.keyObject?[i,d.keyObject]:[i]},Policies.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach((function(n){var r=e[n],i=r.queryType,d=r.mutationType,h=r.subscriptionType,y=(0,A._T)(r,["queryType","mutationType","subscriptionType"]);i&&t.setRootTypename("Query",n),d&&t.setRootTypename("Mutation",n),h&&t.setRootTypename("Subscription",n),qe.call(t.toBeAdded,n)?t.toBeAdded[n].push(y):t.toBeAdded[n]=[y]}))},Policies.prototype.updateTypePolicy=function(e,t){var n=this,r=this.getTypePolicy(e),i=t.keyFields,d=t.fields;function setMerge(e,t){e.merge="function"===typeof t?t:!0===t?tt:!1===t?nt:e.merge}setMerge(r,t.merge),r.keyFn=!1===i?Ze:Array.isArray(i)?keyFieldsFnFromSpecifier(i):"function"===typeof i?i:r.keyFn,d&&Object.keys(d).forEach((function(t){var r=n.getFieldPolicy(e,t,!0),i=d[t];if("function"===typeof i)r.read=i;else{var h=i.keyArgs,y=i.read,g=i.merge;r.keyFn=!1===h?et:Array.isArray(h)?keyArgsFnFromSpecifier(h):"function"===typeof h?h:r.keyFn,"function"===typeof y&&(r.read=y),setMerge(r,g)}r.read&&r.merge&&(r.keyFn=r.keyFn||et)}))},Policies.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var n="ROOT_"+e.toUpperCase(),r=this.rootTypenamesById[n];t!==r&&((0,Ce.kG)(!r||r===e,1),r&&delete this.rootIdsByTypename[r],this.rootIdsByTypename[t]=n,this.rootTypenamesById[n]=t)},Policies.prototype.addPossibleTypes=function(e){var t=this;this.usingPossibleTypes=!0,Object.keys(e).forEach((function(n){t.getSupertypeSet(n,!0),e[n].forEach((function(e){t.getSupertypeSet(e,!0).add(n);var r=e.match(Be);r&&r[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))}))}))},Policies.prototype.getTypePolicy=function(e){var t=this;if(!qe.call(this.typePolicies,e)){var n=this.typePolicies[e]=Object.create(null);n.fields=Object.create(null);var r=this.supertypeMap.get(e);r&&r.size&&r.forEach((function(e){var r=t.getTypePolicy(e),i=r.fields,d=(0,A._T)(r,["fields"]);Object.assign(n,d),Object.assign(n.fields,i)}))}var i=this.toBeAdded[e];return i&&i.length&&i.splice(0).forEach((function(n){t.updateTypePolicy(e,n)})),this.typePolicies[e]},Policies.prototype.getFieldPolicy=function(e,t,n){if(e){var r=this.getTypePolicy(e).fields;return r[t]||n&&(r[t]=Object.create(null))}},Policies.prototype.getSupertypeSet=function(e,t){var n=this.supertypeMap.get(e);return!n&&t&&this.supertypeMap.set(e,n=new Set),n},Policies.prototype.fragmentMatches=function(e,t,n,r){var i=this;if(!e.typeCondition)return!0;if(!t)return!1;var d=e.typeCondition.name.value;if(t===d)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(d))for(var h=this.getSupertypeSet(t,!0),y=[h],g=function maybeEnqueue_1(e){var t=i.getSupertypeSet(e,!1);t&&t.size&&y.indexOf(t)<0&&y.push(t)},v=!(!n||!this.fuzzySubtypes.size),_=0;_<y.length;++_){var b=y[_];if(b.has(d))return h.has(d)||h.add(d),!0;b.forEach(g),v&&_===y.length-1&&selectionSetMatchesResult(e.selectionSet,n,r)&&(v=!1,!0,this.fuzzySubtypes.forEach((function(e,n){var r=t.match(e);r&&r[0]===t&&g(n)})))}return!1},Policies.prototype.hasKeyArgs=function(e,t){var n=this.getFieldPolicy(e,t,!1);return!(!n||!n.keyFn)},Policies.prototype.getStoreFieldName=function(e){var t,n=e.typename,r=e.fieldName,i=this.getFieldPolicy(n,r,!1),d=i&&i.keyFn;if(d&&n)for(var h={typename:n,fieldName:r,field:e.field||null,variables:e.variables},y=argsFromFieldSpecifier(e);d;){var g=d(y,h);if(!Array.isArray(g)){t=g||r;break}d=keyArgsFnFromSpecifier(g)}return void 0===t&&(t=e.field?(0,Ee.vf)(e.field,e.variables):(0,Ee.PT)(r,argsFromFieldSpecifier(e))),!1===t?r:r===helpers_fieldNameFromStoreName(t)?t:r+":"+t},Policies.prototype.readField=function(e,t){var n=e.from;if(n&&(e.field||e.fieldName)){if(void 0===e.typename){var r=t.store.getFieldValue(n,"__typename");r&&(e.typename=r)}var i=this.getStoreFieldName(e),d=helpers_fieldNameFromStoreName(i),h=t.store.getFieldValue(n,i),y=this.getFieldPolicy(e.typename,d,!1),g=y&&y.read;if(g){var v=makeFieldFunctionOptions(this,n,e,t,t.store.getStorage((0,Ee.Yk)(n)?n.__ref:n,i));return Je.withValue(this.cache,g,[h,v])}return h}},Policies.prototype.getMergeFunction=function(e,t,n){var r=this.getFieldPolicy(e,t,!1),i=r&&r.merge;return!i&&n&&(i=(r=this.getTypePolicy(n))&&r.merge),i},Policies.prototype.runMergeFunction=function(e,t,n,r,i){var d=n.field,h=n.typename,y=n.merge;return y===tt?makeMergeObjectsFunction(r.store.getFieldValue)(e,t):y===nt?t:y(e,t,makeFieldFunctionOptions(this,void 0,{typename:h,fieldName:d.name.value,field:d,variables:r.variables},r,i||Object.create(null)))},Policies}();function makeFieldFunctionOptions(e,t,n,r,i){var d=e.getStoreFieldName(n),h=helpers_fieldNameFromStoreName(d),y=n.variables||r.variables,g=r.store,v=g.getFieldValue,_=g.toReference,b=g.canRead;return{args:argsFromFieldSpecifier(n),field:n.field||null,fieldName:h,storeFieldName:d,variables:y,isReference:Ee.Yk,toReference:_,storage:i,cache:e.cache,canRead:b,readField:function readField(n,i){var d="string"===typeof n?{fieldName:n,from:i}:(0,A.pi)({},n);return void 0===d.from&&(d.from=t),void 0===d.variables&&(d.variables=y),e.readField(d,r)},mergeObjects:makeMergeObjectsFunction(v)}}function makeMergeObjectsFunction(e){return function mergeObjects(t,n){if(Array.isArray(t)||Array.isArray(n))throw new Ce.ej(2);if(t&&"object"===policies_typeof(t)&&n&&"object"===policies_typeof(n)){var r=e(t,"__typename"),i=e(n,"__typename");return!(r&&i&&r!==i)&&storeValueIsStoreObject(t)&&storeValueIsStoreObject(n)?(0,A.pi)((0,A.pi)({},t),n):n}return n}}function keyArgsFnFromSpecifier(e){return function(t,n){return t?n.fieldName+":"+JSON.stringify(computeKeyObject(t,e,!1)):n.fieldName}}function keyFieldsFnFromSpecifier(e){var t=new re(Fe);return function(n,r){var i;if(r.selectionSet&&r.fragmentMap){var d=t.lookupArray([r.selectionSet,r.fragmentMap]);i=d.aliasMap||(d.aliasMap=makeAliasMap(r.selectionSet,r.fragmentMap))}var h=r.keyObject=computeKeyObject(n,e,!0,i);return r.typename+":"+JSON.stringify(h)}}function makeAliasMap(e,t){var n=Object.create(null),r=new Set([e]);return r.forEach((function(e){e.selections.forEach((function(e){if((0,Ee.My)(e)){if(e.alias){var i=e.alias.value,d=e.name.value;if(d!==i)(n.aliases||(n.aliases=Object.create(null)))[d]=i}if(e.selectionSet)(n.subsets||(n.subsets=Object.create(null)))[e.name.value]=makeAliasMap(e.selectionSet,t)}else{var h=(0,_e.hi)(e,t);h&&r.add(h.selectionSet)}}))})),n}function computeKeyObject(e,t,n,r){var i,d=Object.create(null);return t.forEach((function(t){if(Array.isArray(t)){if("string"===typeof i){var h=r&&r.subsets,y=h&&h[i];d[i]=computeKeyObject(e[i],t,n,y)}}else{var g=r&&r.aliases,v=g&&g[t]||t;qe.call(e,v)?d[i=t]=e[v]:((0,Ce.kG)(!n,3),i=void 0)}})),d}var ot,it={dataIdFromObject:$e,addTypename:!0,resultCaching:!0,typePolicies:{}},at=function(e){function InMemoryCache(t){void 0===t&&(t={});var n=e.call(this)||this;return n.watches=new Set,n.typenameDocumentCache=new Map,n.makeVar=makeVar,n.txCount=0,n.maybeBroadcastWatch=wrap((function(e,t){return n.broadcastWatch.call(n,e,!!t)}),{makeCacheKey:function makeCacheKey(e){var t=e.optimistic?n.optimisticData:n.data;if(supportsResultCaching(t)){var r=e.optimistic,i=e.rootId,d=e.variables;return t.makeCacheKey(e.query,e.callback,JSON.stringify({optimistic:r,rootId:i,variables:d}))}}}),n.watchDep=dep(),n.config=(0,A.pi)((0,A.pi)({},it),t),n.addTypename=!!n.config.addTypename,n.policies=new rt({cache:n,dataIdFromObject:n.config.dataIdFromObject,possibleTypes:n.config.possibleTypes,typePolicies:n.config.typePolicies}),n.data=new Ue.Root({policies:n.policies,resultCaching:n.config.resultCaching}),n.optimisticData=n.data,n.storeWriter=new Ge(n,n.storeReader=new We({cache:n,addTypename:n.addTypename})),n}return(0,A.ZT)(InMemoryCache,e),InMemoryCache.prototype.restore=function(e){return e&&this.data.replace(e),this},InMemoryCache.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).extract()},InMemoryCache.prototype.read=function(e){var t=e.returnPartialData,n=void 0!==t&&t;try{return this.storeReader.diffQueryAgainstStore({store:e.optimistic?this.optimisticData:this.data,query:e.query,variables:e.variables,rootId:e.rootId,config:this.config,returnPartialData:n}).result||null}catch(r){if(r instanceof we)return null;throw r}},InMemoryCache.prototype.write=function(e){try{return++this.txCount,this.storeWriter.writeToStore({store:this.data,query:e.query,result:e.result,dataId:e.dataId,variables:e.variables})}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},InMemoryCache.prototype.modify=function(e){if(qe.call(e,"id")&&!e.id)return!1;var t=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,t.modify(e.id||"ROOT_QUERY",e.fields)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},InMemoryCache.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore({store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",query:e.query,variables:e.variables,returnPartialData:e.returnPartialData,config:this.config})},InMemoryCache.prototype.watch=function(e){var t=this;return this.watches.size||function recallCache(e){getCacheInfo(e).vars.forEach((function(t){return t.attachCache(e)}))}(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){t.watches.delete(e)&&!t.watches.size&&function forgetCache(e){getCacheInfo(e).vars.forEach((function(t){return t.forgetCache(e)}))}(t),t.watchDep.dirty(e),t.maybeBroadcastWatch.forget(e)}},InMemoryCache.prototype.gc=function(){return this.optimisticData.gc()},InMemoryCache.prototype.retain=function(e,t){return(t?this.optimisticData:this.data).retain(e)},InMemoryCache.prototype.release=function(e,t){return(t?this.optimisticData:this.data).release(e)},InMemoryCache.prototype.identify=function(e){return(0,Ee.Yk)(e)?e.__ref:this.policies.identify(e)[0]},InMemoryCache.prototype.evict=function(e){if(!e.id){if(qe.call(e,"id"))return!1;e=(0,A.pi)((0,A.pi)({},e),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(e)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},InMemoryCache.prototype.reset=function(){return this.data.clear(),this.optimisticData=this.data,this.broadcastWatches(),Promise.resolve()},InMemoryCache.prototype.removeOptimistic=function(e){var t=this.optimisticData.removeLayer(e);t!==this.optimisticData&&(this.optimisticData=t,this.broadcastWatches())},InMemoryCache.prototype.performTransaction=function(e,t){var n=this,r=function perform(t){var r=n,i=r.data,d=r.optimisticData;++n.txCount,t&&(n.data=n.optimisticData=t);try{e(n)}finally{--n.txCount,n.data=i,n.optimisticData=d}},i=!1;"string"===typeof t?(this.optimisticData=this.optimisticData.addLayer(t,r),i=!0):null===t?r(this.data):r(),this.broadcastWatches(i)},InMemoryCache.prototype.transformDocument=function(e){if(this.addTypename){var t=this.typenameDocumentCache.get(e);return t||(t=addTypenameToDocument(e),this.typenameDocumentCache.set(e,t),this.typenameDocumentCache.set(t,t)),t}return e},InMemoryCache.prototype.broadcastWatches=function(e){var t=this;this.txCount||this.watches.forEach((function(n){return t.maybeBroadcastWatch(n,e)}))},InMemoryCache.prototype.broadcastWatch=function(e,t){this.watchDep.dirty(e),this.watchDep(e);var n=this.diff({query:e.query,variables:e.variables,optimistic:e.optimistic});e.optimistic&&t&&(n.fromOptimisticTransaction=!0),e.callback(n)},InMemoryCache}(be),__spreadArrays=function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var d=arguments[t],h=0,y=d.length;h<y;h++,i++)r[i]=d[h];return r},st=function(){function Log(e){var t=e.debug,n=void 0!==t&&t;this.debug=n,this.lines=[]}return Log.prototype.emit=function(e,t){if(e in console){var n=Log.prefix;console[e].apply(console,__spreadArrays([n],t))}},Log.prototype.tailLogs=function(){var e=this;this.lines.forEach((function(t){var n=t[0],r=t[1];return e.emit(n,r)}))},Log.prototype.getLogs=function(){return this.lines},Log.prototype.write=function(e,t){var n=Log.buffer;this.lines=__spreadArrays(this.lines.slice(1-n),[[e,t]]),(this.debug||"log"!==e)&&this.emit(e,t)},Log.prototype.info=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.write("log",e)},Log.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.write("warn",e)},Log.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.write("error",e)},Log.buffer=30,Log.prefix="[apollo-cache-persist]",Log}(),ct=function(){function Cache(e){var t=e.cache,n=e.serialize,r=void 0===n||n;this.cache=t,this.serialize=r}return Cache.prototype.extract=function(){var e=this.cache.extract();return this.serialize&&(e=JSON.stringify(e)),e},Cache.prototype.restore=function(e){this.serialize&&"string"===typeof e&&(e=JSON.parse(e)),null!=e&&this.cache.restore(e)},Cache}(),__awaiter=function(e,t,n,r){return new(n||(n=Promise))((function(i,d){function fulfilled(e){try{step(r.next(e))}catch(t){d(t)}}function rejected(e){try{step(r.throw(e))}catch(t){d(t)}}function step(e){e.done?i(e.value):function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(fulfilled,rejected)}step((r=r.apply(e,t||[])).next())}))},__generator=function(e,t){var n,r,i,d,h={label:0,sent:function sent(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return d={next:verb(0),throw:verb(1),return:verb(2)},"function"===typeof Symbol&&(d[Symbol.iterator]=function(){return this}),d;function verb(d){return function(y){return function step(d){if(n)throw new TypeError("Generator is already executing.");for(;h;)try{if(n=1,r&&(i=2&d[0]?r.return:d[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,d[1])).done)return i;switch(r=0,i&&(d=[2&d[0],i.value]),d[0]){case 0:case 1:i=d;break;case 4:return h.label++,{value:d[1],done:!1};case 5:h.label++,r=d[1],d=[0];continue;case 7:d=h.ops.pop(),h.trys.pop();continue;default:if(!(i=(i=h.trys).length>0&&i[i.length-1])&&(6===d[0]||2===d[0])){h=0;continue}if(3===d[0]&&(!i||d[1]>i[0]&&d[1]<i[3])){h.label=d[1];break}if(6===d[0]&&h.label<i[1]){h.label=i[1],i=d;break}if(i&&h.label<i[2]){h.label=i[2],h.ops.push(d);break}i[2]&&h.ops.pop(),h.trys.pop();continue}d=t.call(e,h)}catch(y){d=[6,y],r=0}finally{n=i=0}if(5&d[0])throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}([d,y])}}},ut=function(){function Storage(e){var t=e.storage,n=e.key,r=void 0===n?"apollo-cache-persist":n;this.storage=t,this.key=r}return Storage.prototype.read=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){return[2,this.storage.getItem(this.key)]}))}))},Storage.prototype.write=function(e){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:return[4,this.storage.setItem(this.key,e.toString())];case 1:return t.sent(),[2]}}))}))},Storage.prototype.purge=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:return[4,this.storage.removeItem(this.key)];case 1:return e.sent(),[2]}}))}))},Storage.prototype.getSize=function(){return __awaiter(this,void 0,void 0,(function(){var e;return __generator(this,(function(t){switch(t.label){case 0:return[4,this.storage.getItem(this.key)];case 1:return null==(e=t.sent())?[2,0]:[2,"string"===typeof e?e.length:null]}}))}))},Storage}(),Persistor_awaiter=function(e,t,n,r){return new(n||(n=Promise))((function(i,d){function fulfilled(e){try{step(r.next(e))}catch(t){d(t)}}function rejected(e){try{step(r.throw(e))}catch(t){d(t)}}function step(e){e.done?i(e.value):function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}(e.value).then(fulfilled,rejected)}step((r=r.apply(e,t||[])).next())}))},Persistor_generator=function(e,t){var n,r,i,d,h={label:0,sent:function sent(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return d={next:verb(0),throw:verb(1),return:verb(2)},"function"===typeof Symbol&&(d[Symbol.iterator]=function(){return this}),d;function verb(d){return function(y){return function step(d){if(n)throw new TypeError("Generator is already executing.");for(;h;)try{if(n=1,r&&(i=2&d[0]?r.return:d[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,d[1])).done)return i;switch(r=0,i&&(d=[2&d[0],i.value]),d[0]){case 0:case 1:i=d;break;case 4:return h.label++,{value:d[1],done:!1};case 5:h.label++,r=d[1],d=[0];continue;case 7:d=h.ops.pop(),h.trys.pop();continue;default:if(!(i=(i=h.trys).length>0&&i[i.length-1])&&(6===d[0]||2===d[0])){h=0;continue}if(3===d[0]&&(!i||d[1]>i[0]&&d[1]<i[3])){h.label=d[1];break}if(6===d[0]&&h.label<i[1]){h.label=i[1],i=d;break}if(i&&h.label<i[2]){h.label=i[2],h.ops.push(d);break}i[2]&&h.ops.pop(),h.trys.pop();continue}d=t.call(e,h)}catch(y){d=[6,y],r=0}finally{n=i=0}if(5&d[0])throw d[1];return{value:d[0]?d[1]:void 0,done:!0}}([d,y])}}},lt=function(){function Persistor(e,t){var n=e.log,r=e.cache,i=e.storage,d=t.maxSize,h=void 0===d?1048576:d;this.log=n,this.cache=r,this.storage=i,this.paused=!1,h&&(this.maxSize=h)}return Persistor.prototype.persist=function(){return Persistor_awaiter(this,void 0,void 0,(function(){var e,t;return Persistor_generator(this,(function(n){switch(n.label){case 0:return n.trys.push([0,4,,5]),e=this.cache.extract(),null!=this.maxSize&&"string"===typeof e&&e.length>this.maxSize&&!this.paused?[4,this.purge()]:[3,2];case 1:return n.sent(),this.paused=!0,[2];case 2:return this.paused?[2]:[4,this.storage.write(e)];case 3:return n.sent(),this.log.info("string"===typeof e?"Persisted cache of size "+e.length+" characters":"Persisted cache"),[3,5];case 4:throw t=n.sent(),this.log.error("Error persisting cache",t),t;case 5:return[2]}}))}))},Persistor.prototype.restore=function(){return Persistor_awaiter(this,void 0,void 0,(function(){var e,t;return Persistor_generator(this,(function(n){switch(n.label){case 0:return n.trys.push([0,5,,6]),[4,this.storage.read()];case 1:return null==(e=n.sent())?[3,3]:[4,this.cache.restore(e)];case 2:return n.sent(),this.log.info("string"===typeof e?"Restored cache of size "+e.length+" characters":"Restored cache"),[3,4];case 3:this.log.info("No stored cache to restore"),n.label=4;case 4:return[3,6];case 5:throw t=n.sent(),this.log.error("Error restoring cache",t),t;case 6:return[2]}}))}))},Persistor.prototype.purge=function(){return Persistor_awaiter(this,void 0,void 0,(function(){var e;return Persistor_generator(this,(function(t){switch(t.label){case 0:return t.trys.push([0,2,,3]),[4,this.storage.purge()];case 1:return t.sent(),this.log.info("Purged cache storage"),[3,3];case 2:throw e=t.sent(),this.log.error("Error purging cache storage",e),e;case 3:return[2]}}))}))},Persistor}(),onCacheWrite=function(e){var t=e.cache;return function(e){var n=t.write,r=t.evict,i=t.modify;return t.write=function(){for(var r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var d=n.apply(t,r);return e(),d},t.evict=function(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var d=r.apply(t,n);return e(),d},t.modify=function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var d=i.apply(t,n);return e(),d},function(){t.write=n,t.evict=r,t.modify=i}}},pt=function(){function Trigger(e,t){var n=this,r=e.log,i=e.persistor;this.fire=function(){n.debounce?(null!=n.timeout&&clearTimeout(n.timeout),n.timeout=setTimeout(n.persist,n.debounce)):n.persist()},this.persist=function(){n.paused||n.persistor.persist()};var d=Trigger.defaultDebounce,h=t.cache,y=t.debounce,g=t.trigger,v=void 0===g?"write":g;if(v)switch(this.debounce=null!=y?y:d,this.persistor=i,this.paused=!1,v){case"write":this.uninstall=onCacheWrite({cache:h})(this.fire);break;case"background":y&&r.warn("Debounce is not recommended with `background` trigger"),this.debounce=y,this.uninstall=function(e){var t=e.log,n=e.cache;return function(e){return t.warn("Trigger option `background` not available on web; using `write` trigger"),onCacheWrite({cache:n})(e)}}({cache:h,log:r})(this.fire);break;default:if("function"!==typeof v)throw Error("Unrecognized trigger option: "+v);this.uninstall=v(this.fire)}}return Trigger.prototype.pause=function(){this.paused=!0},Trigger.prototype.resume=function(){this.paused=!1},Trigger.prototype.remove=function(){this.uninstall&&(this.uninstall(),this.uninstall=null,this.paused=!0)},Trigger.defaultDebounce=1e3,Trigger}(),ft=function(){function CachePersistor(e){if(!e.cache)throw new Error("In order to persist your Apollo Cache, you need to pass in a cache. Please see https://www.apollographql.com/docs/react/basics/caching.html for our default InMemoryCache.");if(!e.storage)throw new Error("In order to persist your Apollo Cache, you need to pass in an underlying storage provider. Please see https://github.com/apollographql/apollo-cache-persist#storage-providers");var t=new st(e),n=new ct(e),r=new ut(e),i=new lt({log:t,cache:n,storage:r},e),d=new pt({log:t,persistor:i},e);this.log=t,this.cache=n,this.storage=r,this.persistor=i,this.trigger=d}return CachePersistor.prototype.persist=function(){return this.persistor.persist()},CachePersistor.prototype.restore=function(){return this.persistor.restore()},CachePersistor.prototype.purge=function(){return this.persistor.purge()},CachePersistor.prototype.pause=function(){this.trigger.pause()},CachePersistor.prototype.resume=function(){this.trigger.resume()},CachePersistor.prototype.remove=function(){this.trigger.remove()},CachePersistor.prototype.getLogs=function(e){if(void 0===e&&(e=!1),!e)return this.log.getLogs();this.log.tailLogs()},CachePersistor.prototype.getSize=function(){return this.storage.getSize()},CachePersistor}(),dt=(ot=function extendStatics(e,t){return(ot=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){function __(){this.constructor=e}ot(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),ht=function(e){function SynchronousCachePersistor(t){var n=e.call(this,t)||this;return n.storage=new yt(t),n.persistor=new mt({log:n.log,cache:n.cache,storage:n.storage},t),n}return dt(SynchronousCachePersistor,e),SynchronousCachePersistor.prototype.restoreSync=function(){this.persistor.restoreSync()},SynchronousCachePersistor}(ft),mt=function(e){function SynchronousPersistor(t,n){var r=t.log,i=t.cache,d=t.storage;return e.call(this,{log:r,cache:i,storage:d},n)||this}return dt(SynchronousPersistor,e),SynchronousPersistor.prototype.restoreSync=function(){this.cache.restore(this.storage.readSync())},SynchronousPersistor}(lt),yt=function(e){function SynchronousStorage(t){return e.call(this,t)||this}return dt(SynchronousStorage,e),SynchronousStorage.prototype.readSync=function(){return this.storage.getItem(this.key)},SynchronousStorage}(ut),gt=(function(){function AsyncStorageWrapper(e){this.storage=e}AsyncStorageWrapper.prototype.getItem=function(e){return this.storage.getItem(e)},AsyncStorageWrapper.prototype.removeItem=function(e){return this.storage.removeItem(e)},AsyncStorageWrapper.prototype.setItem=function(e,t){return this.storage.setItem(e,t)}}(),function(){function IonicStorageWrapper(e){this.storage=e}IonicStorageWrapper.prototype.getItem=function(e){return this.storage.get(e)},IonicStorageWrapper.prototype.removeItem=function(e){return this.storage.remove(e)},IonicStorageWrapper.prototype.setItem=function(e,t){return this.storage.set(e,t)}}(),function(){function LocalForageWrapper(e){this.storage=e}LocalForageWrapper.prototype.getItem=function(e){return this.storage.getItem(e)},LocalForageWrapper.prototype.removeItem=function(e){return this.storage.removeItem(e)},LocalForageWrapper.prototype.setItem=function(e,t){var n=this;return new Promise((function(r,i){n.storage.setItem(e,t).then((function(){return r()})).catch((function(){return i()}))}))}}(),function(){function LocalStorageWrapper(e){this.storage=e}return LocalStorageWrapper.prototype.getItem=function(e){return this.storage.getItem(e)},LocalStorageWrapper.prototype.removeItem=function(e){return this.storage.removeItem(e)},LocalStorageWrapper.prototype.setItem=function(e,t){return this.storage.setItem(e,t)},LocalStorageWrapper}()),vt=(function(){function MMKVStorageWrapper(e){this.storage=e}MMKVStorageWrapper.prototype.getItem=function(e){return this.storage.getItem(e)},MMKVStorageWrapper.prototype.removeItem=function(e){var t=this;return new Promise((function(n,r){t.storage.removeItem(e).then((function(){return n()})).catch((function(){return r()}))}))},MMKVStorageWrapper.prototype.setItem=function(e,t){var n=this;return new Promise((function(r,i){n.storage.setItem(e,t).then((function(){return r()})).catch((function(){return i()}))}))}}(),function(){function SessionStorageWrapper(e){this.storage=e}SessionStorageWrapper.prototype.getItem=function(e){return this.storage.getItem(e)},SessionStorageWrapper.prototype.removeItem=function(e){return this.storage.removeItem(e)},SessionStorageWrapper.prototype.setItem=function(e,t){return this.storage.setItem(e,t)}}(),new at);!function persistCacheSync(e){new ht(e).restoreSync()}({cache:vt,storage:new gt(window.localStorage),key:"web-persist",maxSize:1048576});var _t=__webpack_require__(3574),bt=__webpack_require__(741),wt=__webpack_require__(2753),Et=__webpack_require__.n(wt),kt=function serializeFetchParameter(e,t){var n;try{n=JSON.stringify(e)}catch(i){var r=new Ce.ej(23);throw r.parseError=i,r}return n},St=function throwServerError(e,t,n){var r=new Error(n);throw r.name="ServerError",r.response=e,r.statusCode=e.status,r.result=t,r},Ct=Object.prototype.hasOwnProperty;function print(e){return visit(e,{leave:Ot})}var Ot={Name:function Name(e){return e.value},Variable:function Variable(e){return"$"+e.name},Document:function Document(e){return join(e.definitions,"\n\n")+"\n"},OperationDefinition:function OperationDefinition(e){var t=e.operation,n=e.name,r=printer_wrap("(",join(e.variableDefinitions,", "),")"),i=join(e.directives," "),d=e.selectionSet;return n||i||r||"query"!==t?join([t,join([n,r]),i,d]," "):d},VariableDefinition:function VariableDefinition(e){var t=e.variable,n=e.type,r=e.defaultValue,i=e.directives;return t+": "+n+printer_wrap(" = ",r)+printer_wrap(" ",join(i," "))},SelectionSet:function SelectionSet(e){return block(e.selections)},Field:function Field(e){var t=e.alias,n=e.name,r=e.arguments,i=e.directives,d=e.selectionSet,h=printer_wrap("",t,": ")+n,y=h+printer_wrap("(",join(r,", "),")");return y.length>80&&(y=h+printer_wrap("(\n",indent(join(r,"\n")),"\n)")),join([y,join(i," "),d]," ")},Argument:function Argument(e){return e.name+": "+e.value},FragmentSpread:function FragmentSpread(e){return"..."+e.name+printer_wrap(" ",join(e.directives," "))},InlineFragment:function InlineFragment(e){var t=e.typeCondition,n=e.directives,r=e.selectionSet;return join(["...",printer_wrap("on ",t),join(n," "),r]," ")},FragmentDefinition:function FragmentDefinition(e){var t=e.name,n=e.typeCondition,r=e.variableDefinitions,i=e.directives,d=e.selectionSet;return"fragment ".concat(t).concat(printer_wrap("(",join(r,", "),")")," ")+"on ".concat(n," ").concat(printer_wrap("",join(i," ")," "))+d},IntValue:function IntValue(e){return e.value},FloatValue:function FloatValue(e){return e.value},StringValue:function StringValue(e,t){var n=e.value;return e.block?function printBlockString(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=-1===e.indexOf("\n"),i=" "===e[0]||"\t"===e[0],d='"'===e[e.length-1],h="\\"===e[e.length-1],y=!r||d||h||n,g="";return!y||r&&i||(g+="\n"+t),g+=t?e.replace(/\n/g,"\n"+t):e,y&&(g+="\n"),'"""'+g.replace(/"""/g,'\\"""')+'"""'}(n,"description"===t?"":" "):JSON.stringify(n)},BooleanValue:function BooleanValue(e){return e.value?"true":"false"},NullValue:function NullValue(){return"null"},EnumValue:function EnumValue(e){return e.value},ListValue:function ListValue(e){return"["+join(e.values,", ")+"]"},ObjectValue:function ObjectValue(e){return"{"+join(e.fields,", ")+"}"},ObjectField:function ObjectField(e){return e.name+": "+e.value},Directive:function Directive(e){return"@"+e.name+printer_wrap("(",join(e.arguments,", "),")")},NamedType:function NamedType(e){return e.name},ListType:function ListType(e){return"["+e.type+"]"},NonNullType:function NonNullType(e){return e.type+"!"},SchemaDefinition:addDescription((function(e){var t=e.directives,n=e.operationTypes;return join(["schema",join(t," "),block(n)]," ")})),OperationTypeDefinition:function OperationTypeDefinition(e){return e.operation+": "+e.type},ScalarTypeDefinition:addDescription((function(e){return join(["scalar",e.name,join(e.directives," ")]," ")})),ObjectTypeDefinition:addDescription((function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return join(["type",t,printer_wrap("implements ",join(n," & ")),join(r," "),block(i)]," ")})),FieldDefinition:addDescription((function(e){var t=e.name,n=e.arguments,r=e.type,i=e.directives;return t+(hasMultilineItems(n)?printer_wrap("(\n",indent(join(n,"\n")),"\n)"):printer_wrap("(",join(n,", "),")"))+": "+r+printer_wrap(" ",join(i," "))})),InputValueDefinition:addDescription((function(e){var t=e.name,n=e.type,r=e.defaultValue,i=e.directives;return join([t+": "+n,printer_wrap("= ",r),join(i," ")]," ")})),InterfaceTypeDefinition:addDescription((function(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return join(["interface",t,printer_wrap("implements ",join(n," & ")),join(r," "),block(i)]," ")})),UnionTypeDefinition:addDescription((function(e){var t=e.name,n=e.directives,r=e.types;return join(["union",t,join(n," "),r&&0!==r.length?"= "+join(r," | "):""]," ")})),EnumTypeDefinition:addDescription((function(e){var t=e.name,n=e.directives,r=e.values;return join(["enum",t,join(n," "),block(r)]," ")})),EnumValueDefinition:addDescription((function(e){return join([e.name,join(e.directives," ")]," ")})),InputObjectTypeDefinition:addDescription((function(e){var t=e.name,n=e.directives,r=e.fields;return join(["input",t,join(n," "),block(r)]," ")})),DirectiveDefinition:addDescription((function(e){var t=e.name,n=e.arguments,r=e.repeatable,i=e.locations;return"directive @"+t+(hasMultilineItems(n)?printer_wrap("(\n",indent(join(n,"\n")),"\n)"):printer_wrap("(",join(n,", "),")"))+(r?" repeatable":"")+" on "+join(i," | ")})),SchemaExtension:function SchemaExtension(e){var t=e.directives,n=e.operationTypes;return join(["extend schema",join(t," "),block(n)]," ")},ScalarTypeExtension:function ScalarTypeExtension(e){return join(["extend scalar",e.name,join(e.directives," ")]," ")},ObjectTypeExtension:function ObjectTypeExtension(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return join(["extend type",t,printer_wrap("implements ",join(n," & ")),join(r," "),block(i)]," ")},InterfaceTypeExtension:function InterfaceTypeExtension(e){var t=e.name,n=e.interfaces,r=e.directives,i=e.fields;return join(["extend interface",t,printer_wrap("implements ",join(n," & ")),join(r," "),block(i)]," ")},UnionTypeExtension:function UnionTypeExtension(e){var t=e.name,n=e.directives,r=e.types;return join(["extend union",t,join(n," "),r&&0!==r.length?"= "+join(r," | "):""]," ")},EnumTypeExtension:function EnumTypeExtension(e){var t=e.name,n=e.directives,r=e.values;return join(["extend enum",t,join(n," "),block(r)]," ")},InputObjectTypeExtension:function InputObjectTypeExtension(e){var t=e.name,n=e.directives,r=e.fields;return join(["extend input",t,join(n," "),block(r)]," ")}};function addDescription(e){return function(t){return join([t.description,e(t)],"\n")}}function join(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return null!==(t=null===e||void 0===e?void 0:e.filter((function(e){return e})).join(n))&&void 0!==t?t:""}function block(e){return printer_wrap("{\n",indent(join(e,"\n")),"\n}")}function printer_wrap(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return null!=t&&""!==t?e+t+n:""}function indent(e){return printer_wrap(" ",e.replace(/\n/g,"\n "))}function isMultiline(e){return-1!==e.indexOf("\n")}function hasMultilineItems(e){return null!=e&&e.some(isMultiline)}var Tt={http:{includeQuery:!0,includeExtensions:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}};function fromError(e){return new(Et())((function(t){t.error(e)}))}var At=function createHttpLink(e){void 0===e&&(e={});var t=e.uri,n=void 0===t?"/graphql":t,r=e.fetch,i=e.includeExtensions,d=e.useGETForQueries,h=e.includeUnusedVariables,y=void 0!==h&&h,g=(0,A._T)(e,["uri","fetch","includeExtensions","useGETForQueries","includeUnusedVariables"]);!function checkFetcher(e){if(!e&&"undefined"===typeof fetch)throw new Ce.ej(22)}(r),r||(r=fetch);var v={http:{includeExtensions:i},options:g.fetchOptions,credentials:g.credentials,headers:g.headers};return new bt.i((function(e){var t=function selectURI(e,t){return e.getContext().uri||("function"===typeof t?t(e):t||"/graphql")}(e,n),i=e.getContext(),h={};if(i.clientAwareness){var g=i.clientAwareness,_=g.name,b=g.version;_&&(h["apollographql-client-name"]=_),b&&(h["apollographql-client-version"]=b)}var w,E=(0,A.pi)((0,A.pi)({},h),i.headers),k={http:i.http,options:i.fetchOptions,credentials:i.credentials,headers:E},S=function selectHttpOptionsAndBody(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=(0,A.pi)((0,A.pi)({},t.options),{headers:t.headers,credentials:t.credentials}),d=t.http||{};n.forEach((function(e){i=(0,A.pi)((0,A.pi)((0,A.pi)({},i),e.options),{headers:(0,A.pi)((0,A.pi)({},i.headers),e.headers)}),e.credentials&&(i.credentials=e.credentials),d=(0,A.pi)((0,A.pi)({},d),e.http)}));var h=e.operationName,y=e.extensions,g=e.variables,v=e.query,_={operationName:h,variables:g};return d.includeExtensions&&(_.extensions=y),d.includeQuery&&(_.query=print(v)),{options:i,body:_}}(e,Tt,v,k),C=S.options,O=S.body;if(O.variables&&!y){var T=new Set(Object.keys(O.variables));visit(e.query,{Variable:function Variable(e,t,n){n&&"VariableDefinition"!==n.kind&&T.delete(e.name.value)}}),T.size&&(O.variables=(0,A.pi)({},O.variables),T.forEach((function(e){delete O.variables[e]})))}if(!C.signal){var x=function createSignalIfSupported(){if("undefined"===typeof AbortController)return{controller:!1,signal:!1};var e=new AbortController;return{controller:e,signal:e.signal}}(),I=x.controller,D=x.signal;(w=I)&&(C.signal=D)}if(d&&!e.query.definitions.some((function definitionIsMutation(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation}))&&(C.method="GET"),"GET"===C.method){var L=function rewriteURIForGET(e,t){var n=[],r=function addQueryParam(e,t){n.push(e+"="+encodeURIComponent(t))};if("query"in t&&r("query",t.query),t.operationName&&r("operationName",t.operationName),t.variables){var i=void 0;try{i=kt(t.variables)}catch(P){return{parseError:P}}r("variables",i)}if(t.extensions){var d=void 0;try{d=kt(t.extensions)}catch(P){return{parseError:P}}r("extensions",d)}var h="",y=e,g=e.indexOf("#");-1!==g&&(h=e.substr(g),y=e.substr(0,g));var v=-1===y.indexOf("?")?"?":"&";return{newURI:y+v+n.join("&")+h}}(t,O),N=L.newURI,P=L.parseError;if(P)return fromError(P);t=N}else try{C.body=kt(O)}catch(P){return fromError(P)}return new(Et())((function(n){return r(t,C).then((function(t){return e.setContext({response:t}),t})).then(function parseAndCheckHttpResponse(e){return function(t){return t.text().then((function(e){try{return JSON.parse(e)}catch(r){var n=r;throw n.name="ServerParseError",n.response=t,n.statusCode=t.status,n.bodyText=e,n}})).then((function(n){return t.status>=300&&St(t,n,"Response not successful: Received status code "+t.status),Array.isArray(n)||Ct.call(n,"data")||Ct.call(n,"errors")||St(t,n,"Server response was missing for query '"+(Array.isArray(e)?e.map((function(e){return e.operationName})):e.operationName)+"'."),n}))}}(e)).then((function(e){return n.next(e),n.complete(),e})).catch((function(e){"AbortError"!==e.name&&(e.result&&e.result.errors&&e.result.data&&n.next(e.result),n.error(e))})),function(){w&&w.abort()}}))}))},xt=function(e){function HttpLink(t){void 0===t&&(t={});var n=e.call(this,At(t).request)||this;return n.options=t,n}return(0,A.ZT)(HttpLink,e),HttpLink}(bt.i),It=bt.i.execute;function compact(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=Object.create(null);return e.forEach((function(e){e&&Object.keys(e).forEach((function(t){var r=e[t];void 0!==r&&(n[t]=r)}))})),n}function graphQLResultHasError(e){return e.errors&&e.errors.length>0||!1}function isNonEmptyArray(e){return Array.isArray(e)&&e.length>0}function iterateObserversSafely(e,t,n){var r=[];e.forEach((function(e){return e[t]&&r.push(e)})),r.forEach((function(e){return e[t](n)}))}function fixObservableSubclass(e){function set(t){Object.defineProperty(e,t,{value:Et()})}return"function"===typeof Symbol&&Symbol.species&&set(Symbol.species),set("@@species"),e}function Concast_isPromiseLike(e){return e&&"function"===typeof e.then}var Dt=function(e){function Concast(t){var n=e.call(this,(function(e){return n.addObserver(e),function(){return n.removeObserver(e)}}))||this;return n.observers=new Set,n.addCount=0,n.promise=new Promise((function(e,t){n.resolve=e,n.reject=t})),n.handlers={next:function next(e){null!==n.sub&&(n.latest=["next",e],iterateObserversSafely(n.observers,"next",e))},error:function error(e){var t=n.sub;null!==t&&(t&&Promise.resolve().then((function(){return t.unsubscribe()})),n.sub=null,n.latest=["error",e],n.reject(e),iterateObserversSafely(n.observers,"error",e))},complete:function complete(){if(null!==n.sub){var e=n.sources.shift();e?Concast_isPromiseLike(e)?e.then((function(e){return n.sub=e.subscribe(n.handlers)})):n.sub=e.subscribe(n.handlers):(n.sub=null,n.latest&&"next"===n.latest[0]?n.resolve(n.latest[1]):n.resolve(),iterateObserversSafely(n.observers,"complete"))}}},n.cancel=function(e){n.reject(e),n.sources=[],n.handlers.complete()},n.promise.catch((function(e){})),"function"===typeof t&&(t=[new(Et())(t)]),Concast_isPromiseLike(t)?t.then((function(e){return n.start(e)}),n.handlers.error):n.start(t),n}return(0,A.ZT)(Concast,e),Concast.prototype.start=function(e){void 0===this.sub&&(this.sources=Array.from(e),this.handlers.complete())},Concast.prototype.deliverLastMessage=function(e){if(this.latest){var t=this.latest[0],n=e[t];n&&n.call(e,this.latest[1]),null===this.sub&&"next"===t&&e.complete&&e.complete()}},Concast.prototype.addObserver=function(e){this.observers.has(e)||(this.deliverLastMessage(e),this.observers.add(e),++this.addCount)},Concast.prototype.removeObserver=function(e,t){this.observers.delete(e)&&--this.addCount<1&&!t&&this.handlers.error(new Error("Observable cancelled prematurely"))},Concast.prototype.cleanup=function(e){var t=this,n=!1,r=function once(){n||(n=!0,t.observers.delete(i),e())},i={next:r,error:r,complete:r},d=this.addCount;this.addObserver(i),this.addCount=d},Concast}(Et());function asyncMap(e,t,n){return new(Et())((function(r){var i=r.next,d=r.error,h=r.complete,y=0,g=!1,v={then:function then(e){return new Promise((function(t){return t(e())}))}};function makeCallback(e,t){return e?function(t){++y;var n=function both(){return e(t)};v=v.then(n,n).then((function(e){--y,i&&i.call(r,e),g&&_.complete()}),(function(e){throw--y,e})).catch((function(e){d&&d.call(r,e)}))}:function(e){return t&&t.call(r,e)}}var _={next:makeCallback(t,i),error:makeCallback(n,d),complete:function complete(){g=!0,y||h&&h.call(r)}},b=e.subscribe(_);return function(){return b.unsubscribe()}}))}fixObservableSubclass(Dt);var Lt,Nt=function(e){function ApolloError(t){var n=t.graphQLErrors,r=t.networkError,i=t.errorMessage,d=t.extraInfo,h=e.call(this,i)||this;return h.graphQLErrors=n||[],h.networkError=r||null,h.message=i||function generateErrorMessage(e){var t="";return isNonEmptyArray(e.graphQLErrors)&&e.graphQLErrors.forEach((function(e){var n=e?e.message:"Error message not found.";t+=n+"\n"})),e.networkError&&(t+=e.networkError.message+"\n"),t=t.replace(/\n$/,"")}(h),h.extraInfo=d,h.__proto__=ApolloError.prototype,h}return(0,A.ZT)(ApolloError,e),ApolloError}(Error);function isNetworkRequestInFlight(e){return!!e&&e<7}!function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error"}(Lt||(Lt={}));var Pt=Object.prototype.toString;function cloneDeep(e){return cloneDeepHelper(e)}function cloneDeepHelper(e,t){switch(Pt.call(e)){case"[object Array]":if((t=t||new Map).has(e))return t.get(e);var n=e.slice(0);return t.set(e,n),n.forEach((function(e,r){n[r]=cloneDeepHelper(e,t)})),n;case"[object Object]":if((t=t||new Map).has(e))return t.get(e);var r=Object.create(Object.getPrototypeOf(e));return t.set(e,r),Object.keys(e).forEach((function(n){r[n]=cloneDeepHelper(e[n],t)})),r;default:return e}}var Rt=function(){function Reobserver(e,t,n,r){this.observer=e,this.options=t,this.fetch=n,this.shouldFetch=r}return Reobserver.prototype.reobserve=function(e,t){e?this.updateOptions(e):this.updatePolling();var n=this.fetch(this.options,t);return this.concast&&this.concast.removeObserver(this.observer,!0),n.addObserver(this.observer),(this.concast=n).promise},Reobserver.prototype.updateOptions=function(e){return Object.assign(this.options,compact(e)),this.updatePolling(),this},Reobserver.prototype.stop=function(){this.concast&&(this.concast.removeObserver(this.observer),delete this.concast),this.pollingInfo&&(clearTimeout(this.pollingInfo.timeout),this.options.pollInterval=0,this.updatePolling())},Reobserver.prototype.updatePolling=function(){var e=this,t=this.pollingInfo,n=this.options.pollInterval;if(n){if((!t||t.interval!==n)&&((0,Ce.kG)(n,20),!1!==this.shouldFetch)){(t||(this.pollingInfo={})).interval=n;var r=function maybeFetch(){e.pollingInfo&&(e.shouldFetch&&e.shouldFetch()?e.reobserve({fetchPolicy:"network-only",nextFetchPolicy:e.options.fetchPolicy||"cache-first"},Lt.poll).then(i,i):i())},i=function poll(){var t=e.pollingInfo;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(r,t.interval))};i()}}else t&&(clearTimeout(t.timeout),delete this.pollingInfo)},Reobserver}(),jt=function(e){function ObservableQuery(t){var n=t.queryManager,r=t.queryInfo,i=t.options,d=e.call(this,(function(e){return d.onSubscribe(e)}))||this;d.observers=new Set,d.subscriptions=new Set,d.observer={next:function next(e){(d.lastError||d.isDifferentFromLastResult(e))&&(d.updateLastResult(e),iterateObserversSafely(d.observers,"next",e))},error:function error(e){d.updateLastResult((0,A.pi)((0,A.pi)({},d.lastResult),{error:e,errors:e.graphQLErrors,networkStatus:Lt.error,loading:!1})),iterateObserversSafely(d.observers,"error",d.lastError=e)}},d.isTornDown=!1,d.options=i,d.queryId=n.generateQueryId();var h=(0,Oe.$H)(i.query);return d.queryName=h&&h.name&&h.name.value,d.queryManager=n,d.queryInfo=r,d}return(0,A.ZT)(ObservableQuery,e),Object.defineProperty(ObservableQuery.prototype,"variables",{get:function get(){return this.options.variables},enumerable:!1,configurable:!0}),ObservableQuery.prototype.result=function(){var e=this;return new Promise((function(t,n){var r={next:function next(n){t(n),e.observers.delete(r),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout((function(){i.unsubscribe()}),0)},error:n},i=e.subscribe(r)}))},ObservableQuery.prototype.getCurrentResult=function(e){void 0===e&&(e=!0);var t=this.lastResult,n=this.queryInfo.networkStatus||t&&t.networkStatus||Lt.ready,r=(0,A.pi)((0,A.pi)({},t),{loading:isNetworkRequestInFlight(n),networkStatus:n});if(this.isTornDown)return r;var i=this.options.fetchPolicy,d=void 0===i?"cache-first":i;if("no-cache"===d||"network-only"===d)delete r.partial;else if(!r.data||!this.queryManager.transform(this.options.query).hasForcedResolvers){var h=this.queryInfo.getDiff();r.data=h.complete||this.options.returnPartialData?h.result:void 0,h.complete?(r.networkStatus!==Lt.loading||"cache-first"!==d&&"cache-only"!==d||(r.networkStatus=Lt.ready,r.loading=!1),delete r.partial):r.partial=!0}return e&&this.updateLastResult(r),r},ObservableQuery.prototype.isDifferentFromLastResult=function(e){return!equality_esm_equal(this.lastResultSnapshot,e)},ObservableQuery.prototype.getLastResult=function(){return this.lastResult},ObservableQuery.prototype.getLastError=function(){return this.lastError},ObservableQuery.prototype.resetLastResults=function(){delete this.lastResult,delete this.lastResultSnapshot,delete this.lastError,this.isTornDown=!1},ObservableQuery.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},ObservableQuery.prototype.refetch=function(e){var t={pollInterval:0},n=this.options.fetchPolicy;return"no-cache"!==n&&"cache-and-network"!==n&&(t.fetchPolicy="network-only",t.nextFetchPolicy=n||"cache-first"),e&&!equality_esm_equal(this.options.variables,e)&&(t.variables=this.options.variables=(0,A.pi)((0,A.pi)({},this.options.variables),e)),this.newReobserver(!1).reobserve(t,Lt.refetch)},ObservableQuery.prototype.fetchMore=function(e){var t=this,n=(0,A.pi)((0,A.pi)({},e.query?e:(0,A.pi)((0,A.pi)((0,A.pi)({},this.options),e),{variables:(0,A.pi)((0,A.pi)({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"}),r=this.queryManager.generateQueryId();return n.notifyOnNetworkStatusChange&&(this.queryInfo.networkStatus=Lt.fetchMore,this.observe()),this.queryManager.fetchQuery(r,n,Lt.fetchMore).then((function(r){var i=r.data,d=e.updateQuery;return d?t.updateQuery((function(e){return d(e,{fetchMoreResult:i,variables:n.variables})})):t.queryManager.cache.writeQuery({query:n.query,variables:n.variables,data:i}),r})).finally((function(){t.queryManager.stopQuery(r),t.reobserve()}))},ObservableQuery.prototype.subscribeToMore=function(e){var t=this,n=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:function next(n){var r=e.updateQuery;r&&t.updateQuery((function(e,t){var i=t.variables;return r(e,{subscriptionData:n,variables:i})}))},error:function error(t){e.onError&&e.onError(t)}});return this.subscriptions.add(n),function(){t.subscriptions.delete(n)&&n.unsubscribe()}},ObservableQuery.prototype.setOptions=function(e){return this.reobserve(e)},ObservableQuery.prototype.setVariables=function(e){if(equality_esm_equal(this.variables,e))return this.observers.size?this.result():Promise.resolve();if(this.options.variables=e,!this.observers.size)return Promise.resolve();var t=this.options.fetchPolicy,n=void 0===t?"cache-first":t,r={fetchPolicy:n,variables:e};return"cache-first"!==n&&"no-cache"!==n&&"network-only"!==n&&(r.fetchPolicy="cache-and-network",r.nextFetchPolicy=n),this.reobserve(r,Lt.setVariables)},ObservableQuery.prototype.updateQuery=function(e){var t,n=this.queryManager,r=e(n.cache.diff({query:this.options.query,variables:this.variables,previousResult:null===(t=this.lastResult)||void 0===t?void 0:t.data,returnPartialData:!0,optimistic:!1}).result,{variables:this.variables});r&&(n.cache.writeQuery({query:this.options.query,data:r,variables:this.variables}),n.broadcastQueries())},ObservableQuery.prototype.startPolling=function(e){this.getReobserver().updateOptions({pollInterval:e})},ObservableQuery.prototype.stopPolling=function(){this.reobserver&&this.reobserver.updateOptions({pollInterval:0})},ObservableQuery.prototype.updateLastResult=function(e){var t=this.lastResult;return this.lastResult=e,this.lastResultSnapshot=this.queryManager.assumeImmutableResults?e:cloneDeep(e),isNonEmptyArray(e.errors)||delete this.lastError,t},ObservableQuery.prototype.onSubscribe=function(e){var t=this;if(e===this.observer)return function(){};try{var n=e._subscription._observer;n&&!n.error&&(n.error=defaultSubscriptionObserverErrorCallback)}catch(ee){}var r=!this.observers.size;return this.observers.add(e),this.lastError?e.error&&e.error(this.lastError):this.lastResult&&e.next&&e.next(this.lastResult),r&&this.reobserve().catch((function(e){})),function(){t.observers.delete(e)&&!t.observers.size&&t.tearDownQuery()}},ObservableQuery.prototype.getReobserver=function(){return this.reobserver||(this.reobserver=this.newReobserver(!0))},ObservableQuery.prototype.newReobserver=function(e){var t=this,n=this.queryManager,r=this.queryId;return n.setObservableQuery(this),new Rt(this.observer,e?this.options:(0,A.pi)({},this.options),(function(e,i){return n.setObservableQuery(t),n.fetchQueryObservable(r,e,i)}),!n.ssrMode&&function(){return!isNetworkRequestInFlight(t.queryInfo.networkStatus)})},ObservableQuery.prototype.reobserve=function(e,t){return this.isTornDown=!1,this.getReobserver().reobserve(e,t)},ObservableQuery.prototype.observe=function(){this.observer.next(this.getCurrentResult(!1))},ObservableQuery.prototype.hasObservers=function(){return this.observers.size>0},ObservableQuery.prototype.tearDownQuery=function(){this.isTornDown||(this.reobserver&&(this.reobserver.stop(),delete this.reobserver),this.subscriptions.forEach((function(e){return e.unsubscribe()})),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},ObservableQuery}(Et());function defaultSubscriptionObserverErrorCallback(e){}fixObservableSubclass(jt);var Mt=function(){function LocalState(e){var t=e.cache,n=e.client,r=e.resolvers,i=e.fragmentMatcher;this.cache=t,n&&(this.client=n),r&&this.addResolvers(r),i&&this.setFragmentMatcher(i)}return LocalState.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach((function(e){t.resolvers=mergeDeep(t.resolvers,e)})):this.resolvers=mergeDeep(this.resolvers,e)},LocalState.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},LocalState.prototype.getResolvers=function(){return this.resolvers||{}},LocalState.prototype.runResolvers=function(e){var t=e.document,n=e.remoteResult,r=e.context,i=e.variables,d=e.onlyRunForcedResolvers,h=void 0!==d&&d;return(0,A.mG)(this,void 0,void 0,(function(){return(0,A.Jh)(this,(function(e){return t?[2,this.resolveDocument(t,n.data,r,i,this.fragmentMatcher,h).then((function(e){return(0,A.pi)((0,A.pi)({},n),{data:e.result})}))]:[2,n]}))}))},LocalState.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},LocalState.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},LocalState.prototype.clientQuery=function(e){return hasDirectives(["client"],e)&&this.resolvers?e:null},LocalState.prototype.serverQuery=function(e){return function removeClientSetsFromDocument(e){(0,Oe.A$)(e);var t=removeDirectivesFromDocument([{test:function test(e){return"client"===e.name.value},remove:!0}],e);return t&&(t=visit(t,{FragmentDefinition:{enter:function enter(e){if(e.selectionSet&&e.selectionSet.selections.every((function(e){return(0,Ee.My)(e)&&"__typename"===e.name.value})))return null}}})),t}(e)},LocalState.prototype.prepareContext=function(e){var t=this.cache;return(0,A.pi)((0,A.pi)({},e),{cache:t,getCacheKey:function getCacheKey(e){return t.identify(e)}})},LocalState.prototype.addExportedVariables=function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),(0,A.mG)(this,void 0,void 0,(function(){return(0,A.Jh)(this,(function(r){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(n),t).then((function(e){return(0,A.pi)((0,A.pi)({},t),e.exportedVariables)}))]:[2,(0,A.pi)({},t)]}))}))},LocalState.prototype.shouldForceResolvers=function(e){var t=!1;return visit(e,{Directive:{enter:function enter(e){if("client"===e.name.value&&e.arguments&&(t=e.arguments.some((function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value}))))return Se}}}),t},LocalState.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:buildQueryFromSelectionSet(e),variables:t,returnPartialData:!0,optimistic:!1}).result},LocalState.prototype.resolveDocument=function(e,t,n,r,i,d){return void 0===n&&(n={}),void 0===r&&(r={}),void 0===i&&(i=function fragmentMatcher(){return!0}),void 0===d&&(d=!1),(0,A.mG)(this,void 0,void 0,(function(){var h,y,g,v,_,b,w,E,k;return(0,A.Jh)(this,(function(S){return h=(0,Oe.p$)(e),y=(0,Oe.kU)(e),g=(0,_e.F)(y),v=h.operation,_=v?v.charAt(0).toUpperCase()+v.slice(1):"Query",w=(b=this).cache,E=b.client,k={fragmentMap:g,context:(0,A.pi)((0,A.pi)({},n),{cache:w,client:E}),variables:r,fragmentMatcher:i,defaultOperationType:_,exportedVariables:{},onlyRunForcedResolvers:d},[2,this.resolveSelectionSet(h.selectionSet,t,k).then((function(e){return{result:e,exportedVariables:k.exportedVariables}}))]}))}))},LocalState.prototype.resolveSelectionSet=function(e,t,n){return(0,A.mG)(this,void 0,void 0,(function(){var r,i,d,h,y,g=this;return(0,A.Jh)(this,(function(v){return r=n.fragmentMap,i=n.context,d=n.variables,h=[t],y=function execute(e){return(0,A.mG)(g,void 0,void 0,(function(){var y,g;return(0,A.Jh)(this,(function(v){return shouldInclude(e,d)?(0,Ee.My)(e)?[2,this.resolveField(e,t,n).then((function(t){var n;"undefined"!==typeof t&&h.push(((n={})[(0,Ee.u2)(e)]=t,n))}))]:((0,Ee.Ao)(e)?y=e:(y=r[e.name.value],(0,Ce.kG)(y,11)),y&&y.typeCondition&&(g=y.typeCondition.name.value,n.fragmentMatcher(t,g,i))?[2,this.resolveSelectionSet(y.selectionSet,t,n).then((function(e){h.push(e)}))]:[2]):[2]}))}))},[2,Promise.all(e.selections.map(y)).then((function(){return mergeDeepArray(h)}))]}))}))},LocalState.prototype.resolveField=function(e,t,n){return(0,A.mG)(this,void 0,void 0,(function(){var r,i,d,h,y,g,v,_,b,w=this;return(0,A.Jh)(this,(function(E){return r=n.variables,i=e.name.value,d=(0,Ee.u2)(e),h=i!==d,y=t[d]||t[i],g=Promise.resolve(y),n.onlyRunForcedResolvers&&!this.shouldForceResolvers(e)||(v=t.__typename||n.defaultOperationType,(_=this.resolvers&&this.resolvers[v])&&(b=_[h?i:d])&&(g=Promise.resolve(Je.withValue(this.cache,b,[t,(0,Ee.NC)(e,r),n.context,{field:e,fragmentMap:n.fragmentMap}])))),[2,g.then((function(t){return void 0===t&&(t=y),e.directives&&e.directives.forEach((function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach((function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(n.exportedVariables[e.value.value]=t)}))})),e.selectionSet?null==t?t:Array.isArray(t)?w.resolveSubSelectedArray(e,t,n):e.selectionSet?w.resolveSelectionSet(e.selectionSet,t,n):void 0:t}))]}))}))},LocalState.prototype.resolveSubSelectedArray=function(e,t,n){var r=this;return Promise.all(t.map((function(t){return null===t?null:Array.isArray(t)?r.resolveSubSelectedArray(e,t,n):e.selectionSet?r.resolveSelectionSet(e.selectionSet,t,n):void 0})))},LocalState}(),Ft=new(Fe?WeakMap:Map);function wrapDestructiveCacheMethod(e,t){var n=e[t];"function"===typeof n&&(e[t]=function(){return Ft.set(e,(Ft.get(e)+1)%1e15),n.apply(this,arguments)})}function cancelNotifyTimeout(e){e.notifyTimeout&&(clearTimeout(e.notifyTimeout),e.notifyTimeout=void 0)}var qt=function(){function QueryInfo(e){this.cache=e,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.subscriptions=new Set,this.stopped=!1,this.dirty=!1,this.diff=null,this.observableQuery=null,Ft.has(e)||(Ft.set(e,0),wrapDestructiveCacheMethod(e,"evict"),wrapDestructiveCacheMethod(e,"modify"),wrapDestructiveCacheMethod(e,"reset"))}return QueryInfo.prototype.init=function(e){var t=e.networkStatus||Lt.loading;return this.variables&&this.networkStatus!==Lt.loading&&!equality_esm_equal(this.variables,e.variables)&&(t=Lt.setVariables),equality_esm_equal(e.variables,this.variables)||(this.diff=null),Object.assign(this,{document:e.document,variables:e.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:t}),e.observableQuery&&this.setObservableQuery(e.observableQuery),e.lastRequestId&&(this.lastRequestId=e.lastRequestId),this},QueryInfo.prototype.reset=function(){cancelNotifyTimeout(this),this.diff=null,this.dirty=!1},QueryInfo.prototype.getDiff=function(e){return void 0===e&&(e=this.variables),this.diff&&equality_esm_equal(e,this.variables)?this.diff:(this.updateWatch(this.variables=e),this.diff=this.cache.diff({query:this.document,variables:e,returnPartialData:!0,optimistic:!0}))},QueryInfo.prototype.setDiff=function(e){var t=this,n=this.diff;this.diff=e,this.dirty||(e&&e.result)===(n&&n.result)||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout((function(){return t.notify()}),0)))},QueryInfo.prototype.setObservableQuery=function(e){var t=this;e!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=e,e?(e.queryInfo=this,this.listeners.add(this.oqListener=function(){t.getDiff().fromOptimisticTransaction?e.observe():e.reobserve()})):delete this.oqListener)},QueryInfo.prototype.notify=function(){var e=this;cancelNotifyTimeout(this),this.shouldNotify()&&this.listeners.forEach((function(t){return t(e)})),this.dirty=!1},QueryInfo.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if(isNetworkRequestInFlight(this.networkStatus)&&this.observableQuery){var e=this.observableQuery.options.fetchPolicy;if("cache-only"!==e&&"cache-and-network"!==e)return!1}return!0},QueryInfo.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.reset(),this.cancel(),delete this.cancel,this.subscriptions.forEach((function(e){return e.unsubscribe()}));var e=this.observableQuery;e&&e.stopPolling()}},QueryInfo.prototype.cancel=function(){},QueryInfo.prototype.updateWatch=function(e){var t=this;void 0===e&&(e=this.variables);var n=this.observableQuery;n&&"no-cache"===n.options.fetchPolicy||this.lastWatch&&this.lastWatch.query===this.document&&equality_esm_equal(e,this.lastWatch.variables)||(this.cancel(),this.cancel=this.cache.watch(this.lastWatch={query:this.document,variables:e,optimistic:!0,callback:function callback(e){return t.setDiff(e)}}))},QueryInfo.prototype.shouldWrite=function(e,t){var n=this.lastWrite;return!(n&&n.dmCount===Ft.get(this.cache)&&equality_esm_equal(t,n.variables)&&equality_esm_equal(e.data,n.result.data))},QueryInfo.prototype.markResult=function(e,t,n){var r=this;this.graphQLErrors=isNonEmptyArray(e.errors)?e.errors:[],this.reset(),"no-cache"===t.fetchPolicy?this.diff={result:e.data,complete:!0}:!this.stopped&&n&&(shouldWriteResult(e,t.errorPolicy)?this.cache.performTransaction((function(n){if(r.shouldWrite(e,t.variables))n.writeQuery({query:r.document,data:e.data,variables:t.variables}),r.lastWrite={result:e,variables:t.variables,dmCount:Ft.get(r.cache)};else if(r.diff&&r.diff.complete)return void(e.data=r.diff.result);var i=n.diff({query:r.document,variables:t.variables,returnPartialData:!0,optimistic:!0});r.stopped||r.updateWatch(t.variables),r.diff=i,i.complete&&(e.data=i.result)})):this.lastWrite=void 0)},QueryInfo.prototype.markReady=function(){return this.networkError=null,this.networkStatus=Lt.ready},QueryInfo.prototype.markError=function(e){return this.networkStatus=Lt.error,this.lastWrite=void 0,this.reset(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},QueryInfo}();function shouldWriteResult(e,t){void 0===t&&(t="none");var n="ignore"===t||"all"===t,r=!graphQLResultHasError(e);return!r&&n&&e.data&&(r=!0),r}var Bt=Object.prototype.hasOwnProperty,Qt=function(){function QueryManager(e){var t=e.cache,n=e.link,r=e.queryDeduplication,i=void 0!==r&&r,d=e.onBroadcast,h=e.ssrMode,y=void 0!==h&&h,g=e.clientAwareness,v=void 0===g?{}:g,_=e.localState,b=e.assumeImmutableResults;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new(Fe?WeakMap:Map),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new Map,this.cache=t,this.link=n,this.queryDeduplication=i,this.clientAwareness=v,this.localState=_||new Mt({cache:t}),this.ssrMode=y,this.assumeImmutableResults=!!b,(this.onBroadcast=d)&&(this.mutationStore=Object.create(null))}return QueryManager.prototype.stop=function(){var e=this;this.queries.forEach((function(t,n){e.stopQueryNoBroadcast(n)})),this.cancelPendingFetches(new Ce.ej(12))},QueryManager.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach((function(t){return t(e)})),this.fetchCancelFns.clear()},QueryManager.prototype.mutate=function(e){var t=e.mutation,n=e.variables,r=e.optimisticResponse,i=e.updateQueries,d=e.refetchQueries,h=void 0===d?[]:d,y=e.awaitRefetchQueries,g=void 0!==y&&y,v=e.update,_=e.errorPolicy,b=void 0===_?"none":_,w=e.fetchPolicy,E=e.context,k=void 0===E?{}:E;return(0,A.mG)(this,void 0,void 0,(function(){var e,d,y;return(0,A.Jh)(this,(function(_){switch(_.label){case 0:return(0,Ce.kG)(t,13),(0,Ce.kG)(!w||"no-cache"===w,14),e=this.generateMutationId(),t=this.transform(t).document,n=this.getVariables(t,n),this.transform(t).hasClientExports?[4,this.localState.addExportedVariables(t,n,k)]:[3,2];case 1:n=_.sent(),_.label=2;case 2:return d=this.mutationStore&&(this.mutationStore[e]={mutation:t,variables:n,loading:!0,error:null}),r&&this.markMutationOptimistic(r,{mutationId:e,document:t,variables:n,errorPolicy:b,updateQueries:i,update:v}),this.broadcastQueries(),y=this,[2,new Promise((function(_,E){var S,C;y.getObservableFromLink(t,(0,A.pi)((0,A.pi)({},k),{optimisticResponse:r}),n,!1).subscribe({next:function next(r){if(graphQLResultHasError(r)&&"none"===b)C=new Nt({graphQLErrors:r.errors});else{if(d&&(d.loading=!1,d.error=null),"no-cache"!==w)try{y.markMutationResult({mutationId:e,result:r,document:t,variables:n,errorPolicy:b,updateQueries:i,update:v})}catch(h){return void(C=new Nt({networkError:h}))}S=r}},error:function error(t){d&&(d.loading=!1,d.error=t),r&&y.cache.removeOptimistic(e),y.broadcastQueries(),E(new Nt({networkError:t}))},complete:function complete(){if(C&&d&&(d.loading=!1,d.error=C),r&&y.cache.removeOptimistic(e),y.broadcastQueries(),C)E(C);else{"function"===typeof h&&(h=h(S));var t=[];isNonEmptyArray(h)&&h.forEach((function(e){if("string"===typeof e)y.queries.forEach((function(n){var r=n.observableQuery;r&&r.hasObservers()&&r.queryName===e&&t.push(r.refetch())}));else{var n={query:e.query,variables:e.variables,fetchPolicy:"network-only"};e.context&&(n.context=e.context),t.push(y.query(n))}})),Promise.all(g?t:[]).then((function(){"ignore"===b&&S&&graphQLResultHasError(S)&&delete S.errors,_(S)}),E)}}})}))]}}))}))},QueryManager.prototype.markMutationResult=function(e,t){var n=this;if(void 0===t&&(t=this.cache),shouldWriteResult(e.result,e.errorPolicy)){var r=[{result:e.result.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}],i=e.updateQueries;i&&this.queries.forEach((function(d,h){var y=d.observableQuery,g=y&&y.queryName;if(g&&Bt.call(i,g)){var v=i[g],_=n.queries.get(h),b=_.document,w=_.variables,E=t.diff({query:b,variables:w,returnPartialData:!0,optimistic:!1}),k=E.result;if(E.complete&&k){var S=v(k,{mutationResult:e.result,queryName:b&&(0,Oe.rY)(b)||void 0,queryVariables:w});S&&r.push({result:S,dataId:"ROOT_QUERY",query:b,variables:w})}}})),t.performTransaction((function(t){r.forEach((function(e){return t.write(e)}));var n=e.update;n&&n(t,e.result)}),null)}},QueryManager.prototype.markMutationOptimistic=function(e,t){var n=this,r="function"===typeof e?e(t.variables):e;return this.cache.recordOptimisticTransaction((function(e){try{n.markMutationResult((0,A.pi)((0,A.pi)({},t),{result:{data:r}}),e)}catch(i){}}),t.mutationId)},QueryManager.prototype.fetchQuery=function(e,t,n){return this.fetchQueryObservable(e,t,n).promise},QueryManager.prototype.getQueryStore=function(){var e=Object.create(null);return this.queries.forEach((function(t,n){e[n]={variables:t.variables,networkStatus:t.networkStatus,networkError:t.networkError,graphQLErrors:t.graphQLErrors}})),e},QueryManager.prototype.resetErrors=function(e){var t=this.queries.get(e);t&&(t.networkError=void 0,t.graphQLErrors=[])},QueryManager.prototype.transform=function(e){var t=this.transformCache;if(!t.has(e)){var n=this.cache.transformDocument(e),r=function removeConnectionDirectiveFromDocument(e){return removeDirectivesFromDocument([Ae],(0,Oe.A$)(e))}(this.cache.transformForLink(n)),i=this.localState.clientQuery(n),d=r&&this.localState.serverQuery(r),h={document:n,hasClientExports:hasClientExports(n),hasForcedResolvers:this.localState.shouldForceResolvers(n),clientQuery:i,serverQuery:d,defaultVars:(0,Oe.O4)((0,Oe.$H)(n))},y=function add(e){e&&!t.has(e)&&t.set(e,h)};y(e),y(n),y(i),y(d)}return t.get(e)},QueryManager.prototype.getVariables=function(e,t){return(0,A.pi)((0,A.pi)({},this.transform(e).defaultVars),t)},QueryManager.prototype.watchQuery=function(e){"undefined"===typeof(e=(0,A.pi)((0,A.pi)({},e),{variables:this.getVariables(e.query,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var t=new qt(this.cache),n=new jt({queryManager:this,queryInfo:t,options:e});return this.queries.set(n.queryId,t),t.init({document:e.query,observableQuery:n,variables:e.variables}),n},QueryManager.prototype.query=function(e){var t=this;(0,Ce.kG)(e.query,15),(0,Ce.kG)("Document"===e.query.kind,16),(0,Ce.kG)(!e.returnPartialData,17),(0,Ce.kG)(!e.pollInterval,18);var n=this.generateQueryId();return this.fetchQuery(n,e).finally((function(){return t.stopQuery(n)}))},QueryManager.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},QueryManager.prototype.generateRequestId=function(){return this.requestIdCounter++},QueryManager.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},QueryManager.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},QueryManager.prototype.stopQueryInStoreNoBroadcast=function(e){var t=this.queries.get(e);t&&t.stop()},QueryManager.prototype.clearStore=function(){return this.cancelPendingFetches(new Ce.ej(19)),this.queries.forEach((function(e){e.observableQuery?e.networkStatus=Lt.loading:e.stop()})),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset()},QueryManager.prototype.resetStore=function(){var e=this;return this.clearStore().then((function(){return e.reFetchObservableQueries()}))},QueryManager.prototype.reFetchObservableQueries=function(e){var t=this;void 0===e&&(e=!1);var n=[];return this.queries.forEach((function(r,i){var d=r.observableQuery;if(d&&d.hasObservers()){var h=d.options.fetchPolicy;d.resetLastResults(),"cache-only"===h||!e&&"standby"===h||n.push(d.refetch()),t.getQuery(i).setDiff(null)}})),this.broadcastQueries(),Promise.all(n)},QueryManager.prototype.setObservableQuery=function(e){this.getQuery(e.queryId).setObservableQuery(e)},QueryManager.prototype.startGraphQLSubscription=function(e){var t=this,n=e.query,r=e.fetchPolicy,i=e.errorPolicy,d=e.variables,h=e.context,y=void 0===h?{}:h;n=this.transform(n).document,d=this.getVariables(n,d);var g=function makeObservable(e){return t.getObservableFromLink(n,y,e,!1).map((function(d){if("no-cache"!==r&&(shouldWriteResult(d,i)&&t.cache.write({query:n,result:d.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries()),graphQLResultHasError(d))throw new Nt({graphQLErrors:d.errors});return d}))};if(this.transform(n).hasClientExports){var v=this.localState.addExportedVariables(n,d,y).then(g);return new(Et())((function(e){var t=null;return v.then((function(n){return t=n.subscribe(e)}),e.error),function(){return t&&t.unsubscribe()}}))}return g(d)},QueryManager.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},QueryManager.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},QueryManager.prototype.removeQuery=function(e){this.fetchCancelFns.delete(e),this.getQuery(e).stop(),this.queries.delete(e)},QueryManager.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach((function(e){return e.notify()}))},QueryManager.prototype.getLocalState=function(){return this.localState},QueryManager.prototype.getObservableFromLink=function(e,t,n,r){var i,d,h=this;void 0===r&&(r=null!==(i=null===t||void 0===t?void 0:t.queryDeduplication)&&void 0!==i?i:this.queryDeduplication);var y=this.transform(e).serverQuery;if(y){var g=this.inFlightLinkObservables,v=this.link,_={query:y,variables:n,operationName:(0,Oe.rY)(y)||void 0,context:this.prepareContext((0,A.pi)((0,A.pi)({},t),{forceFetch:!r}))};if(t=_.context,r){var b=g.get(y)||new Map;g.set(y,b);var w=JSON.stringify(n);if(!(d=b.get(w))){var E=new Dt([It(v,_)]);b.set(w,d=E),E.cleanup((function(){b.delete(w)&&b.size<1&&g.delete(y)}))}}else d=new Dt([It(v,_)])}else d=new Dt([Et().of({data:{}})]),t=this.prepareContext(t);var k=this.transform(e).clientQuery;return k&&(d=asyncMap(d,(function(e){return h.localState.runResolvers({document:k,remoteResult:e,context:t,variables:n})}))),d},QueryManager.prototype.getResultsFromLink=function(e,t,n){var r=e.lastRequestId=this.generateRequestId();return asyncMap(this.getObservableFromLink(e.document,n.context,n.variables),(function(i){var d=isNonEmptyArray(i.errors);if(r>=e.lastRequestId){if(d&&"none"===n.errorPolicy)throw e.markError(new Nt({graphQLErrors:i.errors}));e.markResult(i,n,t),e.markReady()}var h={data:i.data,loading:!1,networkStatus:e.networkStatus||Lt.ready};return d&&"ignore"!==n.errorPolicy&&(h.errors=i.errors),h}),(function(t){var n=function isApolloError(e){return e.hasOwnProperty("graphQLErrors")}(t)?t:new Nt({networkError:t});throw r>=e.lastRequestId&&e.markError(n),n}))},QueryManager.prototype.fetchQueryObservable=function(e,t,n){var r=this;void 0===n&&(n=Lt.loading);var i=this.transform(t.query).document,d=this.getVariables(i,t.variables),h=this.getQuery(e),y=h.networkStatus,g=t.fetchPolicy,v=void 0===g?"cache-first":g,_=t.errorPolicy,b=void 0===_?"none":_,w=t.returnPartialData,E=void 0!==w&&w,k=t.notifyOnNetworkStatusChange,S=void 0!==k&&k,C=t.context,O=void 0===C?{}:C;("cache-first"===v||"cache-and-network"===v||"network-only"===v||"no-cache"===v)&&S&&"number"===typeof y&&y!==n&&isNetworkRequestInFlight(n)&&("cache-first"!==v&&(v="cache-and-network"),E=!0);var T=Object.assign({},t,{query:i,variables:d,fetchPolicy:v,errorPolicy:b,returnPartialData:E,notifyOnNetworkStatusChange:S,context:O}),A=function fromVariables(e){return T.variables=e,r.fetchQueryByPolicy(h,T,n)};this.fetchCancelFns.set(e,(function(e){Promise.resolve().then((function(){return x.cancel(e)}))}));var x=new Dt(this.transform(T.query).hasClientExports?this.localState.addExportedVariables(T.query,T.variables,T.context).then(A):A(T.variables));return x.cleanup((function(){r.fetchCancelFns.delete(e);var n=t.nextFetchPolicy;n&&(t.nextFetchPolicy=void 0,t.fetchPolicy="function"===typeof n?n.call(t,t.fetchPolicy||"cache-first"):n)})),x},QueryManager.prototype.fetchQueryByPolicy=function(e,t,n){var r=this,i=t.query,d=t.variables,h=t.fetchPolicy,y=t.errorPolicy,g=t.returnPartialData,v=t.context;e.init({document:i,variables:d,networkStatus:n});var _=function readCache(){return e.getDiff(d)},b=function resultsFromCache(t,n){void 0===n&&(n=e.networkStatus||Lt.loading);var h=t.result;var y=function fromData(e){return Et().of((0,A.pi)({data:e,loading:isNetworkRequestInFlight(n),networkStatus:n},t.complete?null:{partial:!0}))};return r.transform(i).hasForcedResolvers?r.localState.runResolvers({document:i,remoteResult:{data:h},context:v,variables:d,onlyRunForcedResolvers:!0}).then((function(e){return y(e.data)})):y(h)},w=function resultsFromLink(t){return r.getResultsFromLink(e,t,{variables:d,context:v,fetchPolicy:h,errorPolicy:y})};switch(h){default:case"cache-first":return(E=_()).complete?[b(E,e.markReady())]:g?[b(E),w(!0)]:[w(!0)];case"cache-and-network":var E;return(E=_()).complete||g?[b(E),w(!0)]:[w(!0)];case"cache-only":return[b(_(),e.markReady())];case"network-only":return[w(!0)];case"no-cache":return[w(!1)];case"standby":return[]}},QueryManager.prototype.getQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new qt(this.cache)),this.queries.get(e)},QueryManager.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return(0,A.pi)((0,A.pi)({},t),{clientAwareness:this.clientAwareness})},QueryManager}();function ApolloClient_typeof(e){return(ApolloClient_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(e){return typeof e}:function _typeof(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function mergeOptions(e,t){return compact(e,t,t.variables&&{variables:(0,A.pi)((0,A.pi)({},e.variables),t.variables)})}var Kt=function(){function ApolloClient(e){var t=this;this.defaultOptions={},this.resetStoreCallbacks=[],this.clearStoreCallbacks=[];var n=e.uri,r=e.credentials,i=e.headers,d=e.cache,h=e.ssrMode,y=void 0!==h&&h,g=e.ssrForceFetchDelay,v=void 0===g?0:g,_=e.connectToDevTools,b=void 0===_?"object"===("undefined"===typeof window?"undefined":ApolloClient_typeof(window))&&!window.__APOLLO_CLIENT__&&!1:_,w=e.queryDeduplication,E=void 0===w||w,k=e.defaultOptions,S=e.assumeImmutableResults,C=void 0!==S&&S,O=e.resolvers,T=e.typeDefs,A=e.fragmentMatcher,x=e.name,I=e.version,D=e.link;if(D||(D=n?new xt({uri:n,credentials:r,headers:i}):bt.i.empty()),!d)throw new Ce.ej(9);this.link=D,this.cache=d,this.disableNetworkFetches=y||v>0,this.queryDeduplication=E,this.defaultOptions=k||{},this.typeDefs=T,v&&setTimeout((function(){return t.disableNetworkFetches=!1}),v),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),b&&"object"===("undefined"===typeof window?"undefined":ApolloClient_typeof(window))&&(window.__APOLLO_CLIENT__=this),this.version="3.3.20",this.localState=new Mt({cache:d,client:this,resolvers:O,fragmentMatcher:A}),this.queryManager=new Qt({cache:this.cache,link:this.link,queryDeduplication:E,ssrMode:y,clientAwareness:{name:x,version:I},localState:this.localState,assumeImmutableResults:C,onBroadcast:b?function(){t.devToolsHookCb&&t.devToolsHookCb({action:{},state:{queries:t.queryManager.getQueryStore(),mutations:t.queryManager.mutationStore||{}},dataWithOptimisticResults:t.cache.extract(!0)})}:void 0})}return ApolloClient.prototype.stop=function(){this.queryManager.stop()},ApolloClient.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=mergeOptions(this.defaultOptions.watchQuery,e)),!this.disableNetworkFetches||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e=(0,A.pi)((0,A.pi)({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},ApolloClient.prototype.query=function(e){return this.defaultOptions.query&&(e=mergeOptions(this.defaultOptions.query,e)),(0,Ce.kG)("cache-and-network"!==e.fetchPolicy,10),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=(0,A.pi)((0,A.pi)({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},ApolloClient.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=mergeOptions(this.defaultOptions.mutate,e)),this.queryManager.mutate(e)},ApolloClient.prototype.subscribe=function(e){return this.queryManager.startGraphQLSubscription(e)},ApolloClient.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,t)},ApolloClient.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.cache.readFragment(e,t)},ApolloClient.prototype.writeQuery=function(e){this.cache.writeQuery(e),this.queryManager.broadcastQueries()},ApolloClient.prototype.writeFragment=function(e){this.cache.writeFragment(e),this.queryManager.broadcastQueries()},ApolloClient.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},ApolloClient.prototype.__requestRaw=function(e){return It(this.link,e)},ApolloClient.prototype.resetStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore()})).then((function(){return Promise.all(e.resetStoreCallbacks.map((function(e){return e()})))})).then((function(){return e.reFetchObservableQueries()}))},ApolloClient.prototype.clearStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore()})).then((function(){return Promise.all(e.clearStoreCallbacks.map((function(e){return e()})))}))},ApolloClient.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter((function(t){return t!==e}))}},ApolloClient.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter((function(t){return t!==e}))}},ApolloClient.prototype.reFetchObservableQueries=function(e){return this.queryManager.reFetchObservableQueries(e)},ApolloClient.prototype.extract=function(e){return this.cache.extract(e)},ApolloClient.prototype.restore=function(e){return this.cache.restore(e)},ApolloClient.prototype.addResolvers=function(e){this.localState.addResolvers(e)},ApolloClient.prototype.setResolvers=function(e){this.localState.setResolvers(e)},ApolloClient.prototype.getResolvers=function(){return this.localState.getResolvers()},ApolloClient.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},ApolloClient.prototype.setLink=function(e){this.link=this.queryManager.link=e},ApolloClient}();function onError(e){return new bt.i((function(t,n){return new(Et())((function(r){var i,d,h;try{i=n(t).subscribe({next:function next(i){i.errors&&(h=e({graphQLErrors:i.errors,response:i,operation:t,forward:n}))?d=h.subscribe({next:r.next.bind(r),error:r.error.bind(r),complete:r.complete.bind(r)}):r.next(i)},error:function error(i){(h=e({operation:t,networkError:i,graphQLErrors:i&&i.result&&i.result.errors,forward:n}))?d=h.subscribe({next:r.next.bind(r),error:r.error.bind(r),complete:r.complete.bind(r)}):r.error(i)},complete:function complete(){h||r.complete.bind(r)()}})}catch(y){e({networkError:y,operation:t,forward:n}),r.error(y)}return function(){i&&i.unsubscribe(),d&&i.unsubscribe()}}))}))}!function(e){function ErrorLink(t){var n=e.call(this)||this;return n.link=onError(t),n}(0,A.ZT)(ErrorLink,e),ErrorLink.prototype.request=function(e,t){return this.link.request(e,t)}}(bt.i);var Vt="_appolo",Ut=document.querySelector('meta[name="api_url"]'),Ht=Ut?Ut.getAttribute("content"):"".concat(window.location.protocol,"//").concat(window.location.host,"/graphql"),zt=new _t.ApolloLink((function(e,t){return e.setContext({headers:{apikey:"".concat("LgPaRkVPYa8IY7x3AjbLC8wx6oPPSlO01yPflFXecvQ")}}),t(e)}));console.info("%cAPI: ".concat(Ht),"color:green;font-size:10px");var Wt=new Kt({cache:vt,link:(0,_t.from)([zt,new _t.ApolloLink((function(e,t){return e.setContext({start:new Date}),t(e)})),onError((function(e){var t=e.operation,n=e.response,r=e.graphQLErrors,i=e.networkError;e.forward;if("IgnoreErrorsQuery"===t.operationName)return console.error("".concat(Vt,": IgnoreErrorsQuery")),void(n.errors=null);r&&r.forEach((function(e){var t=e.message,n=e.locations,r=e.path;return console.error("".concat(Vt,": [GraphQL error]: Message: ").concat(t,", Location: ").concat(n,", Path: ").concat(r))})),i&&console.error("".concat(Vt,": [Network error] ").concat(i.statusCode)),console.error("".concat(Vt,": [APOLLO_ERROR]")),window.dispatchEvent(new Event(O.APOLLO_ERROR))})),new _t.ApolloLink((function(e,t){return t(e).map((function(t){var n=new Date-e.getContext().start;return console.log("".concat(Vt,": operation ").concat(e.operationName," took ").concat(n," ms to complete")),window.dispatchEvent(new Event(O.ONLINE)),t}))})),new xt({uri:Ht,fetch:function(e){function fetch(){return e.apply(this,arguments)}return fetch.toString=function(){return e.toString()},fetch}((function(){return fetch.apply(void 0,arguments)})),credentials:"same-origin",connectToDevTools:!1})])});function _page_typeof(e){return(_page_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(e){return typeof e}:function _typeof(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _page_defineProperties(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function _page_setPrototypeOf(e,t){return(_page_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(e,t){return e.__proto__=t,e})(e,t)}function _page_createSuper(e){var t=function _page_isNativeReflectConstruct(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var n,r=_page_getPrototypeOf(e);if(t){var i=_page_getPrototypeOf(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return _page_possibleConstructorReturn(this,n)}}function _page_possibleConstructorReturn(e,t){return!t||"object"!==_page_typeof(t)&&"function"!==typeof t?_page_assertThisInitialized(e):t}function _page_assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function _page_getPrototypeOf(e){return(_page_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _page_defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Gt=document,Yt=document.body,Jt=function(e){!function _page_inherits(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&_page_setPrototypeOf(e,t)}(Page,e);var t=_page_createSuper(Page);function Page(e){var n;!function _page_classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,Page),_page_defineProperty(_page_assertThisInitialized(n=t.call(this,e)),"state",{type:[],shown:!1,Title:"Loading ...",loading:!0,error:!1,current:null,ID:null,URLSegment:null,ClassName:"Page",CSSClass:null,Summary:null,Link:null,URL:null,HTML:null,Elements:[],page:null}),_page_defineProperty(_page_assertThisInitialized(n),"isOnline",(function(){return Yt.classList.contains("is-online")})),_page_defineProperty(_page_assertThisInitialized(n),"load",(function(e){var t=_page_assertThisInitialized(n);return new Promise((function(n,r){var i=X('query Pages {\n readPages(Link: "'.concat(e,'") {\n edges {\n node {\n __typename\n _id\n ID\n Title\n ClassName\n CSSClass\n Summary\n Link\n URLSegment\n HTML\n }\n }\n }\n }'));if(t.isOnline())t.state.loading||t.setState(t.empty_state),Wt.query({query:i,fetchPolicy:t.isOnline()?"no-cache":"cache-first"}).then((function(e){var d=e.data;Wt.writeQuery({query:i,data:d}),t.processResponse(d)?(console.log("".concat(t.name,": got the server response")),n(d)):(console.log("".concat(t.name,": not found")),r({status:404}))})).catch((function(e){r({status:500,error:e})}));else{var d=Wt.readQuery({query:i});d&&t.processResponse(d)?(console.log("".concat(t.name,": Offline cached response")),n(d)):(console.log("".concat(t.name,": No offline response")),t.setState(Object.assign(t.empty_state,{Title:"Offline",CSSClass:"graphql__status-523",Summary:"You're Offline. The page is not available now.",loading:!1})),r({status:523}))}}))})),_page_defineProperty(_page_assertThisInitialized(n),"processResponse",(function(e){var t=_page_assertThisInitialized(n);if(!e.readPages.edges.length)return console.log("".concat(t.name,": not found")),t.setState(Object.assign(t.empty_state,{Title:"Not Found",CSSClass:"graphql__status-404",Summary:"The page is not found.",loading:!1})),!1;var r=e.readPages.edges[0].node;return t.setState({ID:r.ID,Title:r.Title,ClassName:r.ClassName,URLSegment:r.URLSegment,CSSClass:r.CSSClass,Summary:r.Summary,Link:r.Link,HTML:r.HTML,Elements:[],loading:!1}),!0})),_page_defineProperty(_page_assertThisInitialized(n),"getHtml",(function(e){return{__html:function decodeHtmlEntity(e){return(new DOMParser).parseFromString(e,"text/html").documentElement.textContent}(e)}}));var r=_page_assertThisInitialized(n);return r.name=r.constructor.name,r.empty_state=r.state,console.log("".concat(r.name,": init")),n}return function _page_createClass(e,t,n){return t&&_page_defineProperties(e.prototype,t),n&&_page_defineProperties(e,n),e}(Page,[{key:"componentDidUpdate",value:function componentDidUpdate(){this.state.Title&&(document.title=this.state.Title)}},{key:"render",value:function render(){var e=this,t=(e.name,"elemental-area graphql__page page-".concat(e.state.CSSClass," url-").concat(e.state.URLSegment)),n="";if(e.state.HTML?(console.log("".concat(e.name,": HTML only")),n=e.state.HTML):e.state.Elements.length?(console.log("".concat(e.name,": render")),e.state.Elements.map((function(e){n+=e.node.Render}))):e.state.Summary&&e.state.Summary.length&&(console.log("".concat(e.name,": summary only")),n='<div class="summary">'.concat(e.state.Summary,"</div>")),e.state.loading){Gt.getElementById("PageLoading");n='<div class="loading">Loading ...</div>'}return React.createElement("div",{className:t,dangerouslySetInnerHTML:e.getHtml(n)})}}]),Page}(r.Component),Xt=(function(e){var t="_main.visibility",n=document,r=n.body;n.addEventListener("visibilitychange",(function(){"hidden"===n.visibilityState?(console.log("".concat(t,": Tab: hidden")),r.classList.add("is-hidden"),r.classList.remove("is-focused"),e.dispatchEvent(new Event(O.TABHIDDEN))):(console.log("".concat(t,": Tab: focused")),r.classList.add("is-focused"),r.classList.remove("is-hidden"),e.dispatchEvent(new Event(O.TABFOCUSED)))}))}(window),function(e){var t,n,r="_main.touch",i=document,d=i.body,h=function SET_TOUCH_SCREEN(i,h){n||h===t||(i?(console.log("".concat(r,": Touch screen enabled")),d.classList.add("is-touch"),d.classList.remove("is-mouse"),e.dispatchEvent(new Event(O.TOUCHENABLE))):(console.log("".concat(r,": Touch screen disabled")),d.classList.add("is-mouse"),d.classList.remove("is-touch"),e.dispatchEvent(new Event(O.TOUCHDISABLED))),t=h,n||(n=setTimeout((function(){clearTimeout(n),n=null}),500)))};h("ontouchstart"in e||navigator.MaxTouchPoints>0||navigator.msMaxTouchPoints>0||e.matchMedia("(hover: none)").matches,"init"),i.addEventListener("touchend",(function(e){var t=!1;"click"!==e.type&&(t=!0),h(t,"click-touchend")})),i.addEventListener("click",(function(e){var t=!1;"click"!==e.type&&(t=!0),h(t,"click-touchend")}))}(window),__webpack_require__(3180));!function(e){var t,n="_main.online",r=document,i=r.body,d=r.querySelector('meta[name="ping"]'),h=!1,y=function UPDATE_ONLINE_STATUS(r){h||(h=!0,r?(i.classList.contains("is-offline")?(console.log("".concat(n,": back Online")),e.dispatchEvent(new Event(O.BACKONLINE))):(console.log("".concat(n,": Online")),e.dispatchEvent(new Event(O.ONLINE))),i.classList.add("is-online"),i.classList.remove("is-offline"),d&&!t&&(console.log("".concat(n,": SESSION_PING is active")),t=setInterval(v,3e5))):(console.log("".concat(n,": Offline")),i.classList.add("is-offline"),i.classList.remove("is-online"),clearInterval(t),t=null,e.dispatchEvent(new Event(O.OFFLINE))),h=!1)},g=!1,v=function SESSION_PING(){if(!g&&!i.classList.contains("is-offline")){var e=d.getAttribute("content");console.log("".concat(n,": session ping")),g=!0,Xt.post(e,{}).then((function(e){g=!1,y(!0)})).catch((function(e){console.error(e),console.warn("".concat(n,": SESSION_PING failed")),g=!1,y(!1)}))}},_=function navigatorStateUpdate(){"undefined"!==typeof navigator.onLine&&(navigator.onLine?y(!0):y(!1))};e.addEventListener("".concat(O.OFFLINE),(function(){y(!1)})),e.addEventListener("".concat(O.ONLINE),(function(){y(!0)})),e.addEventListener("".concat(O.LOADED),_),e.addEventListener("".concat(O.AJAX),_)}(window);function _main_css_screen_size_toConsumableArray(e){return function _main_css_screen_size_arrayWithoutHoles(e){if(Array.isArray(e))return _main_css_screen_size_arrayLikeToArray(e)}(e)||function _main_css_screen_size_iterableToArray(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function _main_css_screen_size_unsupportedIterableToArray(e,t){if(!e)return;if("string"===typeof e)return _main_css_screen_size_arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _main_css_screen_size_arrayLikeToArray(e,t)}(e)||function _main_css_screen_size_nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _main_css_screen_size_arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}!function(e){var t=document,n=t.body,r=function detectCSSScreenSize(){var r,i=t.createElement("div");i.className="env-test",n.appendChild(i);var d=_main_css_screen_size_toConsumableArray(T.ENVS).reverse(),h=d.shift();(r=n.classList).remove.apply(r,_main_css_screen_size_toConsumableArray(d));for(var y=0;y<d.length;++y){var g=d[y];if(i.classList.add("d-".concat(g,"-none")),"none"===e.getComputedStyle(i).display){h=g,n.classList.add("".concat(h));break}}var v=!0;return e.innerWidth>e.innerHeight?(n.classList.add("landscape"),n.classList.remove("portrait")):(v=!1,n.classList.add("portrait"),n.classList.remove("landscape")),console.log("".concat("_main.css-screen-size",": screen size detected ").concat(h," | landscape ").concat(v)),n.removeChild(i),h};e.addEventListener("".concat(O.LOADED),r),e.addEventListener("".concat(O.RESIZE),r)}(window);var $t=__webpack_require__(3458),Zt="top",en="bottom",tn="right",nn="left",rn="auto",an=[Zt,en,tn,nn],sn="start",cn="end",un="clippingParents",ln="viewport",pn="popper",dn="reference",hn=an.reduce((function(e,t){return e.concat([t+"-"+sn,t+"-"+cn])}),[]),mn=[].concat(an,[rn]).reduce((function(e,t){return e.concat([t,t+"-"+sn,t+"-"+cn])}),[]),yn="beforeRead",gn="read",vn="afterRead",_n="beforeMain",bn="main",wn="afterMain",En="beforeWrite",kn="write",Sn="afterWrite",Cn=[yn,gn,vn,_n,bn,wn,En,kn,Sn];function getNodeName(e){return e?(e.nodeName||"").toLowerCase():null}function getWindow(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function isElement(e){return e instanceof getWindow(e).Element||e instanceof Element}function isHTMLElement(e){return e instanceof getWindow(e).HTMLElement||e instanceof HTMLElement}function isShadowRoot(e){return"undefined"!==typeof ShadowRoot&&(e instanceof getWindow(e).ShadowRoot||e instanceof ShadowRoot)}var On={name:"applyStyles",enabled:!0,phase:"write",fn:function applyStyles(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},i=t.elements[e];isHTMLElement(i)&&getNodeName(i)&&(Object.assign(i.style,n),Object.keys(r).forEach((function(e){var t=r[e];!1===t?i.removeAttribute(e):i.setAttribute(e,!0===t?"":t)})))}))},effect:function effect(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var r=t.elements[e],i=t.attributes[e]||{},d=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});isHTMLElement(r)&&getNodeName(r)&&(Object.assign(r.style,d),Object.keys(i).forEach((function(e){r.removeAttribute(e)})))}))}},requires:["computeStyles"]};function getBasePlacement(e){return e.split("-")[0]}function getBoundingClientRect(e){var t=e.getBoundingClientRect();return{width:t.width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left,x:t.left,y:t.top}}function getLayoutRect(e){var t=getBoundingClientRect(e),n=e.offsetWidth,r=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-r)<=1&&(r=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:r}}function contains(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&isShadowRoot(n)){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function getComputedStyle_getComputedStyle(e){return getWindow(e).getComputedStyle(e)}function isTableElement(e){return["table","td","th"].indexOf(getNodeName(e))>=0}function getDocumentElement(e){return((isElement(e)?e.ownerDocument:e.document)||window.document).documentElement}function getParentNode(e){return"html"===getNodeName(e)?e:e.assignedSlot||e.parentNode||(isShadowRoot(e)?e.host:null)||getDocumentElement(e)}function getTrueOffsetParent(e){return isHTMLElement(e)&&"fixed"!==getComputedStyle_getComputedStyle(e).position?e.offsetParent:null}function getOffsetParent(e){for(var t=getWindow(e),n=getTrueOffsetParent(e);n&&isTableElement(n)&&"static"===getComputedStyle_getComputedStyle(n).position;)n=getTrueOffsetParent(n);return n&&("html"===getNodeName(n)||"body"===getNodeName(n)&&"static"===getComputedStyle_getComputedStyle(n).position)?t:n||function getContainingBlock(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&isHTMLElement(e)&&"fixed"===getComputedStyle_getComputedStyle(e).position)return null;for(var n=getParentNode(e);isHTMLElement(n)&&["html","body"].indexOf(getNodeName(n))<0;){var r=getComputedStyle_getComputedStyle(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||t&&"filter"===r.willChange||t&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(e)||t}function getMainAxisFromPlacement(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}var Tn=Math.max,An=Math.min,xn=Math.round;function within(e,t,n){return Tn(e,An(t,n))}function mergePaddingObject(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function expandToHashMap(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}var In={name:"arrow",enabled:!0,phase:"main",fn:function arrow(e){var t,n=e.state,r=e.name,i=e.options,d=n.elements.arrow,h=n.modifiersData.popperOffsets,y=getBasePlacement(n.placement),g=getMainAxisFromPlacement(y),v=[nn,tn].indexOf(y)>=0?"height":"width";if(d&&h){var _=function toPaddingObject(e,t){return mergePaddingObject("number"!==typeof(e="function"===typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:expandToHashMap(e,an))}(i.padding,n),b=getLayoutRect(d),w="y"===g?Zt:nn,E="y"===g?en:tn,k=n.rects.reference[v]+n.rects.reference[g]-h[g]-n.rects.popper[v],S=h[g]-n.rects.reference[g],C=getOffsetParent(d),O=C?"y"===g?C.clientHeight||0:C.clientWidth||0:0,T=k/2-S/2,A=_[w],x=O-b[v]-_[E],I=O/2-b[v]/2+T,D=within(A,I,x),L=g;n.modifiersData[r]=((t={})[L]=D,t.centerOffset=D-I,t)}},effect:function arrow_effect(e){var t=e.state,n=e.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!==typeof r||(r=t.elements.popper.querySelector(r)))&&contains(t.elements.popper,r)&&(t.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},Dn={top:"auto",right:"auto",bottom:"auto",left:"auto"};function mapToStyles(e){var t,n=e.popper,r=e.popperRect,i=e.placement,d=e.offsets,h=e.position,y=e.gpuAcceleration,g=e.adaptive,v=e.roundOffsets,_=!0===v?function roundOffsetsByDPR(e){var t=e.x,n=e.y,r=window.devicePixelRatio||1;return{x:xn(xn(t*r)/r)||0,y:xn(xn(n*r)/r)||0}}(d):"function"===typeof v?v(d):d,b=_.x,w=void 0===b?0:b,E=_.y,k=void 0===E?0:E,S=d.hasOwnProperty("x"),C=d.hasOwnProperty("y"),O=nn,T=Zt,A=window;if(g){var x=getOffsetParent(n),I="clientHeight",D="clientWidth";x===getWindow(n)&&"static"!==getComputedStyle_getComputedStyle(x=getDocumentElement(n)).position&&(I="scrollHeight",D="scrollWidth"),x=x,i===Zt&&(T=en,k-=x[I]-r.height,k*=y?1:-1),i===nn&&(O=tn,w-=x[D]-r.width,w*=y?1:-1)}var L,N=Object.assign({position:h},g&&Dn);return y?Object.assign({},N,((L={})[T]=C?"0":"",L[O]=S?"0":"",L.transform=(A.devicePixelRatio||1)<2?"translate("+w+"px, "+k+"px)":"translate3d("+w+"px, "+k+"px, 0)",L)):Object.assign({},N,((t={})[T]=C?k+"px":"",t[O]=S?w+"px":"",t.transform="",t))}var Ln={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function computeStyles(e){var t=e.state,n=e.options,r=n.gpuAcceleration,i=void 0===r||r,d=n.adaptive,h=void 0===d||d,y=n.roundOffsets,g=void 0===y||y,v={placement:getBasePlacement(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,mapToStyles(Object.assign({},v,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:h,roundOffsets:g})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,mapToStyles(Object.assign({},v,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:g})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},Nn={passive:!0};var Pn={name:"eventListeners",enabled:!0,phase:"write",fn:function fn(){},effect:function eventListeners_effect(e){var t=e.state,n=e.instance,r=e.options,i=r.scroll,d=void 0===i||i,h=r.resize,y=void 0===h||h,g=getWindow(t.elements.popper),v=[].concat(t.scrollParents.reference,t.scrollParents.popper);return d&&v.forEach((function(e){e.addEventListener("scroll",n.update,Nn)})),y&&g.addEventListener("resize",n.update,Nn),function(){d&&v.forEach((function(e){e.removeEventListener("scroll",n.update,Nn)})),y&&g.removeEventListener("resize",n.update,Nn)}},data:{}},Rn={left:"right",right:"left",bottom:"top",top:"bottom"};function getOppositePlacement(e){return e.replace(/left|right|bottom|top/g,(function(e){return Rn[e]}))}var jn={start:"end",end:"start"};function getOppositeVariationPlacement(e){return e.replace(/start|end/g,(function(e){return jn[e]}))}function getWindowScroll(e){var t=getWindow(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function getWindowScrollBarX(e){return getBoundingClientRect(getDocumentElement(e)).left+getWindowScroll(e).scrollLeft}function isScrollParent(e){var t=getComputedStyle_getComputedStyle(e),n=t.overflow,r=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function getScrollParent(e){return["html","body","#document"].indexOf(getNodeName(e))>=0?e.ownerDocument.body:isHTMLElement(e)&&isScrollParent(e)?e:getScrollParent(getParentNode(e))}function listScrollParents(e,t){var n;void 0===t&&(t=[]);var r=getScrollParent(e),i=r===(null==(n=e.ownerDocument)?void 0:n.body),d=getWindow(r),h=i?[d].concat(d.visualViewport||[],isScrollParent(r)?r:[]):r,y=t.concat(h);return i?y:y.concat(listScrollParents(getParentNode(h)))}function rectToClientRect(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function getClientRectFromMixedType(e,t){return t===ln?rectToClientRect(function getViewportRect(e){var t=getWindow(e),n=getDocumentElement(e),r=t.visualViewport,i=n.clientWidth,d=n.clientHeight,h=0,y=0;return r&&(i=r.width,d=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(h=r.offsetLeft,y=r.offsetTop)),{width:i,height:d,x:h+getWindowScrollBarX(e),y:y}}(e)):isHTMLElement(t)?function getInnerBoundingClientRect(e){var t=getBoundingClientRect(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):rectToClientRect(function getDocumentRect(e){var t,n=getDocumentElement(e),r=getWindowScroll(e),i=null==(t=e.ownerDocument)?void 0:t.body,d=Tn(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),h=Tn(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),y=-r.scrollLeft+getWindowScrollBarX(e),g=-r.scrollTop;return"rtl"===getComputedStyle_getComputedStyle(i||n).direction&&(y+=Tn(n.clientWidth,i?i.clientWidth:0)-d),{width:d,height:h,x:y,y:g}}(getDocumentElement(e)))}function getClippingRect(e,t,n){var r="clippingParents"===t?function getClippingParents(e){var t=listScrollParents(getParentNode(e)),n=["absolute","fixed"].indexOf(getComputedStyle_getComputedStyle(e).position)>=0&&isHTMLElement(e)?getOffsetParent(e):e;return isElement(n)?t.filter((function(e){return isElement(e)&&contains(e,n)&&"body"!==getNodeName(e)})):[]}(e):[].concat(t),i=[].concat(r,[n]),d=i[0],h=i.reduce((function(t,n){var r=getClientRectFromMixedType(e,n);return t.top=Tn(r.top,t.top),t.right=An(r.right,t.right),t.bottom=An(r.bottom,t.bottom),t.left=Tn(r.left,t.left),t}),getClientRectFromMixedType(e,d));return h.width=h.right-h.left,h.height=h.bottom-h.top,h.x=h.left,h.y=h.top,h}function getVariation(e){return e.split("-")[1]}function computeOffsets(e){var t,n=e.reference,r=e.element,i=e.placement,d=i?getBasePlacement(i):null,h=i?getVariation(i):null,y=n.x+n.width/2-r.width/2,g=n.y+n.height/2-r.height/2;switch(d){case Zt:t={x:y,y:n.y-r.height};break;case en:t={x:y,y:n.y+n.height};break;case tn:t={x:n.x+n.width,y:g};break;case nn:t={x:n.x-r.width,y:g};break;default:t={x:n.x,y:n.y}}var v=d?getMainAxisFromPlacement(d):null;if(null!=v){var _="y"===v?"height":"width";switch(h){case sn:t[v]=t[v]-(n[_]/2-r[_]/2);break;case cn:t[v]=t[v]+(n[_]/2-r[_]/2)}}return t}function detectOverflow(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=void 0===r?e.placement:r,d=n.boundary,h=void 0===d?un:d,y=n.rootBoundary,g=void 0===y?ln:y,v=n.elementContext,_=void 0===v?pn:v,b=n.altBoundary,w=void 0!==b&&b,E=n.padding,k=void 0===E?0:E,S=mergePaddingObject("number"!==typeof k?k:expandToHashMap(k,an)),C=_===pn?dn:pn,O=e.elements.reference,T=e.rects.popper,A=e.elements[w?C:_],x=getClippingRect(isElement(A)?A:A.contextElement||getDocumentElement(e.elements.popper),h,g),I=getBoundingClientRect(O),D=computeOffsets({reference:I,element:T,strategy:"absolute",placement:i}),L=rectToClientRect(Object.assign({},T,D)),N=_===pn?L:I,P={top:x.top-N.top+S.top,bottom:N.bottom-x.bottom+S.bottom,left:x.left-N.left+S.left,right:N.right-x.right+S.right},R=e.modifiersData.offset;if(_===pn&&R){var j=R[i];Object.keys(P).forEach((function(e){var t=[tn,en].indexOf(e)>=0?1:-1,n=[Zt,en].indexOf(e)>=0?"y":"x";P[e]+=j[n]*t}))}return P}var Mn={name:"flip",enabled:!0,phase:"main",fn:function flip(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var i=n.mainAxis,d=void 0===i||i,h=n.altAxis,y=void 0===h||h,g=n.fallbackPlacements,v=n.padding,_=n.boundary,b=n.rootBoundary,w=n.altBoundary,E=n.flipVariations,k=void 0===E||E,S=n.allowedAutoPlacements,C=t.options.placement,O=getBasePlacement(C),T=g||(O===C||!k?[getOppositePlacement(C)]:function getExpandedFallbackPlacements(e){if(getBasePlacement(e)===rn)return[];var t=getOppositePlacement(e);return[getOppositeVariationPlacement(e),t,getOppositeVariationPlacement(t)]}(C)),A=[C].concat(T).reduce((function(e,n){return e.concat(getBasePlacement(n)===rn?function computeAutoPlacement(e,t){void 0===t&&(t={});var n=t,r=n.placement,i=n.boundary,d=n.rootBoundary,h=n.padding,y=n.flipVariations,g=n.allowedAutoPlacements,v=void 0===g?mn:g,_=getVariation(r),b=_?y?hn:hn.filter((function(e){return getVariation(e)===_})):an,w=b.filter((function(e){return v.indexOf(e)>=0}));0===w.length&&(w=b);var E=w.reduce((function(t,n){return t[n]=detectOverflow(e,{placement:n,boundary:i,rootBoundary:d,padding:h})[getBasePlacement(n)],t}),{});return Object.keys(E).sort((function(e,t){return E[e]-E[t]}))}(t,{placement:n,boundary:_,rootBoundary:b,padding:v,flipVariations:k,allowedAutoPlacements:S}):n)}),[]),x=t.rects.reference,I=t.rects.popper,D=new Map,L=!0,N=A[0],P=0;P<A.length;P++){var R=A[P],j=getBasePlacement(R),M=getVariation(R)===sn,F=[Zt,en].indexOf(j)>=0,q=F?"width":"height",B=detectOverflow(t,{placement:R,boundary:_,rootBoundary:b,altBoundary:w,padding:v}),Q=F?M?tn:nn:M?en:Zt;x[q]>I[q]&&(Q=getOppositePlacement(Q));var K=getOppositePlacement(Q),V=[];if(d&&V.push(B[j]<=0),y&&V.push(B[Q]<=0,B[K]<=0),V.every((function(e){return e}))){N=R,L=!1;break}D.set(R,V)}if(L)for(var U=function _loop(e){var t=A.find((function(t){var n=D.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return N=t,"break"},H=k?3:1;H>0;H--){if("break"===U(H))break}t.placement!==N&&(t.modifiersData[r]._skip=!0,t.placement=N,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function getSideOffsets(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function isAnySideFullyClipped(e){return[Zt,tn,en,nn].some((function(t){return e[t]>=0}))}var Fn={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function hide(e){var t=e.state,n=e.name,r=t.rects.reference,i=t.rects.popper,d=t.modifiersData.preventOverflow,h=detectOverflow(t,{elementContext:"reference"}),y=detectOverflow(t,{altBoundary:!0}),g=getSideOffsets(h,r),v=getSideOffsets(y,i,d),_=isAnySideFullyClipped(g),b=isAnySideFullyClipped(v);t.modifiersData[n]={referenceClippingOffsets:g,popperEscapeOffsets:v,isReferenceHidden:_,hasPopperEscaped:b},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":_,"data-popper-escaped":b})}};var qn={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function offset(e){var t=e.state,n=e.options,r=e.name,i=n.offset,d=void 0===i?[0,0]:i,h=mn.reduce((function(e,n){return e[n]=function distanceAndSkiddingToXY(e,t,n){var r=getBasePlacement(e),i=[nn,Zt].indexOf(r)>=0?-1:1,d="function"===typeof n?n(Object.assign({},t,{placement:e})):n,h=d[0],y=d[1];return h=h||0,y=(y||0)*i,[nn,tn].indexOf(r)>=0?{x:y,y:h}:{x:h,y:y}}(n,t.rects,d),e}),{}),y=h[t.placement],g=y.x,v=y.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=g,t.modifiersData.popperOffsets.y+=v),t.modifiersData[r]=h}};var Bn={name:"popperOffsets",enabled:!0,phase:"read",fn:function popperOffsets(e){var t=e.state,n=e.name;t.modifiersData[n]=computeOffsets({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};var Qn={name:"preventOverflow",enabled:!0,phase:"main",fn:function preventOverflow(e){var t=e.state,n=e.options,r=e.name,i=n.mainAxis,d=void 0===i||i,h=n.altAxis,y=void 0!==h&&h,g=n.boundary,v=n.rootBoundary,_=n.altBoundary,b=n.padding,w=n.tether,E=void 0===w||w,k=n.tetherOffset,S=void 0===k?0:k,C=detectOverflow(t,{boundary:g,rootBoundary:v,padding:b,altBoundary:_}),O=getBasePlacement(t.placement),T=getVariation(t.placement),A=!T,x=getMainAxisFromPlacement(O),I=function getAltAxis(e){return"x"===e?"y":"x"}(x),D=t.modifiersData.popperOffsets,L=t.rects.reference,N=t.rects.popper,P="function"===typeof S?S(Object.assign({},t.rects,{placement:t.placement})):S,R={x:0,y:0};if(D){if(d||y){var j="y"===x?Zt:nn,M="y"===x?en:tn,F="y"===x?"height":"width",q=D[x],B=D[x]+C[j],Q=D[x]-C[M],K=E?-N[F]/2:0,V=T===sn?L[F]:N[F],U=T===sn?-N[F]:-L[F],H=t.elements.arrow,z=E&&H?getLayoutRect(H):{width:0,height:0},W=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},G=W[j],Y=W[M],J=within(0,L[F],z[F]),X=A?L[F]/2-K-J-G-P:V-J-G-P,Z=A?-L[F]/2+K+J+Y+P:U+J+Y+P,ee=t.elements.arrow&&getOffsetParent(t.elements.arrow),te=ee?"y"===x?ee.clientTop||0:ee.clientLeft||0:0,ne=t.modifiersData.offset?t.modifiersData.offset[t.placement][x]:0,re=D[x]+X-ne-te,oe=D[x]+Z-ne;if(d){var ie=within(E?An(B,re):B,q,E?Tn(Q,oe):Q);D[x]=ie,R[x]=ie-q}if(y){var ae="x"===x?Zt:nn,se="x"===x?en:tn,ce=D[I],ue=ce+C[ae],le=ce-C[se],pe=within(E?An(ue,re):ue,ce,E?Tn(le,oe):le);D[I]=pe,R[I]=pe-ce}}t.modifiersData[r]=R}},requiresIfExists:["offset"]};function getCompositeRect(e,t,n){void 0===n&&(n=!1);var r=getDocumentElement(t),i=getBoundingClientRect(e),d=isHTMLElement(t),h={scrollLeft:0,scrollTop:0},y={x:0,y:0};return(d||!d&&!n)&&(("body"!==getNodeName(t)||isScrollParent(r))&&(h=function getNodeScroll(e){return e!==getWindow(e)&&isHTMLElement(e)?function getHTMLElementScroll(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}(e):getWindowScroll(e)}(t)),isHTMLElement(t)?((y=getBoundingClientRect(t)).x+=t.clientLeft,y.y+=t.clientTop):r&&(y.x=getWindowScrollBarX(r))),{x:i.left+h.scrollLeft-y.x,y:i.top+h.scrollTop-y.y,width:i.width,height:i.height}}function order(e){var t=new Map,n=new Set,r=[];function sort(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var r=t.get(e);r&&sort(r)}})),r.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||sort(e)})),r}var Kn={placement:"bottom",modifiers:[],strategy:"absolute"};function areValidElements(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"===typeof e.getBoundingClientRect)}))}function popperGenerator(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,r=void 0===n?[]:n,i=t.defaultOptions,d=void 0===i?Kn:i;return function createPopper(e,t,n){void 0===n&&(n=d);var i,h,y={placement:"bottom",orderedModifiers:[],options:Object.assign({},Kn,d),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},g=[],v=!1,_={state:y,setOptions:function setOptions(n){cleanupModifierEffects(),y.options=Object.assign({},d,y.options,n),y.scrollParents={reference:isElement(e)?listScrollParents(e):e.contextElement?listScrollParents(e.contextElement):[],popper:listScrollParents(t)};var i=function orderModifiers(e){var t=order(e);return Cn.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function mergeByName(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(r,y.options.modifiers)));return y.orderedModifiers=i.filter((function(e){return e.enabled})),function runModifierEffects(){y.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,r=void 0===n?{}:n,i=e.effect;if("function"===typeof i){var d=i({state:y,name:t,instance:_,options:r}),h=function noopFn(){};g.push(d||h)}}))}(),_.update()},forceUpdate:function forceUpdate(){if(!v){var e=y.elements,t=e.reference,n=e.popper;if(areValidElements(t,n)){y.rects={reference:getCompositeRect(t,getOffsetParent(n),"fixed"===y.options.strategy),popper:getLayoutRect(n)},y.reset=!1,y.placement=y.options.placement,y.orderedModifiers.forEach((function(e){return y.modifiersData[e.name]=Object.assign({},e.data)}));for(var r=0;r<y.orderedModifiers.length;r++)if(!0!==y.reset){var i=y.orderedModifiers[r],d=i.fn,h=i.options,g=void 0===h?{}:h,b=i.name;"function"===typeof d&&(y=d({state:y,options:g,name:b,instance:_})||y)}else y.reset=!1,r=-1}}},update:(i=function(){return new Promise((function(e){_.forceUpdate(),e(y)}))},function(){return h||(h=new Promise((function(e){Promise.resolve().then((function(){h=void 0,e(i())}))}))),h}),destroy:function destroy(){cleanupModifierEffects(),v=!0}};if(!areValidElements(e,t))return _;function cleanupModifierEffects(){g.forEach((function(e){return e()})),g=[]}return _.setOptions(n).then((function(e){!v&&n.onFirstUpdate&&n.onFirstUpdate(e)})),_}}var Vn,Un=popperGenerator(),Hn=popperGenerator({defaultModifiers:[Pn,Bn,Ln,On,qn,Mn,Qn,In,Fn]}),zn=popperGenerator({defaultModifiers:[Pn,Bn,Ln,On]});function _get(e,t,n){return(_get="undefined"!==typeof Reflect&&Reflect.get?Reflect.get:function _get(e,t,n){var r=function _superPropBase(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=bootstrap_esm_getPrototypeOf(e)););return e}(e,t);if(r){var i=Object.getOwnPropertyDescriptor(r,t);return i.get?i.get.call(n):i.value}})(e,t,n||e)}function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ownKeys(Object(n),!0).forEach((function(t){bootstrap_esm_defineProperty(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function bootstrap_esm_defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bootstrap_esm_inherits(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&bootstrap_esm_setPrototypeOf(e,t)}function bootstrap_esm_setPrototypeOf(e,t){return(bootstrap_esm_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(e,t){return e.__proto__=t,e})(e,t)}function bootstrap_esm_createSuper(e){var t=function bootstrap_esm_isNativeReflectConstruct(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var n,r=bootstrap_esm_getPrototypeOf(e);if(t){var i=bootstrap_esm_getPrototypeOf(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return bootstrap_esm_possibleConstructorReturn(this,n)}}function bootstrap_esm_possibleConstructorReturn(e,t){return!t||"object"!==bootstrap_esm_typeof(t)&&"function"!==typeof t?function bootstrap_esm_assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function bootstrap_esm_getPrototypeOf(e){return(bootstrap_esm_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function bootstrap_esm_classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function bootstrap_esm_defineProperties(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function bootstrap_esm_createClass(e,t,n){return t&&bootstrap_esm_defineProperties(e.prototype,t),n&&bootstrap_esm_defineProperties(e,n),e}function _slicedToArray(e,t){return function _arrayWithHoles(e){if(Array.isArray(e))return e}(e)||function _iterableToArrayLimit(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,i,d=[],h=!0,y=!1;try{for(n=n.call(e);!(h=(r=n.next()).done)&&(d.push(r.value),!t||d.length!==t);h=!0);}catch(g){y=!0,i=g}finally{try{h||null==n.return||n.return()}finally{if(y)throw i}}return d}(e,t)||bootstrap_esm_unsupportedIterableToArray(e,t)||function _nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function bootstrap_esm_typeof(e){return(bootstrap_esm_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(e){return typeof e}:function _typeof(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function bootstrap_esm_toConsumableArray(e){return function bootstrap_esm_arrayWithoutHoles(e){if(Array.isArray(e))return bootstrap_esm_arrayLikeToArray(e)}(e)||function bootstrap_esm_iterableToArray(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||bootstrap_esm_unsupportedIterableToArray(e)||function bootstrap_esm_nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function bootstrap_esm_unsupportedIterableToArray(e,t){if(e){if("string"===typeof e)return bootstrap_esm_arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?bootstrap_esm_arrayLikeToArray(e,t):void 0}}function bootstrap_esm_arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Wn=function find(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.documentElement;return(t=[]).concat.apply(t,bootstrap_esm_toConsumableArray(Element.prototype.querySelectorAll.call(n,e)))},Gn=function findOne(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.documentElement;return Element.prototype.querySelector.call(t,e)},Yn=function children(e,t){var n;return(n=[]).concat.apply(n,bootstrap_esm_toConsumableArray(e.children)).filter((function(e){return e.matches(t)}))},Jn=function parents(e,t){for(var parents=[],n=e.parentNode;n&&n.nodeType===Node.ELEMENT_NODE&&3!==n.nodeType;)n.matches(t)&&parents.push(n),n=n.parentNode;return parents},Xn=function prev(e,t){for(var n=e.previousElementSibling;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},$n=function next(e,t){for(var next=e.nextElementSibling;next;){if(next.matches(t))return[next];next=next.nextElementSibling}return[]},Zn="transitionend",er=function getUID(e){do{e+=Math.floor(1e6*Math.random())}while(document.getElementById(e));return e},tr=function getSelector(e){var t=e.getAttribute("data-bs-target");if(!t||"#"===t){var n=e.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n="#".concat(n.split("#")[1])),t=n&&"#"!==n?n.trim():null}return t},nr=function getSelectorFromElement(e){var t=tr(e);return t&&document.querySelector(t)?t:null},rr=function getElementFromSelector(e){var t=tr(e);return t?document.querySelector(t):null},or=function getTransitionDurationFromElement(e){if(!e)return 0;var t=window.getComputedStyle(e),n=t.transitionDuration,r=t.transitionDelay,i=Number.parseFloat(n),d=Number.parseFloat(r);return i||d?(n=n.split(",")[0],r=r.split(",")[0],1e3*(Number.parseFloat(n)+Number.parseFloat(r))):0},ir=function triggerTransitionEnd(e){e.dispatchEvent(new Event(Zn))},ar=function isElement(e){return!(!e||"object"!==bootstrap_esm_typeof(e))&&("undefined"!==typeof e.jquery&&(e=e[0]),"undefined"!==typeof e.nodeType)},sr=function getElement(e){return ar(e)?e.jquery?e[0]:e:"string"===typeof e&&e.length>0?Gn(e):null},cr=function typeCheckConfig(e,t,n){Object.keys(n).forEach((function(r){var i=n[r],d=t[r],h=d&&ar(d)?"element":function toType(e){return null===e||void 0===e?"".concat(e):{}.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase()}(d);if(!new RegExp(i).test(h))throw new TypeError("".concat(e.toUpperCase(),': Option "').concat(r,'" provided type "').concat(h,'" but expected type "').concat(i,'".'))}))},ur=function isVisible(e){return!(!ar(e)||0===e.getClientRects().length)&&"visible"===getComputedStyle(e).getPropertyValue("visibility")},lr=function isDisabled(e){return!e||e.nodeType!==Node.ELEMENT_NODE||(!!e.classList.contains("disabled")||("undefined"!==typeof e.disabled?e.disabled:e.hasAttribute("disabled")&&"false"!==e.getAttribute("disabled")))},pr=function findShadowRoot(e){if(!document.documentElement.attachShadow)return null;if("function"===typeof e.getRootNode){var t=e.getRootNode();return t instanceof ShadowRoot?t:null}return e instanceof ShadowRoot?e:e.parentNode?findShadowRoot(e.parentNode):null},fr=function noop(){},dr=function reflow(e){return e.offsetHeight},hr=function getjQuery(){var jQuery=window.jQuery;return jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?jQuery:null},mr=[],yr=function isRTL(){return"rtl"===document.documentElement.dir},gr=function defineJQueryPlugin(e){!function onDOMContentLoaded(e){"loading"===document.readyState?(mr.length||document.addEventListener("DOMContentLoaded",(function(){mr.forEach((function(e){return e()}))})),mr.push(e)):e()}((function(){var $=hr();if($){var t=e.NAME,n=$.fn[t];$.fn[t]=e.jQueryInterface,$.fn[t].Constructor=e,$.fn[t].noConflict=function(){return $.fn[t]=n,e.jQueryInterface}}}))},vr=function execute(e){"function"===typeof e&&e()},_r=function executeAfterTransition(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(n){var r=5,i=or(t)+r,d=!1,h=function handler(n){n.target===t&&(d=!0,t.removeEventListener(Zn,handler),vr(e))};t.addEventListener(Zn,h),setTimeout((function(){d||ir(t)}),i)}else vr(e)},br=function getNextActiveElement(e,t,n,r){var i=e.indexOf(t);if(-1===i)return e[!n&&r?e.length-1:0];var d=e.length;return i+=n?1:-1,r&&(i=(i+d)%d),e[Math.max(0,Math.min(i,d-1))]},wr=/[^.]*(?=\..*)\.|.*/,Er=/\..*/,kr=/::\d+$/,Sr={},Cr=1,Or={mouseenter:"mouseover",mouseleave:"mouseout"},Tr=/^(mouseenter|mouseleave)/i,Ar=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function getUidEvent(e,t){return t&&"".concat(t,"::").concat(Cr++)||e.uidEvent||Cr++}function getEvent(e){var t=getUidEvent(e);return e.uidEvent=t,Sr[t]=Sr[t]||{},Sr[t]}function findHandler(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=Object.keys(e),i=0,d=r.length;i<d;i++){var h=e[r[i]];if(h.originalHandler===t&&h.delegationSelector===n)return h}return null}function normalizeParams(e,t,n){var r="string"===typeof t,i=r?n:t,d=getTypeEvent(e);return Ar.has(d)||(d=e),[r,i,d]}function addHandler(e,t,n,r,i){if("string"===typeof t&&e){if(n||(n=r,r=null),Tr.test(t)){var d=function wrapFn(e){return function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)}};r?r=d(r):n=d(n)}var h=_slicedToArray(normalizeParams(t,n,r),3),y=h[0],g=h[1],v=h[2],_=getEvent(e),b=_[v]||(_[v]={}),w=findHandler(b,g,y?n:null);if(w)w.oneOff=w.oneOff&&i;else{var E=getUidEvent(g,t.replace(wr,"")),k=y?function bootstrapDelegationHandler(e,t,n){return function handler(r){for(var i=e.querySelectorAll(t),d=r.target;d&&d!==this;d=d.parentNode)for(var h=i.length;h--;)if(i[h]===d)return r.delegateTarget=d,handler.oneOff&&xr.off(e,r.type,t,n),n.apply(d,[r]);return null}}(e,n,r):function bootstrapHandler(e,t){return function handler(n){return n.delegateTarget=e,handler.oneOff&&xr.off(e,n.type,t),t.apply(e,[n])}}(e,n);k.delegationSelector=y?n:null,k.originalHandler=g,k.oneOff=i,k.uidEvent=E,b[E]=k,e.addEventListener(v,k,y)}}}function removeHandler(e,t,n,r,i){var d=findHandler(t[n],r,i);d&&(e.removeEventListener(n,d,Boolean(i)),delete t[n][d.uidEvent])}function getTypeEvent(e){return e=e.replace(Er,""),Or[e]||e}var xr={on:function on(e,t,n,r){addHandler(e,t,n,r,!1)},one:function one(e,t,n,r){addHandler(e,t,n,r,!0)},off:function off(e,t,n,r){if("string"===typeof t&&e){var i=_slicedToArray(normalizeParams(t,n,r),3),d=i[0],h=i[1],y=i[2],g=y!==t,v=getEvent(e),_=t.startsWith(".");if("undefined"===typeof h){_&&Object.keys(v).forEach((function(n){!function removeNamespacedHandlers(e,t,n,r){var i=t[n]||{};Object.keys(i).forEach((function(d){if(d.includes(r)){var h=i[d];removeHandler(e,t,n,h.originalHandler,h.delegationSelector)}}))}(e,v,n,t.slice(1))}));var b=v[y]||{};Object.keys(b).forEach((function(n){var r=n.replace(kr,"");if(!g||t.includes(r)){var i=b[n];removeHandler(e,v,y,i.originalHandler,i.delegationSelector)}}))}else{if(!v||!v[y])return;removeHandler(e,v,y,h,d?n:null)}}},trigger:function trigger(e,t,n){if("string"!==typeof t||!e)return null;var r,$=hr(),i=getTypeEvent(t),d=t!==i,h=Ar.has(i),y=!0,g=!0,v=!1,_=null;return d&&$&&(r=$.Event(t,n),$(e).trigger(r),y=!r.isPropagationStopped(),g=!r.isImmediatePropagationStopped(),v=r.isDefaultPrevented()),h?(_=document.createEvent("HTMLEvents")).initEvent(i,y,!0):_=new CustomEvent(t,{bubbles:y,cancelable:!0}),"undefined"!==typeof n&&Object.keys(n).forEach((function(e){Object.defineProperty(_,e,{get:function get(){return n[e]}})})),v&&_.preventDefault(),g&&e.dispatchEvent(_),_.defaultPrevented&&"undefined"!==typeof r&&r.preventDefault(),_}},Ir=new Map,Dr=function set(e,t,n){Ir.has(e)||Ir.set(e,new Map);var r=Ir.get(e);r.has(t)||0===r.size?r.set(t,n):console.error("Bootstrap doesn't allow more than one instance per element. Bound instance: ".concat(Array.from(r.keys())[0],"."))},Lr=function get(e,t){return Ir.has(e)&&Ir.get(e).get(t)||null},Nr=function remove(e,t){if(Ir.has(e)){var n=Ir.get(e);n.delete(t),0===n.size&&Ir.delete(e)}},Pr=function(){function BaseComponent(e){bootstrap_esm_classCallCheck(this,BaseComponent),(e=sr(e))&&(this._element=e,Dr(this._element,this.constructor.DATA_KEY,this))}return bootstrap_esm_createClass(BaseComponent,[{key:"dispose",value:function dispose(){var e=this;Nr(this._element,this.constructor.DATA_KEY),xr.off(this._element,this.constructor.EVENT_KEY),Object.getOwnPropertyNames(this).forEach((function(t){e[t]=null}))}},{key:"_queueCallback",value:function _queueCallback(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];_r(e,t,n)}}],[{key:"getInstance",value:function getInstance(e){return Lr(e,this.DATA_KEY)}},{key:"getOrCreateInstance",value:function getOrCreateInstance(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.getInstance(e)||new this(e,"object"===bootstrap_esm_typeof(t)?t:null)}},{key:"VERSION",get:function get(){return"5.0.2"}},{key:"NAME",get:function get(){throw new Error('You have to implement the static method "NAME", for each component!')}},{key:"DATA_KEY",get:function get(){return"bs.".concat(this.NAME)}},{key:"EVENT_KEY",get:function get(){return".".concat(this.DATA_KEY)}}]),BaseComponent}(),Rr=".".concat("bs.alert"),jr="close".concat(Rr),Mr="closed".concat(Rr),Fr="click".concat(Rr).concat(".data-api"),qr=function(e){bootstrap_esm_inherits(Alert,e);var t=bootstrap_esm_createSuper(Alert);function Alert(){return bootstrap_esm_classCallCheck(this,Alert),t.apply(this,arguments)}return bootstrap_esm_createClass(Alert,[{key:"close",value:function close(e){var t=e?this._getRootElement(e):this._element,n=this._triggerCloseEvent(t);null===n||n.defaultPrevented||this._removeElement(t)}},{key:"_getRootElement",value:function _getRootElement(e){return rr(e)||e.closest(".".concat("alert"))}},{key:"_triggerCloseEvent",value:function _triggerCloseEvent(e){return xr.trigger(e,jr)}},{key:"_removeElement",value:function _removeElement(e){var t=this;e.classList.remove("show");var n=e.classList.contains("fade");this._queueCallback((function(){return t._destroyElement(e)}),e,n)}},{key:"_destroyElement",value:function _destroyElement(e){e.remove(),xr.trigger(e,Mr)}}],[{key:"NAME",get:function get(){return"alert"}},{key:"jQueryInterface",value:function jQueryInterface(e){return this.each((function(){var t=Alert.getOrCreateInstance(this);"close"===e&&t[e](this)}))}},{key:"handleDismiss",value:function handleDismiss(e){return function(t){t&&t.preventDefault(),e.close(this)}}}]),Alert}(Pr);xr.on(document,Fr,'[data-bs-dismiss="alert"]',qr.handleDismiss(new qr)),gr(qr);var Br=".".concat("bs.button"),Qr='[data-bs-toggle="button"]',Kr="click".concat(Br).concat(".data-api"),Vr=function(e){bootstrap_esm_inherits(Button,e);var t=bootstrap_esm_createSuper(Button);function Button(){return bootstrap_esm_classCallCheck(this,Button),t.apply(this,arguments)}return bootstrap_esm_createClass(Button,[{key:"toggle",value:function toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle("active"))}}],[{key:"NAME",get:function get(){return"button"}},{key:"jQueryInterface",value:function jQueryInterface(e){return this.each((function(){var t=Button.getOrCreateInstance(this);"toggle"===e&&t[e]()}))}}]),Button}(Pr);function normalizeData(e){return"true"===e||"false"!==e&&(e===Number(e).toString()?Number(e):""===e||"null"===e?null:e)}function normalizeDataKey(e){return e.replace(/[A-Z]/g,(function(e){return"-".concat(e.toLowerCase())}))}xr.on(document,Kr,Qr,(function(e){e.preventDefault();var t=e.target.closest(Qr);Vr.getOrCreateInstance(t).toggle()})),gr(Vr);var Ur={setDataAttribute:function setDataAttribute(e,t,n){e.setAttribute("data-bs-".concat(normalizeDataKey(t)),n)},removeDataAttribute:function removeDataAttribute(e,t){e.removeAttribute("data-bs-".concat(normalizeDataKey(t)))},getDataAttributes:function getDataAttributes(e){if(!e)return{};var t={};return Object.keys(e.dataset).filter((function(e){return e.startsWith("bs")})).forEach((function(n){var r=n.replace(/^bs/,"");r=r.charAt(0).toLowerCase()+r.slice(1,r.length),t[r]=normalizeData(e.dataset[n])})),t},getDataAttribute:function getDataAttribute(e,t){return normalizeData(e.getAttribute("data-bs-".concat(normalizeDataKey(t))))},offset:function offset(e){var t=e.getBoundingClientRect();return{top:t.top+document.body.scrollTop,left:t.left+document.body.scrollLeft}},position:function position(e){return{top:e.offsetTop,left:e.offsetLeft}}},Hr="carousel",zr=".".concat("bs.carousel"),Wr=".data-api",Gr={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},Yr={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},Jr="next",Xr="prev",$r="left",Zr="right",eo=(bootstrap_esm_defineProperty(Vn={},"ArrowLeft",Zr),bootstrap_esm_defineProperty(Vn,"ArrowRight",$r),Vn),no="slide".concat(zr),ro="slid".concat(zr),oo="keydown".concat(zr),io="mouseenter".concat(zr),ao="mouseleave".concat(zr),so="touchstart".concat(zr),co="touchmove".concat(zr),uo="touchend".concat(zr),lo="pointerdown".concat(zr),po="pointerup".concat(zr),fo="dragstart".concat(zr),ho="load".concat(zr).concat(Wr),mo="click".concat(zr).concat(Wr),yo="active",go=".active.carousel-item",vo="touch",_o=function(e){bootstrap_esm_inherits(Carousel,e);var t=bootstrap_esm_createSuper(Carousel);function Carousel(e,n){var r;return bootstrap_esm_classCallCheck(this,Carousel),(r=t.call(this,e))._items=null,r._interval=null,r._activeElement=null,r._isPaused=!1,r._isSliding=!1,r.touchTimeout=null,r.touchStartX=0,r.touchDeltaX=0,r._config=r._getConfig(n),r._indicatorsElement=Gn(".carousel-indicators",r._element),r._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,r._pointerEvent=Boolean(window.PointerEvent),r._addEventListeners(),r}return bootstrap_esm_createClass(Carousel,[{key:"next",value:function next(){this._slide(Jr)}},{key:"nextWhenVisible",value:function nextWhenVisible(){!document.hidden&&ur(this._element)&&this.next()}},{key:"prev",value:function prev(){this._slide(Xr)}},{key:"pause",value:function pause(e){e||(this._isPaused=!0),Gn(".carousel-item-next, .carousel-item-prev",this._element)&&(ir(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null}},{key:"cycle",value:function cycle(e){e||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config&&this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))}},{key:"to",value:function to(e){var t=this;this._activeElement=Gn(go,this._element);var n=this._getItemIndex(this._activeElement);if(!(e>this._items.length-1||e<0))if(this._isSliding)xr.one(this._element,ro,(function(){return t.to(e)}));else{if(n===e)return this.pause(),void this.cycle();var r=e>n?Jr:Xr;this._slide(r,this._items[e])}}},{key:"_getConfig",value:function _getConfig(e){return e=_objectSpread(_objectSpread(_objectSpread({},Gr),Ur.getDataAttributes(this._element)),"object"===bootstrap_esm_typeof(e)?e:{}),cr(Hr,e,Yr),e}},{key:"_handleSwipe",value:function _handleSwipe(){var e=Math.abs(this.touchDeltaX);if(!(e<=40)){var t=e/this.touchDeltaX;this.touchDeltaX=0,t&&this._slide(t>0?Zr:$r)}}},{key:"_addEventListeners",value:function _addEventListeners(){var e=this;this._config.keyboard&&xr.on(this._element,oo,(function(t){return e._keydown(t)})),"hover"===this._config.pause&&(xr.on(this._element,io,(function(t){return e.pause(t)})),xr.on(this._element,ao,(function(t){return e.cycle(t)}))),this._config.touch&&this._touchSupported&&this._addTouchEventListeners()}},{key:"_addTouchEventListeners",value:function _addTouchEventListeners(){var e=this,t=function start(t){!e._pointerEvent||"pen"!==t.pointerType&&t.pointerType!==vo?e._pointerEvent||(e.touchStartX=t.touches[0].clientX):e.touchStartX=t.clientX},n=function end(t){!e._pointerEvent||"pen"!==t.pointerType&&t.pointerType!==vo||(e.touchDeltaX=t.clientX-e.touchStartX),e._handleSwipe(),"hover"===e._config.pause&&(e.pause(),e.touchTimeout&&clearTimeout(e.touchTimeout),e.touchTimeout=setTimeout((function(t){return e.cycle(t)}),500+e._config.interval))};Wn(".carousel-item img",this._element).forEach((function(e){xr.on(e,fo,(function(e){return e.preventDefault()}))})),this._pointerEvent?(xr.on(this._element,lo,(function(e){return t(e)})),xr.on(this._element,po,(function(e){return n(e)})),this._element.classList.add("pointer-event")):(xr.on(this._element,so,(function(e){return t(e)})),xr.on(this._element,co,(function(t){return function move(t){e.touchDeltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-e.touchStartX}(t)})),xr.on(this._element,uo,(function(e){return n(e)})))}},{key:"_keydown",value:function _keydown(e){if(!/input|textarea/i.test(e.target.tagName)){var t=eo[e.key];t&&(e.preventDefault(),this._slide(t))}}},{key:"_getItemIndex",value:function _getItemIndex(e){return this._items=e&&e.parentNode?Wn(".carousel-item",e.parentNode):[],this._items.indexOf(e)}},{key:"_getItemByOrder",value:function _getItemByOrder(e,t){var n=e===Jr;return br(this._items,t,n,this._config.wrap)}},{key:"_triggerSlideEvent",value:function _triggerSlideEvent(e,t){var n=this._getItemIndex(e),r=this._getItemIndex(Gn(go,this._element));return xr.trigger(this._element,no,{relatedTarget:e,direction:t,from:r,to:n})}},{key:"_setActiveIndicatorElement",value:function _setActiveIndicatorElement(e){if(this._indicatorsElement){var t=Gn(".active",this._indicatorsElement);t.classList.remove(yo),t.removeAttribute("aria-current");for(var n=Wn("[data-bs-target]",this._indicatorsElement),r=0;r<n.length;r++)if(Number.parseInt(n[r].getAttribute("data-bs-slide-to"),10)===this._getItemIndex(e)){n[r].classList.add(yo),n[r].setAttribute("aria-current","true");break}}}},{key:"_updateInterval",value:function _updateInterval(){var e=this._activeElement||Gn(go,this._element);if(e){var t=Number.parseInt(e.getAttribute("data-bs-interval"),10);t?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=t):this._config.interval=this._config.defaultInterval||this._config.interval}}},{key:"_slide",value:function _slide(e,t){var n=this,r=this._directionToOrder(e),i=Gn(go,this._element),d=this._getItemIndex(i),h=t||this._getItemByOrder(r,i),y=this._getItemIndex(h),g=Boolean(this._interval),v=r===Jr,_=v?"carousel-item-start":"carousel-item-end",b=v?"carousel-item-next":"carousel-item-prev",w=this._orderToDirection(r);if(h&&h.classList.contains(yo))this._isSliding=!1;else if(!this._isSliding&&!this._triggerSlideEvent(h,w).defaultPrevented&&i&&h){this._isSliding=!0,g&&this.pause(),this._setActiveIndicatorElement(h),this._activeElement=h;var E=function triggerSlidEvent(){xr.trigger(n._element,ro,{relatedTarget:h,direction:w,from:d,to:y})};if(this._element.classList.contains("slide")){h.classList.add(b),dr(h),i.classList.add(_),h.classList.add(_);this._queueCallback((function completeCallBack(){h.classList.remove(_,b),h.classList.add(yo),i.classList.remove(yo,b,_),n._isSliding=!1,setTimeout(E,0)}),i,!0)}else i.classList.remove(yo),h.classList.add(yo),this._isSliding=!1,E();g&&this.cycle()}}},{key:"_directionToOrder",value:function _directionToOrder(e){return[Zr,$r].includes(e)?yr()?e===$r?Xr:Jr:e===$r?Jr:Xr:e}},{key:"_orderToDirection",value:function _orderToDirection(e){return[Jr,Xr].includes(e)?yr()?e===Xr?$r:Zr:e===Xr?Zr:$r:e}}],[{key:"Default",get:function get(){return Gr}},{key:"NAME",get:function get(){return Hr}},{key:"carouselInterface",value:function carouselInterface(e,t){var n=Carousel.getOrCreateInstance(e,t),r=n._config;"object"===bootstrap_esm_typeof(t)&&(r=_objectSpread(_objectSpread({},r),t));var i="string"===typeof t?t:r.slide;if("number"===typeof t)n.to(t);else if("string"===typeof i){if("undefined"===typeof n[i])throw new TypeError('No method named "'.concat(i,'"'));n[i]()}else r.interval&&r.ride&&(n.pause(),n.cycle())}},{key:"jQueryInterface",value:function jQueryInterface(e){return this.each((function(){Carousel.carouselInterface(this,e)}))}},{key:"dataApiClickHandler",value:function dataApiClickHandler(e){var t=rr(this);if(t&&t.classList.contains("carousel")){var n=_objectSpread(_objectSpread({},Ur.getDataAttributes(t)),Ur.getDataAttributes(this)),r=this.getAttribute("data-bs-slide-to");r&&(n.interval=!1),Carousel.carouselInterface(t,n),r&&Carousel.getInstance(t).to(r),e.preventDefault()}}}]),Carousel}(Pr);xr.on(document,mo,"[data-bs-slide], [data-bs-slide-to]",_o.dataApiClickHandler),xr.on(window,ho,(function(){for(var e=Wn('[data-bs-ride="carousel"]'),t=0,n=e.length;t<n;t++)_o.carouselInterface(e[t],_o.getInstance(e[t]))})),gr(_o);var bo="collapse",wo="bs.collapse",Eo=".".concat(wo),ko={toggle:!0,parent:""},So={toggle:"boolean",parent:"(string|element)"},Co="show".concat(Eo),Oo="shown".concat(Eo),To="hide".concat(Eo),Ao="hidden".concat(Eo),xo="click".concat(Eo).concat(".data-api"),Io="show",Do="collapse",Lo="collapsing",No="collapsed",Po="width",Ro='[data-bs-toggle="collapse"]',jo=function(e){bootstrap_esm_inherits(Collapse,e);var t=bootstrap_esm_createSuper(Collapse);function Collapse(e,n){var r;bootstrap_esm_classCallCheck(this,Collapse),(r=t.call(this,e))._isTransitioning=!1,r._config=r._getConfig(n),r._triggerArray=Wn("".concat(Ro,'[href="#').concat(r._element.id,'"],')+"".concat(Ro,'[data-bs-target="#').concat(r._element.id,'"]'));for(var i=Wn(Ro),d=0,h=i.length;d<h;d++){var y=i[d],g=nr(y),v=Wn(g).filter((function(e){return e===r._element}));null!==g&&v.length&&(r._selector=g,r._triggerArray.push(y))}return r._parent=r._config.parent?r._getParent():null,r._config.parent||r._addAriaAndCollapsedClass(r._element,r._triggerArray),r._config.toggle&&r.toggle(),r}return bootstrap_esm_createClass(Collapse,[{key:"toggle",value:function toggle(){this._element.classList.contains(Io)?this.hide():this.show()}},{key:"show",value:function show(){var e=this;if(!this._isTransitioning&&!this._element.classList.contains(Io)){var t,n;this._parent&&0===(t=Wn(".show, .collapsing",this._parent).filter((function(t){return"string"===typeof e._config.parent?t.getAttribute("data-bs-parent")===e._config.parent:t.classList.contains(Do)}))).length&&(t=null);var r=Gn(this._selector);if(t){var i=t.find((function(e){return r!==e}));if((n=i?Collapse.getInstance(i):null)&&n._isTransitioning)return}if(!xr.trigger(this._element,Co).defaultPrevented){t&&t.forEach((function(e){r!==e&&Collapse.collapseInterface(e,"hide"),n||Dr(e,wo,null)}));var d=this._getDimension();this._element.classList.remove(Do),this._element.classList.add(Lo),this._element.style[d]=0,this._triggerArray.length&&this._triggerArray.forEach((function(e){e.classList.remove(No),e.setAttribute("aria-expanded",!0)})),this.setTransitioning(!0);var h=d[0].toUpperCase()+d.slice(1),y="scroll".concat(h);this._queueCallback((function complete(){e._element.classList.remove(Lo),e._element.classList.add(Do,Io),e._element.style[d]="",e.setTransitioning(!1),xr.trigger(e._element,Oo)}),this._element,!0),this._element.style[d]="".concat(this._element[y],"px")}}}},{key:"hide",value:function hide(){var e=this;if(!this._isTransitioning&&this._element.classList.contains(Io)&&!xr.trigger(this._element,To).defaultPrevented){var t=this._getDimension();this._element.style[t]="".concat(this._element.getBoundingClientRect()[t],"px"),dr(this._element),this._element.classList.add(Lo),this._element.classList.remove(Do,Io);var n=this._triggerArray.length;if(n>0)for(var r=0;r<n;r++){var i=this._triggerArray[r],d=rr(i);d&&!d.classList.contains(Io)&&(i.classList.add(No),i.setAttribute("aria-expanded",!1))}this.setTransitioning(!0);this._element.style[t]="",this._queueCallback((function complete(){e.setTransitioning(!1),e._element.classList.remove(Lo),e._element.classList.add(Do),xr.trigger(e._element,Ao)}),this._element,!0)}}},{key:"setTransitioning",value:function setTransitioning(e){this._isTransitioning=e}},{key:"_getConfig",value:function _getConfig(e){return(e=_objectSpread(_objectSpread({},ko),e)).toggle=Boolean(e.toggle),cr(bo,e,So),e}},{key:"_getDimension",value:function _getDimension(){return this._element.classList.contains(Po)?Po:"height"}},{key:"_getParent",value:function _getParent(){var e=this,t=this._config.parent;t=sr(t);var n="".concat(Ro,'[data-bs-parent="').concat(t,'"]');return Wn(n,t).forEach((function(t){var n=rr(t);e._addAriaAndCollapsedClass(n,[t])})),t}},{key:"_addAriaAndCollapsedClass",value:function _addAriaAndCollapsedClass(e,t){if(e&&t.length){var n=e.classList.contains(Io);t.forEach((function(e){n?e.classList.remove(No):e.classList.add(No),e.setAttribute("aria-expanded",n)}))}}}],[{key:"Default",get:function get(){return ko}},{key:"NAME",get:function get(){return bo}},{key:"collapseInterface",value:function collapseInterface(e,t){var n=Collapse.getInstance(e),r=_objectSpread(_objectSpread(_objectSpread({},ko),Ur.getDataAttributes(e)),"object"===bootstrap_esm_typeof(t)&&t?t:{});if(!n&&r.toggle&&"string"===typeof t&&/show|hide/.test(t)&&(r.toggle=!1),n||(n=new Collapse(e,r)),"string"===typeof t){if("undefined"===typeof n[t])throw new TypeError('No method named "'.concat(t,'"'));n[t]()}}},{key:"jQueryInterface",value:function jQueryInterface(e){return this.each((function(){Collapse.collapseInterface(this,e)}))}}]),Collapse}(Pr);xr.on(document,xo,Ro,(function(e){("A"===e.target.tagName||e.delegateTarget&&"A"===e.delegateTarget.tagName)&&e.preventDefault();var t=Ur.getDataAttributes(this),n=nr(this);Wn(n).forEach((function(e){var n,r=jo.getInstance(e);r?(null===r._parent&&"string"===typeof t.parent&&(r._config.parent=t.parent,r._parent=r._getParent()),n="toggle"):n=t,jo.collapseInterface(e,n)}))})),gr(jo);var Mo="dropdown",Fo=".".concat("bs.dropdown"),qo=".data-api",Bo="Escape",Qo="Space",Ko="ArrowUp",Vo="ArrowDown",Uo=new RegExp("".concat(Ko,"|").concat(Vo,"|").concat(Bo)),Ho="hide".concat(Fo),zo="hidden".concat(Fo),Wo="show".concat(Fo),Go="shown".concat(Fo),Yo="click".concat(Fo),Jo="click".concat(Fo).concat(qo),Xo="keydown".concat(Fo).concat(qo),$o="keyup".concat(Fo).concat(qo),Zo="show",ei='[data-bs-toggle="dropdown"]',ti=".dropdown-menu",ni=yr()?"top-end":"top-start",ri=yr()?"top-start":"top-end",oi=yr()?"bottom-end":"bottom-start",ii=yr()?"bottom-start":"bottom-end",ai=yr()?"left-start":"right-start",si=yr()?"right-start":"left-start",ci={offset:[0,2],boundary:"clippingParents",reference:"toggle",display:"dynamic",popperConfig:null,autoClose:!0},ui={offset:"(array|string|function)",boundary:"(string|element)",reference:"(string|element|object)",display:"string",popperConfig:"(null|object|function)",autoClose:"(boolean|string)"},li=function(t){bootstrap_esm_inherits(Dropdown,t);var n=bootstrap_esm_createSuper(Dropdown);function Dropdown(e,t){var r;return bootstrap_esm_classCallCheck(this,Dropdown),(r=n.call(this,e))._popper=null,r._config=r._getConfig(t),r._menu=r._getMenuElement(),r._inNavbar=r._detectNavbar(),r._addEventListeners(),r}return bootstrap_esm_createClass(Dropdown,[{key:"toggle",value:function toggle(){lr(this._element)||(this._element.classList.contains(Zo)?this.hide():this.show())}},{key:"show",value:function show(){if(!lr(this._element)&&!this._menu.classList.contains(Zo)){var t=Dropdown.getParentFromElement(this._element),n={relatedTarget:this._element};if(!xr.trigger(this._element,Wo,n).defaultPrevented){if(this._inNavbar)Ur.setDataAttribute(this._menu,"popper","none");else{if("undefined"===typeof e)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");var r=this._element;"parent"===this._config.reference?r=t:ar(this._config.reference)?r=sr(this._config.reference):"object"===bootstrap_esm_typeof(this._config.reference)&&(r=this._config.reference);var i=this._getPopperConfig(),d=i.modifiers.find((function(e){return"applyStyles"===e.name&&!1===e.enabled}));this._popper=Hn(r,this._menu,i),d&&Ur.setDataAttribute(this._menu,"popper","static")}var h;if("ontouchstart"in document.documentElement&&!t.closest(".navbar-nav"))(h=[]).concat.apply(h,bootstrap_esm_toConsumableArray(document.body.children)).forEach((function(e){return xr.on(e,"mouseover",fr)}));this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.toggle(Zo),this._element.classList.toggle(Zo),xr.trigger(this._element,Go,n)}}}},{key:"hide",value:function hide(){if(!lr(this._element)&&this._menu.classList.contains(Zo)){var e={relatedTarget:this._element};this._completeHide(e)}}},{key:"dispose",value:function dispose(){this._popper&&this._popper.destroy(),_get(bootstrap_esm_getPrototypeOf(Dropdown.prototype),"dispose",this).call(this)}},{key:"update",value:function update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}},{key:"_addEventListeners",value:function _addEventListeners(){var e=this;xr.on(this._element,Yo,(function(t){t.preventDefault(),e.toggle()}))}},{key:"_completeHide",value:function _completeHide(e){if(!xr.trigger(this._element,Ho,e).defaultPrevented){var t;if("ontouchstart"in document.documentElement)(t=[]).concat.apply(t,bootstrap_esm_toConsumableArray(document.body.children)).forEach((function(e){return xr.off(e,"mouseover",fr)}));this._popper&&this._popper.destroy(),this._menu.classList.remove(Zo),this._element.classList.remove(Zo),this._element.setAttribute("aria-expanded","false"),Ur.removeDataAttribute(this._menu,"popper"),xr.trigger(this._element,zo,e)}}},{key:"_getConfig",value:function _getConfig(e){if(e=_objectSpread(_objectSpread(_objectSpread({},this.constructor.Default),Ur.getDataAttributes(this._element)),e),cr(Mo,e,this.constructor.DefaultType),"object"===bootstrap_esm_typeof(e.reference)&&!ar(e.reference)&&"function"!==typeof e.reference.getBoundingClientRect)throw new TypeError("".concat(Mo.toUpperCase(),': Option "reference" provided type "object" without a required "getBoundingClientRect" method.'));return e}},{key:"_getMenuElement",value:function _getMenuElement(){return $n(this._element,ti)[0]}},{key:"_getPlacement",value:function _getPlacement(){var e=this._element.parentNode;if(e.classList.contains("dropend"))return ai;if(e.classList.contains("dropstart"))return si;var t="end"===getComputedStyle(this._menu).getPropertyValue("--bs-position").trim();return e.classList.contains("dropup")?t?ri:ni:t?ii:oi}},{key:"_detectNavbar",value:function _detectNavbar(){return null!==this._element.closest(".".concat("navbar"))}},{key:"_getOffset",value:function _getOffset(){var e=this,t=this._config.offset;return"string"===typeof t?t.split(",").map((function(e){return Number.parseInt(e,10)})):"function"===typeof t?function(n){return t(n,e._element)}:t}},{key:"_getPopperConfig",value:function _getPopperConfig(){var e={placement:this._getPlacement(),modifiers:[{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"offset",options:{offset:this._getOffset()}}]};return"static"===this._config.display&&(e.modifiers=[{name:"applyStyles",enabled:!1}]),_objectSpread(_objectSpread({},e),"function"===typeof this._config.popperConfig?this._config.popperConfig(e):this._config.popperConfig)}},{key:"_selectMenuItem",value:function _selectMenuItem(e){var t=e.key,n=e.target,r=Wn(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",this._menu).filter(ur);r.length&&br(r,n,t===Vo,!r.includes(n)).focus()}}],[{key:"Default",get:function get(){return ci}},{key:"DefaultType",get:function get(){return ui}},{key:"NAME",get:function get(){return Mo}},{key:"dropdownInterface",value:function dropdownInterface(e,t){var n=Dropdown.getOrCreateInstance(e,t);if("string"===typeof t){if("undefined"===typeof n[t])throw new TypeError('No method named "'.concat(t,'"'));n[t]()}}},{key:"jQueryInterface",value:function jQueryInterface(e){return this.each((function(){Dropdown.dropdownInterface(this,e)}))}},{key:"clearMenus",value:function clearMenus(e){if(!e||2!==e.button&&("keyup"!==e.type||"Tab"===e.key))for(var t=Wn(ei),n=0,r=t.length;n<r;n++){var i=Dropdown.getInstance(t[n]);if(i&&!1!==i._config.autoClose&&i._element.classList.contains(Zo)){var d={relatedTarget:i._element};if(e){var h=e.composedPath(),y=h.includes(i._menu);if(h.includes(i._element)||"inside"===i._config.autoClose&&!y||"outside"===i._config.autoClose&&y)continue;if(i._menu.contains(e.target)&&("keyup"===e.type&&"Tab"===e.key||/input|select|option|textarea|form/i.test(e.target.tagName)))continue;"click"===e.type&&(d.clickEvent=e)}i._completeHide(d)}}}},{key:"getParentFromElement",value:function getParentFromElement(e){return rr(e)||e.parentNode}},{key:"dataApiKeydownHandler",value:function dataApiKeydownHandler(e){var t=this;if(!(/input|textarea/i.test(e.target.tagName)?e.key===Qo||e.key!==Bo&&(e.key!==Vo&&e.key!==Ko||e.target.closest(ti)):!Uo.test(e.key))){var n=this.classList.contains(Zo);if((n||e.key!==Bo)&&(e.preventDefault(),e.stopPropagation(),!lr(this))){var r=function getToggleButton(){return t.matches(ei)?t:Xn(t,ei)[0]};return e.key===Bo?(r().focus(),void Dropdown.clearMenus()):e.key===Ko||e.key===Vo?(n||r().click(),void Dropdown.getInstance(r())._selectMenuItem(e)):void(n&&e.key!==Qo||Dropdown.clearMenus())}}}}]),Dropdown}(Pr);xr.on(document,Xo,ei,li.dataApiKeydownHandler),xr.on(document,Xo,ti,li.dataApiKeydownHandler),xr.on(document,Jo,li.clearMenus),xr.on(document,$o,li.clearMenus),xr.on(document,Jo,ei,(function(e){e.preventDefault(),li.dropdownInterface(this)})),gr(li);var pi=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",fi=".sticky-top",di=function(){function ScrollBarHelper(){bootstrap_esm_classCallCheck(this,ScrollBarHelper),this._element=document.body}return bootstrap_esm_createClass(ScrollBarHelper,[{key:"getWidth",value:function getWidth(){var e=document.documentElement.clientWidth;return Math.abs(window.innerWidth-e)}},{key:"hide",value:function hide(){var e=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,"paddingRight",(function(t){return t+e})),this._setElementAttributes(pi,"paddingRight",(function(t){return t+e})),this._setElementAttributes(fi,"marginRight",(function(t){return t-e}))}},{key:"_disableOverFlow",value:function _disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}},{key:"_setElementAttributes",value:function _setElementAttributes(e,t,n){var r=this,i=this.getWidth();this._applyManipulationCallback(e,(function manipulationCallBack(e){if(!(e!==r._element&&window.innerWidth>e.clientWidth+i)){r._saveInitialAttribute(e,t);var d=window.getComputedStyle(e)[t];e.style[t]="".concat(n(Number.parseFloat(d)),"px")}}))}},{key:"reset",value:function reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,"paddingRight"),this._resetElementAttributes(pi,"paddingRight"),this._resetElementAttributes(fi,"marginRight")}},{key:"_saveInitialAttribute",value:function _saveInitialAttribute(e,t){var n=e.style[t];n&&Ur.setDataAttribute(e,t,n)}},{key:"_resetElementAttributes",value:function _resetElementAttributes(e,t){this._applyManipulationCallback(e,(function manipulationCallBack(e){var n=Ur.getDataAttribute(e,t);"undefined"===typeof n?e.style.removeProperty(t):(Ur.removeDataAttribute(e,t),e.style[t]=n)}))}},{key:"_applyManipulationCallback",value:function _applyManipulationCallback(e,t){ar(e)?t(e):Wn(e,this._element).forEach(t)}},{key:"isOverflowing",value:function isOverflowing(){return this.getWidth()>0}}]),ScrollBarHelper}(),hi={isVisible:!0,isAnimated:!1,rootElement:"body",clickCallback:null},mi={isVisible:"boolean",isAnimated:"boolean",rootElement:"(element|string)",clickCallback:"(function|null)"},yi="backdrop",gi="show",vi="mousedown.bs.".concat(yi),_i=function(){function Backdrop(e){bootstrap_esm_classCallCheck(this,Backdrop),this._config=this._getConfig(e),this._isAppended=!1,this._element=null}return bootstrap_esm_createClass(Backdrop,[{key:"show",value:function show(e){this._config.isVisible?(this._append(),this._config.isAnimated&&dr(this._getElement()),this._getElement().classList.add(gi),this._emulateAnimation((function(){vr(e)}))):vr(e)}},{key:"hide",value:function hide(e){var t=this;this._config.isVisible?(this._getElement().classList.remove(gi),this._emulateAnimation((function(){t.dispose(),vr(e)}))):vr(e)}},{key:"_getElement",value:function _getElement(){if(!this._element){var e=document.createElement("div");e.className="modal-backdrop",this._config.isAnimated&&e.classList.add("fade"),this._element=e}return this._element}},{key:"_getConfig",value:function _getConfig(e){return(e=_objectSpread(_objectSpread({},hi),"object"===bootstrap_esm_typeof(e)?e:{})).rootElement=sr(e.rootElement),cr(yi,e,mi),e}},{key:"_append",value:function _append(){var e=this;this._isAppended||(this._config.rootElement.appendChild(this._getElement()),xr.on(this._getElement(),vi,(function(){vr(e._config.clickCallback)})),this._isAppended=!0)}},{key:"dispose",value:function dispose(){this._isAppended&&(xr.off(this._element,vi),this._element.remove(),this._isAppended=!1)}},{key:"_emulateAnimation",value:function _emulateAnimation(e){_r(e,this._getElement(),this._config.isAnimated)}}]),Backdrop}(),bi="modal",wi=".".concat("bs.modal"),Ei="Escape",ki={backdrop:!0,keyboard:!0,focus:!0},Si={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean"},Ci="hide".concat(wi),Oi="hidePrevented".concat(wi),Ti="hidden".concat(wi),Ai="show".concat(wi),xi="shown".concat(wi),Ii="focusin".concat(wi),Di="resize".concat(wi),Li="click.dismiss".concat(wi),Ni="keydown.dismiss".concat(wi),Pi="mouseup.dismiss".concat(wi),Ri="mousedown.dismiss".concat(wi),ji="click".concat(wi).concat(".data-api"),Mi="modal-open",Fi="show",qi="modal-static",Bi=function(e){bootstrap_esm_inherits(Modal,e);var t=bootstrap_esm_createSuper(Modal);function Modal(e,n){var r;return bootstrap_esm_classCallCheck(this,Modal),(r=t.call(this,e))._config=r._getConfig(n),r._dialog=Gn(".modal-dialog",r._element),r._backdrop=r._initializeBackDrop(),r._isShown=!1,r._ignoreBackdropClick=!1,r._isTransitioning=!1,r._scrollBar=new di,r}return bootstrap_esm_createClass(Modal,[{key:"toggle",value:function toggle(e){return this._isShown?this.hide():this.show(e)}},{key:"show",value:function show(e){var t=this;this._isShown||this._isTransitioning||(xr.trigger(this._element,Ai,{relatedTarget:e}).defaultPrevented||(this._isShown=!0,this._isAnimated()&&(this._isTransitioning=!0),this._scrollBar.hide(),document.body.classList.add(Mi),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),xr.on(this._element,Li,'[data-bs-dismiss="modal"]',(function(e){return t.hide(e)})),xr.on(this._dialog,Ri,(function(){xr.one(t._element,Pi,(function(e){e.target===t._element&&(t._ignoreBackdropClick=!0)}))})),this._showBackdrop((function(){return t._showElement(e)}))))}},{key:"hide",value:function hide(e){var t=this;if((e&&["A","AREA"].includes(e.target.tagName)&&e.preventDefault(),this._isShown&&!this._isTransitioning)&&!xr.trigger(this._element,Ci).defaultPrevented){this._isShown=!1;var n=this._isAnimated();n&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),xr.off(document,Ii),this._element.classList.remove(Fi),xr.off(this._element,Li),xr.off(this._dialog,Ri),this._queueCallback((function(){return t._hideModal()}),this._element,n)}}},{key:"dispose",value:function dispose(){[window,this._dialog].forEach((function(e){return xr.off(e,wi)})),this._backdrop.dispose(),_get(bootstrap_esm_getPrototypeOf(Modal.prototype),"dispose",this).call(this),xr.off(document,Ii)}},{key:"handleUpdate",value:function handleUpdate(){this._adjustDialog()}},{key:"_initializeBackDrop",value:function _initializeBackDrop(){return new _i({isVisible:Boolean(this._config.backdrop),isAnimated:this._isAnimated()})}},{key:"_getConfig",value:function _getConfig(e){return e=_objectSpread(_objectSpread(_objectSpread({},ki),Ur.getDataAttributes(this._element)),"object"===bootstrap_esm_typeof(e)?e:{}),cr(bi,e,Si),e}},{key:"_showElement",value:function _showElement(e){var t=this,n=this._isAnimated(),r=Gn(".modal-body",this._dialog);this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0,r&&(r.scrollTop=0),n&&dr(this._element),this._element.classList.add(Fi),this._config.focus&&this._enforceFocus();this._queueCallback((function transitionComplete(){t._config.focus&&t._element.focus(),t._isTransitioning=!1,xr.trigger(t._element,xi,{relatedTarget:e})}),this._dialog,n)}},{key:"_enforceFocus",value:function _enforceFocus(){var e=this;xr.off(document,Ii),xr.on(document,Ii,(function(t){document===t.target||e._element===t.target||e._element.contains(t.target)||e._element.focus()}))}},{key:"_setEscapeEvent",value:function _setEscapeEvent(){var e=this;this._isShown?xr.on(this._element,Ni,(function(t){e._config.keyboard&&t.key===Ei?(t.preventDefault(),e.hide()):e._config.keyboard||t.key!==Ei||e._triggerBackdropTransition()})):xr.off(this._element,Ni)}},{key:"_setResizeEvent",value:function _setResizeEvent(){var e=this;this._isShown?xr.on(window,Di,(function(){return e._adjustDialog()})):xr.off(window,Di)}},{key:"_hideModal",value:function _hideModal(){var e=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide((function(){document.body.classList.remove(Mi),e._resetAdjustments(),e._scrollBar.reset(),xr.trigger(e._element,Ti)}))}},{key:"_showBackdrop",value:function _showBackdrop(e){var t=this;xr.on(this._element,Li,(function(e){t._ignoreBackdropClick?t._ignoreBackdropClick=!1:e.target===e.currentTarget&&(!0===t._config.backdrop?t.hide():"static"===t._config.backdrop&&t._triggerBackdropTransition())})),this._backdrop.show(e)}},{key:"_isAnimated",value:function _isAnimated(){return this._element.classList.contains("fade")}},{key:"_triggerBackdropTransition",value:function _triggerBackdropTransition(){var e=this;if(!xr.trigger(this._element,Oi).defaultPrevented){var t=this._element,n=t.classList,r=t.scrollHeight,i=t.style,d=r>document.documentElement.clientHeight;!d&&"hidden"===i.overflowY||n.contains(qi)||(d||(i.overflowY="hidden"),n.add(qi),this._queueCallback((function(){n.remove(qi),d||e._queueCallback((function(){i.overflowY=""}),e._dialog)}),this._dialog),this._element.focus())}}},{key:"_adjustDialog",value:function _adjustDialog(){var e=this._element.scrollHeight>document.documentElement.clientHeight,t=this._scrollBar.getWidth(),n=t>0;(!n&&e&&!yr()||n&&!e&&yr())&&(this._element.style.paddingLeft="".concat(t,"px")),(n&&!e&&!yr()||!n&&e&&yr())&&(this._element.style.paddingRight="".concat(t,"px"))}},{key:"_resetAdjustments",value:function _resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}}],[{key:"Default",get:function get(){return ki}},{key:"NAME",get:function get(){return bi}},{key:"jQueryInterface",value:function jQueryInterface(e,t){return this.each((function(){var n=Modal.getOrCreateInstance(this,e);if("string"===typeof e){if("undefined"===typeof n[e])throw new TypeError('No method named "'.concat(e,'"'));n[e](t)}}))}}]),Modal}(Pr);xr.on(document,ji,'[data-bs-toggle="modal"]',(function(e){var t=this,n=rr(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),xr.one(n,Ai,(function(e){e.defaultPrevented||xr.one(n,Ti,(function(){ur(t)&&t.focus()}))})),Bi.getOrCreateInstance(n).toggle(this)})),gr(Bi);var Qi="offcanvas",Ki=".".concat("bs.offcanvas"),Vi=".data-api",Ui="load".concat(Ki).concat(Vi),Hi={backdrop:!0,keyboard:!0,scroll:!1},zi={backdrop:"boolean",keyboard:"boolean",scroll:"boolean"},Wi="show",Gi=".offcanvas.show",Yi="show".concat(Ki),Ji="shown".concat(Ki),Xi="hide".concat(Ki),$i="hidden".concat(Ki),Zi="focusin".concat(Ki),ea="click".concat(Ki).concat(Vi),ta="click.dismiss".concat(Ki),na="keydown.dismiss".concat(Ki),ra=function(e){bootstrap_esm_inherits(Offcanvas,e);var t=bootstrap_esm_createSuper(Offcanvas);function Offcanvas(e,n){var r;return bootstrap_esm_classCallCheck(this,Offcanvas),(r=t.call(this,e))._config=r._getConfig(n),r._isShown=!1,r._backdrop=r._initializeBackDrop(),r._addEventListeners(),r}return bootstrap_esm_createClass(Offcanvas,[{key:"toggle",value:function toggle(e){return this._isShown?this.hide():this.show(e)}},{key:"show",value:function show(e){var t=this;if(!this._isShown&&!xr.trigger(this._element,Yi,{relatedTarget:e}).defaultPrevented){this._isShown=!0,this._element.style.visibility="visible",this._backdrop.show(),this._config.scroll||((new di).hide(),this._enforceFocusOnElement(this._element)),this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(Wi);this._queueCallback((function completeCallBack(){xr.trigger(t._element,Ji,{relatedTarget:e})}),this._element,!0)}}},{key:"hide",value:function hide(){var e=this;if(this._isShown&&!xr.trigger(this._element,Xi).defaultPrevented){xr.off(document,Zi),this._element.blur(),this._isShown=!1,this._element.classList.remove(Wi),this._backdrop.hide();this._queueCallback((function completeCallback(){e._element.setAttribute("aria-hidden",!0),e._element.removeAttribute("aria-modal"),e._element.removeAttribute("role"),e._element.style.visibility="hidden",e._config.scroll||(new di).reset(),xr.trigger(e._element,$i)}),this._element,!0)}}},{key:"dispose",value:function dispose(){this._backdrop.dispose(),_get(bootstrap_esm_getPrototypeOf(Offcanvas.prototype),"dispose",this).call(this),xr.off(document,Zi)}},{key:"_getConfig",value:function _getConfig(e){return e=_objectSpread(_objectSpread(_objectSpread({},Hi),Ur.getDataAttributes(this._element)),"object"===bootstrap_esm_typeof(e)?e:{}),cr(Qi,e,zi),e}},{key:"_initializeBackDrop",value:function _initializeBackDrop(){var e=this;return new _i({isVisible:this._config.backdrop,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:function clickCallback(){return e.hide()}})}},{key:"_enforceFocusOnElement",value:function _enforceFocusOnElement(e){xr.off(document,Zi),xr.on(document,Zi,(function(t){document===t.target||e===t.target||e.contains(t.target)||e.focus()})),e.focus()}},{key:"_addEventListeners",value:function _addEventListeners(){var e=this;xr.on(this._element,ta,'[data-bs-dismiss="offcanvas"]',(function(){return e.hide()})),xr.on(this._element,na,(function(t){e._config.keyboard&&"Escape"===t.key&&e.hide()}))}}],[{key:"NAME",get:function get(){return Qi}},{key:"Default",get:function get(){return Hi}},{key:"jQueryInterface",value:function jQueryInterface(e){return this.each((function(){var t=Offcanvas.getOrCreateInstance(this,e);if("string"===typeof e){if(void 0===t[e]||e.startsWith("_")||"constructor"===e)throw new TypeError('No method named "'.concat(e,'"'));t[e](this)}}))}}]),Offcanvas}(Pr);xr.on(document,ea,'[data-bs-toggle="offcanvas"]',(function(e){var t=this,n=rr(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),!lr(this)){xr.one(n,$i,(function(){ur(t)&&t.focus()}));var r=Gn(Gi);r&&r!==n&&ra.getInstance(r).hide(),ra.getOrCreateInstance(n).toggle(this)}})),xr.on(window,Ui,(function(){return Wn(Gi).forEach((function(e){return ra.getOrCreateInstance(e).show()}))})),gr(ra);var oa=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),ia=/^(?:(?:https?|mailto|ftp|tel|file):|[^#&/:?]*(?:[#/?]|$))/i,aa=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i,sa={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]};function sanitizeHtml(e,t,n){var r;if(!e.length)return e;if(n&&"function"===typeof n)return n(e);for(var i=(new window.DOMParser).parseFromString(e,"text/html"),d=Object.keys(t),h=(r=[]).concat.apply(r,bootstrap_esm_toConsumableArray(i.body.querySelectorAll("*"))),y=function _loop(e,n){var r,i=h[e],y=i.nodeName.toLowerCase();if(!d.includes(y))return i.remove(),"continue";var g=(r=[]).concat.apply(r,bootstrap_esm_toConsumableArray(i.attributes)),v=[].concat(t["*"]||[],t[y]||[]);g.forEach((function(e){(function allowedAttribute(e,t){var n=e.nodeName.toLowerCase();if(t.includes(n))return!oa.has(n)||Boolean(ia.test(e.nodeValue)||aa.test(e.nodeValue));for(var r=t.filter((function(e){return e instanceof RegExp})),i=0,d=r.length;i<d;i++)if(r[i].test(n))return!0;return!1})(e,v)||i.removeAttribute(e.nodeName)}))},g=0,v=h.length;g<v;g++)y(g);return i.body.innerHTML}var ca="tooltip",ua=".".concat("bs.tooltip"),la="bs-tooltip",pa=new RegExp("(^|\\s)".concat(la,"\\S+"),"g"),fa=new Set(["sanitize","allowList","sanitizeFn"]),da={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(array|string|function)",container:"(string|element|boolean)",fallbackPlacements:"array",boundary:"(string|element)",customClass:"(string|function)",sanitize:"boolean",sanitizeFn:"(null|function)",allowList:"object",popperConfig:"(null|object|function)"},ha={AUTO:"auto",TOP:"top",RIGHT:yr()?"left":"right",BOTTOM:"bottom",LEFT:yr()?"right":"left"},ma={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:[0,0],container:!1,fallbackPlacements:["top","right","bottom","left"],boundary:"clippingParents",customClass:"",sanitize:!0,sanitizeFn:null,allowList:sa,popperConfig:null},ya={HIDE:"hide".concat(ua),HIDDEN:"hidden".concat(ua),SHOW:"show".concat(ua),SHOWN:"shown".concat(ua),INSERTED:"inserted".concat(ua),CLICK:"click".concat(ua),FOCUSIN:"focusin".concat(ua),FOCUSOUT:"focusout".concat(ua),MOUSEENTER:"mouseenter".concat(ua),MOUSELEAVE:"mouseleave".concat(ua)},ga="fade",va="modal",_a="show",ba="show",wa="out",Ea="hover",ka="focus",Sa=function(t){bootstrap_esm_inherits(Tooltip,t);var n=bootstrap_esm_createSuper(Tooltip);function Tooltip(t,r){var i;if(bootstrap_esm_classCallCheck(this,Tooltip),"undefined"===typeof e)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");return(i=n.call(this,t))._isEnabled=!0,i._timeout=0,i._hoverState="",i._activeTrigger={},i._popper=null,i._config=i._getConfig(r),i.tip=null,i._setListeners(),i}return bootstrap_esm_createClass(Tooltip,[{key:"enable",value:function enable(){this._isEnabled=!0}},{key:"disable",value:function disable(){this._isEnabled=!1}},{key:"toggleEnabled",value:function toggleEnabled(){this._isEnabled=!this._isEnabled}},{key:"toggle",value:function toggle(e){if(this._isEnabled)if(e){var t=this._initializeOnDelegatedTarget(e);t._activeTrigger.click=!t._activeTrigger.click,t._isWithActiveTrigger()?t._enter(null,t):t._leave(null,t)}else{if(this.getTipElement().classList.contains(_a))return void this._leave(null,this);this._enter(null,this)}}},{key:"dispose",value:function dispose(){clearTimeout(this._timeout),xr.off(this._element.closest(".".concat(va)),"hide.bs.modal",this._hideModalHandler),this.tip&&this.tip.remove(),this._popper&&this._popper.destroy(),_get(bootstrap_esm_getPrototypeOf(Tooltip.prototype),"dispose",this).call(this)}},{key:"show",value:function show(){var e=this;if("none"===this._element.style.display)throw new Error("Please use show on visible elements");if(this.isWithContent()&&this._isEnabled){var t=xr.trigger(this._element,this.constructor.Event.SHOW),n=pr(this._element),r=null===n?this._element.ownerDocument.documentElement.contains(this._element):n.contains(this._element);if(!t.defaultPrevented&&r){var i=this.getTipElement(),d=er(this.constructor.NAME);i.setAttribute("id",d),this._element.setAttribute("aria-describedby",d),this.setContent(),this._config.animation&&i.classList.add(ga);var h="function"===typeof this._config.placement?this._config.placement.call(this,i,this._element):this._config.placement,y=this._getAttachment(h);this._addAttachmentClass(y);var g=this._config.container;Dr(i,this.constructor.DATA_KEY,this),this._element.ownerDocument.documentElement.contains(this.tip)||(g.appendChild(i),xr.trigger(this._element,this.constructor.Event.INSERTED)),this._popper?this._popper.update():this._popper=Hn(this._element,i,this._getPopperConfig(y)),i.classList.add(_a);var v,_,b="function"===typeof this._config.customClass?this._config.customClass():this._config.customClass;if(b)(v=i.classList).add.apply(v,bootstrap_esm_toConsumableArray(b.split(" ")));if("ontouchstart"in document.documentElement)(_=[]).concat.apply(_,bootstrap_esm_toConsumableArray(document.body.children)).forEach((function(e){xr.on(e,"mouseover",fr)}));var w=this.tip.classList.contains(ga);this._queueCallback((function complete(){var t=e._hoverState;e._hoverState=null,xr.trigger(e._element,e.constructor.Event.SHOWN),t===wa&&e._leave(null,e)}),this.tip,w)}}}},{key:"hide",value:function hide(){var e=this;if(this._popper){var t=this.getTipElement();if(!xr.trigger(this._element,this.constructor.Event.HIDE).defaultPrevented){var n;if(t.classList.remove(_a),"ontouchstart"in document.documentElement)(n=[]).concat.apply(n,bootstrap_esm_toConsumableArray(document.body.children)).forEach((function(e){return xr.off(e,"mouseover",fr)}));this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1;var r=this.tip.classList.contains(ga);this._queueCallback((function complete(){e._isWithActiveTrigger()||(e._hoverState!==ba&&t.remove(),e._cleanTipClass(),e._element.removeAttribute("aria-describedby"),xr.trigger(e._element,e.constructor.Event.HIDDEN),e._popper&&(e._popper.destroy(),e._popper=null))}),this.tip,r),this._hoverState=""}}}},{key:"update",value:function update(){null!==this._popper&&this._popper.update()}},{key:"isWithContent",value:function isWithContent(){return Boolean(this.getTitle())}},{key:"getTipElement",value:function getTipElement(){if(this.tip)return this.tip;var e=document.createElement("div");return e.innerHTML=this._config.template,this.tip=e.children[0],this.tip}},{key:"setContent",value:function setContent(){var e=this.getTipElement();this.setElementContent(Gn(".tooltip-inner",e),this.getTitle()),e.classList.remove(ga,_a)}},{key:"setElementContent",value:function setElementContent(e,t){if(null!==e)return ar(t)?(t=sr(t),void(this._config.html?t.parentNode!==e&&(e.innerHTML="",e.appendChild(t)):e.textContent=t.textContent)):void(this._config.html?(this._config.sanitize&&(t=sanitizeHtml(t,this._config.allowList,this._config.sanitizeFn)),e.innerHTML=t):e.textContent=t)}},{key:"getTitle",value:function getTitle(){var e=this._element.getAttribute("data-bs-original-title");return e||(e="function"===typeof this._config.title?this._config.title.call(this._element):this._config.title),e}},{key:"updateAttachment",value:function updateAttachment(e){return"right"===e?"end":"left"===e?"start":e}},{key:"_initializeOnDelegatedTarget",value:function _initializeOnDelegatedTarget(e,t){var n=this.constructor.DATA_KEY;return(t=t||Lr(e.delegateTarget,n))||(t=new this.constructor(e.delegateTarget,this._getDelegateConfig()),Dr(e.delegateTarget,n,t)),t}},{key:"_getOffset",value:function _getOffset(){var e=this,t=this._config.offset;return"string"===typeof t?t.split(",").map((function(e){return Number.parseInt(e,10)})):"function"===typeof t?function(n){return t(n,e._element)}:t}},{key:"_getPopperConfig",value:function _getPopperConfig(e){var t=this,n={placement:e,modifiers:[{name:"flip",options:{fallbackPlacements:this._config.fallbackPlacements}},{name:"offset",options:{offset:this._getOffset()}},{name:"preventOverflow",options:{boundary:this._config.boundary}},{name:"arrow",options:{element:".".concat(this.constructor.NAME,"-arrow")}},{name:"onChange",enabled:!0,phase:"afterWrite",fn:function fn(e){return t._handlePopperPlacementChange(e)}}],onFirstUpdate:function onFirstUpdate(e){e.options.placement!==e.placement&&t._handlePopperPlacementChange(e)}};return _objectSpread(_objectSpread({},n),"function"===typeof this._config.popperConfig?this._config.popperConfig(n):this._config.popperConfig)}},{key:"_addAttachmentClass",value:function _addAttachmentClass(e){this.getTipElement().classList.add("".concat(la,"-").concat(this.updateAttachment(e)))}},{key:"_getAttachment",value:function _getAttachment(e){return ha[e.toUpperCase()]}},{key:"_setListeners",value:function _setListeners(){var e=this;this._config.trigger.split(" ").forEach((function(t){if("click"===t)xr.on(e._element,e.constructor.Event.CLICK,e._config.selector,(function(t){return e.toggle(t)}));else if("manual"!==t){var n=t===Ea?e.constructor.Event.MOUSEENTER:e.constructor.Event.FOCUSIN,r=t===Ea?e.constructor.Event.MOUSELEAVE:e.constructor.Event.FOCUSOUT;xr.on(e._element,n,e._config.selector,(function(t){return e._enter(t)})),xr.on(e._element,r,e._config.selector,(function(t){return e._leave(t)}))}})),this._hideModalHandler=function(){e._element&&e.hide()},xr.on(this._element.closest(".".concat(va)),"hide.bs.modal",this._hideModalHandler),this._config.selector?this._config=_objectSpread(_objectSpread({},this._config),{},{trigger:"manual",selector:""}):this._fixTitle()}},{key:"_fixTitle",value:function _fixTitle(){var e=this._element.getAttribute("title"),t=bootstrap_esm_typeof(this._element.getAttribute("data-bs-original-title"));(e||"string"!==t)&&(this._element.setAttribute("data-bs-original-title",e||""),!e||this._element.getAttribute("aria-label")||this._element.textContent||this._element.setAttribute("aria-label",e),this._element.setAttribute("title",""))}},{key:"_enter",value:function _enter(e,t){t=this._initializeOnDelegatedTarget(e,t),e&&(t._activeTrigger["focusin"===e.type?ka:Ea]=!0),t.getTipElement().classList.contains(_a)||t._hoverState===ba?t._hoverState=ba:(clearTimeout(t._timeout),t._hoverState=ba,t._config.delay&&t._config.delay.show?t._timeout=setTimeout((function(){t._hoverState===ba&&t.show()}),t._config.delay.show):t.show())}},{key:"_leave",value:function _leave(e,t){t=this._initializeOnDelegatedTarget(e,t),e&&(t._activeTrigger["focusout"===e.type?ka:Ea]=t._element.contains(e.relatedTarget)),t._isWithActiveTrigger()||(clearTimeout(t._timeout),t._hoverState=wa,t._config.delay&&t._config.delay.hide?t._timeout=setTimeout((function(){t._hoverState===wa&&t.hide()}),t._config.delay.hide):t.hide())}},{key:"_isWithActiveTrigger",value:function _isWithActiveTrigger(){for(var e in this._activeTrigger)if(this._activeTrigger[e])return!0;return!1}},{key:"_getConfig",value:function _getConfig(e){var t=Ur.getDataAttributes(this._element);return Object.keys(t).forEach((function(e){fa.has(e)&&delete t[e]})),(e=_objectSpread(_objectSpread(_objectSpread({},this.constructor.Default),t),"object"===bootstrap_esm_typeof(e)&&e?e:{})).container=!1===e.container?document.body:sr(e.container),"number"===typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),"number"===typeof e.title&&(e.title=e.title.toString()),"number"===typeof e.content&&(e.content=e.content.toString()),cr(ca,e,this.constructor.DefaultType),e.sanitize&&(e.template=sanitizeHtml(e.template,e.allowList,e.sanitizeFn)),e}},{key:"_getDelegateConfig",value:function _getDelegateConfig(){var e={};if(this._config)for(var t in this._config)this.constructor.Default[t]!==this._config[t]&&(e[t]=this._config[t]);return e}},{key:"_cleanTipClass",value:function _cleanTipClass(){var e=this.getTipElement(),t=e.getAttribute("class").match(pa);null!==t&&t.length>0&&t.map((function(e){return e.trim()})).forEach((function(t){return e.classList.remove(t)}))}},{key:"_handlePopperPlacementChange",value:function _handlePopperPlacementChange(e){var t=e.state;t&&(this.tip=t.elements.popper,this._cleanTipClass(),this._addAttachmentClass(this._getAttachment(t.placement)))}}],[{key:"Default",get:function get(){return ma}},{key:"NAME",get:function get(){return ca}},{key:"Event",get:function get(){return ya}},{key:"DefaultType",get:function get(){return da}},{key:"jQueryInterface",value:function jQueryInterface(e){return this.each((function(){var t=Tooltip.getOrCreateInstance(this,e);if("string"===typeof e){if("undefined"===typeof t[e])throw new TypeError('No method named "'.concat(e,'"'));t[e]()}}))}}]),Tooltip}(Pr);gr(Sa);var Ca=".".concat("bs.popover"),Oa="bs-popover",Ta=new RegExp("(^|\\s)".concat(Oa,"\\S+"),"g"),Aa=_objectSpread(_objectSpread({},Sa.Default),{},{placement:"right",offset:[0,8],trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="popover-arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}),xa=_objectSpread(_objectSpread({},Sa.DefaultType),{},{content:"(string|element|function)"}),Ia={HIDE:"hide".concat(Ca),HIDDEN:"hidden".concat(Ca),SHOW:"show".concat(Ca),SHOWN:"shown".concat(Ca),INSERTED:"inserted".concat(Ca),CLICK:"click".concat(Ca),FOCUSIN:"focusin".concat(Ca),FOCUSOUT:"focusout".concat(Ca),MOUSEENTER:"mouseenter".concat(Ca),MOUSELEAVE:"mouseleave".concat(Ca)},Da=".popover-header",La=".popover-body";gr(function(e){bootstrap_esm_inherits(Popover,e);var t=bootstrap_esm_createSuper(Popover);function Popover(){return bootstrap_esm_classCallCheck(this,Popover),t.apply(this,arguments)}return bootstrap_esm_createClass(Popover,[{key:"isWithContent",value:function isWithContent(){return this.getTitle()||this._getContent()}},{key:"getTipElement",value:function getTipElement(){return this.tip||(this.tip=_get(bootstrap_esm_getPrototypeOf(Popover.prototype),"getTipElement",this).call(this),this.getTitle()||Gn(Da,this.tip).remove(),this._getContent()||Gn(La,this.tip).remove()),this.tip}},{key:"setContent",value:function setContent(){var e=this.getTipElement();this.setElementContent(Gn(Da,e),this.getTitle());var t=this._getContent();"function"===typeof t&&(t=t.call(this._element)),this.setElementContent(Gn(La,e),t),e.classList.remove("fade","show")}},{key:"_addAttachmentClass",value:function _addAttachmentClass(e){this.getTipElement().classList.add("".concat(Oa,"-").concat(this.updateAttachment(e)))}},{key:"_getContent",value:function _getContent(){return this._element.getAttribute("data-bs-content")||this._config.content}},{key:"_cleanTipClass",value:function _cleanTipClass(){var e=this.getTipElement(),t=e.getAttribute("class").match(Ta);null!==t&&t.length>0&&t.map((function(e){return e.trim()})).forEach((function(t){return e.classList.remove(t)}))}}],[{key:"Default",get:function get(){return Aa}},{key:"NAME",get:function get(){return"popover"}},{key:"Event",get:function get(){return Ia}},{key:"DefaultType",get:function get(){return xa}},{key:"jQueryInterface",value:function jQueryInterface(e){return this.each((function(){var t=Popover.getOrCreateInstance(this,e);if("string"===typeof e){if("undefined"===typeof t[e])throw new TypeError('No method named "'.concat(e,'"'));t[e]()}}))}}]),Popover}(Sa));var Na="scrollspy",Pa=".".concat("bs.scrollspy"),Ra={offset:10,method:"auto",target:""},ja={offset:"number",method:"string",target:"(string|element)"},Ma="activate".concat(Pa),Fa="scroll".concat(Pa),qa="load".concat(Pa).concat(".data-api"),Ba="dropdown-item",Qa="active",Ka=".nav-link",Va=".list-group-item",Ua="position",Ha=function(e){bootstrap_esm_inherits(ScrollSpy,e);var t=bootstrap_esm_createSuper(ScrollSpy);function ScrollSpy(e,n){var r;return bootstrap_esm_classCallCheck(this,ScrollSpy),(r=t.call(this,e))._scrollElement="BODY"===r._element.tagName?window:r._element,r._config=r._getConfig(n),r._selector="".concat(r._config.target," ").concat(Ka,", ").concat(r._config.target," ").concat(Va,", ").concat(r._config.target," .").concat(Ba),r._offsets=[],r._targets=[],r._activeTarget=null,r._scrollHeight=0,xr.on(r._scrollElement,Fa,(function(){return r._process()})),r.refresh(),r._process(),r}return bootstrap_esm_createClass(ScrollSpy,[{key:"refresh",value:function refresh(){var e=this,t=this._scrollElement===this._scrollElement.window?"offset":Ua,n="auto"===this._config.method?t:this._config.method,r=n===Ua?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),Wn(this._selector).map((function(e){var t=nr(e),i=t?Gn(t):null;if(i){var d=i.getBoundingClientRect();if(d.width||d.height)return[Ur[n](i).top+r,t]}return null})).filter((function(e){return e})).sort((function(e,t){return e[0]-t[0]})).forEach((function(t){e._offsets.push(t[0]),e._targets.push(t[1])}))}},{key:"dispose",value:function dispose(){xr.off(this._scrollElement,Pa),_get(bootstrap_esm_getPrototypeOf(ScrollSpy.prototype),"dispose",this).call(this)}},{key:"_getConfig",value:function _getConfig(e){if("string"!==typeof(e=_objectSpread(_objectSpread(_objectSpread({},Ra),Ur.getDataAttributes(this._element)),"object"===bootstrap_esm_typeof(e)&&e?e:{})).target&&ar(e.target)){var t=e.target.id;t||(t=er(Na),e.target.id=t),e.target="#".concat(t)}return cr(Na,e,ja),e}},{key:"_getScrollTop",value:function _getScrollTop(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop}},{key:"_getScrollHeight",value:function _getScrollHeight(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)}},{key:"_getOffsetHeight",value:function _getOffsetHeight(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height}},{key:"_process",value:function _process(){var e=this._getScrollTop()+this._config.offset,t=this._getScrollHeight(),n=this._config.offset+t-this._getOffsetHeight();if(this._scrollHeight!==t&&this.refresh(),e>=n){var r=this._targets[this._targets.length-1];this._activeTarget!==r&&this._activate(r)}else{if(this._activeTarget&&e<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(var i=this._offsets.length;i--;){this._activeTarget!==this._targets[i]&&e>=this._offsets[i]&&("undefined"===typeof this._offsets[i+1]||e<this._offsets[i+1])&&this._activate(this._targets[i])}}}},{key:"_activate",value:function _activate(e){this._activeTarget=e,this._clear();var t=this._selector.split(",").map((function(t){return"".concat(t,'[data-bs-target="').concat(e,'"],').concat(t,'[href="').concat(e,'"]')})),n=Gn(t.join(","));n.classList.contains(Ba)?(Gn(".dropdown-toggle",n.closest(".dropdown")).classList.add(Qa),n.classList.add(Qa)):(n.classList.add(Qa),Jn(n,".nav, .list-group").forEach((function(e){Xn(e,"".concat(Ka,", ").concat(Va)).forEach((function(e){return e.classList.add(Qa)})),Xn(e,".nav-item").forEach((function(e){Yn(e,Ka).forEach((function(e){return e.classList.add(Qa)}))}))}))),xr.trigger(this._scrollElement,Ma,{relatedTarget:e})}},{key:"_clear",value:function _clear(){Wn(this._selector).filter((function(e){return e.classList.contains(Qa)})).forEach((function(e){return e.classList.remove(Qa)}))}}],[{key:"Default",get:function get(){return Ra}},{key:"NAME",get:function get(){return Na}},{key:"jQueryInterface",value:function jQueryInterface(e){return this.each((function(){var t=ScrollSpy.getOrCreateInstance(this,e);if("string"===typeof e){if("undefined"===typeof t[e])throw new TypeError('No method named "'.concat(e,'"'));t[e]()}}))}}]),ScrollSpy}(Pr);xr.on(window,qa,(function(){Wn('[data-bs-spy="scroll"]').forEach((function(e){return new Ha(e)}))})),gr(Ha);var za=".".concat("bs.tab"),Wa="hide".concat(za),Ga="hidden".concat(za),Ya="show".concat(za),Ja="shown".concat(za),Xa="click".concat(za).concat(".data-api"),$a="active",Za="fade",es="show",ts=".active",ns=":scope > li > .active",rs=function(e){bootstrap_esm_inherits(Tab,e);var t=bootstrap_esm_createSuper(Tab);function Tab(){return bootstrap_esm_classCallCheck(this,Tab),t.apply(this,arguments)}return bootstrap_esm_createClass(Tab,[{key:"show",value:function show(){var e=this;if(!this._element.parentNode||this._element.parentNode.nodeType!==Node.ELEMENT_NODE||!this._element.classList.contains($a)){var t,n=rr(this._element),r=this._element.closest(".nav, .list-group");if(r){var i="UL"===r.nodeName||"OL"===r.nodeName?ns:ts;t=(t=Wn(i,r))[t.length-1]}var d=t?xr.trigger(t,Wa,{relatedTarget:this._element}):null;if(!(xr.trigger(this._element,Ya,{relatedTarget:t}).defaultPrevented||null!==d&&d.defaultPrevented)){this._activate(this._element,r);var h=function complete(){xr.trigger(t,Ga,{relatedTarget:e._element}),xr.trigger(e._element,Ja,{relatedTarget:t})};n?this._activate(n,n.parentNode,h):h()}}}},{key:"_activate",value:function _activate(e,t,n){var r=this,i=(!t||"UL"!==t.nodeName&&"OL"!==t.nodeName?Yn(t,ts):Wn(ns,t))[0],d=n&&i&&i.classList.contains(Za),h=function complete(){return r._transitionComplete(e,i,n)};i&&d?(i.classList.remove(es),this._queueCallback(h,e,!0)):h()}},{key:"_transitionComplete",value:function _transitionComplete(e,t,n){if(t){t.classList.remove($a);var r=Gn(":scope > .dropdown-menu .active",t.parentNode);r&&r.classList.remove($a),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!1)}e.classList.add($a),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!0),dr(e),e.classList.contains(Za)&&e.classList.add(es);var i=e.parentNode;if(i&&"LI"===i.nodeName&&(i=i.parentNode),i&&i.classList.contains("dropdown-menu")){var d=e.closest(".dropdown");d&&Wn(".dropdown-toggle",d).forEach((function(e){return e.classList.add($a)})),e.setAttribute("aria-expanded",!0)}n&&n()}}],[{key:"NAME",get:function get(){return"tab"}},{key:"jQueryInterface",value:function jQueryInterface(e){return this.each((function(){var t=Tab.getOrCreateInstance(this);if("string"===typeof e){if("undefined"===typeof t[e])throw new TypeError('No method named "'.concat(e,'"'));t[e]()}}))}}]),Tab}(Pr);xr.on(document,Xa,'[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',(function(e){(["A","AREA"].includes(this.tagName)&&e.preventDefault(),lr(this))||rs.getOrCreateInstance(this).show()})),gr(rs);var os="toast",is=".".concat("bs.toast"),as="click.dismiss".concat(is),ss="mouseover".concat(is),cs="mouseout".concat(is),ls="focusin".concat(is),ps="focusout".concat(is),fs="hide".concat(is),ds="hidden".concat(is),hs="show".concat(is),ms="shown".concat(is),ys="hide",gs="show",vs="showing",_s={animation:"boolean",autohide:"boolean",delay:"number"},bs={animation:!0,autohide:!0,delay:5e3};function _main_loading_spinner_defineProperties(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}gr(function(e){bootstrap_esm_inherits(Toast,e);var t=bootstrap_esm_createSuper(Toast);function Toast(e,n){var r;return bootstrap_esm_classCallCheck(this,Toast),(r=t.call(this,e))._config=r._getConfig(n),r._timeout=null,r._hasMouseInteraction=!1,r._hasKeyboardInteraction=!1,r._setListeners(),r}return bootstrap_esm_createClass(Toast,[{key:"show",value:function show(){var e=this;if(!xr.trigger(this._element,hs).defaultPrevented){this._clearTimeout(),this._config.animation&&this._element.classList.add("fade");this._element.classList.remove(ys),dr(this._element),this._element.classList.add(vs),this._queueCallback((function complete(){e._element.classList.remove(vs),e._element.classList.add(gs),xr.trigger(e._element,ms),e._maybeScheduleHide()}),this._element,this._config.animation)}}},{key:"hide",value:function hide(){var e=this;if(this._element.classList.contains(gs)&&!xr.trigger(this._element,fs).defaultPrevented){this._element.classList.remove(gs),this._queueCallback((function complete(){e._element.classList.add(ys),xr.trigger(e._element,ds)}),this._element,this._config.animation)}}},{key:"dispose",value:function dispose(){this._clearTimeout(),this._element.classList.contains(gs)&&this._element.classList.remove(gs),_get(bootstrap_esm_getPrototypeOf(Toast.prototype),"dispose",this).call(this)}},{key:"_getConfig",value:function _getConfig(e){return e=_objectSpread(_objectSpread(_objectSpread({},bs),Ur.getDataAttributes(this._element)),"object"===bootstrap_esm_typeof(e)&&e?e:{}),cr(os,e,this.constructor.DefaultType),e}},{key:"_maybeScheduleHide",value:function _maybeScheduleHide(){var e=this;this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout((function(){e.hide()}),this._config.delay)))}},{key:"_onInteraction",value:function _onInteraction(e,t){switch(e.type){case"mouseover":case"mouseout":this._hasMouseInteraction=t;break;case"focusin":case"focusout":this._hasKeyboardInteraction=t}if(t)this._clearTimeout();else{var n=e.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}}},{key:"_setListeners",value:function _setListeners(){var e=this;xr.on(this._element,as,'[data-bs-dismiss="toast"]',(function(){return e.hide()})),xr.on(this._element,ss,(function(t){return e._onInteraction(t,!0)})),xr.on(this._element,cs,(function(t){return e._onInteraction(t,!1)})),xr.on(this._element,ls,(function(t){return e._onInteraction(t,!0)})),xr.on(this._element,ps,(function(t){return e._onInteraction(t,!1)}))}},{key:"_clearTimeout",value:function _clearTimeout(){clearTimeout(this._timeout),this._timeout=null}}],[{key:"DefaultType",get:function get(){return _s}},{key:"Default",get:function get(){return bs}},{key:"NAME",get:function get(){return os}},{key:"jQueryInterface",value:function jQueryInterface(e){return this.each((function(){var t=Toast.getOrCreateInstance(this,e);if("string"===typeof e){if("undefined"===typeof t[e])throw new TypeError('No method named "'.concat(e,'"'));t[e](this)}}))}}]),Toast}(Pr));var ws="_main.loading-spinner",Es=document,ks=(Es.body,Es.getElementById("PageLoading")),Ss=function(){function SpinnerUI(){!function _main_loading_spinner_classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,SpinnerUI)}return function _main_loading_spinner_createClass(e,t,n){return t&&_main_loading_spinner_defineProperties(e.prototype,t),n&&_main_loading_spinner_defineProperties(e,n),e}(SpinnerUI,null,[{key:"show",value:function show(){console.log("".concat(ws,": show")),ks.classList.remove("d-none")}},{key:"hide",value:function hide(){console.log("".concat(ws,": hide")),ks.classList.add("d-none")}}]),SpinnerUI}();function _main_links_defineProperties(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}!function(e){var t="_main.links",n=document,r=n.body,i=function(){function MainUILinks(){!function _main_links_classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,MainUILinks),function _main_links_defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}(this,"window",void 0)}return function _main_links_createClass(e,t,n){return t&&_main_links_defineProperties(e.prototype,t),n&&_main_links_defineProperties(e,n),e}(MainUILinks,null,[{key:"init",value:function init(){var n=this;n.GraphPage=null,console.log("".concat(t,": init")),n.loaded(),e.addEventListener("popstate",(function(e){n.popState(e)}))}},{key:"loaded",value:function loaded(){var e=this;n.querySelectorAll(".graphql-page").forEach((function(t,n){var r=t.getAttribute("href");t.setAttribute("data-".concat(e.name,"-id"),r),t.addEventListener("click",e.loadClick)}))}},{key:"setActiveLinks",value:function setActiveLinks(e){n.querySelectorAll("[data-".concat(this.name,'-id="').concat(e,'"]')).forEach((function(e){e.classList.add("active")}))}},{key:"reset",value:function reset(){n.activeElement.blur(),n.querySelectorAll(".graphql-page,.nav-item").forEach((function(e){e.classList.remove("active","loading")}))}},{key:"popState",value:function popState(n){var r=this;if(Ss.show(),n.state&&n.state.page){console.log("".concat(t,": [popstate] load"));var i=JSON.parse(n.state.page);i.current=null,i.popstate=!0,r.reset(),r.setActiveLinks(n.state.link),r.GraphPage||(console.log("".concat(t,": [popstate] GraphPage is missing. Have to render it first")),r.GraphPage=ReactDOM.render(React.createElement(Jt,null),document.getElementById("MainContent"))),r.GraphPage.setState(i),Ss.hide(),window.dispatchEvent(new Event(O.AJAX))}else n.state&&n.state.landing?(console.log("".concat(t,": [popstate] go to landing")),e.location.href=n.state.landing):(console.warn("".concat(t,": [popstate] state is missing")),console.log(n),Ss.hide())}},{key:"loadClick",value:function loadClick(i){console.groupCollapsed("".concat(t,": load on click")),i.preventDefault();var d=MainUILinks,h=i.currentTarget;Ss.show(),d.reset(),h.classList.add("loading"),h.classList.remove("response-404","response-500","response-523"),r.classList.add("ajax-loading");var y=(0,$t.getParents)(h,".collapse");y.length&&y.forEach((function(e){var t=jo.getInstance(e);t&&t.hide()})),d.GraphPage||(d.GraphPage=ReactDOM.render(React.createElement(Jt,null),document.getElementById("MainContent")));var g=h.getAttribute("href")||h.getAttribute("data-href");d.GraphPage.state.current=h,d.GraphPage.load(g).then((function(e){r.classList.remove("ajax-loading"),h.classList.remove("loading"),h.classList.add("active"),n.loading_apollo_link=null,d.GraphPage.state.Link&&(window.history.pushState({page:JSON.stringify(d.GraphPage.state),link:h.getAttribute("data-".concat(d.name,"-id"))},d.GraphPage.state.Title,d.GraphPage.state.Link),d.setActiveLinks(d.GraphPage.state.Link)),Ss.hide(),window.dispatchEvent(new Event(O.AJAX)),console.groupEnd("".concat(t,": load on click"))})).catch((function(n){console.error("".concat(t,": loading error")),console.log(n),h.classList.add("error","response-".concat(n.status)),console.groupEnd("".concat(t,": load on click")),console.log("".concat(t,": reloading page ").concat(g)),e.location.href=g}))}}]),MainUILinks}();e.addEventListener("".concat(O.LOADED),(function(){i.init()})),e.addEventListener("".concat(O.AJAX),(function(){i.loaded()}))}(window);var Cs=__webpack_require__(3180);!function(e){var t="_main.lazy-images",n=document,r=(n.body,document.querySelector('meta[name="api_static_domain"]')),i=r?r.getAttribute("content"):"".concat(window.location.protocol,"//").concat(window.location.host);console.log("".concat(t," [static url]: ").concat(i));var d=function loadLazyImages(){console.log("".concat(t,": Load lazy images")),n.querySelectorAll("[data-lazy-src]").forEach((function(e){e.classList.remove("empty"),e.classList.add("loading"),e.classList.remove("loading__network-error");var n=e.getAttribute("data-lazy-src"),r=n.startsWith("http")?n:i+n;Cs.get(r,{responseType:"blob"}).then((function(t){var n=new FileReader;n.readAsDataURL(t.data),n.onload=function(){var t=n.result;e.setAttribute("src",t),e.classList.remove("loading"),e.classList.add("loading__success")}})).catch((function(n){if(n.response){switch(n.response.status){case 404:msg="Not Found.";break;case 500:msg="Server issue, please try again latter.";break;default:msg="Something went wrong."}console.error("".concat(t," [").concat(r,"]: ").concat(msg))}else n.request?(msg="No response received",console.error("".concat(t," [").concat(r,"]: ").concat(msg))):console.error("".concat(t," [").concat(r,"]: ").concat(n.message));e.classList.remove("loading"),e.classList.add("loading__network-error"),e.classList.add("empty")}))}))};e.addEventListener("".concat(O.LODEDANDREADY),d),e.addEventListener("".concat(O.AJAX),d)}(window);function _main_defineProperties(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}!function(e){var t=document,n=t.body;console.info("%cUI Kit ".concat("ss-webpack-boilerplate"," ").concat("2.0.2"),"color:yellow;font-size:14px"),console.info("%c".concat("@a2nt/meta-lightbox-react"," ").concat("3.1.3"),"color:yellow;font-size:12px"),console.info("%chttps://github.com/a2nt/webpack-bootstrap-ui-kit by ".concat("Tony Air <tony@twma.pro>"),"color:yellow;font-size:10px"),console.info("%cENV: ".concat("production"),"color:green;font-size:10px"),console.groupCollapsed("Events"),Object.keys(O).forEach((function(e){console.info("".concat(e,": ").concat(O[e]))})),console.groupEnd("Events"),console.groupCollapsed("Consts"),Object.keys(T).forEach((function(e){console.info("".concat(e,": ").concat(T[e]))})),console.groupEnd("Events"),console.groupCollapsed("Init"),console.time("init");var r=function(){function MainUI(){!function _main_classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,MainUI)}return function _main_createClass(e,t,n){return t&&_main_defineProperties(e.prototype,t),n&&_main_defineProperties(e,n),e}(MainUI,null,[{key:"init",value:function init(){e.history.replaceState({landing:e.location.href},t.title,e.location.href),this.loaded()}},{key:"loaded",value:function loaded(){console.log("".concat("_main",": loaded"))}}]),MainUI}();e.addEventListener("".concat(O.LOADED),(function(){r.init(),n.classList.add("loaded"),Ss.hide(),console.groupEnd("init"),console.timeEnd("init"),e.dispatchEvent(new Event(O.LODEDANDREADY))})),e.addEventListener("".concat(O.AJAX),(function(){r.loaded()})),e.MainUI=r}(window);var Os=__webpack_require__(1535),Ts=__webpack_require__.n(Os);!function(e){var t="js-instagramfeed",n=(document.body,function loadFeed(){console.log("".concat(t,": loading")),document.querySelectorAll(".".concat(t)).forEach((function(n,r){var i="InstagramFeed".concat(r),d=n.dataset;n.classList.add("".concat(t,"-loading")),n.classList.remove("".concat(t,"-loaded"),"".concat(t,"-error")),new(Ts())({username:d.username,tag:d.tag||null,display_profile:d["display-profile"],display_biography:d["display-biography"],display_gallery:d["display-gallery"],display_captions:d["display-captions"],cache_time:d.cache_time||360,items:d.items||12,styling:!1,lazy_load:!0,callback:function callback(r){console.log("".concat(t,": data response received"));var d=document.createElement("div");d.classList.add("".concat(t,"-list"),"row"),n.appendChild(d),r.edge_owner_to_timeline_media.edges.forEach((function(e,n){var r=e.node,h=function ig_media_preview(e){var t=atob(e),n=t.slice(3).split(""),r=t.substring(0,3).split("").map((function(e){return e.charCodeAt(0)})),i=atob("/9j/4AAQSkZJRgABAQAAAQABAAD/2wCEABsaGikdKUEmJkFCLy8vQkc/Pj4/R0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0cBHSkpNCY0PygoP0c/NT9HR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR0dHR//AABEIABQAKgMBIgACEQEDEQH/xAGiAAABBQEBAQEBAQAAAAAAAAAAAQIDBAUGBwgJCgsQAAIBAwMCBAMFBQQEAAABfQECAwAEEQUSITFBBhNRYQcicRQygZGhCCNCscEVUtHwJDNicoIJChYXGBkaJSYnKCkqNDU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6g4SFhoeIiYqSk5SVlpeYmZqio6Slpqeoqaqys7S1tre4ubrCw8TFxsfIycrS09TV1tfY2drh4uPk5ebn6Onq8fLz9PX29/j5+gEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoLEQACAQIEBAMEBwUEBAABAncAAQIDEQQFITEGEkFRB2FxEyIygQgUQpGhscEJIzNS8BVictEKFiQ04SXxFxgZGiYnKCkqNTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqCg4SFhoeIiYqSk5SVlpeYmZqio6Slpqeoqaqys7S1tre4ubrCw8TFxsfIycrS09TV1tfY2dri4+Tl5ufo6ery8/T19vf4+fr/2gAMAwEAAhEDEQA/AA==").split("");return i[162]=String.fromCharCode(r[1]),i[160]=String.fromCharCode(r[2]),e?"data:image/jpeg;base64,".concat(btoa(i.concat(n).join(""))):null}(r.media_preview);d.innerHTML+='<div class="a col '.concat(t,'-item"')+' data-gallery="'.concat(t,"-").concat(i,'" data-href="').concat(r.display_url,'" data-toggle="lightbox" data-force="image">')+'<img id="'.concat(t,"-").concat(i,"-").concat(r.id,'" src="').concat(r.display_url,'" alt="').concat(r.accessibility_caption,'"')+'style="background:url('.concat(h,')" />')+"</div>"})),n.classList.remove("".concat(t,"-loading")),n.classList.add("".concat(t,"-loaded")),e.dispatchEvent(new Event("MetaWindowindow.initLinks")),e.dispatchEvent(new Event("".concat(t,".loaded")))},on_error:function on_error(r){console.error("".concat(t,": ").concat(r)),n.classList.remove("".concat(t,"-loading")),n.classList.add("".concat(t,"-error")),e.dispatchEvent(new Event("".concat(t,".error")))}})}))});e.addEventListener("".concat(O.LODEDANDREADY),n),e.addEventListener("".concat(O.AJAX),n)}(window);function selector_engine_toConsumableArray(e){return function selector_engine_arrayWithoutHoles(e){if(Array.isArray(e))return selector_engine_arrayLikeToArray(e)}(e)||function selector_engine_iterableToArray(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function selector_engine_unsupportedIterableToArray(e,t){if(!e)return;if("string"===typeof e)return selector_engine_arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return selector_engine_arrayLikeToArray(e,t)}(e)||function selector_engine_nonIterableSpread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function selector_engine_arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var As={find:function find(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.documentElement;return(t=[]).concat.apply(t,selector_engine_toConsumableArray(Element.prototype.querySelectorAll.call(n,e)))},findOne:function findOne(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.documentElement;return Element.prototype.querySelector.call(t,e)},children:function children(e,t){var n;return(n=[]).concat.apply(n,selector_engine_toConsumableArray(e.children)).filter((function(e){return e.matches(t)}))},parents:function parents(e,t){for(var parents=[],n=e.parentNode;n&&n.nodeType===Node.ELEMENT_NODE&&3!==n.nodeType;)n.matches(t)&&parents.push(n),n=n.parentNode;return parents},prev:function prev(e,t){for(var n=e.previousElementSibling;n;){if(n.matches(t))return[n];n=n.previousElementSibling}return[]},next:function next(e,t){for(var next=e.nextElementSibling;next;){if(next.matches(t))return[next];next=next.nextElementSibling}return[]}};function util_typeof(e){return(util_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(e){return typeof e}:function _typeof(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var xs="transitionend",Is=function getSelector(e){var t=e.getAttribute("data-bs-target");if(!t||"#"===t){var n=e.getAttribute("href");if(!n||!n.includes("#")&&!n.startsWith("."))return null;n.includes("#")&&!n.startsWith("#")&&(n="#".concat(n.split("#")[1])),t=n&&"#"!==n?n.trim():null}return t},Ds=function getTransitionDurationFromElement(e){if(!e)return 0;var t=window.getComputedStyle(e),n=t.transitionDuration,r=t.transitionDelay,i=Number.parseFloat(n),d=Number.parseFloat(r);return i||d?(n=n.split(",")[0],r=r.split(",")[0],1e3*(Number.parseFloat(n)+Number.parseFloat(r))):0},Ls=function triggerTransitionEnd(e){e.dispatchEvent(new Event(xs))},Ns=function isElement(e){return!(!e||"object"!==util_typeof(e))&&("undefined"!==typeof e.jquery&&(e=e[0]),"undefined"!==typeof e.nodeType)},Ps=function getjQuery(){var jQuery=window.jQuery;return jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?jQuery:null},Rs=[],js=function isRTL(){return"rtl"===document.documentElement.dir},Ms=function execute(e){"function"===typeof e&&e()},Fs=function executeAfterTransition(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(n){var r=5,i=Ds(t)+r,d=!1,h=function handler(n){n.target===t&&(d=!0,t.removeEventListener(xs,handler),Ms(e))};t.addEventListener(xs,h),setTimeout((function(){d||Ls(t)}),i)}else Ms(e)};function event_handler_slicedToArray(e,t){return function event_handler_arrayWithHoles(e){if(Array.isArray(e))return e}(e)||function event_handler_iterableToArrayLimit(e,t){var n=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,i,d=[],h=!0,y=!1;try{for(n=n.call(e);!(h=(r=n.next()).done)&&(d.push(r.value),!t||d.length!==t);h=!0);}catch(g){y=!0,i=g}finally{try{h||null==n.return||n.return()}finally{if(y)throw i}}return d}(e,t)||function event_handler_unsupportedIterableToArray(e,t){if(!e)return;if("string"===typeof e)return event_handler_arrayLikeToArray(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return event_handler_arrayLikeToArray(e,t)}(e,t)||function event_handler_nonIterableRest(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function event_handler_arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var qs=/[^.]*(?=\..*)\.|.*/,Bs=/\..*/,Qs=/::\d+$/,Ks={},Vs=1,Us={mouseenter:"mouseover",mouseleave:"mouseout"},Hs=/^(mouseenter|mouseleave)/i,zs=new Set(["click","dblclick","mouseup","mousedown","contextmenu","mousewheel","DOMMouseScroll","mouseover","mouseout","mousemove","selectstart","selectend","keydown","keypress","keyup","orientationchange","touchstart","touchmove","touchend","touchcancel","pointerdown","pointermove","pointerup","pointerleave","pointercancel","gesturestart","gesturechange","gestureend","focus","blur","change","reset","select","submit","focusin","focusout","load","unload","beforeunload","resize","move","DOMContentLoaded","readystatechange","error","abort","scroll"]);function event_handler_getUidEvent(e,t){return t&&"".concat(t,"::").concat(Vs++)||e.uidEvent||Vs++}function event_handler_getEvent(e){var t=event_handler_getUidEvent(e);return e.uidEvent=t,Ks[t]=Ks[t]||{},Ks[t]}function event_handler_findHandler(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=Object.keys(e),i=0,d=r.length;i<d;i++){var h=e[r[i]];if(h.originalHandler===t&&h.delegationSelector===n)return h}return null}function event_handler_normalizeParams(e,t,n){var r="string"===typeof t,i=r?n:t,d=event_handler_getTypeEvent(e);return zs.has(d)||(d=e),[r,i,d]}function event_handler_addHandler(e,t,n,r,i){if("string"===typeof t&&e){if(n||(n=r,r=null),Hs.test(t)){var d=function wrapFn(e){return function(t){if(!t.relatedTarget||t.relatedTarget!==t.delegateTarget&&!t.delegateTarget.contains(t.relatedTarget))return e.call(this,t)}};r?r=d(r):n=d(n)}var h=event_handler_slicedToArray(event_handler_normalizeParams(t,n,r),3),y=h[0],g=h[1],v=h[2],_=event_handler_getEvent(e),b=_[v]||(_[v]={}),w=event_handler_findHandler(b,g,y?n:null);if(w)w.oneOff=w.oneOff&&i;else{var E=event_handler_getUidEvent(g,t.replace(qs,"")),k=y?function event_handler_bootstrapDelegationHandler(e,t,n){return function handler(r){for(var i=e.querySelectorAll(t),d=r.target;d&&d!==this;d=d.parentNode)for(var h=i.length;h--;)if(i[h]===d)return r.delegateTarget=d,handler.oneOff&&Ws.off(e,r.type,t,n),n.apply(d,[r]);return null}}(e,n,r):function event_handler_bootstrapHandler(e,t){return function handler(n){return n.delegateTarget=e,handler.oneOff&&Ws.off(e,n.type,t),t.apply(e,[n])}}(e,n);k.delegationSelector=y?n:null,k.originalHandler=g,k.oneOff=i,k.uidEvent=E,b[E]=k,e.addEventListener(v,k,y)}}}function event_handler_removeHandler(e,t,n,r,i){var d=event_handler_findHandler(t[n],r,i);d&&(e.removeEventListener(n,d,Boolean(i)),delete t[n][d.uidEvent])}function event_handler_getTypeEvent(e){return e=e.replace(Bs,""),Us[e]||e}var Ws={on:function on(e,t,n,r){event_handler_addHandler(e,t,n,r,!1)},one:function one(e,t,n,r){event_handler_addHandler(e,t,n,r,!0)},off:function off(e,t,n,r){if("string"===typeof t&&e){var i=event_handler_slicedToArray(event_handler_normalizeParams(t,n,r),3),d=i[0],h=i[1],y=i[2],g=y!==t,v=event_handler_getEvent(e),_=t.startsWith(".");if("undefined"===typeof h){_&&Object.keys(v).forEach((function(n){!function event_handler_removeNamespacedHandlers(e,t,n,r){var i=t[n]||{};Object.keys(i).forEach((function(d){if(d.includes(r)){var h=i[d];event_handler_removeHandler(e,t,n,h.originalHandler,h.delegationSelector)}}))}(e,v,n,t.slice(1))}));var b=v[y]||{};Object.keys(b).forEach((function(n){var r=n.replace(Qs,"");if(!g||t.includes(r)){var i=b[n];event_handler_removeHandler(e,v,y,i.originalHandler,i.delegationSelector)}}))}else{if(!v||!v[y])return;event_handler_removeHandler(e,v,y,h,d?n:null)}}},trigger:function trigger(e,t,n){if("string"!==typeof t||!e)return null;var r,$=Ps(),i=event_handler_getTypeEvent(t),d=t!==i,h=zs.has(i),y=!0,g=!0,v=!1,_=null;return d&&$&&(r=$.Event(t,n),$(e).trigger(r),y=!r.isPropagationStopped(),g=!r.isImmediatePropagationStopped(),v=r.isDefaultPrevented()),h?(_=document.createEvent("HTMLEvents")).initEvent(i,y,!0):_=new CustomEvent(t,{bubbles:y,cancelable:!0}),"undefined"!==typeof n&&Object.keys(n).forEach((function(e){Object.defineProperty(_,e,{get:function get(){return n[e]}})})),v&&_.preventDefault(),g&&e.dispatchEvent(_),_.defaultPrevented&&"undefined"!==typeof r&&r.preventDefault(),_}},Gs=Ws;function manipulator_normalizeData(e){return"true"===e||"false"!==e&&(e===Number(e).toString()?Number(e):""===e||"null"===e?null:e)}function manipulator_normalizeDataKey(e){return e.replace(/[A-Z]/g,(function(e){return"-".concat(e.toLowerCase())}))}var Ys={setDataAttribute:function setDataAttribute(e,t,n){e.setAttribute("data-bs-".concat(manipulator_normalizeDataKey(t)),n)},removeDataAttribute:function removeDataAttribute(e,t){e.removeAttribute("data-bs-".concat(manipulator_normalizeDataKey(t)))},getDataAttributes:function getDataAttributes(e){if(!e)return{};var t={};return Object.keys(e.dataset).filter((function(e){return e.startsWith("bs")})).forEach((function(n){var r=n.replace(/^bs/,"");r=r.charAt(0).toLowerCase()+r.slice(1,r.length),t[r]=manipulator_normalizeData(e.dataset[n])})),t},getDataAttribute:function getDataAttribute(e,t){return manipulator_normalizeData(e.getAttribute("data-bs-".concat(manipulator_normalizeDataKey(t))))},offset:function offset(e){var t=e.getBoundingClientRect();return{top:t.top+document.body.scrollTop,left:t.left+document.body.scrollLeft}},position:function position(e){return{top:e.offsetTop,left:e.offsetLeft}}},Js=new Map,Xs=function set(e,t,n){Js.has(e)||Js.set(e,new Map);var r=Js.get(e);r.has(t)||0===r.size?r.set(t,n):console.error("Bootstrap doesn't allow more than one instance per element. Bound instance: ".concat(Array.from(r.keys())[0],"."))},$s=function get(e,t){return Js.has(e)&&Js.get(e).get(t)||null},Zs=function remove(e,t){if(Js.has(e)){var n=Js.get(e);n.delete(t),0===n.size&&Js.delete(e)}};function base_component_typeof(e){return(base_component_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(e){return typeof e}:function _typeof(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function base_component_defineProperties(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}var ec,tc=function(){function BaseComponent(e){!function base_component_classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,BaseComponent),(e=function getElement(e){return Ns(e)?e.jquery?e[0]:e:"string"===typeof e&&e.length>0?As.findOne(e):null}(e))&&(this._element=e,Xs(this._element,this.constructor.DATA_KEY,this))}return function base_component_createClass(e,t,n){return t&&base_component_defineProperties(e.prototype,t),n&&base_component_defineProperties(e,n),e}(BaseComponent,[{key:"dispose",value:function dispose(){var e=this;Zs(this._element,this.constructor.DATA_KEY),Gs.off(this._element,this.constructor.EVENT_KEY),Object.getOwnPropertyNames(this).forEach((function(t){e[t]=null}))}},{key:"_queueCallback",value:function _queueCallback(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];Fs(e,t,n)}}],[{key:"getInstance",value:function getInstance(e){return $s(e,this.DATA_KEY)}},{key:"getOrCreateInstance",value:function getOrCreateInstance(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return this.getInstance(e)||new this(e,"object"===base_component_typeof(t)?t:null)}},{key:"VERSION",get:function get(){return"5.0.2"}},{key:"NAME",get:function get(){throw new Error('You have to implement the static method "NAME", for each component!')}},{key:"DATA_KEY",get:function get(){return"bs.".concat(this.NAME)}},{key:"EVENT_KEY",get:function get(){return".".concat(this.DATA_KEY)}}]),BaseComponent}();function carousel_typeof(e){return(carousel_typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function _typeof(e){return typeof e}:function _typeof(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function carousel_ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function carousel_objectSpread(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?carousel_ownKeys(Object(n),!0).forEach((function(t){carousel_defineProperty(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):carousel_ownKeys(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function carousel_defineProperties(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function carousel_setPrototypeOf(e,t){return(carousel_setPrototypeOf=Object.setPrototypeOf||function _setPrototypeOf(e,t){return e.__proto__=t,e})(e,t)}function carousel_createSuper(e){var t=function carousel_isNativeReflectConstruct(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function _createSuperInternal(){var n,r=carousel_getPrototypeOf(e);if(t){var i=carousel_getPrototypeOf(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return carousel_possibleConstructorReturn(this,n)}}function carousel_possibleConstructorReturn(e,t){return!t||"object"!==carousel_typeof(t)&&"function"!==typeof t?function carousel_assertThisInitialized(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function carousel_getPrototypeOf(e){return(carousel_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function carousel_defineProperty(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var nc="carousel",rc=".".concat("bs.carousel"),oc=".data-api",ic={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},ac={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},sc="next",cc="prev",uc="left",lc="right",pc=(carousel_defineProperty(ec={},"ArrowLeft",lc),carousel_defineProperty(ec,"ArrowRight",uc),ec),fc="slide".concat(rc),dc="slid".concat(rc),hc="keydown".concat(rc),mc="mouseenter".concat(rc),yc="mouseleave".concat(rc),gc="touchstart".concat(rc),vc="touchmove".concat(rc),_c="touchend".concat(rc),bc="pointerdown".concat(rc),wc="pointerup".concat(rc),Ec="dragstart".concat(rc),kc="load".concat(rc).concat(oc),Sc="click".concat(rc).concat(oc),Cc="active",Oc=".active.carousel-item",Tc="touch",Ac=function(e){!function carousel_inherits(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&carousel_setPrototypeOf(e,t)}(Carousel,e);var t=carousel_createSuper(Carousel);function Carousel(e,n){var r;return function carousel_classCallCheck(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,Carousel),(r=t.call(this,e))._items=null,r._interval=null,r._activeElement=null,r._isPaused=!1,r._isSliding=!1,r.touchTimeout=null,r.touchStartX=0,r.touchDeltaX=0,r._config=r._getConfig(n),r._indicatorsElement=As.findOne(".carousel-indicators",r._element),r._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,r._pointerEvent=Boolean(window.PointerEvent),r._addEventListeners(),r}return function carousel_createClass(e,t,n){return t&&carousel_defineProperties(e.prototype,t),n&&carousel_defineProperties(e,n),e}(Carousel,[{key:"next",value:function next(){this._slide(sc)}},{key:"nextWhenVisible",value:function nextWhenVisible(){!document.hidden&&function isVisible(e){return!(!Ns(e)||0===e.getClientRects().length)&&"visible"===getComputedStyle(e).getPropertyValue("visibility")}(this._element)&&this.next()}},{key:"prev",value:function prev(){this._slide(cc)}},{key:"pause",value:function pause(e){e||(this._isPaused=!0),As.findOne(".carousel-item-next, .carousel-item-prev",this._element)&&(Ls(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null}},{key:"cycle",value:function cycle(e){e||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config&&this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))}},{key:"to",value:function to(e){var t=this;this._activeElement=As.findOne(Oc,this._element);var n=this._getItemIndex(this._activeElement);if(!(e>this._items.length-1||e<0))if(this._isSliding)Gs.one(this._element,dc,(function(){return t.to(e)}));else{if(n===e)return this.pause(),void this.cycle();var r=e>n?sc:cc;this._slide(r,this._items[e])}}},{key:"_getConfig",value:function _getConfig(e){return e=carousel_objectSpread(carousel_objectSpread(carousel_objectSpread({},ic),Ys.getDataAttributes(this._element)),"object"===carousel_typeof(e)?e:{}),function typeCheckConfig(e,t,n){Object.keys(n).forEach((function(r){var i=n[r],d=t[r],h=d&&Ns(d)?"element":function toType(e){return null===e||void 0===e?"".concat(e):{}.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase()}(d);if(!new RegExp(i).test(h))throw new TypeError("".concat(e.toUpperCase(),': Option "').concat(r,'" provided type "').concat(h,'" but expected type "').concat(i,'".'))}))}(nc,e,ac),e}},{key:"_handleSwipe",value:function _handleSwipe(){var e=Math.abs(this.touchDeltaX);if(!(e<=40)){var t=e/this.touchDeltaX;this.touchDeltaX=0,t&&this._slide(t>0?lc:uc)}}},{key:"_addEventListeners",value:function _addEventListeners(){var e=this;this._config.keyboard&&Gs.on(this._element,hc,(function(t){return e._keydown(t)})),"hover"===this._config.pause&&(Gs.on(this._element,mc,(function(t){return e.pause(t)})),Gs.on(this._element,yc,(function(t){return e.cycle(t)}))),this._config.touch&&this._touchSupported&&this._addTouchEventListeners()}},{key:"_addTouchEventListeners",value:function _addTouchEventListeners(){var e=this,t=function start(t){!e._pointerEvent||"pen"!==t.pointerType&&t.pointerType!==Tc?e._pointerEvent||(e.touchStartX=t.touches[0].clientX):e.touchStartX=t.clientX},n=function end(t){!e._pointerEvent||"pen"!==t.pointerType&&t.pointerType!==Tc||(e.touchDeltaX=t.clientX-e.touchStartX),e._handleSwipe(),"hover"===e._config.pause&&(e.pause(),e.touchTimeout&&clearTimeout(e.touchTimeout),e.touchTimeout=setTimeout((function(t){return e.cycle(t)}),500+e._config.interval))};As.find(".carousel-item img",this._element).forEach((function(e){Gs.on(e,Ec,(function(e){return e.preventDefault()}))})),this._pointerEvent?(Gs.on(this._element,bc,(function(e){return t(e)})),Gs.on(this._element,wc,(function(e){return n(e)})),this._element.classList.add("pointer-event")):(Gs.on(this._element,gc,(function(e){return t(e)})),Gs.on(this._element,vc,(function(t){return function move(t){e.touchDeltaX=t.touches&&t.touches.length>1?0:t.touches[0].clientX-e.touchStartX}(t)})),Gs.on(this._element,_c,(function(e){return n(e)})))}},{key:"_keydown",value:function _keydown(e){if(!/input|textarea/i.test(e.target.tagName)){var t=pc[e.key];t&&(e.preventDefault(),this._slide(t))}}},{key:"_getItemIndex",value:function _getItemIndex(e){return this._items=e&&e.parentNode?As.find(".carousel-item",e.parentNode):[],this._items.indexOf(e)}},{key:"_getItemByOrder",value:function _getItemByOrder(e,t){var n=e===sc;return function getNextActiveElement(e,t,n,r){var i=e.indexOf(t);if(-1===i)return e[!n&&r?e.length-1:0];var d=e.length;return i+=n?1:-1,r&&(i=(i+d)%d),e[Math.max(0,Math.min(i,d-1))]}(this._items,t,n,this._config.wrap)}},{key:"_triggerSlideEvent",value:function _triggerSlideEvent(e,t){var n=this._getItemIndex(e),r=this._getItemIndex(As.findOne(Oc,this._element));return Gs.trigger(this._element,fc,{relatedTarget:e,direction:t,from:r,to:n})}},{key:"_setActiveIndicatorElement",value:function _setActiveIndicatorElement(e){if(this._indicatorsElement){var t=As.findOne(".active",this._indicatorsElement);t.classList.remove(Cc),t.removeAttribute("aria-current");for(var n=As.find("[data-bs-target]",this._indicatorsElement),r=0;r<n.length;r++)if(Number.parseInt(n[r].getAttribute("data-bs-slide-to"),10)===this._getItemIndex(e)){n[r].classList.add(Cc),n[r].setAttribute("aria-current","true");break}}}},{key:"_updateInterval",value:function _updateInterval(){var e=this._activeElement||As.findOne(Oc,this._element);if(e){var t=Number.parseInt(e.getAttribute("data-bs-interval"),10);t?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=t):this._config.interval=this._config.defaultInterval||this._config.interval}}},{key:"_slide",value:function _slide(e,t){var n=this,r=this._directionToOrder(e),i=As.findOne(Oc,this._element),d=this._getItemIndex(i),h=t||this._getItemByOrder(r,i),y=this._getItemIndex(h),g=Boolean(this._interval),v=r===sc,_=v?"carousel-item-start":"carousel-item-end",b=v?"carousel-item-next":"carousel-item-prev",w=this._orderToDirection(r);if(h&&h.classList.contains(Cc))this._isSliding=!1;else if(!this._isSliding&&!this._triggerSlideEvent(h,w).defaultPrevented&&i&&h){this._isSliding=!0,g&&this.pause(),this._setActiveIndicatorElement(h),this._activeElement=h;var E=function triggerSlidEvent(){Gs.trigger(n._element,dc,{relatedTarget:h,direction:w,from:d,to:y})};if(this._element.classList.contains("slide")){h.classList.add(b),function reflow(e){e.offsetHeight}(h),i.classList.add(_),h.classList.add(_);this._queueCallback((function completeCallBack(){h.classList.remove(_,b),h.classList.add(Cc),i.classList.remove(Cc,b,_),n._isSliding=!1,setTimeout(E,0)}),i,!0)}else i.classList.remove(Cc),h.classList.add(Cc),this._isSliding=!1,E();g&&this.cycle()}}},{key:"_directionToOrder",value:function _directionToOrder(e){return[lc,uc].includes(e)?js()?e===uc?cc:sc:e===uc?sc:cc:e}},{key:"_orderToDirection",value:function _orderToDirection(e){return[sc,cc].includes(e)?js()?e===cc?uc:lc:e===cc?lc:uc:e}}],[{key:"Default",get:function get(){return ic}},{key:"NAME",get:function get(){return nc}},{key:"carouselInterface",value:function carouselInterface(e,t){var n=Carousel.getOrCreateInstance(e,t),r=n._config;"object"===carousel_typeof(t)&&(r=carousel_objectSpread(carousel_objectSpread({},r),t));var i="string"===typeof t?t:r.slide;if("number"===typeof t)n.to(t);else if("string"===typeof i){if("undefined"===typeof n[i])throw new TypeError('No method named "'.concat(i,'"'));n[i]()}else r.interval&&r.ride&&(n.pause(),n.cycle())}},{key:"jQueryInterface",value:function jQueryInterface(e){return this.each((function(){Carousel.carouselInterface(this,e)}))}},{key:"dataApiClickHandler",value:function dataApiClickHandler(e){var t=function getElementFromSelector(e){var t=Is(e);return t?document.querySelector(t):null}(this);if(t&&t.classList.contains("carousel")){var n=carousel_objectSpread(carousel_objectSpread({},Ys.getDataAttributes(t)),Ys.getDataAttributes(this)),r=this.getAttribute("data-bs-slide-to");r&&(n.interval=!1),Carousel.carouselInterface(t,n),r&&Carousel.getInstance(t).to(r),e.preventDefault()}}}]),Carousel}(tc);Gs.on(document,Sc,"[data-bs-slide], [data-bs-slide-to]",Ac.dataApiClickHandler),Gs.on(window,kc,(function(){for(var e=As.find('[data-bs-ride="carousel"]'),t=0,n=e.length;t<n;t++)Ac.carouselInterface(e[t],Ac.getInstance(e[t]))})),function defineJQueryPlugin(e){!function onDOMContentLoaded(e){"loading"===document.readyState?(Rs.length||document.addEventListener("DOMContentLoaded",(function(){Rs.forEach((function(e){return e()}))})),Rs.push(e)):e()}((function(){var $=Ps();if($){var t=e.NAME,n=$.fn[t];$.fn[t]=e.jQueryInterface,$.fn[t].Constructor=e,$.fn[t].noConflict=function(){return $.fn[t]=n,e.jQueryInterface}}}))}(Ac);var xc=Ac;(function(e){var t="js-carousel",n=function init(){console.log("".concat(t,": init")),document.querySelectorAll(".".concat(t)).forEach((function(e,n){var r=new xc(e);if(e.dataset.bsArrows){var i=document.createElement("button");i.classList.add("carousel-control-next"),i.setAttribute("type","button"),i.setAttribute("data-bs-target",e.getAttribute("id")),i.setAttribute("data-bs-slide","next"),i.addEventListener("click",(function(e){r.next()})),i.innerHTML='<span class="carousel-control-next-icon" aria-hidden="true"></span><span class="visually-hidden">Next</span>',e.appendChild(i);var d=document.createElement("button");d.setAttribute("type","button"),d.classList.add("carousel-control-prev"),d.setAttribute("data-bs-target",e.getAttribute("id")),d.setAttribute("data-bs-slide","prev"),d.addEventListener("click",(function(e){r.prev()})),d.innerHTML='<span class="carousel-control-prev-icon" aria-hidden="true"></span><span class="visually-hidden">Previous</span>',e.appendChild(d)}e.dataset.bsIndicators&&function(){var t=document.createElement("div");t.classList.add("carousel-indicators");for(var n=e.querySelectorAll(".carousel-item"),i=0;i<n.length;){var d=document.createElement("button");d.setAttribute("type","button"),0==i&&d.classList.add("active"),d.setAttribute("data-bs-target",e.getAttribute("id")),d.setAttribute("data-bs-slide-to",i),d.addEventListener("click",(function(e){var n=e.target;r.to(n.getAttribute("data-bs-slide-to")),t.querySelectorAll(".active").forEach((function(e){e.classList.remove("active")})),n.classList.add("active")})),t.appendChild(d),i++}e.appendChild(t),e.addEventListener("slide.bs.carousel",(function(t){e.querySelectorAll(".carousel-indicators .active").forEach((function(e){e.classList.remove("active")})),e.querySelectorAll('.carousel-indicators [data-bs-slide-to="'.concat(t.to,'"]')).forEach((function(e){e.classList.add("active")}))}))}(),e.classList.add("".concat(t,"-active"))}))};e.addEventListener("".concat(O.LODEDANDREADY),n),e.addEventListener("".concat(O.AJAX),n)})(window),function(e){var t="_layout",n=document;n.body;e.addEventListener("".concat(O.LOADED),(function(){!function init_fonts(){console.log("".concat(t,": init_fonts"));var e=n.createElement("link");e.rel="stylesheet",e.type="text/css",e.media="all",e.href="https://fonts.googleapis.com/css?family=Roboto:ital,wght@0,400;0,700;1,400&display=swap",n.getElementsByTagName("head")[0].appendChild(e)}()}))}(window);if("serviceWorker"in navigator){var Ic=(document.getElementsByTagName("base")[0]||{}).href,Dc=(document.querySelector('meta[name="swversion"]')||{}).content;Ic&&navigator.serviceWorker.register("".concat(Ic,"sw.js?v=").concat(Dc)).then((function(){console.log("Service Worker Registered")}))}function importAll(e){return e.keys().map(e)}importAll(__webpack_require__(6999)),importAll(__webpack_require__(3429))}()}();