/*! For license information please see app.js.LICENSE.txt */ (()=>{var __webpack_modules__={4440:(e,t)=>{var r=function(e){"use strict";var t=Object.freeze({left:0,top:0,width:16,height:16}),r=Object.freeze({rotate:0,vFlip:!1,hFlip:!1}),n=Object.freeze(Object.assign({},t,r)),i=Object.freeze(Object.assign({},n,{body:"",hidden:!1}));function o(e,t){var n=function(e,t){var r={};!e.hFlip!=!t.hFlip&&(r.hFlip=!0),!e.vFlip!=!t.vFlip&&(r.vFlip=!0);var n=((e.rotate||0)+(t.rotate||0))%4;return n&&(r.rotate=n),r}(e,t);for(var o in i)o in r?o in e&&!(o in n)&&(n[o]=r[o]):o in t?n[o]=t[o]:o in e&&(n[o]=e[o]);return n}function s(e,t,r){var n=e.icons,i=e.aliases||Object.create(null),s={};function a(e){s=o(n[e]||i[e],s)}return a(t),r.forEach(a),o(e,s)}function a(e,t){var r=[];if("object"!=typeof e||"object"!=typeof e.icons)return r;e.not_found instanceof Array&&e.not_found.forEach((function(e){t(e,null),r.push(e)}));var n=function(e,t){var r=e.icons,n=e.aliases||Object.create(null),i=Object.create(null);return Object.keys(r).concat(Object.keys(n)).forEach((function e(t){if(r[t])return i[t]=[];if(!(t in i)){i[t]=null;var o=n[t]&&n[t].parent,s=o&&e(o);s&&(i[t]=[o].concat(s))}return i[t]})),i}(e);for(var i in n){var o=n[i];o&&(t(i,s(e,i,o)),r.push(i))}return r}var l=/^[a-z0-9]+(-[a-z0-9]+)*$/,c=function(e,t,r,n){void 0===n&&(n="");var i=e.split(":");if("@"===e.slice(0,1)){if(i.length<2||i.length>3)return null;n=i.shift().slice(1)}if(i.length>3||!i.length)return null;if(i.length>1){var o=i.pop(),s=i.pop(),a={provider:i.length>0?i[0]:n,prefix:s,name:o};return t&&!u(a)?null:a}var l=i[0],c=l.split("-");if(c.length>1){var p={provider:n,prefix:c.shift(),name:c.join("-")};return t&&!u(p)?null:p}if(r&&""===n){var h={provider:n,prefix:"",name:l};return t&&!u(h,r)?null:h}return null},u=function(e,t){return!!e&&!(""!==e.provider&&!e.provider.match(l)||!(t&&""===e.prefix||e.prefix.match(l))||!e.name.match(l))},p=Object.assign({},{provider:"",aliases:{},not_found:{}},t);function h(e,t){for(var r in t)if(r in e&&typeof e[r]!=typeof t[r])return!1;return!0}function f(e){if("object"!=typeof e||null===e)return null;var t=e;if("string"!=typeof t.prefix||!e.icons||"object"!=typeof e.icons)return null;if(!h(e,p))return null;var r=t.icons;for(var n in r){var o=r[n];if(!n.match(l)||"string"!=typeof o.body||!h(o,i))return null}var s=t.aliases||Object.create(null);for(var a in s){var c=s[a],u=c.parent;if(!a.match(l)||"string"!=typeof u||!r[u]&&!s[u]||!h(c,i))return null}return t}var d=Object.create(null);function m(e,t){var r=d[e]||(d[e]=Object.create(null));return r[t]||(r[t]=function(e,t){return{provider:e,prefix:t,icons:Object.create(null),missing:new Set}}(e,t))}function y(e,t){return f(t)?a(t,(function(t,r){r?e.icons[t]=r:e.missing.add(t)})):[]}function g(e,t){var r=[];return("string"==typeof e?[e]:Object.keys(d)).forEach((function(e){("string"==typeof e&&"string"==typeof t?[t]:Object.keys(d[e]||{})).forEach((function(t){var n=m(e,t);r=r.concat(Object.keys(n.icons).map((function(r){return(""!==e?"@"+e+":":"")+t+":"+r})))}))})),r}var v=!1;function C(e){var t="string"==typeof e?c(e,!0,v):e;if(t){var r=m(t.provider,t.prefix),n=t.name;return r.icons[n]||(r.missing.has(n)?null:void 0)}}function b(e,t){var r=c(e,!0,v);return!!r&&function(e,t,r){try{if("string"==typeof r.body)return e.icons[t]=Object.assign({},r),!0}catch(e){}return!1}(m(r.provider,r.prefix),r.name,t)}function _(e,t){if("object"!=typeof e)return!1;if("string"!=typeof t&&(t=e.provider||""),v&&!t&&!e.prefix){var r=!1;return f(e)&&(e.prefix="",a(e,(function(e,t){t&&b(e,t)&&(r=!0)}))),r}var n=e.prefix;return!!u({provider:t,prefix:n,name:"a"})&&!!y(m(t,n),e)}function w(e){return!!C(e)}function S(e){var t=C(e);return t?Object.assign({},n,t):null}var x=Object.freeze({width:null,height:null}),E=Object.freeze(Object.assign({},x,r)),k=/(-?[0-9.]*[0-9]+[0-9.]*)/g,P=/^-?[0-9.]*[0-9]+[0-9.]*$/g;function L(e,t,r){if(1===t)return e;if(r=r||100,"number"==typeof e)return Math.ceil(e*t*r)/r;if("string"!=typeof e)return e;var n=e.split(k);if(null===n||!n.length)return e;for(var i=[],o=n.shift(),s=P.test(o);;){if(s){var a=parseFloat(o);isNaN(a)?i.push(o):i.push(Math.ceil(a*t*r)/r)}else i.push(o);if(void 0===(o=n.shift()))return i.join("");s=!s}}function A(e,t){var r=Object.assign({},n,e),i=Object.assign({},E,t),o={left:r.left,top:r.top,width:r.width,height:r.height},s=r.body;[r,i].forEach((function(e){var t,r=[],n=e.hFlip,i=e.vFlip,a=e.rotate;switch(n?i?a+=2:(r.push("translate("+(o.width+o.left).toString()+" "+(0-o.top).toString()+")"),r.push("scale(-1 1)"),o.top=o.left=0):i&&(r.push("translate("+(0-o.left).toString()+" "+(o.height+o.top).toString()+")"),r.push("scale(1 -1)"),o.top=o.left=0),a<0&&(a-=4*Math.floor(a/4)),a%=4){case 1:t=o.height/2+o.top,r.unshift("rotate(90 "+t.toString()+" "+t.toString()+")");break;case 2:r.unshift("rotate(180 "+(o.width/2+o.left).toString()+" "+(o.height/2+o.top).toString()+")");break;case 3:t=o.width/2+o.left,r.unshift("rotate(-90 "+t.toString()+" "+t.toString()+")")}a%2==1&&(o.left!==o.top&&(t=o.left,o.left=o.top,o.top=t),o.width!==o.height&&(t=o.width,o.width=o.height,o.height=t)),r.length&&(s=''+s+"")}));var a,l,c=i.width,u=i.height,p=o.width,h=o.height;null===c?a=L(l=null===u?"1em":"auto"===u?h:u,p/h):(a="auto"===c?p:c,l=null===u?L(a,h/p):"auto"===u?h:u);var f={},d=function(e,t){(function(e){return"unset"===e||"undefined"===e||"none"===e})(t)||(f[e]=t.toString())};return d("width",a),d("height",l),f.viewBox=o.left.toString()+" "+o.top.toString()+" "+p.toString()+" "+h.toString(),{attributes:f,body:s}}var M=/\sid="(\S+)"/g,T="IconifyId"+Date.now().toString(16)+(16777216*Math.random()|0).toString(16),D=0;function F(e,t){void 0===t&&(t=T);for(var r,n=[];r=M.exec(e);)n.push(r[1]);if(!n.length)return e;var i="suffix"+(16777216*Math.random()|Date.now()).toString(16);return n.forEach((function(r){var n="function"==typeof t?t(r):t+(D++).toString(),o=r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&");e=e.replace(new RegExp('([#;"])('+o+')([")]|\\.[a-z])',"g"),"$1"+n+i+"$3")})),e=e.replace(new RegExp(i,"g"),"")}function I(e,t){var r=Object.assign({},e);for(var n in t){var i=t[n],o=typeof i;n in x?(null===i||i&&("string"===o||"number"===o))&&(r[n]=i):o===typeof r[n]&&(r[n]="rotate"===n?i%4:i)}return r}var j=Object.assign({},E,{inline:!1}),O="iconify-inline",V="iconifyData"+Date.now(),R=[];function B(e){for(var t=0;t0||"attributes"===i.type&&void 0!==i.target[V])return void(r.paused||G(e))}}}function U(e,t){e.observer.instance.observe(t,z)}function q(e){var t=e.observer;if(!t||!t.instance){var r="function"==typeof e.node?e.node():e.node;r&&window&&(t||(t={paused:0},e.observer=t),t.instance=new window.MutationObserver(Z.bind(null,e)),U(e,r),t.paused||G(e))}}function W(){N().forEach(q)}function J(e){if(e.observer){var t=e.observer;t.pendingScan&&(clearTimeout(t.pendingScan),delete t.pendingScan),t.instance&&(t.instance.disconnect(),delete t.instance)}}function K(e){(e?[e]:N()).forEach((function(e){if(e.observer){var t=e.observer;t.paused++,t.paused>1||!t.instance||t.instance.disconnect()}else e.observer={paused:1}}))}function X(e){if(e){var t=B(e);t&&K(t)}else K()}function Y(e){(e?[e]:N()).forEach((function(e){if(e.observer){var t=e.observer;if(t.paused&&(t.paused--,!t.paused)){var r="function"==typeof e.node?e.node():e.node;if(!r)return;t.instance?U(e,r):q(e)}}else q(e)}))}function Q(e){if(e){var t=B(e);t&&Y(t)}else Y()}function ee(e,t){void 0===t&&(t=!1);var r=H(e,t);return q(r),r}function te(e){var t=B(e);t&&(J(t),function(e){R=R.filter((function(t){return e!==t&&e!==("function"==typeof t.node?t.node():t.node)}))}(e))}function re(e,t){e.forEach((function(e){var r=e.loaderCallbacks;r&&(e.loaderCallbacks=r.filter((function(e){return e.id!==t})))}))}var ne=0,ie=Object.create(null);function oe(e){return ie[e]||ie[""]}var se={resources:[],index:0,timeout:2e3,rotate:750,random:!1,dataAfterTimeout:!1};function ae(e){var t=Object.assign({},se,e),r=[];function n(){r=r.filter((function(e){return"pending"===e().status}))}var i={query:function(e,i,o){var s=function(e,t,r,n){var i,o=e.resources.length,s=e.random?Math.floor(Math.random()*o):e.index;if(e.random){var a=e.resources.slice(0);for(i=[];a.length>1;){var l=Math.floor(Math.random()*a.length);i.push(a[l]),a=a.slice(0,l).concat(a.slice(l+1))}i=i.concat(a)}else i=e.resources.slice(s).concat(e.resources.slice(0,s));var c,u=Date.now(),p="pending",h=0,f=null,d=[],m=[];function y(){f&&(clearTimeout(f),f=null)}function g(){"pending"===p&&(p="aborted"),y(),d.forEach((function(e){"pending"===e.status&&(e.status="aborted")})),d=[]}function v(e,t){t&&(m=[]),"function"==typeof e&&m.push(e)}function C(){p="failed",m.forEach((function(e){e(void 0,c)}))}function b(){d.forEach((function(e){"pending"===e.status&&(e.status="aborted")})),d=[]}return"function"==typeof n&&m.push(n),setTimeout((function n(){if("pending"===p){y();var o=i.shift();if(void 0===o)return d.length?void(f=setTimeout((function(){y(),"pending"===p&&(b(),C())}),e.timeout)):void C();var s={status:"pending",resource:o,callback:function(t,r){!function(t,r,o){var s="success"!==r;switch(d=d.filter((function(e){return e!==t})),p){case"pending":break;case"failed":if(s||!e.dataAfterTimeout)return;break;default:return}if("abort"===r)return c=o,void C();if(s)return c=o,void(d.length||(i.length?n():C()));if(y(),b(),!e.random){var a=e.resources.indexOf(t.resource);-1!==a&&a!==e.index&&(e.index=a)}p="completed",m.forEach((function(e){e(o)}))}(s,t,r)}};d.push(s),h++,f=setTimeout(n,e.rotate),r(o,t,s.callback)}})),function(){return{startTime:u,payload:t,status:p,queriesSent:h,queriesPending:d.length,subscribe:v,abort:g}}}(t,e,i,(function(e,t){n(),o&&o(e,t)}));return r.push(s),s},find:function(e){return r.find((function(t){return e(t)}))||null},setIndex:function(e){t.index=e},getIndex:function(){return t.index},cleanup:n};return i}function le(e){var t;if("string"==typeof e.resources)t=[e.resources];else if(!((t=e.resources)instanceof Array&&t.length))return null;return{resources:t,path:e.path||"/",maxURL:e.maxURL||500,rotate:e.rotate||750,timeout:e.timeout||5e3,random:!0===e.random,index:e.index||0,dataAfterTimeout:!1!==e.dataAfterTimeout}}for(var ce=Object.create(null),ue=["https://api.simplesvg.com","https://api.unisvg.com"],pe=[];ue.length>0;)1===ue.length||Math.random()>.5?pe.push(ue.shift()):pe.push(ue.pop());function he(){}ce[""]=le({resources:["https://api.iconify.design"].concat(pe)});var fe=Object.create(null);var de="iconify2",me="iconify",ye="iconify-count",ge="iconify-version",ve=36e5;function Ce(e,t){try{return e.getItem(t)}catch(e){}}function be(e,t,r){try{return e.setItem(t,r),!0}catch(e){}}function _e(e,t){try{e.removeItem(t)}catch(e){}}function we(e,t){return be(e,ye,t.toString())}function Se(e){return parseInt(Ce(e,ye))||0}var xe={local:!0,session:!0},Ee={local:new Set,session:new Set},ke=!1,Pe="undefined"==typeof window?{}:window;function Le(e){var t=e+"Storage";try{if(Pe&&Pe[t]&&"number"==typeof Pe[t].length)return Pe[t]}catch(e){}xe[e]=!1}function Ae(e,t){var r=Le(e);if(r){var n=Ce(r,ge);if(n!==de){if(n)for(var i=Se(r),o=0;os&&"string"==typeof o.provider&&"object"==typeof o.data&&"string"==typeof o.data.prefix&&t(o,e))return!0}catch(e){}_e(r,n)}},l=Se(r),c=l-1;c>=0;c--)a(c)||(c===l-1?(l--,we(r,l)):Ee[e].add(c))}}function Me(e,t){function r(r){var n;if(xe[r]&&(n=Le(r))){var i,o=Ee[r];if(o.size)o.delete(i=Array.from(o).shift());else if(!we(n,(i=Se(n))+1))return;var s={cached:Math.floor(Date.now()/ve),provider:e.provider,data:t};return be(n,me+i.toString(),JSON.stringify(s))}}ke||function(){if(!ke)for(var e in ke=!0,xe)Ae(e,(function(e){var t=e.data,r=m(e.provider,t.prefix);if(!y(r,t).length)return!1;var n=t.lastModified||-1;return r.lastModifiedCached=r.lastModifiedCached?Math.min(r.lastModifiedCached,n):n,!0}))}(),t.lastModified&&!function(e,t){var r=e.lastModifiedCached;if(r&&r>=t)return r===t;if(e.lastModifiedCached=t,r)for(var n in xe)Ae(n,(function(r){var n=r.data;return r.provider!==e.provider||n.prefix!==e.prefix||n.lastModified===t}));return!0}(e,t.lastModified)||Object.keys(t.icons).length&&(t.not_found&&delete(t=Object.assign({},t)).not_found,r("local")||r("session"))}function Te(){}function De(e,t){e.iconsToLoad?e.iconsToLoad=e.iconsToLoad.concat(t).sort():e.iconsToLoad=t,e.iconsQueueFlag||(e.iconsQueueFlag=!0,setTimeout((function(){e.iconsQueueFlag=!1;var t,r=e.provider,n=e.prefix,i=e.iconsToLoad;delete e.iconsToLoad,i&&(t=oe(r))&&t.prepare(r,n,i).forEach((function(t){!function(e,t,r){var n,i;if("string"==typeof e){var o=oe(e);if(!o)return r(void 0),he;i=o.send;var s=function(e){if(!fe[e]){var t=function(e){return ce[e]}(e);if(!t)return;var r={config:t,redundancy:ae(t)};fe[e]=r}return fe[e]}(e);s&&(n=s.redundancy)}else{var a=le(e);if(a){n=ae(a);var l=oe(e.resources?e.resources[0]:"");l&&(i=l.send)}}n&&i?n.query(t,i,r)().abort:r(void 0)}(r,t,(function(r){if("object"!=typeof r)t.icons.forEach((function(t){e.missing.add(t)}));else try{var n=y(e,r);if(!n.length)return;var i=e.pendingIcons;i&&n.forEach((function(e){i.delete(e)})),Me(e,r)}catch(e){console.error(e)}!function(e){e.iconsLoaderFlag||(e.iconsLoaderFlag=!0,setTimeout((function(){e.iconsLoaderFlag=!1,function(e){e.pendingCallbacksFlag||(e.pendingCallbacksFlag=!0,setTimeout((function(){e.pendingCallbacksFlag=!1;var t=e.loaderCallbacks?e.loaderCallbacks.slice(0):[];if(t.length){var r=!1,n=e.provider,i=e.prefix;t.forEach((function(t){var o=t.icons,s=o.pending.length;o.pending=o.pending.filter((function(t){if(t.prefix!==i)return!0;var s=t.name;if(e.icons[s])o.loaded.push({provider:n,prefix:i,name:s});else{if(!e.missing.has(s))return r=!0,!0;o.missing.push({provider:n,prefix:i,name:s})}return!1})),o.pending.length!==s&&(r||re([e],t.id),t.callback(o.loaded.slice(0),o.missing.slice(0),o.pending.slice(0),t.abort))}))}})))}(e)})))}(e)}))}))})))}var Fe=function(e,t){var r=function(e,t,r){void 0===t&&(t=!0),void 0===r&&(r=!1);var n=[];return e.forEach((function(e){var i="string"==typeof e?c(e,t,r):e;i&&n.push(i)})),n}(e,!0,v),n=function(e){var t={loaded:[],missing:[],pending:[]},r=Object.create(null);e.sort((function(e,t){return e.provider!==t.provider?e.provider.localeCompare(t.provider):e.prefix!==t.prefix?e.prefix.localeCompare(t.prefix):e.name.localeCompare(t.name)}));var n={provider:"",prefix:"",name:""};return e.forEach((function(e){if(n.name!==e.name||n.prefix!==e.prefix||n.provider!==e.provider){n=e;var i=e.provider,o=e.prefix,s=e.name,a=r[i]||(r[i]=Object.create(null)),l=a[o]||(a[o]=m(i,o)),c={provider:i,prefix:o,name:s};(s in l.icons?t.loaded:""===o||l.missing.has(s)?t.missing:t.pending).push(c)}})),t}(r);if(!n.pending.length){var i=!0;return t&&setTimeout((function(){i&&t(n.loaded,n.missing,n.pending,Te)})),function(){i=!1}}var o,s,a=Object.create(null),l=[];return n.pending.forEach((function(e){var t=e.provider,r=e.prefix;if(r!==s||t!==o){o=t,s=r,l.push(m(t,r));var n=a[t]||(a[t]=Object.create(null));n[r]||(n[r]=[])}})),n.pending.forEach((function(e){var t=e.provider,r=e.prefix,n=e.name,i=m(t,r),o=i.pendingIcons||(i.pendingIcons=new Set);o.has(n)||(o.add(n),a[t][r].push(n))})),l.forEach((function(e){var t=e.provider,r=e.prefix;a[t][r].length&&De(e,a[t][r])})),t?function(e,t,r){var n=ne++,i=re.bind(null,r,n);if(!t.pending.length)return i;var o={id:n,icons:t,callback:e,abort:i};return r.forEach((function(e){(e.loaderCallbacks||(e.loaderCallbacks=[])).push(o)})),i}(t,n,l):Te},Ie=/[\s,]+/,je=["width","height"],Oe=["inline","hFlip","vFlip"];function Ve(e,t){var r=-1===e.indexOf("xlink:")?"":' xmlns:xlink="http://www.w3.org/1999/xlink"';for(var n in t)r+=" "+n+'="'+t[n]+'"';return'"+e+""}function Re(e){var t=new Set(["iconify"]);return["provider","prefix"].forEach((function(r){e[r]&&t.add("iconify--"+e[r])})),t}function Be(e,t,r,n){var i=e.classList;if(n){var o=n.classList;Array.from(o).forEach((function(e){i.add(e)}))}var s=[];return t.forEach((function(e){i.contains(e)?r.has(e)&&s.push(e):(i.add(e),s.push(e))})),r.forEach((function(e){t.has(e)||i.remove(e)})),s}function He(e,t,r){var n=e.style;(r||[]).forEach((function(e){n.removeProperty(e)}));var i=[];for(var o in t)n.getPropertyValue(o)||(i.push(o),n.setProperty(o,t[o]));return i}function Ne(e,t,r){var n;try{n=document.createElement("span")}catch(t){return e}var i=t.customisations,o=A(r,i),s=e[V],a=Ve(F(o.body),Object.assign({},{"aria-hidden":"true",role:"img"},o.attributes));n.innerHTML=a;for(var l=n.childNodes[0],c=e.attributes,u=0;u/g,"%3E").replace(/\s+/g," ")+'")'),p=Object.assign({},{"--svg":u,width:Ke(s.width),height:Ke(s.height)},$e,n?ze:Ge);i.inline&&(p["vertical-align"]="-0.125em");var h=He(e,p,a&&a.addedStyles),f=Object.assign({},t,{status:"loaded",addedClasses:c,addedStyles:h});e[V]=f}(t,r,Object.assign({},n,i),a)}Ne(t,r,i)}}));var o=function(e){var t=r[e],n=function(r){var n=t[r];Fe(Array.from(n).map((function(t){return{provider:e,prefix:r,name:t}})),Ye)};for(var i in t)n(i)};for(var s in r)o(s)}function et(e,t,r){void 0===r&&(r=!1);var n=C(e);if(!n)return null;var i=c(e),o=I(j,t||{}),s=Ne(document.createElement("span"),{name:e,icon:i,customisations:o},n);return r?s.outerHTML:s}function tt(){return"3.1.0"}function rt(e,t){return et(e,t,!1)}function nt(e,t){return et(e,t,!0)}function it(e,t){var r=C(e);return r?A(r,I(j,t||{})):null}function ot(e){e?function(e){var t=B(e);t?Qe(t):Qe({node:e,temporary:!0},!0)}(e):Qe()}if("undefined"!=typeof document&&"undefined"!=typeof window){!function(){if(document.documentElement)return H(document.documentElement);R.push({node:function(){return document.documentElement}})}();var st=window;if(void 0!==st.IconifyPreload){var at=st.IconifyPreload,lt="Invalid IconifyPreload syntax.";"object"==typeof at&&null!==at&&(at instanceof Array?at:[at]).forEach((function(e){try{("object"!=typeof e||null===e||e instanceof Array||"object"!=typeof e.icons||"string"!=typeof e.prefix||!_(e))&&console.error(lt)}catch(e){console.error(lt)}}))}setTimeout((function(){(function(e){var t=null!==$;$!==e&&($=e,t&&N().forEach(J)),t?W():function(e){var t=document;t.readyState&&"loading"!==t.readyState?e():t.addEventListener("DOMContentLoaded",e)}(W)})(Qe),Qe()}))}var ct={iconExists:w,getIcon:S,listIcons:g,addIcon:b,addCollection:_,replaceIDs:F,calculateSize:L,buildIcon:A,getVersion:tt,renderSVG:rt,renderHTML:nt,renderIcon:it,scan:ot,observe:ee,stopObserving:te,pauseObserver:X,resumeObserver:Q};return e.addCollection=_,e.addIcon=b,e.buildIcon=A,e.calculateSize=L,e.default=ct,e.getIcon=S,e.getVersion=tt,e.iconExists=w,e.listIcons=g,e.observe=ee,e.pauseObserver=X,e.renderHTML=nt,e.renderIcon=it,e.renderSVG=rt,e.replaceIDs=F,e.resumeObserver=Q,e.scan=ot,e.stopObserving=te,Object.defineProperty(e,"__esModule",{value:!0}),e}({});try{for(var n in t.__esModule=!0,t.default=r,r)t[n]=r[n]}catch(e){}try{void 0===self.Iconify&&(self.Iconify=r)}catch(e){}},9038:(e,t,r)=>{function n(e){return e&&"object"==typeof e&&"default"in e?e.default:e}var i=n(r(2307)),o=r(821),s=n(r(3465)),a=r(9680);function l(){return(l=Object.assign||function(e){for(var t=1;t0,this},clearErrors:function(){var e=this,t=[].slice.call(arguments);return this.errors=Object.keys(this.errors).reduce((function(r,n){var i;return l({},r,t.length>0&&!t.includes(n)?((i={})[n]=e.errors[n],i):{})}),{}),this.hasErrors=Object.keys(this.errors).length>0,this},submit:function(e,t,r){var n=this,i=this;void 0===r&&(r={});var o=h(this.data()),f=l({},r,{onCancelToken:function(e){if(u=e,r.onCancelToken)return r.onCancelToken(e)},onBefore:function(e){if(i.wasSuccessful=!1,i.recentlySuccessful=!1,clearTimeout(p),r.onBefore)return r.onBefore(e)},onStart:function(e){if(i.processing=!0,r.onStart)return r.onStart(e)},onProgress:function(e){if(i.progress=e,r.onProgress)return r.onProgress(e)},onSuccess:function(e){try{var t=function(e){return c=s(n.data()),n.isDirty=!1,e};return n.processing=!1,n.progress=null,n.clearErrors(),n.wasSuccessful=!0,n.recentlySuccessful=!0,p=setTimeout((function(){return n.recentlySuccessful=!1}),2e3),Promise.resolve(r.onSuccess?Promise.resolve(r.onSuccess(e)).then(t):t(null))}catch(e){return Promise.reject(e)}},onError:function(e){if(i.processing=!1,i.progress=null,i.clearErrors().setError(e),r.onError)return r.onError(e)},onCancel:function(){if(i.processing=!1,i.progress=null,r.onCancel)return r.onCancel()},onFinish:function(){if(i.processing=!1,i.progress=null,u=null,r.onFinish)return r.onFinish()}});"delete"===e?a.Inertia.delete(t,l({},f,{data:o})):a.Inertia[e](t,o,f)},get:function(e,t){this.submit("get",e,t)},post:function(e,t){this.submit("post",e,t)},put:function(e,t){this.submit("put",e,t)},patch:function(e,t){this.submit("patch",e,t)},delete:function(e,t){this.submit("delete",e,t)},cancel:function(){u&&u.cancel()},__rememberable:null===t,__remember:function(){return{data:this.data(),errors:this.errors}},__restore:function(e){Object.assign(this,e.data),this.setError(e.errors)}}));return o.watch(f,(function(e){f.isDirty=!i(f.data(),c),t&&a.Inertia.remember(s(e.__remember()),t)}),{immediate:!0,deep:!0}),f}var u={created:function(){var e=this;if(this.$options.remember){Array.isArray(this.$options.remember)&&(this.$options.remember={data:this.$options.remember}),"string"==typeof this.$options.remember&&(this.$options.remember={data:[this.$options.remember]}),"string"==typeof this.$options.remember.data&&(this.$options.remember={data:[this.$options.remember.data]});var t=this.$options.remember.key instanceof Function?this.$options.remember.key.call(this):this.$options.remember.key,r=a.Inertia.restore(t),n=this.$options.remember.data.filter((function(t){return!(null!==e[t]&&"object"==typeof e[t]&&!1===e[t].__rememberable)})),i=function(t){return null!==e[t]&&"object"==typeof e[t]&&"function"==typeof e[t].__remember&&"function"==typeof e[t].__restore};n.forEach((function(o){void 0!==e[o]&&void 0!==r&&void 0!==r[o]&&(i(o)?e[o].__restore(r[o]):e[o]=r[o]),e.$watch(o,(function(){a.Inertia.remember(n.reduce((function(t,r){var n;return l({},t,((n={})[r]=s(i(r)?e[r].__remember():e[r]),n))}),{}),t)}),{immediate:!0,deep:!0})}))}}},p=o.ref(null),h=o.ref({}),f=o.ref(null),d=null,m={name:"Inertia",props:{initialPage:{type:Object,required:!0},initialComponent:{type:Object,required:!1},resolveComponent:{type:Function,required:!1},titleCallback:{type:Function,required:!1,default:function(e){return e}},onHeadUpdate:{type:Function,required:!1,default:function(){return function(){}}}},setup:function(e){var t=e.initialPage,r=e.initialComponent,n=e.resolveComponent,i=e.titleCallback,s=e.onHeadUpdate;p.value=r?o.markRaw(r):null,h.value=t,f.value=null;var c="undefined"==typeof window;return d=a.createHeadManager(c,i,s),c||a.Inertia.init({initialPage:t,resolveComponent:n,swapComponent:function(e){try{return p.value=o.markRaw(e.component),h.value=e.page,f.value=e.preserveState?f.value:Date.now(),Promise.resolve()}catch(e){return Promise.reject(e)}}}),function(){if(p.value){p.value.inheritAttrs=!!p.value.inheritAttrs;var e=o.h(p.value,l({},h.value.props,{key:f.value}));return p.value.layout?"function"==typeof p.value.layout?p.value.layout(o.h,e):(Array.isArray(p.value.layout)?p.value.layout:[p.value.layout]).concat(e).reverse().reduce((function(e,t){return t.inheritAttrs=!!t.inheritAttrs,o.h(t,l({},h.value.props),(function(){return e}))})):e}}}},y={install:function(e){a.Inertia.form=c,Object.defineProperty(e.config.globalProperties,"$inertia",{get:function(){return a.Inertia}}),Object.defineProperty(e.config.globalProperties,"$page",{get:function(){return h.value}}),Object.defineProperty(e.config.globalProperties,"$headManager",{get:function(){return d}}),e.mixin(u)}},g={props:{title:{type:String,required:!1}},data:function(){return{provider:this.$headManager.createProvider()}},beforeUnmount:function(){this.provider.disconnect()},methods:{isUnaryTag:function(e){return["area","base","br","col","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"].indexOf(e.type)>-1},renderTagStart:function(e){e.props=e.props||{},e.props.inertia=void 0!==e.props["head-key"]?e.props["head-key"]:"";var t=Object.keys(e.props).reduce((function(t,r){var n=e.props[r];return["key","head-key"].includes(r)?t:""===n?t+" "+r:t+" "+r+'="'+n+'"'}),"");return"<"+e.type+t+">"},renderTagChildren:function(e){var t=this;return"string"==typeof e.children?e.children:e.children.reduce((function(e,r){return e+t.renderTag(r)}),"")},renderTag:function(e){if("Symbol(Text)"===e.type.toString())return e.children;if("Symbol()"===e.type.toString())return"";if("Symbol(Comment)"===e.type.toString())return"";var t=this.renderTagStart(e);return e.children&&(t+=this.renderTagChildren(e)),this.isUnaryTag(e)||(t+=""),t},addTitleElement:function(e){return this.title&&!e.find((function(e){return e.startsWith(""+this.title+""),e},renderNodes:function(e){var t=this;return this.addTitleElement(e.flatMap((function(e){return"Symbol(Fragment)"===e.type.toString()?e.children:e})).map((function(e){return t.renderTag(e)})).filter((function(e){return e})))}},render:function(){this.provider.update(this.renderNodes(this.$slots.default?this.$slots.default():[]))}},v={name:"InertiaLink",props:{as:{type:String,default:"a"},data:{type:Object,default:function(){return{}}},href:{type:String},method:{type:String,default:"get"},replace:{type:Boolean,default:!1},preserveScroll:{type:Boolean,default:!1},preserveState:{type:Boolean,default:null},only:{type:Array,default:function(){return[]}},headers:{type:Object,default:function(){return{}}},queryStringArrayFormat:{type:String,default:"brackets"}},setup:function(e,t){var r=t.slots,n=t.attrs;return function(e){var t=e.as.toLowerCase(),i=e.method.toLowerCase(),s=a.mergeDataIntoQueryString(i,e.href||"",e.data,e.queryStringArrayFormat),c=s[0],u=s[1];return"a"===t&&"get"!==i&&console.warn('Creating POST/PUT/PATCH/DELETE links is discouraged as it causes "Open Link in New Tab/Window" accessibility issues.\n\nPlease specify a more appropriate element using the "as" attribute. For example:\n\n...'),o.h(e.as,l({},n,"a"===t?{href:c}:{},{onClick:function(t){var r;a.shouldIntercept(t)&&(t.preventDefault(),a.Inertia.visit(c,{data:u,method:i,replace:e.replace,preserveScroll:e.preserveScroll,preserveState:null!=(r=e.preserveState)?r:"get"!==i,only:e.only,headers:e.headers,onCancelToken:n.onCancelToken||function(){return{}},onBefore:n.onBefore||function(){return{}},onStart:n.onStart||function(){return{}},onProgress:n.onProgress||function(){return{}},onFinish:n.onFinish||function(){return{}},onCancel:n.onCancel||function(){return{}},onSuccess:n.onSuccess||function(){return{}},onError:n.onError||function(){return{}}}))}}),r)}}};t.rU=v,t.yP=function(e){try{var t,r,n,i,s,a,l;r=void 0===(t=e.id)?"app":t,n=e.resolve,i=e.setup,s=e.title,a=e.page,l=e.render;var c="undefined"==typeof window,u=c?null:document.getElementById(r),p=a||JSON.parse(u.dataset.page),h=function(e){return Promise.resolve(n(e)).then((function(e){return e.default||e}))},f=[];return Promise.resolve(h(p.component).then((function(e){return i({el:u,app:m,App:m,props:{initialPage:p,initialComponent:e,resolveComponent:h,titleCallback:s,onHeadUpdate:c?function(e){return f=e}:null},plugin:y})}))).then((function(e){return function(){if(c)return Promise.resolve(l(o.createSSRApp({render:function(){return o.h("div",{id:r,"data-page":JSON.stringify(p),innerHTML:l(e)})}}))).then((function(e){return{head:f,body:e}}))}()}))}catch(e){return Promise.reject(e)}},t.cI=c},9680:(e,t,r)=>{function n(e){return e&&"object"==typeof e&&"default"in e?e.default:e}var i=n(r(3945)),o=r(3454),s=n(r(9996));function a(){return(a=Object.assign?Object.assign.bind():function(e){for(var t=1;t0&&"back_forward"===window.performance.getEntriesByType("navigation")[0].type},r.handleBackForwardVisit=function(e){var t=this;window.history.state.version=e.version,this.setPage(window.history.state,{preserveScroll:!0,preserveState:!0}).then((function(){t.restoreScrollPositions(),C(e)}))},r.locationVisit=function(e,t){try{window.sessionStorage.setItem("inertiaLocationVisit",JSON.stringify({preserveScroll:t})),window.location.href=e.href,y(window.location).href===y(e).href&&window.location.reload()}catch(e){return!1}},r.isLocationVisit=function(){try{return null!==window.sessionStorage.getItem("inertiaLocationVisit")}catch(e){return!1}},r.handleLocationVisit=function(e){var t,r,n,i,o=this,s=JSON.parse(window.sessionStorage.getItem("inertiaLocationVisit")||"");window.sessionStorage.removeItem("inertiaLocationVisit"),e.url+=window.location.hash,e.rememberedState=null!=(t=null==(r=window.history.state)?void 0:r.rememberedState)?t:{},e.scrollRegions=null!=(n=null==(i=window.history.state)?void 0:i.scrollRegions)?n:[],this.setPage(e,{preserveScroll:s.preserveScroll,preserveState:!0}).then((function(){s.preserveScroll&&o.restoreScrollPositions(),C(e)}))},r.isLocationVisitResponse=function(e){return e&&409===e.status&&e.headers["x-inertia-location"]},r.isInertiaResponse=function(e){return null==e?void 0:e.headers["x-inertia"]},r.createVisitId=function(){return this.visitId={},this.visitId},r.cancelVisit=function(e,t){var r=t.cancelled,n=void 0!==r&&r,i=t.interrupted,o=void 0!==i&&i;!e||e.completed||e.cancelled||e.interrupted||(e.cancelToken.cancel(),e.onCancel(),e.completed=!1,e.cancelled=n,e.interrupted=o,v(e),e.onFinish(e))},r.finishVisit=function(e){e.cancelled||e.interrupted||(e.completed=!0,e.cancelled=!1,e.interrupted=!1,v(e),e.onFinish(e))},r.resolvePreserveOption=function(e,t){return"function"==typeof e?e(t):"errors"===e?Object.keys(t.props.errors||{}).length>0:e},r.visit=function(e,r){var n=this,o=void 0===r?{}:r,s=o.method,l=void 0===s?t.Method.GET:s,u=o.data,h=void 0===u?{}:u,f=o.replace,v=void 0!==f&&f,C=o.preserveScroll,b=void 0!==C&&C,_=o.preserveState,w=void 0!==_&&_,S=o.only,x=void 0===S?[]:S,E=o.headers,k=void 0===E?{}:E,P=o.errorBag,L=void 0===P?"":P,A=o.forceFormData,M=void 0!==A&&A,T=o.onCancelToken,D=void 0===T?function(){}:T,F=o.onBefore,I=void 0===F?function(){}:F,j=o.onStart,O=void 0===j?function(){}:j,V=o.onProgress,R=void 0===V?function(){}:V,B=o.onFinish,H=void 0===B?function(){}:B,N=o.onCancel,$=void 0===N?function(){}:N,z=o.onSuccess,G=void 0===z?function(){}:z,Z=o.onError,U=void 0===Z?function(){}:Z,q=o.queryStringArrayFormat,W=void 0===q?"brackets":q,J="string"==typeof e?d(e):e;if(!function e(t){return t instanceof File||t instanceof Blob||t instanceof FileList&&t.length>0||t instanceof FormData&&Array.from(t.values()).some((function(t){return e(t)}))||"object"==typeof t&&null!==t&&Object.values(t).some((function(t){return e(t)}))}(h)&&!M||h instanceof FormData||(h=p(h)),!(h instanceof FormData)){var K=m(l,J,h,W),X=K[1];J=d(K[0]),h=X}var Y={url:J,method:l,data:h,replace:v,preserveScroll:b,preserveState:w,only:x,headers:k,errorBag:L,forceFormData:M,queryStringArrayFormat:W,cancelled:!1,completed:!1,interrupted:!1};if(!1!==I(Y)&&function(e){return g("before",{cancelable:!0,detail:{visit:e}})}(Y)){this.activeVisit&&this.cancelVisit(this.activeVisit,{interrupted:!0}),this.saveScrollPositions();var Q=this.createVisitId();this.activeVisit=a({},Y,{onCancelToken:D,onBefore:I,onStart:O,onProgress:R,onFinish:H,onCancel:$,onSuccess:G,onError:U,queryStringArrayFormat:W,cancelToken:i.CancelToken.source()}),D({cancel:function(){n.activeVisit&&n.cancelVisit(n.activeVisit,{cancelled:!0})}}),function(e){g("start",{detail:{visit:e}})}(Y),O(Y),i({method:l,url:y(J).href,data:l===t.Method.GET?{}:h,params:l===t.Method.GET?h:{},cancelToken:this.activeVisit.cancelToken.token,headers:a({},k,{Accept:"text/html, application/xhtml+xml","X-Requested-With":"XMLHttpRequest","X-Inertia":!0},x.length?{"X-Inertia-Partial-Component":this.page.component,"X-Inertia-Partial-Data":x.join(",")}:{},L&&L.length?{"X-Inertia-Error-Bag":L}:{},this.page.version?{"X-Inertia-Version":this.page.version}:{}),onUploadProgress:function(e){h instanceof FormData&&(e.percentage=Math.round(e.loaded/e.total*100),function(e){g("progress",{detail:{progress:e}})}(e),R(e))}}).then((function(e){var t;if(!n.isInertiaResponse(e))return Promise.reject({response:e});var r=e.data;x.length&&r.component===n.page.component&&(r.props=a({},n.page.props,r.props)),b=n.resolvePreserveOption(b,r),(w=n.resolvePreserveOption(w,r))&&null!=(t=window.history.state)&&t.rememberedState&&r.component===n.page.component&&(r.rememberedState=window.history.state.rememberedState);var i=J,o=d(r.url);return i.hash&&!o.hash&&y(i).href===o.href&&(o.hash=i.hash,r.url=o.href),n.setPage(r,{visitId:Q,replace:v,preserveScroll:b,preserveState:w})})).then((function(){var e=n.page.props.errors||{};if(Object.keys(e).length>0){var t=L?e[L]?e[L]:{}:e;return function(e){g("error",{detail:{errors:e}})}(t),U(t)}return g("success",{detail:{page:n.page}}),G(n.page)})).catch((function(e){if(n.isInertiaResponse(e.response))return n.setPage(e.response.data,{visitId:Q});if(n.isLocationVisitResponse(e.response)){var t=d(e.response.headers["x-inertia-location"]),r=J;r.hash&&!t.hash&&y(r).href===t.href&&(t.hash=r.hash),n.locationVisit(t,!0===b)}else{if(!e.response)return Promise.reject(e);g("invalid",{cancelable:!0,detail:{response:e.response}})&&c.show(e.response.data)}})).then((function(){n.activeVisit&&n.finishVisit(n.activeVisit)})).catch((function(e){if(!i.isCancel(e)){var t=g("exception",{cancelable:!0,detail:{exception:e}});if(n.activeVisit&&n.finishVisit(n.activeVisit),t)return Promise.reject(e)}}))}},r.setPage=function(e,t){var r=this,n=void 0===t?{}:t,i=n.visitId,o=void 0===i?this.createVisitId():i,s=n.replace,a=void 0!==s&&s,l=n.preserveScroll,c=void 0!==l&&l,u=n.preserveState,p=void 0!==u&&u;return Promise.resolve(this.resolveComponent(e.component)).then((function(t){o===r.visitId&&(e.scrollRegions=e.scrollRegions||[],e.rememberedState=e.rememberedState||{},(a=a||d(e.url).href===window.location.href)?r.replaceState(e):r.pushState(e),r.swapComponent({component:t,page:e,preserveState:p}).then((function(){c||r.resetScrollPositions(),a||C(e)})))}))},r.pushState=function(e){this.page=e,window.history.pushState(e,"",e.url)},r.replaceState=function(e){this.page=e,window.history.replaceState(e,"",e.url)},r.handlePopstateEvent=function(e){var t=this;if(null!==e.state){var r=e.state,n=this.createVisitId();Promise.resolve(this.resolveComponent(r.component)).then((function(e){n===t.visitId&&(t.page=r,t.swapComponent({component:e,page:r,preserveState:!1}).then((function(){t.restoreScrollPositions(),C(r)})))}))}else{var i=d(this.page.url);i.hash=window.location.hash,this.replaceState(a({},this.page,{url:i.href})),this.resetScrollPositions()}},r.get=function(e,r,n){return void 0===r&&(r={}),void 0===n&&(n={}),this.visit(e,a({},n,{method:t.Method.GET,data:r}))},r.reload=function(e){return void 0===e&&(e={}),this.visit(window.location.href,a({},e,{preserveScroll:!0,preserveState:!0}))},r.replace=function(e,t){var r;return void 0===t&&(t={}),console.warn("Inertia.replace() has been deprecated and will be removed in a future release. Please use Inertia."+(null!=(r=t.method)?r:"get")+"() instead."),this.visit(e,a({preserveState:!0},t,{replace:!0}))},r.post=function(e,r,n){return void 0===r&&(r={}),void 0===n&&(n={}),this.visit(e,a({preserveState:!0},n,{method:t.Method.POST,data:r}))},r.put=function(e,r,n){return void 0===r&&(r={}),void 0===n&&(n={}),this.visit(e,a({preserveState:!0},n,{method:t.Method.PUT,data:r}))},r.patch=function(e,r,n){return void 0===r&&(r={}),void 0===n&&(n={}),this.visit(e,a({preserveState:!0},n,{method:t.Method.PATCH,data:r}))},r.delete=function(e,r){return void 0===r&&(r={}),this.visit(e,a({preserveState:!0},r,{method:t.Method.DELETE}))},r.remember=function(e,t){var r,n;void 0===t&&(t="default"),b||this.replaceState(a({},this.page,{rememberedState:a({},null==(r=this.page)?void 0:r.rememberedState,(n={},n[t]=e,n))}))},r.restore=function(e){var t,r;if(void 0===e&&(e="default"),!b)return null==(t=window.history.state)||null==(r=t.rememberedState)?void 0:r[e]},r.on=function(e,t){var r=function(e){var r=t(e);e.cancelable&&!e.defaultPrevented&&!1===r&&e.preventDefault()};return document.addEventListener("inertia:"+e,r),function(){return document.removeEventListener("inertia:"+e,r)}},e}(),w={buildDOMElement:function(e){var t=document.createElement("template");t.innerHTML=e;var r=t.content.firstChild;if(!e.startsWith("