(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2888],{32289:function(e,t,r){var n,o,i={};e.exports=i,i.themes={};var a=r(79720),s=i.styles=r(38982),c=Object.defineProperties,u=new RegExp(/[\r\n]+/g);i.supportsColor=r(48136).supportsColor,void 0===i.enabled&&(i.enabled=!1!==i.supportsColor()),i.enable=function(){i.enabled=!0},i.disable=function(){i.enabled=!1},i.stripColors=i.strip=function(e){return(""+e).replace(/\x1B\[\d+m/g,"")},i.stylize=function(e,t){if(!i.enabled)return e+"";var r=s[t];return!r&&t in i?i[t](e):r.open+e+r.close};var l=/[|\\{}()[\]^$+*?.]/g,f=function(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(l,"\\$&")};function p(e){var t=function e(){return g.apply(e,arguments)};return t._styles=e,t.__proto__=h,t}var d=(n={},s.grey=s.gray,Object.keys(s).forEach(function(e){s[e].closeRe=RegExp(f(s[e].close),"g"),n[e]={get:function(){return p(this._styles.concat(e))}}}),n),h=c(function(){},d);function g(){var e=Array.prototype.slice.call(arguments),t=e.map(function(e){return null!=e&&e.constructor===String?e:a.inspect(e)}).join(" ");if(!i.enabled||!t)return t;for(var r=-1!=t.indexOf("\n"),n=this._styles,o=n.length;o--;){var c=s[n[o]];t=c.open+t.replace(c.closeRe,c.open)+c.close,r&&(t=t.replace(u,function(e){return c.close+e+c.open}))}return t}i.setTheme=function(e){if("string"==typeof e){console.log("colors.setTheme now only accepts an object, not a string. If you are trying to set a theme from a file, it is now your (the caller's) responsibility to require the file. The old syntax looked like colors.setTheme(__dirname + '/../themes/generic-logging.js'); The new syntax looks like colors.setTheme(require(__dirname + '/../themes/generic-logging.js'));");return}for(var t in e)!function(t){i[t]=function(r){if("object"==typeof e[t]){var n=r;for(var o in e[t])n=i[e[t][o]](n);return n}return i[e[t]](r)}}(t)};var m=function(e,t){var r=t.split("");return(r=r.map(e)).join("")};for(var y in i.trap=r(58763),i.zalgo=r(50750),i.maps={},i.maps.america=r(36278)(i),i.maps.zebra=r(90848)(i),i.maps.rainbow=r(38823)(i),i.maps.random=r(79353)(i),i.maps)!function(e){i[e]=function(t){return m(i.maps[e],t)}}(y);c(i,(o={},Object.keys(d).forEach(function(e){o[e]={get:function(){return p([e])}}}),o))},58763:function(e){e.exports=function(e,t){var r="";e=(e=e||"Run the trap, drop the bass").split("");var n={a:["@","Ą","Ⱥ","Ʌ","Δ","Λ","Д"],b:["\xdf","Ɓ","Ƀ","ɮ","β","฿"],c:["\xa9","Ȼ","Ͼ"],d:["\xd0","Ɗ","Ԁ","ԁ","Ԃ","ԃ"],e:["\xcb","ĕ","Ǝ","ɘ","Σ","ξ","Ҽ","੬"],f:["Ӻ"],g:["ɢ"],h:["Ħ","ƕ","Ң","Һ","Ӈ","Ԋ"],i:["༏"],j:["Ĵ"],k:["ĸ","Ҡ","Ӄ","Ԟ"],l:["Ĺ"],m:["ʍ","Ӎ","ӎ","Ԡ","ԡ","൩"],n:["\xd1","ŋ","Ɲ","Ͷ","Π","Ҋ"],o:["\xd8","\xf5","\xf8","Ǿ","ʘ","Ѻ","ם","۝","๏"],p:["Ƿ","Ҏ"],q:["্"],r:["\xae","Ʀ","Ȑ","Ɍ","ʀ","Я"],s:["\xa7","Ϟ","ϟ","Ϩ"],t:["Ł","Ŧ","ͳ"],u:["Ʊ","Ս"],v:["ט"],w:["Ш","Ѡ","Ѽ","൰"],x:["Ҳ","Ӿ","Ӽ","ӽ"],y:["\xa5","Ұ","Ӌ"],z:["Ƶ","ɀ"]};return e.forEach(function(e){var t=Math.floor(Math.random()*(n[e=e.toLowerCase()]||[" "]).length);void 0!==n[e]?r+=n[e][t]:r+=e}),r}},50750:function(e){e.exports=function(e,t){e=e||" he is here ";var r={up:["̍","̎","̄","̅","̿","̑","̆","̐","͒","͗","͑","̇","̈","̊","͂","̓","̈","͊","͋","͌","̃","̂","̌","͐","̀","́","̋","̏","̒","̓","̔","̽","̉","ͣ","ͤ","ͥ","ͦ","ͧ","ͨ","ͩ","ͪ","ͫ","ͬ","ͭ","ͮ","ͯ","̾","͛","͆","̚"],down:["̖","̗","̘","̙","̜","̝","̞","̟","̠","̤","̥","̦","̩","̪","̫","̬","̭","̮","̯","̰","̱","̲","̳","̹","̺","̻","̼","ͅ","͇","͈","͉","͍","͎","͓","͔","͕","͖","͙","͚","̣"],mid:["̕","̛","̀","́","͘","̡","̢","̧","̨","̴","̵","̶","͜","͝","͞","͟","͠","͢","̸","̷","͡"," ҉"]},n=[].concat(r.up,r.down,r.mid);function o(e){return Math.floor(Math.random()*e)}return function(e,t){var i,a,s="";for(a in(t=t||{}).up=void 0===t.up||t.up,t.mid=void 0===t.mid||t.mid,t.down=void 0===t.down||t.down,t.size=void 0!==t.size?t.size:"maxi",e=e.split(""))if(!function(e){var t=!1;return n.filter(function(r){t=r===e}),t}(a)){switch(s+=e[a],i={up:0,down:0,mid:0},t.size){case"mini":i.up=o(8),i.mid=o(2),i.down=o(8);break;case"maxi":i.up=o(16)+3,i.mid=o(4)+1,i.down=o(64)+3;break;default:i.up=o(8)+1,i.mid=o(6)/2,i.down=o(8)+1}var c=["up","mid","down"];for(var u in c)for(var l=c[u],f=0;f<=i[l];f++)t[l]&&(s+=r[l][o(r[l].length)])}return s}(e,t)}},36278:function(e){e.exports=function(e){return function(t,r,n){if(" "===t)return t;switch(r%3){case 0:return e.red(t);case 1:return e.white(t);case 2:return e.blue(t)}}}},38823:function(e){e.exports=function(e){var t=["red","yellow","green","blue","magenta"];return function(r,n,o){return" "===r?r:e[t[n++%t.length]](r)}}},79353:function(e){e.exports=function(e){var t=["underline","inverse","grey","yellow","red","green","blue","white","cyan","magenta","brightYellow","brightRed","brightGreen","brightBlue","brightWhite","brightCyan","brightMagenta"];return function(r,n,o){return" "===r?r:e[t[Math.round(Math.random()*(t.length-2))]](r)}}},90848:function(e){e.exports=function(e){return function(t,r,n){return r%2==0?t:e.inverse(t)}}},38982:function(e){var t={};e.exports=t;var r={reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],grey:[90,39],brightRed:[91,39],brightGreen:[92,39],brightYellow:[93,39],brightBlue:[94,39],brightMagenta:[95,39],brightCyan:[96,39],brightWhite:[97,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgGray:[100,49],bgGrey:[100,49],bgBrightRed:[101,49],bgBrightGreen:[102,49],bgBrightYellow:[103,49],bgBrightBlue:[104,49],bgBrightMagenta:[105,49],bgBrightCyan:[106,49],bgBrightWhite:[107,49],blackBG:[40,49],redBG:[41,49],greenBG:[42,49],yellowBG:[43,49],blueBG:[44,49],magentaBG:[45,49],cyanBG:[46,49],whiteBG:[47,49]};Object.keys(r).forEach(function(e){var n=r[e],o=t[e]=[];o.open="\x1b["+n[0]+"m",o.close="\x1b["+n[1]+"m"})},43719:function(e,t,r){"use strict";var n=r(34155);e.exports=function(e,t){var r=(t=t||n.argv).indexOf("--"),o=/^-{1,2}/.test(e)?"":"--",i=t.indexOf(o+e);return -1!==i&&(-1===r||i=8&&Number(r[0])>=10&&Number(r[2])>=10586?Number(r[2])>=14931?3:2:1}if("CI"in a)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI"].some(function(e){return e in a})||"codeship"===a.CI_NAME?1:t;if("TEAMCITY_VERSION"in a)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(a.TEAMCITY_VERSION)?1:0;if("TERM_PROGRAM"in a){var c=parseInt((a.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(a.TERM_PROGRAM){case"iTerm.app":return c>=3?3:2;case"Hyper":return 3;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(a.TERM)?2:/^screen|^xterm|^vt100|^rxvt|color|ansi|cygwin|linux/i.test(a.TERM)||"COLORTERM"in a?1:(a.TERM,t)}(e))&&{level:t,hasBasic:!0,has256:t>=2,has16m:t>=3}}i("no-color")||i("no-colors")||i("color=false")?s=!1:(i("color")||i("colors")||i("color=true")||i("color=always"))&&(s=!0),"FORCE_COLOR"in a&&(s=0===a.FORCE_COLOR.length||0!==parseInt(a.FORCE_COLOR,10)),e.exports={supportsColor:c,stdout:c(n.stdout),stderr:c(n.stderr)}},33645:function(e,t,r){var n=r(32289);e.exports=n},12524:function(e,t,r){e.exports=r(10519)},10519:function(e,t,r){var n=r(4099)(function e(t,r){return((r=r||{}).namespace=t,r.prod=!0,r.dev=!1,r.force||e.force)?e.yep(r):e.nope(r)});e.exports=n},4099:function(e){var t=[],r=[],n=function(){};function o(e){return!~t.indexOf(e)&&(t.push(e),!0)}function i(e){n=e}function a(e){for(var r=[],n=0;n=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var c=n.call(a,"catchLoc"),u=n.call(a,"finallyLoc");if(c&&u){if(this.prev=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),j(r),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;j(r)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:T(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),m}},t}function a(e,t,r,n,o,i,a){try{var s=e[i](a),c=s.value}catch(e){r(e);return}s.done?t(c):Promise.resolve(c).then(n,o)}function s(e){return function(){var t=this,r=arguments;return new Promise(function(n,o){var i=e.apply(t,r);function s(e){a(i,n,o,s,c,"next",e)}function c(e){a(i,n,o,s,c,"throw",e)}s(void 0)})}}function c(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}function u(e,t){for(var r=0;r=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function m(e){if(void 0===e)throw ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct||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(){var r,n=d(e);if(t){var o=d(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return function(e,t){if(t&&("object"==typeof t||"function"==typeof t))return t;if(void 0!==t)throw TypeError("Derived constructors may only return object or undefined");return m(e)}(this,r)}}function v(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,i,a,s=[],c=!0,u=!1;try{if(i=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;c=!1}else for(;!(c=(n=i.call(r)).done)&&(s.push(n.value),s.length!==t);c=!0);}catch(e){u=!0,o=e}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return b(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return b(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r0),g(e0}),o.createElement("span",{className:S},a)),y&&o.createElement(l.Z,{fieldId:x},y),_.length>0&&o.createElement(f.Z,{errors:_,forId:x}))};g.propTypes={id:a().string,onChange:a().func,name:a().string.isRequired,label:a().node.isRequired,value:a().oneOfType([a().string,a().number]),checked:a().bool,disabled:a().bool,help:a().node,required:a().bool,errors:a().arrayOf(a().string),spacing:a().string,labelIsHidden:a().bool};var m=g},88119:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}}),r(69600);var n=r(67294),o=r(72263),i=function(e){var t=e.errors,r=e.forId;return n.createElement("label",{className:"errors-module_wrapper__uqfyC",htmlFor:r},n.createElement(o.Z,null,t.join("; ")))}},25362:function(e,t,r){"use strict";r.d(t,{Z:function(){return p}});var n=r(65168),o=r(67294),i=r(45697),a=r.n(i),s=r(94184),c=r.n(s),u=r(73262);r(92222),r(21249),r(74916),r(4723),r(47042);var l=function(e){var t=e.top,r=e.right,n=e.bottom,o=e.left;return"".concat(void 0===t?0:t," ").concat(void 0===r?0:r," ").concat(void 0===n?0:n," ").concat(void 0===o?0:o)},f=function(e){var t=e.children,r=e.isPlain,i=e.spacingBottom,a=c()("fieldset-module_wrapper__HC-tQ",(0,n._x)({},"fieldset-module_isPlain__hqYkd",void 0!==r&&r)),s=l({bottom:void 0===i?"5":i});return o.createElement(u.Z,{spacing:s},o.createElement("fieldset",{className:a},t))};f.propTypes={children:a().node.isRequired,isPlain:a().bool,spacingBottom:a().string};var p=f},91094:function(e,t,r){"use strict";r.d(t,{ZP:function(){return f},_y:function(){return u}});var n=r(65168);r(19601);var o=r(67294),i=r(45697),a=r.n(i),s=r(30475),c=["children","method","noValidate","multipart","action"],u=(0,o.createContext)(),l=o.forwardRef(function(e,t){var r=e.children,i=e.method,a=void 0===i?"post":i,l=e.noValidate,f=e.multipart,p=e.action,d=(0,n.Kd)(e,c),h=(0,o.useContext)(u),g=function(){return"get"===a||"post"===a};return o.createElement("form",Object.assign({},d,{action:p,noValidate:void 0===l||l,acceptCharset:"UTF-8",method:g()?a:"post",encType:void 0!==f&&f?"multipart/form-data":"application/x-www-form-urlencoded",ref:t}),o.createElement(s.Z,{name:"authenticity_token",value:h}),o.createElement(s.Z,{name:"utf8",value:"✓"}),!g()&&o.createElement(s.Z,{name:"_method",value:a}),r)});l.propTypes={method:a().oneOf(["post","get","put","patch","delete"]),action:a().string.isRequired,multipart:a().bool,children:a().node.isRequired,noValidate:a().bool};var f=l},44921:function(e,t,r){"use strict";r.d(t,{Z:function(){return f}});var n=r(67294),o=r(45697),i=r.n(o),a=r(69440),s=r(88119),c=r(73262),u=r(46722),l=function(e){var t=e.fieldId,r=e.label,o=e.isLabelHidden,i=e.help,l=e.formattedHelp,f=e.required,p=e.errors,d=void 0===p?[]:p,h=e.children,g=e.spacing;return n.createElement(c.Z,{spacing:void 0===g?"0 0 4 0":g},n.createElement(a.Z,{forId:t,isRequired:void 0!==f&&f,isLabelHidden:o},r),i&&n.createElement(u.Z,{fieldId:t,isFormatted:l},i),h,d&&d.length>0&&n.createElement(s.Z,{errors:d,forId:t}))};l.propTypes={fieldId:i().string.isRequired,label:i().string.isRequired,isLabelHidden:i().bool,help:i().oneOfType([i().node,i().shape({__html:i().string})]),required:i().bool,errors:i().arrayOf(i().string),children:i().node.isRequired,spacing:i().string,formattedHelp:i().oneOfType([i().string,i().shape({__html:i().string})])};var f=l},56912:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(65168),o=r(67294),i=r(45697),a=r.n(i),s=r(94184),c=r.n(s),u=function(e){var t=e.children,r=e.isThin,i=c()("group-module_wrapper__YN0mN",(0,n._x)({},"group-module_isThin__d-nyw",void 0!==r&&r));return o.createElement("div",{className:i},t)};u.propTypes={children:a().node.isRequired,isThin:a().bool};var l=u},46722:function(e,t,r){"use strict";r.d(t,{Z:function(){return p}});var n=r(67294),o=r(45697),i=r.n(o),a=r(65168),s=r(94184),c=r.n(s),u=function(e){var t=e.isReordering,r=e.content;return n.createElement("div",{className:c()("formattedContent-module_wrapper__sEA6u",(0,a._x)({},"formattedContent-module_isTruncated__HF-WG",void 0!==t&&t)),dangerouslySetInnerHTML:r})};u.propTypes={isReordering:i().bool,content:i().shape({__html:i().string})};var l={wrapper:"help-module_wrapper__fFHHZ"},f=function(e){var t=e.fieldId,r=e.isFormatted,o=e.children;return r?n.createElement(u,{content:o}):n.createElement("label",{htmlFor:t,className:l.wrapper},o)};f.propTypes={fieldId:i().string.isRequired,isFormatted:i().oneOfType([i().node,i().shape({__html:i().string})]),children:i().oneOfType([i().node,i().shape({__html:i().string})])};var p=f},30475:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(67294),o=r(45697),i=r.n(o),a=r(89228),s=function(e){var t=e.name,r=e.value;return n.createElement(a.Z,{type:"hidden",name:t,value:void 0===r?"":r})};s.propTypes={name:i().string.isRequired,value:i().oneOfType([i().string,i().number])};var c=s},89228:function(e,t,r){"use strict";r.d(t,{Z:function(){return f}});var n=r(65168);r(19601);var o=r(67294),i=r(45697),a=r.n(i),s=r(94184),c=r.n(s),u=["isError","disabled","value","onChange"],l=function(e){var t,r=e.isError,i=e.disabled,a=e.value,s=void 0===a?"":a,l=e.onChange,f=(0,n.Kd)(e,u),p=c()("input-module_wrapper__4PdsM",(t={},(0,n._x)(t,"input-module_isError__lb0CL",void 0!==r&&r),(0,n._x)(t,"input-module_isDisabled__XKWXr",void 0!==i&&i),t)),d=(0,o.useState)(s),h=(0,n.ZQ)(d,2),g=h[0],m=h[1];return(0,o.useEffect)(function(){m(s)},[s]),o.createElement("input",Object.assign({},f,{className:p,value:g,onChange:function(e){l&&l(e),m(e.target.value)}}))};l.propTypes={onChange:a().func,type:a().string.isRequired,name:a().string.isRequired,value:a().oneOfType([a().string,a().number]),isError:a().bool,disabled:a().bool};var f=l},11853:function(e,t,r){"use strict";r.d(t,{Z:function(){return h},g:function(){return d}});var n=r(65168);r(19601);var o=r(67294),i=r(45697),a=r.n(i),s=r(18143),c=r(44921),u=r(89228),l=["id","type","name","value","label","isLabelHidden","help","formattedHelp","required","errors","spacing","children"],f=function(e){var t=e.id,r=e.type,i=e.name,a=e.value,f=e.label,p=e.isLabelHidden,d=e.help,h=e.formattedHelp,g=e.required,m=void 0!==g&&g,y=e.errors,v=void 0===y?[]:y,b=e.spacing,_=e.children,w=(0,n.Kd)(e,l),E=(0,s.Z)(),O=t||E;return o.createElement(c.Z,{fieldId:O,label:f,isLabelHidden:p,help:d,formattedHelp:h,required:m,errors:v,spacing:b},o.createElement(u.Z,Object.assign({id:O,type:r,name:i,value:void 0===a?"":a,required:m,isError:v&&v.length>0},w)),_)},p={id:a().string,type:a().string.isRequired,name:a().string.isRequired,value:a().oneOfType([a().string,a().number]),label:a().string.isRequired,isLabelHidden:a().bool,help:a().oneOfType([a().node,a().shape({__html:a().string})]),required:a().bool,errors:a().arrayOf(a().string),spacing:a().string,children:a().node,formattedHelp:a().oneOfType([a().string,a().shape({__html:a().string})])};f.propTypes=p;var d=(0,n.Zj)({},p),h=f},69440:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(65168),o=r(67294),i=r(94184),a=r.n(i),s={wrapper:"label-module_wrapper__7bq3u",isLarge:"label-module_isLarge__-OMff",isSubtle:"label-module_isSubtle__d7ZKQ",isRequired:"label-module_isRequired__Z77IM",visuallyHiddenText:"label-module_visuallyHiddenText__OpCpl"},c=function(e){var t,r=e.forId,i=e.children,c=e.isRequired,u=void 0!==c&&c,l=e.isLarge,f=e.isSubtle,p=e.isLabelHidden,d=a()(s.wrapper,(t={},(0,n._x)(t,s.isLarge,void 0!==l&&l),(0,n._x)(t,s.isRequired,u),(0,n._x)(t,s.isSubtle,void 0!==f&&f),(0,n._x)(t,s.visuallyHiddenText,void 0!==p&&p),t));return o.createElement("label",{className:d,htmlFor:r},i,u&&o.createElement("span",{className:s.visuallyHiddenText},"(required)"))}},79745:function(e,t,r){"use strict";r.d(t,{Z:function(){return a}});var n=r(67294),o=r(94197),i={isRequired:"legend-module_isRequired__Hi1gH",visuallyHiddenText:"legend-module_visuallyHiddenText__1Ns1Z"},a=function(e){var t=e.children,r=e.isRequired;return n.createElement("legend",null,n.createElement(o.Z,{elName:"span",size:"small",isBold:!0},t,void 0!==r&&r&&n.createElement(n.Fragment,null,n.createElement("span",{className:i.visuallyHiddenText},"(required)"),n.createElement("span",{className:i.isRequired}))))}},66513:function(e,t,r){"use strict";r.d(t,{Z:function(){return m}});var n=r(65168);r(21249),r(82526),r(41817);var o=r(67294),i=r(45697),a=r.n(i),s=r(94184),c=r.n(s),u=r(88119),l=r(79745),f=r(25362),p=r(73262),d=function(e){var t=e.legend,r=e.required,n=e.errors,i=void 0===n?[]:n,a=e.children,s=e.spacingBottom,c=e.isPlain;return o.createElement(f.Z,{isPlain:void 0===c||c,spacingBottom:s},o.createElement(p.Z,{spacing:"0 0 2 0"},o.createElement(l.Z,{isRequired:void 0!==r&&r},t)),a,i&&i.length>0&&o.createElement(u.Z,{errors:i}))};d.propTypes={legend:a().string.isRequired,required:a().bool,errors:a().arrayOf(a().string),children:a().node.isRequired,spacingBottom:a().string,isPlain:a().bool};var h=r(43493),g=function(e){var t=e.options,r=e.name,i=e.legend,a=e.value,s=e.spacingBottom,u=e.errors,l=e.isInline,f=e.isSubtle,p=e.isPlain,g=e.children,m=e.onChange,y=e.required,v=c()(["radioField-module_wrapper__KXVq6"],(0,n._x)({},"radioField-module_isInline__0qVrY",l));return o.createElement(d,{legend:i,spacingBottom:s,errors:u,required:y,isPlain:p},t.map(function(e){var t=String(a)===String(e.value);return o.createElement("div",{className:v,key:e.value+e.label},o.createElement(h.Z,{id:null==e?void 0:e.id,name:r,value:e.value,checked:t,label:e.label,description:e.description,isSubtle:f,onChange:m}))}),g)};g.propTypes={options:a().arrayOf(a().shape()),name:a().string,legend:a().string,value:a().oneOfType([a().bool,a().string]),errors:a().arrayOf(a().string),spacingBottom:a().string,isInline:a().bool,isSubtle:a().bool,isPlain:a().bool,children:a().node,onChange:a().func,required:a().bool};var m=g},43493:function(e,t,r){"use strict";r.d(t,{Z:function(){return u}});var n=r(65168);r(82526),r(41817),r(19601);var o=r(67294),i=r(18143),a=r(69440),s={wrapper:"radioWithLabel-module_wrapper__6eb6v",labelText:"radioWithLabel-module_labelText__k1F3T",input:"radioWithLabel-module_input__tvqnR",button:"radioWithLabel-module_button__VpSdW",description:"radioWithLabel-module_description__OWlSN"},c=["name","value","checked","label","description","isSubtle","children","onChange","id"],u=function(e){var t=e.name,r=e.value,u=e.checked,l=e.label,f=e.description,p=e.isSubtle,d=e.children,h=e.onChange,g=e.id,m=(0,n.Kd)(e,c),y=(0,i.Z)(),v=g||y,b=(0,o.useRef)(null);return o.createElement("div",{className:s.wrapper},o.createElement(a.Z,{forId:v,isSubtle:p},o.createElement("input",Object.assign({className:s.input,type:"radio",id:v,name:t,value:r,onChange:function(){h&&h(b)},ref:b,defaultChecked:u},m)),o.createElement("span",{className:s.labelText},l),f&&o.createElement("span",{className:s.description},f),o.createElement("span",{className:s.button}),d))}},99839:function(e,t,r){"use strict";r.d(t,{Z:function(){return f}});var n=r(65168);r(21249),r(19601);var o=r(67294),i=r(45697),a=r.n(i),s=r(94184),c=r.n(s),u=function(e){var t=e.name,r=e.value,n=e.disabled;return o.createElement("option",{disabled:n,key:r+t,value:r},t)};u.propTypes={name:a().string.isRequired,value:a().oneOfType([a().string,a().number,a().shape()]),disabled:a().bool};var l=function(e){var t=e.name,r=e.form,i=void 0===r?null:r,a=e.value,s=e.id,l=e.required,f=e.options,p=e.onChange,d=e.includeBlank,h=e.isError,g=c()("selectInput-module_wrapper__AqP7A",(0,n._x)({},"selectInput-module_isError__QQhcK",void 0!==h&&h));return o.createElement("div",{className:g},o.createElement("select",Object.assign({id:s,name:t,defaultValue:void 0===a?"":a,required:void 0!==l&&l,className:"selectInput-module_select__M5tfu",onChange:p},i&&{form:i}),void 0!==d&&d&&o.createElement("option",{value:""}," "),f.map(function(e){return e.group?o.createElement("optgroup",{label:e.name,key:e.name},e.group.map(function(e){return o.createElement(u,{disabled:e.disabled,name:e.label,value:e.value,key:e.value+e.label})})):o.createElement(u,{disabled:e.disabled,name:e.name,value:e.value,key:e.value+e.name})})))};l.propTypes={name:a().string,form:a().string,value:a().oneOfType([a().string,a().number,a().shape()]),id:a().string.isRequired,required:a().bool,includeBlank:a().bool,isError:a().bool,onChange:a().func,options:a().arrayOf(a().shape({name:a().string.isRequired,value:a().oneOfType([a().string,a().number]),disabled:a().bool})).isRequired};var f=l},32845:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(67294),o=r(45697),i=r.n(o),a=r(18143),s=r(44921),c=r(99839),u=function(e){var t=e.id,r=e.name,o=e.form,i=e.value,u=e.label,l=e.isLabelHidden,f=e.help,p=e.required,d=void 0!==p&&p,h=e.onChange,g=e.errors,m=void 0===g?[]:g,y=e.options,v=e.includeBlank,b=e.spacing,_=(0,a.Z)(),w=t||_;return n.createElement(s.Z,{fieldId:w,label:u,isLabelHidden:l,help:void 0===f?null:f,required:d,errors:m,spacing:b},n.createElement(c.Z,{id:w,name:r,form:void 0===o?null:o,value:void 0===i?"":i,required:d,options:y,includeBlank:void 0!==v&&v,isError:m&&m.length>0,onChange:h}))};u.propTypes={id:i().string,name:i().string.isRequired,form:i().string,value:i().oneOfType([i().string,i().number]),options:i().arrayOf(i().shape({name:i().string,value:i().oneOfType([i().string,i().number])})).isRequired,label:i().string.isRequired,isLabelHidden:i().bool,help:i().node,required:i().bool,includeBlank:i().bool,onChange:i().func,errors:i().arrayOf(i().string),spacing:i().string};var l=u},49686:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(65168);r(91058),r(19601);var o=r(67294),i=r(10012),a=r(11853),s=["showCharacterCount","maxLength","value","onChange"],c=function(e){var t=e.showCharacterCount,r=e.maxLength,c=e.value,u=e.onChange,l=void 0===u?function(){}:u,f=(0,n.Kd)(e,s),p=(0,o.useState)(void 0===c?"":c),d=(0,n.ZQ)(p,2),h=d[0],g=d[1],m=function(e){t&&e.target.value.length>r||g(e.target.value)};return o.createElement(a.Z,Object.assign({type:"text",maxLength:r,value:h,onChange:function(e){m(e),l(e)}},f),t&&o.createElement(i.Z,{maxCharacterCount:parseInt(r,10),characterCount:h.length}))};a.g.type;var u=(0,n.Kd)(a.g,["type"]);c.propTypes=u;var l=c},14471:function(e,t,r){"use strict";r.d(t,{Z:function(){return m}}),r(21249),r(26699);var n=r(67294),o=r(94184),i=r.n(o),a=r(65168),s={itemsWrapper:"align-module_itemsWrapper__VqrgE",item:"align-module_item__YwH46",wrapper:"align-module_wrapper__RpD0z",sBreakpointDirectionhorizontal:"align-module_sBreakpointDirectionhorizontal__aCYX5",sBreakpointDirectionvertical:"align-module_sBreakpointDirectionvertical__d52I1","sBreakpointDirectionhorizontal-reverse":"align-module_sBreakpointDirectionhorizontal-reverse__oHyMv","sBreakpointDirectionvertical-reverse":"align-module_sBreakpointDirectionvertical-reverse__KO8pZ",mBreakpointDirectionhorizontal:"align-module_mBreakpointDirectionhorizontal__XGziK",mBreakpointDirectionvertical:"align-module_mBreakpointDirectionvertical__yOLkk","mBreakpointDirectionhorizontal-reverse":"align-module_mBreakpointDirectionhorizontal-reverse__Y-iuJ","mBreakpointDirectionvertical-reverse":"align-module_mBreakpointDirectionvertical-reverse__joPGJ",lBreakpointDirectionhorizontal:"align-module_lBreakpointDirectionhorizontal__IeGH3",lBreakpointDirectionvertical:"align-module_lBreakpointDirectionvertical__V1QMh","lBreakpointDirectionhorizontal-reverse":"align-module_lBreakpointDirectionhorizontal-reverse__HSPlc","lBreakpointDirectionvertical-reverse":"align-module_lBreakpointDirectionvertical-reverse__J6WTN",xlBreakpointDirectionhorizontal:"align-module_xlBreakpointDirectionhorizontal__XyJ5q",xlBreakpointDirectionvertical:"align-module_xlBreakpointDirectionvertical__GTi5g","xlBreakpointDirectionhorizontal-reverse":"align-module_xlBreakpointDirectionhorizontal-reverse__aIt-u","xlBreakpointDirectionvertical-reverse":"align-module_xlBreakpointDirectionvertical-reverse__hzQq-",xxlBreakpointDirectionhorizontal:"align-module_xxlBreakpointDirectionhorizontal__7ldlu",xxlBreakpointDirectionvertical:"align-module_xxlBreakpointDirectionvertical__2IXYL","xxlBreakpointDirectionhorizontal-reverse":"align-module_xxlBreakpointDirectionhorizontal-reverse__rPmCc","xxlBreakpointDirectionvertical-reverse":"align-module_xxlBreakpointDirectionvertical-reverse__mo1cP",noWrap:"align-module_noWrap__mmz-8",wrap:"align-module_wrap__miO4O",wrapReverse:"align-module_wrapReverse__D435c",sBreakpointSpacing0:"align-module_sBreakpointSpacing0__0j-jQ",sBreakpointSpacing1:"align-module_sBreakpointSpacing1__yKW8k",sBreakpointSpacing2:"align-module_sBreakpointSpacing2__bp5w9",sBreakpointSpacing3:"align-module_sBreakpointSpacing3__h2i8Q",sBreakpointSpacing4:"align-module_sBreakpointSpacing4__HwB0k",sBreakpointSpacing5:"align-module_sBreakpointSpacing5__77RIa",sBreakpointSpacing6:"align-module_sBreakpointSpacing6__-NFL9",sBreakpointSpacing7:"align-module_sBreakpointSpacing7__7C0EQ",sBreakpointSpacing8:"align-module_sBreakpointSpacing8__Uz8pv",sBreakpointSpacing9:"align-module_sBreakpointSpacing9__pX0-E",sBreakpointSpacing10:"align-module_sBreakpointSpacing10__CCeCY",mBreakpointSpacing0:"align-module_mBreakpointSpacing0__dFIMz",mBreakpointSpacing1:"align-module_mBreakpointSpacing1__oVV1J",mBreakpointSpacing2:"align-module_mBreakpointSpacing2__RSd3V",mBreakpointSpacing3:"align-module_mBreakpointSpacing3__sP4Sn",mBreakpointSpacing4:"align-module_mBreakpointSpacing4__RKJJs",mBreakpointSpacing5:"align-module_mBreakpointSpacing5__pCkFg",mBreakpointSpacing6:"align-module_mBreakpointSpacing6__BmZo4",mBreakpointSpacing7:"align-module_mBreakpointSpacing7__CPt4m",mBreakpointSpacing8:"align-module_mBreakpointSpacing8__-gOw9",mBreakpointSpacing9:"align-module_mBreakpointSpacing9__gmDD1",mBreakpointSpacing10:"align-module_mBreakpointSpacing10__OpB9k",lBreakpointSpacing0:"align-module_lBreakpointSpacing0__4ScmC",lBreakpointSpacing1:"align-module_lBreakpointSpacing1__Bf6-v",lBreakpointSpacing2:"align-module_lBreakpointSpacing2__oKYjJ",lBreakpointSpacing3:"align-module_lBreakpointSpacing3__k7zRV",lBreakpointSpacing4:"align-module_lBreakpointSpacing4__B5i54",lBreakpointSpacing5:"align-module_lBreakpointSpacing5__8zYbF",lBreakpointSpacing6:"align-module_lBreakpointSpacing6__uwgZs",lBreakpointSpacing7:"align-module_lBreakpointSpacing7__XYoIv",lBreakpointSpacing8:"align-module_lBreakpointSpacing8__vnQgA",lBreakpointSpacing9:"align-module_lBreakpointSpacing9__D7XPm",lBreakpointSpacing10:"align-module_lBreakpointSpacing10__oMtE3",xlBreakpointSpacing0:"align-module_xlBreakpointSpacing0__6d1SO",xlBreakpointSpacing1:"align-module_xlBreakpointSpacing1__4ijO-",xlBreakpointSpacing2:"align-module_xlBreakpointSpacing2__q1Niw",xlBreakpointSpacing3:"align-module_xlBreakpointSpacing3__-TgYQ",xlBreakpointSpacing4:"align-module_xlBreakpointSpacing4__9eIJN",xlBreakpointSpacing5:"align-module_xlBreakpointSpacing5__PNqHr",xlBreakpointSpacing6:"align-module_xlBreakpointSpacing6__IT6VE",xlBreakpointSpacing7:"align-module_xlBreakpointSpacing7__uFZob",xlBreakpointSpacing8:"align-module_xlBreakpointSpacing8__Ksi4Y",xlBreakpointSpacing9:"align-module_xlBreakpointSpacing9__khpSY",xlBreakpointSpacing10:"align-module_xlBreakpointSpacing10__T4JFs",xxlBreakpointSpacing0:"align-module_xxlBreakpointSpacing0__cCl0u",xxlBreakpointSpacing1:"align-module_xxlBreakpointSpacing1__R3f1c",xxlBreakpointSpacing2:"align-module_xxlBreakpointSpacing2__QIvjG",xxlBreakpointSpacing3:"align-module_xxlBreakpointSpacing3__2CqSF",xxlBreakpointSpacing4:"align-module_xxlBreakpointSpacing4__a5veB",xxlBreakpointSpacing5:"align-module_xxlBreakpointSpacing5__a2i9V",xxlBreakpointSpacing6:"align-module_xxlBreakpointSpacing6__-ZqVD",xxlBreakpointSpacing7:"align-module_xxlBreakpointSpacing7__O6FhM",xxlBreakpointSpacing8:"align-module_xxlBreakpointSpacing8__ui2mI",xxlBreakpointSpacing9:"align-module_xxlBreakpointSpacing9__YEPpT",xxlBreakpointSpacing10:"align-module_xxlBreakpointSpacing10__Gr07u",sBreakpointAlignstart:"align-module_sBreakpointAlignstart__nxfDA",sBreakpointAlignend:"align-module_sBreakpointAlignend__Rz220",sBreakpointAligncenter:"align-module_sBreakpointAligncenter__TzOdK",sBreakpointAlignspaceBetween:"align-module_sBreakpointAlignspaceBetween__VUMvv",sBreakpointAlignspaceAround:"align-module_sBreakpointAlignspaceAround__4tTtM",sBreakpointAlignspaceEvenly:"align-module_sBreakpointAlignspaceEvenly__iapI-",mBreakpointAlignstart:"align-module_mBreakpointAlignstart__PRR8A",mBreakpointAlignend:"align-module_mBreakpointAlignend__m9Kfo",mBreakpointAligncenter:"align-module_mBreakpointAligncenter__p2asM",mBreakpointAlignspaceBetween:"align-module_mBreakpointAlignspaceBetween__Oz-rn",mBreakpointAlignspaceAround:"align-module_mBreakpointAlignspaceAround__MBIGE",mBreakpointAlignspaceEvenly:"align-module_mBreakpointAlignspaceEvenly__sly-3",lBreakpointAlignstart:"align-module_lBreakpointAlignstart__RXd7Q",lBreakpointAlignend:"align-module_lBreakpointAlignend__0SJgq",lBreakpointAligncenter:"align-module_lBreakpointAligncenter__Gy2CA",lBreakpointAlignspaceBetween:"align-module_lBreakpointAlignspaceBetween__-WRz-",lBreakpointAlignspaceAround:"align-module_lBreakpointAlignspaceAround__XQzaS",lBreakpointAlignspaceEvenly:"align-module_lBreakpointAlignspaceEvenly__jTIps",xlBreakpointAlignstart:"align-module_xlBreakpointAlignstart__-D5Wb",xlBreakpointAlignend:"align-module_xlBreakpointAlignend__hDeJu",xlBreakpointAligncenter:"align-module_xlBreakpointAligncenter__aEWNq",xlBreakpointAlignspaceBetween:"align-module_xlBreakpointAlignspaceBetween__zNO9V",xlBreakpointAlignspaceAround:"align-module_xlBreakpointAlignspaceAround__Aq9V8",xlBreakpointAlignspaceEvenly:"align-module_xlBreakpointAlignspaceEvenly__MZ-MN",xxlBreakpointAlignstart:"align-module_xxlBreakpointAlignstart__Uiu89",xxlBreakpointAlignend:"align-module_xxlBreakpointAlignend__5sdVD",xxlBreakpointAligncenter:"align-module_xxlBreakpointAligncenter__wW1Ya",xxlBreakpointAlignspaceBetween:"align-module_xxlBreakpointAlignspaceBetween__Up4Mw",xxlBreakpointAlignspaceAround:"align-module_xxlBreakpointAlignspaceAround__daKdD",xxlBreakpointAlignspaceEvenly:"align-module_xxlBreakpointAlignspaceEvenly__Vb6ME",sBreakpointAlignItemsstart:"align-module_sBreakpointAlignItemsstart__xYgQ7",sBreakpointAlignItemsstretch:"align-module_sBreakpointAlignItemsstretch__YXmMT",sBreakpointAlignItemscenter:"align-module_sBreakpointAlignItemscenter__4PYav",sBreakpointAlignItemsend:"align-module_sBreakpointAlignItemsend__4P0HG",sBreakpointAlignItemsbaseline:"align-module_sBreakpointAlignItemsbaseline__Ggd-T",mBreakpointAlignItemsstart:"align-module_mBreakpointAlignItemsstart__wu9-3",mBreakpointAlignItemsstretch:"align-module_mBreakpointAlignItemsstretch__iWCZ9",mBreakpointAlignItemscenter:"align-module_mBreakpointAlignItemscenter__0jkGH",mBreakpointAlignItemsend:"align-module_mBreakpointAlignItemsend__MEdgy",mBreakpointAlignItemsbaseline:"align-module_mBreakpointAlignItemsbaseline__ZJW-d",lBreakpointAlignItemsstart:"align-module_lBreakpointAlignItemsstart__uBnxt",lBreakpointAlignItemsstretch:"align-module_lBreakpointAlignItemsstretch__pix8H",lBreakpointAlignItemscenter:"align-module_lBreakpointAlignItemscenter__vz1rC",lBreakpointAlignItemsend:"align-module_lBreakpointAlignItemsend__bZCTz",lBreakpointAlignItemsbaseline:"align-module_lBreakpointAlignItemsbaseline__UXm7u",xlBreakpointAlignItemsstart:"align-module_xlBreakpointAlignItemsstart__TpXVL",xlBreakpointAlignItemsstretch:"align-module_xlBreakpointAlignItemsstretch__PBFlx",xlBreakpointAlignItemscenter:"align-module_xlBreakpointAlignItemscenter__V3Brz",xlBreakpointAlignItemsend:"align-module_xlBreakpointAlignItemsend__FP-H5",xlBreakpointAlignItemsbaseline:"align-module_xlBreakpointAlignItemsbaseline__IiTPD",xxlBreakpointAlignItemsstart:"align-module_xxlBreakpointAlignItemsstart__0Kw1d",xxlBreakpointAlignItemsstretch:"align-module_xxlBreakpointAlignItemsstretch__EI5rD",xxlBreakpointAlignItemscenter:"align-module_xxlBreakpointAlignItemscenter__UnQHp",xxlBreakpointAlignItemsend:"align-module_xxlBreakpointAlignItemsend__Nzkgv",xxlBreakpointAlignItemsbaseline:"align-module_xxlBreakpointAlignItemsbaseline__7bgzS",expand:"align-module_expand__jZbaK"},c=function(e){var t=e.children,r=e.expand,o=e.isListItem,s=i()("align-module_item__YwH46",(0,a._x)({},"align-module_expand__jZbaK",void 0!==r&&r));return n.createElement(void 0!==o&&o?"li":"div",{className:s},t)},u=r(32279),l=function(e){var t,r=(0,u.ZP)(e),n=r.small,o=r.medium,i=r.large,c=r.xlarge,l=r.xxlarge;return t={},(0,a._x)(t,s["sBreakpointAlign".concat(n)],n),(0,a._x)(t,s["mBreakpointAlign".concat(o)],o),(0,a._x)(t,s["lBreakpointAlign".concat(i)],i),(0,a._x)(t,s["xlBreakpointAlign".concat(c)],c),(0,a._x)(t,s["xxlBreakpointAlign".concat(l)],l),t},f=function(e){var t,r=(0,u.ZP)(e),n=r.small,o=r.medium,i=r.large,c=r.xlarge,l=r.xxlarge;return t={},(0,a._x)(t,s["sBreakpointSpacing".concat(n)],n),(0,a._x)(t,s["mBreakpointSpacing".concat(o)],o),(0,a._x)(t,s["lBreakpointSpacing".concat(i)],i),(0,a._x)(t,s["xlBreakpointSpacing".concat(c)],c),(0,a._x)(t,s["xxlBreakpointSpacing".concat(l)],l),t},p=function(e){var t,r=(0,u.ZP)(e),n=r.small,o=r.medium,i=r.large,c=r.xlarge,l=r.xxlarge;return t={},(0,a._x)(t,s["sBreakpointDirection".concat(n)],n),(0,a._x)(t,s["mBreakpointDirection".concat(o)],o),(0,a._x)(t,s["lBreakpointDirection".concat(i)],i),(0,a._x)(t,s["xlBreakpointDirection".concat(c)],c),(0,a._x)(t,s["xxlBreakpointDirection".concat(l)],l),t},d=function(e){var t,r=(0,u.ZP)(e),n=r.small,o=r.medium,i=r.large,c=r.xlarge,l=r.xxlarge;return t={},(0,a._x)(t,s["sBreakpointAlignItems".concat(n)],n),(0,a._x)(t,s["mBreakpointAlignItems".concat(o)],o),(0,a._x)(t,s["lBreakpointAlignItems".concat(i)],i),(0,a._x)(t,s["xlBreakpointAlignItems".concat(c)],c),(0,a._x)(t,s["xxlBreakpointAlignItems".concat(l)],l),t},h=["ul","li"],g=function(e){var t=e.children,r=e.spacing,o=e.align,a=e.direction,u=e.wrap,g=e.alignItems,m=e.elName,y=void 0===m?"div":m,v=i()("align-module_wrapper__RpD0z",p(void 0===a?"horizontal":a)),b=i()("align-module_itemsWrapper__VqrgE",f(void 0===r?"5":r),l(void 0===o?"start":o),d(g),s[void 0===u?"noWrap":u]);return n.createElement("div",{className:v},n.createElement(y,{className:b},n.Children.map(t,function(e){return e?e.type===c?e:n.createElement(c,{isListItem:h.includes(y)},e):null})))};g.Item=c;var m=g},70610:function(e,t,r){"use strict";r.d(t,{Z:function(){return l}});var n=r(67294),o=r(45697),i=r.n(o),a=r(94184),s=r.n(a),c={black:"background-module_black__W-GSI",white:"background-module_white__Srzpy","dark-grey":"background-module_dark-grey__nX-bX","cool-grey":"background-module_cool-grey__Eqh2w","medium-grey":"background-module_medium-grey__C-9LL","soft-grey":"background-module_soft-grey__WYva0","light-grey":"background-module_light-grey__7SoNw","gainsboro-grey":"background-module_gainsboro-grey__7gbml",blue:"background-module_blue__RstqM",ultramarine:"background-module_ultramarine__ddUxt",navy:"background-module_navy__F-EcL",purple:"background-module_purple__CedI9",violet:"background-module_violet__j2LqF",pink:"background-module_pink__Bh-RD",coral:"background-module_coral__Eavv8",orange:"background-module_orange__w7kbY",gold:"background-module_gold__Reehp",yellow:"background-module_yellow__GseCV","off-brand-green":"background-module_off-brand-green__G6fCa","off-brand-facebook-blue":"background-module_off-brand-facebook-blue__kpHmM","off-brand-google-blue":"background-module_off-brand-google-blue__S9-0Q","off-brand-twitter-blue":"background-module_off-brand-twitter-blue__VBPzA","off-brand-linkedin-blue":"background-module_off-brand-linkedin-blue__FOrog","off-brand-whatsapp-green":"background-module_off-brand-whatsapp-green__6yy-q","off-brand-great-campaign-color":"background-module_off-brand-great-campaign-color__Lqss2","off-brand-great-campaign-color-light":"background-module_off-brand-great-campaign-color-light__RfnCk","off-brand-great-campaign-ribbon":"background-module_off-brand-great-campaign-ribbon__21xq-",gradient:"background-module_gradient__mlLw7",background:"background-module_background__wCtUN",offsetPadding:"background-module_offsetPadding__VGqT9"},u=function(e){var t=e.children,r=e.color;return n.createElement("div",{className:s()("background-module_background__wCtUN",c[r])},n.createElement("div",{className:"background-module_offsetPadding__VGqT9"},t))};u.propTypes={children:i().node,color:i().oneOf(["black","blue","cool-grey","coral","dark-grey","gainsboro-grey","gold","light-grey","medium-grey","navy","orange","pink","purple","soft-grey","ultramarine","violet","white","yellow","gradient"])};var l=u},73262:function(e,t,r){"use strict";r.d(t,{Z:function(){return u}});var n=r(65168);r(74916),r(4723),r(21249),r(47042);var o=r(67294),i=r(94184),a=r.n(i),s={default:"spacer-module_default__LTC4S","all-0":"spacer-module_all-0__JxUdI","vertical-0":"spacer-module_vertical-0__Gj9Dv","horizontal-0":"spacer-module_horizontal-0__-hL2K","top-0":"spacer-module_top-0__Ep11L","bottom-0":"spacer-module_bottom-0__-kWEz","left-0":"spacer-module_left-0__xby9p","right-0":"spacer-module_right-0__8uUM5","all-1":"spacer-module_all-1__eR1Nl","vertical-1":"spacer-module_vertical-1__cfFPf","horizontal-1":"spacer-module_horizontal-1__NPL-p","top-1":"spacer-module_top-1__CmN8G","bottom-1":"spacer-module_bottom-1__uzrez","left-1":"spacer-module_left-1__xvSSv","right-1":"spacer-module_right-1__a99Af","all-2":"spacer-module_all-2__aRfn5","vertical-2":"spacer-module_vertical-2__Jr8TJ","horizontal-2":"spacer-module_horizontal-2__WM285","top-2":"spacer-module_top-2__9VvXU","bottom-2":"spacer-module_bottom-2__ydWXd","left-2":"spacer-module_left-2__bAnR-","right-2":"spacer-module_right-2__IOb-0","all-3":"spacer-module_all-3__gGyZy","vertical-3":"spacer-module_vertical-3__dVjpf","horizontal-3":"spacer-module_horizontal-3__FD5hY","top-3":"spacer-module_top-3__JAu65","bottom-3":"spacer-module_bottom-3__cgLoD","left-3":"spacer-module_left-3__Tur55","right-3":"spacer-module_right-3__3h--1","all-4":"spacer-module_all-4__fqukg","vertical-4":"spacer-module_vertical-4__FghFL","horizontal-4":"spacer-module_horizontal-4__2M9Mr","top-4":"spacer-module_top-4__XYxLX","bottom-4":"spacer-module_bottom-4__PBRr2","left-4":"spacer-module_left-4__aewgK","right-4":"spacer-module_right-4__KWCi7","all-5":"spacer-module_all-5__rXRSM","vertical-5":"spacer-module_vertical-5__YhQNP","horizontal-5":"spacer-module_horizontal-5__NVkIN","top-5":"spacer-module_top-5__Fxf3M","bottom-5":"spacer-module_bottom-5__1H7Np","left-5":"spacer-module_left-5__ar6Qm","right-5":"spacer-module_right-5__lMSUd","all-6":"spacer-module_all-6__u-8wh","vertical-6":"spacer-module_vertical-6__gZnVQ","horizontal-6":"spacer-module_horizontal-6__YpWjy","top-6":"spacer-module_top-6__8-4AT","bottom-6":"spacer-module_bottom-6__Oya6j","left-6":"spacer-module_left-6__8ydhS","right-6":"spacer-module_right-6__QY1DZ","all-7":"spacer-module_all-7__FcOjC","vertical-7":"spacer-module_vertical-7__oA0VO","horizontal-7":"spacer-module_horizontal-7__o4xQ9","top-7":"spacer-module_top-7__EpcOY","bottom-7":"spacer-module_bottom-7__X6JQO","left-7":"spacer-module_left-7__mqXTb","right-7":"spacer-module_right-7__3k5nq","all-8":"spacer-module_all-8__a-YQ-","vertical-8":"spacer-module_vertical-8__LYjx5","horizontal-8":"spacer-module_horizontal-8__dyXTq","top-8":"spacer-module_top-8__Tysl5","bottom-8":"spacer-module_bottom-8__S1trB","left-8":"spacer-module_left-8__y5djV","right-8":"spacer-module_right-8__JSCVh","all-9":"spacer-module_all-9__-MAXg","vertical-9":"spacer-module_vertical-9__YwPvY","horizontal-9":"spacer-module_horizontal-9__Ar3dH","top-9":"spacer-module_top-9__3o4DV","bottom-9":"spacer-module_bottom-9__HtE2j","left-9":"spacer-module_left-9__yBdHD","right-9":"spacer-module_right-9__Dlw3m","all-10":"spacer-module_all-10__AL8KE","vertical-10":"spacer-module_vertical-10__1Rzhu","horizontal-10":"spacer-module_horizontal-10__Rt96C","top-10":"spacer-module_top-10__8ZZv-","bottom-10":"spacer-module_bottom-10__XPSbO","left-10":"spacer-module_left-10__d8aAO","right-10":"spacer-module_right-10__L5Fjl"},c=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.match(/\S+/g);if(!t)return{};var r=t.map(function(e){return"0"===e?null:e});switch(r.slice(0,4).length){case 1:return{all:r[0]};case 2:return{vertical:r[0],horizontal:r[1]};case 3:return{top:r[0],horizontal:r[1],bottom:r[2]};case 4:return{top:r[0],right:r[1],bottom:r[2],left:r[3]};default:return{}}},u=function(e){var t,r=e.children,i=e.id,u=e.elName,l=e.spacing,f=e.className,p=c(void 0===l?"":l),d=(t={},(0,n._x)(t,s["all-".concat(p.all)],p.all),(0,n._x)(t,s["vertical-".concat(p.vertical)],p.vertical),(0,n._x)(t,s["horizontal-".concat(p.horizontal)],p.horizontal),(0,n._x)(t,s["top-".concat(p.top)],p.top),(0,n._x)(t,s["bottom-".concat(p.bottom)],p.bottom),(0,n._x)(t,s["left-".concat(p.left)],p.left),(0,n._x)(t,s["right-".concat(p.right)],p.right),t);return o.createElement(void 0===u?"div":u,{id:i,className:a()("spacer-module_default__LTC4S",void 0===f?"":f,d)},r)}},51303:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(67294),o=r(45697),i=r.n(o),a={wrapper:"visuallyHidden-module_wrapper__PB6Zt","hideTextBreakpoint-small":"visuallyHidden-module_hideTextBreakpoint-small__UjRT3","hideTextBreakpoint-medium":"visuallyHidden-module_hideTextBreakpoint-medium__TDb-1","hideTextBreakpoint-large":"visuallyHidden-module_hideTextBreakpoint-large__W8ABs","hideTextBreakpoint-xlarge":"visuallyHidden-module_hideTextBreakpoint-xlarge__3-O9i","hideTextBreakpoint-xxlarge":"visuallyHidden-module_hideTextBreakpoint-xxlarge__ZmAU5"},s=function(e){var t,r=e.children,o=e.belowBreakpoint;return t=o?a["hideTextBreakpoint-".concat(o)]:a.wrapper,n.createElement("span",{className:t},r)};s.propTypes={children:i().node.isRequired,belowBreakpoint:i().string};var c=s},94197:function(e,t,r){"use strict";r.d(t,{Z:function(){return f}});var n=r(65168);r(92222),r(19601);var o=r(67294),i=r(94184),a=r.n(i),s=r(32279),c={wrapper:"text-module_wrapper__Dg6SG",isRegular:"text-module_isRegular__cAvX9",sBreakpointSizexsmall:"text-module_sBreakpointSizexsmall__PTEOv",isCompact:"text-module_isCompact__-exSt",sBreakpointSizesmall:"text-module_sBreakpointSizesmall__6hBFg",sBreakpointSizemedium:"text-module_sBreakpointSizemedium__Biiv7",sBreakpointSizelarge:"text-module_sBreakpointSizelarge__EYDhb",sBreakpointSizexlarge:"text-module_sBreakpointSizexlarge__8KNk-",sBreakpointSizexxlarge:"text-module_sBreakpointSizexxlarge__YwfQR",mBreakpointSizexsmall:"text-module_mBreakpointSizexsmall__5ZrLa",mBreakpointSizesmall:"text-module_mBreakpointSizesmall__VGf5d",mBreakpointSizemedium:"text-module_mBreakpointSizemedium__BiWea",mBreakpointSizelarge:"text-module_mBreakpointSizelarge__aqZ-8",mBreakpointSizexlarge:"text-module_mBreakpointSizexlarge__TRsLO",mBreakpointSizexxlarge:"text-module_mBreakpointSizexxlarge__mb98X",lBreakpointSizexsmall:"text-module_lBreakpointSizexsmall__SFtAR",lBreakpointSizesmall:"text-module_lBreakpointSizesmall__ersTr",lBreakpointSizemedium:"text-module_lBreakpointSizemedium__---NZ",lBreakpointSizelarge:"text-module_lBreakpointSizelarge__UxxQE",lBreakpointSizexlarge:"text-module_lBreakpointSizexlarge__1dyhN",lBreakpointSizexxlarge:"text-module_lBreakpointSizexxlarge__6smBr",xlBreakpointSizexsmall:"text-module_xlBreakpointSizexsmall__cckXT",xlBreakpointSizesmall:"text-module_xlBreakpointSizesmall__Md0dA",xlBreakpointSizemedium:"text-module_xlBreakpointSizemedium__X0Fd1",xlBreakpointSizelarge:"text-module_xlBreakpointSizelarge__N4C8A",xlBreakpointSizexlarge:"text-module_xlBreakpointSizexlarge__sbGG-",xlBreakpointSizexxlarge:"text-module_xlBreakpointSizexxlarge__nzmS1",xxlBreakpointSizexsmall:"text-module_xxlBreakpointSizexsmall__c9LpA",xxlBreakpointSizesmall:"text-module_xxlBreakpointSizesmall__6zyPE",xxlBreakpointSizemedium:"text-module_xxlBreakpointSizemedium__LVunM",xxlBreakpointSizelarge:"text-module_xxlBreakpointSizelarge__662pJ",xxlBreakpointSizexlarge:"text-module_xxlBreakpointSizexlarge__4uVW2",xxlBreakpointSizexxlarge:"text-module_xxlBreakpointSizexxlarge__LD3dv",sBreakpointAlignmentleft:"text-module_sBreakpointAlignmentleft__NFsd7",sBreakpointAlignmentright:"text-module_sBreakpointAlignmentright__jhf-d",sBreakpointAlignmentcenter:"text-module_sBreakpointAlignmentcenter__0oeQF",mBreakpointAlignmentleft:"text-module_mBreakpointAlignmentleft__4XTJ5",mBreakpointAlignmentright:"text-module_mBreakpointAlignmentright__mFAJI",mBreakpointAlignmentcenter:"text-module_mBreakpointAlignmentcenter__IEOCp",lBreakpointAlignmentleft:"text-module_lBreakpointAlignmentleft__j7t-X",lBreakpointAlignmentright:"text-module_lBreakpointAlignmentright__w5l4n",lBreakpointAlignmentcenter:"text-module_lBreakpointAlignmentcenter__EgXc2",xlBreakpointAlignmentleft:"text-module_xlBreakpointAlignmentleft__-Ay0j",xlBreakpointAlignmentright:"text-module_xlBreakpointAlignmentright__LK0Sb",xlBreakpointAlignmentcenter:"text-module_xlBreakpointAlignmentcenter__uE5uf",xxlBreakpointAlignmentleft:"text-module_xxlBreakpointAlignmentleft__ue3VP",xxlBreakpointAlignmentright:"text-module_xxlBreakpointAlignmentright__WDkxz",xxlBreakpointAlignmentcenter:"text-module_xxlBreakpointAlignmentcenter__JNVOI",black:"text-module_black__Z8IoK",coolGrey:"text-module_coolGrey__azvPI",mediumGrey:"text-module_mediumGrey__oO--8",darkGrey:"text-module_darkGrey__WesWx",white:"text-module_white__-TrpJ",navy:"text-module_navy__oBMPD",isBold:"text-module_isBold__P1yAk",isInline:"text-module_isInline__D2foI",isBlock:"text-module_isBlock__xOQyl"},u=["children","alignment","elName","isInline","isBlock","isBold","isCompact","size","color"],l=function(e,t){var r,o=(0,s.ZP)(t),i=o.small,a=o.medium,u=o.large,l=o.xlarge,f=o.xxlarge;return r={},(0,n._x)(r,c["sBreakpoint".concat(e).concat(i)],i),(0,n._x)(r,c["mBreakpoint".concat(e).concat(a)],a),(0,n._x)(r,c["lBreakpoint".concat(e).concat(u)],u),(0,n._x)(r,c["xlBreakpoint".concat(e).concat(l)],l),(0,n._x)(r,c["xxlBreakpoint".concat(e).concat(f)],f),r},f=function(e){var t,r=e.children,i=e.alignment,s=e.elName,f=e.isInline,p=e.isBlock,d=e.isBold,h=e.isCompact,g=void 0!==h&&h,m=e.size,y=e.color,v=(0,n.Kd)(e,u);return o.createElement(void 0===s?"p":s,Object.assign({className:a()("text-module_wrapper__Dg6SG",c[void 0===y?"black":y],l("Size",void 0===m?"small":m),l("Alignment",void 0===i?"left":i),(t={},(0,n._x)(t,"text-module_isInline__D2foI",void 0!==f&&f),(0,n._x)(t,"text-module_isBlock__xOQyl",void 0!==p&&p),(0,n._x)(t,"text-module_isBold__P1yAk",void 0!==d&&d),(0,n._x)(t,"text-module_isCompact__-exSt",g),(0,n._x)(t,"text-module_isRegular__cAvX9",!g),t))},v),r)}},62369:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});var n=r(65168),o=r(67294),i=function(){var e=(0,o.useState)(!1),t=(0,n.ZQ)(e,2),r=t[0],i=t[1];return(0,o.useEffect)(function(){i(!0)},[]),r}},18143:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});var n=r(65168);r(92222);var o=r(67294),i=(0,o.createContext)("useId"),a={},s=function(){var e=(0,o.useContext)(i);a[e]=a[e]||0,a[e]+=1;var t=(0,o.useState)("".concat(e,"-").concat(a[e]));return(0,n.ZQ)(t,1)[0]}},864:function(e,t,r){"use strict";r.d(t,{r:function(){return s}});var n,o,i=r(67294);function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t",M=/^\s*at (.*?) ?\(((?:file|https?|blob|chrome-extension|native|eval|webpack||\/|[a-z]:\\|\\\\).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,N=/\((\S*)(?::(\d+))(?::(\d+))\)/,C=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,L=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|\[native).*?|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,I=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,B=/^\s*(?:([^@]*)(?:\((.*?)\))?@)?(\S.*?):(\d+)(?::(\d+))?\s*$/i,D=/^\s*at (?:((?:\[object object\])?[^\\/]+(?: \[as \S+\])?) )?\(?(.*?):(\d+)(?::(\d+))?\)?\s*$/i,F=k(Object.freeze({__proto__:null,parse:function(e){return e.split("\n").reduce(function(e,t){var r,n,o,i=function(e){var t=M.exec(e);if(!t)return null;var r=t[2]&&0===t[2].indexOf("native"),n=t[2]&&0===t[2].indexOf("eval"),o=N.exec(t[2]);return n&&null!=o&&(t[2]=o[1],t[3]=o[2],t[4]=o[3]),{file:r?null:t[2],methodName:t[1]||R,arguments:r?[t[2]]:[],lineNumber:t[3]?+t[3]:null,column:t[4]?+t[4]:null}}(t)||((r=C.exec(t))?{file:r[2],methodName:r[1]||R,arguments:[],lineNumber:+r[3],column:r[4]?+r[4]:null}:null)||function(e){var t=L.exec(e);if(!t)return null;var r=t[3]&&t[3].indexOf(" > eval")>-1,n=I.exec(t[3]);return r&&null!=n&&(t[3]=n[1],t[4]=n[2],t[5]=null),{file:t[3],methodName:t[1]||R,arguments:t[2]?t[2].split(","):[],lineNumber:t[4]?+t[4]:null,column:t[5]?+t[5]:null}}(t)||((n=D.exec(t))?{file:n[2],methodName:n[1]||R,arguments:[],lineNumber:+n[3],column:n[4]?+n[4]:null}:null)||((o=B.exec(t))?{file:o[3],methodName:o[1]||R,arguments:[],lineNumber:+o[4],column:o[5]?+o[5]:null}:null);return i&&e.push(i),e},[])}}));!function(e){var t=S&&S.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var o=Object.getOwnPropertyDescriptor(t,r);(!o||("get"in o?!t.__esModule:o.writable||o.configurable))&&(o={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,o)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),r=S&&S.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),n=S&&S.__importStar||function(e){if(e&&e.__esModule)return e;var n={};if(null!=e)for(var o in e)"default"!==o&&Object.prototype.hasOwnProperty.call(e,o)&&t(n,e,o);return r(n,e),n},o=S&&S.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(o,i){function a(e){try{c(n.next(e))}catch(e){i(e)}}function s(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}c((n=n.apply(e,t||[])).next())})},i=S&&S.__generator||function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]-1),e.method&&(r=e.method.toLowerCase().indexOf("@honeybadger-io")>-1),t||r}function l(t){for(var r=0,n=0;n"===o.file){var i=t[n+1];if(i&&u(i)){r++;continue}}break}return r||e.DEFAULT_BACKTRACE_SHIFT}function f(e){if("object"!=typeof e||null===e)return{};var t={};for(var r in e)t[r]=e[r];return t}function p(e){return e instanceof Error||"[object Error]"===Object.prototype.toString.call(e)}function d(e,t,r){if(e&&t&&r&&t in e)try{for(var n=e[t];n&&n.__hb_original;)n=n.__hb_original;e[t]=r(n),e[t].__hb_original=n}catch(e){}}e.merge=s,e.mergeNotice=function(e,t){var r=s(e,t);return e.context&&t.context&&(r.context=s(e.context,t.context)),r},e.objectIsEmpty=function(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))return!1;return!0},e.objectIsExtensible=function(e){return"function"!=typeof Object.isExtensible||Object.isExtensible(e)},e.makeBacktrace=c,e.DEFAULT_BACKTRACE_SHIFT=3,e.calculateBacktraceShift=l,e.getCauses=function(e,t){if(e.cause){for(var r=[],n=e;r.length<3&&(n=n.cause);)r.push({class:n.name,message:n.message,backtrace:"string"==typeof n.stack?c(n.stack,!1,t):null});return r}return[]},e.getSourceForBacktrace=function(e,t){return o(this,void 0,void 0,function(){var r,n,o,a;return i(this,function(i){switch(i.label){case 0:if(r=[],!t||!e||!e.length)return[2,r];n=0,i.label=1;case 1:if(!e.length)return[3,3];return[4,t((o=e.splice(0)[n]).file)];case 2:return a=i.sent(),r[n]=function(e,t,r){if(void 0===r&&(r=2),!e)return null;var n=e.split("\n");n.unshift("");for(var o=t-r,i=t+r,a={},s=o;s<=i;s++){var c=n[s];"string"==typeof c&&(a[s]=c)}return a}(a,o.number),n++,[3,1];case 3:return[2,r]}})})},e.runBeforeNotifyHandlers=function(e,t){for(var r=[],n=!0,o=0,i=t.length;o=t)return"[DEPTH]";if(i=typeof n,/function/.test(i)?"toJSON"!==n.name:!!/symbol/.test(i)||null===n||"object"==typeof n&&void 0===n.hasOwnProperty)return Object.prototype.toString.call(n);if(function(e){if(!e||"object"!=typeof e)return!1;for(var t=0;t"):e.push("");try{t=t.caller}catch(e){break}}return e.join("\n")},e.filter=function(e,t){if(y("Object",e)){y("Array",t)||(t=[]);var r=[];return function e(n){var o,i;if(y("Object",n)||y("Array",n)){if(-1!==r.indexOf(n))return"[CIRCULAR DATA STRUCTURE]";r.push(n)}if(y("Object",n)){for(o in i={},n)m(o,t)?i[o]="[FILTERED]":i[o]=e(n[o]);return i}return y("Array",n)?n.map(function(t){return e(t)}):y("Function",n)?"[FUNC]":n}(e)}},e.filterUrl=function(e,t){if(!t||"string"!=typeof e)return e;var r=e.split(/\?/,2)[1];if(!r)return e;var n=e;return r.split(/[&]\s?/).forEach(function(e){var r=e.split("=",2),o=r[0],i=r[1];m(o,t)&&(n=n.replace("".concat(o,"=").concat(i),"".concat(o,"=[FILTERED]")))}),n},e.formatCGIData=function(e,t){void 0===t&&(t="");var r={};return Object.keys(e).forEach(function(n){r[t+n.replace(/\W/g,"_").toUpperCase()]=e[n]}),r},e.clone=function(e){return JSON.parse(JSON.stringify(e))},e.isBrowserConfig=function(e){return void 0!==e.async}}(P);var z={};Object.defineProperty(z,"__esModule",{value:!0}),z.GlobalStore=void 0;var U=function(){function e(e,t){this.contents=e,this.breadcrumbsLimit=t}return e.create=function(t,r){return new e(t,r)},e.prototype.available=function(){return!0},e.prototype.getContents=function(e){return JSON.parse(JSON.stringify(e?this.contents[e]:this.contents))},e.prototype.setContext=function(e){this.contents.context=(0,P.merge)(this.contents.context,e||{})},e.prototype.addBreadcrumb=function(e){this.contents.breadcrumbs.length==this.breadcrumbsLimit&&this.contents.breadcrumbs.shift(),this.contents.breadcrumbs.push(e)},e.prototype.clear=function(){this.contents.context={},this.contents.breadcrumbs=[]},e.prototype.run=function(e){return e()},e}();z.GlobalStore=U;var q={};class H{static parse(e){return e.trim().split("\n").map(e=>JSON.parse(e))}static stringify(e){return e.map(e=>JSON.stringify(e)).join("\n")}}var V=k(Object.freeze({__proto__:null,NdJson:H})),W={};Object.defineProperty(W,"__esModule",{value:!0}),W.CONFIG=void 0,W.CONFIG={apiKey:null,endpoint:"https://api.honeybadger.io",environment:null,hostname:null,projectRoot:null,component:null,action:null,revision:null,reportData:null,breadcrumbsEnabled:!0,eventsEnabled:!1,maxBreadcrumbs:40,maxObjectDepth:8,logger:console,developmentEnvironments:["dev","development","test"],debug:!1,tags:null,enableUncaught:!0,enableUnhandledRejection:!0,afterUncaught:function(){return!0},filters:["creditcard","password"],__plugins:[]};var Z=S&&S.__assign||function(){return(Z=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]1&&(t+=":nth-child(".concat(Array.prototype.indexOf.call(n,e)+1,")")),t}function ei(e){return -1!==e.toString().indexOf("native")}function ea(e){var t=e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/)||{};return{protocol:t[2],host:t[4],pathname:t[5]}}function es(){return"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:window}Object.defineProperty(en,"__esModule",{value:!0}),en.globalThisOrWindow=en.preferCatch=en.encodeCookie=en.decodeCookie=en.localURLPathname=en.parseURL=en.nativeFetch=en.stringTextOfElement=en.stringSelectorOfElement=en.stringNameOfElement=void 0,en.stringNameOfElement=eo,en.stringSelectorOfElement=function e(t){var r=eo(t);if(t.parentNode&&t.parentNode.tagName){var n=e(t.parentNode);if(n.length>0)return"".concat(n," > ").concat(r)}return r},en.stringTextOfElement=function(e){var t,r=e.textContent||e.innerText||"";return r||"submit"!==e.type&&"button"!==e.type||(r=e.value),(t=r.trim()).length>300&&(t=t.substr(0,300)+"..."),t},en.nativeFetch=function(){var e=es();if(!e.fetch)return!1;if(ei(e.fetch))return!0;if("undefined"==typeof document)return!1;try{var t=document.createElement("iframe");t.style.display="none",document.head.appendChild(t);var r=t.contentWindow.fetch&&ei(t.contentWindow.fetch);return document.head.removeChild(t),r}catch(e){console&&console.warn&&console.warn("failed to detect native fetch via iframe: "+e)}return!1},en.parseURL=ea,en.localURLPathname=function(e){var t=ea(e),r=ea(document.URL);return t.host&&t.protocol&&(t.protocol!==r.protocol||t.host!==r.host)?"".concat(t.protocol,"://").concat(t.host).concat(t.pathname):t.pathname},en.decodeCookie=function(e){var t={};return e.split(/[;,]\s?/).forEach(function(e){var r=e.split("=",2),n=r[0],o=r[1];t[n]=o}),t},en.encodeCookie=function(e){if("object"==typeof e){var t=[];for(var r in e)t.push(r+"="+e[r]);return t.join(";")}},en.preferCatch=function(){var e=!0;if("undefined"==typeof window)return e;if(window.atob||(e=!1),window.ErrorEvent)try{0===new window.ErrorEvent("").colno&&(e=!1)}catch(e){}return e}(),en.globalThisOrWindow=es;var ec={};Object.defineProperty(ec,"__esModule",{value:!0}),ec.onError=ec.ignoreNextOnError=void 0;var eu=A.Util.instrument,el=A.Util.makeNotice,ef=0;ec.ignoreNextOnError=function(){ef+=1,clearTimeout(x),x=setTimeout(function(){ef=0})},ec.onError=function(e){return void 0===e&&(e=(0,en.globalThisOrWindow)()),{load:function(t){eu(e,"onerror",function(r){var n=function(e,r,n,o,i){if(t.logger.debug("window.onerror callback invoked",arguments),ef>0){t.logger.debug("Ignoring window.onerror (error likely reported earlier)",arguments),ef-=1;return}if(0===n&&/Script error\.?/.test(e)){t.config.enableUncaught&&t.logger.warn("Ignoring cross-domain script error: enable CORS to track these types of errors",arguments);return}var a=el(i);a.name||(a.name="window.onerror"),a.message||(a.message=e),a.stack||(a.stack=[a.message,"\n at ? (",r||"unknown",":",n||0,":",o||0,")"].join("")),t.addBreadcrumb("window.onerror"!==a.name&&a.name?"window.onerror: ".concat(a.name):"window.onerror",{category:"error",metadata:{name:a.name,message:a.message,stack:a.stack}}),t.config.enableUncaught&&t.notify(a)};return function(t,o,i,a,s){return n(t,o,i,a,s),"function"==typeof r&&r.apply(e,arguments)}})}}};var ep={};Object.defineProperty(ep,"__esModule",{value:!0});var ed=A.Util.instrument;ep.default=function(e){return void 0===e&&(e=(0,en.globalThisOrWindow)()),{load:function(t){t.config.enableUnhandledRejection&&ed(e,"onunhandledrejection",function(e){return function(r){(function(e){if(t.logger.debug("window.onunhandledrejection callback invoked",arguments),t.config.enableUnhandledRejection){var r,n=e.reason;if(n instanceof Error){var o="".concat(n.message,"\n at ? (").concat("unknown",":").concat(0,")"),i=n.stack||o,a={name:n.name,message:"UnhandledPromiseRejectionWarning: ".concat(n),stack:i};t.addBreadcrumb("window.onunhandledrejection: ".concat(a.name),{category:"error",metadata:a}),t.notify(a);return}var s="string"==typeof n?n:null!==(r=JSON.stringify(n))&&void 0!==r?r:"Unspecified reason";t.notify({name:"window.onunhandledrejection",message:"UnhandledPromiseRejectionWarning: ".concat(s)})}})(r),"function"==typeof e&&e.apply(this,arguments)}})}}};var eh={};Object.defineProperty(eh,"__esModule",{value:!0});var eg=A.Util.sanitize,em=A.Util.instrument,ey=A.Util.instrumentConsole;eh.default=function(e){return void 0===e&&(e=(0,en.globalThisOrWindow)()),{load:function(t){function r(e){return!0===t.config.breadcrumbsEnabled||(e?!0===t.config.breadcrumbsEnabled[e]:!1!==t.config.breadcrumbsEnabled)}r("console")&&ey(e,function(e,r){var n=Array.isArray(r)?r.map(function(e){try{return String(e)}catch(e){return"[unknown]"}}).join(" "):"",o={category:"log",metadata:{level:e,arguments:eg(r,3)}};t.addBreadcrumb(n,o)}),r("dom")&&"function"==typeof e.addEventListener&&e.addEventListener("click",function(e){var r,n,o;try{r=(0,en.stringNameOfElement)(e.target),n=(0,en.stringSelectorOfElement)(e.target),o=(0,en.stringTextOfElement)(e.target)}catch(e){r="UI Click",n="[unknown]",o="[unknown]"}0!==r.length&&t.addBreadcrumb(r,{category:"ui.click",metadata:{selector:n,text:o,event:e}})},!!e.location),r("network")&&"undefined"!=typeof XMLHttpRequest&&(em(XMLHttpRequest.prototype,"open",function(e){return function(){var t=arguments[1],r="string"==typeof t?t:String(t),n="string"==typeof arguments[0]?arguments[0].toUpperCase():arguments[0],o="".concat(n," ").concat((0,en.localURLPathname)(r));this.__hb_xhr={type:"xhr",method:n,url:r,message:o},"function"==typeof e&&e.apply(this,arguments)}}),em(XMLHttpRequest.prototype,"send",function(e){return function(){var r=this;function n(){if(4===r.readyState){var e=void 0;r.__hb_xhr&&(r.__hb_xhr.status_code=r.status,e=r.__hb_xhr.message,delete r.__hb_xhr.message),t.addBreadcrumb(e||"XMLHttpRequest",{category:"request",metadata:r.__hb_xhr})}}"onreadystatechange"in r&&"function"==typeof r.onreadystatechange?em(r,"onreadystatechange",function(e){return function(){n(),"function"==typeof e&&e.apply(this,arguments)}}):r.onreadystatechange=n,"function"==typeof e&&e.apply(r,arguments)}})),r("network")&&(0,en.nativeFetch)()&&em(e,"fetch",function(r){return function(){var n,o=arguments[0],i="GET";"string"==typeof o?n=o:"Request"in e&&o instanceof Request?(n=o.url,o.method&&(i=o.method)):n=String(o),arguments[1]&&arguments[1].method&&(i=arguments[1].method),"string"==typeof i&&(i=i.toUpperCase());var a="".concat(i," ").concat("undefined"==typeof document?n:(0,en.localURLPathname)(n)),s={type:"fetch",method:i,url:n};return r.apply(this,arguments).then(function(e){return s.status_code=e.status,t.addBreadcrumb(a,{category:"request",metadata:s}),e}).catch(function(e){throw t.addBreadcrumb("fetch error",{category:"error",metadata:s}),e})}}),function(){if(r("navigation")&&null!=e.location){var n=e.location.href;"function"==typeof addEventListener&&addEventListener("popstate",function(t){o(n,e.location.href)}),void 0!==e.history&&(em(e.history,"pushState",i),em(e.history,"replaceState",i))}function o(e,r){n=r,t.addBreadcrumb("Page changed",{category:"navigation",metadata:{from:e,to:r}})}function i(e){return function(){var t=arguments.length>2?arguments[2]:void 0;return t&&o(n,String(t)),e.apply(this,arguments)}}}()}}};var ev={};Object.defineProperty(ev,"__esModule",{value:!0});var eb=A.Util.instrumentConsole;ev.default=function(e){return void 0===e&&(e=(0,en.globalThisOrWindow)()),{shouldReloadOnConfigure:!1,load:function(t){function r(){return t.config.eventsEnabled}r()&&eb(e,function(e,n){r()&&t.logEvent({level:e,args:n})})}}};var e_={};Object.defineProperty(e_,"__esModule",{value:!0});var ew=A.Util.instrument;e_.default=function(e){return void 0===e&&(e=(0,en.globalThisOrWindow)()),{load:function(t){!function(){function r(e){return function(r){return function(n,o){if("function"!=typeof n)return r(n,o);var i=Array.prototype.slice.call(arguments,2);return n=t.__wrap(n,e),r(function(){n.apply(void 0,i)},o)}}}ew(e,"setTimeout",r({component:"setTimeout"})),ew(e,"setInterval",r({component:"setInterval"}))}()}}};var eE={};Object.defineProperty(eE,"__esModule",{value:!0});var eO=A.Util.instrument;eE.default=function(e){return void 0===e&&(e=(0,en.globalThisOrWindow)()),{load:function(t){["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"].forEach(function(r){var n=e[r]&&e[r].prototype;n&&Object.prototype.hasOwnProperty.call(n,"addEventListener")&&(eO(n,"addEventListener",function(e){var n={component:"".concat(r,".prototype.addEventListener")};return function(r,o,i,a){try{o&&null!=o.handleEvent&&(o.handleEvent=t.__wrap(o.handleEvent,n))}catch(e){t.logger.error(e)}return e.call(this,r,t.__wrap(o,n),i,a)}}),eO(n,"removeEventListener",function(e){return function(r,n,o,i){return e.call(this,r,n,o,i),e.call(this,r,t.__wrap(n),o,i)}}))})}}};var ex={},eS=S&&S.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(o,i){function a(e){try{c(n.next(e))}catch(e){i(e)}}function s(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):((t=e.value)instanceof r?t:new r(function(e){e(t)})).then(a,s)}c((n=n.apply(e,t||[])).next())})},ek=S&&S.__generator||function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]=this.config.maxErrors},t}(A.Client),w={name:"@honeybadger-io/js",url:"https://github.com/honeybadger-io/honeybadger-js/tree/master/packages/js",version:"6.8.3"},E=function(){return"undefined"!=typeof navigator?"Honeybadger JS Browser Client ".concat(w.version,"; ").concat(navigator.userAgent):"Honeybadger JS Browser Client ".concat(w.version,"; n/a; n/a")},(O=new _({__plugins:[(0,ec.onError)(),(0,f.default)(),(0,h.default)(),(0,g.default)(),(0,p.default)(),(0,d.default)()]})).setNotifier(w),Object.defineProperty(j,"Types",{enumerable:!0,get:function(){return A.Types}}),j.default=O,j&&j.__esModule&&Object.prototype.hasOwnProperty.call(j,"default")?j.default:j}()},4612:function(e,t,r){"use strict";r.d(t,{p:function(){return o.a},t:function(){return u}});var n=r(92028),o=r.n(n),i=r(67294),a=r(45697),s=r.n(a);class c extends i.Component{render(){return i.createElement("div",{className:"error"},i.createElement("div",null,"An Error Occurred"),i.createElement("div",null,JSON.stringify(this.props.error,null,2)),i.createElement("div",null,this.props.info?JSON.stringify(this.props.info,null,2):""))}}c.propTypes={error:s().object,info:s().object};class u extends i.Component{constructor(e){super(e),this.state={error:null,info:null,errorOccurred:!1},this.props.honeybadger.afterNotify((e,t)=>{!e&&this.props.showUserFeedbackFormOnError&&this.props.honeybadger.showUserFeedbackForm()})}static getDerivedStateFromError(e){return{error:e,errorOccurred:!0,info:null}}componentDidCatch(e,t){this.setState({errorOccurred:!0,error:e,info:t}),this.props.honeybadger.notify(e,{context:t})}getErrorComponent(){return this.props.ErrorComponent?i.createElement(this.props.ErrorComponent,this.state):i.createElement(c,{...this.state})}render(){return i.createElement(i.Fragment,null,this.state.errorOccurred?this.getErrorComponent():this.props.children)}}u.propTypes={honeybadger:s().object.isRequired,showUserFeedbackFormOnError:s().bool,children:s().element,ErrorComponent:s().oneOfType([s().element,s().func])},u.defaultProps={showUserFeedbackFormOnError:!1},o().setNotifier({name:"@honeybadger-io/react",url:"https://github.com/honeybadger-io/honeybadger-js/tree/master/packages/react",version:"6.1.19"})},44409:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,i.isAsync)(e)?function(...t){let r=t.pop();return s(e.apply(this,t),r)}:(0,n.default)(function(t,r){var n;try{n=e.apply(this,t)}catch(e){return r(e)}if(n&&"function"==typeof n.then)return s(n,r);r(null,n)})};var n=a(r(43519)),o=a(r(3111)),i=r(28993);function a(e){return e&&e.__esModule?e:{default:e}}function s(e,t){return e.then(e=>{c(t,null,e)},e=>{c(t,e&&e.message?e:Error(e))})}function c(e,t,r){try{e(t,r)}catch(e){(0,o.default)(e=>{throw e},e)}}e.exports=t.default},71846:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=l(r(95616)),o=l(r(1605)),i=l(r(97388)),a=l(r(46979)),s=l(r(13362)),c=l(r(28993)),u=l(r(2795));function l(e){return e&&e.__esModule?e:{default:e}}t.default=(0,u.default)(function(e,t,r){return((0,n.default)(e)?function(e,t,r){r=(0,a.default)(r);var n=0,i=0,{length:c}=e,u=!1;function l(e,t){!1===e&&(u=!0),!0!==u&&(e?r(e):(++i===c||t===o.default)&&r(null))}for(0===c&&r(null);n=t||s||i||(s=!0,e.next().then(({value:e,done:t})=>{if(!a&&!i){if(s=!1,t){i=!0,c<=0&&n(null);return}c++,r(e,u,f),u++,l()}}).catch(p))}function f(e,t){if(c-=1,!a){if(e)return p(e);if(!1===e){i=!0,a=!0;return}if(t===o.default||i&&c<=0)return i=!0,n(null);l()}}function p(e){a||(s=!1,i=!0,n(e))}l()};var n,o=(n=r(1605))&&n.__esModule?n:{default:n};e.exports=t.default},2795:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t=e.length){if(!t)throw Error("arity is undefined");return function(...r){return"function"==typeof r[t-1]?e.apply(this,r):new Promise((n,o)=>{r[t-1]=(e,...t)=>{if(e)return o(e);n(t.length>1?t:t[0])},e.apply(this,r)})}},e.exports=t.default},1605:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={},e.exports=t.default},56954:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=u(r(46979)),o=u(r(9733)),i=u(r(13362)),a=r(28993),s=u(r(58617)),c=u(r(1605));function u(e){return e&&e.__esModule?e:{default:e}}t.default=e=>(t,r,u)=>{if(u=(0,n.default)(u),e<=0)throw RangeError("concurrency limit cannot be less than 1");if(!t)return u(null);if((0,a.isAsyncGenerator)(t))return(0,s.default)(t,e,r,u);if((0,a.isAsyncIterable)(t))return(0,s.default)(t[Symbol.asyncIterator](),e,r,u);var l=(0,o.default)(t),f=!1,p=!1,d=0,h=!1;function g(e,t){if(!p){if(d-=1,e)f=!0,u(e);else if(!1===e)f=!0,p=!0;else{if(t===c.default||f&&d<=0)return f=!0,u(null);h||m()}}}function m(){for(h=!0;d=0&&e.length%1==0},e.exports=t.default},9733:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,n.default)(e))return t=-1,r=e.length,function(){return++t{var i=(0,n.default)(t)?[]:{};e(t,(e,t,r)=>{(0,o.default)(e)((e,...n)=>{n.length<2&&([n]=n),i[t]=n,r(e)})},e=>r(e,i))},3),e.exports=t.default},3111:function(e,t,r){"use strict";var n,o=r(34155);Object.defineProperty(t,"__esModule",{value:!0}),t.fallback=c,t.wrap=u;var i=t.hasQueueMicrotask="function"==typeof queueMicrotask&&queueMicrotask,a=t.hasSetImmediate="function"==typeof setImmediate&&setImmediate,s=t.hasNextTick="object"==typeof o&&"function"==typeof o.nextTick;function c(e){setTimeout(e,0)}function u(e){return(t,...r)=>e(()=>t(...r))}n=i?queueMicrotask:a?setImmediate:s?o.nextTick:c,t.default=u(n)},36529:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(t,r,n)=>e(t,n)},e.exports=t.default},28993:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isAsyncIterable=t.isAsyncGenerator=t.isAsync=void 0;var n,o=(n=r(44409))&&n.__esModule?n:{default:n};function i(e){return"AsyncFunction"===e[Symbol.toStringTag]}t.default=function(e){if("function"!=typeof e)throw Error("expected a function");return i(e)?(0,o.default)(e):e},t.isAsync=i,t.isAsyncGenerator=function(e){return"AsyncGenerator"===e[Symbol.toStringTag]},t.isAsyncIterable=function(e){return"function"==typeof e[Symbol.asyncIterator]}},48415:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(0,n.default)(o.default,e,t)};var n=i(r(73409)),o=i(r(20667));function i(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},79367:function(e,t){var r,n,o;n=[e,t],void 0!==(o="function"==typeof(r=function(e,t){"use strict";var r,n,o="function"==typeof Map?new Map:(r=[],n=[],{has:function(e){return r.indexOf(e)>-1},get:function(e){return n[r.indexOf(e)]},set:function(e,t){-1===r.indexOf(e)&&(r.push(e),n.push(t))},delete:function(e){var t=r.indexOf(e);t>-1&&(r.splice(t,1),n.splice(t,1))}}),i=function(e){return new Event(e,{bubbles:!0})};try{new Event("test")}catch(e){i=function(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!1),t}}function a(e){var t=o.get(e);t&&t.destroy()}function s(e){var t=o.get(e);t&&t.update()}var c=null;"undefined"==typeof window||"function"!=typeof window.getComputedStyle?((c=function(e){return e}).destroy=function(e){return e},c.update=function(e){return e}):((c=function(e,t){return e&&Array.prototype.forEach.call(e.length?e:[e],function(e){return function(e){if(!(!e||!e.nodeName||"TEXTAREA"!==e.nodeName||o.has(e))){var t,r=null,n=null,a=null,s=function(){e.clientWidth!==n&&f()},c=(function(t){window.removeEventListener("resize",s,!1),e.removeEventListener("input",f,!1),e.removeEventListener("keyup",f,!1),e.removeEventListener("autosize:destroy",c,!1),e.removeEventListener("autosize:update",f,!1),Object.keys(t).forEach(function(r){e.style[r]=t[r]}),o.delete(e)}).bind(e,{height:e.style.height,resize:e.style.resize,overflowY:e.style.overflowY,overflowX:e.style.overflowX,wordWrap:e.style.wordWrap});e.addEventListener("autosize:destroy",c,!1),"onpropertychange"in e&&"oninput"in e&&e.addEventListener("keyup",f,!1),window.addEventListener("resize",s,!1),e.addEventListener("input",f,!1),e.addEventListener("autosize:update",f,!1),e.style.overflowX="hidden",e.style.wordWrap="break-word",o.set(e,{destroy:c,update:f}),"vertical"===(t=window.getComputedStyle(e,null)).resize?e.style.resize="none":"both"===t.resize&&(e.style.resize="horizontal"),isNaN(r="content-box"===t.boxSizing?-(parseFloat(t.paddingTop)+parseFloat(t.paddingBottom)):parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth))&&(r=0),f()}function u(t){var r=e.style.width;e.style.width="0px",e.offsetWidth,e.style.width=r,e.style.overflowY=t}function l(){if(0!==e.scrollHeight){var t=function(e){for(var t=[];e&&e.parentNode&&e.parentNode instanceof Element;)e.parentNode.scrollTop&&t.push({node:e.parentNode,scrollTop:e.parentNode.scrollTop}),e=e.parentNode;return t}(e),o=document.documentElement&&document.documentElement.scrollTop;e.style.height="",e.style.height=e.scrollHeight+r+"px",n=e.clientWidth,t.forEach(function(e){e.node.scrollTop=e.scrollTop}),o&&(document.documentElement.scrollTop=o)}}function f(){l();var t=Math.round(parseFloat(e.style.height)),r=window.getComputedStyle(e,null),n="content-box"===r.boxSizing?Math.round(parseFloat(r.height)):e.offsetHeight;if(n1?arguments[1]:void 0)}},41318:function(e,t,r){var n=r(45656),o=r(51400),i=r(26244),a=function(e){return function(t,r,a){var s,c=n(t),u=i(c),l=o(a,u);if(e&&r!=r){for(;u>l;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((e||l in c)&&c[l]===r)return e||l||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},42092:function(e,t,r){var n=r(49974),o=r(1702),i=r(68361),a=r(47908),s=r(26244),c=r(65417),u=o([].push),l=function(e){var t=1==e,r=2==e,o=3==e,l=4==e,f=6==e,p=7==e,d=5==e||f;return function(h,g,m,y){for(var v,b,_=a(h),w=i(_),E=n(g,m),O=s(w),x=0,S=y||c,k=t?S(h,O):r||p?S(h,0):void 0;O>x;x++)if((d||x in w)&&(b=E(v=w[x],x,_),e)){if(t)k[x]=b;else if(b)switch(e){case 3:return!0;case 5:return v;case 6:return x;case 2:u(k,v)}else switch(e){case 4:return!1;case 7:u(k,v)}}return f?-1:o||l?l:k}};e.exports={forEach:l(0),map:l(1),filter:l(2),some:l(3),every:l(4),find:l(5),findIndex:l(6),filterReject:l(7)}},81194:function(e,t,r){var n=r(47293),o=r(5112),i=r(7392),a=o("species");e.exports=function(e){return i>=51||!n(function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo})}},9341:function(e,t,r){"use strict";var n=r(47293);e.exports=function(e,t){var r=[][e];return!!r&&n(function(){r.call(null,t||function(){return 1},1)})}},53671:function(e,t,r){var n=r(19662),o=r(47908),i=r(68361),a=r(26244),s=TypeError,c=function(e){return function(t,r,c,u){n(r);var l=o(t),f=i(l),p=a(l),d=e?p-1:0,h=e?-1:1;if(c<2)for(;;){if(d in f){u=f[d],d+=h;break}if(d+=h,e?d<0:p<=d)throw s("Reduce of empty array with no initial value")}for(;e?d>=0:p>d;d+=h)d in f&&(u=r(u,f[d],d,l));return u}};e.exports={left:c(!1),right:c(!0)}},41589:function(e,t,r){var n=r(51400),o=r(26244),i=r(86135),a=Array,s=Math.max;e.exports=function(e,t,r){for(var c=o(e),u=n(t,c),l=n(void 0===r?c:r,c),f=a(s(l-u,0)),p=0;u9007199254740991)throw t("Maximum allowed index exceeded");return e}},48324:function(e){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},98509:function(e,t,r){var n=r(80317)("span").classList,o=n&&n.constructor&&n.constructor.prototype;e.exports=o===Object.prototype?void 0:o},7871:function(e,t,r){var n=r(83823),o=r(35268);e.exports=!n&&!o&&"object"==typeof window&&"object"==typeof document},83823:function(e){e.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},71528:function(e,t,r){var n=r(88113);e.exports=/ipad|iphone|ipod/i.test(n)&&"undefined"!=typeof Pebble},6833:function(e,t,r){var n=r(88113);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},35268:function(e,t,r){var n=r(34155),o=r(84326);e.exports=void 0!==n&&"process"==o(n)},71036:function(e,t,r){var n=r(88113);e.exports=/web0s(?!.*chrome)/i.test(n)},88113:function(e){e.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7392:function(e,t,r){var n,o,i=r(17854),a=r(88113),s=i.process,c=i.Deno,u=s&&s.versions||c&&c.version,l=u&&u.v8;l&&(o=(n=l.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!o&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(o=+n[1]),e.exports=o},80748:function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},82109:function(e,t,r){var n=r(17854),o=r(31236).f,i=r(68880),a=r(98052),s=r(13072),c=r(99920),u=r(96114);e.exports=function(e,t){var r,l,f,p,d,h=e.target,g=e.global,m=e.stat;if(r=g?n:m?n[h]||s(h,{}):(n[h]||{}).prototype)for(l in t){if(p=t[l],f=e.dontCallGetSet?(d=o(r,l))&&d.value:r[l],!u(g?l:h+(m?".":"#")+l,e.forced)&&void 0!==f){if(typeof p==typeof f)continue;c(p,f)}(e.sham||f&&f.sham)&&i(p,"sham",!0),a(r,l,p,e)}}},47293:function(e){e.exports=function(e){try{return!!e()}catch(e){return!0}}},27007:function(e,t,r){"use strict";r(74916);var n=r(21470),o=r(98052),i=r(22261),a=r(47293),s=r(5112),c=r(68880),u=s("species"),l=RegExp.prototype;e.exports=function(e,t,r,f){var p=s(e),d=!a(function(){var t={};return t[p]=function(){return 7},7!=""[e](t)}),h=d&&!a(function(){var t=!1,r=/a/;return"split"===e&&((r={}).constructor={},r.constructor[u]=function(){return r},r.flags="",r[p]=/./[p]),r.exec=function(){return t=!0,null},r[p](""),!t});if(!d||!h||r){var g=n(/./[p]),m=t(p,""[e],function(e,t,r,o,a){var s=n(e),c=t.exec;return c===i||c===l.exec?d&&!a?{done:!0,value:g(t,r,o)}:{done:!0,value:s(r,t,o)}:{done:!1}});o(String.prototype,e,m[0]),o(l,p,m[1])}f&&c(l[p],"sham",!0)}},6790:function(e,t,r){"use strict";var n=r(43157),o=r(26244),i=r(7207),a=r(49974),s=function(e,t,r,c,u,l,f,p){for(var d,h,g=u,m=0,y=!!f&&a(f,p);m0&&n(d)?(h=o(d),g=s(e,t,d,h,g,l-1)-1):(i(g+1),e[g]=d),g++),m++;return g};e.exports=s},22104:function(e,t,r){var n=r(34374),o=Function.prototype,i=o.apply,a=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(i):function(){return a.apply(i,arguments)})},49974:function(e,t,r){var n=r(21470),o=r(19662),i=r(34374),a=n(n.bind);e.exports=function(e,t){return o(e),void 0===t?e:i?a(e,t):function(){return e.apply(t,arguments)}}},34374:function(e,t,r){var n=r(47293);e.exports=!n(function(){var e=(function(){}).bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})},46916:function(e,t,r){var n=r(34374),o=Function.prototype.call;e.exports=n?o.bind(o):function(){return o.apply(o,arguments)}},76530:function(e,t,r){var n=r(19781),o=r(92597),i=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,s=o(i,"name"),c=s&&(!n||n&&a(i,"name").configurable);e.exports={EXISTS:s,PROPER:s&&"something"===(function(){}).name,CONFIGURABLE:c}},75668:function(e,t,r){var n=r(1702),o=r(19662);e.exports=function(e,t,r){try{return n(o(Object.getOwnPropertyDescriptor(e,t)[r]))}catch(e){}}},21470:function(e,t,r){var n=r(84326),o=r(1702);e.exports=function(e){if("Function"===n(e))return o(e)}},1702:function(e,t,r){var n=r(34374),o=Function.prototype,i=o.call,a=n&&o.bind.bind(i,i);e.exports=n?a:function(e){return function(){return i.apply(e,arguments)}}},35005:function(e,t,r){var n=r(17854),o=r(60614);e.exports=function(e,t){var r;return arguments.length<2?o(r=n[e])?r:void 0:n[e]&&n[e][t]}},71246:function(e,t,r){var n=r(70648),o=r(58173),i=r(68554),a=r(97497),s=r(5112)("iterator");e.exports=function(e){if(!i(e))return o(e,s)||o(e,"@@iterator")||a[n(e)]}},18554:function(e,t,r){var n=r(46916),o=r(19662),i=r(19670),a=r(66330),s=r(71246),c=TypeError;e.exports=function(e,t){var r=arguments.length<2?s(e):t;if(o(r))return i(n(r,e));throw c(a(e)+" is not iterable")}},88044:function(e,t,r){var n=r(1702),o=r(43157),i=r(60614),a=r(84326),s=r(41340),c=n([].push);e.exports=function(e){if(i(e))return e;if(o(e)){for(var t=e.length,r=[],n=0;n]*>)/g,l=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,r,n,f,p){var d=r+e.length,h=n.length,g=l;return void 0!==f&&(f=o(f),g=u),s(p,g,function(o,s){var u;switch(a(s,0)){case"$":return"$";case"&":return e;case"`":return c(t,0,r);case"'":return c(t,d);case"<":u=f[c(s,1,-1)];break;default:var l=+s;if(0===l)return o;if(l>h){var p=i(l/10);if(0===p)return o;if(p<=h)return void 0===n[p-1]?a(s,1):n[p-1]+a(s,1);return o}u=n[l-1]}return void 0===u?"":u})}},17854:function(e,t,r){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||Function("return this")()},92597:function(e,t,r){var n=r(1702),o=r(47908),i=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},3501:function(e){e.exports={}},842:function(e){e.exports=function(e,t){try{1==arguments.length?console.error(e):console.error(e,t)}catch(e){}}},60490:function(e,t,r){var n=r(35005);e.exports=n("document","documentElement")},64664:function(e,t,r){var n=r(19781),o=r(47293),i=r(80317);e.exports=!n&&!o(function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a})},68361:function(e,t,r){var n=r(1702),o=r(47293),i=r(84326),a=Object,s=n("".split);e.exports=o(function(){return!a("z").propertyIsEnumerable(0)})?function(e){return"String"==i(e)?s(e,""):a(e)}:a},42788:function(e,t,r){var n=r(1702),o=r(60614),i=r(5465),a=n(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},29909:function(e,t,r){var n,o,i,a=r(94811),s=r(17854),c=r(70111),u=r(68880),l=r(92597),f=r(5465),p=r(6200),d=r(3501),h="Object already initialized",g=s.TypeError,m=s.WeakMap;if(a||f.state){var y=f.state||(f.state=new m);y.get=y.get,y.has=y.has,y.set=y.set,n=function(e,t){if(y.has(e))throw g(h);return t.facade=e,y.set(e,t),t},o=function(e){return y.get(e)||{}},i=function(e){return y.has(e)}}else{var v=p("state");d[v]=!0,n=function(e,t){if(l(e,v))throw g(h);return t.facade=e,u(e,v,t),t},o=function(e){return l(e,v)?e[v]:{}},i=function(e){return l(e,v)}}e.exports={set:n,get:o,has:i,enforce:function(e){return i(e)?o(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!c(t)||(r=o(t)).type!==e)throw g("Incompatible receiver, "+e+" required");return r}}}},97659:function(e,t,r){var n=r(5112),o=r(97497),i=n("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},43157:function(e,t,r){var n=r(84326);e.exports=Array.isArray||function(e){return"Array"==n(e)}},60614:function(e,t,r){var n=r(4154),o=n.all;e.exports=n.IS_HTMLDDA?function(e){return"function"==typeof e||e===o}:function(e){return"function"==typeof e}},4411:function(e,t,r){var n=r(1702),o=r(47293),i=r(60614),a=r(70648),s=r(35005),c=r(42788),u=function(){},l=[],f=s("Reflect","construct"),p=/^\s*(?:class|function)\b/,d=n(p.exec),h=!p.exec(u),g=function(e){if(!i(e))return!1;try{return f(u,l,e),!0}catch(e){return!1}},m=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!d(p,c(e))}catch(e){return!0}};m.sham=!0,e.exports=!f||o(function(){var e;return g(g.call)||!g(Object)||!g(function(){e=!0})||e})?m:g},96114:function(e,t,r){var n=r(47293),o=r(60614),i=/#|\.prototype\./,a=function(e,t){var r=c[s(e)];return r==l||r!=u&&(o(t)?n(t):!!t)},s=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=a.data={},u=a.NATIVE="N",l=a.POLYFILL="P";e.exports=a},68554:function(e){e.exports=function(e){return null==e}},70111:function(e,t,r){var n=r(60614),o=r(4154),i=o.all;e.exports=o.IS_HTMLDDA?function(e){return"object"==typeof e?null!==e:n(e)||e===i}:function(e){return"object"==typeof e?null!==e:n(e)}},31913:function(e){e.exports=!1},52190:function(e,t,r){var n=r(35005),o=r(60614),i=r(47976),a=r(43307),s=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=n("Symbol");return o(t)&&i(t.prototype,s(e))}},20408:function(e,t,r){var n=r(49974),o=r(46916),i=r(19670),a=r(66330),s=r(97659),c=r(26244),u=r(47976),l=r(18554),f=r(71246),p=r(99212),d=TypeError,h=function(e,t){this.stopped=e,this.result=t},g=h.prototype;e.exports=function(e,t,r){var m,y,v,b,_,w,E,O=r&&r.that,x=!!(r&&r.AS_ENTRIES),S=!!(r&&r.IS_RECORD),k=!!(r&&r.IS_ITERATOR),j=!!(r&&r.INTERRUPTED),A=n(t,O),T=function(e){return m&&p(m,"normal",e),new h(!0,e)},P=function(e){return x?(i(e),j?A(e[0],e[1],T):A(e[0],e[1])):j?A(e,T):A(e)};if(S)m=e.iterator;else if(k)m=e;else{if(!(y=f(e)))throw d(a(e)+" is not iterable");if(s(y)){for(v=0,b=c(e);b>v;v++)if((_=P(e[v]))&&u(g,_))return _;return new h(!1)}m=l(e,y)}for(w=S?e.next:m.next;!(E=o(w,m)).done;){try{_=P(E.value)}catch(e){p(m,"throw",e)}if("object"==typeof _&&_&&u(g,_))return _}return new h(!1)}},99212:function(e,t,r){var n=r(46916),o=r(19670),i=r(58173);e.exports=function(e,t,r){var a,s;o(e);try{if(!(a=i(e,"return"))){if("throw"===t)throw r;return r}a=n(a,e)}catch(e){s=!0,a=e}if("throw"===t)throw r;if(s)throw a;return o(a),r}},97497:function(e){e.exports={}},26244:function(e,t,r){var n=r(17466);e.exports=function(e){return n(e.length)}},56339:function(e,t,r){var n=r(1702),o=r(47293),i=r(60614),a=r(92597),s=r(19781),c=r(76530).CONFIGURABLE,u=r(42788),l=r(29909),f=l.enforce,p=l.get,d=String,h=Object.defineProperty,g=n("".slice),m=n("".replace),y=n([].join),v=s&&!o(function(){return 8!==h(function(){},"length",{value:8}).length}),b=String(String).split("String"),_=e.exports=function(e,t,r){"Symbol("===g(d(t),0,7)&&(t="["+m(d(t),/^Symbol\(([^)]*)\)/,"$1")+"]"),r&&r.getter&&(t="get "+t),r&&r.setter&&(t="set "+t),(!a(e,"name")||c&&e.name!==t)&&(s?h(e,"name",{value:t,configurable:!0}):e.name=t),v&&r&&a(r,"arity")&&e.length!==r.arity&&h(e,"length",{value:r.arity});try{r&&a(r,"constructor")&&r.constructor?s&&h(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var n=f(e);return a(n,"source")||(n.source=y(b,"string"==typeof t?t:"")),e};Function.prototype.toString=_(function(){return i(this)&&p(this).source||u(this)},"toString")},74758:function(e){var t=Math.ceil,r=Math.floor;e.exports=Math.trunc||function(e){var n=+e;return(n>0?r:t)(n)}},95948:function(e,t,r){var n,o,i,a,s,c=r(17854),u=r(49974),l=r(31236).f,f=r(20261).set,p=r(18572),d=r(6833),h=r(71528),g=r(71036),m=r(35268),y=c.MutationObserver||c.WebKitMutationObserver,v=c.document,b=c.process,_=c.Promise,w=l(c,"queueMicrotask"),E=w&&w.value;if(!E){var O=new p,x=function(){var e,t;for(m&&(e=b.domain)&&e.exit();t=O.get();)try{t()}catch(e){throw O.head&&n(),e}e&&e.enter()};d||m||g||!y||!v?!h&&_&&_.resolve?((a=_.resolve(void 0)).constructor=_,s=u(a.then,a),n=function(){s(x)}):m?n=function(){b.nextTick(x)}:(f=u(f,c),n=function(){f(x)}):(o=!0,i=v.createTextNode(""),new y(x).observe(i,{characterData:!0}),n=function(){i.data=o=!o}),E=function(e){O.head||n(),O.add(e)}}e.exports=E},78523:function(e,t,r){"use strict";var n=r(19662),o=TypeError,i=function(e){var t,r;this.promise=new e(function(e,n){if(void 0!==t||void 0!==r)throw o("Bad Promise constructor");t=e,r=n}),this.resolve=n(t),this.reject=n(r)};e.exports.f=function(e){return new i(e)}},83009:function(e,t,r){var n=r(17854),o=r(47293),i=r(1702),a=r(41340),s=r(53111).trim,c=r(81361),u=n.parseInt,l=n.Symbol,f=l&&l.iterator,p=/^[+-]?0x/i,d=i(p.exec),h=8!==u(c+"08")||22!==u(c+"0x16")||f&&!o(function(){u(Object(f))});e.exports=h?function(e,t){var r=s(a(e));return u(r,t>>>0||(d(p,r)?16:10))}:u},21574:function(e,t,r){"use strict";var n=r(19781),o=r(1702),i=r(46916),a=r(47293),s=r(81956),c=r(25181),u=r(55296),l=r(47908),f=r(68361),p=Object.assign,d=Object.defineProperty,h=o([].concat);e.exports=!p||a(function(){if(n&&1!==p({b:1},p(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},r=Symbol(),o="abcdefghijklmnopqrst";return e[r]=7,o.split("").forEach(function(e){t[e]=e}),7!=p({},e)[r]||s(p({},t)).join("")!=o})?function(e,t){for(var r=l(e),o=arguments.length,a=1,p=c.f,d=u.f;o>a;)for(var g,m=f(arguments[a++]),y=p?h(s(m),p(m)):s(m),v=y.length,b=0;v>b;)g=y[b++],(!n||i(d,m,g))&&(r[g]=m[g]);return r}:p},70030:function(e,t,r){var n,o=r(19670),i=r(36048),a=r(80748),s=r(3501),c=r(60490),u=r(80317),l=r(6200),f="prototype",p="script",d=l("IE_PROTO"),h=function(){},g=function(e){return"<"+p+">"+e+""},m=function(e){e.write(g("")),e.close();var t=e.parentWindow.Object;return e=null,t},y=function(){var e,t=u("iframe");return t.style.display="none",c.appendChild(t),t.src=String("java"+p+":"),(e=t.contentWindow.document).open(),e.write(g("document.F=Object")),e.close(),e.F},v=function(){try{n=new ActiveXObject("htmlfile")}catch(e){}v="undefined"!=typeof document?document.domain&&n?m(n):y():m(n);for(var e=a.length;e--;)delete v[f][a[e]];return v()};s[d]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(h[f]=o(e),r=new h,h[f]=null,r[d]=e):r=v(),void 0===t?r:i.f(r,t)}},36048:function(e,t,r){var n=r(19781),o=r(3353),i=r(3070),a=r(19670),s=r(45656),c=r(81956);t.f=n&&!o?Object.defineProperties:function(e,t){a(e);for(var r,n=s(t),o=c(t),u=o.length,l=0;u>l;)i.f(e,r=o[l++],n[r]);return e}},3070:function(e,t,r){var n=r(19781),o=r(64664),i=r(3353),a=r(19670),s=r(34948),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,f="enumerable",p="configurable",d="writable";t.f=n?i?function(e,t,r){if(a(e),t=s(t),a(r),"function"==typeof e&&"prototype"===t&&"value"in r&&d in r&&!r[d]){var n=l(e,t);n&&n[d]&&(e[t]=r.value,r={configurable:p in r?r[p]:n[p],enumerable:f in r?r[f]:n[f],writable:!1})}return u(e,t,r)}:u:function(e,t,r){if(a(e),t=s(t),a(r),o)try{return u(e,t,r)}catch(e){}if("get"in r||"set"in r)throw c("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},31236:function(e,t,r){var n=r(19781),o=r(46916),i=r(55296),a=r(79114),s=r(45656),c=r(34948),u=r(92597),l=r(64664),f=Object.getOwnPropertyDescriptor;t.f=n?f:function(e,t){if(e=s(e),t=c(t),l)try{return f(e,t)}catch(e){}if(u(e,t))return a(!o(i.f,e,t),e[t])}},1156:function(e,t,r){var n=r(84326),o=r(45656),i=r(8006).f,a=r(41589),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],c=function(e){try{return i(e)}catch(e){return a(s)}};e.exports.f=function(e){return s&&"Window"==n(e)?c(e):i(o(e))}},8006:function(e,t,r){var n=r(16324),o=r(80748).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,o)}},25181:function(e,t){t.f=Object.getOwnPropertySymbols},47976:function(e,t,r){var n=r(1702);e.exports=n({}.isPrototypeOf)},16324:function(e,t,r){var n=r(1702),o=r(92597),i=r(45656),a=r(41318).indexOf,s=r(3501),c=n([].push);e.exports=function(e,t){var r,n=i(e),u=0,l=[];for(r in n)!o(s,r)&&o(n,r)&&c(l,r);for(;t.length>u;)o(n,r=t[u++])&&(~a(l,r)||c(l,r));return l}},81956:function(e,t,r){var n=r(16324),o=r(80748);e.exports=Object.keys||function(e){return n(e,o)}},55296:function(e,t){"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);t.f=o?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},27674:function(e,t,r){var n=r(75668),o=r(19670),i=r(96077);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=n(Object.prototype,"__proto__","set"))(r,[]),t=r instanceof Array}catch(e){}return function(r,n){return o(r),i(n),t?e(r,n):r.__proto__=n,r}}():void 0)},44699:function(e,t,r){var n=r(19781),o=r(1702),i=r(81956),a=r(45656),s=o(r(55296).f),c=o([].push),u=function(e){return function(t){for(var r,o=a(t),u=i(o),l=u.length,f=0,p=[];l>f;)r=u[f++],(!n||s(o,r))&&c(p,e?[r,o[r]]:o[r]);return p}};e.exports={entries:u(!0),values:u(!1)}},90288:function(e,t,r){"use strict";var n=r(51694),o=r(70648);e.exports=n?({}).toString:function(){return"[object "+o(this)+"]"}},92140:function(e,t,r){var n=r(46916),o=r(60614),i=r(70111),a=TypeError;e.exports=function(e,t){var r,s;if("string"===t&&o(r=e.toString)&&!i(s=n(r,e))||o(r=e.valueOf)&&!i(s=n(r,e))||"string"!==t&&o(r=e.toString)&&!i(s=n(r,e)))return s;throw a("Can't convert object to primitive value")}},53887:function(e,t,r){var n=r(35005),o=r(1702),i=r(8006),a=r(25181),s=r(19670),c=o([].concat);e.exports=n("Reflect","ownKeys")||function(e){var t=i.f(s(e)),r=a.f;return r?c(t,r(e)):t}},40857:function(e,t,r){var n=r(17854);e.exports=n},12534:function(e){e.exports=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}}},63702:function(e,t,r){var n=r(17854),o=r(85341),i=r(60614),a=r(96114),s=r(42788),c=r(5112),u=r(7871),l=r(83823),f=r(31913),p=r(7392),d=o&&o.prototype,h=c("species"),g=!1,m=i(n.PromiseRejectionEvent),y=a("Promise",function(){var e=s(o),t=e!==String(o);if(!t&&66===p||f&&!(d.catch&&d.finally))return!0;if(!p||p<51||!/native code/.test(e)){var r=new o(function(e){e(1)}),n=function(e){e(function(){},function(){})};if((r.constructor={})[h]=n,!(g=r.then(function(){}) instanceof n))return!0}return!t&&(u||l)&&!m});e.exports={CONSTRUCTOR:y,REJECTION_EVENT:m,SUBCLASSING:g}},85341:function(e,t,r){var n=r(17854);e.exports=n.Promise},69478:function(e,t,r){var n=r(19670),o=r(70111),i=r(78523);e.exports=function(e,t){if(n(e),o(t)&&t.constructor===e)return t;var r=i.f(e);return(0,r.resolve)(t),r.promise}},80612:function(e,t,r){var n=r(85341),o=r(17072),i=r(63702).CONSTRUCTOR;e.exports=i||!o(function(e){n.all(e).then(void 0,function(){})})},18572:function(e){var t=function(){this.head=null,this.tail=null};t.prototype={add:function(e){var t={item:e,next:null},r=this.tail;r?r.next=t:this.head=t,this.tail=t},get:function(){var e=this.head;if(e)return null===(this.head=e.next)&&(this.tail=null),e.item}},e.exports=t},97651:function(e,t,r){var n=r(46916),o=r(19670),i=r(60614),a=r(84326),s=r(22261),c=TypeError;e.exports=function(e,t){var r=e.exec;if(i(r)){var u=n(r,e,t);return null!==u&&o(u),u}if("RegExp"===a(e))return n(s,e,t);throw c("RegExp#exec called on incompatible receiver")}},22261:function(e,t,r){"use strict";var n,o,i=r(46916),a=r(1702),s=r(41340),c=r(67066),u=r(52999),l=r(72309),f=r(70030),p=r(29909).get,d=r(9441),h=r(38173),g=l("native-string-replace",String.prototype.replace),m=RegExp.prototype.exec,y=m,v=a("".charAt),b=a("".indexOf),_=a("".replace),w=a("".slice),E=(o=/b*/g,i(m,n=/a/,"a"),i(m,o,"a"),0!==n.lastIndex||0!==o.lastIndex),O=u.BROKEN_CARET,x=void 0!==/()??/.exec("")[1];(E||x||O||d||h)&&(y=function(e){var t,r,n,o,a,u,l,d=p(this),h=s(e),S=d.raw;if(S)return S.lastIndex=this.lastIndex,t=i(y,S,h),this.lastIndex=S.lastIndex,t;var k=d.groups,j=O&&this.sticky,A=i(c,this),T=this.source,P=0,R=h;if(j&&(-1===b(A=_(A,"y",""),"g")&&(A+="g"),R=w(h,this.lastIndex),this.lastIndex>0&&(!this.multiline||this.multiline&&"\n"!==v(h,this.lastIndex-1))&&(T="(?: "+T+")",R=" "+R,P++),r=RegExp("^(?:"+T+")",A)),x&&(r=RegExp("^"+T+"$(?!\\s)",A)),E&&(n=this.lastIndex),o=i(m,j?r:this,R),j?o?(o.input=w(o.input,P),o[0]=w(o[0],P),o.index=this.lastIndex,this.lastIndex+=o[0].length):this.lastIndex=0:E&&o&&(this.lastIndex=this.global?o.index+o[0].length:n),x&&o&&o.length>1&&i(g,o[0],r,function(){for(a=1;ab)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$c")})},84488:function(e,t,r){var n=r(68554),o=TypeError;e.exports=function(e){if(n(e))throw o("Can't call method on "+e);return e}},96340:function(e,t,r){"use strict";var n=r(35005),o=r(47045),i=r(5112),a=r(19781),s=i("species");e.exports=function(e){var t=n(e);a&&t&&!t[s]&&o(t,s,{configurable:!0,get:function(){return this}})}},58003:function(e,t,r){var n=r(3070).f,o=r(92597),i=r(5112)("toStringTag");e.exports=function(e,t,r){e&&!r&&(e=e.prototype),e&&!o(e,i)&&n(e,i,{configurable:!0,value:t})}},6200:function(e,t,r){var n=r(72309),o=r(69711),i=n("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},5465:function(e,t,r){var n=r(17854),o=r(13072),i="__core-js_shared__",a=n[i]||o(i,{});e.exports=a},72309:function(e,t,r){var n=r(31913),o=r(5465);(e.exports=function(e,t){return o[e]||(o[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.28.0",mode:n?"pure":"global",copyright:"\xa9 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.28.0/LICENSE",source:"https://github.com/zloirock/core-js"})},36707:function(e,t,r){var n=r(19670),o=r(39483),i=r(68554),a=r(5112)("species");e.exports=function(e,t){var r,s=n(e).constructor;return void 0===s||i(r=n(s)[a])?t:o(r)}},28710:function(e,t,r){var n=r(1702),o=r(19303),i=r(41340),a=r(84488),s=n("".charAt),c=n("".charCodeAt),u=n("".slice),l=function(e){return function(t,r){var n,l,f=i(a(t)),p=o(r),d=f.length;return p<0||p>=d?e?"":void 0:(n=c(f,p))<55296||n>56319||p+1===d||(l=c(f,p+1))<56320||l>57343?e?s(f,p):n:e?u(f,p,p+2):(n-55296<<10)+(l-56320)+65536}};e.exports={codeAt:l(!1),charAt:l(!0)}},53111:function(e,t,r){var n=r(1702),o=r(84488),i=r(41340),a=r(81361),s=n("".replace),c=RegExp("^["+a+"]+"),u=RegExp("(^|[^"+a+"])["+a+"]+$"),l=function(e){return function(t){var r=i(o(t));return 1&e&&(r=s(r,c,"")),2&e&&(r=s(r,u,"$1")),r}};e.exports={start:l(1),end:l(2),trim:l(3)}},36293:function(e,t,r){var n=r(7392),o=r(47293);e.exports=!!Object.getOwnPropertySymbols&&!o(function(){var e=Symbol();return!String(e)||!(Object(e) instanceof Symbol)||!Symbol.sham&&n&&n<41})},56532:function(e,t,r){var n=r(46916),o=r(35005),i=r(5112),a=r(98052);e.exports=function(){var e=o("Symbol"),t=e&&e.prototype,r=t&&t.valueOf,s=i("toPrimitive");t&&!t[s]&&a(t,s,function(e){return n(r,this)},{arity:1})}},2015:function(e,t,r){var n=r(36293);e.exports=n&&!!Symbol.for&&!!Symbol.keyFor},20261:function(e,t,r){var n,o,i,a,s=r(17854),c=r(22104),u=r(49974),l=r(60614),f=r(92597),p=r(47293),d=r(60490),h=r(50206),g=r(80317),m=r(48053),y=r(6833),v=r(35268),b=s.setImmediate,_=s.clearImmediate,w=s.process,E=s.Dispatch,O=s.Function,x=s.MessageChannel,S=s.String,k=0,j={},A="onreadystatechange";p(function(){n=s.location});var T=function(e){if(f(j,e)){var t=j[e];delete j[e],t()}},P=function(e){return function(){T(e)}},R=function(e){T(e.data)},M=function(e){s.postMessage(S(e),n.protocol+"//"+n.host)};b&&_||(b=function(e){m(arguments.length,1);var t=l(e)?e:O(e),r=h(arguments,1);return j[++k]=function(){c(t,void 0,r)},o(k),k},_=function(e){delete j[e]},v?o=function(e){w.nextTick(P(e))}:E&&E.now?o=function(e){E.now(P(e))}:x&&!y?(a=(i=new x).port2,i.port1.onmessage=R,o=u(a.postMessage,a)):s.addEventListener&&l(s.postMessage)&&!s.importScripts&&n&&"file:"!==n.protocol&&!p(M)?(o=M,s.addEventListener("message",R,!1)):o=A in g("script")?function(e){d.appendChild(g("script"))[A]=function(){d.removeChild(this),T(e)}}:function(e){setTimeout(P(e),0)}),e.exports={set:b,clear:_}},51400:function(e,t,r){var n=r(19303),o=Math.max,i=Math.min;e.exports=function(e,t){var r=n(e);return r<0?o(r+t,0):i(r,t)}},45656:function(e,t,r){var n=r(68361),o=r(84488);e.exports=function(e){return n(o(e))}},19303:function(e,t,r){var n=r(74758);e.exports=function(e){var t=+e;return t!=t||0===t?0:n(t)}},17466:function(e,t,r){var n=r(19303),o=Math.min;e.exports=function(e){return e>0?o(n(e),9007199254740991):0}},47908:function(e,t,r){var n=r(84488),o=Object;e.exports=function(e){return o(n(e))}},57593:function(e,t,r){var n=r(46916),o=r(70111),i=r(52190),a=r(58173),s=r(92140),c=r(5112),u=TypeError,l=c("toPrimitive");e.exports=function(e,t){if(!o(e)||i(e))return e;var r,c=a(e,l);if(c){if(void 0===t&&(t="default"),!o(r=n(c,e,t))||i(r))return r;throw u("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},34948:function(e,t,r){var n=r(57593),o=r(52190);e.exports=function(e){var t=n(e,"string");return o(t)?t:t+""}},51694:function(e,t,r){var n=r(5112)("toStringTag"),o={};o[n]="z",e.exports="[object z]"===String(o)},41340:function(e,t,r){var n=r(70648),o=String;e.exports=function(e){if("Symbol"===n(e))throw TypeError("Cannot convert a Symbol value to a string");return o(e)}},66330:function(e){var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},69711:function(e,t,r){var n=r(1702),o=0,i=Math.random(),a=n(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},43307:function(e,t,r){var n=r(36293);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:function(e,t,r){var n=r(19781),o=r(47293);e.exports=n&&o(function(){return 42!=Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},48053:function(e){var t=TypeError;e.exports=function(e,r){if(e=51||!o(function(){var e=[];return e[g]=!1,e.concat()[0]!==e}),y=function(e){if(!a(e))return!1;var t=e[g];return void 0!==t?!!t:i(e)};n({target:"Array",proto:!0,arity:1,forced:!m||!p("concat")},{concat:function(e){var t,r,n,o,i,a=s(this),p=f(a,0),d=0;for(t=-1,n=arguments.length;t1?arguments[1]:void 0)}})},84944:function(e,t,r){"use strict";var n=r(82109),o=r(6790),i=r(47908),a=r(26244),s=r(19303),c=r(65417);n({target:"Array",proto:!0},{flat:function(){var e=arguments.length?arguments[0]:void 0,t=i(this),r=a(t),n=c(t,0);return n.length=o(n,t,t,r,0,void 0===e?1:s(e)),n}})},89554:function(e,t,r){"use strict";var n=r(82109),o=r(18533);n({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},26699:function(e,t,r){"use strict";var n=r(82109),o=r(41318).includes,i=r(47293),a=r(51223);n({target:"Array",proto:!0,forced:i(function(){return![,].includes()})},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),a("includes")},82772:function(e,t,r){"use strict";var n=r(82109),o=r(21470),i=r(41318).indexOf,a=r(9341),s=o([].indexOf),c=!!s&&1/s([1],1,-0)<0;n({target:"Array",proto:!0,forced:c||!a("indexOf")},{indexOf:function(e){var t=arguments.length>1?arguments[1]:void 0;return c?s(this,e,t)||0:i(this,e,t)}})},69600:function(e,t,r){"use strict";var n=r(82109),o=r(1702),i=r(68361),a=r(45656),s=r(9341),c=o([].join);n({target:"Array",proto:!0,forced:i!=Object||!s("join",",")},{join:function(e){return c(a(this),void 0===e?",":e)}})},21249:function(e,t,r){"use strict";var n=r(82109),o=r(42092).map;n({target:"Array",proto:!0,forced:!r(81194)("map")},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},85827:function(e,t,r){"use strict";var n=r(82109),o=r(53671).left,i=r(9341),a=r(7392);n({target:"Array",proto:!0,forced:!r(35268)&&a>79&&a<83||!i("reduce")},{reduce:function(e){var t=arguments.length;return o(this,e,t,t>1?arguments[1]:void 0)}})},47042:function(e,t,r){"use strict";var n=r(82109),o=r(43157),i=r(4411),a=r(70111),s=r(51400),c=r(26244),u=r(45656),l=r(86135),f=r(5112),p=r(81194),d=r(50206),h=p("slice"),g=f("species"),m=Array,y=Math.max;n({target:"Array",proto:!0,forced:!h},{slice:function(e,t){var r,n,f,p=u(this),h=c(p),v=s(e,h),b=s(void 0===t?h:t,h);if(o(p)&&(i(r=p.constructor)&&(r===m||o(r.prototype))?r=void 0:a(r)&&null===(r=r[g])&&(r=void 0),r===m||void 0===r))return d(p,v,b);for(f=0,n=new(void 0===r?m:r)(y(b-v,0));v1?arguments[1]:void 0)}})},33792:function(e,t,r){r(51223)("flat")},38862:function(e,t,r){var n=r(82109),o=r(35005),i=r(22104),a=r(46916),s=r(1702),c=r(47293),u=r(60614),l=r(52190),f=r(50206),p=r(88044),d=r(36293),h=String,g=o("JSON","stringify"),m=s(/./.exec),y=s("".charAt),v=s("".charCodeAt),b=s("".replace),_=s(1..toString),w=/[\uD800-\uDFFF]/g,E=/^[\uD800-\uDBFF]$/,O=/^[\uDC00-\uDFFF]$/,x=!d||c(function(){var e=o("Symbol")();return"[null]"!=g([e])||"{}"!=g({a:e})||"{}"!=g(Object(e))}),S=c(function(){return'"\udf06\ud834"'!==g("\uDF06\uD834")||'"\udead"'!==g("\uDEAD")}),k=function(e,t){var r=f(arguments),n=p(t);if(!(!u(n)&&(void 0===e||l(e))))return r[1]=function(e,t){if(u(n)&&(t=a(n,this,h(e),t)),!l(t))return t},i(g,null,r)},j=function(e,t,r){var n=y(r,t-1),o=y(r,t+1);return m(E,e)&&!m(O,o)||m(O,e)&&!m(E,n)?"\\u"+_(v(e,0),16):e};g&&n({target:"JSON",stat:!0,arity:3,forced:x||S},{stringify:function(e,t,r){var n=f(arguments),o=i(x?k:g,null,n);return S&&"string"==typeof o?b(o,w,j):o}})},19601:function(e,t,r){var n=r(82109),o=r(21574);n({target:"Object",stat:!0,arity:2,forced:Object.assign!==o},{assign:o})},69720:function(e,t,r){var n=r(82109),o=r(44699).entries;n({target:"Object",stat:!0},{entries:function(e){return o(e)}})},29660:function(e,t,r){var n=r(82109),o=r(36293),i=r(47293),a=r(25181),s=r(47908);n({target:"Object",stat:!0,forced:!o||i(function(){a.f(1)})},{getOwnPropertySymbols:function(e){var t=a.f;return t?t(s(e)):[]}})},47941:function(e,t,r){var n=r(82109),o=r(47908),i=r(81956);n({target:"Object",stat:!0,forced:r(47293)(function(){i(1)})},{keys:function(e){return i(o(e))}})},41539:function(e,t,r){var n=r(51694),o=r(98052),i=r(90288);n||o(Object.prototype,"toString",i,{unsafe:!0})},91058:function(e,t,r){var n=r(82109),o=r(83009);n({global:!0,forced:parseInt!=o},{parseInt:o})},70821:function(e,t,r){"use strict";var n=r(82109),o=r(46916),i=r(19662),a=r(78523),s=r(12534),c=r(20408);n({target:"Promise",stat:!0,forced:r(80612)},{all:function(e){var t=this,r=a.f(t),n=r.resolve,u=r.reject,l=s(function(){var r=i(t.resolve),a=[],s=0,l=1;c(e,function(e){var i=s++,c=!1;l++,o(r,t,e).then(function(e){!c&&(c=!0,a[i]=e,--l||n(a))},u)}),--l||n(a)});return l.error&&u(l.value),r.promise}})},94164:function(e,t,r){"use strict";var n=r(82109),o=r(31913),i=r(63702).CONSTRUCTOR,a=r(85341),s=r(35005),c=r(60614),u=r(98052),l=a&&a.prototype;if(n({target:"Promise",proto:!0,forced:i,real:!0},{catch:function(e){return this.then(void 0,e)}}),!o&&c(a)){var f=s("Promise").prototype.catch;l.catch!==f&&u(l,"catch",f,{unsafe:!0})}},43401:function(e,t,r){"use strict";var n,o,i,a,s=r(82109),c=r(31913),u=r(35268),l=r(17854),f=r(46916),p=r(98052),d=r(27674),h=r(58003),g=r(96340),m=r(19662),y=r(60614),v=r(70111),b=r(25787),_=r(36707),w=r(20261).set,E=r(95948),O=r(842),x=r(12534),S=r(18572),k=r(29909),j=r(85341),A=r(63702),T=r(78523),P="Promise",R=A.CONSTRUCTOR,M=A.REJECTION_EVENT,N=A.SUBCLASSING,C=k.getterFor(P),L=k.set,I=j&&j.prototype,B=j,D=I,F=l.TypeError,z=l.document,U=l.process,q=T.f,H=q,V=!!(z&&z.createEvent&&l.dispatchEvent),W="unhandledrejection",Z=function(e){var t;return!!(v(e)&&y(t=e.then))&&t},G=function(e,t){var r,n,o,i=t.value,a=1==t.state,s=a?e.ok:e.fail,c=e.resolve,u=e.reject,l=e.domain;try{s?(a||(2===t.rejection&&J(t),t.rejection=1),!0===s?r=i:(l&&l.enter(),r=s(i),l&&(l.exit(),o=!0)),r===e.promise?u(F("Promise-chain cycle")):(n=Z(r))?f(n,r,c,u):c(r)):u(i)}catch(e){l&&!o&&l.exit(),u(e)}},Y=function(e,t){e.notified||(e.notified=!0,E(function(){for(var r,n=e.reactions;r=n.get();)G(r,e);e.notified=!1,t&&!e.rejection&&Q(e)}))},$=function(e,t,r){var n,o;V?((n=z.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),l.dispatchEvent(n)):n={promise:t,reason:r},!M&&(o=l["on"+e])?o(n):e===W&&O("Unhandled promise rejection",r)},Q=function(e){f(w,l,function(){var t,r=e.facade,n=e.value;if(K(e)&&(t=x(function(){u?U.emit("unhandledRejection",n,r):$(W,r,n)}),e.rejection=u||K(e)?2:1,t.error))throw t.value})},K=function(e){return 1!==e.rejection&&!e.parent},J=function(e){f(w,l,function(){var t=e.facade;u?U.emit("rejectionHandled",t):$("rejectionhandled",t,e.value)})},X=function(e,t,r){return function(n){e(t,n,r)}},ee=function(e,t,r){e.done||(e.done=!0,r&&(e=r),e.value=t,e.state=2,Y(e,!0))},et=function(e,t,r){if(!e.done){e.done=!0,r&&(e=r);try{if(e.facade===t)throw F("Promise can't be resolved itself");var n=Z(t);n?E(function(){var r={done:!1};try{f(n,t,X(et,r,e),X(ee,r,e))}catch(t){ee(r,t,e)}}):(e.value=t,e.state=1,Y(e,!1))}catch(t){ee({done:!1},t,e)}}};if(R&&(D=(B=function(e){b(this,D),m(e),f(n,this);var t=C(this);try{e(X(et,t),X(ee,t))}catch(e){ee(t,e)}}).prototype,(n=function(e){L(this,{type:P,done:!1,notified:!1,parent:!1,reactions:new S,rejection:!1,state:0,value:void 0})}).prototype=p(D,"then",function(e,t){var r=C(this),n=q(_(this,B));return r.parent=!0,n.ok=!y(e)||e,n.fail=y(t)&&t,n.domain=u?U.domain:void 0,0==r.state?r.reactions.add(n):E(function(){G(n,r)}),n.promise}),o=function(){var e=new n,t=C(e);this.promise=e,this.resolve=X(et,t),this.reject=X(ee,t)},T.f=q=function(e){return e===B||e===i?new o(e):H(e)},!c&&y(j)&&I!==Object.prototype)){a=I.then,N||p(I,"then",function(e,t){var r=this;return new B(function(e,t){f(a,r,e,t)}).then(e,t)},{unsafe:!0});try{delete I.constructor}catch(e){}d&&d(I,D)}s({global:!0,constructor:!0,wrap:!0,forced:R},{Promise:B}),h(B,P,!1,!0),g(P)},88674:function(e,t,r){r(43401),r(70821),r(94164),r(6027),r(60683),r(96294)},6027:function(e,t,r){"use strict";var n=r(82109),o=r(46916),i=r(19662),a=r(78523),s=r(12534),c=r(20408);n({target:"Promise",stat:!0,forced:r(80612)},{race:function(e){var t=this,r=a.f(t),n=r.reject,u=s(function(){var a=i(t.resolve);c(e,function(e){o(a,t,e).then(r.resolve,n)})});return u.error&&n(u.value),r.promise}})},60683:function(e,t,r){"use strict";var n=r(82109),o=r(46916),i=r(78523);n({target:"Promise",stat:!0,forced:r(63702).CONSTRUCTOR},{reject:function(e){var t=i.f(this);return o(t.reject,void 0,e),t.promise}})},96294:function(e,t,r){"use strict";var n=r(82109),o=r(35005),i=r(31913),a=r(85341),s=r(63702).CONSTRUCTOR,c=r(69478),u=o("Promise"),l=i&&!s;n({target:"Promise",stat:!0,forced:i||s},{resolve:function(e){return c(l&&this===u?a:this,e)}})},74916:function(e,t,r){"use strict";var n=r(82109),o=r(22261);n({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},39714:function(e,t,r){"use strict";var n=r(76530).PROPER,o=r(98052),i=r(19670),a=r(41340),s=r(47293),c=r(34706),u="toString",l=RegExp.prototype[u],f=s(function(){return"/a/b"!=l.call({source:"a",flags:"b"})}),p=n&&l.name!=u;(f||p)&&o(RegExp.prototype,u,function(){var e=i(this);return"/"+a(e.source)+"/"+a(c(e))},{unsafe:!0})},4723:function(e,t,r){"use strict";var n=r(46916),o=r(27007),i=r(19670),a=r(68554),s=r(17466),c=r(41340),u=r(84488),l=r(58173),f=r(31530),p=r(97651);o("match",function(e,t,r){return[function(t){var r=u(this),o=a(t)?void 0:l(t,e);return o?n(o,t,r):new RegExp(t)[e](c(r))},function(e){var n,o=i(this),a=c(e),u=r(t,o,a);if(u.done)return u.value;if(!o.global)return p(o,a);var l=o.unicode;o.lastIndex=0;for(var d=[],h=0;null!==(n=p(o,a));){var g=c(n[0]);d[h]=g,""===g&&(o.lastIndex=f(a,s(o.lastIndex),l)),h++}return 0===h?null:d}]})},15306:function(e,t,r){"use strict";var n=r(22104),o=r(46916),i=r(1702),a=r(27007),s=r(47293),c=r(19670),u=r(60614),l=r(68554),f=r(19303),p=r(17466),d=r(41340),h=r(84488),g=r(31530),m=r(58173),y=r(10647),v=r(97651),b=r(5112)("replace"),_=Math.max,w=Math.min,E=i([].concat),O=i([].push),x=i("".indexOf),S=i("".slice),k="$0"==="a".replace(/./,"$0"),j=!!/./[b]&&""===/./[b]("a","$0");a("replace",function(e,t,r){var i=j?"$":"$0";return[function(e,r){var n=h(this),i=l(e)?void 0:m(e,b);return i?o(i,e,n,r):o(t,d(n),e,r)},function(e,o){var a=c(this),s=d(e);if("string"==typeof o&&-1===x(o,i)&&-1===x(o,"$<")){var l=r(t,a,s,o);if(l.done)return l.value}var h=u(o);h||(o=d(o));var m=a.global;if(m){var b=a.unicode;a.lastIndex=0}for(var k=[];;){var j=v(a,s);if(null===j||(O(k,j),!m))break;""===d(j[0])&&(a.lastIndex=g(s,p(a.lastIndex),b))}for(var A="",T=0,P=0;P=T&&(A+=S(s,T,N)+D,T=N+M.length)}return A+S(s,T)}]},!!s(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$")})||!k||j)},4032:function(e,t,r){"use strict";var n=r(82109),o=r(17854),i=r(46916),a=r(1702),s=r(31913),c=r(19781),u=r(36293),l=r(47293),f=r(92597),p=r(47976),d=r(19670),h=r(45656),g=r(34948),m=r(41340),y=r(79114),v=r(70030),b=r(81956),_=r(8006),w=r(1156),E=r(25181),O=r(31236),x=r(3070),S=r(36048),k=r(55296),j=r(98052),A=r(47045),T=r(72309),P=r(6200),R=r(3501),M=r(69711),N=r(5112),C=r(6061),L=r(26800),I=r(56532),B=r(58003),D=r(29909),F=r(42092).forEach,z=P("hidden"),U="Symbol",q="prototype",H=D.set,V=D.getterFor(U),W=Object[q],Z=o.Symbol,G=Z&&Z[q],Y=o.TypeError,$=o.QObject,Q=O.f,K=x.f,J=w.f,X=k.f,ee=a([].push),et=T("symbols"),er=T("op-symbols"),en=T("wks"),eo=!$||!$[q]||!$[q].findChild,ei=c&&l(function(){return 7!=v(K({},"a",{get:function(){return K(this,"a",{value:7}).a}})).a})?function(e,t,r){var n=Q(W,t);n&&delete W[t],K(e,t,r),n&&e!==W&&K(W,t,n)}:K,ea=function(e,t){var r=et[e]=v(G);return H(r,{type:U,tag:e,description:t}),c||(r.description=t),r},es=function(e,t,r){e===W&&es(er,t,r),d(e);var n=g(t);return(d(r),f(et,n))?(r.enumerable?(f(e,z)&&e[z][n]&&(e[z][n]=!1),r=v(r,{enumerable:y(0,!1)})):(f(e,z)||K(e,z,y(1,{})),e[z][n]=!0),ei(e,n,r)):K(e,n,r)},ec=function(e,t){d(e);var r=h(t);return F(b(r).concat(ep(r)),function(t){(!c||i(eu,r,t))&&es(e,t,r[t])}),e},eu=function(e){var t=g(e),r=i(X,this,t);return(!(this===W&&f(et,t))||!!f(er,t))&&(!(r||!f(this,t)||!f(et,t)||f(this,z)&&this[z][t])||r)},el=function(e,t){var r=h(e),n=g(t);if(!(r===W&&f(et,n))||f(er,n)){var o=Q(r,n);return o&&f(et,n)&&!(f(r,z)&&r[z][n])&&(o.enumerable=!0),o}},ef=function(e){var t=J(h(e)),r=[];return F(t,function(e){f(et,e)||f(R,e)||ee(r,e)}),r},ep=function(e){var t=e===W,r=J(t?er:h(e)),n=[];return F(r,function(e){f(et,e)&&(!t||f(W,e))&&ee(n,et[e])}),n};u||(j(G=(Z=function(){if(p(G,this))throw Y("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?m(arguments[0]):void 0,t=M(e),r=function(e){this===W&&i(r,er,e),f(this,z)&&f(this[z],t)&&(this[z][t]=!1),ei(this,t,y(1,e))};return c&&eo&&ei(W,t,{configurable:!0,set:r}),ea(t,e)})[q],"toString",function(){return V(this).tag}),j(Z,"withoutSetter",function(e){return ea(M(e),e)}),k.f=eu,x.f=es,S.f=ec,O.f=el,_.f=w.f=ef,E.f=ep,C.f=function(e){return ea(N(e),e)},c&&(A(G,"description",{configurable:!0,get:function(){return V(this).description}}),s||j(W,"propertyIsEnumerable",eu,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!u,sham:!u},{Symbol:Z}),F(b(en),function(e){L(e)}),n({target:U,stat:!0,forced:!u},{useSetter:function(){eo=!0},useSimple:function(){eo=!1}}),n({target:"Object",stat:!0,forced:!u,sham:!c},{create:function(e,t){return void 0===t?v(e):ec(v(e),t)},defineProperty:es,defineProperties:ec,getOwnPropertyDescriptor:el}),n({target:"Object",stat:!0,forced:!u},{getOwnPropertyNames:ef}),I(),B(Z,U),R[z]=!0},41817:function(e,t,r){"use strict";var n=r(82109),o=r(19781),i=r(17854),a=r(1702),s=r(92597),c=r(60614),u=r(47976),l=r(41340),f=r(47045),p=r(99920),d=i.Symbol,h=d&&d.prototype;if(o&&c(d)&&(!("description"in h)||void 0!==d().description)){var g={},m=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:l(arguments[0]),t=u(h,this)?new d(e):void 0===e?d():d(e);return""===e&&(g[t]=!0),t};p(m,d),m.prototype=h,h.constructor=m;var y="Symbol(test)"==String(d("test")),v=a(h.valueOf),b=a(h.toString),_=/^Symbol\((.*)\)[^)]+$/,w=a("".replace),E=a("".slice);f(h,"description",{configurable:!0,get:function(){var e=v(this);if(s(g,e))return"";var t=b(e),r=y?E(t,7,-1):w(t,_,"$1");return""===r?void 0:r}}),n({global:!0,constructor:!0,forced:!0},{Symbol:m})}},40763:function(e,t,r){var n=r(82109),o=r(35005),i=r(92597),a=r(41340),s=r(72309),c=r(2015),u=s("string-to-symbol-registry"),l=s("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!c},{for:function(e){var t=a(e);if(i(u,t))return u[t];var r=o("Symbol")(t);return u[t]=r,l[r]=t,r}})},82526:function(e,t,r){r(4032),r(40763),r(26620),r(38862),r(29660)},26620:function(e,t,r){var n=r(82109),o=r(92597),i=r(52190),a=r(66330),s=r(72309),c=r(2015),u=s("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!c},{keyFor:function(e){if(!i(e))throw TypeError(a(e)+" is not a symbol");if(o(u,e))return u[e]}})},54747:function(e,t,r){var n=r(17854),o=r(48324),i=r(98509),a=r(18533),s=r(68880),c=function(e){if(e&&e.forEach!==a)try{s(e,"forEach",a)}catch(t){e.forEach=a}};for(var u in o)o[u]&&c(n[u]&&n[u].prototype);c(i)},9996:function(e){"use strict";var t=function(e){var t;return!!e&&"object"==typeof e&&"[object RegExp]"!==(t=Object.prototype.toString.call(e))&&"[object Date]"!==t&&e.$$typeof!==r},r="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function n(e,t){return!1!==t.clone&&t.isMergeableObject(e)?s(Array.isArray(e)?[]:{},e,t):e}function o(e,t,r){return e.concat(t).map(function(e){return n(e,r)})}function i(e){return Object.keys(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return e.propertyIsEnumerable(t)}):[])}function a(e,t){try{return t in e}catch(e){return!1}}function s(e,r,c){(c=c||{}).arrayMerge=c.arrayMerge||o,c.isMergeableObject=c.isMergeableObject||t,c.cloneUnlessOtherwiseSpecified=n;var u,l,f=Array.isArray(r);return f!==Array.isArray(e)?n(r,c):f?c.arrayMerge(e,r,c):(l={},(u=c).isMergeableObject(e)&&i(e).forEach(function(t){l[t]=n(e[t],u)}),i(r).forEach(function(t){(!a(e,t)||Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))&&(a(e,t)&&u.isMergeableObject(r[t])?l[t]=(function(e,t){if(!t.customMerge)return s;var r=t.customMerge(e);return"function"==typeof r?r:s})(t,u)(e[t],r[t],u):l[t]=n(r[t],u))}),l)}s.all=function(e,t){if(!Array.isArray(e))throw Error("first argument should be an array");return e.reduce(function(e,r){return s(e,r,t)},{})},e.exports=s},27856:function(e){/*! @license DOMPurify 3.0.5 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.0.5/LICENSE */e.exports=function(){"use strict";let{entries:e,setPrototypeOf:t,isFrozen:r,getPrototypeOf:n,getOwnPropertyDescriptor:o}=Object,{freeze:i,seal:a,create:s}=Object,{apply:c,construct:u}="undefined"!=typeof Reflect&&Reflect;c||(c=function(e,t,r){return e.apply(t,r)}),i||(i=function(e){return e}),a||(a=function(e){return e}),u||(u=function(e,t){return new e(...t)});let l=w(Array.prototype.forEach),f=w(Array.prototype.pop),p=w(Array.prototype.push),d=w(String.prototype.toLowerCase),h=w(String.prototype.toString),g=w(String.prototype.match),m=w(String.prototype.replace),y=w(String.prototype.indexOf),v=w(String.prototype.trim),b=w(RegExp.prototype.test),_=(W=TypeError,function(){for(var e=arguments.length,t=Array(e),r=0;r1?r-1:0),o=1;o/gm),D=a(/\${[\w\W]*}/gm),F=a(/^data-[\-\w.\u00B7-\uFFFF]/),z=a(/^aria-[\-\w]+$/),U=a(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),q=a(/^(?:\w+script|data):/i),H=a(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),V=a(/^html$/i);var W,Z=Object.freeze({__proto__:null,MUSTACHE_EXPR:I,ERB_EXPR:B,TMPLIT_EXPR:D,DATA_ATTR:F,ARIA_ATTR:z,IS_ALLOWED_URI:U,IS_SCRIPT_OR_DATA:q,ATTR_WHITESPACE:H,DOCTYPE_NAME:V});let G=()=>"undefined"==typeof window?null:window,Y=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let r=null,n="data-tt-policy-suffix";t&&t.hasAttribute(n)&&(r=t.getAttribute(n));let o="dompurify"+(r?"#"+r:"");try{return e.createPolicy(o,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+o+" could not be created."),null}};return function t(){let r,n,o,a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:G(),s=e=>t(e);if(s.version="3.0.5",s.removed=[],!a||!a.document||9!==a.document.nodeType)return s.isSupported=!1,s;let c=a.document,u=c.currentScript,{document:w}=a,{DocumentFragment:I,HTMLTemplateElement:B,Node:D,Element:F,NodeFilter:z,NamedNodeMap:q=a.NamedNodeMap||a.MozNamedAttrMap,HTMLFormElement:H,DOMParser:W,trustedTypes:$}=a,Q=F.prototype,K=x(Q,"cloneNode"),J=x(Q,"nextSibling"),X=x(Q,"childNodes"),ee=x(Q,"parentNode");if("function"==typeof B){let e=w.createElement("template");e.content&&e.content.ownerDocument&&(w=e.content.ownerDocument)}let et="",{implementation:er,createNodeIterator:en,createDocumentFragment:eo,getElementsByTagName:ei}=w,{importNode:ea}=c,es={};s.isSupported="function"==typeof e&&"function"==typeof ee&&er&&void 0!==er.createHTMLDocument;let{MUSTACHE_EXPR:ec,ERB_EXPR:eu,TMPLIT_EXPR:el,DATA_ATTR:ef,ARIA_ATTR:ep,IS_SCRIPT_OR_DATA:ed,ATTR_WHITESPACE:eh}=Z,{IS_ALLOWED_URI:eg}=Z,em=null,ey=E({},[...S,...k,...j,...T,...R]),ev=null,eb=E({},[...M,...N,...C,...L]),e_=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),ew=null,eE=null,eO=!0,ex=!0,eS=!1,ek=!0,ej=!1,eA=!1,eT=!1,eP=!1,eR=!1,eM=!1,eN=!1,eC=!0,eL=!1,eI=!0,eB=!1,eD={},eF=null,ez=E({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),eU=null,eq=E({},["audio","video","img","source","image","track"]),eH=null,eV=E({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),eW="http://www.w3.org/1998/Math/MathML",eZ="http://www.w3.org/2000/svg",eG="http://www.w3.org/1999/xhtml",eY=eG,e$=!1,eQ=null,eK=E({},[eW,eZ,eG],h),eJ=["application/xhtml+xml","text/html"],eX=null,e0=w.createElement("form"),e1=function(e){return e instanceof RegExp||e instanceof Function},e2=function(e){if(!eX||eX!==e){if(e&&"object"==typeof e||(e={}),e=O(e),o="application/xhtml+xml"===(n=n=-1===eJ.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE)?h:d,em="ALLOWED_TAGS"in e?E({},e.ALLOWED_TAGS,o):ey,ev="ALLOWED_ATTR"in e?E({},e.ALLOWED_ATTR,o):eb,eQ="ALLOWED_NAMESPACES"in e?E({},e.ALLOWED_NAMESPACES,h):eK,eH="ADD_URI_SAFE_ATTR"in e?E(O(eV),e.ADD_URI_SAFE_ATTR,o):eV,eU="ADD_DATA_URI_TAGS"in e?E(O(eq),e.ADD_DATA_URI_TAGS,o):eq,eF="FORBID_CONTENTS"in e?E({},e.FORBID_CONTENTS,o):ez,ew="FORBID_TAGS"in e?E({},e.FORBID_TAGS,o):{},eE="FORBID_ATTR"in e?E({},e.FORBID_ATTR,o):{},eD="USE_PROFILES"in e&&e.USE_PROFILES,eO=!1!==e.ALLOW_ARIA_ATTR,ex=!1!==e.ALLOW_DATA_ATTR,eS=e.ALLOW_UNKNOWN_PROTOCOLS||!1,ek=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,ej=e.SAFE_FOR_TEMPLATES||!1,eA=e.WHOLE_DOCUMENT||!1,eR=e.RETURN_DOM||!1,eM=e.RETURN_DOM_FRAGMENT||!1,eN=e.RETURN_TRUSTED_TYPE||!1,eP=e.FORCE_BODY||!1,eC=!1!==e.SANITIZE_DOM,eL=e.SANITIZE_NAMED_PROPS||!1,eI=!1!==e.KEEP_CONTENT,eB=e.IN_PLACE||!1,eg=e.ALLOWED_URI_REGEXP||U,eY=e.NAMESPACE||eG,e_=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&e1(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(e_.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&e1(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(e_.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(e_.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),ej&&(ex=!1),eM&&(eR=!0),eD&&(em=E({},[...R]),ev=[],!0===eD.html&&(E(em,S),E(ev,M)),!0===eD.svg&&(E(em,k),E(ev,N),E(ev,L)),!0===eD.svgFilters&&(E(em,j),E(ev,N),E(ev,L)),!0===eD.mathMl&&(E(em,T),E(ev,C),E(ev,L))),e.ADD_TAGS&&(em===ey&&(em=O(em)),E(em,e.ADD_TAGS,o)),e.ADD_ATTR&&(ev===eb&&(ev=O(ev)),E(ev,e.ADD_ATTR,o)),e.ADD_URI_SAFE_ATTR&&E(eH,e.ADD_URI_SAFE_ATTR,o),e.FORBID_CONTENTS&&(eF===ez&&(eF=O(eF)),E(eF,e.FORBID_CONTENTS,o)),eI&&(em["#text"]=!0),eA&&E(em,["html","head","body"]),em.table&&(E(em,["tbody"]),delete ew.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw _('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw _('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');et=(r=e.TRUSTED_TYPES_POLICY).createHTML("")}else void 0===r&&(r=Y($,u)),null!==r&&"string"==typeof et&&(et=r.createHTML(""));i&&i(e),eX=e}},e3=E({},["mi","mo","mn","ms","mtext"]),e5=E({},["foreignobject","desc","title","annotation-xml"]),e4=E({},["title","style","font","a","script"]),e6=E({},k);E(e6,j),E(e6,A);let e8=E({},T);E(e8,P);let e7=function(e){let t=ee(e);t&&t.tagName||(t={namespaceURI:eY,tagName:"template"});let r=d(e.tagName),o=d(t.tagName);return!!eQ[e.namespaceURI]&&(e.namespaceURI===eZ?t.namespaceURI===eG?"svg"===r:t.namespaceURI===eW?"svg"===r&&("annotation-xml"===o||e3[o]):!!e6[r]:e.namespaceURI===eW?t.namespaceURI===eG?"math"===r:t.namespaceURI===eZ?"math"===r&&e5[o]:!!e8[r]:e.namespaceURI===eG?(t.namespaceURI!==eZ||!!e5[o])&&(t.namespaceURI!==eW||!!e3[o])&&!e8[r]&&(e4[r]||!e6[r]):"application/xhtml+xml"===n&&!!eQ[e.namespaceURI])},e9=function(e){p(s.removed,{element:e});try{e.parentNode.removeChild(e)}catch(t){e.remove()}},te=function(e,t){try{p(s.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){p(s.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e&&!ev[e]){if(eR||eM)try{e9(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}}},tt=function(e){let t,o;if(eP)e=""+e;else{let t=g(e,/^[\r\n\t ]+/);o=t&&t[0]}"application/xhtml+xml"===n&&eY===eG&&(e=''+e+"");let i=r?r.createHTML(e):e;if(eY===eG)try{t=new W().parseFromString(i,n)}catch(e){}if(!t||!t.documentElement){t=er.createDocument(eY,"template",null);try{t.documentElement.innerHTML=e$?et:i}catch(e){}}let a=t.body||t.documentElement;return(e&&o&&a.insertBefore(w.createTextNode(o),a.childNodes[0]||null),eY===eG)?ei.call(t,eA?"html":"body")[0]:eA?t.documentElement:a},tr=function(e){return en.call(e.ownerDocument||e,e,z.SHOW_ELEMENT|z.SHOW_COMMENT|z.SHOW_TEXT,null,!1)},tn=function(e){return"object"==typeof D?e instanceof D:e&&"object"==typeof e&&"number"==typeof e.nodeType&&"string"==typeof e.nodeName},to=function(e,t,r){es[e]&&l(es[e],e=>{e.call(s,t,r,eX)})},ti=function(e){let t;if(to("beforeSanitizeElements",e,null),e instanceof H&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof q)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes))return e9(e),!0;let r=o(e.nodeName);if(to("uponSanitizeElement",e,{tagName:r,allowedTags:em}),e.hasChildNodes()&&!tn(e.firstElementChild)&&(!tn(e.content)||!tn(e.content.firstElementChild))&&b(/<[/\w]/g,e.innerHTML)&&b(/<[/\w]/g,e.textContent))return e9(e),!0;if(!em[r]||ew[r]){if(!ew[r]&&ts(r)&&(e_.tagNameCheck instanceof RegExp&&b(e_.tagNameCheck,r)||e_.tagNameCheck instanceof Function&&e_.tagNameCheck(r)))return!1;if(eI&&!eF[r]){let t=ee(e)||e.parentNode,r=X(e)||e.childNodes;if(r&&t){let n=r.length;for(let o=n-1;o>=0;--o)t.insertBefore(K(r[o],!0),J(e))}}return e9(e),!0}return e instanceof F&&!e7(e)||("noscript"===r||"noembed"===r||"noframes"===r)&&b(/<\/no(script|embed|frames)/i,e.innerHTML)?(e9(e),!0):(ej&&3===e.nodeType&&(t=m(t=e.textContent,ec," "),t=m(t,eu," "),t=m(t,el," "),e.textContent!==t&&(p(s.removed,{element:e.cloneNode()}),e.textContent=t)),to("afterSanitizeElements",e,null),!1)},ta=function(e,t,r){if(eC&&("id"===t||"name"===t)&&(r in w||r in e0))return!1;if(ex&&!eE[t]&&b(ef,t));else if(eO&&b(ep,t));else if(!ev[t]||eE[t]){if(!(ts(e)&&(e_.tagNameCheck instanceof RegExp&&b(e_.tagNameCheck,e)||e_.tagNameCheck instanceof Function&&e_.tagNameCheck(e))&&(e_.attributeNameCheck instanceof RegExp&&b(e_.attributeNameCheck,t)||e_.attributeNameCheck instanceof Function&&e_.attributeNameCheck(t))||"is"===t&&e_.allowCustomizedBuiltInElements&&(e_.tagNameCheck instanceof RegExp&&b(e_.tagNameCheck,r)||e_.tagNameCheck instanceof Function&&e_.tagNameCheck(r))))return!1}else if(eH[t]);else if(b(eg,m(r,eh,"")));else if(("src"===t||"xlink:href"===t||"href"===t)&&"script"!==e&&0===y(r,"data:")&&eU[e]);else if(eS&&!b(ed,m(r,eh,"")));else if(r)return!1;return!0},ts=function(e){return e.indexOf("-")>0},tc=function(e){let t,n,i,a;to("beforeSanitizeAttributes",e,null);let{attributes:c}=e;if(!c)return;let u={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:ev};for(a=c.length;a--;){let{name:l,namespaceURI:p}=t=c[a];if(n="value"===l?t.value:v(t.value),i=o(l),u.attrName=i,u.attrValue=n,u.keepAttr=!0,u.forceKeepAttr=void 0,to("uponSanitizeAttribute",e,u),n=u.attrValue,u.forceKeepAttr||(te(l,e),!u.keepAttr))continue;if(!ek&&b(/\/>/i,n)){te(l,e);continue}ej&&(n=m(n,ec," "),n=m(n,eu," "),n=m(n,el," "));let d=o(e.nodeName);if(ta(d,i,n)){if(eL&&("id"===i||"name"===i)&&(te(l,e),n="user-content-"+n),r&&"object"==typeof $&&"function"==typeof $.getAttributeType){if(p);else switch($.getAttributeType(d,i)){case"TrustedHTML":n=r.createHTML(n);break;case"TrustedScriptURL":n=r.createScriptURL(n)}}try{p?e.setAttributeNS(p,l,n):e.setAttribute(l,n),f(s.removed)}catch(e){}}}to("afterSanitizeAttributes",e,null)},tu=function e(t){let r;let n=tr(t);for(to("beforeSanitizeShadowDOM",t,null);r=n.nextNode();)to("uponSanitizeShadowNode",r,null),ti(r)||(r.content instanceof I&&e(r.content),tc(r));to("afterSanitizeShadowDOM",t,null)};return s.sanitize=function(e){let t,n,i,a,u=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if((e$=!e)&&(e=""),"string"!=typeof e&&!tn(e)){if("function"==typeof e.toString){if("string"!=typeof(e=e.toString()))throw _("dirty is not a string, aborting")}else throw _("toString is not a function")}if(!s.isSupported)return e;if(eT||e2(u),s.removed=[],"string"==typeof e&&(eB=!1),eB){if(e.nodeName){let t=o(e.nodeName);if(!em[t]||ew[t])throw _("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof D)1===(n=(t=tt("")).ownerDocument.importNode(e,!0)).nodeType&&"BODY"===n.nodeName?t=n:"HTML"===n.nodeName?t=n:t.appendChild(n);else{if(!eR&&!ej&&!eA&&-1===e.indexOf("<"))return r&&eN?r.createHTML(e):e;if(!(t=tt(e)))return eR?null:eN?et:""}t&&eP&&e9(t.firstChild);let l=tr(eB?e:t);for(;i=l.nextNode();)ti(i)||(i.content instanceof I&&tu(i.content),tc(i));if(eB)return e;if(eR){if(eM)for(a=eo.call(t.ownerDocument);t.firstChild;)a.appendChild(t.firstChild);else a=t;return(ev.shadowroot||ev.shadowrootmode)&&(a=ea.call(c,a,!0)),a}let f=eA?t.outerHTML:t.innerHTML;return eA&&em["!doctype"]&&t.ownerDocument&&t.ownerDocument.doctype&&t.ownerDocument.doctype.name&&b(V,t.ownerDocument.doctype.name)&&(f="\n"+f),ej&&(f=m(f,ec," "),f=m(f,eu," "),f=m(f,el," ")),r&&eN?r.createHTML(f):f},s.setConfig=function(e){e2(e),eT=!0},s.clearConfig=function(){eX=null,eT=!1},s.isValidAttribute=function(e,t,r){return eX||e2({}),ta(o(e),o(t),r)},s.addHook=function(e,t){"function"==typeof t&&(es[e]=es[e]||[],p(es[e],t))},s.removeHook=function(e){if(es[e])return f(es[e])},s.removeHooks=function(e){es[e]&&(es[e]=[])},s.removeAllHooks=function(){es={}},s}()}()},17187:function(e){"use strict";var t,r="object"==typeof Reflect?Reflect:null,n=r&&"function"==typeof r.apply?r.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};t=r&&"function"==typeof r.ownKeys?r.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var o=Number.isNaN||function(e){return e!=e};function i(){i.init.call(this)}e.exports=i,e.exports.once=function(e,t){return new Promise(function(r,n){function o(r){e.removeListener(t,i),n(r)}function i(){"function"==typeof e.removeListener&&e.removeListener("error",o),r([].slice.call(arguments))}g(e,t,i,{once:!0}),"error"!==t&&"function"==typeof e.on&&g(e,"error",o,{once:!0})})},i.EventEmitter=i,i.prototype._events=void 0,i.prototype._eventsCount=0,i.prototype._maxListeners=void 0;var a=10;function s(e){if("function"!=typeof e)throw TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function c(e){return void 0===e._maxListeners?i.defaultMaxListeners:e._maxListeners}function u(e,t,r,n){if(s(r),void 0===(i=e._events)?(i=e._events=Object.create(null),e._eventsCount=0):(void 0!==i.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),i=e._events),a=i[t]),void 0===a)a=i[t]=r,++e._eventsCount;else if("function"==typeof a?a=i[t]=n?[r,a]:[a,r]:n?a.unshift(r):a.push(r),(o=c(e))>0&&a.length>o&&!a.warned){a.warned=!0;var o,i,a,u=Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=a.length,console&&console.warn&&console.warn(u)}return e}function l(){if(!this.fired)return(this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0==arguments.length)?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function f(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},o=l.bind(n);return o.listener=r,n.wrapFn=o,o}function p(e,t,r){var n=e._events;if(void 0===n)return[];var o=n[t];return void 0===o?[]:"function"==typeof o?r?[o.listener||o]:[o]:r?function(e){for(var t=Array(e.length),r=0;r0&&(a=t[0]),a instanceof Error)throw a;var a,s=Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var c=i[e];if(void 0===c)return!1;if("function"==typeof c)n(c,this,t);else for(var u=c.length,l=h(c,u),r=0;r=0;i--)if(r[i]===t||r[i].listener===t){a=r[i].listener,o=i;break}if(o<0)return this;0===o?r.shift():function(e,t){for(;t+1=0;n--)this.removeListener(e,t[n]);return this},i.prototype.listeners=function(e){return p(this,e,!0)},i.prototype.rawListeners=function(e){return p(this,e,!1)},i.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):d.call(e,t)},i.prototype.listenerCount=d,i.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},58875:function(e,t,r){var n,o,i;i={canUseDOM:o=!!("undefined"!=typeof window&&window.document&&window.document.createElement),canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:o&&!!(window.addEventListener||window.attachEvent),canUseViewport:o&&!!window.screen},void 0!==(n=(function(){return i}).call(t,r,t,e))&&(e.exports=n)},19432:function(e,t,r){"use strict";r.r(t),r.d(t,{assign:function(){return l},defaultI18n:function(){return h},format:function(){return A},parse:function(){return T},setGlobalDateI18n:function(){return m},setGlobalDateMasks:function(){return j}});var n=/d{1,4}|M{1,4}|YY(?:YY)?|S{1,3}|Do|ZZ|Z|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,o="[1-9]\\d?",i="\\d\\d",a="[^\\s]+",s=/\[([^]*?)\]/gm;function c(e,t){for(var r=[],n=0,o=e.length;n-1?n:null}};function l(e){for(var t=[],r=1;r3?0:(e-e%10!=10?1:0)*e%10]}},g=l({},h),m=function(e){return g=l(g,e)},y=function(e){return e.replace(/[|\\{()[^$+*?.-]/g,"\\$&")},v=function(e,t){for(void 0===t&&(t=2),e=String(e);e.lengthe.getHours()?t.amPm[0]:t.amPm[1]},A:function(e,t){return 12>e.getHours()?t.amPm[0].toUpperCase():t.amPm[1].toUpperCase()},ZZ:function(e){var t=e.getTimezoneOffset();return(t>0?"-":"+")+v(100*Math.floor(Math.abs(t)/60)+Math.abs(t)%60,4)},Z:function(e){var t=e.getTimezoneOffset();return(t>0?"-":"+")+v(Math.floor(Math.abs(t)/60),2)+":"+v(Math.abs(t)%60,2)}},_=function(e){return+e-1},w=[null,o],E=[null,a],O=["isPm",a,function(e,t){var r=e.toLowerCase();return r===t.amPm[0]?0:r===t.amPm[1]?1:null}],x=["timezoneOffset","[^\\s]*?[\\+\\-]\\d\\d:?\\d\\d|[^\\s]*?Z?",function(e){var t=(e+"").match(/([+-]|\d\d)/gi);if(t){var r=60*+t[1]+parseInt(t[2],10);return"+"===t[0]?r:-r}return 0}],S={D:["day",o],DD:["day",i],Do:["day",o+a,function(e){return parseInt(e,10)}],M:["month",o,_],MM:["month",i,_],YY:["year",i,function(e){var t=+(""+new Date().getFullYear()).substr(0,2);return+(""+(+e>68?t-1:t)+e)}],h:["hour",o,void 0,"isPm"],hh:["hour",i,void 0,"isPm"],H:["hour",o],HH:["hour",i],m:["minute",o],mm:["minute",i],s:["second",o],ss:["second",i],YYYY:["year","\\d{4}"],S:["millisecond","\\d",function(e){return 100*+e}],SS:["millisecond",i,function(e){return 10*+e}],SSS:["millisecond","\\d{3}"],d:w,dd:w,ddd:E,dddd:E,MMM:["month",a,u("monthNamesShort")],MMMM:["month",a,u("monthNames")],a:O,A:O,ZZ:x,Z:x},k={default:"ddd MMM DD YYYY HH:mm:ss",shortDate:"M/D/YY",mediumDate:"MMM D, YYYY",longDate:"MMMM D, YYYY",fullDate:"dddd, MMMM D, YYYY",isoDate:"YYYY-MM-DD",isoDateTime:"YYYY-MM-DDTHH:mm:ssZ",shortTime:"HH:mm",mediumTime:"HH:mm:ss",longTime:"HH:mm:ss.SSS"},j=function(e){return l(k,e)},A=function(e,t,r){if(void 0===t&&(t=k.default),void 0===r&&(r={}),"number"==typeof e&&(e=new Date(e)),"[object Date]"!==Object.prototype.toString.call(e)||isNaN(e.getTime()))throw Error("Invalid Date pass to format");t=k[t]||t;var o=[];t=t.replace(s,function(e,t){return o.push(t),"@@@"});var i=l(l({},g),r);return(t=t.replace(n,function(t){return b[t](e,i)})).replace(/@@@/g,function(){return o.shift()})};function T(e,t,r){if(void 0===r&&(r={}),"string"!=typeof t)throw Error("Invalid format in fecha parse");if(t=k[t]||t,e.length>1e3)return null;var o={year:new Date().getFullYear(),month:0,day:1,hour:0,minute:0,second:0,millisecond:0,isPm:null,timezoneOffset:null},i=[],a=[],c=t.replace(s,function(e,t){return a.push(y(t)),"@@@"}),u={},f={};c=y(c).replace(n,function(e){var t=S[e],r=t[0],n=t[1],o=t[3];if(u[r])throw Error("Invalid format. "+r+" specified twice in format");return u[r]=!0,o&&(f[o]=!0),i.push(t),"("+n+")"}),Object.keys(f).forEach(function(e){if(!u[e])throw Error("Invalid format. "+e+" is required in specified format")}),c=c.replace(/@@@/g,function(){return a.shift()});var p=e.match(RegExp(c,"i"));if(!p)return null;for(var d=l(l({},g),r),h=1;h0;){var c=s;s=new Set,c.forEach(function(e){a.has(e)||(a.add(e),(r[e]||new Set).forEach(function(e){s.add(e)}))})}return a.forEach(function(t){var r=n(e,t);r&&o.definitions.push(r)}),o}(t,"AuthenticityToken")},35717:function(e){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},24970:function(e){"use strict";let t=e=>null!==e&&"object"==typeof e&&"function"==typeof e.pipe;t.writable=e=>t(e)&&!1!==e.writable&&"function"==typeof e._write&&"object"==typeof e._writableState,t.readable=e=>t(e)&&!1!==e.readable&&"function"==typeof e._read&&"object"==typeof e._readableState,t.duplex=e=>t.writable(e)&&t.readable(e),t.transform=e=>t.duplex(e)&&"function"==typeof e._transform,e.exports=t},29238:function(e,t,r){e.exports=window.DOMPurify||(window.DOMPurify=r(27856).default||r(27856))},58303:function(e,t,r){var n=r(31934);e.exports=function(e){var t=n(e,"line-height"),r=parseFloat(t,10);if(t===r+""){var o=e.style.lineHeight;e.style.lineHeight=t+"em",r=parseFloat(t=n(e,"line-height"),10),o?e.style.lineHeight=o:delete e.style.lineHeight}if(-1!==t.indexOf("pt")?(r*=4,r/=3):-1!==t.indexOf("mm")?(r*=96,r/=25.4):-1!==t.indexOf("cm")?(r*=96,r/=2.54):-1!==t.indexOf("in")?r*=96:-1!==t.indexOf("pc")&&(r*=16),r=Math.round(r),"normal"===t){var i=e.nodeName,a=document.createElement(i);a.innerHTML=" ","TEXTAREA"===i.toUpperCase()&&a.setAttribute("rows","1");var s=n(e,"font-size");a.style.fontSize=s,a.style.padding="0px",a.style.border="0px";var c=document.body;c.appendChild(a),r=a.offsetHeight,c.removeChild(a)}return r}},18552:function(e,t,r){var n=r(10852)(r(55639),"DataView");e.exports=n},1989:function(e,t,r){var n=r(51789),o=r(80401),i=r(57667),a=r(21327),s=r(81866);function c(e){var t=-1,r=null==e?0:e.length;for(this.clear();++tl))return!1;var p=c.get(e),d=c.get(t);if(p&&d)return p==t&&d==e;var h=-1,g=!0,m=2&r?new n:void 0;for(c.set(e,t),c.set(t,e);++h-1&&e%1==0&&e-1}},54705:function(e,t,r){var n=r(18470);e.exports=function(e,t){var r=this.__data__,o=n(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this}},24785:function(e,t,r){var n=r(1989),o=r(38407),i=r(57071);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}}},11285:function(e,t,r){var n=r(45050);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},96e3:function(e,t,r){var n=r(45050);e.exports=function(e){return n(this,e).get(e)}},49916:function(e,t,r){var n=r(45050);e.exports=function(e){return n(this,e).has(e)}},95265:function(e,t,r){var n=r(45050);e.exports=function(e,t){var r=n(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this}},68776:function(e){e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e,n){r[++t]=[n,e]}),r}},94536:function(e,t,r){var n=r(10852)(Object,"create");e.exports=n},86916:function(e,t,r){var n=r(5569)(Object.keys,Object);e.exports=n},31167:function(e,t,r){e=r.nmd(e);var n=r(31957),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o&&n.process,s=function(){try{var e=i&&i.require&&i.require("util").types;if(e)return e;return a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s},2333:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},5569:function(e){e.exports=function(e,t){return function(r){return e(t(r))}}},55639:function(e,t,r){var n=r(31957),o="object"==typeof self&&self&&self.Object===Object&&self,i=n||o||Function("return this")();e.exports=i},90619:function(e){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},72385:function(e){e.exports=function(e){return this.__data__.has(e)}},21814:function(e){e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r}},37465:function(e,t,r){var n=r(38407);e.exports=function(){this.__data__=new n,this.size=0}},63779:function(e){e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},67599:function(e){e.exports=function(e){return this.__data__.get(e)}},44758:function(e){e.exports=function(e){return this.__data__.has(e)}},34309:function(e,t,r){var n=r(38407),o=r(57071),i=r(83369);e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var a=r.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++r.size,this;r=this.__data__=new i(a)}return r.set(e,t),this.size=r.size,this}},80346:function(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},77813:function(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},35694:function(e,t,r){var n=r(9454),o=r(37005),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(e){return o(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=c},1469:function(e){var t=Array.isArray;e.exports=t},98612:function(e,t,r){var n=r(23560),o=r(41780);e.exports=function(e){return null!=e&&o(e.length)&&!n(e)}},44144:function(e,t,r){e=r.nmd(e);var n=r(55639),o=r(95062),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,s=a&&a.exports===i?n.Buffer:void 0,c=s?s.isBuffer:void 0;e.exports=c||o},18446:function(e,t,r){var n=r(90939);e.exports=function(e,t){return n(e,t)}},23560:function(e,t,r){var n=r(44239),o=r(13218);e.exports=function(e){if(!o(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},41780:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},13218:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},37005:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},36719:function(e,t,r){var n=r(38749),o=r(7518),i=r(31167),a=i&&i.isTypedArray,s=a?o(a):n;e.exports=s},3674:function(e,t,r){var n=r(14636),o=r(280),i=r(98612);e.exports=function(e){return i(e)?n(e):o(e)}},70479:function(e){e.exports=function(){return[]}},95062:function(e){e.exports=function(){return!1}},36894:function(e,t,r){"use strict";var n=r(58287);e.exports=n(function(e){return e.message=" ".concat(e.message),e})},6850:function(e,t,r){"use strict";var n=t.format=r(58287);t.levels=r(47371),Object.defineProperty(n,"align",{value:r(36894)}),Object.defineProperty(n,"cli",{value:r(79008)}),Object.defineProperty(n,"colorize",{value:r(52046)}),Object.defineProperty(n,"combine",{value:r(21145)}),Object.defineProperty(n,"errors",{value:r(2657)}),Object.defineProperty(n,"json",{value:r(93048)}),Object.defineProperty(n,"label",{value:r(44403)}),Object.defineProperty(n,"logstash",{value:r(49660)}),Object.defineProperty(n,"metadata",{value:r(42883)}),Object.defineProperty(n,"ms",{value:r(33584)}),Object.defineProperty(n,"padLevels",{value:r(82886)}),Object.defineProperty(n,"prettyPrint",{value:r(28703)}),Object.defineProperty(n,"printf",{value:r(82361)}),Object.defineProperty(n,"simple",{value:r(82167)}),Object.defineProperty(n,"splat",{value:r(67729)}),Object.defineProperty(n,"timestamp",{value:r(7271)}),Object.defineProperty(n,"uncolorize",{value:r(39729)})},79008:function(e,t,r){"use strict";function n(e,t){for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,r),e.levels||(e.levels=s.cli.levels),this.colorizer=new o(e),this.padder=new i(e),this.options=e}return e=[{key:"transform",value:function(e,t){return this.colorizer.transform(this.padder.transform(e,t),t),e[c]="".concat(e.level,":").concat(e.message),e}}],n(r.prototype,e),t&&n(r,t),Object.defineProperty(r,"prototype",{writable:!1}),r}();e.exports=function(e){return new u(e)},e.exports.Format=u},52046:function(e,t,r){"use strict";function n(e,t){for(var r=0;r0&&void 0!==arguments[0]?arguments[0]:{};!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,r),e.colors&&this.addColors(e.colors),this.options=e}return e=[{key:"addColors",value:function(e){return r.addColors(e)}},{key:"colorize",value:function(e,t,n){if(void 0===n&&(n=t),!Array.isArray(r.allColors[e]))return o[r.allColors[e]](n);for(var i=0,a=r.allColors[e].length;i2)throw new u(e);function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.options=e}function r(e){return new t(e)}return t.prototype.transform=e,r.Format=t,r}},93048:function(e,t,r){"use strict";var n=r(58287),o=r(15396).MESSAGE,i=r(87668);function a(e,t){return"bigint"==typeof t?t.toString():t}e.exports=n(function(e,t){var r=i.configure(t);return e[o]=r(e,t.replacer||a,t.space),e})},44403:function(e,t,r){"use strict";var n=r(58287);e.exports=n(function(e,t){return t.message?e.message="[".concat(t.label,"] ").concat(e.message):e.label=t.label,e})},47371:function(e,t,r){"use strict";var n=r(52046).Colorizer;e.exports=function(e){return n.addColors(e.colors||e),e}},49660:function(e,t,r){"use strict";var n=r(58287),o=r(15396).MESSAGE,i=r(87668);e.exports=n(function(e){var t={};return e.message&&(t["@message"]=e.message,delete e.message),e.timestamp&&(t["@timestamp"]=e.timestamp,delete e.timestamp),t["@fields"]=e,e[o]=i(t),e})},42883:function(e,t,r){"use strict";var n=r(58287);e.exports=n(function(e){var t,r,n,o,i,a,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},c="metadata";s.key&&(c=s.key);var u=[];return(s.fillExcept||s.fillWith||(u.push("level"),u.push("message")),s.fillExcept&&(u=s.fillExcept),u.length>0)?(t=u,r=c,n=t.reduce(function(t,r){return t[r]=e[r],delete e[r],t},{}),o=Object.keys(e).reduce(function(t,r){return t[r]=e[r],delete e[r],t},{}),Object.assign(e,n,(r in(i={})?Object.defineProperty(i,r,{value:o,enumerable:!0,configurable:!0,writable:!0}):i[r]=o,i))):s.fillWith&&(a=s.fillWith,e[c]=a.reduce(function(t,r){return t[r]=e[r],delete e[r],t},{})),e})},33584:function(e,t,r){"use strict";var n=void 0,o=r(58287),i=r(57824);e.exports=o(function(e){var t=+new Date;return n.diff=t-(n.prevTime||t),n.prevTime=t,e.ms="+".concat(i(n.diff)),e})},82886:function(e,t,r){"use strict";function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r0&&void 0!==arguments[0]?arguments[0]:{levels:a.npm.levels};!function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")}(this,r),this.paddings=r.paddingForLevels(e.levels,e.filler),this.options=e}return e=[{key:"transform",value:function(e,t){return e.message="".concat(this.paddings[e[s]]).concat(e.message),e[c]&&(e[c]="".concat(this.paddings[e[s]]).concat(e[c])),e}}],t=[{key:"getLongestLevel",value:function(e){var t=Object.keys(e).map(function(e){return e.length});return Math.max.apply(Math,function(e){if(Array.isArray(e))return n(e)}(t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(e,t)}}(t)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())}},{key:"paddingForLevel",value:function(e,t,r){var n=r+1-e.length,o=Math.floor(n/t.length);return"".concat(t).concat(t.repeat(o)).slice(0,n)}},{key:"paddingForLevels",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:" ",n=r.getLongestLevel(e);return Object.keys(e).reduce(function(e,o){return e[o]=r.paddingForLevel(o,t,n),e},{})}}],e&&o(r.prototype,e),t&&o(r,t),Object.defineProperty(r,"prototype",{writable:!1}),r}();e.exports=function(e){return new u(e)},e.exports.Padder=e.exports.Format=u},28703:function(e,t,r){"use strict";var n=r(79720).inspect,o=r(58287),i=r(15396),a=i.LEVEL,s=i.MESSAGE,c=i.SPLAT;e.exports=o(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=Object.assign({},e);return delete r[a],delete r[s],delete r[c],e[s]=n(r,!1,t.depth||null,t.colorize),e})},82361:function(e,t,r){"use strict";function n(e,t){for(var r=0;re.length)&&(t=e.length);for(var r=0,n=Array(t);r1?r.splice(0):r,i=o.length;if(i)for(var c=0;c1&&void 0!==arguments[1]?arguments[1]:{};return t.format&&(e.timestamp="function"==typeof t.format?t.format():n.format(new Date,t.format)),e.timestamp||(e.timestamp=new Date().toISOString()),t.alias&&(e[t.alias]=e.timestamp),e})},39729:function(e,t,r){"use strict";var n=r(33645),o=r(58287),i=r(15396).MESSAGE;e.exports=o(function(e,t){return!1!==t.level&&(e.level=n.strip(e.level)),!1!==t.message&&(e.message=n.strip(String(e.message))),!1!==t.raw&&e[i]&&(e[i]=n.strip(String(e[i]))),e})},79235:function(e){"use strict";class t extends Error{constructor(e){super(`Format functions must be synchronous taking a two arguments: (info, opts) Found: ${e.toString().split("\n")[0]} `),Error.captureStackTrace(this,t)}}e.exports=e=>{if(e.length>2)throw new t(e);function r(e={}){this.options=e}function n(e){return new r(e)}return r.prototype.transform=e,n.Format=r,n}},13922:function(e,t,r){"use strict";let n=r(79235),{MESSAGE:o}=r(15396),i=r(87668);function a(e,t){return"bigint"==typeof t?t.toString():t}e.exports=n((e,t)=>{let r=i.configure(t);return e[o]=r(e,t.replacer||a,t.space),e})},57824:function(e){function t(e,t,r,n){return Math.round(e/r)+" "+n+(t>=1.5*r?"s":"")}e.exports=function(e,r){r=r||{};var n,o,i=typeof e;if("string"===i&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(t){var r=parseFloat(t[1]);switch((t[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*r;case"weeks":case"week":case"w":return 6048e5*r;case"days":case"day":case"d":return 864e5*r;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*r;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*r;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}(e);if("number"===i&&isFinite(e))return r.long?(n=Math.abs(e))>=864e5?t(e,n,864e5,"day"):n>=36e5?t(e,n,36e5,"hour"):n>=6e4?t(e,n,6e4,"minute"):n>=1e3?t(e,n,1e3,"second"):e+" ms":(o=Math.abs(e))>=864e5?Math.round(e/864e5)+"d":o>=36e5?Math.round(e/36e5)+"h":o>=6e4?Math.round(e/6e4)+"m":o>=1e3?Math.round(e/1e3)+"s":e+"ms";throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},6840:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return r(63043)}])},15876:function(e,t,r){"use strict";var n=r(4612),o=r(34155);n.p.configure({apiKey:"a54f2c1c",environment:"production",revision:"fe1d3cc66eaa3ba02bafd4d7989dca8dec456eec",projectRoot:"webpack://_N_E/./",debug:"production"!==o.env.DEPLOY_ENV,reportData:!0})},70693:function(e,t,r){"use strict";r.d(t,{F:function(){return o},a:function(){return n}});let n=r(67294).createContext({refererHost:"",visitor:"",visit:""}),o=n.Provider},26281:function(e,t,r){"use strict";r.r(t),r.d(t,{errorLink:function(){return a}});var n=r(63200),o=r(93413),i=r(47099);let a=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:o.Logger;return(0,n.q)(r=>{var n,a,s,c;let{networkError:u,graphQLErrors:l,operation:f,forward:p}=r,d=t.child({type:"apollo",trace_id:null==e?void 0:null===(n=e.req)||void 0===n?void 0:n.headers[o.TRACE_ID_HEADER]});return u&&(0,i.F0)({logger:d,message:"GraphQL Network Error",name:"graphql_network_error",error:u,props:{operation_name:null==f?void 0:f.operationName,query:null==f?void 0:null===(c=f.query)||void 0===c?void 0:null===(s=c.loc)||void 0===s?void 0:null===(a=s.source)||void 0===a?void 0:a.body}}),l&&l.forEach(e=>{var t,r,n,o;(0,i.F0)({logger:d,message:"GraphQL Error",name:"graphql_error",error:e,props:{error_code:null==e?void 0:null===(t=e.extensions)||void 0===t?void 0:t.code,error_extensions:null==e?void 0:e.extensions,error_locations:null==e?void 0:e.locations,error_path:null==e?void 0:e.path,operation_name:null==f?void 0:f.operationName,query:null==f?void 0:null===(o=f.query)||void 0===o?void 0:null===(n=o.loc)||void 0===n?void 0:null===(r=n.source)||void 0===r?void 0:r.body}})}),p(f)})}},89362:function(e,t,r){"use strict";r.d(t,{Ax:function(){return i},YE:function(){return a},ei:function(){return n},nB:function(){return s},nW:function(){return o}});let n="/graphql",o="gtmDataLayer",i="GTM-TDF2LGF",a="x-futurelearn-csrfp",s="1"},84977:function(e,t,r){"use strict";let n;r.d(t,{$1:function(){return T},d8:function(){return A},gD:function(){return P}});var o,i,a,s=r(62286),c=r.n(s),u=r(84819),l=r(65168);r(41539),r(88674),r(57327),r(82772),r(5212),r(21249),r(85827),r(92222);var f=((o=f||{}).StrictlyNecessary="C0001",o.Performance="C0002",o.Functional="C0003",o.Targeting="C0004",o.SocialMedia="C0005",o),p=(i=(0,l.x)((0,l.l5)().mark(function e(){return(0,l.l5)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,new Promise(function(e){window.OptanonActiveGroups&&window.Optanon?e(!0):window.addEventListener("OptanonLoaded",function(){return e(!0)})});case 2:return e.abrupt("return",window.Optanon.GetDomainData().Groups.filter(function(e){var t=e.OptanonGroupId;return -1!==window.OptanonActiveGroups.indexOf(t)}));case 3:case"end":return e.stop()}},e)})),function(){return i.apply(this,arguments)}),d=(a=(0,l.x)((0,l.l5)().mark(function e(t){var r;return(0,l.l5)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,p();case 2:return r=e.sent.map(function(e){return e.Cookies}).reduce(function(e,t){return e.concat(t)}).map(function(e){return e.Name}),e.abrupt("return",-1!==r.indexOf(t));case 5:case"end":return e.stop()}},e)})),function(e){return a.apply(this,arguments)}),h=e=>{};let g=async(e,t,r,n,o)=>{n?await d(t)?c().set(e,t,r,o):h(t):c().set(e,t,r,o)},m="strictlyNecessaryCookies",y="performanceCookies",v="functionalCookies",b="targetingCookies",_={ahoy_visitor:y,ahoy_track:y,ahoy_visit:y,test_identity:m},w=e=>_[e],E={C0001:m,C0002:y,C0003:v,C0004:b},O=e=>Object.fromEntries(e.split("&").map(e=>e.split("="))),x=e=>e?Object.fromEntries(e.split(",").map(e=>{let[t,r]=e.split(":");return[E[t],"1"===r]})):{[m]:!0,[y]:!1,[v]:!1,[b]:!1};var S=e=>{let t=O(e),r=x(t.groups);return{...t,groups:r}};let k=(e,t)=>{let r=c().get(e),n=w(t);return(n||h(t),null==r?void 0:r.OptanonConsent)?S(r.OptanonConsent).groups[n]:n===m},j=(e,t,r,n,o)=>{(!n||k(e,t))&&c().set(e,t,r,o)},A=(e,t,r,o)=>{((0,u.Z)()?g:j)(e,t,r,n,o)},T=(e,t)=>c().get(e,t),P=e=>{void 0!==e&&(n=e)}},93413:function(e,t,r){"use strict";var n=r(34155);let o=r(15832);r(99647);let{format:i}=r(15832),{getNextjsBuildId:a}=r(69697),{combine:s,timestamp:c}=i,u="x-amzn-trace-id",l=a(),f=o.createLogger({level:"debug",defaultMeta:{application:"frontend",next_build_id:l},transports:[]});f.add(new o.transports.Console({handleExceptions:!0,format:s(c(),i.json())})),f.morganStream={write:e=>{let{trace_id:t,status:r,...n}=JSON.parse(e),o={name:"http-request",type:"express",properties:n,trace_id:t};return r&&r>=500?f.warn("HTTP Request failed",{...o,properties:{status:r,...n}}):f.verbose("HTTP Request",{...o,properties:{status:r,...n}})}},f.morganFormat=(e,t,r)=>{var n,o,i,a;let s=(null==t?void 0:t.headers)||{};return JSON.stringify({content_length:null==t?void 0:null===(n=t.headers)||void 0===n?void 0:n["content-length"],method:e.method(t,r),path:e.url(t,r),referrer:null==s?void 0:s.referer,response_time:e["response-time"](t,r),status:e.status(t,r),timezone:null==t?void 0:null===(o=t.cookies)||void 0===o?void 0:o.detectedUserTimeZone,trace_id:null==s?void 0:s[u],user_agent:null==s?void 0:s["user-agent"],visitor_id:null==t?void 0:null===(i=t.cookies)||void 0===i?void 0:i.ahoy_visitor,visit_id:null==t?void 0:null===(a=t.cookies)||void 0===a?void 0:a.ahoy_visit})},n.on("exit",()=>{f.on("finish",()=>{f.end()})}),e.exports={Logger:f,TRACE_ID_HEADER:u}},58691:function(e){"use strict";e.exports=[{source:"/collections/leadership-degrees",destination:"/degrees/leadership",permanent:!0},{source:"/courses/collections/business-degrees",destination:"/degrees/business-and-management",permanent:!0},{source:"/courses/collections/construction-management-degrees",destination:"/degrees/engineering/construction-management",permanent:!0},{source:"/courses/collections/criminology-degrees",destination:"/degrees/criminology",permanent:!0},{source:"/courses/collections/cyber-security-degrees",destination:"/degrees/it-and-computer-science/cyber-security",permanent:!0},{source:"/courses/collections/engineering-degrees",destination:"/degrees/engineering",permanent:!0},{source:"/courses/collections/healthcare-degrees",destination:"/degrees/healthcare",permanent:!0},{source:"/courses/collections/hr-degrees",destination:"/degrees/business-and-management/human-resources",permanent:!0},{source:"/courses/collections/marketing-degrees",destination:"/degrees/marketing",permanent:!0},{source:"/courses/collections/mba-degrees",destination:"/degrees/mba",permanent:!0},{source:"/courses/collections/nursing-degrees",destination:"/degrees/healthcare/nursing",permanent:!0},{source:"/courses/collections/psychology-degrees",destination:"/degrees/psychology",permanent:!0},{source:"/courses/collections/public-health-degrees",destination:"/degrees/public-health",permanent:!0},{source:"/courses/collections/teaching-degrees",destination:"/degrees/teaching",permanent:!0},{source:"/courses/collections/masters-degrees",destination:"/degrees/masters",permanent:!0},{source:"/courses/collections/leadership-degrees",destination:"/degrees/leadership",permanent:!0},{source:"/courses/collections/project-management-degrees",destination:"/degrees/business-and-management/project-management",permanent:!0},{source:"/degrees/academyex/master-contemporary-education",destination:"/degree/academyex-master-contemporary-education-master-or-contemporary-ed",permanent:!0},{source:"/degrees/academyex/technological-futures",destination:"/degree/academyex-master-of-technological-futures",permanent:!0},{source:"/degrees/arden-university/accounting-finance",destination:"/degree/arden-university-bsc-hons-accounting-finance",permanent:!0},{source:"/degrees/arden-university/bsc-psychology",destination:"/degree/arden-university-bsc-psychology-bsc-hons-psychology",permanent:!0},{source:"/degrees/arden-university/business-management",destination:"/degree/arden-university-ba-hons-business-management",permanent:!0},{source:"/degrees/arden-university/business-psychology",destination:"/degree/arden-university-msc-business-psychology",permanent:!0},{source:"/degrees/arden-university/criminology",destination:"/degree/arden-university-ba-hons-criminology",permanent:!0},{source:"/degrees/arden-university/forensic-criminal-investigation",destination:"/degree/arden-university-bsc-forensic-criminal-investigation",permanent:!0},{source:"/degrees/arden-university/health-and-care-management",destination:"/degree/arden-university-bsc-hons-health-and-care-management",permanent:!0},{source:"/degrees/arden-university/introduction-forensic-criminal-investigation",destination:"/degree/arden-university-bsc-forensic-criminal-investigation",permanent:!0},{source:"/degrees/arden-university/level4-certhe-health-and-care-management",destination:"/degree/arden-university-level4-certhe-health-and-care-management",permanent:!0},{source:"/degrees/arden-university/level5-diphe-health-and-care-manageme",destination:"/degree/arden-university-level5-diphe-health-and-care-management",permanent:!0},{source:"/degrees/arden-university/mba",destination:"/degree/arden-university-mba-master-of-business-administration",permanent:!0},{source:"/degrees/arden-university/msc-psychology-conversion",destination:"/degree/arden-university-msc-psychology-conversion-msc-psychology",permanent:!0},{source:"/degrees/arden-university/project-management",destination:"/degree/arden-university-bsc-hons-project-management",permanent:!0},{source:"/degrees/arden-university/psychology-counselling",destination:"/degree/arden-university-bsc-hons-psychology-counselling",permanent:!0},{source:"/degrees/artificial-intelligence/coventry-mba-artificial-intelligence-master-business-administration-artificial-intelligence",destination:"/degree/coventry-mba-artificial-intelligence-master-business-administration-artificial-intelligence",permanent:!0},{source:"/degrees/artificial-intelligence/university-of-hertfordshire-msc-artificial-intelligence",destination:"/degree/university-of-hertfordshire-msc-artificial-intelligence",permanent:!0},{source:"/degrees/artificial-intelligence/university-of-huddersfield-artificial-intelligence",destination:"/degree/university-of-huddersfield-artificial-intelligence",permanent:!0},{source:"/degrees/brunel-university-london/online-engineering-masters",destination:"/degree/brunel-university-london-online-engineering-masters-engineering-management-msc",permanent:!0},{source:"/degrees/brunel-university-london/online-global-public-health-and-social-justice-msc",destination:"/degree/brunel-university-london-online-global-public-health-and-social-justice-msc-global-public-health-social-justice-msc",permanent:!0},{source:"/degrees/brunel-university-london/online-health-economics-and-health-policy-msc",destination:"/degree/brunel-university-london-online-health-economics-and-health-policy-msc-health-economics-health-policy-msc",permanent:!0},{source:"/degrees/brunel-university-london/online-manufacturing-masters",destination:"/degree/brunel-university-london-online-manufacturing-masters-advanced-manufacturing-systems-msc",permanent:!0},{source:"/degrees/brunel-university-london/online-master-of-public-health",destination:"/degree/brunel-university-london-online-master-of-public-health-masters-of-public-health",permanent:!0},{source:"/degrees/brunel-university-london/online-psychology-masters",destination:"/degree/brunel-university-london-online-psychology-masters-psychological-sciences-msc",permanent:!0},{source:"/degrees/brunel-university-london/online-public-health-and-behaviour-change-msc",destination:"/degree/brunel-university-london-online-public-health-and-behaviour-change-msc-public-health-behaviour-change-msc",permanent:!0},{source:"/degrees/brunel-university-london/online-public-health-masters",destination:"/degree/brunel-university-london-online-public-health-masters-public-health-health-promotion-msc",permanent:!0},{source:"/degrees/business-and-management/academyex-master-of-technological-futures",destination:"/degree/academyex-master-of-technological-futures",permanent:!0},{source:"/degrees/business-and-management/arden-university-ba-hons-business-management",destination:"/degree/arden-university-ba-hons-business-management",permanent:!0},{source:"/degrees/business-and-management/arden-university-bsc-hons-accounting-finance",destination:"/degree/arden-university-bsc-hons-accounting-finance",permanent:!0},{source:"/degrees/business-and-management/arden-university-bsc-hons-project-management",destination:"/degree/arden-university-bsc-hons-project-management",permanent:!0},{source:"/degrees/business-and-management/cqu-graduate-certificate-in-social-innovation-leadership",destination:"/degree/cqu-graduate-certificate-in-social-innovation-leadership",permanent:!0},{source:"/degrees/business-and-management/cqu-master-of-business-administration-leadership",destination:"/degree/cqu-master-of-business-administration-leadership",permanent:!0},{source:"/degrees/business-and-management/cranfield-university-msc-business-and-management",destination:"/degree/cranfield-university-msc-business-and-management",permanent:!0},{source:"/degrees/business-and-management/deakin-university-graduate-certificate-of-digital-learning",destination:"/degree/deakin-university-graduate-certificate-of-digital-learning",permanent:!0},{source:"/degrees/business-and-management/deakin-university-master-digital-learning-leadership",destination:"/degree/deakin-university-master-digital-learning-leadership",permanent:!0},{source:"/degrees/business-and-management/deakin-university-sustainable-development-humanitarian-action-graduate-certificate-of-development-and-humanitarian-action",destination:"/degree/deakin-university-sustainable-development-humanitarian-action-graduate-certificate-of-development-and-humanitarian-action",permanent:!0},{source:"/degrees/business-and-management/london-school-of-design-and-marketing-ba-marketing",destination:"/degree/london-school-of-design-and-marketing-ba-marketing",permanent:!0},{source:"/degrees/business-and-management/london-school-of-design-and-marketing-ma-marketing",destination:"/degree/london-school-of-design-and-marketing-ma-marketing",permanent:!0},{source:"/degrees/business-and-management/the-open-university-development-management",destination:"/degree/the-open-university-development-management",permanent:!0},{source:"/degrees/business-and-management/the-university-of-edinburgh-master-of-business-administration",destination:"/degree/the-university-of-edinburgh-master-of-business-administration",permanent:!0},{source:"/degrees/business-and-management/the-university-of-edinburgh-performance-coaching-msc",destination:"/degree/the-university-of-edinburgh-performance-coaching-msc",permanent:!0},{source:"/degrees/business-and-management/the-university-of-edinburgh-service-management-and-design-msc",destination:"/degree/the-university-of-edinburgh-service-management-and-design-msc",permanent:!0},{source:"/degrees/business-and-management/university-of-birmingham-international-management",destination:"/degree/university-of-birmingham-international-management",permanent:!0},{source:"/degrees/business-and-management/university-of-birmingham-public-administration",destination:"/degree/university-of-birmingham-public-administration",permanent:!0},{source:"/degrees/business-and-management/university-of-exeter-msc-international-business",destination:"/degree/university-of-exeter-msc-international-business",permanent:!0},{source:"/degrees/business-and-management/university-of-roehampton-online-msc-global-business-management-msc-global-business-management-online",destination:"/degree/university-of-roehampton-online-msc-global-business-management-msc-global-business-management-online",permanent:!0},{source:"/degrees/business-and-management/university-of-roehampton-online-msc-global-financial-management",destination:"/degree/university-of-roehampton-online-msc-global-financial-management",permanent:!0},{source:"/degrees/business-and-management/university-of-roehampton-online-msc-global-hr-management",destination:"/degree/university-of-roehampton-online-msc-global-hr-management",permanent:!0},{source:"/degrees/business-and-management/university-of-roehampton-online-msc-global-supply-chain-management",destination:"/degree/university-of-roehampton-online-msc-global-supply-chain-management",permanent:!0},{source:"/degrees/business-and-management/university-of-roehampton-online-msc-project-management",destination:"/degree/university-of-roehampton-online-msc-project-management",permanent:!0},{source:"/degrees/construction-management/coventry-msc-construction-management",destination:"/degree/coventry-msc-construction-management",permanent:!0},{source:"/degrees/construction-management/coventry-msc-construction-project-cost-management",destination:"/degree/coventry-msc-construction-project-cost-management",permanent:!0},{source:"/degrees/coventry/business-psychology",destination:"/degree/coventry-msc-business-psychology",permanent:!0},{source:"/degrees/coventry/construction-management",destination:"/degree/coventry-msc-construction-management",permanent:!0},{source:"/degrees/coventry/construction-project-cost-management",destination:"/degree/coventry-msc-construction-project-cost-management",permanent:!0},{source:"/degrees/coventry/disaster-management-and-resilience",destination:"/degree/coventry-disaster-management-and-resilience-disaster-resilience-management",permanent:!0},{source:"/degrees/coventry/emergency-management",destination:"/degree/coventry-msc-emergency-management-resilience",permanent:!0},{source:"/degrees/coventry/global-healthcare-management",destination:"/degree/coventry-global-healthcare-management",permanent:!0},{source:"/degrees/coventry/learning-and-teaching-in-higher-education",destination:"/degree/coventry-learning-and-teaching-in-higher-education",permanent:!0},{source:"/degrees/coventry/ma-educational-leadership",destination:"/degree/coventry-ma-educational-leadership",permanent:!0},{source:"/degrees/coventry/masters-in-digital-marketing-data-analytics",destination:"/degree/coventry-masters-in-digital-marketing-data-analytics-digital-marketing-msc",permanent:!0},{source:"/degrees/coventry/mba-artificial-intelligence",destination:"/degree/coventry-mba-artificial-intelligence-master-business-administration-artificial-intelligence",permanent:!0},{source:"/degrees/coventry/mba-cyber-security",destination:"/degree/coventry-mba-cyber-security-master-business-administration-cyber-security",permanent:!0},{source:"/degrees/coventry/mba-healthcare",destination:"/degree/coventry-mba-healthcare-master-business-administration-healthcare",permanent:!0},{source:"/degrees/coventry/mba-international-human-resource-management",destination:"/degree/coventry-mba-international-human-resource-management",permanent:!0},{source:"/degrees/coventry/mba-marketing-specialism",destination:"/degree/coventry-mba-marketing-specialism-mba-marketing",permanent:!0},{source:"/degrees/coventry/mba-sustainable-tourism",destination:"/degree/coventry-mba-sustainable-tourism-master-business-administration-sustainable-tourism",permanent:!0},{source:"/degrees/coventry/mba",destination:"/degrees/mba",permanent:!0},{source:"/degrees/coventry/msc-cyber-security",destination:"/degree/coventry-msc-cyber-security",permanent:!0},{source:"/degrees/coventry/nursing",destination:"/degree/coventry-msc-nursing",permanent:!0},{source:"/degrees/coventry/pgcert-education",destination:"/degrees/pgce",permanent:!0},{source:"/degrees/cqu/graduate-certificate-in-social-innovation-leadership",destination:"/degree/cqu-graduate-certificate-in-social-innovation-leadership",permanent:!0},{source:"/degrees/cqu/master-of-business-administration-leadership",destination:"/degree/cqu-master-of-business-administration-leadership",permanent:!0},{source:"/degrees/cqu/master-of-creative-writing",destination:"/degree/cqu-master-of-creative-writing",permanent:!0},{source:"/degrees/cqu/master-of-educational-leadership",destination:"/degree/cqu-master-of-educational-leadership",permanent:!0},{source:"/degrees/cqu/master-of-educational-neuroscience",destination:"/degree/cqu-master-of-educational-neuroscience",permanent:!0},{source:"/degrees/cranfield-university/msc-business-and-management",destination:"/degree/cranfield-university-msc-business-and-management",permanent:!0},{source:"/degrees/criminology/arden-university-ba-hons-criminology",destination:"/degree/arden-university-ba-hons-criminology",permanent:!0},{source:"/degrees/criminology/arden-university-bsc-forensic-criminal-investigation",destination:"/degree/arden-university-bsc-forensic-criminal-investigation",permanent:!0},{source:"/degrees/cyber-security/coventry-mba-cyber-security-master-business-administration-cyber-security",destination:"/degree/coventry-mba-cyber-security-master-business-administration-cyber-security",permanent:!0},{source:"/degrees/cyber-security/coventry-msc-cyber-security",destination:"/degree/coventry-msc-cyber-security",permanent:!0},{source:"/degrees/cyber-security/university-of-huddersfield-cyber-security-and-digital-forensics",destination:"/degree/university-of-huddersfield-cyber-security-and-digital-forensics",permanent:!0},{source:"/degrees/deakin-university/digital-learning",destination:"/degree/deakin-university-master-digital-learning-leadership",permanent:!0},{source:"/degrees/deakin-university/leadership-professional-practice",destination:"/degrees/leadership",permanent:!0},{source:"/degrees/deakin-university/sustainable-development-humanitarian-action",destination:"/degree/deakin-university-sustainable-development-humanitarian-action-graduate-certificate-of-development-and-humanitarian-action",permanent:!0},{source:"/degrees/ducere/executive-mba",destination:"/degree/ducere-executive-mba",permanent:!0},{source:"/degrees/emergency-disaster-management/coventry-disaster-management-and-resilience-disaster-resilience-management",destination:"/degree/coventry-disaster-management-and-resilience-disaster-resilience-management",permanent:!0},{source:"/degrees/emergency-disaster-management/coventry-disaster-management-and-resilience-pgcert-disaster-risk-and-resilience",destination:"/degree/coventry-disaster-management-and-resilience-pgcert-disaster-risk-and-resilience",permanent:!0},{source:"/degrees/emergency-disaster-management/coventry-emergency-management-pgcert-emergency-preparedness-and-management",destination:"/degree/coventry-emergency-management-pgcert-emergency-preparedness-and-management",permanent:!0},{source:"/degrees/emergency-disaster-management/coventry-msc-emergency-management-resilience",destination:"/degree/coventry-msc-emergency-management-resilience",permanent:!0},{source:"/degrees/engineering/brunel-university-london-online-engineering-masters-engineering-management-msc",destination:"/degree/brunel-university-london-online-engineering-masters-engineering-management-msc",permanent:!0},{source:"/degrees/healthcare/arden-university-bsc-hons-health-and-care-management",destination:"/degree/arden-university-bsc-hons-health-and-care-management",permanent:!0},{source:"/degrees/healthcare/arden-university-level4-certhe-health-and-care-management",destination:"/degree/arden-university-level4-certhe-health-and-care-management",permanent:!0},{source:"/degrees/healthcare/arden-university-level5-diphe-health-and-care-management",destination:"/degree/arden-university-level5-diphe-health-and-care-management",permanent:!0},{source:"/degrees/healthcare/brunel-university-london-online-health-economics-and-health-policy-msc-health-economics-health-policy-msc",destination:"/degree/brunel-university-london-online-health-economics-and-health-policy-msc-health-economics-health-policy-msc",permanent:!0},{source:"/degrees/healthcare/brunel-university-london-online-public-health-masters-public-health-health-promotion-msc",destination:"/degree/brunel-university-london-online-public-health-masters-public-health-health-promotion-msc",permanent:!0},{source:"/degrees/healthcare/coventry-global-healthcare-management",destination:"/degree/coventry-global-healthcare-management",permanent:!0},{source:"/degrees/healthcare/coventry-mba-healthcare-master-business-administration-healthcare",destination:"/degree/coventry-mba-healthcare-master-business-administration-healthcare",permanent:!0},{source:"/degrees/healthcare/cqu-master-of-educational-neuroscience",destination:"/degree/cqu-master-of-educational-neuroscience",permanent:!0},{source:"/degrees/healthcare/the-university-of-edinburgh-advanced-nursing-msc",destination:"/degree/the-university-of-edinburgh-advanced-nursing-msc",permanent:!0},{source:"/degrees/healthcare/the-university-of-edinburgh-critical-care-msc",destination:"/degree/the-university-of-edinburgh-critical-care-msc",permanent:!0},{source:"/degrees/healthcare/the-university-of-edinburgh-data-science-for-health-and-social-care-msc",destination:"/degree/the-university-of-edinburgh-data-science-for-health-and-social-care-msc",permanent:!0},{source:"/degrees/healthcare/the-university-of-edinburgh-global-health-and-infectious-diseases-msc",destination:"/degree/the-university-of-edinburgh-global-health-and-infectious-diseases-msc",permanent:!0},{source:"/degrees/healthcare/the-university-of-edinburgh-msc-epidemiology",destination:"/degree/the-university-of-edinburgh-msc-epidemiology",permanent:!0},{source:"/degrees/healthcare/the-university-of-edinburgh-msc-one-health",destination:"/degree/the-university-of-edinburgh-msc-one-health",permanent:!0},{source:"/degrees/healthcare/the-university-of-edinburgh-patient-safety-and-clinical-human-factors-msc",destination:"/degree/the-university-of-edinburgh-patient-safety-and-clinical-human-factors-msc",permanent:!0},{source:"/degrees/healthcare/the-university-of-edinburgh-surgical-sciences-msc",destination:"/degree/the-university-of-edinburgh-surgical-sciences-msc",permanent:!0},{source:"/degrees/healthcare/university-of-exeter-msc-genomic-medicine",destination:"/degree/university-of-exeter-msc-genomic-medicine",permanent:!0},{source:"/degrees/healthcare/university-of-exeter-msc-medical-mycology",destination:"/degree/university-of-exeter-msc-medical-mycology",permanent:!0},{source:"/degrees/healthcare/university-of-exeter-psychedelics-mind-medicine-and-culture",destination:"/degree/university-of-exeter-psychedelics-mind-medicine-and-culture",permanent:!0},{source:"/degrees/healthcare/university-of-glasgow-end-of-life-studies-ma",destination:"/degree/university-of-glasgow-end-of-life-studies-ma",permanent:!0},{source:"/degrees/healthcare/university-of-roehampton-online-mba-healthcare-management",destination:"/degree/university-of-roehampton-online-mba-healthcare-management",permanent:!0},{source:"/degrees/human-resources/coventry-mba-international-human-resource-management",destination:"/degree/coventry-mba-international-human-resource-management",permanent:!0},{source:"/degrees/humanities/cqu-master-of-creative-writing",destination:"/degree/cqu-master-of-creative-writing",permanent:!0},{source:"/degrees/humanities/london-school-of-design-and-marketing-ba-design",destination:"/degree/london-school-of-design-and-marketing-ba-design",permanent:!0},{source:"/degrees/humanities/london-school-of-design-and-marketing-ma-design",destination:"/degree/london-school-of-design-and-marketing-ma-design",permanent:!0},{source:"/degrees/humanities/the-university-of-edinburgh-biodiversity-wildlife-and-ecosystem-health-msc",destination:"/degree/the-university-of-edinburgh-biodiversity-wildlife-and-ecosystem-health-msc",permanent:!0},{source:"/degrees/humanities/the-university-of-edinburgh-msc-global-food-security-and-nutrition",destination:"/degree/the-university-of-edinburgh-msc-global-food-security-and-nutrition",permanent:!0},{source:"/degrees/humanities/university-of-birmingham-energy-and-environmental-law",destination:"/degree/university-of-birmingham-energy-and-environmental-law",permanent:!0},{source:"/degrees/humanities/university-of-exeter-global-sustainability-solutions",destination:"/degree/university-of-exeter-global-sustainability-solutions",permanent:!0},{source:"/degrees/humanities/university-of-exeter-msc-environment-and-human-health",destination:"/degree/university-of-exeter-msc-environment-and-human-health",permanent:!0},{source:"/degrees/it-and-computer-science/the-university-of-edinburgh-data-and-decision-analytics-msc",destination:"/degree/the-university-of-edinburgh-data-and-decision-analytics-msc",permanent:!0},{source:"/degrees/it-and-computer-science/the-university-of-edinburgh-high-performance-computing",destination:"/degree/the-university-of-edinburgh-high-performance-computing",permanent:!0},{source:"/degrees/it-and-computer-science/the-university-of-edinburgh-msc-data-science-technology-and-innovation",destination:"/degree/the-university-of-edinburgh-msc-data-science-technology-and-innovation",permanent:!0},{source:"/degrees/it-and-computer-science/university-of-birmingham-bioinformatics",destination:"/degree/university-of-birmingham-bioinformatics",permanent:!0},{source:"/degrees/it-and-computer-science/university-of-hertfordshire-msc-advanced-computer-science",destination:"/degree/university-of-hertfordshire-msc-advanced-computer-science",permanent:!0},{source:"/degrees/it-and-computer-science/university-of-hertfordshire-msc-computer-science-with-artificial-intelligence",destination:"/degree/university-of-hertfordshire-msc-computer-science-with-artificial-intelligence",permanent:!0},{source:"/degrees/it-and-computer-science/university-of-hertfordshire-msc-computer-science-with-cyber-security",destination:"/degree/university-of-hertfordshire-msc-computer-science-with-cyber-security",permanent:!0},{source:"/degrees/it-and-computer-science/university-of-hertfordshire-msc-computer-science-with-dataanalytics-msc-computer-science-with-data-analytics",destination:"/degree/university-of-hertfordshire-msc-computer-science-with-dataanalytics-msc-computer-science-with-data-analytics",permanent:!0},{source:"/degrees/it-and-computer-science/university-of-hertfordshire-msc-computer-science-with-software-engineering",destination:"/degree/university-of-hertfordshire-msc-computer-science-with-software-engineering",permanent:!0},{source:"/degrees/it-and-computer-science/university-of-hertfordshire-msc-computer-science",destination:"/degree/university-of-hertfordshire-msc-computer-science",permanent:!0},{source:"/degrees/it-and-computer-science/university-of-hertfordshire-msc-data-science-and-analytics",destination:"/degree/university-of-hertfordshire-msc-data-science-and-analytics",permanent:!0},{source:"/degrees/it-and-computer-science/university-of-hertfordshire-msc-software-engineering",destination:"/degree/university-of-hertfordshire-msc-software-engineering",permanent:!0},{source:"/degrees/it-and-computer-science/university-of-huddersfield-data-analytics",destination:"/degree/university-of-huddersfield-data-analytics",permanent:!0},{source:"/degrees/leadership/deakin-university-leadership-professional-practice-graduate-certificate-of-professional-practice",destination:"/degree/deakin-university-leadership-professional-practice-graduate-certificate-of-professional-practice",permanent:!0},{source:"/degrees/leadership/deakin-university-leadership-professional-practice-master-of-professional-practice",destination:"/degree/deakin-university-leadership-professional-practice-master-of-professional-practice",permanent:!0},{source:"/degrees/leadership/nottingham-business-school-pgcert-leadership-management-practice-leadership-management-practice",destination:"/degree/nottingham-business-school-pgcert-leadership-management-practice-leadership-management-practice",permanent:!0},{source:"/degrees/literature/university-of-newcastle-australia-bachelor-of-arts",destination:"/degree/university-of-newcastle-australia-bachelor-of-arts",permanent:!0},{source:"/degrees/london-school-of-design-and-marketing/ba-design",destination:"/degree/london-school-of-design-and-marketing-ba-design",permanent:!0},{source:"/degrees/london-school-of-design-and-marketing/ba-marketing",destination:"/degree/london-school-of-design-and-marketing-ba-marketing",permanent:!0},{source:"/degrees/london-school-of-design-and-marketing/ma-design",destination:"/degree/london-school-of-design-and-marketing-ma-design",permanent:!0},{source:"/degrees/london-school-of-design-and-marketing/ma-marketing",destination:"/degree/london-school-of-design-and-marketing-ma-marketing",permanent:!0},{source:"/degrees/marketing/coventry-masters-in-digital-marketing-data-analytics-digital-marketing-msc",destination:"/degree/coventry-masters-in-digital-marketing-data-analytics-digital-marketing-msc",permanent:!0},{source:"/degrees/marketing/coventry-mba-marketing-specialism-mba-marketing",destination:"/degree/coventry-mba-marketing-specialism-mba-marketing",permanent:!0},{source:"/degrees/marketing/university-of-roehampton-online-msc-digital-marketing",destination:"/degree/university-of-roehampton-online-msc-digital-marketing",permanent:!0},{source:"/degrees/marketing/university-of-roehampton-online-msc-global-marketing",destination:"/degree/university-of-roehampton-online-msc-global-marketing",permanent:!0},{source:"/degrees/mba/arden-university-mba-master-of-business-administration",destination:"/degree/arden-university-mba-master-of-business-administration",permanent:!0},{source:"/degrees/mba/coventry-mba-master-business-administration",destination:"/degree/coventry-mba-master-business-administration",permanent:!0},{source:"/degrees/mba/coventry-mba-pgcert-ba",destination:"/degree/coventry-mba-pgcert-ba",permanent:!0},{source:"/degrees/mba/coventry-mba-sustainable-tourism-master-business-administration-sustainable-tourism",destination:"/degree/coventry-mba-sustainable-tourism-master-business-administration-sustainable-tourism",permanent:!0},{source:"/degrees/mba/oxford-brookes-university-mba",destination:"/degree/oxford-brookes-university-mba",permanent:!0},{source:"/degrees/mba/university-of-bradford-distance-learning-mba",destination:"/degree/university-of-bradford-distance-learning-mba",permanent:!0},{source:"/degrees/mba/university-of-bradford-innovation-enterprise-circular-economy-mba",destination:"/degree/university-of-bradford-innovation-enterprise-circular-economy-mba",permanent:!0},{source:"/degrees/mba/university-of-roehampton-online-mba-mba-online",destination:"/degree/university-of-roehampton-online-mba-mba-online",permanent:!0},{source:"/degrees/nottingham-business-school/pgcert-leadership-management-practice",destination:"/degree/nottingham-business-school-pgcert-leadership-management-practice-leadership-management-practice",permanent:!0},{source:"/degrees/nursing/coventry-msc-nursing",destination:"/degree/coventry-msc-nursing",permanent:!0},{source:"/degrees/nursing/coventry-postgraduate-certificate-nursing",destination:"/degree/coventry-postgraduate-certificate-nursing",permanent:!0},{source:"/degrees/oxford-brookes-university/mba",destination:"/degree/oxford-brookes-university-mba",permanent:!0},{source:"/degrees/pgce/coventry-pgcert-education-degree",destination:"/degree/coventry-pgcert-education-degree",permanent:!0},{source:"/degrees/pgce/coventry-pgcert-education-international-schools",destination:"/degree/coventry-pgcert-education-international-schools",permanent:!0},{source:"/degrees/pgce/coventry-pgcert-education-qts-employmentbased-schooldirect",destination:"/degree/coventry-pgcert-education-qts-employmentbased-schooldirect",permanent:!0},{source:"/degrees/pgce/coventry-pgcert-education-qts-schooldirect-salaried",destination:"/degree/coventry-pgcert-education-qts-schooldirect-salaried",permanent:!0},{source:"/degrees/pgce/coventry-pgcert-education-qts",destination:"/degree/coventry-pgcert-education-qts",permanent:!0},{source:"/degrees/pgce/university-of-birmingham-design-for-learning-environments",destination:"/degree/university-of-birmingham-design-for-learning-environments",permanent:!0},{source:"/degrees/psychology/arden-university-bsc-hons-psychology-counselling",destination:"/degree/arden-university-bsc-hons-psychology-counselling",permanent:!0},{source:"/degrees/psychology/arden-university-bsc-psychology-bsc-hons-psychology",destination:"/degree/arden-university-bsc-psychology-bsc-hons-psychology",permanent:!0},{source:"/degrees/psychology/arden-university-msc-business-psychology",destination:"/degree/arden-university-msc-business-psychology",permanent:!0},{source:"/degrees/psychology/arden-university-msc-psychology-conversion-msc-psychology",destination:"/degree/arden-university-msc-psychology-conversion-msc-psychology",permanent:!0},{source:"/degrees/psychology/brunel-university-london-online-psychology-masters-psychological-sciences-msc",destination:"/degree/brunel-university-london-online-psychology-masters-psychological-sciences-msc",permanent:!0},{source:"/degrees/psychology/coventry-msc-business-psychology",destination:"/degree/coventry-msc-business-psychology",permanent:!0},{source:"/degrees/psychology/university-of-birmingham-msc-mental-health",destination:"/degree/university-of-birmingham-msc-mental-health",permanent:!0},{source:"/degrees/psychology/university-of-huddersfield-psychology",destination:"/degree/university-of-huddersfield-psychology",permanent:!0},{source:"/degrees/public-health/brunel-university-london-online-global-public-health-and-social-justice-msc-global-public-health-social-justice-msc",destination:"/degree/brunel-university-london-online-global-public-health-and-social-justice-msc-global-public-health-social-justice-msc",permanent:!0},{source:"/degrees/public-health/brunel-university-london-online-master-of-public-health-masters-of-public-health",destination:"/degree/brunel-university-london-online-master-of-public-health-masters-of-public-health",permanent:!0},{source:"/degrees/public-health/brunel-university-london-online-public-health-and-behaviour-change-msc-public-health-behaviour-change-msc",destination:"/degree/brunel-university-london-online-public-health-and-behaviour-change-msc-public-health-behaviour-change-msc",permanent:!0},{source:"/degrees/public-health/the-university-of-edinburgh-masters-in-public-health",destination:"/degree/the-university-of-edinburgh-masters-in-public-health",permanent:!0},{source:"/degrees/science-engineering-and-maths/brunel-university-london-online-manufacturing-masters-advanced-manufacturing-systems-msc",destination:"/degree/brunel-university-london-online-manufacturing-masters-advanced-manufacturing-systems-msc",permanent:!0},{source:"/degrees/teaching/academyex-master-contemporary-education-master-or-contemporary-ed",destination:"/degree/academyex-master-contemporary-education-master-or-contemporary-ed",permanent:!0},{source:"/degrees/teaching/coventry-learning-and-teaching-in-higher-education",destination:"/degree/coventry-learning-and-teaching-in-higher-education",permanent:!0},{source:"/degrees/teaching/coventry-ma-educational-leadership-blended",destination:"/degree/coventry-ma-educational-leadership-blended",permanent:!0},{source:"/degrees/teaching/coventry-ma-educational-leadership",destination:"/degree/coventry-ma-educational-leadership",permanent:!0},{source:"/degrees/teaching/cqu-master-of-educational-leadership",destination:"/degree/cqu-master-of-educational-leadership",permanent:!0},{source:"/degrees/teaching/the-open-university-online-and-distance-education-technology-enhanced-learning",destination:"/degree/the-open-university-online-and-distance-education-technology-enhanced-learning",permanent:!0},{source:"/degrees/teaching/the-university-of-edinburgh-msc-clinical-education",destination:"/degree/the-university-of-edinburgh-msc-clinical-education",permanent:!0},{source:"/degrees/teaching/university-of-birmingham-higher-education-policy-into-practice",destination:"/degree/university-of-birmingham-higher-education-policy-into-practice",permanent:!0},{source:"/degrees/teaching/university-of-exeter-ma-education",destination:"/degree/university-of-exeter-ma-education",permanent:!0},{source:"/degrees/the-open-university/development-management",destination:"/degree/the-open-university-development-management",permanent:!0},{source:"/degrees/the-open-university/online-and-distance-education",destination:"/degree/the-open-university-online-and-distance-education-technology-enhanced-learning",permanent:!0},{source:"/degrees/the-university-of-edinburgh/advanced-nursing-msc",destination:"/degree/the-university-of-edinburgh-advanced-nursing-msc",permanent:!0},{source:"/degrees/the-university-of-edinburgh/biodiversity-wildlife-and-ecosystem-health-msc",destination:"/degree/the-university-of-edinburgh-biodiversity-wildlife-and-ecosystem-health-msc",permanent:!0},{source:"/degrees/the-university-of-edinburgh/critical-care-msc",destination:"/degree/the-university-of-edinburgh-critical-care-msc",permanent:!0},{source:"/degrees/the-university-of-edinburgh/data-and-decision-analytics-msc",destination:"/degree/the-university-of-edinburgh-data-and-decision-analytics-msc",permanent:!0},{source:"/degrees/the-university-of-edinburgh/data-science-for-health-and-social-care-msc",destination:"/degree/the-university-of-edinburgh-data-science-for-health-and-social-care-msc",permanent:!0},{source:"/degrees/the-university-of-edinburgh/global-health-and-infectious-diseases-msc",destination:"/degree/the-university-of-edinburgh-global-health-and-infectious-diseases-msc",permanent:!0},{source:"/degrees/the-university-of-edinburgh/high-performance-computing",destination:"/degree/the-university-of-edinburgh-high-performance-computing",permanent:!0},{source:"/degrees/the-university-of-edinburgh/master-of-business-administration",destination:"/degree/the-university-of-edinburgh-master-of-business-administration",permanent:!0},{source:"/degrees/the-university-of-edinburgh/masters-in-public-health",destination:"/degree/the-university-of-edinburgh-masters-in-public-health",permanent:!0},{source:"/degrees/the-university-of-edinburgh/msc-clinical-education",destination:"/degree/the-university-of-edinburgh-msc-clinical-education",permanent:!0},{source:"/degrees/the-university-of-edinburgh/msc-data-science-technology-and-innovation",destination:"/degree/the-university-of-edinburgh-msc-data-science-technology-and-innovation",permanent:!0},{source:"/degrees/the-university-of-edinburgh/msc-epidemiology",destination:"/degree/the-university-of-edinburgh-msc-epidemiology",permanent:!0},{source:"/degrees/the-university-of-edinburgh/msc-global-food-security-and-nutrition",destination:"/degree/the-university-of-edinburgh-msc-global-food-security-and-nutrition",permanent:!0},{source:"/degrees/the-university-of-edinburgh/msc-one-health",destination:"/degree/the-university-of-edinburgh-msc-one-health",permanent:!0},{source:"/degrees/the-university-of-edinburgh/patient-safety-and-clinical-human-factors-msc",destination:"/degree/the-university-of-edinburgh-patient-safety-and-clinical-human-factors-msc",permanent:!0},{source:"/degrees/the-university-of-edinburgh/performance-coaching-msc",destination:"/degree/the-university-of-edinburgh-performance-coaching-msc",permanent:!0},{source:"/degrees/the-university-of-edinburgh/service-management-and-design-msc",destination:"/degree/the-university-of-edinburgh-service-management-and-design-msc",permanent:!0},{source:"/degrees/the-university-of-edinburgh/surgical-sciences-msc",destination:"/degree/the-university-of-edinburgh-surgical-sciences-msc",permanent:!0},{source:"/degrees/university-of-birmingham/bioinformatics",destination:"/degree/university-of-birmingham-bioinformatics",permanent:!0},{source:"/degrees/university-of-birmingham/design-for-learning-environments",destination:"/degree/university-of-birmingham-design-for-learning-environments",permanent:!0},{source:"/degrees/university-of-birmingham/energy-and-environmental-law",destination:"/degree/university-of-birmingham-energy-and-environmental-law",permanent:!0},{source:"/degrees/university-of-birmingham/higher-education-policy-into-practice",destination:"/degree/university-of-birmingham-higher-education-policy-into-practice",permanent:!0},{source:"/degrees/university-of-birmingham/international-management",destination:"/degree/university-of-birmingham-international-management",permanent:!0},{source:"/degrees/university-of-birmingham/mba",destination:"/degree/university-of-birmingham-mba",permanent:!0},{source:"/degrees/university-of-birmingham/msc-mental-health",destination:"/degree/university-of-birmingham-msc-mental-health",permanent:!0},{source:"/degrees/university-of-birmingham/public-administration",destination:"/degree/university-of-birmingham-public-administration",permanent:!0},{source:"/degrees/university-of-bradford/distance-learning-mba",destination:"/degree/university-of-bradford-distance-learning-mba",permanent:!0},{source:"/degrees/university-of-bradford/innovation-enterprise-circular-economy-mba",destination:"/degree/university-of-bradford-innovation-enterprise-circular-economy-mba",permanent:!0},{source:"/degrees/university-of-exeter/global-sustainability-solutions",destination:"/degree/university-of-exeter-global-sustainability-solutions",permanent:!0},{source:"/degrees/university-of-exeter/ma-education",destination:"/degree/university-of-exeter-ma-education",permanent:!0},{source:"/degrees/university-of-exeter/msc-environment-and-human-health",destination:"/degree/university-of-exeter-msc-environment-and-human-health",permanent:!0},{source:"/degrees/university-of-exeter/msc-genomic-medicine",destination:"/degree/university-of-exeter-msc-genomic-medicine",permanent:!0},{source:"/degrees/university-of-exeter/msc-international-business",destination:"/degree/university-of-exeter-msc-international-business",permanent:!0},{source:"/degrees/university-of-exeter/msc-medical-mycology",destination:"/degree/university-of-exeter-msc-medical-mycology",permanent:!0},{source:"/degrees/university-of-exeter/psychedelics-mind-medicine-and-culture",destination:"/degree/university-of-exeter-psychedelics-mind-medicine-and-culture",permanent:!0},{source:"/degrees/university-of-glasgow/end-of-life-studies",destination:"/degree/university-of-glasgow-end-of-life-studies-ma",permanent:!0},{source:"/degrees/university-of-hertfordshire/advanced-computer-science",destination:"/degree/university-of-hertfordshire-msc-advanced-computer-science",permanent:!0},{source:"/degrees/university-of-hertfordshire/msc-artificial-intelligence",destination:"/degree/university-of-hertfordshire-msc-artificial-intelligence",permanent:!0},{source:"/degrees/university-of-hertfordshire/msc-computer-science-with-artificial-intelligence",destination:"/degree/university-of-hertfordshire-msc-computer-science-with-artificial-intelligence",permanent:!0},{source:"/degrees/university-of-hertfordshire/msc-computer-science-with-cyber-security",destination:"/degree/university-of-hertfordshire-msc-computer-science-with-cyber-security",permanent:!0},{source:"/degrees/university-of-hertfordshire/msc-computer-science-with-dataanalytics",destination:"/degree/university-of-hertfordshire-msc-computer-science-with-dataanalytics-msc-computer-science-with-data-analytics",permanent:!0},{source:"/degrees/university-of-hertfordshire/msc-computer-science-with-software-engineering",destination:"/degree/university-of-hertfordshire-msc-computer-science-with-software-engineering",permanent:!0},{source:"/degrees/university-of-hertfordshire/msc-computer-science",destination:"/degree/university-of-hertfordshire-msc-computer-science",permanent:!0},{source:"/degrees/university-of-hertfordshire/msc-cyber-security",destination:"/degree/university-of-hertfordshire-msc-cyber-security",permanent:!0},{source:"/degrees/university-of-hertfordshire/msc-data-science-and-analytics",destination:"/degree/university-of-hertfordshire-msc-data-science-and-analytics",permanent:!0},{source:"/degrees/university-of-hertfordshire/msc-software-engineering",destination:"/degree/university-of-hertfordshire-msc-software-engineering",permanent:!0},{source:"/degrees/university-of-huddersfield/artificial-intelligence",destination:"/degree/university-of-huddersfield-artificial-intelligence",permanent:!0},{source:"/degrees/university-of-huddersfield/cyber-security-and-digital-forensics",destination:"/degree/university-of-huddersfield-cyber-security-and-digital-forensics",permanent:!0},{source:"/degrees/university-of-huddersfield/data-analytics",destination:"/degree/university-of-huddersfield-data-analytics",permanent:!0},{source:"/degrees/university-of-huddersfield/psychology",destination:"/degree/university-of-huddersfield-psychology",permanent:!0},{source:"/degrees/university-of-newcastle-australia/bachelor-of-arts",destination:"/degree/university-of-newcastle-australia-bachelor-of-arts",permanent:!0},{source:"/degrees/university-of-roehampton/online-healthcare-management-mba",destination:"/degree/university-of-roehampton-online-mba-healthcare-management",permanent:!0},{source:"/degrees/university-of-roehampton/online-mba-healthcare-management",destination:"/degree/university-of-roehampton-online-mba-healthcare-management",permanent:!0},{source:"/degrees/university-of-roehampton/online-mba",destination:"/degree/university-of-roehampton-online-mba-mba-online",permanent:!0},{source:"/degrees/university-of-roehampton/online-msc-digital-marketing",destination:"/degree/university-of-roehampton-online-msc-digital-marketing",permanent:!0},{source:"/degrees/university-of-roehampton/online-msc-global-financial-management",destination:"/degree/university-of-roehampton-online-msc-global-financial-management",permanent:!0},{source:"/degrees/university-of-roehampton/online-msc-global-hr-management",destination:"/degree/university-of-roehampton-online-msc-global-hr-management",permanent:!0},{source:"/degrees/university-of-roehampton/online-msc-global-marketing",destination:"/degree/university-of-roehampton-online-msc-global-marketing",permanent:!0},{source:"/degrees/university-of-roehampton/online-msc-global-supply-chain-management",destination:"/degree/university-of-roehampton-online-msc-global-supply-chain-management",permanent:!0},{source:"/degrees/university-of-roehampton/online-msc-project-management",destination:"/degree/university-of-roehampton-online-msc-project-management",permanent:!0},{source:"/microcredentials",destination:"/certifications/microcredentials",permanent:!0},{source:"/programs",destination:"/certifications/microcredentials",permanent:!0},{source:"/degrees/university-of-roehampton/online-msc-global-business-management",destination:"/degree/university-of-roehampton-online-msc-global-business-management-msc-global-business-management-online",permanent:!0},{source:"/degrees/law/llm-in-energy-and-environmental-law",destination:"/degree/university-of-birmingham-energy-and-environmental-law",permanent:!0},{source:"/degrees/humanities/university-of-newcastle-australia-bachelor-of-arts",destination:"/degree/university-of-newcastle-australia-bachelor-of-arts",permanent:!0},{source:"/degrees/engineering/brunel-university-london-online-manufacturing-masters-advanced-manufacturing-systems-msc",destination:"/degree/brunel-university-london-online-manufacturing-masters-advanced-manufacturing-systems-msc",permanent:!0},{source:"/degrees/accounting/arden-university-bsc-hons-accounting-finance",destination:"/degree/arden-university-bsc-hons-accounting-finance",permanent:!0},{source:"/degrees/cyber-security/university-of-hertfordshire-msc-cyber-security",destination:"/degree/university-of-hertfordshire-msc-cyber-security",permanent:!0},{source:"/degrees/software-engineering/university-of-hertfordshire-msc-software-engineering",destination:"/degree/university-of-hertfordshire-msc-software-engineering",permanent:!0},{source:"/degrees/healthcare-medicine/university-of-roehampton-online-mba-healthcare-management",destination:"/degree/university-of-roehampton-online-mba-healthcare-management",permanent:!0},{source:"/degrees/arden-university/business-psychology/msc-business-psychology/enrol-with-partner",destination:"/degree/arden-university-msc-business-psychology",permanent:!0},{source:"/degrees/business-and-management/deakin-university-leadership-professional-practice-graduate-certificate-of-professional-practice",destination:"/degree/arden-university-bsc-hons-health-and-care-management",permanent:!0},{source:"/degrees/healthcare/the-university-of-edinburgh-masters-in-public-health",destination:"/degree/the-university-of-edinburgh-masters-in-public-health",permanent:!0},{source:"/degrees/it-and-computer-science/the-university-of-edinburgh-data-science-for-health-and-social-care-msc",destination:"/degree/the-university-of-edinburgh-data-science-for-health-and-social-care-msc",permanent:!0},{source:"/degrees/mba/university-of-birmingham-mba",destination:"/degree/university-of-birmingham-mba",permanent:!0},{source:"/degrees/project-management/arden-university-bsc-hons-project-management",destination:"/degree/arden-university-bsc-hons-project-management",permanent:!0},{source:"/degrees/creative-arts-and-media/university-of-newcastle-australia-bachelor-of-arts",destination:"/degree/university-of-newcastle-australia-bachelor-of-arts",permanent:!0},{source:"/degrees/criminology/arden-university-introduction-forensic-criminal-investigation-introduction-forensic-and-criminal-investigation",destination:"/degree/arden-university-bsc-forensic-criminal-investigation",permanent:!0},{source:"/degrees/artificial-intelligence",destination:"/degrees/it-and-computer-science/artificial-intelligence",permanent:!0},{source:"/degrees/bachelors/healthcare-management",destination:"/degrees/bachelors/healthcare/healthcare-management",permanent:!0},{source:"/degrees/bachelors/project-management",destination:"/degrees/bachelors/business-and-management/project-management",permanent:!0},{source:"/degrees/certificate-of-higher-education/healthcare-management",destination:"/degrees/certificate-of-higher-education/healthcare/healthcare-management",permanent:!0},{source:"/degrees/construction-management",destination:"/degrees/engineering/construction-management",permanent:!0},{source:"/degrees/cyber-security",destination:"/degrees/it-and-computer-science/cyber-security",permanent:!0},{source:"/degrees/data-science",destination:"/degrees/data-analytics/data-science",permanent:!0},{source:"/degrees/digital-marketing",destination:"/degrees/marketing/digital-marketing",permanent:!0},{source:"/degrees/diploma-of-higher-education/healthcare-management",destination:"/degrees/diploma-of-higher-education/healthcare/healthcare-management",permanent:!0},{source:"/degrees/emergency-disaster-management",destination:"/degrees/environmental-science/emergency-disaster-management",permanent:!0},{source:"/degrees/healthcare-management",destination:"/degrees/healthcare/healthcare-management",permanent:!0},{source:"/degrees/human-resources",destination:"/degrees/business-and-management/human-resources",permanent:!0},{source:"/degrees/international-business",destination:"/degrees/business-and-management/international-business",permanent:!0},{source:"/degrees/masters/artificial-intelligence",destination:"/degrees/masters/it-and-computer-science/artificial-intelligence",permanent:!0},{source:"/degrees/masters/construction-management",destination:"/degrees/masters/engineering/construction-management",permanent:!0},{source:"/degrees/masters/cyber-security",destination:"/degrees/masters/it-and-computer-science/cyber-security",permanent:!0},{source:"/degrees/masters/data-science",destination:"/degrees/masters/data-analytics/data-science",permanent:!0},{source:"/degrees/masters/digital-marketing",destination:"/degrees/masters/marketing/digital-marketing",permanent:!0},{source:"/degrees/masters/emergency-disaster-management",destination:"/degrees/masters/environmental-science/emergency-disaster-management",permanent:!0},{source:"/degrees/masters/healthcare-management",destination:"/degrees/masters/healthcare/healthcare-management",permanent:!0},{source:"/degrees/masters/human-resources",destination:"/degrees/masters/business-and-management/human-resources",permanent:!0},{source:"/degrees/masters/international-business",destination:"/degrees/masters/business-and-management/international-business",permanent:!0},{source:"/degrees/masters/nursing",destination:"/degrees/masters/healthcare/nursing",permanent:!0},{source:"/degrees/masters/project-management",destination:"/degrees/masters/business-and-management/project-management",permanent:!0},{source:"/degrees/masters/software-engineering",destination:"/degrees/masters/it-and-computer-science/software-engineering",permanent:!0},{source:"/degrees/masters/supply-chain-management",destination:"/degrees/masters/business-and-management/supply-chain-management",permanent:!0},{source:"/degrees/nursing",destination:"/degrees/healthcare/nursing",permanent:!0},{source:"/degrees/postgraduate-certificate/emergency-disaster-management",destination:"/degrees/postgraduate-certificate/environmental-science/emergency-disaster-management",permanent:!0},{source:"/degrees/postgraduate-certificate/nursing",destination:"/degrees/postgraduate-certificate/healthcare/nursing",permanent:!0},{source:"/degrees/project-management",destination:"/degrees/business-and-management/project-management",permanent:!0},{source:"/degrees/software-engineering",destination:"/degrees/it-and-computer-science/software-engineering",permanent:!0},{source:"/degrees/supply-chain-management",destination:"/degrees/business-and-management/supply-chain-management",permanent:!0},{source:"/degrees/bachelors/accounting",destination:"/degrees/bachelors/accounting-and-finance/accounting",permanent:!0},{source:"/degrees/finance",destination:"/degrees/accounting-and-finance/finance",permanent:!0},{source:"/degrees/bachelors/finance",destination:"/degrees/bachelors/accounting-and-finance/finance",permanent:!0},{source:"/degrees/masters/accounting",destination:"/degrees/masters/accounting-and-finance/accounting",permanent:!0},{source:"/degrees/masters/finance",destination:"/degrees/masters/accounting-and-finance/finance",permanent:!0},{source:"/degrees/postgraduate-certificate/finance",destination:"/degrees/postgraduate-certificate/accounting-and-finance/finance",permanent:!0},{source:"/degrees/public-health",destination:"/degrees/healthcare/public-health",permanent:!0},{source:"/degrees/masters/public-health",destination:"/degrees/masters/healthcare/public-health",permanent:!0},{source:"/degrees/accounting",destination:"/degrees/accounting-and-finance/accounting",permanent:!0},{source:"/degrees/humanities",destination:"/degrees/arts-and-humanities/humanities",permanent:!0},{source:"/degrees/bachelors/humanities",destination:"/degrees/bachelors/arts-and-humanities/humanities",permanent:!0},{source:"/degrees/masters/humanities",destination:"/degrees/masters/arts-and-humanities/humanities",permanent:!0},{source:"/business/whitepaper",destination:"/promo/futurelearn-for-business",permanent:!0},{source:"/business/contact-us",destination:"/promo/futurelearn-for-business",permanent:!0},{source:"/business/case-studies",destination:"/promo/futurelearn-for-business",permanent:!0}]},57176:function(e,t,r){"use strict";r.d(t,{I7:function(){return i},Nb:function(){return c},UK:function(){return o},Yj:function(){return s},y3:function(){return n}});let n=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return"/".concat(e.filter(e=>!!e).join("/"))},o=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(Object.keys(e).length){let t=new URLSearchParams(e).toString();return"?".concat(t.replace(/%2C/g,","))}return""},i=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(Object.keys(e).length){let t=new URLSearchParams(e).toString();return"?".concat(t)}return""},a=e=>e.toParam?e.toParam.startsWith("/")?e.toParam.slice(1):e.toParam:e.toString(),s=e=>e?".".concat(e):"",c=e=>e?"/".concat(a(e)):""},94935:function(e,t,r){"use strict";r.d(t,{BGC:function(){return o},Jz7:function(){return i},Z$9:function(){return c},_le:function(){return p},_oH:function(){return l},bs$:function(){return f},byS:function(){return s},s$7:function(){return a},uJY:function(){return u}});var n=r(57176);let o=function(e,t){let{format:r,...o}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return"".concat((0,n.Nb)("admin"),(0,n.Nb)("courses"),(0,n.Nb)(e),(0,n.Nb)(t),(0,n.Nb)("manage-team"),(0,n.Yj)(r),(0,n.I7)(o))},i=function(e,t){let{format:r,...o}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return"".concat((0,n.Nb)("admin"),(0,n.Nb)("courses"),(0,n.Nb)(e),(0,n.Nb)(t),(0,n.Nb)("educators"),(0,n.Yj)(r),(0,n.I7)(o))},a=function(e,t){let{format:r,...o}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return"".concat((0,n.Nb)("admin"),(0,n.Nb)("courses"),(0,n.Nb)(e),(0,n.Nb)(t),(0,n.Nb)("run_emails"),(0,n.Yj)(r),(0,n.I7)(o))},s=function(e,t){let{format:r,...o}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return"".concat((0,n.Nb)("admin"),(0,n.Nb)("courses"),(0,n.Nb)(e),(0,n.Nb)(t),(0,n.Nb)("new-spotify"),(0,n.Yj)(r),(0,n.I7)(o))},c=function(e,t){let{format:r,...o}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return"".concat((0,n.Nb)("admin"),(0,n.Nb)("courses"),(0,n.Nb)(e),(0,n.Nb)(t),(0,n.Nb)("edit"),(0,n.Yj)(r),(0,n.I7)(o))},u=function(e,t){let{format:r,...o}=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return"".concat((0,n.Nb)("admin"),(0,n.Nb)("courses"),(0,n.Nb)(e),(0,n.Nb)(t),(0,n.Yj)(r),(0,n.I7)(o))},l=function(){let{format:e,...t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return"".concat((0,n.Nb)("proof-of-learning"),(0,n.Nb)("certificate-of-achievement"),(0,n.Yj)(e),(0,n.I7)(t))},f=function(){let{format:e,...t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return"".concat((0,n.Nb)("learning-guide"),(0,n.Yj)(e),(0,n.I7)(t))},p=function(){let{format:e,...t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return"".concat((0,n.Nb)("cookie_banner"),(0,n.Yj)(e),(0,n.I7)(t))}},67497:function(e,t,r){"use strict";r.d(t,{aT:function(){return u},cs:function(){return l},jr:function(){return n},k7:function(){return c},rk:function(){return p}});var n,o=r(57632),i=r(84977),a=r(93413);let s=e=>{let t=new Date;return t.setTime(t.getTime()+e),t},c=e=>{var t,r,n;let o={pageType:e,referrer:null===(t=window.document)||void 0===t?void 0:t.referrer,...null===(r=window.FutureLearn)||void 0===r?void 0:r.ahoyAttributes};null===(n=window.ahoy)||void 0===n||n.trackView(o)},u=e=>{let t=(0,i.$1)(e);if(e.req){if(!t.ahoy_visit){let t=(0,o.Z)();e.req.headers.cookie="ahoy_visit=".concat(t,"; ").concat(e.req.headers.cookie),(0,i.d8)(e,"ahoy_visit",t,{path:"/",expires:s(144e5)}),(0,i.d8)(e,"ahoy_track","true",{path:"/"})}if(!t.ahoy_visitor){let t=(0,o.Z)();e.req.headers.cookie="ahoy_visitor=".concat(t,"; ").concat(e.req.headers.cookie),(0,i.d8)(e,"ahoy_visitor",t,{path:"/",expires:s(63072e6)})}}},l=(e,t)=>{var r,n,o;try{null===(n=window.ahoy)||void 0===n||n.track(e,{...null===(r=window.FutureLearn)||void 0===r?void 0:r.ahoyAttributes,...t})}catch(t){a.Logger.error("Error while trying to log to ahoy event",{type:"ahoy",properties:{errorMessage:null!==(o=null==t?void 0:t.message)&&void 0!==o?o:null==t?void 0:t.toString(),errorStack:null==t?void 0:t.stack,errorName:null==t?void 0:t.name,eventName:e}})}};(n||(n={})).Click="$click";let f=(e,t)=>({"data-ahoy-event":"$click","data-ahoy-event-properties":JSON.stringify({...t,...e})}),p=(e,t)=>f({"click-event-name":e},t)},59189:function(e,t,r){"use strict";r.d(t,{Ib:function(){return s},OR:function(){return c},rw:function(){return a}});var n=r(62286),o=r.n(n),i=r(89362);let a=function(e){var t;let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};null===(t=window[i.nW])||void 0===t||t.push({event:e,...r})},s=e=>{var t;null===(t=window[i.nW])||void 0===t||t.push({pageType:e})},c=()=>{try{let e=null===o()||void 0===o()?void 0:o().get();return null==e?void 0:e._ga}catch(e){return}}},63043:function(e,t,r){"use strict";let n,o;r.r(t),r.d(t,{default:function(){return oo}});var i,a,s,c,u,l,f,p=r(85893),d=r(4298),h=r.n(d),g=r(9008),m=r.n(g),y=r(4612),v=r(67294),b=r(84595),_=r(97125),w=r(94197),E=r(70610),O=r(73262),x=function(e){var t=e.children;return v.createElement("div",{className:"hiddenForPrint-module_hiddenForPrint__Dig6b"},t)},S=function(e){var t=e.closePath;return v.createElement("noscript",{className:"js-do-not-unwrap"},v.createElement(x,null,v.createElement(b.Z,{closePath:t},v.createElement(E.Z,{color:"light-grey"},v.createElement(O.Z,{spacing:"4 7 4 4"},v.createElement(w.Z,null,"FutureLearn uses cookies to enhance your experience of the website. All but strictly necessary cookies are currently disabled for this browser. Turn on JavaScript to exercise your cookie preferences for all non-essential cookies. You can read FutureLearn's Cookie policy"," ",v.createElement(_.Z,{size:"small","aria-label":"cookie policy",href:"/info/terms/cookie-policy"},"here"),"."))))))},k=r(97582),j=r(78287),A=r(48702);let T={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"]},P=new Set(Object.keys(T));function R(e){let t=null==e?void 0:e.kind;return"string"==typeof t&&P.has(t)}(i=u||(u={})).QUERY="query",i.MUTATION="mutation",i.SUBSCRIPTION="subscription",(a=l||(l={})).NAME="Name",a.DOCUMENT="Document",a.OPERATION_DEFINITION="OperationDefinition",a.VARIABLE_DEFINITION="VariableDefinition",a.SELECTION_SET="SelectionSet",a.FIELD="Field",a.ARGUMENT="Argument",a.FRAGMENT_SPREAD="FragmentSpread",a.INLINE_FRAGMENT="InlineFragment",a.FRAGMENT_DEFINITION="FragmentDefinition",a.VARIABLE="Variable",a.INT="IntValue",a.FLOAT="FloatValue",a.STRING="StringValue",a.BOOLEAN="BooleanValue",a.NULL="NullValue",a.ENUM="EnumValue",a.LIST="ListValue",a.OBJECT="ObjectValue",a.OBJECT_FIELD="ObjectField",a.DIRECTIVE="Directive",a.NAMED_TYPE="NamedType",a.LIST_TYPE="ListType",a.NON_NULL_TYPE="NonNullType",a.SCHEMA_DEFINITION="SchemaDefinition",a.OPERATION_TYPE_DEFINITION="OperationTypeDefinition",a.SCALAR_TYPE_DEFINITION="ScalarTypeDefinition",a.OBJECT_TYPE_DEFINITION="ObjectTypeDefinition",a.FIELD_DEFINITION="FieldDefinition",a.INPUT_VALUE_DEFINITION="InputValueDefinition",a.INTERFACE_TYPE_DEFINITION="InterfaceTypeDefinition",a.UNION_TYPE_DEFINITION="UnionTypeDefinition",a.ENUM_TYPE_DEFINITION="EnumTypeDefinition",a.ENUM_VALUE_DEFINITION="EnumValueDefinition",a.INPUT_OBJECT_TYPE_DEFINITION="InputObjectTypeDefinition",a.DIRECTIVE_DEFINITION="DirectiveDefinition",a.SCHEMA_EXTENSION="SchemaExtension",a.SCALAR_TYPE_EXTENSION="ScalarTypeExtension",a.OBJECT_TYPE_EXTENSION="ObjectTypeExtension",a.INTERFACE_TYPE_EXTENSION="InterfaceTypeExtension",a.UNION_TYPE_EXTENSION="UnionTypeExtension",a.ENUM_TYPE_EXTENSION="EnumTypeExtension",a.INPUT_OBJECT_TYPE_EXTENSION="InputObjectTypeExtension";let M=Object.freeze({});function N(e,t,r=T){let n,o,i;let a=new Map;for(let e of Object.values(l))a.set(e,function(e,t){let r=e[t];return"object"==typeof r?r:"function"==typeof r?{enter:r,leave:void 0}:{enter:e.enter,leave:e.leave}}(t,e));let s=Array.isArray(e),c=[e],u=-1,f=[],p=e,d=[],h=[];do{var g,m,y;let e;let l=++u===c.length,v=l&&0!==f.length;if(l){if(o=0===h.length?void 0:d[d.length-1],p=i,i=h.pop(),v){if(s){p=p.slice();let e=0;for(let[t,r]of f){let n=t-e;null===r?(p.splice(n,1),e++):p[n]=r}}else for(let[e,t]of(p=Object.defineProperties({},Object.getOwnPropertyDescriptors(p)),f))p[e]=t}u=n.index,c=n.keys,f=n.edits,s=n.inArray,n=n.prev}else if(i){if(null==(p=i[o=s?u:c[u]]))continue;d.push(o)}if(!Array.isArray(p)){R(p)||function(e,t){if(!e)throw Error(t)}(!1,`Invalid AST Node: ${function e(t,r){switch(typeof t){case"string":return JSON.stringify(t);case"function":return t.name?`[function ${t.name}]`:"[function]";case"object":return function(t,r){if(null===t)return"null";if(r.includes(t))return"[Circular]";let n=[...r,t];if("function"==typeof t.toJSON){let r=t.toJSON();if(r!==t)return"string"==typeof r?r:e(r,n)}else if(Array.isArray(t))return function(t,r){if(0===t.length)return"[]";if(r.length>2)return"[Array]";let n=Math.min(10,t.length),o=t.length-n,i=[];for(let o=0;o1&&i.push(`... ${o} more items`),"["+i.join(", ")+"]"}(t,n);return function(t,r){let n=Object.entries(t);return 0===n.length?"{}":r.length>2?"["+function(e){let t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){let t=e.constructor.name;if("string"==typeof t&&""!==t)return t}return t}(t)+"]":"{ "+n.map(([t,n])=>t+": "+e(n,r)).join(", ")+" }"}(t,n)}(t,r);default:return String(t)}}(p,[])}.`);let r=l?null===(g=a.get(p.kind))||void 0===g?void 0:g.leave:null===(m=a.get(p.kind))||void 0===m?void 0:m.enter;if((e=null==r?void 0:r.call(t,p,o,i,d,h))===M)break;if(!1===e){if(!l){d.pop();continue}}else if(void 0!==e&&(f.push([o,e]),!l)){if(R(e))p=e;else{d.pop();continue}}}void 0===e&&v&&f.push([o,p]),l?d.pop():(n={inArray:s,index:u,keys:c,edits:f,prev:n},c=(s=Array.isArray(p))?p:null!==(y=r[p.kind])&&void 0!==y?y:[],u=-1,f=[],i&&h.push(i),i=p)}while(void 0!==n);return 0!==f.length?f[f.length-1][1]:e}function C(e,t){var r,n=e.directives;return!n||!n.length||(r=[],n&&n.length&&n.forEach(function(e){var t;if(!("skip"!==(t=e.name.value)&&"include"!==t)){var n=e.arguments,o=e.name.value;(0,j.kG)(n&&1===n.length,69,o);var i=n[0];(0,j.kG)(i.name&&"if"===i.name.value,70,o);var a=i.value;(0,j.kG)(a&&("Variable"===a.kind||"BooleanValue"===a.kind),71,o),r.push({directive:e,ifArgument:i})}}),r).every(function(e){var r=e.directive,n=e.ifArgument,o=!1;return"Variable"===n.value.kind?(o=t&&t[n.value.name.value],(0,j.kG)(void 0!==o,68,r.name.value)):o=n.value.value,"skip"===r.name.value?!o:o})}function L(e,t,r){var n=new Set(e),o=n.size;return N(t,{Directive:function(e){if(n.delete(e.name.value)&&(!r||!n.size))return M}}),r?!n.size:n.size1)for(var n=new Y,o=1;o=0;--i){var a=o[i],s=isNaN(+a)?{}:[];s[a]=t,t=s}r=n.merge(r,t)}),r}var K=Object.prototype.hasOwnProperty;function J(e,t){e.status>=300&&z(e,function(){try{return JSON.parse(t)}catch(e){return t}}(),"Response not successful: Received status code ".concat(e.status));try{return JSON.parse(t)}catch(r){throw r.name="ServerParseError",r.response=e,r.statusCode=e.status,r.bodyText=t,r}}var X=function(e){if(!e&&"undefined"==typeof fetch)throw(0,j._K)(37)};function ee(e){return 9===e||32===e}let et=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function er(e){return en[e.charCodeAt(0)]}let en=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"],eo={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>ei(e.definitions,"\n\n")},OperationDefinition:{leave(e){let t=es("(",ei(e.variableDefinitions,", "),")"),r=ei([e.operation,ei([e.name,t]),ei(e.directives," ")]," ");return("query"===r?"":r+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:r,directives:n})=>e+": "+t+es(" = ",r)+es(" ",ei(n," "))},SelectionSet:{leave:({selections:e})=>ea(e)},Field:{leave({alias:e,name:t,arguments:r,directives:n,selectionSet:o}){let i=es("",e,": ")+t,a=i+es("(",ei(r,", "),")");return a.length>80&&(a=i+es("(\n",ec(ei(r,"\n")),"\n)")),ei([a,ei(n," "),o]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+es(" ",ei(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:r})=>ei(["...",es("on ",e),ei(t," "),r]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:r,directives:n,selectionSet:o})=>`fragment ${e}${es("(",ei(r,", "),")")} on ${t} ${es("",ei(n," ")," ")}`+o},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?function(e,t){let r=e.replace(/"""/g,'\\"""'),n=r.split(/\r\n|[\n\r]/g),o=1===n.length,i=n.length>1&&n.slice(1).every(e=>0===e.length||ee(e.charCodeAt(0))),a=r.endsWith('\\"""'),s=e.endsWith('"')&&!a,c=e.endsWith("\\"),u=s||c,l=!(null!=t&&t.minimize)&&(!o||e.length>70||u||i||a),f="",p=o&&ee(e.charCodeAt(0));return(l&&!p||i)&&(f+="\n"),f+=r,(l||u)&&(f+="\n"),'"""'+f+'"""'}(e):`"${e.replace(et,er)}"`},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+ei(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+ei(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+es("(",ei(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:r})=>es("",e,"\n")+ei(["schema",ei(t," "),ea(r)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:r})=>es("",e,"\n")+ei(["scalar",t,ei(r," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:o})=>es("",e,"\n")+ei(["type",t,es("implements ",ei(r," & ")),ei(n," "),ea(o)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:r,type:n,directives:o})=>es("",e,"\n")+t+(eu(r)?es("(\n",ec(ei(r,"\n")),"\n)"):es("(",ei(r,", "),")"))+": "+n+es(" ",ei(o," "))},InputValueDefinition:{leave:({description:e,name:t,type:r,defaultValue:n,directives:o})=>es("",e,"\n")+ei([t+": "+r,es("= ",n),ei(o," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:o})=>es("",e,"\n")+ei(["interface",t,es("implements ",ei(r," & ")),ei(n," "),ea(o)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:r,types:n})=>es("",e,"\n")+ei(["union",t,ei(r," "),es("= ",ei(n," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:r,values:n})=>es("",e,"\n")+ei(["enum",t,ei(r," "),ea(n)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:r})=>es("",e,"\n")+ei([t,ei(r," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:r,fields:n})=>es("",e,"\n")+ei(["input",t,ei(r," "),ea(n)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:r,repeatable:n,locations:o})=>es("",e,"\n")+"directive @"+t+(eu(r)?es("(\n",ec(ei(r,"\n")),"\n)"):es("(",ei(r,", "),")"))+(n?" repeatable":"")+" on "+ei(o," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>ei(["extend schema",ei(e," "),ea(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>ei(["extend scalar",e,ei(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>ei(["extend type",e,es("implements ",ei(t," & ")),ei(r," "),ea(n)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>ei(["extend interface",e,es("implements ",ei(t," & ")),ei(r," "),ea(n)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:r})=>ei(["extend union",e,ei(t," "),es("= ",ei(r," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:r})=>ei(["extend enum",e,ei(t," "),ea(r)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:r})=>ei(["extend input",e,ei(t," "),ea(r)]," ")}};function ei(e,t=""){var r;return null!==(r=null==e?void 0:e.filter(e=>e).join(t))&&void 0!==r?r:""}function ea(e){return es("{\n",ec(ei(e,"\n")),"\n}")}function es(e,t,r=""){return null!=t&&""!==t?e+t+r:""}function ec(e){return es(" ",e.replace(/\n/g,"\n "))}function eu(e){var t;return null!==(t=null==e?void 0:e.some(e=>e.includes("\n")))&&void 0!==t&&t}var el=r(38991),ef=r(66331),ep=r(88244),ed=Object.assign(function(e){var t=f.get(e);return t||(t=N(e,eo),f.set(e,t)),t},{reset:function(){f=new el.s(ef.Q.print||2e3)}});ed.reset(),!1!==globalThis.__DEV__&&(0,ep.zP)("print",function(){return f?f.size:0});var eh={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},eg=function(e,t){return t(e)};function em(e){return new I.y(function(t){t.error(e)})}var ey=r(36765),ev=r(51761),eb=r(23361),e_={kind:l.FIELD,name:{kind:l.NAME,value:"__typename"}};function ew(e){var t=new Map;return function(r){void 0===r&&(r=e);var n=t.get(r);return n||t.set(r,n={variables:new Set,fragmentSpreads:new Set}),n}}function eE(e,t){(0,ey.A$)(t);for(var r,n,o,i=ew(""),a=ew(""),s=function(e){for(var t=0,r=void 0;t=0;--u)t.definitions[u].kind===l.OPERATION_DEFINITION&&++c;var f=(r=new Map,n=new Map,e.forEach(function(e){e&&(e.name?r.set(e.name,e):e.test&&n.set(e.test,e))}),function(e){var t=r.get(e.name.value);return!t&&n.size&&n.forEach(function(r,n){n(e)&&(t=r)}),t}),p=function(e){return(0,H.O)(e)&&e.map(f).some(function(e){return e&&e.remove})},d=new Map,h=!1,g={enter:function(e){if(p(e.directives))return h=!0,null}},m=N(t,{Field:g,InlineFragment:g,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(e,t,r,n,o){var i=s(o);i&&i.variables.add(e.name.value)}},FragmentSpread:{enter:function(e,t,r,n,o){if(p(e.directives))return h=!0,null;var i=s(o);i&&i.fragmentSpreads.add(e.name.value)}},FragmentDefinition:{enter:function(e,t,r,n){d.set(JSON.stringify(n),e)},leave:function(e,t,r,n){return e===d.get(JSON.stringify(n))?e:c>0&&e.selectionSet.selections.every(function(e){return e.kind===l.FIELD&&"__typename"===e.name.value})?(a(e.name.value).removed=!0,h=!0,null):void 0}},Directive:{leave:function(e){if(f(e))return h=!0,null}}});if(!h)return t;var y=function(e){return e.transitiveVars||(e.transitiveVars=new Set(e.variables),e.removed||e.fragmentSpreads.forEach(function(t){y(a(t)).transitiveVars.forEach(function(t){e.transitiveVars.add(t)})})),e},v=new Set;m.definitions.forEach(function(e){e.kind===l.OPERATION_DEFINITION?y(i(e.name&&e.name.value)).fragmentSpreads.forEach(function(e){v.add(e)}):e.kind!==l.FRAGMENT_DEFINITION||0!==c||a(e.name.value).removed||v.add(e.name.value)}),v.forEach(function(e){y(a(e)).fragmentSpreads.forEach(function(e){v.add(e)})});var b={enter:function(e){var t;if(t=e.name.value,!v.has(t)||a(t).removed)return null}};return o=N(m,{FragmentSpread:b,FragmentDefinition:b,OperationDefinition:{leave:function(e){if(e.variableDefinitions){var t=y(i(e.name&&e.name.value)).transitiveVars;if(t.size-1;){if(m=void 0,m=(E=[s.slice(0,g),s.slice(g+a.length)])[0],s=E[1],y=m.indexOf("\r\n\r\n"),(v=function(e){var t={};return e.split("\n").forEach(function(e){var r=e.indexOf(":");if(r>-1){var n=e.slice(0,r).trim().toLowerCase(),o=e.slice(r+1).trim();t[n]=o}}),t}(m.slice(0,y))["content-type"])&&-1===v.toLowerCase().indexOf("application/json"))throw Error("Unsupported patch content type: application/json is required.");if(b=m.slice(y)){if(Object.keys(_=J(e,b)).length>1||"data"in _||"incremental"in _||"errors"in _||"payload"in _){if((0,q.s)(_)&&"payload"in _){if(w={},"payload"in _){if(1===Object.keys(_).length&&null===_.payload)return[2];w=(0,k.pi)({},_.payload)}"errors"in _&&(w=(0,k.pi)((0,k.pi)({},w),{extensions:(0,k.pi)((0,k.pi)({},"extensions"in w?w.extensions:null),((O={})[U.YG]=_.errors,O))})),t(w)}else t(_)}else if(1===Object.keys(_).length&&"hasNext"in _&&!_.hasNext)return[2]}g=s.indexOf(a)}return[3,1];case 3:return[2]}})})}(t,o):t.text().then(function(e){return J(t,e)}).then(function(r){return Array.isArray(r)||K.call(r,"data")||K.call(r,"errors")||z(t,r,"Server response was missing for query '".concat(Array.isArray(e)?e.map(function(e){return e.operationName}):e.operationName,"'.")),r}).then(o)}).then(function(){h=void 0,t.complete()}).catch(function(e){h=void 0,e.result&&e.result.errors&&e.result.data&&t.next(e.result),t.error(e)}),function(){h&&h.abort()}})})},ej=A.i.execute,eA=r(49379),eT=function(e){function t(t){void 0===t&&(t={});var r=e.call(this,ek(t).request)||this;return r.options=t,r}return(0,k.ZT)(t,e),t}(A.i),eP=r(30020),eR=r(5466);let eM=()=>Object.create(null),{forEach:eN,slice:eC}=Array.prototype,{hasOwnProperty:eL}=Object.prototype;class eI{constructor(e=!0,t=eM){this.weakness=e,this.makeData=t}lookup(){return this.lookupArray(arguments)}lookupArray(e){let t=this;return eN.call(e,e=>t=t.getChildTrie(e)),eL.call(t,"data")?t.data:t.data=this.makeData(eC.call(e))}peek(){return this.peekArray(arguments)}peekArray(e){let t=this;for(let r=0,n=e.length;t&&rObject.create(null),{forEach:eF,slice:ez}=Array.prototype,{hasOwnProperty:eU}=Object.prototype;class eq{constructor(e=!0,t=eD){this.weakness=e,this.makeData=t}lookup(...e){return this.lookupArray(e)}lookupArray(e){let t=this;return eF.call(e,e=>t=t.getChildTrie(e)),eU.call(t,"data")?t.data:t.data=this.makeData(ez.call(e))}peek(...e){return this.peekArray(e)}peekArray(e){let t=this;for(let r=0,n=e.length;t&&rt.push(e)),t};function e1(e){let{unsubscribe:t}=e;"function"==typeof t&&(e.unsubscribe=void 0,t())}let e2=[];function e3(e,t){if(!e)throw Error(t||"assertion failure")}function e5(e,t){let r=e.length;return r>0&&r===t.length&&e[r-1]===t[r-1]}function e4(e){switch(e.length){case 0:throw Error("unknown value");case 1:return e[0];case 2:throw e[1]}}class e6{constructor(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,++e6.count}peek(){if(1===this.value.length&&!e9(this))return e8(this),this.value[0]}recompute(e){var t;return e3(!this.recomputing,"already recomputing"),e8(this),e9(this)&&(to(this),eJ.withValue(this,e7,[this,e]),function(e,t){if("function"==typeof e.subscribe)try{e1(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(t){return e.setDirty(),!1}return!0}(this,e)&&(this.dirty=!1,e9(this)||(t=this,te(t,tr)))),e4(this.value)}setDirty(){this.dirty||(this.dirty=!0,te(this,tt),e1(this))}dispose(){this.setDirty(),to(this),te(this,(e,t)=>{e.setDirty(),ti(e,this)})}forget(){this.dispose()}dependOn(e){e.add(this),this.deps||(this.deps=e2.pop()||new Set),this.deps.add(e)}forgetDeps(){this.deps&&(e0(this.deps).forEach(e=>e.delete(this)),this.deps.clear(),e2.push(this.deps),this.deps=null)}}function e8(e){let t=eJ.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),e9(e)?tt(t,e):tr(t,e),t}function e7(e,t){let r;e.recomputing=!0;let{normalizeResult:n}=e;n&&1===e.value.length&&(r=e.value.slice(0)),e.value.length=0;try{if(e.value[0]=e.fn.apply(null,t),n&&r&&!e5(r,e.value))try{e.value[0]=n(e.value[0],r[0])}catch(e){}}catch(t){e.value[1]=t}e.recomputing=!1}function e9(e){return e.dirty||!!(e.dirtyChildren&&e.dirtyChildren.size)}function te(e,t){let r=e.parents.size;if(r){let n=e0(e.parents);for(let o=0;o0&&e.childValues.forEach((t,r)=>{ti(e,r)}),e.forgetDeps(),e3(null===e.dirtyChildren)}function ti(e,t){t.parents.delete(e),e.childValues.delete(t),tn(e,t)}e6.count=0;let ta={setDirty:!0,dispose:!0,forget:!0};function ts(e){let t=new Map,r=e&&e.subscribe;function n(e){let n=eJ.getValue();if(n){let o=t.get(e);o||t.set(e,o=new Set),n.dependOn(o),"function"==typeof r&&(e1(o),o.unsubscribe=r(e))}}return n.dirty=function(e,r){let n=t.get(e);if(n){let o=r&&eX.call(ta,r)?r:"setDirty";e0(n).forEach(e=>e[o]()),t.delete(e),e1(n)}},n}function tc(...e){return(n||(n=new eq("function"==typeof WeakMap))).lookupArray(e)}let tu=new Set;function tl(e,{max:t=65536,keyArgs:r,makeCacheKey:n=tc,normalizeResult:o,subscribe:i,cache:a=eV.e}=Object.create(null)){let s="function"==typeof a?new a(t,e=>e.dispose()):a,c=function(){let t=n.apply(null,r?r.apply(null,arguments):arguments);if(void 0===t)return e.apply(null,arguments);let a=s.get(t);a||(s.set(t,a=new e6(e)),a.normalizeResult=o,a.subscribe=i,a.forget=()=>s.delete(t));let c=a.recompute(Array.prototype.slice.call(arguments));return s.set(t,a),tu.add(s),eJ.hasValue()||(tu.forEach(e=>e.clean()),tu.clear()),c};function u(e){let t=e&&s.get(e);t&&t.setDirty()}function l(e){let t=e&&s.get(e);if(t)return t.peek()}function f(e){return!!e&&s.delete(e)}return Object.defineProperty(c,"size",{get:()=>s.size,configurable:!1,enumerable:!1}),Object.freeze(c.options={max:t,keyArgs:r,makeCacheKey:n,normalizeResult:o,subscribe:i,cache:s}),c.dirtyKey=u,c.dirty=function(){u(n.apply(null,arguments))},c.peekKey=l,c.peek=function(){return l(n.apply(null,arguments))},c.forgetKey=f,c.forget=function(){return f(n.apply(null,arguments))},c.makeCacheKey=n,c.getKey=r?function(){return n.apply(null,r.apply(null,arguments))}:n,Object.freeze(c)}function tf(e){return e}var tp=function(){function e(e,t){void 0===t&&(t=Object.create(null)),this.resultCache=D.sy?new WeakSet:new Set,this.transform=e,t.getCacheKey&&(this.getCacheKey=t.getCacheKey),this.cached=!1!==t.cache,this.resetCache()}return e.prototype.getCacheKey=function(e){return[e]},e.identity=function(){return new e(tf,{cache:!1})},e.split=function(t,r,n){return void 0===n&&(n=e.identity()),Object.assign(new e(function(e){return(t(e)?r:n).transformDocument(e)},{cache:!1}),{left:r,right:n})},e.prototype.resetCache=function(){var t=this;if(this.cached){var r=new eI(D.mr);this.performWork=tl(e.prototype.performWork.bind(this),{makeCacheKey:function(e){var n=t.getCacheKey(e);if(n)return(0,j.kG)(Array.isArray(n),67),r.lookupArray(n)},max:ef.Q["documentTransform.cache"],cache:eB.k})}},e.prototype.performWork=function(e){return(0,ey.A$)(e),this.transform(e)},e.prototype.transformDocument=function(e){if(this.resultCache.has(e))return e;var t=this.performWork(e);return this.resultCache.add(t),t},e.prototype.concat=function(t){var r=this;return Object.assign(new e(function(e){return t.transformDocument(r.transformDocument(e))},{cache:!1}),{left:this,right:t})},e}();function td(e,t,r){return new I.y(function(n){var o={then:function(e){return new Promise(function(t){return t(e())})}};function i(e,t){return function(r){if(e){var i=function(){return n.closed?0:e(r)};o=o.then(i,i).then(function(e){return n.next(e)},function(e){return n.error(e)})}else n[t](r)}}var a={next:i(t,"next"),error:i(r,"error"),complete:function(){o.then(function(){return n.complete()})}},s=e.subscribe(a);return function(){return s.unsubscribe()}})}function th(e){var t=tg(e);return(0,H.O)(t)}function tg(e){var t=(0,H.O)(e.errors)?e.errors.slice(0):[];return $(e)&&(0,H.O)(e.incremental)&&e.incremental.forEach(function(e){e.errors&&t.push.apply(t,e.errors)}),t}var tm=r(60897);function ty(e,t,r){var n=[];e.forEach(function(e){return e[t]&&n.push(e)}),n.forEach(function(e){return e[t](r)})}function tv(e){function t(t){Object.defineProperty(e,t,{value:I.y})}return D.aS&&Symbol.species&&t(Symbol.species),t("@@species"),e}function tb(e){return e&&"function"==typeof e.then}var t_=function(e){function t(t){var r=e.call(this,function(e){return r.addObserver(e),function(){return r.removeObserver(e)}})||this;return r.observers=new Set,r.promise=new Promise(function(e,t){r.resolve=e,r.reject=t}),r.handlers={next:function(e){null!==r.sub&&(r.latest=["next",e],r.notify("next",e),ty(r.observers,"next",e))},error:function(e){var t=r.sub;null!==t&&(t&&setTimeout(function(){return t.unsubscribe()}),r.sub=null,r.latest=["error",e],r.reject(e),r.notify("error",e),ty(r.observers,"error",e))},complete:function(){var e=r.sub,t=r.sources;if(null!==e){var n=(void 0===t?[]:t).shift();n?tb(n)?n.then(function(e){return r.sub=e.subscribe(r.handlers)},r.handlers.error):r.sub=n.subscribe(r.handlers):(e&&setTimeout(function(){return e.unsubscribe()}),r.sub=null,r.latest&&"next"===r.latest[0]?r.resolve(r.latest[1]):r.resolve(),r.notify("complete"),ty(r.observers,"complete"))}}},r.nextResultListeners=new Set,r.cancel=function(e){r.reject(e),r.sources=[],r.handlers.complete()},r.promise.catch(function(e){}),"function"==typeof t&&(t=[new I.y(t)]),tb(t)?t.then(function(e){return r.start(e)},r.handlers.error):r.start(t),r}return(0,k.ZT)(t,e),t.prototype.start=function(e){void 0===this.sub&&(this.sources=Array.from(e),this.handlers.complete())},t.prototype.deliverLastMessage=function(e){if(this.latest){var t=this.latest[0],r=e[t];r&&r.call(e,this.latest[1]),null===this.sub&&"next"===t&&e.complete&&e.complete()}},t.prototype.addObserver=function(e){this.observers.has(e)||(this.deliverLastMessage(e),this.observers.add(e))},t.prototype.removeObserver=function(e){this.observers.delete(e)&&this.observers.size<1&&this.handlers.complete()},t.prototype.notify=function(e,t){var r=this.nextResultListeners;r.size&&(this.nextResultListeners=new Set,r.forEach(function(r){return r(e,t)}))},t.prototype.beforeNext=function(e){var t=!1;this.nextResultListeners.add(function(r,n){t||(t=!0,e(r,n))})},t}(I.y);tv(t_);var tw=r(1644),tE=r(53712),tO=Object.prototype.toString;function tx(e,t){switch(tO.call(e)){case"[object Array]":if((t=t||new Map).has(e))return t.get(e);var r=e.slice(0);return t.set(e,r),r.forEach(function(e,n){r[n]=tx(e,t)}),r;case"[object Object]":if((t=t||new Map).has(e))return t.get(e);var n=Object.create(Object.getPrototypeOf(e));return t.set(e,n),Object.keys(e).forEach(function(r){n[r]=tx(e[r],t)}),n;default:return e}}function tS(e,t,r,n){var o=t.data,i=(0,k._T)(t,["data"]),a=r.data,s=(0,k._T)(r,["data"]);return(0,eP.Z)(i,s)&&function e(t,r,n,o){if(r===n)return!0;var i=new Set;return t.selections.every(function(t){if(i.has(t)||(i.add(t),!C(t,o.variables)||tk(t)))return!0;if((0,ev.My)(t)){var a=(0,ev.u2)(t),s=r&&r[a],c=n&&n[a],u=t.selectionSet;if(!u)return(0,eP.Z)(s,c);var l=Array.isArray(s),f=Array.isArray(c);if(l!==f)return!1;if(l&&f){var p=s.length;if(c.length!==p)return!1;for(var d=0;d0},t.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach(function(e){return e.unsubscribe()}),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},t.prototype.transformDocument=function(e){return this.queryManager.transform(e)},t}(I.y);function tR(e){var t=e.options,r=t.fetchPolicy,n=t.nextFetchPolicy;return"cache-and-network"===r||"network-only"===r?e.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(e,t){return(this.nextFetchPolicy=n,"function"==typeof this.nextFetchPolicy)?this.nextFetchPolicy(e,t):r}}):e.reobserve()}function tM(e){!1!==globalThis.__DEV__&&j.kG.error(23,e.message,e.stack)}function tN(e){!1!==globalThis.__DEV__&&e&&!1!==globalThis.__DEV__&&j.kG.debug(24,e)}function tC(e){return"network-only"===e||"no-cache"===e||"standby"===e}function tL(e){return e.kind===l.FIELD||e.kind===l.FRAGMENT_SPREAD||e.kind===l.INLINE_FRAGMENT}tv(tP);var tI=new eK,tB=new WeakMap;function tD(e){var t=tB.get(e);return t||tB.set(e,t={vars:new Set,dep:ts()}),t}function tF(e){tD(e).vars.forEach(function(t){return t.forgetCache(e)})}function tz(e){var t=new Set,r=new Set,n=function(i){if(arguments.length>0){if(e!==i){e=i,t.forEach(function(e){tD(e).dep.dirty(n),e.broadcastWatches&&e.broadcastWatches()});var a=Array.from(r);r.clear(),a.forEach(function(t){return t(e)})}}else{var s=tI.getValue();s&&(o(s),tD(s).dep(n))}return e};n.onNextChange=function(e){return r.add(e),function(){r.delete(e)}};var o=n.attachCache=function(e){return t.add(e),tD(e).vars.add(n),n};return n.forgetCache=function(e){return t.delete(e)},n}var tU=function(){function e(e){var t=e.cache,r=e.client,n=e.resolvers,o=e.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,this.cache=t,r&&(this.client=r),n&&this.addResolvers(n),o&&this.setFragmentMatcher(o)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach(function(e){t.resolvers=W(t.resolvers,e)}):this.resolvers=W(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){return(0,k.mG)(this,arguments,void 0,function(e){var t=e.document,r=e.remoteResult,n=e.context,o=e.variables,i=e.onlyRunForcedResolvers,a=void 0!==i&&i;return(0,k.Jh)(this,function(e){return t?[2,this.resolveDocument(t,r.data,n,o,this.fragmentMatcher,a).then(function(e){return(0,k.pi)((0,k.pi)({},r),{data:e.result})})]:[2,r]})})},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return L(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return ex(e)},e.prototype.prepareContext=function(e){var t=this.cache;return(0,k.pi)((0,k.pi)({},e),{cache:t,getCacheKey:function(e){return t.identify(e)}})},e.prototype.addExportedVariables=function(e){return(0,k.mG)(this,arguments,void 0,function(e,t,r){return void 0===t&&(t={}),void 0===r&&(r={}),(0,k.Jh)(this,function(n){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(r),t).then(function(e){return(0,k.pi)((0,k.pi)({},t),e.exportedVariables)})]:[2,(0,k.pi)({},t)]})})},e.prototype.shouldForceResolvers=function(e){var t=!1;return N(e,{Directive:{enter:function(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 M}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:"query"===(0,ey.p$)(e).operation?e:N(e,{OperationDefinition:{enter:function(e){return(0,k.pi)((0,k.pi)({},e),{operation:"query"})}}}),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t){return(0,k.mG)(this,arguments,void 0,function(e,t,r,n,o,i){var a,s,c,u,l,f,p,d,h,g;return void 0===r&&(r={}),void 0===n&&(n={}),void 0===o&&(o=function(){return!0}),void 0===i&&(i=!1),(0,k.Jh)(this,function(m){return a=(0,ey.p$)(e),s=(0,ey.kU)(e),c=(0,eb.F)(s),u=this.collectSelectionsToResolve(a,c),f=(l=a.operation)?l.charAt(0).toUpperCase()+l.slice(1):"Query",p=this,d=p.cache,h=p.client,g={fragmentMap:c,context:(0,k.pi)((0,k.pi)({},r),{cache:d,client:h}),variables:n,fragmentMatcher:o,defaultOperationType:f,exportedVariables:{},selectionsToResolve:u,onlyRunForcedResolvers:i},[2,this.resolveSelectionSet(a.selectionSet,!1,t,g).then(function(e){return{result:e,exportedVariables:g.exportedVariables}})]})})},e.prototype.resolveSelectionSet=function(e,t,r,n){return(0,k.mG)(this,void 0,void 0,function(){var o,i,a,s,c,u=this;return(0,k.Jh)(this,function(l){return o=n.fragmentMap,i=n.context,a=n.variables,s=[r],c=function(e){return(0,k.mG)(u,void 0,void 0,function(){var c,u;return(0,k.Jh)(this,function(l){return(t||n.selectionsToResolve.has(e))&&C(e,a)?(0,ev.My)(e)?[2,this.resolveField(e,t,r,n).then(function(t){var r;void 0!==t&&s.push(((r={})[(0,ev.u2)(e)]=t,r))})]:((0,ev.Ao)(e)?c=e:(c=o[e.name.value],(0,j.kG)(c,18,e.name.value)),c&&c.typeCondition&&(u=c.typeCondition.name.value,n.fragmentMatcher(r,u,i)))?[2,this.resolveSelectionSet(c.selectionSet,t,r,n).then(function(e){s.push(e)})]:[2]:[2]})})},[2,Promise.all(e.selections.map(c)).then(function(){return Z(s)})]})})},e.prototype.resolveField=function(e,t,r,n){return(0,k.mG)(this,void 0,void 0,function(){var o,i,a,s,c,u,l,f,p,d=this;return(0,k.Jh)(this,function(h){return r?(o=n.variables,s=(i=e.name.value)!==(a=(0,ev.u2)(e)),u=Promise.resolve(c=r[a]||r[i]),(!n.onlyRunForcedResolvers||this.shouldForceResolvers(e))&&(l=r.__typename||n.defaultOperationType,(f=this.resolvers&&this.resolvers[l])&&(p=f[s?i:a])&&(u=Promise.resolve(tI.withValue(this.cache,p,[r,(0,ev.NC)(e,o),n.context,{field:e,fragmentMap:n.fragmentMap}])))),[2,u.then(function(r){if(void 0===r&&(r=c),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]=r)})}),!e.selectionSet||null==r)return r;var o,i,a=null!==(i=null===(o=e.directives)||void 0===o?void 0:o.some(function(e){return"client"===e.name.value}))&&void 0!==i&&i;return Array.isArray(r)?d.resolveSubSelectedArray(e,t||a,r,n):e.selectionSet?d.resolveSelectionSet(e.selectionSet,t||a,r,n):void 0})]):[2,null]})})},e.prototype.resolveSubSelectedArray=function(e,t,r,n){var o=this;return Promise.all(r.map(function(r){return null===r?null:Array.isArray(r)?o.resolveSubSelectedArray(e,t,r,n):e.selectionSet?o.resolveSelectionSet(e.selectionSet,t,r,n):void 0}))},e.prototype.collectSelectionsToResolve=function(e,t){var r=function(e){return!Array.isArray(e)},n=this.selectionsToResolveCache;return function e(o){if(!n.has(o)){var i=new Set;n.set(o,i),N(o,{Directive:function(e,t,n,o,a){"client"===e.name.value&&a.forEach(function(e){r(e)&&tL(e)&&i.add(e)})},FragmentSpread:function(n,o,a,s,c){var u=t[n.name.value];(0,j.kG)(u,19,n.name.value);var l=e(u);l.size>0&&(c.forEach(function(e){r(e)&&tL(e)&&i.add(e)}),i.add(n),l.forEach(function(e){i.add(e)}))}})}return n.get(o)}(e)},e}(),tq=new(D.mr?WeakMap:Map);function tH(e,t){var r=e[t];"function"==typeof r&&(e[t]=function(){return tq.set(e,(tq.get(e)+1)%1e15),r.apply(this,arguments)})}function tV(e){e.notifyTimeout&&(clearTimeout(e.notifyTimeout),e.notifyTimeout=void 0)}var tW=function(){function e(e,t){void 0===t&&(t=e.generateQueryId()),this.queryId=t,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.stopped=!1,this.dirty=!1,this.observableQuery=null;var r=this.cache=e.cache;tq.has(r)||(tq.set(r,0),tH(r,"evict"),tH(r,"modify"),tH(r,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||tw.Ie.loading;return this.variables&&this.networkStatus!==tw.Ie.loading&&!(0,eP.D)(this.variables,e.variables)&&(t=tw.Ie.setVariables),(0,eP.D)(e.variables,this.variables)||(this.lastDiff=void 0),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},e.prototype.reset=function(){tV(this),this.dirty=!1},e.prototype.resetDiff=function(){this.lastDiff=void 0},e.prototype.getDiff=function(){var e=this.getDiffOptions();if(this.lastDiff&&(0,eP.D)(e,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables);var t=this.observableQuery;if(t&&"no-cache"===t.options.fetchPolicy)return{complete:!1};var r=this.cache.diff(e);return this.updateLastDiff(r,e),r},e.prototype.updateLastDiff=function(e,t){this.lastDiff=e?{diff:e,options:t||this.getDiffOptions()}:void 0},e.prototype.getDiffOptions=function(e){var t;return void 0===e&&(e=this.variables),{query:this.document,variables:e,returnPartialData:!0,optimistic:!0,canonizeResults:null===(t=this.observableQuery)||void 0===t?void 0:t.options.canonizeResults}},e.prototype.setDiff=function(e){var t,r=this,n=this.lastDiff&&this.lastDiff.diff;!(e&&!e.complete&&(null===(t=this.observableQuery)||void 0===t?void 0:t.getLastError()))&&(this.updateLastDiff(e),this.dirty||(0,eP.D)(n&&n.result,e&&e.result)||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(function(){return r.notify()},0))))},e.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():tR(e)})):delete this.oqListener)},e.prototype.notify=function(){var e=this;tV(this),this.shouldNotify()&&this.listeners.forEach(function(t){return t(e)}),this.dirty=!1},e.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if((0,tw.Oj)(this.networkStatus)&&this.observableQuery){var e=this.observableQuery.options.fetchPolicy;if("cache-only"!==e&&"cache-and-network"!==e)return!1}return!0},e.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.reset(),this.cancel(),this.cancel=e.prototype.cancel;var t=this.observableQuery;t&&t.stopPolling()}},e.prototype.cancel=function(){},e.prototype.updateWatch=function(e){var t=this;void 0===e&&(e=this.variables);var r=this.observableQuery;if(!r||"no-cache"!==r.options.fetchPolicy){var n=(0,k.pi)((0,k.pi)({},this.getDiffOptions(e)),{watcher:this,callback:function(e){return t.setDiff(e)}});this.lastWatch&&(0,eP.D)(n,this.lastWatch)||(this.cancel(),this.cancel=this.cache.watch(this.lastWatch=n))}},e.prototype.resetLastWrite=function(){this.lastWrite=void 0},e.prototype.shouldWrite=function(e,t){var r=this.lastWrite;return!(r&&r.dmCount===tq.get(this.cache)&&(0,eP.D)(t,r.variables)&&(0,eP.D)(e.data,r.result.data))},e.prototype.markResult=function(e,t,r,n){var o=this,i=new Y,a=(0,H.O)(e.errors)?e.errors.slice(0):[];if(this.reset(),"incremental"in e&&(0,H.O)(e.incremental)){var s=Q(this.getDiff().result,e);e.data=s}else if("hasNext"in e&&e.hasNext){var c=this.getDiff();e.data=i.merge(c.result,e.data)}this.graphQLErrors=a,"no-cache"===r.fetchPolicy?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(r.variables)):0!==n&&(tZ(e,r.errorPolicy)?this.cache.performTransaction(function(i){if(o.shouldWrite(e,r.variables))i.writeQuery({query:t,data:e.data,variables:r.variables,overwrite:1===n}),o.lastWrite={result:e,variables:r.variables,dmCount:tq.get(o.cache)};else if(o.lastDiff&&o.lastDiff.diff.complete){e.data=o.lastDiff.diff.result;return}var a=o.getDiffOptions(r.variables),s=i.diff(a);!o.stopped&&(0,eP.D)(o.variables,r.variables)&&o.updateWatch(r.variables),o.updateLastDiff(s,a),s.complete&&(e.data=s.result)}):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=tw.Ie.ready},e.prototype.markError=function(e){return this.networkStatus=tw.Ie.error,this.lastWrite=void 0,this.reset(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function tZ(e,t){void 0===t&&(t="none");var r="ignore"===t||"all"===t,n=!th(e);return!n&&r&&e.data&&(n=!0),n}var tG=Object.prototype.hasOwnProperty,tY=Object.create(null),t$=function(){function e(e){var t=e.cache,r=e.link,n=e.defaultOptions,o=e.documentTransform,i=e.queryDeduplication,a=e.onBroadcast,s=e.ssrMode,c=e.clientAwareness,u=e.localState,l=e.assumeImmutableResults,f=void 0===l?!!t.assumeImmutableResults:l,p=e.defaultContext,d=this;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new el.s(ef.Q["queryManager.getDocumentInfo"]||2e3),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new eI(!1);var h=new tp(function(e){return d.cache.transformDocument(e)},{cache:!1});this.cache=t,this.link=r,this.defaultOptions=n||Object.create(null),this.queryDeduplication=void 0!==i&&i,this.clientAwareness=void 0===c?{}:c,this.localState=u||new tU({cache:t}),this.ssrMode=void 0!==s&&s,this.assumeImmutableResults=f,this.documentTransform=o?h.concat(o).concat(h):h,this.defaultContext=p||Object.create(null),(this.onBroadcast=a)&&(this.mutationStore=Object.create(null))}return e.prototype.stop=function(){var e=this;this.queries.forEach(function(t,r){e.stopQueryNoBroadcast(r)}),this.cancelPendingFetches((0,j._K)(25))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach(function(t){return t(e)}),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){return(0,k.mG)(this,arguments,void 0,function(e){var t,r,n,o,i,a,s,c=e.mutation,u=e.variables,l=e.optimisticResponse,f=e.updateQueries,p=e.refetchQueries,d=void 0===p?[]:p,h=e.awaitRefetchQueries,g=void 0!==h&&h,m=e.update,y=e.onQueryUpdated,v=e.fetchPolicy,b=void 0===v?(null===(a=this.defaultOptions.mutate)||void 0===a?void 0:a.fetchPolicy)||"network-only":v,_=e.errorPolicy,w=void 0===_?(null===(s=this.defaultOptions.mutate)||void 0===s?void 0:s.errorPolicy)||"none":_,E=e.keepRootFields,O=e.context;return(0,k.Jh)(this,function(e){switch(e.label){case 0:if((0,j.kG)(c,26),(0,j.kG)("network-only"===b||"no-cache"===b,27),t=this.generateMutationId(),c=this.cache.transformForLink(this.transform(c)),r=this.getDocumentInfo(c).hasClientExports,u=this.getVariables(c,u),!r)return[3,2];return[4,this.localState.addExportedVariables(c,u,O)];case 1:u=e.sent(),e.label=2;case 2:return n=this.mutationStore&&(this.mutationStore[t]={mutation:c,variables:u,loading:!0,error:null}),o=l&&this.markMutationOptimistic(l,{mutationId:t,document:c,variables:u,fetchPolicy:b,errorPolicy:w,context:O,updateQueries:f,update:m,keepRootFields:E}),this.broadcastQueries(),i=this,[2,new Promise(function(e,r){return td(i.getObservableFromLink(c,(0,k.pi)((0,k.pi)({},O),{optimisticResponse:o?l:void 0}),u,!1),function(e){if(th(e)&&"none"===w)throw new U.cA({graphQLErrors:tg(e)});n&&(n.loading=!1,n.error=null);var r=(0,k.pi)({},e);return"function"==typeof d&&(d=d(r)),"ignore"===w&&th(r)&&delete r.errors,i.markMutationResult({mutationId:t,result:r,document:c,variables:u,fetchPolicy:b,errorPolicy:w,context:O,update:m,updateQueries:f,awaitRefetchQueries:g,refetchQueries:d,removeOptimistic:o?t:void 0,onQueryUpdated:y,keepRootFields:E})}).subscribe({next:function(t){i.broadcastQueries(),"hasNext"in t&&!1!==t.hasNext||e(t)},error:function(e){n&&(n.loading=!1,n.error=e),o&&i.cache.removeOptimistic(t),i.broadcastQueries(),r(e instanceof U.cA?e:new U.cA({networkError:e}))}})})]}})})},e.prototype.markMutationResult=function(e,t){var r=this;void 0===t&&(t=this.cache);var n=e.result,o=[],i="no-cache"===e.fetchPolicy;if(!i&&tZ(n,e.errorPolicy)){if($(n)||o.push({result:n.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),$(n)&&(0,H.O)(n.incremental)){var a=t.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0}),s=void 0;a.result&&(s=Q(a.result,n)),void 0!==s&&(n.data=s,o.push({result:s,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}))}var c=e.updateQueries;c&&this.queries.forEach(function(e,i){var a=e.observableQuery,s=a&&a.queryName;if(s&&tG.call(c,s)){var u=c[s],l=r.queries.get(i),f=l.document,p=l.variables,d=t.diff({query:f,variables:p,returnPartialData:!0,optimistic:!1}),h=d.result;if(d.complete&&h){var g=u(h,{mutationResult:n,queryName:f&&(0,ey.rY)(f)||void 0,queryVariables:p});g&&o.push({result:g,dataId:"ROOT_QUERY",query:f,variables:p})}}})}if(o.length>0||(e.refetchQueries||"").length>0||e.update||e.onQueryUpdated||e.removeOptimistic){var u=[];if(this.refetchQueries({updateCache:function(t){i||o.forEach(function(e){return t.write(e)});var a,s=e.update,c=!($(a=n)||"hasNext"in a&&"data"in a)||$(n)&&!n.hasNext;if(s){if(!i){var u=t.diff({id:"ROOT_MUTATION",query:r.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});u.complete&&("incremental"in(n=(0,k.pi)((0,k.pi)({},n),{data:u.result}))&&delete n.incremental,"hasNext"in n&&delete n.hasNext)}c&&s(t,n,{context:e.context,variables:e.variables})}i||e.keepRootFields||!c||t.modify({id:"ROOT_MUTATION",fields:function(e,t){var r=t.fieldName,n=t.DELETE;return"__typename"===r?e:n}})},include:e.refetchQueries,optimistic:!1,removeOptimistic:e.removeOptimistic,onQueryUpdated:e.onQueryUpdated||null}).forEach(function(e){return u.push(e)}),e.awaitRefetchQueries||e.onQueryUpdated)return Promise.all(u).then(function(){return n})}return Promise.resolve(n)},e.prototype.markMutationOptimistic=function(e,t){var r=this,n="function"==typeof e?e(t.variables,{IGNORE:tY}):e;return n!==tY&&(this.cache.recordOptimisticTransaction(function(e){try{r.markMutationResult((0,k.pi)((0,k.pi)({},t),{result:{data:n}}),e)}catch(e){!1!==globalThis.__DEV__&&j.kG.error(e)}},t.mutationId),!0)},e.prototype.fetchQuery=function(e,t,r){return this.fetchConcastWithInfo(e,t,r).concast.promise},e.prototype.getQueryStore=function(){var e=Object.create(null);return this.queries.forEach(function(t,r){e[r]={variables:t.variables,networkStatus:t.networkStatus,networkError:t.networkError,graphQLErrors:t.graphQLErrors}}),e},e.prototype.resetErrors=function(e){var t=this.queries.get(e);t&&(t.networkError=void 0,t.graphQLErrors=[])},e.prototype.transform=function(e){return this.documentTransform.transformDocument(e)},e.prototype.getDocumentInfo=function(e){var t=this.transformCache;if(!t.has(e)){var r={hasClientExports:e&&L(["client","export"],e,!0),hasForcedResolvers:this.localState.shouldForceResolvers(e),hasNonreactiveDirective:L(["nonreactive"],e),clientQuery:this.localState.clientQuery(e),serverQuery:eE([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"}],e),defaultVars:(0,ey.O4)((0,ey.$H)(e)),asQuery:(0,k.pi)((0,k.pi)({},e),{definitions:e.definitions.map(function(e){return"OperationDefinition"===e.kind&&"query"!==e.operation?(0,k.pi)((0,k.pi)({},e),{operation:"query"}):e})})};t.set(e,r)}return t.get(e)},e.prototype.getVariables=function(e,t){return(0,k.pi)((0,k.pi)({},this.getDocumentInfo(e).defaultVars),t)},e.prototype.watchQuery=function(e){var t=this.transform(e.query);void 0===(e=(0,k.pi)((0,k.pi)({},e),{variables:this.getVariables(t,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var r=new tW(this),n=new tP({queryManager:this,queryInfo:r,options:e});return n.lastQuery=t,this.queries.set(n.queryId,r),r.init({document:t,observableQuery:n,variables:n.variables}),n},e.prototype.query=function(e,t){var r=this;return void 0===t&&(t=this.generateQueryId()),(0,j.kG)(e.query,28),(0,j.kG)("Document"===e.query.kind,29),(0,j.kG)(!e.returnPartialData,30),(0,j.kG)(!e.pollInterval,31),this.fetchQuery(t,(0,k.pi)((0,k.pi)({},e),{query:this.transform(e.query)})).finally(function(){return r.stopQuery(t)})},e.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},e.prototype.generateRequestId=function(){return this.requestIdCounter++},e.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){var t=this.queries.get(e);t&&t.stop()},e.prototype.clearStore=function(e){return void 0===e&&(e={discardWatches:!0}),this.cancelPendingFetches((0,j._K)(32)),this.queries.forEach(function(e){e.observableQuery?e.networkStatus=tw.Ie.loading:e.stop()}),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(e)},e.prototype.getObservableQueries=function(e){var t=this;void 0===e&&(e="active");var r=new Map,n=new Map,o=new Set;return Array.isArray(e)&&e.forEach(function(e){"string"==typeof e?n.set(e,!1):(0,ev.JW)(e)?n.set(t.transform(e),!1):(0,q.s)(e)&&e.query&&o.add(e)}),this.queries.forEach(function(t,o){var i=t.observableQuery,a=t.document;if(i){if("all"===e){r.set(o,i);return}var s=i.queryName;if("standby"===i.options.fetchPolicy||"active"===e&&!i.hasObservers())return;("active"===e||s&&n.has(s)||a&&n.has(a))&&(r.set(o,i),s&&n.set(s,!0),a&&n.set(a,!0))}}),o.size&&o.forEach(function(e){var n=(0,tm.X)("legacyOneTimeQuery"),o=t.getQuery(n).init({document:e.query,variables:e.variables}),i=new tP({queryManager:t,queryInfo:o,options:(0,k.pi)((0,k.pi)({},e),{fetchPolicy:"network-only"})});(0,j.kG)(i.queryId===n),o.setObservableQuery(i),r.set(n,i)}),!1!==globalThis.__DEV__&&n.size&&n.forEach(function(e,t){e||!1===globalThis.__DEV__||j.kG.warn("string"==typeof t?33:34,t)}),r},e.prototype.reFetchObservableQueries=function(e){var t=this;void 0===e&&(e=!1);var r=[];return this.getObservableQueries(e?"all":"active").forEach(function(n,o){var i=n.options.fetchPolicy;n.resetLastResults(),(e||"standby"!==i&&"cache-only"!==i)&&r.push(n.refetch()),t.getQuery(o).setDiff(null)}),this.broadcastQueries(),Promise.all(r)},e.prototype.setObservableQuery=function(e){this.getQuery(e.queryId).setObservableQuery(e)},e.prototype.startGraphQLSubscription=function(e){var t=this,r=e.query,n=e.fetchPolicy,o=e.errorPolicy,i=void 0===o?"none":o,a=e.variables,s=e.context,c=void 0===s?{}:s;r=this.transform(r),a=this.getVariables(r,a);var u=function(e){return t.getObservableFromLink(r,c,e).map(function(o){"no-cache"!==n&&(tZ(o,i)&&t.cache.write({query:r,result:o.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries());var a=th(o),s=(0,U.ls)(o);if(a||s){var c={};if(a&&(c.graphQLErrors=o.errors),s&&(c.protocolErrors=o.extensions[U.YG]),"none"===i||s)throw new U.cA(c)}return"ignore"===i&&delete o.errors,o})};if(this.getDocumentInfo(r).hasClientExports){var l=this.localState.addExportedVariables(r,a,c).then(u);return new I.y(function(e){var t=null;return l.then(function(r){return t=r.subscribe(e)},e.error),function(){return t&&t.unsubscribe()}})}return u(a)},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){this.fetchCancelFns.delete(e),this.queries.has(e)&&(this.getQuery(e).stop(),this.queries.delete(e))},e.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach(function(e){return e.notify()})},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(e,t,r,n){var o,i,a=this;void 0===n&&(n=null!==(o=null==t?void 0:t.queryDeduplication)&&void 0!==o?o:this.queryDeduplication);var s=this.getDocumentInfo(e),c=s.serverQuery,u=s.clientQuery;if(c){var l=this.inFlightLinkObservables,f=this.link,p={query:c,variables:r,operationName:(0,ey.rY)(c)||void 0,context:this.prepareContext((0,k.pi)((0,k.pi)({},t),{forceFetch:!n}))};if(t=p.context,n){var d=ed(c),h=(0,eR.B)(r),g=l.lookup(d,h);if(!(i=g.observable)){var m=new t_([ej(f,p)]);i=g.observable=m,m.beforeNext(function(){l.remove(d,h)})}}else i=new t_([ej(f,p)])}else i=new t_([I.y.of({data:{}})]),t=this.prepareContext(t);return u&&(i=td(i,function(e){return a.localState.runResolvers({document:u,remoteResult:e,context:t,variables:r})})),i},e.prototype.getResultsFromLink=function(e,t,r){var n=e.lastRequestId=this.generateRequestId(),o=this.cache.transformForLink(r.query);return td(this.getObservableFromLink(o,r.context,r.variables),function(i){var a=tg(i),s=a.length>0;if(n>=e.lastRequestId){if(s&&"none"===r.errorPolicy)throw e.markError(new U.cA({graphQLErrors:a}));e.markResult(i,o,r,t),e.markReady()}var c={data:i.data,loading:!1,networkStatus:tw.Ie.ready};return s&&"ignore"!==r.errorPolicy&&(c.errors=a,c.networkStatus=tw.Ie.error),c},function(t){var r=(0,U.MS)(t)?t:new U.cA({networkError:t});throw n>=e.lastRequestId&&e.markError(r),r})},e.prototype.fetchConcastWithInfo=function(e,t,r,n){var o,i,a=this;void 0===r&&(r=tw.Ie.loading),void 0===n&&(n=t.query);var s=this.getVariables(n,t.variables),c=this.getQuery(e),u=this.defaultOptions.watchQuery,l=t.fetchPolicy,f=void 0===l?u&&u.fetchPolicy||"cache-first":l,p=t.errorPolicy,d=void 0===p?u&&u.errorPolicy||"none":p,h=t.returnPartialData,g=t.notifyOnNetworkStatusChange,m=t.context,y=Object.assign({},t,{query:n,variables:s,fetchPolicy:f,errorPolicy:d,returnPartialData:void 0!==h&&h,notifyOnNetworkStatusChange:void 0!==g&&g,context:void 0===m?{}:m}),v=function(e){y.variables=e;var n=a.fetchQueryByPolicy(c,y,r);return"standby"!==y.fetchPolicy&&n.sources.length>0&&c.observableQuery&&c.observableQuery.applyNextFetchPolicy("after-fetch",t),n},b=function(){return a.fetchCancelFns.delete(e)};if(this.fetchCancelFns.set(e,function(e){b(),setTimeout(function(){return o.cancel(e)})}),this.getDocumentInfo(y.query).hasClientExports)o=new t_(this.localState.addExportedVariables(y.query,y.variables,y.context).then(v).then(function(e){return e.sources})),i=!0;else{var _=v(y.variables);i=_.fromLink,o=new t_(_.sources)}return o.promise.then(b,b),{concast:o,fromLink:i}},e.prototype.refetchQueries=function(e){var t=this,r=e.updateCache,n=e.include,o=e.optimistic,i=void 0!==o&&o,a=e.removeOptimistic,s=void 0===a?i?(0,tm.X)("refetchQueries"):void 0:a,c=e.onQueryUpdated,u=new Map;n&&this.getObservableQueries(n).forEach(function(e,r){u.set(r,{oq:e,lastDiff:t.getQuery(r).getDiff()})});var l=new Map;return r&&this.cache.batch({update:r,optimistic:i&&s||!1,removeOptimistic:s,onWatchUpdated:function(e,t,r){var n=e.watcher instanceof tW&&e.watcher.observableQuery;if(n){if(c){u.delete(n.queryId);var o=c(n,t,r);return!0===o&&(o=n.refetch()),!1!==o&&l.set(n,o),o}null!==c&&u.set(n.queryId,{oq:n,lastDiff:r,diff:t})}}}),u.size&&u.forEach(function(e,r){var n,o=e.oq,i=e.lastDiff,a=e.diff;if(c){if(!a){var s=o.queryInfo;s.reset(),a=s.getDiff()}n=c(o,a,i)}c&&!0!==n||(n=o.refetch()),!1!==n&&l.set(o,n),r.indexOf("legacyOneTimeQuery")>=0&&t.stopQueryNoBroadcast(r)}),s&&this.cache.removeOptimistic(s),l},e.prototype.fetchQueryByPolicy=function(e,t,r){var n=this,o=t.query,i=t.variables,a=t.fetchPolicy,s=t.refetchWritePolicy,c=t.errorPolicy,u=t.returnPartialData,l=t.context,f=t.notifyOnNetworkStatusChange,p=e.networkStatus;e.init({document:o,variables:i,networkStatus:r});var d=function(){return e.getDiff()},h=function(t,r){void 0===r&&(r=e.networkStatus||tw.Ie.loading);var a=t.result;!1===globalThis.__DEV__||u||(0,eP.D)(a,{})||tN(t.missing);var s=function(e){return I.y.of((0,k.pi)({data:e,loading:(0,tw.Oj)(r),networkStatus:r},t.complete?null:{partial:!0}))};return a&&n.getDocumentInfo(o).hasForcedResolvers?n.localState.runResolvers({document:o,remoteResult:{data:a},context:l,variables:i,onlyRunForcedResolvers:!0}).then(function(e){return s(e.data||void 0)}):"none"===c&&r===tw.Ie.refetch&&Array.isArray(t.missing)?s(void 0):s(a)},g="no-cache"===a?0:r===tw.Ie.refetch&&"merge"!==s?1:2,m=function(){return n.getResultsFromLink(e,g,{query:o,variables:i,context:l,fetchPolicy:a,errorPolicy:c})},y=f&&"number"==typeof p&&p!==r&&(0,tw.Oj)(r);switch(a){default:case"cache-first":var v=d();if(v.complete)return{fromLink:!1,sources:[h(v,e.markReady())]};if(u||y)return{fromLink:!0,sources:[h(v),m()]};return{fromLink:!0,sources:[m()]};case"cache-and-network":var v=d();if(v.complete||u||y)return{fromLink:!0,sources:[h(v),m()]};return{fromLink:!0,sources:[m()]};case"cache-only":return{fromLink:!1,sources:[h(d(),e.markReady())]};case"network-only":if(y)return{fromLink:!0,sources:[h(d()),m()]};return{fromLink:!0,sources:[m()]};case"no-cache":if(y)return{fromLink:!0,sources:[h(e.getDiff()),m()]};return{fromLink:!0,sources:[m()]};case"standby":return{fromLink:!1,sources:[]}}},e.prototype.getQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new tW(this,e)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return(0,k.pi)((0,k.pi)((0,k.pi)({},this.defaultContext),t),{clientAwareness:this.clientAwareness})},e}(),tQ=r(14012),tK=!1,tJ=function(){function e(e){var t=this;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!e.cache)throw(0,j._K)(15);var r=e.uri,n=e.credentials,o=e.headers,i=e.cache,a=e.documentTransform,s=e.ssrMode,c=void 0!==s&&s,u=e.ssrForceFetchDelay,l=void 0===u?0:u,f=e.connectToDevTools,p=void 0===f?"object"==typeof window&&!window.__APOLLO_CLIENT__&&!1!==globalThis.__DEV__:f,d=e.queryDeduplication,h=void 0===d||d,g=e.defaultOptions,m=e.defaultContext,y=e.assumeImmutableResults,v=void 0===y?i.assumeImmutableResults:y,b=e.resolvers,_=e.typeDefs,w=e.fragmentMatcher,E=e.name,O=e.version,x=e.link;x||(x=r?new eT({uri:r,credentials:n,headers:o}):A.i.empty()),this.link=x,this.cache=i,this.disableNetworkFetches=c||l>0,this.queryDeduplication=h,this.defaultOptions=g||Object.create(null),this.typeDefs=_,l&&setTimeout(function(){return t.disableNetworkFetches=!1},l),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.watchFragment=this.watchFragment.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),this.version=eA.i,this.localState=new tU({cache:i,client:this,resolvers:b,fragmentMatcher:w}),this.queryManager=new t$({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,defaultContext:m,documentTransform:a,queryDeduplication:h,ssrMode:c,clientAwareness:{name:E,version:O},localState:this.localState,assumeImmutableResults:v,onBroadcast:p?function(){t.devToolsHookCb&&t.devToolsHookCb({action:{},state:{queries:t.queryManager.getQueryStore(),mutations:t.queryManager.mutationStore||{}},dataWithOptimisticResults:t.cache.extract(!0)})}:void 0}),p&&this.connectToDevTools()}return e.prototype.connectToDevTools=function(){if("object"==typeof window){var e=window,t=Symbol.for("apollo.devtools");(e[t]=e[t]||[]).push(this),e.__APOLLO_CLIENT__=this}tK||!1===globalThis.__DEV__||(tK=!0,setTimeout(function(){if("undefined"!=typeof window&&window.document&&window.top===window.self&&!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__&&/^(https?|file):$/.test(window.location.protocol)){var e=window.navigator,t=e&&e.userAgent,r=void 0;"string"==typeof t&&(t.indexOf("Chrome/")>-1?r="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":t.indexOf("Firefox/")>-1&&(r="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),r&&!1!==globalThis.__DEV__&&j.kG.log("Download the Apollo DevTools for a better development experience: %s",r)}},1e4))},Object.defineProperty(e.prototype,"documentTransform",{get:function(){return this.queryManager.documentTransform},enumerable:!1,configurable:!0}),e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=(0,tQ.J)(this.defaultOptions.watchQuery,e)),this.disableNetworkFetches&&("network-only"===e.fetchPolicy||"cache-and-network"===e.fetchPolicy)&&(e=(0,k.pi)((0,k.pi)({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=(0,tQ.J)(this.defaultOptions.query,e)),(0,j.kG)("cache-and-network"!==e.fetchPolicy,16),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=(0,k.pi)((0,k.pi)({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=(0,tQ.J)(this.defaultOptions.mutate,e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){return this.queryManager.startGraphQLSubscription(e)},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,t)},e.prototype.watchFragment=function(e){return this.cache.watchFragment(e)},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.cache.readFragment(e,t)},e.prototype.writeQuery=function(e){var t=this.cache.writeQuery(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.writeFragment=function(e){var t=this.cache.writeFragment(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return ej(this.link,e)},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager.clearStore({discardWatches:!1})}).then(function(){return Promise.all(e.resetStoreCallbacks.map(function(e){return e()}))}).then(function(){return e.reFetchObservableQueries()})},e.prototype.clearStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager.clearStore({discardWatches:!0})}).then(function(){return Promise.all(e.clearStoreCallbacks.map(function(e){return e()}))})},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager.reFetchObservableQueries(e)},e.prototype.refetchQueries=function(e){var t=this.queryManager.refetchQueries(e),r=[],n=[];t.forEach(function(e,t){r.push(t),n.push(e)});var o=Promise.all(n);return o.queries=r,o.results=n,o.catch(function(e){!1!==globalThis.__DEV__&&j.kG.debug(17,e)}),o},e.prototype.getObservableQueries=function(e){return void 0===e&&(e="active"),this.queryManager.getObservableQueries(e)},e.prototype.extract=function(e){return this.cache.extract(e)},e.prototype.restore=function(e){return this.cache.restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e.prototype.setLink=function(e){this.link=this.queryManager.link=e},Object.defineProperty(e.prototype,"defaultContext",{get:function(){return this.queryManager.defaultContext},enumerable:!1,configurable:!0}),e}();!1!==globalThis.__DEV__&&(tJ.prototype.getMemoryInternals=ep.su);var tX=A.i.from,t0=function(){function e(){this.assumeImmutableResults=!1,this.getFragmentDoc=tl(eb.Yk,{max:ef.Q["cache.fragmentQueryDocuments"]||1e3,cache:eB.k})}return e.prototype.batch=function(e){var t,r=this,n="string"==typeof e.optimistic?e.optimistic:!1===e.optimistic?null:void 0;return this.performTransaction(function(){return t=e.update(r)},n),t},e.prototype.recordOptimisticTransaction=function(e,t){this.performTransaction(e,t)},e.prototype.transformDocument=function(e){return e},e.prototype.transformForLink=function(e){return e},e.prototype.identify=function(e){},e.prototype.gc=function(){return[]},e.prototype.modify=function(e){return!1},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,k.pi)((0,k.pi)({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))},e.prototype.watchFragment=function(e){var t,r=this,n=e.fragment,o=e.fragmentName,i=e.from,a=e.optimistic,s=this.getFragmentDoc(n,o),c={returnPartialData:!0,id:"string"==typeof i?i:this.identify(i),query:s,optimistic:void 0===a||a};return new I.y(function(e){return r.watch((0,k.pi)((0,k.pi)({},c),{immediate:!0,callback:function(r){if(!(t&&tS(s,{data:null==t?void 0:t.result},{data:r.result}))){var n={data:r.result,complete:!!r.complete};r.missing&&(n.missing=Z(r.missing.map(function(e){return e.missing}))),t=r,e.next(n)}}}))})},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,k.pi)((0,k.pi)({},e),{query:this.getFragmentDoc(e.fragment,e.fragmentName),rootId:e.id,optimistic:t}))},e.prototype.writeQuery=function(e){var t=e.id,r=e.data,n=(0,k._T)(e,["id","data"]);return this.write(Object.assign(n,{dataId:t||"ROOT_QUERY",result:r}))},e.prototype.writeFragment=function(e){var t=e.id,r=e.data,n=e.fragment,o=e.fragmentName,i=(0,k._T)(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(i,{query:this.getFragmentDoc(n,o),dataId:t,result:r}))},e.prototype.updateQuery=function(e,t){return this.batch({update:function(r){var n=r.readQuery(e),o=t(n);return null==o?n:(r.writeQuery((0,k.pi)((0,k.pi)({},e),{data:o})),o)}})},e.prototype.updateFragment=function(e,t){return this.batch({update:function(r){var n=r.readFragment(e),o=t(n);return null==o?n:(r.writeFragment((0,k.pi)((0,k.pi)({},e),{data:o})),o)}})},e}();!1!==globalThis.__DEV__&&(t0.prototype.getMemoryInternals=ep.Kb);var t1=function(e){function t(r,n,o,i){var a,s=e.call(this,r)||this;if(s.message=r,s.path=n,s.query=o,s.variables=i,Array.isArray(s.path)){s.missing=s.message;for(var c=s.path.length-1;c>=0;--c)s.missing=((a={})[s.path[c]]=s.missing,a)}else s.missing=s.path;return s.__proto__=t.prototype,s}return(0,k.ZT)(t,e),t}(Error),t2=r(10542),t3=Object.prototype.hasOwnProperty;function t5(e){return null==e}function t4(e,t){var r=e.__typename,n=e.id,o=e._id;if("string"==typeof r&&(t&&(t.keyObject=t5(n)?t5(o)?void 0:{_id:o}:{id:n}),t5(n)&&!t5(o)&&(n=o),!t5(n)))return"".concat(r,":").concat("number"==typeof n||"string"==typeof n?n:JSON.stringify(n))}var t6={dataIdFromObject:t4,addTypename:!0,resultCaching:!0,canonizeResults:!1};function t8(e){var t=e.canonizeResults;return void 0===t?t6.canonizeResults:t}var t7=/^[_a-z][_0-9a-z]*/i;function t9(e){var t=e.match(t7);return t?t[0]:e}function re(e){return(0,q.s)(e)&&!(0,ev.Yk)(e)&&!(0,H.k)(e)}function rt(e,t){var r=(0,eb.F)((0,ey.kU)(e));return{fragmentMap:r,lookupFragment:function(e){var n=r[e];return!n&&t&&(n=t.lookup(e)),n||null}}}var rr=Object.create(null),rn=function(){return rr},ro=Object.create(null),ri=function(){function e(e,t){var r=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,t2.J)((0,ev.Yk)(e)?r.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return(0,ev.Yk)(e)?r.has(e.__ref):"object"==typeof e},this.toReference=function(e,t){if("string"==typeof e)return(0,ev.kQ)(e);if((0,ev.Yk)(e))return e;var n=r.policies.identify(e)[0];if(n){var o=(0,ev.kQ)(n);return t&&r.merge(n,e),o}}}return e.prototype.toObject=function(){return(0,k.pi)({},this.data)},e.prototype.has=function(e){return void 0!==this.lookup(e,!0)},e.prototype.get=function(e,t){if(this.group.depend(e,t),t3.call(this.data,e)){var r=this.data[e];if(r&&t3.call(r,t))return r[t]}return"__typename"===t&&t3.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof rc?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return(t&&this.group.depend(e,"__exists"),t3.call(this.data,e))?this.data[e]:this instanceof rc?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?Object.create(null):void 0},e.prototype.merge=function(e,t){var r,n=this;(0,ev.Yk)(e)&&(e=e.__ref),(0,ev.Yk)(t)&&(t=t.__ref);var o="string"==typeof e?this.lookup(r=e):e,i="string"==typeof t?this.lookup(r=t):t;if(i){(0,j.kG)("string"==typeof r,1);var a=new Y(rl).merge(o,i);if(this.data[r]=a,a!==o&&(delete this.refs[r],this.group.caching)){var s=Object.create(null);o||(s.__exists=1),Object.keys(i).forEach(function(e){if(!o||o[e]!==a[e]){s[e]=1;var t=t9(e);t===e||n.policies.hasKeyArgs(a.__typename,t)||(s[t]=1),void 0!==a[e]||n instanceof rc||delete a[e]}}),s.__typename&&!(o&&o.__typename)&&this.policies.rootTypenamesById[r]===a.__typename&&delete s.__typename,Object.keys(s).forEach(function(e){return n.group.dirty(r,e)})}}},e.prototype.modify=function(e,t){var r=this,n=this.lookup(e);if(n){var o=Object.create(null),i=!1,a=!0,s={DELETE:rr,INVALIDATE:ro,isReference:ev.Yk,toReference:this.toReference,canRead:this.canRead,readField:function(t,n){return r.policies.readField("string"==typeof t?{fieldName:t,from:n||(0,ev.kQ)(e)}:t,{store:r})}};if(Object.keys(n).forEach(function(c){var u=t9(c),l=n[c];if(void 0!==l){var f="function"==typeof t?t:t[c]||t[u];if(f){var p=f===rn?rr:f((0,t2.J)(l),(0,k.pi)((0,k.pi)({},s),{fieldName:u,storeFieldName:c,storage:r.getStorage(e,c)}));if(p===ro)r.group.dirty(e,c);else if(p===rr&&(p=void 0),p!==l&&(o[c]=p,i=!0,l=p,!1!==globalThis.__DEV__)){var d=function(e){if(void 0===r.lookup(e.__ref))return!1!==globalThis.__DEV__&&j.kG.warn(2,e),!0};if((0,ev.Yk)(p))d(p);else if(Array.isArray(p))for(var h=!1,g=void 0,m=0,y=p;m0){var t=--this.rootIds[e];return t||delete this.rootIds[e],t}return 0},e.prototype.getRootIdSet=function(e){return void 0===e&&(e=new Set),Object.keys(this.rootIds).forEach(e.add,e),this instanceof rc?this.parent.getRootIdSet(e):Object.keys(this.policies.rootTypenamesById).forEach(e.add,e),e},e.prototype.gc=function(){var e=this,t=this.getRootIdSet(),r=this.toObject();t.forEach(function(n){t3.call(r,n)&&(Object.keys(e.findChildRefIds(n)).forEach(t.add,t),delete r[n])});var n=Object.keys(r);if(n.length){for(var o=this;o instanceof rc;)o=o.parent;n.forEach(function(e){return o.delete(e)})}return n},e.prototype.findChildRefIds=function(e){if(!t3.call(this.refs,e)){var t=this.refs[e]=Object.create(null),r=this.data[e];if(!r)return t;var n=new Set([r]);n.forEach(function(e){(0,ev.Yk)(e)&&(t[e.__ref]=!0),(0,q.s)(e)&&Object.keys(e).forEach(function(t){var r=e[t];(0,q.s)(r)&&n.add(r)})})}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),ra=function(){function e(e,t){void 0===t&&(t=null),this.caching=e,this.parent=t,this.d=null,this.resetCaching()}return e.prototype.resetCaching=function(){this.d=this.caching?ts():null,this.keyMaker=new eI(D.mr)},e.prototype.depend=function(e,t){if(this.d){this.d(t+"#"+e);var r=t9(t);r!==t&&this.d(r+"#"+e),this.parent&&this.parent.depend(e,t)}},e.prototype.dirty=function(e,t){this.d&&this.d.dirty(t+"#"+e,"__exists"===t?"forget":"setDirty")},e}();function rs(e,t){rf(e)&&e.group.depend(t,"__exists")}c=function(e){function t(t){var r=t.policies,n=t.resultCaching,o=t.seed,i=e.call(this,r,new ra(void 0===n||n))||this;return i.stump=new ru(i),i.storageTrie=new eI(D.mr),o&&i.replace(o),i}return(0,k.ZT)(t,e),t.prototype.addLayer=function(e,t){return this.stump.addLayer(e,t)},t.prototype.removeLayer=function(){return this},t.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},t}(s=ri||(ri={})),s.Root=c;var rc=function(e){function t(t,r,n,o){var i=e.call(this,r.policies,o)||this;return i.id=t,i.parent=r,i.replay=n,i.group=o,n(i),i}return(0,k.ZT)(t,e),t.prototype.addLayer=function(e,r){return new t(e,this,r,this.group)},t.prototype.removeLayer=function(e){var t=this,r=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEach(function(e){var n=t.data[e],o=r.lookup(e);o?n?n!==o&&Object.keys(n).forEach(function(r){(0,eP.D)(n[r],o[r])||t.group.dirty(e,r)}):(t.group.dirty(e,"__exists"),Object.keys(o).forEach(function(r){t.group.dirty(e,r)})):t.delete(e)}),r):r===this.parent?this:r.addLayer(this.id,this.replay)},t.prototype.toObject=function(){return(0,k.pi)((0,k.pi)({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(t){var r=this.parent.findChildRefIds(t);return t3.call(this.data,t)?(0,k.pi)((0,k.pi)({},r),e.prototype.findChildRefIds.call(this,t)):r},t.prototype.getStorage=function(){for(var e=this.parent;e.parent;)e=e.parent;return e.getStorage.apply(e,arguments)},t}(ri),ru=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,function(){},new ra(t.group.caching,t.group))||this}return(0,k.ZT)(t,e),t.prototype.removeLayer=function(){return this},t.prototype.merge=function(e,t){return this.parent.merge(e,t)},t}(rc);function rl(e,t,r){var n=e[r],o=t[r];return(0,eP.D)(n,o)?n:o}function rf(e){return!!(e instanceof ri&&e.group.caching)}var rp=function(){function e(){this.known=new(D.sy?WeakSet:Set),this.pool=new eI(D.mr),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return(0,q.s)(e)&&this.known.has(e)},e.prototype.pass=function(e){if((0,q.s)(e)){var t=(0,q.s)(e)?(0,H.k)(e)?e.slice(0):(0,k.pi)({__proto__:Object.getPrototypeOf(e)},e):e;return this.passes.set(t,e),t}return e},e.prototype.admit=function(e){var t=this;if((0,q.s)(e)){var r=this.passes.get(e);if(r)return r;switch(Object.getPrototypeOf(e)){case Array.prototype:if(this.known.has(e))break;var n=e.map(this.admit,this),o=this.pool.lookupArray(n);return o.array||(this.known.add(o.array=n),!1!==globalThis.__DEV__&&Object.freeze(n)),o.array;case null:case Object.prototype:if(this.known.has(e))break;var i=Object.getPrototypeOf(e),a=[i],s=this.sortedKeys(e);a.push(s.json);var c=a.length;s.sorted.forEach(function(r){a.push(t.admit(e[r]))});var o=this.pool.lookupArray(a);if(!o.object){var u=o.object=Object.create(i);this.known.add(u),s.sorted.forEach(function(e,t){u[e]=a[c+t]}),!1!==globalThis.__DEV__&&Object.freeze(u)}return o.object}}return e},e.prototype.sortedKeys=function(e){var t=Object.keys(e),r=this.pool.lookupArray(t);if(!r.keys){t.sort();var n=JSON.stringify(t);(r.keys=this.keysByJSON.get(n))||this.keysByJSON.set(n,r.keys={sorted:t,json:n})}return r.keys},e}();function rd(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var rh=function(){function e(e){var t=this;this.knownResults=new(D.mr?WeakMap:Map),this.config=(0,tE.o)(e,{addTypename:!1!==e.addTypename,canonizeResults:t8(e)}),this.canon=e.canon||new rp,this.executeSelectionSet=tl(function(e){var r,n=e.context.canonizeResults,o=rd(e);o[3]=!n;var i=(r=t.executeSelectionSet).peek.apply(r,o);return i?n?(0,k.pi)((0,k.pi)({},i),{result:t.canon.admit(i.result)}):i:(rs(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))},{max:this.config.resultCacheMaxSize||ef.Q["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:rd,makeCacheKey:function(e,t,r,n){if(rf(r.store))return r.store.makeCacheKey(e,(0,ev.Yk)(t)?t.__ref:t,r.varString,n)}}),this.executeSubSelectedArray=tl(function(e){return rs(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)},{max:this.config.resultCacheMaxSize||ef.Q["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey:function(e){var t=e.field,r=e.array,n=e.context;if(rf(n.store))return n.store.makeCacheKey(t,r,n.varString)}})}return e.prototype.resetCanon=function(){this.canon=new rp},e.prototype.diffQueryAgainstStore=function(e){var t,r=e.store,n=e.query,o=e.rootId,i=e.variables,a=e.returnPartialData,s=e.canonizeResults,c=void 0===s?this.config.canonizeResults:s,u=this.config.cache.policies;i=(0,k.pi)((0,k.pi)({},(0,ey.O4)((0,ey.iW)(n))),i);var l=(0,ev.kQ)(void 0===o?"ROOT_QUERY":o),f=this.executeSelectionSet({selectionSet:(0,ey.p$)(n).selectionSet,objectOrReference:l,enclosingRef:l,context:(0,k.pi)({store:r,query:n,policies:u,variables:i,varString:(0,eR.B)(i),canonizeResults:c},rt(n,this.config.fragments))});if(f.missing&&(t=[new t1(function(e){try{JSON.stringify(e,function(e,t){if("string"==typeof t)throw t;return t})}catch(e){return e}}(f.missing),f.missing,n,i)],!(void 0===a||a)))throw t[0];return{result:f.result,complete:!t,missing:t}},e.prototype.isFresh=function(e,t,r,n){if(rf(n.store)&&this.knownResults.get(e)===r){var o=this.executeSelectionSet.peek(r,t,n,this.canon.isKnown(e));if(o&&e===o.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var t,r=this,n=e.selectionSet,o=e.objectOrReference,i=e.enclosingRef,a=e.context;if((0,ev.Yk)(o)&&!a.policies.rootTypenamesById[o.__ref]&&!a.store.has(o.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(o.__ref," object")};var s=a.variables,c=a.policies,u=a.store.getFieldValue(o,"__typename"),f=[],p=new Y;function d(e,r){var n;return e.missing&&(t=p.merge(t,((n={})[r]=e.missing,n))),e.result}this.config.addTypename&&"string"==typeof u&&!c.rootIdsByTypename[u]&&f.push({__typename:u});var h=new Set(n.selections);h.forEach(function(e){var n,g;if(C(e,s)){if((0,ev.My)(e)){var m=c.readField({fieldName:e.name.value,field:e,variables:a.variables,from:o},a),y=(0,ev.u2)(e);void 0===m?eO.added(e)||(t=p.merge(t,((n={})[y]="Can't find field '".concat(e.name.value,"' on ").concat((0,ev.Yk)(o)?o.__ref+" object":"object "+JSON.stringify(o,null,2)),n))):(0,H.k)(m)?m.length>0&&(m=d(r.executeSubSelectedArray({field:e,array:m,enclosingRef:i,context:a}),y)):e.selectionSet?null!=m&&(m=d(r.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:m,enclosingRef:(0,ev.Yk)(m)?m:i,context:a}),y)):a.canonizeResults&&(m=r.canon.pass(m)),void 0!==m&&f.push(((g={})[y]=m,g))}else{var v=(0,eb.hi)(e,a.lookupFragment);if(!v&&e.kind===l.FRAGMENT_SPREAD)throw(0,j._K)(9,e.name.value);v&&c.fragmentMatches(v,u)&&v.selectionSet.selections.forEach(h.add,h)}}});var g={result:Z(f),missing:t},m=a.canonizeResults?this.canon.admit(g):(0,t2.J)(g);return m.result&&this.knownResults.set(m.result,n),m},e.prototype.execSubSelectedArrayImpl=function(e){var t,r=this,n=e.field,o=e.array,i=e.enclosingRef,a=e.context,s=new Y;function c(e,r){var n;return e.missing&&(t=s.merge(t,((n={})[r]=e.missing,n))),e.result}return n.selectionSet&&(o=o.filter(a.store.canRead)),o=o.map(function(e,t){return null===e?null:(0,H.k)(e)?c(r.executeSubSelectedArray({field:n,array:e,enclosingRef:i,context:a}),t):n.selectionSet?c(r.executeSelectionSet({selectionSet:n.selectionSet,objectOrReference:e,enclosingRef:(0,ev.Yk)(e)?e:i,context:a}),t):(!1!==globalThis.__DEV__&&function(e,t,r){if(!t.selectionSet){var n=new Set([r]);n.forEach(function(r){(0,q.s)(r)&&((0,j.kG)(!(0,ev.Yk)(r),10,(0,ev.Yk)(r)?e.get(r.__ref,"__typename"):r&&r.__typename,t.name.value),Object.values(r).forEach(n.add,n))})}}(a.store,n,e),e)}),{result:a.canonizeResults?this.canon.admit(o):o,missing:t}},e}(),rg=r(13887),rm=Object.create(null);function ry(e){var t=JSON.stringify(e);return rm[t]||(rm[t]=Object.create(null))}function rv(e){var t=ry(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,r){var n=function(e,t){return r.readField(t,e)},o=r.keyObject=r_(e,function(e){var o=rE(r.storeObject,e,n);return void 0===o&&t!==r.storeObject&&t3.call(t,e[0])&&(o=rE(t,e,rw)),(0,j.kG)(void 0!==o,4,e.join("."),t),o});return"".concat(r.typename,":").concat(JSON.stringify(o))})}function rb(e){var t=ry(e);return t.keyArgsFn||(t.keyArgsFn=function(t,r){var n=r.field,o=r.variables,i=r.fieldName,a=JSON.stringify(r_(e,function(e){var r=e[0],i=r.charAt(0);if("@"===i){if(n&&(0,H.O)(n.directives)){var a=r.slice(1),s=n.directives.find(function(e){return e.name.value===a}),c=s&&(0,ev.NC)(s,o);return c&&rE(c,e.slice(1))}return}if("$"===i){var u=r.slice(1);if(o&&t3.call(o,u)){var l=e.slice(0);return l[0]=u,rE(o,l)}return}if(t)return rE(t,e)}));return(t||"{}"!==a)&&(i+=":"+a),i})}function r_(e,t){var r=new Y;return(function e(t){var r=ry(t);if(!r.paths){var n=r.paths=[],o=[];t.forEach(function(r,i){(0,H.k)(r)?(e(r).forEach(function(e){return n.push(o.concat(e))}),o.length=0):(o.push(r),(0,H.k)(t[i+1])||(n.push(o.slice(0)),o.length=0))})}return r.paths})(e).reduce(function(e,n){var o,i=t(n);if(void 0!==i){for(var a=n.length-1;a>=0;--a)(o={})[n[a]]=i,i=o;e=r.merge(e,i)}return e},Object.create(null))}function rw(e,t){return e[t]}function rE(e,t,r){return r=r||rw,function e(t){return(0,q.s)(t)?(0,H.k)(t)?t.map(e):r_(Object.keys(t).sort(),function(e){return rE(t,e)}):t}(t.reduce(function e(t,n){return(0,H.k)(t)?t.map(function(t){return e(t,n)}):t&&r(t,n)},e))}function rO(e){return void 0!==e.args?e.args:e.field?(0,ev.NC)(e.field,e.variables):null}var rx=function(){},rS=function(e,t){return t.fieldName},rk=function(e,t,r){return(0,r.mergeObjects)(e,t)},rj=function(e,t){return t},rA=function(){function e(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,k.pi)({dataIdFromObject:t4},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 e.prototype.identify=function(e,t){var r,n,o=this,i=t&&(t.typename||(null===(r=t.storeObject)||void 0===r?void 0:r.__typename))||e.__typename;if(i===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var a=t&&t.storeObject||e,s=(0,k.pi)((0,k.pi)({},t),{typename:i,storeObject:a,readField:t&&t.readField||function(){var e=rP(arguments,a);return o.readField(e,{store:o.cache.data,variables:e.variables})}}),c=i&&this.getTypePolicy(i),u=c&&c.keyFn||this.config.dataIdFromObject;u;){var l=u((0,k.pi)((0,k.pi)({},e),a),s);if((0,H.k)(l))u=rv(l);else{n=l;break}}return n=n?String(n):void 0,s.keyObject?[n,s.keyObject]:[n]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach(function(r){var n=e[r],o=n.queryType,i=n.mutationType,a=n.subscriptionType,s=(0,k._T)(n,["queryType","mutationType","subscriptionType"]);o&&t.setRootTypename("Query",r),i&&t.setRootTypename("Mutation",r),a&&t.setRootTypename("Subscription",r),t3.call(t.toBeAdded,r)?t.toBeAdded[r].push(s):t.toBeAdded[r]=[s]})},e.prototype.updateTypePolicy=function(e,t){var r=this,n=this.getTypePolicy(e),o=t.keyFields,i=t.fields;function a(e,t){e.merge="function"==typeof t?t:!0===t?rk:!1===t?rj:e.merge}a(n,t.merge),n.keyFn=!1===o?rx:(0,H.k)(o)?rv(o):"function"==typeof o?o:n.keyFn,i&&Object.keys(i).forEach(function(t){var n=r.getFieldPolicy(e,t,!0),o=i[t];if("function"==typeof o)n.read=o;else{var s=o.keyArgs,c=o.read,u=o.merge;n.keyFn=!1===s?rS:(0,H.k)(s)?rb(s):"function"==typeof s?s:n.keyFn,"function"==typeof c&&(n.read=c),a(n,u)}n.read&&n.merge&&(n.keyFn=n.keyFn||rS)})},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var r="ROOT_"+e.toUpperCase(),n=this.rootTypenamesById[r];t!==n&&((0,j.kG)(!n||n===e,5,e),n&&delete this.rootIdsByTypename[n],this.rootIdsByTypename[t]=r,this.rootTypenamesById[r]=t)},e.prototype.addPossibleTypes=function(e){var t=this;this.usingPossibleTypes=!0,Object.keys(e).forEach(function(r){t.getSupertypeSet(r,!0),e[r].forEach(function(e){t.getSupertypeSet(e,!0).add(r);var n=e.match(t7);n&&n[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))})})},e.prototype.getTypePolicy=function(e){var t=this;if(!t3.call(this.typePolicies,e)){var r=this.typePolicies[e]=Object.create(null);r.fields=Object.create(null);var n=this.supertypeMap.get(e);!n&&this.fuzzySubtypes.size&&(n=this.getSupertypeSet(e,!0),this.fuzzySubtypes.forEach(function(r,o){if(r.test(e)){var i=t.supertypeMap.get(o);i&&i.forEach(function(e){return n.add(e)})}})),n&&n.size&&n.forEach(function(e){var n=t.getTypePolicy(e),o=n.fields;Object.assign(r,(0,k._T)(n,["fields"])),Object.assign(r.fields,o)})}var o=this.toBeAdded[e];return o&&o.length&&o.splice(0).forEach(function(r){t.updateTypePolicy(e,r)}),this.typePolicies[e]},e.prototype.getFieldPolicy=function(e,t,r){if(e){var n=this.getTypePolicy(e).fields;return n[t]||r&&(n[t]=Object.create(null))}},e.prototype.getSupertypeSet=function(e,t){var r=this.supertypeMap.get(e);return!r&&t&&this.supertypeMap.set(e,r=new Set),r},e.prototype.fragmentMatches=function(e,t,r,n){var o=this;if(!e.typeCondition)return!0;if(!t)return!1;var i=e.typeCondition.name.value;if(t===i)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(i))for(var a=this.getSupertypeSet(t,!0),s=[a],c=function(e){var t=o.getSupertypeSet(e,!1);t&&t.size&&0>s.indexOf(t)&&s.push(t)},u=!!(r&&this.fuzzySubtypes.size),l=!1,f=0;f1?i:t}:(n=(0,k.pi)({},o),t3.call(n,"from")||(n.from=t)),!1!==globalThis.__DEV__&&void 0===n.from&&!1!==globalThis.__DEV__&&j.kG.warn(7,(0,rg.v)(Array.from(e))),void 0===n.variables&&(n.variables=r),n}function rR(e){return function(t,r){if((0,H.k)(t)||(0,H.k)(r))throw(0,j._K)(8);if((0,q.s)(t)&&(0,q.s)(r)){var n=e.getFieldValue(t,"__typename"),o=e.getFieldValue(r,"__typename");if(n&&o&&n!==o)return r;if((0,ev.Yk)(t)&&re(r))return e.merge(t.__ref,r),t;if(re(t)&&(0,ev.Yk)(r))return e.merge(t,r.__ref),r;if(re(t)&&re(r))return(0,k.pi)((0,k.pi)({},t),r)}return r}}function rM(e,t,r){var n="".concat(t).concat(r),o=e.flavors.get(n);return o||e.flavors.set(n,o=e.clientOnly===t&&e.deferred===r?e:(0,k.pi)((0,k.pi)({},e),{clientOnly:t,deferred:r})),o}var rN=function(){function e(e,t,r){this.cache=e,this.reader=t,this.fragments=r}return e.prototype.writeToStore=function(e,t){var r=this,n=t.query,o=t.result,i=t.dataId,a=t.variables,s=t.overwrite,c=(0,ey.$H)(n),u=new Y;a=(0,k.pi)((0,k.pi)({},(0,ey.O4)(c)),a);var l=(0,k.pi)((0,k.pi)({store:e,written:Object.create(null),merge:function(e,t){return u.merge(e,t)},variables:a,varString:(0,eR.B)(a)},rt(n,this.fragments)),{overwrite:!!s,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),f=this.processSelectionSet({result:o||Object.create(null),dataId:i,selectionSet:c.selectionSet,mergeTree:{map:new Map},context:l});if(!(0,ev.Yk)(f))throw(0,j._K)(11,o);return l.incomingById.forEach(function(t,n){var o=t.storeObject,i=t.mergeTree,a=t.fieldNodeSet,s=(0,ev.kQ)(n);if(i&&i.map.size){var c=r.applyMerges(i,s,o,l);if((0,ev.Yk)(c))return;o=c}if(!1!==globalThis.__DEV__&&!l.overwrite){var u=Object.create(null);a.forEach(function(e){e.selectionSet&&(u[e.name.value]=!0)});var f=function(e){var t=i&&i.map.get(e);return!!(t&&t.info&&t.info.merge)};Object.keys(o).forEach(function(e){!0!==u[t9(e)]||f(e)||function(e,t,r,n){var o=function(e){var t=n.getFieldValue(e,r);return"object"==typeof t&&t},i=o(e);if(i){var a=o(t);if(!(!a||(0,ev.Yk)(i)||(0,eP.D)(i,a)||Object.keys(i).every(function(e){return void 0!==n.getFieldValue(a,e)}))){var s=n.getFieldValue(e,"__typename")||n.getFieldValue(t,"__typename"),c=t9(r),u="".concat(s,".").concat(c);if(!rD.has(u)){rD.add(u);var l=[];(0,H.k)(i)||(0,H.k)(a)||[i,a].forEach(function(e){var t=n.getFieldValue(e,"__typename");"string"!=typeof t||l.includes(t)||l.push(t)}),!1!==globalThis.__DEV__&&j.kG.warn(14,c,s,l.length?"either ensure all objects of type "+l.join(" and ")+" have an ID or a custom merge function, or ":"",u,(0,k.pi)({},i),(0,k.pi)({},a))}}}}(s,o,e,l.store)})}e.merge(n,o)}),e.retain(f.__ref),f},e.prototype.processSelectionSet=function(e){var t=this,r=e.dataId,n=e.result,o=e.selectionSet,i=e.context,a=e.mergeTree,s=this.cache.policies,c=Object.create(null),u=r&&s.rootTypenamesById[r]||(0,ev.qw)(n,o,i.fragmentMap)||r&&i.store.get(r,"__typename");"string"==typeof u&&(c.__typename=u);var l=function(){var e=rP(arguments,c,i.variables);if((0,ev.Yk)(e.from)){var t=i.incomingById.get(e.from.__ref);if(t){var r=s.readField((0,k.pi)((0,k.pi)({},e),{from:t.storeObject}),i);if(void 0!==r)return r}}return s.readField(e,i)},f=new Set;this.flattenFields(o,n,i,u).forEach(function(e,r){var o,i=n[(0,ev.u2)(r)];if(f.add(r),void 0!==i){var p=s.getStoreFieldName({typename:u,fieldName:r.name.value,field:r,variables:e.variables}),d=rL(a,p),h=t.processFieldValue(i,r,r.selectionSet?rM(e,!1,!1):e,d),g=void 0;r.selectionSet&&((0,ev.Yk)(h)||re(h))&&(g=l("__typename",h));var m=s.getMergeFunction(u,r.name.value,g);m?d.info={field:r,typename:u,merge:m}:rB(a,p),c=e.merge(c,((o={})[p]=h,o))}else!1===globalThis.__DEV__||e.clientOnly||e.deferred||eO.added(r)||s.getReadFunction(u,r.name.value)||!1===globalThis.__DEV__||j.kG.error(12,(0,ev.u2)(r),n)});try{var p=s.identify(n,{typename:u,selectionSet:o,fragmentMap:i.fragmentMap,storeObject:c,readField:l}),d=p[0],h=p[1];r=r||d,h&&(c=i.merge(c,h))}catch(e){if(!r)throw e}if("string"==typeof r){var g=(0,ev.kQ)(r),m=i.written[r]||(i.written[r]=[]);if(m.indexOf(o)>=0||(m.push(o),this.reader&&this.reader.isFresh(n,g,o,i)))return g;var y=i.incomingById.get(r);return y?(y.storeObject=i.merge(y.storeObject,c),y.mergeTree=function e(t,r){if(t===r||!r||rI(r))return t;if(!t||rI(t))return r;var n=t.info&&r.info?(0,k.pi)((0,k.pi)({},t.info),r.info):t.info||r.info,o=t.map.size&&r.map.size,i={info:n,map:o?new Map:t.map.size?t.map:r.map};if(o){var a=new Set(r.map.keys());t.map.forEach(function(t,n){i.map.set(n,e(t,r.map.get(n))),a.delete(n)}),a.forEach(function(n){i.map.set(n,e(r.map.get(n),t.map.get(n)))})}return i}(y.mergeTree,a),f.forEach(function(e){return y.fieldNodeSet.add(e)})):i.incomingById.set(r,{storeObject:c,mergeTree:rI(a)?void 0:a,fieldNodeSet:f}),g}return c},e.prototype.processFieldValue=function(e,t,r,n){var o=this;return t.selectionSet&&null!==e?(0,H.k)(e)?e.map(function(e,i){var a=o.processFieldValue(e,t,r,rL(n,i));return rB(n,i),a}):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:r,mergeTree:n}):!1!==globalThis.__DEV__?tx(e):e},e.prototype.flattenFields=function(e,t,r,n){void 0===n&&(n=(0,ev.qw)(t,e,r.fragmentMap));var o=new Map,i=this.cache.policies,a=new eI(!1);return function e(s,c){var u=a.lookup(s,c.clientOnly,c.deferred);u.visited||(u.visited=!0,s.selections.forEach(function(a){if(C(a,r.variables)){var s=c.clientOnly,u=c.deferred;if(!(s&&u)&&(0,H.O)(a.directives)&&a.directives.forEach(function(e){var t=e.name.value;if("client"===t&&(s=!0),"defer"===t){var n=(0,ev.NC)(e,r.variables);n&&!1===n.if||(u=!0)}}),(0,ev.My)(a)){var f=o.get(a);f&&(s=s&&f.clientOnly,u=u&&f.deferred),o.set(a,rM(r,s,u))}else{var p=(0,eb.hi)(a,r.lookupFragment);if(!p&&a.kind===l.FRAGMENT_SPREAD)throw(0,j._K)(13,a.name.value);p&&i.fragmentMatches(p,n,t,r.variables)&&e(p.selectionSet,rM(r,s,u))}}}))}(e,r),o},e.prototype.applyMerges=function(e,t,r,n,o){var i=this;if(e.map.size&&!(0,ev.Yk)(r)){var a,s,c=!(0,H.k)(r)&&((0,ev.Yk)(t)||re(t))?t:void 0,u=r;c&&!o&&(o=[(0,ev.Yk)(c)?c.__ref:c]);var l=function(e,t){return(0,H.k)(e)?"number"==typeof t?e[t]:void 0:n.store.getFieldValue(e,String(t))};e.map.forEach(function(e,t){var r=l(c,t),a=l(u,t);if(void 0!==a){o&&o.push(t);var f=i.applyMerges(e,r,a,n,o);f!==a&&(s=s||new Map).set(t,f),o&&(0,j.kG)(o.pop()===t)}}),s&&(r=(0,H.k)(u)?u.slice(0):(0,k.pi)({},u),s.forEach(function(e,t){r[t]=e}))}return e.info?this.cache.policies.runMergeFunction(t,r,e.info,n,o&&(a=n.store).getStorage.apply(a,o)):r},e}(),rC=[];function rL(e,t){var r=e.map;return r.has(t)||r.set(t,rC.pop()||{map:new Map}),r.get(t)}function rI(e){return!e||!(e.info||e.map.size)}function rB(e,t){var r=e.map,n=r.get(t);n&&rI(n)&&(rC.push(n),r.delete(t))}var rD=new Set,rF=function(e){function t(t){void 0===t&&(t={});var r,n=e.call(this)||this;return n.watches=new Set,n.addTypenameTransform=new tp(eO),n.assumeImmutableResults=!0,n.makeVar=tz,n.txCount=0,n.config=(r=t,(0,tE.o)(t6,r)),n.addTypename=!!n.config.addTypename,n.policies=new rA({cache:n,dataIdFromObject:n.config.dataIdFromObject,possibleTypes:n.config.possibleTypes,typePolicies:n.config.typePolicies}),n.init(),n}return(0,k.ZT)(t,e),t.prototype.init=function(){var e=this.data=new ri.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=e.stump,this.resetResultCache()},t.prototype.resetResultCache=function(e){var t=this,r=this.storeReader,n=this.config.fragments;this.storeWriter=new rN(this,this.storeReader=new rh({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:t8(this.config),canon:e?void 0:r&&r.canon,fragments:n}),n),this.maybeBroadcastWatch=tl(function(e,r){return t.broadcastWatch(e,r)},{max:this.config.resultCacheMaxSize||ef.Q["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:function(e){var r=e.optimistic?t.optimisticData:t.data;if(rf(r)){var n=e.optimistic,o=e.id,i=e.variables;return r.makeCacheKey(e.query,e.callback,(0,eR.B)({optimistic:n,id:o,variables:i}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach(function(e){return e.resetCaching()})},t.prototype.restore=function(e){return this.init(),e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).extract()},t.prototype.read=function(e){var t=e.returnPartialData;try{return this.storeReader.diffQueryAgainstStore((0,k.pi)((0,k.pi)({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:void 0!==t&&t})).result||null}catch(e){if(e instanceof t1)return null;throw e}},t.prototype.write=function(e){try{return++this.txCount,this.storeWriter.writeToStore(this.data,e)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.modify=function(e){if(t3.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()}},t.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore((0,k.pi)((0,k.pi)({},e),{store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",config:this.config}))},t.prototype.watch=function(e){var t=this;return this.watches.size||function(e){tD(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&&tF(t),t.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){eR.B.reset(),ed.reset(),this.addTypenameTransform.resetCache(),null===(t=this.config.fragments)||void 0===t||t.resetCaches();var t,r=this.optimisticData.gc();return e&&!this.txCount&&(e.resetResultCache?this.resetResultCache(e.resetResultIdentities):e.resetResultIdentities&&this.storeReader.resetCanon()),r},t.prototype.retain=function(e,t){return(t?this.optimisticData:this.data).retain(e)},t.prototype.release=function(e,t){return(t?this.optimisticData:this.data).release(e)},t.prototype.identify=function(e){if((0,ev.Yk)(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(e){!1!==globalThis.__DEV__&&j.kG.warn(e)}},t.prototype.evict=function(e){if(!e.id){if(t3.call(e,"id"))return!1;e=(0,k.pi)((0,k.pi)({},e),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(e,this.data)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.reset=function(e){var t=this;return this.init(),eR.B.reset(),e&&e.discardWatches?(this.watches.forEach(function(e){return t.maybeBroadcastWatch.forget(e)}),this.watches.clear(),tF(this)):this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){var t=this.optimisticData.removeLayer(e);t!==this.optimisticData&&(this.optimisticData=t,this.broadcastWatches())},t.prototype.batch=function(e){var t,r=this,n=e.update,o=e.optimistic,i=void 0===o||o,a=e.removeOptimistic,s=e.onWatchUpdated,c=function(e){var o=r.data,i=r.optimisticData;++r.txCount,e&&(r.data=r.optimisticData=e);try{return t=n(r)}finally{--r.txCount,r.data=o,r.optimisticData=i}},u=new Set;return s&&!this.txCount&&this.broadcastWatches((0,k.pi)((0,k.pi)({},e),{onWatchUpdated:function(e){return u.add(e),!1}})),"string"==typeof i?this.optimisticData=this.optimisticData.addLayer(i,c):!1===i?c(this.data):c(),"string"==typeof a&&(this.optimisticData=this.optimisticData.removeLayer(a)),s&&u.size?(this.broadcastWatches((0,k.pi)((0,k.pi)({},e),{onWatchUpdated:function(e,t){var r=s.call(this,e,t);return!1!==r&&u.delete(e),r}})),u.size&&u.forEach(function(e){return r.maybeBroadcastWatch.dirty(e)})):this.broadcastWatches(e),t},t.prototype.performTransaction=function(e,t){return this.batch({update:e,optimistic:t||null!==t})},t.prototype.transformDocument=function(e){return this.addTypenameToDocument(this.addFragmentsToDocument(e))},t.prototype.broadcastWatches=function(e){var t=this;this.txCount||this.watches.forEach(function(r){return t.maybeBroadcastWatch(r,e)})},t.prototype.addFragmentsToDocument=function(e){var t=this.config.fragments;return t?t.transform(e):e},t.prototype.addTypenameToDocument=function(e){return this.addTypename?this.addTypenameTransform.transformDocument(e):e},t.prototype.broadcastWatch=function(e,t){var r=e.lastDiff,n=this.diff(e);(!t||(e.optimistic&&"string"==typeof t.optimistic&&(n.fromOptimisticTransaction=!0),!t.onWatchUpdated||!1!==t.onWatchUpdated.call(this,e,n,r)))&&(r&&(0,eP.D)(r.result,n.result)||e.callback(e.lastDiff=n,r))},t}(t0);!1!==globalThis.__DEV__&&(rF.prototype.getMemoryInternals=ep.q4);var rz=r(9996),rU=r.n(rz),rq=r(18446),rH=r.n(rq),rV=r(73914),rW=r(85317),rZ=function(e){var t=e.client,r=e.children,n=(0,rW.K)(),o=rV.useContext(n),i=rV.useMemo(function(){return(0,k.pi)((0,k.pi)({},o),{client:t||o.client})},[o,t]);return(0,j.kG)(i.client,46),rV.createElement(n.Provider,{value:i},r)},rG=r(75174),rY=r(63200),r$=function(e){let{client:t,children:r}=e,[n,o]=(0,v.useState)(!1);return(0,v.useEffect)(()=>{let e=(0,rY.q)(e=>{let{networkError:t,graphQLErrors:r}=e;(t||r&&r.length>0)&&(o(!0),y.p.notify("Apollo Client Error",{networkError:null==t?void 0:t.message,graphQLErrors:null==r?void 0:r.map(e=>({message:null==e?void 0:e.message,path:null==e?void 0:e.path,extensions:null==e?void 0:e.extensions}))}))});t.setLink(e.concat(t.link));let r=e=>{var t;(null===(t=e.reason)||void 0===t?void 0:t.name)==="ApolloError"&&(e.preventDefault(),o(!0),y.p.notify("Unhandled Apollo Error",{event:e}))};return window.addEventListener("unhandledrejection",r),()=>window.removeEventListener("unhandledrejection",r)},[t,o]),(0,p.jsxs)(rZ,{client:t,children:[r,(0,p.jsx)(rG.Z,{ariaLabel:"Error message",isOpen:n,onClose:()=>o(!1),children:(0,p.jsx)(rG.Z.Body,{children:(0,p.jsx)(w.Z,{size:"small",children:"Something went wrong. Please reload the page and try again."})})})]})},rQ=r(84819),rK=r(84977),rJ=r(47099);class rX extends Error{constructor(e){super("Unhandled exception. The specific error may have already been logged."),this.cause=e,this.name="UnhandledError"}}var r0=r(67497),r1=r(57632);let r2=e=>{let t=(0,rK.$1)(e),r=(0,r1.Z)().split("-").join("");void 0===t.test_identity&&(0,rK.d8)(e,"test_identity",r,{maxAge:63072e7})};var r3=r(89362),r5=r(34155);let r4=()=>(0,rQ.Z)()||r5.env.MOCK_GRAPHQL?"https://www.futurelearn.com":r5.env.PROXY_HOST,r6=()=>{try{return new URL(r3.ei,r4()).toString()}catch(e){return}};var r8=r(79981);let r7=e=>{if(e)return(0,r8.getClientIp)(e)||void 0};var r9=r(34155);let ne=e=>({...r9.env.BASIC_AUTH&&{authorization:r9.env.BASIC_AUTH},...r7(e)&&{"fl-real-ip":r7(e),"client-ip":r7(e)},cookie:(null==e?void 0:e.headers.cookie)||""}),nt=e=>{let t=(0,rK.$1)(e);return!!(null==t?void 0:t.no_js_cookie_banner_dismissed)};var nr=e=>!nt(e),nn=r(93413);let no=(e,t)=>{let r=(0,rJ.Yj)(e),n=(0,rJ.AU)(e);nn.Logger.warn("Failed to fetch cookie pro settings",{...r,name:"cookieProSettings",properties:{url:t,...n},type:"apollo"})},ni=async e=>{let{url:t,ip:r,headers:n}=e;if(t)try{let e=await fetch(t,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json",...n},body:JSON.stringify({query:"query cookieProSettings($ipAddress: String!)\n {\n cookieProSettings(ipAddress: $ipAddress)\n {\n id\n autoblockScriptSrc\n sdkScriptSrc\n domainId\n countryCode\n stateCode\n flGdprCompliant\n }\n }",variables:{ipAddress:r}})});return(await e.json()).data}catch(e){no(e,t);return}};var na=r(34155);let ns={id:"cookie-pro-settings",autoblockScriptSrc:"https://cookie-cdn.cookiepro.com/consent/5d555c5e-6b77-4e43-b7b3-a4308fdafcc5-test/OtAutoBlock.js",sdkScriptSrc:"https://cookie-cdn.cookiepro.com/scripttemplates/otSDKStub.js",domainId:"5d555c5e-6b77-4e43-b7b3-a4308fdafcc5-test",countryCode:"GB",stateCode:"NGM",flGdprCompliant:!0},nc=async e=>{var t,r;let{req:n}=e,o=await ni({url:r6(),ip:r7(n),headers:{[r3.YE]:r3.nB,...ne(n)}})||{};return(null===(t=na.env)||void 0===t?void 0:t.DEPLOY_ENV)&&"development"!==na.env.DEPLOY_ENV.toLowerCase()&&"test"!==na.env.DEPLOY_ENV.toLowerCase()||(o.cookieProSettings={...null!==(r=null==o?void 0:o.cookieProSettings)&&void 0!==r?r:ns,countryCode:"GB",stateCode:"C3"}),{cookieProData:o,showFallbackCookieBanner:nr(e)}},nu=(e,t)=>{try{let r=e.extract(),n=rU()(t,r,{arrayMerge:(e,t)=>[...t,...e.filter(e=>t.every(t=>!rH()(e,t)))]});e.cache.restore(n)}catch(n){let e=(0,rJ.Yj)(n),r=(0,rJ.AU)(n);nn.Logger.warn("Error restoring cache",{...e,name:"error_restoring_cache",properties:{initial_state:t,...r},type:"apollo"})}},nl=()=>ek({uri:r6(),credentials:"same-origin",headers:{[r3.YE]:r3.nB}}),nf=e=>{var t;return t=(t,r)=>{let{headers:n}=r;return(0,r0.aT)(e),r2(e),{headers:{...n,...ne(e.req)}}},new A.i(function(e,r){var n=(0,k._T)(e,[]);return new I.y(function(o){var i,a=!1;return Promise.resolve(n).then(function(r){return t(r,e.getContext())}).then(e.setContext).then(function(){a||(i=r(e).subscribe({next:o.next.bind(o),error:o.error.bind(o),complete:o.complete.bind(o)}))}).catch(o.error.bind(o)),function(){a=!0,i&&i.unsubscribe()}})})},np=e=>{let{errorLink:t}=r(26281);return new tJ({ssrMode:!0,link:tX([nf(e),t(e),nl()]),cache:new rF})},nd=e=>{let{errorLink:t}=r(26281),n=new tJ({ssrMode:!0,link:tX([t()]),cache:new rF});return nu(n,e),n},nh=e=>(o||(o=new tJ({ssrMode:!1,link:nl(),cache:new rF})),nu(o,e),o),ng=e=>(0,rQ.Z)()?nh(e):nd(e);r(44763);var nm=r(59189),ny=function(e){let{pageType:t}=e;return(0,v.useEffect)(()=>{(0,r0.k7)(t),(0,nm.Ib)(t)},[t]),null},nv=r(91094),nb=r(56912),n_=r(25362),nw=r(49686),nE=r(32845),nO=r(65168);r(19601);var nx=r(11853),nS=function(e){return v.createElement(nx.Z,Object.assign({type:"email"},e))};nx.g.type;var nk=(0,nO.Kd)(nx.g,["type"]);nS.propTypes=nk;var nj=function(e){return v.createElement(nx.Z,Object.assign({type:"password"},e))};nx.g.type;var nA=(0,nO.Kd)(nx.g,["type"]);nj.propTypes=nA;var nT=r(30475),nP=r(69959),nR=r(45697),nM=r.n(nR),nN=r(18143),nC=r(44921),nL=function(e){var t=e.children,r=e.name,n=e.accept,o=e.required,i=void 0!==o&&o,a=e.errors,s=e.label,c=e.help,u=e.spacing,l=(0,nN.Z)();return v.createElement(nC.Z,{fieldId:l,label:s,help:c,required:i,errors:void 0===a?[]:a,spacing:u},t,v.createElement("input",{id:l,type:"file",name:r,accept:void 0===n?"":n,required:i,className:"fileField-module_fileInput__Xdvr4"}))};nL.propTypes={children:nM().node,name:nM().string.isRequired,label:nM().string.isRequired,help:nM().node,required:nM().bool,errors:nM().arrayOf(nM().string),accept:nM().string,spacing:nM().string};var nI=function(e){return v.createElement(nx.Z,Object.assign({type:"tel"},e))};nx.g.type;var nB=(0,nO.Kd)(nx.g,["type"]);nI.propTypes=nB;var nD=r(66513),nF=r(43493),nz=r(89228),nU=function(e){var t=e.options,r=e.name,n=e.legend,o=e.value,i=e.spacingBottom,a=e.errors,s=e.isInline,c=e.isSubtle,u=e.otherValue,l=e.otherName,f=e.required;return v.createElement(nD.Z,{options:t,name:r,legend:n,value:o,spacingBottom:i,errors:a,isInline:s,isSubtle:c,required:f},v.createElement(nF.Z,{name:r,value:"other",label:"Other (tell us if you want)",isSubtle:c,checked:"other"===o},v.createElement(nz.Z,{type:"text",name:l,value:void 0===u?"":u})))};nU.propTypes={options:nM().arrayOf(nM().shape({name:nM().string,value:nM().string})).isRequired,name:nM().string.isRequired,legend:nM().string.isRequired,value:nM().string,spacingBottom:nM().string,errors:nM().arrayOf(nM().string),isInline:nM().bool,isSubtle:nM().bool,otherValue:nM().string,otherName:nM().string.isRequired,required:nM().bool};var nq=r(94184),nH=r.n(nq),nV=r(54042),nW=r(10012),nZ=r(72263),nG={textarea:"textarea-module_textarea__ro5-F",isError:"textarea-module_isError__f3aNC",isDisabled:"textarea-module_isDisabled__K25rp",error:"textarea-module_error__3hMul"},nY=["name","value","maxCharacterCount","isError","id","required","onChange"],n$=function(e){var t,r=e.name,n=e.value,o=e.maxCharacterCount,i=void 0===o?null:o,a=e.isError,s=e.id,c=e.required,u=e.onChange,l=void 0===u?function(){}:u,f=(0,nO.Kd)(e,nY),p=(0,v.useState)(void 0===n?"":n),d=(0,nO.ZQ)(p,2),h=d[0],g=d[1],m=(0,v.useState)(null),y=(0,nO.ZQ)(m,2),b=y[0],_=y[1],w=function(e){if(i&&e.target.value.length>i){var t=e.target.value.substring(0,i);_("You've reached the character limit"),g(t);return}_(null),g(e.target.value)},E=nH()(nG.textarea,(t={},(0,nO._x)(t,nG.isError,void 0!==a&&a),(0,nO._x)(t,nG.isDisabled,f.disabled),t));return v.createElement(v.Fragment,null,v.createElement(nV.Z,Object.assign({id:s,value:h,className:E,rows:4,name:r,onChange:function(e){w(e),l(e)},required:void 0!==c&&c},f)),b&&v.createElement("div",{className:nG.error},v.createElement(nZ.Z,null,b)),i&&v.createElement(nW.Z,{maxCharacterCount:i,characterCount:h.length}))};n$.propTypes={id:nM().string,name:nM().string.isRequired,maxCharacterCount:nM().number,value:nM().string,isError:nM().bool,required:nM().bool,onChange:nM().func};var nQ=["name","value","label","isLabelHidden","help","formattedHelp","isMarkdown","required","errors","spacing","maxCharacterCount"],nK=function(e){var t=e.name,r=e.value,n=e.label,o=e.isLabelHidden,i=e.help,a=e.formattedHelp,s=e.isMarkdown,c=e.required,u=void 0!==c&&c,l=e.errors,f=void 0===l?[]:l,p=e.spacing,d=e.maxCharacterCount,h=(0,nO.Kd)(e,nQ),g=(0,nN.Z)();return v.createElement(nC.Z,{fieldId:g,label:n,isLabelHidden:o,help:void 0===i?null:i,formattedHelp:a,required:u,errors:f,spacing:p},void 0!==s&&s&&v.createElement(_.Z,{href:"/admin/syntax-guide",size:"xsmall"},"Help with formatting this text"),v.createElement(n$,Object.assign({id:g,name:t,value:void 0===r?"":r,required:u,isError:f&&f.length>0,maxCharacterCount:d},h)))};nK.propTypes={name:nM().string.isRequired,value:nM().string,label:nM().string.isRequired,isLabelHidden:nM().bool,help:nM().oneOfType([nM().node,nM().shape({__html:nM().string})]),isMarkdown:nM().bool,required:nM().bool,errors:nM().arrayOf(nM().string),spacing:nM().string,maxCharacterCount:nM().number,formattedHelp:nM().oneOfType([nM().string,nM().shape({__html:nM().string})])};var nJ=r(88119),nX=r(79745),n0=function(e){var t,r=e.fieldLabel,n=e.fieldName,o=e.fieldValue,i=e.isWide,a=e.isError,s=e.id;return v.createElement("div",{className:nH()("dateField-module_item__3mVuK",(t={},(0,nO._x)(t,"dateField-module_isWide__JtzG9",i),(0,nO._x)(t,"dateField-module_isError__RrDn2",a),t))},v.createElement("label",{htmlFor:s,className:"dateField-module_itemLabel__f2NGM"},r),v.createElement("input",{type:"number",defaultValue:void 0===o?"":o,className:"dateField-module_field__eEwLe",name:n,id:s,pattern:"[0-9]*"}))},n1=function(e){var t=e.label,r=e.dayFieldName,n=e.monthFieldName,o=e.yearFieldName,i=e.errors,a=void 0===i?[]:i,s=e.dayFieldValue,c=e.monthFieldValue,u=e.yearFieldValue,l=e.isRequired,f=e.isPlain,p=a&&a.length>0,d=(0,nN.Z)(),h=(0,nN.Z)(),g=(0,nN.Z)();return v.createElement("div",{className:"dateField-module_wrapper__xnfFw"},v.createElement(n_.Z,{isPlain:void 0!==f&&f},v.createElement(nX.Z,{isRequired:void 0!==l&&l},t),v.createElement("div",{className:"dateField-module_inputWrapper__1YfoZ"},v.createElement(n0,{fieldLabel:"Day",fieldValue:s,fieldName:r,isError:p,id:d}),v.createElement(n0,{fieldLabel:"Month",fieldValue:c,fieldName:n,isError:p,id:h}),v.createElement(n0,{fieldLabel:"Year",fieldValue:u,fieldName:o,isError:p,id:g,isWide:!0})),a.length>0&&v.createElement(nJ.Z,{forId:d,errors:a})))};n1.propTypes={label:nM().string.isRequired,dayFieldName:nM().string.isRequired,monthFieldName:nM().string.isRequired,yearFieldName:nM().string.isRequired,dayFieldValue:nM().oneOfType([nM().string,nM().number]),monthFieldValue:nM().oneOfType([nM().string,nM().number]),yearFieldValue:nM().oneOfType([nM().string,nM().number]),errors:nM().arrayOf(nM().string),isRequired:nM().bool,isPlain:nM().bool},n0.propTypes={fieldLabel:nM().string.isRequired,fieldName:nM().string.isRequired,fieldValue:nM().oneOfType([nM().string,nM().number]),isWide:nM().bool,isError:nM().bool,id:nM().string.isRequired};var n2=function(e){return v.createElement(nx.Z,Object.assign({type:"number"},e))};nx.g.type;var n3=(0,nO.Kd)(nx.g,["type"]);n2.propTypes=n3,nv.ZP.Group=nb.Z,nv.ZP.Fieldset=n_.Z,nv.ZP.TextField=nw.Z,nv.ZP.SelectField=nE.Z,nv.ZP.EmailField=nS,nv.ZP.PasswordField=nj,nv.ZP.HiddenField=nT.Z,nv.ZP.CheckboxField=nP.Z,nv.ZP.FileField=nL,nv.ZP.TelephoneField=nI,nv.ZP.RadioField=nD.Z,nv.ZP.RadioFieldWithOther=nU,nv.ZP.TextareaField=nK,nv.ZP.DateField=n1,nv.ZP.NumberField=n2;var n5=nv._y,n4=function(e){let{children:t,csrfToken:r}=e;return(0,p.jsx)(n5.Provider,{value:r,children:t})},n6=r(48563),n8={Snippet:function(e){let{gtmId:t,gtmDataLayerName:r}=e;return(0,p.jsx)(h(),{id:"gtm",dangerouslySetInnerHTML:(0,n6.Z)({__html:"\n (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\n new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\n j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=\n 'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);\n })(window,document,'script','".concat(r,"', '").concat(t,"');\n ")})})},NoScriptSnippet:function(e){let{gtmId:t}=e;return(0,p.jsx)("noscript",{dangerouslySetInnerHTML:(0,n6.Z)({__html:'